/* Viscose v3.21 — simple New customer / New order (big buttons, one thing under the other), missing report, school Finish */
.v321-modal{max-width:560px;}
.v321-ask{font-size:17px;font-weight:600;margin:12px 0 8px;}
.v321-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.v321-type{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;border:2px solid var(--line,#d6e4d6);border-radius:14px;background:var(--card,#fff);text-align:left;cursor:pointer;min-height:86px;}
.v321-type:hover,.v321-type:focus{border-color:var(--accent,#2e7d32);background:var(--accent-soft,#eaf5ea);}
.v321-type .v321-ic{font-size:28px;line-height:1;}
.v321-type b{font-size:16px;} .v321-type small{color:var(--muted,#667);font-size:12px;}
.v321-type:last-child{grid-column:1 / -1;}
.v321-form{display:flex;flex-direction:column;gap:12px;margin-top:10px;}
.v321-f{display:flex;flex-direction:column;gap:4px;}
.v321-f>span{font-size:13px;font-weight:600;color:var(--ink,#1d2b1d);}
.v321-f input,.v321-f select{font-size:16px;min-height:44px;padding:8px 10px;border-radius:10px;}
.v321-multi{display:flex;gap:6px;margin-bottom:6px;} .v321-multi input{flex:1;}
.v321-x{border:0;background:transparent;font-size:18px;color:#b33;width:40px;cursor:pointer;}
.v321-plus{font-size:14px;font-weight:600;color:var(--accent,#2e7d32);text-decoration:none;}
.v321-seg{display:flex;gap:6px;} .v321-seg.v321-wrap{flex-wrap:wrap;}
.v321-seg button,.v321-days button{flex:1;min-height:46px;border:2px solid var(--line,#d6e4d6);border-radius:12px;background:var(--card,#fff);font-size:15px;font-weight:600;cursor:pointer;padding:6px 10px;}
.v321-seg button.on,.v321-days button.on{border-color:var(--accent,#2e7d32);background:var(--accent,#2e7d32);color:#fff;}
.v321-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;} .v321-days button{min-height:42px;padding:0;font-size:13px;}
.v321-box{border:1px solid var(--line,#d6e4d6);border-radius:12px;padding:10px;background:var(--accent-soft,#f2f8f2);display:flex;flex-direction:column;gap:8px;}
.v321-row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;}
.v321-more summary{cursor:pointer;font-weight:600;color:var(--accent,#2e7d32);padding:6px 0;font-size:15px;}
.v321-more[open]{display:flex;flex-direction:column;gap:10px;}
.v321-check{display:flex;align-items:center;gap:8px;font-size:15px;min-height:40px;}
.v321-check input{width:22px;height:22px;}
.v321-big{min-height:52px;font-size:17px;border-radius:14px;width:100%;}
.v321-foot{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:13px;}
.v321-classic{color:var(--muted,#667);font-size:13px;}
.v321-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:10px 0;}
.v321-steps button{border:0;border-bottom:4px solid var(--line,#d6e4d6);background:transparent;padding:8px 2px;font-size:13px;cursor:pointer;color:var(--muted,#667);}
.v321-steps button b{display:inline-block;width:22px;height:22px;border-radius:50%;background:var(--line,#d6e4d6);color:#fff;line-height:22px;font-size:12px;}
.v321-steps button.on{border-color:var(--accent,#2e7d32);color:var(--ink,#1d2b1d);font-weight:700;} .v321-steps button.on b,.v321-steps button.done b{background:var(--accent,#2e7d32);}
.v321-body{display:flex;flex-direction:column;gap:12px;}
.v321-items{display:flex;flex-direction:column;gap:6px;}
.v321-it{display:grid;grid-template-columns:1fr 44px 64px 44px;gap:6px;align-items:center;padding:6px 8px;border:1px solid var(--line,#d6e4d6);border-radius:12px;}
.v321-it.on{border-color:var(--accent,#2e7d32);background:var(--accent-soft,#eaf5ea);}
.v321-it span{font-size:15px;font-weight:600;}
.v321-it button{height:44px;border-radius:10px;border:1px solid var(--line,#ccd);background:var(--card,#fff);font-size:22px;cursor:pointer;}
.v321-it input{height:44px;text-align:center;font-size:17px;padding:0;}
.v321-same{align-self:flex-start;}
.v321-quick{display:flex;gap:6px;align-items:center;flex-wrap:wrap;} .v321-quick button{min-height:38px;border-radius:10px;border:1px solid var(--line,#ccd);background:var(--card,#fff);padding:0 12px;cursor:pointer;}
.v321-asap{color:#b71c1c;font-weight:700;}
.v321-nav{display:flex;gap:8px;margin-top:12px;} .v321-nav .btn{flex:1;}
.v321-clist{display:flex;flex-direction:column;gap:6px;max-height:46vh;overflow:auto;}
.v321-cust{text-align:left;padding:10px;border:1px solid var(--line,#d6e4d6);border-radius:12px;background:var(--card,#fff);cursor:pointer;display:flex;flex-direction:column;}
.v321-cust small{color:var(--muted,#667);}
.v321-rc{border:2px dashed var(--line,#c9dcc9);border-radius:14px;padding:12px;background:#fffdf6;}
.v321-rc-h{display:flex;flex-direction:column;margin-bottom:8px;} .v321-rc-h small{color:var(--muted,#667);}
.v321-rt{width:100%;border-collapse:collapse;font-size:15px;} .v321-rt th{text-align:left;font-size:12px;color:var(--muted,#667);border-bottom:1px solid var(--line,#ddd);padding:4px;}
.v321-rt td{padding:6px 4px;border-bottom:1px dotted var(--line,#ddd);} .v321-rt td:nth-child(n+2),.v321-rt th:nth-child(n+2){text-align:right;}
.v321-rt input{width:76px;text-align:right;min-height:36px;font-size:15px;}
.v321-rt tfoot td{font-size:18px;border:0;padding-top:10px;}
.v321-papers{margin-top:8px;}
/* missing report */
.v321-mbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0 10px;}
.v321-mcard{border:1px solid #f0c4c4;background:#fff8f8;border-radius:12px;padding:10px 12px;margin-bottom:10px;}
.v321-mcard.dis{opacity:.55;background:var(--card,#fff);border-color:var(--line,#ddd);}
.v321-mh{display:flex;flex-direction:column;} .v321-mh small{color:var(--muted,#667);}
.v321-mc{display:flex;gap:12px;flex-wrap:wrap;font-size:14px;margin:6px 0;}
.v321-mt{border-collapse:collapse;width:100%;max-width:520px;font-size:14px;margin:6px 0;} .v321-mt th,.v321-mt td{padding:4px 8px;border-bottom:1px solid #eee;text-align:right;} .v321-mt th:first-child,.v321-mt td:first-child{text-align:left;}
.v321-mt tr.short td{color:#b71c1c;font-weight:600;}
.v321-ma{display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
/* reports */
.v321-rp h3 small{font-weight:400;color:var(--muted,#667);font-size:12px;margin-left:6px;}
.v321-ks{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0;} .v321-k{border:1px solid var(--line,#ddd);border-radius:12px;padding:10px;text-align:center;} .v321-k b{display:block;font-size:24px;} .v321-k small{color:var(--muted,#667);}
.v321-iq{display:flex;flex-wrap:wrap;gap:6px;} .v321-iq span{background:var(--accent-soft,#eaf5ea);border-radius:999px;padding:3px 10px;font-size:13px;}
@media (max-width:520px){ .v321-ks{grid-template-columns:repeat(2,1fr);} .v321-row3{grid-template-columns:1fr 1fr;} .v321-row3 label:last-child{grid-column:1 / -1;} }
/* school */
.v321-sch{display:flex;flex-direction:column;gap:12px;}
.v321-bags{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;max-height:40vh;overflow:auto;}
.v321-bag{border:2px solid var(--line,#d6e4d6);border-radius:12px;background:var(--card,#fff);padding:10px 6px;display:flex;flex-direction:column;align-items:center;cursor:pointer;min-height:60px;}
.v321-bag b{font-size:18px;} .v321-bag small{font-size:11px;color:var(--muted,#667);}
.v321-bag.on{border-color:var(--accent,#2e7d32);background:var(--accent,#2e7d32);color:#fff;} .v321-bag.on small{color:#eef;}

/* ===== v3.21 build 321.2: #5 Nothing to pick up · #6 TODAY home · #8 Simple menu · #10 QR bag link ===== */
.v321-nothing-btn{display:block;width:100%;min-height:64px;margin:10px 0 6px;padding:16px 12px;font-size:19px;font-weight:800;border-radius:14px;border:0;background:#c2410c;color:#fff;cursor:pointer;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.ticket.v321-nothing{border-left-color:#16a34a!important}
.v321-nothing-btn:active{transform:scale(.98)}
.v321-nothing-done{margin:8px 0;padding:12px;border-radius:12px;background:#ecfdf5;border:2px solid #16a34a;color:#14532d;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.v321-nothing-done b{font-size:17px}.v321-nd-sub{flex-basis:100%;font-size:13px;opacity:.85}
.v321-nothing-done .fail-undo{margin-left:auto}
.v321-nothing-photo{display:block;text-align:center;margin:12px 0;padding:22px 12px;font-size:20px;font-weight:800;border-radius:14px;background:#0f766e;color:#fff;cursor:pointer}
.v321-nothing-prev img{display:block;max-width:100%;max-height:220px;margin:0 auto 10px;border-radius:10px}
.v321-nothing-send{display:block;width:100%;padding:16px;font-size:18px;font-weight:800;border:0;border-radius:14px;background:#16a34a;color:#fff;cursor:pointer}
.v321-nothing-send:disabled{background:#cbd5e1;color:#475569;cursor:not-allowed}
.v321-ib-photo img{display:block;margin-top:6px;max-width:160px;max-height:120px;border-radius:8px;border:1px solid #ddd}
#main.v321t-on > :not(.v321t){display:none!important}
.v321t-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.v321t-h1{margin:0;font-family:var(--serif);font-size:31px;font-weight:600;letter-spacing:-.015em;line-height:1.15}
@media (max-width:700px){.v321t-h1{font-size:26px}}.v321t-day{font-size:.6em;font-weight:500;opacity:.7;margin-left:6px}
.v321t-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}
.v321t-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:150px;padding:14px 8px;border-radius:18px;border:2px solid #d1e7dd;background:#fff;cursor:pointer;color:inherit;font:inherit;box-shadow:0 2px 6px rgba(0,0,0,.05)}
.v321t-box:hover{border-color:#16a34a}
.v321t-box.on{border-color:#15803d;background:#f0fdf4;box-shadow:0 0 0 3px rgba(22,163,74,.25)}
.v321t-ic{font-size:30px}.v321t-n{font-size:46px;font-weight:800;line-height:1}.v321t-l{font-size:17px;font-weight:700}
.v321t-deliver .v321t-n{color:#1d4ed8}.v321t-pickup .v321t-n{color:#0e7490}.v321t-late .v321t-n{color:#64748b}.v321t-late.bad .v321t-n{color:#dc2626}.v321t-late.bad{border-color:#fecaca}.v321t-unpaid .v321t-n{color:#b45309}
.v321t-list h2 small{font-weight:500;opacity:.6}
.v321t-back{margin-right:8px}
@media (max-width:700px){.v321t-grid{grid-template-columns:1fr 1fr;gap:10px}.v321t-box{min-height:120px}.v321t-n{font-size:40px}.v321t-full{width:100%}}
.v321-showall{display:block;width:100%;margin:12px 0 4px;padding:12px;border-radius:12px;border:1px dashed #94a3b8;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left}
.v321-showall small{opacity:.6;font-weight:500;margin-left:4px}
.v321-bagopen{margin-top:10px}.v321-bagopen .btn{width:100%}
.v321-bagline{font-size:18px;margin:6px 0}
/* the 📷 Scan bag button sat under the 💬 Chat button on the phone (both bottom-right) → Scan bag goes bottom-left */
.v35-scanfab{right:auto;left:14px}
