@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f4f6fa;--ink:#202e44;--navy:#243a5c;--muted:#8390a5;--line:#e1e6ef;--yellow:#ffe600;--blue:#485aaa;--red:#cb536d;--teal:#3c9186;--amber:#aa8c36}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #8996de;outline-offset:3px}a{color:inherit}button{color:inherit}[hidden]{display:none!important}.brand{display:inline-block;text-decoration:none;font-size:34px;font-weight:800;letter-spacing:-2.7px;line-height:1;color:#34425c}.brand>span{display:inline-block;width:10px;height:10px;margin-left:5px;vertical-align:top;margin-top:4px;background:var(--yellow)}.brand small{display:block;font-size:7px;letter-spacing:2.3px;margin-top:14px;color:#9da6b7;line-height:1.5}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:10px 15px;background:white;border:1px solid #dce2ed;border-radius:7px;color:#53637e;font-size:11px;font-weight:700;text-decoration:none;line-height:1.5;transition:background .2s,border-color .2s,transform .2s;white-space:nowrap}.btn:hover{background:#edf1f8;border-color:#b7c2d7}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:#29354b}.btn.primary:hover{background:#edda1a;transform:translateY(-1px)}.btn.large{padding:14px 20px;font-size:12px}.btn.ghost{background:white}.link{padding:0;border:0;background:none;font-size:11px;font-weight:700;color:#5263a5;text-align:left;line-height:1.7}.link:hover{color:#293e8a}.icon-btn{border:0;background:none;font-size:22px;color:#a3afc1;line-height:1;padding:4px}.eyebrow{font-size:8px;font-weight:800;letter-spacing:1.8px;color:#93a0b6}h1,h2,h3,h4,p{margin-top:0}h1{font-size:31px;line-height:1.3;font-weight:800;letter-spacing:-1px}h2{font-size:18px;line-height:1.45;font-weight:800;letter-spacing:-.5px}h3{font-size:15px;font-weight:800;line-height:1.5}h4{font-size:11px;letter-spacing:.8px;color:#74849d;margin:22px 0 15px}.muted{color:#7f8da4;font-size:12px;line-height:1.9}.tiny{font-size:10px;line-height:1.9;color:#98a4b8}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:22px;box-shadow:0 3px 16px #26395202}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.section-title h2,.section-title h3{margin:0}.section-title .eyebrow{flex:1}.sidebar{position:fixed;top:0;left:0;width:240px;height:100vh;background:#fff;border-right:1px solid var(--line);padding:28px 16px 18px;display:flex;flex-direction:column;overflow-y:auto}.sidebar .brand{padding-left:13px}.back-clients{border:0;background:none;text-align:left;font-size:10px;color:#8d9ab0;margin:28px 0 18px;padding:0 13px}.project-switch{display:flex;align-items:center;gap:10px;margin:0 9px 20px;border:1px solid #e8edf5;background:#f7f9fc;padding:11px;border-radius:9px}.project-switch b{display:block;font-size:11px;word-break:break-word}.project-switch small{display:block;color:#a1adc0;font-size:9px;word-break:break-word}.avatar{width:46px;height:46px;border-radius:13px;background:#eef2f9;color:#6a7ca1;display:inline-grid;place-items:center;font-weight:800;font-size:16px;letter-spacing:-.5px;flex-shrink:0}.avatar.small-avatar{width:30px;height:30px;border-radius:7px;font-size:10px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav{display:flex;align-items:center;width:100%;gap:12px;text-align:left;border:0;background:none;color:#7a88a0;font-size:11px;padding:11px 13px;border-radius:8px;white-space:nowrap}.nav>span{font-size:16px;width:17px;text-align:center}.nav small{font-size:9px;margin-left:auto;color:#a3afc2}.nav:hover{background:#f1f4f9;color:#3c506f}.nav.active{background:var(--yellow);color:#28374f;font-weight:800}.sidebar-bottom{border-top:1px solid var(--line);padding:19px 12px 0;margin-top:auto;color:#8b99ae;font-size:9px}.sidebar-bottom small{display:block;color:#b0b9c8;font-size:8px;margin-top:8px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e3cd27;margin-right:8px;box-shadow:0 0 0 4px #fffbe1}.main{margin-left:240px;max-width:1840px;padding:0 35px}.main>header,.home-header{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumbs{font-size:9px;letter-spacing:1px;color:#9eabbd}.breadcrumbs b{color:#677995;font-weight:700;letter-spacing:0}.header-actions{display:flex;align-items:center;gap:8px}.save-state{font-size:9px;color:#9ba8bc;margin-right:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px 0 23px}.page-heading h1{margin:9px 0}.page-heading p{margin:0;font-size:12px;color:#99a5b8}.data-warning{border:1px solid #f0e3b5;border-left:4px solid #e0bf4b;background:#fffcee;border-radius:9px;padding:12px 17px;margin-bottom:22px;color:#9f8e55}.data-warning summary{display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none;font-size:11px}.data-warning summary>span{display:grid;place-items:center;width:18px;height:18px;background:#f6e9b9;border-radius:50%;font-weight:800;color:#af9645}.data-warning summary small{margin-left:auto;font-size:9px;color:#c1ac75;white-space:nowrap}.data-warning summary b{font-weight:600}.data-warning ul{font-size:11px;line-height:1.9;margin:14px 0 0;padding-left:21px;color:#ac9c68}.data-warning li{margin-bottom:7px}.data-complete{background:#eef7f2;color:#8ca99a;border:1px solid #e2ede7;font-size:10px;padding:12px 16px;border-radius:8px;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.field{min-width:0;margin-bottom:19px}.field>label{display:block;color:#71819b;font-size:11px;line-height:1.7;font-weight:600;min-height:19px}.field input,.field select,.field textarea{display:block;width:100%;min-width:0;margin-top:7px;border:1px solid #dfe5ef;background:#f8fafd;border-radius:6px;padding:11px 12px;font-size:13px;line-height:1.5;color:#314661;transition:border .2s,box-shadow .2s;resize:vertical}.field textarea{min-height:85px}.field input:focus,.field textarea:focus,.field select:focus{outline:0;border-color:#8393ca;box-shadow:0 0 0 3px #7485d014;background:#fff}.field input::placeholder,.field textarea::placeholder{color:#bac3d1}.field.is-unknown input,.field.is-unknown select,.field.is-unknown textarea{border-style:dashed;background:#fcfcfa}.field-tools{display:flex;gap:12px;align-items:center;min-height:19px;margin-top:5px}.no-data{border:0;background:none;font-size:9px;color:#a8b2c3;padding:0;text-align:left;line-height:1.7}.no-data.selected,.field.is-unknown .no-data{color:#b49b57}.no-data:hover{color:#a07c24;text-decoration:underline}.restore-data{border:0;background:none;padding:0;font-size:8px;color:#8c9aba}.check{display:flex;align-items:center;gap:8px;font-size:10px;color:#8a98ad;line-height:1.8}.check input{width:14px;height:14px;margin:0;accent-color:#526ba3}.step{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#f1f4fa;color:#9aa8c0;font-size:9px;font-weight:800;flex-shrink:0}.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.qa-grid>.card{margin:0}.question-card{padding:25px}.question-card>.step{margin-bottom:16px}.question-card .field:last-child,.extra-card .field:last-child{margin-bottom:0}.question-card .field>label{font-size:14px;font-weight:800;color:#526581;min-height:40px}.project-banner{display:grid;grid-template-columns:1fr 280px;gap:40px;align-items:center;border:1px solid var(--line);border-left:6px solid var(--yellow);border-radius:13px;background:white;padding:32px;margin-bottom:23px}.project-banner h2{font-size:33px;line-height:1.2;font-weight:800;letter-spacing:-1px;margin:18px 0}.project-banner mark,.home-hero mark{background:var(--yellow);color:#283850;box-decoration-break:clone;padding:0 4px}.project-banner p{font-size:12px;color:#9aa7ba;max-width:520px}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}.identity-fields{border-left:1px solid var(--line);padding-left:26px}.identity-fields .field:last-child{margin-bottom:0}.qa-grid+button{margin:24px 0}.home-shell{max-width:1470px;margin:auto;padding:0 50px 40px}.home-header{height:100px}.home-header .brand{font-size:36px}.home-hero{padding:48px 0 35px;display:flex;align-items:center;justify-content:space-between;gap:30px}.home-hero h1{font-size:clamp(35px,4.1vw,56px);line-height:1.12;letter-spacing:-2px;font-weight:800;margin:22px 0}.home-hero p{color:#8a98ad;font-size:13px;max-width:700px;line-height:1.9}.home-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:8px 0 42px}.home-stats>div{display:flex;align-items:center;gap:22px;border:1px solid var(--line);background:white;border-radius:10px;padding:23px 28px}.home-stats b{font-size:31px;font-weight:800;color:#3a506e;letter-spacing:-1px}.home-stats span{font-size:11px;max-width:150px;line-height:1.9;color:#97a4b8}.clients-section h2{font-size:20px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe5f0;border-radius:7px;padding:9px 12px;color:#a9b6c9}.search input{border:0;outline:0;background:none;max-width:210px;font-size:11px;color:#6e819f}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.client-card{display:block;text-align:left;border:1px solid #dde4ef;border-radius:14px;background:#fff;padding:27px;transition:transform .2s,box-shadow .2s;min-height:250px}.client-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #223b5909;border-color:#bbc8de}.client-card-top{display:flex;align-items:center;gap:15px}.client-card-top .arrow{margin-left:auto;font-size:20px;color:#a4b0c4}.badge{display:inline-block;border-radius:5px;padding:5px 8px;font-size:9px;line-height:1.5;font-weight:700;color:#8a99b1;background:#f0f3f9;white-space:nowrap}.badge.yellow{background:#fff7b9;color:#a38f33}.badge.red{background:#fff0f3;color:#c9687e}.badge.amber{background:#fbf5e6;color:#b39b5c}.badge.green{background:#eaf5f0;color:#6f9f92}.client-card h3{font-size:24px;letter-spacing:-.8px;margin:25px 0 5px}.client-card p{font-size:11px;color:#a4b0c3;line-height:1.8;margin:0}.client-progress{height:4px;border-radius:4px;overflow:hidden;background:#edf1f7;margin:27px 0 12px}.client-progress>span{height:100%;display:block;background:#a9bbd4;border-radius:4px}.client-meta{display:flex;justify-content:space-between;gap:10px;color:#a6b1c3;font-size:9px}.new-card{border:1px dashed #d0d9e8;background:#f8fafd;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.new-card h3{font-size:18px;margin:17px 0 10px}.plus-circle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #dbe2ef;border-radius:50%;color:#8da1c2;font-size:23px;background:#fff}.storage-note{margin-top:36px;border:1px solid #e3e7f0;background:#f7f9fd;color:#9ca9be;padding:15px 20px;font-size:10px;line-height:1.9;border-radius:8px}.intro-row{display:flex;justify-content:space-between;align-items:start;gap:28px}.intro-row h2{margin-bottom:12px}.intro-row p{font-size:11px;line-height:1.9;color:#96a4ba;margin-bottom:0;max-width:750px}.source-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:0 0 35px}.picker{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px}.picker.current{border-color:#acbbd3;background:#f9fbff}.picker.proposed{box-shadow:inset 0 3px 0 var(--yellow);border-color:#e4dba3}.picker>span{color:#a6b2c6;font-size:8px;letter-spacing:.5px}.picker h3{font-size:13px;margin:7px 0 18px}.picker>div{display:flex;gap:18px;flex-wrap:wrap}.source-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.source-detail-grid .card{margin-bottom:0}.source-card .muted{font-size:10px}.source-card .check{margin:15px 0}.source-card h3{font-size:18px}.source-detail-grid+.callout{margin-top:25px}.callout{padding:20px 24px;background:#eef2f9;border:1px solid #dde5f2;border-left:4px solid var(--yellow);border-radius:9px;margin-bottom:22px;font-size:12px;color:#7b8ca8;line-height:1.8}.callout b{font-size:13px;color:#627899}.callout p{font-size:11px;line-height:1.9;margin:7px 0 0;color:#96a5bb}.callout.compact{margin-top:20px;margin-bottom:0}.goals-grid{align-items:start;gap:22px}.goals-grid>.card{margin-bottom:20px}.scenario-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.segmented{display:flex;gap:3px;background:#e8edf6;border-radius:8px;padding:4px}.segmented button{border:0;background:none;font-size:10px;font-weight:700;color:#98a6be;padding:9px 14px;border-radius:5px}.segmented button.active{background:white;color:#5c7192;box-shadow:0 3px 8px #263c5e08}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 0 25px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:12px;min-width:0}.metric>span{font-size:10px;color:#99a7bd;font-weight:600;line-height:1.7}.metric b{font-size:30px;color:#344f73;font-weight:800;letter-spacing:-.8px;line-height:1.25;overflow-wrap:anywhere}.metric small{font-size:9px;line-height:1.9;color:#a8b5c8}.metric.yellow{background:#fffbe0;border-color:#f0e7ba}.funnel-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:24px;align-items:start;margin-bottom:25px}.visual-funnel{background:radial-gradient(ellipse at 50% 36%,#edf3ff 0,#fafdff 34%,#fff 75%);padding:25px;overflow:hidden}.visual-funnel .section-title{margin-bottom:18px}.visual-funnel h2{font-size:17px;margin:8px 0 0}.live-dot{width:7px;height:7px;border-radius:50%;background:#a7bdd7;box-shadow:0 0 0 6px #ecf2fa;flex-shrink:0;margin-right:7px}.diagnostic-select{display:flex;gap:15px;align-items:center;justify-content:space-between;color:#a1afc4;font-size:9px;padding:13px 0;border-top:1px solid #e7edf6;border-bottom:1px solid #e7edf6;line-height:1.8}.diagnostic-select select{font-size:10px;color:#7990b0;padding:7px 10px;border:1px solid #dce5f2;background:white;border-radius:5px;max-width:220px;min-width:0}.funnel-svg{display:block;width:100%;height:auto;max-height:650px;overflow:visible}.funnel-layer{transition:opacity .25s,transform .3s;transform-origin:center}.funnel-layer:hover{transform:translateY(-3px);opacity:.94}.funnel-layer.problem{animation:funnelPulse 3s ease-in-out infinite}.funnel-legend{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:8px 0 18px;font-size:8px;color:#a4b0c3}.funnel-legend>span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;border-radius:50%;display:inline-block}.legend-dot.green{background:#6fae9e}.legend-dot.red{background:#e48a9d}.legend-dot.amber{background:#c7ae69}.visual-funnel>.tiny{text-align:center;font-size:9px;margin-bottom:0}.growth-zones>.section-title{padding:9px 0 4px;margin-bottom:20px}.growth-zones>.section-title h2{font-size:17px}.zone{border:1px solid #e1e7f1;background:white;border-radius:11px;padding:21px;margin-bottom:16px;position:relative;overflow:hidden}.zone.problem{border-color:#f1cbd5;background:linear-gradient(135deg,#fff,#fff5f7);border-left:4px solid #e18da1}.zone.ok{border-left:4px solid #8ab7a8;background:#fcfffd}.zone.unknown,.zone.invalid{border-left:4px solid #dccb8b;background:#fffef9}.zone-title{display:flex;gap:11px;align-items:center;margin-bottom:16px}.zone-title h3{font-size:12px;line-height:1.5;margin:0;flex:1;color:#6e83a2}.zone .step{background:#f4f6fa;color:#a6b2c6;width:24px;height:24px;font-size:8px}.zone-state{font-size:15px;color:#b4bfd0}.problem .zone-state{color:#d4899c}.ok .zone-state{color:#89b6a5}.zone-values{display:flex;gap:14px;justify-content:space-between;align-items:center;color:#a7b3c6;font-size:9px;border-top:1px solid #edf0f6;padding-top:13px}.zone-values b{font-size:18px;font-weight:800;color:#788ba9;white-space:nowrap}.zone-values small{font-size:9px;font-weight:500;color:#b6c0d1}.zone p{font-size:10px;color:#9aa9c0;line-height:1.9;margin:12px 0 0}.uplift{padding:11px 13px;border-radius:7px;background:#fff0f3;color:#c68b9c;font-size:9px;margin:14px 0}.uplift b{font-size:12px;color:#ba7186;margin-left:7px}.uplift small{display:block;font-size:8px;margin-top:5px;line-height:1.9;color:#d1a2b0}.zone .link{margin-top:12px;font-size:9px}.growth-zones>.tiny{font-size:9px;padding:0 5px}.table-wrap{overflow:auto;margin-top:18px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}th,td{padding:15px 13px;border-bottom:1px solid #e8edf5}th{color:#9aa9bf;background:#f6f8fc;font-size:9px;font-weight:600;line-height:1.8}td{color:#8b9db8}td b{color:#6d85a6;font-weight:700}tbody tr:hover{background:#fbfcff}.plan-banner{padding:27px;background:white;border:1px solid var(--line);border-top:5px solid var(--yellow);border-radius:12px;display:flex;justify-content:space-between;align-items:start;gap:25px;margin-bottom:25px}.plan-banner h2{font-size:24px;margin:11px 0}.plan-banner p{font-size:11px;color:#a1aec3;line-height:1.8;margin:0;max-width:700px}.media-row{display:grid;grid-template-columns:24px 1.05fr 1fr 1fr .65fr 1.2fr;gap:14px;align-items:start;padding:17px 0;border-bottom:1px solid #e7edf5}.media-row .field{margin:0}.media-row .field>label{font-size:9px}.media-row .field input{font-size:11px;padding:9px}.media-row .no-data{font-size:8px}.row-index{font-size:10px;color:#acb9cf;padding-top:34px}.computed{padding-top:0}.computed>span{font-size:9px;color:#a1aec5}.computed b{display:block;padding-top:17px;font-size:20px;font-weight:800;color:#7c93b5}.month-edit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.month-edit-grid .card{padding:20px;margin:0}.month-edit-grid h3{text-transform:capitalize;color:#8196b4;font-size:13px}.month-edit-grid .field>label{font-size:9px}.month-edit-grid .field input{padding:9px;font-size:12px}.month-edit-grid .field:last-child{margin-bottom:0}.action-result{padding:13px;background:#f4f7fc;border-radius:7px;font-size:10px;color:#9aaac3;line-height:1.9}.action-result b{color:#839cbe}.instruction-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.instruction-grid>.card{margin:0}.instruction-grid h3{margin:18px 0 12px;font-size:16px;color:#758ba9}.instruction-grid .muted{font-size:12px;color:#94a4be}.report-tabs{display:flex;gap:9px;overflow:auto;padding-bottom:5px;margin-bottom:23px}.report-tabs button{border:1px solid #e0e7f2;background:#edf2fa;border-radius:8px;padding:12px 17px;color:#9dadc6;font-size:11px;font-weight:700;white-space:nowrap;text-transform:capitalize;min-width:150px;text-align:left}.report-tabs button small{display:block;font-size:8px;font-weight:400;color:#aebcd2;margin-top:5px}.report-tabs button.active{background:white;border-color:#c0cfe4;box-shadow:inset 0 -3px 0 var(--yellow);color:#7a92b4}.report-heading{display:flex;justify-content:space-between;align-items:start;gap:25px;padding:25px 28px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.report-heading h2{font-size:25px;margin:12px 0 6px}.report-heading p{font-size:11px;color:#a4b2ca;line-height:1.8;margin:0}.report-heading .hero-actions{margin:0}.report-status{display:flex;gap:16px;align-items:center;padding:20px;background:#fffbe8;border:1px solid #f1e7bc;border-radius:10px;margin-bottom:22px}.report-status.ready{background:#f0f8f4;border-color:#dfede6}.status-icon{font-size:24px;color:#bcb07d}.report-status.ready .status-icon{color:#9abbac}.report-status b{font-size:12px;color:#9e936c}.report-status.ready b{color:#8aa698}.report-status p{font-size:10px;line-height:1.9;color:#b4a981;margin:6px 0 0}.report-status.ready p{color:#a5bcaf}.report-inline-metrics{display:flex;flex-wrap:wrap;gap:14px 28px;padding:17px 20px;border:1px solid #e4eaf4;border-radius:9px;background:#f8fafd;margin-bottom:22px;font-size:10px;color:#9fadc4}.report-inline-metrics b{color:#7d95b9;font-size:13px;margin-left:7px}.report-section h3{font-size:14px;color:#7c93b5}.report-section p{font-size:12px;color:#94a6c2;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}.missing-text{color:#b6a66d!important;font-size:10px!important;line-height:1.8}.report-bottom-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:24px 0}.report-bottom-actions .no-data{font-size:9px}.pdf-preview iframe{width:100%;height:740px;border:1px solid #e5ecf6;border-radius:7px;background:white}.pdf-preview h2{font-size:16px}.empty-state{padding:35px;border:1px dashed #d9e2ef;background:#f8fafd;border-radius:11px;text-align:center;color:#a4b4cd;font-size:12px;line-height:1.9;grid-column:1/-1}.large-empty{padding:70px 25px}.large-empty>span{display:block;font-size:39px;color:#c4cfe2;margin-bottom:20px}.large-empty h2{font-size:22px;color:#8ba1c0;margin-bottom:14px}.large-empty p{max-width:560px;margin:0 auto 23px;color:#adbbd2;font-size:12px}.extra-card{border-top:4px solid #e8df93}.intro-row+.qa-grid{margin-top:20px}details>summary{font-size:12px;color:#889fbe;cursor:pointer;font-weight:700;line-height:1.8}details[open]>summary{margin-bottom:20px}.form-grid details{grid-column:1/-1}footer{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:22px 0 28px;color:#b3bed0;font-size:9px;margin-top:30px}footer b{color:#8fa4c2;font-size:9px;letter-spacing:1px}footer .link{font-size:9px}dialog{border:1px solid #dfe7f4;border-radius:15px;padding:0;max-width:600px;width:calc(100% - 35px);background:#fff;color:var(--ink);box-shadow:0 35px 100px #14253b2b;max-height:90vh;overflow:auto}dialog::backdrop{background:#16263d6b;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;padding:26px 28px 20px;border-bottom:1px solid #e9edf5}.modal-heading h2{font-size:20px;margin:10px 0 0}.modal-body{padding:25px 28px 8px}.modal-body .muted{font-size:11px}.modal-body .field>label{font-size:12px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px 25px}.modal-body textarea{display:block;width:100%;border:1px solid #dee6f2;border-radius:6px;padding:11px;background:#f8fafd;font-size:13px;color:#6e86a7;margin-top:8px;resize:vertical}.modal-body .field-tools{margin-bottom:18px}#toast{position:fixed;z-index:100;left:50%;bottom:25px;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:13px 21px;border:1px solid #455d81;background:#2a4162;color:#dce6f6;border-radius:9px;box-shadow:0 12px 30px #18315122;font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}@keyframes funnelPulse{0%,100%{opacity:1}50%{opacity:.88}}.main #pageContent{animation:pageIn .25s ease-out}@keyframes pageIn{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.main{padding:0 50px}.home-shell{padding:0 65px 50px}.source-picker{grid-template-columns:repeat(4,1fr)}.metric b{font-size:35px}.metric{padding:25px}.question-card{padding:28px}.funnel-layout{grid-template-columns:1.06fr 1fr}.visual-funnel{padding:30px}.zone{padding:25px}.zone-title h3{font-size:14px}.zone p{font-size:11px}}
@media(max-width:1200px){.sidebar{width:215px;padding:24px 13px 18px}.sidebar .brand{font-size:30px;padding-left:10px}.main{margin-left:215px;padding:0 24px}.nav{font-size:10px;gap:9px;padding:10px 10px}.sidebar-bottom{font-size:8px}.project-switch{margin:0 4px 16px;padding:9px}.project-switch b{font-size:10px}.project-banner{grid-template-columns:1fr 230px;gap:25px;padding:27px}.project-banner h2{font-size:29px}.home-shell{padding:0 35px 35px}.metric-grid{grid-template-columns:1fr 1fr}.home-stats>div{padding:21px;gap:16px}.client-grid{grid-template-columns:1fr 1fr}.funnel-layout{grid-template-columns:1fr}.visual-funnel{max-width:none}.funnel-svg{max-width:520px;margin:auto;max-height:550px}.growth-zones{display:grid;grid-template-columns:1fr 1fr;gap:16px}.growth-zones>.section-title,.growth-zones>.tiny{grid-column:1/-1;margin:0}.zone{margin:0}.zone:last-of-type{grid-column:1/-1}.zone p{font-size:11px}.source-picker{grid-template-columns:1fr 1fr}.source-detail-grid{grid-template-columns:1fr}.media-row{grid-template-columns:20px 1fr 1fr 1fr .7fr;gap:12px}.media-row>.field:last-child{grid-column:2/-1}.month-edit-grid{grid-template-columns:repeat(3,1fr)}.form-grid.three{grid-template-columns:1fr 1fr}.report-heading{display:block}.report-heading .hero-actions{margin-top:20px}.save-state{display:none}.page-heading h1{font-size:28px}}
@media(max-width:850px){.sidebar{position:relative;width:100%;height:auto;padding:18px 20px;overflow:visible}.sidebar .brand{padding-left:0;font-size:29px}.sidebar .brand small{display:none}.sidebar .back-clients{position:absolute;top:23px;right:22px;margin:0;padding:0}.project-switch{margin:15px 0 0;max-width:280px;padding:9px}.sidebar nav{flex-direction:row;overflow:auto;margin-top:15px;padding-bottom:2px;gap:6px}.nav{width:auto;padding:9px 12px;gap:6px;font-size:10px}.nav small{display:none}.nav>span{font-size:13px;width:13px}.sidebar-bottom{display:none}.main{margin-left:0;padding:0 22px}.main>header{height:65px}.page-heading{padding-top:22px}.home-header{height:85px}.home-header .brand{font-size:30px}.home-header .brand small{font-size:6px;letter-spacing:2px}.home-hero{padding-top:32px}.home-hero h1{font-size:41px}.home-hero .btn.large{font-size:10px;padding:12px 15px}.home-stats{gap:12px;margin-bottom:30px}.home-stats>div{display:block;padding:20px}.home-stats b{display:block;font-size:26px}.home-stats span{display:block;margin-top:7px;font-size:10px;max-width:none}.home-shell{padding:0 25px 35px}.funnel-layout{grid-template-columns:1fr 1fr;gap:18px}.funnel-svg{width:100%;max-height:none}.growth-zones{display:block}.growth-zones>.section-title{margin-bottom:18px}.zone{margin-bottom:15px;padding:19px}.zone p{font-size:10px}.zone-title h3{font-size:11px}.funnel-layout .card{padding:21px}.diagnostic-select{display:block;font-size:9px}.diagnostic-select select{display:block;max-width:none;width:100%;margin-top:7px}.qa-grid{gap:16px}.card{padding:23px}.identity-fields{padding-left:20px}.page-heading h1{font-size:26px}.report-tabs{gap:8px}.report-tabs button{min-width:135px;padding:11px 14px;font-size:10px}}
@media(max-width:650px){body{font-size:13px}.main{padding:0 15px}.main>header{height:62px;gap:12px}.breadcrumbs{font-size:8px;max-width:42%;line-height:1.8;overflow-wrap:anywhere}.header-actions .btn{padding:8px 10px;font-size:9px;min-height:33px}.page-heading{align-items:start;gap:15px;padding:23px 0 20px}.page-heading h1{font-size:23px;letter-spacing:-.7px}.page-heading p{font-size:10px;line-height:1.8}.page-heading>.btn{font-size:9px;white-space:normal;padding:10px 12px;max-width:135px;margin-top:20px}.eyebrow{font-size:7px;letter-spacing:1.2px}.home-shell{padding:0 17px 30px}.home-header{height:82px;gap:16px}.home-header .brand{font-size:27px}.home-header .brand small{font-size:5px;letter-spacing:1.5px;margin-top:10px}.home-header .header-actions{gap:5px}.home-header .header-actions .btn{font-size:8px;padding:8px}.home-header .header-actions .btn:last-child{max-width:125px;white-space:normal}.home-hero{display:block;padding:29px 0 24px}.home-hero h1{font-size:36px;letter-spacing:-1.3px;margin:18px 0}.home-hero p{font-size:11px;line-height:1.9}.home-hero>.btn{margin-top:9px;width:100%;font-size:12px!important}.home-stats{gap:8px;margin:7px 0 30px}.home-stats>div{padding:14px 12px}.home-stats b{font-size:24px}.home-stats span{font-size:8px;line-height:1.9;margin-top:6px}.section-title{gap:14px}.clients-section .section-title{display:block}.clients-section h2{font-size:19px;margin-bottom:17px}.search{width:100%}.search input{width:100%;max-width:none;font-size:12px}.client-grid{grid-template-columns:1fr;gap:15px}.client-card{padding:24px;min-height:230px}.client-card h3{font-size:24px}.client-meta{font-size:9px}.new-card{min-height:190px}.new-card h3{font-size:20px;margin-top:14px}.storage-note{padding:15px;font-size:9px}.project-banner{grid-template-columns:1fr;padding:25px;gap:26px;border-left-width:5px}.project-banner h2{font-size:30px}.project-banner p{font-size:11px}.identity-fields{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.form-grid,.form-grid.three{grid-template-columns:1fr 1fr;gap:0 13px}.qa-grid,.instruction-grid{grid-template-columns:1fr;gap:16px}.question-card .field>label{font-size:14px;min-height:0}.question-card{padding:24px}.question-card>.step{margin-bottom:15px}.field>label{font-size:10px}.field input,.field select,.field textarea{font-size:12px;padding:10px}.field-tools{gap:8px}.no-data{font-size:8px}.restore-data{font-size:7px}.data-warning{padding:12px 14px}.data-warning summary{gap:8px;font-size:10px}.data-warning summary small{font-size:8px}.data-warning summary b{max-width:75%}.data-warning ul{font-size:10px}.intro-row{display:block;padding:22px}.intro-row>.btn{margin-top:18px}.intro-row h2{font-size:17px}.intro-row p{font-size:10px}.source-picker{gap:9px}.picker{padding:15px}.picker h3{font-size:11px;margin-bottom:13px}.picker>span{font-size:7px}.picker>div{display:block}.picker .check{font-size:9px;line-height:1.8}.picker .check+.check{margin-top:7px}.check input{width:13px;height:13px}.source-card h3{font-size:17px}.source-card .form-grid{gap:0 12px}.source-card .field>label{font-size:9px}.source-card .field-tools{line-height:1.6}.goals-grid{grid-template-columns:1fr}.goals-grid>.card{margin-bottom:0}.goals-grid{gap:16px;margin-bottom:22px}.card h2{font-size:17px}.scenario-row{gap:10px}.scenario-row .muted{font-size:9px}.segmented button{padding:9px 11px;font-size:9px}.metric-grid{gap:10px;margin-bottom:20px}.metric{padding:17px;gap:10px}.metric>span{font-size:9px}.metric b{font-size:25px}.metric small{font-size:8px}.funnel-layout{grid-template-columns:1fr;gap:20px}.visual-funnel .section-title{margin-bottom:14px}.visual-funnel h2{font-size:16px}.funnel-svg{max-width:460px}.diagnostic-select{display:flex;align-items:center;gap:12px;font-size:9px}.diagnostic-select select{max-width:60%;margin:0;font-size:9px}.funnel-legend{font-size:8px;gap:10px}.zone-title h3{font-size:13px}.zone p{font-size:11px}.zone-values>span{font-size:9px}.zone-values b{font-size:20px}.growth-zones>.section-title{margin-bottom:18px}.zone{padding:22px;margin-bottom:15px}.zone .step{width:26px;height:26px}.uplift{font-size:10px}.uplift b{font-size:13px}.uplift small{font-size:9px}.table-wrap{margin-left:-6px;margin-right:-6px}th,td{padding:13px 11px}td{font-size:10px}.plan-banner{display:block;padding:24px}.plan-banner h2{font-size:22px}.plan-banner .btn{margin-top:18px;font-size:10px}.media-row{grid-template-columns:18px 1fr 1fr;gap:9px 12px;padding:17px 0}.media-row>.field:nth-of-type(1){grid-column:2/-1}.media-row>.field:nth-of-type(2){grid-column:2}.media-row>.field:nth-of-type(3){grid-column:3}.media-row>.computed{grid-column:2/-1;display:flex;gap:20px;align-items:center;padding:10px 0}.media-row>.computed b{padding:0;font-size:23px}.media-row>.field:last-child{grid-column:2/-1}.row-index{grid-column:1;grid-row:1/5;padding-top:32px}.month-edit-grid{grid-template-columns:1fr 1fr;gap:11px}.month-edit-grid .card{padding:18px}.month-edit-grid h3{font-size:12px}.month-edit-grid .field>label{font-size:8px}.month-edit-grid input{font-size:11px}.report-heading{padding:24px}.report-heading h2{font-size:24px}.report-heading .hero-actions{gap:8px}.report-heading .btn{font-size:9px;padding:9px 11px}.report-status{padding:17px;gap:13px}.report-status b{font-size:10px}.report-status p{font-size:9px}.report-inline-metrics{gap:13px;font-size:9px}.report-section h3{font-size:15px}.report-section p{font-size:12px}.report-tabs button{font-size:10px;min-width:145px}.report-bottom-actions{gap:12px}.report-bottom-actions>.btn{font-size:10px}.pdf-preview iframe{height:560px}.empty-state{padding:28px 22px;font-size:11px}.large-empty{padding:45px 22px}.large-empty h2{font-size:20px}.modal-heading{padding:23px}.modal-heading h2{font-size:18px}.modal-body{padding:23px 23px 7px}.modal-footer{padding:18px 23px 23px}.modal-footer .btn{font-size:10px}.home-header .save-state{display:none}footer{gap:10px;font-size:8px}footer>span{display:none}footer .link{font-size:9px}#toast{font-size:10px;line-height:1.8;bottom:18px;min-width:250px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;color:#17273d}.sidebar,.main>header,.home-header,.page-heading>.btn,.field-tools,.no-data,.restore-data,.report-bottom-actions,.hero-actions,.header-actions,.back-clients,footer,dialog,#toast,button{display:none!important}.main{margin:0;padding:0}.card,.metric,.zone,.report-heading,.project-banner{box-shadow:none;break-inside:avoid}.data-warning[open] ul{display:block}.qa-grid,.instruction-grid{display:block}.qa-grid>.card,.instruction-grid>.card{margin-bottom:15px}.funnel-layout{grid-template-columns:1fr 1fr}.funnel-layer{filter:none}.field input,.field textarea,.field select{background:white;border-color:#ddd}.pdf-preview{display:none}.report-tabs{display:none}.metric-grid{grid-template-columns:repeat(4,1fr)}.home-shell{padding:0}.home-hero h1{font-size:40px}.client-grid{grid-template-columns:1fr 1fr}.client-card{display:block!important}.source-picker{grid-template-columns:repeat(3,1fr)}.client-progress{print-color-adjust:exact}.source-detail-grid{display:block}.source-detail-grid .card{margin-bottom:15px}}
.zone p,.report-section p,.instruction-grid .muted,.intro-row p,.project-banner p{color:#788da9}.zone-title h3,.instruction-grid h3,.report-section h3{color:#637e9f}.no-data.selected,.field.is-unknown .no-data,.missing-text{color:#a88c42!important}.field>label{color:#6e829f}.report-heading p{color:#8b9fb9}.zone-values>span{color:#91a3bc}.metric>span{color:#889cb8}.metric small{color:#9caec6}.source-card .muted{font-size:11px;color:#8c9fba}.client-card p{color:#8fa3be}.client-meta{color:#a0b1c9}.data-warning summary b{color:#9c8542}.zone-values small{color:#a3b4cd}.zone .link{color:#8397bd}

@media(min-width:901px){.home-hero{padding:30px 0 20px}.home-hero h1{font-size:clamp(35px,4vw,48px);margin:18px 0}.home-stats{margin-bottom:28px}.home-stats>div{padding:18px 25px}}
/* Channel configuration and explicit data states */
.field.is-filled input,.field.is-filled textarea,.field.is-filled select{background:#f2f8ff;border-color:#9eb8da;color:#243b60;font-weight:650;box-shadow:inset 3px 0 0 #8daed8}.field input::placeholder{color:#b0bacb;font-weight:400}.demo-hint{font-size:8px;color:#a7b0c0}.field-tools{flex-wrap:wrap}.source-cards{align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}.source-cards .picker{padding:23px;min-width:0}.source-description{font-size:11px;color:#7d8ba0;min-height:52px;line-height:1.8}.picker-checks{display:flex;gap:18px;flex-wrap:wrap}.channel-settings{border-top:1px solid #e1e7f0;margin-top:20px;padding-top:15px}.channel-settings>summary{cursor:pointer;list-style:none;display:block;font-size:12px;font-weight:750;color:#364d77;padding:9px 12px;background:#f0f3f9;border-radius:7px;text-align:center}.channel-settings[open]>summary{background:#fff4a1}.source-cards>.picker:has(.channel-settings[open]){grid-column:1/-1}.channel-settings-content{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:36px;margin-top:26px}.channel-settings-content .channel-fields{min-width:0}.channel-live{position:sticky;top:20px;align-self:start}.channel-funnel{border:1px solid #e4e9f1;border-radius:12px;background:#fff;padding:23px}.channel-funnel .funnel-svg{max-height:540px}.channel-rates{margin-top:15px}.rate-line{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #e9edf4;padding:12px 0;font-size:10px;color:#7b8da5}.rate-line b{color:#455d7e}.rate-line.problem b{color:#bd4b65}.rate-line.ok b{color:#277d71}.rate-line small{font-weight:400}.linked-value{background:#f5f8fd;border:1px solid #e0e7f3;border-left:3px solid #a8bcdb;padding:14px;border-radius:7px;font-size:11px;color:#76869e;margin:0 0 19px}.linked-value b{display:block;color:#334f78;font-size:20px}.linked-value small{display:block;font-size:9px;margin-top:5px}.linked-value .link{margin-top:9px}.demo-banner{padding:15px 20px;background:#f3f0ff;border:1px dashed #c3b9e4;border-radius:8px;font-size:11px;color:#776995;margin-bottom:18px}.demo-mode{opacity:.7}.shared-notice{font-size:10px;color:#8697b0;margin:25px 12px}.context-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.context-block-section{margin-top:32px}.context-block-section h2{font-size:16px}.compact-empty{padding:25px!important;font-size:11px}.media-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.media-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;border:1px solid #e0e7f0;padding:20px;border-radius:10px;background:#fbfcfe;align-items:start}.media-row .row-index{grid-column:1/-1;margin-bottom:15px}.media-row .computed{padding:15px 0}.media-row>.field:last-child{grid-column:1/-1}.media-row .field{margin-bottom:15px}.media-row .linked-value{padding:10px;font-size:9px}.home-header .header-actions{flex-wrap:wrap}.funnel-legend{flex-wrap:wrap}.data-warning{color:#8d7535}.zone p,.zone-values,.zone .tiny{color:#748298}.muted{color:#738198}.tiny{color:#8491a4}
@media(max-width:1100px){.source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.media-rows{grid-template-columns:1fr}}
@media(max-width:760px){.source-cards{grid-template-columns:1fr}.channel-settings-content{grid-template-columns:1fr}.channel-live{position:static}.context-summary{grid-template-columns:1fr}.media-row{grid-template-columns:1fr}.media-row .row-index,.media-row>.field:last-child{grid-column:auto}.header-actions .btn{font-size:9px;padding:8px}.context-block-section .section-title{flex-wrap:wrap}.channel-funnel{padding:15px}}
.source-cards{grid-auto-flow:dense}
/* Compact client context, understandable planning and guidance */
.context-heading{display:flex;justify-content:space-between;gap:30px;align-items:start;border-left:5px solid var(--yellow)}.context-heading h2{margin:9px 0;font-size:23px}.context-heading p{margin-bottom:8px}.identity-editor{min-width:250px}.identity-editor>summary,.context-editor>summary,.compact-extra details>summary,.task-editor>summary{font-size:10px;font-weight:700;cursor:pointer;color:#526687;list-style:none}.identity-editor[open]>summary,.context-editor[open]>summary{margin-bottom:15px}.context-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.context-key-card{margin:0;padding:22px;border-radius:11px}.context-label{display:flex;justify-content:space-between;align-items:start;gap:15px}.context-label h3{font-size:13px;color:#526885;margin:0}.context-value>p{font-size:13px;line-height:1.85;margin:12px 0;color:#334a6b;white-space:pre-wrap}.context-value .missing-text{color:#af9555}.context-editor .field{margin-top:15px;margin-bottom:0}.context-editor .field textarea{min-height:74px}.context-details h2{margin-bottom:15px;font-size:16px}.context-row{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(0,1.6fr);gap:25px;padding:17px 0;border-bottom:1px solid #e6ebf3}.context-row:last-child{border:0;padding-bottom:0}.context-row .context-label h3{font-size:11px;font-weight:650}.context-row .context-value>p{font-size:12px;margin:0 0 7px}.context-row .help-trigger{margin-top:2px}.context-block-section{margin-top:0}.context-block-section .section-title{margin-bottom:12px}.context-block-section h2{font-size:13px}.compact-extra{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:20px;padding:14px 0;border-top:1px solid #e7ecf3}.compact-extra b{font-size:12px;color:#516583}.compact-extra p{font-size:12px;color:#7b8ba1;white-space:pre-wrap;margin:5px 0}.compact-extra:has(details[open]){grid-template-columns:1fr}.compact-extra details[open]{padding:15px;background:#f8fafe;border:1px solid #e5eaf3;border-radius:8px}.context-summary .card{padding:20px}.field-label-row{display:flex;justify-content:space-between;gap:10px;align-items:start}.field-label-row>label{color:#71819b;font-size:11px;line-height:1.7;font-weight:600}.help-trigger{padding:0;width:17px;height:17px;min-width:17px;display:inline-grid;place-items:center;border:1px solid #cfd9e8;border-radius:50%;background:white;color:#91a0b7;font-size:10px;line-height:1;font-weight:700;cursor:help}.help-trigger:hover,.help-trigger:focus-visible{background:#fff4aa;color:#6e602d;border-color:#dec768}.field-tooltip{position:fixed;z-index:10000;padding:17px 19px;background:#243753;border:1px solid #3f5575;border-radius:11px;box-shadow:0 16px 40px #1b2d4a32;color:#fff;pointer-events:none;max-height:calc(100vh - 24px);overflow:auto}.field-tooltip>b{font-size:12px;color:#ffeb75}.field-tooltip>p{font-size:11px;white-space:pre-line;line-height:1.8;color:#dce5f2;margin:8px 0 0}.field.client-needed input,.field.client-needed textarea,.field.client-needed select{border-color:#d1b766;background:#fffdf4}.field.client-needed .field-label-row>label:after{content:' · клиент';font-size:8px;color:#b59645;font-weight:400}.field.is-filled input,.field.is-filled textarea,.field.is-filled select{font-weight:500}.planning-controls{display:flex;justify-content:space-between;gap:30px;align-items:start}.planning-controls>div:first-child{max-width:380px}.planning-controls h2{font-size:17px}.planning-controls>.form-grid{flex:1;margin:0;min-width:360px}.planning-controls .field{margin-bottom:0}.monthly-editor>.field{max-width:580px}.plain-note{font-size:11px;line-height:1.9;color:#7b899f;padding:13px 16px;background:#f5f7fc;border-left:3px solid #dfd061;border-radius:6px;margin:12px 0}.compact-month-inputs{width:100%;table-layout:fixed}.compact-month-inputs th:first-child{width:32%}.compact-month-inputs th:last-child{width:24%}.compact-month-inputs td,.compact-month-inputs th{padding:12px 18px}.compact-month-inputs th small{display:block;color:#9eabbd;font-size:8px;margin-bottom:4px;font-weight:400}.compact-month-inputs .field{margin:0;max-width:300px}.compact-month-inputs .field-label-row{display:none}.compact-month-inputs input{margin-top:0;padding:8px 10px}.compact-month-inputs .field-tools{margin-top:3px}.compact-month-inputs .demo-hint{display:none}.client-request-list ol{margin:0;padding:0;list-style:none;counter-reset:request}.client-request-list li{display:flex;gap:16px;align-items:start;padding:15px 0;border-top:1px solid #e7ecf3;counter-increment:request}.client-request-list li:before{content:counter(request,decimal-leading-zero);font-size:10px;color:#b9a157;margin-top:3px;min-width:25px}.client-request-list li>div{flex:1}.client-request-list li b{font-size:12px;font-weight:650;color:#566a86}.client-request-list li small{display:block;font-size:10px;color:#98a5b9;margin-top:5px;line-height:1.8}.client-request-list li .link{font-size:9px;white-space:nowrap;margin-top:3px}.request-letter .section-title{align-items:start;flex-wrap:wrap}.request-letter .hero-actions{margin:0;gap:7px}.request-letter textarea{width:100%;min-height:260px;background:#f8fafe;border:1px solid #dfe6f1;border-radius:9px;color:#536885;font:11px/1.9 inherit;padding:18px;resize:vertical}.request-config h2{margin-bottom:8px}.request-config .muted{max-width:900px}.task-toolbar{display:flex;align-items:start;justify-content:space-between;gap:20px}.task-toolbar h2{margin-bottom:8px}.task-toolbar p{margin-bottom:0}.task-filter{display:flex;align-items:center;gap:15px;font-size:11px;color:#8595ab;margin:8px 0 30px}.task-filter select{padding:9px 14px;border:1px solid #dce4ef;background:white;border-radius:7px;color:#607492;font-size:11px}.task-month-group>.section-title h2{font-size:17px;text-transform:capitalize}.task-top{display:flex;justify-content:space-between;gap:24px}.task-top h3{font-size:18px;margin:8px 0;word-break:break-word}.task-top .eyebrow{font-size:8px}.task-status-field{width:230px;flex-shrink:0}.task-status-field .field{margin:0}.task-status-field .demo-hint{display:none}.task-description{font-size:12px;line-height:1.9;color:#7b8ba2;white-space:pre-wrap}.task-actions{display:flex;gap:16px;align-items:center;margin-top:14px;flex-wrap:wrap}.task-actions .tiny{font-size:8px}.task-editor{margin-top:20px;padding-top:15px;border-top:1px solid #e6ebf2}.task-editor[open]>summary{margin-bottom:20px}.task-file-list{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}.file-chip{display:flex;align-items:center;gap:9px;border:1px solid #dbe4f0;border-radius:7px;background:#f7fafe;color:#5b7496;padding:9px 11px;font-size:10px;text-align:left;word-break:break-word;max-width:100%}.file-chip>span{color:#8a9fbe;font-size:16px}.file-chip>small{color:#9eacbf;white-space:nowrap;font-size:8px}.task-badge{font-size:9px;line-height:1.6;padding:5px 9px;border-radius:5px;white-space:nowrap;background:#eef2f8;color:#8292aa}.task-badge.ready{background:#e9f5ef;color:#5f9a86}.task-badge.in_progress{background:#eaf0ff;color:#718bc2}.task-badge.deferred{background:#fff5db;color:#b79b54}.task-badge.cancelled{background:#f9edf0;color:#b47f8b}.report-task-list>article{border-top:1px solid #e6ebf3;padding:18px 0}.report-task-list>article>div:first-child{display:flex;justify-content:space-between;align-items:start;gap:15px}.report-task-list b{font-size:13px;color:#586e8c}.report-task-list p{font-size:11px;line-height:1.8;color:#8a9bb1;white-space:pre-wrap}.report-tasks .section-title{align-items:start}.report-tasks h2{font-size:16px}.report-tasks .tiny{margin:7px 0 0}.report-tasks>.link{margin-top:10px}.field-tooltip[hidden]{display:none!important}
@media(max-width:1100px){.planning-controls{display:block}.planning-controls>div:first-child{max-width:none}.planning-controls>.form-grid{margin-top:20px;min-width:0}.context-heading{flex-wrap:wrap}}
@media(max-width:760px){.context-primary{grid-template-columns:1fr}.context-row{grid-template-columns:1fr;gap:8px}.context-heading{padding:20px}.identity-editor{width:100%;min-width:0}.client-request-list li{flex-wrap:wrap}.client-request-list li>div{min-width:calc(100% - 50px)}.client-request-list li .link{margin-left:40px}.task-top{display:block}.task-status-field{width:100%;margin-top:15px}.report-task-list>article>div:first-child{flex-wrap:wrap}.task-toolbar{flex-wrap:wrap}.compact-month-inputs{min-width:500px}.field-tooltip{max-width:calc(100vw - 24px)}.context-heading h2{font-size:18px}.request-letter .hero-actions{flex-wrap:wrap}}
@media print{.field-tooltip,.help-trigger,.task-actions,.request-letter .hero-actions{display:none!important}.report-task-list .file-chip{border:0}.context-editor,.context-row details,.task-editor{display:none}}
.context-heading{padding:18px 22px}.context-heading h2{font-size:17px}.context-heading .muted{display:none}.context-heading .hero-actions{margin-top:10px}.context-key-card{padding:18px}.context-key-card .context-value>p{margin:8px 0}.context-key-card .context-label h3{font-size:12px}
.request-letter textarea{font-family:inherit;font-size:11px;line-height:1.9}

/* Compact monthly media plan */
.compact-media{padding:26px}.media-toolbar{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:20px 0 12px}.media-toolbar>label:first-child{display:flex;align-items:center;gap:12px;font-weight:700}.media-toolbar select{min-width:180px;padding:10px 12px;border:1px solid #dce3ee;border-radius:9px;background:#fff;color:#233047}.media-table{min-width:760px;width:100%;table-layout:fixed}.media-table th:first-child{width:26%}.media-table td,.media-table th{padding:12px 14px;vertical-align:middle}.media-table td:last-child{width:150px}.media-table .field{margin:0}.media-table .field-label-row{display:none}.media-table input{padding:9px 11px;height:41px;font-size:16px}.media-table .field-tools{margin-top:3px;min-height:17px;gap:6px}.media-table .no-data,.media-table .demo-hint{font-size:10px}.media-table small{display:block;font-weight:400;font-size:11px;line-height:1.45;color:#7a88a0;margin-top:4px}.media-table th small{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-table .link{font-size:12px;display:block;white-space:normal;margin:5px 0}.hidden-media{margin-top:18px;border-top:1px solid #e1e7f0;padding-top:15px}.hidden-media summary{font-size:13px;color:#738097;cursor:pointer}.row-hidden{background:#f8f9fc}.report-primary{margin:22px 0}.report-primary .field{margin-bottom:0}.actual-summary>.metrics{margin-bottom:0}.report-status+.metrics-grid{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:800px){.compact-media{padding:16px}.media-toolbar{gap:12px}.report-status+.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
main:has(.compact-media) .page-heading{margin-bottom:18px}main:has(.compact-media) .page-heading h1{font-size:32px}.compact-media .section-title{margin-bottom:12px}.media-table td,.media-table th{padding:7px 12px}.media-table input{height:34px;padding:6px 10px}.media-table .btn{padding:7px 12px;min-height:34px}.media-table th>b{font-size:13px;color:#33445e}.media-table .field-tools{min-height:14px;margin-top:1px}.media-table .link{margin:3px 0}
/* Client overview: identity, priorities, decisions */
main:has(.client-overview)>.page-heading{display:none}.client-overview{border-radius:18px;overflow:visible;margin:22px 0 28px;border:1px solid #dbe2ee;background:#fff;box-shadow:0 12px 32px #182a4910}.client-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);border-radius:18px 18px 0 0;overflow:hidden}.client-hero-main{position:relative;isolation:isolate;padding:32px;background:#1e2e47;color:#fff;overflow:hidden}.client-hero-main:after{content:'';position:absolute;z-index:-1;right:-80px;bottom:-140px;width:320px;height:320px;border:1px solid #738bb533;border-radius:50%;box-shadow:0 0 0 40px #738bb50a,0 0 0 80px #738bb508}.client-hero-main .eyebrow{color:#ffe600;font-size:10px;letter-spacing:1.8px}.client-hero-main .eyebrow span{color:#b8c7df;letter-spacing:1px;font-weight:500}.client-title-line{display:flex;align-items:center;gap:18px;margin:23px 0}.client-title-line h1{font-size:42px;line-height:1.1;color:#fff;letter-spacing:-1.5px;margin:0;word-break:break-word}.client-monogram{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border:1px solid #788aa5;border-radius:13px;background:#ffffff0b;font-size:20px;font-weight:800;color:#ffe600}.hero-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#aebed4}.client-mission{font-size:20px;line-height:1.5;font-weight:650;margin:8px 0 25px;color:#fff;max-width:620px}.client-hero .hero-actions{margin:0;flex-wrap:wrap;gap:16px}.client-hero .btn.primary{font-size:12px;padding:12px 17px}.hero-secondary{background:none;border:0;padding:7px 0;color:#dbe6f8;font-size:11px;font-weight:700}.hero-secondary:hover{color:#ffe600}.client-focus{position:relative;background:#ffe600;padding:32px;color:#202e44}.focus-num{font-size:9px;letter-spacing:1.6px;font-weight:800}.focus-symbol{position:absolute;right:27px;top:44px;font-size:58px;font-weight:400;line-height:1;opacity:.22}.client-focus h2{font-size:22px;line-height:1.25;margin:23px 0 14px;letter-spacing:-.5px}.client-focus p{font-size:13px;line-height:1.8;font-weight:550;max-width:420px;margin-bottom:20px}.client-focus .link{color:#29374b;border-bottom:1px solid #29374b55}.client-fact-strip{display:flex;align-items:start;gap:25px;padding:20px 26px;flex-wrap:wrap}.client-fact-strip>div{min-width:110px}.client-fact-strip>div>span{display:block;font-size:8px;letter-spacing:1px;color:#7a8aa2;font-weight:750;margin-bottom:6px}.client-fact-strip b{font-size:12px;color:#31445f}.client-fact-strip .identity-editor{margin-left:auto;min-width:150px;max-width:230px}.client-channel-pills{flex:1}.client-channel-pills>div{display:flex;gap:6px;flex-wrap:wrap}.client-channel-pills button{border:1px solid #dce5f1;background:#f2f5fb;border-radius:5px;color:#3e5275;font-size:9px;padding:4px 8px}.attention-section{margin:26px 0}.attention-section>.section-title{margin-bottom:16px}.attention-section .eyebrow{color:#7a88a1}.attention-section h2{font-size:19px;margin-top:5px}.attention-chip{border-radius:20px;background:#fff0e8;border:1px solid #f1d5c5;color:#ac5736;font-size:10px;font-weight:700;padding:7px 12px}.attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.attention-card{padding:20px;border:1px solid #dfe6f2;border-radius:13px;background:white;display:flex;flex-direction:column;align-items:start;box-shadow:0 3px 12px #293b5810;border-top:4px solid #6f82d1}.attention-top{display:flex;align-items:center;gap:9px;margin-bottom:14px}.attention-top>span:last-child{font-size:8px;font-weight:800;letter-spacing:.6px;color:#7787a1}.attention-icon{display:grid;place-items:center;width:27px;height:27px;background:#edf0fc;border-radius:7px;color:#5a70b5;font-size:19px}.attention-card h3{font-size:18px;line-height:1.3;letter-spacing:-.4px;margin-bottom:10px;color:#24354e}.attention-card p{font-size:11px;color:#667993;line-height:1.8;margin-bottom:16px}.attention-card .link{margin-top:auto;font-size:11px}.attention-card.needs-action{background:#fff6f1;border-color:#efcec0;border-top-color:#df7c55}.needs-action .attention-icon{background:#ffe3d5;color:#b8532c}.attention-card.needs-data{background:#f2f3ff;border-color:#d7dcf5;border-top-color:#7e74c7}.needs-data .attention-icon{background:#e5e5ff;color:#6554ad}.report-pulse{background:#eef9f6;border-color:#cce5de;border-top-color:#43a08a}.report-pulse h3{color:#237661}.report-pulse .attention-icon{background:#d7f1e8;color:#267e65}.goal-known{border-top-color:#40917f}.project-watchlist{display:grid;grid-template-columns:1.2fr 1fr;border:1px solid #d9e0ef;border-left:5px solid #7466b8;border-radius:12px;background:#fff;margin:24px 0}.project-watchlist>div{padding:20px 23px}.project-watchlist>div+div{border-left:1px solid #e0e5ef;background:#f5f4fc;border-radius:0 12px 12px 0}.watchlist-label{font-size:8px;letter-spacing:1px;font-weight:800;color:#8a7cae}.project-watchlist h3{font-size:14px;margin:7px 0}.project-watchlist p{font-size:12px;color:#4e617d;line-height:1.8;margin:7px 0}.summary-shortcuts{gap:14px;margin:24px 0}.summary-shortcuts .card{display:flex;align-items:center;gap:14px;padding:18px;margin:0}.summary-shortcuts .card>div:nth-child(2){flex:1}.summary-shortcuts h3{font-size:14px;margin-bottom:4px}.summary-shortcuts p,.summary-shortcuts .muted{font-size:10px;line-height:1.8;margin:0;color:#70809c}.shortcut-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#fff6b0;font-size:21px;color:#665b17}.summary-shortcuts article:last-child .shortcut-icon{background:#e4ebff;color:#53679e}.client-details .eyebrow{display:block;margin-bottom:5px}.client-details .context-label h3{color:#5a6e8c}.client-details .context-value>p{color:#2d435f;font-size:13px}.client-details .context-row{padding:15px 0}.client-details .context-row:first-child .context-label h3,.client-details .context-row:nth-child(2) .context-label h3{color:#3d4a78;font-weight:800}.report-status+.metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
/* Files are selected before creating a technical task. */
dialog.task-create-modal{width:min(820px,calc(100vw - 30px));max-height:92vh}.task-create-modal .modal-heading{padding:22px 26px}.task-create-modal .modal-body{padding:22px 26px;overflow:auto;max-height:calc(92vh - 180px)}.task-create-modal .modal-footer{padding:18px 26px}.task-create-modal .modal-heading h2{font-size:23px;margin-bottom:0}.task-create-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px}.task-create-grid .field{margin-bottom:14px}.task-create-grid .field>label{font-size:11px;font-weight:700;color:#536784}.task-create-grid .field input,.task-create-grid .field select{padding:10px 12px;font-size:12px}.task-upload-zone{display:flex;gap:17px;border:1.5px dashed #929ed0;border-radius:12px;background:#f4f5ff;padding:20px;margin:3px 0 12px}.upload-icon{width:39px;height:39px;flex-shrink:0;border-radius:11px;background:#e0e5ff;color:#5365aa;font-size:27px;display:grid;place-items:center}.task-upload-zone h3{font-size:14px;margin:0 0 5px;color:#34446c}.task-upload-zone p{font-size:11px;color:#6a7a99;margin:0 0 10px}.task-upload-zone small{font-size:9px;display:block;color:#7a8ba5;margin-top:9px}.task-upload-zone input[type=file]{display:block;width:100%;font-size:11px;color:#73809b}.task-upload-zone input[type=file]::file-selector-button{border:0;border-radius:6px;background:#ffe600;color:#24354b;padding:9px 13px;margin-right:10px;font-weight:750;cursor:pointer}.draft-file-count{font-size:10px;color:#617492;font-weight:750;margin:10px 0 5px}.draft-file-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #dee5ef;border-radius:6px;background:#fff;margin-bottom:6px}.draft-file-row>b{font-size:11px;flex:1;word-break:break-word;color:#3e536f}.draft-file-row>span{color:#657bb6}.draft-file-row>small{font-size:9px;color:#8491a6}.task-create-modal textarea{font-size:12px;min-height:70px}.task-create-modal .field>label{font-size:11px;color:#566b8a}.task-create-modal .tiny{font-size:10px;margin-bottom:0}
@media(max-width:1100px){.client-title-line h1{font-size:33px}.client-hero-main,.client-focus{padding:26px}.attention-grid{gap:10px}.attention-card{padding:16px}.attention-card h3{font-size:16px}.client-fact-strip{gap:16px}.client-fact-strip .identity-editor{margin-left:0}.attention-chip{font-size:9px}.client-focus h2{font-size:20px}}
@media(max-width:760px){.client-hero{grid-template-columns:1fr}.client-hero-main{padding:24px}.client-focus{padding:22px}.client-focus h2{margin-top:14px}.client-title-line h1{font-size:34px}.client-mission{font-size:18px}.client-fact-strip{padding:18px}.attention-grid{grid-template-columns:1fr}.attention-section>.section-title{flex-wrap:wrap}.project-watchlist{grid-template-columns:1fr}.project-watchlist>div+div{border-left:0;border-top:1px solid #e0e5ef;border-radius:0 0 12px 12px}.summary-shortcuts{grid-template-columns:1fr}.task-create-grid{grid-template-columns:1fr 1fr}.task-create-grid>.field:first-child{grid-column:1/-1}.task-upload-zone{padding:15px;gap:10px}.task-create-modal .modal-body{padding:18px}.task-create-modal .modal-heading,.task-create-modal .modal-footer{padding:18px}.client-details>.section-title{flex-wrap:wrap}.report-status+.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.client-hero-main,.client-focus{padding:25px}.client-title-line{margin:16px 0}.client-title-line h1{font-size:38px}.client-mission{font-size:18px;margin:6px 0 19px}.client-focus h2{margin-top:18px}.client-fact-strip{padding-top:16px;padding-bottom:16px}.task-upload-zone input[type=file]{font-size:0}.task-upload-zone input[type=file]::file-selector-button{font-size:11px}.task-create-grid{grid-template-columns:1fr 1fr}.task-create-grid>.field:first-child{grid-column:1/-1}.task-create-modal .modal-body{max-height:calc(92vh - 160px)}
.expansion-verdict{display:flex;align-items:center;gap:25px;padding:26px;background:#1f304a;border-radius:14px;color:white;margin:22px 0}.expansion-verdict .eyebrow{color:#ffe600}.expansion-verdict h2{font-size:24px;margin:8px 0 12px;color:white}.expansion-verdict p{color:#d7e1ef;font-size:12px;line-height:1.9;margin:0}.expansion-verdict>.btn{flex-shrink:0}.expansion-verdict.missing{border-left:6px solid #e8bf55}.expansion-verdict.cost,.expansion-verdict.capacity{border-left:6px solid #df7c55}.expansion-verdict.covered{border-left:6px solid #45b497}.goal-bridge .section-title{margin-bottom:15px}.bridge-goal{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.bridge-goal>span{font-size:12px;color:#677b97}.bridge-goal>b{font-size:30px;color:#243b61;line-height:1.3}.bridge-goal small{font-size:13px;font-weight:500}.bridge-goal p{font-size:11px;color:#7f8da5;flex:1;margin:0}.bridge-bar{display:flex;width:100%;height:31px;border-radius:8px;overflow:hidden;background:#f5f0e6;margin:20px 0}.bridge-base{background:#526ec1}.bridge-extra{background:#40a896}.bridge-gap{background:repeating-linear-gradient(135deg,#ffe69b,#ffe69b 7px,#fff4d5 7px,#fff4d5 14px)}.bridge-bar.is-incomplete{display:grid;place-items:center;background:#faf5e7;border:1px dashed #e7d69d;font-size:10px;color:#9e7e33;height:45px}.bridge-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:17px}.bridge-legend>div{display:grid;grid-template-columns:12px 1fr;gap:4px 8px;align-items:center}.bridge-legend i{width:11px;height:11px;border-radius:3px}.bridge-legend span{font-size:10px;color:#7083a0}.bridge-legend b{grid-column:2;font-size:23px;color:#2c4060}.readiness-list{margin-bottom:20px}.readiness-row{display:flex;align-items:center;gap:13px;border-top:1px solid #e4eaf2;padding:14px 0}.readiness-row>span{width:26px;height:26px;border-radius:7px;background:#fff0d2;color:#b48c32;display:grid;place-items:center;font-size:14px;font-weight:700;flex-shrink:0}.readiness-row.provided>span{color:#328670;background:#e1f3ec}.readiness-row>div{flex:1}.readiness-row b{font-size:12px;color:#394d6d}.readiness-row p{font-size:10px;color:#8190a8;line-height:1.8;margin:3px 0 0}.readiness-row>small{font-size:9px;color:#ab914e}.readiness-row.provided>small{color:#489781}.readiness-row .link{font-size:10px;flex-shrink:0}.economics-settings summary,.source-plan summary{font-weight:750;font-size:12px;color:#52658c;cursor:pointer}.economics-settings[open] summary{margin-bottom:18px}.source-plan .btn{margin:12px 0}.source-plan table{font-size:11px}.readiness .form-grid{margin-top:20px}
@media(max-width:760px){.expansion-verdict{flex-direction:column;align-items:start;padding:22px}.bridge-legend{grid-template-columns:1fr}.bridge-goal{gap:10px}.bridge-goal p{flex-basis:100%}.readiness-row{flex-wrap:wrap}.readiness-row>div{min-width:calc(100% - 45px)}.readiness-row>small{margin-left:39px}.client-hero-main,.client-focus{padding:23px}.client-title-line h1{font-size:32px}}
.offers-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 12px}.offers-toolbar>p{margin:0}.offers-toolbar .hero-actions{margin:0}.offers-toolbar+.expansion-verdict{margin-top:0}@media(max-width:760px){.offers-toolbar{flex-wrap:wrap}.offers-toolbar .hero-actions{flex-wrap:wrap}}
.objective-selector{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr);gap:12px 25px;border-left:5px solid #ffe600;background:linear-gradient(105deg,#fffdf0,#fff 65%)}.objective-selector h2{font-size:20px;margin:7px 0}.objective-selector p{margin-bottom:0}.objective-selector>.field{margin:0;align-self:center}.objective-selector>.link{grid-column:1/-1}.settings-open{display:none}.channel-settings[open]>summary .settings-open{display:inline}.channel-settings[open]>summary .settings-closed{display:none}.channel-costs{margin-top:23px;padding-top:1px;border-top:1px solid #dde5f0}.channel-costs h4{color:#455887}.channel-costs details>summary{color:#63769b;font-size:11px;cursor:pointer}.channel-costs .linked-value{margin-bottom:15px}.funnel-scenario{display:flex;align-items:center;flex-wrap:wrap;gap:9px;background:#fff9cc;border:1px solid #efe3a3;border-radius:8px;padding:11px 13px;margin-bottom:15px;font-size:11px;font-weight:700;color:#6a5c2b}.funnel-scenario input{accent-color:#536ec1;width:16px;height:16px}.funnel-scenario small{font-size:9px;margin-left:auto;color:#9b8c51;font-weight:500}.measurement-settings>summary{font-size:14px;font-weight:800;cursor:pointer;color:#3c537d}.measurement-settings .form-grid{margin-bottom:0}.goal-bridge .bridge-legend small{grid-column:2;font-size:9px;color:#a28645}.goal-bridge .bridge-legend b{font-size:21px}.offer-goal-input{border-top:4px solid #ffe600}.offer-goal-input h2{font-size:17px}.offer-goal-input>.form-grid{margin-bottom:0}.objective-irrelevant{display:none!important}.source-picker .picker:has(.channel-settings[open]) .source-description{max-width:900px}@media(max-width:760px){.objective-selector{grid-template-columns:1fr}.funnel-scenario small{margin-left:25px}.goal-bridge .bridge-legend b{font-size:20px}}

.goal-evidence{margin-top:28px;padding-top:24px;border-top:1px solid #dce4f1}.evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.evidence-item{padding:18px;border:1px solid #e0e7f1;border-radius:14px;background:#f8faff}.evidence-item.has-evidence{border-left:5px solid #4c67c9;background:#f1f5ff}.evidence-item h3{margin:0}.evidence-item .badge{font-size:11px}.evidence-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.evidence-numbers small{display:block;font-size:11px;color:#687e9e}.evidence-numbers b{display:block;font-size:24px;color:#203753}.evidence-forecast{padding:10px 0;border-top:1px solid #dce4f1;font-size:13px}.evidence-missing{color:#946d12;font-size:12px;line-height:1.6}.evidence-ready{color:#237b69;font-size:12px}@media(max-width:800px){.evidence-grid{grid-template-columns:1fr}}
.version-bar{display:flex;align-items:center;gap:14px;background:#fff9cf;border:1px solid #ebd75b;border-radius:14px;margin:20px 0;padding:18px;position:sticky;top:0;z-index:10;box-shadow:0 5px 20px #182c4912}.version-bar>div{flex:1}.version-bar b,.version-bar small{display:block}.version-bar small{font-size:11px;line-height:1.5;margin-top:6px;color:#7c6b37}.version-bar label{font-size:11px;max-width:260px}.version-bar select{font:inherit;width:100%;padding:8px;border:1px solid #d9cd87;border-radius:7px;background:white}.version-bar .btn{padding:10px 14px;font-size:12px}.client-readonly{padding:12px;color:#6d809e}.client-mode .sidebar-bottom small{display:none}@media(max-width:1000px){.version-bar{flex-wrap:wrap;position:relative}.version-bar>div{flex-basis:100%}}

/* Shared, role-aware instruction guide. */
.instruction-page{max-width:1200px;margin:auto}.instruction-intro{background:linear-gradient(120deg,#fffef0,#fff 65%);border-left:5px solid #ffe500}.instruction-intro h2{font-size:clamp(26px,3vw,40px);line-height:1.15;margin:16px 0}.funnel-purpose{border-top:5px solid #ffe500;scroll-margin-top:24px}.funnel-purpose h2{font-size:clamp(24px,3vw,36px);line-height:1.2}.instruction-lead{font-size:19px;line-height:1.65;max-width:880px}.instruction-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:28px 0}.instruction-funnel>div{background:#243149;color:white;padding:20px 16px;border-radius:14px;display:grid;gap:8px}.instruction-funnel>div:last-child{background:#ffe500;color:#243149}.instruction-funnel small{font-size:12px;opacity:.7}.instruction-funnel b{font-size:18px}.instruction-funnel span{font-size:13px;line-height:1.5;opacity:.85}.instruction-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.instruction-benefits article{background:#f3f6fb;padding:22px;border-radius:14px}.instruction-benefits h3{font-size:18px;margin:0 0 12px}.instruction-benefits p{margin:0}.instruction-explanation{border-top:1px solid #dfe5f0;padding:22px 0}.instruction-explanation summary{font-weight:800;cursor:pointer}.instruction-copy{max-width:900px;line-height:1.75}.instruction-note{background:#fff9d8;border-left:4px solid #ffe500;padding:20px;border-radius:10px;margin-top:20px;line-height:1.65}.instruction-contents>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.instruction-contents a{display:flex;gap:12px;padding:13px 14px;text-decoration:none;background:#f4f6fb;color:#2a3c59;border-radius:10px;font-weight:650}.instruction-contents a:hover{background:#fff8c3}.instruction-contents a span{font-size:12px;opacity:.6}.instruction-chapter{scroll-margin-top:24px}.instruction-chapter>summary{display:flex;gap:18px;align-items:center;cursor:pointer;list-style:none}.instruction-chapter>summary:after{content:'+';margin-left:auto;font-size:24px;color:#5065a0}.instruction-chapter[open]>summary:after{content:'−'}.instruction-chapter>summary>span{background:#edf2f9;border-radius:10px;padding:12px;font-weight:800;color:#7183a1}.instruction-chapter h3{font-size:20px;margin:0}.instruction-body{max-width:960px;line-height:1.8;padding-top:18px}.instruction-body li{margin:10px 0}.instruction-body p{margin:16px 0}.instruction-body ul,.instruction-body ol{padding-left:24px}.actual-report-link{margin-top:12px}.actual-source-note{margin-top:18px;padding:16px 18px;border-radius:10px;background:#f2f5fa;line-height:1.7}@media(max-width:800px){.instruction-funnel{grid-template-columns:1fr}.instruction-funnel>div{grid-template-columns:28px 1fr;align-items:center}.instruction-funnel span{grid-column:2}.instruction-benefits,.instruction-contents>div{grid-template-columns:1fr}.funnel-purpose .section-title{align-items:flex-start;flex-direction:column;gap:16px}.instruction-chapter h3{font-size:18px}}
.evidence-numbers{grid-template-columns:repeat(4,minmax(0,1fr))}.evidence-numbers small{line-height:1.5}@media(max-width:1000px){.evidence-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Business constraints and decomposition */
.channel-live{position:static!important}.constraint-settings{margin:24px 0;padding:20px;border:1px solid #d5dfef;background:#f5f8ff;border-radius:14px}.constraint-settings>summary,.business-settings>summary,.business-decomposition details>summary{cursor:pointer;font-weight:800;color:#263855;padding:10px 0}.business-decomposition{border-top:5px solid #556bc3}.decomposition-flow{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0}.decomposition-flow>div{flex:1;min-width:140px;padding:20px;border-radius:12px;background:#f1f5fc}.decomposition-flow small{display:block;color:#617594}.decomposition-flow b{display:block;font-size:32px;margin-top:10px;color:#263b62}.decomposition-flow>div:last-child{background:#fff3cc}.decomposition-economics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.decomposition-economics span{padding:16px;background:#eef8f5;border-radius:10px}.decomposition-economics b{display:block;font-size:22px;margin-top:8px}.audit-issue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.audit-issue{padding:18px;border:1px solid #e7d69a;border-left:4px solid #d5b548;border-radius:10px;background:#fffdf5}.audit-issue.error{border-color:#d77070;background:#fff3f1}.audit-issue p{font-size:14px;line-height:1.6;margin:10px 0}.business-decomposition details{margin:18px 0;border-top:1px solid #e2e9f4;padding-top:10px}@media(max-width:760px){.audit-issue-grid,.decomposition-economics{grid-template-columns:1fr}.decomposition-flow{gap:8px}.decomposition-flow>span{display:none}.decomposition-flow>div{min-width:120px}.constraint-settings{padding:12px}}

.dictionary-search{display:block;font-weight:700}.dictionary-search input{display:block;width:100%;margin:12px 0;padding:14px;border:1px solid #cbd7eb;border-radius:10px}.dictionary-group{padding:14px 0;border-top:1px solid #dce5f3}.dictionary-group>summary{font-size:18px;font-weight:800;cursor:pointer}.dictionary-entry{padding:18px;background:#f6f8fd;border-radius:10px;margin:14px 0}.dictionary-entry h4{margin:0 0 14px}.dictionary-entry dl{display:grid;grid-template-columns:150px 1fr;gap:10px;margin:0;font-size:14px;line-height:1.6}.dictionary-entry dt{font-weight:800;color:#546b90}.dictionary-entry dd{margin:0}.dictionary-entry[hidden],.dictionary-group[hidden]{display:none}@media(max-width:600px){.dictionary-entry dl{grid-template-columns:1fr;gap:4px}.dictionary-entry dd{margin-bottom:12px}}

.profile-kpi-tags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.profile-kpi-tags span{background:#fff4a8;color:#283951;border-radius:7px;padding:7px 11px;font-weight:700;font-size:12px}.profile-kpis{border-bottom:1px solid #dce4ef;padding-bottom:20px;margin-bottom:20px}.advanced-purchase{margin:16px 0}

.client-card-open{border:0;background:none;color:inherit;text-align:left;padding:0;width:100%;font:inherit;cursor:pointer}.project-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.project-card-actions button,.project-card-actions a,.project-list-tabs button{border:1px solid #d4deeb;background:white;border-radius:9px;padding:10px 13px;font:inherit;color:#334969;text-decoration:none;cursor:pointer}.project-list-tabs{display:flex;gap:10px;margin:18px 0 24px}.project-list-tabs .selected{background:#ffe600;border-color:#ffe600;font-weight:800}.account-project-open{display:block;color:inherit;text-decoration:none}.project-lifecycle-dialog{border:1px solid #dce3ed;border-radius:20px;max-width:650px;width:90vw;color:#24364e;padding:25px}.project-lifecycle-dialog::backdrop{background:#24364e66}.lifecycle-options{display:grid;gap:12px}.file-remove{font-size:12px;padding:8px 12px;margin-right:12px}
.date-control{display:flex;align-items:stretch;gap:8px}.date-control input{flex:1;min-width:0;cursor:pointer}.date-control>button{width:50px;border:1px solid #b6c7df;border-radius:10px;background:#eef4fc;font-size:22px}.date-picker-dialog{width:min(480px,calc(100vw - 28px));border:1px solid var(--line);border-radius:20px;padding:24px;color:var(--ink);box-shadow:0 20px 80px #243a5c40}.date-picker-dialog::backdrop{background:#17273d66}.calendar-heading,.calendar-navigation,.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.calendar-heading h2{font-size:20px;margin:0 0 18px}.calendar-heading>button{background:none;border:0;font-size:24px}.calendar-navigation label{font-size:12px;min-width:0}.calendar-navigation input,.calendar-navigation select{width:100%;padding:9px 5px;border:1px solid #b6c7df;border-radius:8px;background:white;color:var(--ink)}.calendar-navigation input{min-width:74px}.date-picker-dialog button{padding:9px;border:1px solid #dbe3ef;border-radius:8px;background:white;color:var(--ink)}.calendar-navigation button{flex-shrink:0}.calendar-value{font-weight:800;text-align:center;margin:18px 0}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar-week{font-size:11px;color:var(--muted);margin-bottom:7px}.calendar-days button{min-height:38px}.calendar-months{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.date-picker-dialog button[aria-pressed=true],.date-picker-dialog .primary{background:var(--yellow);border-color:var(--yellow);font-weight:800}.calendar-footer{justify-content:flex-end;margin-top:18px}.calendar-footer button{padding:10px 18px}.calendar-error{font-size:12px;color:#b74444}.goal-period-controls{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.planning-controls{display:block}
@media(max-width:480px){.calendar-navigation{flex-wrap:wrap}.calendar-navigation label{flex:1 1 90px}.date-picker-dialog{padding:18px}.calendar-months button{font-size:12px}}
.version-bar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,320px) auto auto;align-items:end;gap:16px}.version-bar>div{align-self:center;min-width:0}.version-bar>label{display:grid;gap:7px;max-width:none;min-width:0;line-height:1.3}.version-bar select,.version-bar>.btn{height:48px;min-height:48px;margin:0;box-sizing:border-box}.version-bar>.btn{white-space:nowrap;line-height:1.3;display:flex;align-items:center;justify-content:center}.request-filter{display:flex;gap:10px;align-items:center;margin:20px 0}.request-question-group{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.request-input-row{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px}.request-input-row.needs-answer{border-color:#e2ce87;background:#fffdf6}.request-input-row .field{margin:0}.request-question-group>.form-grid{align-items:start}.client-request-list>.section-title{align-items:start}.client-request-list>.section-title>div{flex:1}.client-request-list>.section-title p{max-width:800px;font-size:13px;color:var(--muted)}@media(max-width:1200px){.version-bar{grid-template-columns:minmax(220px,1fr) auto auto}.version-bar>div{grid-column:1/-1}}@media(max-width:760px){.version-bar{grid-template-columns:1fr 1fr}.version-bar>label{grid-column:1/-1}.version-bar>.btn{white-space:normal;font-size:11px}.request-question-group>.form-grid{grid-template-columns:1fr}}
.lifecycle-warning{font-size:12px;line-height:1.7;background:#fff7e8;border:1px solid #ead6a2;border-radius:10px;padding:14px;color:#745420}.retention-ack{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.project-lifecycle-dialog input[type=text]{display:block;width:100%;padding:12px;border:1px solid #c6d0df;border-radius:8px;margin-top:8px}.danger{color:#a82d36!important;border-color:#dcb1b4!important;background:#fff1f2!important}.danger:disabled{opacity:.45}.request-input-row .tiny{margin-bottom:0}

/* Saved period and draft period must be distinguishable before applying changes. */
.calculation-period-notice{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #d8ba51;background:#fff9cf;padding:20px 24px;border-radius:14px;margin:0 0 24px}.calculation-period-notice p{font-size:13px;line-height:1.6;margin:7px 0 0}.calculation-period-notice .btn{flex-shrink:0}.version-bar>label>span{display:block;line-height:1.3}.version-bar select{display:block;line-height:normal}.version-bar>.btn{align-self:end;padding-top:0;padding-bottom:0}@media(max-width:760px){.calculation-period-notice{align-items:stretch;flex-direction:column}}

.draft-recovery-notice{display:flex;align-items:center;gap:18px;justify-content:space-between;border:1px solid #d9e3ee;background:#f0f7ff;padding:18px 22px;border-radius:12px;margin:0 0 22px}.draft-recovery-notice p{margin:5px 0 0;font-size:12px;line-height:1.6}.draft-recovery-notice>.btn{flex-shrink:0}@media(max-width:760px){.draft-recovery-notice{flex-direction:column;align-items:stretch}}

/* Factual CRM funnel: shared by owner and read-only project views. */
.factual-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:24px 0}.factual-step{position:relative;padding:24px;background:#f0f5ff;border-top:4px solid #596fc2;border-radius:12px;display:flex;flex-direction:column;gap:12px}.factual-step:not(:last-child):after{content:'→';position:absolute;right:-25px;top:45%;font-size:22px;color:#596fc2}.factual-step b{font-size:38px;color:#263e62}.factual-step small{color:#637591}.factual-step:last-child{background:#eef9f6;border-color:#399783}.crm-incubator{display:flex;gap:20px;flex-wrap:wrap;padding:18px 24px;background:#fff9dc;border-radius:10px;color:#7c6630}.crm-period-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:22px 0}.crm-period-facts>div{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #dde5ef;border-radius:10px}.crm-period-facts b{font-size:24px;color:#294367}.crm-period-facts span,.crm-period-facts small{color:#7485a0}.crm-pipeline{margin-top:28px}.crm-pipeline summary,.semantic-panel summary{cursor:pointer;font-weight:700;padding:16px 0}.crm-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin:18px 0 26px}.crm-stage{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid #e0e6ef;border-radius:10px;background:#f7f9fc;color:#74839a}.crm-stage b{font-size:25px}.crm-stage b small{font-size:13px;font-weight:400}.crm-stage.has-fact{background:#eaf5f1;border-color:#8bbfaf;color:#236956}.crm-lost .has-fact{background:#fff0ea;border-color:#e7b4a2;color:#a65339}.semantic-group ul{columns:2;column-gap:40px}.semantic-group li{break-inside:avoid;margin:8px 0}.semantic-panel>.btn{margin-top:20px}@media(max-width:760px){.factual-stages{grid-template-columns:1fr;gap:24px}.factual-step:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-26px}.semantic-group ul{columns:1}.factual-step b{font-size:32px}}

.managed-block{position:relative}.block-tools{position:absolute;top:8px;right:8px;display:flex;gap:4px;z-index:4;background:#fffdf4e8;border-radius:9px;padding:3px}.block-tool{width:30px;height:30px;border:1px solid #dbe2ed;border-radius:7px;background:white;color:#526789;font-size:21px;cursor:pointer;line-height:1}.block-tool:last-child{color:#ad4a42}.block-tool:hover{background:#fff0e9;border-color:#d7927e}.managed-block>h2,.managed-block>h3,.managed-block>.section-title{padding-right:78px}.block-comment{padding:14px;border-left:3px solid #d8b426;background:#fffbea;white-space:pre-wrap}.block-edit-label{display:flex;flex-direction:column;gap:8px;margin:16px 0;color:#526789}.block-edit-label>input,.block-edit-label>textarea,.block-edit-label>select{padding:12px;border:1px solid #ccd8e8;border-radius:8px;font:inherit;background:#f9fbff;color:#253853}.block-edit-label>input[type=checkbox]{align-self:flex-start;width:20px;height:20px}.factual-step .block-tools,.crm-stage .block-tools,.metric .block-tools{opacity:0}.factual-step:hover>.block-tools,.crm-stage:hover>.block-tools,.metric:hover>.block-tools,.managed-block:focus-within>.block-tools{opacity:1}@media(hover:none){.factual-step .block-tools,.crm-stage .block-tools,.metric .block-tools{opacity:1}}@media print{.block-tools{display:none!important}}

.factual-step .block-tools,.crm-stage .block-tools,.metric .block-tools{opacity:1}.factual-step>span:first-child,.crm-stage>span:first-child,.metric>span:first-child{padding-right:62px;display:block}.task-card.managed-block{padding-top:58px}.report-heading.managed-block{padding-right:85px}.crm-period-facts>div.managed-block{position:relative;padding-top:50px}.crm-incubator.managed-block{padding-right:90px}.attention-card.managed-block{padding-top:54px}

dialog.block-edit-modal[open]{display:flex;flex-direction:column;width:min(800px,calc(100vw - 30px));max-width:800px;max-height:90vh;overflow:hidden}.block-edit-modal .modal-heading,.block-edit-modal .modal-footer{flex-shrink:0}.block-edit-modal .modal-body{min-height:0;overflow-y:auto;flex:1}.block-edit-modal .modal-footer{border-top:1px solid #e5eaf2;background:white;padding:16px 28px}.block-edit-modal .modal-body textarea{resize:vertical}
/* CJM report and scoped, compact block controls. */
.cjm-report{min-width:0}.cjm-intro{padding:12px 0 22px}.cjm-intro p{color:#667997}.cjm-intro select{display:block;width:min(100%,380px);padding:12px;border:1px solid var(--line);border-radius:8px;margin-top:8px;background:white}.cjm-section{padding:28px 30px;border-top:3px solid #419585}.cjm-section>h2{font-size:23px;line-height:1.35;margin:10px 0 24px}.rich-content{line-height:1.75;font-size:15px;color:#354861;overflow-wrap:anywhere;min-width:0}.rich-content p{white-space:normal;margin:14px 0}.rich-content h3{font-size:18px;line-height:1.5;margin:28px 0 12px}.rich-content h4{font-size:16px;margin:22px 0 10px}.rich-content li{margin:8px 0}.rich-content ul,.rich-content ol{padding-left:25px}.rich-content img{display:block;max-width:100%;height:auto;object-fit:contain;margin:18px 0;border-radius:8px}.rich-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;font-size:13px;margin:20px 0}.rich-content th,.rich-content td{padding:12px 14px;border:1px solid #dfe6ef;vertical-align:top;min-width:105px;white-space:normal}.rich-content th{background:#eef4fa;color:#526789}.rich-content blockquote{border-left:3px solid #dfc959;margin:18px 0;padding:12px 18px;background:#fffbea}.cjm-contract{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.cjm-hint{line-height:1.7}.rich-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0;position:sticky;top:0;background:white;z-index:2}.rich-toolbar button{padding:8px 10px;background:#f4f7fc;border:1px solid #dce4ef;border-radius:7px;color:#374e70;cursor:pointer}.rich-toolbar button:hover{background:#fff8c6}.rich-editor{min-height:290px;padding:20px;border:1px solid #bfcfe2;border-radius:10px;outline:none;max-width:100%}.rich-editor:focus{border-color:#5e7fb2;box-shadow:0 0 0 2px #dce7fa}.permanent-confirm{max-width:520px;width:calc(100vw - 32px);border:1px solid #ead9d3;border-radius:16px;padding:26px;color:var(--ink)}.permanent-confirm::backdrop{background:#182b4566}.permanent-confirm h2{font-size:23px;line-height:1.35}.permanent-confirm p{line-height:1.7}.btn.danger{background:#ae453f;color:white;border-color:#ae453f}.block-tools{padding:2px;gap:3px;border-radius:7px}.block-tool{width:23px;height:23px;min-height:23px;font-size:16px;border-radius:5px}.managed-block>h2,.managed-block>h3,.managed-block>.section-title{padding-right:58px}.managed-block.field>.block-tools{top:0;right:28px}.managed-block.field>.field-label-row{padding-right:60px}.managed-block.field>.block-tools{opacity:0}.managed-block.field:hover>.block-tools,.managed-block.field:focus-within>.block-tools{opacity:1}.report-heading.managed-block{padding-right:64px}.rich-content img,.main img{max-width:100%;height:auto}.main,.card,.form-grid,.qa-grid,.field,.report-heading>div,.page-heading>div,.header-actions{min-width:0}.main .table-wrap{max-width:100%;overflow-x:auto}.block-edit-modal[open]{max-width:calc(100vw - 24px)}
@media(max-width:760px){.main{margin-left:0;width:100%;max-width:100%;padding:0 14px}.sidebar{position:relative;width:100%;height:auto;padding:16px 14px}.sidebar nav{display:flex;flex-direction:row;overflow-x:auto;max-width:100%;padding:6px 0}.sidebar .nav{flex:0 0 auto;width:auto;white-space:nowrap}.sidebar-bottom{display:none}.project-switch{margin:14px 0}.sidebar .brand{padding-left:0}.main>header{height:auto;min-height:60px;flex-wrap:wrap;padding:14px 0;gap:10px}.header-actions{flex-wrap:wrap}.page-heading,.report-heading{align-items:flex-start;flex-direction:column;gap:16px}.page-heading h1{font-size:27px;overflow-wrap:anywhere}.report-heading .hero-actions,.report-bottom-actions{flex-wrap:wrap;max-width:100%}.card,.cjm-section{padding:22px 16px;max-width:100%}.cjm-section>h2{font-size:21px}.rich-content{font-size:14px}.rich-content table{font-size:12px}.form-grid,.form-grid.three,.qa-grid,.context-primary,.context-summary,.stats-grid,.report-stats,.client-focus-grid,.client-focuses{grid-template-columns:minmax(0,1fr)}.version-bar{position:relative;width:100%;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.version-bar>div,.version-bar>label{grid-column:1;max-width:100%}.version-bar>.btn{width:100%;white-space:normal}.version-bar select{max-width:100%}.field input,.field textarea,.field select{max-width:100%;min-width:0}.identity-editor{min-width:0}.context-heading{flex-direction:column}.rich-editor{padding:12px;min-height:240px}.rich-toolbar button{font-size:12px;padding:8px}.block-edit-modal .modal-heading{padding-right:28px}.block-edit-modal .modal-heading h2{font-size:21px;overflow-wrap:anywhere}.block-edit-modal .modal-body{padding:0 4px}.block-edit-modal .modal-footer{flex-wrap:wrap}.block-edit-modal .modal-footer .btn{flex:1;white-space:normal}.managed-block.field>.block-tools{opacity:1}.crm-period-facts,.crm-stage-grid{grid-template-columns:minmax(0,1fr)}.task-file,.attachment-link{max-width:100%;overflow-wrap:anywhere;white-space:normal}.main footer{flex-wrap:wrap;gap:15px}.permanent-confirm .modal-footer{flex-direction:column}.permanent-confirm .btn{width:100%}}
@media print{.rich-content table{display:table;width:100%;font-size:10px}.cjm-section{break-inside:auto}.cjm-intro,.cjm-gate,.cjm-hint,[data-action="cjm-edit"],.rich-toolbar{display:none!important}}
.report-task-list b{min-width:0;overflow-wrap:anywhere}.report-task-list>div>div{flex-wrap:wrap;gap:10px}.cjm-intro p{line-height:1.7}
@media(max-width:760px){.report-task-list b{flex:1 1 160px}.main .btn{overflow-wrap:anywhere}.rich-content table{overscroll-behavior-x:contain}.report-section:not(.cjm-section) p{overflow-wrap:anywhere}}
/* Equal-height action rows and factual funnels, independent of the business goal. */
.report-bottom-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.report-bottom-actions .item-lifecycle{display:contents}.report-bottom-actions .btn{height:44px;min-height:44px;margin:0;padding:10px 18px;line-height:1.4}.delete-report-attachment{color:#a94b45}.task-actions,.hero-actions,.header-actions{align-items:center}.task-actions>.btn,.hero-actions>.btn,.header-actions>.btn{min-height:40px;margin-top:0;margin-bottom:0}.form-grid{align-items:start}.field-label-row{min-height:30px;align-items:flex-start}.form-grid .field input,.form-grid .field select{min-height:44px}.form-grid .field-label-row label{line-height:1.5}.factual-diagram-layout{display:grid;grid-template-columns:minmax(240px,470px) minmax(220px,1fr);gap:30px;align-items:center}.factual-diagram-layout .funnel-svg{display:block;width:100%;max-width:440px;margin:auto;height:auto}.factual-diagram-rates .rate-line{padding:17px 0;border-bottom:1px solid var(--line)}.factual-diagram-rates .rate-line b{font-size:23px;color:#395788}.seo-confirmed-fields{grid-column:1/-1}.channel-settings-content>.factual-diagram{grid-column:1/-1}.factual-diagram .section-title{flex-wrap:wrap}
@media(max-width:760px){.factual-diagram-layout{grid-template-columns:minmax(0,1fr);gap:12px}.report-bottom-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.report-bottom-actions>.btn,.report-bottom-actions .btn{width:100%;white-space:normal;height:auto;min-height:44px}.form-grid .field-label-row{min-height:0}}
@supports(grid-template-rows:subgrid){.form-grid>.field{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}.form-grid>.field>.field-label-row{align-self:start}.form-grid>.field>input,.form-grid>.field>select,.form-grid>.field>.date-control{align-self:start}.form-grid>.field>.field-tools{align-self:start}.form-grid{row-gap:0}}
.crm-scope-audit{margin:22px 0;padding:20px;background:#f7faff;border:1px solid #dce5f0;border-radius:12px}.crm-scope-audit h3{margin:0 0 12px}.crm-scope-audit .crm-period-facts{margin:14px 0}.benchmark-settings{margin:20px 0;padding-top:16px;border-top:1px solid var(--line)}.benchmark-settings summary{font-weight:700;cursor:pointer}.benchmark-settings .check{margin:16px 0}.seo-confirmed-fields .linked-value b{display:block;margin-top:8px;font-size:20px}.rate-line b{overflow-wrap:anywhere}

.funnel-source-tabs{display:flex;gap:6px;padding:5px;background:#eef2f8;border-radius:12px;width:fit-content;max-width:100%;margin:16px 0}.funnel-source-tabs button{border:0;background:transparent;color:#596c8b;font:inherit;font-weight:700;padding:12px 18px;border-radius:9px;cursor:pointer;min-height:44px}.funnel-source-tabs button.active{background:#fff;color:#243f69;box-shadow:0 2px 7px #263f6815}.funnel-source-tabs button:focus-visible{outline:2px solid #5877b3;outline-offset:2px}.funnel-source-note{font-size:14px;color:#647897;line-height:1.6}.factual-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.factual-diagram-rates .crm-period-facts{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.funnel-source-tabs{width:100%;box-sizing:border-box}.funnel-source-tabs button{flex:1;padding:10px 8px;font-size:12px}.factual-stages,.factual-diagram-rates .crm-period-facts{grid-template-columns:1fr}}

.metric-goal-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:18px;align-items:center;margin:26px 0}.metric-goal-flow>div{background:#f4f7fb;border:1px solid #e0e7f2;border-radius:14px;padding:22px;min-width:0}.metric-goal-flow small{display:block;color:#7184a3;line-height:1.5}.metric-goal-flow b{display:block;font-size:30px;color:#263f68;margin-top:10px;overflow-wrap:anywhere}.metric-plan-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.metric-plan-summary span{display:block;color:#7184a3;line-height:1.5}.metric-plan-summary b{display:block;font-size:23px;margin-top:10px}.metric-goal-plan h3{margin:30px 0 14px}.metric-plan-steps{line-height:1.8;padding-left:24px}.metric-goal-plan td,.metric-goal-plan th{white-space:normal;min-width:110px}.metric-measurement{margin-top:24px}@media(max-width:700px){.metric-goal-flow{grid-template-columns:1fr;gap:8px}.metric-goal-flow>span{display:none}.metric-goal-flow>div{padding:16px}.metric-goal-flow b{font-size:26px}.metric-plan-summary{grid-template-columns:1fr}}

.funnel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.funnel-report-picker{font-size:12px;color:#7184a3;display:grid;gap:6px}.funnel-report-picker select{max-width:100%;min-height:40px;border:1px solid #dce4f0;border-radius:9px;padding:8px;background:#fff;color:#263f68}.funnel-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.funnel-entry-grid>.field{margin:0!important;padding:12px!important;border:1px solid #dce4f0;border-radius:12px;background:#f5f8fd;min-width:0}.funnel-entry-grid .field-label-row{min-height:36px;align-items:flex-start}.funnel-entry-grid label{font-size:12px!important;line-height:1.4}.funnel-entry-grid input{font-size:23px!important;font-weight:750;min-height:42px;height:42px;padding:6px 8px!important;box-sizing:border-box;width:100%}.funnel-entry-grid .field-tools{font-size:10px;margin-top:5px}.funnel-entry-grid .help-trigger{width:18px;height:18px;min-width:18px;font-size:11px}.funnel-entry .funnel-cohort-check{font-size:12px;line-height:1.5;margin-top:14px}.funnel-entry>.tiny{font-size:11px;line-height:1.5}.factual-diagram .rate-line{padding:12px 0}.factual-diagram .rate-line b{font-size:22px}.crm-period-facts>div{padding:18px!important;min-height:0!important}.crm-period-facts>div>b{font-size:26px!important}.funnel-period-input .field{margin-top:10px}.funnel-period-input input{height:38px;font-size:13px}.factual-diagram-layout{align-items:start!important}.factual-diagram-layout .funnel-svg{max-height:600px}.factual-diagram-rates .crm-period-facts{gap:10px}@media(max-width:1100px){.funnel-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.funnel-report-picker{width:100%}.funnel-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-entry-grid input{font-size:20px!important}.funnel-entry-grid>.field{padding:10px!important}.funnel-entry-grid .field-label-row{min-height:48px}.funnel-entry-grid .field-tools button{font-size:9px;padding:2px}.factual-diagram .rate-line b{font-size:18px}}

@media(max-width:380px){.funnel-entry-grid{grid-template-columns:1fr}}

@media(max-width:600px){.section-title{flex-wrap:wrap;align-items:flex-start;min-width:0}.section-title>div{min-width:0;max-width:100%}.section-title>.badge{max-width:100%;white-space:normal;box-sizing:border-box}}

.analytics-report-panel{margin:18px 0;max-width:100%;min-width:0}.analytics-report-panel h3{font-size:16px}.analytics-metric-group,.analytics-breakdown{border-top:1px solid #dce4ef;padding:13px 0}.analytics-metric-group summary,.analytics-breakdown summary{cursor:pointer;font-size:13px;line-height:1.5;font-weight:700;margin-bottom:10px}.analytics-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.analytics-facts-grid>div{background:#f3f7fc;border:1px solid #dce4ef;border-radius:10px;padding:12px;min-width:0}.analytics-facts-grid span{display:block;font-size:12px;color:#7184a3;line-height:1.5}.analytics-facts-grid b{display:block;font-size:23px;color:#263f68;margin-top:8px;overflow-wrap:anywhere}.analytics-report-panel>.tiny{font-size:12px;line-height:1.6}.analytics-report-panel .table-wrap{max-width:100%}.analytics-report-panel td,.analytics-report-panel th{font-size:13px}@media(max-width:600px){.analytics-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.analytics-facts-grid{grid-template-columns:1fr}}

.funnel-range-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;max-width:100%;margin:10px 0}.funnel-range-controls label{display:grid;gap:6px;font-size:11px;color:#7184a3;min-width:110px}.funnel-range-controls select{min-height:40px;max-width:100%;border:1px solid #dce4ef;border-radius:9px;padding:8px;background:#fff;color:#263f68}.funnel-range-controls .btn{font-size:12px;min-height:40px;padding:9px 12px}@media(max-width:600px){.funnel-range-controls{width:100%;display:grid;grid-template-columns:1fr 1fr}.funnel-range-controls label{min-width:0}.funnel-range-controls label:first-child{grid-column:1/-1}.funnel-range-controls .btn{grid-column:1/-1}}
.channel-settings-content>.advertising-facts{grid-column:1/-1}.advertising-facts{min-width:0;border-top:1px solid #dce4ef;margin-top:24px;padding-top:20px}.advertising-facts .analytics-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.advertising-facts .analytics-facts-grid b{font-size:20px;overflow-wrap:normal;white-space:nowrap}.advertising-facts .analytics-facts-grid .field{min-width:0;margin:0}.advertising-facts .plain-note{font-size:12px;line-height:1.6}@media(max-width:380px){.advertising-facts .analytics-facts-grid{grid-template-columns:1fr}}
.seo-bars{display:grid;gap:18px;margin:20px 0}.seo-bars>div{min-width:0}.seo-bars b,.seo-bars small{display:block;font-size:12px;line-height:1.7}.seo-bar{display:flex;width:100%;height:24px;margin:6px 0;background:#f0f4fa;border-radius:5px;overflow:hidden}.seo-brand{background:#e7c448}.seo-nonbrand{background:#3d7995}.seo-legend summary,.seo-source-archive summary{cursor:pointer;font-size:16px;font-weight:700}.seo-legend h3{margin-top:20px}.seo-legend p,.seo-history .plain-note{font-size:13px;line-height:1.7}.seo-source-archive>details{margin-top:12px}.source-text{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.seo-history th{white-space:normal;min-width:105px}.seo-history td{vertical-align:top}.agency-pricing{border-left:4px solid #d2b24c}.semantic-panel td{overflow-wrap:anywhere}.seo-history,.seo-legend,.seo-source-archive{min-width:0;max-width:100%}
.main:has(.seo-history) #dataWarnings{display:none}
.commercial-funnel{margin:22px 0;padding:20px;border:1px solid #dae4f0;border-radius:12px;background:#f7faff;min-width:0}.commercial-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:16px 0}.commercial-stages>div{padding:18px;background:#fff;border-radius:10px;border-top:4px solid #3d7995;min-width:0}.commercial-stages span{display:block;font-size:12px;color:#607893}.commercial-stages b{display:block;font-size:24px;color:#263f68;margin-top:10px;overflow-wrap:anywhere}.commercial-funnel table{font-size:13px}.commercial-funnel .tiny{line-height:1.7}.commercial-funnel h3{font-size:17px}

.regional-report-source{display:flex;align-items:center;gap:12px;margin:18px 0;font-weight:600}.regional-report-source select{max-width:100%;min-width:240px;padding:10px;border:1px solid var(--line,#d8e0ec);border-radius:8px;background:#fff;color:inherit}.cjm-body table{display:block;max-width:100%;overflow-x:auto}.report-tabs{flex-wrap:wrap}

.main:has(.regional-report-source) #dataWarnings{display:none}
/* Imported 1C tasks and private annotations */
.ct-overview{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.ct-overview h2{font-size:28px;margin:8px 0}.ct-overview p{margin:8px 0}.ct-filter-card{padding:22px}.ct-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ct-filters label,.ct-personal label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#55627a}.ct-filters input,.ct-filters select,.ct-personal input,.ct-personal textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #d5dce8;border-radius:9px;background:#fff;font:inherit;color:#1d2b43}.ct-filter-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:16px;font-size:13px}.ct-filter-bottom label{display:flex;align-items:center;gap:9px}.ct-list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 12px}.ct-task{padding:0;overflow:hidden;margin-bottom:12px}.ct-task>summary{list-style:none;padding:20px 24px;display:flex;justify-content:space-between;gap:20px;cursor:pointer}.ct-task>summary::-webkit-details-marker{display:none}.ct-task>summary:after{content:'＋';color:#77859a;font-size:22px}.ct-task[open]>summary:after{content:'−'}.ct-task[open]>summary{border-bottom:1px solid #e4e9f2}.ct-task h3{font-size:17px;line-height:1.45;margin:7px 0}.ct-task-identity{min-width:0;flex:1}.ct-task-identity p{color:#65738a;font-size:12px;margin:5px 0}.ct-number{font-size:12px;color:#71809a;font-weight:700;letter-spacing:.04em}.ct-badges{display:flex;align-items:flex-start;justify-content:flex-end;flex-wrap:wrap;gap:7px;max-width:290px;padding-top:5px}.ct-badge{display:inline-block;padding:6px 9px;border-radius:6px;background:#edf3ff;color:#34598e;font-size:11px;font-weight:600}.ct-mine{background:#e9f5ee;color:#2c6f4a}.ct-warning{background:#fff2dc;color:#936010}.ct-task-content{padding:24px}.ct-origin{color:#748198;font-size:12px;margin-bottom:14px}.ct-quality,.ct-pending{background:#fff8e9;border-radius:8px;color:#8d631b;padding:12px;font-size:13px}.ct-personal{background:#f1f6ff;border:1px solid #dce7f9;padding:20px;border-radius:12px;display:grid;grid-template-columns:1fr 2fr;gap:14px;margin-bottom:26px}.ct-personal h4{grid-column:1/-1;margin:0}.ct-personal h4 span{font-size:11px;font-weight:400;color:#6c7e9a;margin-left:10px}.ct-personal button{justify-self:start;align-self:start}.ct-personal [data-ct-save-state]{align-self:center}.ct-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.ct-task h4{font-size:14px;margin-top:0}.ct-task dl{display:grid;grid-template-columns:auto 1fr;gap:9px 16px;font-size:12px}.ct-task dt{color:#758198}.ct-task dd{margin:0}.ct-preserve{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.75}.ct-tree-node{display:flex;flex-wrap:wrap;gap:6px 12px;padding:12px 10px;border-bottom:1px solid #e8edf5;font-size:12px}.ct-tree-node span{flex:1;min-width:140px}.ct-current{background:#f0f6ff;border-radius:6px}.ct-current small{color:#3564a2}.ct-image-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ct-image-links .btn{font-size:11px;padding:8px 10px}.ct-discussion{margin-top:28px;border-top:1px solid #e5eaf1;padding-top:22px}.ct-discussion article{padding:17px 0;border-bottom:1px solid #edf0f5}.ct-discussion header{display:flex;justify-content:space-between;gap:14px;padding:0;margin-bottom:12px;font-size:12px;box-shadow:none;background:transparent}.ct-discussion time{color:#7b879b;white-space:nowrap}.ct-history{margin-top:22px}.ct-history>summary,.ct-import>summary{cursor:pointer;font-weight:600;font-size:13px}.ct-history article{border-left:2px solid #d6e2f4;padding:10px 0 10px 16px;margin:14px 0;font-size:12px}.ct-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 inherit}.ct-pagination{display:flex;justify-content:center;gap:20px;align-items:center;margin:22px}.ct-import{margin-top:25px;font-size:13px}.ct-import p{line-height:1.7}.ct-import label.btn{display:inline-block;cursor:pointer}.ct-late>summary{border-left:3px solid #ddb15d}@media(max-width:850px){.ct-filters{grid-template-columns:1fr 1fr}.ct-data-grid,.ct-personal{grid-template-columns:1fr}.ct-overview,.ct-list-heading,.ct-task>summary{flex-wrap:wrap}.ct-badges{justify-content:flex-start;max-width:100%}.ct-task-content{padding:18px}.ct-discussion header{flex-wrap:wrap}}@media(max-width:500px){.ct-filters{grid-template-columns:1fr}.ct-filter-bottom{align-items:flex-start;flex-direction:column}}

.collected-tasks-page #portalVersionBar,.collected-tasks-page #dataWarnings,.collected-tasks-page #calculationPeriodState,.collected-tasks-page #saveState,.collected-tasks-page .header-actions [data-action=share-project],.collected-tasks-page .header-actions [data-action=export-project],.collected-tasks-page .header-actions [data-action=import]{display:none!important}
.ct-overview-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ct-action-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.ct-action-chips button{font:600 11px/1.4 inherit;border:1px solid #dce3ef;background:#f7f9fc;border-radius:20px;padding:8px 12px;color:#5a6982;cursor:pointer}.ct-action-chips button.active{background:#fff5b2;border-color:#eadb67;color:#4f461a}.ct-card-meaning{font-size:13px!important;line-height:1.6!important;color:#44556e!important;max-width:760px}.ct-analysis{border:1px solid #d8e5f4;background:#f7faff;border-radius:12px;padding:22px;margin:18px 0 24px}.ct-analysis-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.ct-analysis-heading h4{margin:0;font-size:18px}.ct-analysis-action{white-space:nowrap}.ct-analysis-summary{font-size:15px;line-height:1.7;color:#263c59}.ct-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px}.ct-analysis h5{font-size:13px;line-height:1.5;margin:12px 0 8px;color:#344d70}.ct-analysis li{font-size:13px;line-height:1.75;margin:5px 0}.ct-analysis ul,.ct-analysis ol{padding-left:20px}.ct-analysis-blocker{border-left:3px solid #dec47b;padding-left:14px}.ct-evidence-kind{font-size:11px;color:#8b6a21}.ct-analysis-unknown{background:#fffaf0;border-radius:8px;padding:4px 14px;margin:10px 0 14px}.ct-analysis-evidence{margin:16px 0}.ct-analysis-evidence summary{font-size:12px;font-weight:600;cursor:pointer}.ct-analysis-evidence article{padding:12px 0;border-bottom:1px solid #e0e7f1;font-size:12px}.ct-analysis-evidence article p{margin-bottom:0;line-height:1.65}.ct-analysis-pending{font-size:13px;color:#65738b}.ct-source{border-top:1px solid #e0e6ef;padding-top:18px;margin-top:24px}.ct-source>summary{font-size:13px;font-weight:600;cursor:pointer;margin-bottom:18px}.ct-blocks-label{background:#fff2d9;color:#805a1b;padding:3px 7px;border-radius:5px}@media(max-width:800px){.ct-analysis-grid{grid-template-columns:1fr}.ct-analysis-heading{flex-wrap:wrap}.ct-analysis{padding:16px}.ct-overview-actions{justify-content:flex-start}}
/* Gate, project navigation, task dialogs and reviewed refresh */
.ct-task-button{display:flex;width:100%;text-align:left;justify-content:space-between;gap:20px;padding:20px 24px;background:#fff;font:inherit;cursor:pointer;border:1px solid #e0e6ef}.ct-task-button:hover{border-color:#d8bb35;background:#fffef5}.ct-task-button .ct-task-identity h3{margin:6px 0}.ct-task-button .ct-badges{flex-shrink:0}.ct-task-button:after{content:'↗';color:#7c8697;font-size:20px}.ct-modal{width:min(1080px,94vw);max-height:90vh;padding:0;border:1px solid #dae1eb;border-radius:16px;background:#fff;color:#24344e;box-shadow:0 24px 100px #16213544}.ct-modal::backdrop,.refresh-dialog::backdrop{background:#14223d66;backdrop-filter:blur(3px)}.ct-modal-toolbar{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e4e8ef;font-weight:600}.ct-modal .ct-task{border:0;border-radius:0;margin:0}.ct-modal .ct-task>summary{pointer-events:none}.ct-modal .ct-task>summary:after{content:none}.ct-strategy{border-top:4px solid #ffe447;margin-bottom:20px}.ct-strategy h2{font-size:24px;margin:8px 0 12px}.ct-strategy p,.ct-strategy li{line-height:1.7;font-size:13px}.ct-strategy-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.ct-strategy-stats>div{padding:14px;background:#f4f7fb;border-radius:9px}.ct-strategy-stats span{display:block;font-size:11px;color:#6b778d}.ct-strategy-stats b{display:block;margin-top:8px;font-size:19px}.ct-strategy-stats>div:last-child b{font-size:14px}.ct-strategy h4{font-size:14px}.project-switcher{position:relative}.project-switch-menu{display:none;position:absolute;top:100%;right:0;z-index:50;width:320px;max-height:65vh;overflow:auto;padding:8px;background:#fff;border:1px solid #dbe2ec;border-radius:12px;box-shadow:0 12px 40px #23324a22}.project-switcher:hover .project-switch-menu,.project-switcher:focus-within .project-switch-menu{display:block}.project-switch-menu a{display:block;padding:12px;border-radius:7px;color:#25354d;text-decoration:none}.project-switch-menu a:hover,.project-switch-menu a[aria-current]{background:#fff7b5}.project-switch-menu small{display:block;color:#7c8798;margin-top:4px;font-size:11px}.refresh-dialog{width:min(780px,92vw);max-height:88vh;border:1px solid #e0e5ec;border-radius:16px;padding:26px;color:#26364e;box-shadow:0 20px 90px #15213c44}.refresh-dialog-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.refresh-dialog h2{font-size:24px;margin:8px 0 14px}.refresh-dialog p,.refresh-dialog li{font-size:13px;line-height:1.7}.refresh-scope{display:grid;gap:8px;margin:20px 0;font-size:13px;font-weight:600}.refresh-dialog select,.refresh-dialog input{padding:12px;border:1px solid #d8e0ec;border-radius:8px;width:100%;box-sizing:border-box}.refresh-device{padding:12px;border-radius:8px;background:#fff5df}.refresh-device.online{background:#e8f6ed}.refresh-controls{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.refresh-job{padding:16px;background:#f4f7fc;border-radius:9px}.refresh-change-list{max-height:40vh;overflow:auto}.refresh-change-list article{padding:10px 0;border-bottom:1px solid #e4e8ef}.gate-widget{position:fixed;right:22px;bottom:16px;width:132px;border:0;background:transparent;z-index:60;cursor:pointer;padding:0;text-align:center;color:#2a3547}.gate-widget[hidden]{display:none}.gate-widget img{display:block;width:92px;height:104px;object-fit:contain;margin:auto;filter:drop-shadow(0 5px 4px #2a354722);pointer-events:none}.gate-widget>span{display:block;font-size:11px;font-weight:700;background:#fff7b6;border:1px solid #f2df6a;padding:7px 8px;border-radius:12px;box-shadow:0 3px 12px #26334710}.gate-widget>small{display:block;font-size:10px;background:#fffef5e8;border-radius:5px;padding:4px;max-height:44px;overflow:hidden}.gate-hop img{animation:gateHop 2.1s ease-in-out infinite}.gate-run img{animation:gatePlay .9s ease-in-out infinite alternate}.gate-done img{animation:gateCelebrate .8s ease-in-out 2}@keyframes gateHop{0%,70%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-9px) rotate(-4deg)}40%{transform:translateY(0) rotate(3deg)}}@keyframes gatePlay{from{transform:translateX(-5px) rotate(-5deg)}to{transform:translateX(5px) rotate(5deg)}}@keyframes gateCelebrate{50%{transform:translateY(-22px) rotate(7deg)}}@media(prefers-reduced-motion:reduce){.gate-widget img{animation:none}}@media(max-width:750px){.ct-strategy-stats{grid-template-columns:1fr 1fr}.ct-task-button{flex-wrap:wrap}.refresh-dialog{padding:18px}.project-switch-menu{width:260px}.gate-widget{right:10px;bottom:10px;width:112px}.gate-widget img{width:72px;height:82px}}

.ct-task-row .ct-task-button{border:0;border-radius:0;margin:0}.ct-task-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 24px 18px}.ct-task-actions .btn{font-size:12px;padding:8px 13px}.ct-personal>.ct-task-actions{grid-column:1/-1;padding:0}.ct-personal-explain{grid-column:1/-1;margin:0;font-weight:400}

/* Gate: two stable poses, continuous mesh motion and a fixed cushion. */
.gate-assistant{position:fixed;right:22px;bottom:14px;width:142px;z-index:65;color:#26364e;touch-action:none}.gate-trigger{display:flex;flex-direction:column;align-items:center;width:100%;padding:0;border:0;background:none;color:inherit;cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent}.gate-trigger:focus-visible{outline:3px solid #5365b4;outline-offset:5px;border-radius:20px}.gate-thought{position:relative;display:block;max-width:180px;min-width:110px;padding:10px 13px;border:1px solid #e5d88a;background:#fff9d9;border-radius:15px 15px 4px 15px;box-shadow:0 5px 18px #27364e12;font-size:12px;font-weight:600;line-height:1.4;text-align:center;touch-action:auto}.gate-thought:after{content:'';position:absolute;right:25px;bottom:-6px;width:9px;height:9px;background:#fff9d9;border-right:1px solid #e5d88a;border-bottom:1px solid #e5d88a;transform:rotate(45deg)}.gate-stage{position:relative;display:block;width:132px;height:132px;margin-top:5px;cursor:grab}.gate-pose{position:absolute;inset:0;display:block;background:url('/assets/gate-awake-still.webp') center/contain no-repeat;transform-origin:50% 90%;animation:gateQuietLook 10s ease-in-out infinite}.gate-pose canvas{display:block;width:100%;height:100%;pointer-events:none}.gate-assistant[data-view=smooth] .gate-stage,.gate-assistant[data-view=smooth] .gate-pose{animation:none!important;transform:none!important}.gate-assistant[data-view=smooth] .gate-pose{background:none!important}.gate-shadow{display:none}.gate-name{font-size:10px;letter-spacing:.09em;font-weight:700;color:#7b879b;margin-top:2px}.gate-name span{font-size:16px;margin-left:5px;color:#5365a9}.gate-dragging .gate-stage{cursor:grabbing}.gate-dragging .gate-trigger{cursor:grabbing}.gate-assistant .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.gate-snore{display:none;position:absolute;right:12px;top:5px;color:#8c9bc0;font-size:14px;font-weight:800;letter-spacing:2px;pointer-events:none}.gate-snore span{font-size:18px;display:inline-block;transform:translateY(-8px)}.gate-snore b{font-size:22px;display:inline-block;transform:translateY(-18px)}.gate-assistant[data-sleeping=true] .gate-pose{background-image:url('/assets/gate-sleep-still.webp');animation:none}.gate-assistant[data-sleeping=true] .gate-snore{display:block;animation:gateQuietSnore 6s ease-out infinite}.gate-assistant[data-sleeping=true] .gate-thought{background:#f0f2fc;border-color:#d3daef}.gate-assistant[data-sleeping=true] .gate-thought:after{background:#f0f2fc;border-color:#d3daef}.gate-assistant[data-view=smooth] .gate-pose.gate-view-fallback{background:url('/assets/gate-awake-still.webp') center/contain no-repeat!important}.gate-assistant[data-view=smooth][data-sleeping=true] .gate-pose.gate-view-fallback{background-image:url('/assets/gate-sleep-still.webp')!important}
@keyframes gateQuietLook{0%,75%,100%{transform:rotate(0deg)}25%{transform:rotate(1deg)}50%{transform:rotate(-1deg)}}@keyframes gateQuietSnore{0%,15%{opacity:0;transform:translate(0,5px)}45%{opacity:.65}100%{opacity:0;transform:translate(6px,-10px)}}

.gate-search-panel{position:fixed;z-index:80;right:180px;bottom:24px;width:min(480px,calc(100vw - 200px));max-height:min(740px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#fff;border:1px solid #dce3ef;border-radius:22px;box-shadow:0 20px 85px #1c2c4b38;overflow:hidden;color:#25364d;touch-action:auto}.gate-search-panel[hidden]{display:none}.gate-search-panel>header{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:22px 24px 14px;background:linear-gradient(120deg,#fffbed,#fff)}.gate-search-panel h2{font-size:24px;margin:6px 0 0;line-height:1.2}.gate-search-panel .eyebrow{font-size:9px;letter-spacing:.13em}.gate-close{border:0;border-radius:50%;width:30px;height:30px;background:#f1f4f9;color:#586780;cursor:pointer;font-size:23px;line-height:1}.gate-search-panel form{padding:0 24px}.gate-search-panel form label{display:block;font-size:11px;font-weight:600;margin:0 0 8px}.gate-search-line{display:flex;align-items:center;border:1px solid #bac7df;border-radius:11px;background:#f9fbfe;overflow:hidden}.gate-search-line:focus-within{outline:3px solid #e8edff;border-color:#5365b4}.gate-search-line input{box-sizing:border-box;min-width:0;flex:1;width:100%;border:0;background:none;padding:13px 12px;font:inherit;font-size:13px;color:#26364e;outline:none}.gate-search-line button{align-self:stretch;border:0;border-left:1px solid #e0e6f0;background:#ffdf35;color:#27364e;width:43px;font-size:25px;cursor:pointer}.gate-search-panel select{box-sizing:border-box;width:100%;margin-top:9px;border:1px solid #e0e6f0;border-radius:8px;padding:9px 10px;font:inherit;font-size:12px;background:#fff;color:#465973}.gate-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:12px 24px 0}.gate-suggestions button{border:1px solid #e0e6ef;background:#f7f9fd;border-radius:20px;padding:5px 10px;cursor:pointer;font:inherit;font-size:10px;color:#596c8b}.gate-suggestions button:hover{border-color:#c5b858;background:#fffae0}.gate-search-status{margin:12px 24px 8px;font-size:11px;color:#7b879d;min-height:16px}.gate-results{overflow:auto;overscroll-behavior:contain;padding:0 14px 12px;min-height:50px;scrollbar-width:thin}.gate-result{display:block;width:100%;text-align:left;border:1px solid transparent;border-bottom-color:#e8edf5;background:#fff;padding:14px 10px;color:#26364e;font:inherit;cursor:pointer;border-radius:9px}.gate-result:hover,.gate-result:focus-visible{background:#f7f9ff;border-color:#d2dcef;outline:none}.gate-result-project{display:block;font-size:10px;color:#5b6e90;font-weight:700;margin-bottom:7px}.gate-result-project>span{float:right;color:#8995a9;font-weight:400}.gate-result strong{display:block;font-size:13px;line-height:1.5}.gate-result-value{display:block;font-size:12px;line-height:1.7;margin:5px 0;color:#52647e;overflow-wrap:anywhere}.gate-result small{display:block;font-size:9px;color:#93a0b4;line-height:1.5;max-height:29px;overflow:hidden}.gate-result mark{color:inherit;background:#fff1a7;border-radius:2px;padding:0 1px}.gate-search-empty{font-size:12px;line-height:1.8;color:#8491a6;padding:18px 10px 25px}.gate-search-panel>footer{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;border-top:1px solid #e5eaf2;background:#f8fafc;padding:12px 24px}.gate-search-panel>footer span{width:100%;font-size:10px;line-height:1.6;color:#8794a8}.gate-search-panel>footer button,.gate-more{border:0;background:none;padding:0;color:#5c6c9c;font:inherit;font-size:11px;cursor:pointer}.gate-search-panel>footer button[hidden]{display:none}.gate-more{display:block;width:100%;padding:16px 0}.gate-found-field{outline:3px solid #e2c739!important;outline-offset:7px;box-shadow:0 0 0 10px #fff9d5aa;border-radius:7px;scroll-margin-top:130px}

@media(max-width:750px){.gate-assistant{width:118px;right:12px;bottom:12px}.gate-stage{width:104px;height:104px}.gate-thought{font-size:10px;min-width:90px;padding:8px 10px}.gate-search-panel{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.gate-search-panel>header{padding:18px 18px 12px}.gate-search-panel form{padding:0 18px}.gate-suggestions{padding-left:18px;padding-right:18px}.gate-result-project>span{float:none;margin-left:8px}.gate-search-open{visibility:hidden}.gate-search-panel h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.gate-assistant .gate-pose,.gate-assistant .gate-snore{animation:none!important}.gate-found-field{scroll-behavior:auto}}
@media print{.gate-assistant,.gate-search-panel{display:none!important}}
.gate-assistant[data-view=still][data-sleeping=true] .gate-pose,.gate-assistant[data-sleeping=true] .gate-pose.gate-view-fallback{clip-path:inset(0 0 3% 0)}
