:root{font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif;color:#0f172a;background:#eef2ff;--mobile-shell-max-width: 430px;--mobile-nav-height: 72px;--touch-target-primary-min: 44px;--touch-target-secondary-min: 40px;--page-lead-max-lines: 2;--sticky-safe-offset: 8px;--sticky-safe-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--sticky-safe-offset))}*{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100%}body{background:radial-gradient(circle at 10% -10%,#dbeafe,#f8fafc 32%),linear-gradient(180deg,#f8fafc,#e2e8f0)}#root{min-height:100vh;display:flex;justify-content:center;align-items:stretch}.mobile-shell{width:100%;height:100vh;min-height:100vh;margin:0 auto;background:#fff;display:flex;flex-direction:column;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0}@supports (height: 100dvh){.mobile-shell{height:100dvh;min-height:100dvh}}.mobile-header{padding:10px 12px;border-bottom:1px solid #e2e8f0;background:#fff;position:sticky;top:0;z-index:10}.mobile-header h1{margin:0;font-size:18px;line-height:1.3}.mobile-header-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-header-title-wrap{min-width:0;display:flex;align-items:center;gap:8px}.mobile-header-title-wrap h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-header-actions{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}.mobile-header-actor-chip{max-width:112px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #dbeafe;border-radius:999px;background:#f8fbff;color:#475569;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-main{flex:1;min-height:0;padding:10px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:12px;padding-bottom:calc(var(--mobile-nav-height) + var(--touch-target-primary-min) + env(safe-area-inset-bottom))}.page-frame{display:flex;flex-direction:column;gap:8px}.page-frame h2{margin:0;font-size:18px}.page-frame h3{margin:2px 0;font-size:15px}.page-frame p{margin:0;line-height:1.5;font-size:14px}.page-top-compact{display:grid;gap:4px}.page-top-compact-line{margin:0;font-size:14px;color:#334155;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--page-lead-max-lines);white-space:normal;overflow:hidden;text-overflow:ellipsis;max-height:calc(1.4em * var(--page-lead-max-lines));word-break:break-word}.page-top-compact-meta{min-width:0;color:#475569;font-size:12px;line-height:1.35}.muted{color:#475569;font-size:13px}.status-inline{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.time-meta{color:#475569;font-size:12px;line-height:1.4}.card-grid{display:grid;grid-template-columns:1fr;gap:10px}.data-card{border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;padding:12px;display:flex;flex-direction:column;gap:8px}.data-card strong{font-size:18px}.data-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.list-stack{display:flex;flex-direction:column;gap:8px}.list-card{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff}.list-card.is-active{border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 1px #60a5fa2e}.section-card{border:1px solid #dbeafe;border-radius:16px;background:#fff;padding:14px;display:grid;gap:12px}.procurement-page{gap:12px}.procurement-workspace{display:grid;gap:12px}.procurement-hero{border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#fff 58%,#f8fbff);padding:14px;display:grid;gap:12px}.procurement-hero-copy{display:grid;gap:6px}.procurement-hero-copy h3{margin:0;font-size:18px;color:#0f172a}.procurement-hero-copy p{margin:0;font-size:13px;line-height:1.45;color:#475569}.procurement-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.procurement-metric-card{border:1px solid #dbeafe;border-radius:14px;background:#ffffffe6;padding:10px 12px;display:grid;gap:4px}.procurement-metric-card.tone-warn{border-color:#fde68a;background:#fffdf1}.procurement-metric-card.tone-ok{border-color:#bbf7d0;background:#f0fdf4}.procurement-metric-card.tone-active{border-color:#93c5fd;background:#eff6ff}.procurement-metric-label{font-size:12px;color:#64748b}.procurement-metric-value{font-size:18px;line-height:1.15;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.procurement-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.procurement-tab-btn{min-height:var(--touch-target-secondary-min);border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc;color:#334155;padding:8px 12px;display:grid;gap:2px;justify-items:start;text-align:left}.procurement-tab-btn.is-active{background:#dbeafe;border-color:#60a5fa;color:#1d4ed8;box-shadow:0 6px 18px #60a5fa24}.procurement-tab-count{font-size:11px;color:#64748b}.procurement-tab-btn.is-active .procurement-tab-count{color:#1d4ed8}.procurement-panel{gap:14px}.procurement-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.procurement-panel-head h3{margin:0;font-size:18px;color:#0f172a}.procurement-panel-lead{margin:4px 0 0;font-size:13px;line-height:1.45;color:#475569}.procurement-subpanel{border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:12px;display:grid;gap:10px}.procurement-subpanel--accent{border-color:#bfdbfe;background:linear-gradient(180deg,#f8fbff,#fff)}.procurement-subpanel-head{display:grid;gap:4px}.procurement-subpanel-head h4{margin:0;font-size:14px;color:#0f172a}.procurement-subpanel-head p{margin:0;font-size:12px;line-height:1.45;color:#64748b}.procurement-form-grid,.procurement-line-grid{display:grid;gap:10px}.procurement-form-grid label,.procurement-line-grid label{display:grid;gap:6px;font-size:13px;color:#334155}.procurement-upload-control{display:grid}.procurement-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.procurement-disclosure{border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden}.procurement-disclosure summary{cursor:pointer;padding:12px;list-style:none;font-size:14px;font-weight:700;color:#0f172a}.procurement-disclosure summary::-webkit-details-marker{display:none}.procurement-disclosure-body{display:grid;gap:10px;padding:0 12px 12px}.procurement-record-list{display:grid;gap:10px}.procurement-record-card{align-items:stretch;flex-direction:column;padding:12px}.procurement-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.procurement-record-copy{display:grid;gap:4px;min-width:0}.procurement-record-metric{font-size:16px;font-weight:700;color:#0f172a;white-space:nowrap}.procurement-record-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.procurement-record-actions{display:flex;flex-wrap:wrap;gap:8px}.procurement-empty{border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;padding:14px;display:grid;gap:6px}.procurement-editor{gap:12px}.procurement-editor--focused{border-color:#93c5fd;background:linear-gradient(180deg,#f8fbff,#fff)}.procurement-editor-topbar{display:grid;gap:10px}.procurement-editor-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.procurement-editor-title h3{margin:0}.procurement-summary-card{border:1px solid #dbeafe;border-radius:14px;background:#fff;padding:12px;display:grid;gap:10px}.procurement-summary-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.procurement-summary-head strong,.procurement-summary-head span{font-size:16px;color:#0f172a}.procurement-summary-grid{display:grid;gap:10px}.procurement-summary-grid>div{display:grid;gap:4px}.procurement-summary-grid span{font-size:12px;color:#64748b}.procurement-summary-grid strong{font-size:14px;color:#0f172a;word-break:break-word}.procurement-line-list{display:grid;gap:10px}.procurement-line-card{gap:10px}.procurement-action-panel{width:100%;display:grid;gap:10px;padding:12px;border:1px solid #dbeafe;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff);position:static}.procurement-action-panel .btn{width:100%}.procurement-action-panel--split{grid-template-columns:1fr}.procurement-inline-actions{display:flex;flex-wrap:wrap;gap:8px}.transfer-highlight-card{border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff,#f8fbff)}.doc-detail-summary{gap:6px}.doc-detail-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.doc-detail-summary-head strong{min-width:0;word-break:break-word}.doc-detail-meta{display:flex;flex-wrap:wrap;gap:8px 12px}.doc-lines-section{gap:8px}.doc-lines-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.doc-lines-head h3{margin:0}.doc-line-item{align-items:flex-start}.doc-line-main{min-width:0;display:grid;gap:3px}.doc-line-main strong{font-size:16px;line-height:1.35;word-break:break-word}.doc-action-fields{gap:6px}.do-history-toolbar{gap:10px}.do-history-toolbar-actions{flex-wrap:wrap}.do-history-advanced{border-top:1px dashed #cbd5e1;padding-top:8px}.do-history-card{align-items:flex-start}.do-history-entry-card{gap:10px}.do-queue-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.do-queue-search{display:grid;gap:6px}.do-queue-card.is-active{border-color:#60a5fa;background:#eff6ff}.do-queue-collapsed{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.do-empty-search{gap:10px}.do-current-workbench{border-color:#93c5fd;background:#eff6ff;border-left:4px solid #2563eb;padding-left:10px}.do-current-workbench-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.do-current-workbench-meta{display:grid;gap:4px}.do-line-card{border:1px solid #dbeafe;border-radius:14px;background:#fff;padding:10px;display:grid;gap:6px}.do-workspace{gap:8px}.do-doc-inline-summary{padding:8px 10px;gap:6px}.do-lines-list{display:grid;gap:8px}.do-line-top-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.do-line-item-info{gap:3px}.do-line-item-info strong{font-size:14px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.do-line-number{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:24px;padding:0 8px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:11px;font-weight:700;white-space:nowrap}.do-line-metric-label{color:#64748b;font-size:11px;line-height:1.2;font-weight:700}.do-line-remaining-pill{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 8px;border-radius:999px;background:#f8fbff;border:1px solid #dbeafe;color:#1e293b;white-space:nowrap}.do-line-remaining-pill strong{font-size:13px;line-height:1}.do-line-meta-row{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}.do-line-meta-row .muted{font-size:12px;line-height:1.2}.do-line-ship-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.do-line-ship-caption{color:#334155;font-size:12px;font-weight:700;white-space:nowrap}.do-line-controls{width:min(100%,232px);min-width:0;justify-self:end;grid-template-columns:auto minmax(76px,1fr) auto auto;gap:6px}.do-line-qty-input{width:100%;min-width:0;max-width:none}.receive-quick-hint{font-size:13px;color:#334155;background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;padding:8px 10px}.receive-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.receive-page-compact{gap:8px}.receive-section-head h3{margin:0}.receive-toolbar{gap:6px;padding:8px 10px}.receive-history-entry-card{gap:6px}.receive-toolbar label{display:grid;gap:6px}.receive-toolbar-meta{display:grid;gap:2px}.receive-summary-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px dashed #cbd5e1;padding-top:6px}.receive-summary-inline strong{font-size:13px;color:#0f172a}.receive-doc-inline-summary{border-color:#93c5fd;background:#eff6ff;gap:4px;padding:8px 10px}.receive-workspace{gap:6px}.receive-doc-compact-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.receive-doc-compact-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.do-inline-back-btn{min-height:var(--touch-target-secondary-min);padding:0 12px;border-radius:999px;background:#f8fafc;border:1px solid #cbd5e1;color:#334155}.receive-lines-head-row h3{margin:0}.receive-lines-compact-grid{border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;overflow:hidden}.receive-grid-header{display:grid;grid-template-columns:minmax(0,1.5fr) auto auto;gap:8px;align-items:center;padding:8px 10px;font-size:12px;font-weight:700;color:#334155;background:#eff6ff;border-bottom:1px solid #dbeafe}.receive-grid-body{max-height:min(56vh,430px);overflow-y:auto}.receive-grid-row{display:grid;grid-template-columns:minmax(0,1.5fr) auto auto;gap:8px;align-items:center;padding:8px 10px;background:#fff;border-top:1px solid #e2e8f0}.receive-grid-row:first-child{border-top:none}.receive-grid-row.is-changed{background:#fff5f5}.receive-grid-item-info{min-width:0;display:grid;gap:2px}.receive-grid-item-info strong{font-size:14px;line-height:1.2;color:#0f172a;word-break:break-word;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.receive-grid-item-info .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receive-grid-item-shipped{font-size:13px;color:#334155;white-space:nowrap}.receive-grid-item-controls{display:inline-grid;grid-template-columns:auto minmax(70px,88px) auto auto;align-items:center;gap:6px;justify-self:end}.receive-grid-item-controls input{text-align:center;min-height:var(--touch-target-secondary-min);padding:0 8px}.receive-qty-btn{min-width:var(--touch-target-secondary-min);min-height:var(--touch-target-secondary-min);padding:0}.receive-changed-flag{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border:1px solid #fca5a5;border-radius:999px;font-size:11px;font-weight:700;color:#b91c1c;background:#fff1f2}.receive-grid-item-reason{grid-column:1 / -1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;padding-top:2px}.receive-grid-item-reason label{font-size:12px;color:#334155}.receive-grid-item-reason input,.receive-grid-item-reason select{min-height:var(--touch-target-secondary-min);padding:0 10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.form-stack{display:grid;grid-template-columns:1fr;gap:10px}.form-stack label{display:grid;gap:6px;font-size:13px;color:#334155}.procurement-form-grid .span-2,.procurement-line-grid .span-2{grid-column:1 / -1}.ship-qty-field{display:grid;gap:6px}.qty-inline-control{display:inline-grid;grid-template-columns:auto minmax(84px,112px) auto auto;align-items:center;gap:8px;width:min(100%,360px);max-width:100%}.qty-inline-input{width:100px;min-width:84px;max-width:112px;text-align:center;padding:8px 10px}.qty-step-btn{min-width:var(--touch-target-secondary-min);padding:0}.draft-lines-section{display:grid;gap:8px;padding-bottom:12px}.draft-lines-list{display:grid;gap:8px}.draft-line-card{border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;padding:10px;display:grid;gap:8px}.draft-line-title{font-size:13px;color:#0f172a}.doc-image-preview{width:100%;border-radius:12px;border:1px solid #cbd5e1;background:#f8fafc;object-fit:cover}.draft-line-edit-row{display:grid;grid-template-columns:auto minmax(80px,1fr) auto auto auto;gap:8px;align-items:center}.draft-line-qty{text-align:center}.autocomplete-field{display:grid;gap:6px}.autocomplete-panel{border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0f172a14;padding:8px;display:grid;gap:6px;overflow:hidden}.autocomplete-panel-title{font-size:12px}.autocomplete-list{display:grid;gap:6px;max-height:min(48vh,320px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:2px}.autocomplete-option{border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:#1e293b;min-height:40px;text-align:left;padding:8px 10px;font-size:13px}.autocomplete-option.is-active{border-color:#60a5fa;background:#dbeafe;color:#1e40af}.autocomplete-empty{border:1px dashed #cbd5e1;border-radius:8px;padding:8px 10px;font-size:12px}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;min-height:var(--touch-target-secondary-min);font-size:14px;font-family:inherit;background:#fff}textarea{resize:vertical;min-height:74px}input:focus,select:focus,textarea:focus{outline:2px solid #bfdbfe;border-color:#93c5fd}.step-hint{margin:0;padding-left:20px;color:#334155;font-size:13px;display:grid;gap:4px}.pill-row{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.pill-btn{min-height:var(--touch-target-secondary-min);border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155;font-size:12px;padding:0 12px}.quick-account-row .pill-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.pill-btn.is-active{background:#dbeafe;border-color:#60a5fa;color:#1d4ed8}.language-switcher{display:grid;gap:6px}.language-switcher.is-compact{min-width:0}.language-switcher.is-compact .pill-row{flex-wrap:nowrap;gap:4px}.language-switcher.is-compact .pill-btn{min-height:var(--touch-target-secondary-min);min-width:var(--touch-target-secondary-min);padding:0 7px;font-size:10px;white-space:nowrap;text-align:center}.mobile-header-actions .btn.btn-small{min-height:var(--touch-target-secondary-min);padding:0 8px;white-space:nowrap}@media (min-width: 380px){.procurement-form-grid,.procurement-line-grid,.procurement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-action-panel--split{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:stretch}.procurement-editor-topbar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}}@media (max-width: 360px){.mobile-header-actor-chip{display:none}.procurement-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-tabs{grid-template-columns:1fr}}.sticky-action-panel{position:sticky;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--sticky-safe-offset));z-index:6;display:grid;gap:8px;padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;box-shadow:0 6px 18px #0f172a14;margin-top:6px}.sticky-action-panel--replenish{position:static;bottom:auto;z-index:auto;margin-top:12px;margin-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 6px)}.sticky-action-panel--static{position:static;bottom:auto;z-index:auto;margin-top:12px;margin-bottom:0}.quantity-review-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:56;display:flex;justify-content:center;align-items:flex-end}.quantity-review-open .mobile-nav{pointer-events:none}.quantity-review-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a70}.quantity-review-sheet{position:relative;width:min(100%,var(--mobile-shell-max-width));max-height:min(78vh,640px);display:grid;gap:10px;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -18px 48px #0f172a38;overflow:hidden}.quantity-review-sheet-handle{width:44px;height:4px;border-radius:999px;background:#cbd5e1;justify-self:center}.quantity-review-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.quantity-review-sheet-head h3{margin:0;font-size:16px}.quantity-review-sheet-context{margin:4px 0 0;color:#334155;font-size:13px;line-height:1.4}.quantity-review-sheet-summary{margin:0}.quantity-review-sheet-section{display:grid;gap:8px;min-height:0}.quantity-review-sheet-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.quantity-review-sheet-list{display:grid;gap:8px;overflow-y:auto;padding-right:2px}.quantity-review-sheet-item{display:grid;gap:8px;padding:10px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}.quantity-review-sheet-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.quantity-review-sheet-item-head strong{font-size:14px;line-height:1.35}.quantity-review-sheet-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quantity-review-sheet-metric,.quantity-review-sheet-reason{display:grid;gap:3px}.quantity-review-sheet-metric strong,.quantity-review-sheet-reason strong{font-size:15px;line-height:1.3}.quantity-review-sheet-metric-label{color:#64748b;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.quantity-review-sheet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quantity-review-sheet-actions .btn{width:100%}.btn{min-height:var(--touch-target-primary-min);border-radius:11px;border:1px solid transparent;font-size:14px;padding:0 14px}.btn:disabled{opacity:.55}.btn-primary{background:#2563eb;color:#fff}.btn-secondary{background:#e2e8f0;color:#1e293b}.btn-danger{background:#dc2626;color:#fff}.btn-small{min-height:var(--touch-target-secondary-min);font-size:12px;padding:0 10px}.mobile-back-icon-btn{width:var(--touch-target-secondary-min);min-width:var(--touch-target-secondary-min);height:var(--touch-target-secondary-min);border-radius:10px;border:1px solid #cbd5e1;background:#f8fafc;color:#1e293b;display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}.mobile-back-icon-btn:focus{outline:2px solid #bfdbfe;border-color:#93c5fd}.inline-actions{display:flex;gap:8px}.nav-badge{position:absolute;top:6px;right:8px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:10px;line-height:18px;text-align:center}.link-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--touch-target-primary-min);border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1d4ed8;padding:0 12px;text-decoration:none;font-size:13px}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid #cbd5e1;background:#f8fafc;color:#334155}.status-ok{background:#dcfce7;border-color:#86efac;color:#166534}.status-warn{background:#fef9c3;border-color:#fde047;color:#854d0e}.status-danger{background:#fee2e2;border-color:#fca5a5;color:#991b1b}.error-block{border:1px solid #fecaca;border-radius:12px;background:#fff1f2;padding:10px 12px;display:grid;gap:8px}.error-title{color:#991b1b;font-weight:700;font-size:13px}.error-action{color:#7f1d1d;font-size:13px}.success-toast{border:1px solid #86efac;border-radius:10px;background:#dcfce7;color:#166534;padding:8px 12px;font-size:13px}.mobile-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(var(--mobile-shell-max-width),100vw);z-index:40;display:grid;grid-template-columns:repeat(var(--mobile-nav-count, 5),minmax(0,1fr));gap:8px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dbeafe;border-left:1px solid #dbeafe;border-right:1px solid #dbeafe;background:#fff}.nav-btn{position:relative;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;font-size:11px;color:#334155;padding:0 4px}.nav-btn.is-active{background:#dbeafe;border-color:#60a5fa;color:#1e40af}.offline-banner{background:#f59e0b;color:#111827;padding:8px 12px;font-size:12px}.offline-banner-warning{background:#fde68a;color:#78350f}.auth-page{width:100%;max-width:430px;margin:0 auto;padding:24px 16px;display:flex;flex-direction:column;gap:10px;justify-content:flex-start;align-items:stretch}.auth-page h1{margin:0;font-size:20px}.auth-page p{margin:0;color:#475569;font-size:14px}@media (max-width: 430px){.mobile-shell,.mobile-nav{border-left:none;border-right:none}}@media (max-width: 360px){.mobile-header-actor-chip{display:none}.quantity-review-sheet{max-height:84vh}.quantity-review-sheet-metrics,.quantity-review-sheet-actions{grid-template-columns:1fr}.receive-grid-header{display:none}.receive-grid-row{grid-template-columns:1fr;gap:6px}.receive-grid-item-controls{justify-self:start;grid-template-columns:auto minmax(84px,1fr) auto auto}.receive-grid-item-controls>.muted{grid-column:1 / -1}.receive-grid-item-reason{grid-template-columns:1fr}.qty-inline-control{width:100%;grid-template-columns:auto minmax(0,1fr) auto;gap:6px}.qty-inline-control>.muted{grid-column:1 / -1}.qty-inline-input{width:100%;min-width:0;max-width:none}.doc-line-item{flex-direction:column;align-items:flex-start}}@media (max-width: 430px){.do-line-number,.do-line-remaining-pill{align-self:flex-start}.do-line-ship-row{grid-template-columns:auto minmax(0,1fr);align-items:center}.do-line-controls{width:100%;grid-template-columns:auto minmax(0,1fr) auto auto}}
