:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17283a;background:#f3f6fa;font-size:16px;--nav:#111f30;--accent:#087b73;--line:#e2e9ef;--muted:#526579;--white:#fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #129c90;outline-offset:3px}button[disabled]{cursor:default;opacity:.43}svg{display:block;width:20px;height:20px;flex:none}i{font-style:normal}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#b7c6d7;padding:28px 18px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;color:#fff;padding:1px 9px 40px}.brand-icon{width:40px;height:40px;border-radius:10px;background:#73e4d0;color:#102b33;display:grid;place-items:center}.brand-icon svg{width:24px;height:24px}.brand strong{font-size:24px;letter-spacing:-.045em;line-height:1}.brand strong span{color:#73e4d0}.brand small,.nav-label{display:block;font-size:11px;font-weight:750;letter-spacing:.12em}.brand small{margin-top:5px;color:#aebed0}.nav-label{padding:0 10px 12px;color:#9aacc0}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:transparent;color:inherit;border-radius:8px;text-align:left;padding:12px;display:flex;align-items:center;gap:11px;font-size:14px;font-weight:650}.sidebar nav button:hover{background:#1b3044;color:#fff}.sidebar nav button[aria-current]{background:#203b49;color:#a4f2e4;box-shadow:inset 3px 0 #68dfca}.account{margin-top:auto;border-top:1px solid #304151;padding:17px 6px 4px;display:flex;align-items:center;gap:10px;font-size:14px}.account strong{color:#fff}.account small{display:block;margin-top:3px;color:#aebed0}.avatar{background:#2d465b;border-radius:9px;width:36px;height:36px;display:grid;place-items:center;color:white;font-size:13px;font-weight:750}.workspace{min-width:0}.topbar{height:65px;padding:0 32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff;color:var(--muted);font-size:14px}.topbar strong{color:#17283a}.slash{margin:0 8px;color:#64778c}main{max-width:1480px;margin:auto;padding:32px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}h1,h2,p{margin:0}h1{font-size:34px;letter-spacing:-.04em;line-height:1.15}h2{font-size:18px;letter-spacing:-.02em}.sub{color:var(--muted);margin-top:7px;font-size:14px;line-height:1.5}.button{border:1px solid #087b73;border-radius:8px;background:#087b73;color:#fff;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700;white-space:nowrap;min-height:39px}.button:hover{background:#07655f}.button.secondary{background:#fff;color:#23384c;border-color:#d6e0e9}.button.secondary:hover{background:#edf4f8}.button svg{width:16px;height:16px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.card,.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 4px #1b314704}.card{padding:17px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:5px;color:var(--muted);font-size:14px;font-weight:650}.tile-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e8f7f3;color:#08776e}.tile-icon svg{width:17px;height:17px}.tile-icon.blue{background:#edf2ff;color:#365db6}.tile-icon.amber{background:#fff2e1;color:#945410}.metric{display:block;font-size:30px;line-height:1.23;letter-spacing:-.045em;margin-top:9px;font-weight:780}.note{display:block;color:var(--muted);font-size:13px;margin-top:4px}.overview-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);gap:17px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 19px}.panel-head .sub{margin-top:4px;font-size:13px}.legend{color:var(--muted);font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:7px}.legend span{width:9px;height:9px;background:#138b7f;border-radius:2px}.chart{display:grid;grid-template-columns:30px 1fr;padding:4px 18px 15px;gap:6px}.axis{height:116px;display:flex;flex-direction:column;justify-content:space-between;text-align:right;font-size:12px;color:var(--muted)}.plot{height:116px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;justify-items:center;background:repeating-linear-gradient(to top,#e7edf3 0 1px,transparent 1px 25%);border-top:1px solid #e7edf3}.bar{width:65%;max-width:36px;background:#b1e6db;border-radius:4px 4px 0 0}.bar:nth-last-child(1){background:#138b7f}.days{grid-column:2;display:grid;grid-template-columns:repeat(7,1fr);text-align:center;color:var(--muted);font-size:12px}.breakdown{padding:0 19px 13px}.breakdown div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5;padding:11px 0;font-size:14px}.breakdown div:last-child{border-bottom:0}.badge{font-size:13px;font-weight:700;border-radius:20px;padding:4px 9px;display:inline-block;white-space:nowrap}.delivered{background:#e6f6ef;color:#176446}.in-transit{background:#eaf1ff;color:#3156a4}.processing{background:#f0edf9;color:#62469f}.exception{background:#fff0df;color:#8a4b0a}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;min-width:710px;font-size:14px}th{background:#f7f9fc;font-size:13px;color:#4a5d72;font-weight:700}th,td{padding:11px 14px;border-top:1px solid #eaf0f4;white-space:nowrap}th:first-child,td:first-child{padding-left:19px}tr:hover td{background:#fbfcfe}.order-id{background:none;border:0;padding:0;color:#08776e;font-weight:750}.order-id:hover{text-decoration:underline}.filters{padding:16px 19px;display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #edf1f5}.filters label{font-size:13px;font-weight:700;display:grid;gap:5px;color:var(--muted)}.filters input,.filters select{height:38px;border:1px solid #cedae4;border-radius:7px;padding:0 10px;color:#17283a;background:#fff;min-width:135px}.filters select{appearance:none;padding-right:30px;background:#fff 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='%23526579' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 19px;border-top:1px solid #edf1f5;color:var(--muted);font-size:13px}.pagination div{display:flex;gap:6px}.empty{padding:30px 19px;text-align:center;color:var(--muted)}.report-list{padding:0 19px}.report{display:flex;align-items:center;gap:12px;border-top:1px solid #edf1f5;padding:17px 0}.report>div:nth-child(2){flex:1}.report h3{font-size:15px;margin:0}.report .sub{margin-top:3px}dialog{max-width:min(92vw,500px);width:100%;border:0;border-radius:14px;padding:24px;color:#17283a;box-shadow:0 16px 60px #0a172e55}dialog::backdrop{background:#10203599}dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}dialog dt{font-weight:700;color:var(--muted);font-size:13px}dialog dd{margin:3px 0 0;font-size:14px}dialog form{display:flex;justify-content:flex-end;margin-top:19px}.toast{position:fixed;bottom:20px;right:20px;border-radius:8px;background:#111f30;color:white;padding:12px 18px;font-size:14px;z-index:2}
@media(max-width:1050px){.shell{grid-template-columns:185px minmax(0,1fr)}main,.topbar{padding-left:22px;padding-right:22px}.card{padding:13px}.cards{gap:10px}}
@media(max-width:770px){.shell{display:block}.sidebar{position:static;height:auto;padding:12px 14px}.brand{padding:0 0 10px}.sidebar nav{display:flex;gap:4px}.nav-label,.account{display:none}.sidebar nav button{padding:8px 10px}.topbar{height:47px}.overview-row{grid-template-columns:1fr}main{padding-top:23px}}
@media(max-width:520px){main,.topbar{padding-left:13px;padding-right:13px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.page-title{align-items:flex-start}h1{font-size:27px}.page-title .button{padding:8px}.report .tile-icon{display:none}.filters input{max-width:185px}}
.sidebar nav button[hidden]{display:none}.pricing-panel{margin-bottom:18px}.pricing-panel form{align-items:end}.pricing-panel form .sub{align-self:center;margin:0}.pricing-panel input{width:130px}.pricing-table{min-width:580px}
@media(max-width:520px){.sidebar nav{flex-wrap:wrap}}
.integration-panel{margin:18px 0}.integration-panel form{align-items:end}.integration-panel input{width:180px}.integration-result{border-top:1px solid var(--line);padding:14px 19px;font-size:14px;line-height:1.55}.integration-result ul{margin:8px 0;padding-left:20px}
[hidden]{display:none!important}
.pilot-space{margin-top:18px}.pilot-form{align-items:end}.pilot-form input[type=file]{padding:6px 8px;max-width:245px}.pilot-form input[type=number]{min-width:0;width:124px}.pilot-feedback{color:#16655d;font-size:.875rem;align-self:center;line-height:1.4}.pilot-feedback:empty{display:none}.pilot-error{color:#982b22}.pilot-note{padding:22px 19px;font-size:.9rem;line-height:1.5}.pilot-client-tools{display:grid;grid-template-columns:minmax(235px,1fr) minmax(0,2fr);border-top:1px solid var(--line)}.pilot-client-tools section{padding:17px 19px}.pilot-client-tools section+section{border-left:1px solid var(--line)}.pilot-client-tools h3{font-size:1rem;margin:0}.pilot-client-tools form{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.pilot-client-tools form label,.pilot-label{display:grid;gap:5px;font-size:.875rem;color:var(--muted);font-weight:650}.pilot-client-tools input,.pilot-client-tools select,.pilot-label select{border:1px solid #cedae4;border-radius:7px;padding:0 8px;background:#fff;color:#17283a;height:38px}.pilot-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pilot-subnav{padding:10px 19px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.pilot-subnav .pilot-actions{margin:0}.pilot-subnav button[aria-pressed=true]{background:#e8f7f3;border-color:#92ccc2;color:#075c54}.review-feedback{margin:0 19px 12px}.table-wrap small{display:block;color:var(--muted);margin-top:3px;font-size:.78rem}
@media(max-width:760px){.pilot-client-tools{display:block}.pilot-client-tools section+section{border-left:0;border-top:1px solid var(--line)}}
.sync-setup{border-top:1px solid var(--line)}.sync-setup summary{cursor:pointer;padding:13px 19px;color:#24566a;font-size:.9rem;font-weight:700}.sync-setup .filters{border-top:0;padding-top:0}.sync-setup input[readonly]{background:#f3f6fa;color:var(--muted)}#details dd{overflow-wrap:anywhere}
#details h3{margin:20px 0 8px;font-size:1rem}#details table{min-width:0}#details td,#details th{white-space:normal;overflow-wrap:anywhere}#details .pilot-note{padding:8px 0}
.live-selector .filters{border-top:0}.overview-period{margin:0 0 12px}.card h2{font-size:.92rem;font-weight:650;color:var(--muted);margin:0 0 8px}.card>strong{font-size:1.85rem;line-height:1.1;letter-spacing:-.035em}.live-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;min-height:180px;padding:8px 19px 20px;background:#fff}.live-chart-column{display:grid;grid-template-rows:auto 1fr auto;justify-items:center;gap:6px;color:var(--muted);font-size:.78rem;text-align:center;min-width:0}.live-count{font-weight:700;color:#17283a}.live-bar-space{width:100%;display:flex;align-items:end;justify-content:center;border-bottom:1px solid var(--line)}.live-bar{width:65%;max-width:38px;background:#12988c;border-radius:4px 4px 0 0}.live-statuses{padding:0 19px 14px;display:grid}.live-statuses>div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:9px 0;font-size:.9rem}
.order-status-summary{padding:14px 19px;border-top:1px solid var(--line)}.order-status-summary h3{font-size:.9rem;margin:0 0 8px;color:var(--muted)}.order-status-summary>div{display:flex;gap:8px;flex-wrap:wrap}.status-count{background:#fff;border:1px solid var(--line);border-radius:7px;padding:6px 10px;display:inline-flex;gap:9px;align-items:center;color:#22364a;font-size:.86rem}.status-count[aria-pressed=true]{background:#e8f7f3;border-color:#92ccc2;color:#075c54}
.inventory-metrics{display:flex;flex-wrap:wrap;gap:8px;padding:12px 19px;border-top:1px solid var(--line)}.inventory-metrics>div{min-width:95px;display:grid;gap:5px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;font-size:.85rem;color:var(--muted)}.inventory-metrics strong{color:#17283a;font-size:1.15rem}.inventory-definition{margin:8px 19px 14px}.inventory-manual{list-style:none;margin:0;padding:0 19px 12px;display:flex;flex-wrap:wrap;gap:8px}.inventory-manual li{display:flex;align-items:center;gap:7px;font-size:.85rem;padding:3px 7px;border:1px solid var(--line);border-radius:6px}#inventory-add textarea{font:inherit;border:1px solid #cedae4;border-radius:7px;padding:8px;max-width:75vw;width:260px}

/* Client navigation uses the sidebar palette and a consistent icon column. */
.sidebar .client-nav { gap: 4px; }
.sidebar .client-nav button {
  min-height: 44px;
  padding: 9px 11px;
  color: #c2cede;
}
.sidebar .client-nav button svg { width: 18px; height: 18px; }
.sidebar .client-nav button:hover { color: #fff; }
.sidebar .client-nav button[aria-current="page"] { color: #a4f2e4; }
.sidebar .client-nav button:focus-visible { outline-color: #73e4d0; outline-offset: 1px; }

@media (max-width: 770px) {
  .sidebar .client-nav {
    flex-wrap: wrap;
  }
  .sidebar .client-nav button {
    min-height: 44px;
    gap: 7px;
    padding: 7px 9px;
    white-space: nowrap;
  }
  .sidebar .client-nav button[aria-current="page"] {
    box-shadow: inset 0 -2px #68dfca;
  }
}

.order-exception-text {
  display: block;
  max-width: 28rem;
  margin-top: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #8a4b0a;
}
.order-exception-detail {
  padding: 10px 12px;
  border-radius: 8px;
  margin-block: 12px;
  overflow-wrap: anywhere;
  background: #fff0df;
  color: #754007;
}

/* The signed-out experience has its own layout and leaves the workspace shell intact. */
.login-page { background: #eef3f6; }
.login-page .shell { display: block; }
.login-page .sidebar, .login-page .topbar { display: none; }
.login-page main {
  display: grid;
  align-content: center;
  min-height: 100svh;
  max-width: 1360px;
  padding: clamp(18px, 5vw, 72px);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 72px #132b3f22;
}
.login-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  min-width: 0;
  padding: clamp(28px, 5.8vw, 76px);
  overflow: hidden;
  background: linear-gradient(162deg, #102235 5%, #13374a 100%);
  color: white;
}
.login-wordmark { font-size: 46px; font-weight: 780; letter-spacing: -.07em; line-height: .97; }
.login-wordmark span { color: #73e4d0; }
.login-wordmark small {
  display: block;
  margin-top: 11px;
  color: #c5d4df;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .17em;
}
.login-brand-copy h1 { max-width: 420px; font-size: clamp(36px, 5.5vw, 72px); line-height: 1.04; }
.login-brand-copy p { max-width: 290px; color: #c5d4df; font-size: 17px; line-height: 1.55; margin-top: 18px; }
.login-decoration { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.login-decoration span {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  top: var(--top, 4%);
  left: var(--left, 59%);
  border: 1px solid #72e4d054;
  border-radius: 18%;
  transform: rotate(36deg) skew(-10deg, -10deg);
}
.login-decoration span:nth-child(2) { --top: 13%; --left: 54%; border-color: #72e4d038; }
.login-decoration span:nth-child(3) { --top: 22%; --left: 49%; border-color: #72e4d027; }
.login-panel { display: grid; align-items: center; background: white; padding: clamp(28px, 5.5vw, 74px); }
.login-content { width: 100%; max-width: 370px; margin-inline: auto; }
.login-content h2 { font-size: 34px; letter-spacing: -.045em; }
.login-intro { margin: 9px 0 25px; color: var(--muted); line-height: 1.5; font-size: 14px; }
.login-google, .login-submit { width: 100%; min-height: 45px; }
.login-divider { display: flex; gap: 10px; align-items: center; margin: 21px 0; color: var(--muted); font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#password-login { display: grid; gap: 15px; }
#password-login label { display: grid; gap: 6px; font-size: 14px; font-weight: 660; }
#password-login input {
  min-height: 45px;
  min-width: 0;
  width: 100%;
  border: 1px solid #c9d7e0;
  border-radius: 8px;
  padding: 9px 11px;
  color: #17283a;
}
.login-reset { justify-self: center; border: 0; background: transparent; color: #086b64; font-size: 14px; padding: 6px; }
.login-reset:hover { text-decoration: underline; }
#login-status:not(:empty) { margin-top: 13px; line-height: 1.5; }
@media (max-width: 760px) {
  .login-page main { align-content: start; padding: 14px; }
  .login-layout { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .login-brand { gap: 28px; }
  .login-wordmark { font-size: 36px; }
  .login-brand-copy p { font-size: 15px; margin-top: 9px; }
  .login-panel { padding-block: 29px 37px; }
}
