:root{--ink:#1d2433;--muted:#667085;--line:#e4e7ec;--bg:#f6f7f9;--brand:#14532d;--brand2:#1f7a44;--accent:#f59e0b;--card:#fff;--r:10px}
*{box-sizing:border-box}body{margin:0;font:15px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--brand2)}h1{font-size:1.45rem;margin:.6rem 0 .3rem}h2{font-size:1.05rem;margin:0 0 .7rem}h3{font-size:.95rem;margin:1rem 0 .5rem}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}.narrow{max-width:720px;margin-top:20px}
.preview-bar{background:#fff7e6;color:#8a5a00;border-bottom:1px solid #f5d79e;text-align:center;font-size:12.5px;padding:5px 8px;font-weight:600;letter-spacing:.02em}
.top{background:var(--brand);color:#fff}.top-in{display:flex;align-items:center;gap:18px;min-height:58px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.brand{color:#fff;text-decoration:none;display:flex;flex-direction:column;line-height:1.1}.brand strong{font-size:1.05rem}.brand span{font-size:.8rem;opacity:.8;text-transform:uppercase;letter-spacing:.08em}
.nav{display:flex;gap:4px;flex:1}.nav a{color:#e6f4ea;text-decoration:none;padding:7px 11px;border-radius:7px;font-weight:500}.nav a.on,.nav a:hover{background:rgba(255,255,255,.15);color:#fff}
.switcher{font-size:.85rem}.switcher select{margin-left:6px;padding:5px 6px;border-radius:6px;border:0;font:inherit}
main{padding-bottom:30px}.foot{color:var(--muted);font-size:12px;padding-bottom:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;margin-bottom:16px}
.muted{color:var(--muted)}.small{font-size:.82rem}.num{text-align:right;white-space:nowrap}.nowrap{white-space:nowrap}.pre{white-space:pre-wrap}
.btn{display:inline-block;background:var(--brand2);color:#fff;border:0;border-radius:8px;padding:9px 15px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.btn:hover{background:var(--brand)}.btn.ghost{background:#fff;color:var(--brand2);border:1px solid #b7dcc5}.btn.sm{padding:6px 10px;font-size:.85rem}.btn:disabled{opacity:.6;cursor:default}
label{display:block;font-size:.85rem;font-weight:600;margin-bottom:10px}input,select,textarea{display:block;width:100%;margin-top:4px;padding:9px 10px;border:1px solid #cfd4dc;border-radius:7px;font:inherit;background:#fff}
.grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;align-items:start}.grid2.narrow-right{grid-template-columns:1fr 300px}
.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px}
.alert{background:#fdecec;border:1px solid #f3b4b4;color:#8a1c1c;padding:10px 12px;border-radius:8px;margin-bottom:12px}
.flash{background:#e8f5ec;border:1px solid #b7dcc5;color:#14532d;padding:10px 12px;border-radius:8px;margin:8px 0}
.badge{display:inline-block;font-size:.75rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#eef1f5;color:#344054;white-space:nowrap}
.st-awaiting-artwork{background:#fef3c7;color:#92400e}.st-artwork-received{background:#e0f2fe;color:#075985}.st-started{background:#ede9fe;color:#5b21b6}
.st-in-production{background:#ffedd5;color:#9a3412}.st-completed{background:#dcfce7;color:#166534}.badge.inv{background:#ecfdf3;color:#067647;border:1px solid #abefc6}.badge.new{background:#fee4e2;color:#b42318}
.ch-email{background:#e0eaff;color:#3538cd}.ch-sms{background:#fdf2fa;color:#c11574}
.cards{display:flex;flex-direction:column;gap:10px}.order-row{display:flex;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;margin:0}
.order-row:hover{border-color:#9fd3b3}.or-title{font-weight:700}.or-side{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center;text-align:right}.or-side .small{width:100%}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chip{padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-size:.86rem}
.chip b{color:var(--muted);margin-left:3px}.chip.on{background:var(--brand2);color:#fff;border-color:var(--brand2)}.chip.on b{color:#d1fadf}
.line{display:grid;grid-template-columns:2fr 80px 1.3fr 1fr 28px;gap:10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;background:#fbfcfd}
.line label{margin:0}.l-price{display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:baseline;font-size:.9rem}.tier-tag{grid-column:1/3;color:var(--brand2);font-weight:600}.tier-tag.warn{color:#b42318}
.x{border:0;background:none;font-size:22px;color:#98a2b3;cursor:pointer;line-height:1;padding:0 0 8px}.x:hover{color:#b42318}
.total-bar{display:flex;justify-content:space-between;align-items:center;background:#f0f9f3;border:1px solid #cdebd8;border-radius:8px;padding:10px 14px;margin:12px 0;font-size:1.05rem}
table{border-collapse:collapse;width:100%}th,td{padding:8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
tfoot td{font-weight:600;border-bottom:0}.scroll{overflow-x:auto}.tiers td,.tiers th{text-align:center}.tiers td:first-child,.tiers th:first-child{text-align:left}.tiers td.hit{background:#dcfce7;font-weight:700;color:#166534;border-radius:4px}
.order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.order-head .badge{font-size:.9rem;margin-top:12px}
.crumb{margin:14px 0 0}.notes{background:#f9fafb;border-radius:8px;padding:8px 10px;margin:10px 0 0;font-size:.9rem}
.files{list-style:none;padding:0;margin:0 0 12px}.files li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.files a{font-weight:600;word-break:break-all}
.drop{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px dashed #b7dcc5;border-radius:10px;padding:18px;text-align:center;cursor:pointer;background:#f6fbf8;font-weight:400}
.drop.over{background:#e8f5ec}.drop input{display:none}.ok{color:#067647}.err{color:#b42318}
.timeline{list-style:none;padding:0;margin:0 0 12px}.timeline li{display:flex;gap:12px;position:relative;padding:0 0 14px}
.timeline li:not(:last-child)::before{content:"";position:absolute;left:7px;top:18px;bottom:0;width:2px;background:var(--line)}.timeline li.done::before{background:#86d6a3}
.dot{width:16px;height:16px;border-radius:50%;border:2px solid #cfd4dc;background:#fff;flex:none;margin-top:2px}.done .dot{background:#22a35a;border-color:#22a35a}
.current .dot{background:#fff;border-color:#22a35a;box-shadow:0 0 0 4px #d1fadf}.todo strong{color:#98a2b3}
.status-ctl{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 14px}
.invoice{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fafbfc;flex-wrap:wrap}.invoice.ok{background:#ecfdf3;border-color:#abefc6}
.thread{display:flex;flex-direction:column;gap:10px;max-height:460px;overflow-y:auto;padding:4px 2px 10px}
.msg{max-width:85%}.msg .meta{font-size:.75rem;color:var(--muted);margin:0 4px 2px}.bubble{padding:9px 12px;border-radius:12px;background:#f2f4f7}
.msg.mine{align-self:flex-end}.msg.mine .meta{text-align:right}.msg.mine .bubble{background:#1f7a44;color:#fff;border-bottom-right-radius:3px}.msg.theirs .bubble{border-bottom-left-radius:3px}
.reply{display:flex;gap:8px;align-items:flex-end;border-top:1px solid var(--line);padding-top:12px}.reply textarea{margin:0;flex:1}
.outbox td{font-size:.88rem}.outbox tr.inbound{background:#fffbeb}.outbox tr.supp td{color:#98a2b3}code{background:#f2f4f7;padding:1px 5px;border-radius:4px}
@media (max-width:820px){.grid2,.grid2.narrow-right{grid-template-columns:1fr}.top-in{gap:8px}.nav{order:3;flex-basis:100%}.switcher{margin-left:auto}.order-row{flex-direction:column}.or-side{justify-content:flex-start;text-align:left}
 .reply{flex-direction:column;align-items:stretch}.msg{max-width:92%}h1{font-size:1.25rem}.order-head{flex-direction:column}.order-head .badge{margin-top:0}}
details summary{cursor:pointer;list-style:none}details summary::-webkit-details-marker{display:none}details summary::after{content:" ▸ show email";font-size:.75rem;color:var(--brand2);font-weight:600}details[open] summary::after{content:" ▾ hide"}
.l-price{grid-template-columns:auto 1fr}.line{grid-template-columns:2fr 80px 1.3fr 150px 24px}
@media (max-width:820px){
 .detail{display:flex;flex-direction:column}.detail .col-side{order:-1}
 .line{grid-template-columns:90px 1fr 24px;grid-template-areas:"desc desc x" "qty deco deco" "price price price"}
 .l-desc{grid-area:desc}.l-qty{grid-area:qty}.l-deco{grid-area:deco}.l-price{grid-area:price;grid-template-columns:auto auto auto auto;justify-content:start;gap:0 10px}.x{grid-area:x;justify-self:end;align-self:start;padding:0}
 .tier-tag{grid-column:1/5}
 .preview-bar{font-size:11px;padding:4px}.top-in{min-height:0}.brand strong{font-size:.98rem}.switcher label{font-size:.78rem;display:flex;align-items:center;gap:4px;margin:0}.switcher select{width:auto;margin:0;padding:4px;font-size:.8rem}
 .nav a{padding:6px 9px}
}
/* v2 */
.hidden{display:none}.badge.unconf{background:#fff4e5;color:#b54708;border:1px solid #fedf89}.badge.sample{background:#fef0c7;color:#93370d;border:1px dashed #f79009}.badge.real{background:#ecfdf3;color:#067647}
.warn-note{background:#fffaeb;border:1px solid #fedf89;color:#93370d;padding:6px 10px;border-radius:7px;margin:6px 0 10px}
.line2{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding-right:34px!important;gap:8px 10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;background:#fbfcfd}
.line2 label{margin:0}.line2 .f-desc{grid-column:span 2}.line2 .f-pl{grid-column:span 3}.line2 .l-price{grid-column:1/-1;display:flex;gap:6px 14px;flex-wrap:wrap;align-items:baseline;font-size:.9rem}.line2 .x{position:absolute;top:6px;right:8px;padding:0}
.line2 .tier-tag{flex-basis:100%}.grid td,.grid th{font-size:.82rem;padding:6px}.grid td.hit{background:#dcfce7;font-weight:700;color:#166534}.grid tr.hitrow td:first-child{font-weight:700}
.terms{padding-left:18px;margin:10px 0 0}.terms li{margin:2px 0}.actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.btn.danger{background:#b42318}.btn.danger:hover{background:#912018}
.cancel{margin-top:12px}.cancel summary::after{content:""}.cancel-form{margin-top:8px}.check{display:flex;gap:8px;align-items:center;font-weight:500}.check input{width:auto;margin:0}
.rule{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.rule.is-unconf{background:#fffcf5}.rule-ctl{min-width:170px}.rule-ctl select{margin:0 0 4px}
.pl{color:#5b21b6}.handoff{background:#f9fafb;padding:12px;border-radius:8px;font-size:.88rem;white-space:pre-wrap}.outbox tr.draft{background:#f4f3ff}
.switcher span{font-size:.85rem;margin-right:6px}
@media (max-width:820px){.line2{grid-template-columns:1fr 1fr}.line2 .f-desc{grid-column:1/3}.line2 .f-pl{grid-column:1/3}.line2 .l-price{grid-column:1/3}.rule{flex-direction:column}}
@media (max-width:820px){.line2 .l-price{grid-area:auto;grid-column:1/-1;display:flex}.line2 .x{grid-area:auto}}
form.inline{display:inline;margin:0}form.inline .btn{padding:2px 8px;font-size:.75rem}.consent-box{background:#f8fafc;border:1px solid #e4e7ec;border-radius:8px;padding:10px 12px;margin:8px 0;font-size:.9rem}table.consent td,table.consent th{font-size:.8rem;vertical-align:top}

/* logo dropdown + stitch estimate (Oct 21, 2026) */
select.locked{pointer-events:none;background:#f1f5f9}input[readonly]{background:#f1f5f9}.est-tag{display:block;color:#92400e}.inline-form{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:end;margin:6px 0}.inline-form label{margin:0}.estimate{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}.estimates li,.logos li{margin:6px 0}.logos li.retired{opacity:.65}details.final{margin-top:4px}
.est-tag.hidden{display:none}
input[readonly]{cursor:not-allowed;color:#334155}.st-note{display:block;color:#92400e;font-size:12px}
/* Oct 22, 2026: Other garment description (full-width, big), placement when worn, staged files beside the logo choice */
.line2 .f-gother{grid-column:1/-1}.line2 .f-gother textarea{min-height:9.5em;line-height:1.5;padding:10px 12px;resize:vertical;overflow-y:auto;width:100%;box-sizing:border-box}
.line2 .f-files{grid-column:span 2;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;align-self:end}
.line2 .f-files .files-label{flex-basis:100%;font-size:.85rem;font-weight:600}.line2 .f-files .file-btn{position:relative;overflow:hidden;cursor:pointer;margin:0}
.line2 .f-files .file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.line2 .f-files .draft-list{flex-basis:100%;margin:0;padding-left:18px}
.line2 .f-files .draft-list li .rm{margin-left:6px;background:none;border:0;color:#b42318;cursor:pointer;padding:0}
.line2 .f-addon{grid-column:1/-1}.line2 .f-addon[open]{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 10px;align-items:end}.line2 .f-addon summary{grid-column:1/-1}
.line2 .hidden,.line2 .f-addon .hidden{display:none}
.garment-other{margin:6px 0}.garment-other .gdesc,.names-print .pre{white-space:pre-wrap;line-height:1.5;padding:8px 10px;background:#f6f8fa;border:1px solid var(--line);border-radius:6px;max-width:100%}
.names-print .pre{background:none;border:0;padding:0}
@media (max-width:820px){.line2 .f-files{grid-column:1/-1}.line2 .f-addon[open]{grid-template-columns:1fr 1fr}}
/* Oct 22, 2026: order dates row + lead-time notice; red customer-goods warning (not flashing) */
.dates{border:1px solid var(--line);border-radius:8px;padding:8px 12px 4px;margin:8px 0 12px}.dates legend{font-weight:600;padding:0 4px}
.date-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 12px;align-items:end}.date-row label{margin:0}
.date-row input.locked{background:#eef1f4;color:#475467}
.lead-notice{margin:8px 0 4px;padding:6px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1e3a8a}
.goods-warning{display:flex;gap:12px;align-items:flex-start;margin:4px 0 14px;padding:12px 14px;background:#fef2f2;border:2px solid #b91c1c;border-left-width:8px;border-radius:8px;color:#7f1d1d}
.goods-warning .gw-icon{font-size:1.6rem;line-height:1;color:#b91c1c}.goods-warning strong{display:block;font-size:1.02rem;color:#991b1b;margin-bottom:2px}.goods-warning p{margin:0;line-height:1.45}
@media (max-width:820px){.date-row{grid-template-columns:1fr}}
.order-dates{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center;margin:6px 0 10px}.order-dates .dropoff-form{margin:0}

/* Oct 22, 2026 7:05 AM (Lee): Garment type | Placement when worn | Logo | Upload files on one row; stacked on mobile */
.line2 .l-top{grid-column:1/-1;display:flex;gap:8px 10px;align-items:flex-end}
.line2 .l-top>label{flex:1 1 0;min-width:0;margin:0}.line2 .l-top .f-files{flex:0 0 auto;grid-column:auto;align-self:flex-end}
.line2 .l-top .f-files .file-btn{min-height:38px;display:inline-flex;align-items:center}
.line2>.draft-list{grid-column:1/-1;margin:0;padding-left:18px}.line2>.draft-list:empty{display:none}
.line2>.draft-list li .rm{margin-left:6px;background:none;border:0;color:#b42318;cursor:pointer;padding:0}
.line2 .f-pwother{grid-column:1/-1;max-width:420px}
@media (max-width:820px){.line2 .l-top{flex-direction:column;align-items:stretch}.line2 .l-top .f-files{align-self:flex-start}}
/* Oct 22, 2026 8:12 AM (Lee): line dropdowns always open downward, overlaid; the field keeps a fixed size */
select.cs-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;margin:0;padding:0;border:0}
.line2 label{position:relative}
.cs-btn{display:flex;align-items:center;width:100%;height:40px;margin-top:4px;padding:0 30px 0 10px;border:1px solid #cfd4dc;border-radius:7px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23334155' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 10px center;font:inherit;color:inherit;text-align:left;cursor:pointer;box-sizing:border-box;overflow:hidden}
.cs-btn .cs-val{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-btn.cs-empty .cs-val{color:#64748b}.cs-btn:focus-visible,.cs-btn.cs-open{outline:2px solid #15803d;outline-offset:1px}
.cs-btn.cs-invalid{border-color:#b91c1c}.cs-btn:disabled{background-color:#f1f5f9;cursor:not-allowed}
.cs-list{position:absolute;z-index:10000;margin:0;padding:4px 0;list-style:none;background:#fff;border:1px solid #cfd4dc;border-radius:7px;box-shadow:0 8px 24px rgba(15,23,42,.18);max-height:280px;overflow-y:auto;max-width:min(420px,calc(100vw - 16px));box-sizing:border-box}
.cs-list li{padding:8px 12px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-list li.cs-active{background:#dcfce7}.cs-list li[aria-selected=true]{font-weight:700}
@media (pointer:coarse){.cs-list li{padding:12px 14px}}

/* Oct 22, 2026 8:29-8:30 AM (Lee): Garment type | Placement when worn | Qty; Logo + Upload files (2 columns) | Logo name;
   Logo size | Stitch count | Thread colors; Sew-out. Article removed. Stacked on small screens. */

.line2 .f-logo{grid-column:span 2;display:flex;gap:8px 10px;align-items:flex-end;min-width:0}
.line2 .f-logo .f-design{flex:1 1 auto;min-width:0;margin:0}.line2 .f-logo .f-files{flex:0 0 auto;align-self:flex-end}
.line2 .f-logo .file-btn{min-height:40px;display:inline-flex;align-items:center;position:relative;overflow:hidden;cursor:pointer;margin:0}
.line2 .f-logo .file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}
@media (max-width:820px){.line2{grid-template-columns:1fr 1fr}.line2 .f-logo{grid-column:1/-1}}
@media (max-width:560px){.line2{grid-template-columns:1fr}.line2 .f-logo{flex-direction:column;align-items:stretch}.line2 .f-logo .f-files{align-self:flex-start}}

/* Oct 22, 2026 8:36 AM (Lee): Additional embroidery as its own light sub-panel, same 3-column grid as the rows above */
.line2 .f-addon{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 12px}
.line2 .f-addon summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-weight:600;gap:10px}
.line2 .f-addon summary::after{content:none}
.line2 .f-addon .ad-toggle::before{content:"+ Add"}.line2 .f-addon[open] .ad-toggle::before{content:"Hide"}
.line2 .f-addon .ad-toggle{pointer-events:none;margin:0}
.line2 .f-addon[open]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;align-items:end;padding-bottom:12px}
.line2 .f-addon[open] summary{grid-column:1/-1;border-bottom:1px solid var(--line);margin:0 -12px 2px;padding:0 12px}
.line2 .f-addon label{margin:0;white-space:nowrap;min-width:0}
.line2 .f-addon .f-aother{grid-column:1/-1;max-width:420px}
.line2 .f-addon .f-anames{grid-column:1/-1;white-space:normal}
.line2 .f-addon .f-anames textarea{min-height:calc(4 * 1.5em + 20px);max-height:calc(12 * 1.5em + 20px);line-height:1.5;resize:vertical;field-sizing:content}
.line2 .f-addon .addon-count{display:block;text-align:right;color:#64748b;margin-top:4px;font-weight:400}.line2 .f-addon .addon-count.warn{color:#b42318;font-weight:600}
.line2 input:not([type=file]):not([type=hidden]),.line2 .cs-btn{height:40px;box-sizing:border-box}
@media (max-width:820px){.line2 .f-addon[open]{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.line2 .f-addon[open]{grid-template-columns:1fr}.line2 .f-addon label{white-space:normal}}

/* Oct 22, 2026 8:37 AM (Lee: "a large area of white space"): wider form column, sticky price sheet, no field alone in a row */
.order-grid{grid-template-columns:1.75fr 1fr}
.order-grid>aside{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto}
.line2{gap:6px 10px;padding-top:8px;padding-bottom:8px}
.line2 .f-pwother,.line2 .f-addon .f-aother{grid-column:1/-1;max-width:none}
.line2 .f-pw.hidden+.f-qty{grid-column:span 2}
.line2 .f-addon[open]{display:block}
.line2 .f-addon .ad-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;align-items:end;padding:8px 0 10px}
.line2 .f-addon .ad-body .f-aplace.hidden+.f-anote{grid-column:span 2}
.line2 .f-addon summary{min-height:40px}.line2 .f-addon[open] summary{margin:0 -10px;padding:0 10px}.line2 .f-addon{padding:0 10px}
.line2 .f-sew~.l-price{grid-column:span 2;align-self:end}
@media (max-width:820px){.order-grid{grid-template-columns:1fr}.order-grid>aside{position:static;max-height:none}.line2 .f-addon .ad-body{grid-template-columns:1fr 1fr}.line2 .f-sew~.l-price{grid-column:1/-1}}
@media (max-width:560px){.line2 .f-addon .ad-body{grid-template-columns:1fr}.line2 .f-pw.hidden+.f-qty,.line2 .f-addon .ad-body .f-aplace.hidden+.f-anote{grid-column:auto}}
.order-grid>aside .grid td,.order-grid>aside .grid th{font-size:.74rem;padding:5px 3px}.order-grid>aside .scroll,.order-grid>aside table{max-width:100%}
.line2 .f-sew~.l-price{column-gap:10px}

/* outbox: HTML email part (Oct 22, 2026) */
.mail-parts{margin-top:6px}
.mail-part-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;margin:8px 0 4px}
.mail-html{width:100%;min-width:0;max-width:100%;height:400px;border:1px solid #d9dee5;border-radius:6px;background:#fff}
/* Oct 22, 2026 (Lee): per-item shade, alternating light grey (odd) / dark grey (even), with "Item N" header */
#lines{counter-reset:item}
#lines>.line2{counter-increment:item;background:#f3f4f6;border:1px solid #d1d5db;border-left:5px solid #9ca3af}
#lines>.line2:nth-child(even){background:#d1d5db;border-color:#9ca3af;border-left-color:#4b5563}
#lines>.line2::before{content:"Item " counter(item);grid-column:1/-1;font-weight:700;font-size:.9rem;color:#111827}
#items table.lines tbody{counter-reset:item}
#items table.lines tbody tr{counter-increment:item}
#items table.lines tbody tr td{background:#f3f4f6;border-top:2px solid #d1d5db}
#items table.lines tbody tr:nth-child(even) td{background:#d1d5db;border-top-color:#9ca3af}
#items table.lines tbody tr td:first-child{border-left:5px solid #9ca3af}
#items table.lines tbody tr:nth-child(even) td:first-child{border-left-color:#4b5563}
#items table.lines tbody tr td:first-child::before{content:"Item " counter(item);display:block;font-weight:700;font-size:.8rem;color:#111827;margin-bottom:2px}
/* Oct 22, 2026 pre-launch: small grey detail text darker on dark-grey (even) items so it stays readable */
#items table.lines tbody tr:nth-child(even) td .muted,#lines>.line2:nth-child(even) .muted{color:#374151}
