:root{--ink:#14271b;--muted:#586b5d;--line:#e3e9e2;--paper:#f3f6f2;--lime:#32ff47;--green:#0d8136}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:'Plus Jakarta Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);display:grid;grid-template-rows:70px minmax(0,1fr) 36px;height:100vh;height:100dvh;-webkit-font-smoothing:antialiased}html[dir=rtl] body{font-family:'IBM Plex Sans Arabic',Arial,sans-serif}button,input{font:inherit}button{border:0;cursor:pointer;color:inherit;background:none}button:disabled{opacity:.4;cursor:default}button,a,input{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:3px}h1,h2,h3,h4,p{margin:0}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}img{display:block;max-width:100%}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:15px;background:var(--ink);color:#fff;padding:12px;z-index:100}.skip-link:focus{top:10px}.desk-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-inline:26px;background:#fff;border-bottom:1px solid var(--line)}.brand-group,.header-actions{display:flex;align-items:center;gap:20px;min-width:0}.brand-group>a{flex-shrink:0}.brand-group h1{font-size:1.125rem;font-weight:600;letter-spacing:-.025em;white-space:nowrap}.header-divider{height:20px;width:1px;background:var(--line);flex-shrink:0}.header-actions{gap:12px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;flex-shrink:0}.icon-button:hover,.text-button:hover{background:#eff5ee}.text-button,.language-button{font-size:1rem;font-weight:600;min-height:36px;padding:8px 12px;border-radius:9px;white-space:nowrap}.language-button{border:1px solid var(--line)}.connection{display:inline-flex;align-items:center;gap:7px;font-size:.875rem;color:var(--muted);white-space:nowrap}.connection i{width:6px;height:6px;background:#d7a953;border-radius:50%;flex-shrink:0}.connection[data-state=live]{color:var(--green)}.connection[data-state=live] i{background:#12ba43;box-shadow:0 0 0 3px #e1f7e3}.connection[data-state=error]{color:#a14e41}.connection[data-state=error] i{background:#b75442}.mobile-switch{display:none}.desk-layout{min-width:0;min-height:0;padding:18px;display:grid;grid-template-columns:325px minmax(0,1fr);gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;min-width:0;min-height:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid var(--line);min-height:66px;flex-shrink:0}.panel-heading h2{font-size:1.25rem;font-weight:700;letter-spacing:-.035em;display:flex;align-items:center;gap:10px}.subtle-label{font-size:.8125rem;color:var(--muted)}.builder{display:flex;flex-direction:column}.builder form{min-height:0;flex:1;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding:0 20px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-block:20px}.form-pair label{font-size:.875rem;font-weight:500;line-height:1.6}.form-pair label>span{display:block;margin-bottom:7px;color:#627669}input{width:100%;min-width:0;background:#f9fbf8;border:1px solid #dce5db;border-radius:8px;min-height:40px;padding:9px 10px;font-size:1rem;color:var(--ink)}input[type=number]{direction:ltr;padding-inline:5px;text-align:center;appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.item-table-head,.item-row{display:grid;grid-template-columns:minmax(0,1fr) 43px 58px 24px;gap:7px;align-items:center}.item-table-head{font-size:.8125rem;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:11px}.item-table-head>span:not(:first-child){text-align:center}.item-scroll{overflow:auto;min-height:0;padding-top:12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d2ded1 transparent}.item-row{margin-bottom:10px}.item-row input{font-size:1rem;min-height:38px;padding-inline:7px}.remove-item{width:24px;height:34px;border-radius:7px;font-size:1.375rem;color:#a0aca0;padding:0}.remove-item:hover:not(:disabled){color:#a44e42;background:#fcf0ed}.add-item{display:flex;gap:8px;align-items:center;font-size:1rem;font-weight:600;color:var(--green);padding:8px 0 16px}.add-item>span:first-child{font-size:1.5rem;font-weight:400}.builder-checkout{padding-block:16px 18px;background:#fff;border-top:1px solid var(--line)}.total{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:17px;font-size:1rem;color:#6b7f71}.total strong{font-size:1.625rem;letter-spacing:-.045em;color:var(--ink);direction:ltr}.primary{background:var(--ink);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:47px;padding:12px 17px;border-radius:11px;font-size:1rem;font-weight:600;width:100%}.primary>svg{stroke:var(--lime);width:19px;height:19px}.primary:hover:not(:disabled){background:#285137}.orders-panel{display:flex;flex-direction:column}.order-count{font-size:.875rem;min-width:24px;height:24px;display:inline-grid;place-items:center;border-radius:7px;background:#edf5eb;color:#58815e;font-weight:500;letter-spacing:0}.empty-state{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:20px;text-align:center;background:radial-gradient(ellipse at center,#f2f9ee 0,transparent 65%)}.empty-art{position:relative;width:92px;height:92px;margin-bottom:5px;transform:rotate(-7deg)}.empty-art>svg{width:92px;height:92px;stroke:#387348;stroke-width:1.6}.empty-art>svg>rect{fill:#f0f8eb;stroke:#c2d9bf}.empty-art>span{position:absolute;right:-2px;bottom:4px;display:grid;place-items:center;width:32px;height:32px;background:var(--lime);border:4px solid #fff;border-radius:50%;font-size:1.625rem;line-height:1;box-shadow:0 4px 14px #13291912}.empty-state h3{font-size:1.75rem;font-weight:600;letter-spacing:-.055em}.empty-state p{font-size:1rem;color:var(--muted);line-height:1.9}.empty-action{display:none}.order-workspace{flex:1;min-height:0;display:grid;grid-template-columns:185px minmax(0,1fr)}.order-list{min-height:0;overflow:auto;border-inline-end:1px solid var(--line);background:#fbfcfa;padding:12px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin;scrollbar-color:#d2ded1 transparent;overscroll-behavior:contain}.order-row{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 11px;text-align:start;flex-shrink:0}.order-row[aria-pressed=true]{border-color:#1c883a;background:#f0faec;box-shadow:0 0 0 1px #1c883a}.order-row:hover:not([aria-pressed=true]){border-color:#9eb69e}.order-row-top,.order-row-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.order-row-top{margin-bottom:12px}.order-row-top strong{font-size:1.375rem;font-weight:650;letter-spacing:-.04em;overflow-wrap:anywhere}.order-row-top>span{font-size:.75rem;color:var(--muted);text-align:end;overflow-wrap:anywhere}.status{display:inline-block;background:#f1f4ed;color:#6c7a5d;border-radius:6px;padding:4px 8px;font-size:.8125rem;font-weight:500;line-height:1.6}.status[data-status=accepted]{background:#e9f4e9;color:#39804b}.status[data-status=preparing]{background:#f8f0d6;color:#8b711d}.status[data-status=ready]{background:#d6fcc9;color:#25772c}.status[data-status=completed]{background:#e9f1f8;color:#4b7398}.status[data-status=cancelled]{background:#f9eae6;color:#a56154}.order-row .status{padding:3px 6px;font-size:.75rem}.order-expiry{font-size:.75rem;color:#8c998d;direction:ltr;flex-shrink:0}.order-row-review{display:block;font-size:.875rem;color:var(--green);margin-top:7px;letter-spacing:1px}.order-detail{min-width:0;min-height:0;padding:22px;display:flex;flex-direction:column;gap:18px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d2ded1 transparent}.detail-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-shrink:0}.detail-heading>div{display:flex;align-items:baseline;gap:14px;min-width:0}.detail-heading h3{font-size:1.75rem;font-weight:700;letter-spacing:-.05em;overflow-wrap:anywhere}.detail-meta{font-size:.875rem;color:var(--muted);white-space:nowrap}.detail-content{display:grid;grid-template-columns:minmax(190px,1fr) minmax(110px,.85fr);gap:24px;flex:1;min-height:0}.qr-wrap{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f7faf5;border:1px solid #e3ecdf;border-radius:14px;padding:16px;min-width:0;min-height:0}.qr-image{width:208px;height:208px;max-width:100%;aspect-ratio:1;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.qr-image img{width:208px;height:208px;max-width:100%;object-fit:contain}.qr-loading{font-size:.875rem;color:var(--muted);padding:15px;line-height:1.8}.qr-wrap>strong{font-size:1rem;margin-top:14px;font-weight:600}.qr-actions{display:flex;justify-content:center;gap:14px;margin-top:11px;flex-wrap:wrap}.qr-actions>a,.qr-actions>button{font-size:.8125rem;color:#588262;padding:4px 0;min-height:28px}.qr-actions>a:hover,.qr-actions>button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}.expiry{display:flex;justify-content:center;gap:7px;margin-top:13px;font-size:.75rem;color:#94a28e}.expiry strong{font-weight:500;direction:ltr}.qr-linked-mark{display:grid;place-items:center;width:80px;height:80px;background:var(--lime);border-radius:50%;font-size:2.125rem;color:#173e22}.order-summary{min-height:0;display:flex;flex-direction:column;gap:12px;padding-top:6px}.summary-heading{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:var(--muted);padding-bottom:13px;border-bottom:1px solid var(--line)}.summary-heading h4{font-size:1rem;font-weight:600;color:var(--ink)}.detail-items{list-style:none;padding:0;margin:0;overflow:auto;min-height:0;flex:1;scrollbar-width:thin;overscroll-behavior:contain}.detail-items li{display:flex;justify-content:space-between;gap:10px;font-size:.875rem;line-height:1.8;padding:10px 0;border-bottom:1px solid #f0f3ed}.detail-items li>span{overflow-wrap:anywhere}.detail-items li b{font-size:.8125rem;color:#98a58f;font-weight:400;white-space:nowrap}.detail-items strong{font-size:.875rem;white-space:nowrap;direction:ltr;font-weight:500}.detail-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-top:13px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted);flex-shrink:0}.detail-total strong{font-size:1.625rem;color:var(--ink);letter-spacing:-.035em;white-space:nowrap;direction:ltr}.detail-total small{font-size:.8125rem;font-weight:500;color:var(--muted);letter-spacing:0}.review-block{border-top:1px solid var(--line);padding-top:16px;flex-shrink:0;max-height:110px;overflow:auto;scrollbar-width:thin}.review-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.review-heading h4{font-size:.875rem;font-weight:600;white-space:nowrap}.review-waiting{font-size:.8125rem;line-height:1.8;color:#9aa699;text-align:end}.review-score{color:#158138;font-size:1.125rem;letter-spacing:1px;white-space:nowrap}.review-message{font-size:1rem;line-height:1.9;color:#5b7662;margin-top:9px;white-space:pre-wrap;overflow-wrap:anywhere}.status-controls{display:flex;gap:10px;align-items:center;flex-shrink:0}.status-controls>.primary{flex:1}.cancel-order{display:grid;place-items:center;width:47px;height:47px;border:1px solid #e6e9e1;background:#fafbf8;border-radius:11px;flex-shrink:0;color:#9a7468}.cancel-order:hover:not(:disabled){background:#fcf0eb;color:#a44d3b}.cancel-order svg{width:18px;height:18px}.terminal-note{width:100%;background:#f0f6ed;border-radius:10px;padding:15px;font-size:1rem;font-weight:600;color:#5f8367;display:flex;gap:12px;align-items:center}.terminal-note span{color:#168b34}.desk-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-inline:25px;font-size:.8125rem;color:#91a18e}.desk-footer>div{display:flex;gap:22px;align-items:center}.desk-footer a:hover{color:var(--green)}.announcement{position:fixed;bottom:55px;left:50%;transform:translateX(-50%);z-index:15;box-shadow:0 7px 30px #14291b20;background:var(--ink);color:#fff;padding:13px 21px;border-radius:12px;font-size:1rem;max-width:calc(100% - 32px);line-height:1.8;text-align:center;pointer-events:none}.announcement[data-error=true]{background:#9d4434}dialog{border:1px solid var(--line);border-radius:20px;color:var(--ink);background:#fff;width:min(440px,calc(100% - 32px));max-height:85dvh;padding:25px;box-shadow:0 22px 100px #12271833;overflow:auto}dialog::backdrop{background:#0d221a66;backdrop-filter:blur(4px)}.help-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.help-header h2{font-size:1.625rem;letter-spacing:-.04em}.help-steps{list-style:none;counter-reset:steps;margin:23px 0;padding:0}.help-steps li{position:relative;padding-inline-start:39px;margin-bottom:23px;counter-increment:steps}.help-steps li:before{content:counter(steps);display:grid;place-items:center;position:absolute;inset-inline-start:0;top:0;width:25px;height:25px;border-radius:50%;background:#e8f5e5;color:var(--green);font-size:.875rem;font-weight:600}.help-steps strong{font-size:1rem}.help-steps p,.help-note{font-size:1rem;line-height:1.9;color:var(--muted);margin-top:7px}.help-note{padding-top:17px;border-top:1px solid var(--line);font-size:.875rem}.app-badge{display:inline-flex;margin-top:23px}.app-badge img{width:132px;height:44px}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:0}html[dir=rtl] .detail-heading h3,html[dir=rtl] .order-row-top strong{font-family:'Plus Jakarta Sans','IBM Plex Sans Arabic',sans-serif;letter-spacing:-.035em}html[dir=rtl] .primary>svg{transform:rotate(180deg)}
@media(min-width:1550px){.desk-layout{grid-template-columns:355px minmax(0,1fr);padding:22px}.order-workspace{grid-template-columns:230px minmax(0,1fr)}.order-detail{padding:28px}.detail-content{grid-template-columns:1fr 1fr;gap:40px}.qr-image,.qr-image img{width:250px;height:250px}.order-list{padding:16px;gap:12px}.order-row{padding:17px}.detail-items li{font-size:1rem}}
@media(max-width:1150px){.desk-layout{grid-template-columns:300px minmax(0,1fr);gap:12px;padding:12px}.order-workspace{grid-template-columns:155px minmax(0,1fr)}.order-detail{padding:17px;gap:15px}.detail-content{gap:15px;grid-template-columns:minmax(160px,1fr) minmax(90px,.7fr)}.qr-image,.qr-image img{width:160px;height:160px}.qr-wrap{padding:10px}.order-row{padding:12px 9px}.order-row-bottom{gap:4px}.order-row .status{font-size:.75rem}.order-expiry{font-size:.75rem}.builder form{padding-inline:16px}.panel-heading{padding-inline:18px}.detail-total strong{font-size:1.375rem}}
@media(min-width:761px) and (max-width:1000px){.order-workspace{grid-template-columns:1fr;grid-template-rows:86px minmax(0,1fr)}.order-list{flex-direction:row;overflow:auto;border-inline-end:0;border-bottom:1px solid var(--line);padding:8px}.order-row{width:150px;min-width:150px;padding:9px 11px}.order-row-top{margin-bottom:6px}.order-row-top strong{font-size:1.125rem}.order-row-review{display:none}.detail-content{grid-template-columns:minmax(160px,1fr) minmax(90px,.7fr)}.qr-actions{gap:8px}.header-actions{gap:6px}.brand-group{gap:13px}.connection{font-size:.8125rem}}
@media(max-width:760px){body{grid-template-rows:60px 44px minmax(0,1fr) 34px}.desk-header{padding-inline:16px;gap:10px}.brand-group{gap:12px}.brand-group img{width:96px;height:29px}.brand-group>h1,.brand-group>.header-divider{display:none}.header-actions{gap:3px}.header-actions>.header-divider{display:none}.text-button,.language-button{font-size:.875rem;padding:7px 10px;min-height:34px}.icon-button{width:32px;height:34px}.header-actions svg{width:18px;height:18px}.connection{font-size:.8125rem;gap:5px}.mobile-switch{display:flex;gap:5px;margin:7px 14px 0;border-radius:10px;background:#e7eee3;padding:3px}.mobile-switch>button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;font-size:1rem;font-weight:600}.mobile-switch>button[aria-pressed=true]{background:#fff;box-shadow:0 2px 5px #1a3a1e0a}.mobile-switch #nav-order-count{font-size:.8125rem;color:#4e8053}.desk-layout{display:block;padding:10px 12px;min-height:0}.builder,.orders-panel{height:100%}body[data-view=builder] .orders-panel{display:none}body[data-view=orders] .builder{display:none}.panel{border-radius:13px}.panel-heading{min-height:52px;padding:14px 17px}.panel-heading h2{font-size:1.125rem}.builder form{padding-inline:17px}.form-pair{padding-block:16px}.item-table-head,.item-row{grid-template-columns:minmax(0,1fr) 48px 65px 25px;gap:8px}.item-row input{min-height:42px;font-size:1rem}.item-table-head{font-size:.875rem}.form-pair label{font-size:1rem}input{font-size:1.25rem;min-height:43px}.builder-checkout{padding-block:13px 15px}.total{margin-bottom:12px}.total strong{font-size:1.75rem}.primary{min-height:46px;font-size:1rem}.order-workspace{grid-template-columns:1fr;grid-template-rows:78px minmax(0,1fr)}.order-list{flex-direction:row;border-inline-end:0;border-bottom:1px solid var(--line);padding:7px 10px;gap:8px}.order-row{width:146px;min-width:146px;border-radius:8px;padding:8px 11px}.order-row-top{margin-bottom:5px}.order-row-top strong{font-size:1.125rem}.order-row-top>span{font-size:.75rem}.order-row .status{font-size:.75rem;padding:2px 5px}.order-expiry{font-size:.75rem}.order-row-review{display:none}.order-detail{padding:14px;gap:13px}.detail-heading h3{font-size:1.625rem}.detail-content{grid-template-columns:minmax(150px,1fr) minmax(90px,.7fr);gap:14px}.qr-image,.qr-image img{width:160px;height:160px}.qr-wrap{padding:10px}.qr-wrap>strong{font-size:.875rem;margin-top:10px}.qr-actions{gap:9px;margin-top:7px}.qr-actions>a,.qr-actions>button{font-size:.75rem;min-height:24px}.expiry{font-size:.75rem;margin-top:7px;gap:5px}.order-summary{padding-top:3px;gap:8px}.summary-heading{padding-bottom:9px}.detail-items li{font-size:.8125rem;padding-block:8px}.detail-items strong{font-size:.8125rem}.detail-total{display:block;padding-top:9px}.detail-total strong{display:block;margin-top:4px;font-size:1.5rem}.review-block{padding-top:12px;max-height:90px}.review-waiting{font-size:.75rem;max-width:160px}.review-heading h4{font-size:.875rem}.cancel-order{width:46px;height:46px}.empty-action{display:flex;gap:20px;align-items:center;justify-content:center;background:var(--ink);color:#fff;border-radius:10px;padding:12px 21px;font-size:1rem;margin-top:7px}.empty-action>span:last-child{color:var(--lime)}.empty-state h3{font-size:1.75rem}.desk-footer{padding-inline:16px;font-size:.75rem}.desk-footer>div{gap:15px}.desk-footer>div>a:last-child{display:none}.desk-footer>span{max-width:220px}.announcement{bottom:48px;font-size:.875rem;padding:10px 17px}html[dir=rtl] .desk-footer{font-size:.75rem}}
@media(max-width:370px){.desk-header{padding-inline:12px}.brand-group img{width:84px;height:26px}.brand-group{gap:9px}.connection{font-size:.75rem}.header-actions{gap:0}.icon-button{width:29px}.text-button,.language-button{font-size:.8125rem;padding-inline:8px}.desk-layout{padding:8px}.builder form{padding-inline:13px}.item-table-head,.item-row{grid-template-columns:minmax(0,1fr) 40px 55px 22px;gap:5px}.order-detail{padding:11px;gap:11px}.detail-content{grid-template-columns:minmax(140px,1fr) minmax(85px,.7fr);gap:10px}.qr-image,.qr-image img{width:140px;height:140px}.qr-wrap{padding:7px}.qr-actions{gap:7px}.qr-actions>a,.qr-actions>button{font-size:.75rem}.review-waiting{max-width:135px;font-size:.75rem}.desk-footer{font-size:.75rem;padding-inline:12px}.desk-footer>div{gap:10px}}
@media(max-height:650px) and (min-width:761px){body{grid-template-rows:58px minmax(0,1fr) 30px}.desk-layout{padding:10px}.panel-heading{padding-block:14px;min-height:50px}.form-pair{padding-block:14px}.builder-checkout{padding-block:12px}.total{margin-bottom:10px}.order-detail{padding:15px;gap:12px}.qr-image,.qr-image img{width:152px;height:152px}.qr-wrap{padding:12px}.qr-wrap>strong{margin-top:9px}.qr-actions{margin-top:4px}.expiry{margin-top:5px}.review-block{padding-top:10px;max-height:75px}.primary,.cancel-order{min-height:41px;height:41px}.detail-heading h3{font-size:1.625rem}.detail-content{min-height:220px}.detail-items li{padding-block:6px}}
@media(max-height:620px) and (max-width:760px){body{grid-template-rows:50px 40px minmax(0,1fr) 26px}.panel-heading{min-height:42px;padding-block:10px}.form-pair{padding-block:10px}.order-workspace{grid-template-rows:66px minmax(0,1fr)}.order-row{padding-block:5px}.order-row-top{margin-bottom:3px}.order-detail{gap:10px}.detail-content{min-height:200px}.qr-image,.qr-image img{width:130px;height:130px}.qr-wrap>strong{margin-top:6px}.qr-actions{margin-top:3px}.review-block{padding-top:9px}.empty-art,.empty-art>svg{width:60px;height:60px}.empty-state{gap:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep duplicate hints out of the way on short phone screens. */
@media(max-height:620px) and (max-width:760px){.detail-content{min-height:174px}.qr-wrap{padding:8px}.qr-wrap>strong,.qr-wrap>.expiry{display:none}.qr-actions{margin-top:3px}}
@media(max-width:370px){.connection{gap:0}.connection #connection-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
.detail-heading h3{min-width:0;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-meta{max-width:100px;overflow:hidden;text-overflow:ellipsis}.announcement{top:13px;bottom:auto}
@media(max-width:760px){.announcement{top:110px;max-width:calc(100% - 40px)}}

.terminal-note[data-status=cancelled]{background:#fbefeb;color:#a36350}.terminal-note[data-status=cancelled] span{color:inherit}

/* Readable type needs room to reflow at every workspace size. */
body{font-size:1rem;line-height:1.5;grid-template-rows:80px minmax(0,1fr) 48px}
.desk-layout{grid-template-columns:390px minmax(0,1fr)}
.desk-header{gap:16px}.brand-group{gap:16px}
.text-button,.language-button,.icon-button{min-height:44px}
.icon-button{width:44px}.connection{font-size:.875rem}
.form-pair label,.item-table-head,.total,.summary-heading,.summary-heading h4,.detail-total,.review-heading h4{font-size:.875rem}
.form-pair label>span{color:var(--muted)}
input,.item-row input{font-size:1rem;min-height:44px}
.item-table-head,.item-row{grid-template-columns:minmax(0,1fr) 52px 76px 28px;gap:8px}
.remove-item{width:28px;min-height:44px}
.primary{min-height:48px;height:auto;line-height:1.5}
.order-workspace{grid-template-columns:210px minmax(0,1fr)}
.order-row-top{align-items:start}.order-row-top>span,.order-expiry,.status,.order-row .status{font-size:.8125rem}
.order-row-bottom{flex-wrap:wrap;gap:6px}
.detail-heading{flex-wrap:wrap;gap:10px}.detail-heading>div{flex-wrap:wrap;gap:8px 14px}
.detail-heading h3{max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
.detail-meta{font-size:.875rem;max-width:none;white-space:normal}
.detail-content{flex:1 0 auto;min-height:280px;grid-template-columns:minmax(190px,1fr) minmax(150px,1fr)}
.qr-loading,.qr-wrap>strong,.qr-actions>a,.qr-actions>button,.expiry{font-size:.875rem}
.qr-actions{gap:4px 16px}.qr-actions>a,.qr-actions>button{min-height:44px;display:inline-flex;align-items:center;text-align:center}
.qr-wrap>strong{text-align:center}.expiry{flex-wrap:wrap;color:var(--muted)}
.detail-items{flex:1 0 auto;overflow:visible}
.detail-items li,.detail-items strong,.review-message{font-size:1rem}
.detail-items li b,.detail-total small,.review-waiting{font-size:.875rem;color:var(--muted)}
.review-heading{align-items:start;flex-wrap:wrap;gap:8px 16px}.review-heading h4{white-space:normal}
.review-waiting{text-align:start;max-width:none}.review-block{max-height:none;overflow:visible}
.desk-footer{font-size:.8125rem;color:var(--muted);line-height:1.5}
.desk-footer a{min-height:44px;display:inline-flex;align-items:center}
.help-steps p,.help-note{font-size:1rem}.help-steps strong{font-size:1.125rem}
.announcement{font-size:.875rem}.empty-state p{font-size:1rem;color:var(--muted)}
@media(min-width:1550px){.desk-layout{grid-template-columns:420px minmax(0,1fr)}.order-workspace{grid-template-columns:240px minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1350px){
 .desk-layout{grid-template-columns:360px minmax(0,1fr);gap:12px;padding:12px}
 .order-workspace{grid-template-columns:1fr;grid-template-rows:122px minmax(0,1fr)}
 .order-list{flex-direction:row;border-inline-end:0;border-bottom:1px solid var(--line);padding:10px;overflow:auto}
 .order-row{width:190px;min-width:190px;padding:10px 12px}.order-row-top{margin-bottom:8px}
 .detail-content{grid-template-columns:1fr;gap:18px}.qr-wrap{padding:16px}
 .order-row-review{display:none}.brand-group{gap:12px}.header-actions{gap:6px}
}
@media(max-width:760px){
 body{grid-template-rows:72px 56px minmax(0,1fr) 50px}
 .desk-header{padding-inline:12px;gap:8px}.brand-group{gap:8px}
 .brand-group img{width:90px;height:auto}.connection{gap:0}
 .connection #connection-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .header-actions{gap:2px}.text-button,.language-button{font-size:.875rem;padding-inline:8px;min-height:44px}
 .icon-button{width:40px;height:44px}.mobile-switch{margin-top:6px}
 .mobile-switch>button{font-size:1rem;min-height:44px}.mobile-switch #nav-order-count{font-size:.875rem}
 .panel-heading{min-height:60px}.panel-heading h2{font-size:1.25rem}
 .builder form{padding-inline:14px}.form-pair{gap:12px;padding-block:16px}
 .item-table-head,.item-row{grid-template-columns:minmax(0,1fr) 48px 72px 28px;gap:6px}
 .item-row input{padding-inline:5px}.builder-checkout{padding-block:14px}
 .order-workspace{grid-template-columns:1fr;grid-template-rows:116px minmax(0,1fr)}
 .order-row{width:185px;min-width:185px;padding:10px 12px}
 .order-row-top strong{font-size:1.25rem}.order-row-top>span{font-size:.8125rem}
 .order-row .status,.order-expiry{font-size:.8125rem}.order-row-bottom{gap:6px}
 .order-detail{padding:16px;gap:18px}.detail-content{grid-template-columns:1fr;gap:20px;min-height:0;flex:0 0 auto}
 .qr-wrap{padding:20px 16px}.qr-image,.qr-image img{width:208px;height:208px}
 .qr-wrap>strong,.qr-wrap>.expiry{display:flex;justify-content:center}
 .qr-wrap>strong{margin-top:14px}.qr-actions{gap:8px 20px;margin-top:10px}
 .expiry{margin-top:10px}.order-summary{gap:12px}.detail-total{display:flex;flex-wrap:wrap}
 .detail-total strong{margin-top:0}.review-block{padding-top:16px}.cancel-order{width:48px;height:48px}
 .empty-action{font-size:1rem;min-height:48px}.desk-footer{padding-inline:12px;font-size:.75rem}
 html[dir=rtl] .desk-footer{font-size:.75rem}.desk-footer>span{max-width:60%}
 .desk-footer>div{gap:12px}.announcement{top:136px}
}
@media(max-width:370px){
 .brand-group img{width:76px}.icon-button{width:34px}.desk-header{padding-inline:8px}
 .text-button,.language-button{padding-inline:6px}.desk-layout{padding:8px}
 .item-table-head,.item-row{grid-template-columns:minmax(0,1fr) 44px 66px 26px;gap:5px}
 .builder form{padding-inline:10px}.remove-item{width:26px}.desk-footer>div{gap:8px}
}
/* Short screens and browser zoom scroll the workspace instead of shrinking text. */
@media(max-height:700px){
 html,body{height:auto;min-height:100%;overflow:auto}
 body{min-height:100dvh;grid-template-rows:auto auto auto}
 .desk-header{min-height:72px}.desk-layout{min-height:620px}
 .builder form{grid-template-rows:auto auto minmax(140px,1fr) auto}
 .orders-panel{min-height:620px}.order-detail{overflow:visible}
 .desk-footer{min-height:50px}.detail-content{min-height:0}
}
@media(max-height:700px) and (max-width:760px){
 body{grid-template-rows:auto auto auto auto}.mobile-switch{min-height:50px}
 .builder,.orders-panel{height:auto;min-height:580px}.desk-layout{min-height:0}
 .builder form{flex:1;min-height:500px}.order-workspace{grid-template-rows:116px auto}
}
