@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap";.groups-preview{max-width:1000px}.groups-notice{background:var(--sidebar);border-left:3px solid var(--green);color:var(--ink);padding:14px;font-size:13px;line-height:1.6}.groups-layout{grid-template-columns:minmax(200px,.8fr) minmax(0,1.5fr);gap:24px;margin-top:28px;display:grid}.groups-layout h2{font:500 22px Lora,serif}.groups-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}.groups-panel h2{margin-top:0}.groups-panel h3{margin-top:28px;font:500 17px Lora,serif}.groups-hint{color:var(--muted);font-size:12px;line-height:1.6}.groups-selector{gap:8px;display:grid}.groups-selector button,.groups-timeline-link{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;gap:5px;padding:14px;display:grid}.groups-selector button[aria-pressed=true]{border:2px solid var(--green);background:var(--soft)}.groups-selector small{color:var(--muted)}.groups-form{gap:10px;margin-top:18px;display:grid}.groups-form label{color:var(--ink);gap:6px;font-size:12px;font-weight:600;display:grid}.groups-form input,.groups-form select,.groups-members select{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);font:inherit;border-radius:7px;padding:8px}.groups-form button{justify-self:start}.groups-members,.groups-memories{padding:0;list-style:none}.groups-members li{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:9px 0;display:flex}.groups-members li>span:first-child{flex:1;min-width:100px}.groups-remove{color:var(--green);cursor:pointer;background:0 0;border:0;min-height:40px}.groups-memories li{background:var(--sidebar);border-radius:7px;margin:7px 0;padding:12px}.groups-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}@media (width<=700px){.groups-layout{grid-template-columns:1fr}}.groups-preview-entry{color:var(--muted);margin:22px 0;font-size:13px}.groups-preview-entry a,.timeline-group-preview a{color:var(--green);text-decoration:underline}.timeline-group-preview h2{font:500 24px Lora,serif}.group-memory-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-top:18px;display:grid}.group-memory-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:11px;overflow:hidden}.group-memory-images{grid-template-rows:1fr;grid-template-columns:1.35fr 1fr;gap:4px;height:150px;display:grid}.group-memory-images[data-image-count="1"]{grid-template-columns:1fr}.group-memory-images[data-image-count="3"]{grid-template-rows:repeat(2,minmax(0,1fr))}.group-memory-images[data-image-count="3"] img:first-child{grid-row:1/-1}.group-memory-images[data-image-count="4"]{grid-template-rows:repeat(3,minmax(0,1fr))}.group-memory-images[data-image-count="4"] img:first-child{grid-row:1/-1}.group-memory-images img{aspect-ratio:16/10;object-fit:cover;width:100%;height:100%;min-height:0;display:block}.group-memory-images img:only-child{grid-column:1/-1}.group-memory-card p{color:var(--ink);margin:14px 15px 7px;font:500 16px/1.35 Lora,serif}.group-memory-card span{color:var(--muted);padding:0 15px 14px;font-size:10px;display:block}.groups-heading{justify-content:space-between;align-items:end;gap:20px;display:flex}.groups-heading h1{margin-bottom:9px}.groups-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px;display:grid}.groups-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;padding:24px}.groups-card h2{margin:16px 0 8px;font:500 23px Lora,serif}.groups-card p{color:var(--muted);font-size:13px}.groups-badge{background:var(--soft);color:var(--green);border-radius:5px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-block}.groups-avatars{margin:20px 0;display:flex}.groups-avatars span{border:2px solid var(--surface);background:var(--soft);width:36px;height:36px;color:var(--green);border-radius:50%;place-items:center;margin-right:-5px;font-size:11px;font-weight:700;display:grid}.groups-card-actions{flex-wrap:wrap;gap:8px;display:flex}.groups-button-link{text-align:center;justify-content:center;align-items:center;display:inline-flex}.groups-dialog{border:1px solid var(--line);background:var(--surface);width:min(560px,100% - 32px);max-height:85vh;color:var(--ink);box-shadow:var(--shadow);border-radius:14px;padding:24px;overflow:auto}.groups-dialog::backdrop{background:#17251cb3}.groups-dialog-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;display:flex}.groups-dialog-heading h2{margin:0;font:500 22px Lora,serif}.groups-dialog-close{background:var(--soft);width:44px;height:44px;color:var(--ink);cursor:pointer;border:0;border-radius:8px;font-size:24px}@media (width<=700px){.groups-heading{flex-direction:column;align-items:flex-start}.groups-card-grid{grid-template-columns:1fr}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f8f7f3;--surface:#fffdf9;--sidebar:#eff1e9;--ink:#283e36;--muted:#667167;--green:#334f42;--soft:#e8ede3;--line:#dfe3da;--gold:#9a784d;--shadow:0 18px 48px #263c3012;color:var(--ink);background:var(--paper);font-synthesis:none;text-rendering:optimizelegibility;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{background:var(--paper);min-width:320px;min-height:100vh;margin:0}button,a{font:inherit}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #b58b55}button:disabled{opacity:.55;cursor:not-allowed}#root{min-height:100vh}.app-shell{grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;min-height:100vh;padding:34px 24px 25px;display:flex}.wordmark{letter-spacing:-1.5px;align-items:center;gap:10px;font:600 27px Lora,serif;display:flex}.brand-mark{color:var(--gold);font:23px DM Sans,sans-serif}.brand-note{color:var(--muted);margin:7px 0 30px 33px;font-size:12px}.private-note{color:var(--muted);border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 58%,transparent);border-radius:8px;align-items:center;gap:9px;padding:11px 12px;font-size:11px;display:flex}.status-dot,.availability i,.online-label i{background:#80916f;border-radius:99px;width:7px;height:7px;display:inline-block}.side-links{gap:5px;margin-top:27px;display:grid}.side-links a{color:var(--muted);border-radius:8px;justify-content:space-between;align-items:center;min-height:45px;padding:12px 13px;font-size:13px;display:flex}.side-links a span{opacity:0;font-size:11px}.side-links a.active{color:#29432f;background:#dfe7d8;font-weight:600}.side-links a.active span{opacity:.5}.sidebar-bottom{margin-top:auto}.aside-quote{color:var(--green);margin:0 0 29px 4px;font:17px/1.5 Lora,serif}.tiny-label{letter-spacing:1.7px;color:var(--muted);font-size:9px;font-weight:700}.space-chip{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:10px;padding:15px 2px 0;font-size:12px;display:flex}.space-chip small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.space-icon{background:var(--soft);width:30px;height:30px;color:var(--green);border-radius:8px;place-items:center;display:grid}.chevron{color:var(--muted);margin-left:auto}.main-area{flex-direction:column;min-width:0;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;height:70px;padding:0 clamp(24px,5vw,76px);display:flex}.crumb{color:var(--muted);text-transform:capitalize;font-size:11px}.crumb span{color:#a8aca2;margin:0 9px}.top-end{align-items:center;gap:18px;display:flex}.online-label{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.avatar{border:1px solid var(--line);background:var(--soft);width:35px;height:35px;color:var(--green);cursor:pointer;border-radius:50%;font:600 14px Lora,serif}.page-content{flex:1;width:min(100%,1120px);margin:0 auto;padding:clamp(40px,7vh,76px) clamp(24px,7vw,100px) 54px}.welcome{max-width:820px;margin:0 auto}.eyebrow{letter-spacing:2px;color:var(--muted);align-items:center;gap:11px;font-size:10px;font-weight:600;display:flex}.eyebrow-line{background:var(--gold);width:25px;height:1px}h1{letter-spacing:-2px;color:var(--ink);margin:23px 0 11px;font:500 clamp(39px,5vw,59px)/1.12 Lora,serif}.period{color:var(--gold)}.lead{color:var(--muted);margin:0;font-size:15px;line-height:1.65}.empty-panel{background:var(--surface);border:1px solid var(--line);min-height:250px;box-shadow:var(--shadow);border-radius:14px;grid-template-columns:1.04fr .96fr;margin-top:44px;display:grid;overflow:hidden}.empty-art{background:linear-gradient(150deg,#e7ebdf,#f1eddf 75%);min-height:250px;position:relative;overflow:hidden}.sun{opacity:.8;background:#d6c69e;border-radius:50%;width:70px;height:70px;position:absolute;top:18%;right:18%}.hill{border-radius:50% 50% 0 0;width:120%;height:70%;position:absolute;left:-8%}.hill-a{background:#bcc9b1;bottom:-38%;transform:rotate(-8deg)}.hill-b{background:#93aa8c;height:50%;bottom:-38%;left:25%;transform:rotate(9deg)}.sprig{color:#f5f0e3;font-size:26px;position:absolute;bottom:19%;right:31%;transform:rotate(-20deg)}.empty-copy{flex-direction:column;justify-content:center;align-items:flex-start;padding:35px clamp(23px,4vw,45px);display:flex}.empty-copy h2,.settings-copy h2{margin:13px 0 8px;font:500 23px Lora,serif}.empty-copy p,.settings-copy p{color:var(--muted);margin:0;font-size:12px;line-height:1.75}.availability{color:var(--muted);align-items:center;gap:8px;margin-top:23px;font-size:10px;display:flex}.availability i{background:#ae8958;width:6px;height:6px}.footnote{color:var(--muted);align-items:center;gap:12px;margin:27px 0 0 2px;font-size:11px;line-height:1.7;display:flex}.footnote-star{color:var(--gold);font-size:17px}.page-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:20px;padding:20px clamp(24px,5vw,76px);font-size:10px;display:flex}.page-footer b{color:var(--gold);padding:0 6px}.settings-page{max-width:820px}.settings-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;justify-content:space-between;align-items:center;gap:22px;margin-top:37px;padding:23px 25px;display:flex}.settings-copy{align-items:center;gap:15px;display:flex}.setting-icon{background:var(--soft);width:38px;height:38px;color:var(--green);border-radius:10px;place-items:center;font-size:18px;display:grid}.settings-copy h2{margin:0 0 5px;font-size:17px}.settings-copy p{font-size:11px}.theme-picker{background:var(--paper);border:1px solid var(--line);border-radius:9px;gap:3px;padding:4px;display:flex}.theme-picker button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:37px;padding:8px 10px;font-size:12px}.theme-picker button[aria-pressed=true]{background:var(--surface);color:var(--green);box-shadow:0 1px 5px #243a2d16}.theme-picker button span{margin-left:4px}.account-card{margin-top:13px}.account-card .availability{white-space:nowrap;margin:0}.settings-footnote{color:var(--muted);margin:18px 2px;font-size:10px}.menu-toggle,.mobile-nav,.scrim,.mobile-menu{display:none}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#191e1a;--surface:#222923;--sidebar:#202720;--ink:#e7e9df;--muted:#adb5a9;--green:#b4c9aa;--soft:#303a30;--line:#39433a;--gold:#c3a879;--shadow:0 18px 48px #0003}.theme-picker button[aria-pressed=true]{color:var(--ink)}:root[data-theme=dark] .side-links a.active{color:#dfe9d7;background:#344033}:root[data-theme=dark] .empty-art{background:linear-gradient(150deg,#303c32,#39372b)}:root[data-theme=dark] .sun{background:#a89165}:root[data-theme=dark] .hill-a{background:#56634f}:root[data-theme=dark] .hill-b{background:#71836a}:root[data-theme=dark] .online-label i{background:#9bb58b}@media (width<=760px){.app-shell{padding-bottom:72px;display:block}.sidebar{display:none}.topbar{height:58px;padding:0 19px}.crumb{font-size:10px}.top-end{gap:11px}.online-label{font-size:9px}.avatar{width:32px;height:32px}.page-content{padding:43px 22px 32px}.empty-panel{grid-template-columns:1fr;min-height:0;margin-top:32px}.empty-art{min-height:170px}.sun{width:55px;height:55px}.empty-copy{padding:26px 24px 27px}.empty-copy h2{font-size:21px}.empty-copy p{max-width:360px}.footnote{margin-top:20px}.page-footer{gap:5px;padding:16px 22px;font-size:9px;display:grid}.menu-toggle{cursor:pointer;background:0 0;border:0;width:36px;height:38px;margin-left:-8px;font-size:18px;display:block}.crumb{margin-left:8px;margin-right:auto}.mobile-nav{z-index:5;background:var(--surface);border-top:1px solid var(--line);padding:7px 14px max(8px,env(safe-area-inset-bottom));justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:70px;min-height:47px;font-size:9px;display:flex}.mobile-nav a span{font-size:18px}.mobile-nav a.active{color:var(--green);font-weight:600}.scrim{z-index:7;background:#1118;border:0;display:block;position:fixed;inset:0}.mobile-menu{z-index:8;background:var(--surface);border:1px solid var(--line);width:min(310px,100vw - 24px);box-shadow:var(--shadow);border-radius:12px;padding:12px;display:grid;position:fixed;top:58px;left:12px}.mobile-menu a{border-radius:7px;min-height:44px;padding:12px;font-size:13px}.mobile-menu a.active{background:var(--soft);color:var(--green)}.mobile-theme{border-top:1px solid var(--line);color:var(--muted);margin-top:6px;padding:14px 3px 3px;font-size:11px}.mobile-theme .theme-picker{justify-content:space-between;margin-top:10px}.mobile-theme .theme-picker button{flex:1;padding:7px 4px}}@media (width<=430px){.settings-card{flex-direction:column;align-items:flex-start;padding:19px}.settings-card .theme-picker{justify-content:space-between;width:100%}.settings-card .theme-picker button{flex:1}.account-card .availability{margin-left:52px}.page-content{padding-left:18px;padding-right:18px}.online-label{display:none}}@media (prefers-reduced-motion:no-preference){.side-links a,.theme-picker button{transition:background .18s,color .18s}.empty-panel{animation:.55s cubic-bezier(.2,.7,.2,1) both arrive}@keyframes arrive{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.auth-page{background:var(--paper);flex-direction:column;min-height:100vh;padding:30px clamp(22px,6vw,86px) 22px;display:flex}.auth-header{justify-content:space-between;align-items:center;display:flex}.auth-header>span,.auth-footer{letter-spacing:1.4px;color:var(--muted);font-size:9px}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(330px,405px);align-items:center;gap:clamp(55px,10vw,140px);width:min(1050px,100%);margin:auto;padding:48px 0;display:grid}.auth-intro{flex-direction:column;justify-content:center;align-self:stretch;min-height:470px;display:flex;position:relative}.auth-intro h1{margin:23px 0 15px;font-size:clamp(43px,5.2vw,64px)}.auth-intro>p{color:var(--muted);max-width:340px;font:15px/1.8 Lora,serif}.auth-landscape{width:230px;height:135px;position:absolute;bottom:12px;right:3%;overflow:hidden}.auth-sun{background:#d6c69e;border-radius:50%;width:48px;height:48px;position:absolute;top:8px;right:26px}.auth-hill{border-radius:50% 50% 0 0;width:260px;height:105px;position:absolute}.auth-hill.one{background:#bdcbb3;bottom:-56px;left:-26px;transform:rotate(-12deg)}.auth-hill.two{background:#899f83;bottom:-67px;left:67px;transform:rotate(11deg)}.auth-flower{color:#f5f0e3;font-size:17px;position:absolute;bottom:12px;right:79px}.sign-in-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:34px 35px}.sign-in-card h2{margin:13px 0 7px;font:500 29px Lora,serif}.sign-in-sub{color:var(--muted);margin:0 0 25px;font-size:12px;line-height:1.6}.sign-in-card form{display:grid}.sign-in-card label{margin:0 0 7px;font-size:11px;font-weight:600}.sign-in-card input{border:1px solid var(--line);background:var(--paper);height:45px;color:var(--ink);border-radius:7px;width:100%;margin-bottom:18px;padding:0 12px;font:14px DM Sans,sans-serif}.sign-in-card input:focus-visible{outline-offset:2px;outline:3px solid #b58b55}.auth-submit{background:var(--green);width:100%;min-height:47px;color:var(--surface);cursor:pointer;border:0;border-radius:7px;justify-content:space-between;align-items:center;padding:10px 15px;font-size:13px;font-weight:600;display:flex}.auth-submit:disabled{cursor:not-allowed}.admin-note{border-top:1px solid var(--line);color:var(--muted);margin:19px 0 0;padding-top:15px;font-size:10px;line-height:1.7}.admin-note span{color:var(--gold);margin-right:7px}.sign-in-error,.auth-notice{color:#9a382e;background:#fae9e4;border:1px solid #efc8bf;border-radius:7px;margin:0 0 14px;padding:10px 12px;font-size:11px;line-height:1.6}.auth-notice{margin:14px clamp(22px,6vw,86px) 0}.auth-footer{border-top:1px solid var(--line);letter-spacing:.2px;justify-content:space-between;padding-top:16px;display:flex}.auth-status{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:12px;margin:auto;font-size:13px;display:flex}.auth-status .auth-submit{justify-content:center;width:auto;min-width:150px}.auth-symbol{color:var(--gold);font-size:30px}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;margin-right:8px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sign-out{text-align:left;width:100%;color:var(--muted);border:0;border-top:1px solid var(--line);cursor:pointer;background:0 0;margin-top:16px;padding:13px 4px 0;font-size:11px;display:block}.sign-out:hover{color:var(--ink)}:root[data-theme=dark] .sign-in-error,:root[data-theme=dark] .auth-notice{color:#f1c0b7;background:#392a27;border-color:#62403a}@media (width<=800px){.auth-page{padding:23px 22px 18px}.auth-layout{grid-template-columns:1fr;gap:27px;max-width:500px;padding:34px 0}.auth-intro{min-height:245px}.auth-intro h1{margin:15px 0 6px;font-size:43px}.auth-intro>p{max-width:290px;margin:0;font-size:13px}.auth-landscape{width:140px;height:105px;bottom:4px;right:0}.auth-sun{width:35px;height:35px}.auth-hill{width:180px;height:85px}.auth-hill.two{left:42px}.sign-in-card{padding:27px}.auth-footer,.auth-header>span{font-size:8px}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.memory-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.memory-heading h1,.memory-detail h1,.memory-editor h1{letter-spacing:-1.6px;margin:16px 0 9px;font:500 clamp(38px,5vw,54px)/1.1 Lora,serif}.primary-action,.secondary-action,.danger-action{cursor:pointer;border-radius:7px;min-height:44px;padding:0 17px;font-size:13px;font-weight:600}.primary-action{background:var(--green);border:1px solid var(--green);color:var(--surface)}.secondary-action{border:1px solid var(--line);color:var(--ink);background:0 0}.danger-action{color:#a64b3c;background:0 0;border:1px solid #b97568}.memory-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:35px;display:grid}.memory-card{text-align:left;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);cursor:pointer;min-height:200px;color:var(--ink);border-radius:12px;gap:12px;padding:23px 24px;transition:transform .18s,border-color .18s;display:grid}.memory-card:hover{border-color:var(--gold);transform:translateY(-2px)}.memory-card-date,.detail-date{color:var(--muted);font-size:12px}.memory-state{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-top:32px;padding:35px}.memory-state h1,.memory-state h2{margin:0 0 10px;font:500 25px Lora,serif}.memory-state p{color:var(--muted);font-size:14px;line-height:1.7}.empty-memories{text-align:center;padding:60px 28px}.empty-memories>span{color:var(--gold);font-size:24px}.memory-detail,.memory-editor{max-width:760px;margin:0 auto}.text-action{color:var(--green);cursor:pointer;background:0 0;border:0;margin-bottom:42px;padding:0;font-size:13px;display:block}.memory-detail>.tiny-label,.memory-editor>.tiny-label{margin-top:4px;display:block}.detail-date{margin:20px 0 35px}.detail-text{white-space:pre-wrap;max-width:640px;font:17px/1.9 Lora,serif}.detail-actions{align-items:center;gap:11px;margin-top:32px;display:flex}.memory-editor form{margin-top:28px;display:grid}.memory-editor form>label{margin:17px 0 8px;font-size:12px;font-weight:600}.memory-editor form>label span{color:var(--muted);font-weight:400}.memory-editor input:not([type=checkbox]),.memory-editor textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:7px;padding:12px;font:14px DM Sans,sans-serif}.memory-editor textarea{resize:vertical;line-height:1.7}.memory-editor input:focus-visible,.memory-editor textarea:focus-visible{outline-offset:2px;outline:3px solid #b58b55}.memory-editor .milestone-check{align-items:center;gap:9px;display:flex}.tag-note{color:var(--muted);background:var(--soft);border-radius:7px;padding:12px;font-size:11px}.memory-error{color:#793d30;background:#fae9e4;border:1px solid #e9c8be;border-radius:7px;padding:12px;font-size:13px;line-height:1.6}.mock-login{width:min(500px,100%);margin:auto}.mock-login h1{font:500 31px Lora,serif}.mock-login p{color:var(--muted);line-height:1.7}.mock-login button{margin-top:12px}.mock-login .secondary-action{width:100%}@media (width<=760px){.memory-heading{flex-direction:column;align-items:flex-start}.memory-list{grid-template-columns:1fr;margin-top:24px}.memory-card{min-height:175px}.memory-detail,.memory-editor{max-width:none}.text-action{margin-bottom:32px}.memory-state{padding:25px}.detail-text{font-size:16px}.memory-editor h1,.memory-detail h1{font-size:40px}}:root[data-theme=dark] .memory-error{color:#f1c0b7;background:#392a27;border-color:#62403a}.photo-actions{align-items:center;gap:12px;display:flex}.photo-upload{cursor:pointer;align-items:center;display:inline-flex}.photo-upload input{opacity:0;width:1px;height:1px;position:absolute}.photo-upload:focus-within{outline-offset:3px;outline:3px solid #b58b55}.profile-preview{object-fit:cover;border-radius:50%;width:44px;height:44px}.remove-photo{margin:0}.settings-card:has(.memory-error){flex-wrap:wrap}.memory-timeline{max-width:820px;margin-top:34px}.timeline-month{margin-bottom:28px}.timeline-month-heading{border-bottom:1px solid var(--line);align-items:baseline;gap:12px;padding:0 0 13px;display:flex}.timeline-month-heading h2{color:var(--green);margin:0;font:500 17px Lora,serif}.timeline-month-heading span{color:var(--muted);font-size:11px}.timeline-stack{gap:14px;padding:17px 0 6px 23px;display:grid;position:relative}.timeline-stack:before{content:"";background:var(--line);width:1px;position:absolute;top:18px;bottom:19px;left:6px}.timeline-stack .memory-card{text-align:left;background:var(--surface);border:1px solid var(--line);width:100%;box-shadow:var(--shadow);cursor:pointer;min-height:150px;color:var(--ink);border-radius:10px;gap:10px;padding:19px 21px;transition:transform .18s,border-color .18s;display:grid;position:relative}.timeline-stack .memory-card:hover{border-color:var(--gold);transform:translateY(-2px)}.timeline-marker{background:var(--paper);border:2px solid var(--gold);z-index:1;border-radius:50%;width:12px;height:12px;position:absolute;top:23px;left:-23px}.memory-card-date{color:var(--muted);font-size:12px}.memory-card-title{font:500 21px/1.3 Lora,serif}.memory-card-text{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.65;display:-webkit-box;overflow:hidden}.memory-card-foot{color:var(--green);justify-content:space-between;margin-top:auto;font-size:11px;display:flex}@media (width<=760px){.memory-timeline{margin-top:25px}.timeline-stack{gap:12px;padding-left:21px}.timeline-stack .memory-card{min-height:140px;padding:17px}.timeline-month{margin-bottom:23px}}.settings-card-link{text-align:center;justify-content:center;align-items:center;display:inline-flex}.sidebar-timelines{border-left:1px solid var(--line);gap:2px;margin:0 0 8px 14px;padding-left:10px;display:grid}.sidebar-section-label{color:var(--ink);padding:12px 13px 5px;font-size:13px;font-weight:600}.side-links .sidebar-timelines a,.mobile-menu .sidebar-timelines a{color:var(--muted);overflow-wrap:anywhere;border-radius:7px;padding:9px 10px;font-size:12px;display:block}.side-links .sidebar-timelines a.timeline-active,.mobile-menu .sidebar-timelines a.timeline-active{background:var(--soft);color:var(--ink);font-weight:700}.account-menu-wrap{z-index:10;position:relative}.account-menu-dismiss{z-index:8;cursor:default;background:0 0;border:0;position:fixed;inset:0}.account-menu{z-index:9;background:var(--surface);border:1px solid var(--line);width:184px;box-shadow:var(--shadow);border-radius:10px;padding:6px;position:absolute;top:calc(100% + 12px);right:0}.account-menu button{text-align:left;width:100%;min-height:42px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:10px 12px;font-size:13px;display:block}.account-menu button:hover,.account-menu button:focus-visible{background:var(--soft)}.account-menu button+button{border-top:1px solid var(--line);border-radius:0 0 6px 6px}.avatar{letter-spacing:.2px;place-items:center;padding:0;font-family:DM Sans,sans-serif;font-size:13px;font-weight:700;line-height:1;display:grid}.avatar-photo{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.profile-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px 25px;display:grid}.profile-field{color:var(--muted);gap:8px;font-size:11px;font-weight:600;display:grid}.profile-field input{border:1px solid var(--line);background:var(--paper);width:100%;height:44px;color:var(--ink);border-radius:7px;padding:0 12px;font:14px DM Sans,sans-serif}.profile-field input:focus-visible{outline-offset:2px;outline:3px solid #b58b55}.profile-email-field,.profile-photo-field,.profile-storage-note,.profile-form .memory-error,.profile-saved{grid-column:1/-1}.profile-photo-field{gap:10px;display:grid}.profile-field-label{color:var(--muted);font-size:11px;font-weight:600}.profile-photo-actions{align-items:center;gap:12px;display:flex}.profile-preview,.profile-preview-placeholder{object-fit:cover;border-radius:50%;width:58px;height:58px}.profile-preview-placeholder{background:var(--soft);color:var(--green);place-items:center;font:700 16px DM Sans,sans-serif;display:grid}.profile-storage-note,.profile-saved{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.profile-saved{color:var(--green)}.profile-save{grid-column:1/-1;justify-content:center;justify-self:start;width:auto;min-width:160px;margin-top:2px}@media (width<=560px){.profile-form{grid-template-columns:1fr;gap:18px}.profile-email-field,.profile-photo-field,.profile-storage-note,.profile-form .memory-error,.profile-saved,.profile-save{grid-column:1}}.memory-fixture-note{color:var(--muted);margin:14px 0 -14px;font-size:11px}.memory-card-gallery{border-radius:8px;grid-template-rows:1fr;grid-template-columns:1.35fr 1fr;gap:6px;width:100%;height:clamp(160px,20vw,230px);display:grid;overflow:hidden}.memory-card-gallery[data-image-count="1"]{grid-template-columns:1fr}.memory-card-gallery[data-image-count="3"]{grid-template-rows:repeat(2,minmax(0,1fr))}.memory-card-gallery[data-image-count="3"] img:first-child{grid-row:1/-1}.memory-card-gallery[data-image-count="4"]{grid-template-rows:repeat(3,minmax(0,1fr))}.memory-card-gallery[data-image-count="4"] img:first-child{grid-row:1/-1}.memory-card-image{object-fit:cover;border-radius:7px;width:100%;height:100%;min-height:0;display:block}.memory-detail-photos{margin:22px 0 32px}.memory-detail-photos h2,.detail-notes-heading{color:var(--ink);margin:0 0 13px;font:500 19px Lora,serif}.memory-detail-gallery{border-radius:10px;grid-template-rows:1fr;grid-template-columns:1.35fr 1fr;gap:9px;width:100%;height:min(450px,52vh);min-height:210px;display:grid;overflow:hidden}.memory-detail-gallery[data-image-count="1"]{grid-template-columns:1fr}.memory-detail-gallery[data-image-count="3"]{grid-template-rows:repeat(2,minmax(0,1fr))}.memory-detail-gallery[data-image-count="3"] .memory-detail-photo-button:first-child{grid-row:1/-1}.memory-detail-gallery[data-image-count="4"]{grid-template-rows:repeat(3,minmax(0,1fr))}.memory-detail-gallery[data-image-count="4"] .memory-detail-photo-button:first-child{grid-row:1/-1}.memory-detail-photo-button{cursor:zoom-in;background:0 0;border:0;border-radius:9px;min-width:0;min-height:0;padding:0;display:block;overflow:hidden}.memory-detail-photo-button img{object-fit:cover;border:1px solid var(--line);border-radius:9px;width:100%;height:100%;transition:transform .2s;display:block}.memory-detail-photo-button:hover img{transform:scale(1.025)}.detail-notes-heading{margin-top:28px}.memory-detail .detail-text{margin-top:0}@media (width<=760px){.memory-card-gallery{height:160px}.memory-detail-gallery{gap:7px;height:min(390px,48vh);min-height:190px}}.memory-lightbox{color:#fff;background:#171717;border:1px solid #555;border-radius:15px;width:min(1100px,96vw);max-width:96vw;height:min(86vh,820px);max-height:92vh;padding:18px;box-shadow:0 24px 80px #0009}.memory-lightbox::backdrop{background:#000c}.lightbox-topbar{justify-content:space-between;align-items:center;gap:20px;min-height:42px;display:flex}.lightbox-topbar h2{text-overflow:ellipsis;white-space:nowrap;color:#fff;margin:0;font:500 16px DM Sans,sans-serif;overflow:hidden}.lightbox-close{color:#fff;cursor:pointer;background:#292929;border:1px solid #555;border-radius:50%;flex:0 0 40px;width:40px;height:40px;font-size:25px;line-height:1}.lightbox-stage{grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:16px;height:calc(100% - 42px);padding-top:8px;display:grid}.lightbox-stage figure{place-items:center;gap:10px;width:100%;min-width:0;height:100%;margin:0;display:grid}.lightbox-stage figure img{object-fit:contain;border-radius:7px;max-width:100%;max-height:calc(86vh - 105px);display:block}.lightbox-stage figcaption{color:#ddd;font-size:12px}.lightbox-arrow{color:#fff;cursor:pointer;background:#292929;border:1px solid #555;border-radius:9px;width:46px;height:52px;font-size:32px;line-height:1}.lightbox-arrow:hover,.lightbox-close:hover{background:#3a3a3a}@media (width<=560px){.memory-lightbox{border-radius:12px;width:100vw;max-width:100vw;height:min(90vh,760px);max-height:94vh;padding:13px}.lightbox-stage{grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}.lightbox-arrow{width:38px;height:46px}.lightbox-stage figure img{max-height:calc(90vh - 115px)}}.memory-attachment-dropzone{border:1px dashed var(--line);background:var(--surface);color:var(--ink);border-radius:10px;gap:10px;padding:18px;display:grid}.memory-attachment-dropzone.is-dragging{border-color:var(--green);background:var(--soft);outline:2px solid color-mix(in srgb,var(--green) 24%,transparent)}.memory-attachment-dropzone>span{color:var(--muted);font-size:12px}.memory-file-picker{border:1px solid var(--line);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;width:max-content;min-height:40px;padding:0 14px;display:inline-flex;position:relative}.memory-file-picker input{opacity:0;clip:rect(0,0,0,0);white-space:nowrap;overflow:hidden;width:1px!important;height:1px!important;position:absolute!important}.memory-file-picker:focus-within{outline-offset:2px;outline:3px solid #b58b55}.memory-attachment-previews{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.memory-attachment-preview{border:1px solid var(--line);background:var(--soft);border-radius:8px;gap:5px;min-width:0;padding:6px;display:grid;position:relative}.memory-attachment-preview img,.memory-attachment-preview video{object-fit:cover;background:#181818;border-radius:5px;width:100%;height:100px;display:block}.memory-attachment-preview span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px;overflow:hidden}.attachment-remove{color:#fff;cursor:pointer;background:#171717dd;border:1px solid #fff;border-radius:50%;width:26px;height:26px;font-size:20px;line-height:1;position:absolute;top:9px;right:9px}.memory-attachment-disabled{border:1px solid var(--line);background:var(--soft);color:var(--muted);border-radius:8px;padding:14px;font-size:12px;line-height:1.6}.memory-detail-videos{margin:24px 0 32px}.memory-detail-videos h2{margin:0 0 13px;font:500 19px Lora,serif}.memory-detail-video{margin:0 0 18px}.memory-detail-video video{background:#171717;border-radius:9px;width:100%;max-height:520px;display:block}.memory-detail-video figcaption{color:var(--muted);margin-top:6px;font-size:12px}.memory-attachment-file-card{text-align:center;min-height:100px;color:var(--muted);place-content:center;justify-items:center;gap:5px;padding:8px;font-size:10px;display:grid}.memory-attachment-file-card>span{font-size:24px}.memory-card-image-fallback{background:var(--soft);color:var(--muted);place-items:center;font-size:24px;display:grid}.memory-card-video-tile{border:1px solid var(--line);background:var(--soft);min-height:52px;color:var(--ink);border-radius:8px;align-items:center;gap:12px;padding:9px 12px;display:flex}.memory-card-video-icon{background:var(--green);width:32px;height:32px;color:var(--surface);border-radius:50%;flex:0 0 32px;place-items:center;font-size:12px;display:grid}.memory-card-video-copy{gap:2px;min-width:0;display:grid}.memory-card-video-copy strong{font-size:12px}.memory-card-video-copy>span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px;overflow:hidden}.memory-detail-video-fallback{background:var(--soft);border:1px solid var(--line);min-height:170px;color:var(--muted);text-align:center;border-radius:9px;place-content:center;justify-items:center;gap:6px;padding:16px;font-size:12px;display:grid}.memory-detail-video-fallback>span:first-child{font-size:28px}body:has(.app-shell){height:100dvh;min-height:0;overflow:hidden}body:has(.app-shell) #root{height:100%;min-height:0}.app-shell{height:100dvh;min-height:0}.sidebar{overscroll-behavior:contain;height:100dvh;min-height:0;overflow-y:auto}.main-area{height:100dvh;min-height:0}.topbar{flex:0 0 70px}.page-content{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;overflow-y:auto}.page-footer{flex:none}.page-content:focus-visible{outline-offset:-3px;outline:3px solid #b58b55}.timeline-stack-virtualized{padding:0 0 0 23px;display:block;position:relative}.timeline-stack-virtualized>.memory-card{width:auto;margin:0;position:absolute;left:23px;right:0}@media (width<=760px){:root{--mobile-nav-height:calc(55px + max(8px,env(safe-area-inset-bottom,0px)))}.app-shell{height:100dvh;min-height:0;padding-bottom:var(--mobile-nav-height);flex-direction:column;display:flex}.main-area{flex:auto;height:auto;min-height:0}.topbar{flex-basis:58px}.mobile-nav{height:var(--mobile-nav-height)}.timeline-stack-virtualized{padding-left:21px}.timeline-stack-virtualized>.memory-card{left:21px}}.memory-timeline{position:relative}.timeline-month-virtualized{margin:0;position:absolute;left:0;right:0}.timeline-month-heading-virtualized{position:absolute;top:0;left:0;right:0}.timeline-stack-virtualized{padding:0;position:absolute;left:0;right:0}.timeline-stack-virtualized>.memory-card{width:calc(100% - 23px);left:23px;right:0}.timeline-window-controls{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.timeline-window-controls:focus-within{z-index:20;top:max(12px,env(safe-area-inset-top,0px));clip:auto;clip-path:none;white-space:normal;border:1px solid var(--line);background:var(--surface);width:auto;height:auto;box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:8px;margin:0;padding:8px;display:flex;position:fixed;left:50%;overflow:visible;transform:translate(-50%)}.timeline-window-controls button{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);cursor:pointer;border-radius:7px;padding:8px 12px}.timeline-window-controls button:focus-visible{outline-offset:2px}.timeline-sr-only{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=760px){.timeline-stack-virtualized>.memory-card{width:calc(100% - 21px);left:21px}}.timeline-stack .memory-card-static{cursor:default}.timeline-stack .memory-card-static:hover{border-color:var(--line);transform:none}.memory-card-static:focus-visible{outline-offset:3px;outline:3px solid #b58b55}.sign-in-card{width:100%;max-width:430px}.sign-in-card h2{line-height:1.2}.sign-in-card label{font-size:12px}.sign-in-card input{min-height:48px}.auth-submit:focus-visible,.auth-links button:focus-visible,.auth-link:focus-visible{outline-offset:3px;outline:3px solid #b58b55}.auth-links button,.auth-link{min-height:44px}.password-requirements{color:var(--muted);grid-template-columns:1fr 1fr;gap:7px 12px;margin:-8px 0 18px;padding:0;font-size:11px;list-style:none;display:grid}.password-requirements li.is-met{color:var(--green)}.sign-in-error[role=status]{color:var(--green);background:var(--soft);border-color:var(--line)}.sign-in-error[role=alert]{color:#9a382e}@media (width<=800px){.auth-page{min-height:100svh}.auth-layout{width:100%}.sign-in-card{max-width:none;padding:clamp(22px,6vw,30px)}.auth-intro{min-height:210px}.auth-intro h1{font-size:clamp(36px,10vw,43px)}}@media (width<=380px){.auth-page{padding-left:16px;padding-right:16px}.auth-header>span{letter-spacing:.6px}.password-requirements{grid-template-columns:1fr}}.auth-links{flex-direction:column;align-items:flex-start;margin-top:12px;display:flex}.auth-links button,.auth-link{min-height:44px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;padding:10px 0;font-size:13px;font-weight:600;display:block}.auth-links button:hover,.auth-link:hover{text-decoration:underline}.auth-link:disabled{cursor:not-allowed}.password-requirements li{gap:5px;display:flex}:root[data-theme=dark] .sign-in-error[role=status]{color:var(--green);background:var(--soft);border-color:var(--line)}
