:root{--ink:#213044;--muted:#586779;--teal:#245f88;--lime:#e8f0f7;--line:#dbe2e9;--paper:#f3f5f7;--white:#fff;--danger:#a64134}
*{box-sizing:border-box}html{overflow-wrap:anywhere}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select,summary{outline-offset:4px}button{border:1px solid var(--line);background:white;color:var(--ink);padding:8px 12px;border-radius:7px;cursor:pointer;font-weight:600;min-height:38px;min-width:38px;touch-action:manipulation}button:hover{border-color:var(--teal)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.primary:hover{background:#194d71}.danger{color:var(--danger)}input,select{width:100%;min-width:0;border:1px solid #bdccc1;border-radius:10px;background:#fff;padding:9px 10px;min-height:40px;color:var(--ink);font-size:16px}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--teal);flex:none}label{font-size:14px;font-weight:600;display:block;margin-bottom:7px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin-bottom:10px}h2{font-size:23px}h3{font-size:18px}a{color:var(--teal)}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:11px;font-weight:750}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:16px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span{grid-column:1/-1}.card{background:var(--white);padding:16px;border:1px solid var(--line);border-radius:9px;min-width:0}.pill{border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:13px;background:#f4f7f3;display:inline-block}.pill.good{background:#e4f1e8;color:#21654e;border-color:#c7e0d0}.pill.warn{background:#fff1d2;border-color:#ead6a5;color:#7a581d}.amount{font-size:29px;font-weight:700;letter-spacing:-.5px}
.login{max-width:900px;margin:auto;min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:28px;gap:40px}.login-hero h1{font-size:45px;letter-spacing:-1.5px}.login-hero p{font-size:18px}.brand{font-size:20px;font-weight:750;letter-spacing:-.4px;display:flex;align-items:center;gap:10px}.brand-mark{width:38px;height:38px;background:var(--teal);color:var(--lime);border-radius:11px;display:grid;place-items:center;font-size:25px;flex:none}.decor{margin-top:28px;padding:18px;border-radius:20px;background:#e4eadd;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.decor>div{padding:14px 4px;border:1px solid #c4d3c4;background:#f5f8f0;border-radius:12px;display:flex;flex-direction:column;align-items:center}.decor b{font-size:24px}
.shell{min-height:100dvh}.main{max-width:1360px;margin:auto;padding:0 24px calc(115px + env(safe-area-inset-bottom))}.topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);margin-bottom:16px}.account-menu{position:relative}.account-menu summary{list-style:none;border:1px solid var(--line);border-radius:12px;background:#fff;min-height:48px;min-width:48px;padding:12px;cursor:pointer;font-weight:650}.account-menu summary::-webkit-details-marker{display:none}.menu-panel{position:absolute;right:0;top:58px;z-index:50;width:min(275px,calc(100vw - 32px));padding:18px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 12px 35px #143c3122;display:grid;gap:10px}.menu-panel a{min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;text-align:center;text-decoration:none}.menu-panel p{margin-bottom:0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:30;display:flex;justify-content:center;gap:3px;box-shadow:0 -4px 20px #143c3108}.bottom-nav button{flex:1;max-width:150px;min-width:0;min-height:60px;border:none;background:transparent;border-radius:13px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;line-height:1.3;color:var(--muted)}.bottom-nav button>span:first-child{font-size:24px;line-height:1.2}.bottom-nav button.active{background:#e3efdb;color:#174d3e}.shell:has(input:focus) .bottom-nav{display:none}
.connection-status{font-size:12px;color:var(--muted);margin:8px 0 20px;line-height:1.5}.connection-status.disconnected{color:#743e1f;background:#fff0d4;border:1px solid #e3c9a0;border-radius:12px;padding:12px;font-size:14px}.connection-status button{margin-top:8px;width:100%}.save-status{padding:12px 15px;border-radius:12px;margin-bottom:18px;border:1px solid var(--line);font-size:14px}.save-status:empty{display:none}.save-status.saved{background:#e4f1e8;color:#21654e}.save-status.not_saved{background:#fae8e5;color:#8d392d}.save-status.result_unknown{background:#fff1d2;color:#7a581d}.save-status.saving{background:#edf2e9}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px}.heading .row{flex:none;max-width:45%}.heading .eyebrow{display:none}.tablewrap{border:1px solid var(--line);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;text-align:left;overflow-wrap:anywhere}th{font-size:12px;color:var(--muted);background:#edf2e9;padding:12px}td{padding:12px;border-top:1px solid var(--line)}tbody tr:nth-child(even){background:#fbfcf8}.tablewrap button{margin:3px 0;font-size:14px}.product{display:flex;gap:14px;align-items:center}.product-image{width:64px;height:64px;border-radius:13px;background:#ecf2e8;display:grid;place-items:center;font-size:28px;object-fit:cover;flex:none}.product h3{margin:0 0 3px}.empty{padding:28px;text-align:center;background:white;border:1px dashed #b6c9b9;border-radius:16px}.empty h2{margin-bottom:7px}.search{flex:1;min-width:0}.scan-panel{border-radius:20px;background:#e1e9da;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.scan-frame{border:2px dashed #89a087;border-radius:16px;min-height:190px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}.scan-frame video{width:100%;max-height:320px;object-fit:cover}.scan-panel .row button{flex:1}.simple-line{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px 48px;gap:12px;align-items:end;padding:18px 0;border-bottom:1px solid var(--line)}.line button{min-width:48px;width:48px;padding:0}.simple-line .span{font-size:13px}.sale-wizard{margin-bottom:24px}.steps{display:flex;gap:8px;list-style:none;padding:0;margin:18px 0 24px}.steps li{flex:1;padding:10px 8px;background:#eef1e5;border-radius:10px;color:#627468;font-size:13px}.steps .current{background:var(--teal);color:#fff}.sale-total{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:24px}.sale-total b{font-size:28px}.review-line{padding:15px 0;border-bottom:1px solid var(--line)}.review-line p{margin:7px 0 0}.recent-orders summary,summary{cursor:pointer;font-weight:650;min-height:48px;padding:12px 0}.recent-orders .grid{margin-top:12px}.order-card h3{margin-bottom:0}.order-card .row button{flex:1}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tabs button.active{background:var(--teal);color:white}.permission-group{border:1px solid var(--line);border-radius:12px;padding:16px}.check{display:flex;align-items:center;gap:10px;font-weight:400;font-size:14px;margin:0;min-height:48px}.check span{flex:1}.planned{font-size:12px;color:var(--muted)}.notice{background:#eef1e5;border:1px solid #d7dfc3;padding:14px;border-radius:12px;font-size:14px}.preview-banner{background:#fff1d2;color:#744f1b}.error{color:var(--danger)}.form-foot{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;padding-top:12px}.form-foot .primary{min-width:160px}.field-help{font-size:13px;color:var(--muted);margin-top:4px}.more-options{margin-top:20px}.more-options .fields{margin-top:14px}dialog{border:1px solid var(--line);border-radius:20px;padding:20px;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;color:var(--ink)}dialog::backdrop{background:#0c262399}#toast{position:fixed;bottom:calc(92px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:100;border-radius:12px;padding:13px 18px;background:#143c31;color:white;box-shadow:0 8px 30px #0002;display:none;width:max-content;max-width:calc(100vw - 24px);font-size:14px}#toast.error{background:#8d392d;color:white}.invite-code{word-break:break-all;font:14px monospace;padding:16px;border:1px solid var(--line);border-radius:10px;background:#f8faf5}.metrics{margin-bottom:24px}.metrics .card{min-height:120px}.metrics p{margin-bottom:8px}.spinner{padding:24px;color:var(--muted)}#customer-search-list,#customer-search{margin-bottom:18px}
@media(max-width:760px){.main{padding-left:16px;padding-right:16px}.topbar .brand{font-size:18px}.heading{display:block}.heading .row{max-width:none;margin-top:14px}.heading .row button{flex:1}.fields{grid-template-columns:1fr}.scan-panel{grid-template-columns:1fr;padding:20px}.grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metrics .card{padding:14px}.metrics .amount{font-size:23px}.card{padding:20px}.simple-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px}.simple-line>div:first-child{grid-column:1/-1}.simple-line .span{grid-column:1/-1}.form-foot{position:sticky;bottom:-24px;background:white;padding:14px 0;margin-top:18px}.form-foot button{flex:1;min-width:0}.steps{gap:5px;font-size:12px}.steps li{font-size:12px;padding:9px 6px}.login{display:block;min-height:100dvh;padding:20px 16px}.login-hero{padding:10px 4px 16px}.login-hero .eyebrow,.decor,.login-hero>p.muted{display:none}.login-hero h1{font-size:30px;margin:18px 0 0}.login-form{padding:20px}.login-form .row .pill{max-width:65%}h1{font-size:28px}.tablewrap{overflow:visible}.tablewrap table,.tablewrap tbody,.tablewrap tr,.tablewrap td{display:block;min-width:0}.tablewrap thead{display:none}.tablewrap tr{padding:8px 14px;border-bottom:1px solid var(--line)}.tablewrap td{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:12px;padding:8px 0;border-top:none;white-space:normal}.tablewrap td::before{content:attr(data-label);font-size:13px;color:var(--muted)}.tablewrap td:has(button){display:flex;flex-wrap:wrap}.tablewrap td:has(button)::before{width:100%}.tablewrap td button{flex:1}.tabs button{font-size:14px}.account-menu summary span{display:none}dialog{padding:20px 18px}.form-foot{bottom:-20px}.permission-group{padding:14px}.order-card .row{align-items:flex-start}}
@media(max-width:360px){.main{padding-left:12px;padding-right:12px}.card{padding:16px}.bottom-nav{padding-left:3px;padding-right:3px}.bottom-nav button{font-size:11px}.brand{font-size:17px}.metrics .amount{font-size:20px}.simple-line{gap:10px}.steps li{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.draft-photo{display:block;width:100%;max-height:230px;object-fit:contain;border-radius:12px;background:#f4f6f5;margin:12px 0}.suggested{background:#fff5c4!important;border-color:#c79625!important}.listing-fields{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px}.listing-fields dd{margin:0;overflow-wrap:anywhere}.match-card,.receipt-edit-line{padding:15px;border:1px solid #d9e3df;border-radius:12px;margin:12px 0}.change-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.change-pair pre,.ocr-text{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.5 inherit;background:#f2f5f3;padding:12px;border-radius:8px;max-height:400px;overflow:auto}.receipt-link{padding:16px;border:1px solid #ccd9d1;border-radius:10px;text-align:center}.change-log{display:grid;gap:12px}.admin-tabs{margin:12px 0}.danger{color:#a63028!important}.receipt-actions{margin-top:14px}.stack input[type=file]{padding:16px} @media(max-width:600px){.change-pair{grid-template-columns:1fr}.listing-fields{grid-template-columns:1fr 1.5fr}.receipt-edit-line .fields{grid-template-columns:1fr 1fr}}

.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:16px 0}.photo-tile{border:2px solid #d5dfd9;border-radius:12px;padding:10px;min-width:0}.photo-tile.selected{border-color:#176b58;background:#eff7ef}.photo-tile img{display:block;width:100%;height:120px;object-fit:contain;background:#f4f6f3;border-radius:7px}.photo-tile button{width:100%;margin-top:8px;font-size:13px}.match-thumb,.receipt-review-thumb{width:72px;height:72px;object-fit:contain;border-radius:8px;margin:4px 10px 8px 0;vertical-align:top}.recognition-warnings{background:#fff4cf;padding:16px 16px 16px 34px;border-radius:12px}progress{width:100%;height:24px;accent-color:#176b58}.receipt-photo-check{margin:16px 0;padding:14px;background:#eef4eb;border-radius:10px}@media(max-width:400px){.photo-grid{grid-template-columns:1fr 1fr}.photo-tile{padding:7px}.photo-tile img{height:100px}}

/* Daily tasks: clear hierarchy, accessible states and comfortable phone controls. */
.topbar-tools{flex-wrap:nowrap}.language-button{font-size:14px;white-space:nowrap;min-width:64px}.page-location{display:flex;align-items:center;gap:12px;margin:12px 0 4px;font-size:14px}.page-location button{min-height:44px;padding:8px 14px}.page-location span{font-weight:650}.home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-action{display:flex;align-items:center;gap:10px;min-height:80px;padding:12px;text-align:left;border-radius:9px}.home-action>span:nth-child(2){flex:1;min-width:0}.home-action strong{display:block;font-size:17px;margin-bottom:3px}.action-help{display:block;font-size:13px;color:var(--muted);font-weight:400;line-height:1.5}.action-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;background:#edf3f8;color:#245f88;font-size:21px;flex:none}.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;background:#fff3d4;border:1px solid #dfcd9e;border-radius:12px;margin:16px 0}.required-label{display:inline-block;font-size:11px;font-weight:500;color:#5a4c11;background:#fff3c5;border:1px solid #e3d19b;border-radius:5px;padding:1px 5px;margin-left:4px}.field-error{margin:6px 0 0;color:#94342c;font-size:14px;line-height:1.45}.field-error[hidden]{display:none}input[aria-invalid=true],select[aria-invalid=true]{border:2px solid #a64134;background:#fff7f5}.form-error-summary{margin:12px 0}.form-error-summary[hidden]{display:none}[aria-busy=true]{cursor:progress}.more-options{border-top:1px solid var(--line);margin-top:18px}.more-options>summary{font-size:15px}.form-foot{gap:12px;flex-wrap:wrap}.form-foot button{max-width:100%}.home-actions+.notice{margin-top:20px}.receipt-photo-check{align-items:flex-start}.receipt-photo-check input{margin-top:4px}
@media(max-width:760px){.topbar .brand{font-size:17px;max-width:calc(100% - 120px)}.brand-mark{width:34px;height:34px}.topbar-tools{gap:8px}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-action{min-height:86px;padding:10px;gap:8px}.home-action strong{font-size:16px}.action-help{font-size:12px}.home-action .action-icon{display:none}.form-foot{position:static;padding:16px 0 4px;background:transparent}.sale-wizard .form-foot{position:static}.form-foot .primary{flex:1 1 auto;order:2;min-height:44px}.form-foot>button:not(.primary){flex:1 1 auto}.topbar{gap:8px}.check{padding-top:6px;padding-bottom:6px}.simple-line label{font-size:15px}.simple-line .span{font-size:14px}.photo-tile button{font-size:14px;min-height:48px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.change-pair pre{font-size:14px}.fields{row-gap:12px}.bottom-nav button{font-size:13px}.main{padding-bottom:calc(120px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.language-button{min-width:56px;padding:10px}.topbar-tools{gap:5px}.topbar .brand{font-size:15px}.brand-mark{width:30px;height:30px;font-size:22px}.home-action{padding:10px;gap:8px}.home-action strong{font-size:15px}.action-help{font-size:12px}dialog{padding:16px 14px}.card{padding:16px}.photo-grid{gap:8px}.photo-tile button{font-size:13px}}

.site-hours{display:grid;gap:10px}.site-hours>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:end;border-bottom:1px solid var(--line);padding:8px 0}.site-listings{margin-top:20px}.site-photo-review{border:1px solid var(--line);border-radius:12px;padding:14px}.site-photo-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.site-photo-options>label{min-width:0;border:1px solid var(--line);padding:8px;border-radius:9px}.site-photo-options img{width:100%;height:155px;object-fit:contain;background:white}.site-photo-options .check{font-size:13px}.site-photo-options a{font-size:13px}textarea{font:inherit;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:white}.site-photo-options input[type=radio]{width:20px;min-width:20px;min-height:20px;height:20px}@media(max-width:600px){.site-photo-options{grid-template-columns:1fr 1fr}.site-hours>div{grid-template-columns:1fr 1fr}.site-hours .check{grid-column:1/-1}.site-photo-options img{height:130px}}

.site-public-preview{background:#f6f5ef;border:2px solid #cbd4bd;border-radius:16px;padding:24px;margin:22px 0}.site-public-preview img{width:100%;max-height:320px;object-fit:contain;background:white;border-radius:12px;margin-bottom:18px}.site-public-preview h2{font-size:27px;line-height:1.2}.site-public-preview p{white-space:pre-line;overflow-wrap:anywhere}


.store-address-fields input{width:100%;min-width:0}.site-hours>div{grid-template-columns:repeat(2,minmax(0,1fr))}.site-hours>div>.check,.site-hours>div>[data-closed],.site-hours>div>[data-action]{grid-column:1/-1}.site-hours>div>[data-action]{justify-self:start}.site-hours input[type=time]{width:100%;min-width:0}.site-hours input:disabled{background:#f0f2ed;color:#69736d}.site-hours [data-closed]{color:#69736d;font-size:14px}
.brand-with-logo{position:relative;flex:none}.brand-with-logo .brand-logo{display:block;width:140px;height:64px;object-fit:contain}.brand-with-logo .brand-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.topbar:has(.brand-with-logo){min-height:72px}.login-hero .brand-with-logo .brand-logo{width:268px;height:134px;max-width:100%}.brand-image-unavailable .brand-logo{display:none}.brand-image-unavailable .brand-name{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}@media(max-width:760px){.topbar .brand-with-logo .brand-logo{width:116px;height:56px}.topbar:has(.brand-with-logo){min-height:64px}.login-hero .brand-with-logo .brand-logo{width:210px;height:105px}}@media(max-width:360px){.topbar .brand-with-logo .brand-logo{width:126px;height:63px}}
/* Account tools share the staff workspace style. */
.task-home,.recognition-help{padding:18px;border:1px solid var(--line,#d9e2df);border-radius:14px;background:#fff;margin:0 0 20px}
.task-home{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.task-bell{white-space:nowrap;display:flex;align-items:center;gap:8px}
.task-badge{background:#b54708;color:#fff;min-width:24px;line-height:24px;border-radius:20px;text-align:center;padding:0 5px}
.request-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.account-request{margin-bottom:18px}
.account-request dt{font-weight:650;margin-top:8px}
.account-request dd{margin:3px 0 8px;overflow-wrap:anywhere}
.account-verify{border-top:1px solid #d9e2df;margin-top:14px;padding-top:14px}
.account-verify input{margin-bottom:12px}
.recovery-layout{display:flex;justify-content:center;align-items:center}
.recovery-layout>.card{width:min(100%,480px)}
.recognition-help{background:#f6f8fb;padding:0 10px;margin:8px 0}
.text-button{border:0;text-decoration:underline;background:transparent;padding-left:0}
@media(max-width:600px){.request-comparison{grid-template-columns:1fr}.task-bell{font-size:14px}.topbar-tools{gap:7px}.task-home{padding:14px}}

.sale-price-edit{grid-column:1/-1;margin-top:8px;padding:10px;border:1px solid #d7dce0;border-radius:6px;min-width:0}.sale-price-edit label{display:block;font-weight:650}.sale-price-edit input{width:100%;max-width:220px;min-height:44px;font-size:17px;margin:5px 0}.sale-price-edit .pill{margin:5px}.sale-price-edit .field-error{font-size:14px}.sale-price-adjusted{background:#fff5da;border-color:#ad7520}.sale-price-adjusted input{border-color:#9b6617}.sale-price-edit .sale-price-actions{margin-top:6px;gap:6px}.simple-line .sale-price-edit button,.sale-price-edit button{width:auto;min-width:0;min-height:40px;padding:7px 10px;font-size:13px}.sale-customer-tools{margin:8px 0 12px;gap:8px}.sale-customer-tools button{min-height:44px}.sale-price-source summary{padding:5px 0;min-height:36px;font-size:13px}.sale-price-edit p{margin:5px 0}.sale-price-edit .notice{padding:8px}.sale-price-edit:has(input:disabled) .sale-price-actions{display:none}.sale-price-edit [hidden]{display:none!important}@media(max-width:420px){.sale-price-edit input{max-width:100%}.sale-price-actions{flex-wrap:wrap}}

.customer-review{max-width:1440px;margin:0 auto;padding:14px}.customer-review-toolbar{padding:18px;background:#fff;border:1px solid #d6dce1;border-radius:12px;margin-bottom:12px}.customer-review-toolbar h1{font-size:1.45rem}.customer-review iframe{width:100%;height:78vh;min-height:500px;border:1px solid #d6dce1;border-radius:10px;background:white}.customer-review .actions{display:flex;gap:12px;flex-wrap:wrap}.customer-review button{min-height:46px}
.password-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px}.password-input input{min-width:0;width:100%}.password-input button{min-height:48px;padding:8px 12px;white-space:normal;font-size:.875rem}

/* Compact staff tables and photo review. The customer storefront is unchanged. */
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #306fa2;outline-offset:3px}
.stack,.grid{gap:12px}.fields{gap:12px}.topbar{margin-bottom:10px}.heading{margin-bottom:14px}.heading p{margin-bottom:8px}
.task-home{padding:10px 12px;margin-bottom:12px;border-radius:8px}.task-home p{margin:0}.notice{padding:10px 12px;border-radius:7px}.connection-status{margin:6px 0 10px}.form-foot{margin-top:14px;gap:8px}.more-options{margin-top:12px}summary{min-height:38px;padding:8px 0}.check{min-height:38px}.bottom-nav button.active{background:#edf3f8;color:#245f88}.bottom-nav button{min-height:48px}.bottom-nav button>span:first-child{font-size:20px}
.inventory-table{font-size:14px}.inventory-table th{padding:9px 10px;background:#eef2f6}.inventory-table td{padding:10px;vertical-align:middle}.inventory-table .product{gap:10px}.inventory-table .product h3{font-size:15px;line-height:1.3;margin:0 0 3px}.inventory-table .product-image{width:48px;height:48px;object-fit:contain;border-radius:6px;background:#f2f5f8}.inventory-table .stock-reserved{display:block;font-size:12px;margin-top:3px}.inventory-table .inventory-actions{max-width:300px}.inventory-actions .row{gap:5px}.inventory-actions button{font-size:12px;min-height:34px;padding:5px 8px;margin:0}.inventory-actions .notice{width:100%;margin:3px 0;font-size:12px}.inventory-product .product>div{min-width:0}
.photo-preview{min-width:0;margin:0}.photo-preview .draft-photo{margin:8px 0;width:100%;max-height:210px;object-fit:contain}.photo-state{margin:4px 0;color:var(--muted)}.photo-state:empty{display:none}.photo-fallback-actions{display:flex;gap:6px;flex-wrap:wrap}.photo-fallback-actions[hidden]{display:none}.photo-tile{border-radius:7px;padding:8px}.photo-tile button{min-height:38px;padding:7px;font-size:13px}.photo-tile details{margin-top:4px}.photo-tile p{margin-bottom:6px}.photo-grid{margin:10px 0;gap:10px}
.selling-points{border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0}.selling-points h3{font-size:16px;margin:0}.selling-points .row{gap:6px}.selling-points button{font-size:12px;min-height:34px;padding:6px 9px}.selling-points p{margin:6px 0 10px}.selling-points textarea{line-height:1.5;resize:vertical;min-height:106px;border-radius:6px;padding:9px}.selling-points textarea:focus{outline:2px solid #306fa2;outline-offset:2px}.recognition-help>summary{font-size:14px}.recognition-help p{margin:8px 0}.recognition-help ul{margin:8px 0}.listing-fields{gap:7px}.password-input button{min-height:40px}
@media(max-width:760px){
 button{min-height:44px;min-width:44px}input,select{min-height:44px}.card{padding:14px}.main{padding:0 12px calc(88px + env(safe-area-inset-bottom))}.heading .row{margin-top:10px}.form-foot{padding-top:10px}.form-foot .primary{min-height:44px}.home-action>span:last-child{display:none}.home-actions{margin-bottom:12px}.home-action .action-help{line-height:1.35}.inventory-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px}.inventory-table td{display:block;padding:0;min-width:0;border:0}.inventory-table td::before{display:block;font-size:11px;margin-bottom:2px}.inventory-table td.inventory-product{grid-column:1/-1}.inventory-table td.inventory-product::before{display:none}.inventory-table td.inventory-actions{grid-column:1/-1;display:block;max-width:none}.inventory-table td.inventory-actions::before{display:none}.inventory-actions .row{gap:6px}.inventory-table td button{flex:0 1 auto;min-height:44px;padding:7px 10px;font-size:13px}.inventory-table .stock-reserved{font-size:11px}.inventory-table .product-image{width:50px;height:50px}.selling-points button,.photo-tile button{min-height:44px}.selling-points .row.between{align-items:flex-start}.photo-preview .draft-photo{max-height:175px}.customer-review{padding:10px}.customer-review-toolbar{padding:12px}.customer-review-toolbar p{margin-bottom:8px}.customer-review button{min-height:44px}
}
@media(min-width:761px){.inventory-table td:first-child{width:29%}.inventory-table td:last-child{width:26%}.inventory-table .small{font-size:12px}.home-actions{margin-bottom:14px}}
@media(min-width:761px) and (max-width:1100px){.home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

.product-review-summary{min-width:0}.product-review-core{min-width:0}.product-review-core>p:first-child{margin-bottom:8px}.product-review-core .field-help{margin-bottom:0}.product-review-summary:has(>.photo-preview){display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.8fr);gap:16px;align-items:start}.product-review-summary>.photo-preview .draft-photo{height:190px;max-height:190px;margin-top:0}.listing-description{white-space:pre-line}
@media(max-width:760px){.product-review-summary:has(>.photo-preview){display:block}.product-review-summary>.photo-preview .draft-photo{height:120px;max-height:120px}.product-review-core .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-review-core .fields>div:nth-child(-n+2){grid-column:1/-1}.product-review-core label{font-size:13px}.product-review-core>p:first-child{font-size:12px;margin-top:6px}}

.photo-enlarge{display:block;position:relative;cursor:zoom-in;width:100%;padding:0;border:0;border-radius:6px;background:transparent;text-align:inherit}.photo-enlarge::after{content:'↗';position:absolute;right:5px;bottom:5px;font-size:16px;padding:1px 6px;border-radius:4px;background:#fff;color:#245f88;border:1px solid var(--line)}
html[lang=en] .selling-points label[for=description_en]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.photo-expanded .photo-enlarge{cursor:zoom-out}.photo-expanded img{height:auto!important;max-height:70vh!important;object-fit:contain}.product-review-summary:has(>.photo-expanded){grid-template-columns:1fr}.photo-grid>.photo-tile:has(.photo-expanded){grid-column:1/-1}
.selling-points>.row{flex-wrap:wrap;gap:8px}.selling-points>.row>.row{flex-wrap:wrap;gap:6px}.selling-points>.row button{min-height:44px;padding:7px 10px;font-size:13px}.copy-proposal{margin:8px 0}.copy-proposal pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.5}.selling-points progress{width:min(100%,280px);margin:8px 0}.wholesale-unit-help{grid-column:1/-1;margin:0}.product-review-core label{display:flex;align-items:center;flex-wrap:wrap;gap:5px}

.draft-review-actions{gap:.4rem;margin-top:.5rem}.draft-review-feedback h4{margin:.5rem 0 .2rem}.draft-review-reason{white-space:pre-wrap}.draft-review-thumb{display:block;max-width:160px;max-height:160px;object-fit:contain;margin:.4rem 0}.draft-review-feedback details{margin-top:.4rem}

/* Product-camera capture stays within the phone screen. */
.product-camera {max-width: 680px; margin: 0 auto;}
.product-camera video {display: block; width: 100%; max-height: 55vh; min-height: 160px; aspect-ratio: 4 / 3; object-fit: contain; background: #16202a; border-radius: 6px;}
.product-camera-actions {display: flex; flex-wrap: wrap; gap: .5rem;}
.product-camera-actions button {min-height: 44px;}

/* Keep the next task action visible on narrow screens. */
.task-guide p{margin:.45rem 0}.task-guide .row{align-items:center;gap:.4rem}.task-controls{display:flex;flex-wrap:wrap;gap:.45rem;position:sticky;bottom:0;background:var(--surface,#fff);padding:.65rem 0;border-top:1px solid #d8dee6;z-index:2}.task-controls button{flex:1 1 auto;min-height:42px;padding:.55rem .75rem}.task-workspace .form-foot{position:sticky;bottom:0;background:var(--surface,#fff);padding:.6rem 0;z-index:3}.task-result:empty{display:none}.task-result{white-space:pre-wrap}.task-state-waiting{background:#fff3cd}.task-state-blocked{background:#ffebe8}.task-tabs{margin:.75rem 0}.task-tabs [aria-pressed="true"]{background:#e4eefb;border-color:#486a99}.task-card h3{margin:.5rem 0}.task-card>button{width:100%}.task-checklist{padding-left:1.25rem}

.task-workspace:has(form)>.task-controls{position:static}

/* Compact multi-role account controls. */
.role-choices{border:1px solid var(--line,#d5dfdc);border-radius:8px;padding:10px;min-width:0;grid-column:1/-1}.role-choices legend{font-weight:650;padding:0 4px}.role-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:4px 12px}.role-choice-list .check{min-height:44px;margin:0;padding:4px 0}.role-access-preview{margin:12px 0}.access-source-list{padding-left:20px;font-size:.88rem}.access-source-list li{margin:5px 0;overflow-wrap:anywhere}
