.agency-expenses-section{margin-top:24px}.agency-expenses-heading{justify-content:space-between;align-items:center;gap:16px;margin:22px 0 16px;display:flex}.agency-expenses-heading h2{margin:4px 0}.agency-expense-filters{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.agency-expense-filters label{color:#526044;gap:6px;min-width:140px;font-size:12px;display:grid}.agency-expense-filters label:first-child{flex:1;min-width:220px}.agency-expense-filters select,.agency-expense-filters input{color:#30452b;background:#fffdf7;border:1px solid #d8d2be;border-radius:10px;width:100%;min-height:44px;padding:9px 11px}.agency-expense-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.agency-expense-metrics>div{background:#fffdf7;border:1px solid #e2ddce;border-radius:13px;gap:12px;padding:18px;display:grid}.agency-expense-metrics span{color:#6e7766;font-size:12px}.agency-expense-metrics b{color:#30452b;overflow-wrap:anywhere;font-size:22px}.agency-expense-list{gap:12px;display:grid}.agency-expense-card{background:#fffdf7;border:1px solid #e2ddce;border-radius:13px;padding:17px}.agency-expense-card-top,.agency-expense-card-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.agency-expense-card-top time,.agency-expense-card-foot>span{color:#6e7766;font-size:12px}.agency-expense-card-top strong{color:#30452b;font-size:20px}.agency-expense-card h3{overflow-wrap:anywhere;margin:12px 0 8px;font-size:16px}.agency-expense-card p{color:#6e7766;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.agency-expense-card a{color:#48682f;font-weight:650}.agency-expense-card-foot button{min-height:44px}@media (width<=760px){.agency-expenses-heading{flex-direction:column;align-items:stretch}.agency-expense-metrics{grid-template-columns:1fr}.agency-expense-filters label{flex:1;min-width:130px}.agency-expense-filters label:first-child{flex-basis:100%;min-width:0}}:root{--yc-web-release:"2026-09-08-01";color:#192435;font-synthesis:none;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f4f6f8;min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#dce6ef;background:#10243b;flex-direction:column;min-height:100vh;padding:25px 16px 18px;display:flex}.brand{letter-spacing:.12em;color:#fff;align-items:center;gap:10px;padding:0 10px;font-size:16px;font-weight:800;display:flex}.brand-mark{color:#10243b;background:#d9b16d;border-radius:8px;place-items:center;width:29px;height:29px;font-size:15px;display:grid}.side-label,.eyebrow{color:#7e91a7;letter-spacing:.12em;margin:33px 10px 10px;font-size:10px;font-weight:750}.nav-item{color:#c1cddb;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;margin:2px 0;padding:11px 12px;font-weight:550;text-decoration:none;display:block}.nav-item:hover,.nav-item.active{color:#fff;background:#1c3855}.sidebar-foot{border-top:1px solid #28425d;align-items:center;gap:9px;margin-top:auto;padding:16px 10px 0;display:flex}.sidebar-foot small{color:#90a2b7;margin-top:2px;display:block}.avatar{color:#10243b;background:#d9b16d;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.workspace{width:100%;max-width:1540px;margin:auto;padding:28px clamp(18px,4vw,58px) 56px}.topbar,.panel header,.quick-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar{margin-bottom:28px}.topbar h1{margin:2px 0 0;font-size:30px}.topbar .eyebrow{margin:0}.top-actions{gap:10px;display:flex}.primary,.quiet,.quick-actions button{color:#24364a;background:#fff;border:1px solid #d6dee7;border-radius:8px;padding:10px 14px;font-weight:650}.primary{color:#fff;background:#103b61;border-color:#103b61}.primary:hover{background:#0d3150}.quiet:hover,.quick-actions button:hover{background:#f9fbfc;border-color:#9bb2c8}.metric-grid{grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;display:grid}.metric-grid article,.panel,.quick-actions,.connection-card{background:#fff;border:1px solid #e0e6ec;border-radius:12px;box-shadow:0 1px 2px #11253c08}.metric-grid article{flex-direction:column;min-height:132px;padding:17px;display:flex}.metric-grid span{color:#64768a;font-size:12px;line-height:1.35}.metric-grid b{letter-spacing:-.03em;margin-top:12px;font-size:21px}.metric-grid small{color:#8997a6;margin-top:auto;font-size:11px}.metric-grid .danger b{color:#b5473e}.metric-grid .featured{background:#102f4e;border-color:#102f4e}.metric-grid .featured span,.metric-grid .featured small{color:#b9cad8}.metric-grid .featured b{color:#fff}.quick-actions{margin:18px 0;padding:18px 20px}.quick-actions .eyebrow,.panel .eyebrow{margin:0 0 5px}.quick-actions h2,.panel h2{margin:0;font-size:18px}.quick-actions>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.quick-actions button{padding:8px 10px;font-size:13px}.content-grid{grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);gap:18px;display:grid}.panel{padding:20px}.panel header>span{color:#66798c;font-size:13px}.object-list{border-top:1px solid #edf0f3;margin-top:12px}.object-row{text-align:left;background:0 0;border:0;border-bottom:1px solid #edf0f3;align-items:center;gap:11px;width:100%;padding:13px 0;display:flex}.object-row:hover b{color:#15527d}.object-row b,.object-row small{display:block}.object-row b{font-size:14px}.object-row small{color:#77899b;margin-top:3px;font-size:12px}.object-row em{margin-left:auto;font-size:12px;font-style:normal;font-weight:650}.status-dot{background:#8e9aaa;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.status-dot.occupied,em.occupied{color:#237556;background:#dff4e9}.status-dot.occupied{background:#44b885}.status-dot.vacant{background:#d2a04b}em.vacant{color:#94651a}.status-dot.inactive{background:#a1a1a1}em.inactive{color:#687581}.attention{background:#fffaf2;border-color:#f0e1c5}.attention-line{border-bottom:1px solid #f0e1c5;align-items:baseline;gap:13px;padding:16px 0;display:flex}.attention-line:last-child{border:0}.attention-line b{color:#a36916;font-size:23px}.attention-line span{color:#586b7c;font-size:13px}.flow{margin-top:18px}.flow ol{grid-template-columns:repeat(5,1fr);gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.flow li{background:#f6f9fb;border-radius:9px;padding:15px;position:relative}.flow li:not(:last-child):after{content:"→";color:#8ea1b4;z-index:1;position:absolute;right:-9px}.flow b,.flow span{display:block}.flow span{color:#76889a;margin-top:5px;font-size:12px}.connection-card{color:#5c3a1d;background:#fff9f4;border-color:#f0d3bd;padding:22px}.connection-card span,.connection-card p{color:#806447;margin:7px 0 0;font-size:13px;display:block}.empty,.muted{color:#728395;padding:20px 0;font-size:14px}.modal-backdrop{z-index:10;background:#0c1d2e7a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:13px;width:min(480px,100%);max-height:calc(100vh - 36px);padding:21px;overflow:auto;box-shadow:0 18px 55px #00000040}.modal header{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.modal h2{margin:0;font-size:20px}.close{color:#708093;background:0 0;border:0;font-size:28px;line-height:1}.modal form{gap:13px;display:grid}.modal label{color:#445568;font-size:13px;font-weight:650}.modal label small{color:#7b8a98;font-weight:400}.modal input,.modal select,.modal textarea{color:#192435;background:#fff;border:1px solid #ccd6e0;border-radius:7px;width:100%;margin-top:6px;padding:10px;display:block}.modal textarea{resize:vertical;min-height:74px}.modal form .primary{margin-top:4px}.toast{color:#fff;background:#133d32;border-radius:8px;padding:13px 17px;font-weight:600;position:fixed;bottom:22px;right:22px;box-shadow:0 10px 30px #0000002e}.prototype-bar{color:#31536a;background:#e7f2fa;border:1px solid #cae0ee;border-radius:8px;margin-bottom:20px;padding:9px 12px;font-size:12px}.prototype-bar span{color:#35845d;font-size:14px}.metric-card{background:#fff;border:1px solid #e0e6ec;border-radius:12px;flex-direction:column;min-height:125px;padding:17px;display:flex;box-shadow:0 1px 2px #11253c08}.metric-card span{color:#64768a;font-size:12px}.metric-card b{margin-top:12px;font-size:22px}.metric-card small{color:#8798a8;margin-top:auto;font-size:11px}.metric-card.danger b{color:#b5473e}.metric-card.featured{background:#102f4e}.metric-card.featured span,.metric-card.featured b,.metric-card.featured small{color:#fff}.metric-card.featured small{opacity:.7}.compact{grid-template-columns:repeat(3,minmax(130px,1fr));margin-bottom:18px}.table-wrap{background:#fff;border:1px solid #e0e6ec;border-radius:12px;overflow:auto;box-shadow:0 1px 2px #11253c08}.table-wrap table{border-collapse:collapse;width:100%;min-width:700px}.table-wrap th{text-align:left;color:#728395;letter-spacing:.05em;text-transform:uppercase;background:#f7f9fb;padding:13px 16px;font-size:11px}.table-wrap td{color:#2b3a4b;border-top:1px solid #edf0f3;padding:15px 16px;font-size:13px}.table-wrap td b{display:block}.table-wrap td small{color:#7d8d9e;margin-top:4px;display:block}.badge{color:#237556;background:#e8f6ee;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-block}.badge.gold{color:#966719;background:#fff2d9}.badge.red{color:#ac4138;background:#fde9e7}.badge.gray{color:#687887;background:#edf1f4}.section-toolbar{align-items:center;gap:8px;margin-bottom:18px;display:flex}.filter{color:#506276;background:#fff;border:1px solid #d9e1e8;border-radius:999px;padding:8px 11px}.filter.active{color:#fff;background:#173c5c;border-color:#173c5c}.section-toolbar input{border:1px solid #d9e1e8;border-radius:8px;width:250px;margin-left:auto;padding:9px 12px}.page-note{color:#4d6d82;background:#eef7fc;border-left:3px solid #84b5d3;margin-top:16px;padding:14px;font-size:13px}.cards-two,.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.payer-card .avatar{width:42px;height:42px}.warm{background:#edc47b}.payer-card p,.report-card p{color:#738497;font-size:13px}.payer-card b{margin:20px 0 12px;font-size:23px;display:block}.payer-card b small{color:#718394;font-size:12px;font-weight:400}.payer-card button,.report-card button,.settings-list button,.upload-zone button{color:#15527d;background:0 0;border:0;padding:0;font-weight:700}.summary-strip{color:#d9e6f0;background:#102f4e;border-radius:11px;gap:28px;margin-bottom:18px;padding:16px 20px;display:flex}.summary-strip b{color:#fff;margin-left:7px}.timeline{margin-top:18px}.timeline>div{border-top:1px solid #edf0f3;grid-template-columns:70px 1fr auto;gap:12px;padding:13px 0;font-size:13px;display:grid}.positive{color:#257653}.upload-zone{text-align:center;background:#f5fafc;border:1.5px dashed #9ebccc;border-radius:12px;margin-bottom:18px;padding:42px 20px}.upload-zone b,.upload-zone span{display:block}.upload-zone span{color:#748699;margin:7px 0 16px;font-size:13px}.report-card{flex-direction:column;min-height:180px;display:flex}.report-card button{margin-top:auto}.settings-list{gap:10px;display:grid}.settings-list article{background:#fff;border:1px solid #e0e6ec;border-radius:10px;justify-content:space-between;align-items:center;padding:17px;display:flex}.settings-list b,.settings-list span{display:block}.settings-list span{color:#738497;margin-top:5px;font-size:13px}@keyframes route-in{0%{opacity:0;filter:blur(2px);transform:translateY(12px)}to{opacity:1;filter:blur();transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.route-view{animation:none}}@media (width<=1100px){.metric-grid,.flow ol{grid-template-columns:repeat(3,1fr)}.flow li:not(:last-child):after{display:none}}@media (width<=760px){.app-shell{display:block}.sidebar{z-index:5;min-height:auto;padding:13px;position:sticky;top:0}.sidebar nav{gap:4px;margin-top:10px;display:flex;overflow-x:auto}.side-label,.sidebar-foot{display:none}.nav-item{white-space:nowrap;width:auto;padding:8px 10px}.workspace{padding:20px 14px 40px}.topbar{align-items:flex-start}.topbar h1{font-size:25px}.top-actions .quiet{display:none}.metric-grid,.content-grid{grid-template-columns:1fr}.quick-actions{flex-direction:column;align-items:flex-start}.flow ol{grid-template-columns:1fr}.flow li{padding:11px}.metric-grid article{min-height:105px}.cards-two,.report-grid,.compact{grid-template-columns:1fr}.section-toolbar{overflow:auto}.section-toolbar input{display:none}.summary-strip{flex-direction:column;gap:8px}.timeline>div{grid-template-columns:60px 1fr}.timeline strong{grid-column:2}}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.page-header h1{letter-spacing:-.035em;margin:2px 0 5px;font-size:30px}.page-header .eyebrow{margin:0}.page-subtitle{color:#677a8d;margin:0;font-size:14px}.local-bar{color:#31536a;background:#e7f2fa;border:1px solid #cae0ee;border-radius:8px;margin-bottom:20px;padding:9px 12px;font-size:12px}.logout{color:#90a2b7;background:0 0;border:0;margin-left:auto;padding:4px;font-size:12px}.logout:hover{color:#fff}.link-button{margin-top:18px;text-decoration:none;display:inline-block}.entity-link{color:#164d76;font-weight:650;text-decoration:none}.entity-link:hover{text-decoration:underline}.entity-link b{color:inherit}.loading{color:#677b8f;place-items:center;min-height:220px;display:grid}.error-state{color:#6d4e4b;gap:9px;display:grid}.empty-state{text-align:center;color:#6c7f90;align-content:center;place-items:center;gap:7px;min-height:180px;display:grid}.empty-state b{color:#2d4053}.empty-state .primary{margin-top:7px}.detail-tabs{border-bottom:1px solid #dfe7ee;gap:4px;margin-bottom:20px;display:flex;overflow:auto}.detail-tabs button{color:#6f8193;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 12px}.detail-tabs button.active{color:#143d60;border-bottom-color:#143d60;font-weight:750}.relationship{align-items:center;gap:14px;padding:14px 0;display:flex}.relationship>div{flex:1;min-width:0}.relationship b,.relationship span{display:block}.relationship span{color:#718397;margin-top:4px;font-size:13px}.empty-inline{justify-content:space-between;align-items:center;gap:15px;padding:16px 0 4px;display:flex}.due-card{gap:7px;padding-top:8px;display:grid}.due-card b{font-size:23px}.due-card span{color:#718397;font-size:13px}.overview-list{margin-top:18px}.inline-actions{gap:8px;margin-top:12px;display:flex}.danger-button{color:#a94239;background:#fff;border:1px solid #e8bdb8;border-radius:8px;padding:9px 12px;font-weight:700}.key-value{grid-template-columns:1fr 1.5fr;gap:12px;padding-top:10px;display:grid}.key-value span{color:#788a9c;font-size:13px}.key-value b{font-size:13px}.linked-list .relationship{border-top:1px solid #edf0f3}.dashboard-grid{margin-top:18px}.stat-lines{color:#647789;gap:9px;margin-top:14px;font-size:13px;display:grid}.stat-lines b{float:right;color:#273b4d}.table-action{color:#15527d;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:700}.drawer-layer{z-index:50;justify-content:flex-end;height:100dvh;display:flex;position:fixed;inset:0;overflow:hidden}.drawer-scrim{background:#0b1d2f6b;border:0;position:absolute;inset:0}.drawer{z-index:1;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;width:min(510px,100%);height:100dvh;min-height:0;max-height:100dvh;padding:25px 25px max(25px,env(safe-area-inset-bottom));background:#fff;animation:.22s ease-out both drawer-in;overflow:hidden auto;box-shadow:-15px 0 50px #0a192633}.drawer header{z-index:2;background:#fff;border-bottom:1px solid #e6dece;justify-content:space-between;align-items:center;gap:15px;margin:-25px -25px 20px;padding:25px 25px 16px;display:flex;position:sticky;top:0}.drawer h2{margin:0;font-size:21px}.icon-button{color:#566a7c;background:#edf2f6;border:0;border-radius:50%;flex:none;width:34px;height:34px;font-size:25px;line-height:1}.drawer-form{gap:14px;padding-bottom:4px;display:grid}.drawer-form label{color:#405367;gap:6px;font-size:13px;font-weight:700;display:grid}.drawer-form input,.drawer-form select,.drawer-form textarea{color:#1d2e3e;background:#fff;border:1px solid #ccd7e1;border-radius:8px;width:100%;padding:10px 11px;font-weight:400}.drawer-form textarea{resize:vertical;min-height:78px}.drawer-form input:focus,.drawer-form select:focus,.drawer-form textarea:focus{border-color:#6fa6c7;outline:2px solid #acd0e5}.form-error{color:#a63f37;background:#fff0ef;border-radius:7px;margin:0;padding:10px;font-size:13px}.form-context{background:#f1f6f9;border-radius:9px;padding:12px}.form-context b,.form-context span{display:block}.form-context span{color:#718396;margin-top:3px;font-size:13px}.inline-link{color:#15527d;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.allocation-preview{color:#326a50;background:#eef7f3;border:1px solid #d4ebdf;border-radius:8px;grid-template-columns:1fr 1fr;gap:8px;padding:12px;font-size:13px;display:grid}.allocation-preview span{gap:3px;display:grid}.allocation-preview small{color:#5f8372;grid-column:1/-1}.login-page{background:linear-gradient(135deg,#102b43,#173e5e);place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{background:#fff;border-radius:15px;width:min(420px,100%);padding:30px;box-shadow:0 25px 65px #00000040}.login-card .brand{color:#173c5c;padding:0}.login-card .eyebrow{margin:28px 0 7px}.login-card h1{margin:0;font-size:27px}.login-card>p:not(.eyebrow){color:#6a7c8f;font-size:14px}.login-card form{gap:14px;margin-top:22px;display:grid}.login-card label{color:#405367;gap:6px;font-size:13px;font-weight:700;display:grid}.login-card input{border:1px solid #ccd7e1;border-radius:8px;padding:10px 11px}.login-card .primary{margin-top:4px}@keyframes drawer-in{0%{opacity:.4;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.drawer{animation:none}}@media (width<=760px){.page-header{flex-direction:column}.page-header .top-actions{width:100%}.page-header .top-actions button{flex:1}.empty-inline,.relationship{flex-direction:column;align-items:flex-start}.key-value{grid-template-columns:1fr;gap:4px}.key-value b{margin-bottom:9px}.drawer{width:100%;padding:20px 16px max(24px,env(safe-area-inset-bottom))}.drawer header{padding:calc(16px + env(safe-area-inset-top)) 16px 14px;margin:-20px -16px 18px}.allocation-preview{grid-template-columns:1fr}.allocation-preview small{grid-column:auto}}.login-card{border:1px solid #ffffff38}.telegram-activation{align-items:center;gap:12px;margin-top:14px;display:flex}.telegram-activation .primary{padding:8px 11px;font-size:13px;text-decoration:none}.dashboard-filters{flex-wrap:wrap}.dashboard-filters label{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.dashboard-filters input,.dashboard-filters select,.section-toolbar select{background:#fffdf8;border:1px solid #d9e1e8;border-radius:8px;width:auto;margin:0;padding:9px 10px}.segmented{border:1px solid var(--line);border-radius:9px;display:flex;overflow:hidden}.segmented button{color:#596451;background:#f5efdf;border:0;padding:8px 11px}.segmented button.active{background:var(--lime);color:#33422a;font-weight:700}.spec-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.spec-list span{background:#f6f1e5;border-radius:8px;padding:10px}.spec-list small,.spec-list b{display:block}.spec-list small{color:#7b866e;font-size:11px}.spec-list b{margin-top:3px;font-size:13px}.document-upload{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.document-upload input{max-width:100%}.document-upload select{border:1px solid var(--line);background:#fffdf8;border-radius:8px;padding:9px}.object-access{border:1px solid var(--line);border-radius:8px;gap:7px;padding:10px;display:grid}.object-access legend{color:#64705d;font-size:12px}.object-access label{align-items:center;gap:8px;font-weight:400;display:flex}@media (width<=760px){.telegram-activation{flex-direction:column;align-items:flex-start}.spec-list{grid-template-columns:1fr}.dashboard-filters label{width:100%}.dashboard-filters input{flex:1}.document-upload>*{width:100%}}:root{--ink:#263126;--muted:#6d7767;--olive:#34422e;--olive-2:#43563a;--lime:#c6ef79;--lime-strong:#aee25d;--paper:#fffdf7;--beige:#f4eedf;--beige-2:#e9dec7;--line:#e5dcc8;--danger:#b45340;color:var(--ink);background:var(--beige)}html{scrollbar-color:#a5bd71 #f4eedf}body{color:var(--ink);background:radial-gradient(circle at 84% -8%,#e4f4bc 0,transparent 28rem),linear-gradient(135deg,#f9f5eb 0%,var(--beige) 52%,#efe5d1 100%)}.sidebar{background:linear-gradient(170deg,#3c4c34 0%,#273222 100%);box-shadow:10px 0 32px #3a422b1f}.brand{color:var(--paper);letter-spacing:.08em}.brand-mark{background:var(--lime);color:#314127;box-shadow:0 7px 18px #c6ef7938}.side-label{color:#cbd7b8}.nav-item{color:#dce6d0;border:1px solid #0000;transition:transform .2s,background .2s,color .2s,border-color .2s}.nav-item:hover{color:#fff;background:#fffdf71a;transform:translate(3px)}.nav-item.active{background:var(--lime);color:#283526;border-color:#d8f79b;box-shadow:0 7px 20px #09100730}.sidebar-foot{border-top-color:#ffffff21}.avatar{color:#fbfaef;background:#566b45}.logout{color:#cfdbbf}.workspace{background:0 0}.local-bar{color:#536344;background:#edf6d8;border-color:#d3e6ad;border-radius:12px;box-shadow:0 5px 18px #5265340f}.local-bar span{color:#709d2f}.brand-button{cursor:pointer;text-align:left;background:0 0;border:0;width:100%}.brand-button small{color:#cbd7b8;margin-left:auto;font-size:15px}.workspace-switcher{background:#0c140945;border:1px solid #ffffff26;border-radius:12px;gap:3px;margin:12px 0 15px;padding:8px;display:grid}.workspace-switcher a{color:#eff4e8;border-radius:8px;padding:9px 10px;font-size:13px;text-decoration:none}.workspace-switcher a:hover{background:#c6ef7929}.quick-entry-fab{z-index:20;background:var(--lime);color:#30402a;border:0;border-radius:999px;padding:13px 17px;font-weight:800;position:fixed;bottom:24px;right:clamp(18px,4vw,58px);box-shadow:0 12px 26px #2c422040}.drawer .quick-entry-page{max-width:none}.drawer .quick-entry-page .page-header{margin-bottom:14px}.drawer .quick-entry-page h1{font-size:24px}.page-subtitle,.relationship span,.stat-lines,.empty-state,.loading{color:var(--muted)}.entity-link,.inline-link,.table-action{color:#526c27}.entity-link:hover,.inline-link:hover,.table-action:hover{color:#344d1c}.page-header h1,.topbar h1{color:var(--ink)}.panel,.metric-grid article,.report-card,.settings-list article{border-color:var(--line);background:#fffdf7e0;box-shadow:0 10px 28px #4c432c0e}.metric-grid article:hover,.report-card:hover,.settings-list article:hover{transition:transform .2s,box-shadow .2s;transform:translateY(-2px);box-shadow:0 15px 34px #4c432c17}.primary{background:var(--lime);color:#2e3c24;border-color:#b5e56a;transition:transform .18s,box-shadow .18s,background .18s;box-shadow:0 6px 16px #70972e2e}.primary:hover:not(:disabled){background:var(--lime-strong);transform:translateY(-1px);box-shadow:0 10px 22px #70972e3d}.quiet,.secondary{color:#40503b;background:#f8f2e5;border-color:#ded2ba}.quiet:hover,.secondary:hover{background:#eee4d0}.detail-tabs{border-bottom-color:var(--line)}.detail-tabs button{color:#7b846f;transition:color .18s,border-color .18s,background .18s}.detail-tabs button:hover{color:#43542f;background:#f4efdf}.detail-tabs button.active{color:#43542f;border-bottom-color:#89b73e}.drawer{background:var(--paper);box-shadow:-18px 0 50px #2f36242e}.drawer-scrim{background:#26312661}.icon-button{color:#526044;background:#f1eadb}.drawer-form label,.login-card label{color:#4c5948}.drawer-form input,.drawer-form select,.drawer-form textarea,.login-card input{color:var(--ink);background:#fffdf8;border-color:#ded3bd}.drawer-form input:focus,.drawer-form select:focus,.drawer-form textarea:focus,.login-card input:focus{border-color:#9fc957;outline-color:#cbe990}.form-context{background:#f3f0e4}.allocation-preview{color:#46642c;background:#f0f8df;border-color:#d6eab1}.form-error{color:#9b4433;background:#fff0eb}.danger-link{color:var(--danger)}.danger-link:hover{color:#8f3828}.panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading .eyebrow{margin:0}.login-page{background:radial-gradient(circle at 20% 18%,#c6ef7985,#0000 26rem),linear-gradient(135deg,#31402d,#536746)}.login-card{background:#fffdf7f5;border-color:#ffffff85;box-shadow:0 30px 70px #19231647}.login-card .brand{color:#36472f}.login-card .brand-mark{color:#314127}.password-field{display:block;position:relative}.password-field input{padding-right:48px}.password-toggle{color:#6d7767;background:0 0;border:0;border-radius:8px;place-items:center;width:42px;height:42px;padding:9px;display:grid;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.password-toggle:hover{color:#40503b;background:#f0eadc}.password-toggle:focus-visible{outline-offset:-2px;outline:2px solid #9fc957}.password-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.route-view{animation:.34s cubic-bezier(.2,.8,.2,1) both route-in}.drawer{animation:.26s cubic-bezier(.2,.8,.2,1) both drawer-in}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}html[data-environment=test]{--ink:#162a49;--muted:#59718f;--olive:#1f4d82;--olive-2:#2f659f;--lime:#8dc9ff;--lime-strong:#62aeef;--paper:#f8fbff;--beige:#edf5ff;--beige-2:#dceafb;--line:#cbdced}html[data-environment=test] body{background:radial-gradient(circle at 84% -8%,#d4ecff 0,transparent 28rem),linear-gradient(135deg,#f8fbff 0%,var(--beige) 52%,#e2effc 100%)}html[data-environment=test] .sidebar{background:linear-gradient(170deg,#1f528a 0%,#122e55 100%)}html[data-environment=test] .brand-mark,html[data-environment=test] .quick-entry-fab{color:#163a63}html[data-environment=test] .nav-item.active,html[data-environment=test] .primary{color:#133559;border-color:#78bbf4;box-shadow:0 7px 20px #1c5d9d33}html[data-environment=test] .nav-item.active{background:#9dd2ff}html[data-environment=test] .local-bar{color:#315d88;background:#e7f3ff;border-color:#bcdaf4}html[data-environment=test] .detail-tabs button.active{color:#1e578f;border-bottom-color:#5fa8e9}html[data-environment=test] .login-page{background:radial-gradient(circle at 20% 18%,#7ec2ff94,#0000 26rem),linear-gradient(135deg,#173c68,#376d9f)}.drawer{grid-template-rows:auto minmax(0,1fr);padding:0;display:grid;overflow:hidden}.drawer>.drawer-header{z-index:auto;background:var(--paper);border-bottom:1px solid var(--line);margin:0;padding:25px 25px 16px;position:static}.drawer-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;min-height:0;padding:20px 25px max(25px,env(safe-area-inset-bottom));overflow:hidden auto}.drawer-form{padding-bottom:0}@media (width<=760px){.drawer{width:100%}.drawer>.drawer-header{padding:calc(16px + env(safe-area-inset-top)) 16px 14px;margin:0}.drawer-body{padding:18px 16px max(24px,env(safe-area-inset-bottom))}}.group-filter{scrollbar-width:thin;gap:7px;margin:-6px 0 18px;padding:4px 0 7px;display:flex;overflow-x:auto}.group-filter button{border:1px solid var(--line);color:#65705c;background:#fffdf8;border-radius:999px;flex:none;padding:7px 11px;font-size:12px}.group-filter button:hover,.group-filter button.active{color:#3f542d;background:#eaf5d4;border-color:#a9cd67}.group-filter button.active{font-weight:750;box-shadow:0 0 0 2px #a4c95b1f}.object-groups-list{gap:18px;display:grid}.object-group-section{border:1px solid var(--line);background:#fffdf7e0;border-radius:13px;overflow:hidden;box-shadow:0 10px 28px #4c432c0e}.object-group-section>header{justify-content:space-between;align-items:center;gap:16px;padding:17px 20px 14px;display:flex}.object-group-section>header h2{margin:0;font-size:18px}.object-group-section>header .eyebrow{margin:0 0 4px}.object-group-section>header>span{color:#526a3d;background:#edf5df;border-radius:999px;flex:none;padding:5px 9px;font-size:12px;font-weight:700}.object-group-section .table-wrap{border:0;border-top:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0}.create-choice{gap:12px;display:grid}.choice-card{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fffdf8;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;display:grid}.choice-card:hover{background:#f4f9e8;border-color:#a9cd67;transform:translateY(-1px);box-shadow:0 10px 24px #4c5b2b17}.choice-card:focus-visible{outline-offset:2px;outline:2px solid #9fc957}.choice-card>span:nth-child(2){gap:4px;display:grid}.choice-card b{font-size:15px}.choice-card small{color:var(--muted);font-size:12px;line-height:1.45}.choice-icon{color:#526b36;background:#eaf5d4;border-radius:11px;place-items:center;width:42px;height:42px;font-size:21px;font-weight:700;display:grid}.choice-arrow{color:#78934b;font-size:20px}@media (width<=760px){.section-toolbar{flex-wrap:wrap;overflow:visible}.section-toolbar select{flex:calc(50% - 4px);min-width:0}.section-toolbar>span{width:100%}.object-group-section>header{padding:15px 14px 12px}.choice-card{grid-template-columns:38px minmax(0,1fr) auto;padding:14px}.choice-icon{width:38px;height:38px}}.quick-entry-page{max-width:720px;margin:0 auto}.quick-entry-card{gap:20px;padding:clamp(18px,5vw,32px);display:grid}.quick-entry-card form{gap:12px;display:grid}.quick-entry-card label{color:var(--muted);gap:8px;font-weight:700;display:grid}.quick-entry-card textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:128px;color:var(--ink);background:#fffdf8;border-radius:13px;padding:15px;line-height:1.45}.quick-entry-submit{min-height:48px;font-size:16px}.checkbox-row{align-items:center;gap:9px;font-weight:600;display:flex!important}.checkbox-row input{margin:0;width:auto!important}.payment-calendar{border:1px solid var(--line);background:#fffdf7bf;border-radius:14px;overflow:hidden}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{color:var(--muted);text-align:center;background:#f3ecdd;padding:10px 0;font-size:11px}.calendar-day{border-right:1px solid var(--line);border-top:1px solid var(--line);align-content:start;gap:6px;min-height:132px;padding:9px;display:grid}.calendar-day:nth-child(7n){border-right:0}.calendar-day.empty{background:#f6f1e573}.calendar-day>b{color:var(--muted);font-size:12px}.calendar-payment{text-align:left;color:#405631;background:#edf4dc;border:0;border-radius:8px;gap:2px;width:100%;padding:7px;display:grid}.calendar-payment span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.calendar-payment small{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.calendar-payment strong{font-size:11px}.calendar-payment.overdue{color:#984235;background:#ffe6e1}.calendar-payment.partially_paid{color:#8b5e18;background:#fff0d5}.calendar-payment.paid{color:#317242;background:#e1f5dd}.calendar-detail{background:var(--paper);border:1px solid var(--line);border-radius:11px;gap:5px;margin-top:16px;padding:16px;display:grid}.calendar-detail span{color:var(--muted);font-size:13px}.calendar-detail button{width:max-content;margin-top:5px}.quick-entry-context{flex-wrap:wrap;gap:8px;display:flex}.quick-entry-context button,.quick-entry-client-choice button{border:1px solid var(--line);color:#536344;background:#f7f2e5;border-radius:999px;padding:8px 11px;font-weight:700}.quick-entry-context button.active,.quick-entry-client-choice button.active{background:var(--lime);color:#314127;border-color:#b8db79}.quick-entry-highlight{white-space:pre-wrap;color:var(--muted);background:#fff9ef;border-radius:9px;margin:0;padding:10px 12px}.quick-entry-highlight mark{color:inherit;background:#ffd8cc;border-bottom:2px solid #d75b3f}.form-note{color:#786a46;margin:0;font-size:13px}.quick-entry-client-choice{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.quick-entry-client-choice b{width:100%;color:var(--muted);font-size:12px}.quick-entry-examples{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-top:18px;display:flex}.quick-entry-examples b{color:var(--muted);margin-right:4px;font-size:12px}.quick-entry-examples button{border:1px solid var(--line);color:#536344;background:#f7f2e5;border-radius:999px;padding:7px 10px;font-size:12px}.quick-entry-preview{background:#f4fbe5;border:1px solid #d5e8ac;border-radius:15px;padding:19px}.quick-entry-preview .eyebrow{color:#65833d;margin:0 0 6px}.quick-entry-preview h2{margin:0 0 18px;font-size:20px}.quick-entry-preview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.quick-entry-preview dl div{background:#ffffff94;border-radius:9px;padding:10px}.quick-entry-preview dt{color:var(--muted);font-size:11px}.quick-entry-preview dd{margin:4px 0 0;font-size:14px;font-weight:700}.quick-entry-actions{gap:9px;margin-top:18px;display:flex}.quick-entry-actions button{flex:1;min-height:46px}.quick-entry-success{color:#46642c;background:#e9f7d2;border-radius:9px;margin:0;padding:12px;font-size:14px}@media (width<=760px){.quick-entry-page .page-header{margin-bottom:16px}.quick-entry-preview dl{grid-template-columns:1fr}.quick-entry-examples{grid-template-columns:1fr;display:grid}.quick-entry-examples b{margin:0}.quick-entry-examples button{text-align:left}.payment-calendar{overflow:auto}.calendar-weekdays,.calendar-grid{min-width:700px}.calendar-day{min-height:118px}.quick-entry-fab{padding:12px 14px;bottom:16px;right:14px}.workspace-switcher{z-index:20;position:absolute;left:13px;right:13px}}.dashboard-filters input[type=date]{min-width:0;display:block}.passport-photos{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0;display:grid}.passport-photos figure{border:1px solid var(--line);border-radius:12px;min-width:0;margin:0;padding:8px}.passport-photos img{object-fit:cover;border-radius:8px;width:100%;height:140px;display:block}.passport-photos figcaption{overflow-wrap:anywhere;margin-top:8px;font-size:12px}.panel-heading .inline-actions{flex-wrap:wrap;justify-content:flex-end}@media (width<=760px){.sold-page .section-toolbar{flex-wrap:wrap}.sold-page .section-toolbar input{width:100%;min-width:0;margin-left:0;display:block}.sold-page .section-toolbar select{flex:1;min-width:0}.sold-page .table-wrap table{min-width:0}.sold-page .table-wrap thead{display:none}.sold-page .table-wrap tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.sold-page .table-wrap td:nth-child(n){overflow-wrap:anywhere;border-top:0;min-width:0;padding:10px 12px;display:block}.sold-page .table-wrap td:first-child{grid-column:1/-1}.sold-page .table-wrap td:nth-child(2):before{content:"Группа"}.sold-page .table-wrap td:nth-child(3):before{content:"Дата продажи"}.sold-page .table-wrap td:before{color:var(--muted);margin-bottom:4px;font-size:11px;display:block}.dashboard-filters .segmented{width:100%}.dashboard-filters label{grid-template-columns:65px minmax(0,1fr);display:grid}.dashboard-filters input[type=date]{box-sizing:border-box;width:100%}}.sync-pill{z-index:30;border:1px solid var(--line);max-width:min(340px,100vw - 210px);color:var(--ink);text-align:left;background:#fffdf7f7;border-radius:999px;align-items:center;gap:10px;padding:11px 15px;transition:border-color .18s,background .18s;display:flex;position:fixed;bottom:24px;left:18px;box-shadow:0 12px 26px #4c432c29}.sync-pill:hover{background:#fffdf7;border-color:#cbbf9f}.sync-pill:focus-visible{outline-offset:2px;outline:2px solid #9fc957}.sync-pill-mark{color:#4d6a26;background:#eef5dd;border-radius:50%;flex:none;place-items:center;width:27px;height:27px;font-size:15px;font-weight:700;display:grid}.sync-pill-text{min-width:0}.sync-pill-text b,.sync-pill-text small{display:block}.sync-pill-text b{font-size:13px;font-weight:750}.sync-pill-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sync-pill.warn{background:#fff8e2;border-color:#e3c976}.sync-pill.warn .sync-pill-mark{color:#7a5b13;background:#f6e3a6}.sync-pill.error{background:#fff1ec;border-color:#dfa99c}.sync-pill.error .sync-pill-mark{color:#94402c;background:#f7d4c9}.sync-panel{gap:14px;display:grid}.sync-connection{color:#4c5948;background:#f3f0e4;border-radius:9px;align-items:center;gap:8px;margin:0;padding:11px 13px;font-size:13px;display:flex}.sync-connection span{font-size:11px}.sync-connection.is-online{color:#46642c;background:#f0f8df}.sync-connection.is-offline{color:#7a5b13;background:#fff6e2}.sync-notice{border-radius:9px;margin:0;padding:11px 13px;font-size:13px;line-height:1.5}.sync-notice.ok{color:#3f5f27;background:#f0f8df}.sync-notice.warn{color:#7a5b13;background:#fff6e2}.sync-notice.error{color:#9b4433;background:#fff0eb}.sync-button{width:100%}.sync-hint,.sync-footnote{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.sync-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.sync-list>li{border:1px solid var(--line);background:#fffdf8;border-radius:10px;gap:6px;padding:12px 13px;font-size:12px;display:grid}.sync-list>li.blocked{background:#fff6f2;border-color:#e8bdb8}.sync-list>li>span{color:var(--muted);overflow-wrap:anywhere}.sync-item-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.sync-item-head b{font-size:13px}.sync-item-head time{color:var(--muted);flex:none;font-size:11px}.sync-item-actions{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.sync-item-actions button{padding:7px 10px;font-size:12px}.sync-item-actions .danger-link{background:0 0;border:0;padding:7px 2px;text-decoration:underline}@media (width<=760px){.sync-pill{gap:8px;max-width:calc(100vw - 178px);padding:9px 12px;bottom:16px;left:12px}.sync-pill-mark{width:24px;height:24px;font-size:13px}.sync-pill-text small{display:none}.sync-item-actions button{flex:1}}.financial-calendar-page{min-height:calc(100vh - 84px)}.calendar-toolbar{flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0 20px;display:flex}.calendar-period-nav{align-items:center;gap:8px;display:flex}.calendar-period-nav strong{text-align:center;text-transform:capitalize;min-width:165px;font-size:14px}.calendar-control{color:var(--muted);gap:5px;font-size:12px;display:grid}.calendar-control input,.calendar-control select{border:1px solid var(--line);background:var(--paper);min-width:150px;min-height:38px;color:var(--ink);border-radius:8px;padding:8px 10px}.calendar-toolbar .segmented{align-self:flex-end}.calendar-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.calendar-summary article{border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0;padding:18px}.calendar-summary h2{margin:0 0 13px;font-size:14px;font-weight:650}.calendar-amounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.calendar-amounts>span{gap:7px;min-width:0;display:grid}.calendar-amounts small{color:var(--muted);font-size:11px;font-weight:400}.calendar-amounts b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:clamp(16px,1.7vw,25px)}.calendar-amounts>span:last-child b{color:#376146}.calendar-rail-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 10px;display:flex}.calendar-rail-toolbar>span{color:var(--muted);font-size:13px}.calendar-rail-toolbar .inline-actions{align-items:center;margin:0}.calendar-backlog-button{color:#a04734;font-size:12px}.calendar-empty{color:var(--muted);font-size:13px}.financial-calendar-page .calendar-timeline{overscroll-behavior-x:contain;border-color:var(--line);background:var(--paper);scrollbar-width:thin;scrollbar-color:#96ad71 #eee7d6;width:100%;max-width:100%;position:relative;overflow-x:auto}.calendar-timeline:focus-visible{outline-offset:3px;outline:2px solid #819c52}.financial-calendar-page .calendar-timeline table{table-layout:fixed;border-collapse:separate;border-spacing:0;background:var(--paper);width:max-content;min-width:100%}.financial-calendar-page .calendar-timeline th,.financial-calendar-page .calendar-timeline td{box-sizing:border-box;border-right:1px solid var(--line);border-top:1px solid var(--line);width:210px;min-width:210px;max-width:210px;color:var(--ink);padding:0}.financial-calendar-page .calendar-week th,.financial-calendar-page .calendar-week td{width:250px;min-width:250px;max-width:250px}.financial-calendar-page .calendar-timeline th:first-child{z-index:2;background:var(--paper);letter-spacing:0;text-transform:none;width:125px;min-width:125px;max-width:125px;padding:15px 12px;font-size:12px;position:sticky;left:0;box-shadow:2px 0 4px #34422e09}.financial-calendar-page .calendar-timeline thead th{text-transform:none;letter-spacing:0;background:#f4efdf;border-top:0}.financial-calendar-page .calendar-timeline thead th:first-child{z-index:3;background:#f4efdf}.calendar-date-button{width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:14px 16px 12px;display:flex}.calendar-date-button b{font-size:14px}.calendar-date-button small{color:var(--muted);font-size:11px}.calendar-column-labels{text-align:right;color:var(--muted);grid-template-columns:1fr 1fr;gap:12px;padding:0 13px 10px;font-weight:400;display:grid}.calendar-column-labels small{font-size:10px}.calendar-cell-button{width:100%;color:var(--ink);text-align:right;cursor:pointer;background:0 0;border:0;padding:19px 13px;display:block}.calendar-cell-button .calendar-amounts{gap:12px}.calendar-cell-button .calendar-amounts b{font-size:12px;font-weight:500}.calendar-cell-button .calendar-amounts>span:last-child b{font-weight:750}.calendar-cell-button:hover,.calendar-date-button:hover{background:#edf4de}.calendar-cell-button:focus-visible,.calendar-date-button:focus-visible{outline-offset:-3px;outline:2px solid #819c52}.financial-calendar-page .calendar-timeline .is-selected{background:#eff6e2}.calendar-day-details{color:var(--muted);flex-direction:column;align-items:flex-end;gap:4px;min-height:52px;padding:12px 16px;font-size:11px;display:flex}.calendar-day-details small{color:#a04734}.calendar-drawer-nav{justify-content:space-between;gap:8px;margin-bottom:15px;display:flex}.calendar-drawer-nav button{padding:9px;font-size:12px}.calendar-day-summary{grid-template-columns:1fr;gap:9px}.calendar-day-summary article{padding:13px}.calendar-day-summary .calendar-amounts b{font-size:19px}.calendar-drawer-heading{margin:24px 0 10px;font-size:15px}.calendar-plan-list{grid-template-columns:1fr;gap:10px;display:grid}.calendar-plan-card{border:1px solid var(--line);overflow-wrap:anywhere;background:#faf7ee;border-radius:9px;gap:7px;padding:13px;font-size:12px;display:grid}.calendar-plan-card>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:7px;display:flex}.calendar-plan-card>span{color:var(--muted)}.calendar-plan-card p{margin:0;line-height:1.6}.calendar-plan-card.overdue{background:#fff3ee;border-color:#e8b6a7}.calendar-plan-card.paid{background:#f0f7e8}.calendar-plan-card.partially_paid{background:#fff6e5}.calendar-plan-card .inline-actions{flex-wrap:wrap;margin-top:4px}.calendar-plan-card .entity-link{font-size:12px}@media (width<=760px){.calendar-toolbar{gap:10px}.calendar-period-nav{order:-1;justify-content:space-between;width:100%}.calendar-control{flex:1;min-width:0}.calendar-control input,.calendar-control select{width:100%;min-width:0}.calendar-toolbar .segmented{flex-grow:0;flex-basis:100%;width:max-content}.calendar-summary{grid-template-columns:1fr;gap:10px}.calendar-summary article{padding:14px}.calendar-summary .calendar-amounts b{font-size:21px}.calendar-rail-toolbar{margin-top:16px}.calendar-rail-toolbar>.inline-actions{justify-content:flex-end;width:100%}.calendar-backlog-button{margin-right:auto}.financial-calendar-page .calendar-timeline th:first-child{width:105px;min-width:105px;max-width:105px;padding:12px 9px;font-size:11px}.calendar-day-summary .calendar-amounts b{font-size:19px}}.premises-dimensions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}button.nav-item{font:inherit;font-weight:550}.danger-zone{background:#fff5f5;border:1px solid #e8bdb8;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:40px;padding:24px;display:flex}.danger-zone .eyebrow{color:#a63f37;margin:0}.danger-zone b{color:#5d2924;margin:4px 0 6px;font-size:15px;display:block}.danger-zone .muted{color:#8f5f5b;margin:0}@media (width<=760px){.danger-zone{flex-direction:column;align-items:stretch;gap:14px;padding:18px}}.direction-module-wrap{min-width:0;margin-bottom:18px}.direction-brand{color:#fffdf7;letter-spacing:.08em;align-items:center;gap:10px;padding:0 7px 16px;font-size:16px;font-weight:800;display:flex}.direction-brand-mark{color:#314127;background:#c6ef79;border-radius:9px;place-items:center;width:31px;height:31px;font-size:17px;display:grid}.direction-module{isolation:isolate;position:relative}.direction-module .direction-toggle{color:#263d2c;cursor:pointer;text-align:left;background:#fffdf5;border:1px solid #dce5cb;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:72px;padding:13px 14px;display:flex;box-shadow:0 5px 16px #15231122}.direction-toggle-copy{gap:5px;min-width:0;display:grid}.direction-module .direction-caption{letter-spacing:.12em;text-transform:uppercase;color:#607253;font-size:10px;font-weight:700;line-height:1.2}.direction-module .direction-toggle strong{overflow-wrap:anywhere;font-size:15px;font-weight:750;line-height:1.3}.direction-chevron{color:#263e20;background:#c6ef79;border:1px solid #aaca70;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.direction-module svg{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.direction-chevron svg{transition:transform .18s}.direction-toggle[aria-expanded=true] .direction-chevron svg{transform:rotate(180deg)}.direction-module .direction-toggle:hover{background:#f3f7e8}.direction-module button:focus-visible,.direction-links a:focus-visible{outline-offset:3px;outline:3px solid #a8dc60}.direction-dropdown{z-index:60;overscroll-behavior:contain;background:#fffdf7;border:1px solid #cbd6bb;border-radius:16px;width:100%;max-height:min(440px,100dvh - 170px);padding:9px;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 18px 44px #0d1d1640}.direction-dropdown-heading{color:#647356;justify-content:space-between;align-items:center;gap:6px;padding:1px 2px 7px 9px;font-size:11px;font-weight:700;display:flex}.direction-module .direction-dropdown-heading button{color:#3a5230;cursor:pointer;background:#f0f2e8;border:0;border-radius:10px;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.direction-links{gap:4px;display:grid}.direction-module .direction-links a{color:#30452b;background:#fffdf7;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:11px 12px;font-size:14px;font-weight:650;line-height:1.35;text-decoration:none;display:flex}.direction-module .direction-links a:hover{background:#f1f5e7}.direction-module .direction-links a[aria-current=page]{color:#2b4823;background:#e6f3cf;border-color:#b5d58a}.direction-choice-mark{text-align:center;color:#527435;flex:none;width:20px;font-size:17px}:is(.sidebar:has(.direction-module-wrap)>.brand-button,.sidebar:has(.direction-module-wrap)>.workspace-switcher,.sidebar:has(.direction-module-wrap)>.side-label){display:none}@media (width<=760px){.direction-module-wrap{margin-bottom:0}.direction-brand{padding:0 2px 10px;font-size:14px}.direction-brand-mark{border-radius:8px;width:26px;height:26px;font-size:15px}.direction-module .direction-toggle{min-height:66px;padding:10px 13px}.direction-module .direction-toggle strong{font-size:16px}.direction-dropdown{max-height:calc(100dvh - 160px)}}@media (prefers-reduced-motion:reduce){.direction-chevron svg{transition:none}}.contract-generator-form>p{margin-top:0}.contract-field-group{border:1px solid var(--line);border-radius:9px;padding:12px}.contract-field-group summary{cursor:pointer;margin-bottom:12px;font-weight:700}.contract-field-group label{margin:12px 0}.contract-field-group input[readonly]{color:#58634e;background:#eeeade}.contract-text-preview{border:1px solid var(--line);color:#273027;background:#fff;border-radius:8px;max-height:440px;padding:14px;font-family:Arial,sans-serif;font-size:13px;line-height:1.55;overflow:auto}.contract-text-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px}.contract-generator-form .checkbox-row{align-items:flex-start;gap:9px;line-height:1.5;display:flex}.contract-generator-form .checkbox-row input{flex:0 0 18px;width:18px;margin-top:2px}.contract-generator-form .error-text{color:#9b4433}.contract-generator-form section>button{margin:12px 8px 0 0}.contract-generator-form li{margin:6px 0}.business-overview{width:100%;min-width:0}.workspace:has(.business-overview){max-width:none}.overview-breakdowns{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:22px;display:grid}.overview-breakdowns .panel{min-width:0}.overview-breakdowns h2{margin:0 0 16px;font-size:18px}.overview-table{width:100%;min-width:0}.overview-table table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.overview-table th,.overview-table td{text-align:right;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;padding:16px 12px}.overview-table th:first-child{text-align:left;width:32%}.overview-table tbody th{font-weight:600}.overview-table thead th{color:var(--muted,#647789);font-size:12px}.overview-table tbody tr{border-top:1px solid var(--line,#e6dece)}.overview-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}.overview-metrics article{min-width:0}.overview-metrics strong{overflow-wrap:anywhere;font-size:clamp(18px,1.6vw,25px)}.overview-note{font-size:12px;line-height:1.6}.overview-filters{z-index:3;flex-wrap:wrap;position:relative;overflow:visible}.overview-filters label input{display:block}.direction-picker{min-width:210px;max-width:100%;position:relative}.direction-trigger{text-align:left;white-space:normal;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:44px;display:flex}.direction-options{border:1px solid var(--line,#e6dece);background:var(--surface,#fffdf8);z-index:20;border-radius:12px;width:max(100%,260px);max-width:calc(100vw - 40px);margin:0;padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #26352625}.direction-options label{cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:8px;display:flex}.direction-options label:first-of-type{border-bottom:1px solid var(--line,#e6dece)}.overview-filters .direction-options input{accent-color:#658a38;width:18px;height:18px;display:inline-block}.direction-options label:focus-within{border-radius:6px;outline:2px solid #658a38}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=900px){.overview-table thead{display:none}.overview-table tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 0;display:grid}.overview-table tbody th:first-child{text-align:left;grid-column:1/-1;width:auto;padding:0}.overview-table td{text-align:left;min-width:0;padding:0;display:block}.overview-table td:before{content:attr(data-label);color:var(--muted,#647789);margin-bottom:6px;font-size:12px;display:block}.category-breakdown tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (width<=420px){.overview-table tr{grid-template-columns:minmax(0,1fr)}.overview-table td{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.overview-table td:before{margin:0}.overview-filters{align-items:stretch}.direction-picker{width:100%}}.asset-object-filters{flex-wrap:wrap;overflow:visible}.asset-object-filters input{display:block}.asset-object-list{gap:12px;display:grid}.asset-object-list>article{border:1px solid var(--line,#e6dece);background:var(--surface,#fffdf8);border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:22px;padding:20px;display:grid}.asset-object-list article>div{overflow-wrap:anywhere;min-width:0}.asset-object-list p{color:var(--muted,#647789);font-size:12px}.asset-object-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;display:grid}.asset-object-list dt{color:var(--muted,#647789);font-size:12px}.asset-object-list dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0 0;font-weight:650}@media (width<=1100px){.asset-object-list>article{grid-template-columns:minmax(0,1fr);gap:16px}.asset-object-list button{justify-self:start}}@media (width<=420px){.asset-object-list dl{grid-template-columns:minmax(0,1fr)}}.agency-sale-stages{--step-tip:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0 0 20px;padding:0;list-style:none;display:grid}.agency-sale-stages li{color:#4e596b;isolation:isolate;display:flex;position:relative}.agency-sale-stages li:before{inset:0 calc(-1 * var(--step-tip)) 0 0;z-index:-1;clip-path:polygon(0 0, calc(100% - var(--step-tip)) 0, 100% 50%, calc(100% - var(--step-tip)) 100%, 0 100%, var(--step-tip) 50%);content:"";background:#e9edf3;position:absolute}.agency-sale-stages li:first-child:before{clip-path:polygon(0 0, calc(100% - var(--step-tip)) 0, 100% 50%, calc(100% - var(--step-tip)) 100%, 0 100%);border-radius:9px 0 0 9px}.agency-sale-stages li:last-child:before{clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--step-tip) 50%);border-radius:0 9px 9px 0;right:0}.agency-sale-stages li[data-state=done]:before{background:#cedafd}.agency-sale-stages li[data-state=done]{color:#203c7b}.agency-sale-stages li[data-state=current]:before{background:#3957ae}.agency-sale-stages li[data-state=current]{color:#fff;font-weight:700}.agency-sale-stages li:has(button:hover):before{background:#bdcdfa}.agency-sale-stages li[data-state=current]:has(button:hover):before{background:#304c9c}.agency-sale-stages li>*{min-width:0;min-height:56px;padding:8px 6px 8px calc(var(--step-tip) + 6px);text-align:center;overflow-wrap:anywhere;flex:1;place-items:center;font-size:14px;line-height:1.25;display:grid}.agency-sale-stages li:first-child>*{padding-left:8px}.agency-sale-stages button{color:inherit;font-weight:inherit;background:0 0;border:0}.agency-sale-stages button:focus-visible{outline-offset:2px;outline:2px solid #29418d}@media (width<=640px){.agency-sale-stages{--step-tip:6px;gap:2px}.agency-sale-stages li>*{min-height:62px;padding-left:8px;padding-right:3px;font-size:12px}}.agency-photos{margin-top:20px}.agency-photos .panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.agency-photos .photo-open{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.agency-photos .passport-photos{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.agency-photos figure a{margin-top:8px;display:inline-block}.agency-photos figure .table-action{white-space:normal;margin-top:10px}.agency-photo-preview{background:#fffdf8;border:1px solid #ded3bd;border-radius:14px;width:min(95vw,1200px);max-height:94dvh;padding:16px}.agency-photo-preview::backdrop{background:#172316bb}.agency-photo-preview header{justify-content:space-between;align-items:center;gap:16px;display:flex}.agency-photo-preview h2{overflow-wrap:anywhere;min-width:0;font-size:18px}.agency-photo-preview>img{object-fit:contain;max-width:100%;max-height:76dvh;margin:auto;display:block}@media (width<=480px){.agency-photos .passport-photos{grid-template-columns:1fr}}.instructions-page{color:#27382d;max-width:1600px;margin:0 auto;padding-bottom:36px}.instructions-page button,.instructions-page a{-webkit-tap-highlight-color:transparent}.instructions-page button:focus-visible,.instructions-page a:focus-visible,.instructions-map-viewport:focus-visible{outline-offset:4px;outline:3px solid #61823d}.instructions-search{background:#fffcf5;border:1px solid #dfdfcf;border-radius:18px;padding:22px 24px 16px;box-shadow:0 6px 24px #3a492209}.instructions-search>label{margin-bottom:12px;font-size:16px;font-weight:750;display:block}.instructions-search>div{align-items:center;gap:12px;display:flex}.instructions-search>div>span{color:#5c7152;font-size:27px}.instructions-search input{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #cecdb7;border-radius:10px;flex:1;padding:13px}.instructions-search p{color:#64715e;margin:10px 0 0;font-size:12px;line-height:1.6}.instructions-views{flex-wrap:wrap;gap:8px;margin:22px 0;display:flex}.instructions-views button,.instructions-scenes button{color:#53634b;font:inherit;cursor:pointer;background:#fffdf6;border:1px solid #d5d9c8;border-radius:10px;padding:11px 15px;font-size:13px;font-weight:650}.instructions-views button.active,.instructions-scenes button.active{color:#f4f8eb;background:#30462e;border-color:#30462e}.instructions-map h2,.instructions-article h2,.instructions-answers h2{letter-spacing:-.025em;font-size:24px;line-height:1.25}.instructions-map-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.instructions-map-heading h2{margin:0 0 8px}.instructions-map-heading p{color:#67715d;max-width:690px;font-size:14px;line-height:1.5}.instructions-map-badge{color:#4d643e;white-space:nowrap;background:#e6eedb;border-radius:8px;padding:9px 11px;font-size:11px}.instructions-scenes{flex-wrap:wrap;gap:6px;margin:12px 0 18px;display:flex}.instructions-scenes button{padding:9px 12px;font-size:12px}.instructions-map-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.instructions-map-surface{background:#f7f7ed;border:1px solid #d6dacb;border-radius:16px;min-width:0;overflow:hidden}.instructions-map-tools{background:#fffcf7;border-bottom:1px solid #d6dacb;gap:12px;padding:13px;display:grid}.instructions-map-tools>div:last-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.instructions-map-tools button{color:#344b32;cursor:pointer;background:#fff;border:1px solid #cbd2be;border-radius:7px;padding:7px 10px;font-size:12px}.instructions-map-tools span{color:#65765e;font-size:11px}.instructions-legend{flex-wrap:wrap;gap:10px 16px;display:flex}.instructions-legend span{align-items:center;gap:5px;display:flex}.instructions-legend i{background:#82908a;width:18px;height:3px;display:block}.instructions-legend i.obligation{background:#ad7229}.instructions-legend i.money{background:#3d783b}.instructions-legend i.view{background:0 0;border-top:2px dashed #648aa2}.instructions-map-viewport{overscroll-behavior:contain;cursor:grab;background-color:#f7f7ef;background-image:radial-gradient(#cdd5c2 1px,#0000 1px);background-size:20px 20px;height:660px;overflow:auto}.instructions-map-viewport:active{cursor:grabbing}.instructions-map-stage{transform-origin:0 0;width:1200px;height:1080px;position:relative}.instructions-map-lines{pointer-events:none;width:1200px;height:1080px;position:absolute;inset:0;overflow:visible}.instructions-map-lines>path{fill:none;stroke:#82908a;stroke-width:2.4px;transition:opacity .2s,stroke-width .2s}.instructions-map-lines>path.obligation{stroke:#ad7229}.instructions-map-lines>path.money{stroke:#3d783b;stroke-width:3.5px}.instructions-map-lines>path.view{stroke:#648aa2;stroke-dasharray:7 5}.instructions-map-lines marker path.link{fill:#82908a}.instructions-map-lines marker path.obligation{fill:#ad7229}.instructions-map-lines marker path.money{fill:#3d783b}.instructions-map-lines marker path.view{fill:#648aa2}.instructions-map-lines>path.current{stroke-width:5px;stroke:#2a6427}.instructions-map-lines>path.flowing{stroke-dasharray:10 6;animation:1.2s linear infinite instructions-flow}@keyframes instructions-flow{to{stroke-dashoffset:-32px}}.instructions-map-node{text-align:left;color:#263c2e;cursor:pointer;background:#fffdf8;border:1.5px solid #c7cfbd;border-radius:13px;width:220px;height:100px;padding:14px 15px;transition:opacity .2s,border-color .2s,box-shadow .2s;position:absolute;box-shadow:0 6px 14px #3a49220a}.instructions-map-node strong{letter-spacing:-.02em;font-size:17px;line-height:1.2;display:block}.instructions-map-node span{color:#617058;margin:5px 0;font-size:12px;line-height:1.4;display:block}.instructions-map-node small{color:#87917b;font-size:10px}.instructions-map-node.selected{background:#f0f8dd;border:2px solid #365e36;box-shadow:0 0 0 5px #bada8c70}.instructions-edge-label{color:#68756b;cursor:pointer;background:#f7f7efa8;border:1px solid #e3e5da;border-radius:5px;max-width:215px;padding:4px 6px;font-size:10px;font-weight:700;line-height:1.25;position:absolute;transform:translate(-50%,-50%)}.instructions-edge-label.money{color:#356638;background:#e8f1df;border-color:#bcccab}.instructions-edge-label.obligation{color:#8a5a25;background:#fbf0d9;border-color:#e4d1ab}.instructions-edge-label.view{color:#4b6d85;background:#ecf1f4;border-color:#d6e2e8}.instructions-map-node.dimmed,.instructions-edge-label.dimmed,.instructions-map-lines>path.dimmed{opacity:.2}.instructions-edge-label.current{color:#214a26;background:#dff2be;border:2px solid #427137}.instructions-map-footnote{color:#67735e;background:#fffdf8;border-top:1px solid #d8dece;margin:0;padding:12px 14px;font-size:11px;line-height:1.6}.instructions-map-detail{background:#fffdf7;border:1px solid #d7ddcb;border-radius:15px;min-width:0;padding:22px}.instructions-eyebrow{color:#718364;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:750;line-height:1.5}.instructions-map-detail h3{margin:8px 0 12px;font-size:21px;line-height:1.3}.instructions-map-detail h4{margin:18px 0 9px;font-size:13px}.instructions-map-detail p{font-size:13px;line-height:1.7}.instructions-map-detail>button,.instructions-map-detail>a{text-align:center;white-space:normal;width:100%;margin-top:12px;font-size:12px;line-height:1.5;display:block}.instructions-map-detail ul{padding:0;list-style:none}.instructions-map-detail li button{text-align:left;color:#38583b;cursor:pointer;background:0 0;border:0;width:100%;padding:8px 0;font-size:12px}.instructions-map-detail li small{color:#7a826e;margin-top:3px;display:block}.instructions-detail-tip{color:#74816b;border-top:1px solid #dfe4d6;padding-top:15px}.instructions-step-count{color:#76816b;font-size:11px!important}.instructions-step-controls{gap:6px;display:flex}.instructions-step-controls button{white-space:normal;padding:9px;font-size:11px}.instructions-timeline{padding-left:17px}.instructions-timeline li{color:#97a184;padding:4px 0}.instructions-timeline button{text-align:left;color:#6d7864;cursor:pointer;background:0 0;border:0;padding:4px;font-size:12px;line-height:1.5}.instructions-timeline button.active{color:#2f542d;font-weight:750}.instructions-question-grid,.instructions-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.instructions-question-grid button{text-align:left;color:#35482f;min-height:85px;font:inherit;cursor:pointer;background:#fffcf4;border:1px solid #d9dece;border-radius:13px;justify-content:space-between;align-items:center;gap:15px;padding:20px;font-size:14px;display:flex}.instructions-answer{background:#fffdf6;border:1px solid #d5ddc6;border-radius:16px;margin:16px 0;padding:24px}.instructions-answer p{max-width:950px;line-height:1.75}.instructions-answer h2{margin:8px 0}.instructions-actions{flex-wrap:wrap;gap:9px;margin-top:18px;display:flex}.instructions-result-list{gap:8px;display:grid}.instructions-result-list button{text-align:left;cursor:pointer;color:#31452b;background:#fffcf6;border:1px solid #dce1d0;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:17px;display:flex}.instructions-result-list small{color:#77816c;margin-top:5px;display:block}.instructions-library>section{margin:28px 0}.instructions-library h2{font-size:19px}.instructions-library-grid button{text-align:left;color:#2d432e;cursor:pointer;background:#fffdf6;border:1px solid #d7ddca;border-radius:14px;flex-direction:column;gap:10px;padding:20px;display:flex}.instructions-library-grid strong{font-size:16px;line-height:1.4}.instructions-library-grid small{color:#69775e;font-size:12px;line-height:1.7}.instructions-card-link{color:#4d6e3c;margin-top:auto;padding-top:8px;font-size:12px}.instructions-note,.instructions-caution{background:#eaf0df;border-radius:12px;margin:18px 0;padding:16px 18px;font-size:13px;line-height:1.7}.instructions-caution{color:#70552f;background:#fbefdc}.instructions-note h3,.instructions-caution h3{margin:0 0 8px;font-size:14px}.instructions-note p,.instructions-caution p{margin:0}.instructions-article{background:#fffcf6;border:1px solid #dadecf;border-radius:18px;padding:28px}.instructions-back{color:#557344;cursor:pointer;font:inherit;background:0 0;border:0;margin-bottom:22px;padding:0;font-size:13px}.instructions-article>h2{max-width:900px;margin:8px 0 16px;font-size:29px}.instructions-article-route{color:#526d43;background:#eef1e5;border-radius:8px;padding:12px 16px;font-size:13px}.instructions-article-body{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:28px;margin-top:24px;display:grid}.instructions-steps h3{font-size:17px}.instructions-steps ol{padding-left:22px}.instructions-steps li{padding:0 0 15px 4px;font-size:14px;line-height:1.8}.instructions-article figure{margin:0;position:sticky;top:24px}.instructions-image-button{cursor:zoom-in;background:#f2f0e5;border:1px solid #d8dccd;border-radius:10px;width:100%;padding:0;display:block;overflow:hidden}.instructions-image-button img{object-fit:contain;width:100%;max-height:680px;display:block}.instructions-image-button span{color:#547143;background:#eff3e7;padding:12px;font-size:12px;font-weight:700;display:block}.instructions-article figcaption{color:#7b846e;margin:10px 0;font-size:11px;line-height:1.7}.instructions-screenshot-dialog{background:#fffcf6;border:1px solid #c8d2bb;border-radius:14px;width:95vw;max-width:1500px;max-height:94dvh;padding:0}.instructions-screenshot-dialog::backdrop{background:#172316bb}.instructions-screenshot-dialog header{background:#fffcf6;border-bottom:1px solid #d6ddc9;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;display:flex;position:sticky;top:0}.instructions-screenshot-dialog h2{margin:0;font-size:16px}.instructions-screenshot-dialog button{cursor:pointer;color:#3b5635;background:#e9efdd;border:0;border-radius:8px;padding:8px 15px;font-size:24px}.instructions-screenshot-dialog>div{max-height:calc(94dvh - 75px);padding:14px;overflow:auto}.instructions-screenshot-dialog img{width:1200px;max-width:none;height:auto;display:block}@media (width<=1250px){.instructions-map-layout{grid-template-columns:minmax(0,1fr)}.instructions-map-detail{display:block}.instructions-map-detail>button,.instructions-map-detail>a{width:auto;margin-right:8px;display:inline-block}.instructions-question-grid,.instructions-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.instructions-search{padding:16px}.instructions-search>div{flex-wrap:wrap;gap:7px}.instructions-search>div>span{display:none}.instructions-search input{flex-basis:100%;font-size:16px}.instructions-search button{width:100%}.instructions-map-heading{display:block}.instructions-map-badge{margin-bottom:8px;display:inline-block}.instructions-map h2{font-size:22px}.instructions-map-viewport{height:500px}.instructions-map-detail{padding:18px}.instructions-question-grid,.instructions-library-grid{grid-template-columns:1fr}.instructions-article{padding:18px}.instructions-article>h2{font-size:24px}.instructions-article-body{grid-template-columns:1fr}.instructions-article figure{position:static}.instructions-actions>button{width:100%}.instructions-views{grid-template-columns:1fr;display:grid}.instructions-views button{text-align:left}.instructions-screenshot-dialog{width:98vw;max-width:98vw}.instructions-screenshot-dialog header{padding:12px}.instructions-scenes{gap:6px}.instructions-scenes button{padding:9px;font-size:11px}}@media (prefers-reduced-motion:reduce){.instructions-page *,.instructions-page :before,.instructions-page :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
