.sales-truth{min-width:0}.sales-truth-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.sales-truth-kpis>div,.sales-truth-insights article{border:1px solid var(--border, #dbe3ec);border-radius:12px;padding:14px;background:var(--panel, #fff)}.sales-truth strong,.sales-truth small{display:block;overflow-wrap:anywhere}.sales-truth-kpis strong{font-size:1.45rem;margin:8px 0}.sales-truth small{color:#556476}.sales-truth-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-bottom:20px}.sales-truth-work{border-top:1px solid #dbe3ec;margin-top:20px;padding-top:16px}.sales-truth-work label{display:block;margin:8px 0}.sales-truth-work form{margin:20px 0;padding:16px;border:1px solid #dbe3ec;border-radius:12px}.sales-truth-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.sales-truth input:not([type=checkbox]),.sales-truth select{display:block;width:100%;max-width:100%;min-height:44px}.sales-truth button{min-height:44px;margin:5px 0}.sales-truth input[type=checkbox]{width:20px;height:20px;vertical-align:middle}@media(max-width:600px){.sales-truth-form,.sales-truth-insights{grid-template-columns:1fr}.sales-truth-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-truth-work form{padding:10px}}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-thai-400-normal-D80Pglro.woff2) format("woff2"),url(/assets/kanit-thai-400-normal-D2nliXKa.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-vietnamese-400-normal-DRI8YWyb.woff2) format("woff2"),url(/assets/kanit-vietnamese-400-normal-dow6Bnto.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-latin-ext-400-normal-B2xPf58u.woff2) format("woff2"),url(/assets/kanit-latin-ext-400-normal-CHvNKHHD.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-latin-400-normal-BUlsQXH3.woff2) format("woff2"),url(/assets/kanit-latin-400-normal-HVZWrfev.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kanit-thai-500-normal-BB8gri04.woff2) format("woff2"),url(/assets/kanit-thai-500-normal-Iy_w0a80.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kanit-vietnamese-500-normal-BzTrpCM3.woff2) format("woff2"),url(/assets/kanit-vietnamese-500-normal-T1ndT7MF.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kanit-latin-ext-500-normal-EHs3suD6.woff2) format("woff2"),url(/assets/kanit-latin-ext-500-normal-BFdWrG22.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/kanit-latin-500-normal-CX_4XcKi.woff2) format("woff2"),url(/assets/kanit-latin-500-normal-qBha86O4.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/kanit-thai-600-normal-Bj6oiaDc.woff2) format("woff2"),url(/assets/kanit-thai-600-normal-wbTlPO7I.woff) format("woff");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/kanit-vietnamese-600-normal-Bi7fw3I4.woff2) format("woff2"),url(/assets/kanit-vietnamese-600-normal-DXCRAa_8.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/kanit-latin-ext-600-normal-DAX3wtuq.woff2) format("woff2"),url(/assets/kanit-latin-ext-600-normal-BBDzoLaj.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/kanit-latin-600-normal-0lS78yAd.woff2) format("woff2"),url(/assets/kanit-latin-600-normal-DlacpeTg.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}:root{font-family:Kanit,sans-serif;color:#263c34;background:#f5f6f2;font-synthesis:none;font-weight:400;font-size:14px;--green: #225a47;--muted: #7c8881;--border: #e8ece6;--purple: #88769d}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{transition:background .15s,color .15s,transform .15s}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #dfe5dc;color:#3d5046;border-radius:8px;min-height:38px;padding:8px 14px;cursor:pointer;font-weight:400;white-space:nowrap}button:hover:not(:disabled){background:#edf2ec;border-color:#c1cebf}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover:not(:disabled){background:#164532}button.danger{background:#fff4f1;border-color:#edc8bf;color:#9e4c39}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a0baa5;outline-offset:3px}input,select,textarea{min-width:0;border:1px solid #dde4dc;border-radius:7px;background:#fff;padding:9px 11px;color:#34483d}textarea{min-height:96px;resize:vertical}input[type=file]{font-size:12px;max-width:100%}input[type=date]{font-size:12px}a{color:#326951}h1,h2,h3,p{margin:0}h1,h2,h3,strong,b{font-weight:500}h2{font-size:16px;line-height:1.55}h3{font-size:15px}small{font-size:11px;color:var(--muted)}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fcfdf9;border-right:1px solid var(--border);padding:30px 20px 17px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#224d39;font-size:28px;line-height:1;letter-spacing:-.9px;padding-left:7px}.brand-symbol{font-family:Arial,sans-serif;font-size:48px;color:#346647;font-weight:400;line-height:.85;letter-spacing:-6px;width:42px;transform:rotate(-15deg)}.brand small{font-family:Arial,sans-serif;display:block;font-size:7px;letter-spacing:1.5px;color:#879288;margin-top:10px}.business-card{display:flex;gap:11px;align-items:center;margin:35px 0 28px;background:#f0f3e9;border:1px solid #e4e8dc;border-radius:10px;padding:13px 11px}.business-card strong{font-size:13px;display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis}.business-card small{display:block;margin-top:3px}.avatar{background:#dfe8cc;width:37px;height:38px;border-radius:9px;display:grid;place-items:center;color:#6e8354;flex-shrink:0}.avatar img{width:37px;height:38px;object-fit:cover;border-radius:9px}.nav-caption{font-size:10px;color:#9ba498;margin:0 0 12px 14px;letter-spacing:.4px}nav{display:grid;gap:7px}nav button{justify-content:flex-start;border:0;background:transparent;color:#7b877c;font-size:13px;padding:13px;gap:12px;min-height:45px}nav button.active{background:#e6eddf;color:#315840;font-weight:500}nav .count{margin-left:auto;font-size:10px;background:#d5dec9;padding:1px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:50px}.loop-note{border:1px solid #e0e6d7;border-radius:12px;padding:17px;background:linear-gradient(135deg,#eef1e1,#f7f7ed)}.loop-note>span{font-size:10px;color:#7a8c5f;letter-spacing:1px}.loop-note strong{display:block;line-height:1.6;font-size:16px;margin:8px 0 11px}.loop-mini{font-size:10px;color:#839075;display:flex;align-items:center;gap:5px}.loop-note button{font-size:11px;width:100%;margin-top:14px;min-height:29px;background:#fafbf5;border-color:#e0e4d6}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.profile strong{font-size:11px;display:block}.profile>div:not(.profile-avatar){flex:1;min-width:0}.profile-logout{flex:none;margin-left:auto;width:34px;height:34px;padding:0;display:grid;place-items:center;color:#617789}.profile-logout:hover{color:#b42318;background:#fdecea}.profile small{font-size:8px;display:block;margin-top:3px}.profile-avatar,.circle{width:31px;height:31px;border-radius:50%;background:#e9d9c6;display:grid;place-items:center;color:#8e7860;font-size:13px}.workspace{margin-left:246px;width:calc(100% - 246px)}.topbar{height:76px;border-bottom:1px solid var(--border);padding:0 36px;display:flex;justify-content:space-between;align-items:center;background:#fafbf7}.breadcrumbs{display:flex;align-items:center;gap:14px;font-size:11px;color:#9ca399}.breadcrumbs strong{color:#52644f;font-weight:400}.top-actions{display:flex;gap:19px;align-items:center}.quiet{border:0;background:transparent;font-size:11px;color:#7e887b;padding:0}.circle{background:#e5ead8;width:30px;height:30px;color:#66815c}.tag{display:inline-flex;gap:5px;align-items:center;padding:4px 9px;font-size:10px;border-radius:5px;white-space:nowrap;line-height:1.45;font-weight:400;background:#e8f1e6;color:#51734f}.tag.amber{background:#f6ecd9;color:#947547}.tag.purple{background:#efeaf4;color:#847092}.tag.neutral{background:#f0f2ed;color:#8b9387}.tag.red{background:#f6e5e2;color:#a45548}.dot{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}.workspace main{padding:32px 36px 0;max-width:1640px;margin:auto}.agency-overview{margin-bottom:24px}.agency-overview table{min-width:1120px}.agency-overview td small{display:block;margin-top:5px}.agency-overview .selected-row{background:#f4f8f1}.agency-overview .blocked-row{background:#f7f8f9;color:#5b6b78}.agency-overview .blocked-row .blocked-label{color:#8a6d1f}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.eyebrow{font-family:Arial,sans-serif;font-size:9px;letter-spacing:2px;color:#96a183;margin-bottom:9px}.page-heading h1{font-size:27px;letter-spacing:-.4px;line-height:1.55;color:#304932}.page-heading p{font-size:12px;color:#929a8d;margin-top:3px}.heading-actions{display:flex;gap:9px}.heading-actions button{font-size:11px}.demo-strip{display:flex;align-items:center;gap:12px;border:1px solid #e9e4d2;background:#f6f3e8;border-radius:9px;padding:12px 16px;margin-bottom:22px}.strip-icon{color:#a89968;width:28px;height:28px;display:grid;place-items:center;background:#f0e9d6;border-radius:7px}.demo-strip strong{font-size:11px;font-weight:400;display:block;color:#8c8058}.demo-strip span:not(.strip-icon){font-size:10px;color:#a49c86;display:block;margin-top:3px}.demo-strip button{margin-left:auto;color:#938258;background:transparent;border:0;font-size:11px;padding:0}.filterbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:12px}.filter-main{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:7px;padding:2px 10px;color:#8b9585}.filter-main input,.filter-main select{padding:6px 1px;border:0;outline-offset:0;font-size:10px;max-width:148px;background:transparent}.filter-main .divider{height:17px;width:1px;background:#e4e7e0;margin:0 7px}.updated{font-size:10px;color:#98a28d;display:flex;gap:7px;align-items:center}.section-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px}.section-line h2{font-size:16px}.segmented{display:flex;background:#edf0e8;border:1px solid #e5e9df;padding:3px;border-radius:7px}.segmented button{background:transparent;border:0;font-size:10px;padding:5px 12px;min-height:28px;color:#9ca491;border-radius:5px}.segmented .selected{background:#fff;color:#4c6650;box-shadow:0 1px 3px #1933220a}.view-note{font-size:10px;color:#8a9585;margin:-4px 0 18px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.kpi{background:#fdfefa;border:1px solid #e5e9dd;border-radius:12px;padding:19px 18px 16px;min-width:0}.kpi.featured{background:#eaf0e1;border-color:#d9e3ca}.kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#859075;gap:3px}.kpi-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px}.kpi-icon svg{width:15px;height:15px}.peach{background:#f5eadd;color:#b49c7a}.purple{background:#eeebf4;color:#a18cb6}.blue{background:#e9eef5;color:#7d9bb5}.green{background:#dce7ce;color:#78945a}.kpi-value{font-family:Kanit,sans-serif;font-size:31px;letter-spacing:-.5px;display:block;margin:8px 0 11px;color:#344936;font-weight:400;white-space:nowrap}.kpi.featured .kpi-value{color:#50663a}.kpi-sub{display:flex;align-items:center;gap:4px;font-size:9px;color:#9ba38c;line-height:1.6}.featured .kpi-sub{color:#80966c}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(280px,1fr);gap:20px;margin-bottom:22px}.panel{background:#fdfefa;border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 22px 16px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:10px;color:#9aa38e;margin-top:5px}.panel-heading>svg{color:#94a289}.trend{display:block;width:100%;height:230px;padding:0 15px}.trend text{font-family:Kanit,sans-serif;font-size:10px;fill:#a8b09b}.chart-legend{display:flex;justify-content:center;gap:25px;margin:8px 0 22px;font-size:10px;color:#94a185}.chart-legend span{display:flex;align-items:center;gap:7px}.legend-line{width:15px;height:2px;display:inline-block}.legend-line.green{background:#317961}.legend-line.purple{background:#a58fbc}.funnel{padding:4px 22px 17px;display:flex;flex-direction:column;align-items:center}.funnel-stage{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-radius:8px;min-height:66px}.funnel-stage strong{font-size:11px}.funnel-stage small{font-size:9px;display:block;color:inherit;opacity:.7;margin-top:3px}.funnel-stage b{font-size:23px;line-height:1.3}.funnel-stage b small{font-size:8px;text-align:right}.mint{background:#e9efdf;color:#7b9261}.lavender{background:#eeeaf2;color:#9480a7}.conversion{font-size:9px;color:#a8b096;margin:10px 0;display:flex;gap:7px;align-items:center}.conversion span{font-size:15px}.funnel-foot{border-top:1px dashed #e4e7db;margin:0 22px;padding:15px 0;display:flex;align-items:baseline;justify-content:space-between;gap:6px}.funnel-foot span{font-size:10px;color:#8e9b7c}.funnel-foot strong{font-size:16px}.funnel-foot small{font-size:9px}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(280px,1fr);gap:20px}.table-wrap{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;white-space:nowrap}th{font-size:9px;color:#a0a893;font-weight:400;padding:12px 17px;background:#f7f9f2;border-top:1px solid #edf0e6;border-bottom:1px solid #edf0e6}td{padding:17px;font-size:11px;border-bottom:1px solid #eff1e9;color:#6d7e5e}td:first-child,th:first-child{padding-left:22px}tr:last-child td{border-bottom:0}td strong{font-size:11px;color:#60734f}td small{display:block;font-size:8px;margin-top:4px;color:#a4ad97}td button,td select{font-size:10px;padding:5px 8px;min-height:30px}.ad-name{display:flex;gap:9px;align-items:center}.ad-thumb{width:30px;height:34px;background:linear-gradient(140deg,#e8ddc9,#b3be99);color:#778465;border-radius:5px;display:grid;place-items:center}.thumb-1{background:linear-gradient(140deg,#e7d9d2,#d0c6d4);color:#a894a4}.text-button{background:transparent;border:0;padding:0;min-height:25px;font-size:10px;color:#8a9b72}.health .panel-heading{padding-bottom:10px}.health-score{font-size:30px;color:#627d46;padding:0 23px}.health-score span{font-size:10px;color:#9eaa8d;margin-left:11px}.progress{height:5px;border-radius:5px;background:#eaf0e0;margin:12px 23px 18px;overflow:hidden}.progress i{display:block;height:100%;background:#9eb486;border-radius:5px}.health-row{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9aa58b;padding:6px 23px}.health-row strong,.health-row b{color:#71835d;font-weight:400}.health-check{margin:11px 23px 13px;padding-top:12px;border-top:1px dashed #e4e9db;display:flex;gap:7px;align-items:center;font-size:10px;color:#8f9f7b}.health>.text-button{margin:0 23px 19px}.footnote{display:flex;gap:7px;align-items:center;color:#a3ab95;font-size:9px;margin:21px 0 8px;line-height:1.7}.footnote svg{flex-shrink:0}footer{display:flex;align-items:center;gap:10px;padding:24px 0 22px;font-size:11px;color:#97a48a;border-top:1px solid #e8ecdf;margin-top:25px}footer span{font-size:9px;color:#afb6a2}.footer-credit{margin-left:auto}.tabs{display:flex;gap:6px}.tabs button{background:transparent;border:0;color:#93a18a;font-size:12px}.tabs button.active{color:#335e43;background:#e6eddf}.search{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--border);border-radius:7px;padding:0 9px;color:#9ba790}.search input{border:0;font-size:11px;width:175px}.note{display:flex;align-items:flex-start;gap:10px;background:#edf1e8;border:1px solid #e0e7d8;border-radius:9px;color:#839473;font-size:11px;padding:15px 17px;margin-top:18px;line-height:1.8}.note svg{flex-shrink:0;margin-top:2px}.evidence{white-space:normal;max-width:250px;min-width:160px;font-size:10px}.warning-button{color:#9b7d44;background:#f8f1dd}.stats-inline{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:20px 0}.stats-inline>div{background:#fdfefa;border:1px solid var(--border);padding:17px 20px;border-radius:10px;font-size:10px;color:#8d9c7b}.stats-inline strong{display:block;font-size:23px;color:#496238;margin-top:7px}.comparison{display:grid;grid-template-columns:repeat(3,1fr);padding:8px 24px 25px;gap:20px;font-size:11px;color:#8b9a7a}.comparison strong{display:block;font-size:22px;color:#667e51;margin-top:10px}.automation-banner{display:flex;align-items:center;gap:16px;border:1px solid #dce5ce;background:#eaf0e1;border-radius:12px;padding:22px;margin-bottom:28px;flex-wrap:wrap}.automation-banner p{color:#8f9e7c;font-size:10px;margin-top:6px}.automation-banner select{font-size:11px;margin-left:auto}.automation-banner button{font-size:11px}.auto-icon{background:#dbe5ce;width:42px;height:44px;border-radius:10px;display:grid;place-items:center;color:#738c55}.rule-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.rule-card{max-width:690px}.rule-card>h2,.rule-card>p{margin:0 23px}.rule-card>p{font-size:11px;color:#8f9d80;margin-top:7px}.rule-values{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 23px}.rule-values span{font-size:10px;color:#9ba68f}.rule-values b{display:block;font-size:18px;color:#72855c;margin-top:4px}.rule-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding:14px 23px}.rule-foot button{font-size:10px}.proposal{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;border-top:1px solid var(--border)}.proposal h3{margin:9px 0}.proposal p{font-size:12px;color:#7b8e69;margin:6px 0}.proposal-actions{display:flex;gap:8px}.proposal-actions button{font-size:11px}.decision{padding:13px 22px;border-top:1px solid var(--border);display:flex;align-items:center;gap:12px;font-size:11px}.decision span:last-child{color:#8a997a}.history-item{display:flex;gap:16px;padding:22px;border-top:1px solid var(--border)}.history-dot{display:grid;place-items:center;background:#edf1e5;border-radius:50%;color:#8d9c7a;width:34px;height:34px;flex-shrink:0}.history-item h3{margin:9px 0}.history-item p{font-size:11px;color:#879775;margin:8px 0}.snapshot{display:flex;gap:15px;flex-wrap:wrap;background:#f2f5ed;padding:12px;border-radius:7px;font-size:10px;color:#7c8f66;margin-top:14px}details{padding:12px 0;font-size:11px;color:#819171}summary{cursor:pointer}pre{white-space:pre-wrap;word-break:break-word;background:#f0f3e9;border-radius:8px;padding:15px;font-size:10px;max-height:400px;overflow:auto}.audit-list{padding:0 22px 20px}.audit-list details{border-bottom:1px solid var(--border)}.audit-list small{float:right}.setup-path{display:flex;align-items:center;gap:13px;color:#a5af96;margin:7px 0 27px;flex-wrap:wrap}.settings-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:22px}.settings-form form{padding:0 23px 25px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#7d8e6b;margin:0 0 16px}.field small{font-size:10px}.field input,.field select,.field textarea{font-size:12px;color:#5f744d;background:#fefffb}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-heading{border-top:1px solid var(--border);padding-top:22px;margin:20px 0}.target-plan{padding:22px}.target-plan h2{margin:15px 0}.plan-number{font-size:38px;color:#708752}.plan-number small{display:block;font-size:11px;color:#9eaa8d;margin-bottom:18px}.target-plan .health-row{padding:9px 0;border-bottom:1px solid #eef1e5}.target-plan>p{margin-top:19px;font-size:10px}.connections{padding:22px}.connection{display:flex;gap:11px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border)}.connection strong{display:block;font-size:13px}.connection small{display:block;margin-top:4px}.connection .tag{margin-left:auto}.connection-logo{background:#e6efdc;border-radius:8px;height:32px;width:32px;display:grid;place-items:center;color:#8baf61}.connection-logo.meta{font-size:24px;background:#e5ecf4;color:#769aba}.connections>button{margin-top:17px;font-size:11px}.connections>p{font-size:10px;line-height:1.8;margin-top:14px}.connections form{margin-top:18px}.connections form>small{display:block;margin-top:8px}fieldset{padding:0;margin:0;border:0;min-width:0}.muted{color:#929e84;font-size:11px;line-height:1.8}.empty{text-align:center;padding:38px 30px;color:#a2af94}.empty svg{color:#aab59b}.empty h3{font-size:14px;color:#8fa17a;margin:10px 0}.empty p{font-size:11px;max-width:400px;margin:auto;line-height:1.8}.alert{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 15px;font-size:12px;border:1px solid;border-radius:8px;margin:12px 0;line-height:1.7}.alert.error{background:#fff2ed;border-color:#efd0c3;color:#a56045}.alert.amber{background:#fbf1d8;border-color:#eadab0;color:#9f854d}.alert p{margin:4px 0}.form-error{font-size:12px;color:#a95740;background:#fff0e8;border-radius:7px;padding:12px;margin:14px 0}.overlay{position:fixed;inset:0;background:#20362966;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:40;display:flex;justify-content:center;align-items:flex-start;overflow:auto;padding:6vh 24px}.modal{background:#fcfdf9;border:1px solid #e9ecdf;box-shadow:0 30px 100px #1e322a25;border-radius:17px;width:min(800px,100%);padding:25px 28px;margin-bottom:5vh}.modal>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;border-bottom:1px solid var(--border);padding-bottom:16px}.modal>header h2{font-size:19px}.icon-button{background:transparent;border:0;padding:7px;min-height:30px}.modal-intro{font-size:13px;color:#8d9d7b;line-height:1.9}.business-options{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px}.business-options>button{display:block;text-align:left;padding:24px;background:#f3f6ec;white-space:normal}.business-options>button:nth-child(2){background:#f1edf5}.choice-icon{width:45px;height:45px;background:#e3e9d6;border-radius:11px;display:grid;place-items:center;color:#7c9261;margin-bottom:20px}.business-options>button:nth-child(2) .choice-icon{background:#e7dfef;color:#9a82ad}.business-options h3{font-size:21px;margin-bottom:10px}.business-options p{font-size:11px;color:#929e82;line-height:1.8;margin-bottom:24px}.business-options .text-button{display:flex;align-items:center;gap:9px;font-size:12px}.steps{padding:4px 0 18px}.steps div{display:flex;align-items:center;gap:16px;margin:18px 0;color:#7b8f66;font-size:13px}.steps b{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#e7efdc;font-size:15px}.steps p{margin:18px 0;color:#81916f;line-height:1.8}.import-steps{display:flex;align-items:center;gap:9px;margin-bottom:24px;color:#9ba78a}.template-links{display:flex;gap:15px;font-size:11px;align-items:center;color:#8c9e79;margin-bottom:16px}.template-links a{display:flex;align-items:center;gap:5px}.upload-zone{display:flex;flex-direction:column;align-items:center;border:1px dashed #c3d0b0;border-radius:10px;background:#f1f5e9;padding:28px 20px;margin:15px 0 24px;gap:11px;color:#7e9661}.upload-zone strong{font-size:14px}.upload-zone span{font-size:10px;color:#9eae88}.upload-zone input{font-size:11px;width:230px}.mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 15px;margin-top:18px}.preview-section{margin-top:25px;border-top:1px solid var(--border);padding-top:23px}.preview-section>h3{margin-bottom:15px}.preview-section>.primary{margin-top:20px}.modal form>p{font-size:12px;color:#94a080;line-height:1.9;margin-bottom:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;background:#285640;color:#f7f9ef;padding:14px 22px;border-radius:10px;box-shadow:0 8px 40px #233c3030;font-size:13px;z-index:100;max-width:calc(100% - 24px)}.busy-line{position:fixed;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#aabf92,#37664c,#aabf92);z-index:110;animation:fade .8s infinite alternate}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:#6d8453}.loading h1{font-size:35px}.loading p{color:#a3ae91}.mobile-toggle{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes fade{to{opacity:.3}}@media(min-width:1550px){.workspace main{padding-top:38px}.kpi-value{font-size:36px}.trend{height:270px}.funnel-stage{min-height:80px}.panel-heading h2{font-size:16px}.kpi-top{font-size:13px}.kpi-sub{font-size:11px}}@media(max-width:1250px){.sidebar{width:213px;padding:27px 14px 17px}.workspace{margin-left:213px;width:calc(100% - 213px)}.workspace main{padding:26px 25px 0}.topbar{padding:0 25px}.page-heading h1{font-size:24px}.heading-actions button{font-size:10px;padding:8px 10px}.kpi{padding:15px 13px}.kpi-value{font-size:26px}.kpi-top{font-size:10px}.dashboard-bottom{grid-template-columns:1fr}.dashboard-bottom .health{display:block}.funnel-foot{flex-wrap:wrap}.rule-values{grid-template-columns:repeat(2,1fr)}.automation-banner select{margin-left:0}.settings-grid{grid-template-columns:1fr}.settings-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid>div .spaced{margin-top:0}}@media(max-width:1000px){.sidebar{width:190px;padding:25px 10px 15px}nav button{font-size:11px;padding:12px 10px;gap:8px}.brand{font-size:25px;padding-left:5px}.brand small{font-size:6px;letter-spacing:1px}.brand-symbol{font-size:42px;width:34px}.business-card{padding:10px 7px}.business-card strong{font-size:11px}.business-card small{font-size:9px}.workspace{margin-left:190px;width:calc(100% - 190px)}.workspace main{padding:24px 20px 0}.topbar{padding:0 20px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{align-self:flex-end;margin-top:-3px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.kpi-value{font-size:32px}.kpi-top{font-size:12px}.kpi-sub{font-size:10px}.dashboard-grid{grid-template-columns:1fr}.funnel{flex-direction:row;gap:12px}.funnel-stage{width:100%!important}.conversion{min-width:80px;text-align:center}.funnel-foot{justify-content:flex-start;gap:18px}.trend{height:250px}.section-line h2{font-size:14px}.filterbar{flex-wrap:wrap;gap:9px}.updated{margin-left:auto}.top-actions .quiet{display:none}.top-actions{gap:12px}.tabs,.section-line{flex-wrap:wrap}.loop-note{padding:13px}.loop-note strong{font-size:14px}.profile-avatar{display:none}}@media(max-width:700px){.sidebar{transform:translate(-100%);width:235px;box-shadow:5px 0 25px #263c3430;transition:transform .2s}.sidebar.open{transform:translate(0)}.workspace{margin-left:0;width:100%}.workspace main{padding:24px 16px 0}.topbar{padding:0 15px;height:61px}.mobile-toggle{display:flex}.breadcrumbs{gap:8px;font-size:10px}.top-actions{gap:9px}.top-actions .circle{display:none}.page-heading h1{font-size:24px}.page-heading p{font-size:11px;line-height:1.8}.heading-actions{align-self:flex-start;margin-top:4px}.heading-actions button{font-size:11px}.demo-strip{padding:11px;align-items:flex-start;gap:9px}.demo-strip button{font-size:0;min-width:20px;min-height:25px}.demo-strip button svg{width:18px}.demo-strip strong{font-size:10px}.demo-strip span:not(.strip-icon){font-size:9px;line-height:1.8}.strip-icon{width:23px;flex-shrink:0}.filter-main{flex-wrap:wrap;width:100%;gap:6px;padding:7px}.filter-main input{max-width:116px;font-size:10px}.filter-main select{font-size:10px}.filter-main .divider{display:none}.filterbar{margin-bottom:23px}.updated{font-size:9px}.section-line{gap:10px}.section-line h2{font-size:15px}.segmented{width:100%}.segmented button{flex:1;font-size:10px}.view-note{font-size:9px;line-height:1.8;margin-top:0}.kpi-grid{gap:10px;margin-bottom:17px}.kpi{padding:13px 12px}.kpi-top{font-size:10px;align-items:flex-start;min-height:29px}.kpi-icon{width:24px;height:24px;flex-shrink:0;margin-left:4px}.kpi-icon svg{width:12px;height:12px}.kpi-value{font-size:27px;margin:8px 0}.kpi-sub{font-size:8px}.kpi-sub svg{display:none}.dashboard-grid{gap:17px}.panel-heading{padding:17px 16px 13px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.trend{height:205px;padding:0 5px}.chart-legend{font-size:9px}.funnel{padding:7px 16px 17px;gap:8px;flex-direction:column}.funnel-stage{padding:10px 14px;min-height:60px}.funnel-stage strong{font-size:12px}.conversion{margin:2px 0}.funnel-foot{margin:0 16px}.dashboard-bottom .panel-heading{align-items:flex-start}.text-button{font-size:9px}.ad-name{gap:7px}th{padding:10px 12px}td{padding:14px 12px}td:first-child,th:first-child{padding-left:16px}footer{font-size:10px;gap:7px}footer span{font-size:8px}footer span:nth-child(2){display:none}.footnote{font-size:9px;align-items:flex-start}.tabs{gap:3px}.tabs button{font-size:11px;padding:7px 9px}.search,.search input{width:100%}.note{font-size:10px;padding:12px}.stats-inline{grid-template-columns:repeat(2,1fr)}.comparison{grid-template-columns:1fr;gap:20px}.automation-banner{padding:16px;gap:10px}.automation-banner h2{font-size:14px}.auto-icon{display:none}.automation-banner select{max-width:100%;width:100%}.rule-values{margin:20px 18px}.rule-card>h2,.rule-card>p{margin-left:18px;margin-right:18px}.proposal{flex-direction:column;align-items:flex-start;padding:18px}.proposal-actions{width:100%}.decision{flex-wrap:wrap;padding:13px 18px}.decision span:last-child{width:100%}.history-item{padding:17px 14px;gap:10px}.history-item>div:last-child{min-width:0}.history-item h3,.history-item small{overflow-wrap:anywhere}.snapshot{gap:8px}.audit-list small{float:none;display:block}.form-grid{grid-template-columns:1fr}.settings-grid>div{grid-template-columns:1fr}.setup-path{gap:7px}.setup-path .tag{font-size:9px}.setup-path>svg{width:10px}.settings-form form{padding:0 17px 20px}.settings-form input{font-size:13px}.modal{padding:20px 16px;border-radius:12px}.overlay{padding:22px 10px}.modal>header h2{font-size:17px}.business-options{grid-template-columns:1fr}.business-options>button{padding:20px}.business-options p{margin-bottom:10px}.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.template-links{font-size:10px;gap:9px}.import-steps{gap:4px}.import-steps .tag{font-size:9px;padding:4px 6px}.toast{font-size:11px;width:max-content;padding:13px 16px}.health-row{font-size:11px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.page-heading p,.view-note,.panel-heading p,.muted,.updated,.footnote{color:#74816a}.kpi-sub{color:#7e8a71}td small{color:#829074}.demo-strip span:not(.strip-icon){color:#877f66}.field{color:#637856}.command-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.command-card{padding:22px;margin:18px 0;background:#f4f2fa;border:1px solid #e2ddee;border-radius:18px}.command-card pre,.team-chat pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.command-card button{margin:6px}.team-chat{padding:24px;border-radius:20px;background:#edf4ef}.chat-answer{white-space:pre-wrap}.office-controls{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.office{height:360px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(160deg,linen,#eff4ee 55%,#eee8f6);border-radius:24px;margin:20px 0}.office-floor{position:absolute;width:68%;height:75%;left:16%;top:8%;transform:rotateX(40deg) rotate(-16deg) skew(15deg);background:repeating-linear-gradient(0deg,transparent,transparent 49px,#d5ddce 50px),repeating-linear-gradient(90deg,#e2ebd9,#e2ebd9 49px,#d5ddce 50px);border:10px solid #c5d6ba;border-radius:14px;box-shadow:10px 15px #b4c4aa;z-index:-1}.office-person{position:absolute;top:40%;width:28%;border:0;background:transparent!important;color:#29493d;display:flex;align-items:center;flex-direction:column;gap:6px;padding:8px;cursor:pointer}.person-0{left:5%;top:43%}.person-1{left:36%;top:22%}.person-2{left:67%;top:43%}.office-desk{position:absolute;top:27px;width:105px;height:52px;background:#d2c0af;border:5px solid #f8eadb;transform:skewY(-12deg);border-radius:8px;box-shadow:0 20px #bfa992;z-index:-1}.avatar{height:76px;width:45px;position:relative;display:block;animation:office-wander 6s ease-in-out infinite alternate}.person-1 .avatar{animation-delay:-2s}.person-2 .avatar{animation-delay:-4s}.avatar-head{display:block;border-radius:50%;height:35px;background:#ffe5c8;border:2px solid #a97d56;color:#6b5340;font-size:17px;font-weight:600}.avatar-body{display:block;width:32px;height:29px;border-radius:10px 10px 6px 6px;background:#b6a4ce;margin:auto;border:2px solid #7c688e}.person-1 .avatar-body{background:#a2c0b2}.person-2 .avatar-body{background:#e3b4a5}.avatar-legs{display:block;width:25px;height:10px;border-left:8px solid #526661;border-right:8px solid #526661;margin:auto}.office-person strong,.office-state{background:#ffffffed;padding:3px 10px;border-radius:10px;font-size:14px}.office-person.selected strong{outline:3px solid #9b87bb}.task-working .avatar{animation:office-working .8s ease-in-out infinite alternate}.task-failed .office-state,.task-unknown .office-state{background:#ffe0d7}.task-waiting_approval .office-state,.task-queued .office-state{background:#fff0bc}.task-succeeded .office-state{background:#d9eed7}.office-list{height:auto;display:grid;gap:12px;background:none}.office-list .office-floor,.office-list .office-desk{display:none}.office-list .office-person{position:static;width:100%;flex-direction:row;background:#f2f3ed!important;padding:16px}.office-list .avatar{animation:none}.office-still .avatar{animation:none!important}@keyframes office-wander{0%{transform:translate(-12px)}50%{transform:translateY(-4px)}to{transform:translate(12px)}}@keyframes office-working{0%{transform:translateY(0) rotate(-3deg)}to{transform:translateY(-5px) rotate(3deg)}}@media(max-width:650px){.office{height:auto;display:grid;gap:10px;padding:12px}.office-floor,.office-desk{display:none}.office-person{position:static;width:100%;flex-direction:row}.office-person strong{font-size:13px}.command-fields{grid-template-columns:1fr}.team-chat{padding:14px}}@media(prefers-reduced-motion:reduce){.office .avatar{animation:none!important}}.financial-summary{padding:24px;margin-bottom:24px}.financial-summary .kpi-grid{gap:12px;margin:18px 0}.financial-summary .kpi-grid>div{padding:14px;border:1px solid var(--line, #dce4dd);border-radius:12px;font-size:13px}.financial-summary strong{display:block;margin-top:8px;font-size:24px;font-weight:500}.financial-summary>p{font-size:13px;line-height:1.8;color:#596b5b}@media(max-width:600px){.financial-summary{padding:16px}.financial-summary .kpi-grid{grid-template-columns:1fr 1fr}}.meta-panel,.budget-panel{padding:24px}.money-loop-recommendations{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:16px 0}.money-loop-card{padding:16px;border:1px solid #dce4dd;border-radius:14px;background:#f8faf6}.money-loop-card h3{margin:8px 0;font-size:17px}.money-loop-card p{margin:8px 0;line-height:1.65}.money-loop-card small{display:block;color:#596b5b}.money-loop-detail{margin:12px 0;border-top:1px solid #dce4dd;padding-top:10px}.money-loop-detail summary{cursor:pointer;font-weight:600}.money-loop-narrative{white-space:pre-wrap;padding:14px;border-radius:10px;background:#edf4ef}.meta-panel>.note{display:block}.meta-panel p,.budget-panel p{font-size:13px;line-height:1.8}@media(max-width:600px){.meta-panel,.budget-panel{padding:16px}}.business-avatar{display:inline-flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:var(--surface-subtle,#edf6f4);color:var(--ink,#173449);font-weight:600}.business-avatar img{width:100%;height:100%;object-fit:contain}.business-logo-editor{margin:16px 0}.business-logo-editor button{margin:8px 8px 8px 0}:root{--green:#0f3032;--muted:var(--al-muted);--border:var(--al-border);--purple:var(--al-blue);color:#101e2b;background:#fafdfe;font-size:15px}body{background:#f6f9fc;color:var(--al-navy)}h1,h2,h3,strong{color:var(--al-navy)}small,.muted{color:#566a7b}button,input,select{border-color:#d5e1e8;color:#163343}button{min-height:42px}button.primary{background:#0f3032;border-color:#0f3032}button.primary:hover:not(:disabled){background:#14535a}button:hover:not(:disabled){background:#e9f6f2;border-color:#94c5b7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--al-blue)}.sidebar{background:#fff;padding:26px 16px 18px;width:242px}.workspace{margin-left:242px;width:calc(100% - 242px)}.brand{color:#08182a;font-size:27px;letter-spacing:-1px;padding:0}.brand small{font-size:9px;letter-spacing:2.8px;color:#264769}.brand-symbol.flow-leaf{display:block;flex:0 0 42px;width:42px;height:40px;border-radius:10px;background-image:url(/brand/autoloop-board.png);background-size:319px 478px;background-position:-11.8px -10.7px;background-color:transparent;box-shadow:none}.brand-icon{display:inline-block;flex-shrink:0;width:42px;height:46px;border-radius:10px;background-image:url(/brand/autoloop-board.png);background-size:512px 768px;background-repeat:no-repeat;background-color:#f3fbfa}.brand-icon.analytics{background-position:-24px -405px}.brand-icon.customers{background-position:-60px -405px}.brand-icon.sales{background-position:-104px -405px}.business-card{background:#f5fafb;border:1px solid #e2eef0;border-radius:12px;padding:14px 10px;margin:30px 0 20px}.business-card strong{font-size:16px}.avatar{background:#e6f7f1;color:#087959}.nav-caption{color:#617789;font-size:11px;letter-spacing:1px}nav button{min-height:46px;color:#4a6276;margin:4px 0;border-radius:8px}nav button.active{background:#e6f7f1;color:#075e50;border-left:3px solid #22c36a}nav button:hover{background:#f2f9fc}.loop-note{background:#0f3032;color:#fff;border:0;padding:18px}.loop-note button{color:#d8f8ed}.profile{border-top:1px solid var(--al-border)}.profile-avatar,.circle{background:#dff6ed;color:#086247}.profile small{font-size:11px}.topbar{background:#fff;padding:0 30px;height:auto;min-height:76px;gap:12px}.workspace main{padding:28px 30px;max-width:1700px;margin:auto}.page-heading{margin-bottom:20px}.page-heading h1{font-size:30px;line-height:1.25;letter-spacing:-.7px}.eyebrow{color:var(--al-blue);font-size:11px;letter-spacing:1.6px}.page-heading p{font-size:14px;color:#586c7b}.demo-strip{background:#f0f8fc;border:1px solid #dcebf2;border-radius:10px;padding:12px 16px;margin-bottom:18px}.demo-strip strong{font-size:13px}.demo-strip span{font-size:12px}.filterbar{background:#fff;border:1px solid var(--al-border);border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}.filter-main{flex-wrap:wrap;gap:7px}.filter-main input{width:140px}.filter-main select{max-width:220px}.updated{font-size:11px}.client-switch label{font-size:11px;display:flex;flex-direction:column;gap:3px}.client-switch select{max-width:220px;padding:5px 8px;font-size:13px;min-height:32px}.panel{border:1px solid #e1eaf0;border-radius:14px;background:#fff;box-shadow:none;padding:24px}.panel-heading{margin-bottom:18px}.panel-heading h2{font-size:21px}.panel-heading p{font-size:13px}.spaced{margin-top:22px}.business-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 0}.funnel-stage{border:1px solid #dcebf1;border-radius:14px;position:relative;background:#fff;padding:20px 15px;display:grid;grid-template-columns:42px 1fr;gap:4px 10px;align-items:center;min-width:0}.funnel-stage:not(:last-of-type):after{content:"→";position:absolute;right:-12px;top:40%;font-size:17px;background:#f6f9fc;z-index:1;color:#627c8b}.funnel-stage .brand-icon{grid-row:1/3}.stage-label{font-size:12px;color:#506476}.funnel-stage strong{font-size:clamp(18px,1.65vw,27px);line-height:1.35;letter-spacing:-.6px;overflow-wrap:anywhere}.stage-4{background:#f0fbf5;border-color:#b8e8ce}.funnel-basis{grid-column:1/-1;font-size:11px;color:var(--al-muted);margin:0 0 16px}.efficiency{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 22px}.efficiency>div{border:1px solid var(--al-border);background:#fff;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.efficiency small{font-size:12px}.efficiency strong{font-size:18px;overflow-wrap:anywhere}.decision-context{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-block:1px solid var(--al-border);padding:18px 0;margin:0 0 14px}.decision-context p{font-size:13px;margin:7px 0}.comparison-details,.data-status{padding:14px 0;border-bottom:1px solid #dce7ee;margin:8px 0 20px}summary{cursor:pointer;color:#29495b}summary:focus-visible{outline-offset:4px}.comparison-details>summary,.data-status>summary{font-size:13px}.data-status>summary span{color:#5b6e7b;font-size:12px}.data-status dl,.drawer-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.data-status dl>div,.drawer-metrics>div{background:#f5f9fb;border-radius:8px;padding:12px}.data-status dd,.drawer-metrics dd{margin:4px 0;font-weight:500}.advanced-section{background:#fff;border:1px solid var(--al-border);border-radius:12px;padding:16px;margin-top:20px}.advanced-section>summary{font-weight:500}.advanced-section[open]>summary{margin-bottom:20px}.advanced-section .kpi-grid{grid-template-columns:repeat(3,1fr)}.decision-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.decision-card{border-top:3px solid #e0b737;padding:18px;background:#fffbf1;border-radius:8px}.decision-card.critical{border-color:#e45755;background:#fff5f4}.decision-card.opportunity{border-color:#22c36a;background:#f0fbf5}.decision-card h3{font-size:18px;line-height:1.5;margin:12px 0}.decision-card p{font-size:13px;margin:10px 0}.decision-priority{font-size:13px;font-weight:500}.evidence-brief{display:flex;flex-wrap:wrap;gap:8px}.evidence-brief span{font-size:12px;border-bottom:1px solid #d9dfe5;padding:5px 0}.decision-card small{font-size:12px}.decision-card details{margin-top:12px;font-size:12px}.compact-evidence{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:10px 0}.compact-evidence button{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere}.compact-evidence small{display:block}.decision-table td{font-size:13px}.decision-table td:first-child{min-width:220px;max-width:320px}.entity-open{white-space:normal;text-align:left;justify-content:flex-start;font-weight:500}.decision-table small{display:block}.decision-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(600px,100vw);max-height:100dvh;height:100dvh;border:0;border-left:1px solid #dce7ee;border-radius:0;padding:30px;box-shadow:-12px 0 50px #102c3d22;color:#172b39}.decision-drawer::backdrop{background:#0a1d2c66}.decision-drawer h2{overflow-wrap:anywhere;font-size:24px;margin-top:24px}.drawer-close{float:right}.drawer-metrics dt{font-size:12px;color:#526b7c}.drawer-metrics dd{font-size:21px}.decision-drawer p{font-size:14px}.breakdown-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--al-border)}.segment-rows{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.segment-rows>div{padding:16px;background:#f4f9fc;border-radius:10px;display:flex;flex-direction:column;gap:8px;font-size:13px}.agency-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:24px 0}.agency-counts>div{display:flex;flex-direction:column;gap:8px}.agency-counts strong{font-size:28px}.agency-overview td{vertical-align:top}.agency-overview small{display:block}.skeleton{padding:36px;background:#f2f7fa;border-radius:12px;color:#627c8b}.tag.green{background:#e6f7ed;color:#07643d}.tag.amber{background:#fff2cf;color:#815810}.tag.neutral{background:#edf2f6;color:#445c70}.empty-state{padding:24px;color:#586e7e}.connection-empty{background:#eff8fc;border-radius:14px;text-align:center}.trend-view{margin-top:20px}.trend text{font-size:11px;fill:#526b7c}.table-wrap,pre{max-width:100%;overflow:auto}.connections{min-width:0}.heading-actions{flex-wrap:wrap}.loading{background:#f6fafc}.loading .flow-leaf{margin:auto}.tabs,.segmented,.top-actions{flex-wrap:wrap}@media(min-width:1200px){.sidebar-bottom .loop-note{margin-top:24px}.sidebar nav{flex:1;overflow:auto}}@media(max-width:1200px){.business-funnel,.efficiency{grid-template-columns:repeat(3,1fr)}.decision-cards{grid-template-columns:1fr 1fr}.business-funnel .funnel-basis{grid-column:1/-1}.funnel-stage:after{display:none}.topbar{padding:12px 20px}.workspace main{padding:24px 20px}.breadcrumbs>span{display:none}}@media(max-width:900px){.sidebar{width:210px}.workspace{margin-left:210px;width:calc(100% - 210px)}.business-funnel,.efficiency{grid-template-columns:1fr 1fr}.decision-cards{grid-template-columns:1fr}.heading-actions{gap:7px}.decision-context,.segment-rows{grid-template-columns:1fr}.panel{padding:20px}.top-actions>.quiet,.top-actions>.circle{display:none}.page-heading{align-items:flex-start}.client-switch select{max-width:180px}}@media(max-width:700px){.sidebar{transform:translate(-100%);width:260px}.sidebar.open{transform:translate(0);box-shadow:20px 0 60px #1234}.workspace{margin-left:0;width:100%}.workspace main{padding:20px 16px}.topbar{padding:10px 16px}.mobile-toggle{display:inline-flex}.page-heading{display:block}.page-heading h1{font-size:27px}.heading-actions{margin-top:14px}.heading-actions button{font-size:12px}.demo-strip{padding:10px;gap:8px}.demo-strip>button{display:none}.filterbar{padding:10px}.filter-main{width:100%;display:flex}.filter-main input{width:calc(50% - 20px);min-width:115px}.filter-main select{max-width:100%;width:100%}.filter-main .divider{display:none}.updated{line-height:1.6}.funnel-stage{padding:14px 12px;grid-template-columns:32px 1fr;gap:4px 7px}.funnel-stage .brand-icon{transform:scale(.8);transform-origin:left center;width:32px}.funnel-stage strong{font-size:21px}.stage-label{font-size:11px}.efficiency{gap:10px}.efficiency>div{padding:12px}.efficiency strong{font-size:16px}.panel{padding:18px}.panel-heading{flex-wrap:wrap;gap:12px}.panel-heading h2{font-size:20px}.decision-card h3{font-size:17px}.compact-evidence{grid-template-columns:1fr}.agency-counts{grid-template-columns:repeat(2,1fr)}.decision-drawer{padding:22px}.business-funnel .stage-4{grid-column:1/-1}.top-actions .tag{display:none}.breadcrumbs{font-size:12px}.client-switch select{max-width:160px}.stats-inline,.kpi-grid,.advanced-section .kpi-grid{grid-template-columns:1fr 1fr}.record-form,.settings-grid,.form-grid{grid-template-columns:1fr}.connections form{max-width:100%}footer{flex-wrap:wrap}.data-status>summary span{display:block;margin-top:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sidebar nav{align-content:start;flex:0 0 auto}.sidebar-bottom{padding-top:22px}.sidebar{overflow-y:auto}.brand-icon{height:32px;width:38px;background-position-y:-400px}.funnel-stage .brand-icon{height:32px}.business-card .avatar{width:37px;height:38px}.loop-note button{background:transparent;border-color:#477271}.business-funnel:has(.funnel-stage:nth-of-type(4):last-of-type){grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1200px){.business-funnel:has(.funnel-stage:nth-of-type(4):last-of-type){grid-template-columns:repeat(2,minmax(0,1fr))}}.menu-backdrop{display:none}.crm-priorities{padding:8px 0 20px}.crm-priorities .efficiency{grid-template-columns:repeat(2,1fr)}.crm-priorities p{font-size:12px}.page-1 .field select{max-width:260px}@media(max-width:700px){.menu-backdrop{display:block;position:fixed;inset:0;background:#0f303266;border:0;border-radius:0;z-index:19}.decision-table table,.decision-table tbody,.decision-table tr,.decision-table td,.agency-overview table,.agency-overview tbody,.agency-overview tr,.agency-overview td{display:block}.decision-table thead,.agency-overview thead{display:none}.decision-table tr,.agency-overview tr{display:grid;grid-template-columns:1fr 1fr;padding:14px 0;border-bottom:1px solid #dce7ee;gap:12px}.decision-table td,.agency-overview td{padding:0;border:0;min-width:0!important;overflow-wrap:anywhere}.decision-table td:first-child,.agency-overview td:first-child{grid-column:1/-1;max-width:none}.decision-table td:before{display:block;font-size:11px;color:#637888}.decision-table td:nth-child(2):before{content:"ค่าแอด"}.decision-table td:nth-child(3):before{content:"ลูกค้า / CPL"}.decision-table td:nth-child(4):before{content:"นัด / ต้นทุนต่อนัด"}.decision-table td:nth-child(5):before{content:"ยอดขาย / ต้นทุนต่อขาย"}.decision-table td:nth-child(6):before{content:"รายได้ / ROAS"}.decision-table td:nth-child(7):before{content:"Margin"}.decision-table td:last-child,.agency-overview td:last-child{grid-column:1/-1}.decision-table td:first-child button{padding:0;min-height:35px}.page-1 .table-wrap table{min-width:720px}.crm-priorities .efficiency{grid-template-columns:1fr 1fr}}.insight-basis{font-size:12px;color:#586e7e}.period-note{font-size:13px;background:#fff8e5;border-left:3px solid #d7a424;padding:12px}.funnel-stage .brand-icon,.brand-icon{height:25px}.breadcrumbs>.business-context{display:inline;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.breadcrumbs{flex-wrap:wrap;gap:6px}.breadcrumbs>.business-context{max-width:180px;font-weight:600}.breadcrumbs>strong{font-weight:400}}.business-setup fieldset{border:0;padding:0;min-width:0}.setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.setup-fields label,.setup-stages label{display:flex;flex-direction:column;gap:8px;min-width:0}.setup-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.setup-stages input,.setup-fields select{width:100%;min-width:0}.setup-preview{padding:14px;background:#eefaf6;color:#0f3032;line-height:1.8}.setup-reminder{border-left:3px solid var(--al-blue);background:#f5faff;padding:16px 20px;margin:16px 0}.funnel-stage small{grid-column:1/-1;font-size:11px;color:#637888}.primary-stage{border-color:#22c36a!important}.funnel-stage strong{overflow-wrap:anywhere}.business-setup{margin-bottom:24px}.business-funnel:has(.funnel-stage:nth-of-type(6)){grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.setup-fields,.setup-stages{grid-template-columns:1fr}.business-funnel:has(.funnel-stage:nth-of-type(6)){grid-template-columns:repeat(2,minmax(0,1fr))}.decision-table td:before{content:attr(data-label)!important}.setup-reminder{padding:14px}.funnel-stage strong{font-size:19px}}.outcome-hero{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;background:#fff;border:1px solid #dfe9ee;border-radius:16px;margin:18px 0 22px;overflow:hidden}.outcome-hero>div{padding:24px;display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--al-border)}.outcome-hero .hero-revenue{background:#eefaf5}.outcome-hero small{font-size:13px}.outcome-hero strong{font-size:clamp(27px,2.4vw,42px);line-height:1.25;letter-spacing:-1px}.outcome-hero span{font-size:12px;color:var(--al-muted)}.outcome-hero button{align-self:flex-start;padding:0}.business-funnel{gap:0;border:1px solid #dfe9ee;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:16px}.funnel-stage{border:0;border-radius:0;border-right:1px solid var(--al-border);border-top:3px solid #8295a5;padding:20px 16px}.funnel-stage:after{display:none}.metric-spend{border-top-color:var(--al-blue);background:#f6faff}.metric-lead,.metric-messaging{border-top-color:var(--al-purple);background:#fcfaff}.metric-qualified,.metric-appointment,.metric-order{border-top-color:#e49a24;background:#fffcf5}.metric-sale,.metric-revenue{border-top-color:var(--al-teal);background:#f2fbf7}.funnel-evidence{grid-column:1/-1;padding:12px 16px;background:#fafcfd;font-size:12px;border-top:1px solid var(--al-border)}.funnel-basis{margin:8px 0}.acquisition-note{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px;padding:12px 0 20px}.acquisition-note span{color:var(--al-muted)}.efficiency>div{border:0;border-right:1px solid var(--al-border);border-radius:0;padding:12px 16px}.decision-context{margin-top:16px}.business-trend{margin-top:24px}.trend-controls{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0}.trend-controls label,.trend-compare{display:flex;align-items:center;gap:7px;font-size:13px}.trend-controls input,.trend-compare input{width:17px;height:17px}.trend-scale-note{font-size:12px;color:var(--al-muted)}.trend-unit{padding:14px 0;border-top:1px solid var(--al-border)}.trend-unit>strong{font-size:13px}.trend{width:100%;height:auto;min-height:160px}.trend text{font-size:11px}.trend-tooltip{display:flex;flex-wrap:wrap;gap:12px 22px;background:#f3f8fc;border-radius:10px;padding:14px;font-size:13px}.trend-tooltip>strong{width:100%}.trend-tooltip span{display:flex;flex-direction:column;gap:4px}.trend-date-control{display:flex;gap:16px;align-items:center;font-size:13px}.trend-date-control input{flex:1}.performance-search{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:13px}.performance-search input{width:min(400px,100%)}.decision-table th button{border:0;background:transparent;padding:4px 0;text-align:left;font-size:12px;white-space:normal}.performance-rankings{margin:24px 0;padding:22px 0;border-block:1px solid var(--al-border)}.performance-rankings p{font-size:12px;color:var(--al-muted)}.performance-rankings ol{padding:0;list-style-position:inside}.performance-rankings li{padding:14px 0;border-bottom:1px solid #edf2f5}.performance-rankings li strong{float:right;font-size:18px}.performance-rankings li small{display:block;padding-top:6px}.performance-rankings button{text-align:left;white-space:normal}.section-line{flex-wrap:wrap;gap:12px}@media(max-width:1100px){.outcome-hero{grid-template-columns:1fr 1fr}.outcome-hero>div{border-bottom:1px solid var(--al-border)}.outcome-hero strong{font-size:30px}}@media(max-width:700px){.outcome-hero>div{padding:18px 14px}.outcome-hero strong{font-size:27px}.outcome-hero .hero-revenue{grid-column:1/-1}.business-funnel .stage-4{grid-column:auto}.funnel-stage{padding:16px 12px}.trend-controls{gap:12px}.trend-controls label{font-size:12px}.trend-unit{overflow:hidden}.performance-search{flex-direction:column;align-items:stretch}.performance-rankings li strong{float:none;display:block}.trend-date-control{flex-direction:column;align-items:stretch}.trend-tooltip{gap:12px}.efficiency>div{padding:12px}.decision-table th button{min-height:44px}}.lead-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px 0;font-size:13px}.lead-controls label{display:flex;gap:8px;align-items:center}.lead-controls input[type=checkbox]{width:17px;height:17px}.customer-history{display:grid;grid-template-columns:1fr 1fr;gap:12px}.customer-history>details{padding:16px;border-bottom:1px solid var(--al-border)}.customer-history p{font-size:13px}.page-1 th button{border:0;background:none;padding:0;font-size:13px}@media(max-width:700px){.customer-history{grid-template-columns:1fr}.lead-controls{align-items:stretch}.lead-controls label{flex-wrap:wrap}}.performance-sort{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}.performance-sort label{display:flex;gap:10px;align-items:center;font-size:13px}.insight-action-plan{padding:20px 0;border-top:1px solid var(--al-border);margin:20px 0}.insight-action-plan li{margin:12px 0}.insight-action-plan small{display:block;margin:7px 0;color:var(--al-muted)}.metric-legend{font-size:12px;color:var(--al-muted)}.performance-filter{display:flex;gap:12px;align-items:center;font-size:13px;margin:14px 0}.performance-filter select{max-width:100%;min-width:0}.primary-stage.metric-messaging{border-top-color:var(--al-purple)!important;border-right-color:var(--al-border)!important}.primary-stage.metric-lead{border-top-color:var(--al-purple)!important}.primary-stage.metric-qualified{border-top-color:#e49a24!important}@media(max-width:700px){.performance-filter{flex-direction:column;align-items:stretch}.trend text{font-size:25px}.trend-scale-note{font-size:12px}}@media(max-width:700px){.crm-lead-table table,.crm-lead-table tbody,.crm-lead-table tr,.crm-lead-table td{display:block;min-width:0!important}.crm-lead-table thead{display:none}.crm-lead-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;border-bottom:1px solid #dce7ee}.crm-lead-table td{padding:0;border:0;min-width:0;overflow-wrap:anywhere}.crm-lead-table td:first-child,.crm-lead-table td:nth-child(4),.crm-lead-table td:last-child{grid-column:1/-1}.crm-lead-table td:before{display:block;color:#637888;font-size:12px}.crm-lead-table td:nth-child(2):before{content:"เริ่มเข้ามา"}.crm-lead-table td:nth-child(3):before{content:"สถานะ"}.crm-lead-table td:nth-child(4):before{content:"ที่มาของลูกค้า"}.crm-lead-table td:nth-child(5):before{content:"ยอดขายที่ยืนยัน"}.crm-lead-table select{width:100%}}.lead-controls label,.lead-controls select{max-width:100%;min-width:0}@media(max-width:700px){.lead-controls label:has(select){width:100%}.lead-controls label:has(select) select{flex:1}}.lp-page-tabs{display:flex;gap:0;border-bottom:2px solid #dce5ed;overflow-x:auto;white-space:nowrap;position:relative;margin:0 0 22px;width:100%}.lp-page-tabs button{border:0;border-radius:8px 8px 0 0;padding:13px 24px;background:transparent;color:#52657b;font-weight:600;flex:none}.lp-page-tabs button.active,.lp-page-tabs button.selected{background:#edf6ff;color:#095cb6;border-bottom:3px solid #2382f5}.lp-page-tabs .secondary-workflow{margin-left:auto;font-size:12px;padding:10px;color:#63758a}.lp-page-tabs .secondary-workflow+.secondary-workflow{margin-left:0}.business-funnel{border:1px solid #dde7ef;border-radius:16px 16px 0 0;overflow:hidden;gap:0!important;margin-bottom:0!important;background:#fff}.business-funnel .funnel-stage{border-radius:0;box-shadow:none;border:0;border-right:1px solid #e6edf3;padding:20px 22px;min-width:0}.business-funnel .funnel-stage strong{font-size:clamp(26px,2.5vw,38px);color:#102238;letter-spacing:-.7px}.business-funnel .funnel-stage .stage-label{font-weight:600;color:#3b4f65}.business-funnel .metric-spend{background:#eff6ff}.business-funnel .metric-messaging,.business-funnel .metric-lead{background:#f7f3ff}.business-funnel .metric-qualified,.business-funnel .metric-appointment{background:#fff8ec}.business-funnel .metric-sale,.business-funnel .metric-revenue{background:#edfaf5}.business-funnel .metric-revenue strong{color:#007b60}.business-funnel .funnel-evidence{grid-column:1/-1;background:#fff;font-size:12px;padding:8px 20px}.lp-efficiency,.efficiency{display:flex;flex-wrap:wrap;border:1px solid #dde7ef;background:#fff;border-radius:0 0 14px 14px;gap:0;margin-bottom:24px}.lp-efficiency>div,.efficiency>div{flex:1;min-width:140px;padding:14px 20px;border-right:1px solid #e8eef3;display:flex;flex-direction:column}.lp-efficiency strong,.efficiency strong{font-size:22px;line-height:1.6;color:#14263d}.lp-efficiency small{font-size:12px;color:#52657b}.lp-outcome-detail{margin:12px 0}.lp-outcome-detail summary{color:#4b6078;font-size:13px}.decision-context{margin:18px 0}.lp-overview-focus{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start;margin:22px 0}.lp-overview-focus .decision-cards{display:block}.lp-overview-focus .decision-card{padding:14px;margin-bottom:10px}.lp-overview-focus .decision-card h3{font-size:16px}.lp-progress h2{font-size:18px}.progress-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:18px 0}.progress-track{grid-column:1/-1;height:8px;border-radius:8px;background:#ebf0f5;overflow:hidden}.progress-track i{display:block;height:100%;background:#14ad91}.progress-row small{grid-column:1/-1;color:#64758b}.lp-performance .panel-heading{margin-bottom:14px}.lp-performance .insight-basis,.lp-performance .period-note{font-size:12px}.scope-caption{font-size:12px;color:#5a6c83;margin:12px 0 20px}.lp-performance .performance-filter,.lp-performance .performance-sort,.lp-performance .performance-search{display:inline-flex;vertical-align:top;gap:8px;margin:0 12px 14px 0;max-width:100%}.lp-performance .performance-filter select{max-width:260px}.lp-performance .performance-sort select{max-width:180px}.lp-performance .performance-search input{max-width:230px}.decision-table th{background:#f3f6f9;position:sticky;top:0;font-size:12px;white-space:nowrap}.decision-table td{padding:15px 12px;border-bottom:1px solid #e7edf3;text-align:right;font-variant-numeric:tabular-nums}.decision-table td:first-child,.decision-table td:last-child{text-align:left}.decision-table tbody tr:hover{background:#f5faff}.decision-table td:first-child{min-width:210px;max-width:340px}.decision-table .entity-open{text-align:left;font-weight:600;font-size:13px;line-height:1.5}.decision-table td small{display:block;color:#62758b;font-size:11px}.lp-recommendation{margin:26px 0}.lp-recommendation>p{font-size:12px;color:#62758b}.lp-rank-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;border:0!important}.lp-rank-pair>div{background:#f8fbfd;border:1px solid #e0e9f0;border-radius:14px;padding:20px}.lp-rank-pair ol{padding-left:22px}.lp-risk{border-top:3px solid #e2ab44!important}.lp-best{border-top:3px solid #17ad92!important}.lp-rank-pair h3{font-size:17px}.breakdown-section>summary{font-weight:600;padding:18px;background:#f5f8fb;border-radius:10px;cursor:pointer}.breakdown-section{margin-top:24px}.lp-action-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px}.lp-action-toolbar strong{margin-right:auto}.lp-action-toolbar span{font-size:12px;color:#64758b;flex-basis:100%}.lp-filter-bar{display:flex;flex-wrap:wrap;gap:12px;background:#f6f9fc;padding:16px;border-radius:12px;margin-bottom:18px}.lp-filter-bar>label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:130px;font-size:12px}.lp-filter-bar input,.lp-filter-bar select{width:100%;max-width:100%;min-width:0}.lp-filter-bar .lead-controls{display:contents}.lp-filter-bar .lead-controls>label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:130px;font-size:12px}.lp-filter-bar .lead-controls>label:has(input[type=checkbox]){flex-basis:100%;flex-direction:row;align-items:center}.lp-filter-bar input[type=checkbox]{width:auto}.lp-status-strip{display:flex;overflow-x:auto;gap:0;border:1px solid #e0e7ef;border-radius:10px;margin:18px 0}.lp-status-strip button{flex:1;min-width:120px;display:flex;flex-direction:column;text-align:left;border:0;border-top:3px solid #74859a;border-radius:0;background:#f8fafc;padding:12px 16px}.lp-status-strip strong{font-size:24px;color:#15263b}.lp-status-strip .status-new{border-top-color:#3285ee;background:#eff6ff}.lp-status-strip .status-qualified{border-top-color:#9074d8;background:#f8f4ff}.lp-status-strip .status-watch{border-top-color:#e8ac3b;background:#fff9ed}.lp-status-strip .status-sale{border-top-color:#1ab38b;background:#edf9f5}.lp-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.lp-insight-grid h2{font-size:19px}.insight-number{display:block;font-size:32px;color:#102238;margin:12px 0}.lp-insight-grid p{color:#52657b;line-height:1.6}.lp-insight-grid button{margin-top:8px}.lp-insight-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lp-insight-groups>div{padding:14px;background:#f7fafc;border-top:3px solid #17b98e;border-radius:10px}.lp-insight-groups>div:nth-child(2){border-top-color:#e5b046}.lp-insight-groups>div:nth-child(3){border-top-color:#ef8179}.lp-insight-groups h4{font-size:15px}.insight-action-plan{margin-top:26px;border-top:2px solid #dce6ee;padding-top:22px}.lp-customer-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.lp-customer-summary>div{display:flex;flex-direction:column;background:#f3f8fc;padding:16px}.lp-customer-summary strong{font-size:26px}.customer-history summary{display:flex;gap:18px;align-items:center;padding:16px}.customer-history summary strong{flex:1}.customer-history .customer-stage{background:#edf3f9;padding:4px 8px;border-radius:6px;font-size:12px}@media(max-width:900px){.lp-overview-focus,.lp-rank-pair{grid-template-columns:1fr}.lp-page-tabs button{padding:12px 16px}.lp-filter-bar>label,.lp-filter-bar .lead-controls>label{min-width:140px}.lp-insight-groups{grid-template-columns:1fr}.business-funnel .funnel-stage strong{font-size:28px}}@media(max-width:600px){.lp-page-tabs{max-width:100%;width:100%;flex-wrap:nowrap}.lp-page-tabs .secondary-workflow{margin-left:10px}.lp-insight-grid,.lp-customer-summary{grid-template-columns:1fr}.business-funnel .funnel-stage{padding:14px}.business-funnel .funnel-stage strong{font-size:28px}.lp-filter-bar{padding:12px}.lp-filter-bar>label,.lp-filter-bar .lead-controls>label{min-width:100%;flex-basis:100%}.customer-history summary{flex-wrap:wrap}.customer-history summary strong{flex-basis:100%}.lp-performance .performance-filter,.lp-performance .performance-sort,.lp-performance .performance-search{display:flex;width:100%;max-width:100%;flex-wrap:wrap}.lp-performance select,.lp-performance input{max-width:100%!important}.decision-table td{border:0}.lp-efficiency>div{min-width:45%;padding:12px}.decision-context{grid-template-columns:1fr}}.business-funnel .funnel-stage{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px 16px}.business-funnel .funnel-stage .brand-icon{display:none}.business-funnel .funnel-stage strong{white-space:nowrap;overflow-wrap:normal;font-size:clamp(22px,2.15vw,32px);line-height:1.25}.business-funnel .funnel-stage .stage-label{min-height:20px;font-size:12px}.business-funnel .funnel-stage small{margin-top:auto}.page-0 .efficiency{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:0;background:#fff;margin:0 0 16px;border-radius:0 0 14px 14px}.page-0 .efficiency strong{font-size:24px;color:#102238}.page-0 .efficiency button{font-size:11px;padding:0;min-height:24px}@media(max-width:700px){.business-funnel .funnel-stage strong{font-size:24px}.business-funnel .metric-revenue{grid-column:1/-1}.business-funnel .metric-revenue strong{font-size:32px}.page-0 .efficiency{grid-template-columns:1fr 1fr}}.scope-control{display:flex;align-items:center;gap:8px;font-size:12px}.scope-control select{max-width:185px}.lead-campaign{display:block;margin:6px 0;font-size:12px}.crm-status{font-size:12px;border:0;background:#f2f5fa;color:#27394e}.crm-status.status-new{background:#eff6ff;color:#245ab3}.crm-status.status-qualified{background:#f5efff;color:#7545a5}.crm-status.status-sale{background:#e9f9f1;color:#08734e}.crm-status.status-lost{background:#fff1f1;color:#b34242}.demo-strip{padding:6px 12px;margin-bottom:14px}.demo-strip>div>span{display:none}.demo-strip>button{min-height:30px;font-size:12px}.demo-strip .icon-bg{display:none}.lp-performance{padding:20px;margin-top:0}.lp-performance .panel-heading{margin-bottom:6px}.lp-performance .panel-heading p{margin:6px 0}.lp-performance .panel-heading .eyebrow{display:none}.lp-performance .insight-basis,.lp-performance .scope-caption{margin:8px 0}.lp-performance .business-funnel .funnel-stage{padding:14px 16px}.lp-performance .lp-page-tabs{margin-bottom:8px}.lp-performance .performance-filter,.lp-performance .performance-sort,.lp-performance .performance-search{margin:8px 16px 8px 0}.lp-performance .lp-efficiency>div{padding:10px 16px}.lp-performance .metric-legend{margin:6px 0}.role-navigation-caption{margin-top:18px;padding-top:14px;border-top:1px solid var(--al-border);font-size:10px}.crm-extra-operations{margin:-10px 0 10px;color:var(--al-muted);font-size:12px}.crm-extra-operations button{margin:8px 8px 0 0}.page-1 .section-line{margin-bottom:8px;gap:8px}.page-1 .lp-page-tabs{margin-bottom:4px}.crm-extra-operations{padding:0;margin:0 0 4px;line-height:24px}.page-1 .panel{padding:18px}.page-1 .panel-heading,.lp-performance .panel-heading{padding:0}.page-1 .panel-heading{margin-bottom:12px}.page-1 .panel-heading h2{font-size:20px;margin:0}.page-1 .panel-heading p{margin:4px 0;font-size:12px}.lp-action-toolbar{margin-bottom:12px}.lp-filter-bar{padding:12px;gap:10px;margin-bottom:12px}.lp-filter-bar .lead-controls>label:has(input[type=checkbox]){flex-basis:auto;min-width:145px;max-width:190px;flex-direction:row;align-items:center}.lp-status-strip{margin:12px 0}.lp-status-strip button{padding:9px 12px}.lp-status-strip strong{font-size:22px}.crm-record-context{font-size:11px;color:var(--al-muted);margin:8px 0 12px}@media(max-width:700px){.lp-filter-bar .lead-controls>label:has(input[type=checkbox]){min-width:100%;max-width:100%}.page-1 .panel{padding:14px}.lp-performance .panel-heading{padding:0}}main h2,.panel-heading h2{font-size:23px;line-height:1.35;color:var(--story-navy)}main h3{font-size:19px;line-height:1.4;color:var(--story-navy)}main h4{font-size:16px;line-height:1.4}main p{line-height:1.55}.story-result,.story-funnel{background:#fff;border:1px solid var(--al-border);border-radius:16px;margin:16px 0;padding:20px 24px}.result-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px}.result-title h2{margin:0}.result-title small{color:#607086}.result-numbers{display:grid;grid-template-columns:1fr 1.05fr .7fr 1.35fr 1.05fr;gap:18px;align-items:start}.result-numbers>div{display:flex;flex-direction:column;gap:5px;border-left:3px solid #d8e4ef;padding:4px 14px}.result-numbers span{font-size:13px;font-weight:500;color:#3f5268}.result-numbers strong{font-size:29px;line-height:1.2;letter-spacing:-.7px;color:var(--story-navy);white-space:nowrap}.result-numbers small{font-size:11px;color:#63758a}.result-numbers .result-spend{border-color:var(--story-blue)}.result-numbers .result-customer{border-color:var(--story-purple)}.result-numbers .result-revenue,.result-numbers .result-roas{border-color:var(--story-teal)}.result-revenue strong,.result-roas strong{font-size:35px;color:var(--al-teal)}.profit-state{display:flex;align-items:center;gap:16px;border-top:1px solid #edf0f4;padding-top:12px;margin-top:16px;font-size:12px;color:var(--al-muted)}.profit-state a{margin-left:auto;color:#296ac3;text-decoration:none}.story-funnel header{display:flex;justify-content:space-between;align-items:baseline;gap:14px}.story-funnel h2{margin:0 0 12px}.story-funnel header small{color:#66788e;font-size:12px}.meta-source{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;background:#edf5ff;padding:12px 16px;border-left:3px solid var(--story-blue);border-radius:8px;margin-bottom:16px;font-size:13px}.meta-source b{color:#2363b4}.meta-source small{flex-basis:100%;color:#5d7088;font-size:11px}.journey-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:22px}.journey-step{position:relative;padding:10px 0}.journey-step:not(:last-child):after{content:"→";position:absolute;right:-18px;top:20px;color:#a2b2c3;font-size:19px}.journey-step>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}.journey-step span{font-size:13px;font-weight:500;color:#3c4d65}.journey-step strong{font-size:28px;line-height:1.25;color:var(--story-navy)}.journey-step small{display:block;color:#607087;font-size:12px;margin-top:6px}.journey-bar{height:9px;background:#eff2f7;border-radius:8px;overflow:hidden;margin:10px 0}.journey-bar i{display:block;min-height:9px;border-radius:8px;background:var(--story-purple)}.metric-appointment .journey-bar i,.metric-qualified .journey-bar i{background:var(--story-amber)}.metric-sale .journey-bar i{background:var(--story-teal)}.funnel-revenue{display:flex;align-items:center;gap:20px;padding-top:12px;margin-top:8px;border-top:1px solid #edf0f4;font-size:13px}.funnel-revenue strong{font-size:22px;color:var(--al-teal)}.funnel-revenue a{margin-left:auto;text-decoration:none;color:#296ac3}.decision-insights{padding:20px 24px!important;margin:16px 0!important}.decision-insights .panel-heading{margin:0 0 12px}.decision-insights .panel-heading .eyebrow{display:none}.decision-insights .panel-heading p,.insight-basis{font-size:12px;color:#6a7b8d;margin:6px 0}.compact-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;align-items:start}.compact-actions .decision-card{padding:16px;min-height:0;height:auto;margin:0;border-radius:10px}.compact-actions h3{font-size:17px;margin:8px 0}.compact-actions p{font-size:13px;margin:8px 0}.compact-actions small{font-size:11px}.compact-actions details{margin-top:10px;font-size:12px}.action-how{background:#ffffff9c;padding:8px;border-radius:6px}.action-link{display:inline-block;text-decoration:none;background:#e7f1ff;color:#245f9f;padding:8px 12px;border-radius:7px;font-size:13px;font-weight:500}.decision-states{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:start;margin:18px 0}.decision-states article{padding:14px 16px;border-radius:10px;border-top:3px solid;min-height:0}.decision-states h3{margin:0 0 8px;font-size:18px}.decision-states p{font-size:13px;margin:6px 0}.state-opportunity{background:var(--al-teal-soft);border-color:var(--story-teal)!important}.state-attention{background:var(--al-amber-soft);border-color:var(--story-amber)!important}.state-critical{background:var(--al-coral-soft);border-color:var(--story-coral)!important}.story-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;align-items:start}.story-categories .panel{padding:16px;min-height:0;border:0;background:#f7f9fc;border-radius:10px}.story-categories h2{font-size:18px;margin:6px 0}.story-categories .insight-number{font-size:25px}.story-categories p{font-size:13px;margin:8px 0}.story-categories button{font-size:12px;padding:7px 10px}.insight-action-plan{margin-top:22px}.report-changes{padding:12px 0;border-top:1px solid #e6edf3;margin-top:16px}.report-changes p{font-size:13px}.report-export{display:flex;align-items:center;gap:14px;margin:18px 0}.report-export small{color:var(--al-muted);font-size:12px}.budget-heading h3{margin:16px 0 4px}.budget-heading p{font-size:12px;margin:0 0 12px;color:var(--al-muted)}.lp-performance .section-line{margin:12px 0;gap:10px}.lp-performance .business-funnel .funnel-stage strong{font-size:28px}.lp-performance .business-funnel .funnel-stage{padding:10px 14px}.lp-performance .lp-efficiency{margin-bottom:12px}.lp-performance .lp-efficiency strong{font-size:20px}.decision-table table{font-size:12px;min-width:1480px}.decision-table th,.decision-table td{padding:10px 12px!important;vertical-align:top}.decision-table th{background:#f1f5fa;color:#3d526a;white-space:nowrap}.decision-table th button{white-space:nowrap}.decision-table td:first-child{min-width:180px;max-width:230px}.decision-table td:nth-child(3),.decision-table td:nth-child(4){min-width:160px;max-width:205px;white-space:normal;text-align:left}.decision-table td details{margin-top:6px;font-size:11px}.decision-table td details p{font-size:12px}.decision-table .entity-open{font-size:12px;color:#254a76;line-height:1.4;text-align:left}.advice-badge{font-size:11px;font-weight:600;display:inline-block;padding:4px 8px;border-radius:5px}.advice-badge.scale{color:var(--al-teal);background:#dff7eb}.advice-badge.keep{color:#2365b2;background:#e7f1ff}.advice-badge.watch{color:#946100;background:#fff0c7}.advice-badge.check{color:#b13b37;background:#ffebe7}.ranking-section{margin-top:24px}.compact-rank-pair{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;align-items:start}.compact-rank-pair>section{border-top:3px solid var(--story-teal);padding:12px 0}.compact-rank-pair>section+section{border-color:var(--story-amber)}.compact-rank-pair h4{margin:0 0 10px}.compact-rank-pair th,.compact-rank-pair td{padding:9px;font-size:12px}.compact-rank-pair .text-button{text-align:left;font-size:12px;line-height:1.4}.rank-risk-line{padding:8px 12px;background:#fffbf0;border-radius:8px;margin-bottom:8px;font-size:13px}.rank-risk-line p{margin:5px 0;font-size:12px}.rank-risk-line a{font-size:12px;color:#296ac3;text-decoration:none}.crm-lead-table td{padding:12px 14px!important;vertical-align:top}.crm-lead-table small{font-size:11px}.crm-lead-table th{padding:12px 14px!important;background:var(--al-subtle)}.lp-action-toolbar{gap:8px}.lp-action-toolbar button{padding:9px 12px;font-size:12px}.lp-action-toolbar strong{font-size:18px}.crm-extra-operations{font-size:12px}.attribution-review td{padding:12px;font-size:13px}.attribution-review button{display:block;margin-top:6px}.modal label select{width:100%;margin:6px 0 12px}@media(max-width:1100px){.result-numbers{grid-template-columns:repeat(3,1fr)}.result-title,.story-funnel header{flex-wrap:wrap}.story-categories{grid-template-columns:repeat(3,1fr)}.compact-rank-pair{grid-template-columns:1fr}.result-numbers strong{font-size:27px}}@media(max-width:600px){main h2,.panel-heading h2{font-size:21px}.story-result,.story-funnel,.decision-insights{padding:16px!important}.result-numbers{grid-template-columns:1fr 1fr;gap:12px}.result-numbers>div{padding:4px 9px}.result-numbers .result-revenue{grid-column:1/-1;order:-1}.result-revenue strong{font-size:34px}.result-numbers strong{font-size:27px}.result-title small{font-size:11px}.profit-state,.funnel-revenue{flex-wrap:wrap;gap:8px}.profit-state a,.funnel-revenue a{margin-left:0}.journey-steps{grid-template-columns:1fr;gap:12px}.journey-step:not(:last-child):after{content:"↓";right:10px;top:auto;bottom:-16px}.decision-states,.story-categories,.compact-actions{grid-template-columns:1fr;gap:10px}.compact-actions .decision-card{padding:14px}.compact-rank-pair{grid-template-columns:1fr}.decision-table table{min-width:0}.decision-table td:nth-child(3),.decision-table td:nth-child(4){min-width:0;max-width:none}.decision-table td:first-child{min-width:0;max-width:none}.lp-action-toolbar{flex-wrap:wrap}.lp-action-toolbar strong{flex-basis:100%}.report-export{flex-wrap:wrap}.story-funnel header small{font-size:11px}.crm-lead-table td{padding:7px 12px!important}.meta-source{padding:10px;font-size:12px}}.lp-performance h3,.crm-workspace h2{font-size:24px;color:var(--al-navy);line-height:1.4}.lp-performance h4,.crm-detail h3{font-size:21px;color:var(--al-navy);line-height:1.4}.lp-results-table,.budget-heading,.ranking-section{margin-top:24px;padding-top:16px;border-top:1px solid #dce5ef}.lp-table-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}.lp-table-controls label,.lp-crm-filters label{display:flex;flex-direction:column;font-size:12px;color:#455d77;gap:5px}.lp-table-controls input,.lp-table-controls select{padding:9px 12px;max-width:230px}.lp-performance .lp-page-tabs,.crm-workspace .lp-page-tabs{width:max-content;max-width:100%;margin:10px 0;gap:0;background:#edf2f7;border:0;border-radius:6px}.lp-performance .lp-page-tabs button,.crm-workspace .lp-page-tabs button{padding:8px 16px;border-radius:5px;font-size:14px}.lp-page-tabs button[aria-selected=true]{background:#fff;color:#1262ba;box-shadow:0 1px 5px #1c365024;border-bottom:2px solid #2b83ef}.lp-period-table table,.lp-optimize-table table,.compact-rank-pair table{width:100%;font-size:13px;color:var(--al-navy)}.lp-period-table th,.lp-optimize-table th,.compact-rank-pair th,.lp-crm-table th{padding:10px 12px;background:#f1f5fa;color:#455d77;white-space:nowrap;font-size:12px}.lp-period-table td,.lp-optimize-table td,.compact-rank-pair td,.lp-crm-table td{padding:12px;color:var(--al-navy);vertical-align:top;line-height:1.5;border-bottom:1px solid #e5ebf2}.lp-period-table td:first-child,.lp-optimize-table td:first-child{min-width:220px;max-width:280px}.lp-optimize-table td:nth-child(3){min-width:170px;max-width:200px}.lp-optimize-table td:nth-child(4){min-width:220px;max-width:300px}.lp-period-table small,.lp-optimize-table small,.compact-rank-pair small,.lp-crm-table small{display:block;font-size:11px;color:#64748b;margin-top:4px}.lp-period-table .text-button,.compact-rank-pair .text-button{font-weight:600;color:#1d426d;padding:0;text-align:left;white-space:normal}.lp-period-table .non-ad-result{background:#edf8fc}.lp-period-table .non-ad-result td:first-child{border-left:3px solid #4398b8}.lp-budget-average,.lp-rule-note{background:#f2f7fc;padding:10px 12px;border-radius:5px;font-size:12px;color:#486078;margin:12px 0}.lp-rule-note{background:#fff9eb}.advice-badge{display:inline-block;padding:5px 8px;font-weight:600;white-space:nowrap;border-radius:4px;font-size:11px}.advice-badge.scale{background:#dff6ec;color:#087a59}.advice-badge.keep{background:#e8f1ff;color:#2563a3}.advice-badge.watch{background:#fff0cc;color:#956a08}.advice-badge.wait-for-data{background:#edf0f3;color:#5d6976}.compact-rank-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;margin:16px 0}.compact-rank-pair section{min-width:0;border:1px solid #dce5ef;border-radius:8px;overflow:hidden}.compact-rank-pair h4{padding:12px;margin:0;background:#f6fbff;font-size:18px;border-top:3px solid #13ae8b}.compact-rank-pair section+section h4{border-color:#e8ad34}.rank-number{display:inline-block;padding:3px 7px;background:#e4f4ef;color:#098363;margin-right:6px}.lp-performance .breakdown-section{margin-top:24px;padding:18px;background:#edf6ff;border:1px solid #cddff2;border-radius:10px}.lp-performance .breakdown-section>summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;cursor:pointer}.lp-performance .breakdown-section>summary span{font-size:26px;font-weight:600;color:#154777}.lp-performance .breakdown-section>summary small{font-size:15px;color:#3d617f}.lp-performance .breakdown-section h4{font-size:24px;padding:12px 0 6px;border-bottom:2px solid #c4d8ef}.crm-workspace{padding:18px;background:#fff;border:1px solid #dce5ef;border-radius:14px;min-width:0}.crm-title h2{margin:14px 0 3px}.crm-title p{font-size:12px;color:var(--al-muted);margin:0 0 12px}.lp-action-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.lp-action-toolbar button{padding:8px 11px;font-size:12px}.lp-crm-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;padding:12px;background:#f4f7fb;border-radius:9px}.lp-crm-filters input,.lp-crm-filters select{width:100%;min-width:0;padding:8px;font-size:13px}.lp-crm-filters label:has(input[type=checkbox]){flex-direction:row;align-items:center}.lp-crm-filters input[type=checkbox]{width:auto}.lp-status-strip{display:flex;overflow:auto;gap:0}.lp-status-strip button{min-width:110px;flex:1;border:0;border-top:3px solid #8c9eae;border-radius:0}.lp-status-strip small{display:block}.status-new{background:#edf5ff!important;color:#2864a3!important;border-color:#3988eb!important}.status-qualified{background:#f1edff!important;color:#7051ad!important;border-color:#9875df!important}.status-watch{background:#fff7e5!important;color:#926718!important;border-color:#e8b33e!important}.status-sale{background:#e6f7ef!important;color:#08764f!important;border-color:#14a982!important}.status-lost{background:#fff0ed!important;color:#ae4e3e!important;border-color:#e97661!important}.lp-crm-table table{min-width:1500px;width:100%;font-size:12px}.lp-crm-table td:nth-child(3){min-width:180px}.lp-crm-table td:nth-child(5){min-width:210px}.lp-crm-table tbody tr{cursor:pointer}.lp-crm-table tbody tr:hover{background:#f4f9ff}.crm-stage{display:inline-block;padding:4px 8px;border-radius:4px;white-space:nowrap}.crm-pagination{display:flex;align-items:center;justify-content:end;gap:10px;margin:12px 0;font-size:12px}.lp-customer-history table{width:100%;min-width:850px;font-size:13px}.lp-customer-history th{padding:12px;background:#f1f5fa;color:#455d77}.lp-customer-history td{padding:12px;color:var(--al-navy);border-bottom:1px solid #e5ebf2;vertical-align:top}.lp-customer-history small{display:block;color:#64748b;font-size:11px;margin-top:3px}.crm-detail{width:min(1100px,95vw);max-height:92vh;overflow:auto;padding:24px}.crm-detail header{display:flex;align-items:start;justify-content:space-between}.crm-detail header h2{margin:0}.crm-detail h3{margin:22px 0 12px;padding-top:14px;border-top:1px solid #dce5ef}.crm-detail .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.crm-detail label{display:flex;flex-direction:column;gap:6px;font-size:13px}.crm-detail input,.crm-detail select{width:100%;min-width:0}.crm-detail article{padding:12px;background:#f5f8fc;margin:10px 0;border-radius:8px}.crm-detail article button{margin:6px}.crm-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.crm-detail p{font-size:13px}.crm-detail .primary{margin-top:18px}@media(max-width:1100px){.compact-rank-pair{grid-template-columns:1fr}}@media(max-width:650px){.crm-workspace,.lp-performance{padding:12px}.lp-table-controls{align-items:stretch}.lp-table-controls label{flex:1 1 45%;min-width:0}.lp-table-controls input,.lp-table-controls select{width:100%;max-width:100%}.lp-crm-filters{grid-template-columns:1fr 1fr}.lp-crm-filters label:first-child{grid-column:1/-1}.crm-detail{padding:16px}.crm-detail .form-grid{grid-template-columns:1fr}.crm-detail .drawer-metrics{grid-template-columns:1fr 1fr}.lp-crm-table,.lp-period-table,.lp-optimize-table,.compact-rank-pair .table-wrap{overflow-x:auto;max-width:100%}.lp-crm-table table,.lp-period-table table,.lp-optimize-table table,.compact-rank-pair table{display:table!important}.lp-crm-table thead,.lp-period-table thead,.lp-optimize-table thead,.compact-rank-pair thead{display:table-header-group!important}.lp-crm-table tr,.lp-period-table tr,.lp-optimize-table tr,.compact-rank-pair tr{display:table-row!important}.lp-crm-table th,.lp-crm-table td,.lp-period-table th,.lp-period-table td,.lp-optimize-table th,.lp-optimize-table td,.compact-rank-pair th,.compact-rank-pair td{display:table-cell!important}.lp-crm-table td:before,.lp-period-table td:before,.lp-optimize-table td:before,.compact-rank-pair td:before{display:none!important}.lp-performance .breakdown-section>summary span{font-size:23px}}:root{--al-navy:#152b46;--al-text:#263f5c;--al-muted:#5f7188;--al-bg:#f3f6fb;--al-surface:#fff;--al-subtle:#f7f9fc;--al-border:#e0e7f0;--al-border-strong:#c7d3e2;--al-blue:#2463d5;--al-blue-soft:#edf4ff;--al-purple:#7546b4;--al-purple-soft:#f4effc;--al-amber:#966000;--al-amber-soft:#fff7e6;--al-teal:#087c66;--al-teal-soft:#eaf8f2;--al-coral:#b94540;--al-coral-soft:#fff0ee;--al-gradient:linear-gradient(115deg,#266ae2,#088a73);--al-radius-sm:8px;--al-radius:12px;--al-radius-lg:18px;--al-shadow:0 3px 16px #193a6310;--al-shadow-raised:0 12px 36px #193a631a;--al-space-1:4px;--al-space-2:8px;--al-space-3:12px;--al-space-4:16px;--al-space-5:24px;--al-space-6:32px;--al-title:32px;--al-section:24px;--al-card:18px;--al-hero:36px;--al-kpi:28px;--al-body:14px;--al-helper:12px;--al-control:42px;--al-motion:.15s;--green:var(--al-teal);--muted:var(--al-muted);--border:var(--al-border);--purple:var(--al-purple);--story-navy:var(--al-navy);--story-blue:var(--al-blue);--story-purple:var(--al-purple);--story-amber:var(--al-amber);--story-teal:var(--al-teal);--story-coral:var(--al-coral);color:var(--al-text);background:var(--al-bg);font-size:var(--al-body)}body{background:var(--al-bg);color:var(--al-text)}details{color:var(--al-text);font-size:var(--al-body)}h1,h2,h3,h4,strong,b{color:var(--al-navy)}h1,h2,h3,h4{font-weight:600;line-height:1.45;letter-spacing:-.25px;overflow-wrap:anywhere}main h2,.panel-heading h2,.crm-workspace h2{font-size:var(--al-section)}main h3,.lp-performance h3,.breakdown-section h4{font-size:var(--al-section)}main h4,.lp-rank-pair h4,.compact-rank-pair h4,.crm-detail h3{font-size:var(--al-card)}.page-heading h1{font-size:var(--al-title);line-height:1.3;letter-spacing:-.6px}p{line-height:1.65}small,.muted{color:var(--al-muted)}small{font-size:var(--al-helper);line-height:1.6}a{color:var(--al-blue);text-underline-offset:3px}strong,.kpi-value,td,dd,input[type=number]{font-variant-numeric:tabular-nums}button,input,select,textarea{border-color:var(--al-border-strong);border-radius:var(--al-radius-sm);color:var(--al-text);font-size:var(--al-body)}button{min-height:var(--al-control);padding:9px 14px;font-weight:500;transition:background var(--al-motion),border-color var(--al-motion),box-shadow var(--al-motion);max-width:100%}button:hover:not(:disabled){background:var(--al-blue-soft);border-color:#a5bfe8}button:active:not(:disabled){background:#e0edff}button:disabled{opacity:.55;background:var(--al-subtle)}button.primary{background:var(--al-blue);border-color:var(--al-blue);color:#fff;box-shadow:0 2px 6px #2463d522}button.primary:hover:not(:disabled){background:#1d52b5;border-color:#1d52b5}button.danger{background:var(--al-coral-soft);color:var(--al-coral);border-color:#eccac7}button.text-button,.text-button{color:var(--al-blue);font-size:var(--al-body);font-weight:500;line-height:1.6}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:var(--al-control);padding:9px 12px}textarea{padding:12px;line-height:1.6}input[type=date]{font-size:var(--al-body);font-variant-numeric:tabular-nums}input[type=checkbox],input[type=radio]{accent-color:var(--al-blue);min-width:18px;min-height:18px}input[type=range]{accent-color:var(--al-blue);min-height:36px}input:disabled,select:disabled,textarea:disabled{background:var(--al-subtle);color:var(--al-muted)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--al-blue);outline-offset:3px;box-shadow:0 0 0 5px var(--al-blue-soft)}label{line-height:1.55}.form-grid,.record-form,.settings-form form,.setup-fields{gap:var(--al-space-4)}.form-grid label,.record-form label,.settings-form label{font-size:var(--al-body);gap:var(--al-space-2)}.sidebar{background:var(--al-surface);border-color:var(--al-border);padding:28px 16px 18px}.brand{font-size:28px;color:var(--al-navy)}.brand small{color:var(--al-text)}.business-card{background:var(--al-subtle);border-color:var(--al-border);border-radius:var(--al-radius);margin:28px 0 22px;padding:14px 12px}.business-card strong{font-size:16px;color:var(--al-navy)}.avatar,.profile-avatar{background:var(--al-teal-soft);color:var(--al-teal)}.nav-caption{color:var(--al-muted);font-size:var(--al-helper);letter-spacing:.6px}nav button{border-radius:var(--al-radius-sm);color:var(--al-muted);min-height:46px;margin:4px 0;font-size:14px}nav button.active{background:linear-gradient(100deg,var(--al-blue-soft),var(--al-teal-soft));color:var(--al-navy);border-left:3px solid var(--al-teal);font-weight:600}nav button:hover:not(:disabled){background:var(--al-subtle)}.loop-note{background:var(--al-navy);border-radius:var(--al-radius);padding:18px;border:0;position:relative;overflow:hidden}.loop-note:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--al-gradient)}.loop-note strong,.loop-note span{color:#fff}.loop-note button{color:#e5f3ff;border-color:#53708e}.topbar{background:var(--al-surface);border-bottom:1px solid var(--al-border);min-height:72px;box-shadow:0 1px 6px #193a6305}.breadcrumbs,.breadcrumbs strong{color:var(--al-navy)}.client-switch label{font-size:var(--al-helper)}.client-switch select{font-size:13px;min-height:36px}.workspace main{padding:24px 28px;max-width:1800px}.page-heading{margin-bottom:18px}.page-heading p{color:var(--al-muted);font-size:15px;margin-top:6px}.eyebrow{font-size:var(--al-helper);font-weight:600;color:var(--al-blue);letter-spacing:1px}.demo-strip{background:var(--al-blue-soft);border:0;color:var(--al-muted);border-radius:var(--al-radius-sm);padding:8px 12px}.demo-strip strong{color:var(--al-text);font-size:13px}.filterbar{border-color:var(--al-border);background:var(--al-surface);border-radius:var(--al-radius);padding:12px 14px;gap:12px;box-shadow:var(--al-shadow);margin-bottom:18px}.updated{font-size:var(--al-helper);color:var(--al-muted)}.panel,.story-result,.story-funnel,.crm-workspace{background:var(--al-surface);border:1px solid var(--al-border);border-radius:var(--al-radius-lg);box-shadow:var(--al-shadow);padding:24px}.panel-heading{gap:16px;align-items:start;margin-bottom:16px}.panel-heading p{font-size:13px;color:var(--al-muted)}.spaced{margin-top:24px}.decision-insights{padding:24px!important;margin:20px 0!important}.story-result,.story-funnel{margin:18px 0;padding:24px}.result-title{align-items:start;gap:16px;margin-bottom:20px}.result-title small{font-size:var(--al-helper);max-width:45%}.result-numbers{gap:12px;grid-template-columns:1fr 1.05fr .7fr 1.4fr 1.05fr;align-items:stretch}@media(min-width:1401px){.result-numbers.with-bookings{grid-template-columns:1fr 1.05fr .7fr .7fr 1.4fr 1.05fr}}.result-numbers .result-booking{background:var(--al-purple-soft);border-color:transparent;border-top-color:var(--al-purple)}.result-numbers>div{padding:16px 14px;gap:9px;border:1px solid var(--al-border);border-radius:var(--al-radius);background:var(--al-subtle);border-top:3px solid var(--al-border-strong);min-width:0}.result-numbers span{font-size:14px;color:var(--al-text)}.result-numbers strong{font-size:var(--al-kpi);font-weight:600;letter-spacing:-.5px;white-space:normal;overflow-wrap:anywhere}.result-numbers small{font-size:var(--al-helper);margin-top:auto}.result-numbers .result-spend{background:var(--al-blue-soft);border-color:transparent;border-top-color:var(--al-blue)}.result-numbers .result-customer{background:var(--al-purple-soft);border-color:transparent;border-top-color:var(--al-purple)}.result-numbers .result-sale{background:var(--al-teal-soft);border-color:transparent;border-top-color:var(--al-teal)}.result-numbers .result-revenue{background:linear-gradient(125deg,#eef6ff,#e7f8f0);border-color:transparent;border-top-color:var(--al-teal)}.result-numbers .result-revenue strong{font-size:var(--al-hero);color:var(--al-teal)}.result-numbers .result-roas{background:var(--al-teal-soft);border-color:transparent;border-top-color:var(--al-teal)}.result-roas strong{font-size:var(--al-hero);color:var(--al-teal)}.profit-state{font-size:13px;padding-top:16px;border-color:var(--al-border);gap:12px;line-height:1.6}.kpi{border-radius:var(--al-radius);border-color:var(--al-border);box-shadow:var(--al-shadow)}.kpi-value{font-weight:600;font-size:var(--al-kpi);color:var(--al-navy)}.kpi.featured{background:var(--al-teal-soft)}.kpi.featured .kpi-value{color:var(--al-teal)}.efficiency{gap:12px;align-items:start}.efficiency>div{border:1px solid var(--al-border);border-radius:var(--al-radius);padding:16px;background:var(--al-surface)}.efficiency small{font-size:var(--al-helper)}.efficiency strong,.lp-performance .lp-efficiency strong{font-size:22px;line-height:1.4;font-weight:600}.page-0 .efficiency{gap:12px;background:none}.page-0 .efficiency>div{padding:16px}.story-funnel header{gap:16px}.story-funnel header small{font-size:var(--al-helper);max-width:50%}.meta-source{background:var(--al-blue-soft);border-color:var(--al-blue);border-radius:var(--al-radius);padding:14px 16px;gap:6px 20px;font-size:14px}.meta-source b{color:var(--al-blue)}.meta-source small{font-size:var(--al-helper)}.journey-steps{gap:28px;grid-template-columns:repeat(var(--funnel-stages),minmax(0,1fr));align-items:stretch;margin:20px 0}.journey-step{--stage-color:var(--al-purple);--stage-bg:var(--al-purple-soft);padding:18px;border:1px solid var(--al-border);border-top:3px solid var(--stage-color);border-radius:var(--al-radius);background:var(--stage-bg)}.journey-step.metric-appointment,.journey-step.metric-qualified,.journey-step.metric-order{--stage-color:var(--al-amber);--stage-bg:var(--al-amber-soft)}.journey-step.metric-sale{--stage-color:var(--al-teal);--stage-bg:var(--al-teal-soft)}.journey-step>div:first-child{display:flex;flex-direction:column;align-items:start;gap:8px}.journey-step span{font-size:14px;color:var(--al-text)}.journey-step strong{font-size:34px;color:var(--stage-color);font-weight:600}.journey-step:not(:last-child):after{content:"→";right:-23px;top:46%;color:var(--al-muted);font-size:20px}.journey-step .transition-label{display:block;background:#fff;border:1px solid var(--al-border);border-radius:var(--al-radius-sm);padding:6px 10px;margin:10px 0;font-size:13px;font-weight:500;color:var(--stage-color)}.journey-step small{font-size:var(--al-helper)}.journey-bar{height:6px;background:#ffffffb3;margin:12px 0}.journey-bar i{min-height:6px;background:var(--stage-color)!important}.funnel-revenue{padding-top:16px;border-color:var(--al-border);font-size:14px;flex-wrap:wrap}.funnel-revenue strong{font-size:28px;color:var(--al-teal);font-weight:600}.business-funnel{border-color:var(--al-border);border-radius:var(--al-radius);background:var(--al-surface)}.business-funnel .funnel-stage{padding:18px;gap:10px;border-right-color:var(--al-border)}.business-funnel .funnel-stage strong{font-size:var(--al-kpi);font-weight:600;white-space:normal;overflow-wrap:anywhere}.business-funnel .funnel-stage .stage-label{font-size:14px;line-height:1.5}.business-funnel .funnel-stage small{font-size:var(--al-helper)}.metric-spend{background:var(--al-blue-soft);border-top-color:var(--al-blue)}.metric-lead,.metric-messaging{background:var(--al-purple-soft);border-top-color:var(--al-purple)}.metric-qualified,.metric-appointment,.metric-order{background:var(--al-amber-soft);border-top-color:var(--al-amber)}.metric-sale,.metric-revenue{background:var(--al-teal-soft);border-top-color:var(--al-teal)}.tabs,.segmented,.lp-page-tabs{background:#edf1f7;border:1px solid var(--al-border);padding:4px;border-radius:var(--al-radius);gap:4px;max-width:100%;height:auto}.tabs button,.segmented button,.lp-page-tabs button{border:0;border-radius:var(--al-radius-sm);min-height:40px;padding:9px 16px;color:var(--al-muted);font-size:14px;box-shadow:none}.tabs button.active,.segmented button.selected,.lp-page-tabs button[aria-selected=true]{background:var(--al-surface);color:var(--al-blue);font-weight:600;box-shadow:0 2px 5px #1b365815;border-bottom:0}.advice-badge,.tag,.crm-status,.customer-stage{font-size:var(--al-helper);border-radius:var(--al-radius-sm);padding:5px 9px;line-height:1.45;font-weight:500}.advice-badge{white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.advice-badge:before{content:"•";font-size:16px;line-height:1}.advice-badge.scale,.tag.green{background:var(--al-teal-soft);color:var(--al-teal)}.advice-badge.keep{background:var(--al-blue-soft);color:var(--al-blue)}.advice-badge.watch,.tag.amber{background:var(--al-amber-soft);color:var(--al-amber)}.advice-badge.check,.tag.red{background:var(--al-coral-soft);color:var(--al-coral)}.advice-badge.wait-for-data,.tag.neutral{background:#edf1f6;color:var(--al-muted)}.decision-card,.compact-actions .decision-card,.decision-states article{padding:20px;border-radius:var(--al-radius);border:1px solid var(--al-border);border-top:3px solid var(--al-amber);height:auto;box-shadow:none;background:var(--al-amber-soft)}.decision-card.opportunity,.state-opportunity{background:var(--al-teal-soft);border-top-color:var(--al-teal)!important}.decision-card.critical,.state-critical{background:var(--al-coral-soft);border-top-color:var(--al-coral)!important}.decision-card.attention,.state-attention{background:var(--al-amber-soft);border-top-color:var(--al-amber)!important}.decision-card h3,.compact-actions h3,.decision-states h3{font-size:var(--al-card);margin:10px 0;line-height:1.6}.decision-card p,.compact-actions p,.decision-states p{font-size:14px;margin:10px 0;line-height:1.65}.decision-priority{font-size:var(--al-helper);font-weight:600;text-transform:uppercase}.decision-card details,.compact-actions details{font-size:var(--al-helper);padding-top:12px;border-top:1px solid #152b4615}.action-how{background:#ffffffb3;padding:12px;border-radius:var(--al-radius-sm)}.action-link{background:#fff;border:1px solid var(--al-border-strong);color:var(--al-blue);padding:10px 12px;min-height:42px;border-radius:var(--al-radius-sm);font-size:14px}.action-link:hover{background:var(--al-blue-soft)}.decision-context{gap:24px;padding:20px 0}.decision-context p{font-size:14px}.decision-context strong{font-size:16px}.decision-states,.compact-actions,.story-categories{gap:16px;align-items:start}.insight-action-plan .compact-actions{counter-reset:action}.insight-action-plan .decision-card{position:relative;counter-increment:action}.insight-action-plan .decision-priority:before{content:counter(action,decimal-leading-zero);display:inline-grid;place-items:center;width:30px;height:30px;background:#fff;border:1px solid var(--al-border);border-radius:var(--al-radius-sm);margin-right:8px;color:var(--al-navy);font-size:15px}.story-categories .panel{background:var(--al-subtle);border:1px solid var(--al-border);border-radius:var(--al-radius);padding:18px;box-shadow:none}.story-categories h2{font-size:var(--al-card)}.page-7 .page-heading .eyebrow{color:var(--al-teal)}.page-7 .decision-insights>.panel-heading{padding:16px 18px;border-left:4px solid var(--al-teal);background:linear-gradient(110deg,var(--al-blue-soft),var(--al-teal-soft));border-radius:var(--al-radius);margin-bottom:18px}.report-changes,.report-export{padding:18px 0;border-color:var(--al-border)}.table-wrap{border:1px solid var(--al-border);border-radius:var(--al-radius);overflow:auto;overscroll-behavior-x:contain}table{font-size:14px;border-collapse:collapse;width:100%}thead th,.lp-period-table th,.lp-optimize-table th,.lp-crm-table th,.lp-customer-history th,.compact-rank-pair th{background:#f4f7fb;color:var(--al-muted);font-size:13px;font-weight:500;line-height:1.55;padding:12px 14px;border-bottom:1px solid var(--al-border)}th button,.lp-period-table th button{font-size:13px;color:var(--al-muted);min-height:32px;line-height:1.5}td,.lp-period-table td,.lp-optimize-table td,.lp-crm-table td,.lp-customer-history td,.compact-rank-pair td{font-size:14px;line-height:1.6;color:var(--al-text);padding:12px 14px;border-bottom:1px solid var(--al-border);vertical-align:top}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f7faff}td small,.lp-period-table small,.lp-optimize-table small,.lp-crm-table small,.lp-customer-history small{font-size:var(--al-helper);color:var(--al-muted);line-height:1.5;margin-top:4px}.lp-period-table td:first-child,.lp-optimize-table td:first-child{min-width:240px;max-width:320px}.lp-period-table td:nth-child(n+3):not(:last-child),.lp-period-table th:nth-child(n+3):not(:last-child),.lp-optimize-table td:nth-child(n+5):not(:last-child),.lp-optimize-table th:nth-child(n+5):not(:last-child),.compact-rank-pair td:nth-child(n+2),.compact-rank-pair th:nth-child(n+2){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.lp-period-table td:nth-last-child(4),.lp-period-table td:nth-last-child(2),.lp-optimize-table td:nth-last-child(4),.lp-optimize-table td:nth-last-child(2){font-weight:500;color:var(--al-navy)}.lp-optimize-table td:nth-child(3){min-width:190px;max-width:230px;text-align:left;font-weight:500}.lp-optimize-table td:nth-child(4){min-width:235px;max-width:310px;text-align:left}.lp-table-controls{gap:12px;align-items:end;margin:16px 0}.lp-table-controls label{font-size:var(--al-helper);gap:6px;color:var(--al-muted)}.lp-table-controls input,.lp-table-controls select{max-width:240px;font-size:14px}.lp-budget-average{padding:12px 14px;background:var(--al-teal-soft);color:var(--al-teal);font-size:13px;border-radius:var(--al-radius-sm);margin:14px 0}.lp-rule-note,.metric-legend,.scope-caption,.crm-record-context,.insight-basis{font-size:var(--al-helper);color:var(--al-muted);line-height:1.65}.lp-rule-note{padding:12px 14px;border:0;border-radius:var(--al-radius-sm);background:var(--al-subtle);margin:14px 0}.non-ad-result td{background:var(--al-blue-soft)}.compact-rank-pair{grid-template-columns:1fr 1fr;gap:18px}.compact-rank-pair>section{border:0;padding:0}.compact-rank-pair h4{padding:12px 0;border-top:3px solid var(--al-amber);margin:14px 0 0}.compact-rank-pair>section+section h4{border-color:var(--al-teal)}.compact-rank-pair table{min-width:650px}.compact-rank-pair td:first-child{min-width:230px;max-width:300px}.compact-rank-pair .text-button{font-size:14px}.rank-number{border-radius:var(--al-radius-sm);background:var(--al-teal-soft);color:var(--al-teal);font-size:13px;padding:4px 8px;margin-right:6px}.breakdown-section{background:var(--al-subtle);padding:20px;border:1px solid var(--al-border);border-radius:var(--al-radius);margin:24px 0}.breakdown-section>summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;color:var(--al-navy)}.breakdown-section>summary:before{content:"›";font-size:26px;color:var(--al-blue);transition:transform var(--al-motion)}.breakdown-section[open]>summary:before{transform:rotate(90deg)}.breakdown-section>summary span{font-size:var(--al-section);font-weight:600}.breakdown-section>summary small{font-size:14px;line-height:1.6;color:var(--al-muted)}.segment-rows>div{border:1px solid var(--al-border);border-radius:var(--al-radius);background:#fff;font-size:14px;padding:18px}.crm-title{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;margin:18px 0 12px}.crm-title p{font-size:14px;color:var(--al-muted)}.lp-action-toolbar{gap:8px;margin:12px 0 18px}.lp-action-toolbar button{font-size:13px;padding:9px 12px;min-height:42px}.lp-action-toolbar button.primary{margin-left:auto}.issue-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;background:var(--al-coral-soft);color:var(--al-coral);border-radius:20px;padding:0 5px;font-size:12px;font-weight:600}.lp-crm-filters{border:1px solid var(--al-border);background:var(--al-subtle);border-radius:var(--al-radius);padding:16px;gap:12px}.lp-crm-filters label{font-size:var(--al-helper);color:var(--al-muted);gap:6px}.lp-crm-filters input,.lp-crm-filters select{font-size:14px}.lp-status-strip{border:1px solid var(--al-border);border-radius:var(--al-radius);margin:18px 0;overflow-x:auto}.lp-status-strip button{padding:12px 14px;gap:6px;border-top-width:3px;font-size:14px;min-width:115px;border-radius:0;background:var(--al-subtle)!important}.lp-status-strip small{font-size:13px;color:var(--al-text)}.lp-status-strip strong{font-size:26px;color:var(--al-navy);font-weight:600}.lp-status-strip button:hover:not(:disabled){box-shadow:inset 0 0 0 2px var(--al-blue);background:var(--al-blue-soft)!important}.lp-status-strip .status-new{background:var(--al-purple-soft)!important;border-top-color:var(--al-purple)!important}.lp-status-strip .status-qualified,.lp-status-strip .status-appointment{background:var(--al-amber-soft)!important;border-top-color:var(--al-amber)!important}.lp-status-strip .status-sale{background:var(--al-teal-soft)!important;border-top-color:var(--al-teal)!important}.lp-status-strip .status-lost{background:var(--al-coral-soft)!important;border-top-color:var(--al-coral)!important}.crm-status{min-height:36px;font-size:13px;border-radius:var(--al-radius-sm)}.crm-status.status-new{background:var(--al-purple-soft);color:var(--al-purple)}.crm-status.status-qualified{background:var(--al-amber-soft);color:var(--al-amber)}.crm-status.status-sale{background:var(--al-teal-soft);color:var(--al-teal)}.crm-status.status-lost{background:var(--al-coral-soft);color:var(--al-coral)}.lp-crm-table td:nth-child(8),.lp-crm-table th:nth-child(8),.lp-customer-history td:nth-child(4),.lp-customer-history th:nth-child(4){text-align:right;font-weight:500;white-space:nowrap}.lp-customer-summary{gap:16px}.lp-customer-summary>div{padding:16px;border:1px solid var(--al-border);border-radius:var(--al-radius);background:var(--al-teal-soft)}.lp-customer-summary strong{font-size:28px;color:var(--al-teal)}.crm-pagination{margin:18px 0;font-size:14px;gap:12px}.modal,.crm-detail{background:var(--al-surface);border-radius:var(--al-radius-lg);box-shadow:var(--al-shadow-raised);border:1px solid var(--al-border);padding:24px;color:var(--al-text)}.overlay{background:#142b4666;-webkit-backdrop-filter:none;backdrop-filter:none}.crm-detail header{align-items:start;gap:16px;border-bottom:1px solid var(--al-border);padding-bottom:16px;margin-bottom:18px}.crm-detail header h2{font-size:26px}.crm-detail h3{margin-top:24px;padding-top:18px;border-color:var(--al-border)}.crm-detail label{font-size:14px;line-height:1.6;color:var(--al-muted)}.crm-detail p{font-size:14px}.crm-detail article,.crm-detail pre{background:var(--al-subtle);border-radius:var(--al-radius-sm);padding:14px}.crm-detail pre{font-size:var(--al-helper)}.decision-drawer{border-left-color:var(--al-border);padding:28px;background:#fff;box-shadow:-8px 0 32px #193a6320}.decision-drawer::backdrop{background:#142b4666}.decision-drawer h2{font-size:26px;line-height:1.5}.drawer-metrics{gap:12px}.drawer-metrics>div{background:var(--al-subtle);border:1px solid var(--al-border);padding:16px;border-radius:var(--al-radius)}.drawer-metrics dt,.drawer-metrics span{font-size:var(--al-helper);color:var(--al-muted)}.drawer-metrics dd,.drawer-metrics strong{font-size:24px;font-weight:600;overflow-wrap:anywhere}.business-trend .panel-heading p{font-size:14px}.trend-controls{gap:8px;margin:16px 0}.trend-controls label{border:1px solid var(--al-border);background:var(--al-subtle);border-radius:var(--al-radius-sm);padding:9px 12px;font-size:14px;cursor:pointer;min-height:42px}.trend-controls label:has(input:checked){border-color:#adc6ea;background:var(--al-blue-soft);color:var(--al-navy);font-weight:500}.trend-controls label:has(input:focus-visible){outline:3px solid var(--al-blue);outline-offset:3px}.trend-compare{font-size:13px;line-height:1.6;margin:12px 0}.trend-scale-note{font-size:var(--al-helper)}.trend-unit{border-top-color:var(--al-border);padding:18px 0}.trend-unit>strong{font-size:14px}.trend text{font-size:12px;fill:var(--al-muted)}.trend{margin:12px 0;min-height:180px}.trend path{stroke-linejoin:round;stroke-linecap:round}.trend-tooltip{background:var(--al-subtle);border:1px solid var(--al-border);box-shadow:var(--al-shadow);border-radius:var(--al-radius);font-size:14px;padding:16px;gap:12px 24px}.trend-tooltip b{font-size:20px}.trend-date-control{font-size:14px}.empty-state,.connection-empty{padding:24px;background:var(--al-subtle);border:1px dashed var(--al-border-strong);border-radius:var(--al-radius);color:var(--al-muted);font-size:14px;line-height:1.7}.empty{padding:32px 20px;color:var(--al-muted)}.team-chat{background:var(--al-subtle);border:1px solid var(--al-border)}.table-wrap>p{padding:18px;color:var(--al-muted);font-size:14px;margin:0;background:var(--al-subtle)}.skeleton{position:relative;min-height:100px;padding:28px;border-radius:var(--al-radius);background:linear-gradient(100deg,#edf2f8 20%,#f9fbfe,#edf2f8 60%);background-size:220% 100%;animation:al-loading 1.8s linear infinite;color:var(--al-muted);font-size:14px}@keyframes al-loading{to{background-position:-220% 0}}.alert,.period-note,.setup-reminder{border-radius:var(--al-radius-sm);padding:14px 16px;font-size:14px;background:var(--al-blue-soft);color:var(--al-text);border-color:var(--al-blue)}.alert.error,[role=alert]{color:var(--al-coral)}.alert.error{background:var(--al-coral-soft);border-color:#eccac7}.alert.amber,.period-note{background:var(--al-amber-soft);border-color:var(--al-amber);color:var(--al-amber)}.data-status,.money-loop-detail,.advanced-section{border-color:var(--al-border);font-size:var(--al-helper)}summary{color:var(--al-text);line-height:1.65}summary:hover{color:var(--al-blue)}.settings-grid{gap:24px;align-items:start}.settings-form h3{font-size:var(--al-card)}.settings-form p{font-size:14px}.settings-form input,.settings-form select{width:100%}@media(max-width:1400px){.result-numbers{grid-template-columns:repeat(3,minmax(0,1fr))}.result-numbers .result-revenue{grid-column:span 2}.compact-rank-pair{grid-template-columns:1fr}.result-numbers strong{font-size:28px}.result-numbers .result-revenue strong{font-size:34px}}@media(max-width:1100px){.workspace main{padding:22px 20px}.result-title,.story-funnel header{flex-wrap:wrap}.result-title small,.story-funnel header small{max-width:100%}.business-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-actions,.decision-states,.story-categories{grid-template-columns:1fr 1fr}.lp-table-controls label{flex:1 1 180px}.lp-table-controls input,.lp-table-controls select{width:100%;max-width:100%}.topbar{gap:10px}.panel{padding:22px}}@media(max-width:800px){.compact-actions,.decision-states,.story-categories{grid-template-columns:1fr}.journey-steps{grid-template-columns:1fr;gap:20px}.journey-step:not(:last-child):after{content:"↓";top:auto;right:24px;bottom:-24px}.journey-step>div:first-child{flex-direction:row;align-items:center}.journey-step .transition-label{width:max-content;max-width:100%}.filterbar{gap:10px}.heading-actions button{font-size:13px}}@media(max-width:700px){:root{--al-title:28px;--al-section:22px;--al-hero:34px}.workspace main{padding:18px 14px}.topbar{padding:10px 14px}.client-switch select{max-width:150px}.page-heading h1{font-size:var(--al-title)}.page-heading p{font-size:14px}.panel,.crm-workspace,.story-result,.story-funnel,.decision-insights{padding:18px!important}.result-numbers{grid-template-columns:1fr 1fr;gap:10px}.result-numbers>div{padding:14px 12px}.result-numbers .result-revenue{grid-column:1/-1;order:0}.result-numbers strong{font-size:28px}.result-numbers .result-revenue strong{font-size:34px}.result-numbers .result-roas{grid-column:1/-1}.result-title{gap:6px;margin-bottom:14px}.profit-state,.funnel-revenue{gap:10px;flex-wrap:wrap}.profit-state a,.funnel-revenue a{margin-left:0}.business-funnel .metric-revenue{grid-column:1/-1}.business-funnel .funnel-stage{padding:16px}.business-funnel .funnel-stage strong{font-size:26px}.lp-page-tabs,.segmented{width:100%;max-width:100%;overflow-x:auto;flex-wrap:nowrap}.lp-page-tabs button,.segmented button{flex:1;flex-shrink:0;font-size:14px;padding:9px 12px}.lp-table-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lp-table-controls label:first-child{grid-column:1/-1}.lp-table-controls label{min-width:0}.lp-table-controls button{white-space:normal}.lp-crm-filters{grid-template-columns:1fr 1fr;padding:12px;gap:12px}.lp-crm-filters label{min-width:0}.lp-crm-filters input,.lp-crm-filters select{width:100%;min-width:0}.lp-action-toolbar{flex-wrap:wrap}.lp-action-toolbar button{white-space:normal;font-size:13px}.lp-action-toolbar button.primary{margin-left:0}.crm-title{margin-top:14px}.lp-status-strip strong{font-size:24px}.lp-status-strip button{min-width:106px}.lp-period-table table,.lp-optimize-table table{min-width:1320px}.lp-crm-table table{min-width:1600px}.table-wrap{max-width:100%;margin-top:12px}.table-wrap td{font-size:14px}.trend-controls label{font-size:13px;padding:9px 10px}.trend{min-height:170px}.trend-date-control{flex-direction:column;align-items:stretch}.drawer-metrics{grid-template-columns:1fr 1fr}.decision-drawer{padding:20px}.crm-detail{padding:20px;width:calc(100vw - 20px);max-height:94dvh}.crm-detail .form-grid{grid-template-columns:1fr}.crm-detail header h2{font-size:24px}.breakdown-section{padding:16px}.breakdown-section>summary span{font-size:22px}.breakdown-section>summary small{font-size:13px}.segment-rows,.settings-grid{grid-template-columns:1fr}.demo-strip strong{font-size:13px}.decision-context p{font-size:14px}.story-categories .panel{padding:18px!important}}@media print{.sidebar,.topbar,.demo-strip,.heading-actions,.filterbar{display:none}.workspace{margin:0;width:100%}.workspace main{padding:0}.panel,.story-result,.story-funnel{box-shadow:none;break-inside:avoid}.table-wrap{overflow:visible}.page-heading{margin:12px 0}body{background:#fff}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.decision-states h3{display:flex;gap:10px;align-items:center}.state-opportunity h3 svg{color:var(--al-teal)}.state-attention h3 svg{color:var(--al-amber)}.state-critical h3 svg{color:var(--al-coral)}.page-heading h1{color:var(--al-navy)}:root{--al-chart-chat:#9460ca;--al-chart-cost:#174593;--al-chart-order:#b76a13;--al-chart-qualified:#7a581c;--al-chart-roas:#13634f}@media(max-width:700px){.trend-unit{overflow-x:auto;overscroll-behavior-x:contain}.trend-unit .trend{min-width:680px;min-height:195px}}.filter-main{padding:0;border:0;background:transparent;color:var(--al-text)}.filter-main input,.filter-main select{font-size:14px;min-height:42px;max-width:220px;padding:8px 6px;color:var(--al-text)}.filter-main input[type=date]{width:154px;max-width:none}@media(max-width:700px){.filter-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}.filter-main>svg,.filter-main>span{display:none}.filter-main>select,.filter-main>.scope-control{grid-column:1/-1;width:100%;max-width:100%}.filter-main input[type=date]{width:100%;max-width:none;min-width:0;padding:8px 4px}.filter-main .scope-control{display:flex;flex-wrap:wrap;gap:6px}.filter-main .scope-control select{width:100%;max-width:100%}.filterbar .updated{font-size:12px;flex-wrap:wrap}}@media(max-width:700px){.lp-performance .lp-optimize-table{border:0;overflow:visible;background:transparent}.lp-performance .lp-optimize-table table,.lp-performance .lp-optimize-table tbody{display:block!important;min-width:0!important}.lp-performance .lp-optimize-table thead{display:none!important}.lp-performance .lp-optimize-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px;margin:12px 0;background:#fff;border:1px solid var(--al-border);border-radius:var(--al-radius);width:100%}.lp-performance .lp-optimize-table td{display:block!important;padding:0!important;border:0;text-align:left!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere}.lp-performance .lp-optimize-table td:nth-child(-n+4){grid-column:1/-1}.lp-performance .lp-optimize-table td:before{content:attr(data-label);display:block!important;font-size:12px;font-weight:400;color:var(--al-muted);margin-bottom:4px}.lp-performance .lp-optimize-table td:last-child:before{content:"ความมั่นใจ"}.lp-performance .lp-optimize-table td:first-child b{font-size:15px}.lp-performance .lp-optimize-table td:nth-child(2){padding-bottom:6px!important;border-bottom:1px solid var(--al-border)}}.lp-status-strip .status-watch{background:var(--al-amber-soft)!important;border-top-color:var(--al-amber)!important}.lp-status-strip button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--al-blue)}.lp-action-toolbar{flex-wrap:wrap}.lp-action-toolbar button{flex:0 0 auto}.lp-action-toolbar svg,.decision-states h3 svg{flex-shrink:0}.decision-states .state-opportunity{background:var(--al-teal-soft)}.decision-states .state-attention{background:var(--al-amber-soft)}.decision-states .state-critical{background:var(--al-coral-soft)}.page-7 .decision-insights .panel-heading .eyebrow{display:block;color:var(--al-teal);margin-bottom:6px}thead th button,.lp-period-table th button{background:transparent;border:0;box-shadow:none;padding:4px;min-height:32px;font-size:13px;font-weight:500}thead th[aria-sort=ascending] button,thead th[aria-sort=descending] button{color:var(--al-blue);font-weight:600}.lp-period-table .text-button,.lp-customer-history .text-button{font-size:14px}.lp-crm-table td strong,.lp-customer-history td strong{font-size:14px;color:var(--al-navy);font-weight:500}.lp-crm-table td[data-label="Campaign / Ad Set / Ad"] strong{font-size:13px;color:var(--al-text)}.crm-stage{display:inline-flex;font-size:12px;font-weight:500;padding:5px 9px;border-radius:var(--al-radius-sm);line-height:1.45;white-space:nowrap}.crm-stage.status-new{background:var(--al-purple-soft);color:var(--al-purple)}.crm-stage.status-qualified,.crm-stage.status-watch{background:var(--al-amber-soft);color:var(--al-amber)}.crm-stage.status-sale{background:var(--al-teal-soft);color:var(--al-teal)}.crm-stage.status-lost{background:var(--al-coral-soft);color:var(--al-coral)}.drawer-metrics>div{display:flex;flex-direction:column;gap:8px}.lp-action-toolbar .issue-count{flex:0 0 auto;color:var(--al-coral)}.lp-crm-table table{table-layout:fixed;min-width:1886px;width:100%}.lp-crm-table th:nth-child(1){width:48px}.lp-crm-table th:nth-child(2){width:128px}.lp-crm-table th:nth-child(3){width:220px}.lp-crm-table th:nth-child(4){width:120px}.lp-crm-table th:nth-child(5){width:260px}.lp-crm-table th:nth-child(6){width:132px}.lp-crm-table th:nth-child(7){width:100px}.lp-crm-table th:nth-child(8){width:110px}.lp-crm-table th:nth-child(9){width:120px}.lp-crm-table th:nth-child(10){width:128px}.lp-crm-table th:nth-child(11){width:280px}.lp-crm-table th:nth-child(12){width:140px}.lp-crm-table td{vertical-align:middle;white-space:normal;overflow-wrap:anywhere}.lp-crm-table td:last-child,.lp-crm-table th:last-child{position:sticky;right:0;background:var(--al-surface);border-left:1px solid var(--al-border);text-align:center;overflow-wrap:normal}.lp-crm-table th:last-child{background:#f4f7fb;z-index:2}.lp-crm-table td:last-child{z-index:1}.lp-crm-table tbody tr:hover td:last-child{background:#f7faff}.lp-crm-table td:last-child button{white-space:nowrap;min-height:36px;padding:8px 10px;font-size:13px}.profitability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profitability-grid>div{display:flex;flex-direction:column;gap:8px;padding:16px;background:var(--al-subtle);border-radius:var(--al-radius)}.profitability-grid strong{font-size:var(--al-kpi);font-variant-numeric:tabular-nums;color:var(--al-navy)}.profitability-grid small{color:var(--al-muted);line-height:1.6}.cost-config-row{padding:16px 0;border-bottom:1px solid var(--al-border)}.cost-config-row h3{font-size:var(--al-card)}.business-configuration fieldset{border:0;padding:0;margin:0;min-width:0}.business-configuration label{display:flex;flex-direction:column;gap:8px}.business-configuration input,.business-configuration select{max-width:100%}.goal-progress{margin-top:20px}.profitability-summary details{margin-top:16px}.profitability-summary .profit-state{margin-top:16px}@media(max-width:900px){.profitability-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.profitability-grid,.business-configuration .form-grid{grid-template-columns:1fr}.profitability-grid strong{font-size:28px}}@media(min-width:801px)and (max-width:1100px){.journey-steps{grid-template-columns:1fr;gap:20px}.journey-step:not(:last-child):after{content:"↓";top:auto;right:24px;bottom:-24px}.journey-step>div:first-child{flex-direction:row;align-items:center}}.journey-step{min-width:0}.journey-step strong{overflow-wrap:anywhere}.global-context{display:flex;flex-direction:column;gap:var(--al-space-1);font-size:var(--al-helper);color:var(--al-muted)}.context-view-banner{display:flex;align-items:center;flex-wrap:wrap;gap:var(--al-space-2) var(--al-space-4);padding:var(--al-space-3) var(--al-space-4);margin-bottom:var(--al-space-4);background:var(--al-blue-soft);border-radius:var(--al-radius-sm);color:var(--al-text)}.context-view-banner .text-button{margin-left:auto;white-space:normal}.public-legal-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:18px 24px;color:var(--text-secondary,#52677e);font-size:12px;background:#f4f6fa;position:relative;z-index:1}.public-legal-footer a{color:#096b59;text-decoration:underline;text-underline-offset:3px}.daily-brief.decision-insights{padding:20px!important;margin:14px 0!important;border-top:3px solid var(--al-teal)}.daily-brief .panel-heading{margin-bottom:10px}.daily-brief .panel-heading p{margin:4px 0}.daily-brief-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;align-items:start}.daily-brief-cards .decision-card{padding:16px}.daily-brief-cards .decision-card h3{margin:8px 0;font-size:18px}.daily-brief-cards .decision-card p{margin:8px 0;line-height:1.6}.daily-brief-cards .brief-next{border-top:1px solid var(--al-border);padding-top:10px}.daily-brief-cards .evidence-brief{gap:6px 12px}.daily-brief-cards details{border-top:1px solid var(--al-border);padding-top:10px}.daily-brief-cards summary{font-weight:500}.daily-brief-cards details h4{margin:12px 0 4px}.page-0 .story-result{padding:20px;margin-bottom:14px}.page-0 .result-title{margin-bottom:12px}.page-0 .result-numbers>div{padding:12px;gap:5px}@media(max-width:700px){.daily-brief.decision-insights{padding:16px!important}.daily-brief-cards{grid-template-columns:1fr}.page-0 .story-result{padding:16px}.daily-brief-cards .decision-card h3{font-size:17px}}.daily-brief-cards{grid-template-columns:1fr;gap:12px}.daily-brief-cards .decision-card{background:var(--al-subtle);border:1px solid var(--al-border);border-radius:var(--al-radius-lg);padding:20px 22px}.brief-card-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.daily-brief-cards .brief-card-heading h3{margin:0;font-size:20px;line-height:1.45}.daily-brief-cards .decision-priority{white-space:nowrap;border-radius:30px;padding:4px 10px;font-size:12px;background:var(--al-subtle);color:var(--al-muted)}.daily-brief-cards .attention .decision-priority{background:#fff0e9;color:#a64520}.daily-brief-cards .critical .decision-priority{background:#fff0ef;color:#b52e35}.daily-brief-cards .opportunity .decision-priority{background:var(--al-teal-soft);color:var(--al-teal)}.brief-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:18px;margin:16px 0}.brief-metric{display:flex;flex-direction:column;gap:3px}.brief-metric>span:first-child{font-size:13px;color:var(--al-muted)}.brief-metric strong{font-size:28px;line-height:1.3;font-weight:600;color:var(--al-text)}.brief-metric.bad strong{color:#c83d3d}.brief-metric.good strong{color:var(--al-teal)}.brief-metric small{font-size:14px;color:var(--al-muted)}.brief-metric .metric-direction{font-size:11px;color:var(--al-muted)}.daily-brief-cards .brief-next{border:0;padding:0}.brief-next>small{font-size:12px;font-weight:500;color:var(--al-muted)}.daily-brief-cards .brief-next p{font-size:14px;margin:4px 0}.daily-brief-cards .brief-uncertainty{font-size:12px;color:var(--al-muted);margin:10px 0 6px}.daily-brief-cards details{margin-top:8px;padding-top:8px}.daily-brief-cards summary{color:var(--al-blue)}@media(max-width:700px){.daily-brief-cards .decision-card{padding:16px}.brief-card-heading{gap:8px;flex-wrap:wrap}.daily-brief-cards .brief-card-heading h3{font-size:18px}.brief-metrics{gap:12px}.brief-metric strong{font-size:26px}}.daily-brief .panel-heading h2{font-size:28px}.daily-brief-cards .brief-card-heading h3{font-size:25px;line-height:1.45}.daily-brief-cards .decision-priority{font-size:15px}.brief-metric>span:first-child{font-size:17px;font-weight:500;color:var(--al-text)}.brief-metric strong{font-size:40px}.brief-metric small{font-size:20px;color:var(--al-text)}.brief-metric .metric-direction{font-size:14px}.brief-next>small{font-size:17px;color:var(--al-text)}.daily-brief-cards .brief-next p{font-size:20px;line-height:1.65;font-weight:500}.daily-brief-cards summary{font-size:16px}.daily-brief-cards .brief-uncertainty{font-size:14px}@media(max-width:700px){.daily-brief .panel-heading h2{font-size:25px}.daily-brief-cards .brief-card-heading h3{font-size:22px}.brief-metric strong{font-size:36px}.brief-metric small,.daily-brief-cards .brief-next p{font-size:18px}}:root{--al-helper:13px;--al-body:15px;--al-control:44px}input,select,textarea,button{font-family:inherit}label{font-size:14px;line-height:1.55}small,.nav-caption,.tag,.badge,.advice-badge,.crm-pagination{font-size:13px}.panel,.note{border:1px solid var(--al-border);background:var(--al-surface)}.note{padding:16px;border-radius:var(--al-radius);margin:12px 0}.report-tabs{margin-bottom:20px}.report-tabs [aria-pressed=true],.segmented [aria-pressed=true]{background:var(--al-blue);color:#fff}.segmented button[aria-pressed=true]:hover:not(:disabled){background:#1d52b5;color:#fff}.loading{padding:36px 20px;gap:16px;min-height:100dvh}.loading .flow-leaf{margin:0}.loading p{color:var(--al-muted)}.welcome{max-width:680px;margin:0 auto;padding:32px 20px;min-height:70dvh}.welcome>header{display:flex;align-items:center;gap:14px;margin-bottom:24px}.welcome>header h1{margin:0}.welcome .panel{padding:24px}.import-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.import-summary>div{padding:12px;background:var(--al-subtle);border:1px solid var(--al-border);border-radius:8px}.import-summary strong{display:block;font-size:24px}progress{width:100%;height:14px;accent-color:var(--al-blue)}.table-wrap th,.table-wrap td{white-space:normal;overflow-wrap:anywhere;padding:12px;font-size:14px}.lp-period-table table,.lp-optimize-table table,.lp-crm-table table{min-width:900px}.workspace-management table{min-width:680px}.workspace-management .summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--al-blue);outline-offset:3px}@media(max-width:1024px){.result-numbers,.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.import-summary,.workspace-management .summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-crm-table table,.lp-period-table table,.lp-optimize-table table{min-width:720px}.mapping-grid{grid-template-columns:1fr}.modal{max-height:90dvh;overflow-y:auto}input,select,textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.report-export{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.report-export>small{flex-basis:100%}.report-tabs{flex-wrap:wrap}.workspace main>*{min-width:0;max-width:100%}.table-wrap th,.table-wrap td{overflow-wrap:normal;word-break:normal;min-width:90px}.table-wrap th:first-child,.table-wrap td:first-child{min-width:160px}.lp-period-table th:nth-child(2),.lp-period-table td:nth-child(2){min-width:120px}.modal>header{position:sticky;top:0;background:var(--al-surface);z-index:1;padding-bottom:12px}.upload-zone{background:var(--al-blue-soft);color:var(--al-navy);border:1px dashed var(--al-border-strong)}.import-account-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:12px}.import-account-heading h4,.leads-import h4{margin:8px 0;font-size:16px}.import-account-heading>span{font-size:12px;color:var(--al-muted)}.import-account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.import-account-option{display:flex;align-items:center;gap:10px;border:1px solid var(--al-border);border-radius:10px;padding:14px;cursor:pointer;background:#fff;min-width:0}.import-account-option.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 1px #2563eb}.import-account-option:has(input:disabled){cursor:default}.import-account-option:focus-within{outline:2px solid #2563eb;outline-offset:2px}.import-account-option>input{width:18px;height:18px;flex-shrink:0}.import-account-option>span{flex:1;min-width:0}.import-account-option strong{font-size:14px;display:block;overflow-wrap:anywhere}.import-account-option small{display:block;font-size:12px;color:#526478;font-weight:400;margin-top:3px}.import-account-option>b{font-size:26px;color:#12375c;text-align:right;white-space:nowrap;line-height:1.15}.import-account-option>b small{font-size:11px}.import-review-note{border-left:3px solid #d69720;background:#fffbeb;padding:4px 12px;border-radius:6px;margin:14px 0}.import-review-note p{font-size:13px;line-height:1.6;margin:8px 0;color:#65501d}.import-selection-summary{display:flex;flex-direction:column;gap:5px;padding:4px 0 10px}.import-selection-summary strong{font-size:16px;color:#12375c}.import-selection-summary span{font-size:14px}.import-selection-summary small,.import-error-details{font-size:12px;color:#526478}.import-submit>button.primary{width:100%;min-height:44px}.leads-import .upload-zone{padding:12px;margin-top:12px;gap:10px;min-height:0}.leads-import>.muted{font-size:12px}.leads-import>.import-summary{gap:8px;margin:10px 0}.leads-import .import-summary>div{padding:10px}.leads-import .import-summary span{font-size:12px}.leads-import .import-summary strong{font-size:25px}@media(max-width:600px){.import-account-list{grid-template-columns:1fr}.import-account-heading{align-items:flex-start;flex-direction:column;gap:0}.import-account-heading>span{margin-bottom:10px}.import-account-option{padding:12px}.leads-import .mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.leads-import .mapping-grid input{width:100%;min-width:0}.import-selection-summary small{line-height:1.5}}.import-submit{position:sticky;bottom:-24px;z-index:2;background:#fff;border-top:1px solid var(--al-border);padding:8px 0 12px;margin-top:12px;box-shadow:0 -10px 16px -14px #29435b}.modal:has(.leads-import){scroll-padding-bottom:150px}.modal:has(.leads-import)>header{z-index:3;box-shadow:0 -28px 0 var(--al-surface)}.scope-control.segmented{display:inline-flex;flex-wrap:wrap;gap:4px}.scope-control.segmented button{min-height:36px}.info-dot{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1px solid var(--al-muted);color:var(--al-muted);font-size:9.5px;font-style:normal;line-height:1;vertical-align:1px;cursor:help}.needs{display:inline-block;margin-top:4px;font-size:var(--al-helper);color:var(--al-amber);background:var(--al-amber-soft);border-radius:6px;padding:1px 8px}.needs-link{display:block;margin-top:2px;font-size:var(--al-helper);color:var(--al-blue)}.how-counted{font-size:var(--al-helper);color:var(--al-muted)}.how-counted summary{cursor:pointer;color:var(--al-blue)}.how-counted p{margin:4px 0 0}.empty-hint{color:var(--al-muted);padding:var(--al-space-4);text-align:center}.stale-data{display:flex;flex-wrap:wrap;align-items:center;gap:var(--al-space-3);background:var(--al-amber-soft);border:1px solid #e9cf96;border-radius:var(--al-radius);padding:var(--al-space-3) var(--al-space-4);color:var(--al-navy);font-size:var(--al-body)}.stale-data strong{color:var(--al-amber)}.stale-dot{width:8px;height:8px;border-radius:50%;background:var(--al-amber);flex:none}.stale-action{margin-left:auto;font-weight:600;color:var(--al-blue)}.line-oa summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.line-oa .pill{font-size:12px;border-radius:999px;padding:1px 10px;font-weight:500}.line-oa .pill.good{background:var(--al-teal-soft);color:var(--al-teal)}.line-oa .pill.warn{background:var(--al-amber-soft);color:var(--al-amber)}.line-oa .line-steps{display:grid;gap:10px;padding-left:20px;margin:12px 0}.line-oa .copy-row{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}.line-oa .copy-row input{flex:1;min-width:0}.line-oa .link-code{font-size:18px;letter-spacing:.04em;color:var(--al-navy)}.line-oa .actions{display:flex;gap:8px;flex-wrap:wrap}.line-oa form{display:grid;gap:10px;max-width:520px}.line-oa .line-groups{display:grid;gap:8px;padding-left:18px;margin:8px 0 0}.line-oa .line-bookings{display:grid;gap:8px;border-top:1px solid var(--al-border);padding-top:12px;margin-bottom:12px}.line-oa .import-preview{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.line-oa .import-preview p{flex-basis:100%;margin:0}.agent-page{display:grid;gap:16px}.agent-page .pill{font-size:12px;border-radius:999px;padding:1px 10px;font-weight:500;white-space:nowrap;background:var(--al-subtle);color:var(--al-muted)}.agent-page .pill.good{background:var(--al-teal-soft);color:var(--al-teal)}.agent-page .pill.warn{background:var(--al-amber-soft);color:var(--al-amber)}.agent-page .pill.bad{background:var(--al-coral-soft);color:var(--al-coral)}.agent-page .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.agent-checks{list-style:none;padding:0;margin:0;display:grid;gap:6px}.agent-card{margin-top:12px;padding:16px}.agent-card h3{margin:0;font-size:16px}.agent-card ul{margin:8px 0;padding-left:20px}.agent-posts{list-style:none;padding:0;display:grid;gap:12px}.agent-posts>li{padding:16px}.agent-posts img{border-radius:var(--al-radius-sm);object-fit:cover;flex:none}.agent-page blockquote{margin:12px 0;padding:12px 16px;border-left:3px solid var(--al-purple);background:var(--al-purple-soft);white-space:pre-wrap}@media(max-width:640px){.agent-page .panel-heading{flex-direction:column}}.ad-decisions{margin-top:28px}.ad-decisions table{width:100%;border-collapse:collapse}.ad-decisions th,.ad-decisions td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--al-border);font-size:14px}.ad-decisions td small{display:block;color:var(--al-muted);font-size:12px;margin-top:4px}.ad-decisions td>.text-button{display:inline;margin-right:6px}.ad-verdict{display:inline-block;padding:2px 10px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}.ad-verdict.scale{background:var(--al-teal-soft)}.ad-verdict.check{background:var(--al-coral-soft)}.ad-verdict.watch{background:var(--al-amber-soft)}.ad-verdict.keep{background:var(--al-subtle)}@media(max-width:700px){.ad-decisions table{min-width:720px}}.agent-why{display:block;margin-top:6px}.agent-page .actions .agent-why{flex-basis:100%;margin-top:0}.agent-more>summary{cursor:pointer;list-style-position:inside}.agent-more>summary h3{display:inline;margin:0;font-size:17px}.agent-more[open]>summary{margin-bottom:10px}.sidebar-help{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:6px 4px;margin:8px 0;cursor:pointer}.meta-pill.ok{color:var(--al-teal)}.meta-pill.warn{color:var(--al-amber)}.readiness-list{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:12px}.readiness-list li{display:flex;gap:10px;align-items:flex-start}.readiness-list li>div{display:grid;gap:2px}.readiness-list small{color:var(--al-muted)}.readiness-list .pill{min-width:26px;text-align:center;border-radius:999px;padding:1px 8px;background:var(--al-subtle);color:var(--al-muted)}.readiness-list .pill.good{background:var(--al-teal-soft);color:var(--al-teal)}.readiness-list .pill.warn{background:var(--al-amber-soft);color:var(--al-amber)}.settings-group{margin-top:28px}.settings-group:first-child{margin-top:0}.settings-group>h2.settings-group-title{font-size:20px;margin:0 0 4px;padding-bottom:8px;border-bottom:1px solid var(--al-border)}.settings-group>p.settings-group-sub{margin:0 0 12px;color:var(--al-muted);font-size:14px}.source-row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
