/* src/styles.scss */
:root {
  --ph-gray-0: #f1f1f1;
  --ph-gray-10: #e2e2e2;
  --ph-gray-25: #bbb;
  --ph-gray-50: #999;
  --ph-gray-75: #666;
  --ph-gray-100: #1c1c1c;
  --ph-blue-0: #e5edf3;
  --ph-blue-10: #c2d5e4;
  --ph-blue-25: #739ec0;
  --ph-blue-50: #004e8c;
  --ph-blue-75: #001f37;
  --ph-blue-100: #001425;
  --ph-green-0: #f7faea;
  --ph-green-10: #edf3ce;
  --ph-green-25: #d5e48f;
  --ph-green-50: #b3ce33;
  --ph-green-75: #6b7c1f;
  --ph-green-100: #485214;
  --ph-yellow-0: #fef8e8;
  --ph-yellow-10: #fdefc8;
  --ph-yellow-25: #fad981;
  --ph-yellow-50: #f6ba19;
  --ph-yellow-75: #94700f;
  --ph-yellow-100: #624a0a;
  --ph-orange-0: #fdf1e9;
  --ph-orange-10: #fcdecb;
  --ph-orange-25: #f7b288;
  --ph-orange-50: #f07327;
  --ph-orange-75: #904517;
  --ph-orange-100: #602e10;
  --ph-purple-0: #f2f0f8;
  --ph-purple-10: #e0ddef;
  --ph-purple-25: #b8b1d9;
  --ph-purple-50: #7d70ba;
  --ph-purple-75: #4b4370;
  --ph-purple-100: #322d4a;
  --ph-brown-0: #f9f3ee;
  --ph-brown-10: #f3e3d6;
  --ph-brown-25: #e3bea2;
  --ph-brown-50: #cb8955;
  --ph-brown-75: #7a5233;
  --ph-brown-100: #513722;
  --ph-teal-0: #ecf9fb;
  --ph-teal-10: #d2f1f6;
  --ph-teal-25: #98dfeb;
  --ph-teal-50: #44cada;
  --ph-teal-75: #297683;
  --ph-teal-100: #1b4e57;
  --ph-red-0: #fbe9ea;
  --ph-red-10: #f7cbcd;
  --ph-red-25: #ed878c;
  --ph-red-50: #de242d;
  --ph-red-75: #85161b;
  --ph-red-100: #590e12;
  --ph-color-success: #52c664;
  --ph-color-warning: #f6ba19;
  --ph-color-error: #de242d;
  --ph-color-info: #3e6b99;
  --ph-color-success-subtle: #f7faea;
  --ph-color-warning-subtle: #fef8e8;
  --ph-color-danger-subtle: #fbe9ea;
  --ph-color-info-subtle: #e5edf3;
  --ph-color-primary: #297683;
  --ph-color-primary-hover: #1b4e57;
  --ph-color-primary-subtle: #ecf9fb;
  --ph-color-primary-border: #98dfeb;
  --ph-color-danger: #de242d;
  --ph-color-danger-hover: #85161b;
  --ph-btn-primary-bg: #98dfeb;
  --ph-btn-primary-text: #333;
  --ph-btn-primary-hover: #44cada;
  --ph-color-text: #333;
  --ph-color-text-secondary: #666;
  --ph-color-text-muted: #999;
  --ph-color-text-disabled: #bbb;
  --ph-color-text-light: #fff;
  --ph-color-surface: #fff;
  --ph-color-surface-raised: #f7f8f7;
  --ph-color-bg: #f7f8f7;
  --ph-color-border: #e2e2e2;
  --ph-color-border-subtle: #f1f1f1;
  --ph-link-color: #297683;
  --ph-link-color-hover: #1b4e57;
  --ph-status-draft-bg: #e2e2e2;
  --ph-status-draft-text: #1c1c1c;
  --ph-status-pending-approval-bg: #c2d5e4;
  --ph-status-pending-approval-text: #001f37;
  --ph-status-approved-bg: #edf3ce;
  --ph-status-approved-text: #485214;
  --ph-status-sent-bg: #e0ddef;
  --ph-status-sent-text: #4b4370;
  --ph-status-acknowledged-bg: #b8b1d9;
  --ph-status-acknowledged-text: #4b4370;
  --ph-status-changed-bg: #fdefc8;
  --ph-status-changed-text: #624a0a;
  --ph-status-shipped-bg: #d2f1f6;
  --ph-status-shipped-text: #297683;
  --ph-status-receiving-bg: #98dfeb;
  --ph-status-receiving-text: #1b4e57;
  --ph-status-on-hold-bg: #f3e3d6;
  --ph-status-on-hold-text: #7a5233;
  --ph-status-closed-bg: #bbb;
  --ph-status-closed-text: #1c1c1c;
  --ph-status-cancelled-bg: #f7cbcd;
  --ph-status-cancelled-text: #85161b;
  --ph-font-primary:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  --ph-font-display:
    "Zilla Slab",
    "Times New Roman",
    serif;
  --ph-font-sans:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  --ph-text-xs: 0.625rem;
  --ph-text-sm: 0.6875rem;
  --ph-text-base: 0.8125rem;
  --ph-text-md: 0.875rem;
  --ph-text-lg: 1rem;
  --ph-text-xl: 1.25rem;
  --ph-text-2xl: 1.5rem;
  --ph-text-3xl: 1.75rem;
  --ph-text-4xl: 2rem;
  --ph-space-1: 1px;
  --ph-space-2: 2px;
  --ph-space-3: 3px;
  --ph-space-4: 4px;
  --ph-space-5: 5px;
  --ph-space-8: 8px;
  --ph-space-16: 16px;
  --ph-space-24: 24px;
  --ph-space-32: 32px;
  --ph-space-40: 40px;
  --ph-space-48: 48px;
  --ph-spacer: 1rem;
  --ph-action-gap: 8px;
  --ph-radius: 2px;
  --ph-radius-sm: 2px;
  --ph-radius-md: 2px;
  --ph-radius-lg: 2px;
  --ph-radius-xl: 2px;
  --ph-radius-full: 9999px;
  --ph-shadow-sm: 1px 1px 6px rgba(0, 0, 0, 0.24);
  --ph-shadow-md: 1px 1px 6px rgba(0, 0, 0, 0.24);
  --ph-shadow-card: 1px 1px 6px rgba(0, 0, 0, 0.24);
  --ph-shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.16);
  --ph-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --ph-transition-fast: 100ms ease;
  --ph-transition-base: 150ms ease;
  --ph-transition-slow: 250ms ease;
  --ph-z-dropdown: 100;
  --ph-z-modal: 200;
  --ph-z-toast: 300;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-family:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.15s,
    opacity 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}
.btn--primary {
  background-color: #98dfeb;
  color: #333;
  border-color: #98dfeb;
}
.btn--primary:hover:not(:disabled) {
  background-color: #44cada;
  border-color: #44cada;
}
.btn--secondary {
  background-color: #fff;
  color: #333;
  border-color: #e2e2e2;
}
.btn--secondary:hover:not(:disabled) {
  background-color: #f7f8f7;
}
.btn--danger {
  background-color: #fff;
  color: #de242d;
  border-color: #de242d;
}
.btn--danger:hover:not(:disabled) {
  background-color: #fbe9ea;
}
.btn--sm {
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
}
.btn--full {
  width: 100%;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.form-field {
  margin-bottom: 1.25rem;
}
.form-field__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.375rem;
}
.form-field__input,
.form-field__select,
.form-field__textarea {
  display: block;
  width: 100%;
  padding: 0.5625rem 0.875rem;
  font-size: 0.8125rem;
  font-family:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  color: #333;
  background: #fbfbfb;
  border: 1px solid #bbb;
  border-radius: 2px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  background: #fff;
  border-color: #999;
  box-shadow: 0 0 4px 0.5px rgba(68, 196, 218, 0.5);
}
.form-field__input--error,
.form-field__select--error,
.form-field__textarea--error {
  background: #fbe9ea;
  border-color: #de242d;
}
.form-field__input--error:focus,
.form-field__select--error:focus,
.form-field__textarea--error:focus {
  box-shadow: 0 0 4px 0.5px rgba(222, 36, 45, 0.25);
}
.form-field__textarea {
  resize: vertical;
  min-height: 5rem;
}
.form-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.form-field__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #999;
}
.form-field__error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #de242d;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.alert {
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
}
.alert--error {
  background-color: #fbe9ea;
  color: #de242d;
  border: 1px solid #ed878c;
}
.alert--success {
  background-color: #f7faea;
  color: #6b7c1f;
  border: 1px solid #d5e48f;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge--draft {
  background: #e2e2e2;
  color: #1c1c1c;
}
.badge--hold_for_review {
  background: #fde68a;
  color: #78350f;
}
.badge--pending_approval {
  background: #c2d5e4;
  color: #001f37;
}
.badge--approved {
  background: #edf3ce;
  color: #485214;
}
.badge--sent {
  background: #e0ddef;
  color: #4b4370;
}
.badge--acknowledged {
  background: #b8b1d9;
  color: #4b4370;
}
.badge--changed {
  background: #fdefc8;
  color: #624a0a;
}
.badge--shipped {
  background: #d2f1f6;
  color: #297683;
}
.badge--receiving {
  background: #98dfeb;
  color: #1b4e57;
}
.badge--on_hold {
  background: #f3e3d6;
  color: #7a5233;
}
.badge--closed {
  background: #bbb;
  color: #1c1c1c;
}
.badge--cancelled {
  background: #f7cbcd;
  color: #85161b;
}
.badge--manual {
  background: #e5edf3;
  color: #004e8c;
}
.badge--edi {
  background: #edf3ce;
  color: #485214;
}
.badge--dfio {
  background: #e0ddef;
  color: #4b4370;
}
.badge--active {
  background: #edf3ce;
  color: #485214;
}
.badge--inactive {
  background: #e2e2e2;
  color: #666;
}
.badge--outbound {
  background: #e5edf3;
  color: #004e8c;
}
.badge--inbound {
  background: #edf3ce;
  color: #485214;
}
.badge--unmatched {
  background: #e2e2e2;
  color: #1c1c1c;
}
.badge--partial_match {
  background: #fdefc8;
  color: #624a0a;
}
.badge--matched {
  background: #edf3ce;
  color: #485214;
}
.badge--exception {
  background: #f7cbcd;
  color: #85161b;
}
.data-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  background: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.data-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #999;
  background: #f7f8f7;
  border-bottom: 1px solid #e2e2e2;
  white-space: nowrap;
}
.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: #ecf9fb;
}
.data-table__empty {
  text-align: center;
  color: #999;
  padding: 3rem 1rem;
}
.data-table__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-header__left {
  flex: 1;
  min-width: 0;
}
.page-header__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 0.25rem;
}
.page-header__subtitle {
  font-size: 0.8125rem;
  color: #999;
  margin: 0;
}
.page-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}
.card {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 2px;
  padding: 1.5rem;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.24);
}
.stat-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  display: block;
  color: inherit;
}
.stat-card--link {
  transition: box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
}
.stat-card--link:hover {
  border-color: #297683;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.stat-card--warn {
  border-color: #ed878c;
  background: #fbe9ea;
}
.stat-card__label {
  font-size: 0.8125rem;
  color: #999;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #297683;
  margin: 0 0 0.25rem;
  line-height: 1.2;
  font-family:
    "Zilla Slab",
    "Times New Roman",
    serif;
}
.stat-card__sub {
  font-size: 0.8125rem;
  color: #999;
  margin: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.filter-bar__input {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e2e2e2;
  font-size: 0.8125rem;
  color: #999;
}
.pagination__controls {
  display: flex;
  gap: 0.25rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
.detail-field__label {
  font-size: 0.8125rem;
  color: #999;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.detail-field__value {
  font-size: 0.8125rem;
  color: #333;
}
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #999;
  font-size: 0.8125rem;
}
.line-items {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.line-items__header {
  display: grid;
  grid-template-columns: 1fr 100px 120px 90px 90px 36px;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: #f7f8f7;
  border-bottom: 1px solid #e2e2e2;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.line-items__row {
  display: grid;
  grid-template-columns: 1fr 100px 120px 90px 90px 36px;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f1f1;
  align-items: center;
}
.line-items__row:last-child {
  border-bottom: none;
}
.line-items__row .form-field {
  margin-bottom: 0;
}
.line-items__total {
  font-weight: 600;
  color: #333;
  text-align: right;
}
.line-items__add {
  padding: 0.625rem 0.75rem;
  border-top: 1px solid #e2e2e2;
  background: #f7f8f7;
}
.shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  color: #666;
  border-right: 1px solid #e2e2e2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar__brand {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #e2e2e2;
  text-decoration: none;
}
.sidebar__brand-name {
  font-size: 0.8125rem;
  font-family:
    "Zilla Slab",
    "Times New Roman",
    serif;
  font-weight: 600;
  color: #1c1c1c;
  letter-spacing: -0.01em;
}
.sidebar__brand-tenant {
  font-size: 0.7rem;
  color: #999;
  font-weight: 400;
  display: block;
  margin-top: 0.125rem;
}
.sidebar__nav {
  flex: 1;
  padding: 0.75rem 0;
}
.sidebar__section {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sidebar__section:not(:first-child) {
  margin-top: 0.5rem;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 1.25rem;
  color: #666;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0;
  transition: color 0.15s, background-color 0.15s;
}
.sidebar__link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.sidebar__link:hover {
  color: #1c1c1c;
  background-color: #f1f1f1;
}
.sidebar__link--active {
  color: #297683;
  background-color: #ecf9fb;
  position: relative;
}
.sidebar__link--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #297683;
  border-radius: 0 2px 2px 0;
}
.sidebar__link--stub {
  opacity: 0.7;
  cursor: default;
  pointer-events: auto;
}
.sidebar__link-tag {
  margin-left: auto;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #aaa;
  background: #f0f0f0;
  border-radius: 2px;
  padding: 0.1rem 0.35rem;
}
.sidebar__badge {
  margin-left: auto;
  background: #297683;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  min-width: 1.25rem;
  text-align: center;
  line-height: 1.4;
}
.sidebar__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e2e2e2;
}
.sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.sidebar__user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #297683;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar__user-info {
  min-width: 0;
}
.sidebar__user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1c1c1c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__user-role {
  font-size: 0.7rem;
  color: #999;
  text-transform: capitalize;
}
.sidebar__logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  color: #666;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.sidebar__logout:hover {
  color: #1c1c1c;
  border-color: #bbb;
}
.shell-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.topbar {
  height: 56px;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
}
.topbar__breadcrumb {
  flex: 1;
  font-size: 0.8125rem;
  color: #999;
}
.topbar__breadcrumb a {
  color: #999;
  text-decoration: none;
}
.topbar__breadcrumb a:hover {
  color: #297683;
}
.topbar__breadcrumb span {
  color: #333;
  font-weight: 500;
}
.shell-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem 2rem;
  background: #f7f8f7;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  font-size: 0.8125rem;
  color: #333;
  background-color: #f7f8f7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family:
    "Zilla Slab",
    "Times New Roman",
    serif;
  font-weight: 600;
  color: #1c1c1c;
}
h5,
h6 {
  font-family:
    "Open Sans",
    Arial,
    Helvetica,
    sans-serif;
  font-weight: 700;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles-BXIGMPHK.css.map */
