:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#173247;background:#f3f6fa;font-size:16px;line-height:1.5;--ink:#102e43;--amber:#ffbf47;--muted:#65788b;--line:#dce5ed}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #1681b9;outline-offset:3px}header{background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:22px max(22px,calc((100vw - 800px)/2));gap:12px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700}.brandmark{display:grid;place-items:center;background:var(--amber);color:var(--ink);width:42px;height:42px;border-radius:10px;font-size:30px}.brand small{display:block;font-size:13px;font-weight:400;color:#c7d5e2;margin-top:2px}.pilot{border:1px solid #486273;border-radius:30px;padding:4px 10px;white-space:nowrap;font-size:13px}main{max-width:800px;margin:auto;padding:0 20px 30px}nav{display:flex;gap:8px;margin:20px 0 28px;padding:5px;background:#e3ebf1;border-radius:12px}.tab{flex:1;background:none;padding:12px 6px;border-radius:8px;color:#50697c;font-size:15px;font-weight:600}.tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 6px #17324712}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}h1{font-size:28px;letter-spacing:-.8px;line-height:1.3;margin:5px 0 0}.eyebrow{font-size:14px;color:var(--muted)}.count{background:#e6edf4;color:#365169;border-radius:30px;padding:7px 15px;font-size:14px}.project{display:flex;align-items:center;gap:12px;background:#eaf0f5;border:1px solid #d8e2ea;border-radius:12px;padding:16px;margin-bottom:18px}.project-icon{font-size:26px}.project small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.bound{margin-left:auto;color:#4c677e;font-size:12px;white-space:nowrap}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;margin-bottom:16px;box-shadow:0 3px 12px #12354c03}.request-info{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-size:14px;font-weight:600;color:#304b60}label span{font-weight:400;color:var(--muted)}input,select,textarea{display:block;width:100%;min-height:48px;background:#fff;border:1px solid #ccd9e3;border-radius:9px;color:#173247;padding:11px 12px;margin-top:7px;outline:none}input:focus,textarea:focus,select:focus{border-color:#1681b9;box-shadow:0 0 0 3px #1681b915}input::placeholder,textarea::placeholder{color:#8c9aa7;font-size:15px;font-weight:400}textarea{resize:vertical}.voice-note{font-size:13px;color:var(--muted);margin:0 2px 16px}.item-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5;padding-bottom:13px;margin-bottom:17px}.item-top strong{font-size:16px}.item-number{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--ink);color:white;margin-right:9px;font-size:14px}.remove{background:none;color:#9c5050;font-size:14px;padding:5px 8px}.fields{display:grid;grid-template-columns:2fr 1fr;gap:15px}.wide{grid-column:1/-1}.quantity-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-button{display:inline-flex;align-items:center;gap:7px;margin:16px 0 0;padding:10px 14px;border:1px dashed #aec2d2;border-radius:9px;color:#42657c;font-size:14px;font-weight:500;cursor:pointer;background:#f8fafc}.photo-button input{display:none}.photos{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.photo{position:relative}.photo img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.photo button{position:absolute;right:-5px;top:-7px;background:#173247;color:#fff;width:24px;height:24px;border-radius:50%}.item-details{margin-top:14px;color:#667e91;font-size:14px}.item-details summary{cursor:pointer}.add-item{width:100%;padding:15px;background:#e8eff5;color:#27485f;border:1px dashed #aebfcd;border-radius:12px;font-weight:600;margin:2px 0 20px}.whole-notes{margin-bottom:20px}.footer-action{background:#f3f6faf0;backdrop-filter:blur(12px);position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.footer-action span{font-size:12px;color:var(--muted)}.primary{background:var(--amber);color:var(--ink);font-weight:700;border-radius:10px;padding:14px 22px;min-height:50px;box-shadow:0 3px 0 #e1a22b;white-space:nowrap}.secondary{background:#e7eef4;color:#34576f;padding:11px 16px;border-radius:9px;font-weight:600;font-size:14px;min-height:44px}.install-tip{font-size:12px;line-height:1.8;color:#7f909e;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.empty{text-align:center;padding:45px 18px;background:#fff;border:1px dashed #c8d6e1;border-radius:14px;color:var(--muted)}.empty strong{display:block;color:var(--ink);font-size:18px;margin-bottom:8px}.notice{border:1px solid #efd58d;background:#fff8e4;color:#755c2a;font-size:14px;border-radius:10px;padding:14px;margin-bottom:17px}.purchase-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.purchase-toolbar select{width:160px;margin:0}.sheet-link{font-size:14px;color:#2273a0;text-decoration:none}.order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.order-head h2{font-size:18px;margin:0 0 5px}.meta{font-size:13px;color:var(--muted)}.badge{font-size:13px;background:#e8f0f5;color:#355d76;border-radius:6px;padding:5px 10px;white-space:nowrap}.badge.ordered{background:#e2f3e9;color:#236744}.summary-item{padding:13px 0;border-top:1px solid #e7edf2}.summary-item strong{font-size:16px}.summary-item p{font-size:14px;color:#60788a;margin:4px 0}.purchase-item{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.purchase-item h3{font-size:17px;margin:0 0 5px}.purchase-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.purchase-item details{margin-top:12px}.purchase-item summary{font-size:14px;color:var(--muted);cursor:pointer}.order-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:20px}.order-actions .primary{font-size:14px}.order-actions select{width:130px;margin:0;min-height:44px}.total{font-size:14px;margin-top:15px;color:#415e72}.error{border:1px solid #f1c4c4;background:#fff2f2;color:#984444;border-radius:10px;padding:18px}#toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);padding:14px 22px;color:#fff;background:#15354bee;border-radius:10px;box-shadow:0 5px 25px #0002;max-width:90%;z-index:20;display:none;font-size:14px}#successView{text-align:center;padding:40px 0}#successView p{color:var(--muted);font-size:15px}#successView button{margin:16px 5px}.success-icon{display:grid;place-items:center;font-size:40px;color:#1e7052;background:#dcf2e5;width:80px;height:80px;border-radius:50%;margin:0 auto 24px}[hidden]{display:none!important}@media(max-width:540px){header{padding:18px 18px}.brand{font-size:18px}.brand small{font-size:12px}main{padding:0 14px 24px}nav{margin:16px 0 22px}.tab{font-size:14px}h1{font-size:25px}.card{padding:16px}.request-info{gap:12px}.bound{display:none}.fields{grid-template-columns:1fr 1fr}.fields>label:first-child{grid-column:1/-1}.fields>.quantity-grid{grid-column:1/-1}.footer-action{flex-direction:column;gap:10px;align-items:stretch}.footer-action span{text-align:center}.primary{width:100%}.order-actions .primary{width:auto;flex:1}.purchase-fields{grid-template-columns:1fr 1fr}.purchase-fields .code-field{grid-column:1/-1}.project small{font-size:11px}.voice-note{font-size:12px}.sheet-link{font-size:13px}}
.auth-panel{max-width:480px;margin:34px auto}.auth-panel form label,.auth-panel form button,#projectForm label,#projectForm button{margin-top:17px}.auth-tabs{display:flex;gap:10px;margin-bottom:20px}.auth-tabs button{flex:1}.auth-tabs .selected{background:#102e43;color:#fff}.account-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 0;background:#e6eef4;padding:13px 16px;border-radius:11px}.account-bar strong{font-size:15px}.account-bar small{display:block;color:#5e7485;font-size:12px;margin-top:3px}.account-bar button{font-size:13px;white-space:nowrap}.project-choice{flex:1;min-width:0}.project-choice select{margin:0;min-height:42px}.user-id{font-family:ui-monospace,SFMono-Regular,monospace;font-size:13px;color:#5d7689}.user-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.assignment-box{border:1px solid #d4dfe7;border-radius:10px;padding:12px;margin:15px 0}.assignment-box legend{font-size:14px;color:#304b60;padding:0 6px}.assignment-option{display:flex;align-items:center;gap:10px;padding:8px 2px;font-weight:400;font-size:14px}.assignment-option input{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:#102e43}.user-actions{display:flex;gap:10px;align-items:center;margin-top:16px}.password-reset{margin-top:14px}.password-reset summary{font-size:14px;color:#5e7485;cursor:pointer}.form-title{font-size:20px;margin:0 0 12px}.project-list-card h2{font-size:18px;margin:0 0 6px}.project-list-card p{margin:5px 0;font-size:14px;color:#5e7485}.purchase-toolbar{flex-wrap:wrap}.purchase-toolbar select{max-width:100%;flex:1;min-width:130px}.request-info input[readonly]{background:#f3f6f9;color:#405e73}nav{flex-wrap:wrap}.tab{min-width:90px}.project-po{display:inline-block;margin-top:8px}.user-actions .primary{font-size:14px}.auth-panel .primary{width:100%}#successView button{margin-left:0;margin-right:0}@media(max-width:540px){.auth-panel{margin-top:26px}.user-fields{gap:12px}.account-bar{padding:12px}.tab{font-size:13px;padding:11px 5px;min-width:82px}.brand{font-size:17px}.account-bar small{font-size:11px}}
.header-actions{display:flex;align-items:center;gap:12px}.language-picker{color:#dae5ed;font-size:12px;font-weight:400}.language-picker>span{color:#dae5ed;display:block}.language-picker select{min-height:36px;margin-top:3px;padding:5px 9px;width:108px;background:#203f55;border-color:#4e687b;color:#fff;font-size:14px}.header-actions .pilot{align-self:center}@media(max-width:540px){header{gap:8px;padding:16px 14px}.header-actions{gap:0}.header-actions .pilot{display:none}.brand small{font-size:11px}.brandmark{width:34px;height:34px;flex-shrink:0}.brand{gap:8px;font-size:16px}.language-picker select{width:96px;font-size:13px}.language-picker{font-size:11px}}
/* Compact request entry and readable summaries for multi-item orders. */
.project-label{font-size:12px;color:var(--muted);margin-bottom:5px}.item-toggle{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:0;background:transparent;color:var(--ink);text-align:left}.item-toggle .item-number{flex-shrink:0;margin:0}.item-heading{flex:1;min-width:0}.item-heading strong{display:block;overflow-wrap:anywhere}.item-heading small{display:block;font-size:12px;line-height:1.4;font-weight:400;color:var(--muted);overflow-wrap:anywhere}.item-heading small:empty{display:none}.item-chevron{font-size:22px;transition:transform .15s}.item-toggle[aria-expanded="true"] .item-chevron{transform:rotate(180deg)}.item-top{gap:8px}.item-card:has(.item-body[hidden]) .item-top{border-bottom:0;margin-bottom:0;padding-bottom:0}.remove{min-width:44px;min-height:44px}.request-notes{margin-bottom:18px}.request-notes>summary{cursor:pointer;font-weight:600;font-size:14px;min-height:44px;padding:10px 2px;color:#304b60}.request-notes .whole-notes{margin:4px 0 0}.request-notes .whole-notes>span{display:none}.photo-button{min-height:44px}.photo button{width:32px;height:32px}.tab{min-height:44px}.item-body{padding-top:2px}
@media(max-width:540px){
 header{padding:10px 14px}.brand small,.language-picker>span{display:none}.language-picker select{margin:0;min-height:44px}.brandmark{width:30px;height:30px;font-size:23px}.brand{font-size:15px}.account-bar{margin-top:12px;padding:8px 12px}.account-bar small{font-size:10px}.account-bar button{min-height:44px;padding:8px 10px;background:transparent}.account-bar strong{font-size:14px}.account-bar>div{min-width:0}.account-bar strong,.account-bar small{overflow-wrap:anywhere}
 #workspace>nav{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:4px;margin:12px 0 18px;scrollbar-width:none}#workspace>nav::-webkit-scrollbar{display:none}.tab{flex:1 0 auto;min-width:78px;padding:10px 12px;font-size:13px}h1{font-size:24px}.heading{margin-bottom:14px}.heading .eyebrow{display:none}.count{padding:5px 10px}.project{padding:12px;margin-bottom:12px;gap:10px}.project-label{margin-bottom:3px}.project-choice select{min-height:48px}.project-icon{font-size:22px}.project small{margin-top:5px}.request-info{grid-template-columns:1fr;padding:12px 14px;margin-bottom:14px}.request-info>label:first-child{display:none}.voice-note{display:none}
 .item-card{padding:12px 14px;margin-bottom:12px;border-radius:12px}.item-top{padding-bottom:10px;margin-bottom:12px}.item-top strong{font-size:15px}.fields{gap:12px}.fields label{font-size:13px}.fields input,.fields select,.fields textarea{margin-top:5px}.photo-button{margin-top:12px;padding:9px 12px;background:#f2f6fa;border-style:solid;font-size:13px}.photo-hint{display:none}.item-details{margin-top:8px}.item-details summary{padding:9px 0;min-height:44px}.photos:empty{display:none}.add-item{margin-bottom:10px;padding:13px;background:#fff}.footer-action{flex-direction:row;align-items:center;gap:12px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));z-index:5}.footer-action>span{flex:0 1 105px;text-align:left;font-size:11px;line-height:1.4}.footer-action .primary{flex:1;padding:13px 12px;min-height:50px;font-size:15px}.install-tip{margin-top:16px;padding-top:12px;font-size:11px}.purchase-fields{grid-template-columns:1fr}.purchase-toolbar select{min-height:48px}.order-actions{gap:8px}.order-actions select{width:100%}.order-actions .primary,.order-actions .secondary{width:100%;flex:auto}.user-fields{grid-template-columns:1fr}.notice{padding:12px;font-size:12px}.auth-panel{margin:22px auto}.auth-panel .heading p{font-size:13px}.auth-panel h1{font-size:26px}.auth-panel .card{padding:18px}.auth-tabs{margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){.item-chevron{transition:none}}
.receipt-help{margin:-4px 0 18px}.receipt-item{padding:18px 0;border-top:1px solid var(--line)}.receipt-item:last-child{padding-bottom:0}.receipt-item-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.receipt-item h3{font-size:17px;margin:0;overflow-wrap:anywhere}.receipt-item p{margin:6px 0}.receipt-progress{display:flex;gap:12px;align-items:center;margin:12px 0 8px}.receipt-progress progress{width:90px;height:8px;accent-color:#287a58}.receipt-progress span{font-size:13px}.receipt-remaining{font-size:14px;font-weight:600}.receipt-actions{display:flex;align-items:flex-start;gap:12px;margin-top:12px}.receipt-actions .primary{font-size:14px;padding:11px 16px;min-height:44px;box-shadow:none}.partial-receipt{flex:1;min-width:0}.partial-receipt summary{cursor:pointer;font-size:14px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;min-height:44px;background:#f8fafc}.receipt-form{margin-top:12px}.receipt-form button{margin-top:10px;width:100%}.receipt-item .photos{margin:8px 0}.receiving-order .order-head{margin-bottom:10px}@media(max-width:540px){.receipt-item-heading{flex-direction:column;gap:6px}.receipt-item-heading .badge{font-size:12px}.receipt-actions{flex-direction:column;gap:8px}.partial-receipt{width:100%}.receipt-actions .primary{width:100%}.receipt-progress{flex-wrap:wrap}.receipt-progress progress{width:80px}.receipt-help{font-size:12px}#workspace>nav .tab{min-width:70px;padding:10px}.receipt-item{padding-top:16px}.receiving-order{padding:16px}}
.iphone-install{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0;padding:10px 12px;border:1px solid #d8e4eb;border-radius:11px;background:#fff;font-size:12px;color:var(--muted)}.iphone-install button{font-size:12px;white-space:nowrap;padding:9px 12px}.install-help-button{min-height:44px;padding:8px 0;background:transparent;color:#2273a0;font-size:13px;font-weight:600}.install-tip details summary{cursor:pointer;min-height:44px;padding:10px 0}.install-dialog{width:calc(100% - 32px);max-width:440px;border:0;border-radius:18px;padding:24px;color:var(--ink);box-shadow:0 16px 80px #0003}.install-dialog::backdrop{background:#102e4370}.install-dialog h2{font-size:22px;margin:6px 32px 20px 0}.install-dialog ol{padding-left:22px}.install-dialog li{padding:7px 0;font-size:15px}.install-dialog .primary{width:100%;margin-top:10px}.dialog-close{position:absolute;top:10px;right:10px;min-height:44px;min-width:44px;background:transparent;font-size:28px;color:#60788a}
#recoveryForm label,#recoveryForm button{margin-top:17px}#recoveryForm .primary{width:100%}.recovery-verify{display:block;text-decoration:none;text-align:center;font-size:15px}
.order-head>div{min-width:0;flex:1}.order-head h2,.order-head .meta,.user-id{overflow-wrap:anywhere}
