:root{--bg:#f3f4f9;--surface:#fff;--surface-2:#f6f7fb;--text:#464a57;--text-h:#12131a;--muted:#6b7080;--border:#e2e4ed;--accent:#4f5fe0;--accent-hover:#4050cc;--accent-soft:#e9ebfd;--on-accent:#fff;--success:#1c8f4f;--success-soft:#e3f6eb;--error:#c42f2f;--error-soft:#fdecec;--brand-gradient:linear-gradient(135deg, #4fb3f6 0%, #6a6ff2 50%, #b05cf0 100%);--shadow-sm:0 1px 2px #12131a0f, 0 1px 3px #12131a0a;--shadow-lg:0 12px 32px -8px #4f5fe073;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, "SF Mono", Consolas, monospace;--radius:16px;--radius-sm:10px;--nav-height:64px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font:16px/1.5 var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111218;--surface:#1b1c24;--surface-2:#22242d;--text:#c3c6d1;--text-h:#f3f4f6;--muted:#8b90a0;--border:#2e303a;--accent:#8c9bff;--accent-hover:#a5b1ff;--accent-soft:#262b4a;--on-accent:#0d1030;--success:#4ade80;--success-soft:#16301f;--error:#f87171;--error-soft:#3a1d1f;--shadow-sm:0 1px 2px #0006;--shadow-lg:0 12px 32px -8px #0009}}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;padding:0}body{background:var(--bg);-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}h1,h2{color:var(--text-h);margin:0;font-weight:650;line-height:1.25}h1{letter-spacing:-.02em;font-size:1.5rem}h2{font-size:1.125rem}p{margin:0}a{color:var(--accent)}button,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important}}.Layout{flex-direction:column;min-height:100dvh;display:flex}.Content{width:100%;max-width:720px;padding:0 16px calc(24px + var(--safe-bottom));flex:1;margin:0 auto}.Layout.HasNav .Content{padding-bottom:calc(var(--nav-height) + 24px + var(--safe-bottom))}.LoadingBar{z-index:20;background:var(--accent-soft);height:3px;position:fixed;top:0;left:0;right:0;overflow:hidden}.LoadingBar:after{content:"";background:var(--accent);width:40%;animation:1s ease-in-out infinite loadingBar;position:absolute;inset:0}@keyframes loadingBar{0%{transform:translate(-100%)}to{transform:translate(250%)}}.NavBar{z-index:10;height:calc(var(--nav-height) + var(--safe-bottom));padding:0 8px var(--safe-bottom);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);justify-content:center;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.NavItem{max-width:120px;color:var(--muted);cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:0;font-size:.75rem;font-weight:600;text-decoration:none;display:flex}.NavItem .Icon{border-radius:999px;width:56px;height:30px;padding:5px 0;transition:background-color .15s}.NavItem.active{color:var(--accent)}.NavItem.active .Icon{background:var(--accent-soft)}.Icon{flex-shrink:0;width:24px;height:24px;display:block}.Page{flex-direction:column;gap:16px;display:flex}.PageHeader{z-index:5;min-height:64px;padding:calc(8px + var(--safe-top)) 16px 8px;background:color-mix(in srgb, var(--bg) 90%, transparent);-webkit-backdrop-filter:blur(12px);align-items:center;gap:8px;margin:0 -16px;display:flex;position:sticky;top:0}.PageHeader .IconButton{margin-left:-8px}.PageHeaderText{flex:1;min-width:0}.PageHeaderText h1{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.Subtitle,.Muted{color:var(--muted);font-size:.875rem}.Mono{font-family:var(--mono);font-size:.8125rem}.IconButton{width:44px;height:44px;color:var(--text-h);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.IconButton:hover{background:var(--surface-2)}.Card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.Btn{background:var(--surface);border:1px solid var(--border);min-height:44px;color:var(--text-h);white-space:nowrap;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:.9375rem;font-weight:600;text-decoration:none;transition:background-color .15s,transform .1s;display:inline-flex}.Btn:hover{background:var(--surface-2)}.Btn:active{transform:scale(.97)}.Btn:disabled{opacity:.55;cursor:default;transform:none}.Btn .Icon{width:18px;height:18px}.Btn.Primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.Btn.Primary:hover{background:var(--accent-hover)}.Btn.Danger{color:var(--error)}.Btn.Small{min-height:36px;padding:0 12px;font-size:.875rem}.Btn.Block{width:100%}.Alert{background:var(--error-soft);border-radius:var(--radius-sm);color:var(--error);text-align:left;align-items:flex-start;gap:10px;padding:12px 14px;font-size:.875rem;display:flex}.Alert .Icon{width:20px;height:20px}.EmptyState{text-align:center;color:var(--muted);padding:40px 16px}.EmptyState strong{color:var(--text-h)}.StatusDot{background:var(--muted);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.StatusDot.Online{background:var(--success);box-shadow:0 0 0 3px var(--success-soft)}.Chips{flex-wrap:wrap;gap:6px;display:flex}.Chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:600}.ErrorPage{max-width:400px;padding:calc(64px + var(--safe-top)) 16px 32px;text-align:center;flex-direction:column;align-items:center;gap:12px;margin:0 auto;display:flex}.ErrorPage .ErrorIcon{width:48px;height:48px;color:var(--error)}.ErrorActions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.Content:has(>.LoginPage){padding-bottom:0}.LoginPage{min-height:100dvh;padding:calc(24px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));justify-content:center;align-items:center;margin:0 -16px;display:flex}.LoginCard{background:var(--surface);border:1px solid var(--border);width:100%;max-width:400px;box-shadow:var(--shadow-sm);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:8px;padding:40px 20px 32px;display:flex}.LoginLogo{width:96px;height:96px;box-shadow:var(--shadow-lg);border-radius:22px;margin-bottom:8px}.LoginCard .Alert{width:100%;margin-top:16px}.LoginButtons{flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:24px;display:flex}.SeznamButton{color:#3c4043;background:#fff;border:1px solid #dadce0;border-radius:4px;justify-content:center;align-items:center;gap:4px;width:280px;max-width:100%;height:40px;font-size:.875rem;font-weight:500;text-decoration:none;transition:background-color .15s;display:flex}.SeznamButton:hover{background:#f7f8f8}.SeznamLogo{color:#c00;font-weight:800}.DeviceGrid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.DeviceCard{min-height:76px;color:inherit;align-items:center;gap:14px;padding:14px 12px 14px 14px;text-decoration:none;transition:transform .1s,border-color .15s;display:flex}.DeviceCard:hover{border-color:var(--accent)}.DeviceCard:active{transform:scale(.98)}.DeviceCardIcon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.DeviceCardText{flex-direction:column;flex:1;min-width:0;display:flex}.DeviceCardName{color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:600;overflow:hidden}.DeviceCardStatus{color:var(--muted);align-items:center;gap:8px;font-size:.875rem;display:flex}.DeviceCard .Chevron{color:var(--muted)}.InfoList{margin:0;padding:4px 16px}.InfoList>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:48px;display:flex}.InfoList>div:last-child{border-bottom:none}.InfoList dt{color:var(--muted);font-size:.875rem}.InfoList dd{color:var(--text-h);text-align:right;align-items:center;gap:8px;margin:0;font-weight:500;display:flex}.HoldButtonWrapper{flex-direction:column;align-items:center;gap:20px;padding:24px 0 8px;display:flex}.HoldButton{aspect-ratio:1;background:var(--brand-gradient);width:min(62vw,240px);box-shadow:var(--shadow-lg);color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:transform .15s,filter .2s,background .2s;display:flex;position:relative}.HoldButton:focus-visible{outline-offset:6px}.HoldButtonIcon .Icon{width:72px;height:72px}.HoldButtonRing{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.HoldButtonRing circle{fill:none;stroke-width:6px}.HoldButtonRing .Track{stroke:#ffffff40}.HoldButtonRing .Progress{stroke:#fff;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px}.HoldButton.Is-pressing{transform:scale(.95)}.HoldButton.Is-pressing .Progress{animation:holdProgress var(--press-duration) linear forwards}.HoldButton.Is-sending{cursor:default;animation:1s ease-in-out infinite pulse}.HoldButton.Is-sending .Progress{stroke-dashoffset:0}.HoldButton.Is-sent{background:var(--success);cursor:default}.HoldButton.Is-error{background:var(--error)}@keyframes holdProgress{0%{stroke-dashoffset:100px}to{stroke-dashoffset:0}}@keyframes pulse{50%{filter:brightness(1.15);transform:scale(.97)}}.HoldButtonLabel{min-height:1.5em;color:var(--muted);text-align:center;font-weight:500}.HoldButton.Is-sent+.HoldButtonLabel{color:var(--success)}.HoldButton.Is-error+.HoldButtonLabel{color:var(--error)}.Section{flex-direction:column;gap:12px;display:flex}.Section h2{align-items:center;gap:8px;margin-top:8px;display:flex}.Count{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:0 8px;font-size:.8125rem}.Form{flex-direction:column;gap:16px;padding:16px;display:flex}.Field{border:none;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.Field>label,.Field>legend{color:var(--text-h);margin-bottom:6px;padding:0;font-size:.875rem;font-weight:600}.Field>label{margin-bottom:0}.Field input[type=text]{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;height:48px;padding:0 14px;font-size:1rem;transition:border-color .15s,box-shadow .15s}.Field input[type=text]:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.Field input[aria-invalid=true]{border-color:var(--error)}.CheckboxGroup{flex-wrap:wrap;gap:8px;display:flex}.Checkbox{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:0 14px;display:flex}.Checkbox:has(input:checked){border-color:var(--accent);background:var(--accent-soft);color:var(--text-h)}.Checkbox input{width:20px;height:20px;accent-color:var(--accent);margin:0}.FieldError,.FieldSuccess{align-items:center;gap:4px;font-size:.8125rem;font-weight:500;display:inline-flex}.FieldError{color:var(--error)}.FieldSuccess{color:var(--success)}.FieldError .Icon{width:16px;height:16px}.AdminDeviceList{gap:12px;margin:0;padding:0;list-style:none;display:grid}.AdminDeviceItem{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.AdminDeviceInfo{flex-direction:column;gap:4px;min-width:0;display:flex}.AdminDeviceInfo strong{color:var(--text-h)}.Sheet{width:100%;max-width:560px;max-height:85dvh;padding:8px 16px calc(16px + var(--safe-bottom));background:var(--surface);color:var(--text);overscroll-behavior:contain;border:none;border-radius:20px 20px 0 0;margin:auto auto 0;overflow-y:auto}.Sheet[open]{animation:.2s ease-out sheetIn}.Sheet::backdrop{background:#0a0b1080}@keyframes sheetIn{0%{opacity:0;transform:translateY(40px)}}@media (width>=640px){.Sheet{border-radius:20px;margin:auto;padding-bottom:16px}}.SheetHeader{z-index:1;background:var(--surface);justify-content:space-between;align-items:flex-start;gap:8px;padding:12px 0;display:flex;position:sticky;top:-8px}.SheetHeader .IconButton{margin-right:-8px}.UserList{margin:0;padding:0;list-style:none}.UserItem{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 0;display:flex}.UserEmail{min-width:0;color:var(--text-h);overflow-wrap:anywhere;flex-direction:column;display:flex}.UserActions{gap:8px;display:flex}.InstallBanner{align-items:flex-start;gap:12px;padding:14px 6px 14px 14px;display:flex}.InstallBannerIcon{border-radius:12px;flex-shrink:0;width:48px;height:48px}.InstallBannerText{min-width:0;color:var(--muted);flex-direction:column;flex:1;align-items:flex-start;gap:4px;font-size:.875rem;display:flex}.InstallBannerText>strong{color:var(--text-h);font-size:1rem}.InstallBannerText .Btn{margin-top:6px}.InstallBanner>.IconButton{width:36px;height:36px;margin-top:-6px}.InstallBanner>.IconButton .Icon{width:20px;height:20px}.InlineIcon{vertical-align:-3px;width:18px;height:18px;color:var(--accent);display:inline-block}.LoginCard .InstallBanner{text-align:left;width:100%;box-shadow:none;margin-top:24px}
