@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--text:#243b35;--page:#f5f6f2;--surface:white;--secondary-text:#28473e;--button-border:#d9e0d9;--input-border:#ccd6cd;--input-text:#203c31;--disabled:#f3f5f1;--muted:#5a7066;--eyebrow:#648073;--pill:#e7eee2;--pill-text:#365a41;--count:#607769;--border:#dfe5dc;--complete:#eef3e9;--divider:#e5e9e1;--table-head:#edf1e9;--table-label:#5e7868;--table-divider:#e8ece4;--notice:#eff1df;--notice-border:#e2e5c9;--notice-text:#545a25;--danger:#fae9e6;--danger-border:#e9bfb7;--danger-text:#8d332b;--empty:#607468;--empty-title:#304f3c;--fieldset:#dbe3d8}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--text:#dfebe5;--page:#101b17;--surface:#1a2a23;--secondary-text:#d5e7dd;--button-border:#42594c;--input-border:#4b6255;--input-text:#e1eee6;--disabled:#23332b;--muted:#a9bfb1;--eyebrow:#a2bead;--pill:#2b4333;--pill-text:#c0dfbd;--count:#a9bfaf;--border:#364b3e;--complete:#203728;--divider:#344a3c;--table-head:#23382b;--table-label:#b1cbb8;--table-divider:#344a3c;--notice:#343923;--notice-border:#555d35;--notice-text:#e0e6b1;--danger:#402823;--danger-border:#7a453b;--danger-text:#ffc0b3;--empty:#a8bfaf;--empty-title:#c9e0cd;--fieldset:#405545}:root{color:var(--text);background:var(--page);font-synthesis:none;font-family:DM Sans,system-ui,sans-serif;font-size:15px;line-height:1.55}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#195342;border:1px solid #0000;border-radius:8px;min-height:44px;padding:10px 17px;font-weight:600}button:hover{filter:brightness(.95)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:var(--surface);color:var(--secondary-text);border-color:var(--button-border)}button.quiet{color:inherit;background:0 0}input,select,textarea{border:1px solid var(--input-border);background:var(--surface);min-height:44px;color:var(--input-text);border-radius:7px;width:100%;padding:10px 12px}input[type=checkbox]{accent-color:#195342;width:20px;min-height:20px}input:disabled,textarea:disabled{background:var(--disabled)}input:focus,select:focus,textarea:focus,button:focus-visible{outline-offset:2px;outline:3px solid #80b6a5}label{flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}label.check{flex-direction:row;align-items:center;gap:10px}textarea{resize:vertical;min-height:80px}h1{letter-spacing:-1px;margin:8px 0 20px;font-size:2.15rem;font-weight:600;line-height:1.2}h2{margin:0 0 12px;font-size:1.25rem;font-weight:600}h3{margin:0;font-size:1.18rem;font-weight:600}p{margin:8px 0 16px}small,.muted{color:var(--muted);font-size:.85rem}.eyebrow,.aside-label{letter-spacing:2px;color:var(--eyebrow);font-size:.7rem;font-weight:700}.layout{grid-template-columns:238px minmax(0,1fr);min-height:100vh;display:grid}aside{color:#e2eee6;background:#133b32;flex-direction:column;height:100vh;padding:30px 20px;display:flex;position:sticky;top:0}.brand{color:#d7edba;align-items:center;gap:14px;margin:0 10px 45px;font-size:1.7rem;font-weight:700;text-decoration:none;display:flex}.brand span{color:#fff;font-size:1.25rem}.aside-label{color:#a4bbae;margin-left:12px}nav{flex-direction:column;gap:5px;display:flex}nav button{text-align:left;color:#d3e3d9;background:0 0;align-items:center;gap:14px;font-weight:500;display:flex}nav button.active{color:#e2f2b9;background:#2a5145}nav button span{width:22px;font-size:1.2rem}.account{border-top:1px solid #37594d;flex-direction:column;margin-top:auto;padding:20px 10px 0;display:flex}.account small{color:#b3c8ba}.account button{text-align:left;padding-left:0}.workspace{width:100%;max-width:1580px;padding:38px 46px}header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.pill{background:var(--pill);color:var(--pill-text);white-space:nowrap;border-radius:20px;padding:5px 10px;font-size:.76rem;display:inline-block}.toolbar{flex-wrap:wrap;align-items:end;gap:16px;margin:24px 0;display:flex}.grow{flex:1;min-width:180px}.button-group,.actions{flex-wrap:wrap;gap:10px;display:flex}.actions{margin:16px 0}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin:30px 0 18px;display:flex}.section-heading>span{color:var(--count);font-size:.85rem}.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:20px;display:grid}.order-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px}.order-card.complete{background:var(--complete)}.card-title{justify-content:space-between;gap:12px;display:flex}.statuses{flex-wrap:wrap;gap:18px;margin:20px 0;font-size:.85rem;display:flex}.order-card footer{border-top:1px solid var(--divider);justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:16px;display:flex}.order-note{border-left:3px solid #b2c997;padding:5px 12px}.panel,.table-wrap,.editor{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:20px 0;padding:22px}.panel form{gap:18px;max-width:700px;display:grid}.table-wrap{padding:0;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%}th{text-transform:uppercase;letter-spacing:1px;color:var(--table-label);background:var(--table-head);padding:15px 20px;font-size:.72rem}td{border-top:1px solid var(--table-divider);padding:14px 20px}td.number,th.number{text-align:right;font-weight:700}.notice{background:var(--notice);border:1px solid var(--notice-border);color:var(--notice-text);border-radius:8px;padding:14px 18px}.notice.small{font-size:.8rem}.notice.danger{background:var(--danger);border-color:var(--danger-border);color:var(--danger-text)}.empty{text-align:center;color:var(--empty);padding:50px 20px}.empty h2{color:var(--empty-title)}.login{max-width:560px;margin:10vh auto;padding:38px}.login h1{margin:24px 0;font-size:2.7rem;line-height:1.2}.editor-fields{flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0;display:flex}.quantity{max-width:110px}.suggestions{flex-direction:column;gap:6px;margin:12px 0;display:flex}.suggestions button{text-align:left}.history{padding-left:24px}.history li{padding:12px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.product-checks{flex-direction:column;gap:8px;max-height:260px;display:flex;overflow:auto}fieldset{border:1px solid var(--fieldset);border-radius:8px}progress{accent-color:#195342;width:100%}@media print{aside,header,.toolbar,button,.notice{display:none!important}.layout{display:block}.workspace{padding:0}.table-wrap{border:0}body,th{background:var(--surface)}}.brand-cup{object-fit:contain;flex-shrink:0;width:30px;height:46px;display:block}.theme-toggle{z-index:20;align-items:center;gap:8px;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 3px 16px #0003}.theme-toggle span{font-size:1.3rem;line-height:1}.workspace,.login{padding-bottom:90px}@media (width<=640px){.theme-toggle{bottom:14px;right:14px}}@media print{:root,:root[data-theme]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--text:#243b35;--page:#f5f6f2;--surface:white;--secondary-text:#28473e;--button-border:#d9e0d9;--input-border:#ccd6cd;--input-text:#203c31;--disabled:#f3f5f1;--muted:#5a7066;--eyebrow:#648073;--pill:#e7eee2;--pill-text:#365a41;--count:#607769;--border:#dfe5dc;--complete:#eef3e9;--divider:#e5e9e1;--table-head:#edf1e9;--table-label:#5e7868;--table-divider:#e8ece4;--notice:#eff1df;--notice-border:#e2e5c9;--notice-text:#545a25;--danger:#fae9e6;--danger-border:#e9bfb7;--danger-text:#8d332b;--empty:#607468;--empty-title:#304f3c;--fieldset:#dbe3d8}html,body{color:#243b35;background:#fff}.theme-toggle{display:none!important}}.menu-toggle{display:none}.workspace,.panel,.editor,.toolbar>*,.editor-fields>*,.card-title>*,header>*,.section-heading>*{min-width:0}h1,h2,h3,p,td,.account strong,.history li{overflow-wrap:anywhere}fieldset{min-width:0}input[type=checkbox]{flex-shrink:0}label.check{min-height:44px}aside{height:100dvh;overflow-y:auto}.table-wrap{overscroll-behavior-x:contain;max-width:100%}.quantity{min-width:76px}.card-title{flex-wrap:wrap}.theme-toggle{right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}@media screen and (width<=1100px){.layout{grid-template-columns:210px minmax(0,1fr)}aside{padding:24px 14px}.brand{gap:10px;margin:0 6px 32px}.brand span{font-size:1.15rem}.workspace{padding:28px 24px 100px}.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.order-card footer{flex-wrap:wrap}}@media screen and (width<=900px){.layout{display:block}aside{grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto;padding:14px 24px;display:grid;position:static}.brand{gap:10px;margin:0;font-size:1.2rem}.brand-cup{width:24px;height:36px}.menu-toggle{color:#e2eee6;background:#2a5145;border-color:#527466;align-self:center;display:block}.aside-label{display:none}aside nav,aside .account{grid-column:1/-1;display:none}aside.menu-open nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:8px;display:grid}nav button{white-space:normal;gap:8px;min-height:48px;padding:12px}nav button span{flex-shrink:0}aside.menu-open .account{flex-flow:wrap;align-items:center;gap:8px 16px;margin:4px 0 0;padding:12px 0 0;display:flex}.account button{margin-left:auto;padding:10px 12px}.workspace{max-width:none}header{flex-wrap:wrap;align-items:flex-start;gap:8px}header h1{margin-bottom:8px}.toolbar{gap:12px}.toolbar>label:not(.check){flex:220px}.section-heading{flex-wrap:wrap;gap:10px}.editor-fields>label{flex:220px}.panel,.editor{padding:20px}}@media screen and (width<=600px){:root{font-size:16px}aside{padding:12px 16px}aside.menu-open nav{grid-template-columns:repeat(2,minmax(0,1fr))}nav button{font-size:.875rem}.account strong{flex-basis:100%}.account small{font-size:.8rem}.workspace{padding:24px 16px calc(100px + env(safe-area-inset-bottom))}h1{letter-spacing:-.5px;font-size:1.8rem}h2{font-size:1.15rem}header{margin-bottom:16px}header>div{width:100%}.toolbar{grid-template-columns:minmax(0,1fr);margin:20px 0;display:grid}.toolbar>*,.toolbar .grow{width:100%;min-width:0}.button-group{grid-template-columns:1fr 1fr;display:grid}.actions{grid-template-columns:minmax(0,1fr);display:grid}button{min-height:48px}input,select,textarea{max-width:100%;min-height:48px;font-size:16px}.cards{grid-template-columns:minmax(0,1fr);gap:14px}.order-card{padding:18px}.order-card footer{flex-direction:column;align-items:stretch}.statuses{gap:10px 16px}.panel,.editor{margin:16px 0;padding:16px}.notice{padding:12px 14px}.section-heading{margin:24px 0 14px}.editor>.section-heading{margin-top:0}.editor-fields{grid-template-columns:minmax(0,1fr);display:grid}.editor-fields>.grow{min-width:0}.suggestions button{text-wrap:wrap;overflow-wrap:anywhere}.login{margin:5vh auto;padding:24px 20px 100px}.login h1{font-size:2rem}.login>button{width:100%}.theme-toggle{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));font-size:.875rem}.table-wrap:has(.responsive-table){background:0 0;border:0;overflow:visible}.responsive-table,.responsive-table tbody{width:100%;display:block}.responsive-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.responsive-table tr{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin-bottom:12px;padding:6px 14px;display:block}.responsive-table td{text-align:left;grid-template-columns:minmax(80px,.7fr) minmax(0,1.3fr);align-items:center;gap:12px;padding:10px 0;display:grid}.responsive-table td:first-child{border-top:0}.responsive-table td:before{content:attr(data-label);color:var(--table-label);font-size:.75rem;font-weight:600}.responsive-table td>button{justify-self:start}.responsive-table .quantity{width:100%;max-width:120px}th,td{padding:12px}}.theme-switch,.theme-switch__input{-webkit-tap-highlight-color:transparent;position:relative}.theme-switch{margin:auto}.theme-switch__input,.theme-switch__input:before{background-color:var(--switch-ink)}.theme-switch__input{cursor:pointer;appearance:none;border-radius:.75em;width:3em;height:1.5em;transition:background-color .4s cubic-bezier(.65,0,.35,1);display:block}.theme-switch__input:before{content:"";border-radius:50%;width:1.25em;height:1.25em;transition:background-color .4s cubic-bezier(.65,0,.35,1),transform .4s cubic-bezier(.65,0,.35,1);display:block;position:absolute;top:.125em;left:.125em}.theme-switch__icon,.theme-switch__icon-part{display:block;position:absolute;top:0;left:0}.theme-switch__icon{background-color:var(--switch-paper);pointer-events:none;border-radius:50%;width:1.25em;height:1.25em;transition:transform .4s cubic-bezier(.65,0,.35,1);top:.125em;left:.125em;overflow:hidden}.theme-switch__icon-part{transition:box-shadow .4s cubic-bezier(.65,0,.35,1),transform .4s cubic-bezier(.65,0,.35,1)}.theme-switch__icon-part--1,.theme-switch__icon-part--2,.theme-switch__icon-part--3{border-radius:50%}.theme-switch__icon-part--1{background-color:var(--switch-paper);width:.75em;height:.75em;top:calc(50% - .375em);left:calc(50% - .375em)}.theme-switch__icon-part--2{background-color:var(--switch-ink);width:.5em;height:.5em;top:calc(50% - .4375em);left:calc(50% - .0625em);transform:translate(-.1875em,.1875em)scale(.2)}.theme-switch__icon-part--3{box-shadow:0 0 0 .625em var(--switch-ink) inset;width:1.25em;height:1.25em;transform:scale(.25)}.theme-switch__icon-part--3~.theme-switch__icon-part{background-color:var(--switch-ink);transform-origin:50% 0;border-radius:.0625em;width:.125em;height:.1875em;top:50%;left:50%}.theme-switch__icon-part--4{transform:translate(-50%)rotate(0)translateY(.25em)}.theme-switch__icon-part--5{transform:translate(-50%)rotate(45deg)translateY(.25em)}.theme-switch__icon-part--6{transform:translate(-50%)rotate(90deg)translateY(.25em)}.theme-switch__icon-part--7{transform:translate(-50%)rotate(135deg)translateY(.25em)}.theme-switch__icon-part--8{transform:translate(-50%)rotate(180deg)translateY(.25em)}.theme-switch__icon-part--9{transform:translate(-50%)rotate(225deg)translateY(.25em)}.theme-switch__icon-part--10{transform:translate(-50%)rotate(270deg)translateY(.25em)}.theme-switch__icon-part--11{transform:translate(-50%)rotate(315deg)translateY(.25em)}.theme-switch__sr{width:1px;height:1px;position:absolute;overflow:hidden}.theme-switch__input:checked{background-color:var(--switch-paper)}.theme-switch__input:checked:before,.theme-switch__input:checked~.theme-switch__icon{transform:translate(1.5em)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--2{transform:translate(0)scale(1)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--3{box-shadow:0 0 0 .25em var(--switch-ink) inset;transform:scale(1)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--4{transform:translate(-50%)rotate(0)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--5{transform:translate(-50%)rotate(45deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--6{transform:translate(-50%)rotate(90deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--7{transform:translate(-50%)rotate(135deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--8{transform:translate(-50%)rotate(180deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--9{transform:translate(-50%)rotate(225deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--10{transform:translate(-50%)rotate(270deg)translateY(.625em)scale(0)}.theme-switch__input:checked~.theme-switch__icon .theme-switch__icon-part--11{transform:translate(-50%)rotate(315deg)translateY(.625em)scale(0)}.theme-switch{--switch-ink:var(--text);--switch-paper:var(--page);cursor:pointer;touch-action:manipulation;background:0 0;border-radius:28px;flex-shrink:0;width:84px;height:48px;margin:0;padding:6px;font-size:24px;line-height:1;display:block;position:relative}.theme-switch .theme-switch__input{width:72px;height:36px;min-height:36px;font:inherit;accent-color:auto;border:0;margin:0;padding:0}.theme-switch .theme-switch__icon{top:9px;left:9px}.theme-switch__input:focus-visible{outline-offset:3px;outline:3px solid #80b6a5}@media (prefers-reduced-motion:reduce){.theme-switch__input,.theme-switch__input:before,.theme-switch__icon,.theme-switch__icon-part{transition:none!important}}@media print{.theme-switch{display:none!important}}.menu-appearance{border-bottom:1px solid #37594d;align-items:center;width:100%;margin:0 0 14px;padding-bottom:14px;display:flex}.menu-appearance .theme-switch{--switch-ink:#b3c8ba;--switch-paper:#133b32}:root[data-theme=dark] .menu-appearance .theme-switch{--switch-ink:#c2d9ca;--switch-paper:#234b3e}.login-appearance{justify-content:flex-end;margin-bottom:20px;display:flex}@media screen and (width<=900px){.menu-appearance{flex-basis:100%;margin-bottom:4px;padding-bottom:10px}}@media print{.login-appearance,.menu-appearance{display:none!important}}:root{--completed-surface:#e5f2e8;--completed-border:#3b8055;--completed-badge:#24663e;--completed-badge-text:#f3fff5}:root[data-theme=dark]{--completed-surface:#203e2d;--completed-border:#80c998;--completed-badge:#b5e3c1;--completed-badge-text:#143620}.order-card.complete{background:var(--completed-surface);border-color:var(--completed-border);border-inline-start:6px solid var(--completed-border)}.order-card.complete .completion-badge{background:var(--completed-badge);color:var(--completed-badge-text);padding:6px 12px;font-size:.82rem;font-weight:700}.order-card.complete footer{border-top-color:var(--completed-border)}.customer-picker{width:100%;max-width:700px;margin:24px 0}.customer-picker>label{margin-bottom:6px}.customer-picker-search{gap:8px;display:flex}.customer-picker-search input{flex:1;min-width:0}.customer-picker-search button{flex-shrink:0;min-width:48px}.customer-picker-results{background:var(--surface);border:1px solid var(--border);overscroll-behavior:contain;border-radius:10px;max-height:min(360px,50dvh);margin-top:8px;overflow-y:auto}.customer-picker-count{color:var(--muted);border-bottom:1px solid var(--divider);margin:0;padding:10px 14px;font-size:.8rem}.customer-picker-results ul{margin:0;padding:4px;list-style:none}.customer-picker-results li+li{border-top:1px solid var(--divider)}.customer-picker-results button{text-align:left;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;width:100%;padding:12px;font-weight:400;display:grid}.customer-picker-results button:hover{background:var(--pill);filter:none}.customer-picker-results strong{overflow-wrap:anywhere;font-weight:600}.customer-picker-results small{grid-column:1/-1}.customer-picker-action{color:var(--secondary-text);align-self:center;font-size:.8rem}@media screen and (width<=600px){.customer-picker-results button{grid-template-columns:minmax(0,1fr)}.customer-picker-action{grid-row:3}}.import-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.import-counts>div{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;padding:16px;display:flex}.import-counts strong{font-size:1.7rem}.import-counts span{color:var(--muted);font-size:.85rem}.import-error{color:var(--danger-text);margin:4px 0;font-size:.85rem}.import-errors{overflow-wrap:anywhere;max-height:300px;overflow:auto}.item-unit{margin-top:4px;display:block}@media (width<=600px){.import-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}.customer-history .section-heading{margin-top:0}.customer-history-order{border-top:1px solid var(--divider);padding:14px 0}.customer-history-order summary{cursor:pointer;overflow-wrap:anywhere;min-height:48px;padding:8px 0}.customer-history-order summary span{color:var(--muted);margin-top:4px;font-size:.85rem;display:block}.customer-history-order summary:focus-visible{outline-offset:2px;outline:3px solid #80b6a5}td[data-label=Úprava]>button+button{margin-left:8px}@media (width<=600px){td[data-label=Úprava]>button+button{grid-column:2;margin:0}}.order-status{border:1px solid;border-radius:8px;align-items:center;padding:6px 10px;line-height:1.4;display:inline-flex}.order-status.is-pending{color:#963e38;background:#fcf0ed;border-color:#ecc8c1;font-weight:500}.order-status.is-done{color:#21613c;background:#e5f3e9;border-color:#a9d2b6;font-weight:700}:root[data-theme=dark] .order-status.is-pending{color:#f5aaa0;background:#3b2825;border-color:#745047}:root[data-theme=dark] .order-status.is-done{color:#a2e0b6;background:#203d2c;border-color:#4a805c}@media print{.order-status.is-done,.order-status.is-pending{color:#243b35!important;background:0 0!important;border-color:#82958a!important}}.login-screen{isolation:isolate;color:#173237;background:#fbfcfa;place-items:center;min-height:100dvh;padding:48px 24px;display:grid;position:relative;overflow:hidden}.login-backdrop{z-index:-1;opacity:.36;pointer-events:none;width:900px;max-width:none;height:auto;position:absolute;top:50%;left:calc(50% + 45px);transform:translateY(-46%)}.login-theme{position:absolute;top:20px;right:24px}.login-card{text-align:center;background:#ffffffed;border:1px solid #ffffffb3;border-radius:24px;width:100%;max-width:594px;padding:54px 60px 46px;box-shadow:0 14px 55px #2949320d}.login-logo{object-fit:contain;width:88px;height:136px;margin:0 auto 40px;display:block}.login-card h1{letter-spacing:-1.4px;margin:0 0 14px;font-size:48px;font-weight:700;line-height:1.2}.login-subtitle{color:#7f8d90;margin:0 0 42px;font-size:22px;line-height:1.5}.login-google{width:100%;min-height:74px;color:inherit;background:0 0;border:1px solid #dfe2e1;border-radius:999px;justify-content:center;align-items:center;gap:22px;padding:16px 24px;font-size:21px;font-weight:500;display:flex;box-shadow:0 8px 24px #193b2d04}.login-google:hover{filter:none;background:#f6f9f3;border-color:#bbcdb6}.login-google svg{flex-shrink:0;width:34px;height:34px}.login-footnote{color:#879598;margin:40px 0 8px;font-size:16px}.login-session{overflow-wrap:anywhere}.login-card .notice{text-align:left;font-size:15px}:root[data-theme=dark] .login-screen{background:var(--page);color:var(--text)}:root[data-theme=dark] .login-card{border-color:var(--border);background:#1a2a23f5;box-shadow:0 14px 55px #0002}:root[data-theme=dark] .login-backdrop{opacity:.08}:root[data-theme=dark] .login-subtitle,:root[data-theme=dark] .login-footnote{color:var(--muted)}:root[data-theme=dark] .login-google{border-color:var(--button-border)}:root[data-theme=dark] .login-google:hover{background:var(--pill)}@media (width<=640px){.login-screen{padding:88px 20px 40px}.login-card{border-radius:22px;padding:36px 24px 30px}.login-logo{width:70px;height:108px;margin-bottom:28px}.login-card h1{font-size:36px}.login-subtitle{margin-bottom:30px;font-size:18px}.login-google{gap:14px;min-height:62px;padding:14px 16px;font-size:16px}.login-google svg{width:28px;height:28px}.login-footnote{margin-top:30px;font-size:14px}.login-backdrop{width:680px;left:35%}}.catalog-action{vertical-align:middle;justify-content:center;align-items:center;gap:8px;display:inline-flex}.catalog-action svg{flex-shrink:0;width:19px;height:19px}button.catalog-delete{color:var(--danger-text);border-color:var(--danger-border)}@media (width<=900px){.catalog-action-label{display:none}.catalog-action{width:44px;padding:10px}}.workspace.workspace-order{max-width:1200px;margin-inline:auto}.workspace-order>header{align-items:center;margin-bottom:12px}.workspace-context{color:var(--muted);margin:0;font-size:.85rem;font-weight:500}.workspace-order>.notice.small{margin:0 0 16px;padding:9px 14px;font-size:.73rem}.order-detail.editor{border-radius:14px;margin:0;padding:26px 28px}.order-detail-header{border-bottom:1px solid var(--divider);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;display:flex}.order-title{flex:1;min-width:0}.order-title h1{letter-spacing:-.6px;margin:0 0 8px;font-size:1.8rem;line-height:1.2}.order-title p{color:var(--muted);margin:0;font-size:.8rem}.order-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;max-width:52%;display:flex}.order-header-actions button{padding:8px 14px;font-size:.85rem}.order-state{background:var(--pill);color:var(--pill-text);white-space:nowrap;border-radius:6px;align-items:center;padding:5px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.order-state.is-completed{background:var(--completed-surface);color:var(--completed-badge)}.order-sync{color:var(--muted);align-items:center;gap:5px;font-size:.76rem;display:inline-flex}.order-sync.is-pending{color:var(--notice-text)}.order-sync.has-error{color:var(--danger-text)}.order-overview{flex-wrap:wrap;align-items:center;gap:32px;padding:20px 0;display:flex}.order-content-lock{margin:0 0 18px;font-size:.8rem}.order-delivery,.order-fulfilment{flex-direction:column;gap:8px;min-width:0;display:flex}.order-delivery>strong{font-size:1rem;font-weight:600}.order-field-label,.order-delivery>label{color:var(--muted);font-size:.76rem;font-weight:600}.order-date-input{align-items:center;gap:8px;display:flex}.order-date-input input{width:170px;min-width:0}.order-date-input button{padding:8px 13px}.order-badges{flex-wrap:wrap;gap:8px;display:flex}.order-badges .order-status{border-radius:6px;padding:6px 10px;font-size:.78rem}.order-badges .order-status.is-pending{color:var(--muted);background:var(--page);border-color:var(--border);font-weight:500}.order-detail .order-alert{margin:14px 0;padding:12px 14px;font-size:.85rem}.order-alert p{margin:4px 0 0}.order-reader{background:var(--pill);border-radius:6px;margin:14px 0 0;padding:10px 12px;font-size:.85rem}.order-resume{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;font-size:.8rem;display:flex}.order-resume button{font-size:.85rem}.order-unsaved{color:var(--notice-text);margin:12px 0 0;font-size:.8rem}.order-unsaved button{padding:5px 10px;font-size:.8rem;text-decoration:underline}.order-customer-note{border-left:3px solid var(--button-border);white-space:pre-wrap;margin:0 0 20px;padding:6px 12px;font-size:.85rem}.order-customer-note strong{color:var(--muted);margin-bottom:3px;font-size:.75rem;display:block}.order-section-title{align-items:center;gap:10px;margin:4px 0 14px;display:flex}.order-section-title h2{margin:0;font-size:1.1rem}.order-count{color:var(--muted);background:var(--pill);border-radius:10px;padding:2px 8px;font-size:.75rem}.order-product-search{width:100%;max-width:500px;margin:0 0 14px}.order-product-search>input{width:100%;max-width:none}.order-product-popover{border:1px solid var(--input-border);background:var(--surface);max-width:none;max-height:320px;color:var(--text);z-index:1000;border-radius:9px;flex-direction:column;margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden;box-shadow:0 8px 24px #10251d24}.order-product-popover .suggestions{overscroll-behavior:contain;flex-direction:column;gap:0;min-height:0;margin:0;padding:4px;scroll-padding:4px;display:flex;overflow-y:auto}.order-product-popover .suggestions button{text-align:left;white-space:normal;width:100%;height:auto;min-height:60px;color:var(--text);filter:none;background:0 0;border:0;border-radius:5px;flex-shrink:0;align-items:center;gap:12px;padding:10px 12px;font-weight:400;line-height:1.45;display:flex}.order-product-popover .suggestions button+button{border-top:1px solid var(--divider)}.order-product-popover .suggestions button:hover,.order-product-popover .suggestions button[aria-selected=true]{background:var(--pill)}.order-product-popover .suggestions button:focus-visible{outline-offset:-2px;background:var(--pill);outline:2px solid #80b6a5}.product-option-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.product-option-text strong{overflow-wrap:anywhere;white-space:normal;font-size:.9rem;font-weight:500;line-height:1.45;display:block}.product-option-text small{color:var(--muted);overflow-wrap:anywhere;white-space:normal;font-size:.76rem;line-height:1.4;display:block}.product-option-plus{color:var(--muted);flex-shrink:0;align-self:center;font-size:1.2rem}.product-search-empty{color:var(--muted);margin:0;padding:16px;font-size:.85rem}.order-items-wrap{border:1px solid var(--border);border-radius:9px;overflow:hidden}.order-items{table-layout:fixed}.order-items th{letter-spacing:.8px;padding:10px 16px;font-size:.68rem}.order-items td{padding:10px 16px;font-size:.9rem}.order-items th:first-child{width:140px}.order-items th:nth-child(3){width:154px}.order-items.is-editable th:last-child{width:60px}.order-item-code{color:var(--muted);overflow-wrap:anywhere;font-size:.78rem!important}.order-item-name strong{overflow-wrap:anywhere;font-weight:500}.order-item-unit{color:var(--muted);white-space:nowrap;margin-left:8px;font-size:.8rem;display:inline}.order-item-unit:before{content:"·";margin-right:8px}.order-items .quantity{text-align:right;width:100px;min-width:0;max-width:100%;min-height:44px;padding:8px 12px;font-weight:600}.order-quantity-text{font-variant-numeric:tabular-nums;font-weight:600}.order-quantity-text small{font-weight:400}.order-item-remove button{width:44px;color:var(--muted);justify-content:center;align-items:center;padding:8px;display:flex}.order-item-remove button:hover{color:var(--danger-text);background:var(--danger)}.order-items .order-item-remove{padding:4px 8px}.order-empty{text-align:center;color:var(--muted);margin:0;padding:24px;font-size:.9rem}.order-mobile-label{display:none}.order-detail .order-note{border:0;margin:24px 0 20px;padding:0}.order-note h2{margin:0 0 8px;font-size:.85rem}.order-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.9rem}.order-note textarea{resize:vertical;min-height:70px;max-height:280px;font-size:.9rem;overflow-y:auto}.order-primary-actions{flex-wrap:wrap;gap:10px;padding:2px 0 22px;display:flex}.order-primary-actions button{font-size:.85rem}.order-details{border-top:1px solid var(--divider);font-size:.85rem}.order-details>summary{cursor:pointer;color:var(--muted);min-height:44px;padding:15px 0 0;font-weight:500}.order-details>summary:focus-visible{outline-offset:3px;outline:3px solid #80b6a5}.order-details-body{padding-top:16px}.order-metadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0 0 18px;display:grid}.order-metadata dt{color:var(--muted);font-size:.74rem}.order-metadata dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:.82rem}.order-details-body>.muted{font-size:.78rem}.order-technical-actions{flex-wrap:wrap;gap:8px;display:flex}.order-technical-actions button{padding:8px 12px;font-size:.8rem}.order-details .history{font-size:.82rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace.workspace-drafts{max-width:1240px;margin-inline:auto}.workspace-drafts>header{align-items:center;margin-bottom:12px}.workspace-drafts>.notice.small{margin:0 0 24px;padding:9px 14px;font-size:.73rem}.draft-heading{justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px;display:flex}.draft-heading h1{letter-spacing:-.6px;flex-wrap:wrap;align-items:center;gap:12px;margin:0;font-size:1.9rem;display:flex}.draft-heading p{color:var(--muted);margin:5px 0 0;font-size:.85rem}.draft-total{letter-spacing:0;text-align:center;background:var(--pill);min-width:28px;color:var(--pill-text);border-radius:8px;padding:3px 8px;font-size:.85rem}.draft-heading>button{flex-shrink:0;font-size:.9rem}.draft-search{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;display:flex}.draft-search label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.draft-search input{max-width:460px;font-size:.9rem}.draft-search>.muted{font-size:.8rem}.draft-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.draft-row{text-align:left;background:var(--surface);width:100%;color:var(--text);border:1px solid var(--border);border-radius:9px;grid-template-columns:minmax(200px,1fr) auto minmax(120px,160px) 20px;align-items:center;gap:18px;padding:15px 18px;font-weight:400;display:grid}.draft-row:hover{background:var(--table-head);border-color:var(--input-border);filter:none}.draft-customer{min-width:0}.draft-customer>strong{overflow-wrap:anywhere;font-size:1rem;font-weight:600;line-height:1.35;display:block}.draft-meta{color:var(--muted);flex-wrap:wrap;gap:3px 12px;margin-top:6px;font-size:.75rem;display:flex}.draft-meta>span{overflow-wrap:anywhere}.draft-badges{flex-wrap:wrap;align-items:center;gap:6px;max-width:270px;display:flex}.draft-badges .order-status{white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:.72rem}.draft-badges .is-pending{color:var(--muted);background:var(--page);border-color:var(--border);font-weight:400}.draft-lock{color:var(--muted);overflow-wrap:anywhere;font-size:.77rem;line-height:1.4}.draft-lock.is-free{color:var(--pill-text)}.draft-open{color:var(--muted);justify-self:end;font-size:1.2rem}.draft-recheck{color:var(--notice-text);margin-top:5px;font-size:.73rem;display:block}.draft-empty{border:1px dashed var(--border);text-align:center;background:var(--surface);border-radius:10px;padding:46px 20px}.draft-empty h2{margin-bottom:8px;font-size:1.1rem}.draft-empty p{color:var(--muted);margin:0 0 14px;font-size:.85rem}.draft-stale{color:var(--notice-text);background:var(--notice);border:1px solid var(--notice-border);border-radius:7px;margin:0 0 14px;padding:10px 14px;font-size:.82rem}.draft-create-dialog{border:1px solid var(--border);background:var(--surface);width:min(600px,100% - 32px);max-height:85dvh;color:var(--text);border-radius:14px;padding:24px;overflow:auto;box-shadow:0 12px 50px #0002}.draft-create-dialog::backdrop{background:#10251d80}.draft-dialog-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.draft-dialog-heading h2{margin:0 0 6px;font-size:1.25rem}.draft-dialog-heading p{color:var(--muted);margin:0;font-size:.85rem}.draft-dialog-heading>button{flex-shrink:0;width:44px;padding:0;font-size:1.5rem}.draft-create-dialog .customer-picker{margin:22px 0 0}.draft-create-dialog .customer-picker-results{max-height:45dvh}.workspace.workspace-deliveries{max-width:1240px;margin-inline:auto}.workspace-deliveries>header{align-items:center;margin-bottom:12px}.workspace-deliveries>.notice.small{margin:0 0 24px;padding:9px 14px;font-size:.73rem}.delivery-remaining{color:var(--muted);font-size:.85rem}.delivery-remaining strong{color:var(--text)}.delivery-date-picker{background:var(--surface);border:1px solid var(--border);border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;margin:0 0 20px;padding:12px;display:flex}.delivery-date-controls{align-items:center;gap:12px;min-width:0;display:flex}.delivery-days{background:var(--page);border:1px solid var(--border);border-radius:8px;gap:4px;padding:3px;display:flex}.delivery-days button{min-height:44px;padding:7px 16px;font-size:.85rem}.delivery-days .secondary{background:0 0;border-color:#0000}.delivery-days .selected{color:#fff;background:#195342}.delivery-date-controls input{width:170px;min-width:0;font-size:.9rem}.delivery-selected-date{overflow-wrap:anywhere;padding:0 6px;font-size:.9rem;font-weight:600}.delivery-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.delivery-row{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:9px;grid-template-columns:minmax(150px,1fr) minmax(100px,1fr) auto 100px 18px;align-items:center;gap:16px;padding:15px 18px;font-weight:400;display:grid}.delivery-row:hover{filter:none;background:var(--table-head);border-color:var(--input-border)}.delivery-customer{min-width:0}.delivery-customer>strong{overflow-wrap:anywhere;font-size:1rem;font-weight:600;line-height:1.35;display:block}.delivery-short-id{color:var(--muted);margin-top:4px;font-size:.73rem;display:block}.delivery-lock{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:.73rem;display:block}.delivery-note{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-size:.82rem}.delivery-note.is-empty{color:var(--border)}.delivery-recheck{color:var(--notice-text);margin-top:4px;font-size:.75rem;display:block}.delivery-badges{justify-content:flex-start;max-width:250px}.delivery-state{justify-self:start;padding:4px 7px;font-size:.72rem}.workspace.workspace-loading{max-width:1200px;margin-inline:auto}.workspace-loading>header{align-items:center;margin-bottom:12px}.workspace-loading>.notice.small{margin:0 0 24px;padding:9px 14px;font-size:.73rem}.loading-refresh{color:var(--muted);font-size:.8rem}.loading-metrics{gap:28px;margin:20px 0;display:flex}.loading-metrics>div{flex-wrap:wrap;align-items:baseline;gap:9px;display:flex}.loading-metrics strong{font-size:1.65rem;font-weight:600;line-height:1.2}.loading-metrics span{color:var(--muted);font-size:.8rem}.loading-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:9px;overflow:hidden}.loading-table{table-layout:fixed}.loading-table th{padding:12px 16px;font-size:.7rem}.loading-table td{overflow-wrap:anywhere;padding:12px 16px;font-size:.9rem}.loading-table th:first-child{width:130px}.loading-table th:nth-child(3){width:70px}.loading-table th:last-child{width:150px}.loading-table td:first-child{color:var(--muted);font-size:.8rem}.loading-table .number{font-variant-numeric:tabular-nums;font-weight:700}.loading-empty{text-align:center;color:var(--muted);margin:0;padding:30px 18px;font-size:.9rem}.loading-customers{border-top:1px solid var(--divider);margin-top:26px;padding-top:4px}.loading-customers>summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:.9rem;font-weight:600}.loading-customers .order-count{margin-left:8px}.loading-customers-body{flex-direction:column;gap:8px;padding-top:4px;display:flex}.loading-customer{border:1px solid var(--border);background:var(--surface);border-radius:9px}.loading-customer>summary{cursor:pointer;min-height:48px;padding:14px 16px;font-size:.9rem}.loading-customer-name{overflow-wrap:anywhere;font-weight:600}.loading-customer>summary .draft-badges{vertical-align:middle;margin-left:16px;display:inline-flex}.loading-customer-body{padding:0 16px 16px}.loading-customer-note{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin:8px 0 0;font-size:.85rem;font-weight:400;display:block}.loading-customer-items{margin:0 0 14px;padding:0;list-style:none}.loading-customer-items li{border-top:1px solid var(--divider);justify-content:space-between;align-items:center;gap:16px;padding:10px 0;font-size:.85rem;display:flex}.loading-customer-items li>span:first-child{overflow-wrap:anywhere;min-width:0}.loading-customer-items strong{font-weight:500}.loading-customer-items small{margin-top:3px;font-size:.72rem;display:block}.loading-customer-items li>span:last-child{flex-shrink:0;font-weight:600}.loading-customer-body button{font-size:.85rem}.loading-customers summary:focus-visible{outline-offset:2px;outline:3px solid #80b6a5}@media screen and (width<=600px){.workspace-loading>header>div{width:auto}.loading-heading h1{font-size:1.65rem}.loading-heading>button{width:auto}.loading-metrics{gap:14px}.loading-metrics>div{flex-direction:column;flex:1;gap:3px}.loading-metrics strong{font-size:1.4rem}.loading-metrics span{font-size:.72rem}.loading-table th{letter-spacing:.2px;padding:10px 6px;font-size:.59rem}.loading-table td{padding:11px 6px;font-size:.8rem}.loading-table th:first-child{width:64px}.loading-table th:nth-child(3){width:35px}.loading-table th:last-child{width:80px}.loading-table td:first-child{font-size:.68rem}.loading-customer>summary{padding:14px 12px}.loading-customer>summary .draft-badges{margin:8px 0 0;display:flex}.loading-customer-body{padding:0 12px 14px}}@page{size:A4 portrait;margin:15mm 12mm}@media print{:root,:root[data-theme=dark]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#000;background:#fff}body,.layout,.workspace.workspace-loading{width:auto;max-width:none;min-height:0;margin:0;padding:0;display:block;color:#000!important;background:#fff!important}.workspace-loading>header,.workspace-loading>.notice,.workspace-loading>.pill,.loading-screen-controls,.loading-metrics,.loading-customers,.loading-refresh{display:none!important}.loading-heading{margin:0 0 6mm;display:block}.loading-heading h1{letter-spacing:0;color:#000;margin:0 0 3mm;font-size:19pt;line-height:1.2;display:block}.loading-heading p,.loading-heading time{color:#000;margin:0;font-size:11pt}.loading-table-wrap{background:#fff;border:0;border-radius:0;overflow:visible}.loading-table{border-collapse:collapse;table-layout:fixed;color:#000;width:100%;font-family:Arial,sans-serif}.loading-table thead{display:table-header-group}.loading-table tbody{display:table-row-group}.loading-table tr{break-inside:avoid;page-break-inside:avoid}.loading-table th,.loading-table td{letter-spacing:0;border-top:0;border-bottom:1px solid #777;padding:3mm 2mm;font-size:10pt;line-height:1.4;color:#000!important;background:#fff!important}.loading-table th{text-transform:none;border-bottom:1.5px solid #000;font-weight:700}.loading-table th:first-child{width:28mm}.loading-table th:nth-child(3){width:14mm}.loading-table th:last-child{width:32mm}.loading-table td:first-child{color:#000;font-size:9pt}.loading-empty{color:#000;text-align:left;padding:5mm 0;font-size:11pt}.loading-page:not(.is-printable) .loading-table-wrap{display:none!important}.loading-page:not(.is-printable):after{content:"Souhrn není aktuálně ověřený. Obnovte data před tiskem.";color:#000;font-size:11pt;display:block}}@media (width<=1200px){.delivery-row{grid-template-columns:minmax(160px,1fr) minmax(100px,1fr) minmax(100px,160px) 94px 18px;gap:12px}.delivery-badges{gap:5px}}@media (width<=600px){.workspace-deliveries>header>div{width:auto}.delivery-heading{flex-wrap:nowrap;align-items:center}.delivery-heading h1{font-size:1.65rem}.delivery-remaining{flex-shrink:0;font-size:.78rem}.delivery-date-picker{gap:10px;padding:10px}.delivery-date-controls{gap:8px;width:100%}.delivery-days{flex-shrink:0}.delivery-days button{padding:6px 12px;font-size:.8rem}.delivery-date-controls input{flex:1;width:100%;max-width:190px;padding:8px;font-size:.85rem}.delivery-selected-date{padding:0 2px;font-size:.83rem}.delivery-row{grid-template-columns:minmax(0,1fr) auto 18px;gap:10px 8px;padding:16px}.delivery-customer{grid-area:1/1/auto/3}.delivery-open{grid-area:1/3;align-self:start}.delivery-note{grid-area:2/1/auto/-1;font-size:.82rem}.delivery-note.is-empty:not(:has(.delivery-recheck)){display:none}.delivery-badges{grid-area:3/1/auto/-1;max-width:none}.delivery-state{grid-area:4/1/auto/-1}}@media (width<=1200px){.draft-row{grid-template-columns:minmax(180px,1fr) minmax(120px,180px) minmax(100px,140px) 18px;gap:12px}.draft-badges{gap:5px}}@media (width<=600px){.draft-heading{flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:16px}.draft-heading h1{font-size:1.65rem}.draft-heading>button{width:100%}.draft-search input{max-width:none}.draft-search{gap:8px;margin-bottom:16px}.workspace-drafts>header>div{width:auto}.draft-row{grid-template-columns:minmax(0,1fr) 20px;gap:10px;padding:16px}.draft-customer{grid-column:1}.draft-open{grid-area:1/2;align-self:start}.draft-badges{grid-column:1/-1;max-width:none}.draft-lock{grid-column:1/-1}.draft-meta{gap:4px 10px;font-size:.74rem}.draft-create-dialog{max-height:90dvh;padding:20px 16px}.draft-dialog-heading h2{font-size:1.15rem}.draft-create-dialog .customer-picker-results button{padding:14px 10px}}@media (width<=1100px){.order-detail.editor{padding:22px}.order-detail-header{flex-wrap:wrap;gap:14px}.order-header-actions{justify-content:flex-start;max-width:100%}.order-items th:first-child{width:110px}.order-items th:nth-child(3){width:130px}}@media (width<=600px){.order-detail.editor{border-radius:10px;margin:0;padding:18px 16px}.workspace-order>header>div{width:auto}.order-title{flex-basis:100%}.order-title h1{font-size:1.5rem}.order-header-actions{gap:8px;width:100%}.order-header-actions button{margin-left:auto;padding:8px 10px;font-size:.8rem}.order-header-actions .order-sync{max-width:45%;font-size:.72rem}.order-state{font-size:.72rem}.order-overview{align-items:flex-start;gap:18px;padding:18px 0}.order-delivery,.order-fulfilment{width:100%}.order-date-input input{flex:1;width:100%;max-width:230px}.order-products .order-items,.order-products .order-items tbody{width:100%;display:block}.order-items thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.order-items tr{border-top:1px solid var(--divider);grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:14px;display:grid}.order-items tr:first-child{border-top:0}.order-items td{border:0;min-width:0;padding:0}.order-items .order-item-name{grid-area:1/1/auto/-1}.order-item-name strong{font-size:.93rem;display:block}.order-item-name .order-item-unit{margin:2px 0;font-size:.76rem;display:block}.order-item-unit:before{content:none}.order-items .order-item-code{grid-area:2/1/auto/-1;font-size:.73rem!important}.order-items .order-item-quantity{grid-area:3/1;align-items:center;gap:10px;margin-top:6px;display:flex}.order-mobile-label{color:var(--muted);font-size:.75rem;display:inline}.order-items .quantity{width:90px}.order-items .order-item-remove{grid-area:3/2;align-self:end;padding:0}.order-quantity-text{font-size:1rem}.order-items.is-readonly tr{grid-template-columns:minmax(0,1fr) auto}.order-items.is-readonly .order-item-name,.order-items.is-readonly .order-item-code{grid-column:1}.order-items.is-readonly .order-item-quantity{grid-area:1/2/3;align-self:center;margin:0}.order-primary-actions,.order-technical-actions{grid-template-columns:minmax(0,1fr);display:grid}.order-metadata{grid-template-columns:minmax(0,1fr)}}.archive-page{min-width:0}.archive-filters{grid-template-columns:minmax(180px,2fr) repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin:24px 0 16px;display:grid}.archive-filters label{min-width:0}.archive-filters input{width:100%;min-width:0;min-height:44px}.archive-filters button{grid-column:1/-1;justify-self:start;min-height:44px}.archive-summary{color:var(--muted);margin:16px 0;font-size:.85rem}.archive-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden}.archive-table{table-layout:fixed;border-collapse:collapse;width:100%}.archive-table th,.archive-table td{white-space:normal;overflow-wrap:anywhere;text-align:left;padding:14px 12px}.archive-table th:first-child{width:29%}.archive-table th:nth-child(2){width:13%}.archive-table th:nth-child(3){width:18%}.archive-table th:nth-child(4){width:25%}.archive-table th:last-child{width:15%}.archive-customer strong,.archive-customer>span{display:block}.archive-customer>span{color:var(--muted);margin-top:4px;font-size:.78rem}.archive-statuses .order-status{margin:3px 4px 3px 0;font-size:.72rem;display:inline-flex}.archive-pagination{justify-content:space-between;align-items:center;gap:10px;margin:20px 0;display:flex}.archive-pagination span{color:var(--muted);font-size:.8rem}.archive-pagination button{min-height:44px}.archive-table-wrap[aria-busy=true]{opacity:.6}@media (width<=1100px){.archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=767px){.archive-table,.archive-table tbody{display:block}.archive-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.archive-table tr{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.archive-table tr:last-child{border-bottom:0}.archive-table td{border:0;min-width:0;padding:0}.archive-customer,.archive-statuses,.archive-open{grid-column:1/-1}.archive-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:4px;font-size:.75rem;display:block}.archive-pagination{flex-wrap:wrap}.archive-pagination span{text-align:center;order:-1;width:100%}}.archive-pagination{flex-direction:row}.archive-customer strong,.archive-customer>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (width<=480px){.archive-filters{grid-template-columns:minmax(0,1fr)}}.customers-page{min-width:0}.customers-heading{flex-wrap:wrap;align-items:center;gap:16px}.customers-heading>button{flex-shrink:0}.customers-toolbar{align-items:center;gap:20px;margin:22px 0 16px}.customers-toolbar .grow{flex:0 410px;min-width:0;max-width:450px}.customers-toolbar .check{color:var(--muted);margin-top:22px;font-weight:400}.customers-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden}.customers-table{table-layout:fixed;width:100%}.customers-table th,.customers-table td{overflow-wrap:anywhere;vertical-align:middle;padding:12px 16px}.customers-table th:first-child{width:32%}.customers-table th:nth-child(2){width:44%}.customers-table th:last-child{text-align:right;width:24%}.customers-name button{color:var(--text);text-align:left;overflow-wrap:anywhere;background:0 0;max-width:100%;padding:6px 0;font-size:.96rem;font-weight:600;display:block}.customers-name button:hover{color:var(--secondary-text);filter:none;text-decoration:underline}.customers-name .pill{font-size:.7rem}.customers-note{color:var(--muted);font-size:.85rem}.customers-note summary{cursor:pointer;min-height:44px;padding:4px 0;list-style:none}.customers-note summary>span:first-child{-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.customers-note-toggle{color:var(--secondary-text);margin-top:3px;font-size:.75rem;text-decoration:underline;display:block}.customers-note details[open] summary>span:first-child{display:none}.customers-note details[open] .customers-note-toggle:after{content:" ↑"}.customers-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.customers-note summary:focus-visible{outline-offset:2px;border-radius:4px;outline:3px solid #80b6a5}.customers-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.customers-actions button{min-height:44px;padding:7px 12px;font-size:.8rem}.customers-table tbody tr:hover{background:var(--pill)}.customers-page .customer-history{scroll-margin-top:24px}.customers-page .customer-history .section-heading{flex-wrap:wrap;align-items:flex-start}.customers-page .panel{min-width:0}@media (width<=1100px){.customers-table th:first-child{width:30%}.customers-table th:nth-child(2){width:40%}.customers-table th:last-child{width:30%}}@media (width<=600px){.customers-heading{align-items:flex-start}.customers-heading>button{width:100%}.customers-toolbar{flex-direction:column;align-items:stretch;gap:10px;display:flex}.customers-toolbar .grow{flex:auto;width:100%;max-width:none}.customers-toolbar .check{margin-top:0}.customers-table,.customers-table tbody{display:block}.customers-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.customers-table tr{border-top:1px solid var(--divider);padding:14px 16px;display:block}.customers-table tr:first-child{border-top:0}.customers-table td{border:0;min-width:0;padding:0;display:block}.customers-table .customers-note{margin:4px 0 10px}.customers-actions{justify-content:flex-start}.customers-actions button{flex:1}.customers-name button{width:100%}.customers-page .panel{padding:18px 16px}.customers-page .customer-history .section-heading button{width:100%}}.customers-name button{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.customers-page .customer-history:focus{outline:2px solid var(--input-border);outline-offset:3px}.customers-name button{-webkit-line-clamp:unset;display:block;overflow:visible}.customers-name button>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (width<=600px){.customers-page .customers-toolbar>label.grow{flex:none}}@media screen{.workspace.workspace-standard,.workspace.workspace-wide{width:100%;max-width:1200px;margin-inline:auto;padding:32px 32px 100px}.workspace.workspace-wide{max-width:1400px}.workspace>header{align-items:center;margin-bottom:12px}.workspace>.notice.small{margin:0 0 24px;padding:9px 14px;font-size:.73rem}.workspace h1{letter-spacing:-.6px;margin:0;font-size:1.9rem;line-height:1.2}.workspace .draft-heading{margin-bottom:20px}.workspace>header h1{margin:0}.workspace .archive-filters,.workspace .customers-toolbar{margin-top:20px;margin-bottom:16px}.workspace>.customers-page,.workspace>.archive-page{min-width:0}.archive-table th:first-child{width:32%}.archive-table th:nth-child(2){width:15%}.archive-table th:nth-child(3){width:20%}.archive-table th:nth-child(4){width:28%}.archive-table th:last-child{width:5%}.archive-row{cursor:pointer;transition:background-color .12s}.archive-row:hover,.archive-row:focus-visible{background:var(--pill)}.archive-row:focus-visible{outline-offset:-3px;outline:3px solid #80b6a5}.archive-row[aria-disabled=true]{cursor:default}.archive-table .archive-open{text-align:right;color:var(--muted);font-size:1.5rem;line-height:1}@media (width<=1100px){.workspace.workspace-standard,.workspace.workspace-wide{padding:28px 24px 100px}}@media (width<=767px){.archive-row{min-height:48px;position:relative}.archive-table .archive-open{padding:0;position:absolute;top:18px;right:16px}.archive-row .archive-customer{padding-right:22px}}@media (width<=600px){.workspace.workspace-standard,.workspace.workspace-wide{padding:24px 16px calc(100px + env(safe-area-inset-bottom))}.workspace h1{font-size:1.65rem}.workspace .draft-heading{margin-bottom:16px}}.workspace>.catalog-page>.toolbar{margin-top:20px;margin-bottom:16px}}.order-search-trigger{white-space:nowrap;margin-left:auto}.order-search-trigger kbd{opacity:.65;margin-left:8px;font-size:.75em}.order-search-dialog{box-sizing:border-box;background:var(--surface,#fff);width:min(720px,100vw - 32px);max-height:85dvh;color:var(--text,#182b23);border:1px solid var(--border,#cbd5d0);border-radius:16px;padding:24px;overflow:auto}.order-search-dialog::backdrop{background:#0000008c}.order-search-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.order-search-heading h2{margin:0}.order-search-dialog form{gap:8px;margin:20px 0;display:grid}.order-search-dialog input{box-sizing:border-box;width:100%}.order-search-results{gap:10px;padding:0;list-style:none;display:grid}.order-search-results li>button{text-align:left;background:var(--page);width:100%;color:inherit;border:1px solid var(--border,#cbd5d0);overflow-wrap:anywhere;border-radius:10px;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;display:flex}.order-search-results li>button:hover{border-color:var(--accent,#40836b)}.order-search-results button:focus-visible{outline-offset:2px;outline:3px solid #80b6a5}.delivery-mode{flex-wrap:wrap;gap:8px;margin:0 0 20px;display:flex}.delivery-overdue{border-left:4px solid #b95c24;border-radius:10px}.delivery-overdue-label{color:var(--danger-text);font-weight:700}@media (width<=600px){.workspace>header{flex-wrap:wrap;gap:10px}.order-search-trigger kbd{display:none}.order-search-dialog{padding:16px}.order-search-dialog .archive-pagination{flex-wrap:wrap}}@media print{.order-search-trigger,.order-search-dialog,.delivery-mode{display:none!important}}
