:root {
  --ink:#122836; --muted:#516773; --accent:#08746b; --frame:#eef3f5; --surface:#fff;
  --soft:#e5f1ee; --line:#ccdce0; --outline:#acc2c8; --action:#08746b; --on-action:#fff;
  --focus:#087469; --rail:#12535b; --doodle:#c7eee3; --dashboard-depth:0 10px 28px #153a430b;
}
:root[data-theme=dark] {
  --ink:#edf8f8; --muted:#b5cbd0; --accent:#8ee0ce; --frame:#101e29; --surface:#172c39;
  --soft:#223f45; --line:#37515b; --outline:#58777d; --action:#8ee0ce; --on-action:#122c30;
  --focus:#a3ecd9; --rail:#173d48; --doodle:#315b5c; --dashboard-depth:0 10px 28px #03111865;
}
body { font-family:system-ui,-apple-system,"Segoe UI",sans-serif; }
.landing-nav { min-height:68px; }
.landing-brand,.work-head h1,.landing h1,.landing h2 { font-family:inherit; }
.landing-hero {
  background:#112e3c; color:#f5fbfa; border:0; border-radius:18px;
  min-height:335px; padding:clamp(24px,4vw,58px); gap:clamp(18px,4vw,52px);
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
}
.landing-hero h1 { font-size:clamp(36px,4.5vw,65px); margin:0 0 16px; letter-spacing:-.065em; }
.landing-hero h1 em { color:#a4efd8; }
.landing-description { color:#d0e5e8; max-width:38ch; }
.landing-hero .landing-button { background:#a4efd8; color:#102e36; }
.landing-hero .landing-outline { background:transparent; border-color:#648891; color:#f5fbfa; }
.landing-hero .landing-outline:hover { background:#294956; }
.landing-hero::after { opacity:.3; background-color:#173f4c; background-image:radial-gradient(#70baa9 1px,transparent 1px); }
.landing .quick-tools { display:grid; grid-template-columns:1fr; gap:8px; max-width:none; }
.landing .quick-card,.landing .quick-card:first-child {
  display:grid; grid-template-columns:58px minmax(0,1fr); column-gap:12px; align-content:center;
  color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:9px 12px;
}
.landing .quick-card:hover { background:var(--soft); border-color:var(--outline); }
.landing .quick-card svg,.landing .quick-card:first-child svg { grid-row:span 2; width:53px; height:46px; }
.landing .quick-card strong,.landing .quick-card:first-child strong { align-self:end; margin:0; font-size:15px; }
.landing .quick-card span { align-self:start; font-size:13px; }
.landing :is(.card,.tool-empty),.work-panel:not(.pnl-panel) { border-radius:12px; }
.landing .cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); }
.landing .card { border:1px solid var(--line); min-height:163px; }
.landing .card:hover { box-shadow:var(--dashboard-depth); }
.landing .card-action { font-weight:750; }
.landing .extension .card-action { color:var(--muted); }
.landing #tools { margin-block:34px 48px; }
.landing .section-head h2,.work-head h1 { letter-spacing:-.045em; }
.theme-picker,.theme-picker button { border-radius:8px; }
.sidebar .nav-link[aria-current=page] { color:var(--accent); background:var(--soft); }
.workspace-bar { background:var(--surface); border-bottom:1px solid var(--line); }
.work-head { margin:4px 0 18px; }
.work-head h1 { font-size:clamp(28px,4vw,44px); }
.work-head p { max-width:70ch; }
.skip { min-height:44px; display:inline-flex; align-items:center; color:var(--accent); }
.work-panel:not(.pnl-panel),.shipping-review,.shipping-print,.pnl-section { border-color:var(--line); }
.shipping-panel .shipping-upload { border:1px dashed var(--outline); border-radius:12px; padding:14px; background:var(--frame); }
.shipping-panel .shipping-review,.shipping-panel .shipping-print { border-radius:12px; }
.shipment-report table input { min-width:100px; width:100%; }
@media(max-width:900px) {
  .landing-hero { grid-template-columns:minmax(0,1fr); min-height:0; row-gap:18px; }
}
@media(max-width:525px) {
  .landing-hero { padding:17px; border-radius:13px; }
  .landing-hero h1 { font-size:clamp(30px,9vw,42px); }
  .landing .quick-card,.landing .quick-card:first-child { grid-template-columns:42px minmax(0,1fr); gap:3px 9px; }
  .landing .quick-card svg,.landing .quick-card:first-child svg { width:40px;height:39px; }
  .landing .cards { grid-template-columns:1fr; }
  .landing .card { min-height:0; }
  .shipment-report table input { min-width:0; }
}
