*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#0b1220;color:#e8eefc}a{color:inherit}.hero-root{min-height:100vh;min-height:100dvh;display:flex;justify-content:center;padding:6vw 4vw}.hero-text{text-align:inherit}.home{position:relative;min-height:100vh;min-height:100dvh}.realtime-banner{position:fixed;top:0;left:0;right:0;z-index:50;margin:0;padding:12px 16px;text-align:center;font-size:.95rem;line-height:1.4;color:#fef2f2;background:#7f1d1deb;border-bottom:1px solid rgba(254,202,202,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.home--db-down .hero-root{padding-top:clamp(52px,12vw,72px)}.home-chrome{position:fixed;top:max(16px,env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right,0px));left:max(16px,env(safe-area-inset-left,0px));display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;z-index:20}.chrome-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid rgba(255,255,255,.22);background:#0a0e188c;color:#f8fafc;padding:10px 14px;border-radius:999px;font:inherit;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chrome-btn.ghost{border-color:#ffffff1f;background:#0a0e1859}.chrome-btn:disabled{opacity:.55;cursor:not-allowed}.file-label{cursor:pointer}.file-label input:disabled+*,.file-label:has(input:disabled){opacity:.6;cursor:not-allowed}.chrome-btn--pending{opacity:.55;cursor:not-allowed;pointer-events:none}.edit-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#0b1220;color:#e8eefc}.edit-page--loading{align-items:center;justify-content:center;padding:24px}.edit-page--db-down{padding-top:clamp(48px,11vw,64px)}.edit-page__header{position:sticky;top:0;z-index:15;flex-shrink:0;display:flex;flex-direction:column;gap:12px;padding:max(12px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));background:#0b1220eb;border-bottom:1px solid rgba(255,255,255,.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.edit-page__header-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.edit-page__title-block{flex:1;min-width:0}.edit-page__title{margin:0;font-size:clamp(1.15rem,4vw,1.35rem);font-weight:600}.edit-page__tagline{margin:4px 0 0;font-size:.85rem;font-weight:400;line-height:1.35;color:#94a3b8}.edit-page__exit{flex-shrink:0;min-height:44px;padding-inline:14px}.edit-page__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.edit-page__sync-status{flex:1 1 auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding-inline:12px;font-size:.7rem;font-weight:700;letter-spacing:.06em;color:#944;border:1px solid rgba(200,0,0,.35);background:#0a000073}.edit-page__sync-status--pending{animation:save-pulse 1.1s ease-in-out infinite}.edit-page__toolbar .chrome-btn{min-height:44px}.edit-page__main{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px max(16px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));width:100%;max-width:560px;margin-inline:auto}.edit-page__status{margin-bottom:0}.primary{border:none;border-radius:12px;padding:12px 16px;font:inherit;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#38bdf8,#6366f1);color:#0b1220}.primary:disabled{opacity:.6;cursor:not-allowed}.status{margin-top:12px;color:#a5b4fc;font-size:.95rem}.toast{position:fixed;bottom:16px;left:50%;transform:translate(-50%);background:#0c1220eb;border:1px solid rgba(255,255,255,.12);padding:10px 14px;border-radius:12px;z-index:30}.login-fullscreen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:clamp(16px,4vw,32px);overflow-y:auto;background:linear-gradient(165deg,#070b14,#0f172a 42%,#0b1220)}.login-card{width:min(440px,100%);padding:28px 24px 32px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:#0c1220d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);margin:auto 0}.pin-input-row{display:flex;justify-content:center;gap:10px}.pin-digit{width:3rem;height:3.25rem;text-align:center;font-size:1.35rem;font-variant-numeric:tabular-nums;letter-spacing:.02em;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#ffffff0f;color:#f8fafc;font:inherit}.pin-digit:focus{outline:none;border-color:#93c5fd8c;box-shadow:0 0 0 2px #3b82f640}.pin-digit:disabled{opacity:.65}.login-header h1{margin:0 0 8px;font-size:1.5rem}.muted{color:#94a3b8;line-height:1.5;margin:0 0 20px}.login-actions{display:flex;flex-direction:column;gap:10px}.auth-form{display:flex;flex-direction:column;gap:12px}.auth-form .submit-btn{margin-top:4px}.mode-switch{margin:12px 0 0;color:#94a3b8;font-size:.95rem}.settings-toggle{margin-top:16px}.info{color:#a5b4fc;margin-top:12px;line-height:1.45}.oauth-btn{border-radius:12px;padding:12px 14px;font:inherit;font-weight:600;cursor:pointer;border:1px solid rgba(255,255,255,.14);background:#ffffff0f;color:#f8fafc}.oauth-btn:disabled{opacity:.65;cursor:not-allowed}.linkish{margin-top:16px;background:none;border:none;color:#93c5fd;cursor:pointer;font:inherit;padding:0;text-decoration:underline}.login-settings{margin-top:16px;padding-top:8px}.error{color:#fecaca;margin-top:12px}.back{display:inline-block;margin-top:20px;font-size:.95rem;color:#94a3b8;text-decoration:none}.back:hover{text-decoration:underline}.controls{display:flex;flex-direction:column;gap:12px}.controls--panels{gap:20px}.edit-panel{border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:14px 14px 16px;background:#ffffff05}.edit-panel__title{margin:0 0 6px;font-size:1rem;font-weight:600;color:#f1f5f9;letter-spacing:.02em}.edit-panel__hint{margin:0 0 12px;font-size:.85rem;line-height:1.45;color:#94a3b8}.edit-panel__hint strong{font-weight:600;color:#cbd5e1}.edit-panel__muted{margin:10px 0 0;font-size:.82rem;line-height:1.45;color:#64748b}.edit-panel__status{margin:10px 0 0;font-size:.85rem;line-height:1.45;color:#a5b4fc}.edit-panel__status strong{font-weight:600;color:#c7d2fe}.edit-panel__row{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}.edit-panel__row .file-pill{flex:1 1 180px;min-height:44px}.edit-panel__remove-photo{flex:0 1 auto;align-self:stretch}.file-pill--block{display:flex;justify-content:center;align-items:center;text-align:center}.field__label-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:4px}.field__label-row>span:first-child{font-size:.9rem;color:#cbd5e1}.field__value{font-size:.8rem;color:#94a3b8;font-variant-numeric:tabular-nums;max-width:100%;text-align:right}.range-with-ticks{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;width:100%}.range-with-ticks__end{font-size:.75rem;color:#64748b;width:3.25rem}.range-with-ticks__end:last-child{text-align:right}.range-with-ticks__input{width:100%;min-width:0}.seg--align .seg-btn{min-width:0;flex:1 1 calc(50% - 4px)}.field{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:#cbd5e1}.field input,.field textarea,.field select{width:100%;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#f8fafc;padding:10px;font:inherit}.field input[type=color]{height:42px;padding:6px}.field.field--row{flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:12px}.field--grow{flex:1 1 200px;min-width:0}.field--shrink{flex:0 0 auto}.file-pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0f;color:#f8fafc;font:inherit;cursor:pointer;white-space:nowrap}.file-pill:has(input:disabled){opacity:.55;cursor:not-allowed}.fieldset{border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:10px 12px 12px;margin:0}.fieldset legend{padding:0 6px;color:#cbd5e1;font-size:.9rem}.seg{display:flex;gap:8px;flex-wrap:wrap}.seg-btn{flex:1;min-width:92px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#e8eefc;padding:8px 10px;cursor:pointer;font:inherit}.seg-btn.active{border-color:#38bdf88c;box-shadow:0 0 0 1px #38bdf859 inset}.auth-callback{min-height:100vh;display:grid;place-items:center;padding:24px;color:#e8eefc}.login-terminal{min-height:100vh;min-height:100dvh;background:#000;font-family:JetBrains Mono,Courier New,monospace;display:flex;align-items:center;justify-content:center}.login-terminal__box{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:28px}.login-terminal__prompt{color:#e60000;font-size:1rem;letter-spacing:.14em;margin:0}.login-terminal__pin-row{display:flex;gap:14px}.login-terminal__digit{width:3rem;height:3.5rem;text-align:center;font-size:1.6rem;font-family:inherit;font-variant-numeric:tabular-nums;background:#000000d9;border:1px solid rgba(200,0,0,.5);border-radius:2px;color:#f33;caret-color:#e60000;transition:border-color .15s,box-shadow .15s}.login-terminal__digit:focus{outline:none;border-color:#e60000;box-shadow:0 0 12px #f0000059}.login-terminal__digit:disabled{opacity:.35}.login-terminal__err{color:#e60000;font-size:.75rem;letter-spacing:.1em;margin:0;animation:err-flash .3s ease-out}@keyframes err-flash{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.edit-page{background:#000;font-family:JetBrains Mono,Courier New,monospace}.edit-page--loading{background:#000}.edit-page__overlay{position:relative;z-index:1;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.term-loading{color:#a00;font-family:JetBrains Mono,monospace;font-size:.85rem;letter-spacing:.15em;margin:auto}.edit-page .edit-page__header{background:#000000e6;border-bottom:1px solid rgba(220,0,0,.4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.edit-page .edit-page__title{color:#e60000;font-size:.85rem;font-weight:700;letter-spacing:.14em;flex:1;text-align:center}.blink{animation:blink-caret 1.1s step-end infinite}@keyframes blink-caret{0%,to{opacity:1}50%{opacity:0}}.term-btn{font-family:inherit;font-size:.75rem;font-weight:600;letter-spacing:.1em;padding:10px 16px;border-radius:2px;cursor:pointer;border:1px solid rgba(220,0,0,.55);background:transparent;color:#e60000;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:background .1s,border-color .1s,color .1s;min-height:40px}.term-btn:hover:not(:disabled){background:#dc000024;border-color:#e60000}.term-btn--primary{border-color:#e60000;color:#f33}.term-btn--primary:hover:not(:disabled){background:#f0000038;box-shadow:0 0 10px #f000004d}.term-btn--dirty{animation:save-pulse 1.1s ease-in-out infinite}@keyframes save-pulse{0%,to{border-color:#e60000;box-shadow:0 0 4px #f0000040;color:#f33}50%{border-color:#f44;box-shadow:0 0 16px #ff1e1ea6;color:#f66}}.term-btn--danger{border-color:#b4000066;color:#a00}.term-btn--danger:hover:not(:disabled){border-color:#dc000099;color:#c22;background:#b400001a}.term-btn:disabled{opacity:.3;cursor:not-allowed}.edit-page .edit-page__toolbar{gap:8px}.edit-page .edit-page__sync-status{max-width:none}.edit-page .edit-panel{border:1px solid rgba(200,0,0,.3);border-radius:2px;background:#14000099;padding:14px 14px 16px}.edit-page .edit-panel__title{color:#c00;font-size:.65rem;font-weight:700;letter-spacing:.2em;margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid rgba(180,0,0,.25)}.edit-page textarea{font-family:inherit;background:#000000b3;border:1px solid rgba(200,0,0,.4);border-radius:2px;color:#ddd;padding:10px;resize:vertical;width:100%;font-size:.9rem;line-height:1.5}.edit-page textarea:focus{outline:none;border-color:#e60000;box-shadow:0 0 8px #dc000033}.edit-page textarea::placeholder{color:#444}.term-field{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.term-field:last-child{margin-bottom:0}.term-label{font-size:.62rem;letter-spacing:.18em;color:#a00;font-weight:700}.term-font-grid{display:flex;flex-wrap:wrap;gap:6px}.term-font-btn{font-size:.88rem;padding:8px 12px;border-radius:2px;border:1px solid rgba(200,0,0,.25);background:transparent;color:#888;cursor:pointer;transition:all .1s;white-space:nowrap;font-family:inherit}.term-font-btn:hover:not(:disabled):not(.active){border-color:#dc000080;color:#e60000;background:#dc00000f}.term-font-btn.active{border-color:#e60000;background:#c8000024;color:#f33;box-shadow:0 0 6px #dc000040}.term-font-btn:disabled{opacity:.3;cursor:not-allowed}.term-seg{display:flex;gap:6px}.term-seg--wrap{flex-wrap:wrap}.term-seg-btn{flex:1;font-family:inherit;font-size:.72rem;letter-spacing:.08em;padding:8px 10px;border-radius:2px;border:1px solid rgba(200,0,0,.25);background:transparent;color:#666;cursor:pointer;transition:all .1s;white-space:nowrap;text-align:center}.term-seg-btn:hover:not(:disabled):not(.active){border-color:#dc000080;color:#e60000}.term-seg-btn.active{border-color:#e60000;background:#c8000024;color:#f33;box-shadow:0 0 6px #dc000033}.term-seg-btn:disabled{opacity:.3;cursor:not-allowed}.edit-page input[type=range]{accent-color:#e60000}.edit-page input[type=color]{height:40px;width:100%;border-radius:2px;border:1px solid rgba(200,0,0,.4);background:transparent;cursor:pointer;padding:4px}.edit-page .field__label-row>span:first-child,.edit-page .field>span{font-size:.62rem;letter-spacing:.18em;color:#a00;font-weight:700}.edit-page .field__value{color:#c22;font-size:.72rem}.edit-page .range-with-ticks__end{color:#444;font-size:.65rem;width:2.5rem}.edit-page .file-pill{border-color:#c8000073;background:transparent;color:#e60000;font-family:inherit;font-size:.72rem;letter-spacing:.1em;border-radius:2px}.edit-page .file-pill:hover:not(:has(input:disabled)){background:#c800001a;border-color:#e60000}.edit-page .edit-panel__remove-photo{border-color:#c800004d;background:transparent;color:#555;font-family:inherit;font-size:.72rem;letter-spacing:.08em;border-radius:2px}.edit-page .edit-panel__remove-photo:hover:not(:disabled){border-color:#dc000080;color:#e60000}.edit-page .primary{background:transparent;border:1px solid #e60000;color:#f33;font-family:inherit;font-weight:700;font-size:.8rem;letter-spacing:.1em;border-radius:2px}.edit-page .primary:hover:not(:disabled){background:#f0000026}.edit-page .status{color:#e60000;font-size:.75rem;letter-spacing:.08em;margin-top:10px}.edit-page .edit-page__main{position:relative;z-index:1}
