@font-face{font-family:DM Sans;src:url('./fonts/dm-sans-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url('./fonts/dm-sans-medium.woff2');font-weight:500 600;font-display:swap}
@font-face{font-family:DM Sans;src:url('./fonts/dm-sans-bold.woff2');font-weight:700 900;font-display:swap}
@font-face{font-family:Archivo;src:url('./fonts/archivo-bold.woff2');font-weight:700;font-display:swap}
@font-face{font-family:IBM Plex Mono;src:url('./fonts/ibm-plex-mono.woff2');font-display:swap}
@font-face{font-family:'Stack Sans Notch';src:url('./fonts/stack-sans-notch-600.woff2') format('woff2');font-weight:600;font-display:swap}
:root{--ink:#202720;--muted:#717b73;--paper:#f5f6f3;--white:#fff;--line:#e2e6dd;--lime:#b6ff1b;--dark:#171d19;--green:#426a23;--soft:#f0f5e8;--mono:'IBM Plex Mono',monospace}
*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;font-size:14px;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}p{line-height:1.65}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.055em}h1{font-weight:500;font-size:35px;line-height:1.2}h2{font-size:25px;font-weight:500}h3{font-size:15px;font-weight:600}button{border:0;background:none}svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible{outline:3px solid #83b52a;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #99bd5b;outline-offset:1px}::selection{background:#d2ff81}.muted{color:var(--muted)}.mono{font-family:var(--mono);font-size:11px}.eyebrow{font-family:var(--mono);font-size:10px;letter-spacing:.12em;font-weight:400;text-transform:uppercase}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:39px;padding:9px 14px;border:1px solid var(--line);border-radius:7px;background:white;font-weight:500;white-space:nowrap}.button:hover{background:#f5f7f1;border-color:#bac6ae}.button.primary{background:var(--lime);border-color:var(--lime);color:#1e3014}.button.primary:hover{background:#a9ed1a}.button.dark{background:var(--dark);border-color:var(--dark);color:#fff}.button.small{min-height:32px;padding:6px 10px;font-size:12px}.text-button{color:#536c3e;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500}.text-button:hover{text-decoration:underline}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:6px;color:#788174}.icon-button:hover{background:#edf2e5;border-color:#dce4d3;color:#31492b}.icon-button.is-saved{background:#edf5de;color:#527828}.icon-button.is-saved svg{fill:#d2ecb3}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:4px;font-size:10px;white-space:nowrap;font-weight:500;line-height:1.2}.badge.green{background:#edf5e3;color:#527333}.badge.blue{background:#eaf1fa;color:#4c6c8d}.badge.amber{background:#fbf2df;color:#997630}.badge.grey{background:#f0f1ed;color:#717968}.badge.red{background:#f9ece8;color:#a56353}.dot{width:5px;height:5px;display:inline-block;background:currentColor;border-radius:50%;flex-shrink:0}.initial-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-size:24px}.initial-loading span{font-size:14px;color:var(--muted)}.skip-link{position:fixed;top:-100px;left:20px;background:var(--lime);padding:12px;z-index:30}.skip-link:focus{top:10px}
.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:var(--dark);color:#a9b3a7;display:flex;flex-direction:column;z-index:10;padding:30px 18px 16px}.brand{display:flex;gap:10px;align-items:center;color:#f3f6ee;margin:0 12px 35px;font-size:17px;font-weight:600;line-height:1.05;letter-spacing:-.04em}.brand img{width:37px;height:37px}.brand small{font-size:13px;letter-spacing:.04em;font-weight:400;display:block;margin-top:4px}.workspace-label{display:flex;align-items:center;gap:10px;border:1px solid #333d31;background:#20271f;border-radius:8px;padding:11px;margin-bottom:30px}.workspace-label .workspace-avatar{width:30px;height:30px;border-radius:6px;background:#36402f;color:#dce4d1;display:grid;place-items:center;font-size:12px;font-weight:600}.workspace-label strong{font-size:12px;font-weight:500;color:#e8eddf;display:block;max-width:136px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-label small{font-size:10px;display:block;margin-top:4px}.nav-label{margin:0 13px 12px;font-size:9px;letter-spacing:.13em;color:#71816f;font-family:var(--mono)}.nav-item{display:flex;align-items:center;gap:10px;color:#a1ae9c;padding:11px 12px;margin:3px 0;border-radius:6px;width:100%;font-size:12px;text-align:left;min-height:41px}.nav-item svg{width:18px;height:18px;color:#899782}.nav-item:hover{background:#252f24;color:#e0e9d8}.nav-item.active{background:#b6ff1b;color:#213510;font-weight:600}.nav-item.active svg{color:#304b18}.nav-item .count{margin-left:auto;background:#293426;color:#c4d0ba;font-family:var(--mono);font-size:10px;padding:3px 6px;border-radius:4px}.nav-item.active .count{background:#a0e611;color:#314b1e}.nav-divider{height:1px;background:#2c3529;margin:24px 11px}.sidebar-bottom{margin-top:auto}.sidebar-note{margin:25px 10px 18px;padding:15px 0 0;border-top:1px solid #2f382c;font-size:10px;line-height:1.6;color:#768572}.sidebar-note strong{color:#b6c5ad;font-weight:400;display:block;margin-bottom:3px}.account{display:flex;gap:9px;align-items:center;border-top:1px solid #30392e;padding:18px 8px 0;font-size:11px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dde8cf;color:#425034;font-weight:600;flex-shrink:0}.account strong{display:block;color:#e2e9da;font-weight:500;font-size:11px;max-width:117px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.account small{font-size:10px;display:block;margin-top:3px}.account .icon-button{margin-left:auto;color:#8d9c85}.app-main{margin-left:232px;min-height:100vh}.topbar{height:73px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;font-size:11px;color:#84907d}.crumb{display:flex;align-items:center;gap:12px}.crumb strong{font-weight:500;color:#48533e}.topbar-right{display:flex;align-items:center;gap:18px}.topbar .avatar{width:29px;height:29px;font-size:10px;background:#f0f3e9}.mobile-menu{display:none}.main-content{max-width:1650px;margin:auto;padding:35px 36px 28px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.page-heading .eyebrow{color:#849078;margin-bottom:12px}.page-heading p{font-size:12px;color:#647657;margin-top:9px}.page-heading .button{font-size:12px}.heading-actions{display:flex;gap:8px;align-items:center}.profile-strip{border:1px solid #dce7cc;background:#f0f5e7;border-radius:8px;padding:15px 18px;display:flex;align-items:center;gap:15px;margin-bottom:24px}.profile-symbol{width:33px;height:33px;border:1px solid #d5e5bc;border-radius:7px;background:#e5efcf;display:grid;place-items:center;color:#638439;flex-shrink:0}.profile-text{flex:1;min-width:0}.profile-text strong{font-size:12px;font-weight:500;display:block;margin-bottom:4px}.profile-text p{font-size:11px;line-height:1.4;color:#7a866c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-strip .text-button{font-size:11px;color:#5c7740}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 27px}.stat{border:1px solid var(--line);background:white;border-radius:8px;padding:17px 19px;display:flex;align-items:center;text-align:left;gap:14px;position:relative}.stat:hover{border-color:#bac9a9}.stream-icon{width:36px;height:36px;border-radius:8px;background:#f0f4e9;color:#728a4f;display:grid;place-items:center;flex-shrink:0}.stream-icon.probate{background:#f5f0e6;color:#ac8952}.stream-icon.contracts{background:#ebf0f6;color:#6685a6}.stat strong{font-size:23px;font-weight:500;letter-spacing:-.04em;display:block}.stat small{font-size:10px;color:#85917b;display:block;margin-top:3px}.stat>.arrow{position:absolute;right:18px;top:19px;width:14px;color:#b3bda9}.stat-label{display:block;font-size:10px;color:#75826d;margin-bottom:5px}.opportunity-panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-top{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);gap:15px}.stream-tabs{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.stream-tab{font-size:11px;padding:8px 11px;border-radius:5px;color:#7e8975;display:flex;align-items:center;gap:5px}.stream-tab svg{width:14px;height:14px}.stream-tab.active{background:#edf2e7;color:#405536;font-weight:600}.stream-tab:hover{background:#f3f5ef}.list-tools{display:flex;gap:7px}.search-box{position:relative}.search-box svg{position:absolute;left:10px;top:10px;width:15px;height:15px;color:#98a18f}.search-box input{width:200px;height:35px;padding:0 12px 0 32px;border:1px solid var(--line);border-radius:5px;font-size:11px;background:#fff}.search-box input::placeholder{color:#a0a896}.list-tools .button{min-height:35px;font-size:11px;padding:7px 10px;border-radius:5px}.list-tools .button svg{width:14px;height:14px}.filters{background:#fafbf7;border-bottom:1px solid var(--line);padding:17px 20px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:12px;align-items:end}.field{display:flex;flex-direction:column;gap:7px}.field label,.field>span{font-size:11px;color:#65725d;font-weight:500}.field input,.field select,.field textarea{width:100%;padding:10px 11px;background:white;border:1px solid #dce2d5;border-radius:6px;font-size:13px;min-height:39px}.field textarea{resize:vertical;min-height:90px}.filters .field input,.filters .field select{font-size:11px;min-height:35px;padding:8px}.results-bar{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;color:#6c7b5d;font-size:10px}.results-bar strong{color:#657559;font-weight:500}.sort{display:flex;align-items:center;gap:6px}.sort select{background:transparent;border:0;color:#59684c;font-size:10px}.data-table{width:100%;border-collapse:collapse;table-layout:fixed}.data-table th{font-family:var(--mono);font-size:9px;font-weight:400;letter-spacing:.055em;color:#6c795f;text-align:left;padding:12px 17px;background:#fafbf8;border-block:1px solid #edf0e7;text-transform:uppercase}.data-table td{padding:19px 17px;border-bottom:1px solid #edf0e7;font-size:11px;vertical-align:middle}.data-table th:first-child,.data-table td:first-child{padding-left:21px;width:47%}.data-table th:nth-child(2){width:20%}.data-table th:nth-child(3){width:15%}.data-table th:nth-child(4){width:12%}.data-table th:last-child{width:6%}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdf9}.lead-main{display:flex;gap:12px;align-items:flex-start}.lead-main .stream-icon{width:30px;height:30px;border-radius:6px;margin-top:2px}.lead-main .stream-icon svg{width:16px;height:16px}.lead-copy{min-width:0}.lead-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;padding:0;text-align:left;font-size:12px;font-weight:500;line-height:1.55;letter-spacing:-.012em;color:#374530}.lead-title:hover{color:#668d34}.lead-description{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:#76846a;font-size:10px;line-height:1.5;margin:5px 0 0}.lead-meta{display:flex;gap:8px;align-items:center;color:#77856a;font-size:9px;margin-top:8px}.lead-meta .match-marker{color:#6c8b42}.location-title{font-size:11px;color:#6b785e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55}.postcode{font-size:9px;color:#77856a;display:block;margin-top:5px;letter-spacing:.025em}.date-cell{color:#677659;font-size:10px!important}.table-footer{padding:15px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#718062;font-size:10px}.pagination{display:flex;gap:5px;align-items:center}.pagination .button{font-size:10px;min-height:28px;padding:5px 9px}.page-number{border:1px solid #d9e3cc;border-radius:4px;display:grid;place-items:center;height:28px;min-width:28px;background:#f0f5e8;color:#71885a}.refresh-note{margin:16px 2px;display:flex;align-items:center;gap:7px;color:#718062;font-size:10px}.refresh-note svg{width:12px;height:12px}.refresh-note a{margin-left:auto}.empty{padding:60px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:13px}.empty>.stream-icon{width:48px;height:48px;border-radius:50%;margin-bottom:5px}.empty h2{font-size:23px}.empty p{color:var(--muted);font-size:12px;max-width:430px}.pipeline-summary{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.pipeline-pill{background:white;border:1px solid var(--line);padding:10px 14px;border-radius:6px;font-size:11px;display:flex;gap:16px}.pipeline-pill.active{border-color:#86a55d;background:#eff6e3}.pipeline-pill strong{color:#748965}.main-content .section-note{max-width:660px;color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:25px}
.detail-dialog{margin:0 0 0 auto;width:575px;max-width:100%;height:100dvh;max-height:100dvh;border:0;box-shadow:-15px 0 50px #17201522;padding:0;background:white;color:var(--ink)}dialog::backdrop{background:#17201555;backdrop-filter:blur(2px)}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:18px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.detail-top>div{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.detail-body{padding:28px}.detail-body h2{font-size:26px;line-height:1.35;margin:15px 0 12px;letter-spacing:-.035em}.detail-address{font-size:12px;color:var(--muted);line-height:1.8}.detail-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}.detail-buttons .button{font-size:12px}.detail-section{border-top:1px solid var(--line);padding-top:23px;margin-top:25px}.detail-section h3{font-size:12px;font-weight:600;margin-bottom:13px}.detail-section p{font-size:12px;line-height:1.9;color:#78836c;white-space:pre-line;overflow-wrap:anywhere}.detail-section .full-description{max-height:300px;overflow:auto}.facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.fact-label{display:block;color:#8b967f;font-size:10px;margin-bottom:6px}.fact-value{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.match-box{background:#f0f6e7;border:1px solid #dfebce;border-radius:8px;padding:16px 19px;margin:24px 0}.match-box h3{font-size:12px;display:flex;align-items:center;gap:8px;color:#597a38;margin-bottom:9px}.match-box p{font-size:11px;line-height:1.8;color:#71865b}.match-box ul{margin:0;padding:0;list-style:none;font-size:11px;line-height:1.8;color:#71865b}.note-form{display:grid;gap:13px}.note-form .field textarea{font-size:12px;line-height:1.7}.note-actions{display:flex;gap:8px;justify-content:space-between}.note-actions .button{font-size:12px}.small-note{font-size:10px;color:#99a48c;margin-top:12px;line-height:1.65}.info-banner{padding:13px 16px;background:#f4f6f0;border:1px solid var(--line);border-radius:6px;font-size:11px;line-height:1.8;color:#7d886f}.contact-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;font-size:12px}.contact-line a{color:#5b783e;overflow-wrap:anywhere}.modal{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:560px;width:calc(100% - 30px);max-height:90dvh;color:var(--ink)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-top h2{font-size:24px}.modal p{font-size:12px;color:var(--muted);margin-bottom:18px}.modal form{display:grid;gap:17px}.modal .field textarea{min-height:75px}.modal .link-box{background:#f4f7ee;border:1px solid var(--line);padding:15px;word-break:break-all;font-family:var(--mono);font-size:11px;line-height:1.8;border-radius:6px;margin:15px 0}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);background:#253021;color:#eef7e4;padding:12px 20px;border-radius:8px;box-shadow:0 8px 25px #1b2f1722;font-size:12px;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}.toast.show{opacity:1}.form-error{font-size:12px;background:#fcedea;color:#9f4935;padding:12px;border-radius:6px;line-height:1.7}.form-error:empty{display:none}.settings-layout{display:grid;grid-template-columns:minmax(320px,690px) minmax(230px,1fr);gap:26px;align-items:start}.settings-card{background:white;border:1px solid var(--line);border-radius:9px;padding:27px}.settings-card h3{font-size:17px;letter-spacing:-.025em;margin-bottom:8px}.settings-card>p{font-size:12px;color:var(--muted);margin-bottom:24px}.settings-form{display:grid;gap:23px}.settings-form .field input{font-size:13px;min-height:44px}.field small{font-size:10px;color:#949f88;line-height:1.7}.checkbox-group{display:flex;gap:10px;flex-wrap:wrap}.check-option{border:1px solid var(--line);border-radius:6px;padding:12px;display:flex;gap:9px;align-items:center;font-size:12px;cursor:pointer}.check-option:has(input:checked){border-color:#b9d099;background:#f5faed}.check-option input{accent-color:#6a913e;width:15px;height:15px;min-height:0}.settings-aside{padding:15px 10px;color:#859277;font-size:12px}.settings-aside h3{font-size:13px;color:#687d55;margin:16px 0 12px}.settings-aside ul{padding-left:18px;line-height:2.2}.settings-aside .stream-icon{background:#eaf0df}.member-row,.customer-row{border-bottom:1px solid var(--line);display:flex;align-items:center;padding:17px 0;gap:14px}.member-row:last-child,.customer-row:last-child{border-bottom:0}.member-row .person,.customer-row .person{flex:1;min-width:0}.person strong{font-size:13px;font-weight:500;display:block;margin-bottom:4px}.person small{font-size:11px;color:var(--muted)}.customer-row .button{font-size:11px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}.panel-heading h3{margin:0}.team-invite{border-top:1px solid var(--line);padding-top:23px;margin-top:25px;display:flex;align-items:end;gap:12px}.team-invite .field{flex:1}.team-invite .button{font-size:12px}.pending{max-width:710px;margin:65px auto;padding:35px;background:white;border:1px solid var(--line);border-radius:10px}.pending h1{margin:22px 0 16px}.pending p{color:var(--muted);font-size:13px;margin-bottom:22px}.pending .button{margin-right:8px}
.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-story{position:relative;background:var(--dark);color:#f1f6e9;padding:48px 10%;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand{margin:0;align-self:flex-start;font-size:20px}.auth-story .brand img{width:42px;height:42px}.auth-story-content{margin:auto 0;padding:70px 0 50px;position:relative;z-index:1}.auth-story .eyebrow{color:#8ca16f;margin-bottom:25px}.auth-story h1{font-size:clamp(35px,4.4vw,62px);font-weight:500;letter-spacing:-.065em;line-height:1.08;max-width:520px}.auth-story h1 span{color:var(--lime)}.auth-story-content>p{font-size:14px;line-height:1.85;color:#95a58a;max-width:380px;margin-top:25px}.auth-signal{margin-top:48px;background:#232f1e;border:1px solid #3a4d2b;border-radius:9px;padding:20px;max-width:410px}.auth-signal .eyebrow{font-size:9px;margin-bottom:15px}.signal-line{display:flex;align-items:center;gap:14px;margin-top:14px}.signal-line>span{font-size:12px;color:#d1debe;flex:1}.signal-line .stream-icon{background:#33442a;color:#a9c780;width:29px;height:29px}.signal-line .mono{color:#b6ff1b;font-size:10px;flex:0}.auth-footer{font-size:10px;color:#6f8561;line-height:1.8}.auth-footer a{color:#b2c39e}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:45px;background:#fbfcf9}.auth-form-wrap{width:360px;max-width:100%}.auth-form-wrap .eyebrow{color:#8d9d7c;margin-bottom:19px}.auth-form-wrap h2{font-size:32px;letter-spacing:-.05em}.auth-form-wrap>p{color:#919c85;font-size:12px;line-height:1.8;margin:15px 0 30px}.auth-form-wrap form{display:grid;gap:17px}.auth-form-wrap input{min-height:45px;background:white;font-size:13px}.auth-form-wrap .button{min-height:45px;font-size:13px;margin-top:7px}.auth-switch{margin-top:24px;font-size:12px;color:#8b967f;text-align:center}.auth-switch button{color:#516d34;font-weight:500;text-decoration:underline;text-underline-offset:3px}.auth-help{margin-top:40px;padding-top:23px;border-top:1px solid var(--line);text-align:center;font-size:10px;color:#9aa68f;line-height:1.8}.auth-help a{color:#7a8c69;text-decoration:underline}.auth-signup-note{font-size:10px!important;line-height:1.8;margin:0!important;color:#8b977e}.inline-list{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.loading-row{height:250px;display:grid;place-items:center;color:#95a284;font-size:12px}.list-loading{opacity:.5;pointer-events:none}.spinner{width:22px;height:22px;border:2px solid #dfe6d6;border-top-color:#7a9c4f;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-shade{display:none}
@media(min-width:1600px){.data-table td{padding-block:22px}.data-table th:first-child,.data-table td:first-child{width:48%}.main-content{padding-top:44px}.page-heading{margin-bottom:32px}}
@media(max-width:1200px){.sidebar{width:210px;padding-inline:13px}.app-main{margin-left:210px}.main-content{padding:28px 25px}.topbar{padding:0 25px}.panel-top{flex-wrap:wrap}.list-tools{flex:1}.search-box{flex:1}.search-box input{width:100%}.data-table th:first-child,.data-table td:first-child{width:44%}.data-table th:nth-child(2){width:22%}.data-table th:nth-child(3){width:17%}.data-table th:nth-child(4){width:11%}.stats{gap:10px}.stat{padding:15px}.stat>.arrow{display:none}.settings-layout{grid-template-columns:1fr}.settings-aside{max-width:650px}.filters{grid-template-columns:1fr 1fr 1fr}.filters .button{align-self:end}.auth-story{padding-inline:12%}}
@media(max-width:850px){.sidebar{width:200px}.app-main{margin-left:200px}.main-content{padding:25px 20px}.topbar{padding:0 20px;height:64px}.page-heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:28px}.page-heading p{font-size:11px}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat{padding:13px 10px;display:block}.stat .stream-icon{display:none}.stat strong{font-size:23px}.stat-label{font-size:9px}.stat small{font-size:9px}.profile-strip{padding:12px}.profile-strip .profile-symbol{display:none}.data-table th:first-child,.data-table td:first-child{width:61%;padding-left:15px}.data-table th:nth-child(2),.data-table td:nth-child(2){display:none}.data-table th:nth-child(3){width:25%}.data-table th:nth-child(4),.data-table td:nth-child(4){display:none}.data-table th:last-child{width:14%}.data-table td{padding:17px 10px}.lead-main{gap:9px}.lead-main .stream-icon{width:26px;height:26px}.lead-title{font-size:11px}.badge{font-size:9px}.panel-top{padding:12px}.results-bar{padding:14px 15px}.table-footer{padding:14px}.stream-tab{padding:7px 8px;font-size:10px}.refresh-note{flex-wrap:wrap}.refresh-note a{margin-left:0}.auth{grid-template-columns:1fr 1.1fr}.auth-story{padding:35px}.auth-story h1{font-size:40px}.auth-form-side{padding:35px}.auth-signal{display:none}.auth-story-content>p{font-size:13px}.settings-card{padding:22px}.customer-row{flex-wrap:wrap}.customer-row .person{min-width:50%}}
@media(max-width:650px){.sidebar{width:242px;transform:translateX(-100%);transition:transform .2s;z-index:20}.sidebar.open{transform:translateX(0)}.mobile-shade.visible{display:block;position:fixed;inset:0;background:#1f2b1866;z-index:15}.app-main{margin-left:0}.mobile-menu{display:grid;margin-left:-5px}.topbar{height:59px;padding:0 17px}.crumb{gap:9px}.topbar-right{gap:10px}.topbar-right>.mono{display:none}.main-content{padding:24px 15px}.page-heading{margin-bottom:22px;gap:15px}.page-heading .eyebrow{font-size:8px;margin-bottom:10px}h1{font-size:27px}.heading-actions{width:100%}.heading-actions .button{font-size:11px;min-height:34px}.profile-strip{margin-bottom:17px;gap:8px}.profile-text strong{font-size:11px}.profile-text p{font-size:10px;max-width:210px}.profile-strip .text-button{font-size:10px;flex-shrink:0}.profile-strip .text-button svg{width:12px}.stats{margin-bottom:20px;gap:7px}.stat{padding:13px 10px;border-radius:7px}.stat strong{font-size:22px}.stat-label{font-size:9px;white-space:nowrap}.stat small{display:none}.list-tools{width:100%}.search-box input{font-size:11px}.stream-tabs{gap:3px;flex-wrap:nowrap;width:100%;justify-content:space-between}.stream-tab{font-size:10px;padding:7px}.stream-tab svg{width:12px;height:12px}.panel-top{gap:12px}.filters{grid-template-columns:1fr 1fr;padding:15px}.data-table th:first-child,.data-table td:first-child{width:63%;padding-left:13px}.data-table th:nth-child(3){width:24%}.data-table th:last-child{width:13%}.data-table th{font-size:8px;padding:10px 6px}.data-table td{padding:16px 6px}.lead-main .stream-icon{display:none}.lead-title{font-size:12px;line-height:1.55}.lead-description{font-size:10px}.lead-meta{font-size:9px;gap:5px}.badge{font-size:9px;padding:4px 6px}.badge .dot{display:none}.data-table .icon-button{width:30px;height:30px}.table-footer{font-size:9px;padding:12px}.table-footer .pagination{gap:3px}.pagination .button{font-size:9px;padding:4px 7px}.results-bar{font-size:9px}.sort select{font-size:9px}.refresh-note{font-size:9px;margin-top:15px}.detail-dialog{width:100%}.detail-top{padding:15px 20px}.detail-body{padding:22px}.detail-body h2{font-size:24px}.detail-buttons .button{font-size:11px}.toast{left:50%;bottom:20px;min-width:220px;text-align:center}.settings-layout{display:block}.settings-card{padding:22px 18px}.settings-aside{padding:20px 8px}.checkbox-group{gap:7px}.check-option{font-size:11px;padding:10px}.team-invite{flex-wrap:wrap}.team-invite .field{min-width:100%}.team-invite .button{width:100%}.member-row{gap:10px}.person small{font-size:10px;overflow-wrap:anywhere}.person strong{font-size:12px}.member-row .badge{font-size:9px}.settings-card .avatar{width:29px;height:29px;font-size:11px}.pending{margin:30px 0;padding:25px}.pending h1{font-size:26px}.auth{display:block}.auth-story{padding:25px 24px;background:var(--dark)}.auth-story .brand{font-size:15px}.auth-story .brand img{width:32px;height:32px}.auth-story .brand small{font-size:11px}.auth-story-content{padding:32px 0 8px}.auth-story-content .eyebrow{display:none}.auth-story h1{font-size:33px;max-width:310px}.auth-story-content>p,.auth-footer{display:none}.auth-form-side{padding:32px 25px 40px}.auth-form-wrap{width:100%}.auth-form-wrap>.eyebrow{display:none}.auth-form-wrap h2{font-size:27px}.auth-form-wrap>p{font-size:12px;margin:12px 0 24px}.auth-help{margin-top:25px}.modal{padding:23px}.modal-top h2{font-size:22px}.pipeline-pill{font-size:10px;padding:8px 10px;gap:10px}.pipeline-summary{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{min-width:0}.stat-label{white-space:normal;line-height:1.4}
.profile-step{font:10px var(--mono);letter-spacing:.1em;color:#687f4d;margin:8px 0 14px}.brief-section{padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.brief-section>p{margin:8px 0 18px}.brief-section .field{margin:16px 0}.field textarea{width:100%;padding:12px;line-height:1.6;border:1px solid var(--line);border-radius:6px;resize:vertical;min-width:0}.evidence-details summary,.preview-results summary{cursor:pointer;font-weight:500;padding:12px 0}.stream-brief{border:1px solid var(--line);border-radius:9px;margin:15px 0;overflow:hidden}.stream-brief>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;padding:18px;background:#fafbf7}.stream-brief>summary::-webkit-details-marker{display:none}.stream-brief summary strong{display:block;font-size:14px;font-weight:600}.stream-brief summary small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.stream-number{font:11px var(--mono);color:#789354}.stream-expand{margin-left:auto;font-size:20px;font-weight:400}.stream-brief[open] .stream-expand{transform:rotate(45deg)}.stream-brief-body{padding:20px}.rule-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.rule-section h4{font-size:13px;margin:0 0 16px}.rule-section .field{margin:16px 0}.rule-section .info-banner{margin-top:16px}.category-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.category-options .check-option{margin:0;min-width:0;white-space:normal}.check-option{line-height:1.5}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-preview{padding:24px 0 16px}.profile-preview>p{margin:10px 0 15px}.preview-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 12px}.preview-counts>div{background:#f0f5e8;border:1px solid #dbe5cf;border-radius:7px;padding:17px;display:flex;flex-direction:column;gap:7px}.preview-counts>div:last-child{background:#fcf6e9;border-color:#eee2c9}.preview-counts strong{font-size:28px;font-weight:500}.preview-counts span{font-size:12px}.preview-results details{border-bottom:1px solid var(--line)}.preview-example{padding:15px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.preview-example strong{display:block;font-size:12px;line-height:1.65;font-weight:500}.preview-example small{display:block;color:var(--muted);margin-top:4px}.preview-example ul{padding-left:18px;font-size:11px;color:#647255;line-height:1.75}.preview-example p{font-size:12px}.customer-feedback{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.fit-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-5px 0 24px}.fit-tabs button{font-size:12px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:10px 13px;border-radius:6px;background:white}.fit-tabs button.active{border-color:#a7bd87;background:#eaf1e0;color:#334a22}.fit-tabs button strong{font:11px var(--mono)}.fit-tabs p{font-size:11px;color:#67755c;flex-basis:100%;margin:2px 0 0}.relevance-section>.button{margin-top:14px}.profile-text p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}.modal:has(#customer-edit-form){width:min(850px,calc(100vw - 30px));max-width:850px}.modal:has(#customer-edit-form) .field{margin:16px 0}.settings-card:has(#profile-form){min-width:0}.stream-brief summary:focus-visible,.evidence-details summary:focus-visible,.preview-results summary:focus-visible{outline:3px solid #83b52a;outline-offset:-3px}.settings-form .small-note{margin-top:7px}
@media(max-width:650px){.stream-brief-body{padding:15px}.stream-brief>summary{padding:15px 12px;gap:10px}.category-options{grid-template-columns:1fr}.form-columns{grid-template-columns:1fr;gap:0}.stream-brief summary small{font-size:10px}.profile-step{font-size:9px}.preview-counts strong{font-size:25px}.fit-tabs button{font-size:11px}.stream-brief .field input,.stream-brief .field textarea,.brief-section input,.brief-section textarea{font-size:13px;min-width:0}.profile-strip .profile-text{min-width:0}.profile-strip .text-button{max-width:105px}.profile-strip .profile-text p{max-width:none}}
/* The website wordmark uses the same locally served font as planningdatahub.uk. */
.brand .website-wordmark{font-family:'Stack Sans Notch',sans-serif;font-weight:600;font-size:20px;letter-spacing:-.6px;line-height:1.2;white-space:nowrap}.sidebar .brand{margin:0 0 30px}.sidebar{overflow-y:auto}.sidebar-note{margin-top:16px}.nav-divider{margin-block:17px}.row-fit{color:#597143;font-size:11px;margin:7px 0 3px;line-height:1.5}.row-feedback{color:#64745c;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:4px 0}.detail-triage{display:flex;justify-content:space-between;margin-bottom:22px}.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}
.ai-heading h1{font-size:32px}.ai-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.ai-modes{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:9px;background:#eaf0e3}.ai-modes button{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:6px;font-size:12px;color:#53684a}.ai-modes button.active{background:white;box-shadow:0 1px 3px #233a1112;color:#202c1d}.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.ai-chat{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;position:sticky;top:18px;min-width:0}.ai-chat-top{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding:17px 24px;font-size:12px}.ai-chat-top>span:last-child{margin-left:auto;color:#6b7b64;font-size:11px}.ai-online{width:7px;height:7px;background:#75a849;border-radius:50%}.ai-transcript{height:clamp(310px,49vh,660px);overflow:auto;padding:25px;scrollbar-gutter:stable}.ai-message{padding:0 0 25px;line-height:1.85;font-size:13px;overflow-wrap:anywhere;color:#35422f}.ai-speaker{display:block;font-size:10px;color:#74826e;font-weight:500;margin-bottom:9px}.ai-message.from-user{margin:0 0 24px 12%;padding:15px 18px;border-radius:9px;background:#f0f5e8;color:#2b4020}.from-user .ai-speaker{color:#5e754d}.ai-question{font-weight:600;margin-top:15px;color:#25351e}.ai-thinking{display:flex;align-items:center;gap:12px;color:#65775b}.ai-thinking .spinner{width:15px;height:15px;flex-shrink:0}.ai-failed{color:#9f4935}.ai-sources{font-size:11px;margin-top:16px}.ai-sources summary{cursor:pointer;color:#597442}.ai-sources a{display:flex;align-items:center;gap:6px;padding:7px 0;text-decoration:underline;overflow-wrap:anywhere}.ai-sources svg{width:12px}.ai-welcome{max-width:450px;margin:12px auto;text-align:left}.ai-welcome-mark{display:grid;place-items:center;background:#eef6e4;border:1px solid #d9e9c5;color:#597b38;border-radius:10px;width:45px;height:45px;margin-bottom:22px}.ai-welcome h2{font-size:26px;line-height:1.2;margin-bottom:13px}.ai-welcome p{font-size:13px;color:#68765f;line-height:1.85}.ai-starters{display:grid;gap:8px;margin-top:23px}.ai-starters button{text-align:left;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:7px;padding:12px;font-size:12px;gap:10px}.ai-starters button:hover{background:#f2f7eb;border-color:#b2c49b}.ai-starters svg{width:15px}.ai-compose{padding:18px 22px 15px;border-top:1px solid var(--line);background:#fdfefa}.ai-compose form{border:1px solid #cdd9c2;border-radius:9px;background:white;overflow:hidden}.ai-compose textarea{border:0;resize:vertical;width:100%;min-height:80px;max-height:220px;padding:15px 16px;font-size:13px;line-height:1.7;background:transparent;display:block}.ai-compose textarea:focus{outline:0}.ai-compose form:focus-within{outline:2px solid #a9c282;outline-offset:2px}.ai-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px}.ai-compose-bottom label{display:flex;align-items:center;gap:6px;font-size:11px;color:#5c7050}.ai-compose-bottom input{accent-color:#6a913e}.ai-compose-bottom .button{font-size:12px;min-height:35px;padding:7px 13px}.ai-privacy{font-size:10px;line-height:1.7;color:#727f69;margin-top:10px}.ai-compose .form-error{margin:8px}.ai-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.ai-suggestions button{font-size:11px;text-align:left;border:1px solid #d4dfc9;padding:7px 10px;border-radius:15px;background:#f2f7eb;line-height:1.5}.ai-suggestions button:hover{background:#e5efda}.ai-context{display:flex;justify-content:space-between;gap:10px;font-size:11px;background:#eaf2df;color:#57723f;border-radius:5px;padding:8px 10px;margin-bottom:10px}.ai-context button{font-size:18px}.ai-brief{background:#fafcf6;border:1px solid var(--line);border-radius:10px;padding:22px;min-width:0;overflow-wrap:anywhere}.ai-brief-title .eyebrow{font-size:9px;color:#71815f;line-height:1.7}.ai-brief-title h2{font-size:22px;margin-top:8px}.ai-brief-title p{font-size:11px;color:#748268;margin-top:6px}.ai-topics{border-block:1px solid var(--line);padding:15px 0;margin:19px 0;display:grid;gap:9px;font-size:11px;color:#78816f}.ai-topics>div{display:flex;align-items:center;gap:9px}.ai-topics span{width:18px;font-size:13px;color:#a2ad97}.ai-topics .covered,.ai-topics .covered span{color:#4f7432}.ai-understanding{margin:0;font-size:12px}.ai-understanding>div{padding:13px 0;border-bottom:1px solid var(--line)}.ai-understanding dt{font-weight:600;font-size:11px}.ai-understanding dt small{display:block;font-size:9px;font-weight:400;color:#7a846f;margin-top:4px}.ai-understanding dd{margin:7px 0 0;line-height:1.8;color:#5c6d50}.ai-open-questions{font-size:11px;margin-block:17px;color:#61734f}.ai-open-questions ul{padding-left:17px;line-height:1.8}.ai-draft-empty{display:flex;align-items:start;gap:10px;font-size:11px;line-height:1.8;color:#768468;margin:20px 0}.ai-draft-empty svg{width:17px;margin-top:4px}.ai-proposal{border-top:1px solid var(--line);padding-top:20px;margin-top:15px}.ai-proposal h3{margin:10px 0;font-size:15px;line-height:1.5}.ai-proposal p,.ai-proposal li{font-size:11px;line-height:1.9}.ai-proposal ul{padding-left:17px}.ai-proposal summary{cursor:pointer;font-size:11px;padding:10px 0;color:#4f6b36}.ai-proposal>.button{margin-top:15px;white-space:normal}.ai-proposal .eyebrow{font-size:9px;color:#5c7a3f}.ai-rule{border-bottom:1px solid var(--line);padding:10px 0;font-size:11px}.ai-rule p{margin-top:5px}.ai-proposal .preview-counts{gap:8px;margin:16px 0}.ai-proposal .preview-counts strong{font-size:22px}.ai-proposal .preview-counts span{font-size:10px}.ai-proposal .preview-example{padding:12px 0}.ai-proposal .preview-example button{text-align:left;font-size:11px;line-height:1.6}.ai-proposal .preview-example small{display:block;margin-top:7px}.ai-human{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;font-size:11px}.ai-human p{color:#6c7b60;margin:7px 0 12px}.ai-human>a,.ai-human>.text-button{display:block;font-size:10px;margin-top:12px;text-decoration:underline;text-underline-offset:3px}.ai-human .text-button svg{width:12px;vertical-align:middle}.ai-human form{display:grid;gap:10px}.ai-human textarea{max-width:100%;border:1px solid var(--line);border-radius:5px;padding:10px;line-height:1.6}.support-ticket{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:20px 0}.support-ticket small{display:block;color:#6c795f;font-size:11px;margin:6px 0}.support-ticket p{font-size:12px}.support-history{max-height:55vh;overflow:auto;border-block:1px solid var(--line);padding:20px 0;margin-bottom:20px}
@media(max-width:1200px){.brand .website-wordmark{font-size:18px}.ai-layout{grid-template-columns:minmax(0,1fr) 270px;gap:15px}.ai-brief{padding:17px}.ai-transcript{padding:20px}.ai-compose{padding:15px}.ai-chat-top{padding:15px}.ai-chat-top>span:last-child{font-size:10px}}
@media(max-width:1000px){.ai-layout{grid-template-columns:1fr}.ai-chat{position:static}.ai-transcript{height:470px;max-height:60dvh}.ai-brief{padding:24px}.ai-topics{grid-template-columns:1fr 1fr}.ai-understanding{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}}
@media(max-width:600px){.brand .website-wordmark{font-size:20px}.ai-heading h1{font-size:27px}.ai-heading{margin-bottom:20px}.ai-toolbar{align-items:start;flex-wrap:wrap}.ai-modes{width:100%;justify-content:space-between}.ai-modes button{font-size:11px;padding:9px 12px;flex:1;justify-content:center}.ai-toolbar>.button{font-size:10px;min-height:30px}.ai-transcript{padding:20px 16px;max-height:none;height:410px}.ai-chat-top{font-size:11px}.ai-chat-top>span:last-child{font-size:9px}.ai-message{font-size:12px}.ai-message.from-user{margin-left:5%;padding:13px}.ai-compose{padding:13px}.ai-compose textarea{font-size:16px}.ai-compose-bottom{padding:8px}.ai-compose-bottom label{font-size:10px}.ai-privacy{font-size:9px}.ai-welcome h2{font-size:24px}.ai-welcome p{font-size:12px}.ai-understanding{grid-template-columns:1fr}.ai-brief{padding:20px}.ai-topics{font-size:10px}.profile-strip{flex-wrap:wrap}.profile-strip>.button{font-size:11px}.row-fit,.row-feedback{font-size:10px}.support-ticket{flex-wrap:wrap}.ai-context{font-size:10px}}
.sidebar{overflow-x:hidden}.workspace-label>div,.account>div{min-width:0;flex:1}.workspace-label strong,.account strong{max-width:100%}.workspace-label .workspace-avatar,.account .icon-button{flex-shrink:0}

.heading-actions{flex-wrap:wrap;align-items:center}.date-range-control{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.date-range-control select{font:inherit;font-size:12px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:6px;min-height:38px;padding:8px 28px 8px 10px;cursor:pointer}.date-range-control select:focus-visible{outline:2px solid #354d2d;outline-offset:2px}@media(max-width:650px){.date-range-control{width:100%}.date-range-control select{flex:1}}

.demo-workspace-banner{display:none}.demo-workspace .demo-workspace-banner{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 32px;background:#eff6df;border-bottom:1px solid #d9e3c8;font-size:12px;color:#334027}.demo-workspace-banner strong{letter-spacing:.06em;font-size:11px}.demo-workspace-banner a{margin-left:auto;color:inherit;text-decoration:underline}.demo-hidden{display:none!important}@media(max-width:700px){.demo-workspace .demo-workspace-banner{padding:10px 18px;gap:6px}.demo-workspace-banner span{flex-basis:100%}}
