:root{--brand:#64f;--brand-press:#5233e6;--brand-soft:#ece8ff;--bar-bg:#0d1117;--bar-line:#21262e;--bar-text:#fff;--bar-muted:#a1a9b6;--line:#0277bd;--line-bg:#e1f4fc;--line-border:#00a8e0;--line-text:#01579b;--bg:#e9edf2;--surface:#fff;--pressed:#e2e8f0;--text:#0f172a;--muted:#475569;--border:#c3ccd7;--dark:#1e293b;--ok:#15803d;--err:#b91c1c;--warn-bg:#fcd34d;--warn-text:#451a03;--tap:64px;font-size:20px}*,:before,:after{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{color:var(--text);background:var(--bg);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;overscroll-behavior:none;font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,Arial,sans-serif;font-size:1rem;line-height:1.35}button{font:inherit;color:inherit}h1,h2,h3,p{margin:0}:focus-visible{outline:4px solid var(--brand);outline-offset:3px}.icon{flex:none;width:1.2em;height:1.2em}.nowrap{white-space:nowrap}.app{flex-direction:column;height:100dvh;display:flex}.screen{flex-direction:column;flex:1;min-height:0;display:flex}.content{flex:1;min-height:0;padding:24px 28px 32px;overflow-y:auto}.offline-banner{background:var(--err);color:#fff;text-align:center;padding:14px 20px;font-size:1.25rem;font-weight:800}.topbar{background:var(--bar-bg);border-bottom:1px solid var(--bar-line);min-height:88px;color:var(--bar-text);grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"lead title name logout";align-items:center;column-gap:16px;padding:12px 20px;display:grid}.topbar-lead{grid-area:lead}.brand{border-right:1px solid var(--bar-line);align-items:center;gap:12px;padding-right:20px;display:flex}.brand-tile{background:var(--brand);border-radius:12px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.brand-tile img{pointer-events:none;width:36px;height:auto}.brand-name{white-space:nowrap;flex-direction:column;line-height:1.2;display:flex}.brand-title{letter-spacing:.06em;margin-right:-.06em;font-size:1.6rem;font-weight:300;line-height:1.05}.brand-sub{color:var(--bar-muted);font-size:.8rem;font-weight:600}.topbar-title{white-space:nowrap;text-overflow:ellipsis;grid-area:title;min-width:0;font-size:1.35rem;font-weight:800;overflow:hidden}.title-short{display:none}.topbar-name{white-space:nowrap;grid-area:name;align-items:center;gap:8px;min-width:0;font-weight:700;display:inline-flex}.topbar-logout{grid-area:logout}.topbar .btn-outline{color:var(--bar-text);background:0 0;border-color:#4b5563}.topbar .btn-outline:active:not(:disabled){background:#1f2630}.content-login{flex-direction:column;display:flex}.company{color:#111;flex-direction:column;align-items:center;gap:6px;margin-top:auto;padding-top:32px;display:flex}.company img{pointer-events:none;width:120px;height:auto}.company-name{flex-direction:column;align-items:flex-end;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;font-size:1.35rem;line-height:1.05;display:flex}.company-first{font-weight:700;position:relative}.company-first sup{margin-left:2px;font-size:.4em;font-weight:400;position:absolute;top:-.1em;left:100%}.company-second{font-weight:400}.btn{min-height:var(--tap);background:var(--surface);cursor:pointer;border:2px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:0 24px;font-size:1.05rem;font-weight:700;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn .icon{width:1.3em;height:1.3em}.btn-outline{border-color:#334155}.btn-outline:active:not(:disabled){background:var(--pressed)}.btn-primary{background:var(--brand);color:#fff}.btn-primary:active:not(:disabled){background:var(--brand-press)}.btn-ok{background:var(--ok);color:#fff}.btn-line{background:var(--line);color:#fff}.btn-selected,.btn-selected:active:not(:disabled){background:var(--brand-soft);border-color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}.btn-selected:before{content:"✓"}.btn-xl{border-radius:18px;min-height:88px;padding:0 36px;font-size:1.3rem}.btn-wide{width:100%}.btn-grow{flex:1}.btn-back{padding:0 20px 0 12px}.grid{gap:16px;display:grid}.grid-places{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.grid-names{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.tile{background:var(--surface);border:2px solid var(--border);text-align:center;cursor:pointer;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:128px;padding:18px;display:flex;box-shadow:0 2px #0f172a0f}.tile:active{background:var(--pressed);transform:scale(.985)}.tile-code{font-size:2.2rem;font-weight:800;line-height:1.1}.tile-meta{color:var(--muted);font-size:1rem;font-weight:600}.tile-line{background:var(--line-bg);border-color:var(--line-border)}.tile-line:active{background:#c6ebfa}.tile-tag{color:var(--line-text);align-items:center;gap:6px;font-size:.9rem;font-weight:800;display:inline-flex}.tile-name{gap:16px;min-height:200px}.tile-name-text{font-size:1.6rem;font-weight:800}.home-tiles{grid-template-columns:repeat(3,1fr);gap:24px;height:100%;min-height:300px;max-height:480px;display:grid}.tile-home{gap:22px;font-size:1.7rem;font-weight:800}.tile-home .icon{stroke-width:1.6px;width:96px;height:96px;color:var(--brand)}.avatar{background:var(--brand);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;font-size:2.1rem;font-weight:800;display:inline-flex}.avatar-lg{width:104px;height:104px;font-size:2.8rem}.heading{font-size:1.8rem;font-weight:800}.heading-space{margin-bottom:20px}.heading-xl{font-size:2.4rem;font-weight:800}.lead{color:var(--muted);font-size:1.2rem;font-weight:600}.step-head{flex-wrap:wrap;align-items:center;gap:12px 20px;margin-bottom:20px;display:flex}.trail{flex-wrap:wrap;gap:10px;display:flex}.chip{background:var(--surface);border:2px solid var(--border);border-radius:999px;align-items:center;min-height:44px;padding:4px 16px;font-weight:700;display:inline-flex}.split{flex-wrap:wrap;justify-content:center;align-items:center;gap:32px clamp(24px,5vw,112px);min-height:100%;display:flex}.split-text{flex-direction:column;flex:0 360px;gap:18px;display:flex}.split-center{text-align:center;align-items:center}.code-field{background:var(--surface);border:3px solid var(--brand);letter-spacing:.14em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;border-radius:16px;align-items:center;min-height:92px;padding:10px 22px;font-size:2.4rem;font-weight:800;display:flex}.code-empty{letter-spacing:normal;color:#64748b;font-size:1.4rem;font-weight:600}.message-slot{align-items:center;min-height:64px;display:flex}.message{border-radius:12px;padding:12px 20px;font-size:1.2rem;font-weight:800}.message-err{background:var(--err);color:#fff}.message-warn{background:var(--warn-bg);color:var(--warn-text)}.pin-dots{gap:24px;padding:12px 0;display:flex}.pin-dot{border:3px solid var(--brand);border-radius:50%;width:32px;height:32px}.pin-dot-on{background:var(--brand)}.pin-busy .pin-dot-on{animation:.8s ease-in-out infinite alternate pulse}.pin-shake{animation:.45s shake}@keyframes pulse{to{opacity:.35}}@keyframes shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-12px)}40%,80%{transform:translate(12px)}}.keypad{grid-template-columns:repeat(3,116px);grid-auto-rows:88px;gap:14px;display:grid}.key{background:var(--surface);border:2px solid var(--border);cursor:pointer;border-radius:18px;justify-content:center;align-items:center;font-size:2.1rem;font-weight:700;display:flex;box-shadow:0 2px #0f172a14}.key:active:not(:disabled){background:var(--pressed);transform:scale(.97)}.key:disabled{opacity:.4;cursor:not-allowed}.key .icon{width:40px;height:40px}.lot-list{flex-direction:column;gap:12px;max-width:960px;display:flex}.lot-row{background:var(--surface);border:2px solid var(--border);text-align:left;border-radius:16px;align-items:center;gap:18px;width:100%;min-height:84px;padding:12px 24px;display:flex}.lot-row-pick{cursor:pointer}.lot-row-pick:active{background:var(--pressed)}.lot-main{align-items:center;gap:14px;min-width:0;display:flex}.lot-code{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.6rem;font-weight:800}.lot-bags{white-space:nowrap;margin-left:auto;font-size:1.35rem;font-weight:700}.lot-row .icon{width:32px;height:32px;color:var(--muted)}.badge-top{background:var(--brand);color:#fff;letter-spacing:.06em;border-radius:8px;padding:4px 10px;font-size:.9rem;font-weight:800}.stepper{justify-content:center;align-items:center;gap:40px;margin-top:8px;display:flex}.stepper-btn{background:var(--surface);border:3px solid var(--dark);cursor:pointer;border-radius:28px;width:136px;height:136px;font-size:4rem;font-weight:700;line-height:1}.stepper-btn:active:not(:disabled){background:var(--pressed);transform:scale(.97)}.stepper-btn:disabled{opacity:.3;cursor:not-allowed}.stepper-value{text-align:center;font-variant-numeric:tabular-nums;min-width:220px;font-size:6.5rem;font-weight:800;line-height:1}.stepper-hint{text-align:center;color:var(--muted);margin:10px 0 28px;font-size:1.25rem;font-weight:600}.actions{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.line-btn{margin-bottom:16px;font-size:1.6rem}.line-btn .icon{width:40px;height:40px}.summary{background:var(--surface);border:3px solid var(--brand);text-align:center;border-radius:22px;flex-direction:column;gap:14px;max-width:1000px;margin:8px auto 32px;padding:32px 40px;display:flex}.summary-main{font-size:2.6rem;font-weight:800}.summary-route{font-size:2.2rem;font-weight:700}.actions-confirm{flex-wrap:nowrap;max-width:1000px;margin:0 auto}.result{color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.result-ok{background:var(--ok)}.result-err{background:var(--err)}.result-icon{stroke-width:2.4px;width:112px;height:112px}.result-title{font-size:2.4rem;font-weight:800}.result-text{max-width:980px;font-size:1.6rem;font-weight:700}.result-raw{color:#fffc;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}.result-actions{flex-wrap:wrap;justify-content:center;gap:20px;margin-top:16px;display:flex}.btn-on-color{color:var(--text);background:#fff}.btn-on-color-outline{color:#fff;background:0 0;border-color:#fff}.table-wrap{overflow-x:auto}.moves{border-collapse:separate;border-spacing:0 10px;width:100%;max-width:1100px}.moves th{text-align:left;color:var(--muted);padding:0 22px;font-size:1rem;font-weight:700}.moves td{background:var(--surface);border-top:2px solid var(--border);border-bottom:2px solid var(--border);white-space:nowrap;padding:18px 22px;font-size:1.25rem;font-weight:600}.moves td:first-child{border-left:2px solid var(--border);border-radius:14px 0 0 14px}.moves td:last-child{border-right:2px solid var(--border);border-radius:0 14px 14px 0}.moves .num{text-align:right}.moves-time{color:var(--muted);font-variant-numeric:tabular-nums}.moves .moves-strong{font-weight:800}.moves .moves-day th{color:var(--text);padding:18px 4px 2px;font-size:1.2rem;font-weight:800}.moves-unit{display:none}.loading{color:var(--muted);opacity:0;padding:24px 4px;font-size:1.2rem;animation:.2s .3s forwards appear}@keyframes appear{to{opacity:1}}.notice{background:var(--surface);border:2px solid var(--border);border-radius:16px;flex-direction:column;align-items:flex-start;gap:14px;max-width:760px;padding:24px;display:flex}.notice-error{border-color:var(--err)}.notice-text{font-size:1.25rem;font-weight:700}.raw{color:#64748b;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}.center-col{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex}.big-icon{width:96px;height:96px;color:var(--muted)}.overlay{z-index:10;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.demo{background:var(--surface);border-top:10px solid #f59e0b;border-radius:20px;width:min(1040px,100%);max-height:100%;overflow-y:auto}.demo-head{border-bottom:2px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex}.demo-head h2{font-size:1.4rem;font-weight:800}.demo-body{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:8px 28px;padding:16px 24px 24px;display:grid}.demo-body h3{color:var(--muted);margin:10px 0 8px;font-size:1rem;font-weight:700}.demo-btn{border-color:var(--border);text-align:left;justify-content:space-between;width:100%;margin-bottom:8px;padding-block:8px;font-weight:600}.demo-btn.armed{background:#fef3c7;border-color:#d97706}.demo-btn.armed:after{content:"ενεργό";color:#92400e;font-size:.85rem;font-weight:800}@media (width<=1023px){.topbar{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"lead title logout""lead name logout";column-gap:12px}.topbar-guest{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"lead title"}.topbar-title{align-self:end}.topbar-guest .topbar-title{align-self:center}.topbar-name{text-overflow:ellipsis;color:var(--bar-muted);align-self:start;font-weight:600;display:block;overflow:hidden}.topbar-name .icon{display:none}}@media (width<=860px){.title-full{display:none}.title-short{display:inline}.topbar-title{font-size:1.2rem}.brand{border-right:0;padding-right:0}.brand-name{display:none}.home-tiles{grid-template-columns:1fr;height:auto;max-height:none}.stepper{gap:20px}.stepper-btn{width:104px;height:104px}.stepper-value{min-width:140px;font-size:5rem}.summary-main{font-size:2rem}.summary-route{font-size:1.7rem}}@media (width<=720px){.moves,.moves tbody{display:block}.moves thead{display:none}.moves tr{background:var(--surface);border:2px solid var(--border);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"time lot bags""route route route";align-items:baseline;gap:4px 12px;margin-bottom:10px;padding:12px 16px;display:grid}.moves td,.moves td:first-child,.moves td:last-child{background:0 0;border:0;border-radius:0;padding:0;font-size:1.1rem;display:block}.moves td:first-child{grid-area:time}.moves td:nth-child(2){grid-area:lot}.moves td:nth-child(3){white-space:normal;grid-area:route}.moves td:nth-child(4){grid-area:bags}.moves tr.moves-day{background:0 0;border:0;margin:16px 0 8px;padding:0;display:block}.moves tr.moves-day th{padding:0;display:block}.moves-unit{display:inline}}@media (width<=600px){.content{padding:16px 16px 24px}.topbar{min-height:80px;padding:8px 12px}.topbar-title{font-size:1.15rem}.topbar .btn-text{display:none}.btn-back,.topbar-logout{width:var(--tap);padding:0}.btn-back .icon,.topbar-logout .icon{width:30px;height:30px}.heading{font-size:1.5rem}.heading-space{margin-bottom:14px}.heading-xl{font-size:1.8rem}.step-head{gap:8px 12px;margin-bottom:14px}.chip{min-height:40px;padding:4px 12px}.btn-xl{border-radius:16px;min-height:76px;padding:0 20px;font-size:1.2rem}.actions{flex-direction:column;align-items:stretch;gap:12px}.actions-confirm{flex-direction:row}.split{flex-flow:column;justify-content:flex-start;align-items:stretch;gap:16px;min-height:0}.split-text{flex:none;gap:10px}.avatar-lg{display:none}.code-field{min-height:76px;padding:8px 16px;font-size:2rem}.code-empty{font-size:1.25rem}.message-slot{min-height:52px}.pin-dots{gap:18px;padding:4px 0}.pin-dot{width:28px;height:28px}.keypad{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:72px;align-self:center;gap:10px;width:100%;max-width:380px}.key{font-size:1.9rem}.grid-names{grid-template-columns:1fr;gap:12px}.tile-name{text-align:left;flex-direction:row;justify-content:flex-start;gap:16px;min-height:88px;padding:12px 18px}.tile-name .avatar{width:56px;height:56px;font-size:1.5rem}.tile-name-text{font-size:1.4rem}.home-tiles{gap:12px;min-height:0}.tile-home{text-align:left;flex-direction:row;justify-content:flex-start;gap:20px;min-height:104px;padding:16px 22px;font-size:1.3rem}.tile-home .icon{width:56px;height:56px}.grid-places{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile-place{min-height:112px;padding:12px 8px}.tile-code{font-size:1.9rem}.tile-meta{flex-direction:column;line-height:1.25;display:flex}.tile-sep{display:none}.lot-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main chev""bags chev";row-gap:2px;padding:10px 16px;display:grid}.lot-main{grid-area:main}.lot-bags{grid-area:bags;margin-left:0;font-size:1.2rem}.lot-row>.icon{grid-area:chev}.stepper{gap:16px}.stepper-btn{border-radius:22px;width:88px;height:88px;font-size:3rem}.stepper-value{min-width:96px;font-size:4.5rem}.stepper-hint{margin:8px 0 20px}.line-btn{padding:0 16px;font-size:1.35rem}.line-btn .icon{width:32px;height:32px}.summary{border-radius:18px;gap:8px;margin:0 0 18px;padding:18px 16px}.summary-main{font-size:1.7rem}.summary-route{font-size:1.4rem}.result{gap:12px}.result-icon{width:80px;height:80px}.result-title{font-size:1.8rem}.result-text{font-size:1.25rem}.result-actions{flex-direction:column;align-self:stretch;gap:12px}.notice{padding:18px}.big-icon{width:72px;height:72px}.overlay{padding:8px}.demo-head{padding:12px 16px}.demo-head h2{font-size:1.15rem}.demo-body{padding:8px 16px 16px}}@media (height<=640px){.keypad{grid-auto-rows:72px}}@media (width<=600px) and (height<=700px){.keypad{grid-auto-rows:66px;gap:8px}.message-slot{min-height:48px}.company{padding-top:8px}.company img{width:100px}}@media (height<=500px){.topbar{min-height:68px;padding-block:4px}.content{padding-block:12px 16px}.split{gap:12px 40px}.split-text{flex-basis:300px;gap:8px}.avatar-lg{display:none}.message-slot{min-height:52px}.pin-dots{padding:4px 0}.keypad{grid-auto-rows:64px;gap:8px}.home-tiles{grid-template-columns:repeat(3,1fr)}.tile-home{gap:12px;font-size:1.35rem}.tile-home .icon{width:56px;height:56px}.stepper-btn{width:88px;height:88px;font-size:3rem}.stepper-value{min-width:120px;font-size:4.5rem}.stepper-hint{margin:4px 0 12px}.summary{margin-bottom:16px;padding:16px 24px}.summary-main{font-size:1.8rem}.summary-route{font-size:1.5rem}.result{gap:8px}.result-icon{width:64px;height:64px}.result-title{font-size:1.8rem}.result-text{font-size:1.3rem}}
