:root{--bg:#f6f7fb;--surface:#fff;--text:#1c2030;--muted:#6b7185;--border:#e2e5ee;--primary:#5b4cf0;--primary-hover:#4a3bd9;--primary-text:#fff;--danger:#d93a4a;--success-bg:#e7f7ee;--success-text:#1d6b42;--warning-bg:#fff6e0;--warning-text:#7a5300;--error-bg:#fdecee;--error-text:#a3212f;--badge-admin-bg:#ece9ff;--badge-admin-text:#4334c4;--badge-super-bg:#fde9d7;--map-land:#e6e8ef;--map-1:#d9d4fd;--map-2:#a99ef7;--map-3:#7a6bf2;--map-4:#4334c4;--badge-super-text:#9a4a0c;--badge-user-bg:#eef1f6;--badge-user-text:#4b5268;--breath-out:#17867b;--radius:10px;--shadow:0 1px 2px #1418280f, 0 4px 16px #1418280d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.5}:root[data-theme=night]{--bg:#0e1627;--surface:#131d31;--text:#e3e9f6;--muted:#97a3bc;--border:#23324f;--primary:#8a7ef7;--primary-hover:#9d93f9;--success-bg:#12372f;--success-text:#8be0b0;--warning-bg:#3a3218;--warning-text:#f2cf7e;--error-bg:#3c1a2e;--breath-out:#4cc9b8;--error-text:#ff9aa5;--badge-admin-bg:#232557;--badge-admin-text:#c9c2ff;--badge-super-bg:#4a2c22;--map-land:#1b2740;--map-1:#2c3270;--map-2:#5b4cf0;--map-3:#8f84f6;--map-4:#c9c2ff;--badge-super-text:#ffc99b;--badge-user-bg:#1b273f;--badge-user-text:#b9c3e0;--shadow:0 1px 2px #00000040, 0 4px 16px #0003;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}:root[data-theme=night] body{background:radial-gradient(ellipse at 0% 30%, #15223a 0%, transparent 60%), var(--bg);isolation:isolate;background-attachment:fixed}:root[data-theme=night] body:before,:root[data-theme=night] body:after{content:"";z-index:-1;pointer-events:none;position:fixed;inset:0}:root[data-theme=night] body:before{background-image:radial-gradient(1.5px 1.5px at 23px 41px,#ffffffb3,#0000),radial-gradient(1.5px 1.5px at 127px 13px,#ffffff80,#0000),radial-gradient(1.5px 1.5px at 181px 97px,#fffc,#0000),radial-gradient(1.5px 1.5px at 61px 163px,#ffffff73,#0000),radial-gradient(1.5px 1.5px at 149px 191px,#dce6ff99,#0000),radial-gradient(1.5px 1.5px at 97px 113px,#ffffff59,#0000);background-size:211px 223px}:root[data-theme=night] body:after{background-image:radial-gradient(1.5px 1.5px at 51px 77px,#ffffffe6,#0000),radial-gradient(1.5px 1.5px at 263px 29px,#d2e1ffb3,#0000),radial-gradient(2.5px 2.5px at 191px 251px,#ffffffbf,#0000),radial-gradient(1.5px 1.5px at 317px 173px,#fff9,#0000);background-size:353px 331px;animation:5s ease-in-out infinite alternate twinkle}@keyframes twinkle{0%{opacity:.35}to{opacity:1}}@media (prefers-reduced-motion:reduce){:root[data-theme=night] body:after{animation:none}}h1{margin:0;font-size:1.6rem}h2{margin:0;font-size:1.1rem}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}.muted{color:var(--muted);margin:0}.stack{flex-direction:column;gap:16px;display:flex}.page-loading{text-align:center;color:var(--muted);padding:40px}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:24px;padding:12px 24px;display:flex}.brand{color:var(--text);white-space:nowrap;align-items:center;margin:0;font-size:1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.logo{align-items:center;gap:10px;display:inline-flex}.logo-mark{flex:none;display:block}.logo-name{letter-spacing:-.01em;color:var(--text);font-weight:700}.logo-accent{color:var(--primary)}.topbar-menu{flex:1;align-items:center;gap:24px;min-width:0;display:flex}.topbar nav{flex-wrap:wrap;flex:1;gap:4px;display:flex}.menu-toggle{display:none}.topbar nav a{color:var(--muted);border-radius:8px;padding:6px 12px}.topbar nav a:hover{color:var(--text);text-decoration:none}.topbar nav a.active{background:var(--bg);color:var(--text);font-weight:600}.topbar-user{color:var(--muted);align-items:center;gap:12px;display:flex}.content{max-width:1100px;margin:0 auto;padding:32px 24px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.page-header-text{flex:20rem;max-width:46rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.form-card{max-width:560px}.grid-cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.grid-cards .card{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.details{grid-template-columns:auto 1fr;gap:6px 16px;margin:0;display:grid}.details dt{color:var(--muted)}.details dd{margin:0}.auth-page{place-items:center;min-height:100vh;padding:24px 16px;display:grid}.auth-card{flex-direction:column;gap:12px;width:100%;max-width:400px;display:flex}.auth-footer{color:var(--muted);text-align:center;font-size:.9rem}.small-link{align-self:flex-end;font-size:.875rem}.field{flex-direction:column;gap:6px;font-weight:500;display:flex}input,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;min-height:40px;padding:9px 12px}input:focus,select:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:#0000}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--danger)}input:disabled,select:disabled{opacity:.6}.field-error{color:var(--danger);font-weight:400}.settings-section{border-top:1px solid var(--border);margin-top:8px;padding-top:16px}.field-hint{color:var(--muted);font-size:.85rem;font-weight:400}.checkbox{align-items:center;gap:8px;display:flex}.checkbox input{width:16px;height:16px;min-height:auto}.btn{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-weight:500;display:inline-flex}.btn:hover{border-color:var(--muted);text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}.btn-primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn-ghost{color:var(--muted);background:0 0;border-color:#0000}.btn-ghost:hover{color:var(--text);border-color:var(--border)}.btn-sm{padding:4px 10px;font-size:.85rem}.alert{border-radius:8px;margin:0;padding:10px 14px}.alert-success{background:var(--success-bg);color:var(--success-text)}.alert-error{background:var(--error-bg);color:var(--error-text)}.badge{text-transform:capitalize;border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:600;display:inline-block}.badge-admin{background:var(--badge-admin-bg);color:var(--badge-admin-text)}.badge-super_admin{background:var(--badge-super-bg);color:var(--badge-super-text)}.badge-user{background:var(--badge-user-bg);color:var(--badge-user-text)}.badge-active{background:var(--success-bg);color:var(--success-text)}.badge-inactive{background:var(--error-bg);color:var(--error-text)}.filters{flex-wrap:wrap;gap:8px;display:flex}.filters input{flex:240px}.table-card{padding:0;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);padding:12px 16px}th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.8rem;font-weight:600}tbody tr:last-child td{border-bottom:none}.row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.pagination{justify-content:center;align-items:center;gap:16px;display:flex}@media (width<=860px){.topbar{z-index:5;gap:12px;padding:10px 16px;position:sticky;top:0}.menu-toggle{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--text);cursor:pointer;border-radius:10px;place-items:center;margin-left:auto;display:grid}.menu-icon,.menu-icon:before,.menu-icon:after{background:currentColor;border-radius:2px;width:18px;height:2px;transition:transform .15s,opacity .15s;display:block}.menu-icon{position:relative}.menu-icon:before,.menu-icon:after{content:"";position:absolute;left:0}.menu-icon:before{top:-6px}.menu-icon:after{top:6px}.menu-open .menu-icon{background:0 0}.menu-open .menu-icon:before{transform:translateY(6px)rotate(45deg)}.menu-open .menu-icon:after{transform:translateY(-6px)rotate(-45deg)}.topbar-menu{flex-direction:column;flex-basis:100%;align-items:stretch;gap:8px;padding-bottom:4px;display:none}.menu-open .topbar-menu{display:flex}.topbar nav{flex-direction:column;gap:2px}.topbar nav a{padding:12px;font-size:1rem}.topbar-user{border-top:1px solid var(--border);justify-content:space-between;padding:10px 12px 0}}@media (width<=720px){h1{font-size:1.4rem}.content{padding:20px 16px 32px}.card{padding:18px}.filters input{flex-basis:100%}.filters select{flex:120px;min-width:0}.responsive-table thead{display:none}.responsive-table,.responsive-table tbody{display:block}.responsive-table tr{border-bottom:1px solid var(--border);gap:4px 12px;padding:12px 16px;display:grid}.responsive-table tbody tr:last-child{border-bottom:none}.responsive-table td{overflow-wrap:anywhere;border:none;min-width:0;padding:0;display:block}.admin-table tr{grid-template-columns:1fr auto}.admin-table td{grid-column:1/-1}.admin-table td:first-child{grid-column:1}.admin-table .actions-cell{grid-area:1/2}.admin-table td:not(:first-child):not(.actions-cell):before{content:attr(data-label);color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:11px;display:block}.admin-events td:before{content:none!important}.admin-events td:first-child{color:var(--muted);font-size:.85rem}.users-table tr{grid-template-columns:auto auto 1fr auto;grid-template-areas:"name name name actions""email email email email""role status login login";align-items:center}.users-table td[data-label=Name]{grid-area:name;font-weight:600}.users-table td[data-label=Email]{color:var(--muted);grid-area:email;font-size:.9rem}.users-table td[data-label=Role]{grid-area:role}.users-table td[data-label=Status]{grid-area:status}.users-table td[data-label=Last\ login]{color:var(--muted);text-align:right;grid-area:login;font-size:.8rem}.users-table td[data-label=Last\ login]:before{content:"Last login "}.users-table .actions-cell{grid-area:actions}.journal-table tr{grid-template-columns:1fr auto auto;grid-template-areas:"date score actions""note note note";align-items:center}.journal-table td[data-label=Date]{grid-area:date;font-weight:500}.journal-table td[data-label=Score]{grid-area:score}.journal-table td[data-label=Note]{color:var(--muted);grid-area:note;font-size:.9rem}.journal-table td[data-label=Note]:has(>.muted:only-child){display:none}.journal-table .actions-cell{grid-area:actions}}textarea{font:inherit;color:var(--text);background:var(--surface);resize:vertical;border:1px solid var(--border);border-radius:8px;padding:9px 12px}textarea:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:#0000}.checkin h2{font-size:1.25rem}.score-scale{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;display:grid}.score-option{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface);min-height:48px;color:var(--text);border-radius:10px;font-size:1.05rem;font-weight:600}.score-option:hover{border-color:var(--primary)}.score-option:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.score-option.selected{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}.score-option.with-mood{flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 2px 6px;display:flex}.score-mood{border-radius:9px;width:min(36px,100%);height:auto;transition:transform .15s}.score-option:hover .score-mood,.score-option.selected .score-mood{transform:scale(1.08)}.score-option.with-mood.selected .score-mood{box-shadow:0 0 0 2px var(--primary-text)}.score-scale-ends{justify-content:space-between;margin-top:-8px;font-size:.85rem;display:flex}.checkin-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.checkin-done{align-items:center;gap:20px;display:flex}.checkin-score{background:var(--badge-admin-bg);width:64px;height:64px;color:var(--badge-admin-text);border-radius:50%;flex:none;place-items:center;font-size:1.75rem;font-weight:700;display:grid}.checkin-summary{flex-direction:column;flex:1;gap:4px;display:flex}.checkin-summary h2{font-size:1.1rem}.checkin-note{margin:0;font-style:italic}.stat-tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.stat-tile{flex-direction:column;gap:4px;padding:16px 20px;display:flex}.stat-label{color:var(--muted);font-size:.85rem}.stat-value{font-size:1.75rem;font-weight:600;line-height:1.2}.stat-value small{color:var(--muted);font-size:.9rem;font-weight:400}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-self:flex-start;gap:2px;padding:3px;display:inline-flex}.segmented button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:6px 14px}.segmented button.active{background:var(--bg);color:var(--text);font-weight:600}.chart-card{flex-direction:column;gap:12px;transition:opacity .15s;display:flex}.chart-card.is-refreshing{opacity:.55}.chart-head{flex-direction:column;gap:2px;display:flex}.daily-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mood-calendar{flex-direction:column;gap:12px;margin-top:12px;display:flex}.mood-calendar-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mood-calendar-head .btn-ghost{padding:4px 12px;font-size:1.3rem;line-height:1}.mood-calendar-title{text-align:center;text-transform:capitalize;min-width:8.5em;margin:0;font-size:1.05rem}.mood-calendar-span{margin-left:auto}.mood-calendar .is-loading{opacity:.5;transition:opacity .15s}.mood-calendar-year{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px 24px;display:grid}.mood-calendar-month{flex-direction:column;gap:6px;display:flex}.mood-calendar-month-name{font:inherit;text-transform:capitalize;color:var(--text);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:2px 0;font-weight:600}.mood-calendar-month-name:hover{color:var(--primary)}.mood-calendar-grid.is-compact{gap:2px}.mood-calendar-grid.is-compact .mood-calendar-weekday{padding:0;font-size:.7rem}.mood-calendar-grid.is-compact .mood-calendar-day{aspect-ratio:1;background:var(--bg);border-color:#0000;border-radius:5px;min-height:0;padding:1px}.mood-calendar-grid.is-compact .mood-calendar-day.has-entry{background:0 0}.mood-calendar-grid.is-compact .mood-calendar-day.is-today{border:2px solid var(--primary)}.mood-calendar-grid.is-compact .mood-calendar-day:disabled{background:0 0}.mood-calendar-grid.is-compact .mood-calendar-date{font-size:.65rem;font-weight:500;position:static}.mood-calendar-grid.is-compact .mood-calendar-face{border-radius:4px;width:100%;max-width:none;height:auto;margin:0}@media (width<=520px){.mood-calendar-year{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}.mood-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.mood-calendar-weekday{text-align:center;color:var(--muted);text-transform:capitalize;padding-bottom:2px;font-size:.8rem;font-weight:600}.mood-calendar-day{aspect-ratio:1;cursor:pointer;min-height:44px;font:inherit;color:var(--text);border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;padding:4px;display:flex;position:relative}.mood-calendar-day:hover:not(:disabled){border-color:var(--primary)}.mood-calendar-day:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.mood-calendar-day:disabled{cursor:default;opacity:.45;background:0 0}.mood-calendar-day.is-today{border:2px solid var(--primary)}.mood-calendar-date{color:var(--muted);font-size:.75rem;font-weight:600;position:absolute;top:4px;left:7px}.mood-calendar-day:not(.has-entry) .mood-calendar-date{font-size:.9rem;position:static}.mood-calendar-face{border-radius:22%;width:56%;max-width:46px;height:auto;margin-top:12px}@media (width>=721px){.mood-calendar-day{aspect-ratio:3/2}.mood-calendar-face{width:auto;height:62%;margin-top:10px}}.mood-calendar-note{background:var(--primary);border-radius:50%;width:6px;height:6px;position:absolute;top:6px;right:6px}.chart-empty{text-align:center;padding:32px 0}.chart{width:100%;position:relative}.chart svg{display:block;overflow:visible}.chart svg:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}.chart-grid{stroke:var(--border);stroke-width:1px}.chart-tick{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.chart-value{fill:var(--text);font-size:12px;font-weight:600}.chart-line{fill:none;stroke:var(--primary);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-area{fill:var(--primary);opacity:.1}.chart-dot{fill:var(--primary);stroke:var(--surface);stroke-width:2px}.chart-dot-active{stroke-width:3px}.chart-crosshair{stroke:var(--muted);stroke-width:1px}.chart-tooltip{pointer-events:none;z-index:1;background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:2px;max-width:220px;padding:8px 12px;display:flex;position:absolute;transform:translate(-50%,-100%);box-shadow:0 4px 16px #0000001f}.chart-tooltip strong{font-size:1rem}.chart-tooltip-label{color:var(--muted);font-size:.8rem}.chart-tooltip-note{overflow-wrap:anywhere;font-size:.85rem}.dist-bar{fill:var(--primary)}.dist-col:hover .dist-bar{opacity:.8}.name-fields{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px;display:grid}.grid-two{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));align-items:start;gap:16px;display:grid}.grid-two>*{min-width:0}.entries-card{flex-direction:column;display:flex}.entries-card .chart-head{padding:24px 24px 12px}.entries-scroll{max-height:360px;overflow:auto}td.num{white-space:nowrap;font-variant-numeric:tabular-nums}.empty-state{text-align:center;flex-direction:column;gap:8px;padding:40px 24px;display:flex}@media (width<=720px){.score-scale{grid-template-columns:repeat(5,minmax(0,1fr))}.checkin-done{flex-wrap:wrap}.name-fields{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px;display:grid}.grid-two{grid-template-columns:1fr}}.dialog-backdrop{z-index:10;background:#0a0c1473;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{width:100%;max-width:520px;max-height:calc(100vh - 32px);overflow-y:auto}.chart svg.is-selectable{cursor:pointer}.years-picker{flex-wrap:wrap;align-items:center;gap:8px;font-weight:400;display:flex}.years-input{width:90px}.goal-preview-line{color:var(--muted);margin:0}.goal-preview-line strong{color:var(--text)}.goal-picture-choice{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.picture-picker h4{margin:0}.goal-image-preview{object-fit:contain;border:1px solid var(--border);border-radius:8px;align-self:flex-start;max-width:100%;max-height:240px}.goal-progress{flex-direction:column;gap:12px;display:flex}.goal-progress-head{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.progress-track{background:var(--bg);border-radius:999px;height:8px;overflow:hidden}.progress-fill{background:var(--primary);border-radius:999px;min-width:4px;height:100%}.mosaic-legend{flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none;display:flex}.mosaic-legend li{align-items:center;gap:8px;display:flex}.swatch{border-radius:3px;flex:none;width:14px;height:14px}.swatch-happy{background:linear-gradient(135deg,#f6a04d,#e2557a 50%,#5b8def)}.swatch-grey{background:linear-gradient(135deg,#bbb,#777)}.swatch-faded{background:var(--bg);border:1px solid var(--border)}.mosaic-card{padding:16px}.mosaic canvas{border-radius:6px}.mosaic canvas:focus-visible{outline:2px solid var(--primary);outline-offset:4px}.mosaic canvas.is-selectable{cursor:pointer}.mosaic-loading{color:var(--muted);background:var(--bg);border-radius:6px;place-items:center;display:grid}.mosaic-highlight{pointer-events:none;outline:2px solid var(--text);outline-offset:0;border-radius:1px;position:absolute}.small-text{font-size:.85rem}.wheel-chart{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.wheel-face{fill:var(--bg)}.wheel-ring{fill:none}.wheel-ring-label{font-size:10px}.wheel-spoke{stroke:var(--border);stroke-width:1.5px}.wheel-spoke.is-active{stroke:var(--muted)}.wheel-rim{fill:none;stroke:var(--muted);stroke-width:3px}.wheel-shape-fill{fill:var(--primary);fill-opacity:.18}.wheel-shape-line{fill:none;stroke:var(--primary);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.wheel-dot{fill:var(--primary);stroke:var(--surface);stroke-width:2.5px;transition:r .1s}.wheel-hub{fill:var(--muted)}.wheel-previous{pointer-events:none}.wheel-shape-outline{fill:none;stroke:var(--text);stroke-width:1.5px;stroke-linejoin:round;opacity:.7}.wheel-dot-hollow{fill:var(--surface);stroke:var(--text);stroke-width:1.5px}.wheel-label{fill:var(--text);pointer-events:none;font-size:12px;font-weight:500}.wheel-label-score{fill:var(--muted);font-variant-numeric:tabular-nums;font-weight:600}.wheel-tooltip{top:0;left:50%;transform:translate(-50%)}.chart-legend{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:16px;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.chart-legend li{align-items:center;gap:6px;display:flex}.legend-swatch{width:14px;display:inline-block}.legend-dot{background:var(--primary);border-radius:50%;width:12px;height:12px}.legend-dot-hollow{background:var(--surface);border:1.5px solid var(--text)}.wheel-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.wheel-card{flex-wrap:wrap;justify-content:center;min-width:0;display:flex}.wheel-card .reaction-list{flex-basis:100%}.wheel-side,.wheel-form>*{min-width:0}.wheel-summary{flex-wrap:wrap;gap:32px;display:flex}.wheel-summary>div{flex-direction:column;gap:2px;display:flex}.stat-delta{padding-top:8px;font-size:1.1rem}.wheel-insight{line-height:1.6}.wheel-insight strong{color:var(--text)}.wheel-table th,.wheel-table td{padding:8px 4px}.score-bar{width:calc(var(--score) * 6px);background:var(--primary);opacity:.85;vertical-align:middle;border-radius:3px;height:6px;margin-right:8px;display:inline-block}.delta{white-space:nowrap;font-size:.9rem;font-weight:600}.delta-up{color:var(--success-text)}.delta-down{color:var(--error-text)}.delta-flat{color:var(--muted);font-weight:400}.inline-field{align-items:center;gap:8px;display:flex}.table-card-head{padding:24px 24px 12px}.wheel-history tbody tr{cursor:pointer}.wheel-history tbody tr:hover{background:var(--bg)}.wheel-history tr.is-selected{background:var(--badge-admin-bg)}.link-button{font:inherit;color:var(--primary);cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.wheel-form{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.wheel-form-preview{position:sticky;top:16px}.wheel-area{flex-direction:column;gap:12px;margin:0;display:flex}.wheel-area-title{float:left;align-items:center;gap:10px;width:100%;padding:0;font-size:1.05rem;font-weight:600;display:flex}.wheel-area-title+*{clear:both}.wheel-area-index{background:var(--badge-admin-bg);width:26px;height:26px;color:var(--badge-admin-text);border-radius:50%;place-items:center;font-size:.85rem;display:inline-grid}.wheel-questions{color:var(--muted);flex-direction:column;gap:2px;margin:0;padding-left:20px;display:flex}@media (width<=860px){.wheel-layout,.wheel-form{grid-template-columns:1fr}.wheel-form-preview{order:-1;position:static}}.wheel-ring-label{paint-order:stroke;stroke:var(--bg);stroke-width:3px}@media (width<=720px){.dialog-backdrop{place-items:end stretch;padding:0}.dialog{max-width:none;max-height:92vh;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}.wheel-card,.mosaic-card{padding:12px}.table-card{padding:0}.entries-card .chart-head,.table-card-head{padding:18px 16px 8px}.wheel-label{font-size:11px}}.wheel-history td[data-label=Date]{white-space:nowrap}.goal-switcher{scrollbar-width:thin;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.goal-chip{max-width:220px;font:inherit;text-align:left;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;flex-direction:column;flex:none;align-items:flex-start;gap:2px;padding:10px 14px;display:flex}.goal-chip:hover{border-color:var(--muted)}.goal-chip.active{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.goal-chip-title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.goal-chip-meta{color:var(--muted);white-space:nowrap;font-size:.8rem}.goal-chip-new{color:var(--primary);border-style:dashed;justify-content:center;font-weight:600}.goal-title{font-size:1.3rem}.form-section-title{margin:8px 0 0;font-size:1rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px;display:grid}.form-grid>*{min-width:0}.field select{width:100%}select.language-switcher{width:auto;min-height:32px;padding:4px 28px 4px 10px;font-size:.875rem}.auth-card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.auth-card-header .auth-card-tools{margin-left:auto}.env-badge{background:var(--warning-bg);color:var(--warning-text);letter-spacing:.06em;vertical-align:middle;border-radius:4px;margin-left:8px;padding:1px 6px;font-size:.7rem;font-weight:700;display:inline-block}.auth-card-tools{align-items:center;gap:8px;display:flex}.theme-toggle{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--muted);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.theme-toggle:hover{color:var(--text);border-color:var(--muted)}.theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.alert-warning{background:var(--warning-bg);color:var(--warning-text)}.verification-banner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.verification-banner p{flex:260px;margin:0}.verification-banner .alert{flex-basis:100%}.resend-after-login{margin-top:12px}.badge-unverified{background:var(--warning-bg);color:var(--warning-text)}.verification-status{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.phone-row{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:8px;display:grid}.phone-row select,.phone-row input{width:100%;min-width:0}@media (width<=480px){.phone-row{grid-template-columns:1fr}}.social-sign-in{flex-direction:column;gap:10px;margin-top:16px;display:flex}.divider{color:var(--muted);align-items:center;gap:12px;margin:0;font-size:.875rem;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.btn-social{justify-content:center;align-items:center;gap:10px;text-decoration:none;display:flex}.btn-social svg{flex:none;width:18px;height:18px}.btn-social-apple{background:var(--text);color:var(--surface);border-color:var(--text)}.mosaic-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:12px;display:flex}.mosaic-download{position:relative}.mosaic-download-toggle{justify-content:center;align-items:center;padding:6px 9px;display:inline-flex}.mosaic-download-toggle[aria-expanded=true]{border-color:var(--primary);color:var(--primary)}.mosaic-download-panel{z-index:20;background:var(--surface);border:1px solid var(--border);min-width:180px;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;gap:10px;padding:12px 14px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.mosaic-download-panel .checkbox{white-space:nowrap;font-size:.9rem}.mosaic-original{object-fit:cover;opacity:0;pointer-events:none;border-radius:6px;transition:opacity .35s;position:absolute;top:0;left:0}.mosaic.is-showing-original .mosaic-original{opacity:1;pointer-events:auto}@media (prefers-reduced-motion:reduce){.mosaic-original{transition:none}}.tabs{border-bottom:1px solid var(--border);gap:4px;display:flex;overflow-x:auto}.tabs button{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px}.tabs button:hover{color:var(--text)}.tabs button.active{color:var(--text);border-bottom-color:var(--primary);font-weight:600}.tabs button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:6px 6px 0 0}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-1px;padding:10px 14px;display:inline-flex}.tabs a:hover{color:var(--text);text-decoration:none}.tabs a.active{color:var(--text);border-bottom-color:var(--primary);font-weight:600}.tabs a:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:6px 6px 0 0}.friends-tabs{flex-direction:column;gap:12px;display:flex}.friend-page-title{margin:0;font-size:1.4rem}.settings-fieldset{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}.settings-fieldset:disabled{opacity:.55}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.form-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.choice-group{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.choice-group legend{margin-bottom:6px;padding:0;font-weight:500}.choice{border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;align-items:center;gap:10px;padding:12px 14px;display:flex}.choice.is-selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.choice input{flex:none;width:16px;height:16px;min-height:auto;margin:0}.choice:has(input:disabled){cursor:not-allowed;opacity:.7}.chat{flex-direction:column;gap:12px;padding:16px;display:flex}.chat-toolbar{justify-content:flex-end;gap:4px;display:flex}.chat-privacy{flex-direction:column;gap:4px;display:flex}.chat-privacy p{margin:0}.chat-confirm{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-log{overscroll-behavior:contain;flex-direction:column;gap:10px;height:min(60vh,560px);padding:12px 4px;display:flex;overflow-y:auto}.chat-earlier{align-self:center}.chat-empty{text-align:center;flex-direction:column;align-items:center;gap:8px;margin:auto;padding:16px;display:flex}.chat-empty-title{margin:0;font-size:1.15rem;font-weight:600}.chat-suggestions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px;display:flex}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:16px;max-width:min(78%,560px);padding:9px 14px}.chat-bubble.from-user{background:var(--primary);color:var(--primary-text);border-bottom-right-radius:4px;align-self:flex-end}.chat-bubble.from-friend{background:var(--bg);border:1px solid var(--border);border-bottom-left-radius:4px;align-self:flex-start}.chat-bubble.is-pending{opacity:.7}.chat-bubble.is-hidden{opacity:.6}.chat-time{opacity:.7;text-align:right;white-space:nowrap;margin-top:4px;font-size:.7rem;display:block}.from-friend .chat-time{text-align:left}.chat-sender{opacity:.75;margin-bottom:2px;font-size:.75rem;font-weight:600;display:block}.guest-chat-header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.chat-log.guest-chat-log{height:auto;max-height:480px}.chat-typing{color:var(--muted);align-self:flex-start;align-items:center;gap:8px;font-size:.9rem;display:flex}.chat-dots{background:var(--bg);border:1px solid var(--border);border-radius:16px;gap:3px;padding:10px 12px;display:inline-flex}.chat-dots span{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite chat-dot}.chat-dots span:nth-child(2){animation-delay:.15s}.chat-dots span:nth-child(3){animation-delay:.3s}@keyframes chat-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.chat-composer{align-items:flex-end;gap:8px;display:flex}.chat-composer textarea{resize:vertical;min-width:0;max-height:200px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex:1;padding:10px 12px}.chat-composer textarea:focus{outline:2px solid var(--primary);outline-offset:-1px}.chat-hint{margin-top:-4px}@media (width<=720px){.chat{padding:12px}.chat-log{height:max(320px,100dvh - 360px)}.chat-bubble{max-width:88%}.chat-hint-keys{display:none}}@media (prefers-reduced-motion:reduce){.chat-dots span{opacity:.6;animation:none}}.shell:has(.friend-launcher) .site-footer{padding-bottom:96px}.friend-launcher{right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:8;cursor:pointer;background:var(--primary);width:56px;height:56px;color:var(--primary-text);border:0;border-radius:50%;place-items:center;display:grid;position:fixed;box-shadow:0 4px 14px #14182840}.friend-launcher:hover{background:var(--primary-hover)}.friend-launcher:focus-visible{outline:3px solid var(--text);outline-offset:2px}.friend-launcher svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.friend-launcher-dot{background:var(--danger);border:2px solid var(--surface);border-radius:50%;width:14px;height:14px;position:absolute;top:4px;right:4px}.friend-panel{right:20px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:9;background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;width:380px;height:min(600px,100dvh - 120px);display:flex;position:fixed;overflow:hidden;box-shadow:0 12px 40px #14182838}.friend-panel[hidden]{display:none}.friend-panel-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 10px 10px 14px;display:flex}.friend-avatar{background:var(--badge-admin-bg);width:34px;height:34px;color:var(--badge-admin-text);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.friend-panel-title{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.friend-panel-title strong,.friend-panel-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.friend-panel-close{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;font-size:1.5rem;line-height:1}.friend-panel-close:hover{background:var(--bg);color:var(--text)}.friend-panel-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.friend-form-compact{padding:16px}.chat-compact{flex:1;gap:8px;min-height:0;padding:8px 12px 12px}.chat-compact .chat-log{flex:1;height:auto;min-height:0}.chat-compact .chat-bubble{max-width:85%}.chat-compact .chat-hint-keys{display:none}.chat-compact .chat-composer textarea{resize:none}@media (width<=480px){.friend-launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.friend-panel{right:16px;bottom:calc(84px + env(safe-area-inset-bottom));width:75vw;height:min(75dvh, calc(100dvh - 100px - env(safe-area-inset-bottom)))}.friend-panel-header{gap:8px;padding:8px 6px 8px 10px}.friend-panel-header .btn-sm{padding:4px 6px}.friend-avatar{width:30px;height:30px}.chat-compact .chat-toolbar .btn-sm{padding:2px 6px}.chat-compact .chat-demo-note{padding:4px 8px;font-size:.75rem}.chat-compact .chat-composer textarea{height:44px;padding:8px 10px}.chat-compact .chat-hint{font-size:.72rem;line-height:1.35}}.chat-demo-note{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:8px;margin:0;padding:8px 12px}.avatar{object-fit:cover;background:var(--border);vertical-align:middle;border-radius:50%;flex:none;display:inline-block}.avatar-initial{background:var(--badge-admin-bg);color:var(--badge-admin-text);place-items:center;font-weight:700;line-height:1;display:inline-grid}.avatar-editor{align-items:center;gap:20px;display:flex}.avatar-editor-body{flex:1;gap:10px;min-width:0}.topbar-me{color:var(--text);align-items:center;gap:8px;display:inline-flex}.topbar-me:hover{text-decoration:none}.topbar-me:hover .topbar-me-name{text-decoration:underline}.user-cell{align-items:center;gap:10px;display:flex}@media (width>=861px) and (width<=1360px){.topbar-me-name{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.topbar nav a{padding:6px 10px}.topbar-menu{gap:16px}}@media (width<=480px){.avatar-editor{text-align:center;flex-direction:column}.avatar-editor .form-actions{justify-content:center}}.badge-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.level-badge{background:var(--badge-user-bg);color:var(--badge-user-text);text-transform:none;align-items:center;gap:6px;display:inline-flex}.level-dot{border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 1px #0000001f}.level-card .level-next{align-items:center;gap:8px;margin:4px 0 0;font-size:1rem;display:flex}.level-progress{flex-direction:column;gap:10px;width:100%;margin:0;padding:0;list-style:none;display:flex}.level-progress-label{justify-content:space-between;gap:12px;font-size:.9rem;display:flex}.level-progress-label span:last-child{color:var(--muted);white-space:nowrap}.level-progress .is-done .level-progress-label span:last-child{color:var(--success-text);font-weight:600}.level-progress progress{appearance:none;background:var(--bg);border:0;border-radius:999px;width:100%;height:8px;overflow:hidden}.level-progress progress::-webkit-progress-bar{background:var(--bg);border-radius:999px}.level-progress progress::-webkit-progress-value{background:var(--primary);border-radius:999px}.level-progress progress::-moz-progress-bar{background:var(--primary);border-radius:999px}.level-progress .is-done progress::-webkit-progress-value{background:var(--success-text)}.level-progress .is-done progress::-moz-progress-bar{background:var(--success-text)}.level-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.level-row{flex-direction:column;gap:12px;padding:16px 20px;display:flex}.level-row-head{align-items:center;gap:12px;display:flex}.level-row-head .row-actions{margin-left:auto}.level-rank{color:#fff;text-shadow:0 1px 2px #00000059;border-radius:50%;place-items:center;width:28px;height:28px;font-size:.85rem;font-weight:700;display:grid}.level-fields{grid-template-columns:minmax(140px,2fr) 80px repeat(3,minmax(110px,1fr));align-items:start;gap:12px;display:grid}.level-fields input[type=color]{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;width:100%;height:40px;padding:4px}.level-hints{flex-direction:column;gap:4px;margin:0;display:flex}.level-hints div{flex-wrap:wrap;gap:6px;display:flex}.level-hints dt{font-weight:600}.level-hints dd{margin:0}@media (width<=720px){.level-row{padding:14px 16px}.level-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px}.level-fields>:first-child{grid-column:span 2}.level-fields .field>span{font-size:.85rem}}.invite-row{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.invite-row .field{flex:220px}.invite-row .btn{margin-top:28px}.person-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.person-row{border-top:1px solid var(--border);align-items:center;gap:12px;padding:12px 0;display:flex}.person-row:first-child{border-top:0;padding-top:0}.person-row:last-child{padding-bottom:0}.person-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.person-name{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.alert-dismissible{justify-content:space-between;align-items:center;gap:12px;display:flex}.person-link{color:inherit;text-decoration:none}.person-link:hover strong{text-decoration:underline}.friend-heading{align-items:center;gap:14px;display:flex}.friend-heading h1{margin:0 0 4px}.nav-badge{background:var(--danger);color:#fff;vertical-align:1px;border-radius:999px;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:.72rem;font-weight:700;display:inline-grid}@media (width<=480px){.invite-row .btn{width:100%;margin-top:0}.person-row{flex-wrap:wrap}.person-row .row-actions{justify-content:flex-start;width:100%;padding-left:52px}}.library-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.library-tile{background:var(--border);cursor:pointer;aspect-ratio:4/3;border:2px solid #0000;border-radius:10px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.library-tile img{object-fit:cover;width:100%;height:100%;display:block}.library-tile:hover,.library-tile:focus-visible{border-color:var(--primary)}.library-tile:disabled{opacity:.6;cursor:progress}.library-title{color:#fff;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#0000008c;padding:4px 8px;font-size:.8rem;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.library-admin-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.library-item{flex-direction:column;gap:12px;display:flex}.library-item-image img{aspect-ratio:4/3;object-fit:cover;border-radius:8px;width:100%;display:block}.picture-preview-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;scroll-margin-top:80px;display:flex}.picture-preview-bar>div:first-child{flex-direction:column;gap:2px;display:flex}.mosaic-card.is-preview{outline:2px dashed var(--primary);outline-offset:-2px}.reaction-bar{flex-direction:column;gap:4px;display:flex}.reaction-buttons{flex-wrap:wrap;gap:6px;display:flex}.reaction-button{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:4px 12px;font-size:1.05rem;display:inline-flex}.reaction-button:hover:not(:disabled){border-color:var(--primary)}.reaction-button.is-mine{border-color:var(--primary);background:var(--badge-admin-bg)}.reaction-button:disabled{cursor:progress}.reaction-count{color:var(--muted);font-size:.85rem;font-weight:600}.reaction-button.is-mine .reaction-count{color:var(--badge-admin-text)}.reaction-list{text-align:left;flex-direction:column;align-self:stretch;gap:6px;margin-top:12px;display:flex}.reaction-list ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.reaction-chip{background:var(--bg);border:1px solid var(--border);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.9rem;display:inline-flex}.reaction-new{background:var(--danger);color:#fff;border-radius:999px;margin-left:6px;padding:0 6px;font-size:.7rem;font-weight:700}.quote-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.quote-item{gap:8px}.quote-text{border-left:3px solid var(--primary);white-space:pre-wrap;margin:0;padding-left:14px;font-size:1.1rem;line-height:1.5}.quote-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quote-meaning{white-space:pre-wrap;margin:0}.quote-actions{justify-content:flex-start}.quote-of-the-day{border-left:4px solid var(--primary);flex-direction:column;gap:8px;margin:0;padding:20px 24px;display:flex}.quote-of-the-day.is-revealed{animation:.5s ease-out quote-reveal}@keyframes quote-reveal{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}.quote-cards-intro{margin:0}.quote-cards{grid-template-columns:repeat(var(--cards,3), minmax(0, 1fr));max-width:calc(var(--cards,3) * 140px);gap:14px;width:100%;margin:6px auto;display:grid}.quote-card{font:inherit;cursor:pointer;aspect-ratio:3/4;perspective:800px;background:0 0;border:0;border-radius:14px;padding:0}.quote-card:disabled{cursor:default}.quote-card-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s;display:block;position:relative}.quote-card-back,.quote-card-front{backface-visibility:hidden;border-radius:14px;place-items:center;font-size:2rem;display:grid;position:absolute;inset:0;box-shadow:0 4px 14px #0000001f}.quote-card-back{color:#ffffffd9;background:linear-gradient(140deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--breath-out)));border:3px solid color-mix(in srgb, var(--primary) 30%, var(--surface))}.quote-card-front{background:var(--surface);color:var(--primary);border:2px solid var(--primary);font-family:Georgia,serif;font-size:3rem;transform:rotateY(180deg)}.quote-card:hover:not(:disabled) .quote-card-inner{transform:translateY(-4px)}.quote-card:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.quote-card.is-chosen .quote-card-inner{transform:rotateY(180deg)}.quote-card.is-passed{opacity:.45;transition:opacity .4s}@media (prefers-reduced-motion:reduce){.quote-card-inner,.quote-card.is-passed{transition:none}.quote-of-the-day.is-revealed{animation:none}}.quote-of-the-day-label{text-transform:uppercase;letter-spacing:.05em;color:var(--primary);font-size:.8rem;font-weight:600}.quote-of-the-day-text{white-space:pre-wrap;margin:0;font-size:1.25rem;font-weight:500;line-height:1.45}.quote-of-the-day-origin{color:var(--muted)}.quote-of-the-day-meaning{color:var(--muted);white-space:pre-wrap;margin:4px 0 0}.quote-of-the-day-meaning strong{color:var(--text);font-weight:600}.quote-of-the-day-reason{border-top:1px solid var(--border);color:var(--muted);margin:4px 0 0;padding-top:10px;font-style:italic}.quote-of-the-day-share{flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;display:flex}.quote-of-the-day-shared{color:var(--success-text);font-weight:600}.quote-of-the-day-shared:before{content:"✓ "}.friends-quotes-list{flex-direction:column;gap:18px;margin:0;padding:0;list-style:none;display:flex}.friends-quote+.friends-quote{border-top:1px solid var(--border);padding-top:18px}.friends-quote-by{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.quote-of-the-day-history{margin-left:auto;font-size:.9rem}.quote-share-picker{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;gap:10px;margin-top:4px;padding:14px 16px;display:flex}.quote-share-picker p{margin:0}.quote-share-label{font-weight:600}.multi-select{max-width:360px;position:relative}.multi-select-trigger{font:inherit;color:var(--text);background:var(--surface);cursor:pointer;border:1px solid var(--border);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:40px;padding:8px 12px;display:flex}.multi-select-trigger:hover{border-color:var(--primary)}.multi-select-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:-1px}.multi-select-summary{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.multi-select-caret{color:var(--muted)}.multi-select-panel{z-index:20;background:var(--surface);border:1px solid var(--border);min-width:240px;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;gap:6px;padding:8px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0}.multi-select-search{width:100%}.multi-select-options{max-height:260px;margin:0;padding:0;list-style:none;overflow-y:auto}.multi-select-options li{padding:0 4px}.multi-select-options .checkbox{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:6px 4px;display:flex}.multi-select-options .checkbox:hover{background:var(--bg)}.multi-select-options input[type=checkbox]{min-height:0}.multi-select-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.multi-select-all{border-bottom:1px solid var(--border);margin-bottom:4px;font-weight:600;padding-bottom:4px!important}.multi-select-empty{padding:8px!important}.quote-share-actions{gap:8px;display:flex}.past-quotes{flex-direction:column;gap:16px;margin:0;padding:0;list-style:none;display:flex}.past-quote{flex-direction:column;gap:12px;display:flex}.past-quote-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.past-quote-date{margin:0;font-size:1rem}.past-quote-why{border-top:1px solid var(--border);align-items:flex-start;gap:10px;padding-top:10px;display:flex}.past-quote-why img{border-radius:7px;flex:none}.past-quote-why .quote-of-the-day-reason{border-top:0;margin-top:2px;padding-top:0}.past-quotes-more{align-self:center}.shared-quote{flex-direction:column;gap:6px;margin:0;display:flex}.shared-quote-text{border-left:3px solid var(--primary);white-space:pre-wrap;margin:0;padding-left:14px;font-size:1.1rem;line-height:1.5}.mind-reset-card{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex;position:relative}.bell-toggle{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:50%;place-items:center;width:52px;height:52px;padding:0;transition:opacity .15s,filter .15s;display:grid;position:absolute;top:14px;right:14px;overflow:hidden}.bell-toggle:hover{border-color:var(--muted)}.bell-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.bell-toggle img{width:40px;height:40px;display:block;transform:scale(1.45)}.bell-toggle.is-off img{filter:grayscale();opacity:.45}.bell-toggle.is-off:after{content:"";background:var(--danger);border-radius:1px;width:2px;height:60px;position:absolute;transform:rotate(-45deg)}.breathing-clock{width:100%;max-width:320px;height:auto;display:block}.clock-part{fill:none;stroke-width:12px;stroke-linecap:round}.part-in{stroke:var(--primary)}.part-out{stroke:var(--breath-out)}.part-hold{stroke:var(--muted)}.clock-track{opacity:.18}.clock-tick{stroke:var(--border);stroke-width:2px;stroke-linecap:round}.clock-tick.major{stroke:var(--muted);stroke-width:3px}.clock-breath{fill:var(--primary);fill-opacity:.14;stroke:var(--primary);stroke-width:2px}.breathing-clock.is-out .clock-breath{fill:var(--breath-out);stroke:var(--breath-out)}.breathing-clock.is-hold .clock-breath{fill:var(--muted);stroke:var(--muted)}.breathing-clock.is-finished .clock-breath{fill:var(--success-text);stroke:var(--success-text)}.breathing-clock.is-ready .clock-phase{font-size:24px}.clock-phase{letter-spacing:.04em;fill:var(--text);font-size:28px;font-weight:800}.clock-seconds{font-variant-numeric:tabular-nums;fill:var(--muted);font-size:18px}.clock-hand circle{fill:var(--surface);stroke:var(--text);stroke-width:3px}.mind-reset-finished{margin:0;font-weight:600}.mind-reset-left{color:var(--muted);font-variant-numeric:tabular-nums;margin:0}.breathing-methods{gap:8px;width:100%;max-width:560px;display:grid}.breathing-methods-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.breathing-method{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;text-align:center;border-radius:10px;justify-items:center;gap:2px;padding:10px 8px;display:grid}.breathing-method span{color:var(--muted);font-variant-numeric:tabular-nums}.breathing-method:hover:not(:disabled){border-color:var(--primary)}.breathing-method.active{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 10%, var(--surface));box-shadow:inset 0 0 0 1px var(--primary)}.breathing-method:disabled{cursor:not-allowed;opacity:.6}.breathing-method.active:disabled{opacity:1}.mind-reset-session{border-top:1px solid var(--border);text-align:left;width:100%;max-width:560px;padding-top:16px}.mind-reset-session-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@media (width<=480px){.mind-reset-session-fields{grid-template-columns:1fr}}.mind-reset-controls{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.reminder-times{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.reminder-times li{align-items:center;gap:8px;display:flex}.reminder-times input[type=time]{width:auto;min-width:9rem}.mind-reset-banner{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--breath-out);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.mind-reset-banner-text{flex-direction:column;flex:12rem;display:flex}.mind-reset-banner-actions{gap:8px;display:flex}.practice-bar{fill:var(--primary)}.trend-out .chart-line{stroke:var(--breath-out)}.trend-out .chart-dot{fill:var(--breath-out)}.practice-trends{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.practice-sessions{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.practice-session{border-top:1px solid var(--border);grid-template-columns:minmax(7rem,1fr) minmax(8rem,1.4fr) auto;align-items:center;gap:12px;padding:10px 0;display:grid}.practice-session:first-child{border-top:0}.practice-session-when,.practice-session-what{flex-direction:column;display:flex}@media (width<=520px){.practice-session{grid-template-columns:1fr auto;grid-template-areas:"when badge""what what";row-gap:4px}.practice-session-when{grid-area:when}.practice-session-what{grid-area:what}.practice-session .badge{grid-area:badge}}.shell{flex-direction:column;min-height:100vh;display:flex}.shell>.content{flex:1 0 auto;width:100%}.auth-page{grid-template-rows:1fr auto}.site-footer{border-top:1px solid var(--border);text-align:center;flex-direction:column;align-items:center;gap:12px;padding:24px 16px 32px;display:flex}.auth-page .site-footer{border-top:0;padding-bottom:0}.store-badges{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.store-badge{color:#fff;background:#000;border:1px solid #a6a6a6;border-radius:8px;align-items:center;gap:8px;min-width:150px;padding:6px 14px 6px 10px;line-height:1.15;text-decoration:none;display:inline-flex}.store-badge:hover{background:#1a1a1a;text-decoration:none}.store-badge svg{flex:none;width:24px;height:24px}.store-badge-text{text-align:left;flex-direction:column;align-items:flex-start;display:flex}.store-badge-text small{letter-spacing:.02em;font-size:10px}.store-badge-text strong{font-size:17px;font-weight:600}.store-badge.is-soon{opacity:.55;cursor:default}.admin-datasets{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.admin-dataset{color:var(--text);flex-direction:column;gap:6px;text-decoration:none;display:flex}.admin-dataset:hover{border-color:var(--primary);text-decoration:none}.admin-dataset h2{margin:0;font-size:16px}.admin-dataset-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0 0;display:grid}.admin-dataset-stats dt{color:var(--muted);font-size:12px}.admin-dataset-stats dd{margin:0;font-size:20px;font-weight:700}.admin-user-filter{background:var(--primary-soft,#5b4cf014);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;display:flex}.admin-table td{vertical-align:top}.admin-user+.admin-user{margin-top:6px}.admin-longtext{white-space:pre-wrap;overflow-wrap:anywhere}.link-button{color:var(--primary);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0}.link-button:hover{text-decoration:underline}.admin-event-details{flex-wrap:wrap;gap:4px 16px;margin:0;display:flex}.admin-event-details dt{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:11px}.admin-event-details dd{margin:0}.gratitude-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.gratitude-list{gap:12px;margin:0;display:grid}.gratitude-list dt{color:var(--muted);font-size:.85rem}.gratitude-list dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0}.gratitude-days{gap:20px;margin:0;padding:0;list-style:none;display:grid}.gratitude-days li+li{border-top:1px solid var(--border);padding-top:20px}.gratitude-days h3{margin:0 0 8px;font-size:1rem}.viewing-as{background:var(--warning-bg);color:var(--warning-text);text-align:center;z-index:50;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.viewing-as p{margin:0}.online-dot{background:var(--success-text);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.table-card-title{margin:0;padding:16px 20px 8px;font-size:1rem}.world-map{position:relative}.world-map svg{width:100%;height:auto;display:block}.world-map-loading{aspect-ratio:1000/394;background:var(--map-land);opacity:.5;border-radius:8px}.world-map-land{fill:var(--map-land);stroke:var(--surface);stroke-width:.6px;stroke-linejoin:round}.world-map-land.shade-1{fill:var(--map-1)}.world-map-land.shade-2{fill:var(--map-2)}.world-map-land.shade-3{fill:var(--map-3)}.world-map-land.shade-4{fill:var(--map-4)}.world-map-land.is-hovered{stroke:var(--text);stroke-width:1.2px}.world-map-online{fill:var(--success-text);stroke:var(--surface);stroke-width:3px;pointer-events:none}.world-map-tip{pointer-events:none;z-index:2;white-space:nowrap;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:2px;padding:8px 12px;font-size:.85rem;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 12px));box-shadow:0 4px 16px #0000001f}.world-map-legend{flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;display:flex}.world-map-swatch{border-radius:3px;width:22px;height:10px}.world-map-swatch.shade-1{background:var(--map-1)}.world-map-swatch.shade-2{background:var(--map-2)}.world-map-swatch.shade-3{background:var(--map-3)}.world-map-swatch.shade-4{background:var(--map-4)}.world-map-legend-online{align-items:center;margin-left:auto;display:inline-flex}
