@font-face{font-family:ArchivText;src:local('Avenir Next'),local('Segoe UI')}*{box-sizing:border-box} :root{--bg:#f7f6f0;--paper:#fffefa;--ink:#29453a;--muted:#788177;--line:#e4e6dc;--accent:#ae573c;--soft:#edf0e6;--sand:#f0e6d7}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 ArchivText,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b66e4d;outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.loading{padding:20vh 20px;text-align:center;font:45px Georgia}.loading span{display:block;font:14px system-ui;margin-top:20px}.shell{max-width:1600px;margin:auto;display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{padding:39px 25px 26px 31px;position:sticky;top:0;height:100vh;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:11px;font:35px Georgia;letter-spacing:-1.8px;text-decoration:none}.brand img{width:36px;height:36px}.brand em{font:10px system-ui;letter-spacing:1.6px;font-style:normal;display:block}.family-label{font-size:12px;color:var(--muted);margin-top:8px}.space-card{background:var(--soft);border:1px solid #e0e5d7;padding:16px;border-radius:12px;display:flex;align-items:center;gap:11px}.space-card strong{display:block;font-weight:600;font-size:13px}.space-card small{font-size:11px;color:var(--muted)}.space-card .round{background:#fffdf6}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:12px 13px;border-radius:8px;color:#6a756b;font-size:14px}.nav button.active{background:#e7ecdf;color:var(--ink);font-weight:600}.nav button:hover{background:#eeefe7}.nav .count{margin-left:auto;font-size:11px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.9px;text-transform:uppercase;color:var(--muted)}.sidebar-bottom{margin-top:auto}.private-note{font-size:11px;line-height:1.6;color:var(--muted);padding:16px 0 20px;display:flex;gap:8px}.private-note svg{width:15px;height:15px;margin-top:3px}.account{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:10px;align-items:center}.account strong{font-size:12px;display:block}.account small{font-size:10px;color:var(--muted)}.account button{margin-left:auto}.round{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eadbc7;font-size:12px;font-weight:600;flex-shrink:0}.round.sage{background:#dce6d4}.workspace{min-width:0}.topbar{height:91px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{color:var(--ink);margin-left:10px}.top-actions{display:flex;align-items:center;gap:18px}.private-badge{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.private-badge svg{width:13px;height:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid var(--line);border-radius:7px;background:var(--paper);font-size:12px;font-weight:600;text-decoration:none}.btn.primary{background:var(--ink);border-color:var(--ink);color:white}.btn.rust{background:var(--accent);border-color:var(--accent);color:white}.btn.quiet{background:transparent}.btn:hover{filter:brightness(.96)}.btn svg{width:16px;height:16px}.demo-banner{background:#ece7da;padding:8px 30px;text-align:center;color:#776850;font-size:11px}.demo-banner button{font-size:11px;text-decoration:underline}.content{padding:40px 44px;max-width:1320px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;gap:20px}.page-heading h1{font:39px/1.2 Georgia,serif;letter-spacing:-1.2px;margin:7px 0 9px}.subtitle{font-size:13px;color:var(--muted)}.heading-note{font:italic 13px Georgia;color:var(--muted);white-space:nowrap;padding-bottom:6px}.columns{display:grid;grid-template-columns:minmax(0,730px) 245px;gap:28px;align-items:start}.main-column{min-width:0}.hero{position:relative;padding:30px 32px;background:#e9eddf;border:1px solid #dfe5d5;border-radius:12px;overflow:hidden;margin-bottom:24px;min-height:177px}.hero .eyebrow{color:#5c7661}.hero h2{font:29px/1.25 Georgia;max-width:420px;margin:10px 0}.hero p{font-size:12px;color:#687763;max-width:360px}.hero .hero-mark{position:absolute;right:23px;bottom:18px;font:italic 80px Georgia;color:#b8c6aa;line-height:1;transform:rotate(-10deg);opacity:.8}.composer{display:flex;align-items:center;gap:13px;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:17px 19px;margin-bottom:23px;text-align:left;width:100%}.composer span{font-size:13px;color:#8b9185;flex:1}.composer svg{color:var(--muted)}.filter-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.search{position:relative;flex:1;min-width:140px}.search svg{position:absolute;left:12px;top:11px;width:16px;height:16px;color:var(--muted)}.search input{width:100%;padding:9px 10px 9px 35px;border:1px solid var(--line);background:transparent;border-radius:7px;font-size:12px}.filter-row select{padding:9px 25px 9px 10px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:12px;max-width:160px}.feed-info{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin-bottom:15px}.post{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:23px;margin-bottom:18px}.post-header{display:flex;align-items:center;gap:10px;margin-bottom:17px}.post-header .who{flex:1}.post-header strong{font-size:12px;font-weight:600;display:block}.post-header small{font-size:10px;color:var(--muted)}.post-header button{padding:6px;color:var(--muted)}.post h2{font:25px/1.3 Georgia;margin-bottom:12px;letter-spacing:-.35px}.post-body{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#526156}.post-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #eef0e8;margin-top:21px;padding-top:14px}.tag{font-size:10px;background:#edf0e7;color:#6e7f62;border-radius:5px;padding:3px 9px}.post-footer .location{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px}.location svg{width:12px;height:12px}.post-footer .star{margin-left:auto;display:flex;align-items:center;gap:4px;color:#aa7353;font-size:10px}.star svg{width:14px;height:14px}.side-panel{padding:22px;background:#f1f1e9;border-radius:10px;margin-bottom:20px}.side-panel h3{font:20px Georgia;margin-bottom:18px}.side-panel p{font-size:12px;color:var(--muted);line-height:1.75}.year-list{border-left:1px solid #d1d9c8;padding-left:17px;display:grid;gap:14px;margin-left:5px}.year-list button{text-align:left;font:16px Georgia;position:relative;padding:0}.year-list button:before{content:'';width:6px;height:6px;background:#9faa93;border-radius:50%;position:absolute;left:-21px;top:9px}.year-list small{font:10px system-ui;color:var(--muted);margin-left:6px}.year-list button.selected{color:var(--accent)}.theme-list{display:grid;gap:11px}.theme-list button{padding:0;display:flex;align-items:center;gap:7px;text-align:left;font-size:11px;color:#6b7865}.theme-list .dot{width:6px;height:6px;background:#b5bea2;border-radius:50%}.theme-list small{margin-left:auto;color:#8d9485}.quote-panel{background:#ede4d5;padding:23px;border-radius:10px;margin-bottom:20px}.quote-panel .quote-mark{font:40px Georgia;color:#b79b75;line-height:1}.quote-panel blockquote{font:italic 18px/1.5 Georgia;margin:4px 0 14px}.quote-panel small{font-size:10px;color:#988565}.stats{display:flex;gap:20px;padding:15px 3px}.stats strong{display:block;font:25px Georgia}.stats span{font-size:10px;color:var(--muted)}.empty{padding:45px 25px;text-align:center;border:1px dashed #d4d9cb;border-radius:12px;color:var(--muted)}.empty h2{font:26px Georgia;color:var(--ink);margin:12px}.empty p{font-size:13px;max-width:350px;margin:0 auto 20px}.empty svg{height:32px;width:32px}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px}.media-grid .photo:first-child:nth-last-child(1){grid-column:1/-1}.photo{padding:0;background:var(--soft);border-radius:8px;overflow:hidden;position:relative}.photo img{width:100%;height:240px;object-fit:cover;display:block}.media-grid video{display:block;width:auto;height:auto;max-width:100%;max-height:70vh;max-height:70svh;object-fit:contain;background:transparent;border-radius:8px;grid-column:1/-1;justify-self:center}.media-grid audio{width:100%;grid-column:1/-1}.file-tile{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;gap:9px;align-items:center;font-size:11px;text-decoration:none;overflow-wrap:anywhere;min-width:0}.file-tile span{min-width:0;overflow:hidden;text-overflow:ellipsis}.file-tile small{display:block;color:var(--muted);font-size:9px}.file-tile .icon{width:25px;height:25px}.media-caption{font-size:10px;color:var(--muted);margin:7px 0}.year-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.year-card{padding:30px;border:1px solid var(--line);border-radius:12px;background:var(--paper);text-align:left}.year-card .big-year{font:48px Georgia;color:var(--ink);margin:8px 0 15px}.year-card p{font-size:12px;color:var(--muted)}.year-card .btn{margin-top:20px}.recap-card{padding:34px;border-radius:13px;background:#e8ecde;border:1px solid #dbe3d0;margin:20px 0}.recap-card h2{font:34px Georgia;margin:18px 0}.recap-card .post-body{max-width:600px}.recap-controls{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:12px;color:var(--muted)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:22px}.panel h2{font:24px Georgia;margin-bottom:13px}.panel p{font-size:13px;color:var(--muted);margin-bottom:17px}.panel .line{border-bottom:1px solid var(--line);padding:14px 0;display:flex;align-items:center;gap:12px}.panel .line:last-child{border:0}.line .grow{flex:1}.line strong{display:block;font-size:13px}.line small{color:var(--muted);font-size:11px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}.feature-list{list-style:none;padding:0;margin:0 0 25px;display:grid;gap:16px}.feature-list li{display:flex;gap:13px;font-size:13px}.feature-list small{display:block;color:var(--muted);font-size:11px}.feature-list svg{margin-top:3px}.note{font-size:12px!important;background:var(--soft);padding:14px;border-radius:8px;color:#6a775e!important}.auth{max-width:1040px;margin:8vh auto;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.auth h1{font:49px/1.15 Georgia;margin:40px 0 24px;letter-spacing:-1px}.auth .intro{font-size:15px;color:var(--muted)}.auth .auth-form{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:30px}.auth-form h2{font:27px Georgia;margin-bottom:6px}.auth-form>p{font-size:12px;color:var(--muted);margin-bottom:20px}label{display:block;font-size:12px;font-weight:500;margin-bottom:14px}label input:not([type=checkbox]),label select,label textarea{display:block;width:100%;padding:11px 12px;margin-top:6px;border:1px solid #dce0d4;border-radius:6px;background:var(--paper);font-size:13px}textarea{resize:vertical;min-height:150px;line-height:1.75}label small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:5px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkbox{display:flex;align-items:center;gap:9px;font-size:12px}.checkbox input{accent-color:var(--ink)}form .error{color:#ad4135;font-size:12px;margin:12px 0}.auth-form .btn{width:100%}.auth-foot{font-size:11px;color:var(--muted);margin-top:25px;text-align:center}.auth-foot a{color:var(--accent)}dialog{padding:0;border:1px solid var(--line);border-radius:14px;max-width:700px;width:calc(100% - 30px);max-height:90dvh;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #122b3526}dialog::backdrop{background:#24392f65;backdrop-filter:blur(3px)}.dialog-head{padding:22px 26px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head h2{font:27px Georgia}.dialog-body{padding:24px 26px}.dialog-foot{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;align-items:center}.dialog-foot .danger{margin-right:auto;color:#a54b38;font-size:11px}.dropzone{padding:20px;border:1px dashed #bac7ad;background:#f4f5ed;border-radius:9px;text-align:center}.dropzone input{border:none!important;font-size:11px!important}.dropzone strong{font-size:12px}.file-list{margin:10px 0;display:grid;gap:5px}.file-list>div{font-size:11px;background:var(--soft);padding:8px 10px;display:flex;gap:10px;justify-content:space-between;border-radius:5px;overflow-wrap:anywhere}.viewer img{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.viewer video{width:100%}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);background:#29483e;color:white;border-radius:8px;padding:12px 20px;font-size:12px;max-width:90%;z-index:30;box-shadow:0 4px 25px #0002;display:none}#toast.show{display:block}.mobile-nav{display:none}.mobile-logo{display:none}.edit-list{display:flex;gap:8px;flex-wrap:wrap}.help-link{font-size:11px;color:var(--accent)}.section-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.light{color:var(--muted);font-size:12px}.offline-banner{background:#f1ddc7;padding:8px 20px;font-size:12px;text-align:center}.reader-banner{padding:11px 17px;background:#e6ecdf;border:1px solid #dbe2d0;border-radius:8px;margin-bottom:25px;font-size:12px}.media-status{font-size:10px;grid-column:1/-1;color:var(--muted)}.media-status button{color:var(--accent);text-decoration:underline;font-size:10px}.feedback{min-height:20px}.subtle-button{font-size:11px;color:var(--accent);padding:0}.wrap{overflow-wrap:anywhere}.demo-ribbon{font-size:10px;border:1px solid #d8d6c4;border-radius:4px;padding:3px 5px;color:#8a7c60}.reader-cover{padding:38px;background:#e9eddf;border-radius:12px;margin-bottom:25px}.reader-cover h2{font:35px/1.2 Georgia;margin:14px 0}.reader-cover p{color:#687763;font-size:13px}
@media(min-width:1600px){.shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media(max-width:1250px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:30px 18px}.content{padding:30px}.topbar{padding:0 30px}.columns{grid-template-columns:minmax(0,1fr) 210px;gap:20px}.heading-note{display:none}.side-panel{padding:18px}.hero-mark{display:none}}@media(max-width:1030px){.columns{display:block}.right-column{display:none}.content{max-width:800px}.topbar{height:78px}.private-badge{display:none}.two-cols{grid-template-columns:1fr}.auth{gap:35px}.auth h1{font-size:40px}}@media(max-width:760px){.shell{display:block}.sidebar{display:none}.topbar{height:72px;padding:0 20px}.breadcrumb{display:none}.mobile-logo{display:flex}.mobile-logo.brand{font-size:27px}.mobile-logo img{width:29px;height:29px}.top-actions{gap:6px}.top-actions .btn{font-size:11px;padding:9px 11px}.top-actions .btn.quiet{display:none}.content{padding:27px 18px 100px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:34px}.subtitle{font-size:12px}.hero{padding:24px;min-height:165px}.hero h2{font-size:27px}.hero p{max-width:260px}.hero .hero-mark{display:block;right:12px;font-size:60px;opacity:.5}.post{padding:19px 17px}.post h2{font-size:24px}.post-body{font-size:13px}.post-footer{gap:7px}.demo-banner{font-size:10px;padding:7px 15px}.filter-row select{max-width:130px;font-size:11px}.search{flex-basis:100%}.composer{padding:15px}.composer span{font-size:12px}.photo img{height:175px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fafaf5ed;backdrop-filter:blur(12px);border-top:1px solid var(--line);justify-content:space-around;z-index:10;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.mobile-nav button{display:grid;justify-items:center;gap:3px;min-width:45px;color:var(--muted);font-size:9px;padding:3px}.mobile-nav button.active{color:var(--accent)}.mobile-nav svg{width:21px;height:21px}.auth{display:block;margin:15px auto;max-width:500px}.auth h1{font-size:35px;margin:23px 0 15px}.auth .intro{font-size:13px;margin-bottom:25px}.auth .auth-form{padding:23px}.field-row{grid-template-columns:1fr;gap:0}.dialog-head{padding:18px}.dialog-head h2{font-size:24px}.dialog-body{padding:20px 18px}.dialog-foot{flex-wrap:wrap}.year-grid{grid-template-columns:1fr 1fr;gap:12px}.year-card{padding:20px 15px}.year-card .big-year{font-size:39px}.year-card .btn{font-size:10px;padding:9px}.panel{padding:21px 18px}.recap-card{padding:24px}.recap-card h2{font-size:29px}#toast{bottom:95px}.reader-cover{padding:25px}.reader-cover h2{font-size:30px}.page-heading .btn{font-size:10px;padding:9px}.post-header small{font-size:9px}}
@media(prefers-reduced-motion:no-preference){.post{animation:appear .25s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

.archive-count{margin-top:15px}.pdf-preview{border:1px solid var(--line);border-radius:8px;background:#f0f0e8;padding:12px;display:block;text-decoration:none}.pdf-preview img{display:block;width:100%;height:210px;object-fit:contain}.pdf-preview span{display:flex;align-items:center;gap:6px;font-size:10px;margin-top:10px;overflow-wrap:anywhere}

.privacy-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#8a694f;background:#f2e9db;padding:4px 7px;border-radius:5px}.privacy-tag svg{width:13px;height:13px}.links-input{min-height:80px}.external-links{margin-top:18px}.external-card{display:flex;gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f4f3ec;margin-bottom:8px}.external-card .grow{min-width:0}.external-card strong{font-size:13px;display:block}.external-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10px;max-width:400px}.external-card a,.external-card button{font-size:11px;color:var(--accent);margin-right:12px;padding:0}.external-player{border:0;width:100%;aspect-ratio:16/9;min-height:200px;border-radius:8px}

.upload-progress { margin: 1rem 0; }
.upload-progress progress { width: 100%; height: .6rem; accent-color: var(--green, #27483f); }
.upload-progress p { margin: .5rem 0; font-size: .9rem; }

/* A short composer: writing first, audience always visible, details on demand. */
.composer-dialog{max-width:600px;max-height:92dvh;overflow-y:auto;scrollbar-gutter:stable}
.composer-dialog .dialog-head{padding:19px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:2}
.composer-dialog .dialog-head h2{font:23px Georgia;letter-spacing:-.4px}
.composer-dialog .dialog-head>button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--soft)}
.composer-dialog .dialog-body{padding:22px 24px 0}
.compose-person{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.compose-person strong{display:block;font-size:13px;font-weight:600}
.compose-person>div>span{display:block;font-size:11px;color:var(--muted)}
.compose-person .round{width:39px;height:39px}
.compose-meta{display:flex;gap:8px;flex-wrap:wrap}
.compose-chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:22px;font-size:12px;background:var(--paper)}
.compose-chip svg{width:16px;height:16px}
.audience-chip{border-color:#d4ddca;background:#edf2e7}
.audience-chip[aria-pressed=true]{background:#f4e8dc;border-color:#dfc8b4;color:#855538}
.audience-help{font-size:11px;color:var(--muted);margin:8px 2px 4px}
.composer-dialog textarea.compose-text{display:block;width:100%;resize:vertical;min-height:155px;max-height:42dvh;background:transparent;border:0;padding:18px 0 15px;margin:0;font-size:18px;line-height:1.65;border-radius:0}
.compose-text::placeholder{color:#9a9e92}
.composer-dialog textarea.compose-text:focus{outline:none}
.composer-dialog textarea.compose-text:focus-visible{outline:2px solid #d4ddca;outline-offset:4px;border-radius:5px}
.compose-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0 13px}
.compose-tools>button,.compose-star>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;min-height:44px;padding:9px 11px;border-radius:7px}
.compose-tools>button:hover,.compose-star>span:hover{background:var(--soft)}
.compose-tools svg{width:19px;height:19px}
.compose-tools #compose-link-count:empty{display:none}
.composer-dialog .compose-star{position:relative;display:block;margin:0 0 0 auto;cursor:pointer;font-weight:400}
.compose-star input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%;height:100%;margin:0!important}
.compose-star input:checked+span{background:#f3e9db;color:#a16540}
.compose-star input:checked+span svg{fill:#ddbb89}
.compose-star input:focus-visible+span{outline:3px solid #b66e4d;outline-offset:2px}
.compose-reveal{padding:15px;background:#f1f3eb;border-radius:9px;margin:12px 0}
.compose-reveal[hidden]{display:none}
.compose-reveal label:last-child{margin-bottom:0}
.compose-reveal input,.compose-reveal textarea{background:var(--paper)}
.compose-details{border-top:1px solid var(--line)}
.compose-details summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:15px 0;font-size:12px;font-weight:600;min-height:48px}
.compose-details summary::-webkit-details-marker{display:none}
.compose-details summary span{font-weight:400;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.compose-details summary svg{width:15px;height:15px}
.compose-details[open] summary svg{transform:rotate(90deg)}
.compose-details-fields{padding:4px 0 12px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.compose-details-fields label{margin:0;min-width:0}
.compose-edit-actions{grid-column:1/-1;display:flex;justify-content:space-between;gap:15px;font-size:11px;padding:10px 0}
.compose-edit-actions button{min-height:44px;display:inline-flex;align-items:center;gap:6px}
.compose-edit-actions .danger{color:#a54b38}
.compose-edit-actions svg{width:16px;height:16px}
.compose-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0 20px;position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);z-index:1}
.compose-footer>span{font-size:11px;color:var(--muted);line-height:1.5}
.compose-footer .btn{font-size:13px;border-radius:22px;min-height:44px;padding:11px 21px}
.compose-attachments:empty{display:none}
.compose-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:6px 0 12px}
.compose-attachment{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;margin:0;min-width:0;background:var(--soft);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.compose-attachment:only-child{max-width:100%;grid-column:1/-1}
.compose-attachment img{display:block;width:100%;height:160px;object-fit:cover}
.compose-attachment video{display:block;width:auto;height:auto;max-height:240px;max-width:100%;object-fit:contain;background:transparent}
.compose-attachment figcaption{font-size:11px;padding:8px 12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;background:var(--paper)}
.compose-attachment>button{position:absolute;right:5px;top:5px;display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#fffefaf0;box-shadow:0 1px 4px #0001}
.compose-attachment>button svg{width:17px;height:17px}
.compose-file-icon{height:90px;display:grid;place-items:center}
.compose-file-icon svg{width:30px;height:30px}
@media(max-width:600px){
 .composer-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:17px}
 .composer-dialog .dialog-head{padding:12px 17px}.composer-dialog .dialog-head h2{font-size:22px}
 .composer-dialog .dialog-body{padding:18px 17px 0}
 .composer-dialog textarea.compose-text{font-size:17px;min-height:140px}
 .compose-chip{min-height:44px;font-size:11px;padding:8px 11px}
 .compose-tools{gap:0}.compose-tools>button,.compose-star>span{padding:9px 8px;font-size:11px;gap:6px}
 .compose-details-fields{grid-template-columns:1fr}
 .compose-details-fields input,.compose-details-fields select,.compose-reveal input,.compose-reveal textarea{font-size:16px}
 .compose-footer{padding-bottom:max(17px,env(safe-area-inset-bottom))}.compose-footer>span{max-width:145px}
}
/* A child speaking to their future self, published through a parent's account. */
.child-message-entry{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 16px;margin:-8px 0 22px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#edf0e6;font-size:12px}
.child-message-entry span{flex:1}.child-message-entry svg{width:19px;height:19px;flex:none}
.child-message-panel{background:#edf0e6;border:1px solid #dce3d3;border-radius:12px;padding:18px;margin:12px 0}
.child-message-panel[hidden]{display:none}.child-message-panel strong{font:21px/1.3 Georgia}
.child-message-panel p{font-size:12px;margin:9px 0}.child-message-panel .btn{margin:8px 5px 0 0;min-height:44px}
.child-message-panel small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}
.message-label{display:inline-flex;align-items:center;gap:7px;color:#526d50;font-size:11px;background:#edf0e6;border-radius:20px;padding:7px 10px;margin:0 0 14px}.message-label svg{width:16px;height:16px}

/* Native video playback follows the visible post, without cropping. */
.feed-video{grid-column:1/-1;justify-self:center;position:relative;max-width:100%;width:fit-content;background:#e7ecdf;border-radius:8px;overflow:hidden;line-height:0}
.media-grid .feed-video video{max-width:100%;max-height:70svh;border-radius:0}
.feed-video button{position:absolute;display:grid;place-items:center;color:white;background:#152b21a8;border-radius:50%;width:44px;height:44px;min-height:44px;padding:10px;line-height:1;box-shadow:0 2px 12px #0002}
.feed-video .video-play{top:50%;left:50%;transform:translate(-50%,-50%);width:54px;height:54px}
.feed-video .video-sound{bottom:10px;right:10px}
.feed-video .video-options{top:10px;right:10px;background:#152b2170}
.video-sound .sound-on,.video-sound[aria-pressed=true] .sound-off{display:none}
.video-sound[aria-pressed=true] .sound-on{display:block}
.video-filename{overflow-wrap:anywhere;color:var(--muted);font-size:12px}
.feed-video[data-state=playing] .video-play{display:none}
.media-status summary{cursor:pointer;min-height:30px;padding:5px 0}.media-status a{margin-left:10px}

.feed-video:not([data-ready]){min-width:180px}.feed-video:not([data-ready]) video{min-height:160px}

.feed-video .video-open{inset:0;width:100%;height:100%;border-radius:0;background:transparent;box-shadow:none;padding:0;min-height:0}
.feed-video .video-open:focus-visible{outline-offset:-4px}

/* Five mobile destinations, with creation reachable without occupying the feed. */
.mobile-menu{display:grid;gap:4px;padding:10px}
.mobile-menu button{display:flex;align-items:center;gap:14px;min-height:60px;padding:14px;text-align:left;border-radius:10px}
.mobile-menu button:hover{background:var(--paper)}
.mobile-menu button span{flex:1}
.post-body:empty,.post-footer:empty{display:none}
@media(max-width:760px){
 .top-actions .desktop-compose{display:none}
 .feed-content{padding-top:16px}
 .feed-content>.page-heading{display:none}
 .mobile-nav{align-items:center;gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom))}
 .mobile-nav button{flex:1;min-width:0;min-height:48px;padding:4px 2px;font-size:10px}
 .mobile-nav .nav-create{flex:0 0 48px;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:14px;min-height:42px;height:42px;margin:0 10px;color:var(--ink)}
 .mobile-nav .nav-create svg{width:26px;height:26px}
}

/* Dedicated composition page. Only the current step may scroll on a short viewport. */
[hidden]{display:none!important}
body.composing,body.dialog-open{overflow:hidden;overscroll-behavior:none}
.compose-page{position:fixed;inset:var(--compose-top,0) 0 auto;height:var(--compose-height,100dvh);background:var(--paper);overflow:hidden}
.compose-page form{height:100%;max-width:640px;margin:auto;display:flex;flex-direction:column;min-width:0}
.compose-header{display:flex;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid var(--line);flex:none;padding-top:max(14px,env(safe-area-inset-top))}
.compose-header>div{flex:1;text-align:center}
.compose-header h1{font:25px/1.25 Georgia;margin:0;letter-spacing:-.5px;outline:none}
.compose-header #compose-step-count{display:block;font-size:11px;color:var(--muted);min-height:18px}
.compose-back{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--soft);flex:none}
.compose-back svg{transform:rotate(180deg)}
.compose-stage{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:22px 26px}
.compose-stage>section{min-width:0}
.compose-write{height:100%;display:flex;flex-direction:column;gap:16px}
.compose-page textarea.compose-text{width:100%;min-height:90px;flex:1;resize:none;border:0;padding:4px;background:transparent;font-size:19px;line-height:1.65;margin:0;border-radius:6px}
.compose-page .child-message-panel{padding:12px;margin:0;display:flex;gap:8px;flex-wrap:wrap;flex:none}
.compose-page .child-message-panel .btn{margin:0;flex:1;white-space:nowrap}
.compose-page .compose-tools{display:flex;flex-wrap:wrap;gap:5px;border:0;margin:0;padding:0;flex:none}
.compose-page .compose-tools>button{min-height:44px;font-size:12px;padding:8px 10px;border-radius:24px;background:var(--soft)}
.compose-page .compose-tools>button[aria-pressed=true]{background:var(--ink);color:white}
.compose-page .compose-attachments{display:flex;flex:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:12px;margin:0;padding:4px 0 8px;height:clamp(150px,42dvh,360px);min-height:0}
.compose-page .compose-attachment{flex:0 0 78%;max-width:360px;height:100%;scroll-snap-align:start;justify-content:space-between}
.compose-page .compose-attachment:only-child{flex-basis:100%;max-width:100%}
.compose-page .compose-attachment img,.compose-page .compose-attachment video{flex:1;min-height:0;width:100%;height:calc(100% - 34px);max-height:none;object-fit:contain}
.compose-page .compose-attachment figcaption{flex:none;height:34px;text-align:left}
.compose-page .compose-attachments:has(>.compose-attachment:only-child){justify-content:center}
.compose-page .compose-attachment:has(video){flex:0 0 auto;width:fit-content;max-width:100%}
.compose-page .compose-attachment:has(video):only-child{flex-basis:auto}
.compose-page .compose-attachment video{width:auto;max-width:100%;flex:none}
.compose-page .compose-file-icon{flex:1}
.compose-page .compose-footer{position:static;display:flex;flex-direction:column;align-items:stretch;flex:none;gap:8px;padding:14px 26px max(18px,env(safe-area-inset-bottom));margin:0;border-top:1px solid var(--line)}
.compose-page .compose-footer>.btn{width:100%;min-height:48px;border-radius:28px;font-size:14px}
.compose-page form .error{margin:0;font-size:13px;max-height:75px;overflow:auto;overflow-wrap:anywhere}
.compose-page form .error:empty{display:none}
.compose-page .upload-progress{margin:0;padding:10px;font-size:11px}
.compose-share label{font-size:13px;margin-bottom:16px;min-width:0}
.compose-page label input:not([type=checkbox]),.compose-page label select,.compose-page label textarea{min-width:0;max-width:100%;width:100%;font-size:16px}
.compose-page input[type=date]{appearance:none;-webkit-appearance:none;min-inline-size:0;min-height:46px}
.compose-page input[type=date]::-webkit-date-and-time-value{text-align:left}
.compose-visibility{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:22px}
.compose-visibility p{font-size:12px;color:var(--muted);margin:0}
.compose-share .compose-chip{min-height:44px;font-size:13px}
.compose-share .compose-star{position:relative;display:inline-flex;margin:0}
.compose-share .compose-star>span{min-height:44px;border:1px solid var(--line);border-radius:24px;padding:8px 14px}
.compose-share .compose-edit-actions{padding:8px 0 0;border-top:1px solid var(--line);margin-top:12px;flex-wrap:wrap}
.compose-links-page .links-input{height:200px;resize:vertical;max-height:50dvh}
.compose-cancel{display:flex;flex-direction:column;gap:18px;padding:36px 0}
.compose-cancel h2{font:29px Georgia}.compose-cancel p{font-size:14px;color:var(--muted)}
.compose-cancel .danger{color:var(--accent)}
.page-heading{margin-bottom:22px}.page-heading h1{margin:0}
.post-body:empty,.post-footer:empty{display:none}
@media(max-width:600px){
 .compose-header{padding-left:16px;padding-right:16px}.compose-header h1{font-size:22px}
 .compose-stage{padding:18px}.compose-page .compose-footer{padding-left:18px;padding-right:18px}
 .compose-page textarea.compose-text{font-size:18px}
 .compose-page .compose-tools>button{font-size:11px;padding:8px}.compose-page .compose-tools>button svg{width:17px}
 .compose-page .compose-tools{gap:4px}.compose-page .child-message-panel .btn{font-size:11px;padding:10px}
 .page-heading h1{font-size:29px}.content{padding-top:22px}
}
@media(max-height:700px){
 .compose-header{padding-top:8px;padding-bottom:8px}.compose-stage{padding-top:12px;padding-bottom:12px}
 .compose-page .compose-attachments{height:180px}.compose-write{gap:10px}
 .compose-visibility{margin-bottom:12px}.compose-share label{margin-bottom:10px}
 .compose-page .compose-footer{padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

/* Recording and review stay in the same private draft. */
.voice-recorder{flex:none;border:1px solid var(--line);border-radius:14px;background:var(--soft);padding:14px}
.voice-recording-line{display:flex;align-items:center;gap:9px;font-size:13px}.voice-recording-line strong{flex:1;font-weight:500}
.voice-recording-line time{font-variant-numeric:tabular-nums}.recording-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);flex:none}
.voice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.voice-actions small{font-size:10px;color:var(--muted)}
.voice-actions .btn{min-height:44px;padding:8px 12px}
.audio-preview{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:18px 12px;min-width:0;width:100%;flex:1}
.audio-preview>svg{width:26px;height:26px;color:var(--muted)}.audio-preview audio{width:100%;max-width:100%;height:54px}
.compose-page .compose-attachments:has(.audio-preview):not(:has(img,video)){height:180px}
.media-grid .feed-video video:fullscreen{max-width:none;max-height:none;width:100%;height:100%;object-fit:contain}

/* D36: every carousel slide shares a 4:5 frame. */
.media-carousel{min-width:0;max-width:100%;margin-top:17px;overflow:hidden}
.media-track{display:flex;align-items:stretch;aspect-ratio:4/5;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;max-width:100%;border-radius:8px}
.media-track::-webkit-scrollbar{display:none}
.media-track:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.media-slide{flex:0 0 100%;height:100%;min-width:0;min-height:0;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
.media-slide .media-grid,.media-single{display:flex;flex-direction:column;align-items:center}
.media-slide .media-grid{margin:0;gap:0;width:100%;height:100%;min-height:0}
.media-slide .photo,.media-single .photo{width:100%;aspect-ratio:auto;background:transparent}
.media-slide .photo img,.media-single .photo img{display:block;width:100%;height:auto;max-height:70svh;object-fit:contain}
.media-slide .file-tile,.media-slide .pdf-preview,.media-single .file-tile,.media-single .pdf-preview{width:100%;min-width:0}
.media-slide .file-tile{min-height:180px;overflow-wrap:anywhere}
.media-pagination{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px}
.media-pagination>button{width:40px;height:44px;display:grid;place-items:center;flex:none;color:var(--muted)}
.media-pagination>button:disabled{opacity:.2;cursor:default}
.media-prev svg{transform:rotate(180deg)}
.media-dots{display:flex;overflow-x:auto;scrollbar-width:none;min-width:0}
.media-dots button{display:grid;place-items:center;width:26px;height:44px;flex:none}
.media-dots span{width:6px;height:6px;border-radius:50%;background:var(--line)}
.media-dots [aria-current=true] span{background:var(--ink);width:7px;height:7px}
.media-count{flex:none;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;padding:0 6px}
/* Empty media rows must not reserve space above the keyboard. */
.compose-page .compose-attachments:empty{display:none}
.compose-page textarea.compose-text{min-height:160px;flex:1 0 160px}
.compose-page textarea.compose-text:focus-visible{outline:2px solid var(--line);outline-offset:2px}

/* Search and filters are disclosed from the mobile header. */
.filter-toggle{display:none;position:relative;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center}
.filter-toggle[aria-expanded=true]{background:var(--soft)}
.filter-dot{display:none;position:absolute;right:8px;top:8px;width:6px;height:6px;background:var(--accent);border-radius:50%}
.filter-toggle[data-active=true] .filter-dot{display:block}
.filter-reset{font-size:12px;color:var(--accent);min-height:44px;padding:8px}
@media(max-width:760px){
 .filter-toggle{display:flex}
 #memory-filters[data-open=false]{display:none}
 #memory-filters[data-open=true]{display:flex;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
 #memory-filters .search{min-width:0;width:100%;flex-basis:100%}
 #memory-filters input,#memory-filters select{font-size:16px;min-height:44px}
 #memory-filters select{flex:1 1 calc(50% - 8px);min-width:0;max-width:100%;width:100%}
 #memory-filters .filter-reset{width:100%;text-align:left}
}

/* Crop only the inline carousel display, never the stored file or fullscreen. */
.media-slide .photo,.media-slide .feed-video{width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;border-radius:0}
.media-slide .photo img,.media-slide .feed-video video{display:block;width:100%;height:100%;min-height:0;max-width:none;max-height:none;object-fit:cover}
.media-slide .pdf-preview{display:flex;flex-direction:column;height:100%;border-radius:0;background:var(--soft)}
.media-slide .pdf-preview img{width:100%;height:0;min-height:0;flex:1;object-fit:contain;padding:12px}
.media-slide .pdf-preview span{flex:none;overflow-wrap:anywhere;max-height:30%;overflow:auto}
.media-slide .file-tile{height:100%;min-height:0;flex-direction:column;justify-content:center;text-align:center;padding:24px;background:var(--soft);border-radius:0}
.media-grid .feed-video video[data-fullscreen=true],.media-grid .feed-video video:fullscreen{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.audio-card{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#e8eddf;border-radius:8px;color:var(--ink)}
.media-slide .audio-card{height:100%;aspect-ratio:auto;border-radius:0}
.audio-card>audio{position:absolute;bottom:20px;left:5%;width:90%}
.audio-custom{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.audio-download{position:absolute;top:8px;right:8px;width:44px;height:44px;display:grid;place-items:center;opacity:.65}
.audio-download svg{width:19px;height:19px}
.audio-art{position:absolute;top:13%;display:grid;place-items:center;width:64px;height:64px;border:1px solid #b8c8ad;border-radius:50%;color:#6f8566}
.audio-art svg{width:27px;height:27px}
.audio-toggle{display:grid;place-items:center;width:76px;height:76px;padding:23px;background:var(--ink);color:white;border-radius:50%;box-shadow:0 0 0 12px #d8e2d0}
.audio-toggle svg{width:30px;height:30px}.audio-play svg{fill:currentColor;stroke-width:1}.audio-pause svg{stroke-width:4}
.audio-pause,.audio-card[data-state=playing] .audio-play,.audio-card[data-state=loading] .audio-play{display:none}
.audio-card[data-state=playing] .audio-pause,.audio-card[data-state=loading] .audio-pause{display:block}
.audio-bottom{position:absolute;bottom:6%;left:8%;right:8%;font-size:12px}
.audio-name{text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:12px;opacity:.8}
.audio-card input[type=range]{width:100%;height:44px;padding:0;margin:0;border:0;accent-color:var(--ink);background:transparent;cursor:pointer}
.audio-times{display:flex;justify-content:space-between;font-size:11px;font-variant-numeric:tabular-nums;color:#63735d}
.audio-error{font-size:11px;text-align:center;margin:8px 0 0}.audio-error:empty{display:none}

#post-more{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:50px;font-size:12px;color:var(--muted);padding:12px}
