.auth-page{width:100%;min-height:100dvh;display:flex;flex-direction:column;padding:calc(28px + env(safe-area-inset-top,0px)) 18px calc(16px + env(safe-area-inset-bottom,0px));background:var(--canvas)}.auth-brand{width:100%;max-width:1000px;margin:0 auto;padding:0 6px;display:flex;align-items:center;min-height:42px}.auth-main{flex:1;width:100%;display:flex;align-items:center;justify-content:center;padding:44px 0}.auth-card{position:relative;width:100%;max-width:420px;border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:38px 26px 28px;box-shadow:0 12px 36px #00000009}.auth-card h1{color:var(--text);font-size:25px;line-height:1.25;letter-spacing:-.6px;font-weight:650;text-align:center;outline:none}.auth-card h1:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:4px}.auth-subtitle{color:var(--muted);font-size:15px;line-height:1.5;text-align:center;margin:10px 0 28px}.auth-card form{display:flex;flex-direction:column}.auth-field{display:flex;flex-direction:column;gap:9px}.auth-field label{color:var(--text);font-size:14px;line-height:1.4;font-weight:500}.form-input{min-height:54px;width:100%;min-width:0;border:1px solid var(--input-border);border-radius:12px;background:var(--tile);color:var(--text);padding:14px 15px;font-size:16px;line-height:24px}.form-input::placeholder{color:var(--muted);opacity:1}.form-input:disabled{opacity:.65}.auth-password{position:relative}.auth-password .form-input{padding-right:52px}.auth-password-toggle{position:absolute;top:5px;right:4px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;color:var(--muted)}.auth-back{position:absolute;left:10px;top:8px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:var(--muted);z-index:1}.auth-back:hover,.auth-password-toggle:hover{background:var(--hover)}.auth-card:has(.auth-back){padding-top:54px}.auth-identity{display:flex;justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:44px;color:var(--muted);margin:6px auto 20px;font-size:14px;border-radius:8px;padding:5px 0}.auth-identity span{overflow-wrap:anywhere}.auth-forgot{align-self:flex-end;min-height:44px;padding:9px 0;font-size:14px;color:var(--muted)}.auth-primary{width:100%;min-height:54px;display:flex;gap:8px;align-items:center;justify-content:center;background:var(--primary);color:var(--on-primary);border:0;border-radius:12px;padding:13px 14px;margin-top:24px;font-size:16px;line-height:1.4;font-weight:600;text-align:center;text-decoration:none}.auth-forgot+.auth-primary{margin-top:10px}.auth-primary:active{opacity:.85}.auth-inline-link{color:var(--accent);font-size:inherit;line-height:1.5;padding:8px 2px;min-height:44px;text-underline-offset:4px;font-weight:500}.auth-inline-link:hover,.auth-forgot:hover{text-decoration:underline}.auth-switch{margin-top:18px;color:var(--muted);text-align:center;font-size:14px;line-height:1.5}.auth-centered{display:block;margin:10px auto 0;font-size:14px}.auth-hint{color:var(--muted);font-size:13px;line-height:1.5}.auth-help-copy{color:var(--muted);font-size:15px;line-height:1.65;margin-top:18px}.auth-reset-steps{margin:0;padding-left:22px;color:var(--muted);font-size:14px;line-height:1.65}.auth-reset-steps li+li{margin-top:10px}.auth-mail-icon{display:flex;align-items:center;justify-content:center;background:var(--tile);color:var(--text);width:56px;height:56px;border-radius:17px;margin:0 auto 20px}.auth-footer{width:100%;max-width:1000px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:14px;color:var(--muted);font-size:13px;line-height:1.5}.auth-preferences{display:flex;flex-wrap:wrap;column-gap:6px;align-items:center;max-width:100%}.auth-preference-action{display:inline-flex;gap:6px;align-items:center}.auth-preferences button{min-height:44px;color:var(--muted);padding:10px 4px;border-radius:7px;font-size:13px}.auth-preferences button:hover{color:var(--text)}.auth-preferences .auth-language{display:inline-flex;align-items:center;gap:7px}.auth-language .language-flag{width:20px;height:15px;border-radius:2px}.auth-step{animation:auth-step-in .18s ease-out}@keyframes auth-step-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:600px){.auth-page{padding-left:40px;padding-right:40px;padding-top:calc(36px + env(safe-area-inset-top,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.auth-card{padding-left:32px;padding-right:32px}.auth-footer,.auth-preferences button{font-size:14px}}@media(max-width:360px){.auth-page{padding-left:14px;padding-right:14px}.auth-card{padding-left:20px;padding-right:20px}.auth-footer{font-size:12px;column-gap:7px}.auth-preferences{gap:3px}.auth-preferences button{font-size:12px}}@media(max-height:650px){.auth-main{padding:24px 0}}@media(prefers-reduced-motion:reduce){.auth-step{animation:none}}.auth-footer>span{overflow-wrap:anywhere;min-width:0}.auth-subtitle,.auth-switch,.auth-help-copy{overflow-wrap:anywhere}.pwa-install-dialog{width:min(440px,calc(100vw - 40px));box-sizing:border-box;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);padding:24px;max-height:calc(100dvh - 40px);overflow:auto}.pwa-install-dialog::backdrop{background:#0a0a107a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.pwa-install-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pwa-install-dialog h2{margin:0;font-size:21px}.pwa-install-dialog p{line-height:1.6}.pwa-install-dialog>.primary,.pwa-install-dialog>.secondary{width:100%;margin-top:12px}:root,.showcase-theme[data-theme=light]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400;--accent: #24222a;--primary: #24222a;--on-primary: #ffffff;--muted: #676b78;--line: #e5e5ed;--canvas: #f3f3f8;--canvas-rgb: 243,243,248;--text: #24222a;--surface: #ffffff;--surface-rgb: 255,255,255;--avatar-bg: #e5e5ec;--badge-bg: #e9e9f0;--tile: #f2f3f8;--tile-text: #5d626f;--nav-text: #626675;--chevron: #858795;--input-border: #dadde0;--surface-edge: rgba(255,255,255,.8);--glass-edge: rgba(255,255,255,.75);--glass-highlight: rgba(255,255,255,.7);--selection: #f0eff4;--hover: rgba(36,34,42,.025);--pressed: rgba(36,34,42,.06);--danger: #d5222e;--danger-bg: #fff1f2;--warning-bg: #fff4d9;--warning-text: #6c530d;--error-bg: #fff0ee;--error-text: #a33329;color-scheme:light}:root[data-theme=black],.showcase-theme[data-theme=black]{--accent: #f2f1f7;--primary: #f2f1f7;--on-primary: #17161c;--text: #f2f1f7;--muted: #a7a5b2;--line: #303039;--canvas: #141416;--canvas-rgb: 20,20,22;--surface: #1e1e23;--surface-rgb: 30,30,35;--avatar-bg: #25252e;--badge-bg: #25252e;--tile: #29292f;--tile-text: #bab8c5;--nav-text: #b4b2bf;--chevron: #92909e;--input-border: #44424e;--surface-edge: rgba(255,255,255,.09);--glass-edge: rgba(255,255,255,.1);--glass-highlight: rgba(255,255,255,.05);--selection: #303038;--hover: rgba(255,255,255,.04);--pressed: rgba(255,255,255,.08);--danger: #ff6b79;--danger-bg: #34171e;--warning-bg: #30260d;--warning-text: #f3d380;--error-bg: #35191d;--error-text: #ffb4bc;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}svg{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.app{min-height:100dvh;width:100%;max-width:680px;margin:auto;background:var(--surface)}.with-navigation{background:var(--canvas)}.page-header{min-height:calc(64px + env(safe-area-inset-top,0px));padding:calc(12px + env(safe-area-inset-top,0px)) 96px 12px;display:flex;justify-content:center;align-items:center;position:relative}.page-header h1{font-size:17px;font-weight:600;line-height:1.3;outline:none;text-align:center}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}.back{position:absolute;left:8px;bottom:10px;display:flex;gap:2px;padding:0 8px;font-size:16px}.profile-content{padding:0 14px}.identity{display:flex;align-items:center;gap:20px;padding:calc(32px + env(safe-area-inset-top,0px)) 8px 28px}.avatar-button{position:relative;flex-shrink:0;padding:0;width:72px;height:72px}.avatar{height:72px;width:72px;border-radius:19px;object-fit:cover;display:block;border:1px solid var(--surface-edge)}.initials{display:flex;justify-content:center;align-items:center;background:var(--avatar-bg);color:var(--accent);font-weight:400;font-size:27px}.camera-badge{display:flex;align-items:center;justify-content:center;border-radius:10px;position:absolute;right:-4px;bottom:-4px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 3px #24222a14;width:30px;height:30px}.identity-text{min-width:0;flex:1}.identity h2{font-size:22px;letter-spacing:-.4px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;margin-bottom:8px}.role-badge{display:inline-block;background:var(--badge-bg);color:var(--accent);border-radius:7px;padding:4px 10px;font-size:14px;font-weight:400}.menu{display:grid;gap:16px}.menu-group,.logout-section{border-radius:16px;background:var(--surface)}.menu-row{position:relative;display:flex;align-items:center;width:100%;min-height:64px;gap:12px;padding:10px 12px;text-align:left;border-radius:inherit}.menu-row:hover{background:var(--hover)}.menu-row:active{background:var(--pressed)}.menu-group .menu-row+.menu-row:before{content:"";position:absolute;top:0;left:12px;right:12px;height:1px;background:var(--line)}.menu-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;background:var(--tile);color:var(--tile-text);border-radius:12px}.language-flag{display:block;width:28px;height:21px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #80808c29}.menu-row .row-label{flex:1;min-width:0;line-height:1.35;font-size:17px;letter-spacing:-.25px}.row-value{font-size:14px;color:var(--muted);max-width:30%;overflow-wrap:anywhere}.row-chevron{color:var(--chevron)}.logout-section{margin-top:16px}.logout-section .row-label,.logout-icon{color:var(--danger)}.logout-section .menu-icon{color:var(--danger);background:var(--danger-bg)}.bottom-dock{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:680px;z-index:20;padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));pointer-events:none;isolation:isolate}.dock-blur{position:absolute;inset:-48px -8px 0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,rgba(var(--canvas-rgb),0),rgba(var(--canvas-rgb),.46) 38%,rgba(var(--canvas-rgb),.88));-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 44%);mask-image:linear-gradient(to bottom,transparent,#000 44%)}.bottom-navigation{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(var(--surface-rgb),.74);-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);border-radius:16px;padding:8px 4px;border:1px solid var(--glass-edge);box-shadow:0 6px 24px #1e1d2c14,inset 0 1px 0 var(--glass-highlight);pointer-events:auto}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:50px;min-width:0;text-decoration:none;color:var(--nav-text);padding:2px 1px;line-height:1.15;font-size:11px;border-radius:18px}.nav-item span{max-width:100%;overflow-wrap:anywhere}.nav-item.active{color:var(--accent);font-weight:600}.nav-item:active{background:var(--pressed)}.section-note{font-size:14px;line-height:1.55;color:var(--muted);padding:8px 4px 20px}.detail-list{margin:0;background:var(--surface);border-radius:18px;padding:0 16px}.detail{padding:16px 0;border-bottom:1px solid var(--line)}.detail:last-child{border:0}.detail dt{color:var(--muted);font-size:13px;margin-bottom:7px;line-height:1.4}.detail dd{margin:0;overflow-wrap:anywhere;line-height:1.4;font-size:17px}.website-link{display:flex;gap:8px;align-items:center;color:var(--accent);font-size:15px;margin-top:18px;min-height:44px;padding:0 4px}.empty-state{padding:40px 8px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:18px}.empty-state>svg{color:var(--muted)}.empty-state h2{font-size:21px;font-weight:500;line-height:1.4}.empty-state p{font-size:15px;color:var(--muted);line-height:1.65;max-width:300px}.photo-readonly{width:150px;height:150px;border-radius:30px;object-fit:cover}.connection-banner{background:var(--warning-bg);color:var(--warning-text);font-size:13px;padding:12px 18px;display:flex;align-items:center;gap:10px;line-height:1.5}.preview-label{background:var(--badge-bg);color:var(--muted);text-align:center;font-size:11px;padding:5px}.center-state{min-height:75dvh;padding:32px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;text-align:center}.center-state h1{font-size:24px;line-height:1.4}.center-state p{font-size:15px;line-height:1.7;color:var(--muted);max-width:360px}.offline-state{min-height:60dvh}.wordmark{font-family:Georgia,Times New Roman,serif;letter-spacing:4px;font-size:23px;font-weight:500}.spinner{width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.primary{display:flex;align-items:center;justify-content:center;background:var(--primary);color:var(--on-primary);min-height:54px;border-radius:7px;padding:14px 24px;font-size:17px;font-weight:500;width:100%;margin-top:20px}.form-error{font-size:14px;background:var(--error-bg);color:var(--error-text);padding:13px;border-radius:6px;line-height:1.6;margin-top:12px}.install-prompt{position:relative;border-radius:16px;background:var(--surface);padding:18px;margin:0 0 16px}.install-prompt h3{font-size:15px;padding-right:22px;margin-bottom:7px}.install-prompt p{font-size:13px;color:var(--muted);line-height:1.5;padding-right:16px}.dismiss{position:absolute;right:0;top:0;color:var(--muted)}.text-button{display:flex;align-items:center;gap:7px;color:var(--accent);padding:13px 0 0;min-height:44px;font-size:14px}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.bottom-navigation{background:var(--surface)}.dock-blur{background:linear-gradient(transparent,var(--canvas) 62%)}}@media(min-width:600px){.profile-content{padding:0 28px}.identity{padding-top:40px;padding-bottom:32px}.menu-row{min-height:70px}.login-page{max-width:460px;margin:auto}.nav-item{font-size:12px}}@media(max-width:360px){.profile-content{padding-left:12px;padding-right:12px}.identity{gap:16px}.identity h2{font-size:21px}.menu-row{gap:10px}.menu-row .row-label{font-size:16px}.row-value{font-size:12px}.nav-item{font-size:10px}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}@media(prefers-reduced-transparency:reduce){.bottom-navigation{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}.dock-blur{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(transparent,var(--canvas) 62%)}}.app.with-navigation{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.with-navigation>.preview-label,.with-navigation>.connection-banner{flex:0 0 auto}.page-stack{position:relative;flex:1;min-height:0;width:100%;overflow:hidden;isolation:isolate}.page-panel{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(124px + env(safe-area-inset-bottom,0px));background:var(--canvas)}.page-panel--base{z-index:0}.page-panel--detail{z-index:1}.page-panel .page-header:not(.page-header--root){position:sticky;top:0;z-index:2;background:rgba(var(--canvas-rgb),.93);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@media(prefers-reduced-transparency:reduce){.page-panel .page-header{background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none}}.choice-options{min-width:0;margin:0;padding:0;border:0;background:var(--surface);border-radius:16px}.menu-group>.menu-row,.choice-option{border-radius:0}.menu-group>.menu-row:first-child,.choice-option:first-of-type{border-top-left-radius:16px;border-top-right-radius:16px}.menu-group>.menu-row:last-child,.choice-option:last-of-type{border-bottom-left-radius:16px;border-bottom-right-radius:16px}.choice-option{cursor:pointer}.choice-option:has(input:checked){background:var(--selection)}.choice-option+.choice-option:before{content:"";position:absolute;top:0;left:12px;right:12px;height:1px;background:var(--selection)}.choice-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.choice-option:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.choice-indicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;color:var(--accent)}.appearance-schedule{padding-top:20px;padding-bottom:10px}.appearance-current{padding:0 4px;color:var(--muted);font-size:14px}.preference-dialog{width:min(400px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;padding:20px;margin:auto;background:var(--canvas);color:var(--text);border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 60px #0003}.preference-dialog::backdrop{background:#0008;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.preference-dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.preference-dialog-header h2{font-size:20px;font-weight:600}.preference-dialog .choice-option{min-height:64px}.app.auth-shell{max-width:none;background:var(--canvas)}.brand-logo{display:block;width:auto;max-width:100%;object-fit:contain;object-position:left center}.brand-logo--text{color:var(--text);font-weight:600;line-height:1.1;overflow-wrap:anywhere}.section-note,.install-prompt h3,.center-state p{overflow-wrap:anywhere}.profile-editor,.photo-editor{display:grid;gap:20px;padding-bottom:24px}.editor-field{display:grid;gap:8px;font-size:14px;color:var(--text)}.editor-field input:not([type=range]){width:100%;min-height:54px;border:1px solid var(--input-border);border-radius:12px;padding:14px 15px;background:var(--tile);color:var(--text);font:inherit;font-size:16px}.editor-field input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.editor-field input:disabled{opacity:.65}.editor-field input[type=range]{width:100%;accent-color:var(--accent);min-height:44px}.editor-error{border-radius:12px;padding:14px;background:var(--tile);color:var(--text)}.editor-error p{margin:0 0 10px}.editor-saved{color:var(--accent)}.editor-readonly{margin-top:8px}.photo-sources{display:flex;gap:10px;flex-wrap:wrap}.photo-sources .secondary{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;border:1px solid var(--input-border);border-radius:12px;padding:10px;background:var(--tile);color:var(--text);font:inherit}.photo-crop{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:16px;background:#24222a;touch-action:none;cursor:grab;outline-offset:4px}.photo-crop:active{cursor:grabbing}.photo-crop img{position:absolute;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}.photo-crop-guide{position:absolute;inset:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 100vw #0005;pointer-events:none}.photo-remove{color:#d92d20}.photo-readonly{max-width:100%;justify-self:center}.app-update{position:relative;z-index:50;display:flex;justify-content:center;align-items:center;gap:16px;padding:10px 16px;background:var(--surface);color:var(--text)}.app-update .text-button{min-height:44px}.component-showcase{padding:24px;display:grid;gap:24px}.showcase-theme{display:grid;gap:20px;padding:24px;background:var(--canvas);color:var(--text);border-radius:16px}.avatar-button:disabled{opacity:1;cursor:default}.showcase-dialog{max-width:min(440px,calc(100vw - 32px));border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--surface);color:var(--text)}.showcase-dialog::backdrop{background:#0007;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.showcase-dialog p{margin:16px 0}.confirm-dialog h2{font-size:18px;line-height:1.45;font-weight:600;margin:0 0 24px}.confirm-actions{display:flex;gap:12px}.confirm-actions>button{flex:1;min-height:48px;border-radius:12px;padding:12px}.confirm-actions .confirm-cancel{background:var(--tile);color:var(--text)}.confirm-actions .confirm-danger{background:var(--danger);color:#fff}.notification-settings{display:grid;gap:20px;padding-bottom:24px}.notification-settings>h2{font-size:18px;margin-top:12px}.notification-enable,.notification-device{display:grid;gap:16px;background:var(--surface);padding:18px;border-radius:16px}.notification-enable .primary{display:flex;align-items:center;justify-content:center;gap:8px}.notification-categories{margin:0;padding:0;border:0;display:grid;gap:6px}.notification-categories legend{font-size:14px;color:var(--muted);margin-bottom:8px}.notification-categories label{display:flex;align-items:center;gap:12px;min-height:44px}.notification-categories input{width:20px;height:20px;accent-color:var(--accent)}.notification-device header{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.notification-device h3{flex:1;font-size:16px;overflow-wrap:anywhere}.notification-device .role-badge{font-size:12px}.notification-device-actions{display:flex;justify-content:space-between;gap:12px}.notification-device-actions button{min-height:44px}.notification-disable{color:var(--danger)}.notification-guidance{padding:16px;border-radius:14px;background:var(--tile);font-size:15px;line-height:1.5}
