:root{--green:#2d784a;--dark:#21482e;--light:#e9f5e9;--soft:#f5f8f5;--ink:#17261b;--muted:#6a786e;--border:#e1e8e1;--warning:#aa5a14;--error:#ae4242;--white:#fff;font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--ink);background:#f6f8f6}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:13px 20px;position:sticky;top:0;z-index:3}.brand{display:flex;align-items:center;gap:11px}.brandmark{width:42px;height:42px;border-radius:14px;background:#e5f3df;color:var(--green);font-size:32px;display:grid;place-items:center}.brandname{font:700 21px Georgia,serif;letter-spacing:-.6px;color:#234e31}.brand-badge{font:700 10px system-ui;letter-spacing:1px;background:var(--green);color:white;border-radius:5px;padding:3px 5px;vertical-align:middle}.brandsub{font-size:11px;color:var(--muted);margin-top:3px}.avatar{border:1px solid var(--border);background:var(--soft);width:40px;height:40px;border-radius:13px;font-size:22px;color:var(--dark)}#view{width:min(1020px,100%);margin:auto;padding:21px 18px 105px;min-height:calc(100vh - 148px)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);display:flex;justify-content:center;padding:7px max(env(safe-area-inset-right),12px) calc(7px + env(safe-area-inset-bottom));z-index:5;box-shadow:0 -5px 18px #18321a08}.bottom-nav button{width:min(150px,20%);border:0;background:transparent;color:#7d8a80;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 2px;font-size:11px;font-weight:600}.bottom-nav button span{font-size:24px;line-height:24px}.bottom-nav button.selected{color:var(--green)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:19px}.eyebrow{font-size:11px;color:var(--green);font-weight:700;letter-spacing:1px;margin-bottom:7px}.page-heading h1{font-size:25px;letter-spacing:-1px;margin:0 0 7px}.subheading{font-size:12px;color:var(--muted)}.mode{font-size:11px;padding:6px 9px;border-radius:999px;background:#f0f3f0;color:#606e62;white-space:nowrap}.mode.cloud{background:#e6f3e6;color:var(--green)}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:17px 0 21px}.summary.two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{background:white;border:1px solid var(--border);border-radius:16px;padding:14px;min-height:106px;box-shadow:0 4px 14px #1f402805}.metric-icon{color:var(--green);font-size:22px}.metric-label{font-size:12px;color:var(--muted);margin:9px 0 2px}.metric-value{font-size:25px;letter-spacing:-.5px;font-weight:800}.metric-value small{font-size:12px;font-weight:400;margin-left:3px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 12px}.section-header h2{font-size:17px;letter-spacing:-.5px;margin:0}.actiontext{border:0;background:none;color:var(--green);font-size:12px;font-weight:700;padding:5px}.card,.panel{background:white;border:1px solid var(--border);border-radius:16px;box-shadow:0 5px 17px #1c412607}.panel{padding:15px}.rowcard{display:flex;align-items:center;gap:12px;padding:15px;min-height:79px;border-bottom:1px solid #edf0ed}.rowcard:last-child{border-bottom:0}.rowmain{flex:1;min-width:0}.rowtitle{font-size:14px;font-weight:750;line-height:1.5}.rowsub{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.6}.itemicon{width:43px;height:43px;background:#f0f6ea;border-radius:12px;display:grid;place-items:center;font-size:25px;flex-shrink:0}.badge{display:inline-block;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap;color:var(--green);background:#e7f5e3}.badge.warn{background:#fff0de;color:#a76216}.badge.red{background:#ffedec;color:#b34949}.badge.gray{background:#edf0ed;color:#68766b}.stockcount{text-align:right;font-size:17px;font-weight:800;white-space:nowrap}.stockcount small{font-size:11px;font-weight:400;color:var(--muted)}.button,.btn-sm{border:none;border-radius:12px;background:var(--green);color:white;font-weight:700;padding:12px 14px}.button.secondary,.btn-sm.secondary{background:#eaf4e8;color:var(--green)}.button.outline,.btn-sm.outline{background:white;color:var(--dark);border:1px solid var(--border)}.button.danger{background:#b44946}.button.full{width:100%}.btn-sm{font-size:12px;padding:8px 10px;border-radius:9px}.actions{display:flex;gap:8px;flex-wrap:wrap}.toolrow{display:flex;gap:8px;align-items:center;margin:14px 0;flex-wrap:wrap}.search{flex:1;min-width:150px}.field,select,textarea,input[type=text],input[type=number],input[type=email],input[type=password],input[type=date]{width:100%;min-width:0;border-radius:11px;border:1px solid #dce5dc;padding:12px;background:white;outline:none;color:var(--ink)}.field:focus,select:focus,textarea:focus,input:focus{border-color:#6ba87b;box-shadow:0 0 0 3px #94c99a28}.select-filter{width:auto;max-width:160px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.formgrid .wide{grid-column:1/-1}label.fieldlabel{display:block;font-size:12px;color:#506450;margin:7px 0 5px;font-weight:650}.hint{font-size:11px;color:var(--muted);line-height:1.7}.alert{padding:12px 14px;background:#fff4e6;color:#8b561e;border:1px solid #f6dbb8;border-radius:12px;font-size:12px;line-height:1.7}.note{background:#eff6ee;border:1px solid #d8ead4;color:#33583b;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.7}.empty{padding:42px 15px;text-align:center;color:var(--muted);font-size:13px}.empty span{font-size:32px;display:block;margin-bottom:11px}.timeline{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:12px 0}.step{padding:7px 9px;border-radius:9px;font-size:11px;background:#edf0ed;color:#829085}.step.done{background:#e5f4e1;color:#287143}.step.active{background:#2d784a;color:white}.overlay{position:fixed;inset:0;background:#111c1670;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{width:min(640px,100%);max-height:92vh;background:#fff;border-radius:22px 22px 0 0;display:flex;flex-direction:column;box-shadow:0 0 36px #0e261321}.sheet-top{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 10px;border-bottom:1px solid var(--border)}.sheet-top h2{margin:0;font-size:18px}.iconbtn{border:0;background:#f0f3f0;border-radius:50%;font-size:22px;width:35px;height:35px;color:#465b4a}#sheetBody{overflow:auto;padding:14px 19px 25px}.divider{height:1px;background:var(--border);margin:15px 0}.entry{background:var(--soft);border-radius:10px;padding:11px 12px;margin-bottom:7px}.entryline{font-size:12px;color:var(--muted);margin-top:5px}.chipgroup{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:12px;border-radius:10px;border:1px solid var(--border);background:white;padding:8px 10px;color:#55685a}.chip.on{background:#e6f4e3;color:var(--green);border-color:#b7d9b4}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:90vw;min-width:230px;text-align:center;background:#233c2a;color:white;border-radius:12px;padding:12px 16px;z-index:20;box-shadow:0 7px 30px #182b1b55;font-size:12px}.network-banner{padding:10px 16px;background:#fff2da;color:#925d19;text-align:center;font-size:12px}.mini{font-size:11px;color:var(--muted)}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:9px}.statrow{display:flex;justify-content:space-between;border-bottom:1px solid #edf0ed;padding:10px 0;gap:10px}.statrow:last-child{border:0}.audit-text{font-size:12px;color:#536357;line-height:1.6}.wide-desktop{display:grid;grid-template-columns:1fr 1fr;gap:16px}.split-tabs{display:flex;gap:7px;margin-bottom:12px}.split-tabs button{border:1px solid #dce8d9;border-radius:12px;padding:11px 15px;background:#fff;color:#536358;font-weight:700}.split-tabs button.selected{background:#e2f2df;color:var(--green);border-color:#a8cfa1}.loginbox{max-width:430px;margin:40px auto}.checkline{display:flex;align-items:center;gap:8px;font-size:12px}.checkline input{width:auto}.big-date{font-size:12px;color:#7b8c80}.bottomhint{text-align:center;color:#9ca99d;font-size:11px;padding:20px}.permission{display:grid;grid-template-columns:1fr 90px;align-items:center;gap:10px;margin:7px 0}.permission input{width:20px;height:20px;justify-self:center}.toggle{border:1px solid var(--border);padding:8px;border-radius:8px;background:white}.smalllink{background:none;border:0;color:var(--green);font-weight:650;text-decoration:underline}.order-items{display:flex;gap:7px;align-items:center;margin:7px 0}.order-items input{flex:1}.order-items .qty{max-width:80px}.order-items .remove{width:33px;height:38px;border:0;border-radius:8px;background:#faeeee;color:#a33;font-size:18px}.inline-number{display:flex;align-items:center;gap:5px}.inline-number input{max-width:90px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.table th,.table td{padding:10px;text-align:left;border-bottom:1px solid var(--border)}.table th{background:var(--soft);color:var(--muted)}@media(max-width:640px){.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-desktop{grid-template-columns:1fr}.page-heading h1{font-size:23px}.toolrow .search{width:100%;flex:auto}.topbar{padding:12px 16px;height:70px}.brandname{font-size:19px}#view{padding:18px 13px 105px}.stockcount{font-size:16px}.rowcard{padding:13px 11px}.sheet{max-height:94vh}.sheet-top{padding:15px 16px 9px}#sheetBody{padding:13px 15px 25px}}@media(min-width:900px){.bottom-nav{width:72px;top:75px;bottom:0;left:0;right:auto;flex-direction:column;justify-content:flex-start;align-items:stretch;border-top:0;border-right:1px solid var(--border);padding-top:19px}.bottom-nav button{width:72px;margin-bottom:18px;font-size:11px}#view{padding-left:90px;width:min(1100px,100%)}}

/* v1.1 searchable order and sales analytics */
.filter-panel{margin:15px 0}.filter-panel .search{width:100%;min-width:0;border-radius:11px;border:1px solid #dce5dc;padding:12px;background:white}.filter-panel .fieldlabel{margin:0 0 9px}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px}.filter-grid label,.filter-date{font-size:12px;font-weight:650;color:#516451;display:flex;flex-direction:column;gap:6px}.filter-grid select,.filter-grid input,.filter-date input{width:100%}.period-controls{margin-top:12px}.period-tabs{display:flex;flex-wrap:wrap;gap:6px}.period-pill{border:1px solid #d7e5d4;background:#fff;color:#48634d;border-radius:12px;padding:9px 12px;font-weight:650;font-size:12px}.period-pill.active{background:#2d784a;color:white;border-color:#2d784a}.filter-date{margin-top:10px}.suggest-title{font-size:12px;color:#365a3d;font-weight:750;margin-top:16px;margin-bottom:8px}.suggest-title small{font-size:10px;font-weight:400;color:#77897b}.suggestion-chips{display:flex;flex-wrap:wrap;gap:7px}.suggest-chip{border:1px solid #cbdcc9;background:#f3f8ef;border-radius:99px;padding:8px 10px;color:#2e5d39;font-size:12px}.suggest-chip b{display:inline-grid;place-items:center;background:white;border-radius:50%;width:17px;height:17px;font-size:10px}.suggest-chip small{color:#7a8e7e;margin-left:3px}.section-header.compact{margin:0 0 14px}.bar-list{display:flex;flex-direction:column;gap:13px}.bar-row{display:grid;grid-template-columns:90px minmax(0,1fr) 50px;align-items:center;gap:9px;font-size:12px}.bar-track{height:13px;background:#edf4eb;border-radius:12px;overflow:hidden}.bar-fill{height:100%;background:#5eaa76;border-radius:12px}.bar-row strong{text-align:right}.sales-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid #edf0ed}.sales-row:last-child{border-bottom:0}.sales-row strong{white-space:nowrap;color:#2d784a}.sales-row .rowsub{margin-top:5px}@media(max-width:420px){.filter-grid{grid-template-columns:1fr}.period-pill{padding:8px 10px}.bar-row{grid-template-columns:72px minmax(0,1fr) 44px}}

.metric-money{font-size:1.25rem;font-weight:800;letter-spacing:-.03em;word-break:keep-all}.sales-finance-row{padding:8px 15px 14px;font-size:.83rem;color:#256041;border-bottom:1px solid #edf1ed;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.suggestion-chips{display:flex;flex-wrap:wrap;gap:7px}.suggest-chip{max-width:100%;overflow-wrap:anywhere;text-align:left}

/* v1.3 packaging and customer price history */
.spec-info{font-weight:700;color:#287447}.order-items{flex-wrap:wrap;align-items:center}.order-items .itemname{min-width:125px;flex:2 1 150px}.order-items .qty{max-width:68px;flex:0 0 68px}.order-items .ordergrade{width:72px;flex:0 0 72px;padding:10px 3px}.order-items .orderunit{width:72px;flex:0 0 72px;padding:10px 3px}.order-items .remove{flex:0 0 33px}.spec-form{border:1px solid #d9e8d7;background:#f6faf4;padding:10px 12px;border-radius:12px}.spec-form .hint{margin:7px 0 0}.sales-row{overflow-wrap:anywhere}.sales-row strong{white-space:normal;text-align:right}

/* v1.5 order flow and quantity visibility */
.timeline.three-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 18px}
.timeline.three-steps .step{padding:11px 4px;text-align:center;font-size:12px;white-space:nowrap}
.shipping-panel{margin:18px 0;padding:16px;border:1px solid #d5e5d6;border-radius:14px;background:#f4faf4}
.shipping-panel h3{margin:0 0 8px;font-size:16px}
.shipping-panel input{width:100%;box-sizing:border-box;margin-bottom:10px}
.order-conversion{line-height:1.55;margin-top:6px;color:#3a6950;overflow-wrap:anywhere}
.qty-primary{white-space:nowrap;font-size:13px}
@media(max-width:370px){.timeline.three-steps .step{font-size:11px}.qty-primary{font-size:12px}}

.metric-link{background:transparent;border:0;padding:0;text-align:left;cursor:pointer;min-width:0}.metric-link .metric{height:100%;border:1px solid #b5d8b8}.metric-link:focus-visible{outline:3px solid #78b686;outline-offset:3px;border-radius:16px}.bottom-nav button{width:min(150px,16.66%)}.bottom-nav button span{font-size:21px}@media(max-width:640px){.bottom-nav button{font-size:10px;letter-spacing:-.3px;padding-left:0;padding-right:0}.bottom-nav button span{font-size:20px}}


/* v1.7 visual renewal - shared operational components remain intact */
:root{--green:#26733d;--dark:#164529;--light:#e7f4e5;--soft:#f6f9f5;--ink:#1d2b23;--border:#e1ebe2;background:#f8faf7}
body{background:#f8faf7;font-size:14px} .topbar{height:67px;background:#fff;box-shadow:0 2px 12px #23492c08;border-bottom:1px solid #e5ede5}.brandmark{background:#eaf5e6;border-radius:50%;font-size:30px;color:#62a856}.brandname{font:750 19px system-ui,-apple-system,'Noto Sans KR',sans-serif;color:#15512b;letter-spacing:-.8px}.brand-badge{font:750 11px system-ui}.brandsub{font-size:10px}.avatar{background:#f4f8f3;border-radius:50%;border:0;font-size:20px}#view{padding:20px 15px 120px;max-width:960px}.bottom-nav{box-shadow:0 -8px 24px #184b290b;gap:2px;padding-top:9px}.bottom-nav button{font-size:10px;flex:1;width:auto;max-width:112px;border-radius:15px;gap:4px;min-width:0}.bottom-nav button span{font-size:23px}.bottom-nav button.selected{background:#eaf5e8;color:#175b30}.page-heading{margin:2px 0 15px}.eyebrow{display:none}.page-heading h1{font-size:24px;color:#1a3422;letter-spacing:-1px;margin-bottom:6px}.subheading{color:#819285;font-size:12px}.mode{background:#eff5ed;font-size:10px}.hero{border-radius:22px;display:flex;position:relative;overflow:hidden;background:linear-gradient(111deg,#fbfdf9 20%,#eaf5e7 100%);min-height:186px;margin:-1px 0 15px;border:1px solid #e8efe7;align-items:center}.hero-copy{position:relative;z-index:1;padding:22px 15px 22px 20px;flex:1}.hero-kicker{font-size:16px;color:#19542e;font-weight:800;margin-bottom:12px}.hero h1{font-size:25px;line-height:1.3;margin:0 0 8px;letter-spacing:-1.1px}.hero p{color:#4b6451;font-size:12px;margin:0}.hero img{width:40%;max-width:190px;height:180px;object-fit:cover;border-radius:50% 0 0 50%;mask-image:linear-gradient(to right,transparent 0%,#000 35%);opacity:.9}.home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 22px}.home-metric{border:1px solid #e0eddd;border-radius:17px;background:linear-gradient(135deg,#f6fbf3,#e8f5e3);padding:15px 5px 13px;min-height:124px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#1d4d2d}.home-metric .metric-symbol{font-size:25px;line-height:30px;font-weight:800}.home-metric span:not(.metric-symbol){font-size:12px;font-weight:700}.home-metric strong{font-size:24px;font-weight:850;color:#163f26}.home-metric small{font-size:13px;font-weight:500}.section-header{margin:24px 0 12px}.section-header h2{font-size:17px;color:#213c2b;font-weight:800}.actiontext{color:#59725d}.tile-list{background:white;border:1px solid #e1eae1;border-radius:17px;overflow:hidden;box-shadow:0 5px 18px #29573308}.order-tile,.stock-tile{width:100%;display:flex;align-items:center;gap:12px;background:white;text-align:left;border:0;border-bottom:1px solid #edf2eb;padding:13px 11px;min-height:100px;color:inherit}.order-tile:last-child,.stock-tile:last-child{border-bottom:0}.order-tile:active,.stock-tile:active{background:#f3f9f1}.flower-thumb{display:grid;place-items:center;flex:none;width:64px;height:64px;background:#e7f2e4;border-radius:13px;overflow:hidden;color:#80b57a;font-size:31px}.flower-thumb img{height:100%;width:100%;object-fit:cover}.thumb-fallback{background:#e7f2e4}.tile-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.tile-body strong{font-size:14px;font-weight:800;color:#1c3324;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile-code,.tile-sub{color:#718377;font-size:11px;line-height:1.45}.tile-code{color:#4e7154}.tile-end{align-self:stretch;display:flex;align-items:flex-end;justify-content:space-between;flex-direction:column;min-width:82px;gap:7px}.tile-arrow{color:#9cad9d;font-size:23px}.badge{padding:6px 9px;background:#e3f3df;color:#27723a;font-size:11px}.badge.warn{background:#fff3de;color:#926012}.badge.gray{background:#eef1ef;color:#6b7b70}.stock-right{display:flex;align-items:flex-end;flex-direction:column;gap:6px;min-width:92px}.stock-right strong{font-size:19px;color:#1e4129}.stock-right small{font-size:11px;font-weight:400}.button{border-radius:13px;box-shadow:0 3px 10px #27582b08}.page-bottom-actions{margin:16px 0;gap:8px}.quick-actions{gap:7px}.quick-actions .button{flex:1;min-width:105px}.search-shell{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dde9dd;border-radius:14px;padding:0 14px;box-shadow:0 3px 14px #224d2706;margin:13px 0 12px;min-height:49px}.search-icon{font-size:25px;color:#4d7860}.search-shell .search{border:none;padding:10px 0;box-shadow:none!important;outline:0;font-size:14px}.redesigned-filter{border:0;background:transparent;padding:0;box-shadow:none}.filter-panel.redesigned-filter{padding:0}.filter-grid{gap:8px}.filter-grid label{font-weight:650}.period-tabs{display:flex;gap:7px;flex-wrap:wrap}.period-pill{border-radius:99px!important;padding:9px 13px!important}.period-pill.active{background:#26733d!important;color:white!important}.split-tabs.updated-split{margin:14px 0;display:grid;grid-template-columns:1fr 1fr;background:#f1f4f0;border-radius:14px;padding:3px}.split-tabs.updated-split button{border:0;border-radius:11px;background:transparent}.split-tabs.updated-split button.selected{background:#26733d;color:white;box-shadow:0 2px 9px #1b4f2930}.flower-strip{display:flex;gap:9px;overflow-x:auto;padding:5px 1px 13px;scroll-snap-type:x mandatory}.flower-strip button{flex:0 0 82px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:11px;font-weight:700;color:#385a3c;background:none;border:0;padding:0;scroll-snap-align:start}.flower-strip .strip-thumb{width:72px;height:72px;border-radius:15px}.spec-banner{background:linear-gradient(100deg,#e9f6e4,#f7fbf5);border:1px solid #d8ead3;border-radius:16px;padding:16px 12px;display:flex;align-items:center;gap:10px;margin:15px 0}.spec-banner>span{font-size:25px;color:#327b44}.spec-banner>div{flex:1;display:flex;flex-direction:column;gap:4px}.spec-banner b{color:#205b32}.spec-banner small{color:#66826b;font-size:10px}.spec-banner button{white-space:nowrap}.panel,.card{border-radius:17px}.panel{padding:16px}.note{border-radius:13px}.sheet{border-radius:23px 23px 0 0}.sheet-top{padding:19px 18px 14px}.sheet-top h2{font-size:17px}.three-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.three-steps .step{text-align:center;padding:11px 4px;border-radius:10px;font-weight:750}.rowcard .flower-thumb{width:49px;height:49px}.suggest-title{font-size:12px}.suggestions,.chipgroup{gap:6px}.demo-warning{background:#fffaf0;border-radius:11px;padding:11px 12px}.redesigned-filter .period-controls{margin:10px 0}.rowcard{border-radius:0}.shipping-panel{margin-top:15px}
@media(min-width:900px){.bottom-nav{top:67px;padding:18px 6px;width:83px}.bottom-nav button{margin:6px auto;width:68px}.hero{min-height:215px}.hero img{height:210px}#view{padding:26px 28px 100px 108px}.home-metrics{gap:12px}.home-metric{min-height:140px}.tile-list{height:fit-content}}
@media(max-width:390px){.brandname{font-size:17px}.brandsub{font-size:9px}.brandmark{width:36px;height:36px;font-size:27px}.hero h1{font-size:21px}.hero img{max-width:133px;width:37%}.home-metric strong{font-size:21px}.home-metric span:not(.metric-symbol){font-size:11px}.tile-code,.tile-sub{font-size:10px}.flower-thumb{width:53px;height:53px}.tile-end{min-width:68px}.tile-body strong{font-size:13px}.stock-right{min-width:77px}.bottom-nav button{font-size:9px}}


/* v1.7.1 header auth, improved hero, and exit-flow support */
.top-actions{display:flex;align-items:center;gap:7px}
.header-auth{border:1px solid #dce9da;background:#26733d;color:#fff;font-weight:800;border-radius:999px;padding:9px 12px;font-size:12px;line-height:1;box-shadow:0 2px 8px rgba(38,115,61,.10)}
.header-auth.secondary{background:#eef6ec;color:#1c5c31}
.hero{align-items:stretch;min-height:178px}
.hero-copy{display:flex;flex-direction:column;justify-content:center;flex:1 1 64%;padding-right:10px}
.hero h1{white-space:nowrap;font-size:clamp(20px,6vw,28px);line-height:1.15;margin:0;color:#173626}
.hero p{display:none}
.hero img{width:34%;max-width:165px;height:auto;min-height:100%;object-position:center center;border-radius:44% 0 0 44%;mask-image:none;opacity:1}
@media(max-width:390px){.topbar{padding:10px 12px}.top-actions{gap:5px}.header-auth{padding:8px 9px;font-size:11px}.hero{min-height:164px}.hero-copy{padding:18px 10px 18px 16px}.hero h1{font-size:clamp(18px,5.6vw,22px)}.hero img{width:33%;max-width:120px;border-radius:40% 0 0 40%}}
@media(min-width:900px){.hero img{max-width:210px;width:32%}}

/* v1.7.2 — one account button and user-provided white chrysanthemum */
.header-auth{white-space:nowrap;min-width:89px}
.hero{background:#f4f8f1}
.hero img{object-fit:cover;object-position:52% 48%;width:37%;max-width:185px;align-self:stretch;min-height:172px;border-radius:34% 0 0 34%;mask-image:none;opacity:1}
@media(max-width:390px){.header-auth{padding:9px 10px;font-size:11px;min-width:84px}.hero img{width:36%;max-width:139px;min-height:164px}}

/* v1.7.3 navigation artwork, Android Back confirmation and layout */
.bottom-nav .ui-icon{display:block;width:23px;height:23px;flex-shrink:0;transition:transform .18s ease}
.bottom-nav button{min-height:55px;gap:5px;justify-content:center}
.bottom-nav button.selected .ui-icon{stroke-width:2.25;transform:translateY(-1px)}
.home-metric .metric-symbol{display:grid;place-items:center;height:30px}
.home-metric .metric-symbol svg{width:28px;height:28px;stroke-width:2}
.exit-overlay{position:fixed;inset:0;background:rgba(14,36,20,.58);z-index:200;display:flex;justify-content:center;align-items:center;padding:22px}
.exit-card{background:#fff;width:min(370px,100%);box-shadow:0 16px 48px #10251640;border-radius:22px;text-align:center;padding:28px 21px 21px}
.exit-icon{width:52px;height:52px;border-radius:17px;background:#eaf5e8;color:#26733d;display:grid;place-items:center;margin:0 auto 12px}
.exit-card h2{font-size:19px;color:#21482e;line-height:1.4;margin:5px 0 8px}
.exit-card p{font-size:13px;color:#69776b;line-height:1.7;margin:0 0 21px}
.exit-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.exit-actions button{padding:13px 9px;border-radius:12px;font-size:14px;font-weight:750}
.exit-cancel{background:#f2f7f0;border:1px solid #d9e8d5;color:#2d784a}
.exit-confirm{background:#26733d;border:1px solid #26733d;color:white}
@media(max-width:390px){.bottom-nav .ui-icon{width:22px;height:22px}.bottom-nav button{font-size:10px}}

/* v1.7.5 — separate, permission-gated administration shortcut */
.topbar{padding-right:max(9px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left))}
.top-actions{margin-left:auto;display:flex;gap:6px;align-items:center;flex-shrink:0}
.top-actions .header-auth{order:2;margin-right:0;white-space:nowrap;min-width:0;padding:10px 11px;font-size:11px;letter-spacing:-.35px}
.admin-shortcut{order:1;display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid #cde2cc;background:#edf7ea;color:#1d6b37;border-radius:999px;padding:9px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.admin-shortcut>span:first-child{font-size:16px;line-height:14px}
.admin-shortcut:focus-visible,.top-actions .header-auth:focus-visible{outline:3px solid #84bb8b;outline-offset:2px}
.bottom-nav [data-page="admin"]{display:none!important}
@media(max-width:390px){.topbar{padding-right:7px;padding-left:10px}.top-actions{gap:4px}.top-actions .header-auth{font-size:10px;padding:9px 8px}.admin-shortcut{font-size:10px;padding:8px 7px}.brand{gap:6px}.brandname{font-size:16px}.brandsub{font-size:9px}.brandmark{width:34px;height:34px}}

/* v1.7.6: explicit local-only demo administrator preview. */
.admin-shortcut.is-demo{background:#f0f7e8;border-color:#d4e8ca;color:#27623d}
.admin-shortcut.is-demo .admin-shortcut-label{font-size:10px}
.demo-admin-note{margin:0 0 15px;border-color:#bedfba;background:#eff8ed}
@media(max-width:390px){.admin-shortcut.is-demo{padding:8px 6px}.admin-shortcut.is-demo .admin-shortcut-label{font-size:9px}}

/* v1.7.7 touch slide transitions: content only; navigation remains fixed. */
#view{touch-action:pan-y;overscroll-behavior-x:contain}
#view.swipe-from-right{animation:mfSlideRight .22s ease-out both}
#view.swipe-from-left{animation:mfSlideLeft .22s ease-out both}
@keyframes mfSlideRight{from{opacity:.60;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
@keyframes mfSlideLeft{from{opacity:.60;transform:translateX(-28px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){#view.swipe-from-right,#view.swipe-from-left{animation:none}}

/* v1.7.8: A palette for registered order quick-search suggestions */
.suggest-chip{display:inline-flex;align-items:center;gap:6px;min-height:37px;line-height:1.3;text-align:left;transition:background-color .15s,border-color .15s}
.suggest-type{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.suggest-type small{font-size:11px;font-weight:800;margin:0;color:inherit}
.search-type-icon{width:15px;height:15px;flex-shrink:0}
.suggest-text{font-size:12px;font-weight:650;min-width:0;overflow-wrap:anywhere}
.suggest-chip--company{background:#E8F2FF;border-color:#B9D7F7;color:#2467B2}
.suggest-chip--flower{background:#FDEAF0;border-color:#F6C5D5;color:#B83E69}
.suggest-chip--order{background:#FFF2DB;border-color:#F0D5A2;color:#99610D}
.suggest-chip--company:hover,.suggest-chip--company:focus-visible{background:#D7E9FF}
.suggest-chip--flower:hover,.suggest-chip--flower:focus-visible{background:#FBD9E4}
.suggest-chip--order:hover,.suggest-chip--order:focus-visible{background:#FFE9BD}
.suggest-chip:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:380px){.suggest-chip{padding:8px 9px}.suggest-text{font-size:11px}}

/* v1.7.9 master-admin customer management */
.company-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:end}
.company-row-actions .btn-sm{padding:7px 9px;font-size:11px}
.btn-sm.danger{color:#a83c40;background:#fff1f1;border:1px solid #f0cbcd}
.sales-row small.rowsub{display:block;font-weight:400}
@media(max-width:390px){.company-row-actions{gap:4px}.company-row-actions .btn-sm{padding:6px 7px}}

/* v1.8.0 inventory dashboard, supplier filter and daily movement calendar */
.triple-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.triple-tabs button{min-width:0;font-size:13px;padding:12px 4px}
.stock-new-filter{display:grid;gap:12px;margin:16px 0}
.stock-picker{display:grid;gap:7px;padding:14px;background:#edf7f1;border:1px solid #cfe3d7;border-radius:15px}
.stock-picker label{font-size:13px;font-weight:750;color:#29593e}
.stock-picker select,.stock-new-filter select{width:100%;min-height:42px;padding:9px;border:1px solid #d4ddd7;border-radius:10px;background:#fff;color:#28372c;font:inherit}
.stock-quick-choice{border:1px solid #e0e8e1;border-radius:12px;background:#fff;padding:12px}
.stock-quick-choice summary{font-size:13px;font-weight:700;color:#3d694b;cursor:pointer}
.stock-quick-choice .suggestion-chips{padding-top:10px}
.stock-primary-qty{font-size:14px!important;white-space:normal!important;text-align:right;max-width:132px;line-height:1.5!important}
.stock-ledger{margin:24px 0 36px;overflow:hidden}
.stock-ledger .filter-grid{margin:10px 0}
.stock-ledger .filter-grid label{font-size:12px}
.stock-ledger .filter-grid input,.stock-ledger .filter-grid select{min-height:40px}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding:6px 0}
.calendar-toolbar button{border:1px solid #dce8df;background:#fff;border-radius:10px;padding:6px 15px;font-size:24px;color:#2d784a;cursor:pointer}
.calendar-toolbar b{font-size:16px}
.stock-calendar{border:1px solid #e0eae3;border-radius:14px;overflow:hidden;background:#fff}
.cal-days-head,.cal-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.cal-days-head b{font-size:11px;text-align:center;padding:8px 0;background:#f3f8f4;color:#536c59}
.cal-day-grid{gap:1px;background:#e9f0ea}
.cal-day-grid>span{background:#fff;min-height:66px}
.cal-cell{background:#fff;border:0;border-radius:0;min-height:66px;padding:5px 3px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;color:#354b3a;cursor:pointer}
.cal-cell.active{outline:2px solid #2c8754;outline-offset:-2px;background:#e5f4e9}
.cal-cell strong{font-size:12px}
.cal-cell small{font-size:10px;font-weight:750;white-space:nowrap;border-radius:3px;padding:0 2px}
.cal-in{background:#e7f4e9;color:#226b3a}
.cal-out{background:#fff0e7;color:#a64f26}
.stock-movement-list{display:grid;gap:8px;margin:12px 0}
.movement-line{display:flex;align-items:flex-start;gap:8px;padding:12px;border:1px solid #e4ebe5;border-radius:12px;background:white;min-width:0}
.movement-line>div{flex:1;min-width:0;display:grid;gap:3px}
.movement-line strong{font-size:13px;overflow-wrap:anywhere}
.movement-line small{color:#6b7c71;font-size:11px;overflow-wrap:anywhere}
.movement-line>b{font-size:12px;max-width:94px;text-align:right;line-height:1.5}
.movement-tag{border-radius:6px;padding:4px 6px;font-size:10px;font-weight:750;white-space:nowrap}
.movement-tag.is-in{color:#186640;background:#def3e6}
.movement-tag.is-out{color:#ab5029;background:#ffebde}
.movement-tag.is-other{color:#435d90;background:#e9eef9}
@media(max-width:420px){.cal-cell{min-height:58px}.cal-cell small{font-size:9px}.stock-primary-qty{max-width:100px;font-size:12px!important}.movement-line{padding:9px;gap:6px}.movement-line>b{max-width:80px}}
/* v1.8.1: employee / shopping-member directories */
.people-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 16px}
.people-tabs button{border:1px solid #dfe9e3;border-radius:13px;padding:14px 8px;background:#fff;color:#365345;font-weight:700;cursor:pointer;font-size:14px}
.people-tabs button.active{background:#e5f3ea;border-color:#348459;color:#1b6b3e}
.staff-entry{display:flex;align-items:center;gap:11px;padding:13px 7px;border-bottom:1px solid #e8ede9}
.staff-entry:last-child{border-bottom:0}.staff-avatar{width:46px;height:46px;border-radius:50%;background:#e8f2ec;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;font-size:22px}.staff-avatar img{width:100%;height:100%;object-fit:cover}.staff-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.staff-info b{font-size:14px}.staff-info span{font-size:12px;color:#61736a;overflow-wrap:anywhere}.staff-info .staff-approved{color:#207c4a;font-weight:700}.staff-info .staff-pending{color:#b05a20;font-weight:700}.approval-switch{display:flex;align-items:center;gap:9px;background:#ecf5ef;padding:13px;margin:12px 0;border-radius:11px;font-size:13px}.approval-switch input{width:19px;height:19px;accent-color:#267b4a;flex-shrink:0}

/* v1.8.2 secret admin reports */
.secret-report .formgrid{margin-top:14px}.secret-report .formgrid>div{min-width:0}.secret-report select,.secret-report input{width:100%;max-width:100%;box-sizing:border-box}.report-result{margin-top:16px;display:flex;flex-direction:column;gap:4px;padding:13px;border-radius:12px;background:#eef7f0;color:#215c38}.report-result small{font-size:12px;color:#54715c}.report-preview{overflow-x:auto;max-width:100%;margin:12px 0;border:1px solid #e5eee6;border-radius:12px}.report-preview table{border-collapse:collapse;min-width:540px;width:100%;font-size:12px}.report-preview th,.report-preview td{padding:9px 10px;border-bottom:1px solid #e6eae6;text-align:left;white-space:nowrap}.report-preview th{background:#f4f9f5;color:#315b41}


/* Stage 1: searchable catalogs, source labels, compact screens. */
.company-source{display:inline-block;padding:4px 7px;border-radius:7px;font-size:12px;white-space:normal}.company-source.shop{background:#e5efff;color:#174f9b}.company-source.ops{background:#e2f4e7;color:#176637}.company-source.legacy{background:#eee;color:#555}
.catalog-choices{max-height:190px;overflow-y:auto;display:grid;gap:5px;margin:6px 0}.catalog-choices[hidden]{display:none}.catalog-choices button{border:1px solid #dbe7df;background:#f5faf7;text-align:left;padding:10px;border-radius:8px;min-height:44px;overflow-wrap:anywhere}
.company-input-row{display:flex;gap:8px;align-items:center}.company-input-row input{min-width:0;flex:1}.company-input-row button{flex-shrink:0;padding:10px}
.sheet{max-width:100vw;box-sizing:border-box}.sheet input,.sheet select,.sheet textarea{max-width:100%;min-width:0;box-sizing:border-box}.sheet .formgrid>div{min-width:0}.sheet button{min-height:44px}.sheet .button.full[type=submit]{position:sticky;bottom:0;z-index:2;box-shadow:0 -4px 12px #fff}
@media(max-width:430px){.sheet{width:100%;padding-left:14px;padding-right:14px;max-height:94dvh;overflow-y:auto}.sheet .formgrid{grid-template-columns:minmax(0,1fr)}.sheet .formgrid .wide{grid-column:auto}.order-items{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.order-items .itemname{grid-column:1/-1;width:100%}.order-items .qty,.order-items select{width:100%;min-width:0}.company-input-row{flex-wrap:wrap}.company-input-row input{flex-basis:60%}.company-input-row button{font-size:13px}.sheet input,.sheet select,.sheet textarea{font-size:16px;min-height:44px}}

/* Visible revision and company request policy. */
.build-tag{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;background:#e6f2ff;color:#174b7d;font-size:10px;white-space:nowrap}.company-source.pending{background:#fff2cf;color:#7d4d00}
.company-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.company-input-row button{white-space:nowrap;min-height:44px}.company-input-row input{width:100%}
@media(max-width:430px){.brandsub{font-size:9px}.build-tag{font-size:8px;margin-left:2px}.company-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.company-input-row button{font-size:12px;padding:8px}}

.preview-actors{display:flex;gap:8px;justify-content:center;margin-top:6px}.preview-actors button{min-height:36px;padding:6px 12px;background:white;border:1px solid #bca76a;border-radius:7px}

/* Order quick search: independent company, product and order groups. */
.registered-search{margin:12px 0}.quick-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-search-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-search-group{min-width:0;border:1px solid #e1e8e1;background:#fff;border-radius:12px;padding:12px}.quick-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.quick-group-heading h3{font-size:13px;margin:0;color:#264a34}.quick-group-heading>span{font-size:11px;color:#6a786e}.quick-search-group--company{border-top:3px solid #6f9ed5}.quick-search-group--product{border-top:3px solid #ce8aa0}.quick-search-group--order{border-top:3px solid #c9a25a}.quick-search-group .suggestion-chips{margin:0;display:flex;flex-wrap:wrap;gap:7px}.quick-search-group .suggest-chip{max-width:100%;min-height:40px;text-align:left}.quick-search-group .suggest-text{min-width:0;white-space:normal;overflow-wrap:anywhere}.quick-search-group .suggest-type{flex-shrink:0}.quick-group-empty{color:#87938b;font-size:12px;padding:5px 0}.popular-search{margin:14px 0;border-top:1px solid #e1e8e1;padding-top:12px}.popular-search>summary{cursor:pointer;font-size:13px;font-weight:700;color:#365a44;min-height:40px;padding:8px 0}.popular-search>summary>span{font-size:11px;font-weight:400;color:#718378;margin-left:8px}.popular-search[open]>summary>span{display:none}.popular-search .hint{margin:0 0 10px}
@media(max-width:600px){.quick-search-grid,.quick-search-grid--two{grid-template-columns:minmax(0,1fr);gap:8px}.quick-search-group{padding:10px}.quick-group-heading{margin-bottom:7px}.quick-search-group .suggest-chip{min-height:44px}.registered-search .suggest-title{display:flex;flex-wrap:wrap;gap:4px}}
/* Approved design: botanical header, compact order cards, staff notice and themes. */
:root{--surface:#fff;--surface-soft:#f1f6f2;--line:#dce6df;--brand:#175833;--text:#17261b;--secondary:#627369}
.topbar{background:#175833;color:#fff;border:0;box-shadow:none;min-height:64px}.brandname{font-family:system-ui,sans-serif;font-size:20px;color:#fff;font-weight:750}.brandsub{color:#d5e7db}.brandmark{background:transparent;color:#c3edb9;width:28px;height:32px;border-radius:0;font-size:27px}.brand-badge{background:#ffffff20;color:#fff}.header-auth,.admin-shortcut{background:#ffffff12!important;border:1px solid #ffffff55!important;color:#fff!important}.top-actions{gap:7px}#appSettingsBtn{background:transparent;border:0;color:#fff;font-size:24px;min-width:36px;min-height:40px;border-radius:8px}.build-tag{background:#ffffff22;color:#e2f3e7}
.order-tile{background:var(--surface);border:1px solid var(--line);display:flex!important;align-items:center;gap:10px;padding:14px;border-radius:12px;width:100%;text-align:left}.order-tile>.flower-thumb{display:none}.order-tile .tile-body{flex:1;min-width:0}.order-tile .tile-end{flex-shrink:0}.tile-code{color:var(--secondary)}.order-tile .tile-sub{font-size:12px}.tile-list .order-tile+.order-tile{margin-top:8px}.bottom-nav{background:var(--surface);border-color:var(--line)}.bottom-nav button.selected{color:var(--brand);background:#e6f2e8;border-radius:10px}.bottom-nav button{min-height:48px}
.staff-notice{display:flex;align-items:center;gap:12px;margin:18px 0;padding:17px 16px;border:1px solid #b6c8ab;border-radius:13px;background:linear-gradient(115deg,#eef4e6,#dce7cd);color:#163c25;overflow:hidden}.notice-copy{min-width:0;flex:1}.notice-copy>small{font-size:11px;font-weight:700;letter-spacing:.2px}.notice-copy h2{font-size:20px;line-height:1.3;margin:7px 0;font-weight:800;overflow-wrap:anywhere}.notice-copy p{font-size:12px;margin:6px 0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notice-copy button{background:transparent;border:0;color:inherit;font-size:12px;font-weight:750;padding:7px 0;min-height:32px;text-align:left}.notice-copy .notice-edit{margin-left:16px;opacity:.8}.notice-flower{font-size:95px;line-height:1;color:#fff;text-shadow:0 2px 5px #46603244;transform:rotate(15deg);flex:0 0 84px}.notice-detail p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.notice-detail video{display:block;width:100%;max-height:60vh;background:#101c15;border-radius:10px}.notice-empty{margin:14px 0}
.settings-brand{font-size:20px;color:var(--brand);font-weight:750;margin:4px 0 20px}.appearance-panel h3{font-size:16px;margin:20px 0 12px}.theme-options{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 12px}.theme-options label{display:flex;align-items:center;justify-content:space-between;padding:15px 0;gap:15px;font-size:15px;border-bottom:1px solid var(--line);cursor:pointer}.theme-options label:last-child{border:0}.theme-options input{min-height:20px!important;width:20px!important;height:20px;accent-color:var(--brand);flex-shrink:0}.theme-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px}.theme-preview>div{border:1px solid #aab9af;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:7px}.theme-preview b{height:15px;background:#175833;border-radius:4px}.theme-preview i{height:10px;width:75%;border-radius:4px;background:#dfe6e1}.theme-preview span{text-align:center;font-size:12px;margin-top:5px}.preview-light{background:#fff;color:#25382b}.preview-dark{background:#1d2c24;color:#eff5f0}.preview-dark i{background:#3c5547}.appearance-panel>.button{margin-top:12px}
:root[data-theme=dark]{--green:#9fd8b2;--dark:#e0f0e5;--light:#2b4435;--soft:#203028;--ink:#edf5ef;--muted:#adbcaf;--border:#3c5042;--white:#1e2b25;--surface:#1e2b25;--surface-soft:#24392c;--line:#3b5042;--brand:#b4e3bf;--text:#edf5ef;--secondary:#b0c4b6;background:#111c17;color:#edf5ef;color-scheme:dark}
[data-theme=dark] body{background:#111c17;color:#edf5ef}[data-theme=dark] .topbar{background:#182d22}[data-theme=dark] .panel,[data-theme=dark] .card,[data-theme=dark] .rowcard,[data-theme=dark] .sheet,[data-theme=dark] .stock-tile,[data-theme=dark] .metric,[data-theme=dark] .quick-search-group,[data-theme=dark] .search-shell,[data-theme=dark] .exit-card{background:var(--surface);border-color:var(--line);color:var(--text)}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#17271e!important;color:#edf5ef!important;border-color:#54685a!important}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#a3b8aa}[data-theme=dark] .sheet-top,[data-theme=dark] .filter-panel{background:transparent;color:var(--text)}
[data-theme=dark] .quick-group-heading h3,[data-theme=dark] .rowtitle,[data-theme=dark] .tile-body,[data-theme=dark] .subheading,[data-theme=dark] .fieldlabel,[data-theme=dark] .filter-grid label,[data-theme=dark] .suggest-title,[data-theme=dark] .popular-search>summary,[data-theme=dark] .stock-primary-qty{color:var(--text)}
[data-theme=dark] .button{background:#2b6843;color:#fff;border-color:#6a9779}[data-theme=dark] .button.outline,[data-theme=dark] .button.secondary,[data-theme=dark] .btn-sm,[data-theme=dark] .iconbtn,[data-theme=dark] .catalog-choices button{background:#263e2e;color:#e3f1e7;border-color:#597363}[data-theme=dark] .note,[data-theme=dark] .hint.demo-warning,[data-theme=dark] .spec-banner,[data-theme=dark] .hero,[data-theme=dark] .home-metric,[data-theme=dark] .report-result{background:#243a2b;color:#c4d8cb;border-color:#4a6553}
[data-theme=dark] .staff-notice{background:linear-gradient(115deg,#223c2c,#30452d);color:#ecf5e7;border-color:#5c7354}[data-theme=dark] .notice-flower{color:#e3ebd7}[data-theme=dark] .badge{background:#315c3e;color:#d6f3de}[data-theme=dark] .badge.warn{background:#67491f;color:#ffe2a9}[data-theme=dark] .badge.gray{background:#3a4a40;color:#d9e2dc}
[data-theme=dark] .suggest-chip--company,[data-theme=dark] .company-source.shop{background:#213d58;color:#c3e0ff;border-color:#557b9f}[data-theme=dark] .suggest-chip--flower{background:#4a2d3b;color:#ffd0df;border-color:#95677b}[data-theme=dark] .suggest-chip--order{background:#4e3d22;color:#ffdfa4;border-color:#96784a}[data-theme=dark] .company-source.ops{background:#284f35;color:#c6f0d1}[data-theme=dark] .company-source.legacy{background:#38443e;color:#e0e7e2}[data-theme=dark] .company-source.pending{background:#5f4c25;color:#ffe2a9}
[data-theme=dark] .bottom-nav button.selected{background:#294935;color:#bfe8c8}[data-theme=dark] .period-pill,[data-theme=dark] .split-tabs button,[data-theme=dark] .people-tabs button{background:#213529;color:#dcebe0;border-color:#536d5d}[data-theme=dark] .period-pill.active,[data-theme=dark] .people-tabs button.active{background:#3e6a4b;color:white}[data-theme=dark] .sheet .button.full[type=submit]{box-shadow:0 -5px 15px #1e2b25}[data-theme=dark] .report-preview th{background:#294231;color:#edf5ef}[data-theme=dark] .report-preview td{border-color:#42584a;color:#edf5ef}
@media(max-width:430px){.topbar{padding:10px 12px;gap:6px}.brand{gap:5px;min-width:0}.brandname{font-size:16px;white-space:nowrap}.brandmark{width:23px;font-size:24px}.brand-badge{display:none}.brandsub{font-size:8px}.top-actions{gap:4px}#adminAccessBtn{font-size:10px;padding:7px 6px;white-space:nowrap}.admin-shortcut-label{display:none}.admin-shortcut{padding:7px!important}#appSettingsBtn{font-size:21px;min-width:30px}.notice-copy h2{font-size:19px}.notice-flower{font-size:77px;flex-basis:64px}.staff-notice{padding:15px 13px}}
.notice-flower{transform:none}.notice-flower img{display:block;width:100%;height:100px;object-fit:cover;border-radius:10px;mask-image:linear-gradient(to right,transparent,#000 22%)}
[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] .page-heading h1,[data-theme=dark] .section-header h2,[data-theme=dark] .order-tile strong{color:var(--text)}
[data-theme=dark] .tile-list{background:var(--surface);border-color:var(--line)}[data-theme=dark] .order-tile .tile-code,[data-theme=dark] .order-tile .tile-sub{color:var(--secondary)}
@media(max-width:430px){.brand-badge{display:inline;font-size:8px}.admin-shortcut>span[aria-hidden]{display:none}.admin-shortcut-label{display:inline!important;font-size:10px}}
.preview-actors button{color:#493c15}[data-theme=dark] .mode,[data-theme=dark] .mode.cloud{background:#284534;color:#c2e7cf}
/* Dark-mode contrast: home counts and inventory text must not retain light-theme greens. */
[data-theme=dark] .home-metric strong{color:var(--text)}
[data-theme=dark] .home-metric strong small{color:var(--secondary)}
[data-theme=dark] .hero-kicker,[data-theme=dark] .actiontext{color:var(--brand)}
[data-theme=dark] .stock-tile .tile-body strong{color:var(--text)}
[data-theme=dark] .stock-tile .tile-code,[data-theme=dark] .stock-tile .tile-sub{color:var(--secondary)}

/* Dark LOT packaging panel: keep labels readable against the panel surface. */
[data-theme=dark] .spec-form{background:var(--surface-soft);border-color:var(--line);color:var(--text)}
[data-theme=dark] .spec-form .fieldlabel{color:var(--text)}
[data-theme=dark] .spec-form .hint{color:var(--secondary)}

/* Dark surfaces paired with readable text: stock ledger/calendar and form panels. */
[data-theme=dark] .movement-line,[data-theme=dark] .stock-calendar,[data-theme=dark] .cal-cell,[data-theme=dark] .cal-day-grid>span,[data-theme=dark] .stock-picker,[data-theme=dark] .stock-quick-choice,[data-theme=dark] .approval-switch,[data-theme=dark] .shipping-panel{background:var(--surface);border-color:var(--line);color:var(--text)}
[data-theme=dark] .movement-line strong,[data-theme=dark] .movement-line>b,[data-theme=dark] .cal-cell strong,[data-theme=dark] .approval-switch b{color:var(--text)}
[data-theme=dark] .movement-line small{color:var(--secondary)}
[data-theme=dark] .stock-picker label,[data-theme=dark] .stock-quick-choice summary,[data-theme=dark] .calendar-toolbar button{color:var(--brand)}
[data-theme=dark] .calendar-toolbar button,[data-theme=dark] .cal-days-head b{background:var(--surface-soft);border-color:var(--line);color:var(--text)}
[data-theme=dark] .cal-day-grid{background:var(--line)}
[data-theme=dark] .cal-cell.active{background:#2b4d36;outline-color:var(--brand);color:var(--text)}
[data-theme=dark] .cal-in,[data-theme=dark] .movement-tag.is-in{background:#254d35;color:#c8efd1}
[data-theme=dark] .cal-out,[data-theme=dark] .movement-tag.is-out{background:#603e29;color:#ffe0c2}
[data-theme=dark] .movement-tag.is-other{background:#2c415a;color:#d1e4ff}
[data-theme=dark] .step,[data-theme=dark] .step.done,[data-theme=dark] .chip,[data-theme=dark] .chip.on{background:var(--surface-soft);border-color:var(--line);color:var(--text)}
[data-theme=dark] .step.active{background:#3f7651;color:#fff}

/* Warehouse W1: shared theme tokens; same screen on desktop and 390px mobile. */
.warehouse-hero{padding:12px 0 8px}.warehouse-hero h1{font-size:clamp(23px,4vw,32px);margin:6px 0;color:var(--text);letter-spacing:-1px}.warehouse-hero p{color:var(--secondary);margin:8px 0 15px}.warehouse-theme{display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:9px;margin:8px 0 15px;color:var(--text)}.warehouse-theme>span{margin-right:auto;font-size:13px;font-weight:700}.warehouse-theme button{background:transparent;color:var(--text);border:0;border-radius:20px;padding:9px 11px;min-height:40px}.warehouse-theme button[aria-pressed=true]{background:var(--light);color:var(--brand);font-weight:800}.inbound-start>.button{min-height:54px;font-size:19px}.inbound-method-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.inbound-method-shortcuts button{min-height:46px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:11px;font-weight:650;padding:8px 4px}.warehouse-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.warehouse-home-grid>section{min-width:0}.inbound-recent-list{display:grid;gap:7px}.inbound-recent{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:13px;color:var(--text)}.inbound-recent>span:first-child{min-width:0;flex:1}.inbound-recent strong{display:block;font-size:15px;color:var(--text)}.inbound-recent small{display:block;color:var(--secondary);margin-top:5px;overflow-wrap:anywhere}.inbound-recent time{font-size:12px;color:var(--secondary);white-space:nowrap}.aged-stock-panel{border:1px solid #deb966;border-radius:13px;padding:12px;background:#fff8e9;color:#523c13}.aged-stock-panel>p{margin:0 0 10px;font-size:12px}.aged-stock-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:0;border-top:1px solid #dfcfa8;background:transparent;color:inherit;padding:12px 0}.aged-stock-row>span{min-width:0;overflow-wrap:anywhere}.aged-stock-row strong{font-size:12px;white-space:nowrap;color:#814404}.aged-stock-panel>small{display:block;margin-top:7px}.warehouse-flow{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--surface-soft);color:var(--text);padding:12px;border-radius:11px;margin:0 0 16px}.warehouse-flow b{color:var(--brand)}.inbound-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.inbound-methods button{padding:13px 9px;min-height:66px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font-size:15px;font-weight:750;text-align:left}.inbound-methods small{display:block;font-size:11px;font-weight:400;margin-top:6px;color:var(--secondary)}.inbound-methods button:last-child{grid-column:1/-1}.inbound-methods button.selected{border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.inbound-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px;align-items:stretch;margin:12px 0}.inbound-photos>button,.inbound-photo>button:first-child{border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:10px;padding:7px;min-width:0;width:100%;height:100%;text-align:left;overflow-wrap:anywhere}.inbound-photos img{width:100%;height:135px;object-fit:contain;background:var(--surface);border-radius:6px;display:block;margin-bottom:5px}.inbound-photo{position:relative;min-width:0}.inbound-photo span,.inbound-photos small{display:block;font-size:11px;color:var(--secondary);overflow-wrap:anywhere}.inbound-photo .photo-remove{position:absolute;right:3px;top:3px;background:var(--surface);border:1px solid var(--line);color:var(--text);width:36px;height:36px;border-radius:50%;font-size:23px}.photo-add{min-height:115px!important;text-align:center!important;font-size:17px}.warehouse-note{background:var(--surface-soft);border:1px solid var(--line);color:var(--text);border-radius:11px;padding:12px;font-size:13px;line-height:1.6}.warehouse-warning{background:#fff3d7;color:#61430c;padding:13px;border:1px solid #d7b75f;border-radius:11px;line-height:1.6}.warehouse-submit{margin-top:18px;min-height:50px}.inbound-summary{display:grid;grid-template-columns:minmax(90px,auto) 1fr;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface-soft);gap:0;margin:16px 0}.inbound-summary dt,.inbound-summary dd{margin:0;padding:9px 0;color:var(--text);border-bottom:1px solid var(--line);overflow-wrap:anywhere}.inbound-summary dt{font-weight:650;padding-right:10px}.inbound-summary dt:last-of-type,.inbound-summary dd:last-of-type{border:0}.inbound-footer{display:flex;gap:10px;margin-top:18px}.inbound-footer>*{flex:1;min-height:48px}.inbound-item{padding:13px;border:1px solid var(--line);border-radius:12px;margin:18px 0;background:var(--surface);min-width:0;color:var(--text)}.inbound-item legend{font-weight:750;color:var(--brand);padding:0 5px}.inbound-item .formgrid{margin-top:12px}.inbound-item label{color:var(--text);font-size:13px;font-weight:650}.inbound-item input,.inbound-item select{margin-top:5px}.inbound-conversion{color:var(--brand)!important;font-weight:700}.inbound-suggestions{border:1px solid var(--line);border-radius:10px;max-height:250px;overflow-y:auto;background:var(--surface-soft);margin:4px 0}.inbound-suggestions button{display:block;width:100%;background:var(--surface);color:var(--text);text-align:left;padding:12px;border:0;border-bottom:1px solid var(--line);min-height:52px}.inbound-suggestions small{display:block;margin-top:4px;color:var(--secondary);font-size:11px}.inbound-queue{display:grid;gap:9px;margin-top:16px}.inbound-queue>button{display:flex;gap:7px;flex-wrap:wrap;justify-content:space-between;text-align:left;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--surface);color:var(--text)}.inbound-queue>button>strong{width:100%}.inbound-queue>button>span:not(.badge){font-size:12px;color:var(--secondary)}.inbound-photo-dialog{width:min(1000px,96vw);max-width:96vw;height:90dvh;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--surface);color:var(--text)}.inbound-photo-dialog::backdrop{background:#000b}.inbound-photo-dialog>div:first-child{display:flex;gap:8px;margin-bottom:10px}.inbound-photo-scroll{height:calc(100% - 65px);overflow:auto;touch-action:pan-x pan-y}.inbound-photo-scroll img{width:100%;height:auto;max-width:none;display:block;transform-origin:top left}
#inboundRequestForm,#inboundInspectionForm,.inbound-review,.inbound-detail{color:var(--text)}
#inboundRequestForm input,#inboundInspectionForm input{max-width:100%}
[data-theme=dark] .aged-stock-panel{background:#38301a;color:#fff0c4;border-color:#8e7438}[data-theme=dark] .aged-stock-row{border-color:#766235}[data-theme=dark] .aged-stock-row strong{color:#ffdc8c}[data-theme=dark] .warehouse-warning{background:#44391e;color:#ffe3a0;border-color:#9a7c32}
[data-theme=dark] .inbound-start>.button,[data-theme=dark] .warehouse-submit,[data-theme=dark] .inbound-footer>.button:not(.outline){background:#b4e3bf;color:#12351f}
@media(max-width:700px){.warehouse-home-grid{grid-template-columns:1fr;gap:0}.inbound-recent{padding:13px 11px}.warehouse-theme{gap:2px}.warehouse-theme button{padding:8px}.inbound-method-shortcuts{gap:5px}.inbound-method-shortcuts button{font-size:12px}.inbound-footer{gap:7px}.inbound-footer .button{padding:12px 8px;font-size:13px}.inbound-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.inbound-methods button{font-size:14px}}

/* W2: retain the original home; expose inbound approvals as a primary tab. */
.inbound-page-actions{margin:16px 0}.inbound-page-actions>.button{min-height:48px}.inbound-status-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:18px 0}.inbound-status-tabs button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;padding:12px 5px;min-height:64px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-size:13px}.inbound-status-tabs button b{font-size:19px;color:var(--brand)}.inbound-status-tabs button[aria-pressed=true]{border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand);font-weight:750}.inbound-request-list{display:grid;gap:12px}.inbound-request-card{background:var(--surface);color:var(--text);padding:16px;border:1px solid var(--line);border-radius:15px}.inbound-request-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.inbound-request-title>strong{min-width:0;overflow-wrap:anywhere;font-size:16px}.inbound-request-card>p{color:var(--secondary);font-size:13px;line-height:1.6}.inbound-request-card .actions{margin-top:12px}.inbound-request-card .button{min-height:44px}.stock-new-filter .split-tabs.triple-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px;width:100%;flex-wrap:nowrap!important}.stock-new-filter .split-tabs.triple-tabs>button{width:100%;min-width:0;flex:none;white-space:nowrap;padding:12px 3px;font-size:14px}.stock-partner-picker{margin:12px 0 15px;padding:13px;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;color:var(--text)}.stock-partner-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.stock-partner-heading strong{font-size:13px;color:var(--text)}.stock-partner-heading small{font-size:11px;color:var(--secondary)}.stock-partner-buttons{display:flex;gap:7px;flex-wrap:wrap}.stock-partner-buttons>button{padding:10px 12px;min-height:42px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);font-size:13px}.stock-partner-buttons>button[aria-pressed=true]{background:var(--brand);color:var(--surface);border-color:var(--brand);font-weight:750}.work-records .rowsub{overflow-wrap:anywhere}
[data-theme=dark] .stock-partner-buttons>button[aria-pressed=true]{background:#b4e3bf;color:#12351f}[data-theme=dark] .inbound-request-title>strong{color:var(--text)}
@media(max-width:430px){.stock-new-filter .split-tabs.triple-tabs>button{font-size:13px}.inbound-status-tabs{gap:5px}.inbound-status-tabs button{font-size:12px}.inbound-request-card .actions>.button{flex:1;font-size:13px;padding:11px 8px}.bottom-nav button[data-page=inbound]{white-space:nowrap;font-size:10px}}

/* W3: photographed-list design, local line icons, readable light and dark surfaces. */
.ops-icon{width:22px;height:22px;display:inline-block;flex-shrink:0;vertical-align:middle}.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}.button .ops-icon{width:21px;height:21px}.ops-primary,.ops-stack-actions>.button,.ops-admin-tools>.button{display:inline-flex;justify-content:center;align-items:center;gap:8px}.ops-primary{background:linear-gradient(135deg,#006d35,#005327)!important;color:#fff!important;border:1px solid #005a2b!important;font-weight:800}.ops-primary:focus-visible,.ops-text-button:focus-visible,.ops-method-cards>button:focus-visible{outline:3px solid #52a86c;outline-offset:3px}.ops-primary:active{filter:brightness(.92)}[data-ops-build=warehouse-w5] .topbar{background:linear-gradient(110deg,#00602e,#004b26);color:#fff;border-color:#17663c}[data-ops-build=warehouse-w5] .brandname,[data-ops-build=warehouse-w5] .brandsub{color:#fff}[data-ops-build=warehouse-w5] .brandmark{background:transparent;color:#e2f4d8;display:grid;place-items:center;border-radius:0}[data-ops-build=warehouse-w5] .brandmark .ops-icon{width:31px;height:31px}[data-ops-build=warehouse-w5] .build-tag{background:#ffffff21;color:#fff}[data-ops-build=warehouse-w5] .top-actions .admin-shortcut,[data-ops-build=warehouse-w5] .top-actions .header-auth{background:#ffffff10;color:#fff;border-color:#ffffff55}[data-ops-build=warehouse-w5] #appSettingsBtn{background:transparent;color:#fff;border:0;display:grid;place-items:center}[data-theme=dark][data-ops-build=warehouse-w5] .topbar{background:#153524}.ops-inbound-sheet{height:min(96dvh,1050px);max-height:96dvh;width:min(760px,100%);overflow:hidden}.ops-inbound-sheet .sheet-top{padding:18px 20px 14px;flex-shrink:0;background:var(--surface);color:var(--text)}.ops-inbound-sheet .sheet-top h2{font-size:24px;font-weight:850;letter-spacing:-.8px;line-height:1.3}.ops-inbound-sheet .iconbtn{width:40px;height:40px;display:grid;place-items:center;background:var(--surface-soft);color:var(--text)}.ops-inbound-sheet #sheetBody{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}.ops-inbound-form{display:flex;flex-direction:column;min-height:0;width:100%;height:100%;margin:0;color:var(--text)}.ops-form-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 22px;scroll-padding-bottom:24px}.ops-form-footer{flex-shrink:0;padding:12px 20px max(14px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -6px 18px #1532200a;display:flex;gap:10px;margin:0}.ops-form-footer .button{min-height:54px;margin:0;border-radius:11px;font-size:18px;letter-spacing:-.4px;font-weight:800;display:flex;justify-content:center;align-items:center;gap:10px}.ops-form-footer.inbound-footer .button{font-size:16px;flex:1;padding:12px 7px}.ops-form-footer .button.outline{border:1.5px solid var(--brand);color:var(--brand);background:var(--surface)}.ops-request-context{display:flex;align-items:center;gap:10px;padding:0 0 12px;margin-bottom:4px;border-bottom:1px solid var(--line)}.ops-request-context>span{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:650;white-space:nowrap;color:var(--secondary)}.ops-request-context select{min-height:42px;padding:7px 12px;font-size:14px;font-weight:750;max-width:250px;margin-left:auto;background:var(--surface-soft)}.ops-section-title{font-size:18px;font-weight:800;margin:20px 0 11px;color:var(--text);letter-spacing:-.4px}.ops-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 10px;flex-wrap:wrap}.ops-section-heading h2,.ops-section-heading h3{font-size:18px;letter-spacing:-.4px;margin:0;font-weight:800;display:flex;align-items:center;gap:7px;color:var(--text)}.ops-count{background:#e4f4dd;color:#17572d;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:800}.ops-method-cards{gap:9px;margin:10px 0 18px}.ops-method-cards>button{display:flex;align-items:center;gap:11px;padding:14px 12px;min-height:78px;border:1px solid var(--line);background:var(--surface);box-shadow:0 2px 5px #183a2510;border-radius:12px}.ops-method-cards>button>.ops-icon{width:32px;height:32px;color:var(--brand)}.ops-method-cards>button>span{min-width:0}.ops-method-cards strong{font-size:17px;font-weight:800;letter-spacing:-.5px;white-space:nowrap;display:block}.ops-method-cards small{margin-top:5px;font-size:12px;line-height:1.4;letter-spacing:-.3px;color:var(--secondary)}.ops-method-cards>button:last-child{min-height:66px}.ops-method-cards>button.selected{background:#f1faea;border-color:#15823e;box-shadow:inset 0 0 0 1px #15823e}.ops-text-button{background:transparent;border:0;color:var(--brand);font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 3px;min-height:40px;font-size:13px;cursor:pointer}.ops-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:9px 0 0}.ops-photo-strip .inbound-photo>button:first-child{padding:5px;background:#f1f4ee;position:relative;min-height:133px;overflow:hidden}.ops-photo-strip img{height:112px;margin:0;object-fit:contain;background:#e9e5d7}.ops-photo-strip .ops-photo-filename{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 2px 0;display:block}.ops-photo-strip .ops-photo-number{position:absolute;left:6px;top:6px;background:#087b37;color:#fff;border:1px solid #e7f9e9;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;z-index:1;font-size:12px;font-weight:800}.ops-photo-strip .photo-remove{top:3px;right:3px;width:32px;height:32px;display:grid;place-items:center;background:var(--surface);border-radius:50%;z-index:2;padding:0}.ops-photo-strip .photo-remove .ops-icon{width:19px;height:19px}.ops-photo-strip .photo-add{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--brand);border:1px solid var(--line);min-height:133px!important;font-size:14px;font-weight:750;text-align:center!important}.ops-photo-strip .photo-add .ops-icon{width:30px;height:30px}.ops-photo-expand{display:flex;margin:2px auto 6px;min-height:40px}.ops-callout{display:flex;gap:9px;align-items:flex-start;padding:11px 12px;line-height:1.55;border:0;border-radius:10px;font-size:14px}.ops-callout>.ops-icon{margin-top:1px}.warehouse-note.ops-callout{background:#e6f6dc;color:#174e26;font-weight:750}.ops-upload-hint{margin:7px 0 14px;text-align:center;font-size:11px}.ops-compact-fields{margin-top:12px}.ops-inline-field{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;gap:10px;margin:10px 0;font-size:14px;font-weight:750;color:var(--text)}.ops-inline-field small,.ops-sharing-field>strong small{font-size:12px;font-weight:500}.ops-inbound-form input:not([type=hidden]):not([type=file]),.ops-inbound-form select,.ops-inbound-form textarea{font-size:15px;border-radius:9px;min-height:44px;padding:9px 10px;color:var(--text);background:var(--surface);border:1px solid var(--line);min-width:0;max-width:100%}.ops-date-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding-left:9px;gap:6px;min-width:0}.ops-date-control .ops-icon{width:20px;height:20px;color:var(--secondary)}.ops-inbound-form .ops-date-control input{border:0;flex:1;width:0;font-weight:750;padding-left:0}.ops-origin-select{display:flex;align-items:center;gap:7px;min-width:0}.ops-origin-select select{flex:1;width:0}.ops-origin-select .ops-text-button{font-size:11px;white-space:nowrap;text-decoration:underline}.ops-other-country{padding-left:115px}.ops-other-country input{width:100%}.ops-field-help{margin:6px 0 13px;padding-left:115px;font-size:11px;text-align:center}.ops-sharing-field{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:center;margin-top:16px}.ops-sharing-field>strong{font-size:12px;line-height:1.5}.ops-choice-group{display:flex;gap:8px;align-items:center}.ops-choice-group button{border:1px solid var(--line);border-radius:10px;min-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--surface);color:var(--text);font-size:14px;font-weight:700;flex:1;white-space:nowrap}.ops-choice-group button[aria-pressed=true]{border-color:#16813c;color:#105d2c;background:#f0fae9}.ops-choice-group .ops-icon{width:17px;height:17px}.ops-choice-dot{width:19px;height:19px;border-radius:50%;border:2px solid #9aaca0;display:block;flex-shrink:0}.ops-choice-group [aria-pressed=true] .ops-choice-dot{background:#16813c;border:6px solid #16813c;box-shadow:inset 0 0 0 3px #fff}.ops-memo-field textarea{min-height:44px!important;resize:vertical;line-height:1.4}.ops-intro{margin:0 0 18px;color:var(--secondary);font-size:14px}.ops-inline-actions{display:flex;align-items:center;gap:12px}.ops-inline-actions .ops-text-button{font-size:12px}.ops-review-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ops-review-photos>button{padding:6px;background:var(--surface-soft);border-radius:11px}.ops-review-photos img{height:180px;object-fit:contain;background:#eae3cf;margin:0}.ops-review-photos small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:6px;text-align:center}.ops-inbound-form .inbound-summary{margin:18px 0;border-radius:12px;padding:8px 12px;background:var(--surface)}.ops-inbound-form .inbound-summary dt,.ops-inbound-form .inbound-summary dd{padding:9px 0;font-size:14px;line-height:1.4}.ops-inbound-form .inbound-summary dt{padding-right:9px}.inbound-summary dd>.ops-icon{width:17px;height:17px;margin-right:6px}.warehouse-warning.ops-callout{background:#fff4da;color:#70430b;border:1px solid #f0d58e}.ops-callout strong{font-size:16px}.ops-callout p{margin:4px 0 0;font-size:13px;font-weight:400}.ops-review-help{text-align:center;margin:15px 0 4px;font-size:12px}.ops-written-list{background:var(--surface-soft);border:1px solid var(--line);padding:8px 12px;border-radius:12px}.ops-written-list p{display:flex;flex-direction:column;gap:5px;font-size:14px}.ops-written-list span{color:var(--secondary)}.ops-inspection-owner{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:12px;color:var(--secondary)}.ops-inspection-owner>span{display:flex;align-items:center;gap:5px}.ops-role-badge{padding:5px 8px;border-radius:20px;background:var(--surface-soft);color:var(--brand);font-weight:750}.ops-role-badge .ops-icon{width:17px;height:17px}.ops-proof-viewer{margin:5px 0 16px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface-soft)}.ops-proof-toolbar{display:flex;gap:5px;align-items:center;padding:5px;border-bottom:1px solid var(--line)}.ops-proof-toolbar>button{min-height:38px;min-width:38px;border:0;border-radius:8px;background:var(--surface);color:var(--text);display:flex;align-items:center;justify-content:center;gap:4px;padding:6px}.ops-proof-toolbar>strong{font-size:12px;flex:1;text-align:center;color:var(--text);white-space:nowrap}.ops-proof-toolbar .ops-proof-expand{font-size:12px;min-width:68px}.ops-proof-toolbar .ops-icon{width:19px;height:19px}.ops-proof-image{display:block;border:0;padding:5px;background:var(--surface-soft);width:100%;min-height:140px;cursor:zoom-in}.ops-proof-image img{width:100%;height:230px;object-fit:contain;background:#eee6d4;display:block;border-radius:6px}.ops-item-card{padding:11px;margin:12px 0;box-shadow:0 2px 8px #19352208}.ops-item-card legend{font-size:12px;color:var(--secondary)}.ops-item-search{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--line);margin-bottom:7px}.ops-item-search .ops-icon{color:var(--brand);width:20px;height:20px}.ops-inbound-form .ops-item-search input{border:0!important;font-size:17px;font-weight:800;letter-spacing:-.4px;padding:8px 0;box-shadow:none;margin:0;background:transparent!important;width:0;flex:1}.ops-item-fields{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:7px;margin:8px 0}.ops-item-fields label{min-width:0}.ops-item-fields label>span{display:block;font-size:11px;color:var(--secondary);font-weight:600;margin:1px 0 4px}.ops-item-fields input,.ops-item-fields select{width:100%;padding:8px 6px!important;font-size:14px!important;text-align:center;margin:0}.ops-pack-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line)}.ops-pack-controls label{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}.ops-inbound-form .ops-pack-controls input{width:58px;font-size:14px;text-align:center;padding:7px 4px;margin:0;min-height:38px}.ops-item-bottom{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:6px;flex-wrap:wrap}.ops-item-bottom .inbound-conversion{background:#e6f6dc;color:#175128!important;border-radius:8px;font-weight:800;padding:7px 10px;margin:0;font-size:14px}.ops-remove-item{color:var(--secondary);font-size:11px}.ops-stack-actions{display:flex;flex-direction:column;gap:3px}.ops-stack-actions>.button{width:100%;min-height:44px;border-color:var(--brand);color:var(--brand);font-size:15px}.ops-compare-group{margin-bottom:11px}.ops-inspection-memo{padding:8px 10px;font-size:12px;margin:10px 0}.ops-method-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.ops-method-shortcuts>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:85px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);padding:10px 4px;box-shadow:0 3px 8px #19352207}.ops-method-shortcuts .ops-icon{width:29px;height:29px;color:var(--brand)}.ops-method-shortcuts strong{font-size:14px}.inbound-page-actions>.ops-primary{min-height:50px;font-size:17px}.ops-admin-overview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.ops-admin-overview>div{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--surface-soft);color:var(--text)}.ops-admin-overview>div>.ops-icon{width:34px;height:34px;color:var(--brand)}.ops-admin-overview span{font-size:12px}.ops-admin-overview strong{display:block;font-size:27px;margin-top:6px;color:var(--text)}.ops-admin-overview small{font-size:12px;margin-left:6px;font-weight:500}.ops-admin-overview strong.ops-admin-role{font-size:17px}.ops-admin-section{margin:25px 0}.ops-admin-section .ops-section-heading>.button{display:flex;gap:5px;align-items:center;min-height:44px}.ops-admin-list{background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden}.ops-company-row{display:flex;align-items:center;gap:11px;padding:17px 14px;color:var(--text);border-bottom:1px solid var(--line);flex-wrap:wrap}.ops-company-row:last-child{border:0}.ops-admin-avatar{width:45px;height:45px;display:grid;place-items:center;background:var(--surface-soft);color:var(--brand);border-radius:13px;flex-shrink:0}.ops-admin-avatar .ops-icon{width:27px;height:27px}.ops-admin-row-main{flex:1;min-width:130px}.ops-admin-row-main>strong{font-size:16px;color:var(--text)}.ops-admin-row-main>div{display:flex;align-items:center;gap:6px;margin-top:6px;flex-wrap:wrap}.ops-admin-row-main p{font-size:12px;color:var(--secondary);margin:6px 0 0;overflow-wrap:anywhere;line-height:1.5}.ops-admin-row-actions{display:flex;align-items:center;gap:8px}.ops-company-row .button{min-height:44px;padding:10px 13px;font-size:13px}.ops-account-role{color:var(--secondary);font-size:11px}.ops-admin-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-admin-tools>.button{min-height:54px;font-size:13px;text-align:center;white-space:normal}.ops-admin-locked{display:flex;gap:11px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--surface);color:var(--secondary);font-size:13px;line-height:1.6}.ops-admin-locked>.ops-icon{color:var(--brand);width:32px;height:32px}.ops-admin-settings,.ops-archived{margin-top:18px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text)}.ops-admin-settings>summary,.ops-archived>summary{cursor:pointer;font-size:13px;font-weight:700;min-height:30px}.ops-admin-settings .ops-icon{margin-right:6px}.ops-account-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.ops-account-heading strong{font-size:20px}.ops-account-heading p{margin:5px 0;font-size:13px;color:var(--secondary)}.ops-account-heading small{font-size:11px;color:var(--secondary)}.ops-permission-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 10px;border-bottom:1px solid var(--line);min-height:68px;color:var(--text);cursor:pointer}.ops-permission-row>span:first-child{flex:1;min-width:0}.ops-permission-row strong{display:block;font-size:14px;line-height:1.4}.ops-permission-row small{display:block;color:var(--secondary);font-size:11px;line-height:1.5;margin-top:5px}.ops-permission-row input[type=checkbox]{appearance:none!important;min-height:24px!important;width:24px!important;height:24px!important;border:1.5px solid var(--secondary)!important;border-radius:6px!important;padding:0!important;flex-shrink:0;cursor:pointer}.ops-permission-row input:checked{background-color:#087534!important;border-color:#087534!important;box-shadow:inset 0 0 0 5px var(--surface)}.ops-permission-row input:disabled{opacity:.55;cursor:not-allowed}.ops-permission-form>.button{margin-top:20px;min-height:52px;font-size:17px}.ops-color-choices{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 12px}.ops-color-choices>button{background:var(--surface);border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;gap:5px;padding:7px 9px;min-height:38px;color:var(--text);font-size:12px}.ops-color-choices>button[aria-pressed=true]{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);font-weight:800}.ops-color-choices i{width:16px;height:16px;border-radius:50%;border:1px solid #84938a;display:block;flex-shrink:0}
[data-theme=dark] .ops-count{background:#2c5136;color:#d3f2cf}[data-theme=dark] .ops-method-cards>button.selected,[data-theme=dark] .ops-choice-group button[aria-pressed=true]{background:#294331;border-color:#93d39f;color:#e7f4e6;box-shadow:inset 0 0 0 1px #93d39f}[data-theme=dark] .warehouse-note.ops-callout{background:#294b32;color:#e0f5dc}[data-theme=dark] .warehouse-warning.ops-callout{background:#44341b;color:#ffe4af;border-color:#947036}[data-theme=dark] .ops-primary{background:linear-gradient(130deg,#12763c,#065b2a)!important;color:#fff!important;border-color:#6eb382!important}[data-theme=dark] .ops-photo-strip .inbound-photo>button:first-child{background:#294331}[data-theme=dark] .ops-item-bottom .inbound-conversion{background:#2d5034;color:#e0f3d9!important}[data-theme=dark] .ops-permission-row input:checked{background-color:#9cddb0!important;border-color:#9cddb0!important}
@media(min-width:700px){.ops-inbound-sheet{border-radius:22px;margin-bottom:2dvh;max-height:94dvh;height:min(94dvh,1050px)}.ops-form-scroll{padding:20px 28px 26px}.ops-form-footer{padding-left:28px;padding-right:28px}.ops-proof-image img{height:310px}.ops-photo-strip img{height:155px}.ops-method-cards>button{min-height:88px}.ops-other-country{padding-left:115px}}
@media(max-width:430px){.ops-inbound-sheet .sheet-top{padding:15px 15px 12px}.ops-inbound-sheet .sheet-top h2{font-size:22px}.ops-form-scroll{padding:12px 15px 20px}.ops-form-footer{padding:10px 15px max(12px,env(safe-area-inset-bottom))}.ops-form-footer .button{min-height:52px;font-size:18px}.ops-form-footer.inbound-footer .button{font-size:14px}.ops-method-cards{gap:7px}.ops-method-cards>button{padding:12px 9px;gap:7px;min-height:75px}.ops-method-cards strong{font-size:16px}.ops-method-cards small{font-size:10px;white-space:normal}.ops-method-cards>button>.ops-icon{width:28px;height:28px}.ops-inline-field{grid-template-columns:93px minmax(0,1fr);gap:8px;font-size:13px}.ops-other-country{padding-left:101px}.ops-field-help{padding-left:101px;font-size:10px}.ops-sharing-field{grid-template-columns:93px minmax(0,1fr);gap:8px}.ops-sharing-field>strong{font-size:11px}.ops-choice-group{gap:5px}.ops-choice-group button{font-size:12px;padding:8px 6px;gap:5px}.ops-choice-dot{width:17px;height:17px}.ops-inline-actions{gap:8px}.ops-section-heading h3{font-size:17px}.ops-proof-image img{height:215px}.ops-item-fields{gap:5px}.ops-item-fields input,.ops-item-fields select{font-size:13px!important}.ops-pack-controls{gap:8px}.ops-inbound-form .ops-pack-controls input{width:46px}.ops-admin-overview{gap:8px}.ops-admin-overview>div{padding:14px 10px;gap:8px}.ops-admin-overview>div>.ops-icon{width:27px;height:27px}.ops-admin-overview strong.ops-admin-role{font-size:14px}.ops-company-row{padding:14px 11px;gap:9px}.ops-admin-avatar{width:38px;height:38px}.ops-admin-row-main{min-width:120px}.ops-admin-row-main>strong{font-size:15px}.ops-section-heading h2{font-size:17px}.ops-method-shortcuts strong{font-size:13px}.ops-admin-tools{gap:7px}.ops-admin-tools>.button{padding:11px 6px;font-size:12px}}
.ops-sharing-field{display:block;margin-top:18px}.ops-sharing-field>strong{display:block;font-size:14px;margin-bottom:8px}.ops-sharing-field .ops-choice-group button{min-height:58px;white-space:normal;line-height:1.4;font-size:14px;padding:10px 8px}.ops-sharing-field+.ops-field-help{padding-left:0;text-align:center}.ops-confirmed-actions{margin:16px 0}.ops-confirmed-actions>.button{min-height:46px;flex:1;font-size:14px}.ops-color-choices>button{min-height:42px}.ops-color-choices button[aria-pressed=true] i{outline:2px solid var(--brand);outline-offset:2px}
[data-ops-build=warehouse-w5] .topbar .brand-badge{background:#ffffff20;color:#fff;border:1px solid #ffffff50}

/* W4: clamp every sheet to the live viewport, including legacy stock details. */
.overlay{height:100dvh;padding:12px;align-items:center;overflow:hidden;box-sizing:border-box}.sheet{max-height:calc(100dvh - 24px)!important;min-height:0;overflow:hidden}.sheet-top{flex:0 0 auto;gap:10px}.sheet-top h2{flex:1;min-width:0;overflow-wrap:anywhere}.sheet-top .iconbtn{flex-shrink:0}#sheetBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(25px,env(safe-area-inset-bottom))}.ops-inbound-sheet{margin-bottom:0!important}.ops-inbound-sheet #sheetBody{overflow:hidden;min-height:0;padding:0}.ops-stock-detail{min-width:0;width:100%;color:var(--text);padding-bottom:10px}.ops-stock-detail .metric-value{font-size:20px;line-height:1.5;overflow-wrap:anywhere}.ops-stock-detail .note{overflow-wrap:anywhere}.ops-stock-detail .statrow:last-of-type{margin-bottom:14px}.inbound-detail .inbound-photos{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.inbound-detail .inbound-photos>button{min-width:0;overflow-wrap:anywhere}.ops-navigation-bar{display:flex;gap:9px;align-items:center;padding:8px max(16px,calc((100vw - 900px)/2));background:var(--surface);color:var(--text);border-bottom:1px solid var(--line);position:sticky;top:67px;z-index:3}.ops-navigation-bar>button,.ops-sheet-navigation>button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);min-height:40px;padding:8px 12px;font-weight:700;font-size:13px}.ops-navigation-bar>button .ops-icon{width:18px;height:18px}.ops-sheet-navigation{display:flex;align-items:center;gap:5px;flex-shrink:0}.ops-sheet-navigation>button{min-width:34px;width:34px;height:34px;min-height:34px;padding:6px;border-radius:9px}.ops-sheet-navigation>button span{display:none}.ops-sheet-navigation .ops-icon{width:19px;height:19px}.ops-navigation-bar>button:disabled,.ops-sheet-navigation>button:disabled{opacity:.38}.ops-view-enter{animation:ops-view-enter .19s cubic-bezier(.2,.7,.3,1)}.ops-sheet-enter{animation:ops-sheet-enter .18s cubic-bezier(.2,.7,.3,1)}@keyframes ops-view-enter{from{opacity:.3;transform:translateX(9px)}to{opacity:1;transform:translateX(0)}}@keyframes ops-sheet-enter{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.qa-filter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 14px}.qa-filter-tabs>button{background:var(--surface);border:1px solid var(--line);border-radius:20px;color:var(--text);min-height:42px;padding:9px 13px;font-size:13px}.qa-filter-tabs>button[aria-pressed=true]{background:var(--surface-soft);border-color:var(--brand);font-weight:800;color:var(--brand)}.qa-thread-list{display:grid;gap:11px}.qa-thread-card{display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid var(--line);border-radius:15px;padding:16px;background:var(--surface);color:var(--text);min-width:0}.qa-thread-card>strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere;color:var(--text)}.qa-thread-card>small{font-size:12px;color:var(--secondary)}.qa-thread-labels{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.qa-scope-options{display:grid;gap:9px;margin:10px 0 20px}.qa-scope-options label{border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;align-items:center;gap:12px;cursor:pointer;background:var(--surface);color:var(--text)}.qa-scope-options input{width:20px!important;min-height:20px!important;height:20px!important;flex-shrink:0;accent-color:#147338}.qa-scope-options label:has(input:checked){border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.qa-scope-options strong{display:flex;gap:5px;align-items:center;font-size:15px}.qa-scope-options small{display:block;color:var(--secondary);margin-top:6px;font-size:12px;line-height:1.5}.qa-message-body{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);font-size:15px;line-height:1.8}.qa-thread-detail>.qa-message-body{background:var(--surface-soft);padding:15px;border:1px solid var(--line);border-radius:12px}.qa-replies{display:grid;gap:10px}.qa-replies article{border-left:3px solid var(--brand);padding:12px 15px;background:var(--surface-soft);border-radius:0 10px 10px 0}.qa-replies article>small{display:block;color:var(--secondary);margin-top:5px;font-size:11px}.qa-replies .qa-message-body{margin-bottom:0}.qa-thread-detail .button,#qaForm>.button{min-height:50px;margin-top:16px}body:has(#overlay:not(.hidden)){overflow:hidden}
@media(min-width:900px){.ops-navigation-bar{padding-left:max(108px,calc((100vw - 800px)/2))}.topbar{padding-left:100px}}
@media(max-width:640px){.overlay{padding:8px 0 0;align-items:flex-end}.sheet{max-height:calc(100dvh - 8px)!important;border-radius:21px 21px 0 0}.sheet-top h2,.ops-inbound-sheet .sheet-top h2{font-size:19px}.sheet-top{padding:14px 13px 10px;gap:6px}.ops-inbound-sheet .sheet-top{padding:14px 13px 10px}.ops-stock-detail .summary{gap:8px}.ops-stock-detail .metric{padding:12px}.ops-stock-detail .metric-value{font-size:18px}.ops-navigation-bar{padding:7px 14px}.inbound-detail .inbound-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.ops-view-enter,.ops-sheet-enter,.swipe-from-left,.swipe-from-right{animation:none!important;transition:none!important;transform:none!important}}
.ops-photo-navigation{display:inline-flex;gap:5px;align-items:center}.ops-photo-navigation>button{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);color:var(--text);padding:7px}.ops-photo-navigation>button span{display:none}.ops-photo-navigation .ops-icon{width:18px;height:18px}
/* W5 membership hub: visible approval queue and distinct management modes. */
.w5-management-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0}.w5-management-actions .button{display:flex;gap:6px;align-items:center;min-height:46px}.w5-management-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 22px}.w5-management-tabs>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;padding:11px 5px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font-size:14px;font-weight:700}.w5-management-tabs>button>b{font-size:21px;color:var(--brand)}.w5-management-tabs>button[aria-pressed=true]{border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.w5-account-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.w5-account-choices label{position:relative;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);padding:15px 10px;cursor:pointer}.w5-account-choices label:has(input:checked){border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.w5-account-choices input{position:absolute;right:9px;top:9px;min-height:18px!important;width:18px!important;height:18px!important;accent-color:#16743b}.w5-account-choices label>span{display:flex;flex-direction:column;align-items:center;gap:9px}.w5-account-choices .ops-icon{width:30px;height:30px;color:var(--brand)}.w5-account-choices strong{font-size:17px}.w5-account-choices small{font-size:11px;text-align:center;color:var(--secondary)}#signupPartnerFields{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);margin:15px 0}#loginForm input:not([type=radio]):not([type=checkbox]):not([type=file]){width:100%;min-height:45px}#loginForm>.button{min-height:52px;margin:18px 0 12px}.brandname{letter-spacing:-.7px}
@media(max-width:430px){.w5-management-tabs{gap:5px}.w5-management-tabs>button{font-size:12px;min-height:70px}.w5-management-tabs>button>b{font-size:19px}.w5-management-actions>.button{font-size:12px;padding:11px 9px}}

.stock-management-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.stock-management-actions .button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px}.stock-delete-warning{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text)}

.ops-photo-item-count{margin:13px 0 2px}.ops-photo-item-count input{width:100%!important;text-align:center;font-weight:800}.ops-inspection-items{display:contents}.ops-proof-viewer{position:relative;touch-action:pan-y}.ops-proof-side{position:absolute;z-index:4;top:50%;transform:translateY(-25%);width:48px;height:64px;border:1px solid #ffffffa8;border-radius:14px;background:#0a2c20d9;color:#fff;display:grid;place-items:center;box-shadow:0 4px 16px #0005}.ops-proof-side .ops-icon{width:30px;height:30px}.ops-proof-side:disabled{opacity:.3}.ops-proof-prev{left:9px}.ops-proof-next{right:9px}[data-theme=dark] .ops-proof-side{background:#edf7f0e8;color:#153524;border-color:#153524}.ops-proof-image{touch-action:pan-y}
@media(max-width:430px){.ops-proof-side{width:44px;height:58px}.ops-proof-prev{left:6px}.ops-proof-next{right:6px}}
.w5-management-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.w7-management-all>.ops-section-heading{margin-top:26px}.w7-management-all>.ops-section-heading:first-child{margin-top:0}.outbound-stock-options{display:grid;gap:9px;margin:14px 0}.outbound-stock-row{display:grid;grid-template-columns:auto minmax(0,1fr) 92px auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface);color:var(--text)}.outbound-stock-row:has(input[type=checkbox]:checked){border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.outbound-stock-row>input[type=checkbox]{width:21px!important;height:21px!important;min-height:21px!important;accent-color:var(--brand)}.outbound-stock-row>input[type=number]{min-height:42px!important}.outbound-stock-row small{display:block;color:var(--secondary);margin-top:4px}.outbound-request-list{display:grid;gap:10px}.outbound-cart{border:1px solid var(--brand);border-radius:12px;padding:14px;margin:14px 0 22px;background:var(--surface-soft);color:var(--text)}.outbound-cart>strong{display:block;margin-bottom:8px}.outbound-cart p{display:flex;justify-content:space-between;margin:6px 0}.outbound-destination-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.outbound-destination-choice label{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:13px;background:var(--surface);color:var(--text);font-weight:700}.outbound-destination-choice label:has(input:checked){border-color:var(--brand);background:var(--surface-soft)}.outbound-destination-choice input{width:19px!important;height:19px!important;min-height:19px!important;accent-color:var(--brand)}
@media(max-width:700px){.w5-management-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.w5-management-tabs>button:first-child{grid-column:1/-1;min-height:62px}.outbound-stock-row{grid-template-columns:auto minmax(0,1fr) 72px auto;gap:7px}}
.outbound-shared-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.outbound-shared-heading h3{margin:0}.outbound-shared-heading span{color:var(--brand);font-weight:800}.outbound-shared-stock{padding-top:4px;border-top:2px solid var(--brand)}.outbound-photo-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.outbound-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.outbound-camera-button{min-height:94px;border:2px solid var(--brand);border-radius:14px;background:var(--surface-soft);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.outbound-camera-button .ops-icon{width:31px;height:31px;color:var(--brand)}.outbound-camera-button strong{font-size:16px}.outbound-camera-button small{color:var(--secondary)}.outbound-add-material{min-height:94px;display:flex!important;align-items:center;justify-content:center;gap:7px;cursor:pointer}.outbound-photo-names{min-height:38px;padding:9px 11px;border-radius:9px;background:var(--surface-soft);color:var(--secondary);font-size:12px;overflow-wrap:anywhere}
.warehouse-ops-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 24px}.warehouse-ops-summary button{min-height:86px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-weight:800}.warehouse-ops-summary button b{font-size:26px;color:var(--brand)}.warehouse-ops-summary button[aria-pressed=true]{border-color:var(--brand);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--brand)}.warehouse-ops-section{display:block}.warehouse-ops-section[hidden]{display:none}.home-metrics:has(>button:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:640px){.home-metrics:has(>button:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-ops-summary{gap:7px}.warehouse-ops-summary button{min-height:76px;font-size:13px}}
.outbound-detail-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outbound-detail-photos img{width:100%;max-height:240px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.outbound-document-list{display:grid;gap:7px}.outbound-document-list>p{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);margin:0}.outbound-document-list .ops-icon{color:var(--brand)}.outbound-document-list small{display:block;color:var(--secondary);margin-top:3px}
.partner-shared-stock-control{display:flex;align-items:center;gap:12px;margin:12px 0 20px}.partner-shared-stock-control .button{display:flex;align-items:center;gap:7px;min-height:46px}.partner-shared-stock-control .button b{color:var(--brand)}.partner-shared-stock-control small{color:var(--secondary)}.partner-shared-stock-section{margin:22px 0;padding-top:10px;border-top:2px solid var(--brand)}
@media(max-width:640px){.partner-shared-stock-control{align-items:stretch;flex-direction:column;gap:6px}.partner-shared-stock-control small{padding-left:4px}}

/* W15: calm motion across pages and sheets; keep navigation and input focus stable. */
.ops-view-enter{animation:ops-view-enter .32s cubic-bezier(.22,1,.36,1) both}
.ops-sheet-enter{animation:ops-sheet-enter .34s cubic-bezier(.22,1,.36,1) both}
@keyframes ops-view-enter{from{opacity:.35;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes ops-sheet-enter{from{opacity:.35;transform:translate3d(0,18px,0) scale(.99)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
.overlay:not(.hidden){animation:ops-backdrop-enter .25s ease-out both}
@keyframes ops-backdrop-enter{from{background-color:rgba(0,0,0,0)}to{background-color:#111c1670}}
#view.swipe-from-right,#view.swipe-from-left{animation-duration:.32s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
.button,.bottom-nav button,.ops-navigation-bar button{transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,opacity .2s ease}
.outbound-proof-alert{padding:11px 13px;margin:10px 0;border-radius:11px;border:1px solid #c89551;background:#fff8e8;color:#734311;font-size:13px;line-height:1.55;font-weight:650}
.outbound-proof-alert.is-ready{background:#e5f5e9;border-color:#97c5a3;color:#235e36}
[data-theme=dark] .outbound-proof-alert{background:#433423;color:#ffe4b5;border-color:#92703f}
[data-theme=dark] .outbound-proof-alert.is-ready{background:#193c2b;color:#b6f2c9;border-color:#47885b}
@media(prefers-reduced-motion:reduce){.ops-view-enter,.ops-sheet-enter,.overlay:not(.hidden),#view.swipe-from-right,#view.swipe-from-left{animation:none!important}.button,.bottom-nav button,.ops-navigation-bar button{transition:none!important}}

/* W16: legible shipping dialog, carrier dropdown, recent/favorite quick picks */
.w16-shipping-form{display:flex;flex-direction:column;gap:12px;color:var(--text)}
.w16-shipping-form .warehouse-note{margin:0 0 4px;line-height:1.7;font-size:14px}
.w16-shipment-summary{display:grid;gap:10px;border:1px solid var(--line);background:var(--surface-soft);padding:15px;border-radius:14px}
.w16-shipment-summary>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.w16-shipment-summary span{color:var(--secondary);font-size:13px;font-weight:650}
.w16-shipment-summary strong{font-size:16px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-line;color:var(--text)}
.w16-form-label,.w16-other-carrier{display:block;font-weight:800;font-size:16px;line-height:1.5;color:var(--text)}
.w16-large-control,.w16-shipping-form .w16-large-control{display:block;width:100%;min-height:54px;padding:12px 15px;margin:8px 0 0;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-size:17px;line-height:1.4;box-sizing:border-box}
.w16-large-control:focus-visible,.w16-carrier-chip:focus-visible{outline:3px solid #44a66a;outline-offset:2px}
.w16-shipping-choice{display:flex;flex-direction:column;gap:9px;padding:16px 14px;border:1px solid var(--line);background:var(--surface-soft);border-radius:14px}
.w16-required{color:#d25c45}.w16-optional{font-size:12px;color:var(--secondary);font-weight:500}
.w16-other-carrier[hidden]{display:none!important}
.w16-quick-pick{display:grid;gap:8px;margin-top:5px}
.w16-quick-title{color:var(--secondary);font-size:13px;font-weight:750}
.w16-quick-row{display:flex;flex-wrap:wrap;gap:8px}
.w16-carrier-chip{border:1.5px solid var(--line);border-radius:11px;min-height:43px;padding:10px 13px;background:var(--surface);color:var(--text);font-size:14px;font-weight:750;line-height:1.2}
.w16-carrier-chip[aria-pressed=true]{border-color:#29934a;background:#dff3e4;color:#15532b}
.w16-confirm-check{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;font-size:15px;font-weight:700;color:var(--text);cursor:pointer}
.w16-confirm-check input[type=checkbox]{min-width:22px;width:22px;height:22px;margin:0;flex-shrink:0}
.w16-submit{min-height:56px;font-size:17px;margin-top:4px}
@media(max-width:430px){.w16-shipping-choice{padding:13px 11px}.w16-quick-row{gap:7px}.w16-carrier-chip{min-height:43px;padding:9px 11px;font-size:13px}.w16-large-control{font-size:16px}}

/* W17: clear bunch/box quantity controls */
.w17-stock-row{align-items:center;gap:10px}
.w17-quantity-control{display:flex;align-items:center;gap:8px;flex-shrink:0}
.w17-quantity-control input[type=number]{width:88px!important;min-width:70px;min-height:48px!important;padding:9px!important;font-size:17px!important;text-align:center}
.w17-quantity-control select{width:86px!important;min-width:72px;min-height:48px;padding:8px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:16px;font-weight:750}
.w17-free-info{font-size:12px;line-height:1.5}
@media(max-width:480px){.w17-stock-row{flex-wrap:wrap}.w17-quantity-control{margin-left:auto}}

/* W18: simple, readable processing log and post-confirmation close button. */
.w18-history-entry { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:12px 14px; line-height:1.5; overflow-wrap:anywhere; }
.w18-history-entry strong { font-size:14px; }
.w18-history-entry small { font-size:12px; opacity:.75; }
.w18-history-entry span { font-size:14px; white-space:normal; }
.w18-inbound-success { margin:16px 0 4px; display:flex; flex-direction:column; gap:12px; padding:16px; border-radius:12px; background:rgba(34,139,79,.12); border:1px solid rgba(73,174,112,.35); }
.w18-inbound-success strong { font-size:16px; }
.w18-inbound-success button { min-height:48px; font-size:15px; font-weight:700; }

/* W19: 사진 입고요청의 입고 품목 수를 눈에 잘 띄게 표시 */
.ops-inbound-form .ops-photo-item-count{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(128px,42%);
  align-items:center;gap:14px;margin:18px 0 8px;padding:15px 16px;
  border:2px solid #168b4b;border-radius:14px;
  background:var(--surface-soft);box-shadow:0 3px 12px #0b3d2015;
}
.ops-inbound-form .ops-photo-item-count>span:first-child{
  display:flex;flex-direction:column;gap:5px;font-size:19px;font-weight:850;
  letter-spacing:-.4px;line-height:1.3;color:var(--text);
}
.ops-inbound-form .ops-photo-item-count .ops-required-label{
  display:inline-block;align-self:flex-start;padding:3px 7px;
  border-radius:5px;font-size:11px;font-weight:750;
  line-height:1.3;background:#d6f2dd;color:#145a2c;
}
.ops-inbound-form .ops-photo-item-count input[name="expected_item_count"]{
  min-height:58px!important;width:100%!important;
  padding:8px 12px!important;border:2px solid #168b4b!important;
  border-radius:10px!important;font-size:26px!important;font-weight:850!important;
  text-align:center!important;font-variant-numeric:tabular-nums;
  background:var(--surface)!important;color:var(--text)!important;
}
.ops-inbound-form .ops-photo-item-count input[name="expected_item_count"]:focus-visible{
  outline:3px solid #79c79a;outline-offset:2px;
}
.ops-inbound-form #photoItemCountHelp{
  padding:0 3px;margin:0 0 16px;
  font-size:12px;line-height:1.55;text-align:left;color:var(--secondary);
}
[data-theme="dark"] .ops-inbound-form .ops-photo-item-count{
  border-color:#65b989;background:#233c30;
}
[data-theme="dark"] .ops-inbound-form .ops-photo-item-count .ops-required-label{
  background:#245c3a;color:#e3f8e8;
}
[data-theme="dark"] .ops-inbound-form .ops-photo-item-count input[name="expected_item_count"]{
  border-color:#75ca97!important;background:#112b20!important;color:#fff!important;
}
@media(max-width:430px){
  .ops-inbound-form .ops-photo-item-count{grid-template-columns:minmax(0,1fr) 120px;gap:9px;padding:12px 11px}
  .ops-inbound-form .ops-photo-item-count>span:first-child{font-size:17px}
  .ops-inbound-form .ops-photo-item-count input[name="expected_item_count"]{min-height:54px!important;font-size:24px!important}
}

/* W20: photo-inbound count and expected arrival date, side by side */
.ops-inbound-form .w20-inbound-primary-fields{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;margin:18px 0 8px;align-items:stretch;
}
.ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count,
.ops-inbound-form .w20-inbound-primary-fields .w20-prominent-date{
  box-sizing:border-box;min-width:0;width:100%;margin:0;
  padding:14px;border:2px solid #168b4b;border-radius:14px;
  background:var(--surface-soft);box-shadow:0 3px 12px #0b3d2015;
  display:flex;flex-direction:column;gap:10px;justify-content:space-between;
}
.ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count>span:first-child,
.ops-inbound-form .w20-inbound-primary-fields .w20-prominent-date>span:first-child{
  font-size:18px;font-weight:850;letter-spacing:-.3px;
  line-height:1.4;color:var(--text);
  display:flex;flex-wrap:wrap;gap:5px 7px;align-items:center;
}
.ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count>span:last-child{min-width:0;width:100%;}
.ops-inbound-form .w20-inbound-primary-fields input[name="expected_item_count"],
.ops-inbound-form .w20-inbound-primary-fields input#inboundDate{
  box-sizing:border-box;min-width:0;width:100%!important;min-height:58px!important;
  border:2px solid #168b4b!important;border-radius:10px!important;
  background:var(--surface)!important;color:var(--text)!important;
  font-weight:800!important;font-variant-numeric:tabular-nums;
}
.ops-inbound-form .w20-inbound-primary-fields input[name="expected_item_count"]{font-size:24px!important;text-align:center!important;}
.ops-inbound-form .w20-inbound-primary-fields .ops-date-control{
  min-width:0;width:100%;height:auto;position:relative;display:flex;align-items:center;
}
.ops-inbound-form .w20-inbound-primary-fields input#inboundDate{
  padding:8px 9px 8px 30px!important;font-size:15px!important;
}
.ops-inbound-form .w20-inbound-primary-fields .ops-date-control>.ops-icon{
  position:absolute;left:9px;z-index:1;pointer-events:none;
}
.ops-inbound-form .w20-inbound-primary-fields input:focus-visible{
  outline:3px solid #79c79a;outline-offset:2px;
}
[data-theme="dark"] .ops-inbound-form .w20-inbound-primary-fields .w20-prominent-date,
[data-theme="dark"] .ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count{
  border-color:#65b989;background:#233c30;
}
[data-theme="dark"] .ops-inbound-form .w20-inbound-primary-fields input#inboundDate{
  border-color:#75ca97!important;background:#112b20!important;color:#fff!important;
  color-scheme:dark;
}
@media(max-width:430px){
  .ops-inbound-form .w20-inbound-primary-fields{gap:8px;}
  .ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count,
  .ops-inbound-form .w20-inbound-primary-fields .w20-prominent-date{padding:9px;gap:7px;}
  .ops-inbound-form .w20-inbound-primary-fields .ops-photo-item-count>span:first-child,
  .ops-inbound-form .w20-inbound-primary-fields .w20-prominent-date>span:first-child{font-size:15px;}
  .ops-inbound-form .w20-inbound-primary-fields input[name="expected_item_count"],
  .ops-inbound-form .w20-inbound-primary-fields input#inboundDate{min-height:52px!important;}
  .ops-inbound-form .w20-inbound-primary-fields input#inboundDate{font-size:13px!important;padding:7px 3px 7px 24px!important;}
  .ops-inbound-form .w20-inbound-primary-fields .ops-date-control>.ops-icon{left:5px;width:15px;height:15px;}
}


/* W21 — confirmed inbound details: clear quantities, compact attachments */
.w21-inbound-detail{color:var(--text)}
.w21-inbound-summary{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:16px;margin:12px 0 18px}
.w21-inbound-status{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;color:var(--brand);margin-bottom:14px}
.w21-inbound-status-dot{width:9px;height:9px;border-radius:50%;background:#16824a;box-shadow:0 0 0 4px rgba(25,147,78,.12)}
.w21-inbound-facts{display:grid;grid-template-columns:1.25fr 1.2fr .85fr;gap:9px}
.w21-inbound-facts>div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px;min-width:0}
.w21-inbound-facts span{display:block;font-size:12px;font-weight:650;color:var(--secondary);margin-bottom:7px}
.w21-inbound-facts strong{display:block;color:var(--text);font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.w21-inbound-facts small{font-size:12px;margin-left:3px}
.w21-inbound-goods{margin:14px 0 18px}
.w21-inbound-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.w21-inbound-section-heading h3{margin:0;font-size:18px;color:var(--text);font-weight:850}
.w21-inbound-section-heading>span{font-size:13px;font-weight:750;color:var(--brand);background:var(--surface-soft);padding:6px 10px;border-radius:30px}
.w21-inbound-item{display:flex;align-items:center;gap:12px;padding:14px 12px;margin-bottom:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.w21-inbound-index{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--surface-soft);color:var(--brand);font-size:14px;font-weight:850;flex-shrink:0}
.w21-inbound-item-body{min-width:0;flex:1}
.w21-inbound-name{font-size:17px;font-weight:850;color:var(--text);overflow-wrap:anywhere;line-height:1.4}
.w21-inbound-grade{font-size:12px;font-weight:700;border:1px solid var(--line);padding:2px 6px;border-radius:6px;white-space:nowrap;vertical-align:middle}
.w21-inbound-item-meta{display:flex;flex-wrap:wrap;gap:6px;color:var(--secondary);font-size:11px;margin-top:6px;overflow-wrap:anywhere}
.w21-inbound-quantity{min-width:100px;text-align:center;border:1px solid rgba(53,142,87,.5);background:var(--surface-soft);border-radius:10px;padding:10px 8px;color:var(--text);white-space:nowrap}
.w21-inbound-quantity strong{font-size:27px;font-weight:900;letter-spacing:-.8px}
.w21-inbound-quantity span{font-size:14px;font-weight:800;margin-left:5px}
.w21-inbound-attachments{border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:14px 0;padding:0 12px}
.w21-inbound-attachments>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;font-size:14px;font-weight:750;color:var(--text)}
.w21-inbound-attachments>summary span{color:var(--secondary);font-weight:600}
.w21-inbound-attachments>.inbound-photos{margin:0 0 12px}
.w21-inbound-meta{margin:12px 0;border-bottom:1px solid var(--line);padding-bottom:8px;color:var(--text)}
.w21-inbound-meta b{font-size:13px}
.w21-inbound-meta p{font-size:13px;line-height:1.6;margin:5px 0}
.w21-inbound-stock-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.w21-inbound-stock-links button{min-height:44px}
@media(max-width:600px){.w21-inbound-summary{padding:11px}.w21-inbound-facts{grid-template-columns:1fr 1fr}.w21-inbound-facts>div:last-child{grid-column:1/-1}.w21-inbound-facts strong{font-size:15px}.w21-inbound-name{font-size:15px}.w21-inbound-item{gap:8px;padding:10px 8px}.w21-inbound-quantity{min-width:82px;padding:8px 5px}.w21-inbound-quantity strong{font-size:23px}.w21-inbound-section-heading h3{font-size:16px}}

/* W22 — visible box vs bunch icons immediately before inbound quantity. */
.w21-inbound-quantity{display:flex;align-items:center;justify-content:center;gap:5px;min-width:123px;padding:10px 8px}
.w22-quantity-symbol{display:inline-flex;align-items:center;justify-content:center;color:var(--brand);flex-shrink:0}
.w22-quantity-icon{height:26px;width:26px;display:block;stroke:currentColor}
.w21-inbound-quantity .w22-quantity-unit{margin-left:1px;white-space:nowrap}
@media(max-width:600px){.w21-inbound-quantity{min-width:106px;padding:9px 6px;gap:3px}.w22-quantity-icon{height:21px;width:21px}}

/* W23: 작업기록 페이지당 5개 */
.work-history-note{color:var(--secondary);font-size:13px;margin:4px 0 12px;line-height:1.5}
.work-history-pages{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 8px 8px;flex-wrap:wrap}
.work-history-pages button{min-width:88px;min-height:44px;padding:9px 16px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--surface);font-size:14px;font-weight:750;cursor:pointer}
.work-history-pages button:not(:disabled):hover{border-color:var(--brand);background:var(--surface-soft)}
.work-history-pages button:disabled{opacity:.36;cursor:not-allowed}
.work-history-page-count{min-width:94px;text-align:center;color:var(--text);font-size:14px;font-weight:750}

/* W24: signup partner company before contact name */
.w24-signup-partner:not([hidden]){display:block;margin:14px 0 16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.w24-company-field{font-size:16px;font-weight:800;color:var(--text)}
.w24-company-field input{min-height:48px;font-size:16px;margin-top:8px}
.w24-signup-partner .hint{margin:8px 0 0;font-size:12px;line-height:1.6}

/* W25: 카메라 촬영 / 사진첩 선택 UI (신규 가입) */
.w25-signup-photo{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:14px;margin:14px 0;color:var(--text)}
.w25-photo-heading{display:flex;align-items:center;gap:9px;font-size:16px;margin-bottom:12px;color:var(--text)}
.w25-photo-heading .ops-icon{width:25px;height:25px;color:var(--brand)}
.w25-photo-heading small{font-weight:500;font-size:12px;color:var(--secondary)}
.w25-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.w25-photo-button{display:flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid var(--brand);background:var(--surface);border-radius:12px;min-height:82px;padding:12px 8px;cursor:pointer;color:var(--text);text-align:left}
.w25-photo-button:hover,.w25-photo-button:focus-within{background:var(--surface-soft);box-shadow:0 0 0 2px rgba(63,158,97,.16)}
.w25-photo-button .ops-icon{flex:none;width:29px;height:29px;color:var(--brand)}
.w25-photo-button strong,.w25-photo-button small{display:block;line-height:1.45}
.w25-photo-button strong{font-size:15px;font-weight:800}
.w25-photo-button small{font-size:11px;color:var(--secondary)}
.w25-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.w25-photo-selected{padding:12px 10px;margin-top:10px;border-radius:8px;font-size:13px;color:var(--secondary);background:var(--surface);overflow-wrap:anywhere}
.w25-photo-selected.has-photo{color:var(--text);font-weight:750;border:1px solid var(--brand)}
.w25-photo-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.w25-photo-preview[hidden]{display:none!important}
.w25-photo-preview img{width:68px;height:68px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.w25-photo-preview button{min-height:42px}
@media(max-width:440px){.w25-photo-button{gap:6px;padding:10px 5px;flex-direction:column;text-align:center}.w25-photo-button strong{font-size:13px}.w25-photo-button .ops-icon{width:26px;height:26px}}

/* W26: unified task states and archived outbound history */
.badge.w26-status{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:800;white-space:normal;line-height:1.35}
.badge.w26-status:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}
.badge.w26-danger{color:#B32631;background:#FBE7E9;border-color:#EFB3B9}
.badge.w26-warning{color:#965500;background:#FFF0D4;border-color:#F0C882}
.badge.w26-progress{color:#215E99;background:#E5F1FF;border-color:#BDD4F5}
.badge.w26-success{color:#136837;background:#E6F6EA;border-color:#A9D9B6}
.badge.w26-neutral{color:#55616B;background:#EDF1F3;border-color:#D5DEE2}
:root[data-theme=dark] .badge.w26-danger{color:#FFC2C5;background:#592A32;border-color:#A7505C}
:root[data-theme=dark] .badge.w26-warning{color:#FFD99A;background:#513A22;border-color:#AA7C3F}
:root[data-theme=dark] .badge.w26-progress{color:#C2DFFF;background:#203B56;border-color:#4A759E}
:root[data-theme=dark] .badge.w26-success{color:#B7F0C8;background:#1D4731;border-color:#49865D}
:root[data-theme=dark] .badge.w26-neutral{color:#DCE5E3;background:#34403B;border-color:#66746D}
.w26-hold-action{color:#C1842D!important;border-color:#C1842D!important;font-weight:800}
.w26-history-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.w26-history-filters button{border:1px solid var(--line);border-radius:11px;padding:10px 13px;min-height:44px;color:var(--text);background:var(--surface);font-size:14px;font-weight:750;cursor:pointer}
.w26-history-filters button b{margin-left:5px;font-size:12px;opacity:.8}
.w26-history-filters button[aria-pressed=true]{border:2px solid var(--brand);background:var(--surface-soft)}
.w26-history-filters .w26-filter-cancel[aria-pressed=true]{border-color:#CC565D;color:#D45760}
.w26-history-filters .w26-filter-hold[aria-pressed=true]{border-color:#C38A38;color:#C18B42}
.w26-history-search{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.w26-history-search label{font-size:13px;font-weight:800;color:var(--text)}
.w26-history-search input{min-height:46px;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:10px 14px;font-size:15px}
.w26-record-card{border-bottom:1px solid var(--line);padding:16px 12px;display:flex;flex-direction:column;gap:9px;color:var(--text)}
.w26-record-card:last-child{border-bottom:0}
.w26-record-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--secondary)}
.w26-record-card>strong{font-size:16px}.w26-record-card>p{margin:0;font-size:13px;line-height:1.55;color:var(--secondary)}
.w26-record-log{border-bottom:1px solid var(--line);padding-top:9px}.w26-record-log>.badge{margin:0 0 5px 10px}

/* W27: 완료 출고기록 가독성·분류 */
.w27-record-complete{border-left:4px solid #288c59}
.w27-record-cancel{border-left:4px solid #c44b4b}
.w27-record-hold{border-left:4px solid #d59436}
.w27-shipment-info{font-size:13px;font-weight:700;overflow-wrap:anywhere;padding:8px 10px;border-radius:8px;background:var(--surface-soft);color:var(--text)}
.w26-history-filters{display:flex;flex-wrap:wrap;gap:8px}
.w26-history-filters button[data-w26-filter="complete"][aria-pressed="true"]{border-color:#27925c;background:#267747;color:#fff}

/* W28: 입고 확정은 기록으로 이동하고 입고 요청은 대기 항목만 표시 */
.w28-inbound-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.w28-active-count{font-weight:750;color:var(--text)}
.w28-active-count b{font-size:19px;color:var(--brand)}
.w28-inbound-record{border-left:4px solid #288c59}
.w26-history-filters .w26-filter-inboundcomplete[aria-pressed="true"],.w26-history-filters .w26-filter-outboundcomplete[aria-pressed="true"]{background:#267747;color:white;border-color:#288c59}

/* W30: shared inventory selector and shared sale permission */
.ops-sharing-field{padding:15px;border:2px solid #65b98b;border-radius:13px;background:rgba(38,105,69,.12);margin:16px 0 8px}
.ops-sharing-field>strong{font-size:17px;display:block;margin-bottom:11px}
.ops-sharing-field .ops-choice-group button{min-height:56px;font-size:15px;font-weight:750}
.w30-outbound-stock-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.w30-stock-tab{display:flex;align-items:center;justify-content:center;gap:6px;padding:13px 8px!important;font-size:14px;font-weight:800;min-height:58px;border:1px solid var(--line);color:var(--text);background:var(--surface)}
.w30-stock-tab.active{background:var(--brand);border-color:var(--brand);color:#fff}
.w30-stock-tab b{display:inline-block;border-radius:12px;padding:2px 7px;background:rgba(130,180,150,.2)}
.w30-stock-panel[hidden]{display:none!important}
.w30-stock-panel{padding:12px 0 4px}
.w30-stock-panel h3{margin:5px 0 14px;font-size:17px}
@media(max-width:480px){.w30-outbound-stock-switch{gap:6px}.w30-stock-tab{font-size:12px;padding:10px 5px!important}}

/* W31: Restore warehouse outbound visibility on home and in quick actions */
.home-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.w31-outbound-metric{border:1px solid var(--line);background:var(--surface);color:var(--text)}
.w31-outbound-metric .metric-symbol{color:var(--brand)}
.w31-quick-outbound{font-weight:800}
@media(max-width:460px){.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-metric{min-height:114px}}
@media(min-width:461px) and (max-width:660px){.home-metric{padding:12px 5px}.home-metric span:not(.metric-symbol){font-size:11px}}


/* W32: box/bunch quantity badges across outbound, detail, history */
.w21-inbound-quantity{justify-content:flex-end}
.w21-inbound-badge,.w32-unit-badge{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;color:var(--text)}
.w32-unit-badge{padding:4px 9px;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);font-weight:800;line-height:1.2}
.w32-unit-badge strong{font-size:15px;color:var(--text)}
.w32-unit-badge .w32-unit-name{font-size:13px;color:var(--secondary);font-weight:800;white-space:nowrap}
.w32-unit-badge .w32-unit-mark{display:inline-flex;align-items:center;justify-content:center;color:var(--brand)}
.w32-unit-badge .w32-unit-icon{width:19px;height:19px;display:block}
.w32-unit-badge-inline{margin-left:4px}
.w32-unit-badge-compact{padding:4px 8px;min-width:auto}
.w32-unit-badge-compact strong{font-size:14px}
.w32-unit-badge.is-box .w32-unit-mark{color:#207a45}
.w32-unit-badge.is-bundle .w32-unit-mark{color:#34885d}
.outbound-cart p{align-items:center;gap:8px}
.outbound-cart p>span:first-child{flex:1;min-width:0}
.outbound-detail .ops-written-list p,.w26-record-card p{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.w17-stock-row small .w32-unit-badge{margin-left:4px}
.w16-quick-title{display:flex;align-items:center;gap:6px}
@media(max-width:600px){.w32-unit-badge{gap:5px;padding:3px 8px}.w32-unit-badge .w32-unit-icon{width:17px;height:17px}.w32-unit-badge strong{font-size:14px}.w32-unit-badge .w32-unit-name{font-size:12px}}

/* W33 기록 보관/복구 — 기록 페이지 5건 유지 */
.w33-control-panel{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:13px;margin:12px 0 16px}
.w33-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.w33-mode-tabs button{min-height:45px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-size:14px;font-weight:800}
.w33-mode-tabs button[aria-pressed="true"]{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);color:var(--brand);background:var(--surface-soft)}
.w33-bulk-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.w33-bulk-actions button{flex:1;min-height:44px;padding:9px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-weight:750;color:var(--text)}
.w33-bulk-actions button[data-w33-bulk="all"]{border-color:#b85f59;color:#d47770}
.w33-bulk-actions button:disabled{opacity:.4}
.w33-managed-record{position:relative;margin:0 0 10px}
.w33-record-manage{display:flex;justify-content:flex-end;padding:0 8px 9px}
.w33-record-action{min-height:40px;padding:8px 18px;border:1px solid #ad6868;background:transparent;color:#db8787;border-radius:9px;font-size:13px;font-weight:800}
.w33-record-action.restore{color:var(--brand);border-color:var(--brand)}
@media(max-width:480px){.w33-bulk-actions{flex-direction:column}.w33-record-action{width:100%}}

/* W34: five-row stock movement pages + stock waste action */
.stock-movement-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 8px;flex-wrap:wrap}
.stock-movement-pages button{min-height:44px;padding:9px 16px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:14px;font-weight:750}
.stock-movement-pages button:disabled{opacity:.4;cursor:not-allowed}
.stock-movement-pages span{font-weight:750;color:var(--text);font-size:14px}
.stock-management-actions [data-stock-kind=waste]{border:1px solid #a86439!important;color:#e7a46d!important}
.stock-management-actions [data-stock-kind=waste]:hover{background:rgba(184,112,43,.12)!important}

.w35-signup-card{border-left:4px solid #48a472}.w35-danger{color:#ffabab!important;border-color:#ad5656!important}.w35-approval-note{display:grid;gap:5px;padding:13px;border:2px solid #4f9a6c;border-radius:12px;background:var(--surface-soft);margin:8px 0 15px}.w35-approval-note strong{font-size:18px}.w35-approval-note small{color:var(--secondary)}.w35-deleted-signups{margin:20px 0}.w35-deleted-signups summary{cursor:pointer;font-weight:800;padding:12px;border:1px solid var(--line);border-radius:12px}.w35-deleted-signups .ops-admin-list{margin-top:12px}

/* W36: calendar ledger archive + flower stock sorting/pagination */
.w36-stock-controls{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}
.w36-stock-controls button,.w36-ledger-tabs button{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 13px;min-height:44px;font-size:14px;font-weight:750}
.w36-stock-controls button[aria-pressed=true],.w36-ledger-tabs button[aria-pressed=true]{background:var(--surface-soft);border-color:var(--brand);color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.w36-stock-pages{display:flex;gap:12px;align-items:center;justify-content:center;margin:15px 0 22px;flex-wrap:wrap;color:var(--text);font-size:13px;font-weight:750}
.w36-stock-pages button{background:var(--surface);border:1px solid var(--line);padding:9px 13px;border-radius:10px;min-height:42px;color:var(--text)}
.w36-stock-pages button:disabled{opacity:.35}
.w36-move-archive{border:1px solid #C77B64;color:#D88870;background:transparent;font-size:12px;font-weight:800;border-radius:9px;min-height:36px;padding:7px 10px;cursor:pointer}
.movement-line .w36-move-archive{flex-shrink:0;margin-left:auto}
.w36-record-header,.w36-ledger-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}
.w36-record-header{justify-content:space-between}
.w36-record-header b{font-size:19px}
.w36-ledger-search{display:block;font-size:14px;font-weight:750;margin:18px 0 12px}
.w36-ledger-search input{display:block;width:100%;min-height:48px;border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:7px;background:var(--surface);color:var(--text);font-size:15px}
.w36-ledger-rows{display:grid;gap:10px;margin:12px 0}
.w36-ledger-card{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px;color:var(--text)}
.w36-ledger-card>div:first-child{display:grid;gap:6px;min-width:180px;flex:1}
.w36-ledger-card span{display:block;font-size:12px;color:var(--secondary)}
.w36-ledger-qty{text-align:right}.w36-ledger-qty strong{font-size:16px}.w36-ledger-qty small{font-size:11px}
.w36-archived{color:#B97745!important}
@media(max-width:520px){.w36-ledger-card{flex-direction:column;align-items:stretch}.w36-ledger-qty{text-align:left}.movement-line .w36-move-archive{margin-left:0}}

/* W37: exact shipped-only history tab */
.w26-history-filters .w26-filter-shippedonly{border-color:#539d75;font-weight:800}
.w26-history-filters .w26-filter-shippedonly[aria-pressed="true"]{background:#236b46;color:#fff;border-color:#236b46}
.w27-shipment-info{line-height:1.7;word-break:break-word}

/* W38 — familiar Windows-style trash UI. */
.w38-trash-panel{padding:16px;border-radius:16px}
.w38-trash-panel .w33-mode-tabs button{min-height:58px;font-size:16px}
.w38-trash-panel .w33-mode-tabs button[data-w33-view=archived][aria-pressed=true]{border-color:#ce887a;color:#ce887a;background:rgba(194,95,72,.08)}
.w38-trash-panel>.hint{font-size:13px;line-height:1.7}
.w33-bulk-actions button[data-w38-purge],.w33-record-action.purge{color:#eb8b7c;border-color:#bb5b55;font-weight:800}
.w33-bulk-actions button.w38-empty-trash{color:white;background:#9b3434;border-color:#9b3434}
.w33-bulk-actions button.w38-empty-trash:disabled{opacity:.42}
.w33-record-manage{gap:10px;flex-wrap:wrap}
.w33-record-action{min-height:44px}
.w33-record-action.archive{color:var(--text);border-color:var(--line)}
@media(max-width:480px){.w33-bulk-actions button{width:100%}.w33-record-manage{padding:9px}.w33-record-action{flex:1;min-width:125px}}

/* W39: 각 작업기록의 관리 버튼을 기록 상단 툴바로 이동 */
.w33-managed-record{margin-bottom:14px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--surface)}
.w39-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:57px;padding:8px 12px;background:var(--surface-soft);border-bottom:1px solid var(--line)}
.w39-record-identifier{font-weight:800;font-size:13px;line-height:1.35;color:var(--text);overflow-wrap:anywhere;min-width:0}
.w39-record-toolbar .w33-record-manage{display:flex;justify-content:flex-end;gap:8px;flex-shrink:0;margin:0;padding:0}
.w39-record-toolbar .w33-record-action{min-height:40px;white-space:nowrap;padding:8px 12px}
.w33-managed-record>.w26-record-card,.w33-managed-record>.w26-record-log{border:0!important;border-radius:0!important;margin:0!important}
.w33-managed-record>.w26-record-log .rowcard{border:0!important;border-radius:0!important}
@media(max-width:560px){.w39-record-toolbar{flex-wrap:wrap;gap:7px;padding:9px}.w39-record-identifier{width:100%}.w39-record-toolbar .w33-record-manage{width:100%}.w39-record-toolbar .w33-record-action{flex:1;min-width:0}}

/* W40 */
.w40-no-stock{padding:14px;border-radius:10px;border:1px solid #b3833b;background:var(--surface-soft);font-size:14px;line-height:1.6;margin:10px 0}

/* W41: clear attachment validation and feedback */
.w41-file-error{background:#4d2424!important;border-color:#b34e4e!important;color:#ffd0cb!important;font-weight:800}
#outboundSubmit[disabled]{opacity:.72;cursor:progress}
#outboundDocumentNames,#outboundPhotoNames{overflow-wrap:anywhere;line-height:1.5;padding:10px 12px;border-radius:9px}

/* W42: explicit deletion guard for reserved LOTs */
.w42-delete-blocked{display:grid;gap:12px;color:var(--text)}
.w42-warning-heading{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #d09845;border-radius:12px;background:var(--surface-soft);font-size:16px;line-height:1.5;color:var(--text)}
.w42-warning-heading .ops-icon{flex:0 0 24px;color:#d09845;width:24px;height:24px}
.w42-reserve-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.w42-reserve-grid>div{display:grid;gap:4px;padding:13px;border:1px solid var(--line);border-radius:12px}
.w42-reserve-grid small{color:var(--secondary);font-size:12px}
.w42-reserve-grid strong{font-size:18px}
.w42-related-orders{padding:0 0 0 22px;margin:0;color:var(--text);line-height:1.6}
.w42-delete-blocked .actions{flex-wrap:wrap}
.w42-delete-blocked .actions button{min-height:48px}

/* W43 - reservation quantity on flower stock list (box/bunch icons) */
.stock-tile .w43-reservation{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:7px;padding:6px 9px;border-radius:9px;border:1px solid #cd9a4a;background:rgba(214,145,38,.13);width:fit-content;max-width:100%;box-sizing:border-box}
.w43-reservation-title{font-size:12px;font-weight:850;color:#c08127;white-space:nowrap}
.w43-reservation-pieces{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.w43-reservation .w43-reservation-badge{display:inline-flex;gap:4px;padding:3px 7px;border-radius:7px;background:var(--surface);border-color:#cd9a4a}
.w43-reservation-badge strong{font-size:13px!important;font-weight:800!important}
.w43-reservation-badge .w32-unit-name{font-size:12px}
.w43-reservation-badge .w32-unit-icon{width:17px;height:17px}
[data-theme=dark] .w43-reservation-title{color:#f3c77b}
@media(max-width:500px){.stock-tile .w43-reservation{width:100%;gap:5px;padding:5px 6px}.w43-reservation-title{font-size:11px}}

/* W44 signup photo / deleted partner trash */
.w44-avatar{overflow:hidden}
.w44-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.w44-photo-section{display:grid;gap:8px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);margin:10px 0 20px;color:var(--text)}
.w44-photo-section>strong{font-size:15px}
.w44-photo-section>img{width:min(100%,230px);max-height:260px;object-fit:contain;border-radius:12px;border:1px solid var(--line);background:var(--surface)}
.w44-photo-section>span{font-size:12px;color:var(--secondary)}
.w44-trash-btn{color:#d78d8d!important;border:1px solid #ae6868!important;display:inline-flex;align-items:center;gap:5px}
.w44-trash-btn .ops-icon{width:16px;height:16px}
.w44-company-trash{margin:22px 0}
.w44-company-trash>details{border:1px solid var(--line);padding:13px;border-radius:13px;background:var(--surface)}
.w44-company-trash>details>summary{cursor:pointer;font-weight:800;color:var(--text);padding:9px}
.w44-company-trash .ops-admin-list{margin-top:12px}
@media(max-width:520px){.w44-company-row .ops-admin-row-actions{width:100%;flex-wrap:wrap}.w44-trash-btn{flex:1}}

/* W45: 관리자·직원 통합 목록 */
.w5-management-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.w45-office-note{color:var(--secondary);font-size:13px;line-height:1.55;margin:12px 0}
.w45-office-role{display:inline-flex;border:1px solid var(--line);background:var(--surface-soft);border-radius:20px;padding:4px 9px;color:var(--secondary);font-size:12px;font-weight:800;align-self:center}
@media(max-width:520px){.w5-management-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.w45-office-role{margin-left:0}}

/* W46: registered companies and partner accounts in a single partner category */
.w46-company-list{display:grid;gap:12px}
.w46-partner-company{border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden;color:var(--text)}
.w46-partner-main{display:flex;align-items:center;gap:12px;padding:15px;flex-wrap:wrap}
.w46-partner-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:var(--surface-soft);border-radius:10px;color:var(--brand)}
.w46-partner-icon .ops-icon{width:23px;height:23px}
.w46-company-info{display:grid;gap:4px;min-width:130px;flex:1}
.w46-company-info strong{font-size:17px;line-height:1.4}
.w46-company-info span{font-size:12px;color:var(--secondary)}
.w46-company-actions{display:flex;gap:8px;flex-wrap:wrap}
.w46-company-actions .button{min-height:42px;font-size:13px}
.w46-company-delete{border-color:#a96565!important;color:#de8b8b!important}
.w46-partner-accounts{border-top:1px solid var(--line);padding:12px 15px;background:var(--surface-soft)}
.w46-account-label{font-size:12px;font-weight:800;color:var(--secondary);margin-bottom:9px}
.w46-partner-contact{display:flex;align-items:center;gap:11px;padding:10px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.w46-partner-contact:first-of-type{border-top:0}
.w46-contact-avatar{width:40px;height:40px;flex:none;border-radius:10px;background:var(--surface);color:var(--brand);display:grid;place-items:center;overflow:hidden}
.w46-contact-avatar img{width:100%;height:100%;object-fit:cover}
.w46-contact-info{display:flex;align-items:flex-start;flex:1;min-width:130px;flex-direction:column;gap:4px}
.w46-contact-info strong{font-size:14px}.w46-contact-info>span:not(.badge){font-size:12px;color:var(--secondary)}
.w46-partner-contact .button{font-size:13px;min-height:42px}
.w46-no-accounts{padding:11px 15px;background:var(--surface-soft);border-top:1px solid var(--line);font-size:12px;color:var(--secondary)}
.w46-unlinked-accounts{padding:15px;border:1px solid #aa8135;border-radius:12px;background:var(--surface-soft)}
.w46-unlinked-accounts>strong{color:var(--text)}.w46-unlinked-accounts>p{font-size:12px;color:var(--secondary);line-height:1.5}
@media(max-width:540px){.w46-partner-main{gap:8px;padding:11px}.w46-company-actions{width:100%}.w46-company-actions .button{flex:1}.w46-partner-contact .button{width:100%}}

/* W48 reservation reconciliation and waste trash */
.w48-stale-reserve{padding:12px 14px;background:var(--surface-soft);color:var(--secondary);border:1px solid #8f7650;border-radius:10px;font-size:13px;line-height:1.6}
.w48-waste-tab{padding:10px 13px;border:1px solid #ae7950;border-radius:10px;background:var(--surface);font-weight:800;color:var(--text)}

/* W49: separate, prominent disposal history / trash actions */
.w49-waste-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.w49-waste-actions>button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 220px;font-size:14px;font-weight:800}
.w49-trash-link{border:1.5px solid #aa6262!important;color:#d88686!important}
.w49-waste-note{font-size:12px;color:var(--secondary);margin:7px 0 15px;line-height:1.6}
.w49-waste-card{display:flex;align-items:center;gap:12px;padding:14px 12px;background:var(--surface);border-bottom:1px solid var(--line);color:var(--text);flex-wrap:wrap}
.w49-waste-description{display:grid;gap:6px;flex:1;min-width:200px}
.w49-waste-description strong{font-size:15px}
.w49-waste-description small{color:var(--secondary);line-height:1.45}
.w49-waste-archive{display:inline-flex;align-items:center;gap:6px;border:1px solid #9e5c5c!important;color:#d78585!important;white-space:nowrap}
.w49-more-waste{margin:12px auto;min-height:44px}
@media(max-width:520px){.w49-waste-card{align-items:stretch}.w49-waste-archive{width:100%;justify-content:center}}

.w49-waste-quick{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.w49-waste-quick button{flex:1 1 160px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:800}

/* W50: 폐기이력 각 행에 붙은 명확한 휴지통 버튼 */
.w50-waste-row{display:flex;align-items:center;gap:12px;padding:14px 12px;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text)}
.w50-waste-row:last-child{border-bottom:0}
.w50-waste-content{flex:1;min-width:0}
.w50-waste-content strong{display:block;font-size:15px;margin-bottom:7px;overflow-wrap:anywhere}
.w50-waste-content .rowsub{margin:0;font-size:12px;line-height:1.6;color:var(--secondary);overflow-wrap:anywhere}
.w50-waste-trash-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px!important;white-space:nowrap;border:1px solid #b86b65!important;color:#ffb6a9!important;background:rgba(180,66,62,.10)!important;font-size:13px;font-weight:800;padding:9px 12px!important;border-radius:9px}
.w50-waste-trash-button:hover{background:rgba(180,66,62,.22)!important}
.w50-waste-trash-button .ops-icon{width:17px;height:17px;flex:0 0 17px}
@media(max-width:560px){.w50-waste-row{align-items:stretch;flex-direction:column}.w50-waste-trash-button{width:100%}}

/* W52 — 재고 상세 출고 등록의 단일 업무 흐름 */
.stock-management-actions button[data-stock-kind="outbound"]{border:1.5px solid #67b989;background:rgba(30,123,69,.25);font-weight:850}
.stock-management-actions button[data-stock-kind="outbound"] .ops-icon{color:#a8e8b9}

/* W54 role-scoped stock view */
.w54-admin-stock-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.w54-admin-stock-controls button{min-width:0;white-space:nowrap;font-weight:800;font-size:14px}
.w54-partner-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0 16px}
.w54-partner-controls>button{min-height:50px;padding:10px 12px;border-radius:11px;font-size:14px;font-weight:850;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px}
.w54-own-label{color:var(--text);background:var(--surface-soft);opacity:1!important}
.w54-shared-switch{color:var(--brand);background:var(--surface);border-color:var(--brand)!important}
.w54-shared-switch[aria-expanded="true"]{color:#fff;background:var(--brand)}
.w54-shared-switch .ops-icon{width:18px;height:18px;flex-shrink:0}
.w54-shared-switch b{border-radius:20px;padding:2px 7px;background:rgba(107,170,117,.18)}
.w54-supplier-chip{display:inline-block;align-self:flex-start;max-width:100%;margin-top:4px;padding:5px 10px;border-radius:7px;background:#e8f3e7;border:1px solid #b9d4b9;color:#101b12!important;font-size:15px;font-weight:850;line-height:1.4;overflow-wrap:anywhere}
[data-theme="dark"] .w54-supplier-chip{background:#e1efe0;border-color:#aac9ab;color:#111a12!important}
.stock-partner-buttons>button{font-size:15px!important;font-weight:800!important}
.stock-partner-buttons>button:not([aria-pressed="true"]){background:#e8f3e7!important;color:#101b12!important;border-color:#b9d4b9!important}
[data-theme="dark"] .stock-partner-buttons>button[aria-pressed="true"]{color:#101b12!important;background:#b4e3bf!important}
@media(max-width:580px){.w54-admin-stock-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.w54-partner-controls{grid-template-columns:1fr 1fr}.w54-partner-controls>button{font-size:12px;padding:9px 4px}.w54-supplier-chip{font-size:14px}}

/* W55: 수불 0 LOT 안전 삭제·휴지통 문구 명료화 */
.w55-trash-empty-hint{font-size:13px;color:var(--secondary);padding:12px 0;line-height:1.5}

/* W56 주말 색상 및 기념일 */
.cal-days-head .w56-weekday.is-sunday,.cal-cell.is-sunday>strong{color:#d64545!important}
.cal-days-head .w56-weekday.is-saturday,.cal-cell.is-saturday>strong{color:#306fc4!important}
.w56-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 8px;flex-wrap:wrap}
.w56-calendar-toolbar span{font-size:12px;color:var(--secondary)}
.w56-event-add{min-height:40px;border:1px solid var(--brand);border-radius:9px;color:var(--brand);background:var(--surface);font-weight:800;padding:8px 15px;cursor:pointer}
.cal-cell small.w56-calendar-event{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#7845a9;background:#f0e9fb;font-weight:800}
.cal-cell small.w56-more-event{color:#7845a9;font-size:10px}
.w56-selected-events{display:grid;gap:6px;padding:11px 13px;margin:10px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.w56-selected-events>strong{font-size:13px;color:var(--text)}
.w56-event-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px solid var(--line);font-size:13px;color:var(--text)}
.w56-event-entry button{min-height:34px;padding:5px 12px;color:#d34c4c;border:1px solid #b56565;border-radius:8px;background:transparent;cursor:pointer}
.w56-no-events{font-size:12px;color:var(--secondary)}
.w56-event-form{display:grid;gap:14px;padding:6px}
.w56-event-form>label{display:grid;gap:7px;font-size:14px;font-weight:750}
.w56-event-form input[type=date],.w56-event-form input[type=text]{width:100%;min-height:45px;padding:10px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px}
.w56-event-form .w56-repeat{display:flex;align-items:center;gap:8px}
.w56-event-form .w56-repeat input{width:20px;height:20px}
.w36-move-archive .ops-icon{width:16px;height:16px;vertical-align:middle}
[data-theme=dark] .cal-cell small.w56-calendar-event{background:#41304e;color:#e6cafa}
@media(max-width:480px){.cal-cell small.w56-calendar-event{font-size:9px}.w56-calendar-toolbar span{font-size:11px}}

/* W57 important floral dates in the existing calendar */
.cal-cell small.w57-flower-important{background:#69432c!important;color:#fff0b5!important;border-left:3px solid #efb251;font-weight:900}
.cal-cell small.w57-builtin{background:#254b37!important;color:#dcebdd!important}
.cal-cell small.w57-manual{background:#48325b!important;color:#f4ddff!important}
.w57-ledger-record{border-left:4px solid #8cafa2}

/* W58 item master and internal-use packing-paper controls */
.w58-inventory-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:9px 0 17px}
.w58-inventory-toolbar button{min-height:45px;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:750}
.w58-internal-notice{border:1px solid #9e9863;border-radius:10px;background:rgba(168,145,74,.1);padding:10px 12px;color:var(--text);font-size:13px;line-height:1.6;margin:8px 0}
.w58-master{display:grid;gap:14px}.w58-master h3{font-size:17px;margin:7px 0 0}
.w58-add-row{display:flex;gap:8px}.w58-add-row input{flex:1;min-width:0}.w58-add-row .button{min-width:100px}
.w58-internal-toggle{display:flex;gap:8px;align-items:center;font-size:14px}
.w58-internal-toggle input{width:18px;height:18px}
.w58-master-list{display:grid;gap:8px;max-height:45vh;overflow-y:auto}
.w58-item-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.w58-item-row.archived{opacity:.7}.w58-item-label{display:grid;gap:4px;flex:1;min-width:0}
.w58-item-label strong{font-size:15px;color:var(--text);word-break:break-word}.w58-item-label small{font-size:12px;color:var(--secondary)}
.w58-delete{border-color:#b86861!important;color:#dc8780!important}
.w58-item-row .button{min-height:40px;white-space:nowrap;display:flex;align-items:center;gap:5px}
@media(max-width:480px){.w58-add-row{flex-direction:column}.w58-add-row .button{width:100%}.w58-item-row{align-items:flex-start}}

/* W58 catalog images */
.w58-photo-label{margin:12px 0;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;cursor:pointer;padding:15px;border:1.5px dashed var(--line);border-radius:11px;color:var(--text);background:var(--surface-soft)}
.w58-photo-label .ops-icon,.w58-edit-photo .ops-icon{width:19px;height:19px}
.w58-photo-label span{color:var(--secondary);font-size:12px}
.w58-photo-label input,.w58-edit-photo input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.w58-photo-preview{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--secondary);min-height:32px;margin:8px 0 14px}
.w58-photo-preview img{width:100px;height:100px;object-fit:cover;border-radius:10px}
.w58-item-thumb,.w58-stock-thumbnail{height:48px;width:48px;flex:0 0 48px;object-fit:cover;border-radius:10px;background:var(--surface-soft)}
.w58-item-placeholder{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--surface-soft);border-radius:10px}
.w58-item-placeholder .ops-icon{height:25px;width:25px}
.w58-item-label{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.w58-item-label>div{display:grid;gap:5px;min-width:0}
.w58-edit-photo{display:inline-flex;align-items:center;justify-content:center;gap:6px;position:relative;cursor:pointer;border:1px solid var(--line);padding:8px 10px;border-radius:8px;font-size:12px;color:var(--text);min-height:40px}
.w58-edit-photo:focus-within{outline:2px solid var(--brand)}
@media(max-width:560px){.w58-item-row{flex-wrap:wrap}.w58-item-label{flex:1 1 100%}.w58-edit-photo{flex:1}}

/* W59: supply-specific inbound UI */
.w59-receiving-btn{min-height:48px;margin:12px 0 18px;display:inline-flex;align-items:center;gap:9px;font-weight:800}
.w59-supply-form{display:grid;gap:14px}
.w59-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.w59-two-cols .fieldlabel{min-width:0}
.w59-two-cols input{width:100%;min-height:48px;font-size:16px;font-weight:700}
.w59-picture-section{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);display:grid;gap:10px}
.w59-picture-section>b{display:flex;align-items:center;gap:7px}
.w59-picture-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.w59-picture-actions label{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;cursor:pointer;font-size:13px}
.w59-supply-summary{background:rgba(34,112,66,.18);border:1px solid #648d6f;border-radius:12px;padding:13px;display:grid;gap:7px;line-height:1.5}
.w59-supply-summary b{color:var(--text);font-size:16px}
.w59-supply-summary span{color:var(--secondary);font-size:13px}
@media(max-width:460px){.w59-two-cols,.w59-picture-actions{grid-template-columns:1fr}}

/* W60: larger, more readable supply registration controls */
#w59SupplyForm{gap:18px}
#w59SupplyForm .fieldlabel,#w58CatalogForm .fieldlabel{font-size:15px;font-weight:800;letter-spacing:-.1px;line-height:1.55}
#w59SupplyForm input:not([type="file"]):not([type="checkbox"]),#w59SupplyForm select,#w59SupplyForm textarea,#w58CatalogForm input[name="name"]{min-height:58px;width:100%;font-size:18px;font-weight:650;padding:12px 16px;border:1.5px solid var(--line);border-radius:12px;box-sizing:border-box}
#w59SupplyForm input:focus,#w58CatalogForm input[name="name"]:focus{outline:2px solid var(--brand);outline-offset:2px}
#w59SupplyForm input::placeholder,#w58CatalogForm input::placeholder{font-size:15px;font-weight:400}
#w59SupplyForm .w59-two-cols{gap:14px}
#w59SupplyForm .w59-picture-section{padding:18px;gap:14px}
#w59SupplyForm .w59-picture-actions label{min-height:58px;font-size:15px;font-weight:750}
#w59SupplyForm .w59-supply-summary{padding:18px;font-size:16px}
#w59SupplyForm #w59SupplySubmit{min-height:58px;font-size:17px;font-weight:800}
#w58CatalogForm .w58-add-row{gap:12px;align-items:stretch}
#w58CatalogForm .w58-add-row button{min-height:58px;font-size:16px;min-width:92px}
#w58CatalogForm .w58-photo-label{padding:16px;font-size:15px;line-height:1.5}
#w58CatalogForm .w58-photo-preview{min-height:72px;font-size:14px}
@media(max-width:520px){#w59SupplyForm .w59-two-cols{grid-template-columns:1fr}#w59SupplyForm input:not([type="file"]),#w58CatalogForm input[name="name"]{font-size:16px}#w58CatalogForm .w58-add-row{flex-wrap:wrap}#w58CatalogForm .w58-add-row button{width:100%}}

/* W61 administrator report clean date controls and month quick pick */
.w61-date-group{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:7px;min-width:0}
.w61-date-part{min-width:0}.w61-date-part select{width:100%;min-width:0;height:45px;padding:8px 6px;font-size:14px;font-weight:700}
.w61-month-pickers{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.w61-month-pickers select{min-width:95px;flex:1;height:45px}.w61-month-pickers button{min-height:45px;flex:1;white-space:nowrap}
@media(max-width:650px){.w61-date-group{gap:4px}.w61-date-part select{font-size:12px;padding:5px 3px}.w61-month-pickers button{flex-basis:45%}}

/* W62: softer scroll and mobile touch without blocking natural gestures */
html{scroll-behavior:smooth;scroll-padding-top:90px}
#sheetBody,.ops-form-scroll,.ops-qa-list,[data-scroll],.inbound-request-form{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.w62-test-label{text-align:center;padding:7px 12px;font-size:12px;font-weight:750;background:#e7f4e8;color:#245936;border-bottom:1px solid #b6d8bb;line-height:1.5}
@media(prefers-reduced-motion:reduce){html,#sheetBody,.ops-form-scroll{scroll-behavior:auto!important}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.w62-reset-panel{border:1px solid #ac8b5c;border-radius:13px;padding:14px;margin-top:30px}.w62-reset-panel h3{margin:0 0 8px;font-size:17px}


/* W63 — readability pass for desktop and mobile: typographic scale, sizing, spacing.
   Preserves the dark-green palette, layout and W62 blank test storage behavior. */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:16px;line-height:1.55}
#view{line-height:1.6}
.page-heading h1{font-size:clamp(26px,2.1vw,29px);line-height:1.28;letter-spacing:-.55px}
.section-header h2,.ops-section-heading h2{font-size:clamp(19px,1.6vw,22px);line-height:1.4}
.sheet-top h2{font-size:22px;line-height:1.35}
.rowtitle,.rowmain strong{font-size:17px;line-height:1.45}
.rowsub,.entryline,.big-date,.audit-text{font-size:14px;line-height:1.65}
.metric-label,.subheading,.stockcount small{font-size:14px}
.metric-value{font-size:28px}
.stockcount{font-size:19px}
.brandname{font-size:clamp(19px,1.7vw,23px);line-height:1.2}
.brandsub{font-size:12px;line-height:1.35}
.eyebrow,.mode,.mini,.hint,.bottomhint{font-size:13px;line-height:1.55}
.note,.alert,.network-banner,.w62-test-label{font-size:14px;line-height:1.6}
.badge,.step,.chip,.suggest-text{font-size:13px;line-height:1.35}
label.fieldlabel,.fieldlabel,.field-label,.stock-picker label,.stock-ledger .filter-grid label{font-size:15px;font-weight:750;line-height:1.5}
.entry,.w58-item-row,.rowcard{line-height:1.6}
.button,.btn-sm,.chip,.split-tabs button,.triple-tabs button,.stock-new-filter button,.w54-sort-row button,.w54-view-switch button{font-size:16px;line-height:1.4;min-height:46px;padding:10px 14px;white-space:normal;overflow-wrap:anywhere}
.btn-sm{font-size:15px;min-height:44px;padding:9px 11px}
.actiontext,.smalllink{font-size:15px;min-height:38px}
.field,select,textarea,input[type=text],input[type=search],input[type=tel],input[type=number],input[type=email],input[type=password],input[type=date],input[type=datetime-local]{font-size:16px;min-height:48px;padding:11px 13px;line-height:1.45;max-width:100%}
textarea{min-height:86px;resize:vertical}
input::placeholder,textarea::placeholder{font-size:15px;opacity:.85}
.search,.stock-picker select,.stock-new-filter select{font-size:16px;min-height:48px}
.table{font-size:14px;line-height:1.5}
.table th,.table td{padding:12px 10px}
.toast{font-size:15px;line-height:1.45}
.empty{font-size:15px}
.permission,.checkline,.stock-quick-choice summary{font-size:15px}
.stock-primary-qty{font-size:17px!important;line-height:1.5!important}
.w58-item-label strong,.w46-partner-company strong{font-size:17px}
.w58-item-label small,.w59-supply-summary span,.w45-office-role{font-size:14px}
.w59-picture-actions label,.w58-photo-label,.w58-edit-photo{font-size:15px;min-height:48px}
.w56-event-entry,.w56-selected-events>strong{font-size:15px}
.w56-no-events,.w56-event-form>label{font-size:14px}
.w56-event-add{font-size:15px;min-height:46px}
.w61-date-part select{font-size:15px;min-height:48px}
.w61-month-pickers select,.w61-month-pickers button{font-size:16px;min-height:48px}
.w49-waste-card strong,.w50-waste-row strong{font-size:16px}
.w49-waste-card small,.w50-waste-row small{font-size:13px}
.w39-record-toolbar{min-height:64px}
.w39-record-toolbar .button{min-height:44px}
.admin-shortcut,.top-actions .header-auth{font-size:13px;min-height:40px}
.admin-shortcut.is-demo .admin-shortcut-label{font-size:12px}
.bottom-nav button{font-size:13px;line-height:1.25;min-height:54px}
.iconbtn{width:42px;height:42px}
/* Calendar cells: readable day numbers while keeping monthly grid compact */
.cal-cell{min-height:54px}
.cal-cell small.w56-calendar-event,.cal-cell small.w56-more-event{font-size:11px;line-height:1.25}
/* Avoid horizontal overflow in dialogs, forms and card grids */
.sheet,#sheetBody,.panel,.card,.w59-supply-form{min-width:0}
.sheet input,.sheet select,.sheet textarea{max-width:100%}
@media(max-width:640px){
 body{font-size:15.5px}
 .page-heading h1{font-size:26px}
 .section-header h2,.ops-section-heading h2{font-size:20px}
 .sheet-top h2{font-size:21px}
 .rowtitle,.rowmain strong{font-size:16px}
 .rowsub,.entryline{font-size:13.5px}
 .button,.btn-sm,.chip,.split-tabs button,.triple-tabs button{font-size:15px;min-height:46px;padding:10px 11px}
 .stockcount{font-size:18px}
 .bottom-nav button{font-size:12px;min-height:54px}
 .bottom-nav .ui-icon{width:24px;height:24px}
 .brandsub{font-size:11px}
 .admin-shortcut,.top-actions .header-auth{font-size:12px;min-height:40px}
 .admin-shortcut.is-demo .admin-shortcut-label{font-size:11px}
 .table{font-size:13px}
 .w61-date-part select{font-size:14px}
 .cal-cell small.w56-calendar-event{font-size:10px}
 .w56-calendar-toolbar span{font-size:13px}
 #sheetBody{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
 .brandname{font-size:17px}
 .top-actions .header-auth{font-size:11px;padding:8px 7px}
 .admin-shortcut{font-size:11px;padding:8px 7px}
 .admin-shortcut.is-demo .admin-shortcut-label{font-size:10px}
 .bottom-nav button{font-size:11.5px}
 .triple-tabs button{font-size:14px;padding:9px 5px}
 .w61-date-part select{font-size:13px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
