@font-face{font-family:Vazirmatn;src:url('assets/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f7f5ef;--paper:#fffefb;--ink:#193d40;--muted:#596d70;--green:#164e50;--green-soft:#e6efee;--line:#e6e7dc;--clay:#965238;--shadow:0 12px 40px #263c3010;--radius:22px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.85}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.5;cursor:wait}button,input,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b48648;outline-offset:4px}h1,h2,h3,p{margin:0}button{border:0}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}::selection{background:#d4e3cc}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;right:20px;background:var(--green);color:white;padding:10px;z-index:100}.skip-link:focus{top:10px}
.app-shell{max-width:1540px;min-height:100vh;margin:auto;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{padding:43px 27px 26px;border-left:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:#f4f3ec}.brand{display:flex;align-items:center;gap:13px}.brand>span{font-size:31px;font-weight:800;line-height:1.25}.brand small{display:block;font-size:10px;font-weight:400;margin-top:8px;color:var(--muted)}.sidebar-rule{height:1px;background:var(--line);margin:38px 0 26px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 15px;margin:5px 0;border-radius:13px;color:#7a8279;font-size:13px;font-weight:500;min-height:48px}.nav-link.active{color:var(--green);background:#e4eadf;font-weight:700}.nav-link:hover{background:#eaece3}.side-note{margin:auto 15px 55px;padding-top:48px}.tiny-star{color:#be9a63;font-size:31px}.side-note p{font-size:22px;font-weight:300;line-height:1.95;margin:8px 0 11px}.side-note small{font-size:10px;color:var(--muted)}.storage-note{background:transparent;display:flex;align-items:center;gap:9px;padding:15px 1px 0;border-top:1px solid var(--line);font-size:11px;text-align:right}.status-dot{width:7px;height:7px;border-radius:100%;background:#759373;display:inline-block;flex-shrink:0}.storage-note small{display:block;font-size:9px;color:var(--muted)}.info-circle{margin-right:auto;border:1px solid #a4aa9d;width:16px;height:16px;border-radius:50%;font-family:serif;line-height:16px;text-align:center}.workspace{padding:0 52px;min-width:0}.topbar{display:flex;align-items:center;height:97px;border-bottom:1px solid var(--line);gap:15px}.top-caption{font-size:11px;color:var(--muted);margin-left:auto}.avatar{width:35px;height:35px;border-radius:50%;background:#e7e5d7;color:#7b7961;font-size:16px}.preview-badge{background:transparent;border:1px solid #dfdfd2;border-radius:30px;padding:4px 12px;font-size:10px;color:#838475}.preview-badge span{margin-right:10px}.mobile-brand{display:none}main{padding:32px 0 20px;min-height:calc(100vh - 155px)}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:10px}.page-heading h1{font-size:27px;letter-spacing:-.7px;font-weight:750}.eyebrow{color:#979b8b;font-size:10px;font-weight:500;letter-spacing:.5px}.heading-sub{font-size:11px;color:var(--muted);margin-top:1px}.count-pill{font-size:11px;color:#808674;display:flex;gap:7px;align-items:center}.count-pill b{font-size:21px;font-weight:450;color:var(--ink)}
.hero{display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;min-height:267px;background:#e9eee3;border-radius:var(--radius);padding:29px 34px;margin-bottom:29px}.hero-copy{position:relative;z-index:1}.hero-kicker{font-size:10px;display:flex;align-items:center;gap:8px;color:#758271;margin-bottom:12px}.hero h2{font-weight:600;font-size:30px;line-height:1.7;letter-spacing:-1px}.hero p{font-size:12px;color:#778373;margin-top:8px}.hero-actions{display:flex;gap:10px;margin-top:21px}.primary,.secondary,.text-button,.danger-button{min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:10px 19px;font-weight:600;font-size:12px}.primary{background:var(--green);color:#fffdf2;box-shadow:0 4px 9px #164e500c}.primary:hover{background:#103c3e}.secondary{background:#fafbf5;border:1px solid #dce1d4}.secondary:hover{background:#f0f2e9}.text-button{background:transparent;color:#42686a;padding:8px 10px}.text-button:hover{background:#e8eddf}.primary .icon,.secondary .icon{width:19px;height:19px}.hero-art{width:215px;height:210px;position:relative;display:grid;place-items:center;flex-shrink:0;transform:rotate(-9deg);margin-left:10px}.orbit{position:absolute;width:194px;height:194px;border:1px solid #cbd5be;border-radius:50%}.orbit.second{width:150px;height:150px;transform:translate(10px,-9px)}.sound-stone{width:111px;height:149px;background:#f5f4e9;border-radius:56px;display:flex;align-items:center;justify-content:center;gap:5px;box-shadow:11px 13px 30px #3045220e;transform:rotate(9deg)}.sound-stone i{display:block;width:4px;border-radius:6px;background:#6f8768;height:26px}.sound-stone i:nth-child(2),.sound-stone i:nth-child(6){height:42px}.sound-stone i:nth-child(3),.sound-stone i:nth-child(5){height:64px}.sound-stone i:nth-child(4){height:83px;background:#b2996d}.art-star{position:absolute;color:#b69356;font-size:28px;top:9px;right:21px}.art-dot{width:13px;height:13px;background:#a6b794;border:4px solid #e9eee3;border-radius:50%;position:absolute;bottom:25px;left:12px}.art-label{position:absolute;bottom:7px;right:12px;color:#7c8b72;font-size:9px;transform:rotate(9deg)}
.bank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:7px 0 23px}.filters{display:flex;gap:6px;align-items:center}.filter{background:transparent;min-height:36px;border-radius:30px;color:#8c9284;padding:5px 15px;font-size:11px;white-space:nowrap}.filter.active{background:var(--green);color:#fff}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:6px 12px;width:228px;background:#ffffff50}.search-box .icon{width:17px;color:#909788}.search-box input{width:100%;border:0;background:transparent;font-size:11px;color:var(--ink);min-height:24px}.search-box input::placeholder{color:#93998a}.section-label{display:flex;justify-content:space-between;align-items:center;margin:22px 0 15px;gap:8px}.section-label h2{font-size:13px;font-weight:600}.section-label span{font-size:10px;color:#979b8b}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.memory-card{display:flex;flex-direction:column;background:var(--paper);border:1px solid #e7e8dd;border-radius:17px;text-align:right;padding:20px 23px;min-height:220px;width:100%;transition:transform .18s,box-shadow .18s;cursor:pointer}.memory-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.card-symbol{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eee4d4;color:#9f865b}.memory-card.sage .card-symbol{background:#e8eee4;color:#748d69}.memory-card.voice .card-symbol{background:#e4eae4;color:var(--green)}.sample-tag{font-size:9px;color:#989a8a;border:1px solid #e8e7da;padding:1px 8px;border-radius:6px}.status-label{font-size:10px;color:#6d846c;display:flex;align-items:center;gap:5px}.status-label.pending{color:#ac8650}.status-label .icon{width:13px;height:13px}.memory-card h3{font-size:17px;font-weight:650;line-height:1.6;overflow-wrap:anywhere;margin-bottom:9px}.memory-card p{font-size:11px;line-height:2.05;color:#8a9083;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.card-bottom{margin-top:auto;padding-top:18px;display:flex;justify-content:space-between;align-items:center;color:#99a08e;font-size:9px}.card-bottom span{display:flex;align-items:center;gap:5px}.card-bottom .icon{width:14px;height:14px}.card-arrow{font-size:20px}.first-note{border:1px dashed #d4dbcb;border-radius:13px;padding:13px 18px;font-size:11px;color:#858f7a;display:flex;align-items:center;gap:11px}.first-note .icon{color:#79906e}.desktop-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:15px 0 24px;font-size:9px;color:#a4a995;margin-top:25px}.mobile-nav{display:none}.empty-state{text-align:center;padding:36px 15px;color:var(--muted);border:1px dashed var(--line);border-radius:16px}.empty-state .icon{width:34px;height:34px;margin-bottom:10px}.empty-state h3{font-size:15px;color:var(--ink);margin-bottom:6px}.empty-state p{font-size:12px}.clear-search{margin-top:10px}.loading-state{text-align:center;padding:70px 20px;color:var(--muted)}
.back-button{background:transparent;display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#869078;padding:5px 0;margin-bottom:17px;min-height:32px}.back-button .icon{width:16px}.center-column{max-width:690px;margin:auto}.intro{text-align:center;margin:5px auto 26px}.intro .eyebrow{margin-bottom:7px}.intro h1{font-size:28px;font-weight:650;margin-bottom:9px}.intro p{font-size:12px;color:var(--muted)}.composer{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:25px 30px;box-shadow:0 10px 30px #2d392206}.mode-switch{display:flex;padding:5px;background:#f2f3ec;border-radius:13px;max-width:300px;margin:0 auto 27px;gap:4px}.mode-switch button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border-radius:10px;padding:8px;font-size:12px;color:#959b8c}.mode-switch button.active{background:#fffefb;box-shadow:0 2px 8px #2333220a;color:var(--green);font-weight:650}.mode-switch .icon{width:18px}.field-label{font-size:12px;font-weight:600;display:block;margin-bottom:8px}.writing-area{width:100%;border:0;background:transparent;resize:vertical;min-height:205px;line-height:2.3;font-size:15px;padding:5px 1px;color:var(--ink)}textarea::placeholder{color:#b1b5a5}.field-footer{font-size:10px;color:#929b84;display:flex;justify-content:space-between;margin:6px 0 22px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;border-top:1px solid var(--line);padding-top:19px}.composer-footer p{font-size:10px;color:#929b84}.prompt-note{text-align:center;margin:23px auto;font-size:11px;color:#929b84}.prompt-note button{color:#617e5b;text-decoration:underline;text-underline-offset:5px;background:none;font-size:11px}.recorder-panel{text-align:center;padding:6px 0 23px}.record-orbit{margin:15px auto;width:166px;height:166px;border:1px solid #e2e8d7;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 16px #f5f7ef}.record-button{width:110px;height:110px;background:var(--green);color:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 20px #164e501a}.record-button .icon{width:34px;height:34px}.record-button.recording{background:#b66b4e;animation:pulse 1.5s infinite}.record-label{font-size:13px;font-weight:500;margin-top:26px}.record-clock{font-size:23px;font-weight:300;letter-spacing:3px;direction:ltr;color:#89917f}.record-hint{font-size:10px;color:#999f8f;margin:9px auto;max-width:370px}.waveform{height:35px;display:flex;justify-content:center;align-items:center;gap:5px;margin:14px}.waveform i{width:3px;height:7px;background:#a8b69b;border-radius:5px}.waveform i:nth-child(3n){height:22px}.waveform i:nth-child(4n){height:32px}.waveform i:nth-child(2n){height:14px}.waveform.active i{animation:wave .7s ease-in-out infinite alternate}.waveform.active i:nth-child(2n){animation-delay:-.3s}.waveform.active i:nth-child(3n){animation-delay:-.5s}audio{width:100%;height:40px;margin:12px 0;max-width:470px}.inline-error{border-radius:10px;background:#f8eae4;color:#9b5e45;font-size:11px;padding:10px 14px;margin:12px 0}.small-notice{padding:11px 14px;background:#f3f3ec;border-radius:11px;color:#8b927d;font-size:10px;margin-top:18px;line-height:1.9}.audio-review{padding:10px;text-align:center}.saved-icon{width:47px;height:47px;border-radius:50%;background:#e8efe2;display:grid;place-items:center;color:#70915b;margin:15px auto}.audio-caption{min-height:90px;font-size:12px;border:1px solid var(--line);border-radius:11px;padding:10px}.draft-banner{display:flex;align-items:center;gap:7px;background:#f0efe1;border-radius:9px;padding:8px 12px;font-size:10px;color:#8b805b;margin-bottom:15px}
.detail-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px}.detail-head .back-button{margin:0}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:transparent;color:#939c85}.detail-paper{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:32px 37px}.detail-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#949b87}.detail-title{font-size:29px;font-weight:650;margin:19px 0 11px;line-height:1.75;overflow-wrap:anywhere}.period-label{font-size:11px;color:#839077;display:flex;align-items:center;gap:6px;margin-bottom:24px}.period-label .icon{width:16px;height:16px}.narrative{font-size:16px;line-height:2.65;white-space:pre-wrap;overflow-wrap:anywhere}.detail-actions{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.confirmed{color:#6c865e;font-size:12px;display:flex;gap:6px;align-items:center}.source-box{margin-top:22px;border:1px solid var(--line);border-radius:13px;padding:12px 17px}.source-box summary{cursor:pointer;color:#849174;font-size:11px}.source-box p{white-space:pre-wrap;font-size:12px;line-height:2.3;color:#939a86;margin-top:12px;overflow-wrap:anywhere}.source-box small{font-size:9px;color:#a2a791}.input-field{width:100%;border:1px solid #dfe3d6;border-radius:11px;padding:11px 14px;background:#fbfcf7;color:var(--ink);margin-bottom:19px}.edit-body{min-height:230px;resize:vertical;line-height:2.2}.edit-help{font-size:10px;color:#969e89;margin-top:-14px;margin-bottom:19px}.settings-identity{display:flex;align-items:center;gap:14px;margin-bottom:27px}.settings-identity .avatar{width:55px;height:55px;font-size:23px;display:grid;place-items:center}.settings-identity h2{font-size:16px}.settings-identity p{font-size:11px;color:var(--muted)}.setting-group{background:var(--paper);border:1px solid var(--line);border-radius:17px;margin:18px 0;overflow:hidden}.setting-row{display:flex;align-items:center;padding:19px 21px;gap:14px;text-align:right;width:100%;background:transparent;border-bottom:1px solid var(--line)}.setting-row:last-child{border:0}.setting-row>.icon{color:#819575}.setting-row>span{flex:1}.setting-row strong{font-size:12px;font-weight:550;display:block}.setting-row small{display:block;font-size:10px;color:#99a18e;margin-top:3px}.setting-row .tag{font-size:10px;background:#eff2e9;border-radius:5px;padding:2px 7px;color:#8a977c;flex:0 0 auto}.settings-summary{font-size:11px;line-height:2.1;color:#949c88;margin:20px 5px}.danger-button{background:#f8eee9;color:#ae7358;border:1px solid #eadbd2}.danger-button:hover{background:#f0ded4}.text-danger{color:#ac785b}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#164e50;color:#fffef5;box-shadow:var(--shadow);padding:12px 22px;border-radius:13px;font-size:12px;z-index:50;transition:opacity .2s,transform .2s;max-width:calc(100vw - 30px)}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);padding:28px;max-width:450px;width:calc(100% - 32px);box-shadow:0 30px 120px #10241a30}dialog::backdrop{background:#14281f66;backdrop-filter:blur(4px)}.modal-title{font-size:21px;margin-bottom:14px}.modal-text{font-size:12px;line-height:2.3;color:#859078;white-space:pre-line}.modal-actions{display:flex;gap:9px;margin-top:23px}.modal-actions button{flex:1}.modal-close{position:absolute;top:15px;left:15px;background:transparent;width:25px;height:25px;border-radius:50%;font-size:20px;color:#929a83}.helper-link{font-size:10px;background:none;color:#89987c;text-decoration:underline;text-underline-offset:4px}.fatal-error{background:#f6e8dd;padding:20px;border-radius:15px;color:#946347;font-size:13px;margin-bottom:20px}.fresh-card{animation:appear .45s ease-out}.storage-warning{font-size:10px;color:#a78662;margin:10px 0}.button-spinner{display:inline-block;border:2px solid #b5c6ae;border-top-color:transparent;border-radius:50%;width:13px;height:13px;animation:spin 1s linear infinite}.status-label.pending .status-dot{background:#bca278;animation:pulse 1s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 10px #b66b4e10;opacity:.75}}@keyframes wave{to{transform:scaleY(.35)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1400px){.workspace{padding:0 70px}.hero{min-height:280px}.hero h2{font-size:34px}.memory-card{min-height:242px}}
@media(max-width:1050px){.app-shell{grid-template-columns:206px minmax(0,1fr)}.sidebar{padding:35px 21px}.workspace{padding:0 30px}.hero{padding:25px}.hero h2{font-size:26px}.hero-art{width:150px;height:190px;transform:scale(.85) rotate(-9deg);margin-left:-15px}.hero p{max-width:255px}.hero-actions{gap:7px}.hero-actions button{padding:9px 12px;font-size:11px}.side-note{margin-right:8px}.hero-art .art-label{display:none}}
@media(max-width:760px){body{font-size:13px}.app-shell{display:block}.sidebar{display:none}.workspace{padding:0 22px}.topbar{height:75px;gap:10px;border-bottom:0}.top-caption{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:26px;font-weight:800;margin-left:auto}.preview-badge{font-size:9px;padding:3px 8px}.avatar{width:31px;height:31px;font-size:14px}main{padding:12px 0 100px;min-height:calc(100dvh - 75px)}.page-heading{margin-bottom:21px}.page-heading h1{font-size:25px}.heading-sub{font-size:10px}.count-pill{font-size:10px}.count-pill b{font-size:18px}.hero{padding:24px;min-height:252px;margin-bottom:24px;border-radius:20px}.hero h2{font-size:26px}.hero p{font-size:11px;max-width:230px}.hero-art{width:120px;height:170px;margin-left:-12px;transform:scale(.8) rotate(-9deg)}.hero-art .orbit{width:161px;height:161px}.hero-art .orbit.second{width:130px;height:130px}.hero-copy{flex:1}.hero-actions{gap:7px}.hero-actions button{font-size:11px;padding:10px 12px}.hero-actions .icon{width:17px}.bank-toolbar{margin-bottom:20px;gap:10px}.search-box{width:170px;padding:5px 9px}.filter{font-size:10px;padding:5px 11px}.memory-grid{gap:13px}.memory-card{padding:18px;min-height:215px}.memory-card h3{font-size:15px}.memory-card p{font-size:10px}.desktop-footer{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;right:0;left:0;z-index:10;justify-content:space-around;background:#fffefbf2;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-nav .nav-link{flex:1;justify-content:center;flex-direction:column;gap:2px;margin:0;padding:5px 10px;border-radius:12px;font-size:9px;min-height:51px}.mobile-nav .nav-link.active{background:transparent;color:var(--green)}.mobile-nav .nav-link .icon{width:21px;height:21px}.mobile-nav .nav-link.active:after{content:'';height:3px;width:14px;background:#78966c;border-radius:6px}.mobile-nav .nav-link.record-nav{color:var(--green)}.mobile-nav .nav-link.record-nav .icon{width:24px;height:24px}.toast{bottom:87px;width:max-content;max-width:calc(100vw - 35px);text-align:center}.intro{margin-bottom:24px}.intro h1{font-size:25px}.composer{padding:22px;border-radius:19px}.writing-area{min-height:245px;font-size:14px}.composer-footer{align-items:flex-start}.composer-footer .primary{flex-shrink:0}.composer-footer p{max-width:150px;font-size:9px}.detail-paper{padding:24px}.detail-title{font-size:24px}.narrative{font-size:15px}.detail-actions{flex-wrap:wrap}.detail-actions button{flex:1}.settings-identity{margin-top:8px}.source-box{margin-top:18px}.side-note{display:none}}
@media(max-width:480px){.workspace{padding:0 20px}.hero{padding:22px 21px;min-height:264px}.hero-art{position:absolute;left:-28px;top:4px;opacity:.64;transform:scale(.64) rotate(-9deg);transform-origin:center}.hero-copy{width:100%}.hero h2{font-size:26px;max-width:240px}.hero-kicker{font-size:9px;margin-bottom:11px}.hero p{max-width:250px;margin-top:10px;font-size:10px}.hero-actions{margin-top:21px}.hero-actions button{font-size:11px;min-height:43px}.hero-actions .primary{padding:10px 15px}.bank-toolbar{flex-wrap:wrap;gap:12px}.filters{order:2;width:100%;gap:7px}.search-box{order:1;width:100%;padding:7px 13px;border-radius:12px}.search-box input{font-size:11px;min-height:27px}.filter{font-size:10px;padding:5px 14px;min-height:34px}.section-label{margin-top:21px}.section-label h2{font-size:12px}.section-label span{font-size:9px}.memory-grid{grid-template-columns:1fr}.memory-card{min-height:215px;padding:20px 22px}.memory-card h3{font-size:17px}.memory-card p{font-size:11px}.card-top{margin-bottom:15px}.card-bottom{font-size:9px}.first-note{font-size:10px;padding:12px}.intro h1{font-size:23px}.intro p{font-size:11px}.composer{padding:20px}.composer-footer{flex-direction:column;align-items:stretch}.composer-footer p{max-width:none;text-align:center;order:2}.composer-footer .primary{width:100%}.mode-switch{margin-bottom:22px}.detail-paper{padding:22px}.detail-title{font-size:23px}.narrative{font-size:14px}.setting-row{padding:17px 15px}.record-orbit{margin:20px auto 24px}.record-hint{font-size:9px}.sample-tag{font-size:8px}.page-heading .heading-sub{max-width:230px}.preview-badge span{margin-right:5px}.text-button{font-size:11px}.edit-body{min-height:255px}}
.heading-sub,.hero p,.card-bottom,.memory-card p,.section-label span,.eyebrow,.record-hint,.field-footer,.composer-footer p,.detail-meta,.period-label,.prompt-note,.setting-row small,.settings-summary,.small-notice,.source-box p,.source-box summary{color:#697760}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

[hidden] { display: none !important; }

/* ROOZ_CAPTURE_DESIGN_START */
.center-column:has(#navigation:not([hidden])){max-width:640px;padding-inline:24px}
.center-column:has(#navigation:not([hidden]))>.topbar{height:90px;border:0;padding-inline:12px}
.center-column:has(#navigation:not([hidden]))>.topbar .brand{font-size:23px;font-weight:750;gap:9px}

#pilot-main{padding-top:0;min-height:0}
.capture-page.composer{padding:10px 24px 0;margin:0;background:transparent;border:0;box-shadow:none;max-width:none}
.capture-page .capture-heading{text-align:right;margin-bottom:23px}
.capture-page .capture-eyebrow{font-size:12px;color:#9b5827;margin:0 0 6px}
.capture-page .capture-heading h1{font-size:31px;line-height:1.65;letter-spacing:-.8px;font-weight:650;margin:0 0 5px}
.capture-page .capture-heading>p:last-child{font-size:14px;color:#66756c}
.capture-prompt{margin:0 0 14px;padding:16px 18px;border:1px solid #dce5d8;border-radius:17px;background:#f7f8f1}.capture-prompt>span{font-size:10px;color:#73836f}.capture-prompt>p{font-size:16px;line-height:1.9;color:#264b3b;margin:4px 0 12px}.capture-prompt>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.capture-prompt .primary,.capture-prompt .secondary{min-height:39px;padding:7px 13px;font-size:11px}.capture-prompt-selected{border-color:#a8c0a5;background:#edf4e9}.capture-prompt-return{margin:0 0 12px;background:transparent;color:#416a51;text-decoration:underline;text-underline-offset:4px;font-size:11px}.memory-prompt-context{padding:10px 13px;border-radius:11px;background:#edf3ea;color:#355f48;font-size:12px;line-height:1.8}.memory-prompt-context span{display:block;font-size:9px;color:#788b79}
.capture-page svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.capture-page .capture-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px;background:#eaf0e6;border:0;border-radius:15px;margin:0 0 18px;width:100%}
.capture-page .capture-modes button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;border-radius:11px;min-height:46px;background:transparent;color:#65766a;font-size:14px;padding:8px}
.capture-page .capture-modes button.active{background:#fffefb;color:#244b3c;box-shadow:0 2px 7px #244b3c0c}
.capture-page .capture-sheet{padding:22px;background:#fffefb;border:1px solid #e0e5d9;border-radius:23px;box-shadow:0 5px 25px #193d4005}
.capture-page #memory-title-input{margin-bottom:0}
.capture-page .capture-title-help{font-size:12px;line-height:1.8;color:#68796d;margin:7px 0 16px}
.capture-page .capture-recorder{border:0;padding:4px 0 15px;background:transparent;text-align:center;min-height:0;margin:0}
.capture-page .capture-wave{display:flex;justify-content:center;align-items:center;gap:4px;height:30px;margin:0 0 21px;color:#245e4a}
.capture-page .capture-wave span{height:8px;width:3px;border-radius:5px;background:currentColor;opacity:.25}
.capture-page .capture-wave span:nth-child(3n){height:19px;opacity:.45}
.capture-page .capture-wave span:nth-child(5n){height:29px;opacity:.7}
.capture-page .capture-record{display:flex;flex-direction:column;gap:4px;width:100px;height:100px;min-height:100px;border-radius:50%;background:#245e4a;color:white;margin:0 auto 23px;padding:13px;font-size:13px;font-weight:750;line-height:1.5;box-shadow:0 0 0 9px #edf2e9,0 12px 26px #245e4a2b}
.capture-page .capture-record svg{width:26px;height:26px}
.capture-page .capture-record-title{font-size:17px;font-weight:600;margin:0 0 4px}
.capture-page .capture-record-clock{font-size:13px;color:#68796d;font-variant-numeric:tabular-nums;margin:5px 0}
.capture-page .capture-record-help{font-size:12px;color:#68796d;max-width:300px;margin:auto;line-height:1.9}
.capture-page .capture-voice-note{margin:10px 0 0;border-top:1px solid #e5e8de;padding-top:14px}
.capture-page summary{cursor:pointer;font-size:12px;color:#576e5f;min-height:34px;padding-block:5px}
.capture-page .capture-voice-note summary span{color:#758479;margin-inline-start:5px}
.capture-page .capture-writing{width:100%;min-height:210px;resize:vertical;border:0;border-radius:8px;background:transparent;color:#193d40;font-size:16px;line-height:2.1;padding:8px 0;margin:0}
.capture-page .capture-voice-note .capture-writing{min-height:110px}
.capture-page .capture-writing::placeholder{color:#7d877d}
.capture-page .capture-submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid #e5e8de}
.capture-page .capture-submit-row>span{font-size:12px;color:#68796d}
.capture-page .capture-submit-row .primary{background:#245e4a;min-height:46px;font-size:13px;white-space:nowrap}
.capture-page .capture-assurance{font-size:12px;color:#66776b;margin:13px 4px 3px}
.capture-page .capture-recent-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 11px;gap:10px}
.capture-page .capture-recent-heading h2{font-size:13px;font-weight:550;margin:0}
.capture-page .capture-recent-heading a{font-size:12px;color:#617367;min-height:44px;display:flex;align-items:center;gap:7px}
.capture-page .capture-recent{display:flex;align-items:flex-start;gap:14px;border-top:1px solid #e0e5d9;padding:18px 0 22px;overflow-wrap:anywhere}
.capture-page .capture-page-icon{background:#eaf0e6;border-radius:13px;width:43px;height:46px;display:grid;place-items:center;flex:none;color:#245e4a}
.capture-page .capture-recent strong{display:block;font-size:14px;font-weight:550;margin-bottom:4px}
.capture-page .capture-recent>span:last-child>span{display:block;font-size:12px;color:#66776b}
.capture-page .capture-recent small{display:block;font-size:11px;color:#526d59;margin-top:6px}
.capture-page .capture-empty{border-top:1px solid #e0e5d9;padding:17px 0 24px;font-size:13px;color:#66776b}




.capture-page audio{width:100%;margin:12px 0}
.capture-page .capture-audio-ready{font-size:16px}
@media(min-width:800px){.center-column:has(#navigation:not([hidden])){margin-top:18px;margin-bottom:35px;border:1px solid #e0e5d9;border-radius:28px;box-shadow:0 16px 48px #253c300b;background:#faf8f3}}
@media(max-width:420px){.center-column:has(#navigation:not([hidden])){padding-inline:14px}.capture-page.composer{padding-inline:7px}.capture-page .capture-heading h1{font-size:28px}.capture-page .capture-sheet{padding:19px}.center-column:has(#navigation:not([hidden]))>.topbar{height:78px;padding-inline:7px}}
/* ROOZ_CAPTURE_DESIGN_END */

/* ROOZ_SHARED_TABS_START */
.center-column:has(#navigation:not([hidden])){display:flex;flex-direction:column;min-height:100vh;background:#faf8f3}
.center-column:has(#navigation:not([hidden]))>.topbar{flex:none}
.center-column:has(#navigation:not([hidden]))>#notice{order:1}
.center-column:has(#navigation:not([hidden]))>#pilot-main{order:2;flex:1;min-height:0;padding:2px 24px 105px;max-width:100%;width:100%}
.center-column:has(#navigation:not([hidden]))>#navigation:not([hidden]){order:3;position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:9;display:flex;gap:4px;align-items:center;justify-content:space-between;width:min(640px,100%);margin:0;border-top:1px solid #e0e5d9;padding:8px 18px calc(8px + env(safe-area-inset-bottom));background:#fffefbf2;backdrop-filter:blur(12px)}
#navigation:not([hidden]) a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:54px;border:0;border-radius:12px;padding:4px 2px;background:transparent;color:#617367;font-size:11px;font-weight:500;white-space:nowrap;text-align:center;box-shadow:none}
#navigation:not([hidden]) a>span{font-size:22px;line-height:1.3}
#navigation:not([hidden]) a>svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#navigation:not([hidden]) a[aria-current=page]{background:#eaf0e6;color:#245e4a}
#navigation:not([hidden]) a:focus-visible{outline:3px solid #b48648;outline-offset:2px}
@media(max-width:420px){.center-column:has(#navigation:not([hidden]))>#pilot-main{padding-inline:7px}.center-column:has(#navigation:not([hidden]))>#navigation:not([hidden]){padding-inline:8px}#navigation:not([hidden]) a{font-size:10px}}
/* ROOZ_SHARED_TABS_END */

/* ROOZ_BANK_DESIGN_START */
.bank-page{padding:10px 0 22px;min-width:0}
.bank-cover{position:relative;display:flex;align-items:center;overflow:hidden;min-height:251px;padding:31px 32px;border-radius:25px;background:radial-gradient(circle at 17% 20%,#47715c 0,#305d49 32%,#214b3d 75%);color:#fffdf7;isolation:isolate}
.bank-cover:before,.bank-cover:after{content:"";position:absolute;border:1px solid #ffffff27;border-radius:50%;pointer-events:none}
.bank-cover:before{width:310px;height:310px;left:-108px;top:-128px}
.bank-cover:after{width:245px;height:245px;left:-42px;top:-88px}
.bank-cover-copy{position:relative;z-index:2;max-width:365px}
.bank-cover-eyebrow{display:block;font-size:11px;font-weight:500;letter-spacing:.02em;color:#d4e4cf;margin-bottom:9px}
.bank-cover h1{font-size:34px;line-height:1.5;font-weight:750;letter-spacing:-.7px;margin:0 0 6px;color:#fffdf7}
.bank-cover p{font-size:13px;line-height:2;max-width:340px;color:#e3eee2}
.bank-cover-action{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;margin-top:20px;padding:8px 17px;border-radius:12px;background:#f5ead7;color:#264738;font-size:12px;font-weight:700;box-shadow:0 5px 20px #0e332528}
.bank-cover-action:hover{background:#fff5e3}
.bank-cover-art{position:absolute;left:26px;top:29px;width:170px;height:200px;z-index:1;transform:rotate(-10deg)}
.bank-art-sheet{position:absolute;display:block;width:132px;height:170px;border-radius:11px;background:#f6f0df;box-shadow:0 12px 25px #082d2330}
.bank-art-back{top:9px;left:17px;transform:rotate(12deg);background:#d8e1ce}
.bank-art-front{top:13px;left:20px;border:1px solid #fff9ec;display:flex;flex-direction:column;gap:10px;padding:40px 24px 0}
.bank-art-front i{display:block;width:100%;height:2px;background:#c7d4c3;border-radius:3px}
.bank-art-front i:nth-child(2){width:75%}.bank-art-front i:nth-child(3){width:88%}
.bank-art-front b{font-size:34px;font-weight:300;color:#bd9a68;line-height:1;margin-top:16px;align-self:center}
.bank-search{margin:27px 2px 17px}
.bank-search label{display:block;font-size:13px;font-weight:650;margin-bottom:9px;color:#294b3d}
.bank-search-field{display:flex;align-items:center;gap:10px;min-height:49px;padding:0 15px;background:#fffefa;border:1px solid #dce4d9;border-radius:14px;box-shadow:0 3px 11px #233d3106}
.bank-search-field:focus-within{border-color:#719782;box-shadow:0 0 0 3px #71978222}
.bank-search-field>span{color:#67846c;font-size:26px;line-height:1;transform:rotate(-20deg)}
.bank-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;min-height:46px;font-size:13px;color:#233f34}
.bank-search-field input::placeholder{color:#839486}
.bank-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.bank-filter-grid label{font-size:11px;color:#58705f}.bank-filter-grid .input-field{margin:6px 0 0;min-height:45px}.bank-clear-filters{margin-top:8px}
.bank-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 2px 28px;background:#f0f2e9;border:1px solid #e2e8dc;border-radius:17px;overflow:hidden}
.bank-overview>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:78px;padding:10px 5px;gap:1px;text-align:center}
.bank-overview>div+div{border-right:1px solid #dce4d8}
.bank-overview strong{font-size:20px;line-height:1.5;font-weight:700;color:#285441}
.bank-overview span{font-size:10px;color:#67796b}
.bank-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px 13px}
.bank-list-heading h2{font-size:18px;font-weight:700;color:#29473a}
.bank-list-heading>span{font-size:11px;color:#718273}
.bank-list{display:flex;flex-direction:column;gap:12px}
.bank-entry{display:flex;align-items:flex-start;gap:15px;min-width:0;padding:20px 21px;background:#fffefb;border:1px solid #e1e7dc;border-radius:19px;box-shadow:0 3px 14px #213a2f06;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bank-entry:hover{transform:translateY(-2px);border-color:#b9cebb;box-shadow:0 9px 24px #213a2f12}
.bank-entry:focus-visible{outline:3px solid #b48648;outline-offset:3px}
.bank-entry-latest{border-right:4px solid #7d9f79}
.bank-entry-symbol{width:43px;height:43px;flex:none;display:grid;place-items:center;background:#e9f0e6;color:#3a7055;border-radius:13px;font-size:25px;line-height:1}
.bank-entry-content{display:flex;flex-direction:column;min-width:0;flex:1}
.bank-entry-top{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin:0 0 5px}
.bank-entry-date{color:#718476;font-size:10px}
.bank-entry-status{max-width:100%;font-size:10px;line-height:1.7;color:#526d57;background:#edf3e9;border-radius:20px;padding:3px 9px}
.bank-entry-status.status-queued,.bank-entry-status.status-processing{background:#f6f0e2;color:#806b40}
.bank-entry-status.status-failed,.bank-entry-status.status-needs_input{background:#f8ece6;color:#966346}
.bank-entry strong{font-size:17px;font-weight:700;line-height:1.7;color:#253f34;overflow-wrap:anywhere}
.bank-entry-excerpt{color:#627468;font-size:12px;line-height:2;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:5px 0 14px}
.bank-entry-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-top:11px;border-top:1px solid #edf0e9;color:#768779;font-size:10px;flex-wrap:wrap}
.bank-entry-open{color:#3b7256;font-weight:650;white-space:nowrap}
.bank-empty{padding:45px 20px;text-align:center;border:1px dashed #cbd9ca;border-radius:19px;background:#fffefa;color:#6f8172}
.bank-empty>span{font-size:38px;color:#88a286;line-height:1}
.bank-empty h3{font-size:16px;color:#2d4b3b;margin:10px 0 5px}
.bank-empty p{font-size:12px}
.bank-empty a{display:inline-block;margin-top:18px;font-size:12px;font-weight:700;color:#2f7051;text-decoration:underline;text-underline-offset:4px}
.bank-pending{margin-bottom:26px}.bank-pending h2{font-size:13px;margin-bottom:10px;color:#755c3e}
.bank-pending .memory-card{min-height:0;margin-bottom:10px;background:#fbf7ee;border-color:#e9ddc9}
.bank-pending .memory-card h3{font-size:14px}.bank-pending .memory-card p{font-size:12px;margin:5px 0 12px}
@media(max-width:560px){.bank-cover{min-height:236px;padding:25px 23px}.bank-cover h1{font-size:30px}.bank-cover p{font-size:12px;max-width:260px}.bank-cover-art{left:-32px;top:39px;transform:rotate(-10deg) scale(.8);opacity:.68}.bank-cover-copy{max-width:280px}.bank-entry{padding:17px;gap:11px}.bank-entry-symbol{width:37px;height:37px;font-size:22px}.bank-entry strong{font-size:16px}}
@media(max-width:390px){.bank-cover{padding:22px 19px}.bank-cover-copy{max-width:240px}.bank-cover-art{left:-53px;opacity:.5}.bank-entry-top{align-items:flex-start}.bank-overview span{font-size:9px}}
/* ROOZ_BANK_DESIGN_END */

/* ROOZ_COMPACT_CAPTURE_START */
@media(max-width:640px){
  .capture-page.composer{padding-top:0}
  .capture-page .capture-heading{margin-bottom:12px}
  .capture-page .capture-eyebrow{font-size:10px;margin-bottom:1px}
  .capture-page .capture-heading h1{font-size:26px;line-height:1.35;margin-bottom:1px}
  .capture-page .capture-heading>p:last-child{font-size:11px;line-height:1.6}
  .capture-prompt{padding:12px 13px;margin-bottom:10px}.capture-prompt>p{font-size:13px;margin-bottom:9px}.capture-prompt>div{display:grid;grid-template-columns:1fr 1fr}.capture-prompt>div .text-button{grid-column:1/-1}.capture-prompt .primary,.capture-prompt .secondary{width:100%}
  .capture-page .capture-modes{padding:4px;margin-bottom:10px;border-radius:12px}
  .capture-page .capture-modes button{min-height:39px;padding:5px;font-size:12px}
  .capture-page .capture-sheet{padding:14px 17px;border-radius:18px}
  .capture-page .capture-title-help{font-size:11px;line-height:1.65;margin:6px 0 14px}
  .capture-page .capture-recorder{padding:0 0 6px}
  .capture-page .capture-wave{height:20px;margin:0 0 13px}
  .capture-page .capture-wave span:nth-child(5n){height:18px}
  .capture-page .capture-record{width:94px;height:94px;min-height:94px;padding:11px;gap:3px;margin:0 auto 18px;font-size:12px;box-shadow:0 0 0 8px #edf2e9,0 10px 22px #245e4a26}
  .capture-page .capture-record svg{width:24px;height:24px}
  .capture-page .capture-record-title{font-size:15px;margin:0}
  .capture-page .capture-record-clock{font-size:12px;margin:1px 0}
  .capture-page .capture-record-help{font-size:10px;line-height:1.6;max-width:290px}
  .capture-page .capture-voice-note{margin-top:7px;padding-top:5px}
  .capture-page summary{min-height:27px;padding-block:2px}
  .capture-page .capture-voice-note summary{font-size:11px}
  .capture-page .capture-writing{min-height:155px;font-size:14px;line-height:1.85}
  .capture-page .capture-voice-note .capture-writing{min-height:82px}
  .capture-page .capture-submit-row{padding-top:10px}
  .capture-page .capture-assurance{font-size:10px;margin:7px 2px 0;line-height:1.6}
  .capture-page .capture-recent-heading{margin:7px 0 0}
  .capture-page .capture-recent-heading h2{font-size:11px}
  .capture-page .capture-recent-heading a{min-height:29px;font-size:10px}
  .capture-page .capture-recent{gap:9px;padding:8px 0 9px}
  .capture-page .capture-page-icon{width:32px;height:34px;border-radius:9px}
  .capture-page .capture-page-icon svg{width:16px;height:16px}
  .capture-page .capture-recent strong{font-size:12px;margin:0}
  .capture-page .capture-recent>span:last-child>span{font-size:10px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
  .capture-page .capture-recent small{font-size:9px;margin-top:1px}
  .capture-page .capture-empty{padding:9px 0;font-size:11px}
}
/* ROOZ_COMPACT_CAPTURE_END */

/* PRETEST_QUALITY_A04_A07_START */
.mode-switch button:not(.active){color:#42594b}
.capture-title-details{margin-top:16px;padding-top:12px;border-top:1px solid #e5e8de}
.capture-title-details summary,.bank-filter-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:7px;color:#3f5d4b;font-size:13px;font-weight:650}
.capture-title-details summary span{font-weight:400;color:#637568}
.capture-title-details .input-field{margin:8px 0 4px}
.bank-filter-details{margin-top:8px}
.bank-filter-details summary span{background:#e7efe4;color:#315d46;border-radius:20px;padding:2px 8px;font-size:12px}
.edit-draft-banner,.edit-conflict{padding:14px 16px;margin:12px 0;border-radius:13px;background:#edf3e8;color:#345743;font-size:13px;line-height:2}
.edit-conflict{background:#faf1e5;color:#704f2f}
.edit-conflict p{margin:5px 0 10px}
.recovery-box{padding:15px 17px;margin:16px 0;border:1px solid #eadbc6;border-radius:14px;background:#fbf4e8;color:#654b33;font-size:13px;line-height:2}.recovery-box .secondary{margin:8px 0 0 8px}
.time-reference-details{margin:-8px 0 16px;padding:8px 0}.time-reference-details summary{cursor:pointer;min-height:44px;font-size:13px;color:#496453}
.bank-cover{min-height:190px}.bank-cover-art{height:160px;top:18px;transform:rotate(-10deg) scale(.82)}
.bank-cover p{line-height:1.8}.bank-search{margin-top:19px}
.bank-cover-eyebrow{font-size:12px}
h1[tabindex="-1"]:focus{outline:none}
.bank-overview-after{margin-top:24px;margin-bottom:8px}
.capture-prompt .primary,.capture-prompt .secondary,.capture-prompt .text-button{font-size:12px}
.capture-page .capture-record-help,.capture-page .capture-assurance,.capture-page .capture-recent small,.capture-page .capture-title-help,
.bank-overview span,.bank-entry-date,.bank-entry-status,.bank-entry-foot,.bank-list-heading>span,.bank-filter-grid label,
.detail-meta,.period-label,.edit-help,.source-box small,.settings-identity p,.setting-row small,.setting-row .tag,
#navigation:not([hidden]) a{font-size:12px}
@media(max-width:640px){
  .capture-page .capture-eyebrow,.capture-page .capture-heading>p:last-child,.capture-page .capture-title-help,
  .capture-page .capture-record-help,.capture-page .capture-assurance,.capture-page .capture-recent-heading h2,
  .capture-page .capture-recent-heading a,.capture-page .capture-recent>span:last-child>span,.capture-page .capture-recent small,
  .capture-page .capture-empty,.capture-page .capture-voice-note summary{font-size:12px}
  .bank-cover{min-height:174px;padding:21px 22px}.bank-cover-art{transform:rotate(-10deg) scale(.65);top:18px}.bank-cover h1{font-size:28px}
}
@media(max-width:390px){.bank-overview span,#navigation:not([hidden]) a{font-size:12px}.bank-filter-grid{grid-template-columns:1fr}.bank-cover-copy{max-width:260px}}
/* PRETEST_QUALITY_A04_A07_END */

/* ROOZ_PEOPLE_DESIGN_START */
.people-page{padding:10px 0 24px;min-width:0}
.people-intro{position:relative;isolation:isolate;min-height:213px;overflow:hidden;padding:26px 29px;border-radius:23px;background:linear-gradient(135deg,#e1eadc,#f0eee3 70%);border:1px solid #dce6d8}
.people-intro:before{content:"";position:absolute;width:310px;height:310px;border:1px solid #cbd9c7;border-radius:50%;left:-130px;top:-140px;z-index:-1}
.people-intro:after{content:"";position:absolute;width:235px;height:235px;border:1px solid #d5dfcd;border-radius:50%;left:-87px;top:-100px;z-index:-1}
.people-eyebrow{display:block;font-size:11px;color:#6a8067;margin-bottom:8px}
.people-intro h1{font-size:30px;line-height:1.5;letter-spacing:-.7px;color:#254a39;font-weight:750;margin-bottom:7px}
.people-intro p{max-width:350px;font-size:13px;line-height:2;color:#5e7464}
.people-intro-art{position:absolute;width:150px;height:125px;left:30px;bottom:20px;z-index:-1}
.people-intro-art i{position:absolute;display:block;border:3px solid #f8f8ee;border-radius:50%;width:60px;height:60px;background:#b1c6a6;box-shadow:0 5px 14px #46614a21}
.people-intro-art i:before{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#edf2e6;top:10px;left:18px}
.people-intro-art i:after{content:"";position:absolute;width:33px;height:16px;border-radius:28px 28px 10px 10px;background:#edf2e6;bottom:7px;left:10px}
.people-intro-art i:nth-child(1){left:3px;top:32px;transform:rotate(-9deg);background:#a3bda0}
.people-intro-art i:nth-child(2){left:48px;top:2px;width:68px;height:68px;background:#69957b;z-index:2}
.people-intro-art i:nth-child(2):before{left:23px}.people-intro-art i:nth-child(2):after{left:15px}
.people-intro-art i:nth-child(3){left:88px;top:41px;transform:rotate(10deg);background:#c9b28d}
.people-summary{display:flex;align-items:center;gap:13px;padding:14px 17px;margin:16px 2px 23px;background:#fffefb;border:1px solid #e0e7dc;border-radius:16px}
.people-summary-mark{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:12px;background:#eaf1e7;color:#386e51;font-size:24px;line-height:1}
.people-summary strong,.people-summary small{display:block}
.people-summary strong{font-size:14px;color:#284a38}.people-summary small{font-size:11px;color:#708171;margin-top:1px}
.people-search{margin:0 2px 21px}.people-search label{display:block;font-size:13px;font-weight:650;color:#2c4938;margin-bottom:8px}
.people-search-field{display:flex;align-items:center;gap:10px;min-height:48px;background:#fffefb;border:1px solid #dce5d9;border-radius:14px;padding:0 14px}
.people-search-field:focus-within{border-color:#719782;box-shadow:0 0 0 3px #71978222}
.people-search-field>span{font-size:25px;color:#64846a;line-height:1;transform:rotate(-20deg)}
.people-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px;min-height:46px;color:#244232}
.people-search-field input::placeholder{color:#899789}
.people-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 12px}
.people-list-heading h2{font-size:17px;color:#294b39}.people-list-heading>span{font-size:11px;color:#788775}
.people-list{display:flex;flex-direction:column;gap:10px}
.people-card{display:flex;align-items:center;gap:14px;min-width:0;min-height:76px;padding:12px 15px;background:#fffefb;border:1px solid #e1e8dc;border-radius:16px;box-shadow:0 3px 13px #28433106;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.people-card:hover{transform:translateY(-2px);border-color:#b6cbb5;box-shadow:0 9px 22px #25433110}
.people-card:focus-visible{outline:3px solid #b48648;outline-offset:3px}
.people-avatar{width:47px;height:47px;flex:none;display:grid;place-items:center;border-radius:15px;background:#e5efe1;color:#2d6b4b;font-size:22px;font-weight:700;line-height:1}
.people-card:nth-child(3n+2) .people-avatar{background:#f1e9dd;color:#966b44}
.people-card:nth-child(3n+3) .people-avatar{background:#e6eae0;color:#657f5d}
.people-card-copy{display:flex;flex-direction:column;min-width:0;flex:1}.people-card-copy strong{font-size:15px;line-height:1.6;color:#284439;overflow-wrap:anywhere}
.people-card-copy small{font-size:11px;color:#728273}.people-card-arrow{font-size:19px;color:#6d9878;flex:none}
.people-empty{text-align:center;padding:32px 23px;background:#fffefb;border:1px dashed #cfdcca;border-radius:18px;color:#6d7e6f}
.people-empty>span{font-size:35px;color:#94ac8d}.people-empty h2{font-size:16px;color:#2e503b;margin:5px 0}
.people-empty p{font-size:12px;line-height:2}.people-empty a{display:inline-block;margin-top:16px;color:#2f7350;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.people-no-match{padding:22px;text-align:center;background:#fffefb;border:1px dashed #d4dfd0;border-radius:15px;color:#687b6b;font-size:12px}
.people-history .source-box{margin-top:23px;background:#fafbf6}.people-history .source-box summary{font-size:12px;color:#446b50}
.people-loading{padding:25px 5px;color:#6a7c6c;font-size:12px}
.person-back{display:inline-flex;min-height:36px;align-items:center;color:#57755c;font-size:12px;margin-bottom:8px}
.person-cover{display:flex;align-items:center;gap:18px;padding:25px;background:linear-gradient(125deg,#264f3d,#3f6e52);border-radius:21px;color:#fffdf6}
.person-cover .people-avatar{width:65px;height:65px;background:#f0e9d8;color:#3a674e;font-size:30px;border-radius:19px}
.person-cover .people-eyebrow{color:#d2e5d2;margin:0}.person-cover h1{font-size:25px;line-height:1.6;color:#fffefb;overflow-wrap:anywhere}.person-cover p{font-size:11px;color:#e0eddf}
.person-memories,.person-facts{margin-top:24px}.person-memories h2,.person-facts h2{font-size:16px;color:#294a39;margin-bottom:11px}
.person-memory-list{display:flex;flex-direction:column;gap:10px}.person-memory-card{display:flex;flex-direction:column;gap:5px;padding:16px 18px;background:#fffefb;border:1px solid #e0e7db;border-radius:15px}
.person-memory-card:hover{border-color:#a9c8ad}.person-memory-card strong{font-size:14px;color:#294637}.person-memory-card>span{font-size:11px;line-height:1.9;color:#687b6b;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.person-memory-card small{font-size:10px;font-weight:650;color:#397a55;margin-top:3px}
.person-edit,.person-tools .source-box{background:#fffefb}.person-edit summary,.person-tools summary{font-size:12px;color:#456b50}
.person-edit form{margin-top:14px}.person-edit .input-field{margin-bottom:9px}
@media(max-width:480px){.people-intro{min-height:201px;padding:23px 21px}.people-intro h1{font-size:26px}.people-intro p{max-width:245px;font-size:11px}.people-intro-art{left:-20px;bottom:7px;transform:scale(.76);opacity:.75}.people-summary{padding:12px}.people-summary small{font-size:10px}.people-card{gap:11px;padding:11px 12px}.people-avatar{width:42px;height:42px;font-size:20px}.person-cover{padding:21px;gap:13px}.person-cover .people-avatar{width:54px;height:54px;font-size:25px}.person-cover h1{font-size:22px}}
/* ROOZ_PEOPLE_DESIGN_END */

.missing-person{margin:7px 0 22px;min-width:0}
.missing-person summary{display:inline-flex;align-items:center;min-height:42px;cursor:pointer;color:#326c4c;font-size:12px;font-weight:650;list-style:none;text-decoration:underline;text-underline-offset:4px}
.missing-person summary::-webkit-details-marker{display:none}
.missing-person summary::before{content:'+';font-size:18px;line-height:1;margin-left:8px;text-decoration:none}
.missing-person[open] summary::before{content:'−'}
.missing-person form{padding:16px 18px 18px;background:#fffefb;border:1px solid #e0e7dc;border-radius:14px}
.missing-person form p{font-size:11px;line-height:1.9;color:#687b6d;margin:0 0 13px}
.missing-person .input-field{margin-bottom:11px}
.missing-person .primary{min-height:44px}
.memory-changes h3{font-size:13px;color:#355842;margin:15px 0 4px}
.memory-changes p{margin-top:7px}
@media(max-width:480px){.missing-person form{padding:14px}.missing-person .primary{width:100%}}
.memory-edit{min-width:0}
.memory-edit .account-back{margin-bottom:8px}
.memory-edit-guidance{margin:9px 0 19px;padding:12px 15px;border-radius:12px;background:#edf3ea;color:#426750;font-size:12px;line-height:1.9}
.memory-edit .edit-writing{display:block;min-height:190px;max-height:55vh;overflow:auto;resize:vertical;border:1px solid #dfe3d6;border-radius:11px;background:#fbfcf7;padding:12px 14px;line-height:1.9;margin-bottom:18px}
.memory-edit-footnote{font-size:11px;line-height:1.9;color:#68796c;margin:2px 0 15px}
@media(max-width:480px){.memory-edit .edit-writing{min-height:170px;max-height:48vh}.memory-edit .primary{width:100%}}
@media(max-width:480px){.bank-filter-grid{grid-template-columns:1fr}.bank-filter-grid .input-field{margin-bottom:0}}

/* Account, guidance and feedback */
.account-page,.info-page{width:100%;max-width:720px;min-width:0;margin-inline:auto;padding:8px 0 32px;color:#284539}
.account-page *,.info-page *{min-width:0;box-sizing:border-box}
.account-header{padding:8px 4px 20px}.account-header>span{color:#8b6b4c;font-size:12px}.account-header h1,.info-page h1{font-size:clamp(27px,5vw,36px);line-height:1.5;margin:3px 0 5px;color:#254737}.account-header p,.account-card p,.info-page p,.info-page li{font-size:14px;line-height:1.9;color:#617267;overflow-wrap:anywhere}
.account-card,.info-page{background:#fffefb;border:1px solid #e2e8dc;border-radius:20px}
.account-card{padding:23px 24px}.account-card h2{font-size:19px;margin:0 0 3px;color:#294b39}.account-card p{margin:0 0 17px}
.account-action{display:block;width:100%;min-height:48px;text-align:center;white-space:normal;overflow-wrap:anywhere}
.account-status{margin:12px 2px 17px;padding:12px 15px;border-radius:13px;background:#eef3eb;color:#4d6c57;font-size:12px;line-height:1.8}
.account-links{display:grid;gap:8px}.account-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:11px 16px;border:1px solid #e0e7dc;border-radius:13px;background:#fffefb;color:#2b503c;font-size:14px;font-weight:650;text-decoration:none}.account-links a span{flex:none;color:#76927b}
.account-footer{display:grid;gap:12px;margin-top:20px}.account-password{border:1px solid #e0e7dc;border-radius:13px;background:#fffefb}.account-password summary{cursor:pointer;display:flex;align-items:center;min-height:52px;padding:12px 16px;color:#2b503c;font-size:14px;font-weight:650;list-style:none}.account-password summary::-webkit-details-marker{display:none}.account-password summary::before{content:'+';font-size:19px;line-height:1;margin-left:12px;color:#759079}.account-password[open] summary::before{content:'−'}.account-password-form{border-top:1px solid #e8ede4;padding:12px 16px 19px}.account-password-form p{font-size:12px;line-height:1.8;color:#687b6d}.account-password-form .input-field{width:100%;margin:0 0 11px}.account-password-form .primary{width:100%;min-height:46px;margin-top:5px}
.account-inline-link{display:inline-block;margin-top:8px;color:#32694b;text-decoration:underline;text-underline-offset:4px;font-size:13px}.info-page{padding:24px 28px 30px}.info-page h2{font-size:17px;margin:21px 0 6px;color:#294b39}.info-page ol{padding-inline-start:23px}.info-page li{margin-bottom:10px}.info-page li a{color:#306a4b;text-decoration:underline}.account-back{display:inline-flex;align-items:center;min-height:35px;color:#52755a;font-size:13px;text-decoration:none}.feedback-page form{display:grid;gap:8px}.feedback-page .field-label{margin:0}.account-feedback-textarea{display:block;width:100%;min-height:112px;padding:12px 14px;border:1px solid #dce4d8;border-radius:13px;background:#fff;color:#243f32;font:inherit;font-size:14px;line-height:1.8;resize:vertical}.account-feedback-textarea:focus-visible,.account-links a:focus-visible,.account-password summary:focus-visible,.account-back:focus-visible{outline:3px solid #b48648;outline-offset:2px}.feedback-page .input-field{width:100%}.feedback-page .small-notice{margin:4px 0}.feedback-page .account-action{margin-top:4px}
@media(max-width:600px){.account-page,.info-page{width:100%;padding-inline:0}.account-header{padding:4px 2px 15px}.account-card{padding:18px}.account-card h2{font-size:17px}.account-header p,.account-card p,.info-page p,.info-page li{font-size:12px}.account-links a,.account-password summary{font-size:13px}.info-page{padding:18px 17px 25px}.account-status{font-size:11px}}

/* Human pilot feedback: readable optional prompt and a short first-use guide. */
.capture-prompt>div{display:flex;flex-wrap:wrap}.capture-prompt .secondary{min-height:48px;padding:10px 24px;font-size:15px;font-weight:700}.quick-guide{background:#fff;border:1px solid #dae3d8;border-radius:22px;padding:24px;margin:16px 0}.quick-guide>span{color:#68796d;font-size:13px}.quick-guide h2{font-size:25px;color:#164e50}.quick-guide ol{list-style:none;padding:0;display:grid;gap:16px}.quick-guide li{display:grid;gap:5px;border-right:3px solid #aac1ad;padding:4px 14px}.quick-guide li span{line-height:1.9;color:#53695c}.quick-guide>.primary{min-height:48px;width:100%}.capture-recorder [data-action="pause-recording"]{margin:12px auto;display:block}.capture-recorder [data-action="resume-recording"]{margin:10px auto}.quick-guide strong{font-size:16px}
.capture-recorder [hidden]{display:none!important}

.memory-photos{margin-block:24px;padding:18px;border:1px solid var(--line,#dce2d5);border-radius:18px}.memory-photos h2{font-size:1.1rem}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}.photo-grid figure{margin:0;min-width:0}.photo-grid img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:12px}.photo-picker{display:flex;align-items:center;justify-content:center;cursor:pointer;margin-block:12px}.photo-picker input{position:absolute;width:1px;height:1px;opacity:0}.photo-picker:focus-within{outline:2px solid #215a48;outline-offset:3px}

.memory-import{margin-block:18px;padding:14px 18px;border:1px solid #dce2d5;border-radius:18px}.memory-import summary{cursor:pointer;font-weight:600}.memory-import p{overflow-wrap:anywhere}

.memory-photos summary{cursor:pointer;font-weight:600}.memory-photos summary .optional-label{font-weight:400;font-size:.85em}

/* Photos remain reachable after automatic voice registration. */
.memory-photos {margin:16px 0;padding:12px 0;border-block:1px solid #e0e5d9}
.memory-photos>details {font-size:.85rem;margin-bottom:8px}
.photo-picker {display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;min-height:48px}
.bank-view-tabs {display:flex;gap:8px;margin:20px 0}
.bank-view-tabs>a {flex:1;text-align:center}
.bank-view-tabs [aria-current] {background:#214e41;color:white}
.gallery-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gallery-card {min-width:0;background:white;border:1px solid #dce3d7;border-radius:16px;padding:8px;color:#214e41;font:inherit;text-align:right}
.gallery-card strong,.gallery-card>span {display:block;overflow-wrap:anywhere}
.gallery-card>span:last-child {font-size:.8rem;color:#6b786e}
.gallery-preview {aspect-ratio:1;display:flex!important;align-items:center;justify-content:center;overflow:hidden;background:#edf1e9;border-radius:10px;font-size:.75rem}
.gallery-preview img {width:100%;height:100%;object-fit:cover}
.photo-viewer {width:min(92vw,880px);max-height:90dvh;box-sizing:border-box;border:0;border-radius:20px;background:#faf9f5;color:#214e41;padding:16px;direction:rtl;overflow:auto;font:inherit}
.photo-viewer::backdrop {background:#102b24bd}
.photo-viewer header,.viewer-navigation {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.viewer-image {height:48dvh;overflow:auto;text-align:center;direction:ltr}
.viewer-image img {width:100%;height:100%;object-fit:contain}
.viewer-image.zoomed img {width:200%;height:auto;max-width:none}
.viewer-caption textarea {display:block;box-sizing:border-box;width:100%;min-height:70px;border:1px solid #dce3d7;border-radius:10px;padding:10px;font:inherit}
.viewer-audio audio {width:100%;margin:16px 0}
@media(min-width:760px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* M07 current-product audit: readable secondary text and compact photo previews. */
.bank-clear-filters[hidden]{display:none!important}
.account-contact-slot[hidden],.account-contact-slot [hidden],.login-page #login[hidden],.login-page #login-instruction[hidden],.login-page #login-access-help[hidden]{display:none!important}
.account-contact-flow{margin-top:16px;padding-top:16px;border-top:1px solid #e0e7dc}
.account-contact-flow h2{font-size:20px;line-height:1.5}.account-contact-flow p,.account-verified-contacts p{overflow-wrap:anywhere}
.account-contact-flow .input-field{display:block;width:100%;box-sizing:border-box;margin-bottom:14px;min-height:48px}
.account-contact-flow .field-label{display:block}.account-contact-flow button{display:block;min-height:46px;max-width:100%;width:100%;white-space:normal;margin-top:10px}
.account-contact-flow .account-inline-link{background:transparent;border:0;text-align:center}
.login-value{background:#edf3ea;border-radius:14px;padding:14px 16px;line-height:1.9;margin-block:12px}
.memory-photos h2{font-size:15px;margin-bottom:8px}
.detail-paper .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.detail-paper .photo-grid img{height:140px;object-fit:cover}
.detail-paper .photo-grid [role=button]{border-radius:12px;overflow:hidden}
.photo-viewer header{flex-wrap:wrap}
.photo-viewer [role=status]{display:block;font-size:13px;line-height:1.8;margin-block:8px}
.photo-viewer .viewer-caption .primary{margin-top:10px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:3px solid #82622e;outline-offset:3px}
@media(max-width:600px){
 .account-header p,.account-card p,.info-page p,.info-page li{font-size:14px}
 .account-status,.memory-edit-guidance,.memory-edit-footnote,.capture-record-help,.capture-title-help,.capture-assurance,.small-notice,.memory-photos>details,.bank-entry-date,.bank-entry-status{font-size:13px;line-height:1.85}
 .capture-prompt>p,.capture-prompt small,.capture-eyebrow,.capture-heading>p,.capture-empty,.capture-audio-ready{font-size:13px}
 .gallery-card>span:last-child,.gallery-preview{font-size:13px}
 .photo-viewer .secondary{padding:10px 12px;font-size:13px}
}

@media(max-width:600px){
 .people-intro p,.people-summary small,.people-empty p,.person-memory-card>span,.person-memory-card small,.person-cover p,.missing-person form p,.memory-changes p,.source-box summary,.account-password-form p{font-size:13px;line-height:1.85}
 .input-field,.capture-writing,.account-feedback-textarea,.bank-search-field input,.people-search-field input,.viewer-caption textarea{font-size:16px}
 .memory-import .small-notice,.memory-photos .small-notice{font-size:13px}
}

:root{--muted:#616d64}
.source-box p,.source-box small,.source-box summary{color:#526653}
@media(max-width:600px){.capture-page .capture-writing{font-size:16px}.source-box p,.source-box small{font-size:13px}}

.processing-progress{padding:14px 16px;margin:12px 0;border-radius:13px;background:#edf3ea;color:#284f3e;font-size:14px;line-height:1.9}
.photo-viewer.photo-fullscreen{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0;padding:14px;inset:0}
.photo-viewer.photo-fullscreen .viewer-image{height:calc(100dvh - 170px)}
.photo-viewer.photo-fullscreen header{position:sticky;top:0;background:#faf9f5;z-index:1}

/* Compact, thumbnail-backed photo previews; the full image opens on tap. */
.memory-photos .photo-grid,.detail-paper .photo-grid{display:flex;flex-wrap:wrap;gap:12px;padding-block:8px}
.memory-photos .photo-grid figure{position:relative;flex:0 0 88px;width:88px;padding-top:48px}
.memory-photos .photo-thumb{display:block;width:88px;height:88px;padding:0;border:1px solid var(--line,#dce2d5);border-radius:12px;overflow:hidden;background:#edf1e8;cursor:pointer;font-size:.7rem}
.memory-photos .photo-grid .photo-thumb img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.memory-photos .photo-remove{position:absolute;top:0;inset-inline-end:0;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;cursor:pointer;z-index:1}
.memory-photos .photo-remove span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:#8e3c2e;box-shadow:0 1px 5px #0003;font-size:23px;line-height:1}
.memory-photos .photo-move{display:block;margin-inline:auto;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--green,#214f43);font-size:22px;cursor:pointer}
.memory-photos .photo-thumb:focus-visible,.memory-photos .photo-remove:focus-visible{outline:3px solid #bd945c;outline-offset:2px}
.draft-photo-viewer .viewer-image{height:min(65dvh,700px)}
.life-page>header p{margin-block:8px 4px}
.life-add .collection-options{max-height:260px;overflow:auto;margin-block:12px}
.life-auto-status{font-size:13px;color:var(--muted);margin-block:12px 20px;line-height:1.85}
.life-auto-status button{display:block;margin-top:6px}
.life-settings{margin-top:24px}
.life-settings>summary{font-weight:600;min-height:44px;cursor:pointer}
.life-settings .source-box{margin-block:14px}
.memory-loading{display:flex;align-items:center;gap:10px;position:sticky;top:12px;z-index:2;background:#edf3e9;border:1px solid #d4e2cd;border-radius:12px;padding:14px 16px;line-height:1.9;font-size:14px}
.loading-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--green);animation:loading-pulse 1.2s ease-in-out infinite}
@keyframes loading-pulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.loading-dot{animation:none}}

.review-page{max-width:840px;margin:auto;padding:20px;overflow-wrap:anywhere}
.review-page header{margin:16px 0 24px}.review-page h1{margin:12px 0}.review-intro,.review-card{border:1px solid #dce2d5;border-radius:18px;padding:18px;margin-block:14px;background:#fff}
.review-card h3{margin:0 0 8px}.review-time{color:#747c70;font-size:.9rem}.review-actions{display:flex;flex-wrap:wrap;gap:8px}.review-actions>*{min-height:44px;max-width:100%}.review-bank-link{margin-bottom:16px}.review-section{margin-block:24px}.review-page .source-box{margin-block:18px}.review-page .source-box button{margin:8px}
@media(max-width:480px){.review-page{padding:12px}.review-card{padding:14px}.review-actions>*{flex:1 1 145px}}

.bank-extra-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.bank-extra-links a{margin:0;max-width:100%}.collection-page{max-width:840px;margin:auto;padding:20px;overflow-wrap:anywhere}.collection-order{padding:0;list-style-position:inside}.collection-order li{background:#fff;border:1px solid #dce2d5;border-radius:16px;padding:16px;margin-block:12px}.collection-order li>span{display:block;color:#737e72;font-size:.9rem}.collection-options label,.collection-consent{display:flex;gap:12px;align-items:flex-start;padding:12px}.collection-options small{display:block;color:#737e72}.collection-options input,.collection-consent input{width:22px;height:22px;flex-shrink:0;margin-top:6px}.collection-download{margin-block:24px;padding:18px;border:1px solid #dce2d5;border-radius:18px}.collection-page button{min-height:44px}@media(max-width:480px){.collection-page{padding:12px}.collection-download{padding:14px}.bank-extra-links a{flex:1 1 180px}}
.life-page{max-width:860px;margin:auto}.life-page h1,.life-page h2,.life-page h3{overflow-wrap:anywhere}.life-event{border:1px solid var(--line,#dce2d5);border-radius:20px;padding:22px;margin-block:20px;background:#fff}.life-event header{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.life-event header span{font-size:.85rem;color:#68776c}.life-narrative{white-space:pre-wrap;overflow-wrap:anywhere}.life-page form{margin-block:20px}.life-page textarea{min-height:140px}.life-page .input-field{width:100%;max-width:100%;box-sizing:border-box}.life-page blockquote{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.life-page .source-box{overflow-wrap:anywhere}.life-page button{max-width:100%;white-space:normal}@media(max-width:480px){.life-event{padding:16px}.life-page .collection-options{max-height:320px;overflow:auto}}

/* Approved FasleMan identity; recording/navigation layout unchanged. */
.fasleman-brand{gap:10px;flex-shrink:0}.fasleman-brand .brand-symbol{width:42px;height:38px;object-fit:contain}.fasleman-brand .brand-wordmark{width:132px;height:39px;object-fit:contain}@media(max-width:380px){.fasleman-brand .brand-symbol{width:36px;height:34px}.fasleman-brand .brand-wordmark{width:116px;height:34px}}

.life-page .bank-cover-eyebrow{color:#486c62}

.google-account-slot[hidden]{display:none!important}
.google-account-slot{min-width:0;margin-block:1rem}
.google-entry-launch{display:flex;justify-content:center;min-width:0}
.google-entry-launch button{width:min(100%,360px);min-height:48px;white-space:normal}
.google-account-slot [data-google-button]:empty,.google-account-slot [role=status]:empty{display:none}
.identity-queue{margin-block:18px;min-width:0}
.identity-queue>summary{min-height:44px;display:flex;align-items:center}
.identity-queue-group{margin-block:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.identity-queue-group>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;min-height:48px;cursor:pointer;font-weight:650}
.identity-queue-group>summary span{font-size:12px;font-weight:400;white-space:nowrap}
.identity-queue-group form{padding:12px;min-width:0}
.identity-queue-occurrence{padding-block:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.identity-queue-occurrence>label,.identity-queue-spelling{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.identity-queue input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:var(--green)}
.identity-queue blockquote{margin:8px 0;padding-inline:12px;border-inline-start:2px solid var(--line);font-size:14px;line-height:1.9}
.identity-queue-spelling{margin-block:16px;font-size:13px}
.identity-queue-spelling small{display:block;color:var(--muted);margin-top:4px}
.identity-queue select{max-width:100%;width:100%;text-overflow:ellipsis}
.identity-queue select:focus-visible{outline:3px solid #b48648;outline-offset:4px}
.identity-queue button{min-height:44px;max-width:100%;white-space:normal}
.identity-queue [hidden]{display:none!important}
.google-account-slot [data-google-button]{display:flex;justify-content:center;align-items:center;min-width:0;min-height:48px;max-height:48px;overflow:hidden}
/* GIS first paints an inline button before its iframe. Bound that interim SVG
   even when Google's stylesheet has not arrived yet. */
.google-account-slot [data-google-button] svg{width:20px;height:20px;flex-shrink:0}
.google-account-slot [data-google-button]>div{max-width:100%}
.login-page{max-width:480px;margin:24px auto;padding:28px;box-sizing:border-box}
.login-page h1{font-size:clamp(1.4rem,5vw,1.9rem);margin-block:0 16px}
.login-page .login-value{line-height:1.9;margin-block:0 24px}
.login-page #login-instruction{margin-bottom:12px}
.login-page .account-password{margin-block:24px 16px}
[data-erasure] form{display:grid;gap:14px;margin-block:16px}
[data-erasure] p{line-height:1.9;overflow-wrap:anywhere}
[data-erasure] .field-label{line-height:1.9}
[data-erasure] .danger-button{background:#9d3f32;color:#fff}
[data-erasure] button{max-width:100%;white-space:normal}
.login-page #login>.primary,.login-page #login p>.primary{width:100%;min-height:48px}
.login-page #legacy-login-status:empty{display:none}
@media(max-width:480px){.login-page{margin:12px auto;padding:24px 20px}}
.google-account-slot form{max-width:100%}
.google-account-slot p{overflow-wrap:anywhere}

/* Each person has separate, touch-sized edit and remove controls. */
.memory-person-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.memory-person-chip{display:inline-flex;align-items:center;border:1px solid var(--border,#81928b);border-radius:16px;overflow:hidden;max-width:100%}
.memory-person-chip>.secondary{border:0;box-shadow:none;border-radius:0;min-height:48px;overflow-wrap:anywhere}
.memory-person-remove{min-width:48px;min-height:48px;background:transparent;color:#993a30;border:0;cursor:pointer;font-size:1.4rem;flex:none}
.identity-question{position:relative;min-width:0;margin-block:1rem;padding:1rem}
.identity-question>.memory-person-remove{position:absolute;inset-inline-end:0;top:0}
.identity-question>blockquote{margin:1.8rem 0 1rem;overflow-wrap:anywhere}
.person-relation-choice{display:flex;align-items:start;gap:.5rem;margin-block:1rem;line-height:1.8}
.person-relation-choice input{width:24px;height:24px;flex:none}
[data-people-receipt]{margin-block:.6rem}

/* Optional native privacy controls share the account layout. */
.privacy-controls{margin-block:1rem;min-width:0}.privacy-controls h2,.privacy-promise h2{font-size:1.1rem}.privacy-lock-actions{display:flex;flex-wrap:wrap;gap:.6rem}.privacy-lock-actions button{min-height:48px;max-width:100%}.privacy-controls p,.privacy-promise p{overflow-wrap:anywhere}
