/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ink: #132238;
  --muted: #7c899c;
  --line: #e5eaf1;
  --surface: #fff;
  --blue: #315eea;
  --navy: #193456;
  --soft: #f4f7fc;
  --green: #15946b;
  --shadow: 0 12px 36px #1832570f;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  color: var(--ink);
  background: #f5f7fb;
  margin: 0;
  font-family: DM Sans, Inter, system-ui, sans-serif;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0 clamp(12px, 2.4vw, 36px);
  display: flex;
}

.topbar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  height: 78px;
  display: flex;
}

.brand {
  color: inherit;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  display: flex;
}

.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #193456, #386bdf);
  border-radius: 12px;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
  box-shadow: 0 7px 16px #315eea30;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-copy {
  gap: 2px;
  display: grid;
}

.brand-copy strong {
  letter-spacing: -.025em;
  font: 800 14px Manrope, sans-serif;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.workspace {
  flex: 1;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 30px;
  padding-top: 26px;
  display: grid;
}

.sidebar {
  flex-direction: column;
  min-height: calc(100vh - 104px);
  padding: 8px 0 12px;
  display: flex;
}

.side-label {
  letter-spacing: .15em;
  color: #95a0b1;
  font-size: 9px;
  font-weight: 800;
}

.side-nav {
  gap: 5px;
  margin-top: 13px;
  display: grid;
}

.side-link {
  color: #708097;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 650;
  transition: background .16s, color .16s;
  display: flex;
  position: relative;
}

.side-link:hover {
  color: var(--ink);
  background: #ebf0fa;
}

.side-link.active {
  color: #2853cf;
  background: #e9efff;
}

.side-icon {
  text-align: center;
  width: 18px;
  font-size: 15px;
}

.nav-indicator {
  background: #315eea;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  right: 10px;
}

.history-heading {
  justify-content: space-between;
  align-items: center;
  margin: 36px 2px 10px;
  display: flex;
}

.history-count {
  color: #6d7d94;
  text-align: center;
  background: #e9eef7;
  border-radius: 999px;
  min-width: 19px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
}

.history-list {
  gap: 4px;
  display: grid;
}

.history-item {
  align-items: center;
  gap: 3px;
  display: flex;
}

.history-open {
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 2px;
  display: flex;
}

.history-open:hover {
  background: #edf1f8;
}

.history-type {
  color: #3b60d8;
  background: #eaf0ff;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 25px;
  height: 25px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.history-type.migration {
  color: #15805e;
  background: #e8f7f1;
}

.history-copy {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.history-copy strong {
  color: #4e5c71;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 650;
  overflow: hidden;
}

.history-copy small {
  color: #9aa5b4;
  font-size: 9px;
}

.delete-history {
  color: #a4adbb;
  opacity: 0;
  background: none;
  border: 0;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  font-size: 17px;
}

.history-item:hover .delete-history, .delete-history:focus-visible {
  opacity: 1;
}

.delete-history:hover {
  color: #c04e4e;
  background: #ffeded;
}

.history-empty {
  color: #97a2b1;
  max-width: 175px;
  margin: 3px 0;
  font-size: 10px;
  line-height: 1.6;
}

.main-panel {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.page-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 5px 0 17px;
  display: flex;
}

.breadcrumb {
  color: #98a3b2;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  display: flex;
}

.breadcrumb b {
  color: #c3cad4;
  font-weight: 500;
}

.breadcrumb strong {
  color: #5e6c80;
  font-weight: 700;
}

.page-heading h1 {
  letter-spacing: -.045em;
  margin: 10px 0 4px;
  font: 800 27px / 1.15 Manrope, sans-serif;
}

.page-heading p {
  color: #8290a2;
  margin: 0;
  font-size: 11px;
}

.save-button {
  color: #fff;
  background: #315eea;
  border: 0;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 750;
  transition: transform .15s, background .15s;
  display: inline-flex;
  box-shadow: 0 5px 13px #315eea30;
}

.save-button:hover:not(:disabled) {
  background: #244bcc;
  transform: translateY(-1px);
}

.save-button:disabled {
  cursor: not-allowed;
  box-shadow: none;
  background: #b8c4db;
}

.save-button span {
  font-size: 17px;
  line-height: 0;
}

.notice {
  color: #267454;
  background: #f4fbf7;
  border: 1px solid #d9e7df;
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 9px 12px;
  font-size: 11px;
  display: flex;
}

.notice button {
  color: inherit;
  background: none;
  border: 0;
  font-size: 17px;
}

.calculator-frame {
  box-shadow: var(--shadow);
  background: #f5f7fb;
  border: 1px solid #e5eaf1;
  border-radius: 15px;
  flex: 1;
  overflow: hidden;
}

.calculator-frame iframe {
  background: #f5f7fb;
  border: 0;
  width: 100%;
  min-height: max(720px, 100vh - 220px);
  display: block;
}

.main-footer {
  color: #9aa5b3;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 3px 18px;
  font-size: 9px;
  display: flex;
}

.dialog-backdrop {
  z-index: 20;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #13243d73;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}

.history-dialog {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 18px;
  width: min(100%, 480px);
  padding: 27px;
  position: relative;
  box-shadow: 0 24px 80px #10234335;
}

.dialog-close {
  color: #758398;
  background: #f2f5f9;
  border: 0;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 20px;
  position: absolute;
  top: 13px;
  right: 15px;
}

.dialog-kicker {
  color: #315eea;
  letter-spacing: .15em;
  font-size: 9px;
  font-weight: 800;
}

.history-dialog h2 {
  letter-spacing: -.04em;
  margin: 8px 35px 4px 0;
  font: 800 20px Manrope, sans-serif;
}

.dialog-date {
  color: #8b98aa;
  margin: 0 0 18px;
  font-size: 10px;
}

.saved-recommendation {
  background: #f5f8ff;
  border: 1px solid #dce5f8;
  border-radius: 12px;
  gap: 5px;
  padding: 15px;
  display: grid;
}

.saved-recommendation small, .saved-stats small {
  color: #8693a8;
  letter-spacing: .08em;
  font-size: 9px;
  font-weight: 800;
}

.saved-recommendation strong {
  color: #1d3766;
  font-size: 16px;
}

.saved-recommendation code {
  color: #3156b8;
  font-size: 10px;
}

.saved-recommendation span {
  color: #75849b;
  font-size: 11px;
}

.saved-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 9px;
  display: grid;
}

.saved-stats > span {
  background: #f5f7fa;
  border-radius: 9px;
  gap: 5px;
  padding: 10px;
  display: grid;
}

.saved-stats strong {
  font-size: 11px;
}

.saved-inputs {
  border-top: 1px solid var(--line);
  color: #68778c;
  margin-top: 15px;
  padding-top: 12px;
  font-size: 11px;
}

.saved-inputs summary {
  cursor: pointer;
  font-weight: 700;
}

.saved-inputs pre {
  color: #526176;
  background: #f4f6f9;
  border-radius: 8px;
  max-height: 220px;
  padding: 10px;
  font-size: 10px;
  overflow: auto;
}

@media (max-width: 900px) {
  .app-shell {
    padding: 0 20px;
  }

  .workspace {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }

  .sidebar {
    min-height: calc(100vh - 104px);
  }
}

@media (max-width: 680px) {
  .app-shell {
    padding: 0 12px;
  }

  .topbar {
    height: 66px;
  }

  .workspace {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 13px;
  }

  .sidebar {
    min-height: auto;
    padding: 0;
  }

  .side-label, .history-heading, .history-list, .history-empty {
    display: none;
  }

  .side-nav {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 11px;
    gap: 4px;
    margin: 0;
    padding: 4px;
    display: flex;
  }

  .side-link {
    justify-content: center;
    gap: 6px;
    padding: 9px 7px;
    font-size: 10px;
  }

  .side-icon {
    width: auto;
    font-size: 13px;
  }

  .nav-indicator {
    display: none;
  }

  .page-heading {
    align-items: center;
    margin-top: 9px;
  }

  .page-heading h1 {
    font-size: 22px;
  }

  .page-heading p {
    max-width: 240px;
    font-size: 10px;
    line-height: 1.45;
  }

  .save-button {
    height: 35px;
    padding: 0 10px;
    font-size: 10px;
  }

  .calculator-frame {
    border-radius: 11px;
  }

  .main-footer {
    font-size: 8px;
  }

  .main-footer span:last-child {
    text-align: right;
  }

  .saved-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-dialog {
    padding: 22px;
  }
}

.share-panel {
  background: #f3fbf7;
  border: 1px solid #cfe7dc;
  border-radius: 11px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 13px;
  padding: 12px 14px;
  display: flex;
}

.share-copy {
  gap: 4px;
  display: grid;
}

.share-copy strong {
  color: #23684f;
  font-size: 11px;
}

.share-copy span {
  color: #6d897d;
  font-size: 10px;
}

.share-actions {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}

.share-actions input {
  color: #4c6359;
  background: #fff;
  border: 1px solid #d7e5dd;
  border-radius: 7px;
  width: min(35vw, 330px);
  height: 32px;
  padding: 0 9px;
  font-size: 10px;
}

.share-actions button, .share-actions a {
  color: #fff;
  background: #20805d;
  border: 0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
}

.share-actions a {
  color: #386a55;
  background: #fff;
  border: 1px solid #d7e5dd;
}

.shared-shell {
  width: min(100% - 36px, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 26px;
}

.shared-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  height: 74px;
  display: flex;
}

.shared-brand {
  color: var(--ink);
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.shared-brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #193456, #386bdf);
  border-radius: 10px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.shared-badge {
  color: #16825d;
  background: #eaf8f1;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 750;
}

.shared-intro {
  padding: 32px 0 20px;
}

.shared-kicker {
  color: #315eea;
  letter-spacing: .15em;
  font-size: 9px;
  font-weight: 850;
}

.shared-intro h1, .shared-state h1 {
  letter-spacing: -.045em;
  margin: 9px 0 6px;
  font: 800 clamp(25px, 4vw, 35px) / 1.15 Manrope, sans-serif;
}

.shared-intro p, .shared-state p {
  color: #7f8b9e;
  margin: 0;
  font-size: 11px;
}

.shared-tiers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  display: grid;
}

.shared-tier, .shared-inputs, .shared-state {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}

.shared-tier.is-recommended {
  background: #f8faff;
  border-color: #b8c9ff;
}

.shared-tier-label {
  color: #77869b;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 850;
}

.shared-tier h2 {
  letter-spacing: -.03em;
  margin: 8px 0 5px;
  font-size: 17px;
}

.shared-sku {
  color: #3156b8;
  overflow-wrap: anywhere;
  margin: 0 0 13px;
  font-size: 10px;
  display: block;
}

.shared-nonsku {
  color: #a36a19;
  margin: 0 0 13px;
  font-size: 10px;
  display: block;
}

.shared-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  display: grid;
}

.shared-specs > span {
  background: #f3f5f8;
  border-radius: 8px;
  gap: 4px;
  padding: 10px;
  display: grid;
}

.shared-specs small {
  color: #8290a2;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 8px;
  font-weight: 750;
}

.shared-specs strong {
  font-size: 12px;
}

.shared-note {
  color: #7f8b9e;
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.55;
}

.shared-inputs {
  margin-top: 13px;
}

.shared-inputs h2 {
  margin: 6px 0 12px;
  font-size: 16px;
}

.shared-inputs dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  display: grid;
}

.shared-inputs dl > div {
  background: #f5f7fa;
  border-radius: 8px;
  padding: 10px;
}

.shared-inputs dt {
  color: #8390a2;
  font-size: 9px;
}

.shared-inputs dd {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.shared-disclaimer {
  color: #8995a6;
  margin: 13px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.shared-footer {
  color: #9aa5b3;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 9px;
  display: flex;
}

.shared-footer a {
  color: #61718a;
  font-weight: 750;
  text-decoration: none;
}

.shared-state {
  max-width: 600px;
  margin: 60px auto;
}

.shared-home {
  color: #fff;
  background: #315eea;
  border-radius: 8px;
  margin-top: 18px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
}

.shared-nonsku-alternative {
  box-shadow: var(--shadow);
  background: #fff9e8;
  border: 1px solid #d3a94f;
  border-radius: 14px;
  margin-top: 13px;
  padding: 20px;
}

.shared-nonsku-alternative h2 {
  letter-spacing: -.03em;
  margin: 8px 0 2px;
  font-size: 18px;
}

.shared-nonsku-alternative .shared-note {
  margin: 6px 0 12px;
}

@media (max-width: 680px) {
  .share-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .share-actions {
    flex-wrap: wrap;
  }

  .share-actions input {
    flex: 1;
    width: 100%;
  }

  .shared-shell {
    width: min(100% - 24px, 980px);
  }

  .shared-header {
    height: 62px;
  }

  .shared-tiers {
    grid-template-columns: 1fr;
  }

  .shared-inputs dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shared-footer {
    flex-direction: column;
  }
}

.history-dialog-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.history-edit-button, .history-share-button {
  color: #33445d;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 750;
}

.history-edit-button {
  color: #fff;
  background: #315eea;
  border-color: #315eea;
}

.history-edit-button:hover, .history-share-button:hover {
  filter: brightness(.97);
}

.shared-calculation-card h2 {
  letter-spacing: -.03em;
  margin: 8px 0 15px;
  font-size: 19px;
}

.shared-sku-table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
}

.shared-sku-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  font-size: 11px;
}

.shared-sku-table th, .shared-sku-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: normal;
  padding: 10px;
}

.shared-sku-table th {
  color: #8290a2;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: #f4f6f9;
  font-size: 8px;
}

.shared-sku-table td code {
  overflow-wrap: anywhere;
  font-size: 9px;
}

.shared-quote-total {
  background: #f3f6fb;
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding: 13px;
  font-size: 11px;
  display: flex;
}

.shared-quote-total strong {
  font-size: 18px;
}

.sizing-name-field {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  gap: 6px;
  margin: 0 0 12px;
  padding: 12px 14px;
  display: grid;
}

.sizing-name-field label {
  color: #4b5b70;
  font-size: 10px;
  font-weight: 800;
}

.sizing-name-field label span {
  color: #b54708;
  margin-left: 5px;
  font-weight: 650;
}

.sizing-name-field input {
  color: #1c2a3f;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  height: 35px;
  padding: 0 10px;
  font-size: 11px;
}

.history-page {
  gap: 14px;
  display: grid;
}

.history-page-heading {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  display: flex;
}

.history-page-heading > div {
  gap: 4px;
  display: grid;
}

.history-page-heading strong {
  font-size: 13px;
}

.history-page-heading span {
  color: #8491a3;
  font-size: 10px;
}

.history-page-heading button {
  color: #3d526f;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 750;
}

.history-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.history-card {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  min-width: 0;
  padding: 16px;
  box-shadow: 0 8px 24px #1d35550a;
}

.history-card-head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.history-card-head .history-type {
  letter-spacing: .06em;
  border-radius: 6px;
  width: auto;
  height: auto;
  padding: 5px 7px;
  font-size: 8px;
}

.history-card-head time {
  color: #8c98a8;
  font-size: 9px;
}

.history-card h2 {
  color: #20324e;
  overflow-wrap: anywhere;
  margin: 12px 0 5px;
  font-size: 14px;
  line-height: 1.35;
}

.history-card > p {
  color: #758398;
  min-height: 30px;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.history-card-actions {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
  display: flex;
}

.history-card-actions .history-edit-button, .history-card-actions .history-share-button, .history-delete-button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 9px;
  text-decoration: none;
}

.history-delete-button {
  color: #b54743;
  background: #fff;
  border: 1px solid #f1d6d5;
  border-radius: 8px;
  font-weight: 750;
}

.history-empty-state {
  text-align: center;
  background: #fff;
  border: 1px dashed #d9e1ed;
  border-radius: 14px;
  padding: 56px 20px;
}

.history-empty-state > span {
  color: #7991bb;
  font-size: 27px;
}

.history-empty-state h2 {
  margin: 10px 0 5px;
  font-size: 17px;
}

.history-empty-state p {
  color: #8390a2;
  max-width: 340px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
}

.history-more-button {
  color: #33445d;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  justify-self: center;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 750;
}

.history-more-button:disabled {
  opacity: .6;
  cursor: wait;
}

@media (max-width: 680px) {
  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    overflow-x: visible;
  }

  .side-link {
    white-space: nowrap;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-page-heading {
    align-items: flex-start;
  }

  .history-card > p {
    min-height: 0;
  }
}

.account-controls {
  align-items: center;
  gap: 12px;
  display: flex;
}

.account-controls > span {
  text-align: right;
  gap: 2px;
  display: grid;
}

.account-controls strong {
  color: #30445f;
  font-size: 11px;
}

.account-controls small {
  color: #8996a9;
  font-size: 9px;
}

.account-controls button {
  border: 1px solid var(--line);
  color: #56677e;
  background: #fff;
  border-radius: 8px;
  height: 32px;
  padding: 0 11px;
  font-size: 10px;
  font-weight: 750;
}

.account-controls button:hover {
  background: #f3f6fb;
}

.login-page {
  background: radial-gradient(at 50% 0, #eaf0ff 0%, #f5f7fb 52%, #eef2f8 100%);
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.login-card {
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 18px;
  width: min(100%, 420px);
  padding: 36px;
  box-shadow: 0 24px 75px #18345615;
}

.login-brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #193456, #386bdf);
  border-radius: 14px;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  font: 800 21px Manrope, sans-serif;
  display: grid;
  box-shadow: 0 8px 20px #315eea30;
}

.login-eyebrow, .user-card-kicker {
  color: #315eea;
  letter-spacing: .14em;
  font-size: 9px;
  font-weight: 850;
}

.login-card h1 {
  color: #182b47;
  letter-spacing: -.045em;
  margin: 8px 0 7px;
  font: 800 26px / 1.2 Manrope, sans-serif;
}

.login-intro {
  color: #7f8b9e;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.login-form {
  gap: 8px;
  margin-top: 25px;
  display: grid;
}

.login-form label, .user-create-card label {
  color: #4a5b72;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
}

.login-form input, .user-create-card input, .user-create-card select {
  color: #1c2a3f;
  width: 100%;
  height: 42px;
  font: inherit;
  background: #fff;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  outline: none;
  padding: 0 12px;
  font-size: 12px;
}

.login-form input:focus, .user-create-card input:focus, .user-create-card select:focus {
  border-color: #7792f2;
  box-shadow: 0 0 0 3px #315eea17;
}

.login-form button, .user-create-card button {
  color: #fff;
  background: #315eea;
  border: 0;
  border-radius: 9px;
  height: 42px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px #315eea2b;
}

.login-form button:disabled, .user-create-card button:disabled {
  cursor: wait;
  opacity: .65;
}

.login-error {
  color: #ad403b;
  background: #fff7f6;
  border: 1px solid #f0d2d0;
  border-radius: 8px;
  margin: 4px 0 0;
  padding: 9px 10px;
  font-size: 10px;
  line-height: 1.5;
}

.login-footnote {
  color: #8793a4;
  border-top: 1px solid #edf0f5;
  margin-top: 20px;
  padding-top: 14px;
  font-size: 9px;
  line-height: 1.5;
}

.user-management {
  gap: 16px;
  display: grid;
}

.user-management-intro {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 17px 19px;
  display: flex;
}

.user-management-intro h2 {
  letter-spacing: -.035em;
  margin: 6px 0 0;
  font: 800 19px Manrope, sans-serif;
}

.user-management-intro p {
  color: #7d8a9d;
  text-align: right;
  max-width: 330px;
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.user-management-grid {
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 13px;
  display: grid;
}

.user-create-card, .user-list-card {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  min-width: 0;
  padding: 19px;
  box-shadow: 0 8px 24px #1d35550a;
}

.user-create-card {
  gap: 8px;
  display: grid;
}

.user-create-card h3, .user-list-heading h3 {
  letter-spacing: -.025em;
  margin: 5px 0 7px;
  font-size: 15px;
}

.user-create-card small {
  color: #8a96a7;
  font-size: 9px;
  line-height: 1.5;
}

.user-create-card button {
  margin-top: 6px;
}

.user-form-message {
  border-radius: 8px;
  margin: 5px 0 0;
  padding: 9px 10px;
  font-size: 10px;
  line-height: 1.5;
}

.user-form-message.success {
  color: #267454;
  background: #eef9f3;
}

.user-form-message.error {
  color: #a6403b;
  background: #fff4f3;
}

.user-list-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  display: flex;
}

.user-list-heading > span {
  color: #4262c1;
  text-align: center;
  background: #edf2fd;
  border-radius: 999px;
  min-width: 24px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 800;
}

.user-list {
  display: grid;
}

.user-list-row {
  border-top: 1px solid #edf0f5;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 0;
  display: flex;
}

.user-avatar {
  color: #315eea;
  background: #edf2ff;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 850;
  display: grid;
}

.user-list-copy {
  flex: 1;
  gap: 3px;
  min-width: 0;
  display: grid;
}

.user-list-copy strong {
  color: #32445e;
  text-overflow: ellipsis;
  font-size: 10px;
  overflow: hidden;
}

.user-list-copy small {
  color: #929dad;
  font-size: 8px;
}

.user-role {
  color: #68778c;
  background: #f0f3f7;
  border-radius: 999px;
  flex: none;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 800;
}

.user-role.super_admin {
  color: #3156bb;
  background: #edf2ff;
}

.user-delete-button {
  color: #ab4841;
  background: #fff8f7;
  border: 1px solid #efd5d2;
  border-radius: 7px;
  flex: none;
  height: 28px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 800;
}

.user-delete-button:hover:not(:disabled) {
  background: #fdecea;
}

.user-delete-button:disabled {
  cursor: wait;
  opacity: .6;
}

.user-active-account {
  color: #8592a5;
  background: #f2f5fa;
  border-radius: 6px;
  flex: none;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 750;
}

.user-list-empty {
  color: #929dad;
  text-align: center;
  padding: 20px 0;
  font-size: 10px;
}

@media (max-width: 760px) {
  .user-management-grid {
    grid-template-columns: 1fr;
  }

  .user-management-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-management-intro p {
    text-align: left;
  }

  .login-card {
    padding: 28px 23px;
  }

  .account-controls {
    gap: 7px;
  }

  .account-controls button {
    padding: 0 8px;
  }
}

.password-dialog-copy {
  color: #7f8b9e;
  margin: 0 0 15px;
  font-size: 10px;
  line-height: 1.55;
}

.password-change-form {
  gap: 8px;
  display: grid;
}

.password-change-form label {
  color: #4a5b72;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
}

.password-change-form input {
  color: #1c2a3f;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 11px;
  font-size: 11px;
}

.password-change-form input:focus {
  border-color: #7792f2;
  box-shadow: 0 0 0 3px #315eea17;
}

.password-change-form input:invalid:not(:placeholder-shown) {
  border-color: #d58a84;
}

.password-change-form .history-dialog-actions {
  margin-top: 7px;
}

.password-change-form button:disabled {
  cursor: wait;
  opacity: .65;
}

.password-change-message {
  border-radius: 8px;
  margin: 4px 0 0;
  padding: 9px 10px;
  font-size: 10px;
  line-height: 1.5;
}

.password-change-message.error {
  color: #a6403b;
  background: #fff4f3;
}

.password-change-message.success {
  color: #267454;
  background: #eef9f3;
}

.password-dialog {
  width: min(100%, 440px);
}

@media (max-width: 680px) {
  .account-controls {
    gap: 4px;
  }

  .account-controls > span {
    display: none;
  }

  .account-controls button {
    padding: 0 7px;
    font-size: 9px;
  }
}

.folder-select-button {
  color: #455873;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  height: 38px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 750;
}

.folder-select-button:hover {
  background: #f4f7fc;
}

@media (max-width: 680px) {
  .folder-select-button {
    height: 35px;
    padding: 0 9px;
    font-size: 9px;
  }
}

.shared-sku-segment {
  margin-top: 15px;
}

.shared-sku-segment h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.shared-sku-segment .shared-quote-total {
  margin-top: 8px;
  padding: 10px 12px;
}

.shared-sku-segment .shared-quote-total strong {
  font-size: 13px;
}

.provisioning-service-segments {
  gap: 9px;
  margin-top: 12px;
  display: grid;
}

.provisioning-service-segment {
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 10px;
  padding: 12px;
}

.provisioning-service-segment-heading {
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  display: flex;
}

.provisioning-service-segment-heading > span {
  color: #3156bb;
  letter-spacing: .06em;
  background: #edf2ff;
  border-radius: 6px;
  flex: none;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 850;
}

.provisioning-service-segment-heading h4 {
  color: #253852;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 11px;
}

.provisioning-service-segment dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  display: grid;
}

.provisioning-service-segment dl > div {
  background: #f3f5f8;
  border-radius: 7px;
  min-width: 0;
  padding: 8px;
}

.provisioning-service-segment dt {
  color: #8390a2;
  font-size: 8px;
}

.provisioning-service-segment dd {
  color: #32445e;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 700;
}

.shared-price-unit {
  color: #8290a2;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}

.shared-price-unit a {
  color: #315eea;
}

.shared-price-meta {
  color: #8290a2;
  overflow-wrap: anywhere;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.45;
  display: flex;
}

.shared-price-meta a {
  color: #315eea;
}

.shared-period-tag {
  color: #48566a;
  white-space: nowrap;
  background: #eef2f8;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
}

@media (max-width: 680px) {
  .provisioning-service-segment dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html, body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.app-shell {
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.topbar {
  background: #fff;
  flex: 0 0 62px;
  gap: 12px;
  height: 62px;
  min-height: 62px;
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px);
}

.workspace {
  flex-direction: column;
  flex: 1;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
}

.sidebar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex: none;
  min-height: 0;
  padding: 0 clamp(12px, 2vw, 28px);
}

.side-label {
  display: none;
}

.side-nav {
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  display: flex;
  overflow-x: auto;
}

.side-nav::-webkit-scrollbar {
  height: 4px;
}

.side-nav::-webkit-scrollbar-thumb {
  background: #cfd7e3;
  border-radius: 999px;
}

.side-link {
  white-space: nowrap;
  flex: none;
  gap: 8px;
  width: auto;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 11px;
}

.side-icon {
  width: auto;
  font-size: 14px;
}

.main-panel {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scrollbar-color: #c7d0de transparent;
  flex: 1;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: clamp(10px, 1.3vw, 18px) clamp(12px, 2vw, 28px) 12px;
  overflow: hidden auto;
}

.main-panel::-webkit-scrollbar {
  width: 9px;
}

.main-panel::-webkit-scrollbar-thumb {
  background: #c7d0de padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 999px;
}

.page-heading {
  flex: none;
  align-items: center;
  margin: 0 0 10px;
}

.page-heading h1 {
  margin: 5px 0 3px;
  font-size: 23px;
}

.page-heading p {
  font-size: 10px;
}

.sizing-name-field {
  flex: none;
  margin-bottom: 9px;
  padding: 9px 12px;
}

.notice, .share-panel {
  flex: none;
}

.calculator-frame {
  border-radius: 11px;
  flex: none;
  min-width: 0;
  min-height: 0;
}

.calculator-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.provisioning-frame iframe {
  height: 100%;
  min-height: 0;
}

.main-panel-provisioning {
  overflow: hidden;
}

.main-panel-provisioning .provisioning-frame {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.provisioning-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.main-footer {
  display: none;
}

.history-page, .user-management {
  flex: none;
  min-height: 0;
  overflow: visible;
}

@media (max-width: 680px) {
  .topbar {
    flex-basis: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .sidebar {
    padding: 0 10px;
  }

  .side-nav {
    gap: 4px;
    padding: 5px 0;
    display: flex;
  }

  .side-link {
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .side-icon {
    font-size: 12px;
  }

  .main-panel {
    padding: 10px 10px 8px;
  }

  .page-heading {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .page-heading > div:first-child {
    flex: 200px;
  }

  .page-heading h1 {
    font-size: 20px;
  }

  .page-heading p {
    max-width: 100%;
    font-size: 9px;
  }

  .save-button, .folder-select-button {
    height: 33px;
    padding: 0 9px;
    font-size: 9px;
  }

  .sizing-name-field {
    gap: 4px;
    padding: 8px 10px;
  }

  .sizing-name-field input {
    height: 32px;
  }

  .share-panel {
    padding: 10px;
  }
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-fi_qx-.css.map*/