@font-face{font-family:Inter;src:url('assets/inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--ink:#0f0f0d;--text:#2c2c2a;--muted:#626260;--quiet:#6f6f6d;--line:#dededd;--strong:#c2c2c0;--ground:#f4f4f2;--paper:#f9f9f7;--green:#2e7a68;--deep:#1f5c4e;--pale:#d5e4df;--rust:#8b3a2a;--sidebar:269px;--ease:cubic-bezier(.22,1,.36,1);--motion-fast:140ms;--motion-state:220ms;--motion-enter:280ms;--motion-exit:160ms;--overlay-shadow:0 16px 50px #0f0f0d20}
*{box-sizing:border-box}html{color-scheme:light;-webkit-text-size-adjust:100%;scrollbar-color:var(--strong) transparent;scrollbar-width:thin}body{margin:0;background:var(--ground);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-underline-offset:3px}a:hover{color:var(--ink)}button{border:0;background:none}input,textarea{caret-color:var(--deep)}::selection{background:var(--pale);color:var(--deep)}:focus-visible{outline:2px solid var(--green);outline-offset:3px}button,input,select,textarea{border-radius:7px}input,select,textarea{width:100%;border:1px solid var(--strong);background:var(--ground);padding:8px 11px;min-height:38px;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:var(--green);outline:2px solid #2e7a6820;outline-offset:1px}input::placeholder,textarea::placeholder{color:var(--quiet);opacity:1}input[aria-invalid=true]{border-color:var(--rust)}svg.icon{width:16px;height:16px;flex:none;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}img{max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;z-index:100;left:12px;top:-60px;background:var(--paper);padding:10px 16px;border:1px solid var(--strong);border-radius:6px}.skip-link:focus{top:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:5px 12px;border:1px solid var(--line);background:var(--paper);font-size:13px;font-weight:450;white-space:nowrap;transition:background .15s,border-color .15s}.button:hover{background:var(--ground);border-color:var(--strong)}.button.primary{background:var(--ink);border-color:var(--ink);color:var(--paper);font-weight:600}.button.primary:hover{background:#2c2c2a}.button:active{transform:translateY(1px)}.icon-button{width:30px;height:30px;padding:6px;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon-button:hover{background:var(--ground)}.text-button{padding:0;text-decoration:underline;text-underline-offset:3px;border-radius:2px}.muted{color:var(--muted)}.num,[data-balance]{font-variant-numeric:tabular-nums}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:14px}.field+.field{margin-top:17px}.input-wrap{position:relative}.input-wrap>.icon{position:absolute;left:12px;top:11px;width:14px;height:14px;color:var(--muted);pointer-events:none}.input-wrap input{padding-left:34px;padding-right:40px}.input-wrap .reveal-password{position:absolute;right:5px;top:4px;width:30px;height:30px;color:var(--muted);opacity:0}.input-wrap:hover .reveal-password,.input-wrap:focus-within .reveal-password{opacity:1}.form-error{color:var(--rust);font-size:13px;margin-top:12px}.form-error:empty{display:none}.form-note{font-size:13px;color:var(--muted);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .field+.field{margin-top:0}.form-grid .wide{grid-column:1/-1}
/* Reference: centered 416 px form, 40 px mark and generous untouched canvas. */
.auth-page{min-height:100svh;display:grid;place-items:center;padding:64px 20px}.auth-layout{width:min(416px,100%);transform:translateY(-26px)}.auth-mark{display:block;width:40px;height:40px;margin:0 auto 28px;fill:var(--ink);overflow:visible}.auth-mark .spoke{transform-box:view-box;transform-origin:50% 50%}.auth-card{padding:29px 32px 28px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.auth-card h1{font-size:18px;font-weight:600;text-align:center;letter-spacing:-.025em;margin-bottom:24px}.auth-card .auth-intro{margin:-10px 0 24px;text-align:center}.forgot-row{display:flex;justify-content:flex-end;align-items:baseline;gap:12px;margin-top:9px;font-size:13px}.forgot-row .form-error{margin:0 auto 0 0}.forgot-row a{flex:none}.auth-submit{width:100%;height:41px;margin-top:20px;font-size:14px}.auth-switch{margin-top:16px;text-align:center;font-size:13px;color:var(--muted)}.auth-switch a{color:var(--text)}.auth-help{text-align:center;margin-top:17px;font-size:13px;color:var(--muted)}.auth-help a{color:var(--text)}.auth-confirm{padding:14px 0 4px;text-align:center}.auth-confirm .confirm-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--pale);color:var(--deep);margin:0 auto 18px}.auth-confirm h1{margin-bottom:12px}.auth-confirm p{margin-bottom:25px}.auth-confirm .button{width:100%;height:40px}
/* Dashboard shell. */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--paper);border-right:1px solid var(--line);border-top-right-radius:11px;display:flex;flex-direction:column;z-index:20}.business{height:57px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;padding:0 16px;font-size:16px;font-weight:600;color:var(--ink);width:100%;text-align:left;border-radius:0 11px 0 0}.business img{width:24px;height:24px;flex:none}.business span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-search{display:flex;align-items:center;gap:9px;height:34px;min-height:34px;margin:12px 14px 11px;padding:0 10px;border:1px solid var(--line);background:var(--ground);color:var(--quiet);text-align:left;border-radius:7px}.sidebar-search .icon{width:14px;height:14px}.sidebar-search kbd{margin-left:auto;border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:1px 5px;white-space:nowrap;font:11px Inter,Arial,sans-serif;color:var(--muted)}.sidebar-search:hover{border-color:var(--strong)}.navigation{flex:1;min-height:0;overflow-y:auto;padding:0 10px 18px}.nav-link{display:flex;align-items:center;gap:12px;min-height:34px;width:100%;padding:6px 10px;border-radius:6px;text-decoration:none;text-align:left;font-size:14px}.nav-link:hover{background:var(--ground)}.nav-link[aria-current=page]{background:var(--ground);font-weight:500;color:var(--ink)}.nav-link>.icon{width:16px;height:16px}.nav-label{font-size:13px;color:var(--muted);margin:13px 10px 3px}.nav-pair{display:flex;align-items:center}.nav-pair>.nav-link{flex:1;min-width:0}.nav-pair>.icon-button{flex:none}.shipment-toggle .chevron{margin:0}.shipment-toggle[aria-expanded=true] .chevron{transform:rotate(90deg)}.nav-pair>.icon-button{height:30px;width:28px;margin-right:3px;color:var(--muted)}.chevron{margin-left:auto;display:flex;transition:transform .18s var(--ease)}.chevron .icon{width:13px;height:13px}.nav-children{overflow:hidden;margin:0 0 0 18px;padding-left:8px;border-left:1px solid var(--line)}.nav-children .nav-link{padding-left:11px}.sidebar-bottom{flex:none}.wallet{border-top:1px solid var(--line);padding:10px 14px 12px}.wallet-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px;color:var(--muted)}.wallet-summary strong{font-size:15px;color:var(--ink);font-weight:600}.wallet .button{width:100%;min-height:30px;border-color:var(--strong);font-size:13px}.account-wrap{padding:6px 11px;border-top:1px solid var(--line)}.account-button{width:100%;min-height:40px;display:flex;gap:10px;align-items:center;text-align:left;padding:6px 8px;background:var(--ground);font-size:13px}.avatar{display:grid;place-items:center;flex:none;width:24px;height:24px;background:var(--deep);color:var(--paper);border-radius:6px;font-size:12px;font-weight:600}.account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-button>.icon{margin-left:auto;width:13px;height:13px}.account-popover{position:fixed;inset:auto auto 60px 12px;width:245px;margin:0;padding:6px;border:0;border-radius:9px;background:var(--paper);color:var(--text);box-shadow:var(--overlay-shadow)}.account-popover button{display:flex;align-items:center;gap:10px;width:100%;padding:8px;text-align:left;font-size:13px}.account-popover button:hover{background:var(--ground)}.menu-note{font-size:12px;color:var(--muted);padding:8px 9px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}.app-main{margin-left:var(--sidebar);min-height:100svh;padding:71px clamp(36px,8.06vw,116px) 60px;outline:none}.home-layout{display:grid;grid-template-columns:minmax(0,660px) 180px;column-gap:84px}.home-primary{min-width:0}.page-heading{font-size:27px;line-height:1.4;font-weight:600;letter-spacing:-.035em}.greeting-date{font-size:14px;color:var(--quiet);margin-top:10px}.shortcuts{padding-top:6px}.shortcuts h2{font-size:13px;color:var(--quiet);font-weight:400;margin-bottom:10px}.shortcut{display:flex;align-items:center;gap:11px;padding:6px 0;font-size:14px;white-space:nowrap}.shortcut .icon{color:var(--muted);width:15px;height:15px}.shortcut:hover span{text-decoration:underline;text-underline-offset:3px}.week-section{margin-top:51px}.week-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.week-heading h2{font-size:17px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}.week-range{color:var(--quiet);font-size:13px;white-space:nowrap}.week-heading .button{margin-left:auto;min-height:30px;font-size:12px;padding:4px 11px}.week-heading .icon{width:14px;height:14px}.week-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:11px;color:var(--muted)}.legend-item{display:flex;align-items:center;gap:6px}.status-dot{width:9px;height:9px;border-radius:3px;display:inline-block;flex:none}.status-dot.delivered{background:var(--deep)}.status-dot.arriving{background:var(--green)}.status-dot.ready{background:var(--pale)}.status-dot.attention{background:var(--rust)}.mobile-header,.nav-backdrop{display:none}
/* Dialogs use the browser's focus trap and Escape behavior. */
dialog{position:fixed;inset:0;width:min(480px,calc(100% - 32px));max-height:calc(100svh - 48px);padding:0;border:0;border-radius:12px;background:var(--paper);color:var(--text);box-shadow:var(--overlay-shadow);overflow:auto}dialog::backdrop{background:#0f0f0d2e;backdrop-filter:blur(1.5px)}dialog[open]{animation:dialog-in var(--motion-enter) var(--ease)}dialog[open]::backdrop{animation:backdrop-in .2s ease}dialog.closing{animation:dialog-out var(--motion-exit) ease-in forwards}dialog.closing::backdrop{animation:backdrop-out var(--motion-exit) ease-in forwards}.dialog-header{padding:23px 24px 0;display:flex;gap:15px;align-items:center;justify-content:space-between}.dialog-header h2{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.025em}.dialog-header .icon-button{margin:-3px -7px -3px 0;color:var(--muted)}.dialog-body{padding:19px 24px 24px}.dialog-body>p:first-child{color:var(--muted);font-size:13px;margin-bottom:21px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.dialog-actions .button{min-height:37px}.dialog-body .form-note{margin-top:18px}.dialog-body .empty-state{padding:25px 8px 30px}.day-statuses{display:flex;flex-wrap:wrap;gap:8px 20px;padding:15px 0 0;border-top:1px solid var(--line)}.day-statuses .legend-item{font-size:12px}.empty-state{text-align:center;padding:65px 20px;color:var(--muted)}.empty-state>.icon{width:27px;height:27px;margin-bottom:15px;color:var(--quiet);stroke-width:1.2}.empty-state h2,.empty-state h3{font-size:16px;font-weight:500;letter-spacing:-.02em}.empty-state p{margin:8px auto 0;max-width:38ch;font-size:13px;line-height:1.7}.empty-state .button{margin-top:20px}.search-dialog{width:min(560px,calc(100% - 32px));margin-top:min(18vh,160px)}.search-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line)}.search-bar input{border:0;background:transparent;padding:9px 0;outline:none!important;font-size:15px}.search-bar>.icon{color:var(--muted)}.search-bar .icon-button{font-size:11px;width:34px;color:var(--muted);border:1px solid var(--line);height:24px;padding:0}.search-results{padding:7px;max-height:380px;overflow-y:auto}.search-result{display:flex;align-items:center;gap:12px;width:100%;text-align:left;text-decoration:none;padding:11px 12px;border-radius:6px}.search-result:hover,.search-result:focus-visible{background:var(--ground)}.search-result .icon{color:var(--muted)}.search-result small{margin-left:auto;text-align:right;max-width:40%;display:block;font-size:12px;color:var(--muted);margin-top:2px}.search-caption{padding:9px 19px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.amount-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0 20px}.amount-options .button{height:42px;font-size:14px}.amount-options .button[aria-pressed=true]{border-color:var(--deep);background:var(--pale);color:var(--deep)}.money-input{position:relative}.money-input span{position:absolute;top:9px;left:12px;color:var(--muted)}.money-input input{padding-left:28px}.preview-note{display:flex;gap:7px;align-items:flex-start;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.preview-note .icon{margin-top:2px;width:14px;height:14px}.success-line{display:flex;gap:8px;color:var(--deep);font-size:13px}.inline-fields{display:flex;align-items:flex-end;gap:10px}.inline-fields .field{flex:1}.section-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.section-header p{color:var(--muted);font-size:13px;margin-top:8px}.section-body{max-width:1000px}.section-body>.empty-state{border-top:1px solid var(--line);margin-top:30px;padding-top:75px}.shipment-list{margin-top:22px;border-top:1px solid var(--line)}.shipment-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.shipment-row strong{font-size:14px;font-weight:500}.shipment-row p{font-size:12px;color:var(--muted);margin-top:4px}.shipment-status{font-size:12px;color:var(--muted);white-space:nowrap}.settings-form{max-width:480px;padding-top:8px}.settings-form .button{margin-top:24px}.settings-hint{font-size:12px;color:var(--muted);margin-top:14px}#toast{position:fixed;bottom:25px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,15px);max-width:calc(100% - 32px);background:var(--ink);color:var(--paper);border-radius:8px;padding:11px 16px;font-size:13px;z-index:80;opacity:0;pointer-events:none;transition:opacity .2s,transform .25s var(--ease)}#toast.visible{opacity:1;transform:translate(-50%,0)}.auth-mode #toast{left:50%}.spinner{width:14px;height:14px;display:inline-block;border:2px solid #f9f9f750;border-top-color:var(--paper);border-radius:50%;animation:spin .7s linear infinite}
@keyframes dialog-in{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}@keyframes dialog-out{to{opacity:0;transform:translateY(4px) scale(.98)}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes backdrop-out{to{opacity:0}}@keyframes popover-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.app-main{padding-left:116px;padding-right:80px}.home-layout{grid-template-columns:minmax(0,760px) 180px;gap:84px}}
@media(max-width:1370px){.app-main{padding-left:60px;padding-right:40px}.home-layout{column-gap:45px;grid-template-columns:minmax(0,1fr) 165px}}
@media(max-width:1120px){:root{--sidebar:240px}.app-main{padding:56px 36px}.home-layout{grid-template-columns:minmax(0,1fr)}.shortcuts{grid-row:2;display:flex;align-items:center;gap:23px;margin-top:33px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}.shortcuts h2{width:100%;margin:0 0 -15px}.week-section{margin-top:40px}}
@media(max-width:760px){:root{--sidebar:269px}.app-main{margin-left:0;padding:33px 22px 50px;min-height:calc(100svh - 57px)}.mobile-header{height:57px;display:flex;align-items:center;gap:12px;padding:0 17px;border-bottom:1px solid var(--line);background:var(--paper)}.mobile-header img{width:22px;height:22px;flex:none}.mobile-header strong{font-size:14px;font-weight:550;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-header .icon-button{width:34px;height:34px}.sidebar{transform:translateX(-100%);transition:transform 280ms var(--ease);z-index:40;border-radius:0}.nav-open{overflow:hidden}.nav-open .sidebar{transform:none}.nav-backdrop{display:block;position:fixed;inset:0;background:#0f0f0d35;z-index:35;border-radius:0;opacity:0;pointer-events:none;transition:opacity .2s}.nav-open .nav-backdrop{opacity:1;pointer-events:auto}.nav-open .sidebar{box-shadow:8px 0 32px #0f0f0d15}.page-heading{font-size:25px}.week-section{margin-top:33px}.week-heading{flex-wrap:wrap;gap:4px 8px;margin-bottom:17px}.week-heading h2{font-size:16px}.week-range{font-size:12px}.week-heading .button{margin-left:auto;font-size:0;padding:6px 8px}.week-heading .button .icon{width:16px;height:16px}.week-legend{gap:8px 13px;font-size:10px;margin-top:13px}.week-legend .status-dot{width:8px;height:8px}.shortcuts{gap:16px;margin-top:29px}.shortcut{font-size:13px;gap:7px}.shortcuts h2{font-size:12px}.account-popover{z-index:60}input,select,textarea{font-size:16px;min-height:43px}.input-wrap>.icon{top:14px}.input-wrap .reveal-password{top:7px;opacity:1}.auth-page{padding:58px 22px}.auth-layout{transform:translateY(-15px)}.auth-card{padding:28px 25px}.auth-mark{margin-bottom:26px}.auth-help{font-size:12px}.form-grid{gap:15px}.dialog-header{padding:20px 20px 0}.dialog-body{padding:17px 20px 22px}.dialog-header h2{font-size:18px}.section-header{align-items:flex-start}.section-header>.button{font-size:12px}.section-body>.empty-state{padding-top:54px}.search-dialog{margin-top:65px}.search-bar input{font-size:16px}.search-caption{display:none}#toast{left:50%;width:max-content;max-width:calc(100% - 30px);bottom:16px}.shipment-row{align-items:flex-start}.form-grid .wide-mobile{grid-column:1/-1}}
@media(max-width:370px){.app-main{padding-left:15px;padding-right:15px}.auth-card{padding-left:20px;padding-right:20px}.shortcuts{gap:10px}.shortcut{font-size:12px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
