/* Source: styles.css */
@font-face{font-family:Onest;src:url('/static/assets/fonts/Onest-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Onest;src:url('/static/assets/fonts/Onest-SemiBold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{--green:#1c5b47;--green-dark:#164a3a;--green-soft:#edf4ef;--ink:#283b34;--muted:#67746d;--paper:#f4f4ef;--cream:#faf8f2;--line:#dde4dc;--orange:#dd7b29;--brown:#785340;--danger:#9d4037;--radius:16px;--shadow:0 3px 15px #233b2d06;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Onest,system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:3px solid #dd7b2980;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;line-height:1.24;letter-spacing:-.8px;font-weight:600}h2{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.35px}h3{font-size:17px;line-height:1.35;font-weight:600}h4{font-size:15px;font-weight:600}small,.small{font-size:12px}.muted{color:var(--muted)}.prose,.long-text,.post-text{text-align:justify;text-justify:inter-word;hyphens:auto;overflow-wrap:anywhere;line-height:1.65}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid transparent;background:transparent;border-radius:12px;color:var(--ink);flex:none}.icon-btn:hover{background:var(--green-soft);border-color:var(--line)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:9px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-weight:600;font-size:13px;text-align:center;white-space:normal;text-decoration:none;line-height:1.35}.btn:hover{text-decoration:none;border-color:#b7c8be;background:var(--green-soft)}.btn.primary,.btn-primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--green-dark)}.btn.secondary{background:var(--green-soft);color:var(--green);border-color:#d8e5dc}.btn.ghost{background:transparent;border-color:transparent;color:var(--green)}.btn.danger{color:var(--danger);border-color:#ecd4cf;background:#fff7f4}.btn .icon{width:18px;height:18px}.text-link{font-weight:600;font-size:13px;color:var(--green);background:none;border:0;padding:0}.text-link:hover{text-decoration:underline}.chip{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:var(--cream)}.badge{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:600;padding:5px 9px;border-radius:8px;background:#edf4ef;color:var(--green)}.badge.deceased{background:#f5ede7;color:var(--brown)}.badge.unknown{background:#f0f1ef;color:#69706b}.status-dot{width:7px;height:7px;background:currentColor;border-radius:50%}.avatar{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9eee5;color:var(--green);font-weight:600;flex:none;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.sm{width:34px;height:34px}.avatar.lg{width:92px;height:92px;font-size:32px}.topbar{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1540px;margin:auto;min-height:78px;padding:10px 28px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;width:270px;flex:none;font-size:16px;font-weight:600;line-height:1.32;color:var(--green)}.brand:hover{text-decoration:none}.brand img{width:38px;height:54px;object-fit:contain}.global-search{height:42px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:0 10px 0 13px;max-width:475px;flex:1}.global-search input{min-width:0;flex:1;border:0;background:transparent;outline:none;color:var(--ink);font-size:13px}.global-search:focus-within{border-color:var(--green)}.global-search .icon{width:18px;color:var(--muted)}.search-submit{border:0;background:transparent;color:var(--green);font-size:12px;font-weight:600;padding:9px 4px}.header-actions{margin-left:auto;display:flex;gap:5px;align-items:center}.header-actions .account-button{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:0 6px;font-weight:600;font-size:13px;color:var(--ink)}.notification-count{background:var(--orange);color:#fff;font-size:10px;border-radius:6px;padding:1px 4px}.dev-strip{font-size:11px;text-align:center;background:#ebece5;color:#6b746b;padding:4px 12px;letter-spacing:.15px}.app-layout{display:grid;grid-template-columns:246px minmax(0,760px) 268px;gap:24px;max-width:1440px;margin:0 auto;padding:28px 28px 64px}.sidebar{position:sticky;top:103px;align-self:start;max-height:calc(100vh - 115px);overflow:auto;padding-right:8px;scrollbar-width:thin}.nav-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);padding:21px 12px 9px}.nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:#586a5f;font-size:13px;margin:2px 0;line-height:1.4;min-height:42px}.nav-item .icon{width:20px;height:20px}.nav-item:hover{color:var(--green);background:#eaeee6;text-decoration:none}.nav-item.active{color:var(--green);background:#e1eade;font-weight:600}.sidebar-foot{padding:22px 12px;color:var(--muted);font-size:11px;display:grid;gap:10px;line-height:1.6}.sidebar-foot p{font-size:13px;margin-bottom:4px}.sidebar-foot span{font-size:10px}main{min-width:0;outline:none}.right-rail{display:grid;gap:18px;align-self:start;position:sticky;top:108px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-head{padding:19px 20px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.card-body{padding:20px}.card-head+.card-body{padding-top:14px}.card .card-body+.card-body{border-top:1px solid var(--line)}.stack{display:grid;gap:18px}.stack.small{gap:10px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar.spread{justify-content:space-between}.page-title{margin-bottom:22px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.page-title p{color:var(--muted);margin-top:8px;max-width:570px;font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--green);text-transform:uppercase;font-weight:600;margin-bottom:9px}.intro-title{margin-bottom:17px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:0 14px;overflow:auto;scrollbar-width:none}.tabs a,.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:15px 12px;color:var(--muted);white-space:nowrap;font-size:13px;line-height:1.3;border:0;border-bottom:3px solid transparent;background:transparent}.tabs .active,.tabs [aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}.tabs a:hover{color:var(--green);text-decoration:none}.form-field{display:grid;gap:6px;margin-bottom:15px}.form-field label{font-size:13px;font-weight:600}.form-field small{color:var(--muted);line-height:1.5}.form-field input,.form-field select,.form-field textarea,input.text-input,select.text-input,textarea.text-input{width:100%;min-height:42px;border:1px solid #d5ddd3;border-radius:9px;background:#fff;padding:10px 12px;color:var(--ink);font-size:14px}.form-field textarea{min-height:110px;resize:vertical;text-align:justify;hyphens:auto}.form-field input[type=checkbox],.form-field input[type=radio]{width:18px;min-height:18px;accent-color:var(--green)}.check-row{display:flex;align-items:flex-start;gap:10px;padding:13px 0;font-size:14px;border-bottom:1px solid var(--line)}.check-row input{width:18px;height:18px;accent-color:var(--green);margin-top:3px;flex:none}.check-row:last-child{border-bottom:0}.check-row small{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.5}.list-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);min-width:0}.list-row:last-child{border-bottom:0}.list-row .row-text{min-width:0;flex:1}.empty-state{text-align:center;padding:38px 25px;color:var(--muted);background:#fff;border:1px dashed #cdd8cc;border-radius:var(--radius)}.empty-state>.icon{width:36px;height:36px;color:#96aa96;margin-bottom:12px}.empty-state h3{color:var(--ink);margin-bottom:8px}.empty-state p{max-width:480px;margin:auto;font-size:13px}.note{padding:13px 15px;background:var(--cream);border-left:3px solid var(--orange);border-radius:0 8px 8px 0;font-size:12px;line-height:1.6;color:#6d6556}.error-box{padding:20px;background:#fff4ef;border:1px solid #ecd9cf;border-radius:12px}.loading{padding:60px;text-align:center;color:var(--muted)}.rail-title{font-size:15px;line-height:1.4;margin-bottom:12px}.rail-links{display:grid;gap:10px;font-size:12px}.rail-actions{margin-top:15px;display:flex;flex-wrap:wrap;gap:8px}.rail-mini{background:var(--green-soft);border:1px solid #dce6d8;border-radius:14px;padding:18px}.rail-mini h3{font-size:15px;margin-bottom:8px}.rail-mini p{font-size:12px;color:#617465;line-height:1.65}.rail-mini a{display:inline-flex;margin-top:13px}.rail-stat{display:flex;align-items:center;gap:10px}.rail-stat .icon{width:24px;height:24px}.divider{height:1px;background:var(--line);margin:18px 0}.image-credit{font-size:10px;color:var(--muted);padding:8px 10px;line-height:1.5}.photo-frame{display:block;width:100%;aspect-ratio:1.7;object-fit:cover;background:var(--cream)}dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:0 24px 80px #20372730}dialog::backdrop{background:#152c2380}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 21px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{font-size:20px}.modal-body{padding:23px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:80;padding:13px 20px;background:var(--green-dark);color:#fff;border-radius:12px;box-shadow:0 6px 30px #163b3720;max-width:min(600px,calc(100vw - 30px));font-size:13px}.skip-link{position:fixed;z-index:99;left:15px;top:0;transform:translateY(-120%);padding:10px;background:#fff;border:2px solid var(--green)}.skip-link:focus{transform:none}.mobile-menu,.mobile-nav{display:none}.summary-table{width:100%;border-collapse:collapse;font-size:13px}.summary-table th{text-align:left;font-weight:600;background:var(--green-soft)}.summary-table th,.summary-table td{padding:11px;border-bottom:1px solid var(--line);vertical-align:top}.inline-error{color:var(--danger);font-size:12px;margin:8px 0}.catalog-card{padding:21px;display:flex;gap:15px;align-items:flex-start}.catalog-card .catalog-symbol{background:var(--cream);border:1px solid var(--line);padding:12px;border-radius:12px;color:var(--green)}.catalog-card p{font-size:13px;color:var(--muted);margin:8px 0}.catalog-card .toolbar{margin-top:13px}.image-band{border-radius:14px;overflow:hidden;margin-bottom:20px}.image-band img{width:100%;max-height:260px;object-fit:cover;display:block}.memory-card .memory-date{font-size:12px;color:var(--brown);margin-bottom:10px}.memory-card .memory-photo{width:100%;max-height:390px;object-fit:contain;background:var(--cream);display:block}.memory-card .memory-text{font-size:15px;padding-top:12px}.off-note{margin-top:14px;font-size:12px;color:var(--muted)}.keyboard-key{border:1px solid var(--line);background:#f5f6f2;border-radius:5px;padding:2px 5px;font-size:10px}
.app-layout.wide-view{grid-template-columns:246px minmax(0,1fr)}.wide-view>.right-rail{display:none}
@media(min-width:1500px){.app-layout{grid-template-columns:254px minmax(0,800px) 278px;max-width:1460px}.app-layout.wide-view{grid-template-columns:254px minmax(0,1fr)}}
@media(max-width:1210px){.app-layout,.app-layout.wide-view{grid-template-columns:220px minmax(0,1fr);max-width:1120px}.right-rail{display:none}.brand{width:230px;font-size:15px}.topbar-inner{gap:20px}.sidebar{top:104px}}
@media(max-width:850px){.topbar-inner{padding:9px 18px;gap:15px}.brand{width:225px}.header-actions .account-name{display:none}.app-layout{grid-template-columns:190px minmax(0,1fr);gap:18px;padding:23px 18px}.nav-item{font-size:12px;padding:9px 10px}.sidebar-foot{padding-left:10px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}h1{font-size:25px}.global-search{max-width:320px}.global-search input{font-size:12px}}
@media(max-width:660px){.topbar-inner{min-height:70px;padding:8px 12px;gap:8px;flex-wrap:wrap}.brand{width:auto;flex:1;font-size:13px;gap:7px;line-height:1.3;min-width:0}.brand img{width:28px;height:40px}.brand span{max-width:200px}.mobile-menu{display:inline-flex;width:35px;height:35px}.header-actions{gap:1px;flex:none;margin-left:0}.header-actions .icon-btn{width:35px;height:35px}.header-actions .avatar{width:32px;height:32px}.header-actions .login-top{font-size:11px;min-height:34px;padding:7px 9px}.header-actions .hide-mobile{display:none}.global-search{order:5;flex-basis:100%;max-width:none;height:38px;margin:1px 3px 3px}.dev-strip{font-size:10px;padding:3px}.app-layout{display:block;padding:18px 12px 100px}.sidebar{display:none;position:fixed;top:116px;left:0;bottom:67px;width:270px;background:#fff;z-index:40;border-right:1px solid var(--line);padding:12px 16px;height:calc(100vh - 183px);max-height:calc(100dvh - 183px);align-self:auto;overflow-y:auto;overscroll-behavior:contain;box-shadow:10px 0 35px #25382b10}.sidebar.open{display:block}.nav-item{font-size:13px;padding:10px 12px}.sidebar-foot{padding-bottom:15px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:45;border-top:1px solid var(--line);padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#fff;justify-content:space-around}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;color:var(--muted);width:20%;padding:2px}.mobile-nav a.active{color:var(--green);font-weight:600}.mobile-nav .icon{width:21px;height:21px}.page-title{margin-bottom:17px;gap:12px;flex-wrap:wrap}.page-title p{font-size:12px}.page-title h1{font-size:24px}.card-head{padding:16px 16px 0}.card-body{padding:16px}.stack{gap:15px}.grid-2,.grid-3{grid-template-columns:1fr;gap:14px}.btn{min-height:42px;font-size:12px;padding:9px 12px}.tabs{padding:0 7px}.tabs a,.tabs button{padding:13px 10px;font-size:12px}.catalog-card{padding:17px;gap:12px}.modal-body{padding:19px}.modal-head{padding:14px 17px}.modal-head h2{font-size:18px}.toast{bottom:80px;max-width:calc(100vw - 24px);width:max-content}.summary-table{font-size:11px}.summary-table th,.summary-table td{padding:8px}body{font-size:14px}.form-field input,.form-field textarea,.form-field select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

#install-app-host{padding:18px 12px 0}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.check-row input{width:18px;height:18px;flex:none;margin:2px 0;accent-color:var(--green)}

/* Source: modules/profiles.css */
.profile-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:8px 0 25px}.profile-page-heading h1,.profile-page-heading h2{margin:6px 0 8px}.profile-page-heading p{margin:0;max-width:640px}.profile-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--green,#246147)}.profile-person-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;min-width:0}.profile-person-link strong{display:block;font-size:14px;line-height:1.4}.profile-person-link small{display:block;font-size:12px;color:var(--muted,#727971);margin-top:2px}.profile-avatar-wrap{position:relative;flex:none}.profile-avatar{width:42px;height:42px;border-radius:50%;background:#edf1e7;color:#345446;display:flex;align-items:center;justify-content:center;font-weight:600;overflow:hidden;border:1px solid #dde4d7}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-life{display:inline-flex;align-items:center;gap:5px;background:white;border:1px solid #e3e6df;border-radius:20px;color:#58605a;font-size:10px;line-height:1.3;padding:4px 7px;white-space:nowrap}.profile-life i{width:7px;height:7px;border-radius:50%;background:#596578;flex:none}.profile-life-living i{background:#176449}.profile-life-deceased i{background:#735347}.profile-life-unknown i{background:#596578}.profile-life-full{position:static!important;margin-top:9px}.profile-icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:0;background:transparent;color:#656f67;cursor:pointer}.profile-icon-btn:hover{background:#f0f3eb;color:#204e3a}.profile-icon-btn svg{width:18px;height:18px}.profile-icon-btn:focus-visible{outline:3px solid #c39752;outline-offset:3px}.profile-signin{padding:19px;display:flex;justify-content:space-between;align-items:center;gap:15px}.profile-signin p{margin:0;color:#59655b}.profile-visibility{font-size:11px;gap:5px;display:inline-flex;align-items:center}.profile-visibility svg{width:13px;height:13px}.profile-review-state{color:#876629;font-size:11px;display:inline-flex;align-items:center;gap:5px}.profile-review-state svg{width:13px;height:13px}.journal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.journal-main{display:flex;flex-direction:column;gap:20px;min-width:0}.journal-aside{display:flex;flex-direction:column;gap:20px}.journal-aside h2{font-size:19px;margin:10px 0}.journal-aside p{font-size:13px;line-height:1.65}.journal-aside .text-link{font-size:12px}.journal-start .btn{width:100%;justify-content:center;margin:12px 0}.journal-start>.card-body>.text-link{display:block;text-align:center}.journal-composer{padding:20px}.journal-composer-top{display:flex;gap:13px;align-items:flex-start}.journal-composer textarea{resize:vertical;width:100%;background:#f8f9f5;border:1px solid #e4e8df;border-radius:11px;padding:12px 14px;font:inherit;min-height:83px;line-height:1.65}.journal-composer textarea::placeholder{color:#8b9287}.journal-memory-details{margin:14px 0}.journal-memory-details summary{display:flex;align-items:center;gap:6px;cursor:pointer;color:#60715e;font-size:12px;list-style:none;padding:5px 0}.journal-memory-details summary svg{width:15px;height:15px}.journal-memory-details[open] summary{margin-bottom:12px}.journal-composer-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid #edf0e8}.journal-composer-footer .form-field{margin:0;flex:1}.journal-composer-footer select{font-size:12px;background:white;height:38px;min-width:130px}.journal-composer-footer .btn{margin-left:auto;min-height:38px}.journal-form-note{font-size:11px;line-height:1.5;margin:12px 0 0}.journal-post{overflow:hidden}.journal-post-header{display:flex;align-items:center;gap:12px;padding:20px 22px 12px}.journal-post-header>.profile-icon-btn{margin-left:auto}.journal-post-meta{font-size:10px;color:#81877c;display:flex;flex-direction:column;gap:4px;margin-left:auto;align-self:flex-start;padding-top:3px;white-space:nowrap}.journal-post-header .profile-person-link{flex:1}.journal-post-context{display:flex;gap:15px;flex-wrap:wrap;padding:2px 22px 0;color:#7a826f;font-size:11px}.journal-post-context span{display:inline-flex;gap:5px;align-items:center}.journal-post-context svg{width:13px;height:13px}.journal-post-text{margin:15px 22px 17px;font-size:15px;line-height:1.8;overflow-wrap:anywhere;text-align:justify;hyphens:auto}.journal-source{display:flex;gap:10px;background:#f8f7f1;border-left:3px solid #c6ab76;padding:11px 12px;margin:0 22px 16px;font-size:12px;line-height:1.55;color:#68644f}.journal-source svg{width:16px;height:16px;flex:none;margin-top:3px}.journal-source small{display:block;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#929074;margin-bottom:2px}.journal-post-status{padding:0 22px 16px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.journal-post-actions{display:flex;gap:5px;border-top:1px solid #edf0e8;padding:9px 14px}.journal-post-actions .btn{font-size:12px;flex:1;justify-content:center;color:#6c7869;border-radius:8px;padding:8px 4px;min-height:36px}.journal-post-actions .btn[aria-pressed=true]{color:#276747;background:#edf5e9}.journal-post-actions .btn svg{width:16px;height:16px}.journal-comments{padding:8px 22px 20px;background:#fbfcf8;border-top:1px solid #edf0e8}.journal-comment{padding:10px 12px;border-radius:9px;background:#f0f3ec;margin:8px 0}.journal-comment strong{font-size:12px}.journal-comment p{font-size:13px;margin:5px 0;overflow-wrap:anywhere}.journal-comment small{color:#8b9282;font-size:10px}.journal-comment-form{display:flex;gap:8px;margin-top:12px}.journal-comment-form input{min-width:0;flex:1;min-height:38px;font:inherit;font-size:12px;padding:8px 11px;border:1px solid #dce3d5;border-radius:8px}.journal-comment-form button{font-size:12px}.journal-recommendations .card-head{display:block;padding:17px 18px 11px}.journal-recommendations .card-head h2{font-size:16px;margin:0 0 4px}.journal-recommendations .card-head>.muted{font-size:11px}.profile-recommendation{padding:12px 0;border-bottom:1px solid #edf0e8}.profile-recommendation:last-child{border-bottom:0;padding-bottom:0}.profile-recommendation:first-child{padding-top:0}.profile-recommendation .avatar{width:36px;height:36px;font-size:12px}.profile-recommendation p{margin:7px 0 4px;font-size:11px;color:#899079}.journal-quiet-note{margin:0;padding:12px 18px;background:#f7f8f2;border-top:1px solid #edf0e8;color:#8b907f;font-size:10px!important}.journal-context-card{overflow:hidden}.journal-context-card>img{width:100%;height:128px;object-fit:cover;filter:none}.journal-context-card h3{font-size:18px;margin:7px 0}.profile-hero{overflow:hidden;margin-bottom:24px}.profile-cover{height:225px;background:#e7e8db;position:relative;overflow:hidden;display:flex;justify-content:flex-end;align-items:flex-end;padding:16px 20px;border-bottom:1px solid #dde2d6}.profile-cover.has-photo{background-size:cover;background-position:center}.profile-cover .btn{font-size:11px;position:relative;z-index:2;box-shadow:0 2px 10px #0001;background:#fffffff0}.profile-cover-caption{position:absolute;bottom:18px;left:22px;color:#fff;background:#263a2ee0;font-size:10px;letter-spacing:.05em;border-radius:5px;padding:5px 8px}.profile-cover:not(.has-photo) .profile-cover-caption{background:#ffffffaa;color:#656950}.profile-cover-decoration{position:absolute;inset:0;display:flex;justify-content:space-around;align-items:center;opacity:.22;font-family:Georgia,serif;letter-spacing:.1em;font-size:43px;color:#657252;transform:rotate(-5deg)}.profile-cover-decoration span:nth-child(2){font-style:italic;font-size:72px}.profile-identity{padding:0 27px 22px;display:flex;gap:23px;align-items:center;position:relative}.profile-main-avatar{margin-top:-30px}.profile-main-avatar .avatar{width:116px;height:116px;border:5px solid white;box-shadow:0 2px 7px #2c452611;font-size:35px;background:#edf2e3}.profile-main-avatar .profile-life{position:absolute;bottom:0;right:-12px;box-shadow:0 2px 5px #0001}.profile-identity-text{flex:1;min-width:0;padding-top:20px}.profile-name-line{display:flex;align-items:center;gap:12px}.profile-name-line h1{font-size:30px;line-height:1.2;margin:0;color:#263d2e;letter-spacing:-.035em}.profile-memory-mark{color:#936b4e;font-size:22px}.profile-location{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:8px 0 5px;font-size:12px;color:#858b7c}.profile-location span{display:inline-flex;align-items:center;gap:4px}.profile-location svg{width:13px;height:13px}.profile-personal-status{font-size:13px;margin:6px 0 0;line-height:1.6;overflow-wrap:anywhere}.profile-identity-actions{display:flex;align-items:center;gap:7px;align-self:flex-end;padding-bottom:5px}.profile-identity-actions .btn{font-size:12px}.profile-tabs{display:flex;gap:7px;border-top:1px solid #e9eee1;padding:0 22px;overflow-x:auto}.profile-tabs a{text-decoration:none;color:#7e8773;font-size:12px;font-weight:600;padding:17px 14px 15px;white-space:nowrap;border-bottom:3px solid transparent}.profile-tabs a:hover{color:#2d6044;background:#fafcf7}.profile-tabs a.is-active{color:#2b6344;border-bottom-color:#2f6747}.profile-wall-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}.profile-wall-aside{display:flex;flex-direction:column;gap:20px}.profile-wall-aside h2{font-size:16px}.profile-about .card-head{padding:17px 20px}.profile-about h2{font-size:17px;margin:0}.profile-about .card-body{padding:18px 20px}.profile-about .prose{font-size:13px;line-height:1.7;margin-top:0}.profile-facts{margin:17px 0 0;font-size:12px}.profile-facts>div{display:flex;gap:15px;justify-content:space-between;padding:9px 0;border-top:1px solid #edf0e8}.profile-facts dt{color:#8a917f}.profile-facts dd{margin:0;text-align:right;color:#52624e}.profile-spaced-link{display:block;margin-top:13px;font-size:12px}.profile-verification-note{border-left:3px solid #c6ab76;padding:9px 13px;color:#857b5d;background:#faf8f0;font-size:12px}.profile-closed{max-width:700px;margin:35px auto;padding:40px;display:flex;flex-direction:column;align-items:center;text-align:center}.profile-closed h1{font-size:27px;margin:20px 0 10px}.profile-closed p{line-height:1.7;margin:8px 0;max-width:500px}.profile-closed .toolbar{justify-content:center;margin-top:20px}.profile-lock-circle{width:68px;height:68px;background:#f0f3e9;border-radius:50%;color:#7d896d;display:flex;align-items:center;justify-content:center}.profile-lock-circle svg{width:28px;height:28px}.profile-closed .profile-signin{margin-top:25px;text-align:left}.profile-timeline{list-style:none;margin:0;padding:0}.profile-timeline>li{position:relative;display:grid;grid-template-columns:80px 1fr;gap:28px;padding:10px 0 23px}.profile-timeline>li:before{content:'';position:absolute;top:16px;bottom:-6px;left:95px;width:1px;background:#dfe6d7}.profile-timeline>li:last-child:before{bottom:23px}.profile-timeline>li:after{content:'';position:absolute;top:15px;left:92px;width:7px;height:7px;background:#567751;border-radius:50%;border:3px solid #f4f6ed}.profile-timeline-year{font:600 21px Georgia,serif;color:#947343;padding-top:3px}.profile-timeline h3{font-size:16px;margin:3px 0 7px}.profile-timeline p{font-size:14px;margin:0 0 8px}.profile-timeline small{font-size:11px;color:#8a8e79}.people-search{padding:17px 20px;margin-bottom:17px}.people-search-input{display:flex;gap:10px;align-items:center}.people-search-input>svg{width:20px;height:20px;color:#849179}.people-search-input input{border:0;flex:1;min-width:0;font:inherit;background:transparent;outline-offset:3px;padding:8px}.people-search p{font-size:11px;margin:10px 0 0}.people-search-summary{display:flex;gap:15px;justify-content:space-between;margin:20px 0;font-size:12px;color:#697960}.people-search-summary small{font-size:10px}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.people-card{overflow:hidden}.people-card-cover{height:77px;background:#e8ecdf;border-bottom:1px solid #e4e8db}.people-card-cover.is-memory{background:#ece7de}.people-card-cover.is-closed{background:#eff1ed;display:flex;align-items:center;justify-content:center;color:#a0a997}.people-card-cover.is-closed svg{width:20px;height:20px}.people-card-identity{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit;padding:0 17px 20px;position:relative}.people-card-identity>.profile-avatar-wrap{margin-top:-24px}.people-card-identity .profile-avatar{width:63px;height:63px;border:4px solid white;font-size:20px}.people-card-identity .profile-life{position:absolute;bottom:-7px;right:-21px;font-size:9px;padding:3px 5px}.people-card-identity h2{text-align:center;font-size:17px;line-height:1.4;margin:22px 0 8px;color:#314630}.people-card-identity p{font-size:12px;margin:0;text-align:center}.people-card-identity small{font-size:11px;margin-top:5px;color:#9a967d}.people-card-footer{padding:14px 17px;border-top:1px solid #e9eee1}.people-card-footer .btn{width:100%;justify-content:center;font-size:12px}.album-card .card-head{gap:20px;align-items:flex-start}.album-card h2{font-size:20px;margin:0 0 10px}.album-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:#8a927d}.album-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.album-asset{border:1px solid #e4e9dc;border-radius:10px;overflow:hidden;min-width:0}.album-image-button{display:block;width:100%;height:174px;padding:0;border:0;background:#edeedf;cursor:pointer}.album-image-button img{width:100%;height:100%;object-fit:cover}.album-image-button:hover img{opacity:.94}.album-asset video{display:block;width:100%;height:174px;background:#223527}.album-audio-preview{height:174px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#eef2e7;color:#708264;font-size:12px}.album-audio-preview>svg{width:26px;height:26px}.album-audio-preview audio{width:calc(100% - 14px);height:36px}.album-file-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:174px;background:#f3f3e9;text-decoration:none;color:#728065;padding:20px;overflow-wrap:anywhere;font-size:12px}.album-file-preview>svg{width:30px;height:30px}.album-file-preview small{font-size:10px;color:#949781}.album-asset-caption{padding:13px 13px 7px;display:flex;flex-direction:column;gap:5px}.album-asset-caption strong{font-size:12px;overflow-wrap:anywhere;line-height:1.5}.album-asset-caption small{font-size:10px;color:#8a927a}.album-asset-caption>div{display:flex;justify-content:space-between;align-items:center}.album-asset-caption .text-link{font-size:11px}.album-asset-caption .btn{padding:5px;width:27px;min-height:27px}.album-no-files{padding:35px 20px;text-align:center;color:#919b82}.album-no-files svg{width:38px;height:38px;stroke-width:1}.album-no-files p{margin:11px 0 7px;font-size:14px}.album-no-files small{font-size:11px}.album-lightbox>img{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin:0 auto;background:#f7f7ef}.album-lightbox p{font-size:13px}.album-upload-progress{font-size:12px;color:#49683e;overflow-wrap:anywhere}.tree-generation{padding:10px 0 22px}.tree-generation h3{font-size:11px;color:#939879;letter-spacing:.09em;text-transform:uppercase;text-align:center;font-weight:500;margin:5px 0 18px}.tree-node-row{display:flex;justify-content:center;flex-wrap:wrap;gap:20px}.tree-person-node{background:#f9faf4;border:1px solid #dee6d4;border-radius:12px;padding:18px;min-width:200px;max-width:270px;position:relative}.tree-person-node .profile-person-link{align-items:flex-start}.tree-person-node .chip{margin-top:14px;font-size:10px}.tree-person-node .profile-life-full{display:flex;max-width:max-content}.tree-center{position:relative;border-top:1px dashed #d9e1cf;border-bottom:1px dashed #d9e1cf;padding:25px 0;margin:6px 0 24px}.tree-center .tree-person-node{background:#edf3e5;border-color:#b8cba8}.tree-evidence-row{padding:16px 0;border-bottom:1px solid #e9eee1}.tree-evidence-row:last-child{border-bottom:0}.tree-evidence-row strong{display:block;font-size:13px;margin-bottom:5px}.tree-evidence-row>span{font-size:11px;color:#899079}.tree-evidence-row p{font-size:12px;margin:8px 0}.tree-evidence-row small{font-size:10px;color:#9b9371}.form-error{font-size:12px;line-height:1.6;color:#9b3d31;overflow-wrap:anywhere;padding:10px 12px;background:#fbf0ed;border-radius:8px}.profile-page-heading .btn svg,.profile-identity-actions .btn svg{width:16px;height:16px}.journal-post:target{outline:2px solid #b89453;outline-offset:5px}.profile-name-line h1,.people-card-identity h2,.tree-evidence-row strong{overflow-wrap:anywhere}
@media(min-width:1450px){.journal-layout{grid-template-columns:minmax(0,1fr) 310px}.profile-wall-layout{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:1100px){.journal-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.profile-wall-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}.profile-identity{padding:0 20px 20px;gap:17px}.profile-name-line h1{font-size:26px}.profile-identity-actions{flex-direction:column;align-items:flex-end}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.album-assets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.journal-layout{grid-template-columns:1fr}.journal-aside{display:grid;grid-template-columns:1fr 1fr}.journal-context-card{display:none}.profile-wall-layout{grid-template-columns:1fr}.profile-wall-aside{display:none}.profile-identity-actions{flex-direction:row}.profile-cover{height:195px}.profile-tabs{padding:0 9px}.profile-tabs a{padding:15px 11px}.profile-page-heading{align-items:flex-start}.profile-page-heading h1{font-size:26px}.profile-page-heading .btn{font-size:11px;white-space:nowrap}.profile-identity{flex-wrap:wrap;row-gap:0}.profile-identity-text{min-width:200px}.profile-identity-actions{width:100%;justify-content:flex-end;padding-top:5px}.profile-identity-actions>.btn{margin-top:8px}.profile-main-avatar .avatar{width:100px;height:100px}.profile-cover-decoration{font-size:28px}.profile-cover-decoration span:nth-child(2){font-size:49px}}
@media(max-width:540px){.profile-page-heading{flex-direction:column;gap:14px;margin:6px 0 20px}.profile-page-heading .btn{width:100%;justify-content:center;min-height:40px;font-size:13px}.profile-page-heading p{font-size:12px;line-height:1.6}.journal-aside{grid-template-columns:1fr}.journal-start{display:none}.journal-composer{padding:15px}.journal-composer-top .profile-avatar-wrap{display:none}.journal-composer textarea{font-size:13px;min-height:100px}.journal-composer-footer .form-field{flex:1 1 calc(50% - 4px)}.journal-composer-footer .btn{flex:1 1 100%;justify-content:center;margin:4px 0 0}.journal-composer-footer select{width:100%;min-width:0;font-size:11px}.journal-post-header{padding:16px 15px 11px;gap:8px}.journal-post-meta{font-size:9px;max-width:85px;white-space:normal}.journal-post-header .avatar{width:36px;height:36px}.journal-post-header .profile-person-link{gap:8px}.journal-post-header .profile-person-link strong{font-size:12px}.journal-post-context{padding:2px 15px 0;font-size:10px;gap:11px}.journal-post-text{margin:13px 15px 15px;font-size:13px;line-height:1.8}.journal-source{margin:0 15px 13px;font-size:11px;padding:9px}.journal-post-status{padding:0 15px 13px}.journal-post-actions{padding:8px 6px;gap:2px}.journal-post-actions .btn{font-size:10px;gap:4px;padding:6px 1px;min-height:35px}.journal-post-actions .btn svg{width:14px;height:14px}.journal-comments{padding:8px 15px 15px}.journal-comment-form{flex-wrap:wrap}.journal-comment-form input{width:100%;flex:1 1 100%}.journal-comment-form button{width:100%;justify-content:center}.profile-cover{height:155px;padding:12px 13px}.profile-cover .btn{font-size:10px;padding:6px 9px;min-height:31px}.profile-cover-caption{left:13px;bottom:12px;font-size:8px;max-width:calc(100% - 150px)}.profile-identity{padding:0 15px 17px;gap:13px;align-items:flex-start}.profile-main-avatar{margin-top:-23px}.profile-main-avatar .avatar{width:84px;height:84px;font-size:25px;border-width:4px}.profile-main-avatar .profile-life{font-size:8px;right:-4px;bottom:-3px;padding:3px 4px}.profile-main-avatar .profile-life i{width:5px;height:5px}.profile-identity-text{padding-top:13px;min-width:0}.profile-name-line h1{font-size:22px;line-height:1.25}.profile-location{font-size:10px;gap:7px;margin-top:7px}.profile-personal-status{font-size:11px}.profile-identity-actions{padding-top:13px;justify-content:flex-start;gap:8px}.profile-identity-actions>.btn{margin:0;flex:1;justify-content:center;min-height:38px}.profile-tabs a{font-size:11px;padding:13px 10px 11px}.profile-hero{margin-bottom:18px}.profile-life-full{font-size:9px}.profile-closed{padding:25px 18px;margin:15px auto}.profile-closed h1{font-size:22px}.profile-closed p{font-size:13px}.profile-closed .toolbar{width:100%;flex-wrap:wrap}.profile-closed .toolbar>.btn{flex:1 1 100%;justify-content:center}.profile-signin{flex-direction:column;text-align:left;align-items:stretch;font-size:12px}.profile-signin .btn{justify-content:center}.people-grid{grid-template-columns:1fr 1fr;gap:12px}.people-card-identity{padding:0 10px 15px}.people-card-identity h2{font-size:13px;margin:20px 0 8px}.people-card-identity p{font-size:10px}.people-card-identity small{font-size:9px}.people-card-cover{height:64px}.people-card-identity .avatar{width:53px;height:53px;font-size:17px}.people-card-identity .profile-life{font-size:8px;right:-19px;bottom:-7px;padding:3px 4px}.people-card-identity .profile-life i{width:5px;height:5px}.people-card-footer{padding:10px}.people-card-footer .btn{font-size:10px;min-height:35px;padding:6px 3px}.people-search{padding:12px}.people-search-input{gap:5px}.people-search-input>svg{width:16px;height:16px}.people-search-input input{font-size:12px;width:100px;padding:8px 2px}.people-search-input .btn{font-size:11px;padding:8px 12px}.people-search p{font-size:10px}.people-search-summary{flex-direction:column;gap:5px;font-size:11px;margin:15px 0}.album-card .card-head{padding:15px;gap:10px}.album-card .card-head>.btn{font-size:10px;min-height:34px;padding:7px 8px}.album-card h2{font-size:17px}.album-card .card-body{padding:15px}.album-assets{grid-template-columns:1fr}.album-image-button,.album-asset video{height:230px}.album-audio-preview{height:150px}.album-asset-caption strong{font-size:12px}.album-meta{font-size:10px;gap:6px}.profile-timeline>li{grid-template-columns:55px 1fr;gap:22px}.profile-timeline>li:before{left:67px}.profile-timeline>li:after{left:64px}.profile-timeline-year{font-size:18px}.profile-timeline h3{font-size:14px}.profile-timeline p{font-size:12px}.tree-person-node{min-width:0;width:100%;max-width:100%;padding:15px}.tree-node-row{gap:12px}.tree-generation h3{font-size:10px}.tree-evidence-row strong{font-size:12px}.journal-layout,.profile-wall-layout{gap:16px}}
@media(prefers-reduced-motion:reduce){.album-image-button img{transition:none}}

.profile-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.profile-cover>.profile-cover-caption,.profile-cover>.btn{z-index:1}

.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}

.journal-comment-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.journal-comment-head>.btn{width:27px;min-height:27px;padding:5px}.journal-comment-head>.btn svg{width:13px;height:13px}.profile-publication-notice{padding:10px 22px;background:#faf7ec;border-top:1px solid #eae2cd;color:#897045;font-size:11px;display:flex;align-items:center;gap:7px}.profile-publication-notice svg{width:14px;height:14px;flex:none}

.profile-photo-credit{font-size:9px!important;line-height:1.5!important;margin:12px 0 0!important;color:#939981}.profile-photo-credit a{color:inherit}

.profile-notification-focus{outline:2px solid #ba9754!important;outline-offset:5px;scroll-margin-top:145px}

.album-asset-caption .btn[data-profile-action=publish-copy]{width:auto;min-height:30px;padding:6px 0;justify-content:flex-start;font-size:10px;gap:5px}.album-asset-caption .btn[data-profile-action=publish-copy] svg{width:13px;height:13px}

.profile-life,.profile-life-full,.people-card-identity .profile-life,.profile-main-avatar .profile-life{font-size:11px;line-height:1.35}.profile-life i,.profile-main-avatar .profile-life i,.people-card-identity .profile-life i{width:7px;height:7px}.people-card-identity .profile-life{right:-17px}.profile-main-avatar .profile-life{right:-5px}

.profile-circle-field{padding:16px;background:#f3f6ef;border:1px solid #dbe3d8;border-radius:12px}.profile-circle-field[hidden]{display:none}.profile-circle-field .muted,.profile-circle-hint{font-size:12px;line-height:1.65}.profile-circle-hint{margin-bottom:0}.album-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-end}.album-header-actions .btn{font-size:12px}.profile-album-stub{padding:24px}.profile-album-stub h1{font-size:24px}.profile-album-stub p{max-width:62ch}
@media(max-width:600px){.album-header-actions{justify-content:flex-start;width:100%}.album-card>.card-head{flex-wrap:wrap;gap:14px}.profile-circle-field{padding:12px}.profile-album-stub{padding:18px}}

/* v0.24: frequent actions first, secondary actions remain contextual. */
.feed-heading{margin-bottom:14px;align-items:center}.feed-heading .page-title{margin:0;font-size:24px}.profile-wall-stream{max-width:800px;margin:0 auto}.profile-hero{overflow:visible}.profile-cover{height:170px;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}.profile-cover:not(.has-photo){height:96px}.profile-cover-decoration{font-size:26px}.profile-cover-decoration span:nth-child(2){font-size:42px}.profile-cover-caption{display:none}.profile-identity{padding-bottom:14px}.profile-personal-status:empty{display:none}.profile-tabs{overflow:visible;align-items:stretch;padding:0 14px;gap:3px}.profile-tabs>a,.profile-tabs-more>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:13px;font-weight:600;border-bottom:3px solid transparent;box-sizing:border-box}.profile-tabs-more{position:relative;margin-left:auto;min-width:0}.profile-tabs-more>summary{list-style:none;gap:6px;cursor:pointer;color:var(--muted,#66736e);white-space:nowrap}.profile-tabs-more>summary::-webkit-details-marker{display:none}.profile-tabs-more>summary svg{width:16px;height:16px}.profile-tabs-more>summary.is-active{color:var(--green,#245644);border-bottom-color:var(--green,#245644)}.profile-tabs-menu,.profile-context-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:20;min-width:210px;max-width:min(300px,calc(100vw - 32px));padding:6px;background:var(--surface,#fff);border:1px solid var(--border,#dbe3db);border-radius:12px;box-shadow:0 8px 24px #18392b20;display:flex;flex-direction:column}.profile-tabs-menu>a,.profile-context-menu>a,.profile-context-menu>.btn{display:flex;align-items:center;text-align:left;justify-content:flex-start;min-height:44px;padding:10px 12px;border-radius:7px;border-bottom:0;white-space:normal;color:var(--ink,#283b32);text-decoration:none;font-size:13px}.profile-context-menu>.social-page-link{margin:0;padding:0;border:0;display:block}.profile-context-menu .social-page-link>.btn{width:100%;min-height:44px;justify-content:flex-start;font-size:13px;padding:10px 12px}.profile-context-menu .social-path{display:block;padding:0 12px 8px;font-size:11px;overflow-wrap:anywhere}.profile-owner-menu{position:relative}.profile-owner-menu>summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px}.profile-owner-menu>summary::-webkit-details-marker{display:none}.profile-share-compact .social-page-link{margin:0;padding:0 18px 10px;border:0}.profile-fold>summary,.profile-form-section>summary{display:flex;align-items:center;gap:9px;list-style:none;min-height:44px;padding:12px 14px;cursor:pointer;font-size:14px;font-weight:600}.profile-fold>summary::-webkit-details-marker,.profile-form-section>summary::-webkit-details-marker{display:none}.profile-fold>summary:after,.profile-form-section>summary:after{content:'+';margin-left:auto;font-size:18px;font-weight:400}.profile-fold[open]>summary:after,.profile-form-section[open]>summary:after{content:'−'}.profile-fold>summary svg{width:19px;height:19px}.profile-fold-body,.profile-form-section-body{padding:0 14px 14px;display:grid;gap:10px}.profile-fold-body>a{min-height:36px;display:flex;align-items:center;color:var(--green,#245644);text-decoration:none;font-size:13px}.profile-fold-body>.card{box-shadow:none;border:0;margin:0}.profile-fold-body .card-head,.profile-fold-body .card-body{padding:0}.profile-fold-body .journal-quiet-note{font-size:11px;padding:0}.profile-fold-body .journal-recommendations>.card-head{display:none}.profile-help-link{padding:5px 14px;color:var(--muted,#66736e);font-size:12px}.profile-form-section{border:1px solid var(--border,#dbe3db);border-radius:10px}.profile-form-section-body .form-field{margin-bottom:0}.journal-composer{padding:14px}.journal-composer textarea{min-height:46px;max-height:240px;padding:10px 12px;font-size:14px;line-height:1.6;resize:vertical;box-sizing:border-box}.journal-composer-footer{border-top:0;padding-top:10px;flex-wrap:nowrap}.journal-composer-footer .form-field{flex:1;min-width:0;max-width:230px}.journal-composer-footer select{min-width:0;width:100%;height:40px;font-size:12px}.journal-composer-footer .btn{flex:0 0 auto;margin:0 0 0 auto;min-height:40px;padding:9px 16px;font-size:13px}.journal-memory-details{margin:8px 0 0;border-top:1px solid var(--border,#e5e9e2);padding-top:0}.journal-memory-details>summary{min-height:38px;display:flex;align-items:center;gap:6px;font-size:12px;list-style:none;cursor:pointer}.journal-memory-details>summary svg{width:15px;height:15px}.journal-memory-details>summary::-webkit-details-marker{display:none}.journal-memory-details[open]>summary{margin-bottom:10px}.journal-composer [data-circle-field]{margin-top:12px}.profile-tabs a:focus-visible,.profile-tabs-more>summary:focus-visible,.profile-owner-menu>summary:focus-visible,.profile-fold>summary:focus-visible,.profile-form-section>summary:focus-visible{outline:3px solid #86b59b;outline-offset:2px}
@media(max-width:820px){.journal-aside{display:flex;gap:10px}.profile-fold{margin:0}.profile-wall-stream{max-width:none}.profile-cover{height:132px}.profile-cover:not(.has-photo){height:70px}}
@media(max-width:520px){.profile-cover:not(.has-photo){height:56px}.profile-identity{padding:0 14px 12px}.profile-tabs{padding:0 8px;gap:0}.profile-tabs>a,.profile-tabs-more>summary{padding:10px 9px;font-size:12px;min-height:44px}.profile-tabs-menu{min-width:185px}.profile-identity-actions{padding-top:8px}.profile-identity-actions>.btn{min-height:40px}.journal-composer{padding:12px}.journal-composer textarea{min-height:46px;font-size:14px}.journal-composer-footer .form-field{flex:1}.journal-composer-footer .btn{flex:0 0 auto;margin:0 0 0 auto}.journal-composer-footer select{font-size:12px}.journal-aside{margin-top:0}.profile-hero{margin-bottom:14px}.profile-share-compact .social-page-link{padding:0 14px 6px}.profile-fold-body{gap:7px}.feed-heading .page-title{font-size:22px}}

.feed-test-notice{position:static;display:flex;align-items:center;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;margin:0 0 14px;padding:10px 14px;border:1px solid #e6c7c3;border-radius:10px;background:#fbefed;color:#753e38;font-size:12px;line-height:1.5}.feed-test-notice>a{color:#753e38;font-weight:650;text-decoration:underline;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}.feed-test-notice>a:focus-visible{outline:3px solid #bd766c;outline-offset:3px}@media(max-width:520px){.feed-test-notice{display:block;padding:9px 12px;font-size:12px;margin-bottom:12px}.feed-test-notice>span{display:block}.feed-test-notice>a{min-height:28px}}
.profile-identity-actions:has([data-profile-action^="friend-"]){flex-wrap:wrap}
.profile-identity-actions:has([data-profile-action^="friend-"])>.btn{flex:0 0 auto;min-width:40px;white-space:nowrap}
.profile-friend-row{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.profile-friend-note{display:block}

/* Source: modules/groups.css */
.group-view { max-width:1120px; margin:0 auto; container-name:groups; container-type:inline-size; }
.group-view svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.group-mode { display:inline-flex; align-items:center; gap:5px; margin-left:auto; font-size:12px; color:var(--muted,#72776d); }
.group-mode svg { width:15px; height:15px; }
.group-view .group-hero { padding:20px; }
.group-view .group-hero-top { margin-bottom:14px; }
.group-view .group-hero-main { flex-direction:column; gap:14px; }
.group-view .group-hero-actions { flex-direction:row; align-items:center; flex-wrap:wrap; gap:8px; }
.group-hero-actions .btn { min-height:40px; padding:8px 12px; font-size:13px; }
.group-actions-menu { position:relative; }
.group-actions-menu > summary { list-style:none; cursor:pointer; }
.group-actions-menu > summary::-webkit-details-marker { display:none; }
.group-actions-popover { position:absolute; z-index:15; left:0; top:calc(100% + 5px); width:max-content; max-width:min(280px,75vw); padding:6px; border:1px solid var(--border,#dddcd3); border-radius:12px; background:var(--surface,#fff); }
.group-actions-popover .btn { display:flex; width:100%; justify-content:flex-start; white-space:normal; }
.group-content-locked { display:flex; align-items:center; gap:10px; padding:14px 0; color:var(--muted,#72776d); font-size:14px; }
.group-details-fold > summary,.group-memory-fold > summary,.group-form-more > summary { cursor:pointer; padding:14px 16px; font-weight:600; }
.group-memory-fold { margin-top:18px; font-size:14px; }
.group-memory-fold > p { margin:0 16px 8px; }
.group-memory-fold > .btn { margin-left:4px; }
.group-form-more { border-block:1px solid var(--border,#dddcd3); }
.group-form-more > summary { padding:12px 0; font-size:13px; }
.group-form-more > .form-field { margin-bottom:14px; }
.group-page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin:2px 0 28px; }
.group-page-head .btn { margin-top:21px; white-space:nowrap; }
.group-eyebrow { font-size:11px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--green,#2d5e48); margin:0 0 7px; }
.group-lead { line-height:1.65; max-width:650px; margin:10px 0 0; }
.group-filterbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:14px 0 22px; }
.group-search-field { display:flex; gap:10px; align-items:center; background:var(--surface,#fff); border:1px solid var(--border,#dddcd3); border-radius:9px; padding:0 12px; min-width:245px; max-width:340px; flex:1; color:var(--muted,#72776d); }
.group-search-field input { width:100%; min-width:0; border:0; background:transparent; box-shadow:none; padding:12px 0; font:inherit; }
.group-search-field input:focus { outline:none; }
.group-search-field:focus-within { outline:2px solid var(--green,#2d5e48); outline-offset:2px; }
.group-filter-tabs { display:flex; flex-wrap:wrap; gap:4px; }
.group-filter-tabs .btn { padding:10px 12px; font-size:13px; }
.group-filter-tabs [aria-pressed="true"] { background:#e8eee6; color:#2e5944; }
.group-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.group-card { overflow:hidden; display:flex; flex-direction:column; padding:0; }
.group-card-head { display:flex; align-items:center; gap:13px; padding:25px 25px 13px; }
.group-mark { width:53px; height:53px; display:grid; place-items:center; background:#edf0e7; border:1px solid #e0e6d9; border-radius:13px; color:#3b624c; flex-shrink:0; }
.group-mark svg { width:27px; height:27px; }
.family-mark { background:#f4eee4; border-color:#e9dfcd; color:#806b46; }
.group-kind { font-size:12px; color:var(--muted,#72776d); }
.group-private { margin-left:auto; color:#718072; }
.group-card-content { padding:0 25px 23px; flex:1; }
.group-card h2 { font-size:20px; letter-spacing:-.025em; margin:7px 0 8px; line-height:1.3; }
.group-card h2 a { color:inherit; text-decoration:none; }
.group-card h2 a:hover { text-decoration:underline; text-underline-offset:4px; }
.group-description { font-size:14px; color:var(--muted,#72776d); margin:0 0 18px; line-height:1.7; }
.group-card-foot { border-top:1px solid var(--border,#e5e5dd); display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 25px; font-size:12px; }
.group-card-foot .text-link { display:flex; align-items:center; gap:5px; font-size:13px; }
.group-membership { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#40664f; }
.group-membership svg { width:15px; height:15px; }
.group-pending-strip { padding:0 25px 15px; }
.group-state { display:inline-flex; align-items:center; border:1px solid #e8d9b8; color:#80622d; background:#faf5e8; border-radius:20px; padding:5px 10px; font-size:11px; font-weight:550; }
.group-state.state-approved,.group-state.state-published { border-color:#d3e2d0; color:#385e43; background:#ecf2e9; }
.group-state.state-rejected,.group-state.state-hidden,.group-state.state-held,.group-state.state-blocked { border-color:#ecd9d0; color:#8a5140; background:#faf0eb; }
.group-note { display:flex; align-items:flex-start; gap:20px; padding:23px 26px; margin-top:25px; background:#f5f5ed; }
.group-note-icon { color:#55745c; margin-top:3px; }
.group-note h2 { font-size:15px; margin:0 0 7px; }
.group-note p { font-size:13px; color:var(--muted,#72776d); margin:0; line-height:1.7; max-width:800px; }
.group-back { display:inline-flex; align-items:center; gap:6px; margin:0 0 18px; font-size:13px; }
.group-back svg { transform:rotate(180deg); }
.group-hero { padding:28px 30px 27px; margin-bottom:25px; }
.group-hero-top { display:flex; align-items:center; gap:15px; margin-bottom:22px; }
.group-hero-tags { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.group-hero-main { display:flex; align-items:flex-start; gap:30px; justify-content:space-between; }
.group-hero-main h1 { margin:0; font-size:32px; letter-spacing:-.04em; line-height:1.2; }
.group-hero-actions { display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex-shrink:0; }
.group-topic { display:inline-block; font-size:12px; color:#687b64; margin-top:14px; }
.group-detail-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr); gap:24px; align-items:start; }
.group-detail-aside { display:grid; gap:20px; }
.group-detail-aside .card { padding:0; overflow:hidden; }
.group-detail-aside .card-head { padding:18px 20px; }
.group-detail-aside .card-body { padding:0 20px 20px; }
.group-detail-aside h2 { font-size:15px; margin:0; }
.group-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 15px; }
.group-section-head h2 { font-size:19px; margin:0; }
.group-section-head .muted { font-size:11px; }
.group-composer-prompt { display:flex; align-items:center; gap:10px; padding:13px 16px; margin-bottom:20px; }
.group-prompt-button { flex:1; text-align:left; border:0; background:#f5f5f0; border-radius:8px; padding:14px 12px; font:inherit; font-size:13px; color:#767d73; cursor:pointer; }
.group-prompt-button:hover { background:#edf0e7; }
.group-memory-prompt { padding:20px 21px; margin:0 0 20px; border:1px solid #dce5d5; border-radius:13px; background:#eff3e9; }
.group-memory-prompt h3 { font-size:17px; letter-spacing:-.02em; margin:6px 0 9px; }
.group-memory-prompt p { font-size:12px; line-height:1.8; margin:0 0 9px; }
.group-memory-prompt .btn { padding-left:0; font-size:12px; }
.group-view .visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.group-view .avatar { flex-shrink:0; width:39px; height:39px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:600; color:#4b6550; background:#e9eee4; border:1px solid #dce3d6; }
.group-post { margin-bottom:19px; padding:0; overflow:hidden; }
.group-post-head { display:flex; gap:11px; align-items:center; padding:19px 21px 0; }
.group-post-head strong { font-size:13px; font-weight:600; }
.group-post-date { display:block; margin-top:4px; color:var(--muted,#72776d); font-size:11px; }
.group-post-report { margin-left:auto; color:var(--muted,#72776d); }
.group-post-body { padding:3px 21px 20px; }
.group-post-text { white-space:pre-wrap; margin:14px 0 17px; line-height:1.8; overflow-wrap:anywhere; font-size:14px; }
.group-post-source { font-size:12px; color:var(--muted,#72776d); border-left:2px solid #b6c6a8; padding-left:11px; line-height:1.65; margin:15px 0 0; overflow-wrap:anywhere; }
.group-post-source span { font-weight:600; color:#4d5f48; margin-right:4px; }
.group-post-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; border-top:1px solid var(--border,#e5e5dd); padding:10px 12px; }
.group-post-actions .btn { font-size:12px; padding:8px 10px; }
.group-post-actions .muted { font-size:11px; margin-left:auto; }
.group-comments { padding:0 21px 16px; border-top:1px solid var(--border,#e5e5dd); }
.group-comments > div { margin-top:14px; padding:12px; background:#f7f7f2; border-radius:8px; }
.group-comments strong { font-size:12px; }
.group-comments p { margin:5px 0 0; font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.group-info-list { margin:0; font-size:12px; }
.group-info-list > div { margin:14px 0; }
.group-info-list dt { color:var(--muted,#72776d); font-size:11px; margin-bottom:5px; }
.group-info-list dd { margin:0; color:var(--text,#26352a); line-height:1.6; }
.group-small { font-size:12px; line-height:1.7; }
.group-members { padding:0 17px 10px; }
.group-member-row { display:flex; align-items:center; gap:9px; padding:10px 0; }
.group-member-row + .group-member-row { border-top:1px solid #ededdf; }
.group-member-name { flex:1; min-width:0; }
.group-member-name a,.group-member-name strong { display:block; color:inherit; font-size:12px; text-decoration:none; font-weight:550; }
.group-member-name a:hover { text-decoration:underline; }
.group-member-name span { display:block; margin-top:4px; font-size:10px; }
.group-member-menu { padding:7px; }
.group-source-note { padding:4px 10px; }
.group-source-note h3 { font-size:13px; margin:0 0 9px; }
.group-source-note p { font-size:12px; line-height:1.8; margin:0; }
.group-notice { padding:15px 18px; margin-bottom:22px; border:1px solid #e1dfc8; border-radius:9px; background:#f6f4e8; color:#6f6b42; font-size:13px; line-height:1.6; }
.group-modal-form { display:grid; gap:18px; }
.group-modal-form .form-field { margin:0; }
.group-modal-form .form-field > span { display:block; font-size:13px; font-weight:550; margin-bottom:7px; }
.group-modal-form input:not([type="radio"]),.group-modal-form textarea,.group-modal-form select { width:100%; box-sizing:border-box; font:inherit; border:1px solid var(--border,#dcded3); background:#fff; border-radius:8px; padding:11px 12px; }
.group-modal-form textarea { resize:vertical; }
.group-modal-buttons { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; padding-top:8px; }
.group-type-picker { border:0; padding:0; margin:0; display:grid; gap:9px; }
.group-type-picker legend { font-size:13px; font-weight:550; margin:0 0 9px; padding:0; }
.group-type-picker label { display:flex; align-items:center; gap:10px; border:1px solid var(--border,#dcded3); border-radius:9px; padding:12px 13px; cursor:pointer; }
.group-type-picker label:has(input:checked) { border-color:#7b9675; background:#f1f5ee; }
.group-type-picker strong { display:block; font-size:13px; font-weight:550; }
.group-type-picker small { display:block; font-size:11px; margin-top:5px; color:var(--muted,#72776d); }
.group-form-error,[data-form-error] { font-size:12px; line-height:1.6; color:#9a4432; margin:0; }
.group-recovery { display:flex; align-items:center; justify-content:center; gap:10px; margin:20px 0; }
.messages-layout { display:grid; grid-template-columns:minmax(210px,.9fr) minmax(0,1.8fr); padding:0; overflow:hidden; min-height:545px; }
.thread-list { background:#fbfcf8; border-right:1px solid var(--border,#e5e5dd); }
.thread-list-head { padding:23px 20px; display:flex; align-items:center; justify-content:space-between; }
.thread-list-head strong { font-size:13px; }
.thread-item { display:flex; gap:10px; align-items:center; position:relative; width:100%; background:transparent; border:0; border-top:1px solid #efefe6; padding:17px 17px; text-align:left; cursor:pointer; font:inherit; }
.thread-item.selected { background:#edf2e9; }
.thread-item:hover { background:#f0f3eb; }
.thread-item > div:not(.avatar) { flex:1; min-width:0; }
.thread-item strong { display:block; font-size:12px; font-weight:600; }
.thread-item p { font-size:11px; color:var(--muted,#72776d); line-height:1.5; margin:6px 0 0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.thread-date { display:none; }
.messages-list-empty { font-size:12px; padding:6px 20px; }
.conversation { min-width:0; display:flex; flex-direction:column; }
.conversation-head { padding:18px 22px; border-bottom:1px solid var(--border,#e5e5dd); display:flex; gap:11px; align-items:center; }
.conversation-head h2 { font-size:14px; margin:0 0 4px; }
.conversation-head span { font-size:11px; }
.conversation-head .text-link { font-size:12px; margin-left:auto; }
.conversation-history { flex:1; display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:25px 22px; max-height:440px; min-height:250px; overflow-y:auto; }
.message-bubble { max-width:85%; background:#f4f5ef; border:1px solid #e6e9df; padding:12px 14px; border-radius:12px 12px 12px 3px; min-width:145px; }
.message-bubble.outgoing { align-self:flex-end; background:#edf2e9; border-color:#dae5d5; border-radius:12px 12px 3px 12px; }
.message-bubble-top { display:flex; align-items:center; gap:12px; }
.message-bubble strong { font-size:11px; font-weight:550; }
.message-bubble p { font-size:13px; line-height:1.7; margin:9px 0 9px; white-space:pre-wrap; overflow-wrap:anywhere; }
.message-bubble time { display:block; font-size:10px; color:#858e7d; }
.message-report { padding:2px; margin-left:auto; color:#7c8a70; min-height:28px; min-width:28px; }
.message-report svg { width:14px; height:14px; }
.message-reply-form { padding:17px 21px; border-top:1px solid var(--border,#e5e5dd); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:end; }
.message-reply-form textarea { font:inherit; font-size:13px; resize:vertical; border:1px solid var(--border,#dfe2d6); padding:11px 13px; border-radius:8px; line-height:1.5; }
.message-reply-form [data-form-error] { grid-column:1/-1; }
.messages-welcome { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; margin:auto; padding:40px; max-width:380px; }
.messages-welcome > svg { width:44px; height:44px; color:#839875; margin-bottom:15px; stroke-width:1.2; }
.messages-welcome h2 { font-size:21px; letter-spacing:-.025em; margin:0 0 13px; }
.messages-welcome p { font-size:13px; line-height:1.8; margin:0 0 23px; }
.group-message-help { display:flex; gap:10px; align-items:flex-start; padding:19px 8px; max-width:750px; }
.group-message-help > span { color:#769167; margin-top:3px; }
.group-message-help p { font-size:12px; line-height:1.8; margin:0; }
.conversation-restricted { padding:17px 22px; font-size:12px; line-height:1.7; }
.conversation > .group-notice { margin:15px 20px 0; }
.conversation > .group-notice .toolbar { margin-top:12px; }
.group-queue-count { padding:10px 15px; border:1px solid #dce4d3; border-radius:9px; color:#526b45; font-size:13px; margin-top:20px; white-space:nowrap; }
.review-summary { display:grid; grid-template-columns:1fr 1fr 1.35fr; gap:14px; margin-bottom:23px; }
.review-summary .card { padding:19px 21px; }
.review-summary span { display:flex; gap:8px; align-items:center; font-size:12px; color:var(--muted,#72776d); }
.review-summary strong { display:block; font-size:27px; letter-spacing:-.03em; margin-top:8px; font-weight:600; }
.review-summary .review-human strong { font-size:16px; margin-top:15px; }
.review-legend { padding:0 5px; margin-bottom:26px; max-width:850px; }
.review-legend p { font-size:13px; line-height:1.8; margin:9px 0; }
.review-cards { display:grid; gap:22px; }
.review-card { padding:24px 26px; }
.review-card > header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.review-card h2 { font-size:21px; letter-spacing:-.025em; margin:6px 0 0; }
.review-evidence { padding:18px 0 20px; border-bottom:1px solid var(--border,#e5e5dd); margin-bottom:18px; }
.review-evidence > p { font-size:14px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.review-evidence > p.muted { font-size:12px; }
.review-evidence > .group-post-source { font-size:12px; }
.review-reason,.review-reasons { background:#f8f3eb; border-radius:8px; padding:13px 15px; color:#796143; }
.review-reasons { padding-left:32px; font-size:13px; line-height:1.7; }
.review-card .form-field > span { display:block; font-size:12px; font-weight:550; margin-bottom:9px; }
.review-card textarea { width:100%; box-sizing:border-box; resize:vertical; padding:11px 13px; border:1px solid var(--border,#dce1d3); border-radius:8px; font:inherit; font-size:13px; }
.review-decision-buttons { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:17px; }
.review-card [data-form-error] { margin-top:12px; }
.group-view [hidden],.group-modal-form [hidden] { display:none!important; }
.group-view button:focus-visible,.group-view a:focus-visible,.group-modal-form button:focus-visible { outline:2px solid #3b6545; outline-offset:3px; }
@media(max-width:1100px) { .group-detail-grid { grid-template-columns:minmax(0,1fr) 260px; gap:18px; }.group-hero-main h1 { font-size:28px; }.group-filterbar { align-items:flex-start; }.group-card-content,.group-card-head { padding-left:20px; padding-right:20px; }.group-card-foot { padding-left:20px; padding-right:20px; } }
@media(max-width:760px) { .group-page-head { gap:16px; margin-bottom:19px; }.group-page-head .btn { margin-top:17px; font-size:12px; padding:10px 12px; }.group-eyebrow { font-size:10px; }.group-lead { font-size:13px; }.group-grid { grid-template-columns:1fr; gap:15px; }.group-detail-grid { grid-template-columns:1fr; }.group-detail-aside { grid-template-columns:1fr 1fr; gap:15px; }.group-source-note { grid-column:1/-1; }.group-hero { padding:22px; }.group-hero-main { flex-direction:column; gap:19px; }.group-hero-actions { flex-direction:row; align-items:center; flex-wrap:wrap; }.group-hero-main h1 { font-size:27px; }.group-filterbar { flex-direction:column; gap:13px; }.group-search-field { width:100%; max-width:none; min-width:0; box-sizing:border-box; }.group-filter-tabs { width:100%; }.group-filter-tabs .btn { padding:9px 10px; font-size:12px; }.group-note { padding:19px; gap:13px; }.messages-layout { grid-template-columns:220px minmax(0,1fr); }.conversation-head { padding:16px; }.conversation-history { padding:20px 15px; }.message-reply-form { grid-template-columns:1fr; padding:14px; }.message-reply-form .btn { justify-self:end; }.messages-welcome { padding:28px 18px; }.review-summary { grid-template-columns:1fr 1fr; }.review-summary .review-human { grid-column:1/-1; }.review-card { padding:21px; } }
@media(max-width:520px) { .group-page-head { flex-wrap:wrap; gap:3px; }.group-page-head > div { width:100%; }.group-page-head .btn { margin-top:12px; }.group-card h2 { font-size:19px; }.group-hero-tags .chip { font-size:10px; }.group-hero-top { align-items:flex-start; }.group-hero-actions { gap:8px; }.group-hero-actions .btn { font-size:12px; }.group-detail-aside { grid-template-columns:1fr; }.group-composer-prompt .avatar { display:none; }.group-composer-prompt { padding:12px; }.group-composer-prompt .btn { padding:8px; }.group-composer-prompt .btn span { display:none; }.group-section-head { align-items:flex-start; flex-direction:column; gap:6px; }.group-post-head { padding:17px 17px 0; }.group-post-body { padding:3px 17px 17px; }.group-post-actions .btn { font-size:11px; padding:8px 7px; }.group-card-foot { flex-wrap:wrap; }.messages-layout { display:flex; flex-direction:column; }.thread-list { border-right:0; border-bottom:1px solid var(--border,#e5e5dd); }.thread-list-head { padding:14px 16px; }.thread-item { padding:12px 16px; }.thread-list { max-height:245px; overflow-y:auto; }.conversation { min-height:350px; }.conversation-history { max-height:400px; min-height:210px; }.message-bubble { max-width:88%; }.message-reply-form { grid-template-columns:minmax(0,1fr) auto; }.message-reply-form .btn { font-size:0; padding:11px; }.message-reply-form .btn svg { width:20px; height:20px; }.message-reply-form .btn span { display:none; }.review-summary { gap:10px; }.review-summary .card { padding:16px; }.review-summary span { font-size:11px; }.review-card { padding:18px; }.review-card > header { gap:12px; flex-direction:column; }.review-decision-buttons { justify-content:stretch; }.review-decision-buttons .btn { flex:1; font-size:12px; }.group-modal-buttons .btn { font-size:12px; }.group-type-picker small { line-height:1.5; }.group-modal-form .grid-2 { grid-template-columns:1fr; }.group-queue-count { margin-top:10px; } }

@container groups (max-width:680px) {
  .group-detail-grid { grid-template-columns:1fr; }
  .group-detail-aside { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .group-source-note { grid-column:1/-1; }
  .group-hero-main { flex-direction:column; gap:18px; }
  .group-hero-actions { flex-direction:row; align-items:center; flex-wrap:wrap; }
  .group-hero-actions .group-membership { order:3; flex-basis:100%; }
  .group-hero-actions .btn { font-size:12px; }
  .group-card-foot { flex-wrap:wrap; }
}
@container groups (max-width:500px) {
  .group-grid,.group-detail-aside { grid-template-columns:1fr; }
  .group-page-head { flex-wrap:wrap; }
  .group-page-head > div { width:100%; }
  .group-page-head .btn { margin-top:10px; }
  .messages-layout { display:flex; flex-direction:column; }
  .thread-list { border-right:0; border-bottom:1px solid var(--border,#e5e5dd); max-height:245px; overflow-y:auto; }
  .conversation { min-height:350px; }
  .review-summary { grid-template-columns:1fr 1fr; }
  .review-summary .review-human { grid-column:1/-1; }
}

/* Source: modules/messenger-compose.css */
/* A calm composer for Семейный архив: Живая память. */
[data-mc-scheduled]{position:relative}[data-mc-scheduled]:not([data-count=""])[data-count]::after{content:attr(data-count);position:absolute;right:0;top:1px;min-width:12px;padding:0 2px;font-size:8px;line-height:12px;color:white;background:#6c8d5b;border-radius:7px}[data-mc-scheduled].mc-has-failed::after{background:#b36d51}
.mc-page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.messages-view .messages-layout{border-radius:20px;box-shadow:0 12px 40px #28453406}.messages-view .conversation-history{background:linear-gradient(150deg,#fcfaf4,#f5f6ef);max-height:480px;min-height:300px}.messages-view .conversation-head{background:#fffefa}.messages-view .message-bubble{border:0;box-shadow:0 2px 8px #213e2910}.messages-view .message-bubble.outgoing{background:#e9f0e5}.mc-composer.message-reply-form{display:block;background:#fffefa;padding:15px 18px 10px}.mc-compose-line{display:flex;align-items:flex-end;gap:8px;min-width:0}.mc-compose-line textarea{min-width:0;flex:1;box-sizing:border-box;min-height:46px;max-height:150px;resize:none;border-radius:15px;padding:12px 14px;background:#f8f8f2;border:1px solid #e5e8dc;font-size:14px;line-height:1.5}.mc-compose-line textarea:focus{outline:2px solid #acc5b0;outline-offset:1px}.mc-icon-button,.mc-send-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:44px;border:0;border-radius:12px;background:transparent;color:#536b5b;cursor:pointer;flex:none;padding:10px}.mc-icon-button:hover{background:#edf2e9}.mc-icon-button:focus-visible,.mc-send-button:focus-visible,.mc-text-button:focus-visible,.mc-send-menu button:focus-visible,.mc-attach-choice:focus-visible{outline:3px solid #d49947;outline-offset:2px}.mc-icon-button svg{width:22px;height:22px}.mc-send-control{display:flex;align-items:center;gap:1px}.mc-send-button{background:#215c47;color:#fff;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.mc-send-button:hover{background:#164a38}.mc-send-button:disabled{opacity:.55;cursor:wait}.mc-send-button svg{width:21px;height:21px}.mc-send-control .mc-icon-button{min-width:28px;padding:5px}.mc-send-control .mc-icon-button svg{width:19px}.mc-compose-tools{display:flex;justify-content:space-between;align-items:center;gap:9px;padding-top:9px}.mc-text-button{display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:12px;border:0;background:transparent;color:#32604a;padding:6px 1px;cursor:pointer;min-height:32px}.mc-text-button svg{width:15px;height:15px}.mc-muted{font-size:11px;color:#7e897e;line-height:1.6}.mc-error{color:#a24239;font-size:12px;line-height:1.7;margin:6px 0 0;overflow-wrap:anywhere}.mc-error:empty{display:none}.mc-live:empty{display:none}.mc-live{font-size:11px;color:#6d786b;margin-top:6px}.mc-compose-summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e7eadf;padding:0 0 10px;margin-bottom:10px}.mc-compose-summary[hidden]{display:none}.mc-compose-summary span{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#3e6751}.mc-compose-summary svg{width:14px;height:14px}.mc-compose-summary button{font:inherit;font-size:11px;color:#697767;border:0;background:transparent;cursor:pointer;margin-left:auto;min-height:30px}.mc-draft-attachments{display:flex;flex-direction:column;gap:7px}.mc-draft-attachments:empty{display:none}.mc-draft-attachments:not(:empty){padding-bottom:10px}.mc-draft-item{display:flex;align-items:center;gap:9px;background:#f4f6ed;border:1px solid #e2e8d9;border-radius:12px;padding:8px 9px;min-width:0}.mc-draft-mark{display:flex;color:#72916b;padding:4px}.mc-draft-mark svg{width:22px;height:22px}.mc-draft-item>div{min-width:0;flex:1}.mc-draft-item strong{display:block;font-size:12px;overflow-wrap:anywhere;font-weight:550}.mc-draft-item span:not(.mc-draft-mark){display:block;color:#7c8676;font-size:10px;margin-top:4px}.mc-draft-item progress{display:block;width:100%;height:4px;margin-top:5px;accent-color:#477958}.mc-draft-item.is-failed{border-color:#e2b9ac;background:#fff8f3}.mc-draft-item.is-failed>div>span{color:#a24239}.mc-draft-item .mc-icon-button{min-width:32px;min-height:36px;padding:5px}.mc-draft-item .mc-icon-button svg{width:16px;height:16px}
dialog.mc-dialog{width:min(540px,calc(100vw - 32px));box-sizing:border-box;max-height:min(90dvh,850px);border-radius:23px;padding:0;background:#fffefa;overflow:hidden}dialog.mc-dialog .modal-head{padding:23px 24px 18px;gap:12px;border-bottom:1px solid #ecede3}dialog.mc-dialog .modal-head h2{font-size:20px;letter-spacing:-.025em;font-weight:600}dialog.mc-dialog .modal-body{padding:19px 24px 24px;max-height:calc(90dvh - 92px);overflow:auto;box-sizing:border-box}.mc-intro{font-size:13px;line-height:1.8;color:#74806e;margin:0 0 18px;text-wrap:pretty}.mc-send-menu>button,.mc-silent-row{display:flex;align-items:center;gap:15px;width:100%;background:transparent;border:0;font:inherit;text-align:left;border-radius:14px;padding:17px 13px;box-sizing:border-box;color:#284a37}.mc-send-menu>button{cursor:pointer}.mc-send-menu>button:hover,.mc-silent-row:hover{background:#f1f5eb}.mc-send-menu>button:disabled{color:#9ca694;cursor:not-allowed;background:transparent}.mc-send-menu>button>svg,.mc-silent-row>svg{width:25px;height:25px;flex:none}.mc-send-menu>button>span,.mc-silent-row>span{min-width:0;flex:1}.mc-send-menu strong,.mc-silent-row strong{display:block;font-size:15px;font-weight:550;line-height:1.45}.mc-send-menu small,.mc-silent-row small{display:block;font-size:11px;line-height:1.65;color:#8a9582;margin-top:4px}.mc-silent-row input{width:20px;height:20px;accent-color:#286047;flex:none;cursor:pointer}.mc-menu-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:17px;border-top:1px solid #eceee3}.mc-menu-footer .btn{font-size:12px;min-height:42px}.mc-form{display:grid;gap:16px}.mc-form .form-field{margin:0}.mc-form .mc-menu-footer{margin:0}.mc-timezone{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.7;color:#7c8675;margin:0;flex-wrap:wrap}.mc-timezone svg{width:16px;height:16px}.mc-timezone strong{font-weight:500;color:#455f49}.mc-coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.mc-coordinate-fields input{min-width:0;width:100%;box-sizing:border-box}.mc-attach-primary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mc-attach-secondary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #e9ecdf;margin-top:16px;padding-top:16px}.mc-attach-secondary[hidden]{display:none}.mc-attach-choice{border:1px solid #e5e9dc;background:#f8f9f3;border-radius:15px;padding:16px 4px 13px;display:flex;align-items:center;flex-direction:column;text-align:center;font:inherit;color:#345c43;cursor:pointer;min-width:0;gap:8px}.mc-attach-choice:hover{background:#eaf2e4;border-color:#c9dac1}.mc-attach-choice>span{width:39px;height:39px;background:#e9f0e2;border-radius:13px;display:flex;align-items:center;justify-content:center;color:#567b4a}.mc-attach-choice svg{width:23px;height:23px}.mc-attach-choice strong{font-size:12px;font-weight:550;line-height:1.4}.mc-attach-choice small{font-size:9px;color:#8a9480;line-height:1.6;max-width:95px}.mc-attachment-limit{font-size:11px;color:#8b9582;margin:17px 0 0;text-align:center}.mc-picker-search{display:flex;align-items:center;gap:8px;border:1px solid #e0e7d6;background:#f7f9f1;border-radius:12px;padding:10px 13px}.mc-picker-search input{background:none;border:0;outline:none;font:inherit;font-size:13px;width:100%;min-width:0}.mc-picker-search svg{width:18px;color:#86967c}.mc-picker-results{display:flex;flex-direction:column;gap:7px;margin-top:12px;max-height:380px;overflow:auto}.mc-picker-results>button{display:flex;align-items:center;gap:12px;border:0;border-radius:12px;padding:14px 12px;text-align:left;font:inherit;background:#f5f7ee;color:#45623f;cursor:pointer}.mc-picker-results>button[hidden]{display:none}.mc-picker-results>button>span{flex:1;min-width:0}.mc-picker-results strong{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:550}.mc-picker-results small{display:block;font-size:10px;color:#89967f;margin-top:4px}.mc-picker-results>button>svg{width:20px;height:20px;flex:none}.mc-queue{display:flex;flex-direction:column;gap:13px}.mc-queue .mc-intro{margin:0 0 4px}.mc-queue-item{padding:17px;background:#f6f8f0;border:1px solid #e2e9d9;border-radius:16px}.mc-queue-status{display:flex;align-items:center;gap:6px;color:#647e50;font-size:11px}.mc-queue-status svg{width:14px;height:14px}.mc-queue-item>p{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 9px}.mc-queue-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:8px}.mc-danger{color:#a95c4d}.mc-queue-empty{padding:28px 15px;text-align:center;color:#8a9c7c}.mc-queue-empty>svg{width:40px;height:40px;stroke-width:1.1}.mc-queue-empty h3{font-size:19px;color:#46633c;font-weight:500}.mc-queue-empty p{font-size:13px;line-height:1.8;max-width:290px;margin:auto}.mc-message-attachments{display:flex;flex-direction:column;gap:9px;margin:10px 0}.mc-shared-file,.mc-reference{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border-radius:10px;background:#ffffff90;border:1px solid #e0e8d5}.mc-shared-file>img{width:70px;height:70px;border-radius:7px;object-fit:cover}.mc-shared-file>div,.mc-reference>div{min-width:0;display:flex;flex-direction:column;gap:5px}.mc-shared-file strong,.mc-reference strong{font-size:12px;overflow-wrap:anywhere}.mc-shared-file span,.mc-reference span{display:block;font-size:10px;line-height:1.65;color:#7c8b72;overflow-wrap:anywhere}.mc-file-symbol{display:flex!important;padding:8px;color:#527c41}.mc-reference>svg{width:22px;height:22px;flex:none;color:#6c8b55}.mc-shared-file a,.mc-reference a{font-size:11px;min-height:25px}.mc-shared-list{font-size:12px;line-height:1.8}.mc-shared-list>strong{font-size:13px}.mc-shared-list ul{list-style:none;padding:0;margin:8px 0}.mc-shared-list li{display:flex;align-items:center;gap:8px}.mc-shared-list li>svg{width:15px;height:15px;flex:none}
@media(max-width:760px){.mc-page-actions{gap:4px}.mc-page-actions .btn{margin:0;padding:9px 10px}.mc-composer.message-reply-form{padding:12px 10px 8px}.mc-compose-line{gap:3px}.mc-compose-line>.mc-icon-button{min-width:35px;padding:7px}.mc-compose-line textarea{font-size:16px;padding:10px 11px;border-radius:14px}.mc-compose-tools>.mc-muted{font-size:9px}.mc-send-button{min-width:39px;padding:9px}.mc-send-control .mc-icon-button{min-width:25px}.mc-send-control .mc-icon-button svg{width:17px}.mc-page-actions .btn>svg{width:15px;height:15px}.messages-view .group-page-head>.mc-page-actions{width:auto;margin-top:10px}.mc-draft-item{padding:6px}.mc-draft-item strong{font-size:11px}.mc-draft-mark{padding:2px}.mc-draft-item .mc-text-button{font-size:10px}.mc-send-menu>button,.mc-silent-row{gap:12px;padding:16px 6px}.mc-send-menu strong,.mc-silent-row strong{font-size:15px}.mc-menu-footer .btn{padding:10px 12px}dialog.mc-dialog .modal-body{padding:15px 17px 20px}dialog.mc-dialog .modal-head{padding:19px 17px 15px}.mc-attach-primary{gap:6px}.mc-attach-choice{padding:12px 3px 10px}.mc-attach-choice strong{font-size:10px}.mc-attach-choice small{font-size:8px}.mc-attach-choice>span{width:34px;height:34px;border-radius:11px}.mc-attach-choice svg{width:20px;height:20px}}
.mc-draft-thumbnail{width:45px;height:45px;object-fit:cover;border-radius:8px;flex:none}
.mc-send-menu>button{font-size:16px;min-height:62px;padding:18px 10px;gap:17px}.mc-send-menu>button>span{flex:1}.mc-queue-item{display:flex;gap:8px;align-items:flex-start;padding:14px 15px}.mc-queue-content{flex:1;min-width:0}.mc-queue-content>p{font-size:14px;line-height:1.7;margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}.mc-queue-menu{position:relative;flex:none}.mc-queue-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;color:#667c5d}.mc-queue-menu summary::-webkit-details-marker{display:none}.mc-queue-menu summary svg{width:20px}.mc-queue-menu[open] summary{background:#e6eddf}.mc-queue-menu>div{position:absolute;z-index:2;right:0;top:35px;min-width:170px;padding:5px;background:#fffefa;box-shadow:0 8px 30px #34513025;border:1px solid #e4e9dc;border-radius:12px}.mc-queue-menu button{display:block;width:100%;background:transparent;border:0;font:inherit;font-size:12px;text-align:left;cursor:pointer;padding:12px 10px;color:#335840}.mc-queue-menu button:hover{background:#f1f5e9;border-radius:7px}.mc-queue-menu button.mc-danger{color:#a95c4d}.mc-attach-choice{border:0;background:transparent;padding:10px 3px;gap:10px}.mc-attach-choice:hover{background:#f1f5eb}.mc-attach-choice>span{width:48px;height:48px;border-radius:17px}.mc-attach-choice strong{font-size:12px}.mc-attach-sheet .mc-attach-primary{padding:3px 0}.mc-queue-empty{font-size:13px;padding:20px 10px;margin:0}
@media(prefers-reduced-motion:reduce){.mc-composer *,dialog.mc-dialog *{scroll-behavior:auto;animation:none;transition:none}}
/* Compact chat and inline tools. Panes remain next to the composer. */
.message-bubble .mc-message-attachments{margin:3px 0}.message-bubble .mc-shared-media{margin:0;gap:1px}.message-bubble .mc-shared-media a{min-height:0;font-size:9px;line-height:12px}.message-bubble .mc-shared-media audio{height:38px}.message-bubble:has(.mc-shared-media audio):not(:has(>p)){padding-top:6px;padding-bottom:6px}
.mc-inline-dock.mc-strip .mc-dock-top{height:16px}.mc-inline-dock.mc-strip .mc-dock-top>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mc-inline-dock.mc-strip .mc-dock-top .mc-icon-button{margin-left:auto;min-height:18px;height:18px;width:26px;min-width:26px;padding:1px}
.mc-composer-shell{flex:none;min-width:0;background:#fffefa}.mc-composer.message-reply-form{padding:7px 9px}.mc-compose-line textarea{min-height:42px;max-height:110px;padding:10px 12px;line-height:21px}.mc-compose-line{align-items:flex-end;gap:3px}.mc-compose-line>[data-mc-scheduled]{width:30px;min-width:30px;padding:6px}.mc-compose-line>[data-mc-scheduled] svg{width:18px;height:18px}.mc-send-button,.mc-record-button{width:40px;height:40px;min-width:40px;min-height:40px;padding:9px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#215c47;color:white;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;flex:none}.mc-send-button[hidden],.mc-record-button[hidden],[data-mc-options][hidden]{display:none}.mc-record-button svg{width:21px;height:21px}.mc-send-control{align-items:center;height:42px}.mc-send-control .mc-icon-button{width:23px;min-width:23px;min-height:40px}.mc-inline-dock{padding:4px 8px 7px;border-top:1px solid #e3e9dc;background:#f9faf5;max-height:42dvh;overflow-y:auto;overscroll-behavior:contain}.mc-inline-dock[hidden]{display:none}.mc-dock-top{display:flex;justify-content:space-between;align-items:center;height:27px;padding-left:5px;color:#84927b;font-size:10px}.mc-dock-top .mc-icon-button{width:30px;min-width:30px;height:27px;min-height:27px;padding:4px}.mc-dock-top .mc-icon-button svg{width:16px;height:16px}.mc-attach-primary,.mc-send-menu{display:flex;gap:5px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:3px 0 6px;scrollbar-width:thin;scrollbar-color:#c5d4ba transparent;-webkit-overflow-scrolling:touch}.mc-attach-choice,.mc-send-menu>button{flex:0 0 67px;width:67px;min-width:67px;padding:4px 1px 7px;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;border:0;background:transparent;color:#355b43;scroll-snap-align:start;text-align:center;border-radius:11px}.mc-attach-choice>span,.mc-send-menu>button>svg{display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-height:38px;background:#e9f0e2;border-radius:13px;color:#60804f}.mc-attach-choice svg{width:20px;height:20px}.mc-attach-choice strong,.mc-send-menu>button>span{font-size:10px;font-weight:500;line-height:1.4;max-width:76px}.mc-send-menu>button{flex-basis:100px;min-width:100px;width:100px}.mc-send-menu>button>svg{padding:8px;box-sizing:border-box}.mc-send-menu>button:disabled{opacity:.35}.mc-inline-dock .mc-form{gap:8px;padding:3px 5px 5px}.mc-inline-dock .form-field{gap:4px;font-size:11px}.mc-inline-dock .form-field input,.mc-inline-dock .form-field textarea{font-size:14px;min-height:38px;padding:7px 9px}.mc-inline-dock .form-field textarea{min-height:70px}.mc-inline-dock .mc-menu-footer{padding:6px 0 0;margin:0;border:0}.mc-inline-dock .mc-menu-footer .btn{min-height:36px;padding:7px 12px}.mc-inline-dock .mc-timezone{font-size:10px}.mc-inline-dock .mc-queue{gap:6px}.mc-inline-dock .mc-queue-item{padding:8px 10px;border-radius:11px}.mc-inline-dock .mc-queue-content>p{font-size:12px;margin-bottom:3px}.mc-inline-dock .mc-queue-content .mc-muted{font-size:9px}.mc-inline-dock .mc-queue-menu summary{width:27px;height:27px}.mc-inline-dock .mc-queue-empty{padding:15px 10px}.mc-inline-dock .mc-picker-results{max-height:180px;gap:4px}.mc-inline-dock .mc-picker-results>button{padding:9px;font-size:12px}.mc-inline-dock .mc-picker-search{padding:7px 9px}.mc-recording-bar{display:flex;align-items:center;gap:8px;min-height:47px;padding:5px 10px;border-top:1px solid #e5eadd;color:#54714b;font-size:12px}.mc-recording-bar[hidden]{display:none}.mc-recording-bar>video{width:76px;height:70px;object-fit:cover;border-radius:12px;background:#1c2d22}.mc-recording-bar>video[hidden]{display:none}.mc-recording-bar>[data-mc-record-time]{font-variant-numeric:tabular-nums;white-space:nowrap;color:#a04d3c}.mc-record-hint{font-size:10px;color:#8c9883;flex:1}.mc-shared-media{max-width:100%;margin:5px 0;display:grid;gap:3px}.mc-shared-media audio{max-width:100%;width:260px;height:38px}.mc-shared-media video{max-width:100%;max-height:240px;border-radius:9px;background:#16281d}.mc-shared-media .text-link{font-size:9px;font-weight:400;overflow-wrap:anywhere}.mc-draft-item audio,.mc-draft-item video{max-width:100%;max-height:140px}.mc-chat-back{display:none}.mc-chat-menu{position:relative;margin-left:auto;flex:none}.mc-chat-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;cursor:pointer}.mc-chat-menu summary::-webkit-details-marker{display:none}.mc-chat-menu>div{position:absolute;z-index:9;right:0;top:36px;min-width:160px;display:grid;padding:5px;background:#fffefa;border:1px solid #e1e7d8;border-radius:11px;box-shadow:0 8px 30px #28422520}.mc-chat-menu a,.mc-chat-menu button{font:inherit;text-align:left;border:0;background:none;font-size:12px;padding:11px;color:#526d48;cursor:pointer}.messages-view .conversation-history{gap:7px;padding:14px 12px}.messages-view .message-bubble{padding:8px 10px;min-width:85px;max-width:85%;position:relative}.message-bubble-top{position:absolute;right:1px;top:1px}.message-bubble-top .message-report{opacity:.1;min-width:19px;min-height:19px;padding:2px}.message-bubble:hover .message-report,.message-report:focus-visible{opacity:1}.message-bubble p{font-size:13px;line-height:1.5;margin:0 10px 3px 0}.message-bubble time{text-align:right;font-size:9px;line-height:1.2}.messages-view .conversation-head{padding:9px 12px;min-height:58px}.messages-view .conversation-head .avatar{width:36px;height:36px;font-size:12px}.messages-view .conversation-head h2{font-size:14px}.messages-view .conversation-head span{font-size:10px}.mc-draft-attachments:not(:empty){padding-bottom:5px}.mc-draft-item{padding:5px 7px}.mc-draft-item strong{font-size:11px}.mc-live{font-size:10px}
@media(max-width:760px){body:has(.mc-chat-active){height:100dvh;overflow:hidden}body:has(.mc-chat-active)>.topbar,body:has(.mc-chat-active)>.dev-strip,body:has(.mc-chat-active)>.place-context-bar,body:has(.mc-chat-active)>.mobile-nav,body:has(.mc-chat-active) #archive-help-widget,body:has(.mc-chat-active) .archive-help-launcher,body:has(.mc-chat-active) .sidebar,body:has(.mc-chat-active) .right-rail{display:none!important}body:has(.mc-chat-active) .app-layout{display:block;padding:0;margin:0;width:100%;height:100dvh;max-width:none}body:has(.mc-chat-active) #main{height:100%;padding:0}.mc-chat-active{height:100%;display:flex;flex-direction:column;margin:0!important}.mc-chat-active>.group-page-head,.mc-chat-active .thread-list{display:none}.mc-chat-active .messages-layout{border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;height:100%;min-height:0;flex:1}.mc-chat-active .conversation{height:100%;min-height:0;display:flex;flex-direction:column}.mc-chat-active .conversation-history{min-height:0;max-height:none;flex:1;overflow-y:auto;padding:10px;gap:7px}.mc-chat-active .conversation-head{flex:none;padding-top:max(8px,env(safe-area-inset-top));min-height:56px;background:#fffefa}.mc-chat-back{display:flex;width:30px;height:34px;align-items:center;justify-content:center;flex:none;color:#456b4f}.mc-chat-active .mc-composer-shell{padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #e1e8d8}.mc-chat-active .mc-composer{border:0;padding:5px 6px}.messages-view:not(.mc-chat-active) .conversation{display:none}.messages-view:not(.mc-chat-active) .messages-layout{display:block;min-height:0}.messages-view:not(.mc-chat-active) .thread-list{max-height:none;overflow:visible}.mc-chat-active .mc-inline-dock{max-height:42dvh}.mc-chat-active .mc-compose-line textarea{font-size:16px;padding:10px 11px;min-height:42px}.mc-chat-active .mc-compose-line>.mc-icon-button{width:36px;min-width:36px;padding:7px}.mc-chat-active .mc-compose-line>[data-mc-scheduled]{width:28px;min-width:28px;padding:5px}.mc-chat-active .mc-send-control .mc-icon-button{width:20px;min-width:20px}.mc-chat-active .mc-error{font-size:10px;margin:3px 5px}.mc-chat-active .mc-live{margin:2px 4px}.mc-record-button{width:40px;height:40px}.mc-inline-dock .mc-coordinate-fields{gap:8px}.mc-inline-dock .mc-attach-choice{min-width:62px;flex-basis:62px;width:62px}}

.message-footer{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:4px}.message-footer time{margin:0}.message-receipt{display:inline-flex;flex:none;align-items:center;color:#61736b}.message-receipt.is-read{color:#0759ae}.message-receipt svg{display:block;overflow:visible}

/* Source: modules/settings.css */
.settings-eyebrow{display:block;font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--green,#245644);margin:0 0 8px}
.settings-tabs{margin-bottom:22px;display:flex;flex-wrap:wrap;gap:8px}
.settings-tabs a{padding:11px 16px;border-radius:10px;color:var(--muted,#66736e);text-decoration:none;font-weight:600}
.settings-tabs a.active,.settings-tabs a[aria-current="page"]{background:var(--green-soft,#edf3ee);color:var(--green,#245644)}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:22px;align-items:start}
.settings-layout .card-head{align-items:center;flex-wrap:wrap;gap:10px}
.settings-layout .card-body{padding:24px}
.settings-layout h2,.settings-layout h3{margin-top:0}
.settings-layout aside .card-body h2{font-size:17px}
.settings-layout aside .btn{margin-top:8px}
.settings-layout .form-field{display:flex;flex-direction:column;gap:8px}
.settings-layout .form-field>span{font-weight:600}
.settings-layout textarea{resize:vertical;min-height:110px;line-height:1.7}
.settings-layout .form-field small{line-height:1.55;font-size:12px}
.settings-layout .form-field input,.settings-layout .form-field select,.settings-layout .form-field textarea{width:100%;min-width:0;font:inherit;padding:11px 13px;border:1px solid var(--border,#dbe3db);border-radius:9px;background:#fff;color:var(--ink,#283b32);box-sizing:border-box}
.settings-layout input:focus,.settings-layout textarea:focus,.settings-layout select:focus{outline:3px solid #d9e8df;outline-offset:1px;border-color:var(--green,#245644)}
.settings-soft-card{border:1px solid #e1e8df;border-radius:14px;padding:22px;background:#f3f6f1;margin-bottom:20px}
.settings-soft-card h2{font-size:19px;margin:0 0 10px}
.settings-soft-card h3{font-size:17px;margin:0 0 10px}
.settings-soft-card p:last-child{margin-bottom:0}
.settings-form-status{font-size:13px;min-height:19px;margin:0}
.settings-form-status.error{color:#a13931}
.settings-notice{display:flex;align-items:flex-start;gap:13px;background:#f4f7f3;border:1px solid #e0e8dd;border-radius:12px;padding:18px;margin-bottom:20px}
.settings-notice>span{display:flex;flex:0 0 22px;color:var(--green,#245644);padding-top:2px}
.settings-notice strong{display:block;font-size:14px;margin-bottom:5px}
.settings-notice p{font-size:13px;line-height:1.65;margin:0;color:var(--muted,#65726a)}
.settings-notice svg,.application-symbol svg,.settings-help-emblem svg,.settings-discovery-avatar svg{width:22px;height:22px}
.settings-access-list{padding-left:20px;font-size:13px;line-height:1.7;color:var(--muted,#65726a)}
.settings-access-list li{padding-left:2px;margin-bottom:8px}
.settings-legacy{margin-top:24px}
.settings-legacy .card-body{padding:24px}
.settings-legacy .grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-bottom:20px}
.settings-rule-box{background:#f7f8f5;padding:19px;border-radius:10px;font-size:13px;line-height:1.7}
.settings-rule-box ul{padding-left:19px;margin-bottom:0}
.settings-check-list{display:grid;gap:0}
.setting-check{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-bottom:1px solid var(--border,#e5e9e2);cursor:pointer}
.setting-check:last-child{border-bottom:0}
.setting-check input{width:17px;height:17px;flex:0 0 17px;margin-top:3px;accent-color:var(--green,#245644)}
.setting-check input:disabled{cursor:not-allowed}
.setting-check span{display:block;min-width:0}
.setting-check strong{display:block;font-size:14px;font-weight:600;line-height:1.5}
.setting-check small{display:block;color:var(--muted,#65726a);font-size:12px;line-height:1.6;margin-top:3px}
.setting-check:has(input:disabled){opacity:.65;cursor:default}
.settings-fieldset{padding:18px;border:1px solid var(--border,#dbe3db);border-radius:11px;min-width:0}
.settings-fieldset legend{font-size:14px;font-weight:600;padding:0 7px}
.settings-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.application-card .card-body{height:100%;display:flex;flex-direction:column;gap:11px;padding:23px;box-sizing:border-box}
.application-top,.help-tour-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:3px}
.application-symbol{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;background:#ecf2ec;border:1px solid #dde6dc;border-radius:12px;color:var(--green,#245644)}
.application-card h2{font-size:18px;margin:0;line-height:1.4}
.application-card p{margin:0;line-height:1.65;font-size:13px}
.application-card .application-author{font-size:12px}
.application-permissions{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 12px}
.application-permissions .chip{font-size:10px}
.application-card .toolbar{margin-top:auto;gap:7px;flex-wrap:wrap}
.application-card .btn{font-size:12px;padding:10px 11px;white-space:normal}
.settings-material-picker{max-height:230px;overflow:auto;padding-right:8px}
.settings-material-picker .setting-check strong{font-size:12px}
.settings-material-picker .setting-check small{font-size:11px}
.settings-submissions{margin-top:24px}
.settings-submissions .list-row{display:flex;gap:20px;align-items:flex-start}
.settings-submissions .list-row>div{min-width:0;flex:1}
.settings-submissions h3{font-size:15px;margin:0 0 5px}
.settings-submissions p{font-size:13px;line-height:1.65;margin:0}
.settings-notifications .card-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.notification-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:15px;padding:23px;border-top:1px solid var(--border,#e5e9e2)}
.notification-row.unread{background:#f4f7f1}
.notification-marker{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9efe5;color:var(--green,#245644)}
.notification-marker svg{width:18px;height:18px}
.notification-top{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-bottom:6px}
.notification-top h3{font-size:14px;margin:0}
.notification-top time{font-size:11px;color:var(--muted,#65726a);white-space:nowrap}
.notification-row p{font-size:13px;line-height:1.65;margin:0 0 8px}
.notification-row .toolbar{gap:15px;flex-wrap:wrap}
.notification-row .btn{font-size:11px;padding:5px 0;min-height:32px}
.notification-row .text-link,.notification-read{font-size:11px}
.settings-help-intro{padding:29px;background:#f2f5ef;border:1px solid #e1e7dc;border-radius:16px;display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:25px}
.settings-help-intro h2{font-size:24px;font-weight:600;line-height:1.4;margin:0 0 10px;max-width:650px}
.settings-help-intro p{max-width:700px;font-size:14px;line-height:1.75;color:var(--muted,#65726a);margin:0}
.settings-help-emblem{display:flex;align-items:center;justify-content:center;width:76px;height:76px;flex:0 0 76px;background:#e7ede1;border-radius:50%;color:#577057}
.settings-help-emblem svg{width:34px;height:34px}
.settings-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:25px}
.help-tour-card .card-body{display:flex;flex-direction:column;gap:11px;padding:24px;box-sizing:border-box;height:100%}
.help-tour-card h2{font-size:18px;line-height:1.45;margin:0}
.help-tour-card p{font-size:13px;line-height:1.65;margin:0 0 7px}
.help-tour-card .btn{align-self:flex-start;margin-top:auto}
.help-tour-top>.muted{font-size:11px}
.guided-tour{display:flex;flex-direction:column;gap:16px}
.guided-tour-progress{display:flex;gap:7px;margin-bottom:2px}
.guided-tour-progress span{height:4px;flex:1;border-radius:4px;background:#e1e6df}
.guided-tour-progress span.done{background:var(--green,#245644)}
.guided-tour .settings-eyebrow{margin:0}
.guided-tour-title{font-size:24px;line-height:1.4;margin:0;outline:none}
.guided-tour-copy{font-size:15px;line-height:1.8;margin:0}
.guided-tour>.btn{align-self:flex-start}
.guided-tour-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:19px;margin-top:7px;border-top:1px solid #e1e6df}
.guided-tour-actions .toolbar{gap:8px}
.guided-tour-actions .btn{font-size:12px}
.settings-discovery-preview{text-align:center;padding:15px 10px}
.settings-discovery-avatar{display:flex;align-items:center;justify-content:center;background:#edf1e8;border:1px solid #dfe6d9;width:74px;height:74px;border-radius:50%;margin:0 auto 16px;color:#61785a}
.settings-discovery-avatar svg{width:30px;height:30px}
.settings-discovery-preview h2{margin:0 0 12px;font-size:22px}
.settings-discovery-preview p{font-size:13px;line-height:1.7;margin-top:18px}
.settings-login-hint{font-size:13px;color:var(--muted,#65726a);max-width:600px;margin:20px 0}
@media(max-width:1080px){.settings-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}}
@media(max-width:760px){.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-layout aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-legacy .grid-2{grid-template-columns:minmax(0,1fr);gap:14px}.settings-help-intro h2{font-size:21px}.settings-help-emblem{display:none}.settings-layout .card-body,.settings-legacy .card-body{padding:20px}.settings-help-grid{gap:16px}.notification-top{flex-wrap:wrap;gap:5px}.notification-top time{display:block}}
@media(max-width:520px){.settings-app-grid,.settings-help-grid{grid-template-columns:minmax(0,1fr)}.settings-layout aside{grid-template-columns:minmax(0,1fr)}.settings-tabs{gap:3px}.settings-tabs a{padding:9px 11px;font-size:12px}.settings-layout .card-body,.settings-legacy .card-body{padding:17px}.settings-notice{padding:14px;gap:10px}.settings-help-intro{padding:21px}.settings-help-intro h2{font-size:20px}.help-tour-card .card-body,.application-card .card-body{padding:20px}.notification-row{padding:17px;grid-template-columns:31px minmax(0,1fr);gap:11px}.notification-marker{width:30px;height:30px}.notification-marker svg{width:15px;height:15px}.guided-tour-actions{flex-wrap:wrap;gap:13px}.guided-tour-actions>.toolbar{margin-left:auto}.guided-tour-title{font-size:21px}.guided-tour-copy{font-size:14px}}

/* v0.24: grouped settings, compact forms, explicit consent remains beside controls. */
.settings-overview,.settings-narrow{max-width:720px;margin:0 auto;display:grid;gap:14px}.settings-group{overflow:hidden;margin:0}.settings-group-row{display:grid;grid-template-columns:25px minmax(0,1fr) 16px;align-items:center;gap:12px;min-height:54px;padding:12px 16px;color:var(--ink,#283b32);text-decoration:none;border-bottom:1px solid var(--border,#e5e9e2);box-sizing:border-box}.settings-group-row:last-child{border-bottom:0}.settings-group-row:hover{background:var(--green-soft,#edf3ee)}.settings-group-row strong{font-size:14px;font-weight:600;line-height:1.4;display:block}.settings-group-row small{display:block;font-size:12px;color:var(--muted,#66736e);line-height:1.5;margin-top:3px}.settings-group-row>svg{width:16px;height:16px}.settings-group-icon{display:flex;align-items:center;justify-content:center;color:var(--green,#245644)}.settings-group-icon svg{width:20px;height:20px}.settings-section-heading{align-items:center;margin-bottom:18px}.settings-section-heading h1{margin:5px 0 0;font-size:24px}.settings-back-link{display:inline-flex;align-items:center;gap:5px;color:var(--muted,#66736e);text-decoration:none;font-size:12px;min-height:32px}.settings-back-link svg{width:14px;height:14px;transform:rotate(180deg)}.settings-section-heading .profile-icon-btn{min-height:44px;min-width:44px}.settings-narrow>.card{margin:0}.settings-narrow .card-body{padding:18px}.settings-narrow .form-field{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:14px}.settings-narrow .form-field input,.settings-narrow .form-field select,.settings-narrow .form-field textarea{font:inherit;padding:10px 12px;border:1px solid var(--border,#dbe3db);border-radius:9px;min-height:44px;width:100%;min-width:0;box-sizing:border-box;background:#fff;color:var(--ink,#283b32)}.settings-narrow .form-field textarea{resize:vertical;line-height:1.6}.settings-narrow .form-field small{font-size:12px;line-height:1.5}.settings-fold{min-width:0}.settings-fold>summary{display:flex;align-items:center;list-style:none;min-height:48px;padding:12px 16px;cursor:pointer;font-size:14px;font-weight:600;gap:8px}.settings-fold>summary::-webkit-details-marker{display:none}.settings-fold>summary:after{content:'+';margin-left:auto;font-size:18px;font-weight:400}.settings-fold[open]>summary:after{content:'−'}.settings-fold-body{padding:0 16px 16px;min-width:0}.settings-fold-body>.prose{font-size:13px;line-height:1.6;margin:0}.settings-fold-body .setting-check{padding:12px 0}.settings-fold-body .setting-check strong{font-size:13px}.settings-fold-body .setting-check small{line-height:1.5}.settings-fold-body>[data-message-blocks]>summary{cursor:pointer;min-height:36px;display:flex;align-items:center;font-size:13px}.settings-fold-body [data-message-block-list]{padding-top:8px;gap:8px}.settings-fold-body [data-message-block-row]{justify-content:space-between;gap:8px}.settings-fold-body [data-message-block-row]>.btn{min-height:40px}.settings-sections .settings-legacy{margin:0}.settings-legacy .settings-fold-body>.chip{margin-bottom:14px}.settings-legacy .grid-2{gap:16px;margin-bottom:14px}.settings-privacy-scope{font-size:12px;color:var(--muted,#66736e);line-height:1.6;margin:4px 0}.settings-nested-card>.card{border:0;box-shadow:none;margin:0}.settings-nested-card>.card>.card-head{display:none}.settings-nested-card>.card>.card-body{padding:0}.settings-narrow .settings-form-status:empty{display:none}.settings-narrow .settings-check-list+.settings-fold{border-top:1px solid var(--border,#e5e9e2)}.settings-narrow .settings-fold .settings-fold{border:1px solid var(--border,#e5e9e2);border-radius:9px}.settings-group-row:focus-visible,.settings-fold>summary:focus-visible,.settings-back-link:focus-visible{outline:3px solid #86b59b;outline-offset:-3px}.settings-narrow .form-field input:focus,.settings-narrow .form-field select:focus,.settings-narrow .form-field textarea:focus{outline:3px solid #d9e8df;outline-offset:1px;border-color:var(--green,#245644)}
@media(max-width:520px){.settings-overview,.settings-narrow{gap:10px}.settings-group-row{padding:11px 14px;gap:10px;min-height:52px}.settings-group-row strong{font-size:14px}.settings-group-row small{font-size:11px}.settings-section-heading h1{font-size:22px}.settings-narrow .card-body{padding:14px}.settings-fold>summary{padding:11px 14px;min-height:48px}.settings-fold-body{padding:0 14px 14px}.settings-fold-body .stack{gap:12px}.settings-legacy .grid-2{grid-template-columns:minmax(0,1fr)}.settings-fold-body .toolbar{gap:6px}.settings-fold-body .toolbar>.btn{font-size:12px;min-height:40px}.settings-narrow .form-field input,.settings-narrow .form-field textarea,.settings-narrow .form-field select{font-size:16px}}

/* Source: modules/stories.css */
.stories-view {max-width:1040px;margin:0 auto;}
.stories-heading {display:flex;gap:28px;align-items:flex-start;justify-content:space-between;margin:0 0 26px;}
.stories-heading .page-title {margin:4px 0 12px;}
.stories-heading p {max-width:660px;line-height:1.7;}
.stories-heading>.btn {margin-top:30px;white-space:nowrap;}
.story-eyebrow {font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--green,#3d6955);font-weight:600;}
.story-intro {display:flex;align-items:flex-start;gap:22px;padding:25px 27px;margin-bottom:29px;background:#f5f5ed;}
.story-intro-mark {color:#527360;background:#e4ebdf;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;}
.story-intro h2 {font-size:17px;margin:0 0 8px;}
.story-intro p {font-size:13px;line-height:1.75;color:var(--muted,#697368);margin:0;}
.story-intro>.text-link {white-space:nowrap;margin:4px 0 0 10px;font-size:12px;}
.story-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;}
.story-card {overflow:hidden;}
.story-card-art {position:relative;display:block;height:245px;background:#e8e7df;overflow:hidden;}
.story-card-art img {width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.story-card-art:hover img {transform:scale(1.025);}
.story-card-audience {position:absolute;bottom:15px;left:17px;display:flex;align-items:center;gap:6px;border-radius:30px;padding:7px 11px;font-size:11px;background:#fffdf6ed;color:#4c6054;}
.story-card-audience .icon {width:14px;height:14px;}
.story-card-letter {height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;color:#6e8070;background:linear-gradient(120deg,#e7eadf,#f2efe6);font-family:var(--serif,Georgia,serif);font-size:25px;}
.story-card-letter .icon {width:48px;height:48px;stroke-width:1;}
.story-card-body {padding:23px 25px 25px;}
.story-card-meta {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted,#697368);}
.story-card-body h2 {font-family:var(--serif,Georgia,serif);font-size:29px;line-height:1.17;margin:16px 0 15px;}
.story-excerpt {font-size:13px;color:#6c766d;line-height:1.8;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 22px;}
.story-bottom-note {display:flex;gap:15px;align-items:flex-start;margin-top:29px;padding:0 8px;font-size:12px;color:#768073;}
.story-bottom-note>.icon,.story-bottom-note>span>.icon {width:19px;height:19px;flex-shrink:0;margin-top:4px;}
.story-bottom-note p {margin:0;line-height:1.8;}
.story-back {display:inline-flex;align-items:center;gap:7px;font-size:12px;margin:0 0 23px;color:#68756b;}
.story-article-head {padding:32px 39px 26px;border-bottom:1px solid var(--line,#e6e8df);}
.story-article-head h1 {font-family:var(--serif,Georgia,serif);font-size:47px;line-height:1.13;margin:24px 0 22px;overflow-wrap:anywhere;}
.story-tags {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:19px;}
.story-article-body {padding:30px 39px;}
.story-full-text {font-size:15px;line-height:1.95;white-space:normal;overflow-wrap:anywhere;}
.story-chapters {margin-top:35px;display:flex;flex-direction:column;gap:35px;}
.story-chapter {margin:0;}
.story-chapter>img {display:block;max-width:100%;max-height:630px;margin:0 auto;object-fit:contain;background:#f2f0e9;border-radius:7px;}
.story-photo-placeholder {display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;height:100%;color:#72816f;background:#eef0e6;}
.story-photo-placeholder .icon {width:30px;height:30px;}
.story-chapter>.story-photo-placeholder {padding:45px;}
.story-chapter figcaption {display:flex;gap:18px;align-items:flex-start;margin-top:19px;}
.story-chapter-index {font-family:var(--serif,Georgia,serif);font-size:35px;line-height:1;color:#c2cbbb;}
.story-chapter figcaption p {margin:0 0 6px;font-size:14px;line-height:1.8;}
.story-chapter figcaption small,.story-source-label {font-size:11px;color:#7c8377;display:block;line-height:1.6;}
.story-article-footer {display:flex;flex-wrap:wrap;gap:10px;padding:22px 39px;border-top:1px solid var(--line,#e6e8df);}
.story-article-footer .btn:last-child {margin-left:auto;}
.story-films {margin-top:25px;}
.story-film-card {display:flex;gap:17px;align-items:center;border-top:1px solid var(--line,#e6e8df);padding:17px 0;}
.story-film-card:first-child {border-top:0;padding-top:0;}
.story-film-card:last-child {padding-bottom:0;}
.story-film-icon {width:44px;height:44px;display:grid;place-items:center;background:#eef0e5;border-radius:9px;color:#637c63;flex-shrink:0;}
.story-film-card>div {flex:1;}
.story-film-card strong {font-size:14px;}
.story-film-card p {margin:5px 0 0;font-size:12px;}
.story-inline-error {color:#9c5647!important;}
.film-screen {overflow:hidden;background:#202b26;}
.story-film-player {width:100%;display:block;aspect-ratio:16/9;background:#202b26;}
.film-status-block {padding:90px 45px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#f4f1e8;min-height:370px;}
.film-status-block>.icon {width:50px;height:50px;color:#b5c6ae;margin-bottom:20px;}
.film-status-block h2 {font-family:var(--serif,Georgia,serif);font-size:35px;margin:0 0 13px;}
.film-status-block p {max-width:520px;font-size:14px;line-height:1.7;}
.film-progress {font-size:12px;color:#b5c6ae;}
.film-download-bar {display:flex;gap:12px;flex-wrap:wrap;margin:23px 0;}
.film-source-details {padding:18px 23px;margin-top:20px;font-size:13px;}
.film-source-details summary {cursor:pointer;font-weight:600;color:#4d6857;}
.film-source-details>div {margin-top:16px;}
.film-source-details p {margin:10px 0;overflow-wrap:anywhere;}
.story-editor {max-width:760px;min-width:0;grid-template-columns:minmax(0,1fr);}
.story-editor>* {min-width:0;}
.story-builder-heading {display:flex;gap:12px;justify-content:space-between;align-items:flex-start;margin:12px 0 17px;}
.story-builder-heading h3 {font-size:14px;margin:0 0 6px;}
.story-builder-heading p {font-size:12px;line-height:1.7;margin:0;}
.story-builder-heading .text-link {font-size:11px;max-width:180px;text-align:right;flex-shrink:0;}
.story-picker-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:340px;overflow:auto;padding:3px;}
.story-picker-photo {position:relative;display:flex;flex-direction:column;padding:7px 7px 11px;border:1px solid #e5e7dd;border-radius:9px;cursor:pointer;background:#fffdf8;min-width:0;}
.story-picker-photo:has(input:checked) {border-color:#66926e;background:#f0f4e9;box-shadow:0 0 0 1px #66926e;}
.story-picker-photo>input {position:absolute;z-index:1;right:12px;top:12px;accent-color:#47755b;width:18px;height:18px;}
.story-picker-image {height:105px;display:block;border-radius:5px;overflow:hidden;margin-bottom:9px;}
.story-picker-image>img {width:100%;height:100%;object-fit:cover;}
.story-picker-photo strong {font-size:11px;line-height:1.4;margin:0 3px 4px;overflow-wrap:anywhere;}
.story-picker-photo small {font-size:10px;color:#808776;margin:0 3px;}
.story-ordered-photos {display:flex;flex-direction:column;gap:14px;}
.story-order-row {display:flex;gap:15px;align-items:flex-start;padding:16px;border:1px solid #e4e7dc;border-radius:10px;background:#f9f9f2;}
.story-order-thumb {width:90px;height:95px;flex-shrink:0;border-radius:6px;overflow:hidden;}
.story-order-thumb>img {width:100%;height:100%;object-fit:contain;background:#e8e9df;}
.story-order-fields {flex:1;min-width:0;display:flex;flex-direction:column;gap:9px;}
.story-order-fields>strong {font-size:12px;overflow-wrap:anywhere;}
.story-order-fields .form-field {font-size:11px;gap:5px;}
.story-order-fields .form-field input,.story-order-fields .form-field select {font-size:12px;min-height:34px;padding:8px;}
.story-order-fields .compact {display:flex;flex-direction:row;align-items:center;}
.story-order-fields .compact select {width:80px;}
@media(max-width:480px){.story-order-fields .compact{flex-wrap:wrap}.story-picker-photo small{overflow-wrap:anywhere}}
.story-order-controls {display:flex;flex-direction:column;gap:4px;}
.story-order-controls .icon-btn {width:28px;height:28px;}
.story-order-controls [data-order=up] .icon,.story-order-controls [data-order=down] .icon {transform:rotate(90deg);}
.story-order-controls button:disabled {opacity:.3;}
.story-rights-check,.story-recipient {display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7;}
.story-rights-check input,.story-recipient input {accent-color:#47755b;flex-shrink:0;margin-top:4px;width:17px;height:17px;}
.story-selected-recipients {padding:16px;border:1px solid #e5e7dd;border-radius:8px;}
.story-selected-recipients>strong {font-size:13px;}
.story-recipient-list {margin-top:13px;display:flex;flex-direction:column;gap:9px;}
.story-film-note {padding:16px;background:#f1f3e9;border-radius:8px;color:#63715e;font-size:12px;line-height:1.8;}
.stories-view .prose,.story-editor .prose {text-align:justify;hyphens:auto;}
.story-form-error {color:#a24f42;font-size:13px;line-height:1.7;}
@media(max-width:760px){.stories-heading{gap:18px;flex-direction:column}.stories-heading>.btn{margin-top:0}.story-intro{padding:21px;flex-wrap:wrap;gap:15px}.story-intro>div:nth-child(2){flex:1;min-width:160px}.story-intro>.text-link{margin-left:58px}.story-grid{gap:17px}.story-card-art{height:180px}.story-card-body{padding:18px}.story-card-body h2{font-size:25px}.story-article-head,.story-article-body{padding:25px}.story-article-head h1{font-size:39px}.story-article-footer{padding:20px 25px}.story-article-footer .btn:last-child{margin-left:0}.film-status-block{padding:60px 25px}.story-builder-heading{flex-wrap:wrap}.story-builder-heading .text-link{max-width:none;text-align:left}.story-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-order-thumb{width:65px;height:75px}.story-order-row{padding:11px;gap:10px}}
@media(max-width:480px){.story-grid{grid-template-columns:1fr}.story-card-art{height:225px}.story-article-head h1{font-size:34px}.story-full-text{font-size:14px}.story-article-head,.story-article-body{padding:23px 19px}.story-chapter figcaption{gap:12px}.story-film-card{flex-wrap:wrap}.story-film-card>.btn{margin-left:61px}.film-status-block h2{font-size:29px}.story-order-thumb{width:48px;height:62px}.story-order-controls .icon-btn{width:24px;height:26px}.story-order-row{gap:8px}.story-picker-image{height:90px}}
@media(prefers-reduced-motion:reduce){.story-card-art img{transition:none}.story-card-art:hover img{transform:none}}

/* Source: modules/notification-bell.css */
.notification-bell-trigger{position:relative;flex:none}
.notification-bell-trigger .notification-count{position:absolute;right:0;top:0;min-width:17px;max-width:25px;height:17px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--orange,#dd7b29);color:#fff;border:2px solid #fff;font-size:9px;font-weight:600;line-height:1;padding:0 3px;pointer-events:none}
.notification-bell-trigger .notification-count[hidden]{display:none}
.notification-bell-trigger[aria-expanded="true"]{background:var(--green-soft,#edf4ef);color:var(--green,#1c5b47);border-color:var(--line,#dde4dc)}
.notification-bell-panel{position:fixed;z-index:70;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line,#dde4dc);border-radius:15px;box-shadow:0 15px 50px #20372724;color:var(--ink,#283b34)}
.notification-bell-panel[hidden]{display:none}
.bell-panel-header{padding:18px 18px 15px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line,#dde4dc);flex:none}
.bell-panel-header h2{font-size:19px;line-height:1.3;margin:0}
.bell-panel-header p{font-size:11px;line-height:1.5;color:var(--muted,#67746d);margin:4px 0 0}
.bell-panel-header .bell-close{width:32px;height:32px;margin:-5px -6px 0 0}
.bell-close .icon{width:18px;height:18px}
.bell-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 18px;background:#f7f9f5;border-bottom:1px solid var(--line,#dde4dc);flex:none}
.bell-tools .text-link{font-size:11px;min-height:26px;cursor:pointer}
.bell-tools .text-link>.icon{width:17px;height:17px}
.bell-content{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.bell-items{display:flex;flex-direction:column}
.bell-item{padding:15px 16px;display:grid;grid-template-columns:32px minmax(0,1fr) 6px;gap:11px;border-bottom:1px solid #e8ece5}
.bell-item:last-child{border-bottom:0}
.bell-item.is-unread{background:#f1f6ef}
.bell-item-symbol{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9efe5;color:var(--green,#1c5b47)}
.bell-item-symbol>.icon{width:16px;height:16px}
.bell-item-body{min-width:0}
.bell-event{display:block;border:0;padding:0;background:transparent;color:var(--ink,#283b34);text-align:left;width:100%;cursor:pointer;font:inherit;line-height:1.5}
.bell-item-title{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.bell-item-text{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:var(--muted,#67746d);overflow-wrap:anywhere;text-align:justify;hyphens:auto}
.bell-event:hover .bell-item-title{color:var(--green,#1c5b47);text-decoration:underline;text-underline-offset:3px}
.bell-item-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px;min-height:24px}
.bell-item-meta time{font-size:10px;color:var(--muted,#67746d)}
.bell-service{font-size:9px;color:#52694e;border:1px solid #d9e2d6;border-radius:5px;padding:1px 4px;background:#f7f9f4}
.nav-notification-count{margin-left:auto;background:#1c5b47;color:#fff;border-radius:10px;min-width:19px;text-align:center;padding:1px 5px;font-size:11px}
.nav-notification-count[hidden]{display:none}
.archive-event-notice{position:fixed;z-index:85;right:24px;top:90px;width:min(350px,calc(100vw - 32px));display:flex;align-items:center;padding:12px;background:#fff;color:#213c30;border:1px solid #b8ccbd;border-radius:12px;box-shadow:0 8px 28px #163b3724}
.archive-event-notice[hidden]{display:none}.archive-event-open{display:flex;flex:1;align-items:center;gap:12px;background:transparent;border:0;color:inherit;text-align:left;cursor:pointer;font:inherit;padding:8px}.archive-event-open>span{display:grid;gap:4px}.archive-event-open strong{font-size:14px}.archive-event-open span span{font-size:12px;color:#38634b}.archive-event-open>.icon{width:24px;height:24px;flex:none}.device-notifications{border-top:1px solid var(--line);padding-top:18px}.device-notifications h3{font-size:16px}.device-notifications p{font-size:13px;line-height:1.6;margin:10px 0}.device-notifications .toolbar{margin:12px 0}
@media(max-width:660px){.archive-event-notice{right:16px;top:130px}}
.bell-read-label{font-size:9px;color:var(--muted,#67746d)}
.bell-read-button{margin-left:auto;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--green,#1c5b47);width:27px;height:26px;border-radius:6px;padding:0;cursor:pointer}
.bell-read-button:hover{background:#e2eddd}
.bell-read-button>.icon{width:15px;height:15px}
.bell-unread-dot{width:6px;height:6px;background:var(--green,#1c5b47);border-radius:50%;margin-top:7px}
.bell-empty{padding:29px 22px;text-align:center}
.bell-empty>.icon{width:31px;height:31px;margin-bottom:13px;color:#7e9777}
.bell-empty h3{font-size:15px;line-height:1.4;margin:0 0 8px}
.bell-empty p{font-size:12px;color:var(--muted,#67746d);line-height:1.65;margin:0 0 16px}
.bell-empty .btn{min-height:38px;font-size:12px}
.bell-error h3{color:var(--ink,#283b34)}
.bell-panel-footer{padding:13px 18px;border-top:1px solid var(--line,#dde4dc);display:flex;justify-content:space-between;gap:12px;background:#fff;flex:none}
.bell-panel-footer .text-link{font-size:11px;min-height:26px;cursor:pointer}
@media(max-width:660px){.notification-bell-trigger .notification-count{top:-1px;right:-1px;height:16px;min-width:16px;font-size:8px;border-width:1.5px}.bell-panel-header{padding:16px 16px 13px}.bell-panel-header h2{font-size:18px}.bell-tools{padding:9px 16px}.bell-item{padding:14px 14px;grid-template-columns:29px minmax(0,1fr) 5px;gap:10px}.bell-item-symbol{width:29px;height:29px}.bell-panel-footer{padding:12px 16px}}

/* Source: modules/install-app.css */
.pwa-install { display: grid; gap: 7px; }
.pwa-install .btn { justify-content: center; width: 100%; }
.pwa-install-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.pwa-install-caption { color: var(--muted, #647269); font-size: 12px; line-height: 1.5; margin: 0; text-align: left; }
.pwa-install-steps { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 15px; counter-reset: pwa-step; }
.pwa-install-steps li { counter-increment: pwa-step; display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; }
.pwa-install-steps li::before { content: counter(pwa-step); width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; color: #1c5b47; background: #eef4ee; font-weight: 600; font-size: 13px; }
.pwa-install-note { border-left: 3px solid #c3d4c6; background: #f4f7f3; border-radius: 0 10px 10px 0; padding: 13px 15px; font-size: 14px; line-height: 1.65; margin: 18px 0; }
.pwa-install-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.pwa-install-actions .btn { min-height: 44px; }
.pwa-install-status { margin-top: 12px; font-size: 13px; color: var(--muted, #647269); }
.pwa-install[hidden], .pwa-install-caption[hidden] { display: none; }

/* Source: modules/faq.css */
.faq-page { min-width: 0; }
.faq-page .page-title { margin-bottom: 22px; }
.faq-page .page-title p { max-width: 780px; margin-top: 10px; line-height: 1.7; }
.faq-stage-note { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; margin-bottom: 22px; background: #f6f5ed; border: 1px solid #e2e1d3; border-radius: 12px; color: #565a47; }
.faq-stage-note > span { display: flex; margin-top: 2px; flex: 0 0 auto; }
.faq-stage-note p { margin: 0; font-size: 13px; line-height: 1.6; }
.faq-search-form { padding: 23px; background: #fff; border: 1px solid #e0e5df; border-radius: 16px; margin-bottom: 27px; }
.faq-search-form > label { display: block; margin-bottom: 11px; font-size: 16px; font-weight: 700; }
.faq-search-row { display: flex; align-items: center; gap: 10px; min-width: 0; position: relative; }
.faq-search-row input {
  flex: 1;
  width: 0;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px 10px 39px;
  border: 1px solid #dce5da;
  border-radius: 10px;
  background: #fff;
  color: #283c33;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  appearance: none;
}
.faq-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; color: #657165; }
.faq-search-icon .icon { width: 18px; height: 18px; }
.faq-search-form > p { margin: 10px 0 0; font-size: 12px; line-height: 1.6; }
.faq-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); align-items: start; gap: 30px; }
.faq-sidebar { min-width: 0; }
.faq-sidebar nav > h2 { margin: 0 0 13px; padding-left: 12px; font-size: 14px; }
.faq-category-buttons { display: grid; gap: 3px; }
.faq-category { display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; color: #506353; padding: 11px 12px; background: transparent; font: inherit; font-size: 13px; line-height: 1.45; text-align: left; cursor: pointer; width: 100%; }
.faq-category .icon { flex: 0 0 18px; width: 18px; height: 18px; }
.faq-category span { flex: 1; min-width: 0; }
.faq-category small { font-size: 11px; min-width: 18px; text-align: right; color: #7b8679; }
.faq-category:hover { background: #edf2eb; }
.faq-category[aria-pressed="true"] { background: #e4eee3; border-color: #d7e4d5; color: #284c36; font-weight: 700; }
.faq-category:focus-visible, .faq-question summary:focus-visible { outline: 3px solid #698552; outline-offset: 3px; }
.faq-mobile-category { display: none; }
.faq-guided-help { margin: 23px 12px 0; padding-top: 21px; border-top: 1px solid #dfe6dc; }
.faq-guided-help strong { font-size: 13px; }
.faq-guided-help p { font-size: 12px; line-height: 1.65; color: #687567; margin: 9px 0 13px; }
.faq-guided-help .text-link { font-size: 12px; }
.faq-results { min-width: 0; }
.faq-results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 19px; min-height: 32px; }
.faq-results-toolbar p { margin: 0; font-size: 12px; color: #697468; }
.faq-results-toolbar .btn { padding: 5px 8px; font-size: 12px; }
.faq-section { margin: 0 0 29px; }
.faq-section > h2 { font-size: 18px; margin: 0 0 13px; line-height: 1.5; }
.faq-question-list { border: 1px solid #dce5da; border-radius: 14px; overflow: hidden; background: #fff; }
.faq-question { border-bottom: 1px solid #e3e9e0; scroll-margin-top: 110px; }
.faq-question summary:focus-visible { outline-offset: -3px; }
.faq-question:last-child { border-bottom: 0; }
.faq-question summary { list-style: none; display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 18px 20px; font-size: 14px; line-height: 1.6; font-weight: 600; color: #263d2c; cursor: pointer; }
.faq-question summary::-webkit-details-marker { display: none; }
.faq-question summary:hover { background: #f8faf6; }
.faq-question summary > span { min-width: 0; overflow-wrap: anywhere; }
.faq-question summary .icon { width: 17px; height: 17px; flex: 0 0 auto; color: #6b8361; transition: transform 120ms ease; }
.faq-question[open] summary .icon { transform: rotate(45deg); }
.faq-question[open] summary { background: #f5f8f2; }
.faq-answer { padding: 2px 20px 21px; background: #f5f8f2; }
.faq-answer > p { margin: 0; color: #50634f; line-height: 1.8; font-size: 13px; }
.faq-answer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; }
.faq-answer-actions .text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.6; background: transparent; padding: 0; border: 0; font-family: inherit; text-align: left; cursor: pointer; max-width: 100%; }
.faq-answer-actions .icon { width: 15px; height: 15px; flex: 0 0 auto; }
.faq-no-results { background: #fff; padding: 29px; border-radius: 14px; border: 1px solid #dce5da; margin-bottom: 26px; }
.faq-no-results h2 { font-size: 18px; line-height: 1.5; margin: 0 0 12px; }
.faq-no-results p { font-size: 13px; line-height: 1.8; margin: 0 0 19px; }
.faq-footer { margin-top: 8px; padding-top: 22px; border-top: 1px solid #dfe6dc; }
.faq-footer p { font-size: 12px; line-height: 1.8; margin: 0 0 12px; }
.faq-footer .text-link { font-size: 12px; }
.faq-page [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .faq-layout { grid-template-columns: 192px minmax(0, 1fr); gap: 22px; }
  .faq-category { padding: 10px 8px; font-size: 12px; }
}
@media (max-width: 720px) {
  .faq-search-row input { font-size: 16px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .faq-category-buttons, .faq-sidebar nav > h2, .faq-guided-help { display: none; }
  .faq-mobile-category { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
  .faq-mobile-category select { width: 100%; min-width: 0; font-weight: 400; }
  .faq-search-form { margin-bottom: 18px; padding: 18px; }
  .faq-question summary { padding: 16px; gap: 10px; }
  .faq-answer { padding: 0 16px 18px; }
  .faq-stage-note { padding: 13px 14px; }
}
@media (max-width: 380px) {
  .faq-search-form { padding: 15px; }
  .faq-search-row { flex-wrap: wrap; }
  .faq-search-row input { flex: 1 1 100%; width: 100%; }
  .faq-search-row .btn { width: 100%; justify-content: center; }
  .faq-search-icon { top: 13px; transform: none; }
  .faq-results-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 6px; }
  .faq-question summary { font-size: 13px; }
  .faq-answer > p { font-size: 13px; }
  .faq-no-results { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) { .faq-question summary .icon { transition: none; } }

/* Source: modules/export-archive.css */
.archive-export-view{max-width:950px;margin:0 auto}.archive-export-view .page-title h1{font-size:clamp(27px,3vw,37px)}.archive-export-view .stack{gap:22px}.archive-export-originals small,.archive-export-material small{display:block;margin-top:5px;color:var(--muted)}.archive-export-materials{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.archive-export-materials>h3{margin:0 0 10px}.archive-export-material{padding:14px 0;border-bottom:1px solid var(--line)}.archive-export-material:last-child{border:0}.archive-export-privacy p{margin-top:10px}.archive-export-details p{margin:0 0 12px;line-height:1.65}.archive-export-error[hidden],.archive-export-materials[hidden]{display:none}.archive-export-status:empty{display:none}.archive-export-view .check-row{align-items:flex-start}.archive-export-view input[type=checkbox]{flex:none;margin-top:4px}.archive-export-view .form-field>span{font-weight:600}.archive-export-view .archive-export-material strong{overflow-wrap:anywhere}@media(max-width:660px){.archive-export-view .toolbar{align-items:stretch;flex-direction:column}.archive-export-view .card-body{padding:20px}.archive-export-materials{padding:14px}}

/* Source: modules/community.css */
/* Семейный архив: Живая память — community screens. Original branding retained. */
.community-heading{align-items:flex-start}.community-heading h1{overflow-wrap:anywhere}.community-heading p{max-width:680px}.community-eyebrow{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--brown);display:block;margin-bottom:5px}.community-tabs{margin-bottom:22px;border-radius:12px 12px 0 0;background:#fff}.community-notice{padding:18px 20px;border:1px solid #dce4d8;border-radius:12px;background:var(--green-soft);margin:0 0 22px;font-size:13px;line-height:1.7}.community-notice strong{display:block;margin-bottom:5px}.community-notice p{margin:0}.community-search{margin:0 0 20px;font-weight:600}.community-search input{margin-top:4px}.community-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-card{min-width:0;overflow:hidden}.community-card .card-body{height:100%;display:flex;flex-direction:column;align-items:stretch}.community-card h2,.community-card h3{font-size:19px;line-height:1.4;margin:14px 0 9px;overflow-wrap:anywhere}.community-card p{font-size:13px;overflow-wrap:anywhere}.community-card-top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.community-emblem{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;color:var(--green);background:var(--cream);border:1px solid var(--line);border-radius:13px}.community-emblem .icon{width:23px;height:23px}.community-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;margin-top:auto;padding-top:20px}.community-caption{margin-top:12px!important;font-size:11px!important;color:var(--muted)}.community-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:26px 0 16px}.community-section-heading h2{font-size:21px}.community-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 18px;font-size:13px}.community-identity .card-body>.prose{margin:15px 0}.community-post-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.community-post-top h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere}.community-post time{display:block;font-size:11px;margin-bottom:8px}.community-post-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.community-post .community-state{margin-top:18px}.community-post .community-notice{margin:15px 0 0}.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.community-layout>*,.community-layout .stack{min-width:0}.community-soft-card{background:var(--green-soft);border:1px solid #dce4d8;border-radius:15px;padding:22px}.community-soft-card h2{font-size:19px;line-height:1.4;margin-bottom:10px}.community-soft-card p{font-size:13px;margin-bottom:16px}.community-soft-card .text-link{font-size:12px}.community-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #c9d9c8;background:#eff5ec;color:var(--green-dark);border-radius:8px;font-size:11px;font-weight:600;line-height:1.45;max-width:100%;vertical-align:middle}.community-badge span{font-size:17px;line-height:1.1}.community-ambassador{background:#faf1e5;color:#79552b;border-color:#e4d2b7}.community-badge-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.profile-name-line .community-badge{margin-top:5px}.profile-name-line{flex-wrap:wrap}.profile-community-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.community-employment dt{font-size:12px}.community-employment small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.community-form-status{font-size:12px;color:var(--green);margin-top:12px}.community-form-status:empty{display:none}[data-community-error]{color:var(--danger);font-size:13px;margin:12px 0;overflow-wrap:anywhere}.community-managed-org{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.community-managed-org>span{flex:1;min-width:0;overflow-wrap:anywhere}.community-managed-org small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.community-rank-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}.community-rank-card{display:flex;gap:18px;padding:22px;align-items:flex-start}.community-rank-symbol{width:54px;height:54px;flex:none;display:grid;place-items:center;border:1px solid #dce4d4;background:var(--green-soft);border-radius:14px;color:var(--green);font-size:28px}.community-rank-card h2{font-size:21px;margin-bottom:6px}.community-rank-card p{font-size:13px;margin-bottom:10px}.community-honor{display:flex;gap:18px;align-items:flex-start;background:#faf3e8;border-color:#e7dcc6;margin:22px 0}.community-honor-symbol{font-size:38px;line-height:1;color:#8c6b35;flex:none}.community-honor p{margin-bottom:0}.community-admin{margin-top:22px}.community-representation{padding:18px 0}.community-representation p{font-size:13px;margin-top:8px}.community-representatives{padding:0;list-style:none}.community-representatives li{display:flex;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.community-modal-form .toolbar{justify-content:flex-end}.community-modal-form .prose{font-size:13px;margin:14px 0}.community-identity .toolbar .btn,.community-identity .toolbar .text-link{white-space:normal}.community-card-grid>.empty-state{grid-column:1/-1}.community-rank-card>div:last-child{min-width:0}.community-representation strong{overflow-wrap:anywhere}.community-tabs a:focus-visible,.community-managed-org:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media(max-width:1100px){.community-layout{grid-template-columns:minmax(0,1fr)}.community-layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.community-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}.community-layout>aside{display:grid;grid-template-columns:minmax(0,1fr)}.community-heading>.btn{width:100%}.community-rank-card{gap:12px;padding:17px}.community-rank-symbol{width:42px;height:42px;font-size:24px;border-radius:11px}.community-rank-card h2{font-size:19px}.community-eyebrow{font-size:10px;letter-spacing:.06em}.community-honor{gap:12px;padding:18px}.community-soft-card{padding:18px}.community-notice{padding:16px;font-size:12px}.community-section-heading h2{font-size:19px}.community-post-top h2{font-size:20px}.community-post-text{font-size:14px}.community-badge{font-size:10px;padding:5px 8px}.community-modal-form .toolbar .btn{flex:1;min-width:0}.community-representatives li{font-size:12px}.community-post-top>.btn{margin-left:auto}.community-identity .toolbar{align-items:stretch}.community-tabs{margin-bottom:18px}}

[data-employment-family][hidden],[data-community-empty][hidden],[data-community-card][hidden]{display:none!important}

/* Source: modules/reactions.css */
/* Семейный архив: Живая память — six consistent, respectful reactions. */
.reaction-bar{position:relative;min-width:0;flex:1 1 240px;padding:10px 0;font-family:Onest,system-ui,sans-serif}.reaction-bar-main{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.reaction-trigger,.reaction-retry,.reaction-close,.reaction-choice{font:inherit;color:var(--green-dark);background:transparent;border:1px solid transparent;cursor:pointer;min-height:44px;border-radius:10px}.reaction-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 11px;font-size:12px;font-weight:600}.reaction-trigger:hover{background:var(--green-soft)}.reaction-trigger.is-selected{border-color:#cfdece;background:#edf4ed}.reaction-trigger>.icon{width:15px;height:15px;color:var(--muted)}.reaction-trigger:disabled{cursor:default;color:#79847c;background:#f5f6f2;opacity:.85}.reaction-trigger:disabled>.reaction-icon{color:#87958a}.reaction-icon{display:block;width:21px;height:21px;flex:none}.reaction-total{color:var(--muted);font-size:11px}.reaction-counts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:7px;min-height:0}.reaction-counts:empty{display:none}.reaction-count{display:inline-flex;align-items:center;gap:5px;background:#f6f7f2;border:1px solid #e0e5dc;border-radius:7px;padding:4px 7px;color:#61735f;font-size:11px;line-height:1.4}.reaction-count .reaction-icon{width:15px;height:15px}.reaction-count.is-mine{background:#edf4ed;border-color:#cadbc8;color:var(--green-dark)}.reaction-count-label{font-size:10px}.reaction-caption{display:block;font-size:10px;color:var(--muted);margin-top:5px}.reaction-error{font-size:12px;color:var(--danger);margin:8px 0 0;overflow-wrap:anywhere}.reaction-error[hidden]{display:none!important}.reaction-unavailable{font-size:12px;color:var(--muted)}.reaction-retry{font-size:12px;padding:9px 12px;border-color:var(--line);margin-left:8px;background:#fff}.reaction-popover{position:fixed;z-index:110;margin:0;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d6e0d2;border-radius:16px;box-shadow:0 14px 45px #213e3125;padding:15px;background:var(--cream);color:var(--ink);font:14px/1.55 Onest,system-ui,sans-serif}.reaction-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.reaction-popover-head strong{font-size:14px}.reaction-close{display:grid;place-items:center;min-width:44px;min-height:44px;padding:7px}.reaction-close:hover{background:#edf1e8}.reaction-close .icon{width:19px;height:19px}.reaction-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reaction-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;padding:10px 7px;background:#fff;border-color:#e0e6dc;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.reaction-choice .reaction-icon{width:24px;height:24px}.reaction-choice:hover{border-color:#adc2a7;background:#f3f7ef}.reaction-choice.is-selected,.reaction-choice[aria-pressed=true]{border-color:var(--green);background:var(--green-soft);box-shadow:inset 0 0 0 1px var(--green)}.reaction-choice:disabled{cursor:wait;opacity:.7}.reaction-popover-hint{font-size:10px;line-height:1.65;color:var(--muted);margin:12px 0 0;text-align:left}.reaction-trigger:focus-visible,.reaction-choice:focus-visible,.reaction-close:focus-visible,.reaction-retry:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.album-asset>.reaction-bar{margin:0 13px;padding:9px 0 13px;border-top:1px solid var(--line)}.album-lightbox .reaction-bar{border-top:1px solid var(--line);margin-top:13px;padding-top:14px}.journal-post-actions>.reaction-bar{padding:0;flex:1 1 220px}.group-post-actions>.reaction-bar{padding:0;flex:1 1 220px}.community-post .reaction-bar{border-top:1px solid var(--line);margin-top:19px;padding-top:12px}.reaction-popover[hidden]{display:none!important}.reaction-popover:not(:popover-open){display:none}
@media(max-width:440px){.reaction-options{grid-template-columns:repeat(2,minmax(0,1fr))}.reaction-popover{padding:13px;border-radius:14px}.reaction-choice{font-size:12px;min-height:72px;padding:10px 7px}.reaction-trigger{font-size:11px;padding:10px 9px}.reaction-total{font-size:10px}.reaction-count-label{font-size:9px}.reaction-bar-main{gap:7px}.reaction-counts{gap:5px}.reaction-count{padding:4px 6px}.reaction-popover-hint{font-size:10px}.journal-post-actions>.reaction-bar,.group-post-actions>.reaction-bar{flex-basis:100%}.reaction-close{min-width:44px}}
@media(prefers-reduced-motion:reduce){.reaction-popover,.reaction-trigger,.reaction-choice{scroll-behavior:auto}}

/* Source: modules/historical_sources.css */
/* Семейный архив: Живая память — sources retain their document context. */
.hs-heading{align-items:flex-start;gap:20px}.hs-heading p{max-width:650px;line-height:1.75;margin-top:12px}.hs-eyebrow{display:block;color:var(--green);font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}.hs-actions{display:flex;gap:8px;flex-wrap:wrap}.hs-heading>.hs-actions{flex:none}.hs-notice{padding:17px 20px;border:1px solid #dae3d4;border-radius:14px;background:#f0f4e9;line-height:1.8;margin-bottom:20px}.hs-notice p{margin:6px 0 0}.hs-notice strong{font-size:14px}.hs-small{font-size:12px;color:var(--muted);line-height:1.75}.hs-filter{padding:22px;margin-bottom:20px}.hs-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hs-filter-grid>.form-field:first-child{grid-column:1/-1}.hs-filter .hs-actions{margin-top:18px}.hs-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 15px}.hs-results-head h2{margin:0;font-size:18px}.hs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hs-book-card{min-width:0}.hs-book-card .card-body{padding:23px}.hs-book-card h2{font-size:18px;line-height:1.5;margin:13px 0}.hs-book-card h2 a{color:var(--ink);text-decoration:none}.hs-book-card h2 a:hover{color:var(--green)}.hs-book-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:11px}.hs-book-card p{line-height:1.8;margin:12px 0}.hs-book-footer{border-top:1px solid var(--line);padding-top:16px;margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.hs-type-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--green-soft);color:var(--green)}.hs-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.hs-help{margin-bottom:24px}.hs-help>summary{cursor:pointer;min-height:48px;padding:15px 20px;display:flex;align-items:center;gap:9px;color:var(--green);font-size:13px;font-weight:600}.hs-help-content{border-top:1px solid var(--line);padding:20px}.hs-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hs-help-item{padding-bottom:18px;border-bottom:1px solid var(--line)}.hs-help-item h3{font-size:15px;margin:0 0 9px}.hs-help-item p{font-size:12px;line-height:1.9;margin:0 0 10px}.hs-help-item:last-child{grid-column:1/-1}.hs-breadcrumb{display:flex;gap:7px;flex-wrap:wrap;align-items:center;font-size:12px;line-height:1.8;margin-bottom:19px}.hs-breadcrumb a{color:var(--green)}.hs-context{margin-bottom:23px}.hs-context .card-body{padding:24px}.hs-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px;margin:20px 0 0}.hs-facts>div{min-width:0}.hs-facts dt{font-size:10px;color:var(--muted);margin-bottom:5px}.hs-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere;line-height:1.7}.hs-citation{padding:16px;background:#f8f7f0;border:1px solid var(--line);border-radius:11px;line-height:1.85;overflow-wrap:anywhere;margin-top:20px}.hs-citation p{font-size:12px;margin:5px 0 11px}.hs-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 17px}.hs-section-head h2{font-size:20px;margin:0}.hs-pages{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.hs-page-link{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--green);font-size:12px;display:flex;align-items:center;gap:7px;text-decoration:none}.hs-page-link.is-active{border-color:var(--green);background:var(--green-soft)}.hs-page-card{margin-bottom:22px;scroll-margin-top:120px}.hs-page-card .card-head{flex-wrap:wrap;gap:12px}.hs-page-card .card-body{padding:20px}.hs-attachment{display:grid;place-items:center;background:#f6f5ee;border:1px solid var(--line);border-radius:12px;min-height:145px;padding:20px;margin-bottom:15px}.hs-attachment img{display:block;max-width:100%;max-height:520px;object-fit:contain}.hs-attachment p{margin:10px 0 0;text-align:center;font-size:12px;line-height:1.8}.hs-record-list{display:grid;gap:16px}.hs-record{min-width:0}.hs-record .card-body{padding:22px}.hs-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.hs-record-head h3{font-size:16px;margin:7px 0 0;line-height:1.6}.hs-transcription{white-space:pre-wrap;line-height:1.9;font-size:13px;background:#faf9f3;border-left:3px solid #c6cbb8;padding:16px 18px;margin:16px 0;overflow-wrap:anywhere}.hs-mentions{list-style:none;margin:18px 0 0;padding:0}.hs-mentions li{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.9}.hs-mentions li:last-child{border:0}.hs-mention-role{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);display:block}.hs-mention-link{display:block;margin-top:3px;color:var(--green)}.hs-record .hs-facts{margin-top:15px}.hs-record-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}.hs-form{max-width:100%;gap:18px}.hs-form fieldset{margin:0;border:1px solid var(--line);border-radius:12px;padding:17px;min-width:0}.hs-form legend{padding:0 7px;font-weight:600;font-size:13px}.hs-form .form-field{min-width:0}.hs-form .form-field>small{font-size:11px;line-height:1.8;color:var(--muted)}.hs-form textarea{min-height:100px}.hs-mention-form{position:relative;background:#fafaf6;margin-bottom:15px!important}.hs-mention-form .hs-actions{justify-content:flex-end;margin-top:13px}.hs-typed-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.hs-type-description{font-size:12px;line-height:1.9;margin:0;color:var(--muted)}.hs-profile-sources{margin-top:20px}.hs-profile-sources .card-body{padding:22px}.hs-profile-sources h2{font-size:19px;margin:0 0 12px}.hs-profile-source-item{padding:15px 0;border-top:1px solid var(--line)}.hs-profile-source-item p{line-height:1.8;font-size:12px;margin:9px 0}.hs-profile-source-item a{font-size:13px;color:var(--green)}.hs-retry{margin-top:14px}.hs-open-book{min-height:44px;display:inline-flex;align-items:center;gap:7px}.hs-date-warning{font-size:11px;line-height:1.9;color:var(--muted);margin:10px 0}.hs-source-unavailable{font-size:12px;color:var(--muted);line-height:1.8}.hs-record:target{outline:2px solid #b7cbb5;outline-offset:4px}.hs-copy-fallback{width:100%;font:inherit;line-height:1.7;min-height:180px}.hs-form [hidden]{display:none!important}.hs-page-tools{display:flex;gap:7px;flex-wrap:wrap}.hs-form .btn,.hs-actions .btn,.hs-record-footer .btn,.hs-page-tools .btn{min-height:44px}.hs-record-details>summary{min-height:44px;display:flex;align-items:center;color:var(--green);font-size:12px;cursor:pointer}.hs-form-error{font-size:12px;line-height:1.8;color:var(--danger)}
@media(max-width:720px){.hs-heading{display:block}.hs-heading>.hs-actions{margin-top:17px}.hs-grid,.hs-help-grid,.hs-facts,.hs-typed-fields{grid-template-columns:minmax(0,1fr)}.hs-help-item:last-child{grid-column:auto}.hs-context .card-body,.hs-book-card .card-body,.hs-record .card-body,.hs-profile-sources .card-body{padding:18px}.hs-filter{padding:18px}.hs-filter-grid{grid-template-columns:minmax(0,1fr)}.hs-filter-grid>.form-field:first-child{grid-column:auto}.hs-section-head{align-items:flex-start;flex-direction:column}.hs-section-head h2{font-size:18px}.hs-record-head{flex-wrap:wrap}.hs-breadcrumb{font-size:11px}.hs-pages{gap:7px}.hs-page-link{padding:9px 12px}.hs-transcription{padding:13px;font-size:12px}.hs-form fieldset{padding:13px}.hs-notice{padding:15px}.hs-record-footer>.btn{flex:1 1 auto}.hs-book-footer{align-items:flex-start;flex-direction:column}.hs-attachment{padding:12px}.hs-attachment img{max-height:420px}}
@media(prefers-reduced-motion:reduce){.hs-page-card,.hs-record{scroll-behavior:auto}}

.review-source-proof{border-top:1px solid var(--line);margin:16px 0;padding-top:8px}.hs-review-page{padding:16px 0;border-bottom:1px solid var(--line)}.hs-review-page h3{font-size:16px;margin:0 0 10px}.hs-review-record{border:1px solid var(--line);border-radius:12px;margin-top:15px;padding:16px}.hs-review-record h4{font-size:14px;margin:0 0 10px}.review-source-proof .hs-notice{margin-top:8px}.hs-review-record .hs-facts{margin:12px 0}.hs-review-record .hs-mentions{margin-top:12px}.hs-review-record .hs-mentions li>p{margin:6px 0}.hs-review-page>a{overflow-wrap:anywhere}

/* Source: modules/materials.css */
/* Семейный архив: Живая память — материалы и постоянные коды. */
.materials-view{min-width:0;display:grid;gap:20px;color:var(--ink)}
.materials-view [hidden]{display:none!important}
.materials-view h1,.materials-view h2,.materials-view h3,.materials-view label,.materials-view button,.materials-view input,.materials-view select,.materials-view textarea,.materials-view dt,.materials-view dd,.materials-view code,.materials-view .materials-field-help{text-align:left}
.materials-view input,.materials-view select,.materials-view textarea{min-width:0;max-width:100%;hyphens:none}
.materials-view .btn{text-align:center;min-height:44px}
.materials-view h1{overflow-wrap:anywhere}
.materials-view h2{font-size:18px;overflow-wrap:anywhere}
.materials-view h3{font-size:15px}
.materials-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.6}
.materials-breadcrumb a{color:var(--muted)}
.materials-breadcrumb a:hover{color:var(--green)}
.materials-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.materials-heading>div:first-child{min-width:0;flex:1}
.materials-heading .eyebrow{margin-bottom:8px}
.materials-description{font-size:14px;line-height:1.65;color:var(--muted);margin-top:12px;max-width:670px;text-wrap:pretty}
.materials-heading-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.materials-collection{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:0 22px 22px;min-width:0}
.materials-tabs{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.materials-tabs a{padding:17px 0 14px;color:var(--muted);border-bottom:3px solid transparent;font-size:14px;min-height:50px;font-weight:600}
.materials-tabs a.active{border-color:var(--green);color:var(--green)}
.materials-tabs a:hover{text-decoration:none;color:var(--green)}
.materials-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,.64fr) auto;gap:12px;align-items:end;padding:21px 0 16px}
.materials-view .materials-filters .form-field{margin:0}
.materials-filters .form-field>span{font-size:12px;font-weight:600}
.materials-search-control{display:flex;align-items:center;border:1px solid #d5ddd3;border-radius:9px;gap:8px;padding-left:11px}
.materials-search-control .icon{width:18px;color:var(--muted)}
.materials-search-control input{border:0!important;padding-left:0!important;min-width:0;background:transparent}
.materials-search-control:focus-within{outline:2px solid var(--green);outline-offset:1px}
.materials-search-control input:focus-visible{outline:none}
.materials-reset{grid-column:1/-1;justify-self:start}
.materials-result-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 16px;color:var(--muted);font-size:12px}
.materials-layout-control{display:flex;align-items:center;gap:3px;border:1px solid var(--line);padding:3px;border-radius:9px;background:var(--cream);flex-shrink:0}
.materials-layout-control button{width:38px;height:34px;border:1px solid transparent;background:transparent;border-radius:6px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center}
.materials-layout-control button[aria-pressed=true]{background:#fff;border-color:var(--line);color:var(--green)}
.materials-layout-control .icon{width:17px;height:17px}
.materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.materials-item{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s ease}
.materials-item:hover{border-color:#b7c8be}
.materials-file-glyph{padding:19px 18px;background:var(--cream);color:var(--green);border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}
.materials-file-glyph>.icon{width:34px;height:34px}
.materials-item-body{display:flex;flex-direction:column;min-width:0;flex:1;padding:16px;gap:10px}
.materials-item-status{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:8px}
.materials-state{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #ebddca;background:#faf4e9;color:#8b6225;border-radius:6px;font-size:11px;line-height:1.5;font-weight:600}
.materials-state .icon{width:13px;height:13px}
.materials-state.is-catalogued{border-color:#d3e4d8;background:var(--green-soft);color:var(--green)}
.materials-access{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:10px}
.materials-access>.icon{width:12px;height:12px}
.materials-item h2{font-size:16px;line-height:1.42;letter-spacing:-.2px}
.materials-item h2 a{color:var(--ink)}
.materials-item-kind{font-size:12px;color:var(--muted)}
.materials-item-description{font-size:12px;color:#64756c;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.materials-code-inline{display:grid;gap:4px;margin-top:auto;border-top:1px solid var(--line);padding-top:10px}
.materials-code-caption{font-size:10px;color:var(--muted)}
.materials-view code{font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.materials-code-inline code{color:#51675a;font-size:10px}
.materials-item-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}
.materials-item-foot time{font-size:10px;color:var(--muted)}
.materials-item-foot .text-link{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.materials-item-foot .icon{width:15px;height:15px}
.materials-grid.is-list{grid-template-columns:1fr}
.is-list .materials-item{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:start}
.is-list .materials-file-glyph{padding:17px;border:0;background:none}
.is-list .materials-file-glyph>.icon{width:29px;height:29px}
.is-list .materials-item-body{padding-left:0}
.is-list .materials-code-inline{border:0;padding-top:0;margin-top:0}
.materials-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #cdd8cc;background:var(--cream);border-radius:12px;padding:38px 24px;gap:16px;min-width:0}
.materials-empty h2{text-align:center;font-size:20px}
.materials-empty p{font-size:13px;line-height:1.7;max-width:500px;color:var(--muted)}
.materials-empty .toolbar{justify-content:center}
.materials-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;color:var(--green);background:var(--green-soft);border:1px solid #dae7dd;border-radius:14px;flex-shrink:0}
.materials-empty-icon>.icon{width:24px;height:24px}
.materials-guidance{display:flex;align-items:flex-start;gap:11px;border:1px solid #dce6d9;border-radius:12px;padding:16px;background:#edf4ef;font-size:12px;line-height:1.75;min-width:0;color:#506b5b}
.materials-guidance>span{color:var(--green);flex-shrink:0;padding-top:2px}
.materials-guidance p{overflow-wrap:anywhere}
.materials-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;font-size:12px;color:var(--muted)}
.materials-pagination .btn{font-size:12px}
.materials-upload-layout{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:20px;align-items:start;min-width:0}
.materials-upload-help{display:grid;gap:16px;min-width:0}
.materials-upload-help h2{font-size:16px}
.materials-upload-form .card-body{padding:24px;min-width:0}
.materials-file-section>h2,.materials-upload-details>h2{margin-bottom:12px;font-size:18px}
.materials-dropzone{border:1px dashed #acbfae;border-radius:12px;background:var(--cream);display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 18px;text-align:center;transition:background .1s ease}
.materials-dropzone .materials-field-help{margin:0;text-align:center;font-size:12px;max-width:380px}
.materials-drop-icon{margin-bottom:5px;color:var(--green)}
.materials-drop-icon>.icon{width:28px;height:28px}
.materials-dropzone.is-dragover{background:#e1eee3;border-color:var(--green);outline:2px solid var(--green);outline-offset:3px}
.materials-file-button{position:relative;overflow:hidden;margin:5px 0}
.materials-file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.materials-file-button:focus-within{outline:3px solid #dd7b2980;outline-offset:3px}
.materials-limit-note,.materials-field-help{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 16px;overflow-wrap:anywhere}
.materials-limit-note{margin-bottom:0}
.materials-upload-details{border-top:1px solid var(--line);padding-top:22px;margin-top:23px}
.materials-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.materials-view .form-field{margin-bottom:18px}
.materials-view .form-field>span{font-size:13px;font-weight:600}
.materials-view .form-field input,.materials-view .form-field textarea{overflow-wrap:normal;text-align:left}
.materials-view .form-field textarea{min-height:114px;line-height:1.6}
.materials-people{margin:2px 0 20px;padding:15px 15px 16px;border:1px solid var(--line);border-radius:10px;min-width:0}
.materials-people legend{padding:0 5px;font-size:13px;font-weight:600;line-height:1.6;max-width:100%}
.materials-people .materials-field-help{margin-top:0}
.materials-people .form-field{margin-bottom:11px}
.materials-person-options{max-height:225px;overflow:auto;overscroll-behavior:contain;display:grid;gap:2px;padding-right:3px}
.materials-person-option{display:flex;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border-radius:7px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.materials-person-option:hover{background:var(--green-soft)}
.materials-person-option input,.materials-consent input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:2px 0}
.materials-small-label{font-size:11px!important;line-height:1.6;color:var(--muted);font-weight:400!important;margin-bottom:5px}
.materials-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.65;margin:0 0 19px}
.materials-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.materials-form-error{background:#fff5f1;border:1px solid #eed4cb;color:var(--danger);border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin:12px 0}
.materials-submit-status{font-size:12px;line-height:1.7;color:var(--green);margin-top:9px}
.materials-steps{padding:0;margin:18px 0 21px;list-style:none;counter-reset:material-step;display:grid;gap:18px}
.materials-steps li{counter-increment:material-step;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;font-size:12px;line-height:1.6}
.materials-steps li::before{content:counter(material-step);grid-column:1;grid-row:1/3;background:var(--green-soft);border:1px solid #dce6d9;border-radius:50%;height:24px;width:24px;color:var(--green);text-align:center;line-height:22px;font-size:11px;font-weight:600}
.materials-steps strong{grid-column:2;font-size:12px}
.materials-steps span{grid-column:2;margin-top:3px;color:var(--muted)}
.materials-file-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0 9px;font-size:12px;line-height:1.6;color:var(--muted)}
.materials-file-summary strong{color:var(--ink)}
.materials-file-list{list-style:none;padding:0;margin:0;display:grid}
.materials-file-list>li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);min-width:0}
.materials-file-name{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;overflow-wrap:anywhere}
.materials-file-name>.icon{width:19px;height:19px;color:var(--muted)}
.materials-file-name small{display:block;margin-top:3px;font-size:11px;color:var(--muted)}
.materials-receipt-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.materials-receipt-heading .materials-field-help{margin:6px 0 0}
.materials-main-code{display:block;background:var(--cream);border:1px solid var(--line);padding:12px;border-radius:8px;font-size:12px!important;margin:12px 0 14px;line-height:1.8!important;max-width:100%}
.materials-receipt-items{list-style:none;padding:0;margin:20px 0;display:grid}
.materials-receipt-items li{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.materials-receipt-result{color:var(--green);padding-top:1px;flex-shrink:0}
.materials-receipt-result .icon{width:18px;height:18px}
.materials-receipt-items li>div{display:grid;gap:5px;min-width:0}
.materials-receipt-items a{font-weight:600;font-size:14px;overflow-wrap:anywhere}
.materials-receipt-items small{color:var(--muted);font-size:11px;line-height:1.6}
.materials-receipt-errors{border:1px solid #eed4cb;background:#fff8f5;border-radius:10px;padding:15px;margin:20px 0}
.materials-receipt-errors ul{list-style:none;padding:0;margin:12px 0;display:grid;gap:10px}
.materials-receipt-errors li{display:grid;gap:4px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.materials-receipt-errors li span{color:var(--danger)}
.materials-passport-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start;min-width:0}
.materials-passport-main,.materials-passport-side{display:grid;gap:18px;min-width:0}
.materials-passport-overview{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid var(--line);background:var(--cream);min-width:0}
.materials-passport-overview>div:last-child{min-width:0}
.materials-passport-overview h2{margin:7px 0 4px;font-size:20px}
.materials-passport-overview .materials-field-help{margin:0;font-size:12px}
.materials-passport-symbol{display:flex;align-items:center;justify-content:center;color:var(--green);background:#fff;border:1px solid var(--line);border-radius:12px;width:66px;height:74px;flex-shrink:0}
.materials-passport-symbol .icon{width:34px;height:34px}
.materials-passport-description>h3{margin-bottom:10px}
.materials-narrative{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 20px}
.materials-facts{display:grid;gap:16px;margin:20px 0 0;font-size:12px;line-height:1.65}
.materials-facts>div{display:grid;gap:5px;min-width:0}
.materials-facts dt{color:var(--muted);font-size:11px}
.materials-facts dd{margin:0;overflow-wrap:anywhere;min-width:0}
.materials-facts dd>.icon{width:14px;height:14px;margin-right:6px}
.materials-linked-people{list-style:none;padding:0;margin:14px 0 0;display:grid}
.materials-linked-people a{display:flex;align-items:center;gap:9px;padding:13px 0;border-top:1px solid var(--line);font-size:13px;min-width:0}
.materials-linked-people a>span{flex:1;min-width:0;overflow-wrap:anywhere}
.materials-linked-people .icon{width:18px;height:18px}
.materials-unfilled{color:var(--muted);font-size:13px;padding:12px 0 2px}
.materials-copy-actions{display:grid;gap:8px}
.materials-passport-side h2{font-size:16px}
.materials-passport-side .card-body{padding:20px}
.materials-passport-side .materials-field-help{font-size:11px;margin-bottom:0}
.materials-download{display:flex;width:100%;margin-top:20px}
.materials-technical{border-top:1px solid var(--line);margin-top:19px;padding-top:15px;min-width:0}
.materials-technical summary{font-size:11px;font-weight:600;color:var(--green);cursor:pointer;padding:3px 0;line-height:1.6}
.materials-technical .materials-small-label{margin-top:16px}
.materials-technical code{font-size:10px;display:block}
.materials-versions{list-style:none;padding:0;margin:12px 0 0;display:grid}
.materials-versions li{border-top:1px solid var(--line)}
.materials-versions button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;background:none;border:0;color:var(--ink);font-size:12px;line-height:1.6}
.materials-versions button>span:first-child{display:grid;gap:2px}
.materials-versions button small{font-size:10px;color:var(--muted)}
.materials-versions button>.icon{width:16px;height:16px}
.materials-current-version{font-size:10px;color:var(--green);border:1px solid var(--line);border-radius:5px;padding:3px 5px;white-space:nowrap}
.materials-version-detail .materials-facts{margin-top:18px;margin-bottom:24px}
.materials-version-detail .materials-narrative{font-size:13px;line-height:1.8}
.materials-version-detail>p:last-child{margin-top:10px;font-size:13px}
@media(min-width:900px){.materials-narrative{text-align:justify;text-justify:inter-word;hyphens:auto}}
@media(max-width:1100px){.materials-passport-grid{grid-template-columns:minmax(0,1fr) 250px}.materials-upload-layout{grid-template-columns:1fr}.materials-upload-help{grid-template-columns:1fr 1fr}.materials-upload-help .materials-guidance{align-self:start}.materials-filters{grid-template-columns:minmax(0,1fr) minmax(140px,.7fr)}.materials-filters>.btn{grid-column:1;justify-self:start}.materials-filters>.materials-reset{grid-column:2;grid-row:2;justify-self:end;align-self:center}}
@media(max-width:850px){.materials-passport-grid{grid-template-columns:1fr}.materials-passport-side{grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}.materials-passport-side>section:last-child:not(:first-child){grid-column:1/-1}.materials-heading{flex-direction:column}.materials-grid{grid-template-columns:1fr}.materials-item{display:grid;grid-template-columns:65px minmax(0,1fr)}.materials-file-glyph{background:none;border:0;padding:17px}.materials-file-glyph>.icon{width:28px;height:28px}.materials-item-body{padding-left:0}.materials-upload-form .card-body{padding:20px}}
@media(max-width:660px){.materials-view{gap:16px}.materials-breadcrumb{font-size:11px;gap:6px}.materials-description{font-size:13px}.materials-heading-actions{width:100%}.materials-heading-actions .btn{flex:1}.materials-collection{padding:0 14px 16px}.materials-tabs{gap:17px}.materials-tabs a{font-size:12px;padding:15px 0 12px}.materials-filters{grid-template-columns:1fr;padding-top:17px;gap:12px}.materials-filters>.btn{grid-column:auto;justify-self:stretch}.materials-filters>.materials-reset{grid-column:auto;grid-row:auto;justify-self:start}.materials-result-tools{gap:8px;font-size:11px}.materials-grid{gap:12px}.materials-item{grid-template-columns:46px minmax(0,1fr)}.materials-file-glyph{padding:17px 0 17px 12px}.materials-file-glyph>.icon{width:23px;height:23px}.materials-item-body{padding:14px 12px 14px 8px}.materials-item h2{font-size:15px}.materials-item-status{gap:6px}.materials-code-inline code{font-size:10px}.materials-code-inline{padding-top:8px}.materials-item-foot{gap:6px;flex-wrap:wrap}.materials-item-foot time{font-size:10px}.materials-form-grid{grid-template-columns:1fr;gap:0}.materials-passport-side{grid-template-columns:1fr;grid-row:1}.materials-passport-side>section:last-child:not(:first-child){grid-column:auto}.materials-upload-help{grid-template-columns:1fr}.materials-upload-form .card-body{padding:16px}.materials-dropzone{padding:22px 12px}.materials-dropzone p{font-size:13px}.materials-upload-details{padding-top:19px;margin-top:19px}.materials-view .form-field input,.materials-view .form-field select,.materials-view .form-field textarea{font-size:16px}.materials-people{padding:12px}.materials-people legend{font-size:12px}.materials-person-option{font-size:13px;min-height:44px;padding-left:6px}.materials-consent{font-size:12px}.materials-form-actions>.btn{flex:1;min-width:120px}.materials-passport-overview{padding:16px;gap:12px}.materials-passport-symbol{width:50px;height:60px}.materials-passport-symbol .icon{width:26px;height:26px}.materials-passport-overview h2{font-size:18px}.materials-narrative{font-size:13px;text-align:left}.materials-main-code{font-size:11px!important}.materials-empty{padding:28px 17px}.materials-empty h2{font-size:18px}.materials-empty p{font-size:12px}.materials-empty .toolbar{width:100%}.materials-receipt-heading{gap:10px}.materials-receipt-heading h2{font-size:17px}.materials-pagination{font-size:11px;gap:7px}.materials-pagination .btn{padding:8px 9px;font-size:11px}.materials-file-summary{flex-wrap:wrap}.materials-guidance{padding:14px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.materials-item,.materials-dropzone{transition:none}}

.materials-person-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0 13px;border-bottom:1px solid var(--line);font-size:12px;min-width:0}.materials-person-context>span{display:flex;align-items:center;gap:8px;min-width:0}.materials-person-context strong{overflow-wrap:anywhere}.materials-person-context .icon{width:17px;height:17px;flex:none}.materials-person-context .text-link{flex:none;font-size:11px}@media(max-width:660px){.materials-person-context{flex-wrap:wrap}}

/* Source: modules/genealogy.css */
/* Семейный архив: Живая память — family graph, source ledger and private import. */
.gt-page{display:grid;gap:22px;min-width:0}.gt-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:13px}.gt-breadcrumb a:hover{color:var(--green)}
.gt-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:26px}.gt-heading h1{font-family:var(--serif,Georgia,serif);font-size:34px;line-height:1.18;margin:7px 0 13px}.gt-heading p{max-width:750px;color:var(--muted);line-height:1.7}.gt-heading-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0;padding-top:12px}.gt-heading-actions .btn{white-space:nowrap}
.gt-workspace{overflow:hidden}.gt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.gt-tabs{display:flex;gap:20px}.gt-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);padding:21px 0 17px;font-weight:600;cursor:pointer;line-height:1.3}.gt-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green)}.gt-tabs span{display:inline-block;padding:2px 7px;border-radius:10px;background:var(--paper);font-size:11px;margin-left:5px}.gt-depth{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:10px}.gt-depth select{width:auto;padding:9px 28px 9px 10px;max-width:160px}
.gt-view-switch{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 22px 0}.gt-view-switch .btn{min-height:38px;font-size:13px}.gt-view-switch>.muted{margin-left:auto;font-size:12px}
.gt-graph-controls{display:flex;align-items:center;gap:8px;padding:14px 22px;color:var(--muted);font-size:13px;flex-wrap:wrap}.gt-graph-controls .btn{min-width:35px;min-height:35px;padding:7px 10px}.gt-graph-controls output{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}.gt-graph-help{margin-left:auto;font-size:12px}
.gt-scroll{overflow:auto;overscroll-behavior-x:contain;background:#f7f8f3;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:730px;padding:24px 28px;scrollbar-gutter:stable}.gt-scroll:focus-visible{outline:3px solid var(--green);outline-offset:-3px}.gt-canvas{display:flex;position:relative;isolation:isolate;width:max-content;min-width:100%;gap:calc(62px * var(--gt-scale,1));align-items:flex-start;padding-bottom:12px}.gt-column{display:grid;gap:calc(25px * var(--gt-scale,1));width:calc(230px * var(--gt-scale,1));position:relative}.gt-column h3{font-size:12px;line-height:1.5;min-height:36px;letter-spacing:.02em;color:var(--muted);text-align:center;display:flex;align-items:center;justify-content:center;margin:0}
.gt-person{border:1px solid var(--line);border-radius:14px;background:white;padding:17px;display:grid;gap:12px;min-width:0;position:relative;z-index:2;box-shadow:0 2px 7px #203a2520;overflow-wrap:anywhere}.gt-person-root{border:2px solid var(--green);background:#fafff8}.gt-person-top{display:flex;align-items:flex-start;gap:11px;min-width:0}.gt-avatar{height:42px;width:42px;flex:0 0 42px;border-radius:50%;background:#e9eddf;color:var(--green);display:grid;place-items:center;font-size:14px;font-weight:600;overflow:hidden}.gt-avatar img{width:100%;height:100%;object-fit:cover}.gt-person-name{display:block;font-weight:600;font-size:14px;line-height:1.45}.gt-person-name:hover{color:var(--green);text-decoration:underline}.gt-years{font-size:12px;color:var(--muted);margin:4px 0 0}.gt-person-status{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.gt-person-status .badge{font-size:10px;padding:4px 7px}.gt-focus-label{font-size:10px;color:var(--green);font-weight:600}.gt-place{display:flex;gap:5px;align-items:flex-start;color:var(--muted);font-size:12px;margin:0}.gt-place .icon{width:14px;height:14px;flex:0 0 14px}.gt-person-links{display:grid;gap:7px;border-top:1px solid var(--line);padding-top:10px}.gt-person-links a{font-size:11px;color:var(--green);display:flex;gap:6px;align-items:center}.gt-person-links a:hover{text-decoration:underline}.gt-person-links .icon{width:14px;height:14px}.gt-lines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:1}.gt-connector{fill:none;stroke:#789173;stroke-width:1.8;opacity:.8}.gt-connector-adoptive_parent{stroke:#5c759c;stroke-dasharray:7 3}.gt-connector-guardian{stroke:#ad895a;stroke-dasharray:2 4}.gt-connector-spouse{stroke:#a16a7d;stroke-dasharray:7 4}
.gt-legend{display:flex;gap:20px;padding:17px 22px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:0}.gt-legend>span{display:flex;align-items:center;gap:7px}.gt-line-sample{width:24px;border-top:2px solid #789173}.gt-line-adoptive{border-color:#5c759c;border-top-style:dashed}.gt-line-guardian{border-color:#ad895a;border-top-style:dotted}.gt-line-spouse{border-color:#a16a7d;border-top-style:dashed}
.gt-people-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;padding:22px}.gt-evidence-list{display:grid;padding:22px;gap:0}.gt-evidence{padding:19px 0;border-bottom:1px solid var(--line)}.gt-evidence:first-child{padding-top:0}.gt-evidence:last-child{border:0;padding-bottom:0}.gt-evidence-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}.gt-relation-kind{color:var(--green);font-size:12px;font-weight:600}.gt-evidence .chip{font-size:11px}.gt-evidence h3{font-size:16px;line-height:1.6;margin:0 0 8px}.gt-evidence h3 a:hover{text-decoration:underline}.gt-evidence h3>span{color:var(--muted);margin:0 8px}.gt-evidence p{color:var(--muted);font-size:13px;margin:0 0 10px;line-height:1.7}
.gt-explanation{display:flex;gap:15px;padding:22px;border-radius:14px;background:#eef1e7;border:1px solid #dce4d1}.gt-explanation>div:first-child{color:var(--green)}.gt-explanation h2{font-size:15px;margin:0 0 8px}.gt-explanation p{font-size:13px;color:var(--muted);margin:0 0 8px;line-height:1.7}.gt-explanation p:last-child{margin-bottom:0}
.gt-import-card{overflow:hidden}.gt-import-form{padding:30px;max-width:820px}.gt-upload-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#eef1e7;color:var(--green);margin-bottom:18px}.gt-import-form h2{font-family:var(--serif,Georgia,serif);font-size:26px;margin:0 0 12px}.gt-import-form>.prose{color:var(--muted);margin-bottom:22px}.gt-import-form .form-field{margin-bottom:18px}.gt-import-form .form-field input{width:100%}.gt-file-field input{padding:18px;border:1px dashed #b9c3ad;background:#f8faf5}.gt-file-field small{font-size:12px;color:var(--muted);line-height:1.6}.gt-import-note{border-top:1px solid var(--line);padding-top:18px;margin:22px 0 0;color:var(--muted);font-size:13px}
.gt-import-preview{padding:26px;display:grid;gap:22px}.gt-import-result>div{display:flex;gap:8px;align-items:center;color:var(--green);font-size:13px;font-weight:600}.gt-import-result h2{font-family:var(--serif,Georgia,serif);font-size:28px;margin:12px 0}.gt-import-result p{color:var(--muted);font-size:13px;line-height:1.7;margin:8px 0}.gt-import-result .gt-import-state{padding:12px 15px;background:#eef3e8;border-radius:9px;color:var(--green)}.gt-import-open{display:flex;gap:10px;flex-wrap:wrap}.gt-import-people{border:1px solid var(--line);border-radius:12px;overflow:hidden}.gt-import-people summary{cursor:pointer;padding:17px 18px;font-weight:600;font-size:14px;background:#fafbf7}.gt-import-person-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0}.gt-import-person-list article{display:grid;align-content:start;gap:7px;padding:17px;border-top:1px solid var(--line);font-size:13px}.gt-import-person-list strong{font-size:15px}.gt-xref{font-size:11px;color:var(--muted);font-family:monospace}.gt-import-person-list p{font-size:12px;line-height:1.65;color:var(--muted);margin:0}.gt-import-person-list p span{color:var(--ink)}.gt-import-relations{padding:0 18px}.gt-import-relations p{font-size:13px;padding:13px 0;border-top:1px solid var(--line);margin:0}.gt-import-relations p span{display:block;font-size:12px;color:var(--muted);padding-top:7px}
.gt-import-warnings{background:#fbf6e9;border:1px solid #e9d7a9;border-radius:12px;padding:18px}.gt-import-warnings h3{display:flex;gap:8px;align-items:center;font-size:15px;margin:0 0 12px;color:#71541e}.gt-import-warnings ul,.gt-limitations{margin:0;padding-left:20px;font-size:13px;line-height:1.8;color:var(--muted)}.gt-limitations{padding:18px 18px 18px 38px}.gt-import-warnings li+li,.gt-limitations li+li{margin-top:7px}.gt-import-original{display:grid;gap:12px;font-size:13px}.gt-import-original small{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.gt-import-original code{white-space:normal}.gt-import-preview form{display:grid;gap:18px;border-top:1px solid var(--line);padding-top:20px}.gt-import-preview form .btn{justify-self:start}.gt-import-preview .check-row{align-items:flex-start;line-height:1.7;font-size:13px}.gt-import-preview .check-row input{margin-top:5px}.gt-import-history>div:last-child{display:grid;padding:0 22px}.gt-import-history>div:last-child>a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.gt-import-history>div:last-child>a:last-child{border:0}.gt-import-history>div:last-child>a>span:first-child{display:flex;gap:10px;align-items:center}.gt-import-history>div:last-child>a>span:nth-child(2){font-size:12px;color:var(--muted)}
.gt-page [hidden]{display:none!important}.gt-page button:focus-visible,.gt-page a:focus-visible{outline:3px solid #85a769;outline-offset:3px}
@media(max-width:1100px){.gt-heading{flex-direction:column;gap:12px}.gt-heading-actions{padding-top:0}.gt-heading h1{font-size:30px}.gt-graph-help{margin-left:0;flex-basis:100%}.gt-toolbar{padding:0 17px}}
@media(max-width:760px){.gt-page{gap:18px}.gt-heading h1{font-size:27px}.gt-heading p{font-size:13px}.gt-heading-actions{width:100%}.gt-heading-actions .btn{flex:1;font-size:12px;padding:10px}.gt-toolbar{gap:0;padding:0 15px}.gt-tabs{width:100%;justify-content:space-between;gap:12px}.gt-tabs button{font-size:12px;padding:17px 0 14px}.gt-depth{margin:12px 0;width:100%;justify-content:space-between}.gt-depth select{max-width:none;flex:0 0 145px}.gt-view-switch{padding:14px 14px 0;gap:6px}.gt-view-switch .btn{font-size:12px;padding:8px 11px}.gt-view-switch>.muted{margin:5px 0 0;flex-basis:100%}.gt-graph-controls{padding:13px 14px}.gt-scroll{padding:20px 18px;max-height:620px}.gt-people-list{grid-template-columns:1fr;padding:16px;gap:13px}.gt-people-list .gt-person-links{display:flex;flex-wrap:wrap;gap:13px}.gt-evidence-list{padding:17px}.gt-evidence h3{font-size:14px}.gt-explanation{padding:17px;gap:10px}.gt-explanation h2{font-size:14px}.gt-legend{padding:15px;gap:13px}.gt-import-form,.gt-import-preview{padding:19px}.gt-import-form h2,.gt-import-result h2{font-size:23px}.gt-import-person-list{grid-template-columns:1fr}.gt-import-open .btn{width:100%}.gt-import-history>div:last-child>a{flex-wrap:wrap;gap:9px}.gt-import-history>div:last-child>a>span:nth-child(2){flex-basis:80%}}
.gt-union-events{font-size:12px;line-height:1.7;color:var(--muted);padding-left:18px;margin:0 0 12px}.gt-canvas .gt-person{padding:calc(17px * var(--gt-scale,1))}.gt-canvas .gt-person-name{font-size:calc(14px * var(--gt-scale,1))}.gt-canvas .gt-years{font-size:calc(12px * var(--gt-scale,1))}.gt-canvas .gt-avatar{height:calc(42px * var(--gt-scale,1));width:calc(42px * var(--gt-scale,1));flex-basis:calc(42px * var(--gt-scale,1));font-size:calc(14px * var(--gt-scale,1))}.gt-canvas .gt-person-links a{font-size:calc(11px * var(--gt-scale,1))}.gt-canvas .gt-person-status .badge{font-size:calc(10px * var(--gt-scale,1))}.gt-canvas .gt-place{font-size:calc(12px * var(--gt-scale,1))}
.gt-file-field{position:relative}.gt-file-field .gt-native-file{position:absolute;left:0;top:0;width:1px!important;height:1px;padding:0;opacity:0;overflow:hidden}.gt-file-picker{display:flex;align-items:center;gap:14px;padding:17px;border:1px dashed #b9c3ad;background:#f8faf5;border-radius:10px;cursor:pointer;flex-wrap:wrap}.gt-file-picker #gt-file-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.gt-native-file:focus-visible+.gt-file-picker{outline:3px solid #85a769;outline-offset:3px}

/* Source: modules/archive-search.css */
.archive-search-form{display:flex;align-items:end;gap:16px;padding:20px;margin-bottom:20px}.archive-search-form .form-field{flex:1;margin:0;min-width:0}.search-tabs{flex-wrap:wrap;margin-bottom:20px}.search-section{margin-bottom:20px}.search-section .card-head{gap:12px;flex-wrap:wrap}.search-result{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid var(--border,#e4e6df)}.search-result:first-child{padding-top:0}.search-result:last-child{border-bottom:0;padding-bottom:0}.search-result-icon{width:44px;height:44px;display:grid;place-items:center;background:#eef4ee;border-radius:12px;color:#1c5b47}.search-result-title{font-weight:600;color:#1c5b47;line-height:1.55;overflow-wrap:anywhere}.search-result p{margin:6px 0;line-height:1.65}.search-code{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}.search-excerpt{overflow-wrap:anywhere}.search-access-note{margin:16px 0}.search-more{border-top:1px solid var(--border,#e4e6df)}.search-suggestions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}@media(max-width:640px){.archive-search-form{flex-direction:column;align-items:stretch;padding:16px}.archive-search-form .btn{width:100%}.search-result{gap:10px;grid-template-columns:36px minmax(0,1fr)}.search-result-icon{width:36px;height:36px}}

.profile-material-code{display:flex;gap:6px 12px;flex-wrap:wrap;align-items:baseline;margin:10px 0;color:#365b4e;font-size:12px;line-height:1.65}.profile-material-code span:last-child{font-family:ui-monospace,monospace;overflow-wrap:anywhere;min-width:0}

.eyebrow.project-name-text{text-transform:none;letter-spacing:.015em;font-size:12px}

.wwii-feed-entry{margin:0 0 24px}.wwii-feed-layout{display:grid;grid-template-columns:minmax(0,1fr)auto;align-items:center;gap:24px}.wwii-feed-layout p{margin-bottom:0}.wwii-feed-layout .stack{min-width:190px}.wwii-feed-layout h2{overflow-wrap:anywhere}@media(max-width:760px){.wwii-feed-layout{grid-template-columns:1fr;gap:16px}.wwii-feed-layout .stack{min-width:0}}

/* Long search values stay inside their result column. */
.search-result>div{min-width:0}
.search-result .search-result-title,.search-result p{overflow-wrap:break-word!important}

/* Source: modules/wwii.css */
/* Семейный архив: Живая память — Великая Отечественная война, v0.7. */
.wwii-view{display:grid;gap:22px;min-width:0;container-type:inline-size}
.wwii-view h1,.wwii-view h2,.wwii-view h3,.wwii-view p,.wwii-view a,.wwii-view dd{overflow-wrap:anywhere}
.wwii-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}
.wwii-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--green)}
.wwii-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.wwii-heading>div:first-child{min-width:0;max-width:730px}
.wwii-heading h1{font:400 34px/1.2 Georgia,serif;color:var(--ink);margin:6px 0 12px}
.wwii-heading p:not(.eyebrow){font-size:14px;line-height:1.75;color:var(--muted)}
.wwii-actions,.wwii-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.wwii-actions{flex-shrink:0;max-width:340px}
.wwii-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:5px;background:#f1f5ef;border:1px solid var(--line);border-radius:10px}
.wwii-tabs a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:7px;color:var(--green);font-size:13px}
.wwii-tabs a[aria-current]{background:white;box-shadow:0 1px 4px #1c3e2312;font-weight:600}
.wwii-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:3px solid var(--green);padding:17px 20px;background:var(--cream)}
.wwii-intro>div{min-width:0}.wwii-intro h2{font-size:20px;margin-bottom:10px}.wwii-intro p{max-width:730px;font-size:13px;line-height:1.8;color:var(--muted)}
.wwii-note{display:flex;align-items:flex-start;gap:11px;padding:16px;border:1px solid #dce5da;border-radius:10px;background:#edf4ef;color:#4e6757;font-size:12px;line-height:1.8;min-width:0}
.wwii-note>.icon{flex-shrink:0;margin-top:2px}.wwii-note p{min-width:0}
.wwii-view .card-body{padding:24px;min-width:0}.wwii-view .btn{min-height:44px}.wwii-view .text-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px}
.wwii-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;min-width:0}
.wwii-view .form-field{display:grid;gap:7px;min-width:0;margin-bottom:18px;font-size:13px}
.wwii-view .form-field>span{font-weight:600}.wwii-filters .form-field{margin-bottom:0}.wwii-view input:not([type=checkbox]),.wwii-view select,.wwii-view textarea{width:100%;min-width:0;text-align:left}
.wwii-view textarea{line-height:1.75;min-height:110px}.wwii-view small{font-size:12px;line-height:1.7;color:var(--muted)}
.wwii-result-count{padding:18px 0;color:var(--muted);font-size:12px}
.wwii-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
.wwii-story-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;background:#fff}
.wwii-portrait{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#ecefe7;color:#798570;aspect-ratio:4/3;min-width:0;overflow:hidden}
.wwii-portrait>.icon{width:36px;height:36px}.wwii-portrait span{font-size:12px}.wwii-portrait img{width:100%;height:100%;object-fit:contain}
.wwii-story-card-body{display:flex;flex-direction:column;gap:12px;padding:18px;min-width:0;flex:1}
.wwii-story-card h2{font-size:18px;line-height:1.45}.wwii-story-card h2 a{color:var(--ink)}
.wwii-chips{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.wwii-chips .chip{font-size:11px;padding:5px 8px}
.wwii-years,.wwii-place{font-size:12px;color:var(--muted);line-height:1.6}.wwii-place{display:flex;align-items:start;gap:5px}.wwii-place>.icon{width:15px;height:15px;flex-shrink:0;margin-top:2px}
.wwii-excerpt{font-size:13px;line-height:1.8;color:#56675e;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;white-space:pre-wrap}
.wwii-card-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.wwii-state{color:var(--green);font-size:12px;line-height:1.7}.wwii-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;font-size:12px;color:var(--muted)}
.wwii-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:34px 24px;border:1px dashed #ccd7c7;border-radius:10px;background:var(--cream)}
.wwii-empty>.icon{width:36px;height:36px;color:var(--green)}.wwii-empty h1,.wwii-empty h2{font-size:22px}.wwii-empty p{max-width:580px;font-size:13px;line-height:1.8;color:var(--muted)}
.wwii-help{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 16px}.wwii-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.wwii-portals>a{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;min-height:76px;color:var(--green);min-width:0}
.wwii-portals>a>.icon{flex-shrink:0;width:20px;height:20px}.wwii-portals>a>span{min-width:0;flex:1}.wwii-portals strong{font-size:13px}.wwii-portals small{display:block;margin-top:5px;font-size:11px}
.wwii-wizard-layout,.wwii-story-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px;align-items:start;min-width:0}
.wwii-wizard-help{min-width:0}.wwii-wizard-help h2,.wwii-story-side h2{font-size:19px;margin-bottom:12px}.wwii-wizard-help p,.wwii-wizard-help li{font-size:13px;line-height:1.8;color:var(--muted)}
.wwii-wizard-help ol{padding-left:20px;margin:18px 0}.wwii-wizard-help li{margin:8px 0}
.wwii-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0 0 25px;gap:8px}
.wwii-steps li{display:flex;align-items:center;gap:7px;border-bottom:2px solid var(--line);padding:0 0 12px;color:var(--muted);font-size:12px;min-width:0}
.wwii-steps li>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;font-size:11px}
.wwii-steps li[aria-current]{color:var(--green);border-color:var(--green);font-weight:600}.wwii-steps li[aria-current]>span{background:var(--green);color:white;border-color:var(--green)}
.wwii-wizard h2{font-size:22px;margin-bottom:16px}.wwii-name-field{margin-top:24px}
.wwii-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;min-width:0}
.wwii-categories{border:1px solid var(--line);border-radius:9px;padding:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;margin:0 0 22px}
.wwii-categories legend{padding:0 6px;max-width:100%;font-size:13px;font-weight:600;line-height:1.7}
.wwii-categories label,.wwii-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;min-width:0;min-height:44px;padding:8px 0}
.wwii-categories input,.wwii-check input{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:var(--green)}
.wwii-check span{min-width:0;overflow-wrap:anywhere}.wwii-photo-option{border-top:1px solid var(--line);padding-top:18px}.wwii-photo-option h3{font-size:17px}
.wwii-photo-option .wwii-portrait{max-width:220px;margin-top:14px}.wwii-source-row{border:1px solid var(--line);padding:16px;border-radius:10px;margin-bottom:16px;background:#fafbf8}
.wwii-source-row .form-field:last-of-type{margin-bottom:8px}.wwii-form-actions{padding-top:15px;border-top:1px solid var(--line);margin-top:18px}
.wwii-error{padding:12px 14px;border:1px solid #ead3c7;background:#fff6f2;color:var(--danger);border-radius:8px;font-size:13px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}
.wwii-status{font-size:12px;line-height:1.7;color:var(--green);margin:10px 0}
.wwii-story-side{display:grid;gap:16px;min-width:0}.wwii-story-identity{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;margin-bottom:28px;align-items:start;min-width:0}
.wwii-story-identity .wwii-portrait{border-radius:9px;aspect-ratio:4/5}.wwii-story-identity .wwii-chips{margin:12px 0}
.wwii-facts{display:grid;gap:14px;margin:20px 0;font-size:13px;min-width:0}.wwii-facts>div{display:grid;gap:5px}.wwii-facts dt{color:var(--muted);font-size:12px}.wwii-facts dd{margin:0;line-height:1.7;min-width:0}
.wwii-narrative{font-size:14px;line-height:1.9;white-space:pre-wrap;margin:18px 0 26px;overflow-wrap:anywhere;text-align:start}
.wwii-story-sources{padding-top:20px;border-top:1px solid var(--line);margin-bottom:22px}.wwii-sources{display:grid;gap:15px;padding-left:23px;margin:18px 0;font-size:13px;line-height:1.8}
.wwii-sources li{padding-left:4px;min-width:0;overflow-wrap:anywhere}.wwii-sources a{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px}.wwii-sources .icon{width:15px;height:15px}
.wwii-code,.wwii-view code{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.wwii-code{display:block;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--cream);margin:12px 0 16px}
.wwii-owner-actions{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:20px}.wwii-review-note{padding:14px;border:1px solid #e7d9c2;background:#fbf6ec;border-radius:8px;font-size:12px;line-height:1.8;margin:18px 0}.wwii-review-note p{margin-top:7px;white-space:pre-wrap}
.wwii-review-list{display:grid;gap:18px;min-width:0}.wwii-review-head{display:flex;justify-content:space-between;gap:20px;align-items:start;min-width:0}.wwii-review-head>div{min-width:0}.wwii-review-head code{max-width:260px}.wwii-review-head h2{margin-top:8px;font-size:21px}.wwii-review-list .wwii-portrait{max-width:190px;border-radius:8px;margin:20px 0}
.wwii-modal-form{display:grid;gap:8px;min-width:0}.wwii-modal-form .form-field{display:grid;gap:7px;margin-bottom:13px;font-size:13px;min-width:0}.wwii-modal-form .btn{min-height:44px}.wwii-modal-form input:not([type=checkbox]),.wwii-modal-form select,.wwii-modal-form textarea{width:100%;min-width:0}
.wwii-slide{display:grid;grid-template-columns:150px minmax(0,1fr);gap:23px;align-items:start;min-width:0}.wwii-slide .wwii-portrait{border-radius:8px;aspect-ratio:4/5}.wwii-slide h3{font:400 25px/1.35 Georgia,serif;overflow-wrap:anywhere}.wwii-slide .wwii-narrative{font-size:13px;line-height:1.9}
.wwii-slide-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}
@container (min-width:600px){.wwii-narrative,.wwii-intro p{text-align:justify}}
@container (max-width:950px){.wwii-heading{flex-direction:column}.wwii-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wwii-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.wwii-filters .btn{justify-self:start}.wwii-wizard-layout{grid-template-columns:minmax(0,1fr)}.wwii-wizard-help{order:2}.wwii-portals{grid-template-columns:minmax(0,1fr)}.wwii-intro{align-items:flex-start;flex-direction:column}}
@container (max-width:820px){.wwii-story-layout{grid-template-columns:minmax(0,1fr)}}
@container (max-width:520px){.wwii-view .card-body{padding:18px}.wwii-heading h1{font-size:28px}.wwii-heading p:not(.eyebrow){font-size:13px}.wwii-grid,.wwii-form-grid,.wwii-filters{grid-template-columns:minmax(0,1fr)}.wwii-categories{grid-template-columns:minmax(0,1fr)}.wwii-tabs a{font-size:12px;padding:10px}.wwii-actions{max-width:100%;width:100%}.wwii-actions .btn{max-width:100%;white-space:normal;text-align:center}.wwii-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}.wwii-story-identity{grid-template-columns:minmax(0,1fr)}.wwii-story-identity .wwii-portrait{max-width:190px}.wwii-form-actions .btn{max-width:100%;white-space:normal}.wwii-review-head{flex-direction:column;gap:12px}.wwii-review-head code{max-width:100%}.wwii-pagination{flex-wrap:wrap}.wwii-empty{padding:28px 18px}.wwii-empty h1,.wwii-empty h2{font-size:20px}}
@media(max-width:520px){.wwii-slide{grid-template-columns:minmax(0,1fr)}.wwii-slide .wwii-portrait{max-width:150px}.wwii-slide-controls span{flex-basis:100%;order:3;text-align:center}.wwii-slide-controls .btn{font-size:12px;padding:10px}.wwii-modal-form .btn{white-space:normal}}
@media(prefers-reduced-motion:reduce){.wwii-view *,.wwii-slide *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Source: modules/participation.css */
/* Семейный архив: Живая память — optional private participation, v0.8. */
.participation-view{display:grid;gap:22px;min-width:0;container-type:inline-size}
.participation-view h1,.participation-view h2,.participation-view h3,.participation-view p,.participation-view dd,.participation-view a{overflow-wrap:anywhere}
.participation-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.participation-breadcrumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--green)}
.participation-heading h1{font:400 34px/1.25 Georgia,serif;color:var(--ink);margin:6px 0 12px}.participation-heading>p:last-child{font-size:14px;line-height:1.8;color:var(--muted);max-width:800px}
.participation-note{display:flex;align-items:start;gap:12px;border:1px solid #dce5d9;border-radius:10px;padding:16px;background:#edf4ef;font-size:12px;line-height:1.8;color:#4d6556}.participation-note>.icon{flex-shrink:0;margin-top:3px}.participation-note p{min-width:0}
.participation-view .card-body{padding:24px;min-width:0}.participation-view .btn{min-height:44px;white-space:normal}.participation-view .text-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px}
.participation-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px;align-items:start;min-width:0}.participation-form h2{font-size:22px;margin-bottom:22px}.participation-form h3{font-size:17px;line-height:1.5}
.participation-intents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;border:0;padding:0;margin:0 0 28px}.participation-intents legend{font-size:13px;font-weight:600;margin-bottom:12px;max-width:100%;line-height:1.7}
.participation-intents>label{display:flex;align-items:start;gap:10px;border:1px solid var(--line);padding:16px;border-radius:9px;min-width:0;cursor:pointer;background:#fafbf8}.participation-intents>label:has(input:checked){border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#eef5ef}.participation-intents input{width:18px;height:18px;margin-top:3px;accent-color:var(--green);flex-shrink:0}.participation-intents>label>span{display:grid;gap:7px;min-width:0}.participation-intents .icon{width:22px;height:22px;color:var(--green)}.participation-intents strong{font-size:13px;line-height:1.7}.participation-intents small{font-size:12px;line-height:1.7;color:var(--muted)}
.participation-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}.participation-section-head h3{min-width:0}.participation-section-head>span{color:var(--muted);font-size:12px;flex-shrink:0}
.participation-help{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0 18px}.participation-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.participation-choice{display:flex;align-items:start;gap:10px;min-height:44px;padding:13px;border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0;cursor:pointer}.participation-choice:has(input:checked){border-color:#86a895;background:#f2f7f1}.participation-choice input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:3px 0}.participation-choice>span{display:grid;gap:5px;min-width:0}.participation-choice strong{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.participation-choice small{font-size:12px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}
.participation-goals{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.participation-view .form-field{display:grid;gap:8px;min-width:0;margin:16px 0;font-size:13px}.participation-view .form-field>span{font-weight:600}.participation-view select{width:100%;min-width:0;text-align:start;min-height:44px}
.participation-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.participation-save-note{margin-bottom:0}
.participation-help-side h2{font-size:18px;margin-bottom:14px}.participation-help-side p{font-size:13px;line-height:1.85;color:var(--muted);margin-bottom:12px}.participation-help-side .text-link{display:flex}
.participation-summary{border:1px solid #d3e3d7;border-radius:11px;background:#f2f7f0;padding:20px;min-width:0}.participation-summary-title{display:flex;align-items:center;gap:10px;color:var(--green);margin-bottom:14px}.participation-summary-title>.icon{flex-shrink:0}.participation-summary h2{font-size:18px}.participation-summary>p{font-size:13px;line-height:1.8;color:var(--muted)}.participation-summary dl{display:grid;gap:15px;margin:0}.participation-summary dl>div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;font-size:13px;line-height:1.8}.participation-summary dt{color:var(--muted)}.participation-summary dd{margin:0;min-width:0}.participation-summary .participation-last-save{font-size:11px;margin-top:16px}
.participation-recommendations h2{font-size:21px}.participation-route-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.participation-route-list>a{display:flex;align-items:start;gap:12px;min-height:70px;padding:15px;border:1px solid var(--line);border-radius:9px;color:var(--green);min-width:0}.participation-route-icon{display:inline-flex;padding:7px;background:#edf4ec;border-radius:7px;flex-shrink:0}.participation-route-list>a>span:not(.participation-route-icon){display:grid;gap:6px;min-width:0;flex:1}.participation-route-list strong{font-size:13px;line-height:1.7}.participation-route-list small{font-size:12px;line-height:1.7;color:var(--muted)}.participation-route-list>a>.icon{flex-shrink:0;width:17px;height:17px;margin-top:4px}.participation-route-icon .icon{width:17px;height:17px}
.participation-error{padding:12px 14px;background:#fff6f1;border:1px solid #ead3c7;border-radius:8px;color:var(--danger);font-size:13px;line-height:1.8;overflow-wrap:anywhere;margin:15px 0}.participation-status{font-size:12px;line-height:1.8;color:var(--green);margin:12px 0}
.participation-empty,.participation-guest{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}.participation-empty{padding:36px 24px;border:1px dashed #cdd7c9;border-radius:11px;background:var(--cream)}.participation-empty>.icon,.participation-section-icon>.icon{width:32px;height:32px;color:var(--green)}.participation-empty h1,.participation-guest h2{font-size:22px;line-height:1.5}.participation-empty p,.participation-guest p{font-size:13px;line-height:1.8;color:var(--muted);max-width:620px}.participation-empty .participation-form-actions{border:0;justify-content:center;padding-top:0;margin-top:0}.participation-guest-tags{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.participation-guest-tags .chip{font-size:12px}.participation-current h3{font-size:18px;margin-bottom:16px}.participation-current p{font-size:13px;line-height:1.8;margin-bottom:12px;overflow-wrap:anywhere}.participation-current .btn{min-height:44px;white-space:normal}
@container(min-width:600px){.participation-heading>p:last-child,.participation-help-side p{text-align:justify}}
@container(max-width:900px){.participation-layout{grid-template-columns:minmax(0,1fr)}.participation-help-side{order:2}}
@container(max-width:540px){.participation-heading h1{font-size:29px}.participation-heading>p:last-child{font-size:13px}.participation-view .card-body{padding:18px}.participation-intents,.participation-choices,.participation-route-list{grid-template-columns:minmax(0,1fr)}.participation-form h2{font-size:20px}.participation-section-head{align-items:start;flex-wrap:wrap}.participation-summary dl>div{grid-template-columns:minmax(0,1fr);gap:4px}.participation-form-actions{align-items:stretch;flex-direction:column}.participation-form-actions .btn{width:100%;justify-content:center}.participation-note{padding:14px;gap:9px}.participation-intents>label{padding:14px}.participation-empty{padding:28px 18px}}
@media(max-width:540px){.participation-current .participation-form-actions{align-items:stretch;flex-direction:column}.participation-current .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.participation-view *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Source: modules/layout.css */
/* Семейный архив: Живая память
 * Shared layout and accessibility layer, v0.6.
 * Keep after feature styles so every section uses the same control rhythm.
 */
:root {
  --control-height: 44px;
  --layout-gap: 24px;
  --focus-ring: #a85a1f;
  --reading-line-height: 1.75;
}

html {
  scroll-padding-top: 130px;
  scrollbar-gutter: stable;
}
body { min-width: 280px; }
[hidden] { display: none !important; }
main {
  container-name: main;
  container-type: inline-size;
  min-inline-size: 0;
}
.app-layout,
.app-layout.wide-view {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--layout-gap);
  max-width: 1440px;
  padding: 28px 28px 72px;
}
.right-rail { display: none; }
.sidebar {
  top: 106px;
  padding-inline-end: 8px;
  scrollbar-gutter: stable;
}
.nav-item {
  min-height: var(--control-height);
  gap: 10px;
  padding: 11px 12px;
  font-size: 13px;
}
.nav-item > span { min-width: 0; overflow-wrap: anywhere; }
.nav-label {
  font-size: 11px;
  letter-spacing: .1em;
  padding-block-start: 20px;
}
.sidebar-foot { font-size: 12px; }
.sidebar-foot span { font-size: 11px; }
.sidebar-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.public-contact-links { display: flex; flex-direction: column; gap: 3px; margin: 8px 0; }
.public-contact-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.public-contact-links a[href^="tel:"] { white-space: nowrap; }
.project-copyright { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; }
.project-copyright .brand-line, .project-copyright .copyright-year { display: block; white-space: nowrap; }
@media(max-width:660px){
  #right-rail{display:block;position:static;margin-top:24px}
  #right-rail>:not(.public-site-footer){display:none}
  #right-rail>.public-site-footer{border-top:1px solid var(--line);padding:20px 8px!important}
}
.topbar-inner { gap: 24px; padding-inline: 28px; }
.brand { width: 244px; min-width: 0; }
.brand span { overflow-wrap: normal; }
.brand .brand-title {
  display: grid;
  gap: 2px;
  max-width: none;
}
.brand .brand-line {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}
.sidebar-foot .project-signature { display: block; }
.sidebar-foot .project-signature .brand-line { display: block; white-space: nowrap; }
.project-name-lockup { display: inline; }
.project-name-lockup.is-stacked { display: inline-grid; gap: 2px; line-height: 1.3; }
.project-name-lockup .project-name-part {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  letter-spacing: normal;
}
#main p,
#main .prose,
.modal-body .prose,
.modal-body > p {
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
  overflow-wrap: break-word;
}
#main .eyebrow,
#main .settings-eyebrow,
#main .small,
#main .ai-service-unit,
#main .ai-service-availability,
#main .ai-service-card p,
#main .ai-heading p,
#main .ai-section-heading p,
#main .ai-banner p,
#main .page-title p,
#main aside p,
#main .profile-signin p,
#main .wwii-feed-entry p.prose,
#main .project-name-lockup {
  text-align: start;
  text-align-last: auto;
}
@container main (max-width: 440px) {
  #main p,
  #main .prose,
  #main .long-text,
  #main .post-text,
  #main .journal-post-text,
  #main .story-full-text,
  #main .group-post-text,
  #main .community-post-text,
  #main .materials-narrative { text-align: start; }
}
.btn { word-break: normal; overflow-wrap: normal; }
.profile-signin [data-profile-action="login"] { flex: 0 0 auto; white-space: nowrap; }
.nav-section { margin-block: 4px 8px; }
.nav-section > summary.nav-label {
  min-height: 44px;
  padding: 12px 8px;
  cursor: pointer;
  border-radius: 8px;
  letter-spacing: .06em;
  color: var(--text, #283c33);
}
.nav-section > summary.nav-label:hover { background: #e7eee3; }
.nav-section > summary.nav-label:focus-visible { outline: 2px solid #1c5b47; outline-offset: 2px; }
.global-search {
  min-height: var(--control-height);
  height: auto;
  max-width: 540px;
  min-width: 0;
}
.global-search input { min-height: 42px; }
.search-submit { min-height: 44px; padding-inline: 8px; }
.header-actions { min-width: 0; }
.header-actions .account-button { min-height: 44px; min-width: 44px; }

/* Controls retain their semantics; hit areas do not shrink with captions. */
.btn,
.icon-btn,
.profile-icon-btn,
.message-report,
.bell-read-button,
.bell-close,
.story-order-controls .icon-btn,
.album-asset-caption .btn {
  min-height: var(--control-height);
}
.icon-btn,
.profile-icon-btn,
.message-report,
.bell-read-button,
.bell-close,
.story-order-controls .icon-btn,
.album-asset-caption .btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
}
#main button,
#main a.btn,
#dialog button,
#dialog a.btn { min-height: 44px; }
.btn {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.45;
}
.btn:not(.icon-btn) { padding: 10px 14px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  line-height: 1.5;
  max-width: 100%;
  text-align: start;
  white-space: normal;
}
button.text-link,
.bell-tools .text-link,
.bell-panel-footer .text-link,
.faq-answer-actions .text-link { min-height: 44px; }
:where(button, a, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.global-search:focus-within { box-shadow: 0 0 0 2px #1c5b471c; }
.form-field { min-width: 0; gap: 8px; }
.form-field label,
.form-field > span { text-align: start; line-height: 1.5; }
.form-field input:not([type=checkbox]):not([type=radio]),
.form-field select,
.form-field textarea,
.text-input,
.journal-composer-footer select,
.journal-comment-form input,
.story-order-fields .form-field input,
.story-order-fields .form-field select {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.5;
}
input[type=file] { overflow: hidden; }
input[type=file]::file-selector-button {
  min-height: 32px;
  margin-inline-end: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 5px 9px;
  font: inherit;
  cursor: pointer;
}
textarea,
.form-field textarea,
.journal-composer textarea { text-align: start; line-height: 1.7; }
input[type=checkbox], input[type=radio] { flex-shrink: 0; }
.check-row,
.setting-check,
.story-rights-check,
.story-recipient { min-height: 44px; }
.check-row > span,
.setting-check > span { min-width: 0; }

/* Long prose is justified only when its actual reading column is wide.
 * Narrow help cards, labels and editable fields always remain start-aligned.
 */
.card-body,
.rail-mini,
.settings-notice,
.faq-answer,
.journal-post,
.story-article-body,
.group-post,
.note,
.settings-help-intro {
  container-name: reading;
  container-type: inline-size;
}
.prose,
.long-text,
.post-text,
.journal-post-text,
.story-full-text,
.group-post-text,
.community-post-text,
.materials-narrative,
.bell-item-text {
  text-align: start;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  line-height: var(--reading-line-height);
}
@container reading (min-width: 440px) {
  .prose,
  .long-text,
  .post-text,
  .journal-post-text,
  .story-full-text,
  .group-post-text,
  .community-post-text,
  .materials-narrative { text-align: justify; }
}
h1, h2, h3, h4,
.card-head > div,
.row-text,
.profile-person-link > div,
.group-card h2,
.group-card h3,
.community-badge,
.hs-heading h1,
.hs-card-top { min-width: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(25px, 2.2vw, 32px); }
h2 { line-height: 1.4; }
.card-head { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.card-head h2 { flex: 1 1 200px; }
.page-title { align-items: flex-start; flex-wrap: wrap; }
.page-title > div:first-child { flex: 1 1 380px; min-width: 0; }
.page-title p { font-size: 14px; line-height: 1.7; }
.page-title > .btn,
.group-page-head > .btn,
.stories-heading > .btn,
.profile-page-heading > .btn { margin-top: 0; white-space: normal; }
.toolbar { row-gap: 10px; }
.toolbar > *,
.hs-actions > *,
.hs-page-tools > * { max-width: 100%; }
.stack,
.grid-2,
.grid-3,
.settings-layout > *,
.faq-layout > *,
.journal-layout > *,
.profile-wall-layout > *,
.group-detail-grid > *,
.messages-layout > *,
.story-order-row > * { min-width: 0; }
.card-body { padding: 22px; }
.card-head { padding: 20px 22px 0; }
.card-head + .card-body { padding-top: 16px; }
.settings-layout { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); }
.settings-layout aside { min-width: 0; }
.settings-layout aside .prose,
.journal-aside .prose,
.right-rail .prose { text-align: start; }
.faq-layout { grid-template-columns: 216px minmax(0, 1fr); gap: 24px; }
.faq-category { min-height: 44px; }
.faq-question summary { min-height: 52px; }
.faq-mobile-category select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  max-width: 100%;
}
.gt-heading > div { min-width: 0; }
.gt-heading-actions .btn { white-space: normal; }
.gt-graph-controls .btn { min-width: 44px; }
.gt-person-links a { min-height: 44px; font-size: 12px; }
.gt-depth select { min-height: 44px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: #fff; color: var(--ink); font: inherit; }
.materials-layout-control button { min-width: 44px; width: 44px; }
.materials-view code { font-size: 12px; }
.materials-code-inline code { font-size: 11px; }
.materials-code-caption,
.materials-item-foot time,
.materials-access { font-size: 11px; }
.materials-technical summary { min-height: 44px; display: flex; align-items: center; }
.settings-tabs > *,
.tabs > *,
.profile-tabs > *,
.group-filter-tabs > * { min-height: 44px; }
.tabs,
.profile-tabs { overscroll-behavior-x: contain; scrollbar-width: thin; }
.journal-post-actions,
.group-post-actions,
.journal-composer-footer,
.group-card-footer,
.hs-record-footer,
.hs-results-head,
.hs-section-head { flex-wrap: wrap; }
.journal-composer-footer .btn { min-height: 44px; }
.journal-post-meta { white-space: normal; text-align: end; font-size: 11px; }
.journal-post-context,
.journal-form-note,
.profile-person-link small,
.album-meta,
.hs-book-meta,
.bell-item-text { font-size: 12px; }
.album-asset-caption small,
.image-credit,
.profile-life { font-size: 11px; }
.profile-person-link strong { overflow-wrap: anywhere; }
.profile-identity-actions { flex-wrap: wrap; }
.profile-page-heading .btn { white-space: normal; }
.thread-item p { white-space: normal; overflow-wrap: anywhere; }
.notification-top { flex-wrap: wrap; }
.notification-top time { white-space: normal; }
.community-managed-org { flex-wrap: wrap; }
.story-intro > .text-link { white-space: normal; margin-inline-start: 0; }
.story-builder-heading { flex-wrap: wrap; }
.story-builder-heading .text-link { text-align: start; max-width: 100%; }
.story-excerpt {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  overflow-wrap: anywhere;
}
code,
pre,
.material-code,
.material-passport-code,
[data-material-code] {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
pre { overflow-x: auto; white-space: pre-wrap; }
.summary-table { table-layout: fixed; }
.summary-table th,
.summary-table td { overflow-wrap: anywhere; }
.summary-table th { text-align: start; }
.summary-table a { overflow-wrap: anywhere; }
:where(img, video, audio, canvas) { max-width: 100%; }

/* Dialog body can scroll independently while the close action stays visible. */
dialog {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.modal-head { gap: 12px; }
.modal-head h2 { min-width: 0; overflow-wrap: anywhere; }
.modal-body { padding: 24px; }
.modal-body .toolbar { margin-block-start: 16px; }
.empty-state { padding: 34px 24px; }
.empty-state p { line-height: 1.7; }
.empty-state .toolbar { margin-top: 18px; justify-content: center; }

/* Features adapt to the width left after the navigation, not the viewport. */
@container main (max-width: 880px) {
  .settings-layout,
  .journal-layout,
  .profile-wall-layout,
  .group-detail-grid,
  .community-layout { grid-template-columns: minmax(0, 1fr); }
  .settings-layout aside,
  .journal-aside,
  .group-detail-aside,
  .community-layout > aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
  .profile-identity { flex-wrap: wrap; }
  .profile-identity-actions { width: 100%; justify-content: flex-end; }
}
@container main (max-width: 680px) {
  .grid-3,
  .hs-grid,
  .hs-help-grid,
  .hs-typed-fields,
  .settings-legacy .grid-2,
  .settings-help-grid,
  .story-grid,
  .community-card-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-help-item:last-child { grid-column: auto; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-category-buttons,
  .faq-sidebar nav > h2,
  .faq-guided-help { display: none; }
  .faq-mobile-category { display: grid; gap: 8px; }
  .hs-heading { flex-direction: column; }
  .hs-heading > .hs-actions { flex-wrap: wrap; }
  .profile-page-heading { flex-wrap: wrap; }
  .story-card-art { height: 220px; }
}
@container main (max-width: 540px) {
  .grid-2,
  .people-grid,
  .album-assets,
  .hs-facts,
  .hs-filter-grid,
  .settings-app-grid,
  .settings-layout aside,
  .journal-aside,
  .group-detail-aside,
  .community-layout > aside { grid-template-columns: minmax(0, 1fr); }
  .hs-filter-grid > .form-field:first-child { grid-column: auto; }
  .card-body { padding: 18px; }
  .card-head { padding: 18px 18px 0; }
  .card-head + .card-body { padding-top: 14px; }
  .journal-post-header { align-items: flex-start; }
  .journal-post-actions > .btn { flex: 1 1 auto; }
  .journal-composer-footer .form-field { flex: 1 1 100%; }
  .journal-composer-footer .btn { flex: 1 1 100%; margin-inline-start: 0; }
  .hs-results-head { align-items: flex-start; }
  .review-summary { grid-template-columns: minmax(0, 1fr); }
  .settings-submissions .list-row,
  .profile-signin { flex-wrap: wrap; }
  .profile-signin .btn { width: 100%; }
  .story-builder-heading .text-link { width: 100%; }
}
@media (min-width: 1536px) {
  .app-layout {
    grid-template-columns: 240px minmax(0, 1fr) 250px;
    max-width: 1540px;
  }
  .app-layout > .right-rail { display: grid; }
  .app-layout.wide-view { grid-template-columns: 240px minmax(0, 1fr); }
  .app-layout.wide-view > .right-rail { display: none; }
}
@media (max-width: 1050px) and (min-width: 661px) {
  .app-layout,
  .app-layout.wide-view {
    grid-template-columns: 198px minmax(0, 1fr);
    gap: 18px;
    padding-inline: 20px;
  }
  .topbar-inner { gap: 16px; padding-inline: 20px; }
  .brand { width: 205px; font-size: 14px; }
}
@media (max-width: 800px) and (min-width: 661px) {
  .header-actions .account-name { display: none; }
  .brand { width: 190px; }
  .app-layout,
  .app-layout.wide-view { grid-template-columns: 174px minmax(0, 1fr); }
  .nav-item { font-size: 12px; padding-inline: 10px; }
}
@media (max-width: 660px) {
  html { scrollbar-gutter: auto; scroll-padding-top: 144px; }
  .topbar-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px 8px;
    padding: 8px 12px;
    min-height: 116px;
  }
  .brand { width: auto; font-size: 12px; line-height: 1.4; gap: 6px; grid-column: 2; grid-row: 1; }
  .brand img { width: 26px; height: 38px; }
  .brand span { max-width: none; }
  .mobile-menu { display: inline-flex; width: 44px; height: 44px; grid-column: 1; grid-row: 1; }
  .header-actions { margin-left: 0; gap: 2px; grid-column: 3; grid-row: 1; }
  .header-actions .icon-btn { width: 44px; height: 44px; }
  .header-actions .account-button { padding-inline: 2px; }
  .header-actions .login-top { font-size: 12px; min-height: 44px; padding: 9px 11px; }
  .header-actions .hide-mobile { display: none; }
  .global-search {
    order: initial;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    height: 46px;
    margin: 0;
    gap: 8px;
  }
  .global-search input { font-size: 16px; }
  .search-submit { font-size: 12px; min-height: 44px; }
  .dev-strip { min-height: 20px; font-size: 10px; line-height: 1.4; padding: 3px 8px; }
  .app-layout,
  .app-layout.wide-view {
    display: block;
    padding: 20px 12px calc(100px + env(safe-area-inset-bottom));
  }
  .sidebar {
    top: 137px;
    bottom: calc(65px + env(safe-area-inset-bottom));
    width: min(320px, calc(100vw - 20px));
    height: auto;
    max-height: calc(100dvh - 201px - env(safe-area-inset-bottom));
    padding: 12px 16px 24px;
    z-index: 40;
  }
  body:not(:has(.dev-strip:not([hidden]))) .sidebar {
    top: 117px;
    max-height: calc(100dvh - 181px - env(safe-area-inset-bottom));
  }
  .sidebar.open { display: block; }
  .mobile-nav { min-height: 64px; padding-block-start: 7px; gap: 1px; }
  .mobile-nav a { min-height: 44px; font-size: 10px; gap: 4px; justify-content: center; }
  .mobile-nav a span { text-align: center; line-height: 1.3; }
  body { font-size: 14px; }
  .form-field input:not([type=checkbox]):not([type=radio]),
  .form-field select,
  .form-field textarea,
  .text-input,
  .journal-composer-footer select,
  .journal-comment-form input { font-size: 16px; }
  .btn { font-size: 13px; }
  .page-title { gap: 14px; }
  .page-title > div:first-child { flex-basis: 100%; }
  .page-title > .btn,
  .page-title > .hs-actions,
  .profile-page-heading > .btn { width: 100%; }
  .page-title p { font-size: 13px; }
  .journal-post-text { font-size: 14px; }
  .journal-post-actions .btn { min-height: 44px; font-size: 12px; padding: 9px 8px; }
  .journal-comment-form { flex-wrap: wrap; }
  .journal-comment-form input { flex: 1 1 100%; }
  .journal-comment-form .btn { width: 100%; }
  .settings-tabs { gap: 6px; }
  .settings-tabs > a { flex: 1 1 calc(50% - 6px); justify-content: center; text-align: center; }
  .hs-heading > .hs-actions > .btn { flex: 1 1 100%; }
  .hs-filter-grid .form-field { margin-bottom: 0; }
  .hs-filter-grid .toolbar { margin-top: 4px; }
  .hs-page-link { min-width: 44px; }
  .profile-identity-text { min-width: 0; }
  .profile-tabs { scrollbar-width: thin; }
  .profile-closed { padding: 28px 20px; }
  .catalog-card { flex-wrap: wrap; }
  .catalog-card > div:last-child { min-width: 0; flex: 1 1 180px; }
  .summary-table { font-size: 12px; }
  .summary-table th,
  .summary-table td { padding: 9px 7px; }
  dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .modal-head { padding: 14px 16px; }
  .modal-body { padding: 18px; }
  .modal-body .toolbar > .btn { flex: 1 1 100%; }
  .modal-head h2 { font-size: 19px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .topbar-inner { gap: 6px; padding-inline: 10px; grid-template-columns: 44px minmax(0, 1fr) auto; }
  .brand { font-size: 11px; gap: 4px; }
  .brand img { width: 21px; height: 32px; }
  .header-actions { gap: 0; }
  .header-actions .login-top { padding-inline: 8px; }
  .app-layout,
  .app-layout.wide-view { padding-inline: 10px; }
  .mobile-nav a { font-size: 9px; }
  .card-body { padding-inline: 16px; }
  .reaction-trigger { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Source: modules/consent.css */
/* Семейный архив: Живая память — calm, accessible browser choices. */
.consent-banner{position:fixed;z-index:70;right:24px;bottom:24px;width:min(570px,calc(100vw - 48px));padding:22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 48px #213b302b;font-size:14px;line-height:1.6}.consent-banner strong{font-size:18px;color:var(--ink)}.consent-banner p{margin:8px 0 15px;color:var(--muted)}.consent-banner .small{display:inline-block;margin-top:13px}.consent-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0 13px}.consent-buttons .btn{justify-content:center;flex:1 1 auto;white-space:normal;min-height:44px}.consent-dialog{max-width:620px;width:calc(100vw - 32px);padding:0;border:1px solid var(--line);border-radius:18px;max-height:calc(100dvh - 32px);overflow:auto}.consent-dialog::backdrop{background:#15281ed0}.consent-dialog .modal-head{gap:14px}.consent-dialog .modal-head h2{line-height:1.35}.consent-options{margin-top:22px;display:grid;gap:11px}.consent-option{display:flex;gap:13px;align-items:flex-start;padding:15px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.consent-option input{width:20px;height:20px;flex-shrink:0;accent-color:var(--green);margin-top:3px}.consent-option strong{display:block}.consent-option small{display:block;margin-top:5px;line-height:1.55;color:var(--muted)}.consent-inactive{background:#f8f9f7;cursor:default}.consent-page .prose{margin:13px 0;text-align:justify;overflow-wrap:anywhere}.consent-inventory{display:grid;gap:0;margin-top:18px}.consent-inventory article{border-top:1px solid var(--line);padding:17px 0}.consent-inventory article:first-child{border-top:0}.consent-inventory h3{font-size:16px}.consent-inventory p{margin-top:9px;text-align:justify;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}.consent-page .card-body{min-width:0}.consent-banner button:focus-visible,.consent-dialog button:focus-visible,.consent-option input:focus-visible{outline:3px solid #a66333;outline-offset:3px}
@media(max-width:600px){.consent-banner{left:12px;right:12px;bottom:calc(75px + env(safe-area-inset-bottom));width:auto;padding:17px;font-size:13px;max-height:calc(100dvh - 160px);overflow:auto}.consent-banner strong{font-size:17px}.consent-buttons{gap:8px}.consent-banner .consent-buttons .btn{flex-basis:100%;font-size:13px}.consent-dialog .modal-head h2{font-size:20px}.consent-dialog .modal-body{padding:18px}.consent-option{padding:12px}.consent-option small{font-size:12px}}
/* Семейный архив: Живая память — compact first-visit choice; all choices remain. */
.consent-banner{width:min(490px,calc(100vw - 32px));padding:14px 16px;border-radius:14px;font-size:13px;line-height:1.45}
.consent-banner strong{font-size:15px;line-height:1.35}
.consent-banner p{margin:6px 0 10px}
.consent-banner .consent-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 4px}
.consent-banner .consent-buttons .btn{min-width:0;min-height:44px;padding:7px 6px;font-size:12px;line-height:1.3}
.consent-banner .small{margin-top:4px;min-height:32px;display:inline-flex;align-items:center;font-size:12px}
@media(max-width:600px){.consent-banner{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;padding:13px 14px;max-height:calc(100dvh - 150px)}.consent-banner strong{font-size:15px}.consent-banner .consent-buttons .btn{flex-basis:auto;font-size:12px}.consent-banner .small{margin-top:2px}}

/* Source: modules/support.css */
/* Семейный архив: Живая память — considered public support and private requests. */
.support-view{display:grid;gap:24px;min-width:0;container-name:support;container-type:inline-size}
.support-view :where(h1,h2,h3,h4,p,dd,a,strong,small,span){overflow-wrap:anywhere}
.support-view :where(form,fieldset,section,article,aside,div,nav){min-width:0}
.support-view .card-body{padding:26px}
.support-view h1{font:500 37px/1.16 Georgia,serif;letter-spacing:-.65px}
.support-view h2{font-size:23px;line-height:1.4}
.support-view h3{font-size:17px;line-height:1.5}
.support-prose{font-size:14px;line-height:1.85;text-align:start;hyphens:auto;text-justify:inter-word;white-space:pre-line}
.support-help{font-size:12px;line-height:1.85;color:var(--muted);margin:12px 0 20px}
.support-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--muted);font-size:12px;line-height:1.6}
.support-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
.support-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:6px}
.support-heading>div{flex:1;min-width:0}
.support-heading .eyebrow{letter-spacing:.13em;font-size:10px;margin-bottom:12px}
.support-heading h1{margin-bottom:14px}
.support-heading .support-prose{max-width:720px;color:var(--muted)}
.support-heading>.btn{flex-shrink:0;margin-top:3px}
.support-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.support-view .btn,.support-modal .btn{min-height:44px;line-height:1.55;white-space:normal}
.support-view .text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.support-view .form-field,.support-modal .form-field{display:grid;gap:8px;min-width:0;margin-bottom:18px}
.support-view .form-field>span,.support-modal .form-field>span{font-size:13px;font-weight:600;line-height:1.7}
.support-view :where(input:not([type=checkbox]),textarea,select),.support-modal :where(input:not([type=checkbox]),textarea,select){width:100%;min-width:0;max-width:100%;min-height:44px;background:#fff;border:1px solid #d5ddd3;border-radius:9px;padding:10px 12px;color:var(--ink);font-size:14px;line-height:1.6;text-align:start}
.support-view textarea,.support-modal textarea{resize:vertical;white-space:pre-wrap;min-height:116px}
.support-required{color:var(--brown)}
.support-view .form-field>small,.support-modal .form-field>small{font-size:12px;line-height:1.7;color:var(--muted)}
.support-view :where(input,textarea,select):focus-visible,.support-modal :where(input,textarea,select):focus-visible{outline:3px solid var(--focus-ring,#a85a1f);outline-offset:3px}
.support-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin-top:24px}
.support-private-note{display:flex;align-items:start;gap:11px;border:1px solid #d4e4d8;background:var(--green-soft);border-radius:10px;padding:14px 16px;margin:18px 0;color:#496453;font-size:12px;line-height:1.85}
.support-private-note>.icon{margin-top:3px;width:18px;height:18px;flex-shrink:0}
.support-private-note>p{min-width:0}
.support-check{display:flex;align-items:start;gap:10px;min-height:44px;font-size:13px;line-height:1.85;cursor:pointer;padding:8px 0}
.support-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:3px 0 0}
.support-check>span{min-width:0}
.support-consent{padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:20px;font-size:12px}
.support-form-error{background:#fff4ed;border:1px solid #e7cfc2;border-radius:9px;color:var(--danger);padding:12px 14px;font-size:13px;line-height:1.85;margin:16px 0;overflow-wrap:anywhere}
.support-form-status{color:var(--green);font-size:12px;line-height:1.8;margin:10px 0}
.support-form-status:empty{display:none}
.support-modal{display:grid;gap:16px;min-width:0}
.support-modal .support-prose{font-size:13px}
.support-modal .support-actions{margin-top:15px}
.support-stack{display:grid;gap:22px;align-content:start;min-width:0}
.support-section{display:grid;gap:18px}
.support-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px}
.support-section-title>div{flex:1;min-width:0}
.support-section-title h2{font-size:23px;line-height:1.45}
.support-section-title p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:7px}
.support-section-title>span{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff}
.support-territory{display:grid;grid-template-columns:42px minmax(0,360px) minmax(0,1fr);gap:16px;align-items:center;border:1px solid #d4dfd2;background:#edf2e9;border-radius:13px;padding:18px 20px;min-width:0}
.support-territory-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #ceddcf;background:#f7faf3;color:var(--green);border-radius:11px}
.support-territory .form-field{margin:0}
.support-territory>.form-field>span{font-size:11px;color:#546653}
.support-territory>p{font-size:12px;line-height:1.75;color:#546653}
.support-partner-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px}
.support-partner-toolbar .form-field{flex:1;max-width:500px;margin-bottom:0}
.support-count{font-size:12px;color:var(--muted);padding-block:13px;white-space:nowrap;flex-shrink:0}
.support-empty{display:flex;align-items:center;flex-direction:column;gap:11px;padding:34px 26px;text-align:center;border:1px dashed #cfdacf;background:#fcfdf9;border-radius:14px}
.support-empty-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;background:#edf3e9;border:1px solid #dce7d7;border-radius:12px;color:#658064;margin-bottom:5px}
.support-empty-icon>.icon{width:24px;height:24px}
.support-empty h3{font-size:17px;line-height:1.55}
.support-empty>p{max-width:550px;color:var(--muted);font-size:12px;line-height:1.85;text-align:center}
.support-empty .support-actions{justify-content:center;margin-top:6px}
.support-empty>.btn{margin-top:5px}
.support-partners-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.support-partner{display:flex;flex-direction:column;gap:18px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:15px}
.support-partner-head{display:flex;align-items:center;gap:15px}
.support-partner-head>div{flex:1;min-width:0}
.support-partner-head p{font-size:11px;color:var(--muted);margin-top:7px}
.support-partner-monogram{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #d7e3d5;border-radius:12px;background:#edf3e7;color:var(--green);font:500 23px/1 Georgia,serif;flex-shrink:0}
.support-partner .support-prose{font-size:13px}
.support-partner-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto}
.support-tags{display:flex;flex-wrap:wrap;gap:7px}
.support-tags .chip{font-size:11px;line-height:1.6;max-width:100%}
.support-filter-empty{border:1px solid var(--line);border-radius:9px;font-size:13px;line-height:1.8;color:var(--muted);padding:18px;background:#fff}
.support-invitation{display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #d7dfcf;border-radius:15px;padding:28px;background:#f6f3e9}
.support-invitation>div{flex:1;min-width:0}
.support-invitation .support-prose{color:#69715f;font-size:13px;margin-top:14px}
.support-invitation>.btn{flex-shrink:0}
.support-contact-layout,.support-service-layout,.support-case-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}
.support-contact-title{display:flex;align-items:center;gap:11px;color:var(--green)}
.support-contact-title>.icon{width:24px;height:24px}
.support-contact-title h2{color:var(--ink)}
.support-operator-name{font-size:20px!important;line-height:1.55!important}
.support-operator-name .support-operator-line{display:block;white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none}
.support-contact-details{display:grid;gap:18px;margin:20px 0 0}
.support-contact-details>div{display:grid;gap:5px}
.support-contact-details dt{font-size:11px;line-height:1.8;color:var(--muted)}
.support-contact-details dd{font-size:13px;line-height:1.85;margin:0;min-width:0;white-space:pre-line}
.support-contact-layout aside .support-prose,.support-service-layout aside .support-prose,.support-case-layout aside .support-prose{font-size:13px}
.support-contact-layout aside .text-link{display:flex;line-height:1.7;margin-top:8px}
.support-contact-request{border:1px solid var(--line);border-radius:11px;padding:16px;background:#fcfdf9}
.support-contact-request summary{display:flex;align-items:center;gap:13px;justify-content:space-between;cursor:pointer;min-height:44px}
.support-contact-request summary>span:first-child{flex:1;min-width:0;display:grid;gap:6px}
.support-contact-request summary strong{font-size:13px;line-height:1.7}
.support-contact-request summary small{font-size:11px;line-height:1.8;color:var(--muted)}
.support-contact-request>.support-prose{font-size:13px;margin-top:18px}
.support-reply{border-left:3px solid #adc5ad;background:#f0f5ec;padding:15px;margin-top:18px}
.support-reply h3{font-size:13px;margin-bottom:8px}
.support-reply .support-prose{font-size:13px}
.support-services-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.support-category{display:flex;align-items:start;gap:12px;border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff;color:var(--muted);min-width:0}
.support-category>.icon{width:23px;height:23px;margin-top:3px;color:var(--green)}
.support-category>span{display:grid;gap:6px;min-width:0}
.support-category strong{font-size:13px;line-height:1.7}
.support-category small{font-size:11px;line-height:1.75;color:var(--muted)}
.support-category.active{background:#edf3e9;border-color:#b8cdb5;color:var(--green)}
.support-category:hover{text-decoration:none}
.support-planned{background:#f6f6f1}
.support-planned>.icon{color:#84917c}
.support-care-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 0 6px;border-top:1px solid var(--line)}
.support-care-intro>div{flex:1;max-width:710px;min-width:0}
.support-care-intro h2{font:500 29px/1.3 Georgia,serif;margin-bottom:15px}
.support-care-intro .support-prose{color:var(--muted)}
.support-care-symbol{display:flex;align-items:center;justify-content:center;width:88px;height:88px;flex-shrink:0;border:1px solid #e0d7c5;border-radius:50%;background:#f6f1e7;color:#817254}
.support-care-symbol>.icon{width:34px;height:34px;stroke-width:1.3}
.support-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.support-steps>div{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;gap:6px 10px;border-top:1px solid var(--line);padding:15px 0 0}
.support-steps>div>span{width:25px;height:25px;border:1px solid #cddccc;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--green);grid-row:span 2}
.support-steps strong{font-size:13px;line-height:1.65}
.support-steps p{font-size:11px;line-height:1.8;color:var(--muted)}
.support-honest-note{display:flex;align-items:start;gap:12px;padding:16px 18px;border:1px solid #e4ddca;border-radius:11px;background:#faf7ed;font-size:12px;line-height:1.85;color:#746c56}
.support-honest-note>.icon{width:19px;height:19px;flex-shrink:0;margin-top:4px}
.support-work-group{padding:0;border:0;margin:20px 0 24px;min-width:0}
.support-work-group legend{font-size:13px;line-height:1.8;font-weight:600;color:var(--green);max-width:100%;margin-bottom:11px}
.support-service-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.support-service-choice{display:flex;align-items:start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:9px;background:#fcfdf9;cursor:pointer}
.support-service-choice:has(input:checked){border-color:#91b091;background:#eef4e9}
.support-service-choice input{width:18px;height:18px;flex-shrink:0;margin:3px 0;accent-color:var(--green)}
.support-service-choice>span{display:grid;gap:5px;min-width:0}
.support-service-choice strong{font-size:12px;line-height:1.75}
.support-service-choice small{font-size:11px;line-height:1.8;color:var(--muted)}
.support-service-layout .support-territory{grid-template-columns:32px minmax(0,1fr);padding:14px;gap:12px;margin:20px 0}
.support-service-layout .support-territory-icon{width:32px;height:32px;border-radius:8px}
.support-service-layout .support-territory-icon .icon{width:17px;height:17px}
.support-service-layout .support-territory>p{grid-column:1/-1;font-size:11px}
.support-simple-list{display:grid;gap:14px;padding-left:20px;font-size:13px;line-height:1.8;margin:18px 0}
.support-simple-list li::marker{color:#7c9875}
.support-request-list{display:grid;gap:12px;margin-top:20px}
.support-service-request{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:11px;padding:17px;background:#fcfdf9;color:var(--ink)}
.support-service-request:hover{background:#edf3e9;text-decoration:none;border-color:#becdb7}
.support-service-request>span:nth-child(2){display:grid;gap:6px;min-width:0;flex:1}
.support-service-request strong{font-size:13px;line-height:1.7}
.support-service-request small{font-size:11px;color:var(--muted);line-height:1.8}
.support-request-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;background:#edf3e9;color:var(--green);border-radius:9px}
.support-request-icon>.icon{width:20px;height:20px}
.support-service-request>.icon{width:16px;height:16px;flex-shrink:0;color:var(--muted)}
.support-status{display:inline-flex;align-items:center;font-size:11px;font-weight:600;line-height:1.65;padding:5px 8px;border:1px solid #d3dfcb;border-radius:7px;background:#edf3e9;color:#4c6746;max-width:100%;text-align:start}
.support-status.state-disputed,.support-status.state-cancelled{background:#f8efe9;border-color:#e3cfbf;color:#886049}
.support-status.state-completed{background:#e5f0e7;border-color:#c4d7c7;color:var(--green)}
.support-case-head{display:flex;align-items:start;justify-content:space-between;gap:22px}
.support-case-head h1{margin-bottom:12px}
.support-case-head>div{flex:1;min-width:0}
.support-case-head p:last-child{font-size:13px;line-height:1.8;color:var(--muted)}
.support-case-head>.support-status{flex-shrink:0;margin-top:4px}
.support-case-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;border-top:1px solid var(--line);padding-top:22px;margin:0}
.support-case-details>div{display:grid;gap:6px}
.support-case-details dt{font-size:11px;line-height:1.8;color:var(--muted)}
.support-case-details dd{font-size:13px;line-height:1.85;margin:0;white-space:pre-line}
.support-case-details>div:last-child:has(dd){grid-column:1/-1}
.support-price{font-size:22px;line-height:1.4;letter-spacing:-.4px;color:var(--green)}
.support-report-files{display:grid;gap:10px;list-style:none;margin:20px 0;padding:0}
.support-report-files li{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fcfdf9}
.support-report-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#edf3e9;border-radius:8px;color:var(--green);flex-shrink:0}
.support-report-icon>.icon{width:20px;height:20px}
.support-report-files li>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.support-report-files strong{font-size:12px;line-height:1.8}
.support-report-files small{font-size:11px;line-height:1.8;color:var(--muted)}
.support-report-files .btn{font-size:11px}
.support-case-management{display:grid;gap:25px;margin-top:20px}
.support-case-management>form+form{border-top:1px solid var(--line);padding-top:22px}
.support-case-management h3{margin-bottom:16px}
.support-case-progress{list-style:none;padding:0;margin:18px 0;display:grid;gap:0}
.support-case-progress li{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.75;color:var(--muted);padding:13px 0;border-bottom:1px solid var(--line)}
.support-case-progress li.active{color:var(--green);font-weight:600}
.support-case-progress>.active>.icon{width:17px;height:17px}
.support-history{display:grid;gap:18px;list-style:none;margin:18px 0 0;padding:0}
.support-history>li{display:grid;gap:5px;font-size:12px;line-height:1.85;border-left:2px solid #dce6d4;padding-left:12px}
.support-history strong{font-size:12px;line-height:1.8;font-weight:600}
.support-history small{font-size:10px;line-height:1.8;color:var(--muted)}
.support-admin-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px}
.support-admin-tabs>a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;padding:8px 12px;border-radius:9px;border:1px solid transparent;line-height:1.7;color:var(--muted)}
.support-admin-tabs>a.active{color:var(--green);background:#e9f0e4;border-color:#d8e2d1;font-weight:600}
.support-admin-tabs>a:hover{text-decoration:none;background:#edf3e9}
.support-admin-list{display:grid;gap:14px;margin-top:25px}
.support-admin-list>article{display:flex;align-items:start;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:11px;background:#fcfdf9;padding:18px}
.support-admin-list>article>div:first-child{flex:1;min-width:0}
.support-admin-list p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:6px}
.support-admin-list .support-actions{margin-top:0;justify-content:end}
.support-channel-editor{display:grid;gap:18px;margin:18px 0}
.support-channel-row{border:1px solid var(--line);border-radius:10px;background:#fcfdf9;padding:18px}
.support-channel-row legend{font-size:12px;color:var(--green);padding:0 6px}
.support-channel-row .form-field:last-of-type{margin-bottom:6px}
.support-form-subheading{margin:30px 0 0}
.support-admin-contact-list{display:grid;gap:16px;margin-top:24px}
.support-admin-contact-list>details{border:1px solid var(--line);border-radius:11px;padding:18px;background:#fcfdf9}
.support-admin-contact-list summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;cursor:pointer}
.support-admin-contact-list summary>span:first-child{flex:1;display:grid;gap:6px;min-width:0}
.support-admin-contact-list summary strong{font-size:13px;line-height:1.75}
.support-admin-contact-list summary small{font-size:11px;line-height:1.8;color:var(--muted)}
.support-admin-contact-list form{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.support-admin-contact-list>details>.btn{margin-top:18px}
@container support (min-width:680px){.support-prose{text-align:justify}}
.support-contact-layout>aside .support-prose,.support-service-layout>aside .support-prose,.support-case-layout>aside .support-prose{ text-align:start }
@container support (max-width:850px){.support-contact-layout,.support-service-layout,.support-case-layout{grid-template-columns:minmax(0,1fr)}.support-contact-layout>aside,.support-service-layout>aside,.support-case-layout>aside{grid-template-columns:repeat(2,minmax(0,1fr))}.support-territory{grid-template-columns:42px minmax(0,1fr)}.support-territory>p{grid-column:2/-1}.support-heading{flex-direction:column}.support-heading>.btn{margin-top:0}.support-invitation{flex-direction:column;align-items:start}.support-services-categories{grid-template-columns:minmax(0,1fr)}.support-category{padding:15px 18px}.support-service-layout .support-territory>p{grid-column:1/-1}}
@container support (max-width:600px){.support-view h1{font-size:31px;line-height:1.25}.support-view h2,.support-section-title h2{font-size:21px}.support-view .card-body{padding:20px}.support-partners-grid,.support-service-options{grid-template-columns:minmax(0,1fr)}.support-contact-layout>aside,.support-service-layout>aside,.support-case-layout>aside{grid-template-columns:minmax(0,1fr)}.support-heading .support-prose,.support-care-intro .support-prose{font-size:13px}.support-field-grid{grid-template-columns:minmax(0,1fr);gap:0}.support-steps{grid-template-columns:minmax(0,1fr);gap:10px}.support-steps>div{grid-template-columns:28px minmax(0,1fr)}.support-care-symbol{display:none}.support-case-head{flex-direction:column;gap:15px}.support-case-head>.support-status{margin:0}.support-case-details{grid-template-columns:minmax(0,1fr);gap:18px}.support-case-details>div:last-child{grid-column:auto}.support-section-title{align-items:start;flex-wrap:wrap}.support-admin-list>article{flex-direction:column}.support-admin-list .support-actions{justify-content:start;width:100%}.support-partner-toolbar{align-items:start;flex-direction:column;gap:10px}.support-partner-toolbar .form-field{width:100%;max-width:100%}.support-count{padding:0}.support-territory{padding:15px;gap:12px}.support-territory>p{font-size:11px}.support-invitation{padding:23px}.support-empty{padding:28px 20px}.support-service-request{flex-wrap:wrap;gap:12px;padding:15px}.support-service-request>span:nth-child(2){flex-basis:calc(100% - 55px)}.support-service-request>.support-status{margin-left:52px}.support-service-request>.icon{margin-left:auto}.support-contact-request summary,.support-admin-contact-list summary{align-items:start;flex-direction:column}.support-report-files li{flex-wrap:wrap}.support-report-files li>span:nth-child(2){flex-basis:calc(100% - 52px)}.support-report-files .btn{margin-left:50px}.support-price{font-size:20px}.support-section-title>.btn{width:100%}}
@container support (max-width:390px){.support-view .card-body{padding:17px}.support-view h1{font-size:28px}.support-view h2{font-size:20px}.support-view .support-actions{align-items:stretch;flex-direction:column}.support-view .support-actions>.btn{width:100%}.support-territory{grid-template-columns:minmax(0,1fr)}.support-territory-icon{display:none}.support-territory>p{grid-column:auto}.support-service-layout .support-territory{grid-template-columns:minmax(0,1fr)}.support-service-layout .support-territory-icon{display:none}.support-private-note{padding:12px;gap:9px}.support-honest-note{padding:14px;gap:9px}.support-partner{padding:20px}.support-partner-monogram{width:45px;height:45px;font-size:20px}.support-channel-row{padding:14px}.support-invitation>.btn{width:100%}}
@media(max-width:540px){.support-modal .support-service-options{grid-template-columns:minmax(0,1fr)}.support-modal .support-actions{flex-direction:column;align-items:stretch}.support-modal .support-actions>.btn{width:100%}}
@media(prefers-reduced-motion:reduce){.support-view *,.support-modal *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Source: modules/fulfillment.css */
/* Семейный архив: Живая память — customer, staff and contractor workspaces. */
.fulfillment-view{display:grid;gap:24px;min-width:0;container-type:inline-size;container-name:fulfillment}
.fulfillment-view :where(h1,h2,h3,p,span,small,strong,dd,a){overflow-wrap:anywhere}
.fulfillment-view :where(section,aside,nav,form,fieldset,article,div){min-width:0}
.fulfillment-view .card-body{padding:25px}
.fulfillment-view h1{font:500 37px/1.2 Georgia,serif;letter-spacing:-.65px;margin-bottom:13px}
.fulfillment-view h2{font-size:22px;line-height:1.45;margin-bottom:16px}
.fulfillment-view h3{font-size:16px;line-height:1.6;margin:4px 0 15px}
.fulfillment-prose{font-size:14px;line-height:1.9;text-align:justify;text-justify:inter-word;hyphens:auto;white-space:pre-line}
.fulfillment-help{font-size:12px;line-height:1.85;color:var(--muted);margin:12px 0 20px;white-space:pre-line}
.fulfillment-help:empty{display:none}
.fulfillment-heading,.fulfillment-case-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.fulfillment-heading>div,.fulfillment-case-heading>div{flex:1;min-width:0}
.fulfillment-heading .eyebrow,.fulfillment-case-heading .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:11px}
.fulfillment-heading .fulfillment-prose{color:var(--muted);max-width:740px}
.fulfillment-case-heading p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted)}
.fulfillment-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;line-height:1.75;color:var(--muted)}
.fulfillment-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
.fulfillment-view .btn,.fulfillment-modal .btn{min-height:44px;white-space:normal;line-height:1.55}
.fulfillment-view .text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:12px;line-height:1.7;margin-top:10px}
.fulfillment-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}
.fulfillment-view .form-field,.fulfillment-modal .form-field{display:grid;gap:8px;min-width:0;margin-bottom:18px}
.fulfillment-view .form-field>span,.fulfillment-modal .form-field>span{font-size:13px;line-height:1.7;font-weight:600}
.fulfillment-view .form-field>small,.fulfillment-modal .form-field>small{color:var(--muted);font-size:12px;line-height:1.7}
.fulfillment-view :where(input:not([type=checkbox]),select,textarea),.fulfillment-modal :where(input:not([type=checkbox]),select,textarea){display:block;width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid #d4ddd2;border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;font-size:14px;line-height:1.6;text-align:start}
.fulfillment-view input[type=file]{padding:9px;font-size:12px;white-space:normal}
.fulfillment-view input[type=file]::file-selector-button{border:1px solid #d4ddd2;border-radius:6px;background:#f0f5eb;color:var(--green);padding:6px 10px;margin-right:10px;cursor:pointer;font:inherit}
.fulfillment-view textarea,.fulfillment-modal textarea{resize:vertical;white-space:pre-wrap;min-height:112px}
.fulfillment-view :where(input,select,textarea,a,button):focus-visible,.fulfillment-modal :where(input,select,textarea,a,button):focus-visible{outline:3px solid var(--focus-ring,#a85a1f);outline-offset:3px}
.fulfillment-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.fulfillment-check{display:flex;align-items:start;gap:10px;padding:10px 0;min-height:44px;font-size:12px;line-height:1.8;cursor:pointer}
.fulfillment-check input{width:18px;height:18px;margin:3px 0 0;flex-shrink:0;accent-color:var(--green)}
.fulfillment-check>span{display:grid;gap:5px;min-width:0}
.fulfillment-check strong{font-size:13px;font-weight:600}
.fulfillment-check small{font-size:11px;line-height:1.8;color:var(--muted)}
.fulfillment-check a{display:inline}
.fulfillment-options{border:1px solid #d9e1d4;border-radius:11px;padding:10px 17px;margin:16px 0 22px;background:#fcfdf9}
.fulfillment-options legend{padding:0 8px;color:#52634e;font-size:12px;font-weight:600;line-height:1.75}
.fulfillment-note{display:flex;align-items:start;gap:11px;border:1px solid #dedbcb;background:#f8f5ec;border-radius:11px;padding:16px 18px;font-size:12px;line-height:1.85;color:#736b53}
.fulfillment-note>.icon{width:19px;height:19px;flex-shrink:0;margin-top:3px}
.fulfillment-note p{min-width:0;text-align:justify;hyphens:auto}
.fulfillment-note.privacy{background:#eef5ea;border-color:#d4e4d0;color:#4f6b50}
.fulfillment-view form>.fulfillment-note{margin:20px 0}
.fulfillment-error{border:1px solid #dfcabe;background:#fff4ed;border-radius:9px;padding:13px 15px;color:var(--danger);font-size:13px;line-height:1.8;margin:16px 0}
.fulfillment-stack{display:grid;gap:22px;align-content:start}
.fulfillment-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:22px}
.fulfillment-layout aside .fulfillment-prose{font-size:13px}
.fulfillment-empty{display:flex;flex-direction:column;align-items:center;gap:13px;background:#fcfdf9;border:1px dashed #d3ddce;border-radius:12px;padding:35px 24px;text-align:center}
.fulfillment-empty>.icon{width:33px;height:33px;color:#78906e;margin-bottom:3px}
.fulfillment-empty h3{margin:0;font-size:17px}
.fulfillment-empty p{font-size:12px;line-height:1.9;color:var(--muted);max-width:530px}
.fulfillment-empty .fulfillment-actions{justify-content:center}
.fulfillment-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fulfillment-categories>a,.fulfillment-categories>div{display:flex;gap:12px;align-items:start;padding:19px;border:1px solid #dce1d5;border-radius:12px;background:#f6f6f1;color:var(--muted)}
.fulfillment-categories>a:hover{text-decoration:none}
.fulfillment-categories .active{border-color:#b7cdb2;background:#edf4e9;color:var(--green)}
.fulfillment-categories .icon{width:24px;height:24px;flex-shrink:0;margin-top:3px}
.fulfillment-categories span{display:grid;gap:7px;min-width:0}
.fulfillment-categories strong{font-size:13px;line-height:1.65}
.fulfillment-categories small{font-size:11px;line-height:1.7;color:var(--muted)}
.fulfillment-care-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:27px 0 4px;border-top:1px solid var(--line)}
.fulfillment-care-intro>div{flex:1;min-width:0}
.fulfillment-care-intro h2{font:500 30px/1.3 Georgia,serif}
.fulfillment-care-intro>.fulfillment-prose{max-width:740px}
.fulfillment-care-intro>span{display:flex;align-items:center;justify-content:center;width:95px;height:95px;background:#eff4e9;border:1px solid #dce6d3;border-radius:50%;color:#597b52;flex-shrink:0}
.fulfillment-care-intro>span .icon{width:43px;height:43px}
.fulfillment-path{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:path;margin:0;padding:0}
.fulfillment-path li{position:relative;display:grid;gap:7px;background:#fff;border:1px solid #dbe2d5;border-radius:12px;padding:19px 16px 19px 43px;counter-increment:path}
.fulfillment-path li:before{content:counter(path);position:absolute;top:20px;left:16px;font-size:15px;color:#7a8b71;font-family:Georgia,serif}
.fulfillment-path strong{font-size:12px;line-height:1.65}
.fulfillment-path span{font-size:11px;line-height:1.8;color:var(--muted)}
.fulfillment-simple-list{padding-left:19px;margin:16px 0;font-size:13px;line-height:1.9;color:#586153}
.fulfillment-simple-list li{margin-bottom:10px}
.fulfillment-order-list{display:grid;gap:11px;margin-top:16px}
.fulfillment-order-row{display:flex;gap:14px;align-items:center;border:1px solid #d7e2d0;border-radius:12px;padding:17px;background:#fcfdf9;color:var(--ink)}
.fulfillment-order-row:hover{text-decoration:none;background:#f2f6ee;border-color:#bdcdb5}
.fulfillment-order-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#eaf1e4;color:var(--green);flex-shrink:0}
.fulfillment-order-name{display:grid;gap:6px;flex:1;min-width:0}
.fulfillment-order-name strong{font-size:13px;line-height:1.7}
.fulfillment-order-name small{font-size:11px;line-height:1.7;color:var(--muted)}
.fulfillment-order-row>.icon{width:16px;height:16px;flex-shrink:0;color:#8b9a7e}
.fulfillment-status{display:inline-flex;align-items:center;gap:6px;border:1px solid #d5dfcf;background:#f1f5eb;color:#596f4f;font-size:10px;font-weight:500;line-height:1.7;padding:5px 9px;border-radius:20px;max-width:210px}
.fulfillment-status.state-disputed,.fulfillment-status.state-rework{background:#fbf0df;color:#8c6c2d;border-color:#e4d4b9}
.fulfillment-status.state-accepted,.fulfillment-status.state-completed{background:#eaf4e4;border-color:#c9dfbf;color:#446339}
.fulfillment-status.state-cancelled{color:#74786e;background:#f1f1ec;border-color:#dddcd4}
.fulfillment-section-title{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:15px}
.fulfillment-section-title h2{margin:0 0 8px}
.fulfillment-section-title p{font-size:11px;line-height:1.8;color:var(--muted)}
.fulfillment-section-title>span:not(.fulfillment-status){font-size:12px;color:var(--muted)}
.fulfillment-filter{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;align-items:end;margin-top:20px}
.fulfillment-filter .form-field{margin:0}
.fulfillment-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fulfillment-stats>div{display:flex;align-items:center;gap:14px;border:1px solid #d8e1d1;border-radius:12px;background:#fff;padding:21px}
.fulfillment-stats strong{font:500 29px/1 Georgia,serif;color:var(--green)}
.fulfillment-stats span{font-size:12px;line-height:1.8;color:var(--muted)}
.fulfillment-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;border-bottom:1px solid var(--line);padding-bottom:12px}
.fulfillment-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border-radius:9px;font-size:12px;line-height:1.65;color:var(--muted)}
.fulfillment-tabs a:hover{text-decoration:none;background:#edf3e7}
.fulfillment-tabs .active{background:#e7f0df;color:var(--green);font-weight:600}
.fulfillment-profile-list{display:grid;gap:15px;margin-top:22px}
.fulfillment-profile-row{border:1px solid #d7e1d0;background:#fcfdf9;border-radius:12px;padding:17px}
.fulfillment-profile-row summary{display:flex;gap:15px;justify-content:space-between;align-items:center;cursor:pointer;min-height:44px}
.fulfillment-profile-row summary strong{font-size:13px;line-height:1.8}
.fulfillment-details{display:grid;gap:17px;margin:20px 0 5px}
.fulfillment-details>div{display:grid;gap:5px}
.fulfillment-details dt{font-size:11px;line-height:1.8;color:var(--muted)}
.fulfillment-details dd{font-size:13px;line-height:1.85;margin:0;white-space:pre-line}
.fulfillment-routing-row{padding:19px;border:1px solid #d4dfcc;background:#fbfdf7;border-radius:11px;margin-top:18px}
.fulfillment-routing-row legend{padding:0 8px;color:var(--green);font-size:12px;font-weight:600;line-height:1.8}
.fulfillment-view [data-fulfillment-routing]>h3{margin-top:27px}
.fulfillment-view [data-routing-add],.fulfillment-view [data-coordinator-add]{margin:16px 0 8px}
.fulfillment-routing-row .fulfillment-options{max-height:310px;overflow-y:auto}
.fulfillment-finance-list{display:grid;gap:13px;margin-top:24px}
.fulfillment-finance-list>a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 18px;gap:18px;border:1px solid #d7e1d0;border-radius:11px;padding:18px;background:#fbfdf7;color:var(--ink)}
.fulfillment-finance-list>a:hover{text-decoration:none;background:#f0f5e9}
.fulfillment-finance-list span{display:grid;gap:6px}
.fulfillment-finance-list strong{font-size:12px;line-height:1.7}
.fulfillment-finance-list small{font-size:11px;line-height:1.8;color:var(--muted)}
.fulfillment-progress{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.fulfillment-progress li{display:grid;gap:8px;justify-items:center;text-align:center;position:relative;padding:10px 4px}
.fulfillment-progress li:before{position:absolute;content:'';height:1px;left:calc(-50% + 23px);right:calc(50% + 23px);top:27px;background:#d5dfcc}
.fulfillment-progress li:first-child:before{display:none}
.fulfillment-progress li>span{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid #d5dfcc;border-radius:50%;background:#fcfdf9;font-size:12px;color:#839276;z-index:1}
.fulfillment-progress li>strong{font-size:10px;line-height:1.8;font-weight:500;color:#88937f}
.fulfillment-progress li.active>span{border-color:var(--green);background:var(--green);color:#fff}
.fulfillment-progress li.active>strong{color:var(--green);font-weight:600}
.fulfillment-progress li.complete>span{background:#e8f1df;border-color:#c5d8b8;color:#567744}
.fulfillment-progress li.complete .icon{width:17px;height:17px}
.fulfillment-progress li.complete>strong{color:#65785a}
.fulfillment-price{font-size:22px;font-weight:600;line-height:1.6;color:#446837;white-space:nowrap}
.fulfillment-payment-summary{display:flex;justify-content:space-between;gap:13px;align-items:start;border:1px solid #d7e1cf;border-radius:10px;background:#f1f5ec;padding:14px;margin:20px 0}
.fulfillment-payment-summary>span{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.8;color:#566c4b}
.fulfillment-payment-summary strong{font-size:12px;line-height:1.8;white-space:nowrap}
.fulfillment-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 10px}
.fulfillment-report-grid figure{margin:0;overflow:hidden;border:1px solid #d5dece;border-radius:11px;background:#fbfcf7}
.fulfillment-report-grid img,.fulfillment-report-grid video{display:block;width:100%;height:200px;object-fit:contain;background:#edf0e8}
.fulfillment-report-grid figcaption{display:grid;gap:8px;padding:13px}
.fulfillment-report-grid figcaption strong{font-size:11px;line-height:1.75;font-weight:500}
.fulfillment-report-grid figcaption a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:11px;line-height:1.7;color:var(--green)}
.fulfillment-report-grid figcaption a .icon{width:16px;height:16px}
.fulfillment-action-forms{display:grid;gap:24px}
.fulfillment-action-forms>form,.fulfillment-action-forms>div{padding-top:20px;border-top:1px solid var(--line)}
.fulfillment-timeline{list-style:none;margin:20px 0 0;padding:0}
.fulfillment-timeline li{position:relative;padding:0 0 23px 23px;border-left:1px solid #d5dfcc;margin-left:4px}
.fulfillment-timeline li:last-child{padding-bottom:0}
.fulfillment-timeline li:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#a6bd95;left:-4.5px;top:8px}
.fulfillment-timeline strong{font-size:11px;line-height:1.8;display:block;font-weight:600}
.fulfillment-timeline small{font-size:10px;line-height:1.8;color:var(--muted);display:block;margin-top:5px}
.fulfillment-timeline p{font-size:11px;line-height:1.8;margin-top:7px;color:#63725b;white-space:pre-line}
.fulfillment-modal{display:grid;gap:17px;min-width:0}
.fulfillment-modal .fulfillment-prose{font-size:13px}
@container fulfillment (max-width:900px){.fulfillment-layout{grid-template-columns:minmax(0,1fr)}.fulfillment-layout>aside{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-layout>aside>.fulfillment-note{grid-column:1/-1}}
@container fulfillment (max-width:660px){.fulfillment-view .card-body{padding:20px}.fulfillment-view h1{font-size:31px}.fulfillment-heading,.fulfillment-case-heading{flex-direction:column}.fulfillment-categories{grid-template-columns:minmax(0,1fr)}.fulfillment-care-intro{gap:18px}.fulfillment-care-intro>span{width:67px;height:67px}.fulfillment-care-intro>span .icon{width:30px;height:30px}.fulfillment-care-intro h2{font-size:26px}.fulfillment-path{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-layout>aside{grid-template-columns:minmax(0,1fr)}.fulfillment-field-grid{grid-template-columns:minmax(0,1fr)}.fulfillment-filter{grid-template-columns:minmax(0,1fr)}.fulfillment-order-row{flex-wrap:wrap;gap:12px}.fulfillment-order-name{flex-basis:calc(100% - 70px)}.fulfillment-order-row>.fulfillment-status{margin-left:50px}.fulfillment-order-row>.icon{margin-left:auto}.fulfillment-stats{gap:8px}.fulfillment-stats>div{padding:14px 10px;display:grid;gap:8px}.fulfillment-stats strong{font-size:25px}.fulfillment-stats span{font-size:10px;line-height:1.6}.fulfillment-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.fulfillment-progress li:before{display:none}.fulfillment-report-grid{grid-template-columns:minmax(0,1fr)}.fulfillment-finance-list>a{grid-template-columns:minmax(0,1fr) 18px}.fulfillment-finance-list>a>span:nth-child(2),.fulfillment-finance-list>a>span:nth-child(3){grid-column:1/-1}.fulfillment-finance-list>a>.icon{grid-column:2;grid-row:1}.fulfillment-profile-row summary{align-items:start;flex-direction:column;gap:9px}.fulfillment-section-title{flex-wrap:wrap}.fulfillment-price{font-size:20px}}
@container fulfillment (max-width:380px){.fulfillment-view .card-body{padding:17px}.fulfillment-view h1{font-size:28px}.fulfillment-prose{font-size:13px;line-height:1.9}.fulfillment-care-intro>span{display:none}.fulfillment-path{gap:9px}.fulfillment-path li{padding:15px 12px 15px 35px}.fulfillment-path li:before{left:12px;top:16px}.fulfillment-options{padding:10px 12px}.fulfillment-actions .btn{width:100%}.fulfillment-tabs a{padding:9px 12px}.fulfillment-note{padding:13px}.fulfillment-payment-summary{flex-direction:column;gap:7px}.fulfillment-routing-row{padding:13px}}
.fulfillment-view [hidden]{display:none!important}

.fulfillment-catalogue{border:1px solid #d5dfcc;background:#fcfdf8;border-radius:12px;padding:16px 20px}
.fulfillment-catalogue>summary{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;line-height:1.8;font-weight:600;color:var(--green);cursor:pointer;list-style:none}
.fulfillment-catalogue>summary:before{content:'+';font-size:20px;font-weight:400}
.fulfillment-catalogue[open]>summary:before{content:'−'}
.fulfillment-catalogue>summary>span{font-size:10px;border:1px solid #d5dfcc;border-radius:15px;padding:3px 8px;line-height:1.7;font-weight:500}
.fulfillment-catalogue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.fulfillment-catalogue-grid article{border:1px solid #dbe2d4;border-radius:10px;background:#fff;padding:18px}
.fulfillment-catalogue-grid small{font-size:10px;line-height:1.8;color:var(--muted)}
.fulfillment-catalogue-grid h3{font-size:14px;margin:9px 0}
.fulfillment-catalogue-grid .fulfillment-prose{font-size:12px;color:#647359}
@container fulfillment (max-width:660px){.fulfillment-catalogue-grid{grid-template-columns:minmax(0,1fr)}.fulfillment-catalogue{padding:13px 16px}}

/* Source: modules/communications.css */
/* Семейный архив: Живая память — private meetings and service CRM. */
.communications-view{display:grid;gap:22px;min-width:0;max-width:100%;padding-bottom:26px}.communications-view h1{font-size:29px;line-height:1.3}.communications-view h2{font-size:20px;margin:0 0 15px;line-height:1.4}.communications-view h3{font-size:15px;line-height:1.5;margin-bottom:9px}.communications-view .page-title{margin:0}.communications-view .card{border-radius:14px}.communications-view .card-body{padding:23px}.comm-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.comm-stack{display:grid;gap:18px;min-width:0}.comm-heading{display:flex;gap:18px;justify-content:space-between;align-items:start}.comm-heading p{margin-top:9px;max-width:660px}.comm-prose{font-size:13px;line-height:1.95;text-align:justify;hyphens:auto;overflow-wrap:anywhere;color:#596a5d}.comm-note{background:#edf4e9;border:1px solid #d5e3ce;border-radius:10px;padding:15px 17px;font-size:12px;line-height:1.9;text-align:justify;hyphens:auto;color:#4f6848}.comm-note.warning{background:#faf3e7;border-color:#e6dac3;color:#776447}.comm-note+.comm-note{margin-top:12px}.comm-note .icon{width:17px;height:17px;margin-right:5px}.comm-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:16px}.comm-actions .btn{min-height:44px;max-width:100%;font-size:12px;white-space:normal;line-height:1.5}.comm-badge{display:inline-flex;gap:6px;align-items:center;border:1px solid #d4dfcf;background:#edf4e9;color:#466842;border-radius:19px;padding:6px 10px;font-size:11px;line-height:1.6;max-width:100%;overflow-wrap:anywhere}.comm-badge.warning{background:#fbf2e1;border-color:#e5d6b7;color:#82632e}.comm-badge.gray{background:#f0f2ec;border-color:#dce2d6;color:#697566}.comm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.communications-view .form-field,.comm-modal .form-field{display:grid;gap:7px;min-width:0;margin:0 0 17px}.communications-view .form-field>span,.comm-modal .form-field>span{font-size:12px;font-weight:600;line-height:1.7}.communications-view .form-field small,.comm-modal .form-field small{font-size:11px;color:var(--muted);line-height:1.8}.communications-view :where(input:not([type=checkbox]),select,textarea),.comm-modal :where(input:not([type=checkbox]),select,textarea){display:block;min-width:0;width:100%;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #d2dccd;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.6;text-align:start}.communications-view textarea,.comm-modal textarea{min-height:100px;resize:vertical}.comm-check{display:flex;align-items:start;gap:10px;margin:8px 0;min-height:40px;font-size:12px;line-height:1.85}.comm-check input{width:18px;height:18px;margin-top:3px;flex:none;accent-color:var(--green)}.comm-check>span{min-width:0;display:grid;gap:4px}.comm-check small{font-size:11px;line-height:1.8;color:var(--muted)}.comm-checkboxes{border:1px solid #dde5d5;border-radius:10px;padding:13px 16px;margin:15px 0 18px}.comm-checkboxes legend{font-size:12px;font-weight:600;color:#5a7050;padding:0 6px;line-height:1.8}.comm-error{border:1px solid #e4cdbf;background:#fff4ee;border-radius:9px;color:#914f37;padding:13px 15px;font-size:12px;line-height:1.8;overflow-wrap:anywhere;margin:13px 0}.comm-error[hidden]{display:none}.comm-status{font-size:11px;color:#59704e;line-height:1.9;overflow-wrap:anywhere}.comm-empty{background:#fafcf6;border:1px dashed #d0ddc4;border-radius:12px;padding:27px 22px;text-align:center}.comm-empty p{font-size:12px;line-height:1.9;color:var(--muted);margin-top:10px}.comm-empty .icon{width:28px;height:28px;color:#718963;margin-bottom:12px}.comm-list{display:grid;gap:12px;margin-top:18px}.comm-list-row{display:flex;justify-content:space-between;align-items:start;gap:18px;border:1px solid #d9e2d0;border-radius:11px;padding:16px 18px;background:#fcfdf8;color:var(--ink);text-decoration:none}.comm-list-row:hover{background:#f1f6eb;text-decoration:none}.comm-list-row>div{min-width:0}.comm-list-row strong{font-size:13px;line-height:1.8;display:block;overflow-wrap:anywhere}.comm-list-row small{font-size:11px;line-height:1.9;color:var(--muted);display:block;margin-top:4px}.comm-details{display:grid;gap:13px;margin:17px 0}.comm-details div{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1fr);gap:12px;padding-bottom:10px;border-bottom:1px solid #e5eade}.comm-details dt{font-size:11px;color:var(--muted);line-height:1.8}.comm-details dd{margin:0;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.comm-participant{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e3e9dc;padding:13px 0}.comm-participant>div{min-width:0;flex:1}.comm-participant strong{display:block;font-size:12px;line-height:1.7}.comm-participant small{display:block;font-size:10px;color:var(--muted);line-height:1.8}.comm-participant>.comm-badge{font-size:10px}.comm-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0 21px}.comm-meta>div{background:#f9fbf5;border:1px solid #dfe7d6;border-radius:10px;padding:13px;min-width:0}.comm-meta small{display:block;font-size:10px;color:var(--muted);line-height:1.8}.comm-meta strong{display:block;font-size:12px;line-height:1.8;margin-top:4px;overflow-wrap:anywhere}.comm-steps{margin:16px 0 0;padding-left:19px;font-size:12px;line-height:1.95;color:#65705d}.comm-steps li{margin-bottom:10px}.comm-divider{border-top:1px solid var(--line);margin:20px 0}.comm-link-url{overflow-wrap:anywhere;font-size:11px;line-height:1.85;background:#f5f8ef;border:1px solid #dce5d3;border-radius:9px;padding:13px}.comm-raw{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:11px/1.85 Onest,system-ui,sans-serif;background:#f6f8f2;padding:16px;border:1px solid #e0e6d9;border-radius:10px;margin-top:15px;max-height:400px;overflow:auto}.comm-event{border-left:2px solid #d8e3cf;padding:4px 0 4px 14px;margin:13px 0}.comm-event p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;text-align:justify;hyphens:auto}.comm-event small{font-size:10px;color:var(--muted)}.communications-view :focus-visible,.comm-modal :focus-visible{outline:3px solid #b17c31;outline-offset:3px}.comm-modal .comm-actions{margin-top:18px}.comm-summary textarea{min-height:125px}.comm-top-gap{margin-top:18px}.communications-view button:disabled{opacity:1;background:#e9ede5;color:#75816e;border-color:#d6dfd0;cursor:not-allowed}.communications-view .btn.primary:disabled{background:#e5ebdf;color:#718268}.comm-access{font-size:11px;line-height:1.9;color:#67765c;border-top:1px solid var(--line);padding-top:15px;margin-top:19px}.comm-field-map{display:grid;gap:9px;margin-top:15px}.comm-field-map>div{display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:9px;font-size:11px;padding:12px;background:#f8faf3;border:1px solid #dee6d5;border-radius:8px;overflow-wrap:anywhere}.comm-field-map>div .icon{width:16px}
@media(max-width:1050px){.comm-layout{grid-template-columns:minmax(0,1fr)}.comm-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.comm-side>.card{margin:0}}@media(max-width:600px){.communications-view{gap:18px}.communications-view h1{font-size:25px}.communications-view .card-body{padding:18px}.comm-heading{display:block}.comm-heading>.comm-badge{margin-top:12px}.comm-fields{grid-template-columns:minmax(0,1fr);gap:0}.comm-side{grid-template-columns:minmax(0,1fr);gap:15px}.comm-prose{font-size:12px;line-height:1.95}.comm-note{padding:14px;font-size:11px;line-height:1.9}.comm-check{font-size:11px}.comm-check small{font-size:10px}.comm-meta{gap:10px}.comm-meta>div{padding:12px}.comm-meta strong{font-size:11px}.comm-participant{gap:9px}.comm-participant>.comm-badge{font-size:9px;padding:4px 7px;max-width:105px}.comm-list-row{display:block;padding:14px}.comm-list-row>.comm-badge{margin-top:12px}.comm-actions{gap:8px}.comm-actions .btn{font-size:11px;min-height:44px}.comm-details div{grid-template-columns:minmax(82px,.7fr) minmax(0,1fr);gap:10px}.comm-details dd{font-size:11px}.comm-details dt{font-size:10px}.comm-field-map>div{font-size:10px;gap:6px;padding:10px}.comm-checkboxes{padding:10px 12px}.comm-raw{font-size:10px;line-height:1.8;padding:12px}.comm-access{font-size:10px}.comm-summary textarea{min-height:150px}}

/* Source: modules/personal-fields.css */
.personal-fields-host{max-width:100%;min-width:0;margin-top:20px}.personal-fields-host .card-head{align-items:flex-start;gap:16px;flex-wrap:wrap}.personal-fields-host .card-head p{margin:6px 0 0}.personal-fields-note{padding:18px 20px;background:#eef4ec;border:1px solid #d9e4d5;border-radius:14px;margin-bottom:24px}.personal-fields-note p{margin:8px 0 0}.personal-fields-grid{display:grid;gap:0}.personal-field{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr);gap:26px;padding:22px 0;border-bottom:1px solid var(--line,#dce4dd);min-width:0}.personal-field-value,.personal-field-access{display:grid;gap:9px;align-content:start;min-width:0}.personal-field label{font-weight:650;font-size:14px}.personal-field input:not([type=checkbox]),.personal-field select,.personal-field textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #d3dfd5;border-radius:9px;padding:11px 12px;background:#fff;color:#203c31;font:inherit}.personal-field small{font-size:12px;color:#62756b;line-height:1.6}.personal-field [hidden]{display:none}.personal-people-list{display:grid;gap:8px;max-height:230px;overflow:auto;padding:8px 0}.personal-people-list label{display:flex;gap:10px;align-items:flex-start;font-size:13px;min-width:0}.personal-people-list span{overflow-wrap:anywhere}.personal-people-list input{flex-shrink:0;margin-top:4px}.personal-connections{padding:18px;background:#f7f8f4;border:1px solid #dce4dd;border-radius:12px;margin-top:24px}.personal-connections summary{cursor:pointer;font-weight:650}.personal-field-family-note{margin:20px 0}.personal-form-error{color:#a03530;background:#fff0ed;padding:12px 14px;border-radius:8px}.personal-form-error[hidden]{display:none}.personal-fields-host .toolbar{display:flex;flex-wrap:wrap;gap:10px}.personal-fields-host input:focus-visible,.personal-fields-host textarea:focus-visible,.personal-fields-host select:focus-visible{outline:3px solid #e4a35f;outline-offset:2px}@media(max-width:650px){.personal-field{grid-template-columns:minmax(0,1fr);gap:16px;padding:22px 0}.personal-field-access{padding:14px;background:#f4f6f1;border-radius:10px}.personal-fields-host .card-body{padding:16px}.personal-fields-note{padding:14px}.personal-fields-host .toolbar .btn{width:100%;justify-content:center}.personal-fields-host .card-head .btn{max-width:100%;white-space:normal}.personal-field-family-note,.personal-fields-note p{text-align:left}}

/* Source: modules/ai-services.css */
/* Семейный архив: Живая память — service orders and explicit x0 permissions. */
.ai-service-page{display:grid;gap:22px;max-width:1080px;margin:auto;min-width:0}.ai-service-page *{min-width:0}.ai-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.ai-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.ai-heading h1{margin-bottom:10px}.ai-heading p{max-width:650px;color:var(--muted);font-size:14px;line-height:1.65}.ai-tabs{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:15px;border-bottom:1px solid var(--line)}.ai-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid transparent;border-radius:10px;font-size:13px;color:var(--muted)}.ai-tabs a.active{background:var(--green-soft);border-color:#d7e3d8;color:var(--green);font-weight:600}.ai-banner{display:flex;gap:14px;align-items:flex-start;padding:19px 20px;border:1px solid #d6e3da;border-radius:14px;background:#edf4ef}.ai-banner>.icon{color:var(--green);margin-top:2px}.ai-banner p{font-size:13px;line-height:1.65;margin-top:5px;color:#506958}.ai-banner.warning{background:#faf5e9;border-color:#e8dcc6}.ai-banner.warning p{color:#79644b}.ai-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ai-section-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin-top:7px}.ai-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ai-service-card{display:grid;grid-template-columns:47px minmax(0,1fr);gap:14px;padding:23px;background:#fff;border:1px solid var(--line);border-radius:16px}.ai-service-symbol{width:47px;height:47px;display:flex;justify-content:center;align-items:center;background:var(--cream);border:1px solid #e5e6dc;border-radius:13px;color:var(--green)}.ai-service-card h3{font-size:18px}.ai-service-card p{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.65}.ai-service-card-footer{grid-column:1/-1;padding-top:5px;display:grid;gap:12px}.ai-service-price{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.ai-service-price strong{font-size:13px;color:var(--ink)}.ai-service-card .btn{justify-self:start}.ai-service-future{background:#f7f7f2}.ai-service-future .ai-service-symbol{background:#f0f1e9}.ai-muted-chip{font-size:11px;padding:4px 8px;background:#f0f1eb;border:1px solid var(--line);border-radius:7px;color:var(--muted)}.ai-trial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ai-trial-item{display:grid;gap:5px;padding:14px;border:1px solid var(--line);background:var(--cream);border-radius:10px}.ai-trial-item span{font-size:12px;line-height:1.5;color:var(--muted)}.ai-trial-item strong{font-size:15px;line-height:1.4}.ai-trial-item progress{width:100%;height:5px;accent-color:var(--green)}.ai-small{font-size:12px;line-height:1.65;color:var(--muted)}.ai-grid-two{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.ai-help-card{padding:21px;display:grid;gap:14px;background:var(--cream);border:1px solid var(--line);border-radius:15px}.ai-help-card h3{font-size:16px}.ai-help-card p,.ai-help-card li{font-size:13px;color:var(--muted);line-height:1.65}.ai-help-card ul,.ai-help-card ol{margin:0;padding-left:19px;display:grid;gap:8px}.ai-steps{display:flex;list-style:none;gap:15px;margin:0;padding:0}.ai-step{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.ai-step-number{display:flex;justify-content:center;align-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #ccd8ce;color:var(--green);background:#fff;font-size:12px;flex:none}.ai-step.current .ai-step-number,.ai-step.complete .ai-step-number{background:var(--green);color:#fff;border-color:var(--green)}.ai-step.current{font-weight:600;color:var(--green)}.ai-draft-form{display:grid;gap:17px}.ai-draft-form .form-field{margin:0}.ai-upload-label{display:grid;gap:13px;align-items:center;padding:24px;border:1px dashed #b9cbbb;border-radius:13px;background:#fafcf8;cursor:pointer}.ai-upload-label .icon{width:30px;height:30px;color:var(--green)}.ai-upload-label input{width:100%;font-size:12px}.ai-upload-label input::file-selector-button{border:1px solid var(--line);padding:8px 12px;background:#fff;color:var(--green);border-radius:8px;margin-right:8px;cursor:pointer;font:inherit}.ai-local-preview{display:grid;gap:8px}.ai-local-preview[hidden]{display:none}.ai-local-preview img{display:block;max-width:100%;height:220px;object-fit:contain;background:var(--cream);border-radius:12px;border:1px solid var(--line)}.ai-local-preview p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.ai-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.65}.ai-check input{width:19px;height:19px;flex:none;margin-top:2px;accent-color:var(--green)}.ai-consent-box{display:grid;gap:16px;background:#f8fbf8;border:1px solid #d5e1d7;padding:19px;border-radius:12px}.ai-consent-box ul{margin:0;padding-left:20px;display:grid;gap:6px;font-size:12px;color:var(--muted);line-height:1.65}.ai-action-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.ai-error{font-size:13px;color:var(--danger);line-height:1.6}.ai-error[hidden],.ai-live-status[hidden]{display:none}.ai-inline-success{font-size:13px;color:var(--green);line-height:1.6}.ai-inputs{display:grid;gap:12px}.ai-input{display:grid;gap:10px;border:1px solid var(--line);border-radius:12px;padding:14px;overflow-wrap:anywhere}.ai-input-photo{width:100%;height:230px;object-fit:contain;background:var(--cream);border-radius:8px}.ai-input h3{font-size:14px}.ai-input p{font-size:12px;color:var(--muted)}.ai-job-title-row{display:flex;justify-content:space-between;gap:14px;align-items:center}.ai-job-text{white-space:pre-wrap;font-size:14px;line-height:1.8;overflow-wrap:anywhere;max-height:330px;overflow:auto;background:var(--cream);padding:18px;border:1px solid var(--line);border-radius:11px}.ai-status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #d9e5db;background:var(--green-soft);color:var(--green);border-radius:8px;font-size:12px}.ai-status.cancelled{background:#f1f1ee;color:var(--muted);border-color:var(--line)}.ai-job-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line)}.ai-job-row:last-child{border-bottom:0}.ai-job-row-title{display:grid;gap:5px}.ai-job-row-title strong{font-size:14px;overflow-wrap:anywhere}.ai-job-row-title small{font-size:12px;color:var(--muted)}.ai-preference{display:grid;gap:16px}.ai-selection{display:grid;gap:10px;border:1px solid var(--line);padding:15px;border-radius:12px}.ai-selection summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--green)}.ai-selection-list{display:grid;gap:12px;max-height:230px;overflow:auto;padding-top:14px}.ai-selection .ai-check{border-bottom:1px solid var(--line);padding-bottom:10px}.ai-selection .ai-check:last-child{border:0;padding-bottom:0}.ai-selection small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.ai-inline-card{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}.ai-inline-card>div{flex:1}.ai-inline-card p{font-size:13px;color:var(--muted);line-height:1.65;margin:9px 0 15px}.ai-service-page .card-body{display:grid;gap:16px}.ai-details{display:grid;gap:12px}.ai-details>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;font-size:12px;line-height:1.6}.ai-details dt{color:var(--muted)}.ai-details dd{margin:0;overflow-wrap:anywhere}.ai-service-page .ai-heading .eyebrow{font-size:10px;margin-bottom:9px;color:var(--green)}.ai-permission-state{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.65;color:var(--green)}.ai-upcoming{list-style:none;display:grid;gap:12px;padding:0;margin:0}.ai-upcoming li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted)}.ai-upcoming .icon{width:18px;height:18px;color:var(--green)}
@media(max-width:1120px){.ai-grid-two{grid-template-columns:minmax(0,1fr) 250px}.ai-service-card{padding:18px;grid-template-columns:40px minmax(0,1fr);gap:12px}.ai-service-symbol{width:40px;height:40px}.ai-trial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ai-grid-two{grid-template-columns:1fr}.ai-service-grid{grid-template-columns:1fr}.ai-help-card{grid-template-columns:1fr}.ai-heading{flex-wrap:wrap}.ai-steps{gap:10px;flex-wrap:wrap}}
@media(max-width:660px){.ai-service-page{gap:18px}.ai-heading h1{font-size:25px}.ai-heading p{font-size:13px}.ai-banner{padding:16px;gap:10px}.ai-service-card{padding:18px}.ai-section-heading{flex-wrap:wrap;gap:10px}.ai-trial-grid{grid-template-columns:1fr 1fr}.ai-trial-item{padding:12px}.ai-trial-item strong{font-size:14px}.ai-tabs{gap:2px}.ai-tabs a{font-size:12px;padding:9px 10px}.ai-upload-label{padding:17px}.ai-input-photo,.ai-local-preview img{height:190px}.ai-consent-box{padding:15px}.ai-help-card{padding:17px}.ai-job-row{align-items:flex-start;flex-wrap:wrap}.ai-action-row .btn{flex:1;min-height:44px}.ai-step{font-size:11px;gap:5px}.ai-step-number{width:24px;height:24px}.ai-details>div{grid-template-columns:1fr;gap:2px}.ai-inline-card{padding:17px}.ai-job-title-row{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:350px){.ai-trial-grid{grid-template-columns:1fr}.ai-steps{gap:8px}.ai-service-card h3{font-size:16px}.ai-tabs a{font-size:11px}}

.ai-specialist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ai-specialist-card{display:grid;gap:12px;border:1px solid var(--line);border-radius:12px;padding:18px;background:var(--cream)}.ai-specialist-card h3{font-size:15px}.ai-specialist-card p{font-size:12px;color:var(--muted);line-height:1.65}.ai-specialist-card strong{white-space:nowrap;color:var(--green);font-size:14px}.ai-specialist-card .btn{justify-self:start}.ai-specialist-card>a.ai-small{text-decoration:underline;font-size:11px}@media(max-width:900px){.ai-specialist-grid{grid-template-columns:1fr}}

/* Семейный архив: Живая память — concise entry to the service catalogue. */
@media(max-width:660px){
 #main[data-route="services"] .ai-service-page{gap:8px}
 #main[data-route="services"] .ai-heading h1{margin-bottom:4px}
 #main[data-route="services"] .ai-heading p{font-size:13px;line-height:1.5}
 #main[data-route="services"] .ai-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:4px;padding-bottom:10px;scrollbar-width:thin}
 #main[data-route="services"] .ai-tabs a{flex:none;white-space:nowrap;padding:8px 10px}
 #main[data-route="services"] .ai-banner{padding:12px 14px;gap:9px}
 #main[data-route="services"] .ai-banner p{font-size:12px;line-height:1.5;margin-top:3px}
 #main[data-route="services"] .ai-section-heading{margin-bottom:8px}
 #main[data-route="services"] .ai-section-heading p{margin-top:4px;line-height:1.5}
 #main[data-route="services"] .ai-service-card{padding:15px;gap:10px}
 #main[data-route="services"] .ai-service-card p{font-size:12px;line-height:1.5;margin-top:6px}
 #main[data-route="services"] .ai-service-card-footer{gap:8px;padding-top:0}
 #main[data-route="services"] .ai-service-card .ai-action-row{gap:6px}
}

/* Source: modules/extensions.css */
.extension-explanation{display:flex;gap:16px;background:#edf2ec;border:1px solid #d7e1d4;border-radius:14px;padding:20px;margin:0 0 24px}.extension-explanation>span{color:#476348;flex:0 0 auto}.extension-explanation p{margin:8px 0 0;color:#526050;line-height:1.65;max-width:78ch}.extension-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px}.extension-card .card-body{display:flex;flex-direction:column;height:100%;gap:14px}.extension-card h2{margin:0;font-size:22px}.extension-card p{margin:0}.extension-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.extension-permissions,.extension-actions{display:flex;flex-wrap:wrap;gap:8px}.extension-actions{margin-top:auto}.extension-developer,.extension-capability{color:#677263;font-size:13px}.extension-validity{font-size:14px;color:#465f43}.extension-faq{background:#faf8f1;border:1px solid #e7e3d7;padding:24px;border-radius:14px;margin-bottom:24px}.extension-faq p,.extension-faq li{line-height:1.75;color:#596051}.extension-faq h2{font-size:21px;margin-top:0}.extension-faq ol{padding-left:22px}.extension-option{display:flex;align-items:flex-start;gap:11px;padding:12px 0;cursor:pointer}.extension-option input{margin:4px 0 0;flex:0 0 auto;width:18px;height:18px;accent-color:#476348}.extension-option span{display:flex;flex-direction:column;gap:5px;min-width:0}.extension-option small{line-height:1.6;color:#65705e}.extension-materials{max-height:240px;overflow:auto;padding-right:8px}.extension-materials .extension-option{border-bottom:1px solid #ecece3}.extension-consent{background:#f3f6ef;padding:16px;border-radius:10px}.extension-developer-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);align-items:start;gap:24px;margin-bottom:24px}.extension-form-pair{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}.extension-admin-bar{padding:16px;border:1px solid #e4e4d8;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.extension-admin-bar p{margin:0;line-height:1.6}.extension-grant{padding:16px 0;border-bottom:1px solid #e8e8df;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.extension-grant:last-child{border-bottom:none}.extension-grant p{margin:7px 0;color:#626b5c;line-height:1.6}.extension-grant .chip{flex-shrink:0}.extension-option strong,.extension-grant strong,.extension-card h2{overflow-wrap:anywhere}.extension-card .chip{white-space:normal}.extension-capability{line-height:1.5}.extension-developer-layout input,.extension-developer-layout textarea{max-width:100%}@media(max-width:900px){.extension-developer-layout{grid-template-columns:1fr}.extension-grid{gap:14px}}@media(max-width:600px){.extension-grid,.extension-form-pair{grid-template-columns:1fr}.extension-admin-bar{align-items:stretch;flex-direction:column}.extension-admin-bar .btn{white-space:normal}.extension-explanation{padding:16px;gap:10px}.extension-faq{padding:18px}.extension-grant{flex-direction:column;gap:8px}.extension-card .card-body{padding:18px}.extension-actions .btn{flex:1 1 auto}.extension-card-top{align-items:flex-start}.extension-explanation p{font-size:14px}}

/* Source: modules/workspaces.css */
/* Семейный архив: Живая память — рабочие кабинеты, v0.15. */
.workspace-view { color:var(--ink); min-width:0; }
.ws-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:12px; margin-bottom:18px; }
.ws-breadcrumb a { min-height:24px; }
.ws-heading { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:18px; margin-bottom:22px; }
.ws-heading > div:first-child { flex:1 1 360px; min-width:0; }
.ws-heading h1 { font-size:clamp(25px,2.5vw,34px); letter-spacing:-.025em; line-height:1.25; }
.ws-heading p:not(.eyebrow) { color:var(--muted); max-width:680px; margin-top:10px; font-size:14px; line-height:1.7; text-align:start!important; }
.ws-heading-actions,.ws-actions { display:flex; flex-wrap:wrap; gap:9px; align-items:center; }
.ws-tabs { display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:24px; }
.ws-tabs a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 14px; border-radius:9px; color:var(--muted); font-size:13px; }
.ws-tabs a:hover { background:var(--green-soft); color:var(--green); text-decoration:none; }
.ws-tabs a.active { background:var(--green-soft); color:var(--green-dark); font-weight:600; }
.ws-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:24px; }
.ws-stat { border:1px solid var(--line); background:#fff; border-radius:13px; padding:18px; min-width:0; display:flex; flex-direction:column; gap:9px; }
.ws-stat > span:first-child { color:var(--muted); font-size:12px; }
.ws-stat strong { font-size:30px; line-height:1.1; font-weight:600; letter-spacing:-.03em; }
.ws-stat .ws-stat-caption { color:var(--muted); font-size:11px; line-height:1.5; }
.ws-stat.attention { border-color:#e8d5bf; background:#fffaf3; }
.ws-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.38fr); align-items:start; gap:20px; }
.ws-layout > *,.ws-project-grid > *,.ws-stat > * { min-width:0; }
.ws-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:18px; flex-wrap:wrap; }
.ws-section-head h2 { font-size:20px; }
.ws-section-head .text-link { min-height:44px; display:inline-flex; align-items:center; gap:5px; font-size:12px; }
.ws-stack { display:grid; gap:18px; }
.ws-task-list { display:grid; gap:0; }
.ws-task-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; border-bottom:1px solid var(--line); padding:18px 0; }
.ws-task-row:first-child { padding-top:0; }
.ws-task-row:last-child { border-bottom:0; padding-bottom:0; }
.ws-task-row h3 { font-size:15px; line-height:1.5; margin:7px 0; }
.ws-task-row h3 a { color:var(--ink); }
.ws-task-meta { display:flex; gap:7px 12px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.ws-task-meta span { display:inline-flex; align-items:center; gap:5px; }
.ws-task-meta .icon { width:14px; height:14px; flex-shrink:0; }
.ws-task-side { text-align:end; display:flex; align-items:flex-end; flex-direction:column; justify-content:center; gap:8px; font-size:12px; min-width:0; }
.ws-task-side .text-link { min-height:44px; display:inline-flex; align-items:center; gap:5px; }
.ws-status,.ws-priority { display:inline-flex; align-items:center; gap:6px; border:1px solid #dce5dc; background:#f3f7f1; color:#4d6551; border-radius:30px; padding:5px 9px; font-size:11px; line-height:1.35; max-width:100%; }
.ws-status .icon { width:12px; height:12px; }
.ws-status.state-submitted { color:#526a84; background:#f0f4f9; border-color:#dce4ee; }
.ws-status.state-blocked,.ws-status.state-changes_requested { color:#8b5b26; background:#fff7eb; border-color:#eedcc5; }
.ws-status.state-accepted,.ws-status.state-closed { color:var(--green); background:var(--green-soft); }
.ws-status.state-cancelled { color:#777; background:#f5f5f3; border-color:#e0e0dc; }
.ws-priority { color:#8b5b26; background:#fff7eb; border-color:#eedcc5; }
.ws-overdue { color:#9b482f; font-weight:600; }
.ws-help { color:var(--muted); font-size:12px; line-height:1.65; text-align:start!important; }
.ws-help + .ws-actions { margin-top:16px; }
.ws-note { display:flex; align-items:flex-start; gap:11px; padding:15px 16px; background:var(--green-soft); border:1px solid #dfe9dc; border-radius:11px; margin-block:16px; font-size:12px; line-height:1.65; }
.ws-note > .icon { width:18px; height:18px; flex-shrink:0; color:var(--green); margin-top:2px; }
.ws-note p { text-align:start!important; }
.ws-note.warning { background:#fff8ef; border-color:#edddc9; }
.ws-error { color:#8d402d; background:#fff5ef; border:1px solid #ecd5ca; border-radius:9px; padding:12px; font-size:13px; line-height:1.55; text-align:start!important; margin:12px 0; }
.ws-error a { text-decoration:underline; }
.ws-feedback { margin-block:12px; font-size:12px; color:var(--muted); text-align:start!important; }
.ws-steps { list-style:none; padding:0; margin:0; display:grid; gap:17px; counter-reset:work-step; }
.ws-steps li { counter-increment:work-step; display:grid; grid-template-columns:26px minmax(0,1fr); column-gap:11px; }
.ws-steps li:before { content:counter(work-step); width:26px; height:26px; border-radius:50%; background:var(--green-soft); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:12px; grid-row:span 2; }
.ws-steps strong { display:block; font-size:13px; line-height:1.45; }
.ws-steps small { display:block; font-size:11px; line-height:1.6; color:var(--muted); margin-top:4px; }
.ws-filter-form { display:grid; grid-template-columns:minmax(200px,1.6fr) repeat(3,minmax(125px,1fr)); gap:12px; }
.workspace-view .form-field { margin-bottom:14px; min-width:0; }
.workspace-view .form-field > span { font-size:12px; font-weight:600; }
.workspace-view .form-field input,.workspace-view .form-field select,.workspace-view .form-field textarea,.ws-modal .form-field input,.ws-modal .form-field select,.ws-modal .form-field textarea { min-height:44px; max-width:100%; font:inherit; font-size:14px; text-align:start; }
.workspace-view textarea,.ws-modal textarea { text-align:start!important; }
.ws-filter-form .form-field { margin:0; }
.ws-filter-form .ws-actions { grid-column:1/-1; }
.ws-filter-form + .ws-section-head { margin-top:24px; }
.ws-empty { text-align:center; padding:36px 20px; border:1px dashed #d8e1d3; border-radius:12px; background:#fafbf8; }
.ws-empty > .icon { width:30px; height:30px; color:#859e84; }
.ws-empty h2,.ws-empty h3 { margin:11px 0 8px; font-size:19px; }
.ws-empty p { text-align:center!important; font-size:13px; line-height:1.7; color:var(--muted); max-width:470px; margin:0 auto; }
.ws-empty .ws-actions { justify-content:center; margin-top:18px; }
.ws-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.ws-project-card { height:100%; display:flex; flex-direction:column; }
.ws-project-card .card-body { display:flex; flex-direction:column; flex:1; }
.ws-project-card h2 { font-size:20px; margin:7px 0 10px; }
.ws-project-card p { font-size:13px; line-height:1.75; color:var(--muted); text-align:start!important; }
.ws-project-card .ws-project-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:15px; margin-top:auto; }
.ws-project-card .ws-help { padding:16px 0; }
.ws-facts { display:grid; gap:15px; padding:0; margin:0; }
.ws-facts div { display:grid; gap:4px; }
.ws-facts dt { font-size:11px; color:var(--muted); }
.ws-facts dd { margin:0; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.ws-facts dd .text-link { display:inline-flex; min-height:44px; align-items:center; }
.ws-brief { container-type:inline-size; }
.ws-narrative { white-space:pre-wrap; font-size:14px; line-height:1.8; margin-top:10px; text-align:start!important; hyphens:auto; overflow-wrap:anywhere; }
.ws-brief h2:not(:first-child) { margin-top:25px; }
.ws-checklist { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:10px; }
.ws-checklist li { display:flex; gap:9px; align-items:flex-start; font-size:13px; line-height:1.6; }
.ws-checklist .icon { width:16px; height:16px; color:#849881; flex-shrink:0; margin-top:3px; }
.ws-stage-line { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; align-items:center; }
.ws-task-top-actions { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 20px; }
.ws-task-top-actions .ws-actions:empty { display:none; }
.ws-primary-action { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.ws-check { display:flex; align-items:flex-start; gap:10px; min-height:44px; padding:12px 0; font-size:13px; line-height:1.6; }
.ws-check input { width:18px; height:18px; flex-shrink:0; margin-top:2px; accent-color:var(--green); }
.ws-check small { display:block; color:var(--muted); font-size:11px; line-height:1.6; }
.ws-files { display:grid; gap:12px; margin-top:16px; }
.ws-file { display:flex; gap:12px; border:1px solid var(--line); border-radius:10px; padding:14px; align-items:flex-start; min-width:0; }
.ws-file > .icon { width:24px; height:24px; color:var(--green); flex-shrink:0; margin-top:3px; }
.ws-file-body { min-width:0; flex:1; }
.ws-file h3 { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.ws-file p { text-align:start!important; }
.ws-file small { display:block; margin-top:4px; font-size:11px; color:var(--muted); line-height:1.6; }
.ws-file .ws-actions { margin-top:9px; }
.ws-file .text-link { min-height:44px; display:inline-flex; align-items:center; gap:7px; font-size:12px; }
.ws-file-warning { color:#8b5b26; font-size:12px; line-height:1.65; margin-top:8px; }
.ws-dropzone { border:1px dashed #b6c8b2; background:#fafcf8; padding:22px; text-align:center; border-radius:11px; margin-top:14px; }
.ws-dropzone > .icon { width:27px; height:27px; color:var(--green); margin-bottom:8px; }
.ws-dropzone p { text-align:center!important; font-size:13px; margin-bottom:12px; }
.ws-file-button { position:relative; overflow:hidden; cursor:pointer; }
.ws-file-button input { position:absolute; width:1px; height:1px; opacity:0; bottom:0; left:0; }
.ws-file-button:focus-within { outline:3px solid var(--focus-ring); outline-offset:3px; }
.ws-selected-files { margin-top:12px; }
.ws-selected-files ul { padding-left:19px; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.ws-report { padding-top:22px; border-top:1px solid var(--line); margin-top:22px; }
.ws-report .form-field { margin-top:14px; }
.ws-submission-meta { margin:8px 0 13px; font-size:11px; color:var(--muted); line-height:1.6; }
.ws-comment { border-bottom:1px solid var(--line); padding:16px 0; }
.ws-comment:first-child { padding-top:0; }
.ws-comment:last-child { border-bottom:0; }
.ws-comment-meta { display:flex; gap:8px; flex-wrap:wrap; font-size:12px; justify-content:space-between; }
.ws-comment-meta time { color:var(--muted); font-size:11px; }
.ws-comment p { font-size:13px; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; text-align:start!important; margin-top:7px; }
.ws-history { padding:0; margin:0; list-style:none; }
.ws-history li { display:grid; grid-template-columns:8px minmax(0,1fr); gap:13px; padding-bottom:17px; position:relative; }
.ws-history li::before { content:''; width:7px; height:7px; background:#92a58b; border-radius:50%; margin-top:6px; }
.ws-history li::after { content:''; position:absolute; width:1px; background:var(--line); left:3px; top:15px; bottom:3px; }
.ws-history li:last-child:after { display:none; }
.ws-history strong { font-size:12px; font-weight:500; }
.ws-history small { display:block; color:var(--muted); font-size:11px; line-height:1.65; margin-top:4px; }
.ws-member { display:grid; grid-template-columns:37px minmax(0,1fr); align-items:start; gap:9px 11px; padding:16px 0; border-bottom:1px solid var(--line); }
.ws-member:last-child { border-bottom:0; }
.ws-member .avatar { width:37px; height:37px; font-size:14px; flex-shrink:0; }
.ws-member-body { min-width:0; flex:1; }
.ws-member h3 { font-size:14px; line-height:1.45; }
.ws-member p { font-size:12px; color:var(--muted); line-height:1.6; margin-top:4px; text-align:start!important; }
.ws-member .btn { grid-column:2; justify-self:start; margin-left:0; font-size:11px; padding:8px 10px; }
.ws-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 15px; }
.ws-form-grid .ws-full { grid-column:1/-1; }
.ws-modal p { text-align:start!important; }
.ws-material-choice { display:flex; gap:11px; align-items:flex-start; border-bottom:1px solid var(--line); min-height:44px; padding:13px 0; font-size:13px; line-height:1.55; }
.ws-material-choice input { width:18px; height:18px; margin-top:3px; flex-shrink:0; accent-color:var(--green); }
.ws-material-choice span { min-width:0; overflow-wrap:anywhere; }
.ws-material-choice small { display:block; font-size:11px; color:var(--muted); margin-top:3px; }
.ws-choice-list { max-height:340px; overflow-y:auto; overscroll-behavior:contain; padding-right:6px; }
.ws-loading { min-height:180px; display:grid; place-items:center; color:var(--muted); }
.ws-payment-list { display:grid; }
.ws-payment-item { padding:20px 0; border-bottom:1px solid var(--line); }
.ws-payment-item:first-child { padding-top:0; }
.ws-payment-item:last-child { border-bottom:0; padding-bottom:0; }
.ws-payment-item h3 { font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
.ws-payment-item > .ws-actions { margin-top:15px; }
.ws-payment-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.ws-payment-details > div { display:grid; gap:6px; min-width:0; }
.ws-payment-details span { font-size:11px; color:var(--muted); }
.ws-payment-details strong { font-size:14px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.ws-finance-history { list-style:none; margin:17px 0 0; padding:0; }
.ws-finance-history li { display:flex; justify-content:space-between; gap:15px; padding:15px 0; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.ws-finance-history li:last-child { border-bottom:0; padding-bottom:0; }
.ws-finance-history strong { font-size:13px; font-weight:500; }
.ws-finance-history small { display:block; color:var(--muted); font-size:11px; line-height:1.6; margin-top:5px; }
.ws-finance-history li > span { font-size:13px; flex-shrink:0; }
.workspace-view :where(a,button,input,select,textarea):focus-visible,.ws-modal :where(a,button,input,select,textarea):focus-visible { outline:3px solid var(--focus-ring); outline-offset:3px; }
@container main (max-width:850px) { .ws-layout { grid-template-columns:minmax(0,1fr); } .ws-layout > aside { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } .ws-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container main (max-width:580px) { .ws-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .ws-project-grid { grid-template-columns:minmax(0,1fr); } .ws-layout > aside { display:grid; grid-template-columns:minmax(0,1fr); } .ws-task-row { grid-template-columns:minmax(0,1fr); gap:9px; } .ws-task-side { text-align:start; flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; } .ws-tabs { gap:4px; } .ws-tabs a { padding:9px 10px; font-size:12px; } }
@container main (min-width:700px) { .ws-brief .ws-narrative { text-align:justify!important; text-align-last:start; } }
@container main (max-width:440px) { .ws-payment-details { grid-template-columns:minmax(0,1fr); } }
@media(max-width:660px) { .ws-heading { gap:13px; margin-bottom:17px; } .ws-heading p:not(.eyebrow) { font-size:13px; } .ws-heading-actions { width:100%; } .ws-heading-actions > .btn { flex:1; } .ws-stats { gap:8px; margin-bottom:18px; } .ws-stat { padding:11px 12px; gap:5px; } .ws-stat strong { font-size:23px; } .ws-stat .ws-stat-caption { display:none; } .ws-stat > span:first-child { font-size:11px; } .ws-tabs { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; margin-bottom:18px; } .ws-tabs a { flex-shrink:0; } .ws-task-top-actions .ws-actions { flex:1 1 auto; } .ws-task-top-actions .btn { flex:1; } .ws-filter-form { grid-template-columns:minmax(0,1fr); } .ws-form-grid { grid-template-columns:minmax(0,1fr); } .ws-form-grid .ws-full { grid-column:auto; } .workspace-view .form-field input,.workspace-view .form-field select,.workspace-view .form-field textarea,.ws-modal .form-field input,.ws-modal .form-field select,.ws-modal .form-field textarea { font-size:16px; } .ws-dropzone { padding:18px 14px; } .ws-member > .btn { margin-left:0; } .ws-heading h1 { font-size:26px; } .ws-brief .ws-narrative { text-align:start!important; } .ws-file { padding:12px; gap:10px; } }
.ws-direction-slots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-block:16px; }
.ws-direction-slot { border:1px solid var(--line,#ddd); border-radius:14px; padding:15px; display:grid; gap:7px; min-width:0; background:var(--surface,#fff); }
.ws-direction-slot>span,.ws-direction-slot>small { color:var(--muted); font-size:12px; }
.ws-direction-slot>strong { font-size:15px; overflow-wrap:anywhere; }
.ws-direction-slot .btn { justify-self:start; margin-top:4px; }
.ws-staff-list { display:grid; }
.ws-staff-row { display:flex; align-items:center; gap:12px; padding:12px 0 12px calc(var(--ws-level,0)*12px); border-top:1px solid var(--line,#eee); min-width:0; }
.ws-staff-row>div:first-child { min-width:0; flex:1; }
.ws-staff-row strong { display:block; font-size:14px; overflow-wrap:anywhere; }
.ws-staff-row small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.ws-staff-actions { display:flex; gap:4px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.ws-staff-actions .btn { min-height:44px; padding:8px; font-size:12px; }
.ws-staff-actions svg { width:18px; height:18px; }
.ws-inline-search { display:flex; align-items:end; gap:8px; }
.ws-inline-search .form-field { flex:1; min-width:0; }
.ws-inline-search>.btn { margin-bottom:14px; }
.ws-project-teams { margin-block:18px; }
.ws-project-teams>summary { cursor:pointer; font-size:14px; font-weight:600; padding-block:10px; }
.ws-project-teams>.ws-project-grid { margin-top:12px; }
.ws-quick-links { display:grid; gap:12px; margin-top:14px; font-size:13px; }
.ws-quick-links a { display:flex; align-items:center; gap:8px; }
@media(max-width:600px) {
  .ws-direction-slots { grid-template-columns:1fr; gap:8px; }
  .ws-direction-slot { grid-template-columns:minmax(65px,.6fr) minmax(0,1fr) auto; align-items:center; padding:12px; gap:8px; }
  .ws-direction-slot>small { grid-column:2/-1; }
  .ws-direction-slot .btn { padding:8px; margin:0; min-height:44px; font-size:12px; }
  .ws-staff-row { flex-wrap:wrap; gap:6px; }
  .ws-staff-row>div:first-child { flex-basis:calc(100% - 8px); }
  .ws-staff-actions { justify-content:flex-start; }
}

/* Source: modules/native-apps.css */
/* Семейный архив: Живая память — connections in the staff workspace. */
.native-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.native-app-view>.card{margin-bottom:20px}
.native-app-title{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.native-app-title h2{font-size:23px;margin-bottom:3px}
.native-app-symbol{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:var(--green-soft);color:var(--green);border-radius:12px}
.native-app-symbol .icon{width:25px;height:25px}
.native-app-copy{font-size:14px;line-height:1.75;margin-bottom:18px;text-align:justify;text-wrap:pretty}
.native-app-status{padding:12px 14px;background:#f6f5f0;border-radius:9px;font-size:13px;line-height:1.6;margin-bottom:18px;text-align:start!important}
.native-app-status.ready{background:var(--green-soft);color:var(--green-dark)}
.native-app-caption{margin-top:16px}
.native-app-list{margin-top:18px}
.native-app-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.native-app-row:first-child{padding-top:0}
.native-app-row:last-child{border:0;padding-bottom:0}
.native-app-row>div:first-child{flex:1 1 220px;min-width:0}
.native-app-row h3{font-size:16px;line-height:1.6}
.native-app-row .ws-help{margin-top:5px}
.native-app-code{font-size:12px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere;text-align:start!important}
.native-app-credentials{display:grid;gap:12px;margin:20px 0}
.native-app-credentials .form-field{margin:0;min-width:0}
.native-app-credentials input{width:100%;min-width:0;font-size:13px;min-height:44px;overflow:hidden;margin:8px 0}
.native-app-credentials .btn{font-size:12px}
.native-app-project-options{padding:0;border:0;min-width:0;margin-bottom:18px}
.native-app-project-options legend{font-weight:600;font-size:14px;margin-bottom:12px}
.native-app-project-options .ws-check{margin:10px 0}
.native-app-file-list{list-style:none;padding:0;margin:20px 0;display:grid;gap:15px}
.native-app-file-list li{display:grid;gap:4px;min-width:0}
.native-app-file-list strong,.native-app-file-list span{overflow-wrap:anywhere;font-size:13px;line-height:1.6}
.native-app-file-list span{font-size:12px;color:var(--muted)}
@media(max-width:720px){.native-app-grid{grid-template-columns:minmax(0,1fr)}.native-app-copy{text-align:start}.native-app-row .ws-actions{width:100%}}

.native-app-row>[data-native-delegations]{flex:1 0 100%;min-width:0}
[data-native-delegations]>summary{cursor:pointer}
[data-native-delegations-content]{margin-top:12px}
[data-native-delegation-form]{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
[data-native-delegation-form] .form-field{flex:1 1 200px;min-width:0}

/* Source: modules/staff-location.css */
/* Семейный архив: Живая память — compact private staff location. */
.staff-location-shell{max-width:900px;margin:auto;min-width:0}.staff-location-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.staff-location-heading h1{font-size:1.35rem;margin:8px 0 0}.staff-location-heading .text-link svg{transform:rotate(180deg);width:15px;height:15px}.staff-location-notice{max-width:62ch;margin:0 0 14px}.staff-location-list,.staff-location-grant-list{list-style:none;padding:0;margin:0 0 16px}.staff-location-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line,#dce4dc);min-width:0}.staff-location-person{flex:1;min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}.staff-location-person strong{font-size:.95rem}.staff-location-state{font-size:.75rem;color:var(--muted,#607269);max-width:120px;text-align:right;overflow-wrap:anywhere}.staff-location-state.is-active{color:var(--green,#1c5c48)}.staff-location-state.is-active:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px}.staff-location-row .icon-button{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer}.staff-location-grants{border:1px solid var(--line,#dce4dc);border-radius:12px;padding:12px;margin:18px 0}.staff-location-grants summary{cursor:pointer;font-size:.9rem;font-weight:600}.staff-location-grant-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin:14px 0}.staff-location-grant-form label{font-size:.8rem;display:grid;gap:5px;min-width:0}.staff-location-grant-form select{width:100%;min-width:0;min-height:42px}.staff-location-grant-form [role=status]{grid-column:1/-1;margin:0}.staff-location-grant-list li{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid var(--line,#dce4dc);padding:10px 0}.staff-location-grant-list li>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.staff-location-grant-list strong{font-size:.85rem}.staff-location-point dl{display:grid;grid-template-columns:1fr;gap:6px}.staff-location-point dt{color:var(--muted,#607269);font-size:.8rem}.staff-location-point dd{margin:0 0 8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.staff-location-heading .btn{white-space:nowrap}@media(max-width:620px){.staff-location-grant-form{grid-template-columns:1fr}.staff-location-heading h1{font-size:1.2rem}.staff-location-state{max-width:95px}.staff-location-heading{align-items:flex-start}.staff-location-heading .btn{padding:8px;font-size:.75rem}.staff-location-person .small{font-size:.72rem}.staff-location-shell .staff-location-notice{font-size:.78rem}}

/* Source: modules/volunteers.css */
/* Семейный архив: Живая память — участие и частные заявки волонтёров. */
.volunteers-view { min-width:0; color:var(--ink); }
.vol-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--muted); margin-bottom:22px; }
.vol-breadcrumb a { min-height:24px; }
.vol-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:34px; align-items:center; padding-bottom:40px; }
.vol-hero h1 { font-size:clamp(30px,3.2vw,44px); line-height:1.15; letter-spacing:-.035em; max-width:480px; }
.vol-hero-copy { font-size:15px; line-height:1.8; color:var(--muted); margin:18px 0 23px; text-align:start!important; }
.vol-hero .eyebrow { margin-bottom:13px; }
.vol-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.vol-actions .btn { min-height:44px; }
.vol-figure { margin:0; min-width:0; }
.vol-figure img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:14px; background:var(--cream); }
.vol-figure figcaption { margin-top:9px; color:var(--muted); font-size:10px; line-height:1.5; text-align:start; }
.vol-section { padding:35px 0; border-top:1px solid var(--line); }
.vol-section > h2,.vol-section-head h2 { font-size:clamp(23px,2.3vw,29px); line-height:1.3; letter-spacing:-.02em; margin-bottom:16px; }
.vol-section-intro { max-width:730px; color:var(--muted); font-size:14px; line-height:1.8; text-align:start!important; }
.vol-mission { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(220px,.7fr); gap:34px; }
.vol-values { display:grid; gap:16px; align-content:start; }
.vol-value { display:flex; gap:12px; align-items:flex-start; }
.vol-value .icon { width:21px; height:21px; color:var(--green); flex-shrink:0; margin-top:2px; }
.vol-value strong { font-size:13px; font-weight:600; line-height:1.5; }
.vol-value small { display:block; margin-top:4px; font-size:12px; line-height:1.6; color:var(--muted); }
.vol-directions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; margin-top:22px; }
.vol-direction { display:grid; grid-template-columns:30px minmax(0,1fr); gap:14px; padding:24px 0; border-bottom:1px solid var(--line); }
.vol-direction > .icon { width:24px; height:24px; color:var(--green); margin-top:3px; }
.vol-direction h3 { font-size:17px; line-height:1.45; margin-bottom:8px; }
.vol-direction p { font-size:13px; color:var(--muted); line-height:1.75; text-align:start!important; }
.vol-direction .text-link { min-height:44px; display:inline-flex; align-items:center; gap:7px; margin-top:10px; font-size:12px; }
.vol-image-section { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:32px; align-items:center; }
.vol-image-section.reverse .vol-figure { order:2; }
.vol-image-section p { font-size:14px; line-height:1.8; color:var(--muted); text-align:start!important; }
.vol-image-section h2 { font-size:26px; line-height:1.3; letter-spacing:-.02em; margin-bottom:16px; }
.vol-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:24px; }
.vol-benefit { min-width:0; }
.vol-benefit h3 { font-size:15px; line-height:1.5; margin-bottom:8px; }
.vol-benefit p { font-size:13px; line-height:1.75; color:var(--muted); text-align:start!important; }
.vol-steps { counter-reset:vol-step; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; list-style:none; margin:24px 0 0; padding:0; }
.vol-steps li { counter-increment:vol-step; min-width:0; }
.vol-steps li:before { content:counter(vol-step); display:flex; align-items:center; justify-content:center; width:29px; height:29px; border-radius:50%; background:var(--green-soft); color:var(--green); font-size:12px; margin-bottom:12px; }
.vol-steps strong { display:block; font-size:14px; line-height:1.45; }
.vol-steps p { font-size:12px; color:var(--muted); line-height:1.75; margin-top:7px; text-align:start!important; }
.vol-invitation { background:var(--green-soft); border-radius:14px; padding:26px 30px; }
.vol-invitation h2 { font-size:23px; margin-bottom:13px; }
.vol-invitation p { font-size:14px; line-height:1.85; max-width:730px; text-align:start!important; }
.vol-invitation small { display:block; margin-top:16px; color:var(--green); font-size:12px; line-height:1.65; }
.vol-faq { margin-top:20px; }
.vol-faq details { border-bottom:1px solid var(--line); padding:4px 0; }
.vol-faq summary { cursor:pointer; min-height:52px; padding:16px 0; font-size:14px; font-weight:500; line-height:1.5; }
.vol-faq p { font-size:13px; line-height:1.8; color:var(--muted); padding:0 0 18px; max-width:720px; text-align:start!important; }
.vol-join { scroll-margin-top:145px; }
.vol-join-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr); gap:25px; margin-top:24px; align-items:start; }
.vol-join .card-body { padding:24px; }
.vol-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.vol-full { grid-column:1/-1; }
.volunteers-view .form-field { min-width:0; }
.volunteers-view .form-field > span,.vol-modal .form-field > span { font-size:12px; font-weight:600; }
.volunteers-view .form-field :is(input,select,textarea),.vol-modal .form-field :is(input,select,textarea) { min-height:44px; font:inherit; font-size:14px; text-align:start; }
.volunteers-view textarea,.vol-modal textarea { text-align:start!important; }
.vol-direction-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 15px; }
.vol-direction-choices label,.vol-check { display:flex; align-items:flex-start; gap:10px; min-height:44px; font-size:13px; line-height:1.6; padding:11px 0; }
.vol-direction-choices input,.vol-check input { width:18px; height:18px; margin-top:3px; flex-shrink:0; accent-color:var(--green); }
.vol-choice-fieldset { margin:5px 0 17px; padding:0; border:0; }
.vol-choice-fieldset legend { font-weight:600; font-size:13px; padding:0; margin-bottom:4px; }
.vol-help { font-size:12px; line-height:1.7; color:var(--muted); text-align:start!important; }
.vol-note { display:flex; gap:11px; background:var(--green-soft); border:1px solid #dce7d8; border-radius:10px; padding:15px 16px; margin:16px 0; align-items:flex-start; }
.vol-note .icon { width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--green); }
.vol-note p { font-size:12px; line-height:1.7; text-align:start!important; }
.vol-note.warning { background:#fff8ef; border-color:#eedfca; }
.vol-error { padding:12px; margin:12px 0; border:1px solid #ead4c9; border-radius:9px; background:#fff6f0; color:#8f412d; font-size:13px; line-height:1.6; text-align:start!important; }
.vol-feedback { font-size:12px; color:var(--muted); margin:12px 0; text-align:start!important; }
.vol-empty { text-align:center; padding:34px 22px; border:1px dashed #d1ddcc; border-radius:12px; background:#fafbf8; }
.vol-empty h2 { font-size:21px; margin:12px 0; }
.vol-empty > .icon { width:30px; height:30px; color:#8aa182; }
.vol-empty p { font-size:13px; line-height:1.8; color:var(--muted); text-align:center!important; text-align-last:center!important; max-width:470px; margin-inline:auto; }
.vol-empty .vol-actions { justify-content:center; margin-top:19px; }
.vol-private-heading { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.vol-private-heading > div { flex:1 1 350px; min-width:0; }
.vol-private-heading h1 { font-size:32px; line-height:1.3; margin-bottom:10px; letter-spacing:-.025em; }
.vol-private-heading p { text-align:start!important; font-size:14px; line-height:1.7; color:var(--muted); }
.vol-private-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.38fr); gap:22px; align-items:start; }
.vol-stack { display:grid; gap:20px; }
.vol-status { display:inline-flex; border:1px solid #dbe6d7; background:var(--green-soft); color:var(--green); border-radius:30px; padding:6px 10px; font-size:11px; line-height:1.5; max-width:100%; }
.vol-status.state-guardian_required,.vol-status.state-clarification { color:#8a5a28; background:#fff8ee; border-color:#ecdcc7; }
.vol-status.state-declined,.vol-status.state-withdrawn { color:#6f766b; background:#f4f5f1; border-color:#dce0d6; }
.vol-application-number { color:var(--muted); font-size:11px; line-height:1.65; overflow-wrap:anywhere; margin-top:10px; }
.vol-summary h2 { font-size:22px; margin-bottom:14px; }
.vol-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:18px 0 0; }
.vol-facts div { min-width:0; }
.vol-facts dt { font-size:11px; color:var(--muted); margin-bottom:5px; }
.vol-facts dd { margin:0; font-size:13px; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.vol-facts .vol-full { grid-column:1/-1; }
.vol-message { padding:16px 0; border-bottom:1px solid var(--line); }
.vol-message:first-child { padding-top:0; }
.vol-message:last-child { border-bottom:0; }
.vol-message-meta { display:flex; gap:8px; justify-content:space-between; flex-wrap:wrap; font-size:12px; }
.vol-message-meta time { color:var(--muted); font-size:11px; }
.vol-message p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.75; margin-top:8px; text-align:start!important; }
.vol-reply-form { padding-top:20px; border-top:1px solid var(--line); margin-top:20px; }
.vol-history { margin:17px 0 0; padding:0; list-style:none; display:grid; gap:15px; }
.vol-history li { display:grid; gap:3px; }
.vol-history strong { font-size:12px; font-weight:500; }
.vol-history small { font-size:11px; color:var(--muted); line-height:1.6; }
.vol-queue-filter { display:grid; grid-template-columns:minmax(160px,1.5fr) repeat(2,minmax(160px,1fr)); gap:13px; }
.vol-queue-filter .vol-actions { grid-column:1/-1; }
.vol-queue-items { margin-top:24px; }
.vol-queue-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); }
.vol-queue-row:last-child { border-bottom:0; }
.vol-queue-row h2 { font-size:17px; margin:9px 0; }
.vol-queue-row p { font-size:12px; line-height:1.7; color:var(--muted); text-align:start!important; }
.vol-queue-side { display:flex; align-items:flex-end; flex-direction:column; justify-content:center; gap:8px; }
.vol-queue-side .text-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:12px; }
.vol-previous-list { display:grid; gap:10px; margin-top:16px; }
.vol-previous-list a { display:flex; min-height:44px; align-items:center; justify-content:space-between; gap:10px; padding:12px; border:1px solid var(--line); border-radius:9px; font-size:12px; }
.vol-modal p { text-align:start!important; }
.volunteers-view :is(a,button,input,select,textarea,summary):focus-visible,.vol-modal :is(a,button,input,select,textarea):focus-visible { outline:3px solid var(--focus-ring); outline-offset:3px; }
@container main (max-width:850px) { .vol-private-layout { grid-template-columns:minmax(0,1fr); } .vol-private-layout > aside { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .vol-hero { gap:23px; } .vol-mission { gap:25px; } .vol-join-layout { grid-template-columns:minmax(0,1fr); } .vol-join-layout > aside { max-width:700px; } }
@container main (max-width:650px) { .vol-hero,.vol-mission,.vol-image-section { grid-template-columns:minmax(0,1fr); } .vol-image-section.reverse .vol-figure { order:0; } .vol-hero h1 { max-width:520px; } .vol-directions,.vol-benefits { grid-template-columns:minmax(0,1fr); } .vol-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } .vol-private-layout > aside { grid-template-columns:minmax(0,1fr); } .vol-queue-filter { grid-template-columns:minmax(0,1fr); } .vol-queue-row { grid-template-columns:minmax(0,1fr); gap:8px; } .vol-queue-side { flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; } }
@media(max-width:660px) { .vol-breadcrumb { margin-bottom:19px; } .vol-hero { gap:24px; padding-bottom:28px; } .vol-hero h1 { font-size:32px; } .vol-hero-copy { font-size:14px; line-height:1.75; margin:16px 0 19px; } .vol-hero .vol-actions > .btn { flex:1; } .vol-section { padding:28px 0; } .vol-section > h2,.vol-section-head h2 { font-size:25px; } .vol-section-intro { font-size:13px; } .vol-direction { padding:20px 0; gap:11px; } .vol-image-section h2 { font-size:25px; } .vol-benefits { gap:21px; } .vol-invitation { padding:22px; } .vol-invitation p { font-size:13px; } .vol-invitation h2 { font-size:22px; } .vol-form-grid,.vol-direction-choices { grid-template-columns:minmax(0,1fr); } .vol-full { grid-column:auto; } .volunteers-view .form-field :is(input,select,textarea),.vol-modal .form-field :is(input,select,textarea) { font-size:16px; } .vol-private-heading h1 { font-size:28px; } .vol-private-heading .vol-actions { width:100%; } .vol-private-heading .vol-actions > .btn { flex:1; } .vol-facts { grid-template-columns:minmax(0,1fr); } .vol-facts .vol-full { grid-column:auto; } .vol-join .card-body { padding:18px; } }

/* Source: modules/editorial-media.css */
/* Семейный архив: Живая память — media adds context without changing the theme. */
.editorial-media {
  display:grid; grid-template-columns:minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items:center; gap:26px; padding:20px; margin:0 0 24px;
  border:1px solid var(--line); border-radius:16px; background:var(--white, #fff);
  min-width:0;
}
.editorial-media > * { min-width:0; }
.editorial-figure { margin:0; }
.editorial-figure img {
  display:block; width:100%; height:auto; aspect-ratio:1.8; object-fit:cover;
  border-radius:10px; background:var(--cream, #f5f5ec);
}
.editorial-figure figcaption {
  margin-top:9px; color:var(--muted); font-size:10px; line-height:1.6;
  text-align:start; overflow-wrap:break-word; hyphens:auto;
}
.editorial-figure figcaption a { text-decoration:underline; text-underline-offset:2px; }
.editorial-media-copy { padding:4px 2px; }
.editorial-media-copy h2 { font-size:23px; line-height:1.35; max-width:30ch; }
.editorial-media-copy > p:not(.editorial-eyebrow) { margin-top:12px; color:var(--muted); font-size:14px; line-height:1.75; }
.editorial-media-copy .text-link { margin-top:11px; font-size:13px; }
#main .editorial-eyebrow { font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--green); margin:0 0 8px; text-align:start!important; }
.editorial-media-compact { padding:16px 20px; gap:24px; }
.editorial-media-compact .editorial-figure img { aspect-ratio:2.2; }
.editorial-media-compact .editorial-media-copy h2 { font-size:22px; }
.editorial-media-compact .editorial-media-copy > p:not(.editorial-eyebrow) { font-size:13px; }
.editorial-heading-symbol { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--line); border-radius:10px; margin-inline-end:12px; vertical-align:middle; background:var(--green-soft); color:var(--green); }
.editorial-heading-symbol .icon { width:20px; height:20px; }

/* The classes use the paragraph's measured column, not the screen width. */
#main .editorial-short, #dialog .editorial-short {
  text-align:start!important; text-align-last:start!important;
  overflow-wrap:break-word; word-break:normal;
}
#main .editorial-reading.editorial-wide, #dialog .editorial-reading.editorial-wide {
  text-align:justify!important; text-align-last:start!important; text-justify:inter-word;
  hyphens:auto; overflow-wrap:break-word; word-break:normal;
}
#main :is(.empty-state,.vol-empty,.ws-empty) p, #dialog .empty-state p { text-align:center!important; text-align-last:center!important; }
#main .project-name-lockup, #dialog .project-name-lockup { text-align:start; text-align-last:start; }
.project-name-lockup .project-name-part { hyphens:none; white-space:nowrap; word-break:normal; overflow-wrap:normal; }

@container main (max-width:660px) {
  .editorial-media { grid-template-columns:minmax(0, 1fr); gap:18px; padding:18px; }
  .editorial-media-copy { padding:0; }
  .editorial-media-copy h2, .editorial-media-compact .editorial-media-copy h2 { font-size:21px; max-width:none; }
  .editorial-figure img { aspect-ratio:1.8; }
  .editorial-media-compact .editorial-figure img { aspect-ratio:2.1; }
}
@media (max-width:440px) {
  .editorial-media { padding:14px; gap:14px; margin-bottom:18px; border-radius:13px; }
  .editorial-media-copy > p:not(.editorial-eyebrow) { font-size:13px; line-height:1.75; }
  .editorial-media-copy h2, .editorial-media-compact .editorial-media-copy h2 { font-size:20px; }
  .editorial-heading-symbol { width:31px; height:31px; margin-inline-end:8px; border-radius:8px; }
  .editorial-heading-symbol .icon { width:18px; height:18px; }
}

/* Семейный архив: Живая память — optional project introduction, after the feed. */
.feed-about{margin:20px 0 12px;border-top:1px solid var(--line);padding-top:8px}.feed-about>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--green);font-size:14px;font-weight:600}.feed-about>summary::after{content:"";margin-left:auto;margin-right:4px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.feed-about[open]>summary::after{transform:rotate(225deg)}.feed-about>summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}.feed-about .editorial-media{margin-top:8px}

/* Source: modules/social-links.css */
.social-action{min-height:44px;gap:7px;white-space:nowrap}.social-page-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.social-path,.social-url{font-size:13px;overflow-wrap:anywhere;word-break:normal}.social-path{color:var(--muted,#677268)}.social-dialog{display:grid;gap:15px;min-width:0}.social-dialog form{display:grid;gap:12px;padding-top:12px;border-top:1px solid var(--border,#d9e3d9)}.social-dialog h3{margin:0;font-size:16px}.social-dialog .form-field{display:grid;gap:6px}.social-dialog input:not([type=checkbox]),.social-dialog select,.social-dialog textarea{box-sizing:border-box;min-height:44px;width:100%;padding:10px 12px;border:1px solid var(--border,#d9e3d9);border-radius:10px;background:var(--surface,#fff);color:inherit;font:inherit}.social-dialog textarea{resize:vertical}.social-dialog input[readonly]{background:var(--pale,#f2f5ef)}.social-dialog small,.social-dialog .muted{font-size:13px;line-height:1.55}.social-dialog .check-row{display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.5}.social-dialog .check-row input{width:20px;height:20px;flex:none;margin-top:2px}.social-dialog-actions{display:flex;gap:9px;flex-wrap:wrap}.social-dialog-actions .btn,.social-dialog>.btn,.social-dialog form>.btn{min-height:44px}.social-feedback{font-size:13px;min-height:18px;margin:0}.social-error[hidden],[data-social-group-field][hidden]{display:none}.social-repost{border-left:3px solid var(--green,#245f42);background:var(--pale,#f2f5ef);border-radius:0 12px 12px 0;padding:15px;margin:12px 0;min-width:0}.social-repost-author{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--muted,#677268)}.social-repost-author .icon{flex:none}.social-repost h3{font-size:16px;margin:10px 0}.social-repost-image{display:block;width:100%;max-height:430px;object-fit:contain;margin-top:12px;border-radius:10px;background:#e9eee7}.social-repost-text{white-space:normal;overflow-wrap:break-word;hyphens:auto;margin-bottom:0}.social-repost-unavailable p{margin:0;color:var(--muted,#677268)}.social-dialog :focus-visible,.social-action:focus-visible{outline:3px solid var(--orange,#b66022);outline-offset:3px}.social-reply-action{font-size:13px;padding:7px 10px}.social-dialog .prose,.social-repost-text{text-align:justify;text-align-last:start;hyphens:auto}@media(max-width:520px){.social-dialog{gap:12px}.social-dialog input:not([type=checkbox]),.social-dialog select,.social-dialog textarea{font-size:16px}.social-dialog-actions .btn{flex:1}.social-repost{padding:12px}.social-page-link{gap:4px}.social-path{width:100%}}

.social-original{display:inline-flex;min-height:44px;margin-top:10px}

/* Source: modules/place-context.css */
/* Семейный архив: Живая память — quiet, explicit territorial browsing. */
.place-context-bar{border-bottom:1px solid var(--line,#dce4db);background:#fff}
.place-context-bar .place-context-inner{padding-top:3px;padding-bottom:3px;gap:10px;flex-wrap:nowrap;align-items:center}
.place-context-current{display:flex;align-items:center;gap:7px;min-height:38px;max-width:100%;min-width:0;padding:5px 0;border:0;background:transparent;color:var(--ink,#263b32);font:inherit;font-size:13px;cursor:pointer;text-align:left}
.place-context-current>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.place-context-current>.icon{width:16px;height:16px;flex:none}
.place-context-current>small{color:var(--muted,#6b786f);font-size:11px}
.place-context-current:focus-visible{outline:2px solid #205b47;outline-offset:2px;border-radius:5px}
.place-context-credit{flex:none;color:var(--muted,#6b786f);font-size:10px;line-height:1.3}
.place-context-credit a{color:inherit;text-underline-offset:2px}
.place-picker-options{display:flex;gap:5px;flex-wrap:wrap}
.place-vpn-hint{font-size:12px;line-height:1.45}
.place-context-inner{max-width:1280px;margin:auto;padding:12px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.place-context-summary{display:flex;align-items:center;gap:12px;min-width:0;color:var(--ink,#263b32)}
.place-context-summary>span{display:grid;gap:3px;min-width:0}
.place-context-summary strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.place-context-summary small{font-size:12px;color:var(--muted,#6b786f)}
.place-context-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.place-context-actions .btn{min-height:44px;padding:10px 14px}
.place-context-actions .text-link{min-height:44px}
.place-picker-list{display:grid;gap:8px;max-height:320px;overflow:auto;margin:16px 0}
.place-picker-item{width:100%;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--line,#dce4db);border-radius:12px;background:#fff;color:var(--ink,#263b32);text-align:left;font:inherit;cursor:pointer}
.place-picker-item:hover{background:#f3f6ef}
.place-picker-item>span{display:grid;gap:5px;min-width:0}
.place-picker-item strong{font-size:14px;overflow-wrap:anywhere}
.place-picker-item small{font-size:12px;color:var(--muted,#6b786f)}
.place-picker-item[hidden]{display:none}
.place-picker-item:focus-visible,.place-context-actions button:focus-visible{outline:2px solid #205b47;outline-offset:3px}
@media(max-width:600px){.place-context-inner{padding:10px 16px;align-items:flex-start;gap:8px;flex-wrap:wrap}.place-context-summary{flex:1 1 160px}.place-context-summary>.icon{display:none}.place-context-summary small{max-width:190px;font-size:11px}.place-context-actions{gap:8px;flex-wrap:wrap}.place-context-actions .btn{font-size:12px;padding:9px 11px}.place-context-actions .text-link{font-size:12px}}

/* Source: modules/views.css */
/* Семейный архив: Живая память — a quiet, non-interactive material counter. */
.views-counter { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:11px; font-weight:400; line-height:1.5; white-space:nowrap; flex:0 0 auto; padding:3px 0; vertical-align:middle; }
.views-counter .icon { width:16px; height:16px; stroke-width:1.65; }
.journal-post-actions .views-counter { margin-inline-start:auto; }
.group-post-actions .views-counter { margin-inline-start:auto; }
.community-post .views-counter { margin-top:8px; }
.album-asset > .views-counter { margin:4px 13px 8px; }
.album-lightbox > .views-counter { margin-inline-end:12px; }
.views-preferences { margin-top:24px; }
.views-preferences .card-body { display:grid; gap:15px; }
.views-preferences-intro { color:var(--muted); font-size:14px; line-height:1.75; }
.views-preferences-choice { display:flex; align-items:flex-start; gap:12px; min-height:44px; cursor:pointer; }
.views-preferences-choice input { width:18px; height:18px; margin:4px 0 0; flex:0 0 auto; accent-color:var(--green); }
.views-preferences-choice strong { display:block; font-size:14px; line-height:1.6; }
.views-preferences-choice small { display:block; margin-top:4px; color:var(--muted); font-size:12px; line-height:1.75; }
.views-preferences-note,.views-preferences-loading,.views-preferences-status { font-size:12px; color:var(--muted); line-height:1.75; text-align:start!important; margin:12px 0; }
.views-preferences-status { color:var(--green); }
.views-preferences-status:empty { display:none; }
.views-preferences-error { color:var(--danger,#97432d); font-size:13px; line-height:1.6; margin:12px 0; text-align:start!important; }
@media(max-width:660px) { .views-preferences { margin-top:18px; } .views-counter { font-size:11px; } .views-preferences .toolbar { align-items:stretch; } .views-preferences .toolbar .btn { flex:1 1 100%; } .views-preferences-intro { font-size:13px; } }

/* Source: modules/archive-catalog.css */
.archive-catalog-view{min-width:0}.archive-scope-tabs{margin-bottom:12px}.archive-access-note{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 22px}.archive-catalog-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.8fr);gap:22px;align-items:start}.archive-catalog-layout>*{min-width:0}.archive-topic-panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.archive-topic-panel>summary{display:flex;align-items:center;gap:10px;padding:17px;font-weight:600;cursor:pointer;list-style:none}.archive-topic-panel>summary::after{content:'+';margin-inline-start:auto}.archive-topic-panel[open]>summary::after{content:'−'}.archive-topic-tree{padding:0 12px 14px;max-height:720px;overflow:auto}.archive-topic-all,.archive-topic-link{display:block;font-size:12px;line-height:1.6;padding:8px 10px;border-radius:7px;overflow-wrap:break-word}.archive-topic-all.is-active,.archive-topic-link.is-active{background:var(--green-soft);font-weight:600}.archive-topic{border-top:1px solid var(--line);padding:5px 0}.archive-topic>summary{font-size:12px;font-weight:600;line-height:1.55;cursor:pointer;padding:8px 5px}.archive-topic-link{margin-inline-start:11px}.archive-catalog-filters{padding:20px;margin-bottom:16px}.archive-catalog-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.archive-filter-wide{grid-column:1/-1}.archive-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.archive-catalog-filters .form-field{font-size:12px;min-width:0}.archive-catalog-filters input,.archive-catalog-filters select{min-width:0}.archive-result-count{font-size:12px;color:var(--muted);margin:16px 0}.archive-catalog-list{display:grid;gap:15px}.archive-catalog-item{display:flex;align-items:flex-start;gap:15px;padding:20px}.archive-item-symbol{flex:none;padding:10px;border-radius:10px;background:var(--green-soft);color:var(--green)}.archive-item-body{min-width:0;flex:1}.archive-item-body h2{font-size:18px;line-height:1.45;overflow-wrap:break-word}.archive-item-meta{font-size:11px;color:var(--muted);margin-bottom:6px}.archive-item-description{font-size:13px;line-height:1.7;color:var(--muted);margin-top:11px;white-space:pre-wrap;overflow-wrap:break-word}.archive-item-facts{display:flex;gap:12px 22px;flex-wrap:wrap;margin:13px 0 0;font-size:12px;line-height:1.6}.archive-item-facts div{min-width:0}.archive-item-facts dt{color:var(--muted)}.archive-item-facts dd{margin:2px 0 0;overflow-wrap:break-word}.archive-item-topics{font-size:11px;color:var(--green);margin-top:10px;line-height:1.6}.archive-item-code{display:block;font-size:11px;margin-top:10px;overflow-wrap:anywhere}.archive-item-actions{display:flex;flex-wrap:wrap;gap:13px 18px;margin-top:15px}.archive-item-actions .text-link{display:inline-flex;align-items:center;gap:6px;font-size:12px}.archive-item-actions .icon{width:16px;height:16px}.archive-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;font-size:12px}.archive-catalog-note{display:flex;gap:12px;margin-top:22px;background:var(--green-soft);border:1px solid var(--line);border-radius:12px;padding:16px;font-size:12px;color:var(--muted);line-height:1.7}.archive-catalog-note .icon{color:var(--green)}.archive-form-help{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 15px}.archive-classification-topics{border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:12px}.archive-classification-topics legend{font-size:14px;font-weight:600;padding:0 7px}.archive-classification-topic{border-top:1px solid var(--line)}.archive-classification-topic>summary{cursor:pointer;font-size:13px;line-height:1.65;padding:10px 0}.archive-classification-children{padding:0 0 9px 13px}.archive-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;padding:7px 0}.archive-checkbox input{flex:none;width:17px;height:17px;accent-color:var(--green);margin-top:2px}.archive-checkbox input:disabled+span{color:var(--muted)}.archive-classification-topics:has(input:checked) .archive-form-help{margin-bottom:10px}.archive-catalog-filters [role=alert]{margin-bottom:0}.archive-catalog-view>.btn{margin-top:18px}
@media(max-width:1050px){.archive-catalog-layout{grid-template-columns:minmax(190px,.7fr) minmax(0,1.8fr);gap:16px}.archive-catalog-filters{padding:16px}.archive-catalog-filter-grid{grid-template-columns:minmax(0,1fr)}.archive-filter-wide{grid-column:auto}}
@media(max-width:900px){.archive-catalog-layout{grid-template-columns:minmax(0,1fr)}.archive-topic-tree{max-height:440px}.archive-catalog-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-filter-wide{grid-column:1/-1}}
@media(max-width:560px){.archive-catalog-filter-grid{grid-template-columns:minmax(0,1fr)}.archive-filter-wide{grid-column:auto}.archive-catalog-item{padding:16px;gap:11px}.archive-item-symbol{padding:8px}.archive-item-symbol .icon{width:18px;height:18px}.archive-item-body h2{font-size:17px}.archive-topic-panel>summary{padding:15px}.archive-pagination{flex-wrap:wrap}.archive-pagination .btn{padding:9px}.archive-catalog-filters input,.archive-catalog-filters select{font-size:16px}.archive-access-note{font-size:12px}.archive-classification-topics{padding:9px}.archive-classification-children{padding-left:7px}}

.archive-public-description{white-space:pre-wrap;overflow-wrap:break-word;font-size:14px;line-height:1.8}.archive-public-preview{border:1px solid var(--line);border-radius:12px;padding:17px;background:var(--paper);margin-bottom:18px}.archive-public-preview h2{margin-bottom:14px}.archive-public-preview h3{margin:18px 0 7px}

/* Source: modules/email-auth.css */
.email-auth{min-width:0;font-size:14px;line-height:1.6}
.email-auth [hidden]{display:none!important}
.email-auth-form{display:grid;gap:17px;min-width:0}
.email-auth .form-field{margin:0;gap:7px}
.email-auth .form-field>span{font-size:13px;font-weight:600}
.email-auth .form-field input{min-height:46px;max-width:100%;text-align:start}
.email-auth .form-field input[aria-invalid=true]{border-color:var(--danger)}
.email-auth-intro{display:flex;align-items:flex-start;gap:13px;padding-bottom:3px}
.email-auth-intro p{max-width:450px}
.email-auth-symbol{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border:1px solid var(--line);border-radius:12px;color:var(--green);background:var(--green-soft)}
.email-auth-symbol .icon{width:21px;height:21px}
.email-auth-hint{color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:break-word}
.email-auth-sent{display:flex;align-items:flex-start;gap:13px}
.email-auth-sent>div{min-width:0}
.email-auth-sent p{font-size:13px;color:var(--muted)}
.email-auth-sent strong{display:block;margin-top:2px;overflow-wrap:anywhere;font-size:15px;font-weight:600}
.email-auth-privacy{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:12px;line-height:1.6}
.email-auth-privacy .icon{width:16px;height:16px;margin-top:2px}
.email-auth-form>.btn{min-height:46px}
.email-auth-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:7px}
.email-auth-actions .btn{min-height:44px;max-width:100%}
.email-auth-actions [data-email-resend]{flex:1}
.email-auth-registration{display:grid;gap:15px;padding-top:6px}
.email-auth-registration .check-row{font-size:12px;line-height:1.7;padding:0;border:0}
.email-auth-registration .check-row input{min-width:18px}
.email-auth .inline-error{margin:0;font-size:13px;line-height:1.6;overflow-wrap:break-word}
.email-auth-unavailable{display:grid;gap:17px}
.email-auth :is(a,button,input):focus-visible{outline:3px solid var(--orange);outline-offset:3px}
@media(max-width:660px){.email-auth{font-size:13px}.email-auth-form{gap:15px}.email-auth .form-field input{font-size:16px}.email-auth-actions{gap:6px}.email-auth-actions .btn{font-size:11px;padding:9px 8px}.email-auth-actions [data-email-change]{flex:0 1 auto}.email-auth-symbol{width:38px;height:38px}.email-auth-intro,.email-auth-sent{gap:10px}.email-auth-registration .check-row{font-size:12px}.email-auth-sent strong{font-size:14px}}

/* Source: modules/help-widget.css */
/* Семейный архив: Живая память */
.archive-help { position: fixed; bottom: 24px; right: 24px; z-index: 45; }
.archive-help.with-help-obstacle { bottom:var(--help-bottom); }
.archive-help.with-help-obstacle .archive-help-panel { max-height:calc(100dvh - var(--help-bottom) - 90px); }
.archive-help.with-help-obstacle .archive-help-body { max-height:calc(100dvh - var(--help-bottom) - 175px); }
.archive-help-launcher { display:flex; align-items:center; gap:9px; border:1px solid #d7e3da; border-radius:28px; padding:13px 18px; background:#285b49; color:#fff; font:inherit; font-weight:600; cursor:pointer; box-shadow:0 6px 24px #172d2026; }
.archive-help-launcher svg { width:21px; height:21px; }
.archive-help-panel { position:absolute; bottom:66px; right:0; width:380px; max-width:calc(100vw - 32px); max-height:min(720px,calc(100dvh - 130px)); border:1px solid #dce4dc; border-radius:18px; background:var(--surface,#fff); color:var(--text,#25352d); box-shadow:0 16px 60px #1d37242b; overflow:hidden; }
.archive-help-consent[hidden], .archive-help-x0-options[hidden], .archive-help-panel[hidden], .archive-tour-ring[hidden], .archive-tour-pointer[hidden], .archive-guided-tour[hidden] { display:none; }
.archive-help-header { padding:18px 20px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; background:#f3f6f0; border-bottom:1px solid #e4e9df; }
.archive-help-header h2 { font-size:18px; margin:0 0 4px; }
.archive-help-header p { font-size:13px; margin:0; color:#67756b; }
.archive-help-body { padding:18px; overflow-y:auto; max-height:calc(min(720px,100dvh - 130px) - 85px); }
.archive-help-intro { margin:0 0 14px; line-height:1.6; font-size:14px; }
.archive-help-topics { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px; }
.archive-help-topics button { border:1px solid #dce6dc; color:#355e48; background:#f6f8f3; border-radius:18px; padding:8px 11px; font:inherit; font-size:12px; cursor:pointer; }
.archive-help-log { max-height:300px; overflow-y:auto; display:grid; gap:10px; overscroll-behavior:contain; }
.archive-help-log:empty { display:none; }
.archive-help-message { padding:12px; border-radius:12px; background:#f3f5f0; min-width:0; }
.archive-help-message.question { margin-left:25px; background:#e9f1ec; }
.archive-help-message-label { display:block; font-size:11px; font-weight:600; color:#627166; margin-bottom:5px; }
.archive-help-message p { font-size:13px; line-height:1.65; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.archive-help-answer-links { display:grid; gap:8px; margin-top:10px; }
.archive-help-answer-links a { font-size:13px; color:#285b49; display:flex; align-items:center; gap:7px; }
.archive-help-answer-links svg { width:16px; height:16px; }
.archive-help-question { display:flex; align-items:center; gap:7px; margin-top:15px; padding:7px; background:#fff; border:1px solid #d7e0d5; border-radius:12px; }
.archive-help-question textarea { border:0; background:transparent; resize:vertical; min-height:44px; max-height:110px; width:100%; padding:5px; font:inherit; font-size:13px; }
.archive-help-question textarea:focus { outline:2px solid #4e7c5d; outline-offset:2px; border-radius:5px; }
.archive-help-bottom { display:flex; gap:10px; justify-content:space-between; margin-top:12px; flex-wrap:wrap; }
.archive-help-bottom button { border:0; background:none; padding:3px 0; font:inherit; font-size:12px; color:#385941; cursor:pointer; display:flex; align-items:center; gap:5px; }
.archive-help-bottom svg { width:15px; height:15px; }
.archive-help-footnote { margin:12px 0 0; font-size:11px; line-height:1.5; color:#69756b; }
.archive-help-error { color:#9d342b; font-size:13px; line-height:1.5; }
.archive-help-handoff { padding:14px 0; border-top:1px solid #dce4dc; }
.archive-help-handoff h3 { margin:0 0 8px; font-size:15px; }
.archive-help-handoff > .btn, .archive-help-handoff > .text-link { display:inline-flex; margin:6px 10px 4px 0; }
.archive-help-handoff p, .archive-help-handoff small { font-size:12px; line-height:1.55; }
.archive-help-handoff .form-field { margin-bottom:12px; }
.archive-help-handoff label > span { font-size:12px; }
.archive-help-handoff textarea, .archive-help-handoff input[type=email] { font:inherit; width:100%; box-sizing:border-box; font-size:13px; padding:9px; }
.archive-help-consent { display:flex; align-items:flex-start; gap:9px; font-size:12px; line-height:1.5; }
.archive-help-consent input { flex:0 0 auto; margin-top:3px; }
.archive-help-x0-options { margin-top:12px; font-size:12px; line-height:1.5; }
.archive-help-x0-options summary { cursor:pointer; font-weight:600; margin-bottom:8px; }
.archive-help-x0-options .archive-help-consent { margin:9px 0; }
.archive-help-x0-options details { padding:8px; border:1px solid #dce4dc; border-radius:8px; margin-top:8px; }
.archive-help-handoff-status { overflow-wrap:anywhere; }
.archive-help-case-controls { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:12px; font-size:12px; line-height:1.5; color:#507158; }
.archive-help-case-controls button { border:0; background:transparent; font:inherit; color:#285b49; text-decoration:underline; cursor:pointer; }
.archive-guided-tour { position:fixed; left:calc(50% - 200px); bottom:24px; z-index:52; width:400px; max-width:calc(100vw - 32px); padding:20px; box-sizing:border-box; border:1px solid #c9d9c9; border-radius:16px; background:#fffefa; box-shadow:0 10px 48px #1c37252c; max-height:calc(100dvh - 48px); overflow:auto; }
.archive-tour-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; font-size:13px; color:#55715b; margin-bottom:10px; }
.archive-guided-tour h2 { font-size:20px; line-height:1.35; margin:10px 0; }
.archive-guided-tour .prose { font-size:14px; line-height:1.65; }
.archive-tour-task { font-size:12px; color:#697469; line-height:1.5; margin:12px 0; }
.archive-tour-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; margin-top:16px; }
.archive-tour-actions .btn { font-size:12px; }
.archive-tour-ring { position:fixed; pointer-events:none; border:2px solid #4e805d; border-radius:9px; z-index:50; box-shadow:0 0 0 4px #90b18a33; }
.archive-tour-ring::after { content:'↓'; position:absolute; left:14px; top:-29px; width:22px; height:24px; border-radius:5px; text-align:center; background:#f4f8ef; font-size:22px; font-weight:700; line-height:24px; color:#4e805d; }
.archive-tour-pointer { position:fixed; height:2px; transform-origin:0 50%; background:#729576; z-index:49; pointer-events:none; }
.archive-tour-pointer::after { content:''; position:absolute; right:0; top:-4px; width:8px; height:8px; border-top:2px solid #729576; border-right:2px solid #729576; transform:rotate(45deg); }
@media (max-width:699px) {
 .archive-help { right:14px; bottom:calc(78px + env(safe-area-inset-bottom,0px)); }
 .archive-help-launcher { padding:11px 13px; font-size:12px; }
 .archive-help-panel { bottom:57px; width:calc(100vw - 28px); max-height:calc(100dvh - 170px); }
 .archive-help-body { max-height:calc(100dvh - 255px); padding:15px; }
 .archive-help-header { padding:15px; }
 .archive-help-log { max-height:220px; }
 .archive-guided-tour { left:16px; bottom:calc(78px + env(safe-area-inset-bottom,0px)); width:calc(100vw - 32px); padding:16px; max-height:calc(100dvh - 115px); }
 .archive-guided-tour h2 { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) { .archive-help *, .archive-guided-tour * { scroll-behavior:auto; } }

/* Source: modules/navigation.css */
/* Семейный архив: Живая память — fewer permanent controls, every route retained. */
:root{--navigation-header-height:76px}
html{scroll-padding-top:96px}
.topbar-inner{position:relative;max-width:1280px;min-height:var(--navigation-header-height);gap:22px;padding:10px 24px}
.brand{width:226px;font-size:15px;gap:9px}
.brand img{width:34px;height:48px;object-fit:contain}
.global-search{max-width:460px;flex:1;min-width:120px}
.global-search input{font-size:13px}
.header-actions{gap:4px}
.navigation-mobile-search{display:none}
.app-layout,.app-layout.wide-view{grid-template-columns:200px minmax(0,1fr);max-width:1240px;gap:28px;padding:24px 24px 52px}
.sidebar{top:100px;max-height:calc(100dvh - 120px);padding:0 4px 0 0}
#navigation{display:grid;gap:5px}
#navigation>.nav-item{font-size:14px;min-height:46px;padding:11px 13px;margin:0}
#navigation>.nav-item .icon{width:21px;height:21px}
.sidebar-foot{border-top:1px solid var(--line);margin-top:20px;padding:15px 12px;gap:6px}
.navigation-footer-links{display:flex;gap:0 13px;flex-wrap:wrap}
.sidebar-foot .navigation-footer-links a{min-height:32px;font-size:11px}
.sidebar-foot .project-copyright{margin-top:6px;font-size:11px;line-height:1.4}
#right-rail{display:none!important}
.place-context-inner{max-width:1240px;padding:3px 24px 3px 252px;min-height:50px;gap:12px}
.place-context-summary{gap:7px}
.place-context-summary>.icon{width:17px;height:17px}
.place-context-summary strong{font-size:12px}
.place-context-summary small{display:none}
.place-context-actions{gap:10px}
.place-context-actions .btn{background:transparent;border:0;min-height:42px;padding:7px;color:var(--green);font-size:12px}
.place-context-actions .btn>.icon{display:none}
.place-context-actions .text-link{font-size:11px;min-height:42px}
.navigation-view{max-width:950px;margin:0 auto}
.navigation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.navigation-heading h1{font-size:28px;margin:0;line-height:1.25}
.navigation-heading .btn{white-space:nowrap}
.navigation-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:start}
.navigation-group{min-width:0}
.navigation-group h2{font:600 13px/1.4 Onest,system-ui,sans-serif;color:var(--muted);margin:0 0 8px;padding-left:3px}
.navigation-rows{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.navigation-row{display:flex;align-items:center;gap:11px;min-height:48px;padding:11px 13px;color:var(--ink);font-size:13px;line-height:1.4;text-decoration:none}
.navigation-row+.navigation-row{border-top:1px solid #eef0e9}
.navigation-row:hover{background:var(--green-soft);color:var(--green);text-decoration:none}
.navigation-row>.icon:first-child{color:var(--green);width:20px;height:20px;flex:none}
.navigation-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.navigation-row>.icon:last-child{width:14px;height:14px;color:#8c9a90;flex:none}
.navigation-signin{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;background:var(--green-soft);padding:16px 18px;border-radius:12px}
.navigation-signin h2{font-size:16px;line-height:1.45;margin:0}
.navigation-install-group{margin-top:24px;max-width:calc(50% - 12px)}
#navigation-install-host{padding:0}
#navigation-install-host .btn{min-height:46px;width:100%;justify-content:flex-start;background:#fff;color:var(--ink);border-color:var(--line);font-size:13px}
#navigation-install-host .pwa-install-caption{display:none}
.navigation-page-footer{display:flex;flex-wrap:wrap;align-items:center;gap:3px 16px;margin-top:24px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:12px}
.navigation-page-footer a,.navigation-page-footer .text-link{font-size:11px;min-height:32px;font-weight:400}
.navigation-page-footer>span{flex-basis:100%;line-height:1.6}
.navigation-popover{position:absolute;z-index:51;right:112px;top:calc(100% - 3px);width:230px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 32px #19372b1c;padding:5px;max-height:min(400px,75dvh);overflow:auto}
.navigation-popover .navigation-row{min-height:44px;border:0;border-radius:8px;padding:10px;font-size:13px}
.navigation-popover .navigation-row>.icon:last-child{display:none}
.navigation-account-dialog{width:min(360px,calc(100vw - 24px))}
.navigation-account-dialog .modal-head,.navigation-search-dialog .modal-head{padding:12px 16px}
.navigation-account-dialog .modal-head h2,.navigation-search-dialog .modal-head h2{font-size:17px}
.navigation-account-dialog .modal-body{padding:8px}
.navigation-account-dialog .stack{gap:0}
.navigation-account-dialog .stack>p{margin:0;padding:8px 12px;color:var(--muted);font-size:13px}
.navigation-account-dialog .stack>.btn{justify-content:flex-start;text-align:left;border:0;background:transparent;border-radius:8px;padding:11px 12px;font-size:13px;font-weight:400}
.navigation-account-dialog .stack>.btn:hover{background:var(--green-soft)}
.navigation-search-dialog{width:min(500px,calc(100vw - 24px))}
.navigation-search-form{display:flex;gap:12px;align-items:flex-end}
.navigation-search-form .form-field{flex:1;margin:0;gap:5px;font-size:12px}
.navigation-search-form>.btn{flex:none;min-height:44px}
.navigation-mobile-search .icon{width:20px;height:20px}
body[data-navigation-route="messages"] .sidebar-foot{display:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.app-layout,.app-layout.wide-view{grid-template-columns:170px minmax(0,1fr);gap:20px;padding-inline:20px}.topbar-inner{gap:15px;padding-inline:20px}.brand{width:210px;font-size:14px}.place-context-inner{padding-left:210px;padding-right:20px}.navigation-group-grid{gap:18px 16px}}
@media(max-width:760px){
 html{scroll-padding-top:80px;scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .topbar-inner{flex-wrap:nowrap;gap:5px;padding:5px 10px;min-height:64px}
 .brand{width:auto;flex:1;font-size:12px;gap:6px;min-width:0}
 .brand .brand-title{gap:1px}
 .brand .brand-line{font-size:inherit;line-height:1.2;max-width:none}
 .brand img{width:25px;height:39px}
 .global-search{display:none}
 .navigation-mobile-search{display:inline-flex}
 .header-actions{gap:0;margin-left:0;flex:none}
 .header-actions .icon-btn,.header-actions .account-button{width:38px;height:44px;min-width:38px;min-height:44px;padding:7px}
 .header-actions .icon{width:20px;height:20px}
 .header-actions .avatar{width:29px;height:29px}
 .header-actions .login-top{font-size:11px;min-height:40px;padding:7px 8px}
 .navigation-add .icon{width:21px;height:21px}
 .app-layout,.app-layout.wide-view{display:block;padding:18px 12px calc(90px + env(safe-area-inset-bottom));max-width:760px}
 .sidebar,.sidebar.open{display:none!important}
 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:45;padding:5px 4px calc(5px + env(safe-area-inset-bottom));min-height:60px;background:#fff;border-top:1px solid var(--line);gap:1px}
 .mobile-nav .nav-item{width:100%;margin:0;border-radius:8px;padding:5px 1px;min-height:49px;display:flex;flex-direction:column;justify-content:center;gap:4px;line-height:1.1;font-size:10px;background:transparent;color:var(--muted)}
 .mobile-nav .nav-item>.icon{width:21px;height:21px}
 .mobile-nav .nav-item.active{color:var(--green);background:var(--green-soft);font-weight:600}
 .mobile-nav .nav-item>span{overflow-wrap:normal;white-space:nowrap}
 .place-context-inner{padding:1px 12px;flex-wrap:nowrap;min-height:44px;gap:6px}
 .place-context-summary{flex:1;min-width:0;gap:6px}
 .place-context-summary>.icon{display:block;width:16px;height:16px;flex:none}
 .place-context-summary strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .place-context-actions{flex:none;flex-wrap:nowrap;gap:5px}
 .place-context-actions .btn{font-size:11px;min-height:42px;padding:7px 4px}
 .place-context-actions .text-link{font-size:10px;min-height:42px}
 .navigation-heading{margin-bottom:18px}
 .navigation-heading h1{font-size:25px}
 .navigation-heading .btn{font-size:12px;padding:8px 12px}
 .navigation-group-grid{grid-template-columns:1fr;gap:19px}
 .navigation-group h2{font-size:12px;margin-bottom:6px}
 .navigation-row{min-height:47px;padding:11px 13px;font-size:13px}
 .navigation-row>.icon:first-child{width:19px;height:19px}
 .navigation-install-group{max-width:none;margin-top:19px}
 .navigation-page-footer{margin-top:19px}
 .navigation-popover{right:50px;top:calc(100% - 1px);width:214px}
 .navigation-signin{padding:13px 14px;gap:10px}
 .navigation-signin h2{font-size:14px}
 body:has(.mc-chat-active) .app-layout{padding:0;margin:0;width:100%;height:100dvh;max-width:none}
}
@media(max-width:350px){.brand{font-size:10px}.brand img{width:22px}.header-actions .icon-btn,.header-actions .account-button{width:34px;min-width:34px;padding:7px}.header-actions .login-top{padding:6px;font-size:10px}.mobile-nav .nav-item{font-size:9px}.navigation-search-form{gap:8px}.navigation-search-form>.btn{padding-inline:10px}}

/* A compact help entry stays available without sitting over normal actions. */
.archive-help-launcher{min-height:44px;padding:10px 13px;font-size:12px;gap:7px;box-shadow:0 4px 14px #172d201c}
.archive-help-launcher svg{width:19px;height:19px}
@media(max-width:760px){.archive-help:not(.with-help-obstacle){bottom:calc(74px + env(safe-area-inset-bottom));right:12px}.archive-help-launcher{padding:10px;border-radius:50%;width:44px;height:44px;min-width:44px;justify-content:center;overflow:hidden;gap:0;font-size:0}.archive-help-launcher svg{width:21px;height:21px;min-width:21px}.archive-help-panel{bottom:54px}body:has(.mc-chat-active) .archive-help{display:none!important}}

/* The three existing directions are an index, not another permanent toolbar. */
@media(min-width:761px){[data-navigation-directions]{grid-column:1/-1}[data-navigation-directions] .navigation-rows{display:grid;grid-template-columns:1.4fr 1fr 1fr}[data-navigation-directions] .navigation-row{height:100%}[data-navigation-directions] .navigation-row+.navigation-row{border-top:0;border-left:1px solid #eef0e9}}

/* Source: modules/presence.css */
.presence-indicator{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:12px;font-weight:400;line-height:1.4;color:var(--muted,#67746d);vertical-align:middle}
.presence-indicator[hidden]{display:none!important}
.presence-dot{display:inline-block;width:6px;height:6px;flex:none;border-radius:50%;background:#737c76}
.presence-indicator[data-presence-state=online]{color:var(--green,#1c5b47)}
.presence-indicator[data-presence-state=online] .presence-dot{background:currentColor}
.presence-label{overflow-wrap:anywhere}
.friend-identity{display:flex;align-items:center;gap:12px;min-width:0;color:var(--ink,#283b34);text-decoration:none}
.friend-identity .profile-avatar{width:44px;height:44px;flex:none}
.friend-identity-text{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.friend-identity-text strong{font-size:14px;line-height:1.45}
.friend-identity:hover strong{text-decoration:underline;text-underline-offset:3px}
.friend-identity:focus-visible{outline:2px solid var(--green,#1c5b47);outline-offset:4px;border-radius:8px}
.profile-friend-row>div:first-child{flex:1;min-width:160px}
.profile-friend-note{margin:6px 0 0 56px}
.profile-online-friends{margin-top:30px;padding-top:22px;border-top:1px solid var(--line,#dde4dc)}
.profile-online-friends h2{font-size:20px;margin:0 0 16px}
.friend-online-list{display:grid;gap:16px}
.friend-online-row[hidden],.friend-online-empty[hidden]{display:none!important}
.friend-online-empty{font-size:13px;line-height:1.6;max-width:65ch;margin:0}
.friend-presence-settings{display:inline-flex;align-items:center;min-height:40px;font-size:12px;margin-top:8px}
.wall-friends .presence-indicator{font-size:10px;line-height:1.4;white-space:normal;overflow:visible;justify-content:center}
.wall-friends .presence-label{white-space:normal}
.wall-connections[data-presence-friends] .friend-identity .profile-avatar{width:36px;height:36px}
.wall-connections[data-presence-friends] .friend-identity-text strong{font-size:12px}
.wall-connections[data-presence-friends] header{margin-bottom:14px}
@media(max-width:540px){.friend-identity-text strong{font-size:13px}.profile-friend-row .toolbar{margin-left:56px}.profile-wall-aside>[data-presence-friends]{grid-column:1/-1}.profile-online-friends h2{font-size:18px}}

/* Source: modules/post-media.css */
.post-media-compose{min-width:0;margin:5px 0 9px}.post-media-tools{display:flex;align-items:center;gap:8px;min-height:44px}.post-media-icon{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:0;border-radius:10px;background:transparent;color:var(--green,#245846);cursor:pointer}.post-media-icon svg,.post-media-remove svg,.post-media-order svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.post-media-icon:hover,.post-media-order button:hover{background:#eef2eb}.post-media-icon:disabled,.post-media-order button:disabled{opacity:.35;cursor:default}.post-media-icon:focus-visible,.post-media-layout button:focus-visible,.post-media-order button:focus-visible,.post-media-remove:focus-visible,.post-media-tile:focus-visible,.post-media-carousel:focus-visible{outline:3px solid #ad7c39;outline-offset:2px}.post-media-count{font-size:12px;font-variant-numeric:tabular-nums;color:#54645a}.post-media-layout{display:flex;margin-left:auto;gap:2px;padding:2px;border-radius:9px;background:#edf0e9}.post-media-layout button{border:0;border-radius:7px;min-height:38px;padding:5px 10px;font:inherit;font-size:12px;background:transparent;color:#526359;cursor:pointer}.post-media-layout button[aria-pressed=true]{background:white;color:#1d4d3a}.post-media-drafts{display:flex;gap:9px;overflow-x:auto;padding:5px 2px 3px;scrollbar-color:#9eafa1 transparent;scrollbar-width:thin}.post-media-draft{width:100px;flex:none;min-width:0}.post-media-draft-thumb{position:relative;display:grid;place-items:center;width:100px;height:82px;border-radius:9px;background:#edf0e8;overflow:hidden}.post-media-draft-thumb>img{width:100%;height:100%;object-fit:cover}.post-media-draft-thumb>svg{width:27px;height:27px;fill:none;stroke:#526359;stroke-width:1.5}.post-media-remove{position:absolute;right:0;top:0;width:36px;height:36px;display:grid;place-items:center;background:#ffffffed;color:#244032;border:0;border-radius:0 0 0 9px;cursor:pointer}.post-media-remove svg{width:17px;height:17px}.post-media-file-state{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#526359;line-height:1.8}.post-media-file-state.is-error,.post-media-error{color:#8b352c}.post-media-draft progress{display:block;width:100%;height:4px;accent-color:#245846}.post-media-order{display:flex;justify-content:space-between}.post-media-order button{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:0;border-radius:6px;background:transparent;color:#456551;cursor:pointer}.post-media-order svg{width:17px;height:17px}.post-media-error{margin:7px 0;font-size:13px;line-height:1.45}.post-origin{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;opacity:.8}.post-origin img{width:14px;height:16px;object-fit:contain}.post-media{margin:12px 0;min-width:0;border-radius:12px;overflow:hidden;background:#f0f1eb}.post-media-tile{position:relative;display:block;padding:0;margin:0;border:0;background:#e8ece3;width:100%;min-width:0;min-height:0;cursor:pointer;overflow:hidden}.post-media-tile>img{display:block;width:100%;height:100%;object-fit:cover}.post-media-grid .post-media-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(112px,23vw,205px);gap:3px}.post-media-grid.post-media-count-1 .post-media-track{display:block;max-height:460px}.post-media-grid.post-media-count-1 .post-media-tile{height:auto;max-height:460px}.post-media-grid.post-media-count-1 .post-media-tile>img{height:auto;max-height:460px;object-fit:contain}.post-media-grid.post-media-count-2 .post-media-track{grid-auto-rows:clamp(180px,35vw,300px)}.post-media-grid.post-media-count-3 .post-media-track{grid-template-columns:1.5fr 1fr;grid-auto-rows:clamp(105px,22vw,175px)}.post-media-grid.post-media-count-3 .post-media-tile:first-child{grid-row:span 2}.post-media-grid.post-media-count-5 .post-media-track,.post-media-grid.post-media-count-6 .post-media-track,.post-media-grid.post-media-count-7 .post-media-track,.post-media-grid.post-media-count-8 .post-media-track,.post-media-grid.post-media-count-9 .post-media-track,.post-media-grid.post-media-count-10 .post-media-track{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(92px,19vw,155px)}.post-media-grid.post-media-count-5 .post-media-tile:first-child{grid-column:span 2}.post-media-grid.post-media-count-7 .post-media-tile:first-child,.post-media-grid.post-media-count-10 .post-media-tile:first-child{grid-column:span 3;max-height:155px}.post-media-grid.post-media-count-8 .post-media-tile:first-child{grid-column:span 2}.post-media-play{position:absolute;left:9px;bottom:8px;display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:7px;background:#142b22cc;color:white;font-size:12px;font-variant-numeric:tabular-nums;pointer-events:none}.post-media-play svg,.post-media-draft-video svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.post-media-draft-video{position:absolute;bottom:3px;left:4px;color:white;background:#142b22cc;padding:3px;border-radius:5px}.post-media-carousel .post-media-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.post-media-carousel .post-media-track::-webkit-scrollbar{display:none}.post-media-carousel .post-media-tile{flex:0 0 100%;height:clamp(235px,55vw,440px);scroll-snap-align:start}.post-media-carousel .post-media-tile>img{object-fit:contain}.post-media-carousel-controls{display:flex;justify-content:center;align-items:center;gap:12px;background:#fafbf7;min-height:44px}.post-media-pager{font-size:12px;font-variant-numeric:tabular-nums;color:#526359}.post-media-viewer{padding:0;border:0;background:#101814;color:#f6f8f1;max-width:1100px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.post-media-viewer::backdrop{background:#08110ee8}.post-media-viewer-head,.post-media-viewer-footer{display:flex;align-items:center;gap:12px;min-height:52px;padding:4px 10px;font-size:13px}.post-media-viewer-head{justify-content:space-between}.post-media-viewer .post-media-icon{color:#f6f8f1}.post-media-viewer .post-media-icon:hover{background:#263a30}.post-media-full{display:flex;justify-content:center;align-items:center;min-height:200px;height:min(70dvh,760px);background:#080d0a}.post-media-full>img,.post-media-full>video{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.post-media-viewer-footer{justify-content:space-between}.post-media-viewer-footer>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.post-media-viewer[open]{display:block}.post-media-tools [hidden],.post-media-compose [hidden]{display:none!important}@media(max-width:480px){.post-media-layout button{min-height:44px;padding:5px 8px}.post-media-tools{gap:5px}.post-media-count{font-size:11px}.post-media-draft{width:88px}.post-media-draft-thumb{width:88px;height:74px}.post-media-viewer{width:100%;max-height:100dvh;border-radius:0}.post-media-full{height:calc(100dvh - 112px)}}@media(prefers-reduced-motion:reduce){.post-media-track{scroll-behavior:auto}}

/* Justified media rows: no fixed-height grey bars around single photographs. */
.post-media.post-media-mosaic{border-radius:0;overflow:hidden}
.post-media.post-media-mosaic .post-media-track{display:block;max-height:none}
.post-media-row{display:flex;gap:2px;width:100%;overflow:hidden;margin:0 0 2px}.post-media-row:last-child{margin-bottom:0}
.post-media.post-media-mosaic .post-media-row .post-media-tile{height:auto;align-self:stretch;max-height:none;min-width:0;width:auto;aspect-ratio:auto;background:transparent;border-radius:0}
.post-media.post-media-mosaic .post-media-row .post-media-tile>img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 40%}

/* Single photographs retain their whole composition, including portrait text and faces. */
.post-media.post-media-mosaic.post-media-count-1 .post-media-track .post-media-row{display:block;aspect-ratio:auto!important;max-height:none}
.post-media.post-media-mosaic.post-media-count-1 .post-media-row .post-media-tile{display:block;width:100%;height:auto;max-height:none}
.post-media.post-media-mosaic.post-media-count-1 .post-media-row .post-media-tile>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.post-media-carousel .post-media-track{align-items:flex-start}
.post-media-carousel .post-media-tile{height:100%;min-height:0}
.post-media-carousel .post-media-tile>img{object-fit:contain}

/* Source: modules/verification.css */
/* Семейный архив: Живая память — quiet inline verification and private review. */
.verification-badge{display:inline-flex;width:18px;height:18px;color:#176780;vertical-align:-3px;margin-inline-start:5px;flex:none}
.verification-badge svg{width:100%;height:100%;display:block}
.verification-entry{display:inline-flex;align-items:center;font-size:.875rem}
.verification-entry a{display:inline-flex;align-items:center;gap:5px;min-height:36px}
.verification-entry .icon{width:16px;height:16px}
.verification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.verification-heading h1{margin:0;overflow-wrap:anywhere}
.verification-panel{background:var(--surface,#fff);border:1px solid var(--line,#dfe4de);border-radius:14px;overflow:hidden}
.verification-form-panel,.verification-detail{padding:18px;max-width:680px}
.verification-form-panel h2{font-size:1.125rem;margin:0 0 12px;overflow-wrap:anywhere}
.verification-form-panel form,.verification-detail form{display:grid;gap:12px}
.verification-form-panel .form-field,.verification-detail .form-field{margin:0}
.verification-form-panel .btn{justify-self:start}
.verification-disclosure{font-size:.875rem;max-width:65ch;margin:0 0 16px}
.verification-row{display:flex;align-items:center;gap:12px;padding:13px 16px;text-decoration:none;color:inherit;min-height:64px;border-bottom:1px solid var(--line,#dfe4de)}
.verification-row:last-child{border-bottom:0}
.verification-row>span:first-child{flex:1;min-width:0}
.verification-row strong,.verification-row small{display:block;overflow-wrap:anywhere}
.verification-row strong{font-size:.9375rem}
.verification-row small{font-size:.8125rem;color:var(--muted,#647366);margin-top:3px}
.verification-row>.icon{width:17px;height:17px;flex:none}
.verification-row:hover{background:var(--surface-soft,#f5f7f2)}
.verification-status{font-size:.8125rem;line-height:1.4;color:var(--muted,#647366);overflow-wrap:anywhere}
.verification-status-approved{color:#215c49}
.verification-status-rejected,.verification-status-revoked{color:#86483d}
.verification-tabs{display:flex;gap:6px;margin-bottom:12px}
.verification-tabs .btn{min-height:40px;padding:8px 13px}
.verification-tabs .is-active{border-color:var(--green,#1c5b47);color:var(--green,#1c5b47)}
.verification-empty{padding:16px;margin:0;font-size:.9375rem}
.verification-detail dl{display:grid;gap:15px;margin:0 0 18px}
.verification-detail dt{font-weight:650;font-size:.875rem;margin-bottom:4px}
.verification-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9375rem;line-height:1.55;max-width:65ch}
.verification-actions{display:flex;gap:8px;flex-wrap:wrap}
.verification-actions .btn{min-height:44px;padding:9px 13px}
.verification-revoke{color:#86483d}
.verification-error{font-size:.875rem;color:#8a382d;margin:0;overflow-wrap:anywhere}
.verification-current{font-size:.875rem;line-height:1.5;color:#77542f;margin:0 0 14px}
.verification-assignment{margin-top:18px;border-top:1px solid var(--line,#dfe4de);padding-top:6px}
.verification-assignment summary{cursor:pointer;min-height:44px;align-content:center;font-size:.875rem;font-weight:600}
.verification-assignment-body{padding-top:8px}
.verification-assignment form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.verification-assignment select{flex:1;min-width:180px;max-width:100%;min-height:44px}
.verification-assignment .verification-error{flex-basis:100%}
.verification-assigned-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.875rem}
.verification-assigned-row>span{overflow-wrap:anywhere}
.verification-assigned-row .btn{min-height:44px;flex:none}
@media(max-width:480px){.verification-form-panel,.verification-detail{padding:14px}.verification-row{padding:12px;gap:8px;flex-wrap:wrap}.verification-row>span:first-child{flex-basis:calc(100% - 25px)}.verification-row>.verification-status{order:2;flex-basis:100%}.verification-row>.icon{margin-left:auto}.verification-heading>.btn{padding:8px 11px;min-height:40px}}

/* Source: modules/news.css */
/* Семейный архив: Живая память — compact news, separate editorial controls. */
.news-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0;margin:0 0 16px}
.news-card-body{padding:18px 20px}.news-card h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;margin:8px 0 10px;overflow-wrap:anywhere}.news-card h2>a{color:var(--ink);text-decoration:none}.news-card h2>a:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.news-meta{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.5}.news-meta>span:first-child{font-weight:600;color:var(--green)}.news-summary{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-width:75ch}.news-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-top:10px}.news-source-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;min-height:36px}.news-source-link>.icon{width:15px;height:15px}.news-author{font-size:11px;color:var(--muted)}
.news-picture{margin:0;background:var(--cream)}.news-picture>img{display:block;width:100%;max-height:440px;aspect-ratio:1.8;object-fit:cover}.news-picture>figcaption{font-size:10px;line-height:1.5;padding:6px 12px;color:var(--muted)}
.news-view{max-width:950px;margin:0 auto;min-width:0}.news-card-detail h1{font-size:29px;line-height:1.3;margin:12px 0 18px;overflow-wrap:anywhere}.news-card-detail .news-card-body{padding:24px}.news-card-detail .news-summary{font-size:16px;line-height:1.75}.news-back{display:inline-flex;align-items:center;gap:7px;min-height:44px;margin-bottom:10px;font-size:13px}.news-back>.icon{width:17px;height:17px}
.news-inline-error{padding:15px;border:1px solid #e4cfc8;border-radius:10px;background:#fff6f2;color:#824a3d;line-height:1.6;font-size:13px;margin-bottom:14px}
.newsroom-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.newsroom-heading h1{font-size:27px}.newsroom-heading>.btn{min-height:44px}.newsroom-tabs{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin}.newsroom-tabs>a{min-height:44px;display:inline-flex;align-items:center;padding:10px 13px;font-size:13px;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}.newsroom-tabs>a[aria-current=page]{color:var(--green);border-bottom-color:var(--green);font-weight:600}.newsroom-tabs>a:hover{text-decoration:none;color:var(--green)}.newsroom-global-status{font-size:12px;line-height:1.6;margin:12px 0;color:var(--green)}.newsroom-global-status:empty{display:none}.newsroom-global-status.is-error,.newsroom-form-status.is-error{color:var(--danger,#9d4938)}
.newsroom-section{margin:22px 0}.newsroom-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;margin-bottom:10px}.newsroom-section-head>h2{font-size:17px}.newsroom-section-head>.text-link{min-height:36px}.newsroom-empty{margin:0;font-size:13px;color:var(--muted);padding:16px 0}.newsroom-edition,.newsroom-run,.newsroom-source{padding:14px 0;border-top:1px solid var(--line);min-width:0}.newsroom-edition,.newsroom-run{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}.newsroom-edition>div,.newsroom-run>div{flex:1;min-width:180px}.newsroom-edition strong,.newsroom-run strong,.newsroom-source strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.newsroom-edition small,.newsroom-run small,.newsroom-source>small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:4px}.newsroom-status{display:inline-flex;align-items:center;min-height:27px;padding:3px 8px;border-radius:6px;background:var(--green-soft);color:var(--green);font-size:11px;line-height:1.4}.newsroom-status.is-error{background:#fff0eb;color:#864736}.newsroom-run-error{color:#864736;font-size:12px;line-height:1.6;overflow-wrap:anywhere;flex-basis:100%}.newsroom-run>.btn{min-height:36px;font-size:12px}.newsroom-source-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.newsroom-source>a{font-size:12px;overflow-wrap:anywhere;display:inline-flex;min-height:32px;align-items:center}.newsroom-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:15px}
.newsroom-item{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;margin:0 0 16px;min-width:0}.newsroom-item-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.newsroom-item>.news-card{border:0;border-radius:0;margin:0}.newsroom-item .news-card-body{padding:7px 0 10px}.newsroom-item .news-picture{border-radius:8px;overflow:hidden}.newsroom-item .news-card h2{font-size:18px}.newsroom-item .news-summary{font-size:13px}.newsroom-edit>summary,.newsroom-settings>summary{cursor:pointer;min-height:44px;padding:12px 0;line-height:1.5;font-size:13px;font-weight:600;color:var(--green)}.newsroom-edit>form{padding:8px 0 14px}.newsroom-edit input,.newsroom-edit textarea,.newsroom-decision>input{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;font:inherit;font-size:14px;line-height:1.5;color:var(--ink);background:#fff;border:1px solid #d5ddd3;border-radius:8px;padding:10px 12px}.newsroom-edit textarea{resize:vertical;min-height:110px}.newsroom-edit .form-field{font-size:12px}.newsroom-decision{border-top:1px solid var(--line);padding-top:12px}.newsroom-decision>input{font-size:12px}.newsroom-decision-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:9px}.newsroom-decision-actions>.btn{min-height:40px;font-size:12px;padding:8px 12px}.newsroom-form-status{font-size:12px;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}.newsroom-form-status:empty{display:none}.newsroom-settings{border-top:1px solid var(--line);margin-top:20px}.newsroom-settings>form{padding-bottom:14px}.newsroom-settings .check-row{padding:10px 0;font-size:13px;min-height:44px}.newsroom-settings .check-row small{font-size:11px}.newsroom-settings form>.btn{margin-top:12px}.newsroom-inline-warning{font-size:12px;line-height:1.6;color:#865d24;margin-top:12px}
.news-view :focus-visible{outline:3px solid #86b59b;outline-offset:3px}
.news-card:not(.news-card-detail) .news-summary{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;max-height:6.8em}
.newsroom-evidence>summary,.newsroom-evidence-source>summary{cursor:pointer;color:var(--green);font-size:12px;line-height:1.5;font-weight:600;min-height:44px;padding:12px 0}.newsroom-evidence-body{padding-bottom:12px;max-width:75ch}.newsroom-evidence-body blockquote{margin:12px 0;padding:12px;background:var(--cream);border-radius:8px;font-size:12px;line-height:1.7}.newsroom-evidence-body blockquote p,.newsroom-evidence-source>p{white-space:pre-wrap;overflow-wrap:anywhere}.newsroom-evidence-body cite{font-style:normal;font-size:11px;color:var(--muted);display:block;margin-top:7px}.newsroom-evidence-source{border-top:1px solid var(--line)}.newsroom-evidence-source>small{font-size:11px;color:var(--muted)}.newsroom-evidence-source>p{font-size:12px;line-height:1.8;padding-bottom:12px}
.news-article-section{margin-top:24px;max-width:75ch}.news-article-section>h2{font-size:20px;line-height:1.4;margin:0 0 10px}.news-article-section>p{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.news-section-sources{display:flex;align-items:center;gap:4px 14px;flex-wrap:wrap;margin-top:7px}.news-section-sources>a{display:inline-flex;align-items:center;min-height:32px;font-size:11px;line-height:1.5}.news-article-sources{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.news-article-sources>h2{font-size:17px;margin:0 0 10px}.news-article-sources>ol{margin:0;padding-left:20px;font-size:12px;line-height:1.7}.news-article-sources li{margin-top:8px;overflow-wrap:anywhere}.news-article-sources li>small{display:block;color:var(--muted);font-size:11px}.newsroom-source-policy>summary,.newsroom-preview>summary,.newsroom-section-edit>summary{cursor:pointer;font-size:12px;font-weight:600;line-height:1.5;color:var(--green);padding:12px 0;min-height:44px}.newsroom-source-policy>form{max-width:600px;padding:0 0 12px}.newsroom-source-policy .check-row{font-size:12px;min-height:44px;padding:10px 0}.newsroom-source-policy button{margin-top:12px}.newsroom-preview-body{padding:0 0 16px}.newsroom-preview-body .news-article-section{margin-top:15px}.newsroom-preview-body .news-article-section>h2{font-size:16px}.newsroom-preview-body .news-article-section>p{font-size:13px}.newsroom-section-edit{border-top:1px solid var(--line)}
@media(max-width:760px){.news-card-body{padding:15px 16px}.news-card h2{font-size:18px}.news-summary{font-size:14px}.news-meta{font-size:10px;gap:3px 9px}.news-card-detail h1{font-size:25px}.news-card-detail .news-card-body{padding:18px 16px}.news-card-detail .news-summary{font-size:15px}.newsroom-heading h1{font-size:23px}.newsroom-heading>.btn{font-size:12px;padding:9px 12px}.newsroom-tabs>a{font-size:12px;padding:10px 11px}.newsroom-item{padding:13px}.newsroom-edit input,.newsroom-edit textarea{font-size:16px}.newsroom-decision>input{font-size:16px}.newsroom-edition,.newsroom-run{gap:8px 12px}.newsroom-edition>div,.newsroom-run>div{min-width:160px}.newsroom-source-head{align-items:flex-start}.newsroom-source-head>strong{flex:1}.newsroom-section-head>.small{font-size:11px}}

/* Source: modules/experience.css */
/* Shared website improvements: settings, navigation, person state and help. */
.settings-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 22px;border-bottom:1px solid var(--line);padding-bottom:10px}
.settings-tabs a{padding:10px 13px;border-radius:8px;color:var(--muted);font-size:14px}
.settings-tabs a[aria-current=page]{background:#e7f0ea;color:#245a45;font-weight:600}
.settings-narrow{max-width:760px}.settings-form-status{min-height:1.4em}
.address-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0}
.address-input>span{padding:10px 0 10px 12px;color:var(--muted);font-size:14px;white-space:nowrap}
.address-input input{border:0!important;min-width:0;padding-left:3px!important}
.personal-fields-grid{display:block}.personal-field{display:block!important;border-bottom:1px solid var(--line);padding:0!important;border-radius:0!important}
.personal-field-summary{display:grid;grid-template-columns:minmax(140px,1fr) minmax(100px,1.7fr) auto;gap:16px;align-items:center;min-height:68px;padding:16px;cursor:pointer;list-style:none}
.personal-field-summary strong{font-size:14px}.personal-field-summary>span{color:var(--muted);overflow-wrap:anywhere;font-size:14px}.personal-field-summary small{color:#466653;font-size:12px}
.personal-field-summary::after{content:'+';font-size:18px;color:var(--muted);grid-column:4}.personal-field[open]>.personal-field-summary::after{content:'−'}
.personal-field-editor{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;padding:4px 16px 24px}.personal-field-editor small{display:block;line-height:1.5}
.personal-fields-note{font-size:13px;line-height:1.5;padding:12px 15px}.personal-fields-note p{margin:6px 0 0}
.consent-banner .consent-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.consent-dialog{max-width:480px}.consent-options{margin-top:14px}.consent-dialog .modal-body>p{font-size:14px}
/* Character is confined to the white identity area, never the owner's cover. */
.profile-hero{position:relative}.profile-identity{position:relative;isolation:isolate}
.profile-life-character{display:inline-block;position:relative;width:36px;height:48px;overflow:hidden;flex:0 0 auto;vertical-align:middle;background:none;border:0;border-radius:0;box-shadow:none}
.profile-life-character img{position:absolute;max-width:none;width:auto;height:48px;left:50%;transform:translateX(-50%);object-fit:contain;mix-blend-mode:multiply}
.profile-life-character.is-memory img{height:51px;top:-2px}
.profile-identity>.profile-life-character{position:absolute;top:10px;right:17px;width:42px;height:54px;z-index:1}
.profile-identity>.profile-life-character img{height:54px}.profile-identity>.profile-life-character.is-memory img{height:58px;top:-2px}
.profile-identity:has(>.profile-life-character) .profile-identity-text{padding-right:46px}
.profile-identity:has(>.profile-life-character) .profile-identity-actions{align-self:flex-end;margin-top:68px}
.profile-avatar-wrap>.profile-life-character{position:absolute;right:-9px;bottom:-8px}
.avatar.sm img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile-permanent-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 24px 13px}.profile-permanent-tools .social-page-link{margin:0}.page-qr-action{font-size:12px;padding:8px 10px;min-height:40px}
.page-qr-dialog{max-width:430px;margin:auto;text-align:center}.page-qr-preview{display:block;width:min(320px,100%);height:auto;margin:0 auto 12px;image-rendering:auto}.page-qr-address{display:inline-block;text-decoration:underline;text-underline-offset:4px;padding:10px 4px;font-weight:600;overflow-wrap:anywhere;margin:12px 0}.page-qr-dialog .prose{font-size:14px;line-height:1.6;text-align:left}.page-qr-downloads{display:flex;gap:9px;margin:20px 0}.page-qr-downloads>a{flex:1;justify-content:center}.page-qr-dialog details{text-align:left;margin-top:14px}.page-qr-dialog summary{cursor:pointer;font-size:13px;padding:8px 0}.page-qr-settings{border-top:1px solid var(--line)}.page-qr-settings h2{font-size:19px;margin-bottom:8px}.page-qr-settings p{font-size:13px;line-height:1.6;margin-bottom:10px}
@font-face{font-family:ArchiveBrandSerif;src:url('/static/assets/fonts/CormorantGaramond-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
.topbar .brand .brand-title{font-family:ArchiveBrandSerif,serif;font-weight:500;gap:0;text-transform:uppercase;line-height:1.05;letter-spacing:.025em}
.topbar .brand .brand-title>.brand-line{font-family:inherit;font-size:18px;font-weight:500;line-height:1.1;white-space:nowrap;max-width:none;color:#5c2c13}
.topbar .brand .brand-title>.brand-line:last-child{color:#547b42;font-size:16px;letter-spacing:.06em}
.navigation-section-label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;padding:22px 14px 7px}.navigation-popover .account-summary{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.account-summary strong{display:block}.account-summary small{display:block;color:var(--muted);margin-top:4px}
.navigation-popover .account-logout{border:0;background:none;display:flex;gap:12px;align-items:center;width:100%;padding:14px 16px;font:inherit;text-align:left;color:#8b3b32;cursor:pointer}
.archive-help-panel,.archive-help.with-help-obstacle .archive-help-panel{position:fixed;top:90px;bottom:24px;right:24px;width:420px;max-width:calc(100vw - 32px);max-height:none;display:flex;flex-direction:column}
.archive-help-panel[hidden]{display:none}.archive-help-body,.archive-help.with-help-obstacle .archive-help-body{padding:0;min-height:0;max-height:none;overflow:hidden;display:flex;flex:1;flex-direction:column}
.archive-help-scroll{overflow-y:auto;min-height:90px;flex:1;padding:16px;overscroll-behavior:contain;scrollbar-gutter:stable}
.archive-help-log{display:grid;overflow:visible;max-height:none;align-content:start}.archive-help-log:empty{display:none}
.archive-help-question{flex-shrink:0;margin:0 14px;padding:8px}.archive-help-question textarea{resize:none;max-height:100px;min-height:44px;font-size:14px}
.archive-help-tools{display:flex;justify-content:space-between;gap:12px;padding:8px 16px;border-top:1px solid var(--line)}.archive-help-tools button{padding:5px 0;background:none;border:0;font:inherit;color:#38634b;font-size:12px;cursor:pointer}.archive-help-tools button[hidden]{display:none}
.archive-help-error{margin:0;padding:6px 16px;max-height:90px;overflow:auto}.archive-help-footnote,.archive-help-bottom{margin:7px 16px;font-size:11px}.archive-help-bottom{margin-bottom:10px}.archive-help-body>[data-help-availability]{display:none}
.archive-help-message p{font-size:14px;line-height:1.6}.archive-help-header{padding:14px 16px}.archive-help-launcher{font-size:13px}
.journey-intro{padding:26px;margin-bottom:20px;background:#f0f4ef;border:1px solid var(--line);border-radius:14px}.journey-intro h2{font-size:25px;margin-bottom:10px}.journey-intro p{color:var(--muted);max-width:65ch;line-height:1.65}.journey-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.journey-secondary{margin:16px 0}.journey-secondary>summary{padding:16px;cursor:pointer;font-weight:600}
@media(max-width:700px){
 .settings-tabs{gap:2px}.settings-tabs a{font-size:12px;padding:10px 8px}.personal-field-summary{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:14px 10px}.personal-field-summary>span{grid-row:2;grid-column:1;font-size:13px}.personal-field-summary small{grid-column:2;grid-row:1/3}.personal-field-summary::after{display:none}.personal-field-editor{grid-template-columns:1fr;gap:18px;padding:4px 10px 20px}
 .archive-help-panel,.archive-help.with-help-obstacle .archive-help-panel{top:0;right:0;bottom:0;width:100%;max-width:none;border-radius:0;border:0;z-index:80;height:100dvh}.archive-help-body{padding-bottom:env(safe-area-inset-bottom)}.archive-help-scroll{padding:14px}.archive-help-header{padding-top:max(14px,env(safe-area-inset-top))}
.journey-intro{padding:20px}.journey-actions .btn{flex:1 1 150px}
}

@media(min-width:901px){#navigation .nav-item{padding:9px 12px;min-height:39px;gap:10px;font-size:14px}#navigation{gap:2px}.navigation-section-label{padding-top:13px}}

.ws-optional-fields{grid-column:1/-1;border-top:1px solid var(--line);padding-top:14px}.ws-optional-fields>summary{cursor:pointer;padding:10px 0;font-weight:600}.ws-next-step{padding:20px 24px;background:#f0f4ef;border:1px solid var(--line);border-radius:12px;margin:18px 0}.ws-next-step p{margin:9px 0;color:var(--muted);line-height:1.6}.ws-next-step h2{font-size:20px}

@media(max-width:700px){
 .page-title.settings-section-heading{flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:12px;margin-bottom:10px}
 nav.settings-tabs{flex-wrap:nowrap!important;overflow-x:auto;gap:3px;padding-bottom:7px;margin-bottom:14px;scrollbar-width:thin}
 nav.settings-tabs>a{flex:0 0 auto;width:auto;white-space:nowrap;padding:10px 9px}
 .archive-help .archive-help-launcher{width:46px;min-width:46px;height:46px;min-height:46px;padding:12px;justify-content:center;overflow:hidden}
 .archive-help .archive-help-launcher>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
 .archive-help .archive-help-launcher>svg{width:22px;min-width:22px;height:22px}
}

@media(min-width:901px){#sidebar #navigation>.nav-item{padding:9px 12px;min-height:39px;font-size:14px}}
@media(max-width:700px){.page-title.settings-section-heading{flex-wrap:nowrap!important}.settings-section-heading>div{min-width:0;flex:1;width:auto!important}.settings-section-heading>.profile-icon-btn{flex:0 0 44px}}

@media(max-width:700px){
 .profile-identity>.profile-life-character{top:9px;right:12px;width:34px;height:44px}.profile-identity>.profile-life-character img{height:44px}.profile-identity>.profile-life-character.is-memory img{height:47px;top:-1px}
 .profile-identity:has(>.profile-life-character) .profile-identity-text{padding-right:36px}.profile-identity:has(>.profile-life-character) .profile-identity-actions{margin-top:6px}
 .profile-permanent-tools{padding:4px 12px 10px;gap:5px}.profile-permanent-tools .btn{padding:7px 8px;font-size:11px}.profile-permanent-tools .social-path{font-size:11px}
 .topbar .brand .brand-title>.brand-line{font-size:13px}.topbar .brand .brand-title>.brand-line:last-child{font-size:12px;letter-spacing:.035em}
}
@media(max-width:350px){.topbar .brand .brand-title>.brand-line{font-size:11px}.topbar .brand .brand-title>.brand-line:last-child{font-size:10px}}

@media(max-width:700px){
 .profile-permanent-tools{flex-wrap:nowrap;gap:8px}
 .profile-permanent-tools .social-page-link{display:flex;align-items:center;flex:0 1 auto;width:auto;min-width:0;max-width:none;padding:0!important;margin:0!important}
 .profile-permanent-tools .social-path{display:none}
 .profile-permanent-tools .page-qr-action{flex:0 0 auto}
}

.post-friends-picker{border:1px solid var(--line);border-radius:10px;margin:0 16px 16px;padding:14px}.post-friends-picker[hidden]{display:none}.post-friends-picker legend{font-size:13px;font-weight:600;padding:0 5px}.post-friends-picker>[data-friend-choices]{max-height:230px;overflow:auto;overscroll-behavior:contain}.post-friend-option{display:flex;gap:10px;align-items:center;padding:10px 4px;font-size:14px}.post-friend-option[hidden]{display:none}.post-friend-option input{width:18px;height:18px;accent-color:var(--green)}

.journal-post .journal-post-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;min-height:58px;padding:8px 18px;border-top:1px solid var(--line)}
.post-primary-actions,.post-secondary-actions{display:flex;align-items:center;gap:12px;min-width:0}.post-primary-actions{flex:1}.post-secondary-actions{flex:none}
.journal-post-actions .reaction-bar{flex:0 1 auto;padding:0;min-width:0}.journal-post-actions .reaction-bar-main{gap:7px;flex-wrap:nowrap}.journal-post-actions .reaction-trigger{padding:7px 8px;min-height:38px;font-size:12px}.journal-post-actions .reaction-total{font-size:12px;white-space:nowrap}.journal-post-actions [data-reaction-total][aria-label="Пока нет откликов"]{display:none}
.journal-post-actions .reaction-counts{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.journal-post-actions .btn{font-size:12px;min-height:38px;padding:7px 9px;white-space:nowrap}.journal-post-actions .btn svg{width:19px;height:19px}.journal-post-actions .post-origin{margin:0}.journal-post-status{padding:9px 18px;font-size:12px}
@media(max-width:660px){.journal-post .journal-post-actions{padding:7px 10px;gap:6px;min-height:54px}.post-primary-actions,.post-secondary-actions{gap:4px}.journal-post-actions .reaction-trigger>span{display:none}.journal-post-actions .reaction-trigger{padding:6px;gap:4px}.journal-post-actions .reaction-caption{display:none}.journal-post-actions .btn{font-size:11px;padding:7px 5px}.post-secondary-actions .post-origin{display:none}.journal-post-actions .reaction-bar-main{gap:4px}.journal-post-actions .reaction-total{font-size:11px}}

.reaction-trigger{touch-action:pan-y;user-select:none;-webkit-user-select:none}.reaction-trigger.is-selected .reaction-icon{color:#b5454f}.reaction-trigger.is-selected .reaction-icon path{fill:#b5454f;stroke:#b5454f}.journal-post-actions .reaction-trigger>.icon:last-child{display:none}

/* Source: modules/semeynyy-arkhiv-zhivaya-pamyat-header-brand-v1.72.css */
/* Original transparent symbol, with legible separate serif lettering. */
.topbar .brand{width:250px;flex:none;gap:10px;align-items:center}
.topbar .brand .brand-emblem{display:block;flex:none;width:54px;height:56px;object-fit:contain;background:transparent}
.topbar .brand .brand-title{display:grid;gap:2px;justify-items:center;max-width:none;font-family:ArchiveBrandSerif,serif;font-weight:500;text-align:center}
.topbar .brand .brand-title>.brand-line{max-width:none;font-size:18px;line-height:1.08;letter-spacing:.015em;color:#5c2c13;text-align:center;white-space:nowrap}
.topbar .brand .brand-title>.brand-line:last-child{display:flex;align-items:center;gap:7px;font-size:16px;letter-spacing:.035em;color:#547b42}
.topbar .brand .brand-line:last-child::before,.topbar .brand .brand-line:last-child::after{content:"";width:14px;height:1px;background:currentColor}
@media(max-width:850px){.topbar .brand{width:240px;gap:8px}.topbar .brand .brand-title>.brand-line{font-size:17px}.topbar .brand .brand-title>.brand-line:last-child{font-size:16px}}
@media(max-width:660px){.topbar .brand{width:auto;flex:1;min-width:0;gap:7px}.topbar .brand .brand-emblem{width:40px;height:42px}.topbar .brand .brand-title>.brand-line{font-size:15px}.topbar .brand .brand-title>.brand-line:last-child{font-size:13px;gap:4px}.topbar .brand .brand-line:last-child::before,.topbar .brand .brand-line:last-child::after{width:10px}}
@media(max-width:350px){.topbar .brand .brand-emblem{width:32px;height:36px}.topbar .brand .brand-title>.brand-line{font-size:13px}.topbar .brand .brand-title>.brand-line:last-child{font-size:12px}}
/* The old hamburger column no longer has a control: the mobile menu is below.
   Give that width back to the original emblem and lettering, never cover them. */
@media(max-width:760px){
 .topbar .topbar-inner{display:flex;flex-wrap:nowrap;gap:6px;padding-inline:10px}
 .topbar .brand{flex:1;min-width:0;width:auto;margin:0}
 .topbar .header-actions{flex:none;margin-left:auto}
}
@media(max-width:400px){
 .topbar .brand{gap:5px}
 .topbar .brand .brand-emblem{width:34px;height:40px}
 .topbar .brand .brand-title>.brand-line{font-size:13px}
 .topbar .brand .brand-title>.brand-line:last-child{font-size:11.5px;gap:3px}
 .topbar .brand .brand-line:last-child::before,.topbar .brand .brand-line:last-child::after{width:8px}
}
@media(max-width:350px){
 .topbar .brand .brand-emblem{width:29px;height:36px}
 .topbar .brand .brand-title>.brand-line{font-size:12px}
 .topbar .brand .brand-title>.brand-line:last-child{font-size:11px}
 .topbar .header-actions .icon-btn,.topbar .header-actions .account-button{width:32px;min-width:32px;padding-inline:4px}
}

/* Source: modules/conversation.css */
/* Operate: a contained conversation, with one scrolling region per column. */
.messages-view{height:calc(100dvh - 154px);min-height:410px;max-width:1200px;margin:0 auto}
.messages-view .messages-layout{height:100%;min-height:0;display:grid;grid-template-columns:290px minmax(0,1fr);overflow:hidden;border-radius:16px}
.messages-view .thread-list{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;padding:0;border-right:1px solid var(--border,#e0e5dc)}
.messages-view .thread-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 14px 8px;flex:none;border:0}
.thread-list-head h1{font-size:19px;margin:0;line-height:1.3}.thread-list-head .btn{padding:7px;min-height:34px;font-size:0;gap:0}.thread-list-head .btn svg{width:20px;height:20px}
.thread-search{display:flex;gap:7px;align-items:center;background:#f1f4ee;border-radius:9px;margin:5px 12px 12px;padding:9px 10px;flex:none}.thread-search svg{width:18px;height:18px;color:#566b5c}.thread-search input{width:100%;min-width:0;font:inherit;font-size:13px;border:0;outline:0;background:none;color:#263e31}
.thread-list-items{min-height:0;overflow-y:auto;flex:1;padding:0 6px;scrollbar-width:thin}.thread-privacy{padding:12px;font-size:11px;border-top:1px solid #e2e8de;flex:none}
.messages-view .thread-item{width:100%;padding:12px 9px;gap:10px;border:0;border-radius:9px;display:flex;align-items:center;min-height:75px;background:transparent;margin:2px 0}.messages-view .thread-item[hidden]{display:none}.messages-view .thread-item.selected{background:#e5eee3}.thread-item>.avatar{width:43px;height:43px;flex:none}.thread-item>div:not(.avatar){min-width:0;flex:1}.thread-item strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-item p{font-size:12px;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.thread-item [data-presence-user-id]{display:none}.messages-view .thread-date{font-size:9px;max-width:48px;align-self:flex-start;padding-top:4px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.messages-view .conversation{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;background:#fffefa}
.messages-view .conversation-head{flex:none;gap:10px;border-bottom:1px solid #e2e7df;background:white;min-height:66px;padding:10px 16px}.conversation-peer{min-width:0;flex:1;padding:3px 0;text-align:left;background:none;border:0;cursor:pointer;font:inherit;color:#243f31}.conversation-peer h2{margin:0 0 3px}.conversation-peer:hover h2{text-decoration:underline;text-underline-offset:3px}.conversation-peer>span{display:block}.conversation-peer>.muted{font-size:10px;color:#526650}
.messages-view .conversation-history{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:9px;padding:18px 22px;scrollbar-width:thin}.messages-view .message-bubble{width:fit-content;max-width:82%;border-radius:13px;box-shadow:none;padding:9px 12px}.messages-view .message-bubble.outgoing{align-self:flex-end;background:#e8f0e5}.messages-view .message-bubble.incoming{align-self:flex-start;background:#f0f2ec}.messages-view .message-bubble p{font-size:14px;line-height:1.55}.messages-view .message-bubble time{font-size:10px;color:#56644e}.messages-view .mc-composer-shell{border-top:1px solid #e2e7df;background:white;flex:none}.messages-view .mc-composer{padding:10px 12px}.messages-view .mc-record-button{background:#eef3e9;color:#315e46;border:1px solid #d7e2d1}.messages-view .mc-record-button:hover{background:#e0ebd9}.mc-error:empty,.mc-live:empty{display:none}
.conversation-info{position:absolute;inset:0 0 0 auto;width:min(370px,100%);background:white;z-index:15;border-left:1px solid #dce4d7;box-shadow:-12px 4px 36px #233c3112;display:flex;flex-direction:column;min-height:0;overflow:hidden}.peer-panel-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px}.peer-panel-head h2{font-size:14px;margin:0}.peer-identity{text-align:center;padding:12px 18px 22px}.peer-avatar-large{width:82px;height:82px;font-size:25px;margin:0 auto 12px}.peer-identity h3{font-size:18px;margin:0 0 14px}.peer-identity .btn{font-size:12px;min-height:36px;padding:8px 18px}.peer-notifications{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-top:1px solid #e3e8df;border-bottom:1px solid #e3e8df;background:none;padding:15px 18px;font:inherit;font-size:13px;color:#304f3b;cursor:pointer}.peer-notifications svg{width:22px;height:22px}.peer-notifications strong{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#526650}.peer-shared-head{padding:16px 12px 0}.peer-shared-head h3{font-size:13px;margin:0 0 13px}.peer-tabs{display:flex;gap:4px;border-bottom:1px solid #e1e8dc}.peer-tabs button{border:0;background:none;padding:10px 8px;color:#53694f;font:inherit;font-size:12px;cursor:pointer;border-bottom:2px solid transparent}.peer-tabs button[aria-selected=true]{color:#205c42;border-bottom-color:#205c42;font-weight:600}.peer-shared-items{flex:1;overflow-y:auto;min-height:0;padding:12px;scrollbar-width:thin}.peer-empty{font-size:13px;line-height:1.6;color:#526650;padding:12px 4px}.peer-shared-items .mc-message-attachments{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0}.peer-shared-items .mc-shared-file:has(img){padding:0;border:0;display:block;background:none}.peer-shared-items .mc-shared-file>img{width:100%;height:130px;object-fit:cover;border-radius:5px}.peer-shared-items .mc-shared-file:has(img)>div{font-size:0;padding:2px}.peer-shared-items .mc-shared-file:has(img) strong,.peer-shared-items .mc-shared-file:has(img) span{display:none}.peer-shared-items .mc-shared-file:not(:has(img)),.peer-shared-items .mc-shared-media{grid-column:1/-1}.peer-shared-items video{width:100%}
.mc-voice-player{display:flex;align-items:center;gap:8px;width:min(275px,100%);min-width:190px;padding:3px 0}.mc-voice-player audio{display:none}.mc-voice-play,.mc-transcribe{width:32px;height:32px;min-width:32px;border:0;border-radius:50%;background:#d8e7d0;color:#26543e;cursor:pointer;font:inherit;display:flex;align-items:center;justify-content:center}.mc-voice-play svg{width:17px;height:17px;fill:currentColor;stroke:none}.mc-voice-player input{width:100%;min-width:40px;accent-color:#356b4c}.mc-voice-time{font-size:10px;font-variant-numeric:tabular-nums;color:#405f45;white-space:nowrap}.mc-transcribe{font-family:Georgia,serif;font-weight:bold;background:transparent;border:1px solid #bbcdb2;font-size:16px}.mc-transcribe:hover{background:#dce8d5}.mc-transcript{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;color:#304b37}.mc-transcript[hidden]{display:none}.mc-media-tools{display:flex;align-items:center;gap:8px}.mc-transcribe[disabled]{opacity:.55;cursor:wait}
@media(max-width:1000px) and (min-width:761px){.messages-view .messages-layout{grid-template-columns:245px minmax(0,1fr)}.messages-view .thread-date{display:none}.messages-view .conversation-history{padding:15px 12px}}
@media(max-width:760px){.messages-view{height:auto;min-height:0}.messages-view.mc-chat-active{height:100%;max-width:none}.messages-view .messages-layout{grid-template-columns:1fr}.mc-chat-active .thread-list{display:none}.messages-view:not(.mc-chat-active) .thread-list{min-height:70dvh}.mc-chat-active .conversation-history{padding:12px 10px}.messages-view .message-bubble{max-width:90%}.conversation-info{width:100%;border:0;box-shadow:none}.messages-view .conversation-head{padding:8px 10px;min-height:60px}.peer-shared-items .mc-shared-file>img{height:155px}.mc-chat-active .mc-composer{padding:6px}.mc-chat-active .conversation-info .peer-panel-head{padding-top:max(12px,env(safe-area-inset-top))}}

/* Keep the journal readable; the surrounding page carries supporting links. */
.profile-wall-columns{display:grid;grid-template-columns:minmax(0,620px) minmax(260px,1fr);gap:20px;align-items:start;width:100%;max-width:none;margin:20px 0 0}.profile-wall-columns .profile-wall-stream{min-width:0;width:100%;max-width:none;margin:0}.profile-wall-aside{display:grid;gap:18px;min-width:0}.wall-connections{padding:17px 15px}.wall-connections header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:8px}.wall-connections h2{font-size:14px;margin:0}.wall-connections h2 span{font-weight:400;color:#566a55}.wall-connections header>a{font-size:12px;color:#315d45}.wall-connections p{font-size:12px;line-height:1.7;color:#526650;margin:0}.wall-friends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 6px}.wall-friends>a{display:flex;align-items:center;flex-direction:column;gap:7px;text-decoration:none;color:#304b37;text-align:center;font-size:10px;min-width:0}.wall-friends>a>span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wall-friends .profile-avatar{width:46px;height:46px}.wall-groups{display:grid;gap:13px}.wall-groups>a{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;color:#304b37;text-decoration:none}.wall-groups svg{width:28px;height:28px;flex:none;color:#54764c}.profile-wall-aside .profile-about .card-head{padding:17px 15px}.profile-wall-aside .profile-about h2{font-size:14px}.profile-wall-aside .profile-about .card-body{padding:0 15px 17px;font-size:12px}.profile-wall-aside .profile-about .prose{font-size:12px;line-height:1.7}.profile-wall-aside .profile-facts{font-size:11px}.profile-wall-aside .profile-facts>div{display:block}.profile-wall-aside .profile-facts dd{margin:4px 0 10px}.profile-wall-aside .btn{white-space:normal;font-size:11px;padding:8px}
@media(max-width:1100px){.profile-wall-columns{grid-template-columns:minmax(0,1fr);justify-content:stretch}.profile-wall-aside{grid-template-columns:1fr 1fr;grid-row:1}.profile-wall-aside:has(>.profile-about){display:none}.wall-connections{padding:12px}.wall-connections header{margin-bottom:10px}.wall-friends{grid-template-columns:repeat(3,minmax(0,1fr))}.wall-friends .profile-avatar{width:36px;height:36px}.wall-groups{gap:8px}}
@media(max-width:660px){.profile-wall-columns{display:flex;flex-direction:column;gap:15px;margin-top:15px}.profile-wall-columns .profile-wall-stream{max-width:none}.profile-wall-aside{display:none}}

.mc-photo-view{display:block;line-height:0}.mc-photo-view img{width:70px;height:70px;border-radius:7px;object-fit:cover}.peer-shared-items .mc-shared-file:has(.mc-photo-view){display:block;padding:0;border:0}.peer-shared-items .mc-photo-view img{width:100%;height:130px}.peer-shared-items .mc-shared-file:has(.mc-photo-view) strong,.peer-shared-items .mc-shared-file:has(.mc-photo-view) span{display:none}
.group-post-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.group-post-actions .reaction-bar{flex:0 1 auto;min-width:0;padding:0}.group-post-actions .reaction-counts{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.group-post-actions .reaction-total[aria-label="Пока нет откликов"]{display:none}.group-post-actions .btn,.group-post-actions .reaction-trigger{min-height:38px;font-size:12px;padding:7px 8px}.group-post-actions .reaction-trigger>.icon:last-child{display:none}
@media(max-width:660px){.group-post-actions .reaction-trigger>span{display:none}.group-post-actions .reaction-total{font-size:11px}.peer-shared-items .mc-photo-view img{height:155px}}

/* Keep the wall aligned with its profile header, while bounding reading width. */
.profile-hero,.profile-wall-columns{max-width:964px;margin-left:auto;margin-right:auto}
.profile-wall-columns .journal-post-header{padding:14px 16px 10px;gap:10px}
.profile-wall-columns .journal-post-header .profile-avatar{width:38px;height:38px}
.profile-wall-columns .journal-post .post-media{margin:8px 0 0}
.profile-wall-columns .journal-post .journal-post-actions{min-height:50px;padding:5px 12px}


@media(max-width:660px){.profile-wall-columns .journal-post .journal-post-actions{padding:5px 8px}.profile-wall-columns .journal-post-meta{font-size:10px}}

@media(max-width:1100px){.profile-hero,.profile-wall-columns{max-width:620px}}

/* Source: modules/discovery.css */
/* Scope the new editorial entrance; approved profiles/navigation keep their styles. */
.discovery-page{--discovery-paper:#fbfaf6;max-width:1240px;margin:auto;color:#233f32}.discovery-page p{hyphens:none;text-align:left}.discovery-kicker{display:block;color:#6e7e5f;font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:14px}.discovery-hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:12px;padding:32px 0 38px}.discovery-hero-copy{position:relative;z-index:1}.discovery-page h1,.discovery-page h2,.discovery-section-guide h2{font-family:ArchiveBrandSerif,Georgia,serif;font-weight:500;letter-spacing:-1.1px}.discovery-page h1{font-size:clamp(44px,4.1vw,65px);line-height:1.02;margin:0 0 23px}.discovery-lead{max-width:495px;font-size:16px;line-height:1.75;color:#647262}.discovery-hero-art{margin:0 -28px 0 -12px}.discovery-hero-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}.discovery-search{margin:27px 0 21px;max-width:530px}.discovery-search-modes{display:flex;gap:22px;margin-bottom:12px}.discovery-search-modes button{padding:9px 0;color:var(--muted);border:0;border-bottom:2px solid transparent;background:none;display:flex;gap:8px;align-items:center;font-size:14px}.discovery-search-modes [aria-pressed=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}.discovery-search-entry{display:flex;gap:7px;padding:6px;border:1px solid #cbd6c6;border-radius:12px;background:#fff;box-shadow:0 4px 20px #344a2810}.discovery-search-entry input{min-width:0;flex:1;border:0;outline:none;background:transparent;padding:10px 11px;font-size:15px;color:var(--ink)}.discovery-search-entry:focus-within{outline:2px solid #8ca87c;outline-offset:3px}.discovery-search-entry .btn{min-height:47px;font-size:13px;padding:10px 15px}.discovery-search>p{font-size:12px;color:var(--muted);padding:11px 0 0}.discovery-save-link{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.discovery-save-link strong{color:var(--green);font-weight:600}.discovery-save-link strong .icon{width:15px}.discovery-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 18px;border-bottom:1px solid var(--line)}.discovery-welcome .discovery-kicker{margin:0 0 3px;font-size:10px}.discovery-welcome p{font-size:15px}.discovery-welcome>a,.discovery-inline-links a,.discovery-guide-links a{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600}.discovery-beginnings{padding:28px 0 52px}.discovery-section-title{max-width:680px}.discovery-page h2{font-size:38px;line-height:1.12}.discovery-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:28px}.discovery-paths article{border-top:1px solid #c9d5c2;padding-top:20px}.discovery-path-icon{color:#7e9566;display:block;margin-bottom:14px}.discovery-path-icon .icon{height:28px;width:28px}.discovery-paths h3{font-size:17px;margin-bottom:10px}.discovery-paths p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:15px;max-width:320px}.discovery-paths a{font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}.discovery-paths a .icon{width:16px}.discovery-place-story{position:relative;min-height:400px;overflow:hidden;border-radius:18px;background:#e7eddf;margin-bottom:55px}.discovery-place-story>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.discovery-place-story>div{position:relative;z-index:1;max-width:570px;margin:28px;padding:24px 28px;background:#fbfaf6ed;border-radius:12px}.discovery-place-story p,.discovery-album-story p{font-size:14px;line-height:1.8;color:var(--muted);margin:17px 0}.discovery-place-story a{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600}.discovery-album-story{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px;align-items:center;margin:0 0 58px}.discovery-album-story>img{width:100%;height:auto;border-radius:14px}.discovery-inline-links{display:flex;gap:17px;flex-wrap:wrap}.discovery-explore{padding:30px 0;display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.discovery-explore h2{font-size:32px}.discovery-explore>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:18px}.discovery-explore a{display:flex;gap:10px;align-items:center;font-size:13px}.discovery-footer{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;padding:30px 0 12px;color:var(--muted);font-size:12px}.discovery-footer nav{display:flex;flex-wrap:wrap;gap:16px}.discovery-footer nav a{display:flex;gap:6px;align-items:center}.discovery-footer nav .icon{width:15px}.discovery-footer small{flex-basis:100%;font-size:11px}.discovery-home{background:#fbfaf6}.discovery-home .app-layout{grid-template-columns:246px minmax(0,1fr)}.discovery-home .right-rail{display:none}.discovery-guest .app-layout,.discovery-guest .app-layout.wide-view{display:block;max-width:1300px;padding-top:12px}.discovery-guest .sidebar,.discovery-guest .mobile-nav,.discovery-guest .mobile-menu,.discovery-guest .global-search,.discovery-guest .navigation-add,.discovery-guest #notification-bell,.discovery-guest .navigation-mobile-search{display:none!important}.discovery-guest .topbar-inner{max-width:1300px}.discovery-guest .brand{margin-right:auto}.discovery-guest #header-actions:before{content:'История вашей семьи начинается здесь';color:var(--muted);font-size:12px;margin-right:20px}.discovery-guest .help-widget-launcher{bottom:18px}
.discovery-section-guide{display:grid;grid-template-columns:1.25fr .75fr;align-items:stretch;background:#fbfaf6;border:1px solid #e0e5d7;border-radius:16px;overflow:hidden;margin:0 0 26px}.discovery-section-guide>div{padding:24px 27px}.discovery-section-guide h2{font-size:32px;line-height:1.12;margin:14px 0 10px}.discovery-section-guide p{color:var(--muted);font-size:13px;line-height:1.8;text-align:left;max-width:570px}.discovery-section-guide>img{width:100%;height:100%;max-height:270px;object-fit:cover;mix-blend-mode:multiply}.discovery-back{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:var(--muted)}.discovery-back .icon{width:14px}.discovery-guide-links{display:flex;flex-wrap:wrap;gap:17px;margin-top:18px}.discovery-guide-links .icon{width:16px}.discovery-section .editorial-media{display:none}.discovery-section>.discovery-section-guide:only-child{margin-bottom:0}
.gt-canvas.gt-vertical{display:flex;flex-direction:column;align-items:stretch;gap:calc(54px * var(--gt-scale,1));padding:10px 8px 25px}.gt-vertical .gt-generation{position:relative;min-width:100%}.gt-vertical .gt-generation>h3{text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:16px}.gt-generation-people{display:flex;justify-content:center;align-items:stretch;gap:calc(26px * var(--gt-scale,1))}.gt-vertical .gt-person{width:calc(220px * var(--gt-scale,1));flex:none;z-index:1;background:#fff}.gt-parent-placeholder{width:calc(220px * var(--gt-scale,1));min-height:140px;border:1px dashed #b9c9ae;background:#f8faf3;border-radius:12px;color:var(--green);display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px}.gt-add-relative{display:flex;gap:8px;align-items:center;padding:15px 22px;background:#f8faf4;border-bottom:1px solid var(--line);flex-wrap:wrap}.gt-add-relative p{font-size:12px;color:var(--muted);margin-right:auto}.gt-vertical .gt-person-links{gap:7px}.gt-person .gt-relative-button{padding:5px 0;background:none;border:0;color:var(--green);font-size:11px;text-align:left}.gt-family-hint{font-size:13px;color:var(--muted);padding:16px 22px;line-height:1.7}.relative-form .form-field{margin-bottom:0}.relative-form [hidden]{display:none!important}.relative-form .relative-created{background:var(--green-soft);padding:12px;border-radius:8px;font-size:13px}.group-collection-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);margin:0 0 18px;overflow:auto}.group-collection-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:13px 8px;color:var(--muted);font-weight:600;white-space:nowrap}.group-collection-tabs [aria-pressed=true]{border-bottom-color:var(--green);color:var(--green)}.group-detail-aside .group-details-fold[open] summary{border-bottom:1px solid var(--line)}
@media(max-width:1100px){.discovery-page h1{font-size:49px}.discovery-hero{grid-template-columns:1.15fr .85fr}.discovery-hero-art{margin-right:0}.discovery-search-entry{flex-wrap:wrap}.discovery-search-entry .btn{flex-basis:100%}.discovery-search-entry input{height:40px}.discovery-page h2{font-size:32px}.discovery-paths{gap:20px}.discovery-album-story{grid-template-columns:1fr}.discovery-album-story img{max-height:300px;object-fit:cover}.discovery-section-guide{grid-template-columns:1.4fr .6fr}.discovery-section-guide h2{font-size:29px}}
@media(max-width:760px){.discovery-home .app-layout{display:block}.discovery-hero{grid-template-columns:1fr;padding:27px 0 0;gap:0}.discovery-page h1{font-size:46px;max-width:580px}.discovery-lead{font-size:15px}.discovery-hero-art{margin:0 auto;width:min(100%,460px)}.discovery-hero-art img{max-height:380px;object-fit:contain}.discovery-search-entry{flex-wrap:nowrap}.discovery-search-entry .btn{flex-basis:auto;font-size:12px;min-width:115px}.discovery-search-entry input{font-size:16px;width:130px}.discovery-search-modes{gap:25px}.discovery-search-modes button{min-height:44px}.discovery-guest #header-actions:before{display:none}.discovery-guest .app-layout{padding:8px 20px 80px}.discovery-guest .topbar-inner{flex-wrap:nowrap;min-height:76px}.discovery-welcome{align-items:flex-start}.discovery-welcome>a{font-size:11px}.discovery-paths{grid-template-columns:1fr;gap:23px}.discovery-paths article{display:grid;grid-template-columns:35px 1fr;gap:0 10px}.discovery-path-icon{grid-row:1/4;margin:3px 0}.discovery-paths p{max-width:none;margin-top:7px}.discovery-beginnings{padding:15px 0 32px}.discovery-page h2{font-size:31px}.discovery-place-story{min-height:460px;margin-bottom:34px;display:flex;align-items:flex-start}.discovery-place-story>div{margin:15px;padding:21px;max-width:none}.discovery-place-story h2 br{display:none}.discovery-place-story>img{object-position:70% bottom}.discovery-album-story{gap:19px;margin-bottom:35px}.discovery-album-story>div{order:1}.discovery-album-story>img{order:0}.discovery-explore{grid-template-columns:1fr;gap:24px}.discovery-explore>div:last-child{grid-template-columns:1fr;gap:18px}.discovery-footer{gap:20px}.discovery-footer nav{flex-direction:column}.discovery-section-guide{grid-template-columns:1fr}.discovery-section-guide>div{padding:20px}.discovery-section-guide>img{height:155px;max-height:155px;object-position:center 62%}.discovery-section-guide h2{font-size:29px}.discovery-section-guide p{font-size:13px}.discovery-guide-links{gap:13px}.discovery-guide-links a{min-height:35px}.gt-parent-placeholder{min-height:130px}.gt-add-relative{padding:14px}.gt-add-relative p{flex-basis:100%}}

/* Reference QA: keep the two-line serif hierarchy and a single search surface. */
.discovery-page h1{font-weight:600}.discovery-page h1>span{color:#715039}.discovery-guest .discovery-page h1{font-size:clamp(52px,4.9vw,72px)}
.discovery-hero-art img{mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
.discovery-search{padding:0 16px 3px;border:1px solid #e2e7dc;border-radius:14px;background:#ffffffcf;box-shadow:0 4px 25px #344a2808}.discovery-search-modes{margin-bottom:13px}.discovery-search-entry{box-shadow:none}.discovery-search>p{padding-bottom:9px}.discovery-section-guide:not(:has(>img)){grid-template-columns:1fr}.group-detail-grid.circle-one-column{grid-template-columns:minmax(0,1fr)}.group-detail-grid [hidden]{display:none!important}
.group-media-empty{padding:24px;background:#fff;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px}.discovery-art-note{display:block;font-size:10px;color:var(--muted);margin-top:8px}
@media(max-width:760px){.discovery-guest .discovery-page h1{font-size:44px}.discovery-search{padding:0 10px 3px}.discovery-search-entry{flex-wrap:wrap}.discovery-search-entry input{flex-basis:100%}.discovery-search-entry .btn{flex-basis:100%}.discovery-guest .discovery-hero-copy{padding-top:0}.discovery-hero-art{max-width:340px}.discovery-hero-art img{max-height:310px}.discovery-section-guide>div{min-width:0}}

.gt-vertical .gt-person{display:block;min-height:0;padding:14px}.gt-vertical .gt-person-top{margin-bottom:8px}.gt-vertical .gt-person-status:empty{display:none}.gt-vertical .gt-person-status:not(:empty){margin:7px 0}.gt-vertical .gt-person-links{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:7px;gap:8px}.gt-vertical .gt-relative-button{min-height:36px;display:inline-flex;gap:5px;align-items:center;padding:3px;font-size:11px}.gt-vertical .gt-relative-button .icon{width:15px}.gt-node-menu{position:relative;margin-left:auto}.gt-node-menu summary{display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;width:36px;min-height:36px;border-radius:8px;color:var(--green)}.gt-node-menu summary::-webkit-details-marker{display:none}.gt-node-menu summary:hover{background:var(--green-soft)}.gt-node-menu>div{position:absolute;z-index:6;right:0;top:100%;min-width:210px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 25px #243d2d20}.gt-node-menu>div a{display:flex;gap:8px;align-items:center;min-height:40px;padding:8px!important;font-size:12px!important}.gt-node-menu>div a .icon{width:16px}.gt-person:has(.gt-node-menu[open]){z-index:7}.gt-vertical .gt-person-name{font-size:14px}.gt-vertical .gt-place{margin:7px 0}.gt-vertical .gt-person-links{border-top:1px solid var(--line)}
@media(max-width:760px){.gt-node-menu summary,.gt-vertical .gt-relative-button{min-height:44px}}

/* Source: modules/knowledge.css */
/* Operate surface. Inherits the archive's existing green, paper, serif titles. */
.knowledge{min-width:0;max-width:1100px}.knowledge h1{font-family:Georgia,serif}.knowledge h2{font-size:20px;margin:0 0 12px}.knowledge p{line-height:1.65}.knowledge-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:22px}.knowledge-head p{max-width:68ch;color:var(--muted);margin-top:9px}.knowledge-privacy{display:inline-flex;gap:6px;align-items:center;color:var(--green);font-size:12px;white-space:nowrap}.knowledge-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow-x:auto}.knowledge-tabs a{display:inline-flex;align-items:center;gap:7px;padding:12px 14px;white-space:nowrap;border-bottom:2px solid transparent;color:var(--muted)}.knowledge-tabs a[aria-current]{border-color:var(--green);color:var(--green);font-weight:600}.knowledge-panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 20px;min-width:0}.knowledge-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.knowledge-search{display:flex;gap:10px;align-items:flex-end}.knowledge-search label{flex:1;margin:0;min-width:0}.knowledge-results{margin:22px 0 0;padding:0;list-style:none}.knowledge-results li{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.knowledge-results li>div{flex:1;min-width:0}.knowledge-results a{font-weight:600;color:var(--green)}.knowledge-results p{font-size:12px;color:var(--muted);margin:4px 0 0}.knowledge-type{color:var(--brown);font-size:12px}.knowledge-note{font-size:13px;color:var(--muted);max-width:70ch}.knowledge-form{display:grid;gap:14px}.knowledge-form .form-field{margin:0}.knowledge-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.knowledge-error{color:var(--danger);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.knowledge-error:empty{display:none}.knowledge-empty{padding:35px 16px;text-align:center;color:var(--muted)}.knowledge-empty h2{color:var(--ink);margin-top:12px}.knowledge-table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}.knowledge-table{border-collapse:collapse;width:100%;font-size:13px;min-width:550px}.knowledge-table caption{text-align:left;padding:12px;background:var(--cream)}.knowledge-table th,.knowledge-table td{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;max-width:300px;overflow-wrap:anywhere}.knowledge-table th{background:var(--green-soft)}.knowledge-state{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);padding:4px 9px;border-radius:5px;font-size:12px;color:var(--brown);background:var(--cream)}.knowledge-state.confirmed{background:var(--green-soft);color:var(--green)}.knowledge-state.disputed,.knowledge-state.failed{border-style:dashed;color:#8a352b;background:#fff6f2}.knowledge-claim{padding:20px 0;border-top:1px solid var(--line)}.knowledge-claim:first-child{border:0;padding-top:0}.knowledge-claim h3{font-size:16px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}.knowledge-citation{padding:12px 16px;margin:12px 0;border:1px solid var(--line);background:var(--cream);white-space:pre-wrap;overflow-wrap:anywhere}.knowledge-citation:empty{display:none}.knowledge-code{font-size:11px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.knowledge-drop{border:1px dashed #a4b8a2;padding:28px;background:var(--cream);text-align:center;border-radius:9px}.knowledge-drop:focus-within{outline:2px solid var(--green);outline-offset:3px}.knowledge-drop input{max-width:100%;display:block;margin:14px auto 0}.knowledge-progress{width:100%;accent-color:var(--green);height:12px;margin-top:15px}.knowledge-upload-row{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.knowledge-upload-row p{margin:4px 0;font-size:13px}.knowledge-form details{border-top:1px solid var(--line);padding-top:14px}.knowledge details summary{cursor:pointer;min-height:40px;align-content:center;color:var(--green)}.knowledge button:focus-visible,.knowledge a:focus-visible,.knowledge summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}.knowledge ::selection{background:var(--green-soft);color:var(--green-dark)}.knowledge input,.knowledge textarea{caret-color:var(--green)}.knowledge [hidden]{display:none!important}.knowledge-job{padding:16px 0;border-top:1px solid var(--line)}.knowledge-job h3{font-size:15px;margin-bottom:8px}.knowledge-job dl{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin:10px 0}.knowledge-job dt{color:var(--muted)}.knowledge-job dd{margin:4px 0}.knowledge-form textarea{min-height:90px}.knowledge-feedback{padding-top:14px;display:grid;gap:12px}.knowledge .btn{min-height:44px}
.knowledge :is(h1,h2,h3){word-break:normal;overflow-wrap:normal;hyphens:none}
#main .knowledge p:not(.knowledge-code),.knowledge strong{word-break:normal;overflow-wrap:normal;hyphens:auto}
.knowledge-citation{text-align:justify;text-align-last:start;text-justify:inter-word;hyphens:auto;overflow-wrap:break-word;word-break:normal}
.knowledge-code{hyphens:none}
@media(max-width:660px){.knowledge-head{display:block}.knowledge-privacy{margin-top:12px}.knowledge-panel{padding:18px 14px}.knowledge-search{flex-wrap:wrap}.knowledge-search label{flex-basis:100%}.knowledge-search .btn{width:100%}.knowledge-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:18px;overflow:visible}.knowledge-tabs a{justify-content:center;padding:12px 4px;font-size:12px;gap:5px;min-height:44px}.knowledge-tabs .icon{width:16px;height:16px}.knowledge-two{grid-template-columns:1fr}.knowledge-drop{padding:20px 12px}.knowledge-head h1{font-size:clamp(19px,6.5vw,28px)}}
@media(max-width:380px){.knowledge-tabs .icon{display:none}.knowledge-tabs a{font-size:11px}}
.knowledge-research-task{padding:18px 0;border-top:1px solid var(--line)}.knowledge-research-task:first-child{border-top:0;padding-top:0}.knowledge-research-task h3,.knowledge-evidence h3{font-size:16px;line-height:1.45;margin:0 0 10px}.knowledge-research-task h3 a{color:var(--green)}.knowledge-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.5;cursor:pointer}.knowledge-check input{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:var(--green)}.knowledge-research-result{margin-top:20px}.knowledge-evidence{padding:20px 0;border-top:1px solid var(--line)}.knowledge-gaps{padding:16px 0;border-top:1px solid var(--line)}.knowledge-gaps h3{font-size:16px;margin-bottom:10px}.knowledge-gaps ul{padding-left:24px;line-height:1.65}.knowledge-prose{max-width:70ch}.knowledge-photo{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:var(--cream);margin:12px 0}.knowledge-photo-versions{margin-top:22px}.knowledge-photo-version{padding:18px 0;border-top:1px solid var(--line)}.knowledge-photo-version h3{font-size:16px;margin-bottom:10px}.knowledge-photo-compare{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.knowledge-photo-compare figure{margin:0;min-width:0}.knowledge-photo-compare figcaption{font-size:13px;color:var(--muted);line-height:1.5}.knowledge-photo-selection{border-top:1px solid var(--line);padding-top:20px;margin-bottom:20px}.knowledge :is(input,select,textarea){max-width:100%;min-width:0}.knowledge .btn:disabled{opacity:.6;cursor:wait}
@media(max-width:660px){.knowledge-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.knowledge-tabs a{font-size:12px}.knowledge-photo-compare{grid-template-columns:minmax(0,1fr)}.knowledge-photo{max-height:400px}.knowledge-research-task h2{font-size:20px}.knowledge .knowledge-toolbar .btn{max-width:100%;white-space:normal;text-align:center}}

.knowledge-video-host iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:8px;background:#12382b}.knowledge-video-host:empty{display:none}
.knowledge-tools{display:flex;flex-wrap:wrap;gap:8px 24px;margin:-12px 0 20px}.knowledge-tools a{display:inline-flex;align-items:center;min-height:44px;word-break:normal;overflow-wrap:normal;hyphens:none}.knowledge-tools a[aria-current]{font-weight:700}.knowledge summary{min-height:44px;line-height:1.6;cursor:pointer}.knowledge :is(h1,h2,h3,summary,label){word-break:normal;overflow-wrap:normal;hyphens:none}.knowledge .knowledge-code{overflow-wrap:anywhere;hyphens:none}.knowledge :is(.knowledge-check,.check-row){display:flex;align-items:flex-start;gap:10px;line-height:1.6;min-height:44px}.knowledge :is(.knowledge-check,.check-row) input[type=checkbox]{flex:0 0 auto;margin-top:6px}.knowledge :is(.knowledge-check,.check-row) span{min-width:0}.knowledge textarea{width:100%}.knowledge [role=status]{line-height:1.6}
.knowledge-source-text{white-space:pre-wrap;line-height:1.8;max-height:600px;overflow:auto;overflow-wrap:break-word;hyphens:auto;padding:16px;background:var(--cream);border-radius:8px}.knowledge-source-text mark{background:#f2df9d;color:#18372b}.knowledge-source-player{display:block;width:100%;max-height:480px;margin:16px 0}.knowledge-source-region{margin:16px 0}.knowledge-source-region>div{position:relative;display:inline-block;max-width:100%;line-height:0}.knowledge-source-region img{max-width:100%;height:auto}.knowledge-source-region span{position:absolute;border:3px solid #c78a20;background:#efbe3826;box-sizing:border-box;pointer-events:none}.knowledge-source-region figcaption{font-size:13px;line-height:1.6;color:var(--muted)}.knowledge-segments{padding-left:24px;max-height:360px;overflow:auto}.knowledge-segments li{margin:8px 0}
@media(min-width:440px){.knowledge-source-text{text-align:justify;text-align-last:start}}
.knowledge-photo-current{margin:12px 0}.knowledge-photo-compare figure:last-child .knowledge-photo{border:1px solid var(--line)}
@media(min-width:900px){.knowledge-photo-compare{grid-template-columns:repeat(3,minmax(0,1fr))}}
.knowledge fieldset{min-inline-size:0;max-width:100%;padding:16px;border:1px solid var(--line);border-radius:8px;margin:16px 0}.knowledge legend{max-width:100%;white-space:normal;line-height:1.6;font-weight:600;word-break:normal;overflow-wrap:normal;hyphens:none}

/* Source: modules/admin-delegation.css */
.admin-delegation-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px max(16px,calc((100vw - 1440px)/2));background:#f8edcf;border-bottom:1px solid #bfa267;color:#294635}
.admin-delegation-banner>div:first-child{display:grid;gap:4px;min-width:0}
.admin-delegation-banner strong{overflow-wrap:normal;word-break:normal;hyphens:none}
.admin-delegation-banner span{font-size:.85rem;line-height:1.5}
.admin-delegation-banner .toolbar{flex-wrap:wrap;flex-shrink:0;margin:0}
@media(max-width:760px){.admin-delegation-banner{align-items:stretch;flex-direction:column;gap:10px}.admin-delegation-banner .toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.admin-delegation-banner .btn{white-space:normal;min-height:44px}}

/* Source: modules/knowledge-journal.css */
.knowledge-journal-card,.knowledge-journal-form{min-width:0}
.knowledge-journal-card h3,.knowledge-journal-card dd,.knowledge-journal-prose{overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.knowledge-journal-prose{white-space:pre-wrap;line-height:1.65;text-align:justify;text-justify:inter-word}
.knowledge-journal-literal{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;hyphens:none;text-align:start;line-height:1.65}
.knowledge [data-journal] dl{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,3fr);gap:.4rem 1rem;margin:1rem 0}
.knowledge [data-journal] dt{font-weight:600}
.knowledge [data-journal] dd{margin:0;min-width:0;overflow-wrap:anywhere}
.knowledge [data-journal] dd p{margin:0}
.knowledge [data-journal] textarea{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;hyphens:none}
.knowledge [data-journal] a:focus-visible,.knowledge [data-journal] summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:540px){.knowledge [data-journal] dl{grid-template-columns:1fr;gap:.25rem}.knowledge [data-journal] dd{margin-bottom:.65rem}.knowledge-journal-prose{text-align:start}}

/* Source: modules/knowledge-faces.css */
.knowledge-faces-consent{display:flex;align-items:flex-start;gap:.65rem;font-weight:650;line-height:1.5}.knowledge-faces-consent input{width:1.2rem;height:1.2rem;flex:none;margin:.15rem 0}.knowledge-faces-photo{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--border,#dcdedb)}.knowledge-faces-photo p{margin:.35rem 0}.knowledge-faces-photo .knowledge-toolbar{align-content:center;flex-wrap:wrap}.knowledge-faces-image{position:relative;width:fit-content;max-width:100%;margin:1rem 0}.knowledge-faces-image img{display:block;max-width:100%;height:auto}.knowledge-face-marker{position:absolute;box-sizing:border-box;border:3px solid #f5cd31;outline:1px solid #1c2925;pointer-events:none}.knowledge-face-marker>span{position:absolute;left:-3px;top:-1.5rem;background:#1c2925;color:#fff;padding:0 .35rem;font-size:.8rem;line-height:1.5rem;font-weight:700}.knowledge-faces-person{margin:1.25rem 0;padding-bottom:1.25rem;border-bottom:1px solid var(--border,#dcdedb)}.knowledge-faces-person form{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem;margin-top:1rem}.knowledge-faces-person label{display:grid;gap:.35rem;max-width:100%;min-width:0}.knowledge-faces-person input,.knowledge-faces-person select{max-width:100%;min-width:0;padding:.6rem;border:1px solid var(--border,#dcdedb);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit}.knowledge-faces-person [data-face-people]{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}.knowledge-faces-candidate{margin:1rem 0;padding:.75rem 0}.knowledge-faces button:focus-visible,.knowledge-faces input:focus-visible,.knowledge-faces select:focus-visible{outline:3px solid #236b50;outline-offset:3px}@media(max-width:600px){.knowledge-faces-photo{display:block}.knowledge-faces-photo .knowledge-toolbar{margin-top:.65rem}.knowledge-faces-person form>label{width:100%}.knowledge-faces button{min-height:44px;white-space:normal}.knowledge-faces .knowledge-toolbar{flex-wrap:wrap}}

/* Source: modules/knowledge-speech.css */
/* Transcript versions */
.mc-transcript{white-space:normal;overflow-wrap:anywhere;padding:10px 0;max-width:100%}.mc-transcript textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;font:inherit}.mc-transcript-state{flex-basis:100%;margin-left:40px;font-size:11px;color:var(--muted,#666);overflow-wrap:anywhere}.mc-voice-player{flex-wrap:wrap}.mc-voice-player input{flex:1;width:auto}.mc-transcript .mc-media-tools{display:flex;flex-wrap:wrap;gap:8px}

/* Source: modules/knowledge-videos.css */
/* RUTUBE catalogue: deliberate external player, readable Russian paragraphs. */
.video-catalog{max-width:960px;margin-inline:auto;min-width:0}.video-catalog .card{padding:clamp(16px,3vw,30px)}
.video-catalog h1,.video-catalog h2,.video-catalog h3,.video-catalog a,.video-catalog label{word-break:normal;overflow-wrap:break-word;hyphens:none}
.video-catalog .prose{white-space:normal;text-align:justify;text-justify:inter-word;hyphens:none;word-break:normal;overflow-wrap:break-word}
.video-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin-block:24px}
.video-catalog-card{padding:20px;border:1px solid var(--line,#ddd);border-radius:16px;min-width:0;background:var(--surface,#fff)}
.video-catalog-card h3{margin-block:14px}.video-catalog-form{margin-top:20px}.video-catalog-form form{margin-top:24px}.video-catalog-form select{width:100%;min-width:0}
.video-instruction{padding:16px;border:1px solid var(--line,#ddd);border-radius:12px;margin-block:18px}.video-instruction summary{cursor:pointer;font-weight:600}.video-instruction li{margin-block:12px;line-height:1.6}
.video-privacy{padding:16px;border-inline-start:3px solid var(--accent,#947b52);background:var(--surface-soft,#f7f4ef);margin-block:20px}
.video-player-host{display:grid;place-content:center;gap:14px;background:#f1eee8;border-radius:12px;padding:24px;text-align:center;min-height:200px}.video-player-host.is-playing{padding:0;display:block;position:relative;aspect-ratio:16/9;overflow:hidden;min-height:0;background:#111}.video-player-host iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:480px){.video-catalog .toolbar{align-items:stretch;flex-direction:column}.video-catalog .prose{text-align:start}.video-player-host{padding:16px}}
/* Official RUTUBE minimum is 320x180. Center full bleed within the card on a
   320px viewport; the viewport width is not added to either side's padding. */
@media(max-width:480px){.video-player-host.is-playing{width:100vw;max-width:none;margin-inline:calc(50% - 50vw);border-radius:0;min-height:180px}}

/* Source: modules/knowledge-direct-upload.css */
.knowledge-direct{min-width:0}.knowledge-direct input[type=file]{display:block;max-width:100%;font:inherit;margin-top:6px}.knowledge-direct .btn:has(input){display:flex;flex-direction:column;align-items:flex-start}.direct-usage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;border-bottom:1px solid var(--line,#d9d3c7);margin-bottom:12px}.direct-usage span{display:flex;flex-direction:column;gap:4px;color:var(--muted,#666);font-size:13px}.direct-usage strong{color:var(--ink,#28251e);font-size:18px}.direct-selection{padding:16px 0;border-bottom:1px solid var(--line,#d9d3c7)}.direct-selection ul{list-style:none;padding:0;display:grid;gap:10px}.direct-selection label{display:flex;align-items:flex-start;gap:10px;overflow-wrap:anywhere}.direct-selection small{color:var(--muted,#666);white-space:nowrap}.direct-job{padding:20px 0;border-bottom:1px solid var(--line,#d9d3c7);min-width:0;overflow-wrap:anywhere}.direct-job-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.direct-job-head strong{font-size:16px}.direct-job-head span{color:var(--muted,#666);font-size:13px;white-space:nowrap}.direct-job progress{display:block;width:100%;height:10px;accent-color:var(--accent,#795a32)}.knowledge-direct .knowledge-toolbar{display:flex;flex-wrap:wrap;gap:8px}.knowledge-direct .knowledge-toolbar .btn{max-width:100%;white-space:normal}.direct-history{margin-top:24px}.direct-history summary{cursor:pointer;font-weight:600}.direct-history-row{border-bottom:1px solid var(--line,#d9d3c7);padding:16px 0;overflow-wrap:anywhere}@media(max-width:500px){.direct-usage{grid-template-columns:1fr;gap:8px}.direct-usage span{flex-direction:row;align-items:baseline;justify-content:space-between}.direct-usage strong{font-size:16px}.direct-job-head{display:block}.direct-job-head span{display:block;margin-top:5px}.knowledge-direct input[type=file]{width:100%;min-width:0}.knowledge-direct .knowledge-toolbar>.btn{flex:1 1 140px}}
.knowledge-direct .direct-job-head strong,.knowledge-direct .direct-history-row>strong,.knowledge-direct .direct-selection span{overflow-wrap:anywhere;min-width:0;max-width:100%}.direct-chief{margin-top:24px;border-top:1px solid var(--line,#d9d3c7);padding-top:16px}.direct-chief .knowledge-form{margin:12px 0}.direct-chief table{width:100%;border-collapse:collapse;font-size:13px}.direct-chief td,.direct-chief th{text-align:left;vertical-align:top;padding:8px 4px;border-bottom:1px solid var(--line,#d9d3c7);overflow-wrap:anywhere}.direct-chief input{min-width:0;max-width:100%}

/* Source: modules/archive-inbox.css */
.archive-inbox{max-width:1120px;margin:0 auto;min-width:0}.inbox-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 24px}.inbox-heading h1{margin:8px 0 0;font-size:clamp(26px,4vw,38px);line-height:1.2}.inbox-heading .btn{flex-shrink:0}.inbox-tabs{display:flex;gap:22px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:22px}.inbox-tabs a{padding:10px 0;text-underline-offset:8px;color:var(--muted)}.inbox-tabs [aria-current=page]{color:var(--ink);font-weight:700;text-decoration:underline}.inbox-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}.inbox-list-toolbar form{display:flex;align-items:end;gap:8px}.inbox-list-toolbar label{display:flex;gap:8px;align-items:center}.inbox-list-toolbar select{max-width:260px}.inbox-list{border-top:1px solid var(--line)}.inbox-row{display:flex;gap:16px;align-items:start;border-bottom:1px solid var(--line);padding:20px 0;min-width:0}.inbox-row-main{min-width:0;flex:1}.inbox-file-mark{width:36px;height:36px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.inbox-file-mark svg{width:24px;height:24px}.inbox-item-title{font-size:18px;font-weight:650;overflow-wrap:break-word;line-height:1.45}.inbox-row-meta,.inbox-muted{color:var(--muted);font-size:14px;line-height:1.6}.inbox-row-meta{margin:6px 0}.inbox-row-note{margin:8px 0 0;max-width:70ch}.inbox-state{font-size:13px;color:var(--muted);white-space:normal;max-width:170px;line-height:1.5}.inbox-state.is-described{color:var(--success,#285e41)}.inbox-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.inbox-actions .btn{white-space:normal}.inbox-empty{padding:36px 0;max-width:65ch}.inbox-empty h2{margin-top:0}.inbox-item-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:38px}.inbox-item-main,.inbox-item-side{min-width:0}.inbox-original{margin:20px 0}.inbox-original img{max-width:100%;max-height:78vh;display:block;object-fit:contain;border-radius:8px;background:var(--paper,#fff)}.inbox-original figcaption{font-size:13px;color:var(--muted);margin-top:8px;overflow-wrap:break-word}.inbox-item-main audio{width:100%;margin:18px 0}.inbox-description{margin:28px 0;max-width:72ch}.inbox-description p,.inbox-comments p{white-space:pre-wrap;line-height:1.75;text-align:justify;hyphens:none;word-break:normal;overflow-wrap:break-word}.inbox-description h2,.inbox-discussion h2{font-size:21px;margin-bottom:12px}.inbox-item-side{border-top:1px solid var(--line);padding-top:18px}.inbox-item-side h2{font-size:18px;margin-top:0}.inbox-item-side>.btn,.inbox-item-side>.text-link{display:flex;margin:16px 0}.inbox-item-side p{font-size:14px;line-height:1.65}.inbox-item-side details{margin-top:24px}.inbox-editor{margin:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}.inbox-editor summary{cursor:pointer;font-weight:650}.inbox-editor form{margin-top:24px;display:grid;gap:18px}.archive-inbox input,.archive-inbox select,.archive-inbox textarea{font:inherit;max-width:100%;min-width:0}.archive-inbox textarea{resize:vertical}.inbox-editor fieldset{min-width:0;border:1px solid var(--line);padding:16px;border-radius:8px}.inbox-editor legend{padding:0 6px}.inbox-editor select[multiple]{min-height:90px}.inbox-check{display:flex;align-items:start;gap:10px;line-height:1.6}.inbox-check input{margin-top:6px}.inbox-person-chip{display:inline-flex;gap:8px;flex-wrap:wrap;margin:0 12px 10px 0}.inbox-person-chip .text-link{font-size:13px}.inbox-people [data-inbox-person-results]{display:flex;flex-wrap:wrap;gap:8px}.inbox-discussion{margin-top:38px;padding-top:24px;border-top:1px solid var(--line)}.inbox-comments{list-style:none;margin:0;padding:0}.inbox-comments>li{padding:20px 0;border-bottom:1px solid var(--line)}.inbox-comment-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.inbox-comment-head time{font-size:13px;color:var(--muted)}.inbox-comments .inbox-actions{margin:8px 0 0;gap:18px}.inbox-comments p{margin:10px 0}.inbox-discussion form{margin-top:24px}.inbox-version{padding:12px 0;border-bottom:1px solid var(--line)}.inbox-version p{white-space:pre-wrap}.inbox-processing-note{padding:16px 0;color:var(--muted);border-bottom:1px solid var(--line);line-height:1.65}.inbox-drop{padding:30px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.inbox-drop h2{font-size:23px;margin:0 0 10px}.inbox-upload input[type=file]{display:block;max-width:100%;font:inherit;margin-top:8px}.inbox-upload .btn:has(input){display:flex;align-items:start;flex-direction:column;max-width:100%}.inbox-capacity{font-weight:600;line-height:1.7}.inbox-selection{margin-top:28px}.inbox-selection ul{list-style:none;padding:0}.inbox-selection li{padding:20px 0;border-bottom:1px solid var(--line)}.inbox-selection-head label{display:flex;gap:12px;align-items:start}.inbox-selection-head span{overflow-wrap:break-word;min-width:0}.inbox-selection-head small{display:block;color:var(--muted)}.inbox-selection .form-field{margin-top:14px}.inbox-selection .form-field small{font-weight:400;color:var(--muted)}.inbox-transfer,.inbox-history{padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.inbox-row-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.inbox-row-title strong,.inbox-history strong{overflow-wrap:break-word;min-width:0}.inbox-row-title span{font-size:13px;color:var(--muted)}.inbox-transfer progress{display:block;width:100%;height:10px;margin-top:12px;accent-color:var(--green)}.inbox-batch{padding:16px 0;border-bottom:1px solid var(--line)}.archive-inbox summary{cursor:pointer}.inbox-media-error{color:var(--muted)}@media(max-width:760px){.inbox-item-layout{grid-template-columns:1fr;gap:20px}.inbox-item-side{order:2}.inbox-heading{align-items:start;flex-direction:column;gap:16px}.inbox-row{flex-wrap:wrap;gap:10px}.inbox-state{margin-left:46px;max-width:none}.inbox-list-toolbar form{width:100%}.inbox-list-toolbar label{flex:1;min-width:0}.inbox-list-toolbar select{min-width:0;width:100%}.inbox-tabs{gap:16px}.inbox-actions{gap:8px}.inbox-actions .btn{max-width:100%}.inbox-upload input[type=file]{width:100%}.inbox-upload .inbox-drop .inbox-actions>label{width:100%}.inbox-row-title{align-items:start;flex-direction:column;gap:6px}.inbox-editor fieldset{padding:12px}.inbox-comment-head{gap:6px 12px}}

.inbox-analysis{margin-block:1.5rem;padding-block:1.25rem;border-block:1px solid var(--line)}.inbox-analysis h3{margin-top:1.1rem}.inbox-analysis details{margin-block:1rem}.inbox-extracted{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;hyphens:none;text-align:justify}.inbox-found{padding-left:1.25rem}.inbox-found li{margin-block:.45rem}.inbox-found span{color:var(--muted)}

.inbox-heading h1{max-width:100%;overflow-wrap:break-word}

/* Source: modules/typography.css */
/* Переносим обычные слова целиком, без автоматического дефиса и разрыва букв.
   Правило действует прямо на элементы, включая старые модули и inline-стили. */
*,*::before,*::after{
  -webkit-hyphens:none!important;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Только технические значения: код, полный адрес, контрольная сумма. */
code,pre,kbd,samp,.knowledge-code,.archive-item-code,.comm-link-url,
.page-qr-address,.native-app-code,.profile-material-code span:last-child,
.search-code,.social-path,.social-url,.wwii-code,.email-auth-sent strong{
  overflow-wrap:anywhere!important;
}

.inbox-upload label.btn{position:relative}.inbox-upload label.btn input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.inbox-upload label.btn:focus-within{outline:2px solid var(--green);outline-offset:3px}
