:root{--bg:#f8f2e9;--paper:#fffaf3;--ink:#3a2b25;--muted:#8d7c70;--line:#e8dacc;--green:#855d4d;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c9a17e;outline-offset:4px}button:disabled{cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button{border:0} .sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:#f1e5d7;border-right:1px solid var(--line);padding:37px 25px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-family:var(--serif);font-size:21px}.brand-mark{font-size:39px;width:43px;height:48px;border:1px solid #c6a990;border-radius:24px 24px 4px 4px;text-align:center;line-height:44px}.brand-mark span{color:#aa8167}.brand small{display:block;font:8px -apple-system,sans-serif;letter-spacing:2.2px;margin-top:8px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#a28b7b;margin:62px 12px 18px}nav{display:grid;gap:8px}nav a{display:flex;gap:13px;align-items:center;padding:13px 15px;color:#8d7768;font-size:13px;border-radius:7px}nav a:hover{background:#ead8c7}nav a.active{background:#e9d4c1;color:#674638;font-weight:600}nav a>span{display:flex}.sidebar-bottom{margin-top:auto;padding-top:40px}.family-badge{border-top:1px solid #ddcaba;padding-top:23px;display:flex;align-items:center;gap:10px;font-size:11px}.family-badge>span{display:grid;place-items:center;background:#e4cdb6;border-radius:50%;width:33px;height:33px;font-family:var(--serif);font-size:18px}.family-badge small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.prototype{margin-top:26px;display:flex;align-items:center;gap:7px;font-size:10px;color:#977b69}.status-dot{width:5px;height:5px;border-radius:50%;background:#b98969}.prototype button{margin-left:auto;background:transparent;border:1px solid #cbb19d;border-radius:50%;color:#977b69;font-size:10px;width:17px;height:17px;padding:0}.shell{margin-left:246px}.topbar{height:91px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:25px}.address{display:flex;align-items:center;gap:9px;color:#826b5c;font-size:12px;white-space:nowrap}.address svg{width:17px}.address-tag{font-size:8px;letter-spacing:1px;background:#f0e2d2;padding:4px 6px;border-radius:3px;color:#977d69}.header-right{display:flex;align-items:center;gap:25px}.search{display:flex;align-items:center;gap:9px;color:#998474}.search svg{width:16px}.search input{border:0;background:transparent;outline-offset:5px;width:172px;font-size:12px;color:var(--ink)}.search input::placeholder{color:#a38e7f}.search kbd{border:1px solid #dfcdbd;padding:1px 5px;border-radius:3px;font-size:11px}.avatar{background:#ead5c2;border:1px solid #d7bca6;border-radius:50%;width:33px;height:33px;font-family:var(--serif);color:#734f3f}main{max-width:1440px;margin:auto;padding:43px 46px 55px;min-height:calc(100vh - 150px)}.eyebrow{font-size:10px;letter-spacing:2px;color:#9e7860;text-transform:uppercase;margin:0 0 16px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}h1{font-family:var(--serif);font-size:39px;line-height:1.2;font-weight:400;margin:0 0 13px;letter-spacing:-1.3px}.page-head p{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;border-radius:5px;font-size:12px;white-space:nowrap;background:var(--green);color:#fff}.button svg{width:15px;height:15px}.button:hover{background:#704839}.button.secondary{background:#f4e8da;color:#795c4a;border:1px solid #e2cdbb}.button.secondary:hover{background:#ecd8c5}.hero{height:244px;background:linear-gradient(112deg,#f1e3d1,#e9d1bb);border-radius:9px;overflow:hidden;position:relative;display:flex;align-items:center;padding:36px;margin:0 0 30px}.hero-copy{position:relative;z-index:1;max-width:51%}.hero .eyebrow{color:#9d7156;font-size:9px;letter-spacing:2px}.hero h2{font-family:var(--serif);font-size:31px;line-height:1.22;font-weight:400;margin:0 0 16px;letter-spacing:-.6px}.hero p{color:#8e7562;font-size:11px;line-height:1.8;max-width:310px;margin:0}.hero-art{position:absolute;right:0;top:0;width:52%;height:100%;color:#926a50}.hero-art svg{width:100%;height:100%;stroke:none;fill:none}.hero-note{position:absolute;right:20px;bottom:16px;font-size:8px;letter-spacing:1.8px;color:#a58871}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:39px}.quick-card{display:flex;align-items:center;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:7px;gap:14px;transition:transform .15s}.quick-card:hover{transform:translateY(-3px)}.quick-icon{height:39px;width:39px;border-radius:7px;display:grid;place-items:center;background:#f5e5d5;color:#a27157}.quick-card:nth-child(2) .quick-icon{background:#f0dfcb;color:#9c7154}.quick-card:nth-child(3) .quick-icon{background:#f4e8de;color:#ae8971}.quick-card h3{margin:0 0 6px;font-size:12px;font-weight:500}.quick-card p{margin:0;color:#a28c7c;font-size:10px}.arrow{margin-left:auto;color:#ad9480}.arrow svg{width:16px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 19px}.section-head h2{font:23px var(--serif);margin:0}.text-link{color:#967158;display:inline-flex;align-items:center;gap:8px;font-size:11px}.text-link svg{width:14px}.album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:35px}.album-card{min-width:0;position:relative}.album-cover{position:relative;height:175px;border-radius:7px;overflow:hidden;background:#e8d8c4}.album-cover>svg{height:100%;width:100%;stroke:none;display:block;transition:transform .4s}.album-card>a:hover .album-cover>svg{transform:scale(1.035)}.album-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 55%,#49302722)}.album-cover .year{position:absolute;top:12px;left:12px;background:#ffffffb0;border-radius:3px;padding:4px 7px;font-size:9px;z-index:1;color:#7c5c4b}.album-card h3{font-size:13px;font-weight:500;margin:15px 0 7px}.album-card p{font-size:10px;color:#a28a77;margin:0}.favorite{position:absolute;right:10px;top:10px;z-index:2;background:#fff8edc9;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;color:#8b654e}.favorite svg{width:14px;height:14px}.favorite.selected svg{fill:#aa795a;stroke:#aa795a}.lower-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:26px}.file-list{background:var(--paper);border:1px solid var(--line);border-radius:7px;overflow:hidden}.file-row{display:flex;align-items:center;gap:13px;padding:16px 18px;border-bottom:1px solid #efe2d4;min-width:0}.file-row:last-child{border-bottom:0}.file-open{display:flex;align-items:center;gap:13px;flex:1;min-width:0;text-align:left;background:none;padding:0;color:var(--ink)}.file-symbol{display:grid;place-items:center;width:33px;height:39px;flex:none;background:#f1dfce;color:#a4785b;border-radius:4px;font-size:9px}.file-symbol.doc{background:#f2e4d7;color:#ad866b}.file-info{min-width:0}.file-info strong{font-size:11px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}.file-info small{display:block;color:#a18e80;font-size:9px;margin-top:6px}.file-row .icon-button{color:#ab9079}.icon-button{background:transparent;display:grid;place-items:center;width:28px;height:28px;font-size:25px;color:#967966;padding:0;flex:none}.icon-button svg{height:16px;width:16px}.note-card{padding:20px;background:#f3e6d7;border:1px solid #e7d2bf;border-radius:7px}.note-card>svg{color:#a88268;width:19px}.note-card h3{font-family:var(--serif);font-size:20px;font-weight:400;margin:12px 0 9px}.note-card p{font-size:11px;color:#907866;line-height:1.8;margin:0 0 20px}.note-card .text-link{font-size:10px}.demo-label{font-size:9px;color:#9c8574;margin-top:24px;line-height:1.6}.crumb{font-size:11px;color:#929987;margin-bottom:25px;display:flex;align-items:center;gap:9px}.crumb svg{width:12px}.empty{text-align:center;padding:55px 20px;color:#9c8574;background:#f7ede2;border:1px dashed #e2cdb9;border-radius:8px;line-height:1.8}.empty svg{width:30px;height:30px;margin-bottom:10px}.empty h2{font:25px var(--serif);color:#795b49}.empty p{font-size:12px;max-width:410px;margin:10px auto 20px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.chip{padding:8px 13px;border:1px solid #e2cdbb;background:transparent;color:#977d69;border-radius:20px;font-size:11px}.chip.active{background:#ead5c2;color:#74513f;border-color:#ead5c2}.notes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.notes-grid .note-card{background:var(--paper)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.photo-tile{display:block;width:100%;height:220px;background:#eddfd0;padding:0;border-radius:6px;overflow:hidden;position:relative}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-tile>svg{width:100%;height:100%;stroke:none}.photo-caption{font-size:11px;padding-top:8px;color:#808b74;overflow-wrap:anywhere}.photo-hint{font-size:9px;position:absolute;bottom:10px;left:10px;background:#fff8ecb8;padding:4px 8px;border-radius:3px;color:#927058}footer{max-width:1440px;margin:auto;padding:20px 46px 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#9aa08e;font-size:9px}.footer-dot{margin:0 10px}dialog{padding:28px;border:1px solid var(--line);border-radius:12px;max-width:640px;width:calc(100% - 36px);background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #492d2330}dialog::backdrop{background:#40291e69;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.modal-head h2{font:27px var(--serif);margin:0}.modal-head button{font-size:26px}#modal-body p{font-size:13px;line-height:1.8;color:#7c8671}#modal-body ul{padding-left:20px;line-height:1.8;color:#7c8671;font-size:13px}.field{display:block;margin:16px 0;color:#6c785e;font-size:12px}.field input,.field textarea,.field select{display:block;width:100%;margin-top:8px;background:#fbf2e9;border:1px solid #e2cbb6;border-radius:5px;padding:12px;color:var(--ink)}.field textarea{min-height:140px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.preview-image{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:5px}.reading{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#745a4b;background:#f8eee3;padding:20px;border-radius:7px;font-size:13px}#toast{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translate(-50%,20px);background:#7c5340;color:#fff;font-size:12px;padding:14px 23px;border-radius:7px;opacity:0;pointer-events:none;transition:.2s;z-index:9;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.session-note{padding:12px 16px;background:#f6e8d9;border-radius:5px;font-size:11px;color:#977860;margin-bottom:25px;line-height:1.7}.shelf-title{font:21px var(--serif);margin:30px 0 18px}
@media(min-width:1500px){.hero{height:285px}.album-cover{height:215px}}@media(max-width:1150px){.sidebar{width:210px;padding:32px 17px}.brand{font-size:18px;gap:9px}.shell{margin-left:210px}.topbar{padding:0 28px}.address-tag{display:none}main{padding:35px 28px}.quick-card{padding:15px;gap:10px}.quick-icon{width:33px;height:33px}.hero{padding:28px}.hero h2{font-size:28px}.album-cover{height:145px}.lower-grid{grid-template-columns:1.4fr 1fr}.file-info strong{max-width:190px}.brand small{font-size:7px;letter-spacing:1.8px}footer{padding:20px 28px}}@media(max-width:900px){.sidebar{width:76px;padding:24px 12px}.brand>span:last-child,.nav-label,nav a:not(.active)~.none,.sidebar-bottom{display:none}.brand{justify-content:center}.brand-mark{flex:none}nav{margin-top:45px}nav a{font-size:0;gap:0;justify-content:center;padding:14px}nav a svg{width:21px;height:21px}.shell{margin-left:76px}.topbar{height:76px}.hero-copy{max-width:60%}.hero-art{width:55%;opacity:.8}.lower-grid{grid-template-columns:1fr}.file-info strong{max-width:400px}.notes-grid{grid-template-columns:1fr}.quick-card{padding:13px}.quick-card h3{font-size:11px}.quick-card p{font-size:9px}.quick-card .arrow{display:none}#toast{left:50%}}@media(max-width:620px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:65px;padding:0;background:#f1e5d7f5;backdrop-filter:blur(12px);border-top:1px solid #e2cdbb;z-index:5}.brand{display:none}nav{margin:0;height:100%;display:flex;justify-content:space-around;gap:0;align-items:center}nav a{font-size:8px;flex-direction:column;padding:6px 9px;gap:5px;border-radius:5px;min-width:55px}.shell{margin-left:0;padding-bottom:65px}.topbar{padding:0 20px;height:68px}.address{font-size:11px}.address svg{display:none}.header-right{gap:10px}.search input{width:100px;font-size:10px}.search kbd{display:none}.search{gap:5px}.avatar{width:28px;height:28px}main{padding:28px 20px;min-height:calc(100vh - 190px)}.page-head{align-items:flex-start;margin-bottom:24px;gap:12px}h1{font-size:30px;letter-spacing:-.7px}.page-head p{font-size:11px}.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:13px}.page-head .button{padding:10px;font-size:10px}.hero{height:220px;padding:24px;margin-bottom:20px;align-items:flex-start}.hero h2{font-size:26px}.hero-copy{max-width:76%}.hero p{font-size:10px;max-width:190px}.hero-art{width:65%;top:28px;right:-35px;opacity:.6}.hero-note{font-size:7px;right:15px}.quick-grid{gap:8px;margin-bottom:28px}.quick-card{flex-direction:column;align-items:flex-start;padding:12px;gap:11px}.quick-card h3{font-size:10px}.quick-card p{font-size:8px}.quick-icon{width:29px;height:29px}.quick-icon svg{width:17px}.section-head h2{font-size:21px}.text-link{font-size:10px}.album-grid{grid-template-columns:1fr;gap:24px}.album-cover{height:205px}.album-card h3{margin-top:12px}.lower-grid{gap:26px}.file-info strong{max-width:215px;font-size:11px}.file-row{padding:15px 12px;gap:10px}.file-open{gap:10px}.file-symbol{width:28px;height:34px;font-size:8px}footer{padding:20px;font-size:8px}footer>span:last-child{display:none}.photo-grid{grid-template-columns:repeat(2,1fr);gap:10px}.photo-tile{height:170px}.session-note{font-size:10px}#toast{bottom:80px}dialog{padding:22px}.modal-head h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
.page-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 80% 20%,#e6c8ab 0 12%,transparent 40%),linear-gradient(130deg,#faf4eb,#ead6c2);padding:24px}
.login-card{width:min(100%,470px);padding:44px;background:#fffaf3;border:1px solid #e4d3c2;border-radius:12px;box-shadow:0 20px 60px #5a38261a}
.login-brand{margin-bottom:48px}
.login-card h1{font-size:42px;margin-bottom:18px}
.login-card>p:not(.eyebrow){color:#8d7c70;line-height:1.7;margin:0 0 22px}
.login-card form .button{width:100%;margin-top:8px}
.form-error{min-height:16px;color:#9b3d33!important;font-size:12px!important;margin:8px 0!important}
.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.family-cover{background:linear-gradient(145deg,#ead7c2,#cbab8e);display:grid;place-items:center}
.family-cover img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:1}
.cover-monogram{font:100px Georgia,serif;color:#fff5e8;text-shadow:0 5px 25px #765c4660}
.cover-monogram span,.family-hero-art span{color:#b47e5d}
.family-hero-art{font:190px Georgia,serif;text-align:center;line-height:244px;color:#c69e7d;opacity:.75}
.photo-tile img{width:100%;height:100%;object-fit:cover}
@media(max-width:620px){.login-card{padding:28px}.login-card h1{font-size:34px}.family-hero-art{font-size:130px;line-height:200px}.profile-actions .button{flex:1}}
.note-link{background:none;padding:0}
.storage-pending{display:inline-flex;align-items:center;padding:10px 13px;border:1px solid #dec7b2;border-radius:5px;background:#f5e7d9;color:#8d6b57;font-size:11px;white-space:nowrap}

/* document folders grid */
.document-folders{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
.document-folder{display:flex!important;min-width:0!important;min-height:190px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:16px!important;padding:24px 18px 20px!important;text-align:center!important;background:var(--paper)!important;border:1px solid var(--line)!important;border-radius:10px!important;transition:transform .15s,background .15s,box-shadow .15s!important}
.document-folder:hover{transform:translateY(-3px)!important;background:#fff7ed!important;box-shadow:0 10px 28px #6f4b3720!important}
.document-folder>svg{display:none!important}
.folder-symbol{position:relative!important;display:block!important;width:92px!important;height:64px!important;flex:none!important;border-radius:7px!important;background:#e8bb77!important;color:transparent!important;margin-top:8px!important}
.folder-symbol:before{content:'';position:absolute;left:0;top:-12px;width:43px;height:20px;border-radius:7px 7px 0 0;background:#dca963}
.folder-symbol:after{content:'';position:absolute;inset:0;border:1px solid #a96f3e;border-radius:7px}
.folder-symbol svg{display:none!important}
.document-folder>span:nth-child(2){display:block!important;min-width:0!important;width:100%!important;flex:none!important}
.document-folder strong{display:block!important;font-size:12px!important;font-weight:600!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.document-folder small{display:block!important;color:var(--muted)!important;font-size:9px!important;margin-top:8px!important}
@media(max-width:1100px){.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.document-folder{min-height:160px!important;padding:18px 10px 16px!important;gap:12px!important}.folder-symbol{width:72px!important;height:52px!important}.folder-symbol:before{width:34px;height:16px;top:-9px}.document-folder strong{font-size:10px!important}.document-folder small{font-size:8px!important}}

/* document folders grid */
.document-folders{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
.document-folder{display:flex!important;min-width:0!important;min-height:190px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:16px!important;padding:24px 18px 20px!important;text-align:center!important;background:var(--paper)!important;border:1px solid var(--line)!important;border-radius:10px!important;transition:transform .15s,background .15s,box-shadow .15s!important}
.document-folder:hover{transform:translateY(-3px)!important;background:#fff7ed!important;box-shadow:0 10px 28px #6f4b3720!important}
.document-folder>svg{display:none!important}
.folder-symbol{position:relative!important;display:block!important;width:92px!important;height:64px!important;flex:none!important;border-radius:7px!important;background:#e8bb77!important;color:transparent!important;margin-top:8px!important}
.folder-symbol:before{content:'';position:absolute;left:0;top:-12px;width:43px;height:20px;border-radius:7px 7px 0 0;background:#dca963}
.folder-symbol:after{content:'';position:absolute;inset:0;border:1px solid #a96f3e;border-radius:7px}
.folder-symbol svg{display:none!important}
.document-folder>span:nth-child(2){display:block!important;min-width:0!important;width:100%!important;flex:none!important}
.document-folder strong{display:block!important;font-size:12px!important;font-weight:600!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.document-folder small{display:block!important;color:var(--muted)!important;font-size:9px!important;margin-top:8px!important}
@media(max-width:1100px){.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.document-folder{min-height:160px!important;padding:18px 10px 16px!important;gap:12px!important}.folder-symbol{width:72px!important;height:52px!important}.folder-symbol:before{width:34px;height:16px;top:-9px}.document-folder strong{font-size:10px!important}.document-folder small{font-size:8px!important}}

.delete-button{color:#a04e43!important}.delete-button:hover{background:#f4dfdc;border-radius:50%}.photo-item{position:relative;min-width:0}.photo-delete{position:absolute;right:9px;top:9px;z-index:2;background:#fff8eddb;box-shadow:0 1px 5px #49302720;border-radius:50%}

.birthday-add{display:grid;grid-template-columns:minmax(240px,2fr) minmax(170px,1fr) auto;gap:14px;align-items:end;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:22px}.birthday-add label{font-size:11px;color:var(--muted)}.birthday-add input,.birthday-table input{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fffaf3;color:var(--ink)}.birthday-add .form-error{grid-column:1/-1;margin:0;color:#a04e43}.birthday-table-wrap{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:8px}.birthday-table{width:100%;border-collapse:collapse;min-width:720px}.birthday-table th,.birthday-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}.birthday-table th{font-size:10px;letter-spacing:.8px;color:var(--muted);text-transform:uppercase}.birthday-table tr:last-child td{border-bottom:0}.birthday-age{font:21px var(--serif)}.birthday-actions{display:flex;align-items:center;gap:8px}.birthday-table input{margin:0}@media(max-width:620px){.birthday-add{grid-template-columns:1fr}.birthday-add .button{width:100%}}
