@font-face{font-family:Navigator;src:local("Inter"),local("Helvetica Neue");font-display:swap}
:root{--bg:#f6f6f3;--paper:#fff;--ink:#222423;--sub:#646862;--line:#dedfd8;--soft:#f1f2ec;--side:#1a1c1b;--red:#963f32;--amber:#7c5311;--green:#345947;--radius:11px;font:14px/1.45 Navigator,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--bg)}
/* Plain field actions inherit the page surface. Buttons with their own component
   styles keep those styles, including hover and keyboard focus. */
:where(.brand-panel, #drawer) button {
  appearance: none;
  background: transparent;
  box-shadow: none;
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{min-width:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #61819a;outline-offset:2px}button{border:0}svg{width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none;flex-shrink:0}.skip{position:fixed;top:-70px;left:10px;z-index:100;background:white;padding:10px}.skip:focus{top:6px}.loading-screen{padding:32px}.shell{display:grid;grid-template-columns:214px minmax(0,1fr);min-height:100vh}.side{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:26px 15px 16px;color:#d9dbd6;background:var(--side);z-index:5}.identity,.brandmark,.nav-item,.account-btn,.crumb,.toolbar,.tools,.btn,.badge,.tab,.field-select,.context-title,.list-count,.inline,.split,.footer,.filters,.searchbox,.pager,.topline,.actionbar{display:flex;align-items:center}.identity{gap:11px;color:white;padding:1px 5px 28px}.brandmark{justify-content:center;flex-shrink:0;background:#e5ecc8;color:#20251e;width:35px;height:35px;border-radius:9px;font-size:14px;line-height:1;font-weight:850;letter-spacing:-1.6px;font-style:italic;box-shadow:inset 0 0 0 1px #ffffff35}.identity strong{display:block;font-size:15px;letter-spacing:-.5px}.identity small{font-size:11px;color:#a6aaa2}.nav{display:grid;gap:5px}.nav-item{gap:11px;text-align:left;background:transparent;color:#c4c7c2;padding:10px 12px;border-radius:7px;min-height:40px;font-weight:520}.nav-item:hover,.account-btn:hover{background:#282b28;color:#fff}.nav-item[aria-current=page]{background:#363a34;color:#eff4de}.nav-item[aria-current=page] svg{color:#d8e7ab}.bottom{margin-top:auto;border-top:1px solid #3a3d38;padding-top:14px}.account-btn{padding:9px 6px;width:100%;gap:10px;text-align:left;background:transparent;color:#e4e6e0;border-radius:7px}.account-btn small{display:block;font-size:11px;color:#aab0a6}.avatar{display:inline-grid;place-items:center;width:31px;height:31px;flex-shrink:0;border:1px solid #60655d;color:#e6e9df;border-radius:50%;font-weight:650;font-size:11px}.grow{flex:1;min-width:0}.main{min-width:0}.topline{height:55px;padding:0 clamp(15px,3vw,45px);border-bottom:1px solid var(--line);justify-content:space-between;background:#fafbf7;gap:8px}.crumb{gap:8px;color:var(--sub);font-size:12px}.crumb b{color:var(--ink);font-weight:550}.crumb svg{width:13px}.local{font-size:11px;color:var(--sub);display:inline-flex;gap:7px;align-items:center}.local i{width:7px;height:7px;border-radius:50%;background:#738071}.page{padding:clamp(17px,2.65vw,38px);max-width:1900px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:22px}.page-head h1{font-size:clamp(27px,3.1vw,44px);letter-spacing:-.06em;line-height:1.03;font-weight:620}.page-head p{color:var(--sub);font-size:13px;margin-top:9px}.tools,.toolbar,.filters,.actionbar,.inline,.split,.pager,.context-title{gap:8px}.tools,.filters,.actionbar,.inline{flex-wrap:wrap}.toolbar{justify-content:space-between;flex-wrap:wrap;padding:11px 14px;border-bottom:1px solid var(--line);background:var(--paper)}.actionbar{padding:10px 14px;background:#eff3e7;border-bottom:1px solid #d6dec9}.btn,.iconbtn,.tab{justify-content:center;gap:7px;min-height:34px;padding:6px 11px;border:1px solid var(--line);background:var(--paper);border-radius:7px;color:#343732;font-weight:530;white-space:nowrap}.btn:hover,.iconbtn:hover,.tab:hover{background:var(--soft)}.btn.primary,.primary{background:var(--ink);color:white;border-color:var(--ink)}.btn.primary:hover{background:#41463c}.btn.danger{color:var(--red)}.btn.small{min-height:28px;font-size:12px}.btn svg,.tab svg{width:15px;height:15px}.iconbtn{display:inline-grid;place-items:center;min-width:33px;padding:6px}.iconbtn svg{width:16px;height:16px}.button-text{font-weight:580}.tabs{display:flex;gap:4px;align-items:center;overflow:auto;scrollbar-width:thin}.page-tabs{margin-bottom:13px}.tab{background:transparent;border-color:transparent;min-height:35px}.tab[aria-selected=true]{background:var(--paper);border-color:#cfd1c8;box-shadow:0 1px 3px #11111109}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);min-width:0;overflow:hidden}.panel+.panel{margin-top:15px}.filters{padding:12px 14px;background:#f9faf6;border-bottom:1px solid var(--line);align-items:flex-end}.filters label,.form label:not(.check){display:grid;gap:5px}.field-label,.filters label,.form label:not(.check){font-size:12px;color:var(--sub);font-weight:530}.control,.filters select,.filters input,.form input:not([type=checkbox]),.form select,.form textarea,.page select.control{width:100%;background:white;border:1px solid #d6d8ce;border-radius:6px;padding:7px 9px;min-height:35px;font-size:13px;font-weight:400;color:var(--ink)}.filters label{min-width:105px;max-width:230px}.form textarea{min-height:75px;resize:vertical}.searchbox{gap:8px;position:relative;border:1px solid var(--line);border-radius:7px;background:#fafbf8;padding:0 10px;min-height:35px;max-width:420px;min-width:min(100%,220px)}.searchbox svg{width:15px;color:var(--sub);flex-shrink:0}.searchbox input{width:100%;outline:0;border:0;background:transparent;height:34px}.searchbox:focus-within{outline:2px solid #74816a}.scroll-grid{overflow:auto;max-height:min(68vh,790px);min-height:125px;overscroll-behavior:contain;scrollbar-width:thin}.grid{border-spacing:0;border-collapse:separate;width:100%;font-size:13px;text-align:left}.grid th,.grid td{border-bottom:1px solid #e9eae2;padding:9px 12px;max-width:330px;white-space:nowrap;vertical-align:middle;text-overflow:ellipsis;overflow:hidden}.grid th{position:sticky;top:0;z-index:2;color:#62665d;background:#f5f6f1;font-size:11px;font-weight:600;letter-spacing:.012em}.grid td{height:40px}.grid tr[data-brand]{cursor:pointer}.grid tbody tr:hover td{background:#f6f7ef}.grid td.first,.grid th.first{position:sticky;left:0;z-index:1;border-right:1px solid #e8e9e0;background:white;min-width:130px;max-width:245px}.grid th.first{z-index:3;background:#f5f6f1}.grid td.select,.grid th.select{width:34px;padding-right:4px;max-width:34px}.grid td strong{font-weight:600}.grid .record{border:0;padding:1px 0;background:none;text-align:left;font-weight:600;color:inherit;max-width:100%;overflow:hidden;text-overflow:ellipsis}.grid .record:hover{text-decoration:underline}.grid .number{font-variant-numeric:tabular-nums}.muted,.subtle{color:var(--sub)}.muted{font-size:12px}.badge{display:inline-flex;gap:5px;width:fit-content;max-width:100%;padding:3px 7px;border-radius:5px;background:#eeefe9;color:#44483e;font-size:11px;line-height:1.4;white-space:normal}.badge.good{background:#e6eee5;color:var(--green)}.badge.warn{background:#f3eadb;color:var(--amber)}.badge.urgent{background:#f4e6e2;color:var(--red)}.badge.blue{background:#e6ebef;color:#435869}.footer{justify-content:space-between;gap:10px;flex-wrap:wrap;padding:9px 14px;border-top:1px solid var(--line);color:var(--sub);font-size:12px}.pager{font-variant-numeric:tabular-nums}.empty{padding:30px 16px;color:var(--sub);text-align:center}.empty strong{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}.context-title{justify-content:space-between;align-items:flex-start}.section,.card-section{padding:17px}.section+.section,.card-section+.card-section{border-top:1px solid var(--line)}.section h2,.card-section h3,.subhead{font-size:15px;line-height:1.3;font-weight:650;letter-spacing:-.02em;margin-bottom:9px}.list-item{padding:12px 0;border-top:1px solid #e7e8df}.list-item:first-child{border-top:0}.list-item p+p{margin-top:3px}.metricline{display:flex;flex-wrap:wrap;gap:14px;font-size:13px}.mini-list{list-style:none;margin:0;padding:0}.review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px;border-top:1px solid var(--line)}.review-row:first-child{border-top:0}.review-row h3{font-size:15px;margin:0 0 4px}.review-row p{margin:3px 0}.drawer,.modal{color:var(--ink);background:var(--paper);padding:0;border:1px solid var(--line);box-shadow:0 22px 100px #12140d36}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(592px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;overflow:auto}.drawer::backdrop,.modal::backdrop{background:#18201655}.drawer-head,.modal-head{padding:18px 22px;border-bottom:1px solid var(--line);background:white}.drawer-head h2,.modal-head h2{font-size:24px;letter-spacing:-.045em;line-height:1.15;margin-top:5px;overflow-wrap:anywhere}.drawer-head .tabs{margin:14px 0 -9px}.drawer-head .tabs button{font-size:12px;padding:6px 9px}.drawer-body{padding:0 6px 22px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.value{overflow-wrap:anywhere;white-space:pre-wrap}.detail-grid dt{font-size:11px;color:var(--sub);margin-bottom:3px}.detail-grid dd{margin:0}.detail-grid>div{min-width:0}.full{grid-column:1/-1}.form{display:grid;gap:14px}.form-buttons{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:3px;flex-wrap:wrap}.form .check,.check{display:flex;gap:8px;align-items:center;font-size:13px}input[type=checkbox]{accent-color:#414a37}.modal{border-radius:13px;width:min(550px,calc(100vw - 24px));max-height:90dvh}.modal-content{padding:18px 22px}.scroll-fields{max-height:45vh;overflow:auto;display:grid;gap:0;border:1px solid var(--line);border-radius:7px}.scroll-fields label{padding:8px 10px;border-bottom:1px solid var(--line)}.scroll-fields label:last-child{border:0}.mobile-menu{display:none}.rule{display:grid;grid-template-columns:minmax(85px,1fr) minmax(85px,.8fr) minmax(90px,1fr) auto;gap:5px;align-items:center}.warning,.error,.info{padding:10px 12px;border-radius:7px;overflow-wrap:anywhere}.warning{background:#f7f1e5;color:var(--amber)}.error{background:#f4e8e4;color:var(--red)}.info{background:#f2f3ed;color:#505747}.space{margin-top:12px}.login{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:min(390px,100%);background:white;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 9px 46px #1d211308}.login-card .identity{padding:0 0 24px;color:var(--ink)}.login-card .identity small{color:var(--sub)}.login-card h1{font-size:29px;letter-spacing:-.055em;margin-bottom:7px}.login-card p{color:var(--sub);margin-bottom:20px}.login-card .primary{min-height:39px}.linkbtn{background:none;text-align:left;padding:0;text-decoration:underline;color:inherit}.worklist{display:grid}.workrow{display:grid;grid-template-columns:minmax(130px,1.3fr) minmax(160px,1.9fr) minmax(90px,1fr) minmax(70px,.65fr);padding:13px 16px;gap:12px;align-items:center;border-bottom:1px solid #e7e9df}.workrow:last-child{border:0}.workrow h3{font-size:14px;letter-spacing:-.02em}.workrow .muted{margin-top:3px}.workrow.head{background:#f7f8f2;font-size:11px;color:var(--sub);font-weight:600}.report-lines{display:grid;gap:3px;margin:0}.report-lines>div{display:flex;gap:10px;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}.report-lines dt{color:var(--sub)}.report-lines dd{margin:0;text-align:right;overflow-wrap:anywhere}.error-panel{padding:18px}.notes{white-space:pre-wrap;overflow-wrap:anywhere}#notifications{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:15;pointer-events:none}.toast{background:#242822;color:white;border:1px solid #53584e;border-radius:9px;max-width:min(530px,94vw);padding:10px 16px;box-shadow:0 4px 22px #20241a30}.drawer .error,.modal .error{margin:10px 18px}.kicker{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--sub);font-weight:700}.num{font-variant-numeric:tabular-nums}.desktop-off{display:none}
@media(max-width:950px){.shell{grid-template-columns:175px minmax(0,1fr)}.side{padding-left:9px;padding-right:9px}.page{padding:20px 14px}.toolbar{align-items:flex-start}.workrow{gap:8px;padding:12px}.nav-item{padding:9px}}
@media(max-width:720px){.shell{display:block}.side{position:fixed;inset:0 auto 0 0;width:210px;transform:translateX(-105%);transition:transform .16s}.side.open{transform:none}.mobile-menu{display:inline-grid}.side.open:after{content:"";position:fixed;left:210px;top:0;height:100vh;width:100vw;background:#17201948;pointer-events:none}.topline{padding:0 12px;height:46px;justify-content:flex-start}.local{margin-left:auto}.page-head{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:15px}.page{padding:17px 10px}.searchbox{max-width:none;width:100%}.toolbar{padding:9px;gap:8px}.toolbar> .grow{flex-basis:100%}.grid th,.grid td{padding:8px}.workrow{grid-template-columns:1.1fr 1.7fr}.workrow.head{display:none}.workrow>span:nth-last-child(-n+2){font-size:12px}.footer{padding:8px}.filters label{max-width:none;flex:1;min-width:min(135px,100%)}.rule{grid-template-columns:1fr 1fr}.drawer-head,.modal-head,.modal-content{padding:14px}.review-row{grid-template-columns:1fr}.scroll-grid{max-height:67vh}.side.open .account-btn{position:relative}.page-tabs{margin-bottom:9px}}
@media(max-width:370px){.detail-grid{grid-template-columns:1fr}.local{display:none}.page{padding:14px 8px}.btn{padding:6px 8px}.workrow{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}.sort-btn{background:none;padding:1px;color:inherit;font:inherit}.sort-btn:hover,.record:hover{color:#282f1f}.drawer .detail-grid{line-height:1.5}.workrow .record{border:0;background:none;padding:0;text-align:left;font-weight:650}.workrow .record:hover{text-decoration:underline}

#app .side .brandmark,.login .brandmark{background:#f2f3ec;color:#1c1f1d}.nav-item[aria-current=page]{color:#fff;background:#373a37}.nav-item[aria-current=page] svg{color:#f0f1ea}.pick-pill{color:#394334;background:#fff;border:1px solid #cbd2c3;padding:3px 7px;border-radius:6px;font-size:11px}.pick-pill:hover{background:#f5f7f0}

.candidate-list{border:0;min-width:0;padding:0;margin:0;max-height:36vh;overflow:auto}.candidate-list legend{font-size:12px;color:var(--sub);margin-bottom:5px}.candidate-list .check{padding:8px 5px;border-bottom:1px solid var(--line)}.candidate-list .check:hover{background:var(--soft)}.candidate-list input[type=radio]{accent-color:var(--ink)}

.basis-tag{display:block;width:max-content;max-width:100%;font-size:10px;line-height:1.4;padding:2px 5px;margin-top:3px;border-radius:4px;color:#75531d;background:#f3ecde;text-align:left}.basis-tag:hover{text-decoration:underline}.intake-matches:empty{display:none}.intake-matches .candidate-list{padding:7px 10px;background:#f8f9f5;border:1px solid var(--line);border-radius:7px}.intake-matches legend{padding:0 3px;color:var(--ink)}

.grid-toggle[aria-pressed=true]{background:#212421;color:white;border-color:#212421}
.grid-editbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#f5f6f3;border-block:1px solid #dedfd9;padding:10px 16px}
.grid-instruction{display:grid;gap:2px;font-size:12px}.grid-instruction strong{font-weight:650}.grid-instruction span{color:#596057}
.grid-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.grid-tools [data-grid-count]{font-variant-numeric:tabular-nums}
.grid td[data-grid-col]{cursor:cell;outline-offset:-2px}.grid td[data-grid-col]:focus-visible{outline:2px solid #272b27}
.grid td.grid-selected{box-shadow:inset 0 0 0 1px #525d53;background:#e4ebe4}.grid td.grid-inline{padding:2px 4px;min-width:160px;background:#fff;overflow:visible}
.grid-entry{display:flex;align-items:center;gap:2px}.grid-entry input,.grid-entry select{min-width:64px;width:100%;background:white;color:#111;padding:5px;border:1px solid #5d685d;border-radius:4px}
.grid-preview{max-height:min(50vh,460px);overflow:auto;border:1px solid #ddd;border-radius:8px}.grid-preview table{width:100%;font-size:12px;border-collapse:collapse}.grid-preview td,.grid-preview th{text-align:left;vertical-align:top;max-width:210px;padding:6px 8px;border-bottom:1px solid #eee;overflow-wrap:anywhere}.grid-preview th{position:sticky;top:0;background:#f5f6f4}
[data-grid-value]{width:100%;display:block}[data-grid-value]>input,[data-grid-value]>select{width:100%}
@media(max-width:720px){.grid-editbar{padding:10px;gap:8px}.grid-editbar .grid-instruction span{max-width:42ch}.grid-tools{width:100%}.toolbar .tools{flex-wrap:wrap}.grid-preview td,.grid-preview th{min-width:78px}}

.grid td[data-local-field=true]{background-image:linear-gradient(135deg,transparent 50%,#536151 50%);background-size:5px 5px;background-repeat:no-repeat;background-position:right top}

.grid:has(td[data-grid-col]){user-select:none;-webkit-user-select:none}.grid .grid-entry input,.grid .grid-entry textarea,.grid .grid-entry select{user-select:text;-webkit-user-select:text}

.grid-entry textarea{width:100%;min-width:72px;min-height:36px;border:1px solid #5d685d;border-radius:4px;padding:4px;resize:vertical;background:white;color:#111}

.rule-value{min-width:0;display:flex;align-items:center;gap:4px}.rule-value input{min-width:0;flex:1 1 4em}.rule-value select{flex:0 1 5.6em;min-width:4.8em}

/* Sales list interactions */
.grid-editbar[hidden]{display:none}
.grid td[data-grid-choice]:not(.grid-inline){cursor:pointer;padding-right:24px;position:relative}
.grid td[data-grid-choice]:not(.grid-inline)::after{content:'';position:absolute;right:10px;top:45%;width:5px;height:5px;border:solid #717771;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.grid td[data-grid-col]:hover{box-shadow:inset 0 0 0 1px #aeb3ae}
.grid td.grid-inline{box-shadow:inset 0 0 0 2px #202320;border-radius:3px}
.grid-entry :is(input,select,textarea){border:0;outline:0;box-shadow:none}
.grid .first .record:hover{text-decoration:underline;text-underline-offset:3px}

.grid-identity{background:transparent;color:inherit;font:inherit;padding:0;text-align:left}
.grid-identity:hover{text-decoration:underline;text-underline-offset:3px}
.page:has(.brand-panel) .page-head{margin-bottom:12px;align-items:center}
.page:has(.brand-panel) h1{font-size:clamp(25px,2.3vw,34px);letter-spacing:-.045em}
#brand-scroll .grid td{height:34px;padding-block:6px}
#brand-scroll .grid td.grid-inline{padding-block:2px}
@media(min-width:900px) and (min-height:680px){
  .page:has(.brand-panel){display:flex;flex-direction:column;height:calc(100dvh - 55px);max-width:none;padding:18px 22px 14px}
  #screen:has(.brand-panel),.brand-panel{min-height:0;display:flex;flex-direction:column}
  :is(#brand-scroll,[data-capture-scroll]){min-height:90px;max-height:none}
  .brand-panel>:not(.scroll-grid){flex-shrink:0}
}
@media(max-width:720px){.page:has(.brand-panel) .page-head{align-items:flex-start}}

.workrow .followup-complete{display:inline-flex;margin-top:6px}.case-facts .followup-complete{margin-inline-start:4px}

.segment-panel .segment-status{display:flex;align-items:center;justify-content:space-between;gap:12px}
.segment-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#f4f5f2;border:1px solid #e0e2dd;border-radius:8px;padding:12px}
.segment-stats strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}
.segment-stats small,.segment-results li>small{display:block;color:#575d55;font-size:12px}
.segment-panel progress{width:100%;height:8px;accent-color:#232721}
.segment-results .mini-list{overflow:auto;max-height:min(32vh,290px);margin:6px 0}
.segment-results .list-item{padding:6px 2px}
.segment-panel p,.segment-results .list-item p{margin:3px 0}
.segment-outcomes{display:flex;flex-wrap:wrap;gap:6px}
.segment-outcomes span{font-size:12px;border:1px solid #d2d5ce;border-radius:5px;padding:3px 7px}
@media(max-width:520px){.segment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.segment-panel .form-buttons{flex-wrap:wrap}}

.daily-switch{display:flex;flex-wrap:wrap;gap:3px;padding:3px;background:#f0f1ee;border:1px solid #e1e3de;border-radius:8px}
.daily-switch button{background:transparent;border:1px solid transparent;border-radius:5px;padding:5px 9px;font:inherit}
.daily-switch button[aria-pressed=true]{background:white;border-color:#cbd0c5;color:#191b18}
.daily-tools{flex-wrap:wrap}.daily-tools .check{display:inline-flex;align-items:center;gap:6px}.daily-tools #hang-days{width:68px}

.segment-results button.record{background:transparent;border:0;padding:1px 0;font:inherit;font-weight:600;text-align:left}
.segment-results button.record:hover{text-decoration:underline}

/* Navigation, work surfaces and typography shared by all Navigator views. */
:root{
  --bg:#f7f8fa;--ink:#191a1e;--paper:#fff;--sub:#626672;--soft:#f1f2f5;
  --line:#e2e4ea;--side:#131416;--red:#9b373e;--amber:#865512;--green:#18674c;
  --radius:14px;
  font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;
}
.shell{display:block;min-height:100dvh}
.shell .side{
  position:sticky;inset:0 0 auto;transform:none;width:100%;height:64px;
  padding:0 clamp(16px,2.6vw,46px);display:flex;flex-direction:row;align-items:center;
  justify-content:space-between;gap:24px;background:var(--side);color:white;z-index:5;
}
.identity{padding:0;gap:15px;flex-shrink:0}
.wordmark{color:inherit;font-size:21px;font-style:italic;font-weight:900;letter-spacing:-1.9px;line-height:1;transform:skewX(-4deg)}
.wordmark span{font-weight:620}
.product-name{padding-left:15px;border-left:1px solid #ffffff32;font-size:14px;letter-spacing:-.45px;font-weight:550;color:#ededf0}
.nav{display:flex;gap:3px;align-items:center}
.nav-item{gap:7px;min-height:36px;padding:8px 11px;border-radius:9px;font-size:12.5px;font-weight:530;color:#bdbec4;transition:background .12s,color .12s}
.nav-item svg{width:15px;height:15px;stroke-width:1.6}
.nav-item[aria-current=page],.nav-item[aria-current=page]:hover{background:#f4f4f5;color:#151619}
.nav-item[aria-current=page] svg{color:inherit}
.nav-item:hover{background:#2a2b30;color:#fff}
.bottom{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:0;border:0;margin:0}
.bottom .local{color:#c0c1c6;font-size:11px;letter-spacing:.02em;gap:6px}
.local i{width:6px;height:6px;background:#9ac6b3;box-shadow:0 0 0 3px #ffffff0c}
.account-btn{width:auto;padding:0;border-radius:50%}.account-btn:hover{background:none}
.avatar{width:33px;height:33px;background:#303136;color:white;border:1px solid #505056;font-size:11px;letter-spacing:.04em}
.page,.page:has(.brand-panel){width:100%;max-width:1920px;margin:auto;padding:30px clamp(18px,3.4vw,60px) 22px}
.page-head,.page:has(.brand-panel) .page-head{display:flex;flex-direction:row;align-items:center;gap:16px;margin:0 0 23px}
.page-head h1,.page:has(.brand-panel) h1{font-size:clamp(30px,3.1vw,48px);font-weight:650;letter-spacing:-.055em;line-height:1.08}
.page-head p{margin-top:6px;font-size:13px;color:var(--sub);font-variant-numeric:tabular-nums}
#page-tools{margin-left:auto}
.btn,.iconbtn,.tab{background:#fff;color:var(--ink);font-weight:510;border-color:var(--line);border-radius:8px;min-height:35px}
.btn:hover,.iconbtn:hover,.tab:hover{background:var(--soft)}
.btn.primary,.btn.primary:hover{background:#17181b;color:white;border-color:#17181b}
.btn.primary:hover{background:#36373c}
#page-tools .primary{min-height:38px;padding:8px 15px;border-radius:10px;box-shadow:0 1px 2px #1a1b2024}
.panel{border-color:var(--line);box-shadow:0 2px 5px #171b2605;border-radius:var(--radius)}
.brand-panel{overflow:hidden}
.view-strip{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:0 16px 0 20px;border-bottom:1px solid var(--line);min-height:54px}
.view-strip .page-tabs{margin:0;align-self:stretch;align-items:stretch;gap:22px}
.view-strip .tab,.drawer-head .tab{position:relative;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--sub);padding:7px 0;gap:8px}
.view-strip .tab{font-size:13.5px}
.view-strip .tab[aria-selected=true],.drawer-head .tab[aria-selected=true]{color:var(--ink);font-weight:650}
.view-strip .tab[aria-selected=true]::after,.drawer-head .tab[aria-selected=true]::after{
  content:"";position:absolute;bottom:0;height:2px;inset-inline:0;border-radius:2px;background:var(--ink)
}
.views-button,.toolbar .btn{border-color:transparent;background:transparent;font-size:12.5px;min-height:32px;padding:6px 9px}
.views-button:hover,.toolbar .btn:hover{background:var(--soft)}
.brand-panel .toolbar{padding:12px 16px;align-items:center;gap:10px;border-color:var(--line)}
.searchbox{background:#f4f5f7;border:1px solid transparent;border-radius:8px;max-width:370px;min-height:35px}
.searchbox input{color:var(--ink);font-size:13px}.searchbox input::placeholder{color:#666b75}
.searchbox:focus-within{background:white;border-color:#979ba7;outline:2px solid #161a2412}
kbd{font:11px ui-monospace,monospace;color:#71757e;background:white;border:1px solid #dfe1e6;border-radius:4px;padding:0 5px}
.toolbar .tools{gap:3px}
.toolbar [data-act=segment-runs]{background:#f0f1f4;color:#292b34}
.filters{padding:12px 18px;background:#fafbfc;gap:10px;border-color:var(--line)}
.filters select,.form select,.control,.pager select{border-color:#dfe2e8;border-radius:8px;background-color:white}
select:not([multiple]):not([size]){
  appearance:none;padding-right:27px!important;
  background-image:linear-gradient(45deg,transparent 50%,#777c86 50%),linear-gradient(135deg,#777c86 50%,transparent 50%);
  background-position:calc(100% - 13px) 52%,calc(100% - 9px) 52%;background-size:4px 4px;background-repeat:no-repeat;
}
select option{background:white;color:var(--ink)}
input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#27292e;cursor:pointer}
.brand-panel .footer{height:auto;min-height:44px;padding:7px 16px;font-size:12px;background:white}
.pager{gap:6px}
.pager select{height:28px;padding:2px 7px;border:1px solid var(--line);font:inherit}
.pager .iconbtn{width:27px;min-width:27px;min-height:27px;height:27px;border-color:transparent}
.grid{font-size:13px;font-variant-numeric:tabular-nums;color:#363941}
.grid th,.grid th.first,.workrow.head{background:#f6f7f9;color:#565c68;font-size:11.5px;font-weight:550;letter-spacing:0}
.grid td,.grid th{border-color:#eceef1}
#brand-scroll .grid th{height:37px}
#brand-scroll .grid td{height:44px;padding-block:5px}
.grid td.first,.grid th.first{min-width:224px;max-width:270px;border-right:1px solid #e8e9ee}
.grid td.select,.grid th.select{padding-left:16px;padding-right:8px;width:42px;max-width:42px}
.grid tbody tr:hover td{background-color:#f8f9fb}
.grid tbody tr:has(input[data-select-one]:checked) td{background-color:#f1f3f6}
.grid td.grid-selected,.grid tbody tr:hover td.grid-selected{background-color:#eceff4;box-shadow:inset 0 0 0 1.5px #565b66}
.grid td[data-grid-col]:hover{box-shadow:inset 0 0 0 1px #b2b6c0}
:is(#brand-scroll,[data-capture-scroll]) .grid td.grid-inline{padding-block:2px;background:white;box-shadow:inset 0 0 0 2px #25272d}
.grid-entry textarea,.grid-entry input,.grid-entry select{font:inherit;line-height:1.4}
.brand-row{display:flex;align-items:center;gap:10px}
.brand-text{min-width:0}.grid .record{max-width:100%;font-size:13px;font-weight:620;letter-spacing:-.017em}
.brand-symbol{
  flex:none;width:29px;height:29px;display:inline-grid;place-items:center;overflow:hidden;
  border:1px solid #dfe2e7;border-radius:8px;background:#f1f2f4;color:#42464c;
  font:650 10px/1 -apple-system,BlinkMacSystemFont,Arial,sans-serif;letter-spacing:-.035em;
}
.brand-symbol.ink-1{background:#34363d;color:white;border-color:#34363d}
.brand-symbol.ink-2{background:#e2e5e9;color:#3d434d}
.brand-symbol.ink-3{background:#fafafa;color:#5c6068}
.brand-symbol.ink-4{background:#595d66;color:white;border-color:#595d66}
.badge{background:#eef0f3;color:#545964;border-radius:20px;white-space:nowrap;font-size:11.5px;padding:3px 9px;line-height:1.5}
.badge.excluded{background:#fae6e9;color:#862d41}.badge.good{background:#e3f3eb;color:#216249}.badge.warn{background:#faf0db;color:#81591c}.badge.urgent{background:#fbe9e7;color:#953c34}

.grid td.field-status{min-width:145px}
.grid td.field-owner{min-width:118px}
.person-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:21px;height:21px;margin-right:6px;background:#f0f1f4;border-radius:50%;color:#666d77}
.person-icon svg{width:12px;height:12px}
.grid td.field-date,.grid td.field-count,.grid td.field-amount{font-variant-numeric:tabular-nums}
.grid td[data-grid-choice]:not(.grid-inline)::after{opacity:0}
.grid td[data-grid-choice]:hover::after,.grid td[data-grid-choice]:focus-visible::after,.grid td.field-status[data-grid-choice]::after{opacity:.65}
.grid-editbar,.actionbar,.daily-switch{background:#f1f2f5;border-color:var(--line)}
.basis-tag{font-size:10px;padding:1px 6px}
.drawer{width:min(640px,100vw);border:0;border-left:1px solid var(--line);background:#f7f8fa;box-shadow:-16px 0 60px #18202c20}
.drawer::backdrop,.modal::backdrop{background:rgba(18,22,31,.28)}
.drawer-head{background:white;padding:26px 26px 0;border-color:var(--line);position:sticky;top:0;z-index:2}
.drawer-head .context-title{align-items:center;gap:14px}
.drawer-head .brand-symbol{width:52px;height:52px;border-radius:14px;font-size:18px}
.drawer-head h2{font-size:clamp(23px,2.6vw,34px);font-weight:620;letter-spacing:-.05em}
.drawer-head .kicker{font-size:10px;letter-spacing:.08em;color:var(--sub)}
.drawer-head .muted.space{margin-top:4px}
.drawer-head .tabs{gap:13px;margin:16px 0 0;align-items:stretch}
.drawer-head .tabs button{padding:9px 0;min-height:39px}
.drawer-body{padding:16px 20px 30px}
.card-section{border:1px solid var(--line);border-radius:12px;padding:18px 20px;background:white;margin-bottom:12px}
.card-section h3{font-size:15px;letter-spacing:-.022em}
.card-section.next-step{background:#25272d;color:white;border-color:#25272d}
.card-section.next-step .muted{color:#cacdd4}
.detail-grid{gap:12px 22px}.detail-grid dd{font-weight:510}
.modal{border-color:var(--line);border-radius:17px;box-shadow:0 25px 90px #08101f29}
.modal-head h2{font-weight:630;font-size:23px}.modal-head .iconbtn,.drawer-head .iconbtn{border-radius:50%;background:var(--soft);border-color:transparent}
.scroll-fields,.form input:not([type=checkbox]),.form textarea{border-color:var(--line);border-radius:8px}
.workrow,.list-item,.review-row{border-color:var(--line)}.workrow.head{border-color:var(--line)}
.login{background:#f4f5f7}.login-card{padding:32px;border-radius:18px;box-shadow:0 16px 52px #2023280b}
.login-card .identity{color:var(--ink)}.login-card .product-name{color:#595d65;border-color:var(--line)}
.info{background:#f2f3f6;color:#50555f}.toast{background:#25272d}
:where(button,select,input,textarea,[tabindex]):focus-visible{outline-color:#565e70}
@media(min-width:900px) and (min-height:680px){
  .page:has(.brand-panel){height:calc(100dvh - 64px);min-height:0;padding-top:27px}
  #screen:has(.brand-panel),.brand-panel{min-height:0}
  :is(#brand-scroll,[data-capture-scroll]){overflow:auto;min-height:100px}
}
@media(max-width:1160px) and (min-width:821px){
  .shell .side{padding-inline:16px;gap:10px}.nav{gap:1px}.nav-item{padding-inline:8px}.nav-item svg{display:none}
  .bottom{gap:10px}.product-name{padding-left:10px;font-size:12px}.identity{gap:10px}
}
@media(max-width:820px){
  .shell .side{height:52px;gap:12px;justify-content:flex-start;padding-inline:14px;transform:none}
  .side.open::after{display:none}
  .mobile-menu{display:grid;min-width:30px;min-height:30px;border:0;color:white;background:transparent}
  .mobile-menu:hover{background:#2b2c31}
  .identity{gap:10px}.wordmark{font-size:19px}.product-name{font-size:12px;padding-left:10px}
  .bottom{margin-left:auto;gap:9px}
  .side .nav{display:none;position:absolute;top:calc(100% + 5px);left:9px;min-width:215px;padding:7px;background:var(--side);box-shadow:0 10px 32px #12141e30;border-radius:12px}
  .side.open .nav{display:grid}.nav-item{font-size:14px;min-height:39px}
  .page,.page:has(.brand-panel){padding:22px 12px 14px}
  .page-head,.page:has(.brand-panel) .page-head{margin-bottom:17px}
  .page-head h1,.page:has(.brand-panel) h1{font-size:32px}
  .brand-panel .toolbar{padding:9px 10px;gap:6px}
  .toolbar .tools{gap:1px}.searchbox{max-width:none}
  .drawer-head{padding:17px 16px 0}.drawer-body{padding:12px}.card-section{padding:16px}
  .view-strip{padding:0 9px 0 12px;min-height:47px}.view-strip .page-tabs{gap:14px}
  .grid td.first,.grid th.first{min-width:148px;max-width:175px}.brand-row{gap:6px}.brand-symbol{width:23px;height:23px;font-size:9px}
  .brand-panel .footer{padding:7px 9px}.bottom .local{display:none}
}
@media(max-width:480px){
  .view-strip .tab{font-size:12px;gap:5px}.view-strip .tab svg{width:13px}
  .page-head,.page:has(.brand-panel) .page-head{gap:7px}.page-head p{font-size:12px}
  #page-tools .primary{padding:7px 9px;font-size:12px}
  .toolbar .btn,.views-button{font-size:12px;padding:5px 7px}
  .brand-panel .toolbar>.grow{flex-basis:100%}
  .grid td.select,.grid th.select{padding-left:8px;width:28px}
  .drawer-head .tabs{gap:14px}.card-section h3{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.nav-item{transition:none}}

/* The two shortcuts use the totals from the permission-scoped daily lists. */
.focus-overview{display:flex;align-items:stretch;border:1px solid #dcdfe5;border-radius:13px;background:#fff;overflow:hidden}
.focus-label{display:flex;align-items:center;gap:9px;padding:10px 15px;color:#fff;background:#25262c}
.focus-label>svg{width:18px;height:18px}
.focus-label span{font-weight:600;font-size:12px}
.focus-label small{display:block;font-weight:450;font-size:10px;color:#c4c6cd;letter-spacing:.05em}
.focus-overview button{position:relative;display:grid;align-content:center;gap:1px;text-align:left;background:white;padding:8px 30px 8px 16px;min-width:132px}
.focus-overview button+button{border-left:1px solid var(--line)}
.focus-overview button:hover{background:#f1f2f5}
.focus-overview strong{font-size:24px;line-height:1.05;letter-spacing:-.05em;font-weight:630;font-variant-numeric:tabular-nums}
.focus-overview button span{font-size:11px;color:var(--sub)}
.focus-overview button svg{position:absolute;right:12px;top:13px;width:13px;height:13px;color:#8c919b;transform:rotate(-40deg)}
.brand-text{display:grid;line-height:1.28}
.brand-domain{max-width:100%;color:#717683;font-size:11px;overflow:hidden;text-overflow:ellipsis}
#brand-scroll .brand-row{min-height:36px}
.brand-panel .view-strip{min-height:57px}
.brand-panel [data-act=new-brand]{min-height:32px;padding:5px 11px;font-size:12px}
.person-icon{color:#545865;font-size:10px;font-weight:600}
@media(max-width:720px){
  .page:is([data-page=brands],[data-page=capture]) .page-head{flex-wrap:wrap}
  .page:is([data-page=brands],[data-page=capture]) #page-tools{margin:4px 0 0;display:block;width:100%}
  .focus-overview{width:100%;border-radius:10px}
  .focus-label{gap:6px;padding:8px}.focus-label>svg{display:none}
  .focus-overview button{flex:1;min-width:0;padding:6px 14px}
  .focus-overview button span{font-size:10.5px}
  .focus-overview strong{font-size:18px}
  .focus-overview button svg{top:8px;right:7px;width:10px}
  .view-strip{flex-wrap:wrap;gap:0}
  .view-strip .page-tabs{min-height:43px}.view-strip .tools{gap:2px}
  .brand-panel [data-act=new-brand]{font-size:11px;padding-inline:6px}
}

.grid td.field-source{max-width:190px}
.cta-narrow{display:none}
@media(max-width:540px){
  .brand-panel .view-strip{min-height:46px}
  .view-strip .tools{margin-left:auto}
  .cta-wide{display:none}.cta-narrow{display:inline}
  .view-strip .page-tabs{gap:12px}
}
/* Fixed column geometry keeps an edit inside its original cell. */
#brand-scroll .sheet-table,[data-capture-scroll] .capture-list-table{table-layout:fixed;border-collapse:separate}
#brand-scroll .sheet-table :is(td,th),[data-capture-scroll] .capture-list-table :is(td,th){min-width:0;max-width:none;border-right:1px solid #e7e9ee}
#brand-scroll .sheet-table tr>:last-child,[data-capture-scroll] .grid-fill{padding:0;border-right:0}
#brand-scroll .sheet-table th,[data-capture-scroll] .capture-list-table th{padding:0 8px;overflow:visible;background:#f4f5f8}
#brand-scroll .sheet-table .select{text-align:center;padding:0}
#brand-scroll .sheet-table td,[data-capture-scroll] .capture-list-table td{height:36px;padding-block:3px}
#brand-scroll .sheet-table .first{background:#fff}
#brand-scroll .sheet-table th.first{background:#f4f5f8}
:is(#brand-scroll,[data-capture-scroll]) .brand-row{min-height:32px}
:is(#brand-scroll,[data-capture-scroll]) .brand-symbol{display:none}
:is(#brand-scroll,[data-capture-scroll]) .brand-text{line-height:1.15;gap:1px}
:is(#brand-scroll,[data-capture-scroll]) .brand-text small{font-size:10px}
:is(#brand-scroll,[data-capture-scroll]) .brand-text button{justify-self:start}
.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:7px 4px;width:100%;background:transparent;text-align:left;color:#424852;font:inherit;touch-action:pan-y}
.sheet-heading span{overflow:hidden;text-overflow:ellipsis}.sheet-heading small{color:#626975;font-size:12px;opacity:.7}
th:hover .sheet-heading small,th:focus-within .sheet-heading small,th[aria-sort=ascending] small,th[aria-sort=descending] small{opacity:1}
.width-handle{position:absolute;right:0;top:0;bottom:0;width:9px;z-index:2;cursor:col-resize;touch-action:none}
.width-handle:hover,.width-handle:focus-visible{background:linear-gradient(to right,transparent 3px,#848c9a 3px,#848c9a 5px,transparent 5px)}
#brand-scroll th.column-moving{background:#e8ebf0;user-select:none}
:is(#brand-scroll,[data-capture-scroll]) .grid td.grid-inline{position:relative;padding:3px 12px;border-radius:0;background:white}
.capture-edit-slot.grid-inline{position:relative}
.grid-footprint{visibility:hidden;pointer-events:none;white-space:nowrap}
.grid-inline .grid-entry{position:absolute;inset:2px;display:grid;background:#fff;overflow:hidden}
.grid-inline .grid-entry [data-grid-input],.grid-inline .grid-entry [data-choice-search]{width:100%;height:100%;min-width:0;min-height:0;max-height:100%;padding:2px 9px;resize:none;border:0;border-radius:0;background:white;font:inherit;outline:0}
.grid-inline .grid-entry textarea{line-height:1.2}
.sheet-quick{display:flex;align-items:center;gap:6px;margin-right:auto}
#sheet-choices{position:fixed;z-index:12;overflow:auto;overscroll-behavior:contain;padding:4px;border:1px solid #d8dce3;border-radius:8px;background:#fff;box-shadow:0 8px 26px #20263221}
#sheet-choices button{display:block;width:100%;padding:7px 10px;border-radius:4px;background:transparent;text-align:left;font-size:13px}
.choice-lens{position:absolute;left:8px;top:50%;transform:translateY(-50%);display:flex;color:var(--sub);pointer-events:none}
.choice-lens svg{width:14px;height:14px}
.grid-inline .grid-entry [data-choice-search]{padding-left:28px}
#sheet-choices .badge{pointer-events:none}
#sheet-choices .choice-clear{color:var(--sub);font-size:12px}
#sheet-choices button.active,#sheet-choices button:hover{background:#eceff4}
#sheet-choices button[aria-selected=true]{font-weight:650}
#sheet-choices p{padding:7px;color:var(--sub)}
.footer .grid-editbar{padding:0;background:transparent;border:0}
.footer .grid-tools{gap:8px}
#brand-scroll td[data-grid-col]{user-select:none}
#brand-scroll .grid-entry input,#brand-scroll .grid-entry textarea{user-select:text}
.save-status{color:var(--sub);font-size:11px;margin-inline-end:auto}
@media(max-width:820px){.sheet-quick{flex-wrap:wrap}.sheet-quick select{max-width:145px}.brand-panel .toolbar{justify-content:flex-start}}

:is(.sheet-table,.capture-list-table,[data-focus-scope="CAPTURE"]) tbody tr:nth-child(even)>td:not(.grid-selected):not(.grid-inline){background-color:#f8f9fb}
:is(.sheet-table,.capture-list-table,[data-focus-scope="CAPTURE"]) tbody tr:hover>td:not(.grid-selected):not(.grid-inline){background-color:#eef1f5}
.badge.blue{background:#e6efff;color:#245298}.badge.renewed{background:#d9eeef;color:#175f73}
.badge.violet{background:#eee6fb;color:#70409b}.badge.forest{background:#cfe9dc;color:#115339}
.badge.orange{background:#ffead8;color:#994715}

.cell-warning{margin-left:7px;color:#986019}.call-cell input{accent-color:#178452;width:17px;height:17px;vertical-align:middle}
.handle-list{background:none;padding:0;color:inherit}.handle-list small{padding:2px 5px;border-radius:4px;background:#e8edf3}.handle-popup{padding:8px 24px;line-height:1.8}
#modal:has([data-form=advanced]){margin:0 0 0 auto;width:min(620px,100%);max-width:100%;height:100dvh;max-height:100dvh;border-radius:12px 0 0 12px}
[data-rule-group]{border:1px solid #dee2e7;padding:14px;border-radius:9px;background:#f9fafb}[data-rule-group]+[data-rule-group]::before{content:'ODER';font-size:10px;letter-spacing:.08em;color:#747887}

.brand-text{position:relative}.brand-text .edit-name{opacity:0;position:absolute;right:0;top:0;background:#fff;border-radius:3px;padding:0 4px;font-size:15px}.brand-row:hover .edit-name,.edit-name:focus-visible{opacity:1}
.history-list{list-style:none;margin:12px 0;padding:0}.history-list li{display:flex;gap:10px;border-top:1px solid var(--line);padding:12px 0}.history-list p{white-space:pre-wrap;overflow-wrap:anywhere}.history-list small{color:var(--sub)}
.person-photo{width:22px;height:22px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:5px}.avatar .person-photo{width:100%;height:100%;margin:0}.avatar .person-icon{background:transparent;color:inherit}

#modal:has([data-form=columns]){width:min(800px,96vw)}.columns-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}.columns-layout>section{border:1px solid var(--line);border-radius:8px;overflow:hidden}.columns-layout h3{font-size:13px;padding:10px 12px;background:#f5f6f8}.columns-layout section>div{overflow:auto;max-height:44vh;min-height:100px}.column-option{display:flex;align-items:center;padding:5px 8px;border-bottom:1px solid #edeff2;gap:4px;min-height:34px}.column-option label{flex:1;min-width:0;font-size:12px}.column-option[draggable=true]{cursor:grab}.column-move{display:flex}.column-move button{padding:2px 5px;color:#525966;background:transparent}.column-option[draggable=false] .column-move{display:none}.column-option[hidden]{display:none}
.handle-float{position:fixed;z-index:14;padding:8px 16px 8px 25px;max-height:225px;overflow:auto;background:#fff;box-shadow:0 6px 25px #171b2624;border:1px solid var(--line);border-radius:7px;font-size:12px;max-width:270px;overflow-wrap:anywhere}
@media(max-width:580px){.columns-layout{grid-template-columns:1fr}.columns-layout section>div{max-height:22vh}}
.match-value{color:#634089;font-size:12px;font-weight:600}
.filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:4px 14px 8px}.filter-chips button{border:1px solid var(--line);border-radius:14px;padding:3px 9px;font-size:11px;background:#f6f7f9}

.match-flag{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:4px;padding:0 3px;border:0;border-radius:4px;background:#efe8fa;color:#673991;font:700 14px/1 sans-serif;vertical-align:middle}.dupe-proof{margin:0 0 5px;font-size:12px;color:#694281}

.part-chip{padding:3px 8px;background:#f5f5f7;color:#34343b;border:1px solid var(--line);border-radius:6px;margin:2px 1px;font-size:12px}.part-chip:hover,.part-chip:focus-visible{background:#ededf2}

.col-grip{width:9px;height:14px;flex:0 0 9px;background:radial-gradient(circle,#89929c 1.2px,transparent 1.45px) 0 0 / 4.5px 4.5px;cursor:grab}.column-controls{display:flex;align-items:stretch;min-width:0;padding-right:5px}
.column-controls .sheet-heading{flex:1;min-width:0;width:auto}
.sheet-heading[data-sort]{cursor:pointer}
.column-drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;user-select:none}
.column-drag-handle:active,.sheet-table th.column-moving .column-drag-handle{cursor:grabbing}
.column-drag-handle .col-grip{pointer-events:none}
.column-move[hidden]{display:none}
.sheet-table td[data-local-field=true]{background-image:none!important}.grid-hint,.match-flag{display:inline-grid;place-items:center;margin-inline-start:5px;vertical-align:middle;cursor:help;border:0;border-radius:5px;min-width:16px;height:17px;font:600 12px/1 system-ui}.grid-hint.positive,.grid-hint.checked{background:#dff3e9;color:#1c704a}.grid-hint.attention{background:#ffefd3;color:#865310}.grid-hint.match{background:#ece6f6;color:#674593}.grid-hint.unset{background:transparent;color:#9b9fa6}.grid-hint:focus-visible,[data-tip]:focus-visible{outline:2px solid #67798d;outline-offset:2px}
#navigator-tip{position:fixed;inset:auto;margin:0;box-sizing:border-box;max-width:min(310px,calc(100vw - 16px));border:0;border-radius:8px;padding:9px 12px;box-shadow:0 5px 20px #1f26312a;background:#262b32;color:white;font:12px/1.5 system-ui;pointer-events:none;z-index:1000}
#brand-scroll .sheet-table td:is(.call-cell,.follow-flag),[data-capture-value=call]{padding:0;text-align:center;vertical-align:middle}.call-control{display:inline-grid;place-items:center;position:relative;width:32px;height:32px;vertical-align:middle;cursor:pointer}.call-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.call-control span{width:18px;height:18px;box-sizing:border-box;border:1.4px solid #b4bcc5;border-radius:5px;background:white;pointer-events:none;box-shadow:0 1px 2px #1c24300d}.call-control input:checked+span{background:#23815c;border-color:#23815c}.call-control input:checked+span:after{content:'';display:block;width:8px;height:4px;transform:translate(3.2px,4.1px) rotate(-45deg);border-left:1.8px solid white;border-bottom:1.8px solid white}.call-control input:focus-visible+span{outline:2px solid #344758;outline-offset:3px}.call-control input:disabled{cursor:default}.follow-flag .grid-hint{margin:0}.badge{border-radius:6px;white-space:nowrap}
@supports (appearance:base-select){select:not([multiple]):not([size]),select:not([multiple]):not([size])::picker(select){appearance:base-select}select:not([multiple]){align-items:center;column-gap:8px}select::picker-icon{content:'⌄';color:#707985}select::picker(select){min-width:anchor-size(width);max-width:min(460px,94vw);max-height:min(360px,55vh);overflow:auto;padding:5px;border:1px solid #d9dde3;border-radius:10px;background:#fff;box-shadow:0 12px 30px #1b212c21}select option{min-height:31px;padding:5px 9px;border-radius:5px;color:#242a31;font:13px/1.4 system-ui}select option:checked{background:#edf0f4;font-weight:600}select option:focus,select option:hover{background:#f2f4f6}select option::checkmark{order:2;margin-left:auto;color:#52606d}}

.scroll-grid:is(.all-brands,.paged-window){overflow-anchor:none}.all-brands .sheet-table tbody tr[data-brand]{height:52px}.all-brands .sheet-table tbody tr[data-brand]>td{height:52px;white-space:nowrap;box-sizing:border-box}.all-brands .sheet-table tbody tr[data-brand] .brand-row{height:42px;max-height:42px;overflow:hidden}:is(.all-brands,.paged-window) tr.grid-spacer td{padding:0!important;border:0!important;line-height:0!important;background:transparent!important}.pager button[hidden]{display:none}.all-brands:focus-visible{outline:1px solid #617384}
.crm-owner-cell{display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 23px);overflow:hidden;white-space:nowrap;border:0;background:transparent;font:inherit;color:inherit;padding:3px 1px;border-radius:4px;cursor:pointer}.crm-owner-cell:hover{box-shadow:0 1px 0 #525d69}.crm-owner-cell:focus-visible{outline:2px solid #536a7b}a[data-open-hs-contact][hidden]{display:none}


.owner-controls{display:inline-flex;align-items:center;gap:4px;max-width:100%;vertical-align:middle}.owner-controls>.crm-owner-cell{min-width:0;max-width:100%}.owner-controls>.owner-issues-button{display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0;padding:1px;border:0;background:transparent;color:#97601b;cursor:pointer}
.owner-issues-button svg{width:15px;height:15px}
.owner-issues-button:focus-visible{outline:2px solid #536a7b;border-radius:3px}.owner-controls>.owner-issues-button[hidden]{display:none}.crm-owner-cell:not(:has(+.grid-hint)){max-width:100%}.crm-owner-cell .person-icon,.crm-owner-cell .person-photo{flex:none;margin-inline-end:2px}
@supports (appearance:base-select){
  select:not([multiple]):not([size]){background-image:none;padding-inline-end:9px!important}
  select::picker-icon{content:'';width:6px;height:6px;border:solid #75808b;border-width:0 1.2px 1.2px 0;transform:translateY(-1px) rotate(45deg);margin-inline:4px 2px}
  select:open::picker-icon{transform:translateY(2px) rotate(225deg)}
}

/* Both paged and continuous views use the same two-line record height. */
:is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand]),:is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand])>td{height:36px;box-sizing:border-box}
:is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand])>td{padding-block:1px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand]) .brand-row{height:32px;min-height:32px;max-height:32px;overflow:hidden}
:is(#brand-scroll,[data-capture-scroll]) .brand-text{width:100%;padding:0;display:grid;grid-template-rows:18px 14px;gap:0;align-content:center;min-width:0}
:is(#brand-scroll,[data-capture-scroll]) .brand-title-line,:is(#brand-scroll,[data-capture-scroll]) .brand-meta-line{display:flex;align-items:center;min-width:0;gap:4px;max-width:100%;overflow:hidden}
:is(#brand-scroll,[data-capture-scroll]) .brand-title-line .record,:is(#brand-scroll,[data-capture-scroll]) .brand-domain{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#brand-scroll,[data-capture-scroll]) .brand-title-line .record{flex:0 1 auto}
:is(#brand-scroll,[data-capture-scroll]) .brand-title-line :is(.match-flag,.edit-name),:is(#brand-scroll,[data-capture-scroll]) .brand-meta-line :is(.basis-tag,.grid-hint){flex:none;position:static;margin:0}
:is(#brand-scroll,[data-capture-scroll]) .brand-meta-line .basis-tag{display:grid;place-items:center;width:15px;height:14px;padding:0;color:#795f37;background:transparent}
:is(#brand-scroll,[data-capture-scroll]) :is(.basis-tag,.grid-hint) svg{width:14px;height:14px;stroke-width:1.9}
.grid-hint.attention{background:transparent;color:#97601b}.grid-hint.neutral{background:transparent;color:#748091}.grid-hint.positive{background:#e2f3e9;color:#176948}
.instagram-profile{color:inherit;text-decoration:none;text-underline-offset:3px}.instagram-profile:hover,.instagram-profile:focus-visible{text-decoration:underline}
.handles-cell .handle-list{margin-inline-start:5px}

.add-company-id{padding:1px 0;color:#627183;background:transparent;font-size:12px}.add-company-id:hover{text-decoration:underline;text-underline-offset:3px}

.boolean-mark{display:inline-grid;place-items:center;width:20px;height:20px;vertical-align:middle;border-radius:6px;font:500 14px/1 system-ui}
.boolean-mark.is-yes{color:#176748;background:#e1f2e9}.boolean-mark.is-no{color:#798184;background:transparent}.boolean-mark.is-unset{color:#798184}
.boolean-mark svg{width:14px;height:14px;stroke-width:2}.sheet-table td.field-flag{text-align:center}

:is(#brand-scroll,[data-capture-scroll]).all-brands .sheet-table tr.grid-spacer td {
  background: #fafbfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='42'%3E%3Cpath d='M0 41.5H180' stroke='%23e7ebed'/%3E%3Crect x='15' y='18' width='68' height='6' rx='3' fill='%23e7ebed'/%3E%3C/svg%3E") left top repeat !important;
}
.brand-panel .window-status {display:flex;align-items:center;gap:8px;color:var(--sub);font-size:12px}
.brand-panel .window-status[hidden],.window-status [hidden]{display:none}

/* Treffer-Symbole sind anklickbar und zeigen deshalb die Hand statt des Fragezeichens. */
button.match-flag{cursor:pointer}

/* Brand drawer and team profiles */
.drawer .drawer-head{padding:22px 24px 0}.drawer .drawer-head .context-title{align-items:flex-start;gap:12px}.drawer .drawer-head .grow{min-width:0}
.drawer .drawer-head h2{font-size:clamp(21px,2.2vw,30px);line-height:1.18;letter-spacing:-.045em;overflow-wrap:anywhere}
.drawer-head .brand-address{display:flex;gap:6px;align-items:center;flex-wrap:wrap;color:var(--sub);font-size:13px;margin-top:5px}
.drawer-head .brand-address a{color:inherit;text-underline-offset:3px}
.drawer .drawer-head .tabs{display:flex;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;gap:16px;margin-top:14px;scrollbar-width:thin}
.drawer-head [role=tab]{flex:none;white-space:nowrap}.drawer .drawer-body{display:grid;gap:12px;padding:17px 20px 30px}
.drawer-body>.card-section{margin:0}.case-section{min-width:0;border:1px solid var(--line);border-radius:12px;background:white;padding:16px 18px}
.case-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px;margin-bottom:11px}.case-section h3{margin:0;font-size:14px;font-weight:650;letter-spacing:-.015em}
.case-section-title .linkbtn{display:inline-flex;align-items:center;gap:3px;color:var(--sub);font-size:12px}.case-section-title .linkbtn svg{width:12px;height:12px}.case-section-title .small{min-height:25px;padding:2px 7px;font-size:12px}
.case-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:0}
.case-facts dt,.case-source{font-size:11.5px;color:var(--sub)}.case-facts dd{margin:4px 0 0;line-height:1.4;font-size:13px;color:var(--ink);font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.case-facts dd .linkbtn{text-align:left;font-size:inherit;font-weight:inherit;text-decoration:underline;text-decoration-color:#c8ccd2;text-underline-offset:3px}
.case-source{display:block;margin-top:14px}.case-action{border-inline-start:3px solid #565f6a}.case-action .case-section-title{margin-bottom:5px}.case-action>p{font-weight:560;font-size:14px}.case-action>small{display:block;margin-top:6px}
.case-evidence{margin-top:8px;color:var(--sub);font-size:12px}.case-evidence summary,.team-directory summary,.account-form summary{cursor:pointer}.case-evidence p{margin-top:6px}
.profile-person{display:inline-flex;vertical-align:middle;align-items:center;gap:6px;max-width:100%}
.profile-person .person-icon,.profile-person .person-photo,.team-directory .person-icon,.team-directory .person-photo{margin:0;flex:none}
.activity-section .case-section-title{align-items:flex-start}.activity-section select{max-width:65%;min-width:0;font:inherit;font-size:12px}
.event-day h4{margin:17px 0 7px;font-size:11px;font-weight:600;color:var(--sub)}.event-day ol{margin:0;padding:0;list-style:none}
.case-event{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:4px 9px;padding:8px 0 12px}
.case-event:not(:last-child)::after{position:absolute;content:"";top:31px;bottom:-6px;left:11px;width:1px;background:var(--line)}
.event-by strong{font-weight:600}.event-by span{display:block;color:var(--sub);font-size:12px;overflow-wrap:anywhere}.case-event time{color:var(--sub);font-size:11px;white-space:nowrap}
.event-values,.event-note{grid-column:2/-1;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}
.event-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fbfbfc}
.event-values small{display:block;font-size:10px;color:var(--sub);margin-bottom:3px}
.team-directory{background:white;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-top:14px}
.team-directory summary{font-size:13px;font-weight:600}.team-directory summary span{color:var(--sub);font-variant-numeric:tabular-nums}
.team-directory ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;padding:12px 0 0;list-style:none;margin:0}
.team-directory li{display:flex;align-items:center;gap:8px;padding:7px 0}.team-directory li strong,.team-directory li small{display:block}.team-directory li small{color:var(--sub)}
.account-table h2{margin:0;font-size:16px}.account-table .toolbar{justify-content:space-between}.account-table .scroll-grid{height:auto;max-height:52vh}
.account-form fieldset{border:0;border-bottom:1px solid var(--line);margin:0;padding:4px 0 14px;min-width:0}.account-form legend{font-weight:650;font-size:13px;margin-bottom:7px}.account-form small{color:var(--sub)}
.account-form .form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-form .form-pair input,.account-form select{max-width:100%;min-width:0}
.account-form details{margin-top:10px;font-size:12px}.profile-choice{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.profile-choice label{min-width:0;flex:1}.profile-choice .person-icon,.profile-choice .person-photo,.account-profile .person-icon,.account-profile .person-photo{width:36px;height:36px;font-size:14px}
.account-form .account-state{display:flex;justify-content:flex-start}.account-form [data-profile-suggestion]{display:block;margin-top:5px}
@media(max-width:600px){.drawer .drawer-head{padding:16px 14px 0}.drawer .drawer-body{padding:12px;gap:10px}.drawer .drawer-head .tabs{gap:14px}.case-section{padding:13px}.case-facts{gap:11px}.account-form .form-pair{grid-template-columns:1fr}.event-values{grid-template-columns:1fr}}

#modal:has(.column-picker){width:min(860px,calc(100vw - 32px));max-height:92dvh;border-radius:18px}
#modal:has(.column-picker) .modal-head{padding:20px 24px 4px;border:0}
#modal:has(.column-picker) .modal-content{padding:0 24px 18px}
.column-picker{display:grid;gap:16px}
.column-picker .picker-scope{color:#64696e;font-size:13px;line-height:1.5;margin:0}
.picker-search{display:flex;align-items:center;gap:9px;background:#f6f7f7;border:1px solid #dfe2e3;border-radius:10px;min-height:40px;padding:0 11px;color:#696e73}
.picker-search:focus-within{background:#fff;border-color:#747b81;box-shadow:0 0 0 2px #24282a12}
.column-picker .picker-search input[type=search]{flex:1;width:100%;min-width:0;height:38px;box-shadow:none;border:0;border-radius:0;background:transparent;padding:0;outline:none;font-size:13px;color:var(--ink)}
.picker-search input::-webkit-search-cancel-button{display:none}
.picker-search>svg,.picker-search button svg{width:16px;height:16px}
.picker-search button{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:transparent}
.picker-search button:hover{background:#e6e8e9}
.picker-panes{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}
.picker-pane{position:relative;min-width:0;border:1px solid #dfe2e3;border-radius:11px;overflow:hidden;background:white}
.picker-pane>header{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #e7e9e9;background:#f8f9f9}
.picker-pane h3{font-size:13px;line-height:20px;font-weight:650}
.picker-count,.picker-origin{font-variant-numeric:tabular-nums;color:#656b6f}
.picker-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:19px;padding:0 5px;border:1px solid #dfe2e3;border-radius:6px;background:white;font-size:11px}
.picker-list{height:clamp(160px,38vh,365px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccd0d2 transparent}
.picker-empty{position:absolute;inset:44px 12px 0;display:grid;place-items:center;pointer-events:none;font-size:13px;color:#696e73;text-align:center}
.column-picker [hidden]{display:none!important}
.column-picker .column-option{position:relative;display:flex;align-items:center;min-height:38px;padding:0 8px;gap:5px;border:0;border-bottom:1px solid #f0f1f1}
.column-picker .column-option:hover,.column-picker .column-option:focus-within{background:#f5f6f6}
.column-picker label.picker-choice{display:flex;flex-direction:row;align-items:center;min-width:0;min-height:38px;gap:9px;flex:1;margin:0;font-size:13px;line-height:1.3;font-weight:450;color:var(--ink);cursor:pointer}
.column-picker .picker-choice input{position:absolute;width:1px;height:1px;opacity:0;padding:0;margin:0}
.picker-tick{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border:1px solid #b3b9bd;background:white;border-radius:5px}
.picker-tick svg{width:12px;height:12px;stroke-width:2.7;visibility:hidden}
.picker-choice input:checked+.picker-tick{background:#232729;border-color:#232729;color:white}
.picker-choice input:checked+.picker-tick svg{visibility:visible}
.picker-choice input:focus-visible+.picker-tick{outline:2px solid #5c707d;outline-offset:2px}
.picker-name{overflow-wrap:anywhere}
.picker-origin{font-size:10px;white-space:nowrap}
.picker-grip{display:inline-flex;align-items:center;justify-content:center;width:16px;flex:0 0 16px;order:-1;cursor:grab}
.column-picker .column-move{display:flex;align-items:center;gap:1px}
.column-picker .column-move button{display:grid;place-items:center;width:24px;height:26px;border-radius:5px;background:transparent;color:#60666b;padding:0}
.column-picker .column-move button:enabled:hover{background:#e3e6e7;color:#17191a}
.column-picker .column-move button:disabled{opacity:.25}
.column-picker .column-move svg{width:12px;height:12px;stroke-width:2}
.column-picker [data-col-move="top"]{opacity:0}
.column-picker .column-option:is(:hover,:focus-within) [data-col-move="top"]:enabled{opacity:1}
@media(hover:none){.column-picker [data-col-move="top"]:enabled{opacity:1}}
.column-picker [data-col-move="-1"] svg{transform:rotate(-90deg)}
.column-picker [data-col-move="1"] svg{transform:rotate(90deg)}
.column-picker [draggable=false] .picker-grip,.column-picker [draggable=false] .column-move{display:none}
.column-picker .picker-dragged{opacity:.42}
.column-picker .picker-drag-active>.column-option{pointer-events:none}
.column-picker [data-drop=before]{box-shadow:inset 0 2px #343a3f}
.column-picker [data-drop=after]{box-shadow:inset 0 -2px #343a3f}
.picker-footer,.picker-settings{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.picker-footer{padding-top:12px;border-top:1px solid #e7e9e9;justify-content:space-between;gap:8px}
.picker-settings{flex:1}
.picker-settings .btn{min-height:30px;padding:5px 7px;font-size:11px;font-weight:550;background:transparent;box-shadow:none;border:0;color:#50565b}
.picker-settings .btn:hover{background:#f1f2f2;color:#191c1e}
.picker-footer>.primary{white-space:nowrap;border-radius:8px}
@media(max-width:620px){
  #modal:has(.column-picker){width:calc(100vw - 20px);max-height:94dvh;border-radius:13px}
  #modal:has(.column-picker) .modal-head{padding:14px 14px 3px}
  #modal:has(.column-picker) .modal-content{padding:0 14px 12px}
  .column-picker{gap:10px}
  .picker-panes{grid-template-columns:1fr;gap:9px}
  .picker-pane>header{padding:6px 10px}
  .picker-list{height:clamp(90px,20dvh,170px)}
  .picker-empty{inset-block-start:32px}
  .picker-footer{align-items:stretch}
  .picker-settings,.picker-footer>.primary{width:100%;flex:auto}
  .picker-settings{justify-content:flex-start}
  .picker-settings .btn{padding:4px 5px}
}
@media(prefers-reduced-motion:no-preference){
  .picker-search,.picker-tick{transition:background-color .12s ease,border-color .12s ease}
}

.picker-segment{font-size:10px;line-height:1.5;color:#4a5754;background:#eef1f0;border-radius:5px;padding:1px 5px;white-space:nowrap;margin-left:auto}.picker-segment[data-scope=MaxPlus]{background:#eaf2ed;color:#37523e}.picker-segment[data-scope=CAPTURE]{background:#f0edf7;color:#53466a}

.team-default-view{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:14px}
.team-default-view>header,.team-default-action{display:flex;align-items:center;justify-content:space-between;gap:16px}
.team-default-view>header strong{font-size:14px}
.team-default-action p{margin:0;color:var(--sub);font-size:13px;line-height:1.45}
.team-default-action .btn{min-inline-size:9.5em;justify-content:center;flex:none}
@media(max-width:480px){.team-default-action{align-items:flex-start;flex-direction:column;gap:6px}}
.team-default-view small{color:#596470}

.capture-list-table{table-layout:fixed}
.capture-list-table :is(td,th){max-width:none;overflow:hidden;text-overflow:ellipsis}
.capture-list-table th{position:sticky;white-space:nowrap}
.capture-list-table .column-drag-handle{vertical-align:middle}
[data-capture-scroll] .grid :is(td,th).select{text-align:center;padding:0}
.capture-list-table[data-pin-count="1"] tr>:nth-child(3),.capture-list-table[data-pin-count="2"] tr>:nth-child(3){position:sticky;left:var(--pin-left-1);z-index:1;background:var(--surface,#fff)}
.capture-list-table[data-pin-count="2"] tr>:nth-child(4){position:sticky;left:var(--pin-left-2);z-index:1;background:var(--surface,#fff)}
.capture-list-table th.first,.capture-list-table[data-pin-count] thead tr>th:nth-child(-n+4){z-index:3;background:#f4f5f8}

.saved-view-publish{flex:none;font-size:12px}
@media(max-width:540px){.saved-view-row:has(.saved-view-publish){display:grid;grid-template-columns:minmax(0,1fr) auto}.saved-view-row .saved-view-publish{grid-row:2;grid-column:1;justify-self:start;margin:0 0 8px 12px}.saved-view-row .saved-view-remove{grid-column:2;grid-row:1}}

.saved-view-current{display:inline-flex;align-items:center;gap:4px;padding-inline:5px;color:#32644d;font-weight:600}.saved-view-current svg{width:14px;height:14px}

.views-button #active-sales-view{display:block;max-width:clamp(8em,19vw,22em);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.view-current-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.view-current-summary>div{display:grid;gap:3px;min-width:0}
.view-current-summary small{color:var(--sub)}
.view-current-summary strong{overflow-wrap:anywhere}
.view-current-summary .btn{flex:none}
.view-active-mark{display:inline-flex;margin-inline-start:.6em;color:#35634e;font-size:11px;font-weight:600}
.saved-view-open[aria-current="true"] .saved-view-symbol{background:#dcece1}

.quick-choice{
  appearance:none;display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:min(290px,78vw);
  height:32px;flex:0 1 auto;padding:0 10px;border:1px solid #dce0e1;border-radius:18px;
  background:#fff;color:#3b4143;line-height:1;font-family:inherit;font-size:12px;font-weight:580;
  white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px #111b2008;
}
.quick-choice:hover,.quick-choice[aria-expanded=true]{background:#f5f6f6;border-color:#acb4b6;color:#161a1b}
.quick-choice:focus-visible,.sales-choice-popover [role=listbox]:focus-visible{outline:2px solid #454d52;outline-offset:2px}
.quick-choice.is-selected{background:#f5f6f6;border-color:#bec5c7}
.quick-choice-icon,.quick-choice-chevron,.choice-check{display:inline-flex;align-items:center;justify-content:center;flex:none}
.quick-choice svg,.sales-choice-popover svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.quick-choice-icon{color:#657074}
.quick-choice-label,.choice-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-choice-chevron{color:#768184;margin-left:1px}
.quick-choice-chevron svg{height:11px;width:11px;transform:rotate(90deg)}
.quick-choice[aria-expanded=true] .quick-choice-chevron svg{transform:rotate(-90deg)}
.quick-choice-value{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;border-left:1px solid #cbd1d2;padding-left:7px;font-weight:540}
.quick-choice.is-selected .quick-choice-label{flex-shrink:0}
.quick-choice-value .badge,.sales-choice-item .badge{display:inline-block;max-width:100%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle}
.quick-choice-value :is(.person-photo,.person-icon){width:19px;height:19px;min-width:19px;font-size:8px;line-height:19px}
.sales-choice-popover{position:fixed;z-index:10000;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;
  padding:0;margin:0;border:1px solid #d9dedf;border-radius:13px;background:#fff;color:#252b2d;
  box-shadow:0 16px 42px #16262b21,0 3px 9px #16262b0d;font:inherit;text-align:left}
.sales-choice-search{display:flex;flex:none;align-items:center;gap:9px;margin:0 12px;padding:2px 1px;border-bottom:1px solid #e9eced;color:#748085}
.sales-choice-search svg{flex:none}
.sales-choice-popover .sales-choice-search input[type=search]{appearance:none;min-width:0;width:100%;height:40px;padding:0;margin:0;border:0;border-radius:0;outline:0;box-shadow:none;background:transparent;color:#192022;font:inherit;font-size:13px}
.sales-choice-search input::placeholder{color:#7a8589;opacity:1}
.sales-choice-list{padding:5px;min-height:0;max-height:min(340px,52dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;outline:none}
.sales-choice-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;box-sizing:border-box;padding:6px 9px;color:#31393c;border-radius:7px;line-height:1.4;font-family:inherit;font-size:13px;font-weight:470;cursor:pointer}
.sales-choice-item.is-highlighted{background:#eef1f2}
.sales-choice-item[aria-selected=true]{font-weight:620}
.sales-choice-item.choice-reset{color:#586368}
.sales-choice-item.choice-reset:has(+.sales-choice-item){border-bottom:1px solid #e6eaeb;margin-bottom:4px}
.sales-choice-item .choice-content{display:flex;min-width:0;align-items:center;gap:8px}
.choice-status{display:inline-flex;min-width:0;max-width:100%}

.sales-choice-item .choice-check svg{width:15px;height:15px;stroke-width:2}
.sales-choice-item :is(.person-icon,.person-photo){width:23px;height:23px;min-width:23px;font-size:9px;line-height:23px}
.sales-choice-empty{color:#687479;text-align:center;padding:18px 8px;font-size:13px}
@media(max-width:720px){.quick-choice.is-selected .quick-choice-label{display:none}.quick-choice.is-selected .quick-choice-value{border-left:0;padding-left:0}}

.multi-source-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px;border-top:1px solid var(--line)}.multi-source-footer small{flex:1;color:var(--sub);font-size:11px}
.badge svg{display:inline-block;width:12px;height:12px;vertical-align:-2px;margin-right:4px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.field-source[data-source-edit]{cursor:pointer}
.field-source .source-tags{max-width:100%}
.sales-choice-item[aria-disabled=true]{opacity:.62;cursor:default}
.choice-status .badge:has(svg)::before{display:none}

.field-status .badge:has(svg)::before,.field-feedback .badge:has(svg)::before,.badge:has(svg)::before{content:none;display:none}

.legacy-workbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;padding:8px 14px;border-top:1px solid var(--line);font-size:12px}
.legacy-workchip,.legacy-evidence{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#384440;border:1px solid #d5ddd8;background:#f3f6f4;cursor:pointer}
.legacy-workchip{border-radius:999px;padding:5px 9px;font:inherit;font-weight:600}
.legacy-workchip svg,.legacy-evidence svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.legacy-skip{display:inline-flex;align-items:center;gap:6px;color:var(--sub);cursor:pointer}
.legacy-skip input{accent-color:#273f32}
.legacy-evidence{height:21px;width:22px;border-radius:5px;padding:0;flex:none}
.legacy-workchip:hover,.legacy-evidence:hover{background:#e6ece8}
.legacy-evidence-list small{display:block;color:var(--sub);margin:4px 0}
.legacy-evidence-list p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}

.manual-source-choice{width:100%;max-width:none;justify-content:space-between;height:38px;border-radius:8px;font-weight:500}
.manual-source-choice .choice-content{display:inline-flex;align-items:center;gap:8px;min-width:0}
.manual-source-choice .choice-content span{overflow:hidden;text-overflow:ellipsis}
.manual-source-field{display:grid;gap:5px}

/* Controls used in the filter editor, account forms and the list footer. */
:is(dialog select:not([multiple]), .pager #page-size) {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 6 3.5 3.5L11.5 6' stroke='%23596369' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 31px;
  cursor: pointer;
}
:is(dialog select:not([multiple]), .pager #page-size):is(:hover,:focus-visible,[aria-expanded=true]) {border-color:#929b9d}
.pager #page-size {height:30px;min-width:68px;border-radius:8px;padding-left:10px}
#sheet-choices {border-radius:12px;padding:5px;box-shadow:0 12px 32px #1b24201a,0 2px 7px #1b24200b}
#sheet-choices button {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:33px;border-radius:6px}
#sheet-choices button.active,#sheet-choices button:hover {background:#f0f2f2}
#sheet-choices button>svg {margin-left:auto;width:15px;height:15px;color:#35403a}
.filter-set {display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px}
.filter-chips .filter-join {font-size:11px;font-weight:600;color:#656e70}
.filter-chips button {display:inline-flex;align-items:center;gap:6px;padding:4px 7px 4px 9px;border-radius:7px;color:#34403d;background:#f4f6f5;border:1px solid #dae1df}
.filter-chips button:hover {background:#e9eeec}
.filter-chips button svg {width:12px;height:12px}
#modal:has([data-form=advanced]) {width:min(670px,100%);border:0;border-radius:14px 0 0 14px;box-shadow:-12px 0 48px #19201d1a}
#modal:has([data-form=advanced]) .modal-head {padding:20px 24px;border-bottom:1px solid #e4e7e6}
#modal:has([data-form=advanced]) .modal-content {padding:20px 24px}
[data-form=advanced] [data-rule-groups] {counter-reset:rule-group;gap:32px}
[data-form=advanced] [data-rule-group] {counter-increment:rule-group;position:relative;min-width:0;padding:14px;background:#fff;border:1px solid #dfe4e1;border-radius:12px;gap:12px}
[data-form=advanced] [data-rule-group]+[data-rule-group]::before {position:absolute;top:-26px;left:12px;background:#fff;padding:0 4px;color:#5c6762}
[data-form=advanced] .rule-heading {display:flex;align-items:center;justify-content:space-between;gap:10px}
[data-form=advanced] .rule-heading strong {font-size:14px;font-weight:650;color:#252d29}
[data-form=advanced] .rule-heading strong::after {content:' ' counter(rule-group)}
[data-form=advanced] .rule-heading button {width:30px;height:30px}
[data-form=advanced] [data-rules] {gap:24px}
[data-form=advanced] .rule {position:relative;align-items:center;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.15fr) 24px;gap:6px}
[data-form=advanced] .rule+.rule::before {content:'UND';position:absolute;top:-18px;left:2px;font-size:9px;letter-spacing:.07em;font-weight:650;color:#646f69}
[data-form=advanced] .rule-value>:only-child {flex:1;min-width:0;width:100%}
[data-form=advanced] .rule .iconbtn {width:24px;height:30px;color:#717975}
[data-form=advanced] [data-act=add-rule], [data-form=advanced] [data-act=add-group] {justify-self:start;box-shadow:none}
[data-form=advanced] [data-act=add-rule] {background:#f4f6f5;border-color:transparent}
[data-form=advanced] .form-buttons {position:sticky;bottom:0;background:#fff;border-top:1px solid #e4e7e6;padding:14px 0}
@media(max-width:560px) {
  #modal:has([data-form=advanced]) {border-radius:0}
  #modal:has([data-form=advanced]) .modal-content {padding:16px}
  [data-form=advanced] .rule {grid-template-columns:minmax(0,1fr) minmax(0,1fr) 26px}
  [data-form=advanced] .rule>[name=field] {grid-column:1/3}
  [data-form=advanced] .rule>[name=op] {grid-column:1;grid-row:2}
  [data-form=advanced] .rule-value {grid-column:2/4;grid-row:2}
  [data-form=advanced] .rule>[data-act=remove-rule] {grid-column:3;grid-row:1}
}

.identity-workspace {display:grid;gap:14px;min-width:0}
.identity-card,.identity-matches {border:1px solid #dce1e2;border-radius:13px;background:white;min-width:0}
.identity-card>header,.identity-matches>header {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px}
.identity-card h3,.identity-matches h3 {margin:0;font-size:15px;font-weight:650;letter-spacing:-.025em}
.identity-card>p {padding:0 16px 15px}
.identity-rename {padding:0 16px 16px}
.identity-rename label,.name-parts>small {display:block;font-size:12px;color:#5c6465;margin-bottom:5px}
.identity-rename>div {display:flex;gap:7px}
.identity-rename input {flex:1;min-width:0;background:#fff;border:1px solid #cdd4d4;border-radius:8px;padding:8px 10px;font:inherit}
.name-parts {padding:0 16px 14px}.name-parts>div {display:flex;gap:5px;flex-wrap:wrap}
.identity-matches {background:#fcfaff;border-color:#ded5ec}
.identity-matches>header {justify-content:flex-start;color:#61457c;padding-bottom:6px}
.identity-matches>header>span {font-size:11px;padding:2px 7px;border-radius:6px;background:#efe8f6}
.identity-list,.identifier-group ul {list-style:none;margin:0;padding:0}
.identity-line {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;min-width:0}
.identity-line+.identity-line {border-top:1px solid #e8e8eb}
.identity-line strong,.identifier-main strong {font-size:13px;font-weight:600;overflow-wrap:anywhere}
.identity-line small {display:block;color:#606970;line-height:1.5;font-size:12px;margin-top:2px}
.identity-line .btn {flex-shrink:0}.identity-line .btn svg {width:12px}
.identifier-group {display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px;align-items:start;margin:0 16px;border-top:1px solid #ebeded;padding:5px 0}
.identifier-group h4 {font-size:12px;color:#5d6769;font-weight:530;margin:10px 0}
.identifier-row {display:flex;gap:6px;align-items:center;min-height:36px;padding:3px 0}
.source-key-check .identifier-main{display:grid;justify-items:start;gap:3px}.source-key-check small{color:var(--sub)}
.identifier-main {flex:1;min-width:0}.identifier-main a {text-decoration:underline;text-decoration-color:#c3cccb;text-underline-offset:3px}
.identifier-state {color:#596665;background:#f1f4f3;border-radius:5px;white-space:nowrap;padding:3px 6px;font-size:10px}
.identity-original {font-size:11px;color:#596366;margin-top:2px}.identity-original summary {cursor:pointer;display:list-item}
.identity-original ul {border-left:2px solid #dce1df;padding-left:7px;margin:4px 0;overflow-wrap:anywhere}
.identity-actions {position:relative;flex:none}
.identity-actions>summary {display:grid;place-items:center;border:0;border-radius:6px;width:28px;height:28px;cursor:pointer;color:#5e6969}
.identity-actions>summary::-webkit-details-marker {display:none}
.identity-actions[open]>summary,.identity-actions>summary:hover {background:#edf1f0}
.identity-actions>div {position:absolute;right:0;top:100%;z-index:4;padding:4px;min-width:165px;width:max-content;max-width:min(240px,80vw);border:1px solid #dce2e0;border-radius:9px;background:white;box-shadow:0 6px 18px #1525211c}
.identity-actions button {display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:white;border-radius:5px;padding:7px 9px;font-size:12px}
.identity-actions button svg {width:15px;height:15px;flex:none;color:#556661}
.identity-actions button:hover,.identity-actions button:focus-visible {background:#f1f4f3}
.identity-tools {display:flex;gap:6px;flex-wrap:wrap;margin-top:-4px}
.identity-source {display:flex;gap:8px;align-items:center;justify-content:flex-start;padding:11px 14px;background:#fff;border:1px solid var(--line);border-radius:9px;text-align:left;font-size:13px}
.identity-source svg:last-child {margin-left:auto;width:13px}
.identity-admin {font-size:12px;border-top:1px solid #dbe1e0;color:#56615f;padding-top:11px}
.identity-admin summary {cursor:pointer}.identity-admin summary>span {margin-left:8px;color:#697272;font-size:11px}
.identity-admin>div {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.identity-admin [data-act=trash-brand] {color:#963c3c}.identity-admin p {flex-basis:100%}
.drawer .drawer-body>.card-section {border:1px solid #dce1e2;border-radius:12px;background:white;padding:15px 17px}
.drawer .drawer-body .card-section h3 {font-size:15px;letter-spacing:-.015em;margin:0 0 12px}
.drawer .drawer-body .card-section h3+.muted {font-size:13px}
.drawer-body [data-form=note] {display:grid;gap:8px}.drawer-body [data-form=note] button {justify-self:start}

#content:is([data-page=today],[data-page=signals],[data-page=reviews],[data-page=distribution],[data-page=admin]) .page-tabs {display:flex;flex-wrap:nowrap;align-items:center;gap:4px;padding:3px;background:#e9edee;border:1px solid #e1e5e6;border-radius:11px;width:max-content;max-width:100%;margin:0 0 15px;scrollbar-width:thin}
#content .page-tabs:not(.view-strip .page-tabs) .tab {flex:none;border:0;border-radius:8px;font-size:12px;padding:7px 12px;color:#546063;background:transparent;min-height:32px}
#content .page-tabs:not(.view-strip .page-tabs) .tab[aria-selected=true] {box-shadow:0 1px 4px #15232216;background:#fff;color:#1b2322}
.ops-table {max-height:min(66vh,740px);height:auto}
.ops-table .grid {width:100%;border-collapse:separate;border-spacing:0}
.ops-table .grid th {font-weight:550;color:#60696a;background:#f6f8f8}
.ops-table .grid td {padding-block:9px;border-color:#e9edec;height:46px}
.ops-table .grid tbody tr:hover td {background:#f6f8f7}
.ops-table .subline {display:block;max-width:290px;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#596465;line-height:1.4}
.ops-table .cell-main {font-weight:580}
.ops-table td button.linkbtn,.review-row .record {color:inherit}
#content[data-page=reviews] .review-row {align-items:center;min-height:72px;padding:13px 18px}
#content[data-page=reviews] .review-row .record {font-size:14px;font-weight:620;text-align:left;background:transparent;padding:0}
#content[data-page=reviews] .review-row .inline {flex-wrap:wrap;gap:7px}
.review-pair-icon {width:17px;color:#798483}.review-pair-icon svg {width:15px}
.review-evidence {display:inline-block;max-width:100%;overflow-wrap:anywhere;font-size:11px;color:#675479;background:#f5f0f8;border-radius:5px;padding:2px 7px}
.workrow .daily-due {font-size:11px;display:block;margin-top:4px;color:#656f6f}
.workrow .daily-reason {display:block;font-size:12px;color:#636c6d;line-height:1.4;margin-top:2px}
.workrow .daily-kind {display:inline-block;font-size:10px;color:#697373;margin-top:3px}
#content[data-page=today] .check {font-size:12px}
#content[data-page=admin] .report-stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));border:1px solid #e1e6e5;border-radius:11px;margin:14px 0;padding:5px 0}
.report-stats>div {padding:8px 15px}.report-stats dt {font-size:11px;color:#596364}.report-stats dd {margin:3px 0;font-size:25px;letter-spacing:-.04em;font-weight:620}
.report-block {margin:14px 0}.report-block>h3 {font-size:14px;margin-bottom:9px}.report-block .detail-grid {margin:0 0 5px}
#modal .modal-content {overflow-wrap:anywhere}
#modal .form-buttons:not(:empty) {padding-top:12px;border-top:1px solid #e5e8e8;margin-top:6px}
#modal .form-buttons .btn {min-height:34px}
#modal .form label:has(textarea) textarea {resize:vertical;min-height:72px}
#modal [data-form=signal] .detail-grid,#modal [data-form=recipient] .detail-grid {margin:0}
#modal [data-form=pair] .detail-grid {border:1px solid #e0e5e3;background:#f8f9f9;border-radius:9px;padding:12px}
@media(max-width:600px){
 .identifier-group {grid-template-columns:75px minmax(0,1fr);margin:0 12px;gap:4px}
 .identity-card>header,.identity-matches>header,.identity-line {padding-inline:12px}
 .identity-line {flex-wrap:wrap}.identifier-row {flex-wrap:wrap}.identifier-state {font-size:9px}
 #content .page-tabs:not(.view-strip .page-tabs) .tab {padding:6px 9px}
 #content[data-page=reviews] .review-row {padding:12px}
 #content[data-page=admin] .report-stats {grid-template-columns:1fr 1fr}
}

.compare-records {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.compare-records article {padding:13px;background:#f7f9f8;border:1px solid #e0e5e2;border-radius:10px;min-width:0}
.compare-records strong {font-size:15px;letter-spacing:-.015em}.compare-records dl {display:grid;gap:6px;margin:10px 0 0}
.compare-records dt {font-size:11px;color:#606a6b}.compare-records dd {margin:0;font-size:12px;overflow-wrap:anywhere}
.compare-reason {color:#695580;font-size:12px}.compare-reason svg {width:14px}
#modal [data-merge-primary][hidden] {display:none}
@media (max-width:460px){.compare-records article {padding:10px}.compare-records strong {font-size:13px}}

#content[data-page=today] .workrow>div {min-width:0}
#content[data-page=today] .workrow .record {display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle}
.daily-switch {padding:3px;gap:3px;border-radius:10px;border-color:#e1e5e6}
.daily-switch button {border:0;border-radius:7px;min-height:30px;font-size:12px;color:#566264}
.daily-switch button[aria-pressed=true] {background:white;color:#1b2322;box-shadow:0 1px 3px #17282215}
.daily-tools .check input {appearance:none;width:15px;height:15px;border:1px solid #bfc9c7;border-radius:4px;display:grid;place-content:center;background:white}
.daily-tools .check input:checked {background:#26332e;border-color:#26332e}
.daily-tools .check input:checked::before {content:'';width:6px;height:3px;border-left:1.6px solid white;border-bottom:1.6px solid white;transform:translateY(-1px) rotate(-45deg)}
.signals-empty {padding:50px 20px;text-align:center}
.signals-empty>svg {width:30px;height:30px;padding:6px;box-sizing:content-box;background:#f2f5f4;border-radius:10px;color:#65716e}
.signals-empty h2 {margin:10px 0 5px;font-size:17px}.signals-empty p {color:#616c69;font-size:13px}
.review-state {display:block;font-size:11px;color:#62706a;margin-top:4px}

#modal-title:focus {outline:none}
@media(min-height:480px){#modal .modal-head {position:sticky;top:0;z-index:3}}

#modal:has(.task-dialog){width:min(560px,calc(100vw - 24px));max-height:92dvh;border:1px solid #e0e3e4;border-radius:16px;box-shadow:0 22px 65px #16201b2b}
#modal:has(.task-dialog) .modal-head{padding:19px 23px 15px;border-bottom:1px solid #e7e9e9}
#modal:has(.task-dialog) .modal-head h2{font-size:20px;letter-spacing:-.045em;line-height:1.2}
#modal:has(.task-dialog) .modal-content{padding:18px 23px}
.task-dialog{display:grid;gap:18px;min-width:0}
.task-dialog .task-group{min-width:0;display:grid;gap:10px;margin:0;padding:0;border:0}
.task-dialog .task-group legend{padding:0;margin-bottom:9px;font-size:13px;font-weight:650;color:#202625;letter-spacing:-.01em}
.task-dialog .task-group+.task-group{padding-top:12px;border-top:1px solid #e9ebea}
.task-dialog .task-group+.task-group legend{float:left;width:100%;margin:0}
.task-dialog .task-pair,.task-dialog .task-triple,.task-dialog .form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.task-dialog .task-triple{grid-template-columns:repeat(3,minmax(0,1fr))}
.task-dialog .field-note,.task-dialog .optional-entry small,.task-dialog [data-profile-hint]{margin:0;color:#65706d;font-size:12px;line-height:1.45}
.task-dialog .task-group .field-note{margin-top:-5px}
.task-dialog .task-group label:not(.check),.task-dialog .candidate-finder{font-size:12px;color:#515b58;font-weight:550}
.task-dialog .task-group input:not([type=checkbox]),.task-dialog .task-group select{min-height:37px}
.task-dialog .optional-entry{border:0;background:transparent;margin:2px 0 0;padding:0}
.task-dialog .optional-entry summary{cursor:pointer;font-size:12px;color:#414b48;font-weight:580}
.task-dialog .optional-entry[open]>summary{margin-bottom:10px}
.task-dialog .task-record{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 9px;padding:13px 15px;background:#f5f7f6;border:1px solid #e6ebe8;border-radius:10px;min-width:0}
.task-record h3{font-size:16px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.task-record>div>small,.task-lineage{color:#606c66;font-size:11px}
.task-record>p,.task-record>.task-lineage{width:100%;margin:0;overflow-wrap:anywhere}
.task-record>p{color:#52605a;font-size:12px}
.task-record>.task-lineage{display:flex;align-items:center;gap:5px;margin-top:3px}
.task-lineage svg{width:13px;height:13px}
.task-dialog .form-buttons{border-top:1px solid #e5e9e7;margin-top:0;padding-top:13px;gap:8px}
.task-dialog .form-buttons .btn:only-child{margin-inline-start:auto}
.task-dialog .task-policy{border-radius:8px;background:#f5f7f6;padding:10px 12px}
.task-dialog .check{align-items:center;line-height:1.4;min-width:0}
.task-dialog .check input{flex:none;accent-color:#242e29;cursor:pointer}
.task-dialog .rights-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:10px 0}
.task-dialog [hidden]{display:none!important}
.task-dialog .candidate-finder>span{position:relative;display:block}
.candidate-finder span>svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#707a75}
.task-dialog #candidate-search{padding-left:32px;min-height:38px}
.task-dialog .candidate-list{min-width:0;padding:0;border:0;max-height:min(34dvh,285px);overflow:auto}
.candidate-list legend{padding:0 0 6px;color:#52605a;font-size:12px}
.task-dialog .candidate-list .check{display:flex;gap:10px;align-items:center;padding:8px 10px;margin:0;border:1px solid transparent;border-bottom-color:#edf0ee;border-radius:6px}
.task-dialog .candidate-list .check:hover{background:#f2f5f3}
.task-dialog .candidate-list .check:has(input:checked){background:#f0f4f1;border-color:#aebbb3}
.form .candidate-list .check input[type=radio]{width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:0 0 16px;box-shadow:none}
.task-dialog .candidate-list .check>span{display:block;min-width:0;overflow-wrap:anywhere}
.candidate-identity{display:block;overflow-wrap:anywhere;color:#64706a;font-size:11px;line-height:1.4}
.task-dialog .segment-stats{border-color:#e1e6e3;background:#f5f7f6;gap:12px;padding:14px}
.task-dialog .segment-stats small{color:#5b6760;margin-top:3px}
.task-dialog .segment-results .list-item{border-bottom:1px solid #e7ebe8;padding:8px 0}
.my-account-person{display:flex;align-items:center;gap:11px}
.my-account-person :is(.person-icon,.person-photo){width:42px;height:42px;font-size:15px;line-height:42px;margin:0}
.my-account-person h3{font-size:17px;overflow-wrap:anywhere}
.sales-cover-list li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:8px 0;border-bottom:1px solid #e7ebe8}
.sales-cover-list small{display:block;color:var(--sub);margin-top:3px}
.sales-cover-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px}
.account-attributes{margin:0;display:grid}
.account-attributes>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0ee}
.account-attributes dt,.account-attributes dd{margin:0;font-size:13px}
.account-attributes dt{color:#606b65}.account-attributes dd{text-align:right}
@media(max-width:520px){
  #modal:has(.task-dialog) .modal-head{padding:16px 16px 12px}
  #modal:has(.task-dialog) .modal-content{padding:14px 16px}
  .task-dialog .task-pair,.task-dialog .form-pair,.task-dialog .task-triple{grid-template-columns:1fr}
}

.source-review-heading {display:grid;gap:4px;flex:1 1 26rem;min-width:0}
.source-review-heading small {max-width:65ch;color:var(--sub);font-size:.82rem;line-height:1.45}

.sales-actions-popup{position:fixed;z-index:1010;width:max-content;max-width:calc(100vw - 16px);padding:5px;border:1px solid #d7dedb;border-radius:10px;background:#fff;box-shadow:0 6px 24px #1e342523}
.sales-actions-popup button{display:flex;align-items:center;gap:10px;width:100%;min-height:35px;padding:6px 10px;border:0;border-radius:6px;text-align:left;background:transparent;color:#29352e;font:inherit;font-size:13px}
.sales-actions-popup button:focus,.sales-actions-popup button:hover{background:#eff4f1;outline:0}
.sales-actions-popup svg{width:16px;height:16px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.list-actions-open>span svg{width:11px;height:11px;transform:rotate(90deg)}
.company-sync .sync-intro,.company-sync [data-settings],.company-sync [data-scope-hint]{color:var(--sub);font-size:13px}
.company-sync label.sync-option{display:flex;flex-direction:row;align-items:center;gap:9px;font-weight:500;cursor:pointer}
.company-sync .sync-option input{width:16px;min-height:16px;height:16px;flex:none;margin:0}
.company-sync .sync-end{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}

.company-sync [data-times]:not([hidden]){display:block;color:var(--sub);font-size:12px;margin-top:3px}

.company-sync .sync-schedule {
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper)
}
.company-sync .sync-schedule-head {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center
}
.company-sync .sync-schedule-icon {
  width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:var(--soft);color:var(--green)
}
.company-sync .sync-schedule-icon svg {width:18px;height:18px}
.company-sync .sync-schedule small {display:block;color:var(--sub);font-size:12px}
.company-sync [data-schedule-editor]:not([hidden]) {
  display:grid;gap:10px;border-top:1px solid var(--line);margin-top:12px;padding-top:12px
}
.company-sync .sync-schedule-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.company-sync [data-save-schedule] {justify-self:end}
.company-sync [data-list-visibility][hidden] {display:none}
@media(max-width:520px) {
  .company-sync .sync-schedule-fields {grid-template-columns:1fr}
}

#run-activity:not([hidden]){position:sticky;top:64px;z-index:4;flex:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.run-indicator{display:inline-grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:4px 9px;width:min(340px,100%);padding:8px 12px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;text-align:left;font-size:12px}
.run-indicator:hover,.run-indicator:focus-visible{border-color:var(--green)}
.run-indicator svg{width:15px;height:15px;color:var(--green)}
.run-indicator small,.run-indicator span{font-variant-numeric:tabular-nums}
.run-indicator small{font-size:12px}
.run-indicator span{grid-column:2/-1;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sync-meter{display:block;grid-column:1/-1;height:4px;margin-block:2px;background:var(--line);border-radius:10px;overflow:hidden}
.sync-meter>i{display:block;height:100%;background:var(--green);transform-origin:left;transition:transform .24s ease-out}
.company-sync [data-phase]{font-variant-numeric:tabular-nums;margin:12px 0 6px}
.company-sync .sync-working{margin-top:12px}
.company-sync .sync-working>div{grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;padding:3px 0}
.company-sync .sync-working strong,.company-sync .sync-working span{overflow-wrap:anywhere}
.company-sync .sync-working span{color:var(--sub);font-size:12px;text-align:right}
.company-sync [data-stats]{border-top:1px solid var(--line);padding-top:12px}
.company-sync progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:5px;border:0;border-radius:10px;background:var(--line);overflow:hidden;color:var(--green)}
.company-sync progress::-webkit-progress-bar{background:var(--line)}
.company-sync progress::-webkit-progress-value{background:var(--green);border-radius:10px}
.company-sync progress::-moz-progress-bar{background:var(--green);border-radius:10px}
.sync-meter[hidden],.company-sync progress[hidden],.run-indicator span[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.sync-meter>i{transition:none}}

@media(max-width:820px){#run-activity:not([hidden]){top:52px}}

.visibility-statuses{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin-block:6px}
.visibility-team{display:inline-flex;align-items:center;gap:6px}
.visibility-team small{font-size:12px;color:var(--sub)}
.form .capture-hide-choice{display:flex;align-items:center;gap:8px;padding-block:6px}
.form .capture-hide-choice input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:currentColor}
.form [data-hide-comment][hidden]{display:none}

#drawer { width:min(880px,100vw); max-width:100vw; }
#drawer-content:has(.record-masthead) {
  display:grid; height:100%; min-height:0; grid-template-columns:150px minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr); background:#fff;
}
#drawer:has(.record-masthead) {overflow:hidden}
#drawer .drawer-head:has(.record-masthead) {display:contents}
#drawer .record-masthead {
  grid-column:1/-1; align-items:center; gap:14px; padding:22px 26px;
  border-bottom:1px solid #e3e6e5; background:#fff;
}
#drawer .record-masthead .brand-symbol {border-radius:13px;width:51px;height:51px;flex-shrink:0}
.record-kind-tag,.assignment-kind {display:inline-flex;align-items:center;border-radius:999px;padding:2px 9px;line-height:1.5;font-size:11px;font-weight:650}
.record-kind-tag.is-bk,.assignment-kind.is-bk {color:#176344;background:#e4f3eb}
.record-kind-tag.is-nk,.assignment-kind.is-nk {color:#30577a;background:#eaf1f8}
.record-hidden-label {margin-left:5px;color:#69716d}
#drawer .record-trash-action {align-self:center;flex:none;color:#575e5b}
#drawer .record-trash-action[data-act="trash-brand"]:is(:hover,:focus-visible) {color:#9b2d2e;background:#fff3f2}
@media(max-width:420px){
  #drawer .record-masthead:has(.record-trash-action){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 9px}
  #drawer .record-masthead .record-trash-action{grid-column:2;grid-row:2;justify-self:start;padding:3px 7px;min-height:24px;font-size:11px}
  #drawer .record-masthead:has(.record-trash-action) [data-act="close-drawer"]{grid-column:3;grid-row:1}
}
[data-form="record-primary"] [hidden] {display:none!important}
.record-domain {text-underline-offset:3px}
.rp-source-actions {display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rp-origin-archive {border:1px solid #dfe5e1;border-radius:12px;overflow:hidden}
.rp-origin-archive>summary {display:flex;align-items:center;gap:9px;padding:13px 16px;font-weight:600;cursor:pointer;list-style:none}
.rp-origin-archive>summary::-webkit-details-marker {display:none}
.rp-origin-archive>summary small {margin-left:auto;font-weight:450;color:#56635b}
.rp-origin-archive>summary::after {content:'+';font-size:18px;line-height:1}
.rp-origin-archive[open]>summary::after {content:'−'}
.rp-origin-archive[open]>div {padding:0 12px 12px}
.record-area {margin-inline-start:7px;color:var(--sub)}
.record-type {font-size:11px;font-weight:580;color:#626c69;margin:0 0 2px}
#drawer .record-masthead h2 {font-size:clamp(21px,2.1vw,29px);max-height:3.5em;overflow:auto}
#drawer .record-masthead .brand-address {gap:8px;margin-top:4px;max-height:3.5em;overflow:auto}
#drawer .record-masthead .iconbtn {align-self:flex-start}
#drawer .record-nav {
  grid-column:1;grid-row:2;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
  min-height:0;overflow-y:auto;overflow-x:hidden;margin:0;padding:15px 9px;gap:3px;
  background:#f7f8f7;border:0;border-right:1px solid #e1e5e3;border-radius:0;
}
#drawer .record-nav .tab {display:flex;align-items:center;gap:10px;text-align:left;border:0;
  padding:9px 12px;min-height:37px;border-radius:7px;color:#4f5855;line-height:1.25;font-size:13px}
#drawer .record-nav .tab:hover {background:#e9ecea;color:#171d19}
#drawer .record-nav .tab[aria-selected=true] {color:#fff;background:#222824;font-weight:600}
#drawer .record-nav .tab::after {display:none}
#drawer .record-nav .tab svg {width:16px;height:16px;flex:none}
#drawer #brand-panel {grid-column:2;grid-row:2;display:grid;align-content:start;align-items:start;
  overflow-y:auto;min-width:0;min-height:0;padding:21px 24px 32px;gap:14px;
  background:#fff;overscroll-behavior:contain;scrollbar-gutter:stable}
#drawer #brand-panel:focus-visible {outline-offset:-3px}
#drawer #drawer-content>[data-inline-error] {position:absolute;top:4px;left:12px;right:55px;z-index:5}
.record-overview {display:grid;gap:14px;min-width:0}
.record-overview .case-section,.record-overview .card-section {margin:0;border-color:#dfe4e1}
.assignment-section {container-type:inline-size}
.assignment-section .case-section-title {margin-bottom:5px}
.assignment-list {margin:0}
.assignment-list>div {
  display:grid;grid-template-columns:minmax(9.5rem,.7fr) minmax(0,1.6fr);
  align-items:start;gap:6px 14px;padding:12px 0;
}
.assignment-list>div+div {border-top:1px solid var(--line)}
.assignment-list>div:last-child {padding-bottom:0}
.assignment-list dt {padding-block:5px;color:var(--sub);font-size:12px;line-height:1.45}
.assignment-list dd {
  display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;
  gap:8px 12px;min-width:0;margin:0;line-height:1.5;font-size:13px;overflow-wrap:anywhere;
}
.assignment-value {display:grid;justify-items:start;gap:4px;flex:1;min-width:6rem}
.assignment-value small,.assignment-review p {color:var(--sub);font-size:12px}
.assignment-kind {min-height:25px;gap:4px}
.assignment-kind svg {width:12px;height:12px}
.assignment-list .btn.small {min-height:28px;white-space:normal}
.assignment-company {
  display:flex;flex:1;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:6px 12px;min-width:0;background:transparent;padding:0;border:0;border-radius:5px;text-align:left;
}
.assignment-company>span:first-child {min-width:0;font-variant-numeric:tabular-nums}
.assignment-company:is(:hover,:focus-visible)>.btn {background:var(--hover,#f1f3f2)}
.assignment-review {flex-basis:100%;padding:8px 10px;background:#fff8e9;border-radius:7px}
.assignment-review p {margin:2px 0 6px}
@container (max-width:29rem) {
  .assignment-list>div {grid-template-columns:minmax(0,1fr);gap:4px}
  .assignment-list dt {padding:0}
}
.record-overview .case-facts {column-gap:18px;row-gap:13px}
.record-overview .record-next {background:#f6f8f6;border:1px solid #dce3dd;border-radius:12px;padding:17px 18px}
.record-next .case-section-title {margin:0 0 8px}
.record-next h3 {display:inline-flex;align-items:center;gap:7px;font-size:13px}
.record-next h3 svg {width:15px;height:15px}
.record-next .record-recommendation {font-size:clamp(16px,1.6vw,21px);line-height:1.35;letter-spacing:-.03em;font-weight:590}
.record-next .case-evidence {margin-top:12px}
.record-id-conflict {display:flex;align-items:flex-start;gap:10px;padding:13px 16px;border-radius:10px;border:1px solid #e6c677;background:#fff9ec;color:#694c12}
.record-id-conflict svg {flex:none;margin-top:1px}.record-id-conflict p {font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.identity-workspace .identity-card:has([data-act=find-related-brand]) {background:#f8f7fa}
.identity-workspace .identity-card:has([data-act=find-related-brand])>p {font-size:13px}
.record-lookup-list {list-style:none;margin:0;padding:0;display:grid}
.record-lookup-list li+li {border-top:1px solid #e5e9e6}
.record-lookup-list button {display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;padding:10px 7px;width:100%;text-align:left;border-radius:6px}
.record-lookup-list button:hover {background:#f3f6f4}
.record-lookup-list strong,.record-lookup-list small {display:block;overflow-wrap:anywhere}
.record-lookup-list small {margin-top:3px;color:#5f6965}.record-lookup-list svg {flex:none}
@media(max-width:680px) {
  #drawer-content:has(.record-masthead) {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}
  #drawer .record-masthead {padding:14px 15px;gap:10px}
  #drawer .record-masthead .brand-symbol {width:39px;height:39px;font-size:14px;border-radius:10px}
  #drawer .record-nav {grid-row:2;grid-column:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:6px 9px;border-right:0;border-bottom:1px solid #dce2de;overflow:visible}
  #drawer .record-nav .tab {justify-content:center;min-height:32px;padding:6px 2px;font-size:12px;gap:0}
  #drawer .record-nav .tab svg {display:none}
  #drawer #brand-panel {grid-column:1;grid-row:3;padding:13px 12px 24px;scrollbar-gutter:auto}
  .identity-card header:has([data-act=find-related-brand]) {flex-wrap:wrap}
}
@media(max-height:480px) and (min-width:681px) {#drawer .record-masthead {padding-block:9px}#drawer .record-nav {padding-block:4px}}
.record-overview .metric-group {display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:8px;padding:9px 0}
.record-overview .metric-group+.metric-group {border-top:1px solid #e8eae8;padding-top:13px}
.record-overview .metric-group h4 {margin:0;font-size:12px;font-weight:600;color:#43504a}
.record-overview .metric-group .case-facts {margin:0}
#drawer .record-nav .tab {justify-content:flex-start}
@media(max-width:680px) {
  #drawer .record-nav .tab {justify-content:center}
  .record-overview .metric-group {grid-template-columns:minmax(0,1fr)}
}
.record-id-conflict.is-reviewed {background:#f3f6f4;color:#334b3c;border-color:#dce5df}

.crm-owner-summary{display:grid;gap:.3rem;padding:.9rem 1rem;border:1px solid var(--line,#e5e7eb);border-radius:12px;background:#fafafa}
.crm-owner-summary span,.crm-cache-note,.crm-no-qual,.crm-contact-qualification time{color:#5d656c;font-size:.78rem}
.crm-owner-summary b{font-weight:550}.crm-directory,.crm-search{display:grid;gap:.65rem}.crm-search{gap:.3rem;font-size:.84rem;font-weight:550}.crm-search input{padding:.58rem .7rem;border:1px solid #d6d9dc;border-radius:8px;font:inherit}
.crm-people{max-height:48vh;overflow:auto}.crm-contact-card{padding:.82rem .2rem;border-bottom:1px solid #e9ebed}.crm-contact-card:last-child{border:0}
.crm-contact-top,.crm-person,.crm-address,.crm-contact-qualification{display:flex;align-items:center;gap:.45rem;min-width:0}.crm-contact-top{justify-content:space-between;flex-wrap:wrap;row-gap:.2rem}
.crm-person{color:inherit;text-decoration:none;min-width:0}.crm-person:hover strong{text-decoration:underline}.crm-person strong{font-size:.92rem;overflow-wrap:anywhere}.crm-person>svg{height:13px;width:13px;flex:none;color:#69727b}.crm-avatar{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f0f1f2}.crm-avatar svg{width:14px;height:14px}
.crm-association,.crm-job,.crm-address{font-size:.78rem;color:#5d656c}.crm-contact-info{padding-left:33px;display:grid;gap:.24rem}.crm-address span{overflow-wrap:anywhere;user-select:text}
.crm-directory .case-section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.crm-directory .linkbtn{display:inline-flex;align-items:center;gap:.35rem}.crm-directory .linkbtn svg{width:14px;height:14px}
.crm-contact-owner,.crm-owner-notice{display:inline-flex;align-items:center;gap:.4rem;color:#825212;font-size:.79rem;line-height:1.4}.crm-contact-owner svg,.crm-owner-notice svg{width:15px;height:15px;flex:none}.crm-contact-owner.neutral{color:#68727b}
.crm-owner-notice{padding:.5rem .65rem;background:#fff4df;border-radius:7px}
.crm-owner-issues{background:#fff6e6;border-radius:8px;padding:.7rem .85rem}.crm-owner-issues summary{cursor:pointer;font-weight:600;color:#75450a}.crm-owner-issues ul{margin:.5rem 0 0;padding:0;max-height:12rem;overflow:auto;list-style:none}.crm-owner-issues li{display:grid;gap:.16rem;padding:.4rem 0;font-size:.84rem}.crm-owner-issues li span{color:#674f33}

.assignment-choice{display:grid;gap:.35rem;font-size:.84rem;font-weight:550}
.assignment-trigger,.assignment-preview p,.assignment-more,.assignment-person{display:flex;align-items:center;gap:.55rem}
.assignment-trigger{justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.62rem .75rem;color:inherit;font:inherit;cursor:pointer}
.assignment-trigger>svg,.assignment-preview p>svg,.assignment-more>svg,.crm-owner-issues summary svg{width:15px;height:15px;vertical-align:middle}
.assignment-trigger>svg{transform:rotate(90deg)}
.assignment-person .person-icon,.assignment-person .person-photo{width:23px;height:23px;flex:0 0 23px}
.assignment-preview{padding:.7rem .85rem;background:#f4f6f5;border:1px solid var(--line);border-radius:8px}
.assignment-preview>span,.assignment-preview small{font-size:.78rem;color:var(--sub)}
.assignment-preview p{margin:.35rem 0;font-size:.93rem}
[data-assignment-check]:empty,[data-assignment-issues]:empty{display:none}
[data-assignment-check]>p{margin:.65rem 0}
#modal .call-person .person-photo,#modal .call-person .person-icon{width:25px;height:25px;flex:0 0 25px}

.crm-copy-mail{width:24px;height:24px;flex:none;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#525c65}.crm-copy-mail:hover,.crm-copy-mail:focus-visible{background:#e9edf0;color:#1b2228}.crm-copy-mail svg{width:14px;height:14px}
.crm-contact-qualification{flex-wrap:wrap}.crm-qualification{font-size:.75rem;line-height:1.35;font-weight:600;border-radius:5px;background:#eef1f4;color:#455360;padding:.15rem .46rem}.crm-qualification.positive{background:#def3e9;color:#1b6346}.crm-qualification.waiting{background:#fff1d9;color:#795016}.crm-qualification.negative{background:#fce7e8;color:#903940}
.scroll-grid .contact-number-cell{font-variant-numeric:tabular-nums}
#brand-scroll .review-count-cell{text-align:center;font-variant-numeric:tabular-nums}
.scroll-grid .contact-number{appearance:none;box-shadow:none;display:inline-flex;align-items:center;justify-content:start;gap:6px;height:24px;max-width:100%;border:0;border-radius:5px;padding:0 5px;background:transparent;color:inherit;font:inherit;font-variant-numeric:tabular-nums;vertical-align:middle}
.scroll-grid .contact-number:hover,.scroll-grid .contact-number:focus-visible{background:#e9edf0}
.scroll-grid .contact-number svg{display:block;flex:none;width:14px;height:14px;color:#6b7379}

.review-related-options{border:1px solid var(--line);border-radius:9px;padding:8px 12px;margin:3px 0}
.identifier-preview:empty{display:none}
.identifier-preview{display:grid;gap:4px;border-inline-start:3px solid #c98b3c;padding:6px 10px;color:var(--ink);font-size:13px;overflow-wrap:anywhere}
.review-identity{display:inline-grid;gap:2px}
.review-identity small{color:var(--sub);font-size:11px}
.review-related-options legend{font-weight:600;font-size:13px}
.review-related-options>div{max-height:12rem;overflow:auto}
.review-related-options label{display:flex;align-items:flex-start;gap:9px;padding:6px 0}
.review-related-options input{margin:3px 0;width:16px;height:16px;flex:none}
.review-related-options b,.review-related-options small{display:block;overflow-wrap:anywhere}
.review-related-options small{font-size:12px;color:var(--sub)}
.exact-peer-count.match-flag{display:inline-flex;align-items:center;justify-content:center;gap:3px;color:#674780;cursor:pointer}
.exact-peer-count svg{width:12px;height:12px}
.search-match{background:#ffebae;color:inherit;border-radius:2px;padding:0 1px}
#brand-scroll .matched-note-field{background:#fff9e7}
#brand-scroll .note-result-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;color:inherit;border:0;background:transparent;font:inherit;padding:0;cursor:pointer}
#brand-scroll .brand-meta-line .note-result-text{color:#525d60;font-size:11px}
#brand-scroll .note-result-text small{font-size:inherit}
.legacy-dialog-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--sub);border-bottom:1px solid var(--line);padding-bottom:8px}
.legacy-dialog-tools button{display:inline-flex;align-items:center;gap:5px}
.legacy-dialog-tools svg{width:13px;height:13px}
.legacy-run .toolbar{justify-content:space-between;align-items:center}
.legacy-run .toolbar h3{margin:0}
.legacy-run .toolbar small{color:var(--sub)}
.legacy-run-foot{display:flex;justify-content:flex-end;padding:11px 16px;border-top:1px solid var(--line)}
.legacy-run-end{padding:16px}
.identity-workspace{container-type:inline-size}
.identity-workspace .identifier-group{display:block;padding:9px 0}
.identity-workspace .identifier-group>header{display:flex;align-items:center;justify-content:space-between;gap:6px 12px}
.identity-workspace .identifier-group h4{margin:3px 0;font-size:13px}
.batch-review-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.batch-review-card>div,.batch-review-card label span{display:grid;gap:4px;overflow-wrap:anywhere}
.batch-review-card label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.batch-review-card small,.batch-review-card p{font-size:12px;color:var(--sub);margin:0}
.batch-review-card button{font-size:12px}
@media(max-width:550px){.batch-review-card{grid-template-columns:1fr}.batch-review-card button{justify-self:start}}
.identity-workspace .identifier-group .identifier-row{gap:9px;padding-inline:2px}
.identity-workspace .identifier-group .identity-tools{margin:6px 0 2px;gap:6px}
.identity-workspace .name-parts>summary{color:var(--sub);font-size:12px;cursor:pointer}
.identity-workspace .name-parts[open]>div{margin-top:8px}
.identity-workspace .identity-card>header{flex-wrap:wrap}
.identity-workspace .identity-card .assignment-checks{margin-inline:16px}
.identity-workspace .identity-line>div{min-width:0}
.identity-workspace .structure-node:not(.is-current){border:1px solid var(--line);border-radius:9px}
.identity-workspace .structure-row+.structure-row{margin-top:5px}
.identity-workspace .structure-unlink{padding:4px 7px;border-radius:5px;background:#f3f4f4}
.identity-workspace .structure-keyline{max-width:100%}
@container (max-width:420px){
 .identity-workspace .structure-node{grid-template-columns:26px minmax(0,1fr);gap:6px 9px}
 .identity-workspace .structure-controls{grid-column:2;flex-flow:row wrap;align-items:center}
 .identity-workspace .structure-branch{margin-left:10px;padding-left:13px}
 .identity-workspace .identity-line,.identity-workspace .structure-decision{flex-wrap:wrap}
}
.brand-structure{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;padding:18px}
.brand-structure>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.brand-structure h3{margin:0;font-size:16px;letter-spacing:-.025em}
.structure-tree,.structure-body,.structure-controls,.structure-node{min-width:0}
.structure-list,.structure-branch{list-style:none;margin:0;padding:0}
.structure-row{min-width:0}
.structure-branch{margin-left:20px;padding-left:20px}
.structure-branch>.structure-row{position:relative;padding-top:8px}
.structure-branch>.structure-row::before,.structure-branch>.structure-row::after{content:"";position:absolute;left:-20px;pointer-events:none}
.structure-branch>.structure-row::before{top:0;bottom:0;border-left:1px solid #ccd4cf}
.structure-branch>.structure-row:last-child::before{height:32px;bottom:auto}
.structure-branch>.structure-row::after{top:24px;width:15px;height:8px;border-left:1px solid #ccd4cf;border-bottom:1px solid #ccd4cf;border-radius:0 0 0 6px}
.structure-node{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 9px}
.structure-node.is-group{background:#f4f6f5;border:1px solid #e0e5e2;border-radius:10px;padding:12px}
.structure-symbol{width:32px;height:32px;display:grid;place-items:center;color:#46534c;border:1px solid #dfe5e1;border-radius:9px;background:#fff}
.structure-symbol svg{width:16px;height:16px}
.structure-node.is-group .structure-symbol{background:#27362d;border-color:#27362d;color:white}
.structure-body{display:grid;justify-items:start;gap:3px}
.structure-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;line-height:1.25}
.structure-role{font-size:11px;font-weight:650;color:#425149}.structure-here{font-size:10px;color:var(--sub);border-left:1px solid #cbd2ce;padding-left:6px}
.structure-name,.structure-link,.structure-decision strong{font-weight:620;line-height:1.35;font-size:14px;overflow-wrap:anywhere;max-width:100%}
.structure-link{display:inline;text-align:left;color:var(--ink);padding:0;border:0;background:none}
.structure-link svg{width:11px;height:11px;color:var(--sub);margin-left:4px;vertical-align:baseline}
.structure-link:hover{text-decoration:underline;text-underline-offset:3px}
.structure-controls{display:flex;align-items:flex-end;flex-direction:column;gap:7px}
.structure-visibility{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1.4;color:#4c5c51;border:1px solid transparent;background:transparent;white-space:nowrap;padding:2px 5px;border-radius:5px}
.structure-visibility.is-hidden{color:#545965;background:#f0f1f3;border-color:#e1e3e7}
.structure-visibility svg{width:13px;height:13px}
button.structure-visibility:hover{background:#e4e7eb;border-color:#bec5c3}
.structure-unlink{color:var(--sub);font-size:11px;padding:0 3px;border:0;background:none;line-height:1.4}
.structure-unlink:hover{text-decoration:underline;text-underline-offset:3px}
.structure-long-name summary,.structure-rest summary,.structure-other summary,.structure-matches summary,.structure-evidence summary{cursor:pointer;font-size:12px;color:var(--sub)}
.structure-long-name summary{font-size:10.5px}.structure-long-name p{margin:4px 0;color:#4b534f;font-size:12px;overflow-wrap:anywhere}
.structure-keys,.structure-keyline{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.structure-keys{margin-top:2px}.structure-key{max-width:100%;display:inline-flex;overflow-wrap:anywhere;background:#f0f3f2;border-radius:4px;padding:2px 5px;font-size:11px;line-height:1.45}
.structure-key a{color:#48534c}.structure-rest[open]{flex-basis:100%}
.structure-empty{margin:8px 0 0;color:var(--sub);font-size:12px}
.structure-section,.structure-other{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}
.structure-connections{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.structure-connections>header,.assignment-checks>h4,.identifier-group>header{display:flex;gap:7px;align-items:center}
.structure-connections>header h4,.assignment-checks>h4{margin:0;font-size:13px;color:var(--text)}
.structure-connections>header svg,.assignment-checks>h4 svg{width:15px;height:15px;color:var(--sub)}
.structure-connections>header span,.assignment-checks>h4 span{font-size:11px;background:#ecf0ed;color:#41544a;border-radius:10px;padding:1px 7px}
.structure-connections>.structure-list{max-height:21rem;overflow:auto}
.identifier-group>header{justify-content:space-between;flex-wrap:wrap}
.identifier-group>header .btn{font-size:12px;min-height:26px;padding:3px 8px}
.assignment-checks{border:1px solid #d8d4e6;border-radius:9px;padding:12px;background:#faf9fc;margin:8px 0 14px}
.assignment-checks ul{list-style:none;padding:0;margin:4px 0 0}
.assignment-checks li{padding:8px 0;display:grid;gap:5px}
.assignment-checks li+li{border-top:1px solid var(--line)}
.assignment-checks li>strong{font-size:13px;overflow-wrap:anywhere}
.assignment-peer,.assignment-actions{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:12px}
.assignment-peer span{display:grid;gap:2px;color:var(--sub)}
.assignment-peer span b{font-weight:550;color:var(--text)}
.assignment-peer small{overflow-wrap:anywhere}
.identity-research{border-top:1px solid var(--line);padding-top:10px}
.identity-research summary{cursor:pointer;font-size:13px;font-weight:600}
.identity-research p{font-size:12px;color:var(--sub)}
.structure-section h4{margin:0;font-size:12px;color:#4b534f}
.structure-decision{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0}.structure-decision small{display:block;color:var(--sub)}
.structure-matches{background:white;border:1px solid var(--line);border-radius:10px;padding:10px 14px}
@media(max-width:550px){
 .brand-structure{padding:12px}.structure-branch{margin-left:10px;padding-left:13px}
 .structure-branch>.structure-row::before,.structure-branch>.structure-row::after{left:-13px}
 .structure-branch>.structure-row::after{width:9px}
 .structure-node{grid-template-columns:25px minmax(0,1fr);gap:3px 7px;padding:8px 4px}
 .structure-node.is-group{padding:9px}.structure-symbol{width:25px;height:25px;border-radius:6px}
 .structure-controls{grid-column:2;flex-direction:row;align-items:center;flex-wrap:wrap}
}
.structure-confirm{padding:4px 0}.structure-confirm>div{display:grid;gap:2px;border:1px solid var(--line);border-radius:9px;padding:10px 14px}
.structure-confirm>div+div{margin:12px 0 0 25px;position:relative}.structure-confirm>div+div::before{content:"";position:absolute;width:15px;height:22px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);top:-12px;left:-16px;border-bottom-left-radius:5px}
.structure-evidence[open]>summary{margin-bottom:8px}

.identifier-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
@media(max-width:550px){
  .identity-card>header:has(.identifier-tools){align-items:flex-start;flex-direction:column;gap:8px}
  .identifier-tools{justify-content:flex-start}
  #drawer .record-masthead h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:none}
}

/* Secondary identity information stays attached to the section it describes. */
.identity-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.identity-panel-trigger,.identity-tool-icon{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;min-width:30px;min-height:30px;padding:4px 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--sub);font:inherit}
.crm-domain-suggestions{margin:.55rem 0;padding:.5rem .65rem;background:var(--soft);border:1px solid var(--line);border-radius:8px}
.crm-domain-suggestions>header{display:flex;align-items:baseline;justify-content:space-between;gap:.25rem .75rem;flex-wrap:wrap}
.crm-domain-suggestions h4,.crm-domain-suggestions p{margin:0 0 .25rem}
.crm-domain-suggestions ul{display:block;list-style:none;margin:0;padding:0}
.crm-domain-suggestions li{display:flex;align-items:center;justify-content:space-between;gap:.25rem .65rem;flex-wrap:wrap;padding:.4rem 0}
.crm-domain-suggestions li+li,.crm-domain-bulk{border-top:1px solid var(--line)}
.crm-domain-caption{display:grid;min-width:0;overflow-wrap:anywhere}
.crm-domain-choice{display:flex;align-items:center;gap:.5rem;max-width:100%;cursor:pointer}
.crm-domain-choice input[type=checkbox]{width:16px;height:16px;min-height:0;flex:none;margin:0}
.crm-domain-status,.crm-domain-suggestions small,.crm-domain-suggestions p{color:var(--sub);font-size:12px}
.crm-domain-status{margin:.5rem 0 .1rem}
.crm-domain-actions,.crm-domain-bulk{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;min-width:0}
.crm-domain-actions>button,.crm-domain-bulk>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.crm-domain-bulk{padding-top:.45rem}.crm-domain-bulk button:disabled{opacity:.55}
.identity-panel-trigger svg,.identity-tool-icon svg{width:15px;height:15px}
.identity-panel-trigger small{font-size:11px;line-height:1}.identity-panel-trigger.merge-count{border-color:var(--line);background:var(--soft);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.identity-tool-icon:hover,.identity-panel-trigger:hover,.identity-panel-trigger[aria-expanded=true]{background:var(--soft);color:var(--ink);border-color:var(--line)}
.identity-panel-trigger:focus-visible,.identity-tool-icon:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.identity-inline-panel{border:1px solid var(--line);border-radius:10px;background:var(--paper,#fff);margin:10px 0;padding:10px 12px}
.identity-inline-panel[hidden]{display:none}.identity-card>.identity-inline-panel{margin:2px 16px 14px}
.identity-inline-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.identity-inline-panel>header h4{margin:0;color:var(--ink);font-size:13px}.identity-inline-panel>p{font-size:12px;color:var(--sub)}
.identity-inline-panel>.structure-list{max-height:min(44vh,22rem);overflow:auto}

.identity-display-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 2px;font-size:12px;color:var(--sub)}
.identity-display-state span{display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere}
.identity-display-state svg{flex:none;width:15px;height:15px}.identity-name-chips{display:flex;gap:6px;flex-wrap:wrap}
.identity-dupe-links>.identity-panel-trigger{border-color:var(--line);font-size:12px}
.structure-rest>summary,.structure-long-name>summary{list-style:none}
.structure-rest>summary::-webkit-details-marker,.structure-long-name>summary::-webkit-details-marker{display:none}

.enrichment-panel progress{width:100%;accent-color:#346554}
.enrichment-panel>[data-status]{margin-block:0}
.enrichment-panel [data-results]{display:grid;gap:9px;max-height:50vh;overflow:auto;overscroll-behavior:contain}
.enrichment-item{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}
.enrichment-item header{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap}
.enrichment-item small,.enrichment-item p{font-size:12px;color:var(--sub)}
.enrichment-item p{margin:5px 0}
.enrichment-item ul{padding:0;list-style:none;margin:7px 0}
.enrichment-item li+li{margin-top:5px}
.enrichment-item li small,.enrichment-peers small{display:block}
.enrichment-state{margin-inline-start:auto;font-size:12px;font-weight:600}
.enrichment-item .enrichment-pick{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:13px;cursor:pointer}
.enrichment-item .enrichment-pick input{width:16px;height:16px;margin:0}
.enrichment-record,.enrichment-local{font-size:12px}
.enrichment-local{justify-self:start}
.enrichment-panel [hidden]{display:none}

.id-runs [hidden]{display:none}
.id-runs [data-job] header,.id-run-results nav{display:flex;align-items:center;justify-content:space-between;gap:8px}
.id-runs [data-state]{font-size:12px;font-weight:600;color:var(--sub)}
.id-runs [data-phase],.id-runs [data-job-error]{margin:8px 0;font-size:13px}
.id-runs progress{width:100%;height:8px;accent-color:#346554}
.id-runs dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 12px;margin:12px 0 16px}
.id-runs dt,.id-run-results small,.id-run-results li p{font-size:12px;color:var(--sub)}
.id-runs dd{margin:3px 0 0;font-weight:650;font-variant-numeric:tabular-nums}
.id-runs .form-buttons{flex-wrap:wrap}
.id-run-results ul{list-style:none;margin:8px 0;padding:0;max-height:26vh;overflow:auto;overscroll-behavior:contain}
.id-run-results li{padding:6px 0;border-bottom:1px solid var(--line)}
.id-run-results li a{font-weight:550;text-underline-offset:3px}
@media(max-width:520px){.id-runs dl{grid-template-columns:repeat(2,minmax(0,1fr))}.company-id-runs-button{font-size:12px;padding-inline:6px}}

[data-edit-assignment][aria-busy="true"]{cursor:progress;opacity:.7}

.crm-contact-note{margin:6px 0;padding:7px 10px;border-left:2px solid #c7d4cb;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f6;color:#404b43;font-size:13px;line-height:1.45;max-height:9em;overflow-y:auto}

.revenue-trend-button{display:inline-grid;place-items:center;vertical-align:middle;margin-inline-start:.35rem;width:25px;height:24px;padding:0;border:0;border-radius:.35rem;background:transparent;color:#4f625b;cursor:pointer}
.revenue-trend-button svg{width:15px;height:15px}
.revenue-trend-button:hover,.revenue-trend-button:focus-visible{background:#e8f0eb;color:#254a3b}
.revenue-trend-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.trend-modes,.trend-year{display:inline-flex;align-items:center;border-radius:10px}
.trend-modes{padding:3px;background:#eef1ef}
.trend-modes button,.trend-year button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:0;border-radius:7px;background:transparent;color:#4b5752;line-height:1.2;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
.trend-modes button{min-width:76px;padding:4px 14px}
.trend-modes button[aria-pressed=true]{color:#1a3026;background:#fff;box-shadow:0 1px 4px #182e2324}
.trend-year{border:1px solid #d6ddd8;padding:2px;gap:1px}
.trend-year[hidden]{display:none}
.trend-year button{padding:3px 8px;font-variant-numeric:tabular-nums}
.trend-year button:not(:disabled):hover,.trend-modes button:not([aria-pressed=true]):hover{background:#e6ede8}
.trend-year button:disabled{opacity:.36;cursor:default}
.trend-year [data-year-pick]{min-width:55px;color:#24332b}
.trend-year [data-year-pick]:disabled{opacity:1}
.trend-year svg{width:15px;height:15px}
.trend-modes button:focus-visible,.trend-year button:focus-visible{outline:2px solid #30694c;outline-offset:2px}
.trend-summary{display:grid;gap:2px;margin:20px 0 16px}
.trend-summary span,.trend-source{font-size:13px;color:#53625b}
.trend-summary strong{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.04em;color:#1b2b22;font-variant-numeric:tabular-nums}
.trend-body{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(205px,.9fr);align-items:start;gap:26px}
.revenue-chart{display:grid;grid-template-rows:minmax(0,1fr);position:relative;box-sizing:border-box;padding:14px 19px 30px 87px;min-width:0;min-height:242px;max-height:360px;align-self:stretch}
.trend-plot{position:relative;width:100%;height:100%}
.trend-guide{position:absolute;height:0;width:100%;border-top:1px solid #e0e7e2}
.trend-guide span,.trend-axis-x span{position:absolute;white-space:nowrap;color:#526058;font:500 13px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.trend-guide span{right:calc(100% + 10px);transform:translateY(-50%)}
.trend-axis-x{position:absolute;inset:auto 0 -12px}
.trend-axis-x span{transform:translateX(-50%)}
.revenue-chart svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.revenue-chart .trend-line{fill:none;stroke:#277357;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.revenue-chart .trend-area{fill:url(#trend-wash);stroke:none}
.trend-crosshair{position:absolute;inset-block:0;border-left:1px dashed #819d8f;pointer-events:none}
.trend-point{appearance:none;display:grid;place-items:center;position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:crosshair}
.trend-point::after{content:"";width:7px;height:7px;border-radius:50%;background:#286d53;border:1.5px solid white;box-sizing:border-box}
.trend-point.is-active::after,.trend-point:focus-visible::after{width:12px;height:12px;border-width:2px;box-shadow:0 0 0 1px #286d53}
.trend-point:focus-visible{outline:2px solid #286d53;outline-offset:1px}
.trend-tooltip{position:absolute;z-index:2;display:grid;gap:3px;pointer-events:none;padding:8px 11px;background:#1e352b;color:#fff;border-radius:8px;white-space:nowrap;font-variant-numeric:tabular-nums}
.trend-tooltip[hidden],.trend-crosshair[hidden]{display:none}
.trend-tooltip span{font-size:12px;line-height:1.35;color:#e3ede8}
.trend-tooltip strong{font-size:15px;line-height:1.25;color:#fff}
.trend-axis-x{pointer-events:none}
.revenue-table tr.trend-selected>:is(th,td){background:#edf5ef;color:#194731}
.trend-values{min-width:0;border-top:1px solid #d7dfd9}
.revenue-table{width:100%;min-width:0;border-collapse:collapse;table-layout:auto;font-variant-numeric:tabular-nums}
.revenue-table :is(td,th){position:static;background:transparent;text-align:left;border:0;border-bottom:1px solid #e8ece9;padding:5px 4px;font:inherit;font-size:14px;line-height:1.35;color:#26382d;white-space:nowrap}
.revenue-table thead th{padding-block:7px;font-size:12px;font-weight:650;color:#53625b}
.revenue-table tbody th{font-weight:450}
.revenue-table tr>:last-child{text-align:right;font-weight:600}
.revenue-table td.zero{color:#69736c;font-weight:450}
.trend-source{border-top:1px solid #e4e9e5;padding-top:12px;margin:18px 0 0}
#modal:has([data-revenue-panel]){width:min(870px,calc(100vw - 24px))}
@media(max-width:690px){
  .trend-body{grid-template-columns:1fr;gap:15px}
  .revenue-chart{height:200px;min-height:0;padding-left:73px;padding-right:15px}
  .trend-guide span,.trend-axis-x span{font-size:12px}
  .revenue-table :is(td,th){padding-inline:1px}
}
@media(max-width:390px){.trend-modes button{min-width:60px;padding-inline:9px}.trend-year button{padding-inline:6px}}


.record-field-control{display:inline-flex;align-items:center;gap:.45rem;max-width:100%;padding:.28rem .47rem;border:1px solid #dfe6e2;border-radius:.5rem;background:#fff;color:inherit;text-align:left;cursor:pointer}
.record-field-control>svg,.record-action>svg,.record-term svg,.assignment-list dd>span>svg{width:14px;height:14px;vertical-align:middle;flex:none}
.record-field-control>svg{color:#596e64}
.record-field-control:hover,.record-field-control:focus-visible{background:#f1f7f3;border-color:#acc8b7}
.record-term,.crm-primary-row{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.crm-primary-row{padding:.5rem .65rem;margin-bottom:.6rem;border:1px solid #e1e8e4;border-radius:.5rem;background:#f8faf8}
.crm-primary-row>strong{font-size:.77rem;color:#42564d}
.crm-contact-sales{margin:.35rem 0;display:grid;gap:.23rem}
.crm-contact-sales>div{display:grid;grid-template-columns:58px 1fr;gap:.35rem;align-items:start}
.crm-contact-sales dt{color:#45594f;font-size:11px;font-weight:650}
.crm-contact-sales dd{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .7rem;font-size:12px}
.crm-contact-sales dd>span{display:inline-flex;gap:.25rem;align-items:center}
.crm-contact-sales dd svg{width:13px;height:13px}
.crm-contact-sales .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.case-facts button.record-field-control{border:0;background:transparent;padding:0;min-height:24px}
.case-facts button.record-field-control:hover .badge,.case-facts button.record-field-control:focus-visible .badge{box-shadow:0 0 0 1px currentColor}
.record-management{margin:0}.record-management>div{display:grid;grid-template-columns:6rem minmax(0,1fr);align-items:center;padding:9px 0}
.record-management dd,.owner-current,.owner-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.record-management dd{justify-content:space-between;margin:0}.record-management dt,.owner-current small{color:var(--sub)}
.record-management dd svg,.crm-owner-issues h4 svg{width:15px;height:15px;vertical-align:middle}
.record-management-footer,.owner-tools{border-top:1px solid var(--line);margin-top:8px;padding-top:10px}
.record-management-footer .record-trash-action{color:#8e3535;background:transparent;border:0}
.owner-current{justify-content:space-between}.owner-current>div{display:grid;gap:4px}.owner-current strong{font-size:1.05rem}
.crm-owner-issues h4{display:flex;gap:7px;align-items:center;margin:0;color:#75450a}
[data-assignment-issues] [data-repair-owner]{margin-top:8px}.owner-tools{justify-content:space-between}
.legacy-table-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:9px 14px;color:var(--sub);font-size:13px;border-top:1px solid var(--line)}
.legacy-table-links a{color:var(--ink);text-underline-offset:3px}
.daily-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.daily-filters .filter-actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-inline-start:auto}
.record-overview .metric-group{display:block;padding:12px 0}
.record-overview .metric-group h4,.capture-statistics h4{margin:0 0 8px;color:#51645b;font-size:.75rem;font-weight:650}
.record-overview .metric-group .case-facts,.capture-statistics .capture-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));margin:0;gap:12px 16px}
.capture-statistics section{padding-block:12px;border-top:1px solid var(--line)}
.capture-statistics .capture-facts div{border:0;border-radius:0;padding:0;min-width:0}
.record-management>div+div{border-top:1px solid var(--line)}
.record-management>div{grid-template-columns:minmax(8rem,.65fr) minmax(0,1.35fr);gap:8px}
.record-management-footer{display:flex;justify-content:flex-end}
.crm-owner-cell[aria-busy=true]{cursor:progress;opacity:.8}

.record-masthead .record-handle{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-width:0}
.record-handle>a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.record-handle .identifier-more{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:24px;padding:0 4px;border:0;border-radius:4px;background:transparent;box-shadow:none;color:#405d4e;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.record-handle .identifier-more:hover,.record-handle .identifier-more:focus-visible{text-decoration:underline;text-underline-offset:3px}
#drawer .identity-panel-trigger.merge-count{border-color:transparent;background:transparent;box-shadow:none;font-weight:550}
#drawer .identity-panel-trigger.merge-count:is(:hover,:focus-visible){color:#24523c;text-decoration:underline;text-underline-offset:3px}
#drawer .identity-source{display:inline-flex;justify-self:start;align-items:center;gap:6px;min-height:30px;padding:2px 0;border:0;border-radius:3px;background:transparent;color:#365343;box-shadow:none}
#drawer .identity-source:hover{text-decoration:underline;text-underline-offset:3px}
#drawer :is(.case-section-title,.rp-head,.identity-card>header,.brand-structure>header){align-items:center;flex-wrap:wrap;row-gap:7px}

#drawer .identity-heading-actions :is(.identity-panel-trigger,.identity-tool-icon),#drawer .identity-tool-icon[data-act]{font-size:12px;font-weight:550}

/* Interactions inside the record use the same quiet treatment as table cells. */
.record-activities{container-type:inline-size;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.record-activity{display:grid;grid-template-columns:8.7rem minmax(0,1fr);align-items:center;gap:8px 14px;padding:10px 0}
.record-activity+.record-activity{border-top:1px solid var(--line);padding-bottom:0}
.record-activity dt{display:flex;align-items:center;gap:8px;color:var(--sub);font-size:13px}
.record-activity dt svg{width:16px;height:16px;flex:none}
.record-activity dd{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;font-size:13px}
.activity-value{min-width:0;overflow-wrap:anywhere;line-height:1.45}
.activity-value small{display:block;color:var(--sub);font-size:12px}
.activity-actions,.relationship-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#drawer .record-inline-action,.crm-primary-row .primary-contact-actions>.contact-number{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;
  max-width:100%;margin:0;padding:3px 4px;border:0;border-radius:4px;background:transparent;
  box-shadow:none;font:inherit;font-weight:550;line-height:1.4;color:#334e40;cursor:pointer
}
#drawer .record-inline-action:is(:hover,:focus-visible),.crm-primary-row .contact-number:is(:hover,:focus-visible){color:#193d28;text-decoration:underline;text-underline-offset:3px}
#drawer .record-inline-action:focus-visible,.crm-primary-row .contact-number:focus-visible{outline:2px solid #37714f;outline-offset:2px}
#drawer .assignment-list dd{align-items:center}
.record-company-ids{font-variant-numeric:tabular-nums}
.crm-primary-row{justify-content:space-between;margin:0 0 8px;padding:6px 0 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.crm-primary-row>strong{font-size:13px;font-weight:500;color:var(--sub)}
.crm-primary-row .primary-contact-actions{font-size:13px;min-width:0}
.crm-primary-row .primary-contact-actions svg{width:16px;height:16px;flex:none}
#drawer .identity-lifecycle{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding:10px 0 0}
#drawer .identity-lifecycle .record-trash-action{background:transparent;box-shadow:none;border:0;color:#7e4842}
#drawer .identity-lifecycle .record-trash-action:is(:hover,:focus-visible){background:#fbf0ee}
.identity-rename .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container(max-width:27rem){
  .record-activity{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px}
  .record-activity dd{display:contents}
  .record-activity dt,.record-activity .activity-value{grid-column:1}
  .record-activity .activity-actions{grid-column:2;grid-row:1 / span 2}
  .record-activity .activity-value{padding-inline-start:24px}
}
.more-identifiers>summary{display:inline-flex;align-items:center;min-height:28px;padding:2px 0;color:#365343;font-size:12px;font-weight:600;cursor:pointer;list-style:none}
.more-identifiers>summary::-webkit-details-marker{display:none}
.more-identifiers>summary:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
.more-identifiers:not([open]) .when-open,.more-identifiers[open] .when-closed{display:none}
:is(.record-type,.case-facts dd) :is(.team-status-hint,.company-status-hint){display:inline-flex;align-items:center;gap:4px;padding:2px 6px;margin:0;height:auto;color:#805318;background:transparent;font-size:12px;line-height:1.3}
:is(.record-type,.case-facts dd) :is(.team-status-hint,.company-status-hint).neutral{color:#586270}
:is(.record-type,.case-facts dd) :is(.team-status-hint,.company-status-hint) svg{width:14px;height:14px;flex:none}

.record-panes{display:grid;gap:12px;min-width:0}
.record-panes [hidden]{display:none!important}
.record-panes .rp-section{padding:16px 18px;margin:0;min-width:0;border:1px solid #dfe3e4;border-radius:13px;background:#fff;color:#232827}
.rp-head,.rp-inline,.rp-compose-actions,.rp-note header,.rp-sheet-note header,.rp-signal header{display:flex;align-items:center;gap:9px}
.rp-head{justify-content:space-between;flex-wrap:wrap;margin:0 0 12px}
.rp-head h3{font-size:14px;letter-spacing:-.025em;font-weight:650;margin:0}
.rp-head .btn{margin:0}
.record-panes :is(p,ul,dl){margin:0}
.record-panes p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.rp-meta,.rp-empty,.record-panes :is(time,small){font-size:12px;color:#596260;line-height:1.45}
.record-panes .rp-empty{color:#68706e;font-size:12px}
.rp-field-tools{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:0 0 14px}
.rp-search{display:flex;align-items:center;gap:7px;flex:1 1 140px;min-width:0;background:#f6f7f7;border:1px solid #dde1df;border-radius:8px;padding:7px 9px;color:#606865}
.rp-search:focus-within{outline:2px solid #536764;outline-offset:1px}
.rp-search svg,.rp-filter svg,.rp-private svg,.rp-check svg,.rp-symbol svg,.rp-source-heading svg{width:15px;height:15px;flex:none}
.rp-search input{border:0;outline:0;width:100%;min-width:0;color:#202623;background:transparent;font:inherit;font-size:12px}
.rp-filter{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#454e4b;cursor:pointer}
.rp-filter input{accent-color:#222826;margin:0;width:14px;height:14px}
.rp-groups{border-block:1px solid #e0e4e2}
.rp-group+.rp-group{border-top:1px solid #e6e9e7}
.rp-group summary,.rp-disclosure summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none}
.rp-group summary::-webkit-details-marker,.rp-disclosure summary::-webkit-details-marker{display:none}
.rp-group summary{padding:10px 0;font-size:12px;font-weight:650}
.rp-group summary>svg,.rp-disclosure summary>svg{width:13px;height:13px;flex:none;color:#676e6c;transition:transform .15s}
.rp-group[open]>summary>svg,.rp-disclosure[open]>summary>svg{transform:rotate(90deg)}
.rp-group summary small{margin-left:auto;color:#6c7471;font-size:11px;font-weight:500}
.rp-field{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) 58px;align-items:start;column-gap:10px;padding:7px 0;border-top:1px solid #eff0ef;font-size:12px;line-height:1.5}
.rp-field-label{color:#5b6561;overflow-wrap:anywhere}
.rp-value{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.rp-value a{color:inherit;text-underline-offset:2px}
.rp-missing{color:#828a86}.rp-check{display:inline-flex;color:#26714b}.rp-check svg{width:14px}
.rp-actions{display:inline-flex;align-items:center;gap:2px;justify-content:flex-end}
.rp-icon{border:0;display:grid;place-items:center;width:25px;height:24px;border-radius:6px;background:transparent;color:#66706a;cursor:pointer}
.rp-icon svg{width:14px;height:14px}.rp-icon:hover,.rp-icon:focus-visible{color:#1c2620;background:#e9edeb}
.rp-field:hover,.rp-field:focus-within{background:#fafbf9}
.rp-composer{display:grid;gap:7px;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #e5e8e6}
.rp-composer>label{font-size:12px;color:#49524e}.rp-composer textarea{font:inherit;font-size:13px;line-height:1.5;box-sizing:border-box;width:100%;resize:vertical;min-height:70px;background:#fafbfa;border:1px solid #d8ddda;border-radius:9px;padding:9px 10px}
.rp-compose-actions{justify-content:space-between;flex-wrap:wrap}.rp-compose-actions .btn{margin-left:auto}
.rp-note,.rp-sheet-note,.rp-signal,.rp-origin{min-width:0;padding:11px 0}
.rp-note+.rp-note,.rp-sheet-note+.rp-sheet-note,.rp-signal+.rp-signal,.rp-origin+.rp-origin,.rp-result+.rp-result{border-top:1px solid #e5e9e6}
.rp-note:first-of-type,.rp-sheet-note:first-of-type,.rp-signal:first-of-type,.rp-origin:first-of-type{padding-top:0}
.rp-note:last-child,.rp-sheet-note:last-child,.rp-signal:last-child,.rp-origin:last-child{padding-bottom:0}
.rp-note header,.rp-sheet-note header,.rp-signal header{justify-content:space-between;align-items:center}
.rp-note header strong{margin-right:auto}.rp-note header :is(.person-icon,.person-photo){width:22px;height:22px;font-size:10px}
.rp-note strong,.rp-sheet-note strong,.rp-origin strong,.rp-signal strong{font-size:12px;font-weight:650}
.rp-note p,.rp-sheet-note p,.rp-signal p{white-space:pre-wrap;margin-top:5px}
.rp-private{display:inline-flex;align-items:center;gap:4px;margin-top:5px}.rp-private svg{width:12px}
.rp-origin,.rp-signal,.rp-source-heading{display:flex;align-items:flex-start;gap:10px}
.rp-origin{align-items:center}.rp-origin>div,.rp-signal>div{flex:1;min-width:0;overflow-wrap:anywhere}.rp-origin small,.rp-signal small{display:block;margin-top:2px}
.rp-symbol{flex:none;display:grid;place-items:center;background:#f2f4f3;border:1px solid #e2e7e4;border-radius:9px;color:#53615a;width:30px;height:30px}
.rp-source-group>summary svg:nth-child(2){transform:none;width:14px;height:14px}.rp-source-line{font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:9px;padding:5px 2px 6px 20px;border-top:1px solid #eff1ef}.rp-source-line>span small{margin-inline-start:.5rem;font-size:11px}
.rp-origin .btn svg{width:12px}.rp-inline{margin-top:9px;justify-content:space-between;flex-wrap:wrap}
.rp-metrics,.rp-findings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:10px}
.rp-metrics>div,.rp-findings>div{min-width:0}.record-panes dt{font-size:11px;color:#5a6560}.record-panes dd{margin:3px 0 0;overflow-wrap:anywhere}.rp-metrics dd{font-size:17px;font-weight:650;letter-spacing:-.03em}
.rp-findings{padding:10px 0;border-block:1px solid #e5e9e6;margin:10px 0!important}.rp-findings dd{font-size:12px;font-weight:600}
.rp-result-state{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.rp-result .rp-next{font-size:16px;font-weight:600;letter-spacing:-.025em;line-height:1.4;margin:9px 0}
.rp-result-state:empty{display:none}.rp-meta+.rp-result{margin-top:12px}.rp-sub{margin:12px 0}.rp-sub h4{margin:0 0 6px;font-size:12px}
.rp-compact-facts{display:grid;gap:4px;margin:7px 0!important}.rp-compact-facts>div{display:grid;grid-template-columns:minmax(90px,40%) 1fr;gap:8px;align-items:baseline}.rp-compact-facts dd{margin:0;font-size:12px}
.rp-disclosure summary{font-size:12px;color:#48534c;padding:4px 0;font-weight:580}
.rp-disclosure>div{padding:8px 2px}.rp-disclosure :is(p,ul){font-size:12px;line-height:1.5}.rp-disclosure ul{padding-left:17px;margin-top:5px}
.rp-statement{font-weight:600}.rp-statement + .rp-meta,.rp-sheet-note + .rp-meta{margin-top:4px}
.rp-source-heading{align-items:center;flex-wrap:wrap;font-size:13px}.rp-source-heading span{color:#65706a}
.rp-original-fields>div{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.1fr);gap:12px;border-top:1px solid #e7ebe8;padding:8px 0}
.rp-original-fields dt{font-size:12px}.rp-original-fields dt small{color:#7d8581;font-size:10px}.rp-original-fields dd{margin:0;font-size:12px;white-space:pre-wrap}
@media(max-width:550px){.record-panes .rp-section{padding:13px}.rp-field{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) 45px;gap:5px}.rp-icon{width:21px}.rp-note time,.rp-signal time{font-size:10px}.rp-filter{font-size:11px}.rp-head{gap:5px}.rp-source-heading{gap:6px}}
@media(prefers-reduced-motion:reduce){.rp-group summary>svg,.rp-disclosure summary>svg{transition:none}}

.crm-ids{display:flex;gap:5px;flex-wrap:wrap}.crm-id{padding:2px 6px;background:#f2f4f3;border:1px solid #e1e5e2;border-radius:5px;font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.rp-value .contact-number,.rp-metrics .contact-number{background:transparent;border-color:transparent;padding-inline:0;color:#315d4a}
.rp-value .contact-number:is(:hover,:focus-visible),.rp-metrics .contact-number:is(:hover,:focus-visible){background:transparent;text-decoration:underline}
.rp-signal .rp-symbol{background:transparent;border-color:transparent;border-radius:0}
#drawer .rp-source-actions .record-action{min-height:28px;padding:.2rem .5rem;font-size:12px}
#drawer .rp-source-actions [data-act="edit-brand-sources"]{border:0;background:transparent;box-shadow:none}
#drawer .rp-source-actions [data-act="edit-brand-sources"]:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:.2em}

#drawer :is(.rp-value,.rp-metrics,.metric-group) :is(.contact-number,.fact-alert,.fact-preview){appearance:none;background:transparent;border:0;box-shadow:none;padding:0;display:inline-flex;align-items:center;gap:4px}
#drawer :is(.rp-value,.rp-metrics,.metric-group) :is(.contact-number,.fact-alert,.fact-preview)>svg{width:15px;height:15px}

#drawer .rp-value .crm-id{border:0;background:transparent;padding:0;font:inherit}
#drawer .rp-field button:is(.rp-icon,.revenue-trend-button),#drawer .rp-actions{background:transparent;box-shadow:none}
#drawer .rp-field button:focus-visible,#drawer .rp-metrics button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

#drawer .rp-field{align-items:center}
#drawer .rp-actions{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-self:center;justify-self:stretch}
#drawer .rp-actions>[data-history-col]{grid-column:2;grid-row:1}
#drawer .rp-actions>button:not([data-history-col]){grid-column:1;grid-row:1}
#drawer .rp-section .rp-source-actions{justify-content:flex-end}
#drawer .rp-section :is(.rp-compact-facts,.rp-findings) dd.value{background:transparent;box-shadow:none;border:0;padding:0;color:inherit}
#drawer .rp-search,#drawer .rp-composer textarea{background:#fff}


#drawer .rp-inline-value,.rp-source-open{
  appearance:none;border:0;border-radius:3px;box-shadow:none;background:transparent;color:inherit;
  font:inherit;text-align:start;padding:0;cursor:pointer;max-width:100%;overflow-wrap:anywhere;
}
#drawer .rp-inline-value:hover,.rp-source-open:hover{text-decoration:underline;text-underline-offset:.2em}
.rp-source-open{display:inline-flex;align-items:center;gap:4px;min-height:24px;color:#405748;font-size:12px}
.rp-source-open svg{width:13px;height:13px;flex:none}
.rp-source-open:focus-visible,.rp-group>summary:focus-visible,.rp-origin-archive>summary:focus-visible{
  outline:2px solid currentColor;outline-offset:2px;
}
#drawer .rp-story-metrics{gap:14px;align-items:start}
#drawer .rp-story-metrics dd{
  display:flex;align-items:center;min-height:1.55em;margin:4px 0 0;
  color:#26352e;font-size:17px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums;
}
#drawer .rp-story-metrics dd :is(time,button,.rp-missing){
  margin:0;padding:0;font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;
}
#drawer .rp-story-metrics dd [data-story-period]>svg{width:1em;height:1em;color:#627969}
#drawer .rp-story-metrics .contact-number{cursor:pointer}
#drawer .rp-story-metrics .contact-number:is(:hover,:focus-visible){text-underline-offset:.16em}

.rp-field > .rp-inline-trail {grid-column:1/-1;min-width:0;margin:8px 0;padding:8px 0 8px 12px;border-inline-start:2px solid #c8d8ce;background:transparent;}
.brand-trail {
  --trail-line:#e4e6e5;
  --trail-ink:#222623;
  --trail-sub:#626863;
  width:100%;
  min-width:0;
  color:var(--trail-ink);
  background:white;
  border:1px solid var(--trail-line);
  border-radius:15px;
  overflow:hidden;
}
.trail-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--trail-line);}
.brand-trail .trail-heading h3 {margin:0;font-size:17px;font-weight:640;letter-spacing:-.035em;line-height:1.25;}
.trail-select {position:relative;display:flex;align-items:center;max-width:58%;min-width:0;}
.trail-select svg {position:absolute;left:9px;height:14px;width:14px;pointer-events:none;color:#626863;}
.brand-trail .trail-select select {appearance:none;min-width:0;max-width:100%;width:205px;height:32px;padding:0 24px 0 29px;border:1px solid #d5d9d6;border-radius:8px;background:#fff;color:#313733;font:inherit;font-size:12px;text-overflow:ellipsis;cursor:pointer;}
.brand-trail .trail-select select:not([multiple]):not([size]) {padding-inline-end:25px!important;}
.trail-select select::picker-icon {display:none;}
.trail-avatar > svg {width:15px;height:15px;color:#526057;}
.trail-select select:hover {background:#f7f8f7;}
.trail-select select:focus-visible,.trail-fields summary:focus-visible,.trail-entry:focus-visible {outline:2px solid #506759;outline-offset:2px;}
.trail-day {padding:20px 20px 0;}
.trail-day:last-child {padding-bottom:14px;}
.brand-trail .trail-day h4 {display:flex;align-items:center;gap:12px;margin:0 0 14px;color:var(--trail-sub);font-size:11px;line-height:1.45;font-weight:600;letter-spacing:.012em;}
.trail-day h4::after {content:"";flex:1;height:1px;background:var(--trail-line);}
.trail-day ol {margin:0;padding:0;list-style:none;}
.trail-entry {position:relative;isolation:isolate;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:2px 0 19px;outline:none;}
.trail-entry:last-child {padding-bottom:5px;}
.trail-entry:not(:last-child)::before {content:"";position:absolute;z-index:-1;top:36px;bottom:3px;left:14px;width:1px;background:var(--trail-line);}
.trail-avatar {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f0f2f0;}
.brand-trail .trail-avatar :is(.person-photo,.person-icon) {display:grid;place-items:center;width:30px;height:30px;max-width:30px;border:1px solid #dfe3df;border-radius:50%;font-size:10px;line-height:1;background:#edf0ee;color:#3f4b45;object-fit:cover;}
.trail-content {min-width:0;}
.trail-header {display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
.trail-header strong {font-size:14px;line-height:1.45;font-weight:640;letter-spacing:-.015em;overflow-wrap:anywhere;}
.trail-header time {font-size:11px;font-variant-numeric:tabular-nums;color:var(--trail-sub);flex:none;}
.trail-by {margin:2px 0 0;font-size:12px;line-height:1.45;color:var(--trail-sub);overflow-wrap:anywhere;}
.trail-by span {margin-inline:2px;}
.trail-diff {display:grid;align-items:center;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:8px;max-width:100%;margin-top:10px;border-inline-start:2px solid #c8d8ce;padding:2px 0 2px 10px;}
.trail-diff > div {align-self:start;min-width:0;}
.trail-diff > div > span,.trail-fact > span {display:block;font-size:10px;line-height:1.4;font-weight:550;color:var(--trail-sub);}
.trail-diff > div > div,.trail-fact > div {padding-top:2px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.45;}
.trail-diff > div:last-child > div {font-weight:550;}
.trail-arrow {display:grid;place-items:center;color:#7d857f;}
.trail-arrow svg {width:13px;height:13px;}
.trail-diff.long {grid-template-columns:minmax(0,1fr);gap:8px;}
.trail-diff.long .trail-arrow {display:none;}
.trail-diff.long > div:last-child {border-top:1px solid var(--trail-line);padding-top:7px;}
.trail-unset {color:var(--trail-sub);font-weight:400;}
.trail-fact {margin-top:8px;}
.trail-fields {margin-top:8px;border:1px solid var(--trail-line);border-radius:8px;padding:0 10px;}
.trail-fields summary {font-size:12px;line-height:1.5;color:#4b534d;cursor:pointer;padding:7px 0;overflow-wrap:anywhere;}
.trail-field {margin:5px 0 12px;}
.trail-field > strong {font-size:12px;font-weight:600;}
.trail-field .trail-diff {margin-top:5px;}
.trail-footer {padding:13px 20px;border-top:1px solid var(--trail-line);}
.trail-footer p {margin:0 0 8px;}
.trail-message,.trail-empty {margin:0;padding:30px 20px;color:var(--trail-sub);font-size:13px;}
.trail-empty {display:flex;align-items:center;gap:10px;min-height:78px;}
.trail-empty svg {width:17px;height:17px;}
.trail-announcement {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-width:550px) {
  .trail-heading,.trail-day,.trail-footer {padding-inline:13px;}
  .trail-heading {flex-wrap:wrap;gap:8px;}
  .trail-select {max-width:100%;}
  .trail-entry {grid-template-columns:26px minmax(0,1fr);gap:8px;}
  .brand-trail .trail-avatar,.brand-trail .trail-avatar :is(.person-photo,.person-icon) {width:26px;height:26px;}
  .trail-entry:not(:last-child)::before {left:12px;top:32px;}
}

.sheet-table [data-sheet-key] {user-select:none;-webkit-user-select:none}
.sheet-table .grid-entry :is(input,textarea,select) {user-select:text;-webkit-user-select:text}
:is(#brand-scroll,[data-capture-scroll]) .grid td:has(>.sheet-copy){position:relative;padding-inline-end:26px}
.sheet-copy{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:21px;height:24px;padding:2px;display:grid;place-items:center;border-radius:5px;background:var(--paper,#fff);color:#54625b;opacity:0;cursor:copy}
.sheet-copy svg{width:13px;height:13px}.sheet-copy:hover{color:#1a2420;background:#edf1ed}
td:hover>.sheet-copy,td:focus-within>.sheet-copy,.sheet-copy:focus-visible{opacity:1}
:is(#brand-scroll,[data-capture-scroll]) td.grid-selected:not(.grid-inline){box-shadow:inset 0 0 0 1px #707d75;background-color:#eaf0ec}
.sheet-table td[data-sheet-key]:focus-visible{outline-offset:-2px}
@media(hover:none){.sheet-copy{opacity:.78}}

.sales-date {display:inline-flex;align-items:center;gap:3px;width:100%;min-width:0;border:1px solid #cdd5d0;border-radius:8px;padding:2px 3px 2px 7px;background:#fff}
.sales-date:focus-within {border-color:#636e68;box-shadow:0 0 0 2px #e8eeea}
.sales-date input[type=date],#modal .sales-date input[type=date],.grid-entry .sales-date input[type=date] {min-width:0;width:100%;padding:4px 1px;border:0;box-shadow:none;background:transparent;font:inherit;outline:none}
.sales-date input::-webkit-calendar-picker-indicator {display:none}
.sales-date>button {display:grid;place-items:center;background:transparent;border-radius:6px;padding:3px 5px;min-height:27px;color:#45554e}
.sales-date>button:hover {background:#eef2ef}
.date-popover {position:fixed;z-index:1500;display:grid;gap:8px;width:min(282px,calc(100vw - 12px));max-height:calc(100dvh - 12px);overflow:auto;border:1px solid #d7ded9;border-radius:12px;padding:12px;background:#fff;color:#202722;box-shadow:0 10px 32px #14211724;font:13px/1.35 system-ui}
.date-month,.date-shortcuts {display:flex;align-items:center;gap:4px}.date-month {justify-content:space-between}.date-month strong {font-size:14px}.date-month button,.date-days button,.date-shortcuts button {background:transparent;color:inherit;border:0;border-radius:6px}
.date-month button,.date-days button {padding:5px;min-height:30px}.date-month button:hover,.date-days button:hover,.date-shortcuts button:hover {background:#ebf0ed}
.date-days,.date-weekdays {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
.date-weekdays {color:#737d76;font-size:10px}.date-days button {font:500 12px/1.3 system-ui}.date-days .adjacent {color:#89918c}
.date-days .current-day {text-decoration:underline;text-underline-offset:3px}.date-days .picked,.date-days .picked:hover {background:#252e28;color:white}
.date-shortcuts {border-top:1px solid #e5e9e6;padding-top:7px;flex-wrap:wrap}.date-shortcuts button {padding:6px 5px;font-size:12px;font-weight:550}.date-shortcuts [data-clear-date] {margin-left:auto;color:#747c76}
.boolean-mark,#brand-scroll .follow-flag .grid-hint,.rp-check {width:17px;height:17px;min-width:17px;margin:0;border-radius:5px;vertical-align:middle;font:500 12px/1 system-ui}
.boolean-mark svg,#brand-scroll .follow-flag .grid-hint svg,.rp-check svg {width:11px;height:11px;stroke-width:2}
#brand-scroll .field-flag:has(.boolean-mark) {text-align:center}

:is(#brand-scroll,[data-capture-scroll]) .brand-title-line .brand-cell-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
:is(#brand-scroll,[data-capture-scroll]) .brand-title-line .open-record-icon,:is(#brand-scroll,[data-capture-scroll]) .brand-eye{flex:none;display:inline-grid;place-items:center;width:21px;height:21px;padding:2px;border:0;border-radius:4px;background:transparent;color:#717b78}
.brand-name-action{display:inline-flex;align-items:center;gap:3px;min-width:min(40px,100%);max-width:100%}
:is(#brand-scroll,[data-capture-scroll]) .brand-name-action .open-record-icon{flex:0 0 18px;width:18px;height:18px;margin:0;padding:1px}:is(#brand-scroll,[data-capture-scroll]) .open-record-icon:hover,:is(#brand-scroll,[data-capture-scroll]) button.brand-eye:hover{background:#e4eae6;color:#192a23}
:is(#brand-scroll,[data-capture-scroll]) .open-record-icon svg,:is(#brand-scroll,[data-capture-scroll]) .brand-eye svg{width:15px;height:15px;stroke-width:1.7}
:is(#brand-scroll,[data-capture-scroll]) .brand-eye:not(.is-hidden){opacity:0}:is(#brand-scroll,[data-capture-scroll]) .brand-title-line:focus-within .brand-eye,:is(#brand-scroll,[data-capture-scroll]) .brand-row:hover .brand-eye{opacity:1}
.scroll-grid .identifier-more{appearance:none;box-shadow:none;border:0;border-radius:4px;padding:1px 4px;margin-left:3px;background:#eaf0ed;font-size:11px;font-weight:600;color:#345043}
:is(#brand-scroll,[data-capture-scroll]) .grid tr.picked-row>td:not(.grid-selected):not(.grid-inline){background:#e5f0eb}
:is(#brand-scroll,[data-capture-scroll]) .grid tr.picked-row .select{box-shadow:inset 3px 0 #558371}
@media(hover:none){:is(#brand-scroll,[data-capture-scroll]) .brand-eye:not(.is-hidden){opacity:1}}

#brand-scroll .grid-inline .grid-entry.grid-long-panel{position:fixed;inset:auto;margin:0;box-sizing:border-box;display:grid;padding:8px;background:white;border:1px solid #788780;border-radius:9px;box-shadow:0 12px 40px #15282027;overflow:visible;z-index:30}
#brand-scroll .grid-entry.grid-long-panel textarea{width:100%;height:100%;box-sizing:border-box;padding:6px 8px;resize:none;white-space:pre-wrap;line-height:1.5;background:white;color:#18201d}
.long-cell-reader{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto;line-height:1.6;padding:8px 2px}
.note-person-options{position:fixed;z-index:45;display:grid;min-width:190px;max-width:min(320px,95vw);max-height:205px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 9px 28px #16201c22;padding:4px}
.note-person-options button{display:flex;align-items:center;gap:7px;text-align:left;font:inherit;font-size:.83rem;color:#1d2a23;background:white;padding:7px 9px;border:0;border-radius:5px;cursor:pointer}.note-person-options button[aria-selected=true],.note-person-options button:hover{background:#e9efec}
.note-mention{background:#e5eeeb;color:#274c40;border-radius:4px;padding:0 3px;font-weight:550}.change-by{font-size:.72rem;color:var(--sub);font-weight:450;display:block;margin-top:3px}.rp-note p,.rp-sheet-note p{white-space:pre-wrap;overflow-wrap:anywhere}

.sales-date{position:relative;cursor:pointer}.sales-date input[type=date]:not(:focus){color:transparent;cursor:pointer}
.sales-date .date-caption{position:absolute;left:9px;pointer-events:none;white-space:nowrap;color:#333d38;font:inherit}
.sales-date:has(input[type=date]:focus) .date-caption{display:none}
.date-switch{display:flex;align-items:center;gap:1px}.date-switch button{font-weight:650;text-decoration:underline dotted #aab2ad;text-underline-offset:4px}
.date-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.date-options button,.date-year-entry button{background:#f4f6f5;border-radius:6px;color:inherit;border:none;padding:7px 3px;font-size:12px}
.date-options [aria-pressed=true]{background:#28332c;color:#fff}.date-options button:hover,.date-year-entry button:hover{background:#dce6de;color:#1c2520}
.date-year-entry{display:flex;gap:6px}.date-year-entry input{width:55%;min-width:0;border-radius:6px;padding:5px 6px;border:1px solid #cbd2cd}.date-year-entry button{flex:1}

#brand-scroll .sheet-table[data-pin-count="1"] tr[data-brand]>td:nth-child(3),#brand-scroll .sheet-table[data-pin-count="2"] tr[data-brand]>td:is(:nth-child(3),:nth-child(4)){position:sticky;z-index:1;background-color:#fff}
#brand-scroll .sheet-table[data-pin-count="1"] :is(th,tr[data-brand]>td):nth-child(3),#brand-scroll .sheet-table[data-pin-count="2"] :is(th,tr[data-brand]>td):nth-child(3){left:var(--pin-left-1)}
#brand-scroll .sheet-table[data-pin-count="2"] :is(th,tr[data-brand]>td):nth-child(4){left:var(--pin-left-2)}
#brand-scroll .sheet-table[data-pin-count="1"] th:nth-child(3),#brand-scroll .sheet-table[data-pin-count="2"] th:is(:nth-child(3),:nth-child(4)),#brand-scroll .sheet-table th.first{z-index:5}
#brand-scroll .sheet-table[data-pin-count] tbody tr:nth-child(even):not(.picked-row)>td:not(.grid-selected):not(.grid-inline){background-color:#f8f9fb}
#brand-scroll .sheet-table[data-pin-count] tr.picked-row>td:not(.grid-selected):not(.grid-inline){background-color:#e5f0eb}
#brand-scroll .sheet-table[data-pin-count] tr[data-brand]>td.grid-selected{background:#e1ece7;box-shadow:inset 0 0 0 1.5px #47735f}
.picker-freeze{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;font-size:.85rem}
.picker-freeze select{max-width:55%;margin:0}

.call-people{margin:0;padding:0;min-width:0;border:0}.call-people legend{font-weight:600;margin-bottom:6px}
.call-people>div,.call-people details>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:4px;max-height:220px;overflow:auto;padding:2px}
#modal .call-person{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500;padding:7px 8px;border-radius:6px;background:#f6f7f6;cursor:pointer}
#modal .call-person:has(input:checked){background:#eaf1ec}#modal .call-person input{width:14px;min-height:14px;height:14px;flex:none;margin:0;accent-color:#293c30}
.call-people summary{font-size:.8rem;color:var(--sub);padding:6px 2px;cursor:pointer}.case-facts dd .linkbtn{font-size:.78rem}

:is(#brand-scroll,[data-capture-scroll]) .identity-values{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle;white-space:nowrap}
:is(#brand-scroll,[data-capture-scroll]) .identity-values>a,:is(#brand-scroll,[data-capture-scroll]) .identity-values>.brand-cell-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#brand-scroll,[data-capture-scroll]) .identity-values>button{flex:none}

.field-conflict-note{padding:12px 15px;border:1px solid #e9d9b8;border-radius:10px;background:#fffcf6;color:#463c2f;font-size:.83rem}
.field-conflict-note>div,.field-conflict-note li{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.field-conflict-note h3{font-size:.88rem;margin:0}
.field-conflict-note>div>svg{width:16px;height:16px;color:#97621c}
.field-conflict-note ul{display:grid;gap:5px;padding:0;margin:6px 0 0;list-style:none}
.field-conflict-note .linkbtn{margin-inline-start:auto;font-size:.78rem}

#brand-scroll .grid-entry:has(.domain-host-hint){display:flex;align-items:center}
#brand-scroll .grid-entry>.domain-host-hint{flex:none;margin:0 5px 0 0}
#brand-scroll .grid-entry>.domain-host-hint[hidden]{display:none}

:is(#brand-scroll,[data-capture-scroll]) .note-cell-open{display:flex;align-items:center;gap:6px;width:100%;min-width:0;text-align:left;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}
.note-cell-open>.note-cell-preview{display:grid;min-width:0;overflow:hidden}.note-cell-open>.note-cell-preview>span,.note-cell-open small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.note-cell-open small{font-size:10px;line-height:12px;color:#616b69}.note-cell-open>:is(svg,.person-icon,.person-photo){width:19px;height:19px;flex:0 0 19px;line-height:19px;font-size:9px}.note-cell-open>svg{width:15px;height:15px;color:#67716e}
.note-thread{display:grid;gap:12px;min-width:0}.note-thread-brand{display:flex;align-items:center;gap:7px}.note-thread-brand svg{width:18px;height:18px}.note-thread .rp-composer{margin:0}.note-thread .rp-note{border-top:1px solid #e7e9e9}.note-thread .rp-note header time{font-size:11px;color:var(--sub)}.note-thread .rp-note p{overflow-wrap:anywhere}.note-thread .note-reply-button{font-size:11px}.note-thread .note-context{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sub);font-size:11px}.note-original{border-top:1px solid #e3e6e4;padding-top:10px}.note-original summary{cursor:pointer;font-weight:550}.note-original p{overflow-wrap:anywhere;white-space:pre-wrap}.note-original small{color:var(--sub);display:block}.note-reply-context{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:12px}.note-reply-context[hidden]{display:none}

.action-notice{position:fixed;z-index:120;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:9px 10px 9px 16px;border:1px solid #45494a;border-radius:12px;box-shadow:0 5px 22px #10171930;background:#202525;color:#fff;width:max-content;max-width:calc(100vw - 24px);font-size:13px;line-height:1.4}
.action-notice button{background:transparent;border:0;padding:5px 3px;color:inherit;font-weight:650;font-size:inherit;white-space:nowrap}
.action-notice button:hover{text-decoration:underline}.action-notice .notice-close{min-width:24px;color:#c2c8c9;font-size:18px;line-height:1;font-weight:400}
.action-notice button:focus-visible{outline:2px solid white;outline-offset:2px}
body:has(.action-notice) #notifications{bottom:76px}
@media(max-width:560px){.action-notice{flex-wrap:wrap;gap:4px 10px}.action-notice>span{flex:1 1 100%}}

/* Match the focus row height used by the continuous table. */
.view-strip .focus-switch[aria-pressed=true]{background:#e6ede9;color:#234639;border-color:#a9b9ae}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand]),
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .grid tbody tr:is([data-brand],[data-capture-brand])>td{height:52px;font-size:clamp(12px,.93vw,14px)}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .brand-title-line .brand-cell-name,
.sales-focus .grid tr[data-capture-brand] .record{font-size:clamp(13px,1vw,15px)}
.sales-focus .grid .sheet-heading,.sales-focus .focus-label{font-size:13px;font-weight:600}
.sales-focus .focus-label{padding:0 9px}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .brand-domain{display:none}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .brand-meta-line:empty{display:none}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .brand-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.sales-focus [data-sheet-key] .badge,.sales-focus .crm-owner-cell{font-size:inherit}
.focus-caption,.focus-origin,.focus-pending{color:var(--sub,#53645b)}
.focus-caption{margin:0;padding:10px 16px;font-size:12px}
.sales-focus .sheet-quick[hidden]{display:none}
.sales-focus .focus-origin{font-size:11px}
.focus-many-deals{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:6px;background:#fff1d5;color:#775017;font-weight:650}
.focus-many-deals svg{width:14px;height:14px}

.saved-views{display:grid;gap:14px;min-width:0}
.saved-views-privacy{display:flex;align-items:center;gap:6px;color:var(--sub);font-size:12px}
.saved-views-privacy svg{width:14px;height:14px}
.saved-view-list{display:grid;gap:7px;list-style:none;margin:0;padding:3px;max-height:43dvh;overflow-y:auto;overscroll-behavior:contain}
.saved-view-row{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.saved-view-open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:10px 8px 10px 12px;text-align:left;border-radius:9px;background:transparent}
.saved-view-open:hover{background:#f3f6f3}
.saved-view-open>svg{width:15px;height:15px;color:var(--sub);flex:none}
.saved-view-symbol{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:#eaf0ec;color:#355946}
.saved-view-symbol svg{width:17px;height:17px}
.saved-view-copy{display:grid;gap:2px;min-width:0;flex:1;overflow-wrap:anywhere}
.saved-view-copy strong{font-size:14px;font-weight:650;line-height:1.35}
.saved-view-copy small{color:var(--sub);font-size:12px}
.saved-view-remove{flex:none;margin:0 7px 0 3px;color:var(--sub)}
.saved-view-remove:hover{color:var(--red)}
.saved-view-open:focus-visible,.saved-view-remove:focus-visible{outline-offset:-2px}
.saved-view-empty{padding:14px 0;color:var(--sub)}
.saved-view-form{display:grid;gap:6px;padding-top:14px;border-top:1px solid var(--line)}
.saved-view-form label{font-size:13px;font-weight:650}
.saved-view-inputs{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.saved-view-inputs input{flex:1 1 160px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:8px 10px}
.saved-view-inputs .btn{justify-content:center}
@media(max-width:430px){.saved-view-inputs{display:grid}.saved-view-inputs .btn{width:100%}}

@media(prefers-reduced-motion:no-preference){.grid td.cell-just-updated,.sheet-table td.cell-just-updated{animation:cell-value-updated 1.6s ease-out}@keyframes cell-value-updated{0%,18%{background-color:#daeadd}100%{background-color:transparent}}}

.crm-record-link{display:inline-flex;vertical-align:middle;margin-inline:.25rem;color:#a84b28}.crm-record-link svg,.crm-person svg{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.7}.sheet-heading .team-initials{font-size:.69em;border-radius:3px;padding:1px 3px;color:#345848;background:#ecf3ed}.sheet-heading .team-initials.capture{color:#5f4380;background:#f0eaf5}

.sync-issue-button{display:inline-grid;place-items:center;vertical-align:middle;margin-inline-start:4px;padding:2px;border:0;border-radius:4px;background:transparent;color:#875619}
.sync-issue-button svg{width:15px;height:15px}
.sync-issue-button:hover,.sync-issue-button:focus-visible{background:#fff0d5}
.sync-state-link{padding:0;border:0;background:transparent}

.sales-focus .focus-table{width:100%;table-layout:fixed}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .focus-table thead th{padding-inline:3px;white-space:normal;line-height:1.18;font-size:clamp(11.5px,.9vw,13px)}
.sales-focus .focus-table th .sheet-heading,.sales-focus .focus-table th .linkbtn{white-space:normal;font-size:inherit;line-height:1.18;text-align:left;overflow-wrap:normal;word-break:normal}
.sales-focus .focus-table th .sheet-heading{padding-inline:1px;gap:2px}
.sales-focus .focus-table th:not([aria-sort=ascending]):not([aria-sort=descending]) .sheet-heading small{display:none}
.sales-focus .focus-table td{padding-inline:5px;max-width:none;overflow:hidden;text-overflow:ellipsis}
.sales-focus .focus-table td>:is(button,span,a){max-width:100%}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .focus-table td[data-sheet-key]{padding-inline:4px;vertical-align:middle}
.sales-focus .focus-table .mail-date{min-width:0;gap:3px}
.sales-focus .focus-table .mail-date svg{width:13px;height:13px}
.sales-focus .focus-table .mail-date time{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .cell-with-hint{gap:2px;line-height:1.15}
.sales-focus :is(#brand-scroll,[data-capture-scroll]) .cell-with-hint>.grid-hint{width:15px;min-width:15px;height:15px}
.sales-focus .focus-table .cell-with-hint>.grid-hint svg{width:13px;height:13px}


.column-insertion-marker{position:fixed;z-index:1000;width:3px;transform:translateX(-50%);border-radius:2px;background:#2465bd;pointer-events:none}
.column-insertion-marker::before{content:'';position:absolute;top:0;left:-3px;border-inline:4.5px solid transparent;border-top:5px solid #2465bd}
.sales-focus .focus-table .column-controls{display:flex;align-items:center;min-width:0;padding-right:1px;gap:2px}
.sales-focus .focus-table .column-drag-handle{flex:0 0 9px;width:9px;padding:0}
.sales-focus .focus-table .sheet-heading>span{white-space:normal;text-overflow:clip;line-height:1.18;hyphens:none}

.sheet-table .row-picker{position:relative;display:grid;place-items:center;min-height:22px;cursor:pointer}
.row-picker>span,.row-picker>input{grid-area:1/1}
.row-picker>span{font-size:10px;font-variant-numeric:tabular-nums;color:#646b70;line-height:1;pointer-events:none}
.row-picker>input{margin:0;opacity:0}
.sheet-table tr:hover .row-picker>input,.row-picker:focus-within>input,.row-picker>input:checked{opacity:1}
.sheet-table tr:hover .row-picker>span,.row-picker:focus-within>span,.row-picker:has(input:checked)>span{visibility:hidden}

.list-retry{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;margin-bottom:.5rem;border:1px solid var(--line,#ddd);border-radius:.5rem;}


.company-resolution{display:grid;gap:8px;border:1px solid var(--line,#d5dadd);border-radius:12px;padding:12px 14px;background:var(--paper);font-size:13px;min-width:0}
.company-resolution:empty{display:none}
.merge-domain-note:not([hidden]){display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;font-size:12px;color:var(--sub)}
.merge-domain-note .merge-domain-values{display:flex;align-items:center;gap:6px;margin:0;overflow-wrap:anywhere}
.merge-domain-values svg{width:15px;height:15px;flex:none}.merge-domain-values strong{color:var(--ink);font-weight:550}
.company-resolution .crm-res-heading{display:flex;align-items:center;gap:7px;font-size:14px}
.company-resolution .crm-res-heading svg{width:16px;height:16px;flex:none}
.company-resolution p{margin:0;color:var(--sub)}
.company-resolution ul{list-style:none;margin:0;padding:0;max-height:14rem;overflow:auto}
.company-resolution li{padding:5px 0;border-top:1px solid var(--line,#ddd)}
.company-resolution li>div{display:flex;gap:4px 12px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.company-resolution li span,.company-resolution li small{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.company-resolution li small{display:block;color:var(--sub)}
.company-resolution button{justify-self:start}
.company-resolution .crm-domain-check{display:flex;align-items:center;gap:6px}
.company-resolution .crm-domain-check input{width:auto}

#brand-scroll td[data-identity-kind]{cursor:text}
#brand-scroll .domain-link{color:inherit;text-decoration:none}
#brand-scroll .domain-link:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
.identity-collision ul {padding:0;margin:12px 0;list-style:none}.identity-collision li {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.identity-collision small {display:block;color:var(--sub)}
.source-tags {display:inline-flex;align-items:center;gap:4px;max-width:100%;vertical-align:middle;flex-wrap:wrap}
#brand-scroll .source-tags {flex-wrap:nowrap;overflow:hidden}
grid-source-tags {width:100%;position:relative}
grid-source-tags>.source-tag {flex:none;max-width:none}
grid-source-tags>.source-tag[data-clipped] {flex:0 1 auto;min-width:0}
grid-source-tags>[data-overflow],grid-source-tags>.source-counter-size {position:absolute;width:max-content;inset-inline-start:0;visibility:hidden;pointer-events:none}
grid-source-tags>.source-more {font-variant-numeric:tabular-nums}
.source-tag {display:inline-flex;align-items:center;gap:4px;border-radius:5px;padding:1px 5px;background:#f0f2f1;color:#404944;font-size:11px;font-weight:510;line-height:1.6;min-width:0;max-width:100%}
.source-tag>span:last-child {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.source-tag svg,.choice-content svg {width:13px;height:13px;flex:none}
.compare-state{display:flex;align-items:center;align-self:start;justify-content:flex-start;flex-wrap:wrap;gap:4px 8px;margin-bottom:7px}
.compare-records .compare-state>span{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;width:fit-content;padding:0;background:transparent;color:var(--sub);font-size:11px;line-height:1.4;font-weight:500;box-shadow:none}
.compare-records .compare-state>.comparison-notes-button{align-self:center;flex:0 0 auto;width:fit-content;box-shadow:none}
.compare-crm{display:flex;align-items:start;gap:8px;margin:2px 0;padding:9px 11px;background:#fbf5e9;border-radius:7px;color:#5f4c2a;font-size:12px}.compare-crm svg{width:15px;flex:none}.compare-crm b{display:block}
.compare-outcome{font-size:12px;color:#4c5951;line-height:1.5;margin:7px 0 0}
.source-more {background:#fff;border:1px solid #dce2df;border-radius:4px;font-size:10px;padding:1px 4px;flex:none}
.relation-group-tag {display:inline-flex;align-items:center;gap:3px;background:#f2eff6;color:#67557a;border-radius:4px;padding:1px 4px;font-size:10px;line-height:1.3}.relation-group-tag svg {width:10px;height:10px}

.compare-group-preview:not([hidden]) {display:grid;gap:8px;padding:12px 14px;border:1px solid #dce2de;border-radius:9px}
.compare-group-preview>div {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.compare-group-preview small {color:#55615b;line-height:1.45}

.compare-records article {display:flex;flex-direction:column;transition:border-color .15s,background .15s}
.compare-records article.is-primary {border-color:#42594a;background:#f3f7f2;box-shadow:inset 0 0 0 1px #42594a}
.compare-foot {margin-top:auto}
.compare-id,.record-origin {display:block;font-size:11px;color:#52615a;overflow-wrap:anywhere}
.compare-id {margin-top:3px}
.record-origin {margin:10px 0 0}
.compare-records .compare-pick:not([hidden]) {display:flex;align-items:center;gap:7px;margin:12px -2px -3px;padding:8px 2px 0;border-top:1px solid #d8e1d9;font-size:12px;font-weight:600;color:#33473b}
.compare-records .compare-pick[hidden] {display:none}
.compare-records label.compare-pick {cursor:pointer}
.compare-records .compare-pick input[type=radio] {width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px;accent-color:#314c3c}
.compare-records .compare-pick svg {width:15px;height:15px}

.relation-direction:not([hidden]){display:grid;gap:8px;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.relation-direction [data-direction-preview]{color:var(--sub);font-size:13px}
.brand-meta-line .relation-group-tag{max-width:65%;min-width:0;flex-shrink:1}
.brand-meta-line .relation-group-tag>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

[data-subbrand-input],[data-sub-preview]{display:grid;gap:14px;min-width:0}
[data-subbrand-form] [hidden]{display:none}
[data-sub-preview] section{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:12px;overflow-wrap:anywhere}
[data-sub-preview] h3,[data-sub-preview] p{margin:0 0 5px}
[data-sub-preview] small{color:var(--sub)}
.identifier-move fieldset{margin:0;min-width:0;padding:0;border:0}
.identifier-move legend{font-weight:600;margin-bottom:8px;overflow-wrap:anywhere}
.move-keys{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto}
.identifier-move label.move-key,.identifier-move label.move-target{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:400;cursor:pointer}
.move-key{padding:5px 9px;border:1px solid var(--line);border-radius:7px}
.move-key:has(input:checked),.move-target:has(input:checked){background:var(--soft)}
.identifier-move input:is([type=checkbox],[type=radio]){appearance:auto;accent-color:#284f42;width:15px;height:15px;min-height:0;flex:none;margin:0}
.move-targets{max-height:230px;overflow:auto;font-size:13px}
.move-target-heading{display:block;padding:4px 8px;color:var(--sub);font-size:12px}
.move-target{border-bottom:1px solid var(--line);padding:8px}
.move-target b,.move-target small{display:block}
.move-target small,.move-key small{color:var(--sub);font-size:11px}
.identifier-move .form-buttons button{white-space:normal}

.detached-keys{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}
.detached-keys>summary{cursor:pointer;color:var(--sub);font-size:12px}
.detached-keys>ul{margin:8px 0 0;padding:0;list-style:none}

/* Search and confirm a directed brand or agency relationship. */
.relation-picker,.relation-confirm-form{min-width:0}
.relation-origin,.relation-preview>li{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:start}
.relation-origin{border:1px solid var(--line);border-radius:10px;padding:12px;background:#f8f9f9}
.relation-origin strong,.relation-record strong{display:block;margin-top:2px;overflow-wrap:anywhere;line-height:1.35}
.relation-caption,.relation-record small,.relation-scope{color:var(--sub);font-size:12px}
.relation-glyph{display:grid;width:32px;height:32px;place-items:center;border:1px solid #dce1df;border-radius:9px;background:#fff}
.relation-glyph svg{width:16px;height:16px}
.relation-search-input{display:flex;align-items:center;position:relative}
.relation-search-input svg{position:absolute;width:16px;height:16px;left:12px;color:var(--sub);pointer-events:none}
.relation-search-input input{width:100%;padding-inline-start:36px!important}
.relation-scope{margin-top:-6px}
.relation-picker #record-lookup-options{min-width:0;font-size:13px;color:var(--sub)}
.relation-picker #record-lookup-options:empty{display:none}
.relation-picker .record-lookup-list{border:1px solid var(--line);border-radius:9px;overflow:auto;max-height:min(290px,37vh)}
.relation-picker .record-lookup-list button{justify-content:flex-start;padding:10px 12px;color:var(--ink)}
.relation-result-text{min-width:0;flex:1}
.relation-preview{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.relation-preview>li{position:relative;padding:14px;min-width:0}
.relation-preview>li:first-child{background:#f6f7f7}
.relation-preview>li+li{padding-left:42px;border-top:1px solid var(--line)}
.relation-preview>li+li:before{content:'';position:absolute;left:24px;top:0;width:12px;height:27px;border-left:1px solid #b8c2bc;border-bottom:1px solid #b8c2bc;border-bottom-left-radius:5px}
.relation-record small{display:block;margin-top:3px;overflow-wrap:anywhere}
.relation-visibility,.relation-hidden,.relation-picker .record-lookup-list .relation-hidden{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:var(--sub);margin:0}
.relation-visibility svg,.relation-hidden svg{width:13px;height:13px}
.relation-preview .relation-visibility,.relation-origin>.relation-hidden{align-self:start;padding:3px 6px;border:1px solid #dce1df;border-radius:5px;background:#fff}
.relation-preview .relation-hidden,.relation-origin>.relation-hidden,.relation-picker .record-lookup-list .relation-hidden{color:#544c40}
.relation-outcome{margin:0;display:flex;align-items:start;gap:8px;color:var(--sub);font-size:13px;line-height:1.45}
.relation-outcome svg{margin-top:2px;width:15px;height:15px;flex:none}
@media(max-width:480px){
  .relation-preview>li,.relation-origin{grid-template-columns:28px minmax(0,1fr);gap:3px 8px}
  .relation-glyph{width:28px;height:28px}
  .relation-preview>li+li{padding-left:38px}
  .relation-preview .relation-visibility,.relation-origin>.relation-hidden{grid-column:2;justify-self:start;margin-top:4px}
}

/* Keep the name and its commercial relationship together, with status controls on the domain line. */
:is(#brand-scroll,[data-capture-scroll]) .related-brand {container:related-brand / inline-size;gap:5px}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-text {flex:1;min-width:0;grid-template-rows:18px 16px}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-title-line .brand-cell-name {flex:0 1 auto;min-width:0}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .relation-group-tag {flex:0 1 auto;max-width:61%;min-width:0}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .relation-group-tag>span {min-width:0;overflow:hidden;text-overflow:ellipsis}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-indicators {display:inline-flex;align-items:center;flex:none;gap:3px}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-meta-line {gap:5px}
:is(#brand-scroll,[data-capture-scroll]) .brand-domain:empty {display:none}
:is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-indicators .brand-eye {width:16px;height:16px}
:is(#brand-scroll,[data-capture-scroll]) .related-brand:focus-within .brand-eye {opacity:1}
@container related-brand (max-width:188px) {
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-text {grid-template-columns:fit-content(49%) minmax(0,1fr);column-gap:4px}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand :is(.brand-title-line,.brand-meta-line) {display:contents}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-name-action {grid-area:1 / 1}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-indicators {grid-area:1 / 2;justify-self:end}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .relation-group-tag {grid-area:2 / 2;max-width:100%;justify-self:start}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-domain {grid-area:2 / 1}
  :is(#brand-scroll,[data-capture-scroll]) .related-brand .brand-text:has(.brand-domain:empty) .relation-group-tag {grid-column:1 / -1}
}

:is(#brand-scroll,[data-capture-scroll]) .relation-group-tag{border:0;background:#ecefed;color:#35463f;border-radius:4px;padding:1px 4px;line-height:1.3;white-space:nowrap}
:is(#brand-scroll,[data-capture-scroll]) .relation-group-tag:is(:hover,:focus-visible){background:#dfe7e3;color:#182c23}
:is(#brand-scroll,[data-capture-scroll]) .relation-group-tag svg,:is(#brand-scroll,[data-capture-scroll]) .relation-group-tag small{flex:none}
:is(#brand-scroll,[data-capture-scroll]) .relation-group-tag small{font:inherit;color:inherit;border-inline-start:1px solid #c9d3cd;padding-inline-start:4px}
:is(#brand-scroll,[data-capture-scroll]) .brand-domain:empty+.relation-group-tag{max-width:100%}

.key-workbench,.key-lookup,.key-search-label,.key-review{display:grid;gap:12px;min-width:0}
.key-search-label{gap:6px;font-weight:600}.key-search-label>span{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.key-search-label>span:focus-within{outline:2px solid #51695d;outline-offset:1px}
.key-search-label svg{flex:none;color:var(--sub);width:16px;height:16px}
.key-search-label input{flex:1;min-width:0;border:0;outline:none;background:transparent;padding:9px 0;font-weight:400}
.key-search-label input:focus-visible{outline:none}.key-lookup [data-key-results]:empty{display:none}
.key-manual-form{padding-top:16px;border-top:1px solid var(--line)}.key-search-results,.key-review-sources{max-height:min(44vh,390px);overflow:auto;overscroll-behavior:contain}
.key-search-result{display:flex;align-items:center;gap:10px;padding:8px 5px;cursor:pointer;border-radius:4px}
.key-search-result:hover,.key-search-result:has(:checked){background:#f1f4f2}.key-search-result+label{border-top:1px solid #eee}
.key-search-result>span,.key-review-sources li>div{display:grid;min-width:0;gap:2px;overflow-wrap:anywhere}.key-search-result b{font-weight:600}
.key-search-result input{flex:none;width:16px;height:16px;accent-color:#324e3d}
.key-search-result small,.key-search-footer>span,.key-review-target>span,.key-review-sources small,.key-search-empty{color:var(--sub);font-size:12px}
.key-search-result .key-search-tag{margin-left:auto;white-space:nowrap}
.key-search-footer,.key-review-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.key-selected{display:flex;flex-wrap:wrap;gap:5px;max-height:102px;overflow:auto}.key-selected>button{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;background:#edf1ee;border-radius:5px;font-size:12px}.key-selected>button svg{width:13px;height:13px}
.key-more,.key-review-back{justify-self:start}.key-more{margin-top:8px}
.key-review-target{display:grid;padding:10px 12px;background:#f3f5f3;border-radius:8px}
.key-review-sources{list-style:none;padding:0;margin:0}.key-review-sources li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid var(--line)}
.key-review-sources li>button{flex-shrink:0}.key-review-sources li p{margin-top:3px;font-size:13px}
.key-review [data-transfer-preview]{font-size:13px}.key-primary-warnings{margin:7px 0;padding-left:19px;color:#765318}

.merge-picker svg,.merge-heading svg,.merge-add-records svg{width:15px;height:15px;flex:none}
.merge-add-records{justify-self:start;display:inline-flex;align-items:center;gap:5px}
.merge-picker{display:grid;gap:14px;min-width:0}.merge-anchor{background:#f2f5f3;border-radius:9px;display:flex;align-items:center;gap:10px;padding:10px 12px}.merge-anchor div,.merge-options label>span{display:grid;min-width:0;gap:3px}.merge-picker small{color:var(--sub);font-weight:400;overflow-wrap:anywhere}
.merge-picker input[type=search]{width:100%}.merge-picked{display:flex;gap:5px;flex-wrap:wrap}.merge-picked:empty{display:none}.merge-picked button{background:#eaf2ee;border:0;border-radius:6px;padding:4px 7px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;font:inherit;font-size:12px;color:#294c3a}
.merge-options{max-height:min(34vh,280px);overflow:auto;margin-top:5px;overscroll-behavior:contain;border-block:1px solid var(--line)}.merge-options label{display:flex;align-items:center;flex-direction:row;gap:10px;padding:9px 5px;cursor:pointer}.merge-options label+label{border-top:1px solid var(--line)}.merge-options label:has(:checked){background:#f2f7f4}.merge-options input[type=checkbox]{width:16px;min-height:0;height:16px;flex:none;accent-color:#315943}
.merge-results-title{font-size:13px}
.merge-result .merge-sector{margin-left:auto;border:1px solid #d4ded7;border-radius:4px;background:#fff;padding:2px 5px;color:#345243;font-size:11px}
.relation-choice-icon{display:inline-flex;margin-right:8px;color:#52645b;vertical-align:middle}
#modal:has(.merge-cards){width:min(740px,calc(100vw - 24px))}
.merge-heading{justify-content:space-between}
.compare-records .compare-domain-list{display:grid;gap:5px;list-style:none;margin:0;padding:0}
.compare-records .compare-domain-list li{display:grid;gap:1px;margin:0;padding:0;line-height:1.35;overflow-wrap:anywhere}
.compare-domain-list b{font-weight:500}.compare-records .compare-domain-list small,.compare-source-domains>span,.compare-domain-result small{color:var(--sub);font-size:11px}
.compare-source-domains>span{display:block;margin-bottom:4px}.compare-domain-list+.compare-source-domains{margin-top:8px}
.compare-domain-result{display:grid;gap:5px;border-left:2px solid var(--line);padding-left:10px}.compare-domain-result>div{display:grid;gap:2px}.compare-domain-result span{font-size:12px;overflow-wrap:anywhere}
.merge-cards{gap:12px}.merge-cards article{padding:14px}
.merge-cards .merge-role,.merge-result h3{font-size:12px;font-weight:600;color:#47564f}
.merge-role,.merge-cards .compare-state span,.merge-result>div{display:flex;align-items:center;gap:5px}
.merge-role{margin-bottom:13px}.merge-role svg,.merge-result svg{width:15px;height:15px}
.merge-cards .compare-state{margin:5px 0 2px}.merge-cards .compare-state svg{width:12px;height:12px}
.merge-card-actions{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
.merge-result{border:1px solid #dce4de;border-radius:10px;padding:14px;background:#f7faf7}
.merge-result>strong{display:block;margin-top:6px}.merge-result dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 0}
.merge-tags-note{font-size:12px;color:#535f5a;line-height:1.45;margin-top:10px}
.merge-result dt,.merge-result small{font-size:12px;color:#535f5a}.merge-result dd{margin:3px 0}
.merge-picker [hidden]{display:none!important}
.merge-pick-option{display:flex;align-items:center;gap:8px}
.merge-pick-option+.merge-pick-option{border-top:1px solid var(--line)}
.merge-pick-option label{flex:1;min-width:0}.merge-options input[type=radio]{width:16px;height:16px;min-height:0;flex:none;accent-color:#315943}
.merge-pick-option .linkbtn{font-size:12px;flex-shrink:0}
.merge-match-reason{color:#35624d;overflow-wrap:anywhere}
.merge-ignored,.merge-origin{color:#5b655f;font-size:12px}
.merge-ignored summary,.merge-origin summary{cursor:pointer}
.merge-heading{flex-wrap:wrap;gap:8px}.merge-heading>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:500px){.merge-cards{grid-template-columns:minmax(0,1fr)}.merge-result dl{grid-template-columns:1fr}}

.compare-records article{position:relative}
.comparison-notes-button,.comparison-notes-close,.comparison-notes-toggle{display:inline-flex;align-items:center;gap:4px}
.comparison-notes-button,.comparison-notes-close{border:0;background:transparent;color:#405849;font:inherit;cursor:pointer}
.comparison-notes-button{margin-inline-start:auto;padding:0 2px;font-size:11px;font-weight:550}
.compare-state .comparison-notes-button span{padding:0;background:transparent;font:inherit;color:inherit}
.comparison-notes-button svg,.merge-role .comparison-notes-button svg,.comparison-notes-toggle svg{width:14px;height:14px}
.comparison-notes-toggle{justify-self:end}
.comparison-notes-panel{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;min-width:0;min-height:0;padding:11px 13px;box-sizing:border-box;border-radius:inherit;background:#f7f9f8}
.is-primary .comparison-notes-panel{background:#f3f7f2}
.comparison-notes-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.comparison-notes-panel header div{min-width:0;display:grid}
.comparison-notes-panel header b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}
.comparison-notes-panel small{font-size:11px;color:var(--sub);overflow-wrap:anywhere}
.comparison-notes-close{padding:4px;flex-shrink:0;border-radius:5px}
.comparison-notes-close svg{width:15px;height:15px}
.comparison-notes-close:hover,.comparison-notes-button:hover{background:#e7ede8}
.comparison-notes-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px 4px 2px 1px}
.comparison-notes-scroll:focus-visible{outline:2px solid var(--accent,#557564);outline-offset:-2px}
.comparison-notes-scroll ul{list-style:none;padding:0;margin:0}
.comparison-notes-scroll li{padding:6px 0}
.comparison-notes-scroll li+li{border-top:1px solid var(--line)}
.comparison-notes-scroll small svg{width:11px;height:11px;vertical-align:middle}
.comparison-notes-scroll p{margin:2px 0;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.comparison-notes-scroll .comparison-notes-message{color:var(--sub)}
@media(max-width:550px){.comparison-notes-button span{display:none}}
.comparison-note-origin{display:flex;align-items:baseline;gap:6px}
.comparison-note-origin .merge-origin{flex:0 1 auto;min-width:0}
.comparison-note-origin comparison-note-preview{min-width:0;flex:1}
.comparison-note-origin comparison-note-preview button,.comparison-notes-button comparison-note-preview{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.comparison-note-origin comparison-note-preview button{border:0;background:transparent;color:var(--sub);font:inherit;font-size:11px;padding:0;cursor:pointer}
.comparison-note-origin comparison-note-preview button:hover{text-decoration:underline}
.comparison-notes-button{min-width:0;max-width:45%;white-space:nowrap}
.comparison-notes-button svg{flex-shrink:0}

.compare-records .compare-list-value{max-height:8rem;overflow:auto;scrollbar-width:thin}
.compare-records .compare-empty{color:var(--sub)}
/* Corresponding facts share row heights, including when names wrap or one list has several domains. */
@supports (grid-template-rows:subgrid){
  .compare-records>article{
    display:grid;
    grid-template-rows:subgrid;
    grid-template-columns:minmax(0,1fr);
    grid-row:span calc(var(--compare-fields) + 4);
    row-gap:3px;
  }
  .compare-records .compare-facts{
    grid-template-rows:subgrid;
    grid-row:span var(--compare-fields);
    gap:6px;
    margin:6px 0;
  }
  .compare-records .compare-foot{margin-top:0}
  .compare-records .merge-role{margin-bottom:3px}
}
@media(max-width:500px){
  .compare-records{grid-template-columns:minmax(0,1fr)}
}

.identifier-popover{
  position:fixed;z-index:60;box-sizing:border-box;width:min(340px,calc(100vw - 16px));display:flex;flex-direction:column;
  overflow:hidden;background:var(--paper,#fff);border:1px solid var(--line,#dce2df);border-radius:12px;
  color:var(--ink,#191c1a);box-shadow:0 12px 36px #14201d24,0 2px 8px #14201d0f;
}
.identifier-popover header,.identifier-popover li,.identifier-popover footer button{display:flex;align-items:center;gap:8px}
.identifier-popover header{padding:12px 14px 8px;justify-content:space-between;flex:none}
.identifier-popover header div,.identifier-popover li>span{min-width:0}
.identifier-popover header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sub);font-size:12px}
.identifier-pending{border:0;background:transparent;color:#936214;padding:1px 3px;display:inline-flex;cursor:pointer}.identifier-pending svg{width:14px;height:14px}
.identifier-popover .identifier-body{overflow:auto;min-height:0}
.identifier-popover .sheet-identifiers{border-top:1px solid var(--line);padding-top:8px}
.sheet-identifiers h3,.identifier-own-heading{font-size:12px;font-weight:550;color:var(--sub);margin:0 14px 4px}
.identifier-popover h2{font-size:16px;font-weight:600;line-height:1.4;margin:0}
.identifier-popover button{font:inherit;color:inherit;background:transparent;border:0;border-radius:5px;cursor:pointer}
.identifier-popover header button,.identifier-popover .identifier-transfer{flex:none;display:grid;width:27px;height:27px;place-items:center}
.identifier-popover svg{width:15px;height:15px}
.identifier-popover ul{list-style:none;margin:0;padding:0 8px 8px;overflow-y:auto;overscroll-behavior:contain}
.identifier-popover li{padding:5px 4px 5px 7px;min-height:32px}
.identifier-popover li span{flex:1;overflow-wrap:anywhere}
.identifier-popover li a{color:inherit;font-weight:520;text-decoration:none}
.identifier-popover li a:hover{text-decoration:underline;text-underline-offset:3px}
.identifier-popover li small{color:#466056;background:#edf3ef;border-radius:5px;padding:2px 6px;font-size:11px}
.identifier-popover .identifier-prefer{flex:none;font-size:11px;padding:4px 7px;color:var(--sub);border:1px solid var(--line);border-radius:6px}
.identifier-popover .identifier-transfer{color:#69716c}
.identifier-popover button:hover{background:#eef0ee}
.identifier-popover :is(a,button):focus-visible{outline:2px solid #477964;outline-offset:1px}
.identifier-popover footer{padding:5px 8px;border-top:1px solid var(--line);flex:none}
.identifier-popover footer button{width:100%;justify-content:space-between;padding:7px;font-size:12px}

.identifier-owner:not(:empty){display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:2px}
.identifier-owner>small,.identifier-popover .identifier-owner>small{color:var(--sub);background:none;padding:0;font-size:11px}
.identifier-owner .identifier-owner-link{display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:var(--ink);padding:2px 0;font:inherit;font-size:12px;font-weight:550;cursor:pointer;text-decoration:none}
.identifier-owner-link:hover span{text-decoration:underline}.identifier-owner-link svg{width:13px;height:13px}
.identifier-popover .identifier-owner{align-items:center;flex-wrap:wrap}
.identifier-main .linked-crm-firm{display:block;color:var(--sub);font-size:12px;overflow-wrap:anywhere}
.identifier-main .handle-count,.identifier-popover li .handle-count{display:inline-block;flex:none;margin-inline-start:7px;color:var(--sub);font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:help}

/* Assigned identifiers wrap as tags. Links and their actions have separate targets. */
.identifier-group>header h4{display:inline-flex;align-items:center;gap:7px}
.identifier-group>header h4 svg{width:15px;height:15px;flex:none;color:#596968}
.identifier-group .identifier-tags{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;padding:4px 0 2px}
.spelling-tag{max-width:100%;min-width:0}
.identifier-link-tag,.spelling-tag :is(.spelling-readonly,summary){
  display:flex;align-items:center;gap:7px;width:fit-content;max-width:100%;height:auto;min-height:28px;
  padding:3px 9px;border:1px solid #dce2e0;border-radius:9px;background:#f6f8f7;color:#34413d;
  font-size:12px;line-height:1.4;text-align:start
}
.identifier-link-tag.is-primary,.spelling-tag.is-primary :is(.spelling-readonly,summary){border-color:#bfd0c7;background:#edf4ef}
.spelling-value{min-width:0;overflow-wrap:anywhere;font-weight:550}
.spelling-tag small{flex:none;color:#486454;font-size:10px}
.spelling-tag summary svg{width:14px;height:14px;flex:none;color:#64736c}
.spelling-tag .identity-actions:is([open],:hover)>summary{border-color:#93a69c;background:#e8eeea}
.spelling-tag summary:focus-visible{outline:2px solid #476958;outline-offset:2px}
.identifier-tags .identity-actions>div{left:0;right:auto;top:calc(100% + 3px);min-width:min(165px,80cqi);max-width:min(240px,80cqi)}

.identifier-group .identifier-tags>.identifier-row{display:grid;align-content:start;justify-items:start;gap:2px;min-width:0;max-width:100%;min-height:0;padding:0}
.identifier-link-tag .identifier-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 6px;flex:0 1 auto}
.identifier-link-tag .identifier-main strong{min-width:0;font-size:inherit;font-weight:550}
.identifier-link-tag .identifier-state{padding:0;background:none;color:#486454;font-size:10px}
.identifier-link-tag .handle-count{margin:0}
.identifier-link-tag:has(.identity-actions){padding-right:2px}
.identifier-link-tag .identity-actions>summary{width:24px;height:24px}
.identifier-link-tag summary svg{width:14px;height:14px}
.identifier-link-tag :is(summary,a):focus-visible{outline:2px solid #476958;outline-offset:1px;border-radius:4px}
.identifier-tags .identifier-owner{max-width:100%;overflow-wrap:anywhere}

/* The record and its table popover use the same domain and handle review cards. */
.identifier-group .identifier-assigned .identifier-main a {color:inherit;text-decoration:none}
.identifier-group .identifier-assigned .identifier-main a:is(:hover,:focus-visible) {text-decoration:underline;text-underline-offset:3px}
.identifier-group .identifier-subheading {margin:10px 0 4px;color:var(--ink);font-size:12px;font-weight:600}
.identifier-claims {margin-top:11px;padding-top:3px;border-top:1px solid var(--line)}
.identifier-subheading span {display:inline-block;margin-left:3px;padding:1px 5px;border-radius:5px;color:var(--sub);background:var(--soft);font-size:11px}
.identifier-claims p {margin:0 0 8px;font-size:12px;color:var(--sub)}
.identifier-claims ul,.identifier-popover .sheet-identifiers ul {display:grid;gap:7px}
.identifier-claims .source-key-check,.identifier-popover .source-key-check {
  display:block;min-width:0;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--paper,#fff)
}
.claim-content {display:grid;gap:6px;min-width:0;padding:9px 11px;line-height:1.4;overflow-wrap:anywhere}
.claim-value {font-size:13px;font-weight:620}
.claim-peer {display:flex;justify-content:space-between;align-items:center;gap:4px 10px;flex-wrap:wrap;font-size:12px}
.claim-peer span,.claim-content small {color:var(--sub)}
.claim-peer b {font-weight:550}
.claim-actions {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px}
.claim-action,.identifier-popover .claim-action {
  display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:4px 8px;
  font:inherit;font-size:12px;line-height:1.4;text-align:start;overflow-wrap:anywhere;cursor:pointer;
  color:var(--ink);background:var(--paper,#fff);border:1px solid var(--line);border-radius:6px
}
.claim-action.claim-confirm {background:var(--soft);font-weight:550}
.claim-action:is(:hover,:focus-visible) {border-color:#87948f;background:#eff4f1}
.claim-action:focus-visible {outline:2px solid #477964;outline-offset:1px}
.crm-domain-read {margin:9px 0 2px}.crm-domain-read svg {width:13px;height:13px}
.resolved-sheet-key {display:flex;align-items:center;gap:3px 10px;flex-wrap:wrap;padding:4px 0;font-size:12px}

.reports{display:grid;gap:18px}.report-tools>.tabs{justify-self:start;display:inline-flex;padding:3px;background:#e9eced;border-radius:9px;gap:2px}.report-tools>.tabs .tab{background:transparent;border:0;border-radius:6px;padding:6px 12px;font-weight:550;color:#556065}.report-tools>.tabs .tab[aria-pressed="true"]{background:#fff;color:#202626;box-shadow:0 1px 3px #2222}.reports .report-revenue .record{background:none;border:0;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.reports .report-revenue .record:hover{text-decoration:underline}.reports .report-revenue .record:focus-visible{outline:2px solid currentColor;outline-offset:2px}.report-overview,.report-panel{border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--paper,#fff);min-width:0}
.reports h2{font-size:1.05rem;line-height:1.25;margin:0}.reports p,.report-panel small{color:var(--sub);font-size:.8rem;line-height:1.5;margin:7px 0 0}
.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:21px 0 12px}.report-metric{padding-inline:22px;border-left:1px solid var(--line)}.report-metric:first-child{padding-left:0;border:0}.report-metric dt{font-size:.8rem;color:var(--sub)}.report-metric dd{margin:5px 0;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.1;letter-spacing:-.045em;font-weight:620;font-variant-numeric:tabular-nums}
.report-panels{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:16px;align-items:start}.report-panels:has(>:only-child){grid-template-columns:1fr}
.report-scroll{overflow:auto}.report-panel table{width:100%;border-collapse:collapse;margin-top:12px;font-variant-numeric:tabular-nums}.report-panel th,.report-panel td{padding:10px 6px;text-align:right;border-bottom:1px solid var(--line);font-size:.8rem;white-space:nowrap}.report-panel th:first-child{text-align:left}.report-panel thead th{color:var(--sub);font-weight:550}.report-panel tbody th{font-weight:500}.report-panel tbody th span{vertical-align:middle}.report-panel tbody th>:is(.person-photo,.person-icon){margin-right:7px;vertical-align:middle}
.reports progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#edf0ef}.reports progress::-webkit-progress-bar{background:#edf0ef}.reports progress::-webkit-progress-value{background:#495d55;border-radius:5px}.reports progress::-moz-progress-bar{background:#495d55}.report-panel td progress{width:42px;margin:4px 0 0 auto;height:3px}
.report-revenue{list-style:none;padding:0;margin:20px 0}.report-revenue li+li{margin-top:16px}.report-revenue li>div{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:5px}.report-revenue strong{font-size:.82rem;white-space:nowrap;font-variant-numeric:tabular-nums}.report-panel small{display:block}
.reports .report-revenue .record:focus-visible{border-radius:3px}.capture-bk{display:inline-flex;border-radius:5px;background:#e2efe6;color:#29533a;font-size:.76rem;font-weight:650;padding:2px 7px}
@media(max-width:980px){.report-panels{grid-template-columns:1fr}}@media(max-width:550px){.report-overview,.report-panel{padding:14px}.report-metric{padding-inline:8px}.report-metric dt{font-size:.72rem}.report-panel table{min-width:450px}}

.report-bk-goals{grid-column:1/-1}.report-bk-goals td small{color:var(--sub);font-size:.72rem}

.report-overview{border-top:3px solid #588474}
.report-heading,.report-person,.report-archive summary{display:flex;align-items:center;gap:12px}
.report-heading{justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}
.report-total{text-align:right}.report-total strong{display:block;font-size:1.45rem;font-variant-numeric:tabular-nums}
.report-person{gap:9px}.report-person :is(.person-photo,.person-icon){width:32px;height:32px;flex:none;border-radius:50%}
.report-bk-goals th,.report-bk-goals td{padding:11px 8px}
.report-bk-goals td progress{width:100%;max-width:140px;margin:5px 0 0 auto;height:5px}
.report-bk-goals .contact-bar{width:75px}.report-bk-goals .contact-bar::-webkit-progress-value{background:#91aca1}
.reports progress::-webkit-progress-value{background:#39856d}.reports progress::-moz-progress-bar{background:#39856d}
.goal-progress{min-width:140px}.goal-pending{color:var(--sub)}
.report-actions,.report-figures{list-style:none;padding:0;margin:18px 0}
.report-actions li{display:grid;grid-template-columns:1fr auto;gap:5px;margin:12px 0;font-size:.85rem}
.report-actions progress{grid-column:1/-1}
.report-figures>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.report-figures dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}.report-figures dt{font-size:.87rem}
.mail-report button{margin-top:14px}
.report-archive{padding:0;background:var(--paper,#fff)}.report-archive summary{list-style:none;cursor:pointer;padding:14px 20px;font-weight:550;font-size:.88rem}.report-archive summary::-webkit-details-marker{display:none}
.report-archive summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;color:var(--sub)}
.report-archive summary svg:last-child{margin-left:auto}.report-archive[open] summary{border-bottom:1px solid var(--line)}.report-archive[open] summary svg:last-child{transform:rotate(90deg)}
.archived-values{padding:12px 20px 18px}.archived-values h3{font-size:.92rem;margin:4px 0 8px}
@media(max-width:600px){.report-heading{align-items:flex-start}.report-total{text-align:left}.report-bk-goals .report-scroll{margin-inline:-6px}.report-person{gap:6px}}

.report-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.report-switch{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:var(--paper,#fff);max-width:100%;flex-wrap:wrap}
.report-switch button{font:inherit;font-size:.84rem;font-weight:550;padding:7px 12px;color:#42534a;border:0;border-radius:7px;background:transparent}
.report-switch button:hover{background:#edf3ef}.report-switch button[aria-pressed=true]{color:white;background:#254b3b}
.report-page{display:grid;min-width:0;gap:16px}.report-page[hidden]{display:none}
.report-page .report-panels{grid-template-columns:repeat(auto-fit,minmax(min(100%,365px),1fr))}
.report-page .report-panels>.report-panel:only-child{grid-column:1/-1}
.report-page .report-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,8.3rem),1fr));row-gap:14px}
.report-page .report-panel .report-metric{padding-inline:10px}.report-page .report-panel .report-metric:first-child{padding-left:0}
.report-page .report-panel .report-metric dd{font-size:clamp(1rem,1.8vw,1.75rem);letter-spacing:-.035em;white-space:nowrap}
.report-page .goal-amount{display:flex;align-items:baseline;justify-content:flex-end;gap:12px}.goal-amount>span{font-size:.75rem;color:#366b50}
.report-page .archived-values{padding:20px}.report-page .archived-values h3{margin-top:0}
@media(max-width:600px){.report-tools{align-items:flex-start}.report-page .report-overview .report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-switch button{padding:7px 9px}}

.side .mention-bell{background:transparent;border-color:transparent;color:#dddfe4;box-shadow:none}
.side .mention-bell:is(:hover,:focus-visible){background:#2a2b30;color:#fff}
.side .mention-bell:focus-visible{outline:2px solid #cbd7d2;outline-offset:2px}
.side .mention-bell>span{background:#b9e2cd;color:#15382b;box-shadow:0 0 0 2px var(--side)}
.note-private-badge svg,.note-private-mark svg{width:13px;height:13px}
.note-private-badge,.note-private-mark{display:inline-flex;align-items:center;gap:4px;color:#535563}
.rp-note header .note-private-badge{font-size:10px;border-radius:5px;background:#f0f0f5;padding:2px 5px;margin:0}
.note-private-mark{margin-right:4px;vertical-align:middle}
.note-references{border:1px solid #e4e7e8;border-radius:9px;padding:0 10px;color:#41484b;font-size:12px}
.note-references summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:8px 0}
.note-references summary::-webkit-details-marker{display:none}
.note-references summary>svg{width:14px;height:14px}
.note-references summary>svg:last-child{margin-left:auto}
.note-references[open] summary>svg:last-child{transform:rotate(90deg)}
.note-references ul{list-style:none;margin:0;padding:0}
.note-references li{border-top:1px solid #e4e7e8;padding:8px 0}
.note-references p{white-space:pre-wrap;overflow-wrap:anywhere}
.mention-bell{position:relative;flex:none;width:34px;height:34px;border-radius:8px}.mention-bell svg{width:19px;height:19px}.mention-bell>span{position:absolute;top:-3px;right:-3px;background:#153f35;color:white;font:600 10px/16px system-ui;border-radius:12px;min-width:16px;padding:0 3px}.mention-inbox,.mention-list{display:grid;min-width:0;gap:6px}.mention-item{font:inherit;display:flex;align-items:flex-start;gap:10px;padding:11px 9px;text-align:left;background:none;border:0;border-radius:8px}.mention-item:hover,.mention-item:focus-visible{background:#f2f5f4}.mention-item>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.mention-item small,.note-source-ref{color:var(--sub);font-size:11px}.mention-item>span>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.mention-item i{width:7px;height:7px;background:#177960;border-radius:100%;margin-top:5px}.note-actions{display:flex;align-items:center;gap:12px;font-size:12px}.note-remove{color:#737878}.sheet-note-mark{background:#e9edef;color:#37434a}.note-thread [data-note-entry]:focus{outline:1px solid #acc2b8;border-radius:5px}.thread-originals:empty{display:none}.rp-note header .note-source-ref{margin-left:auto}

.thread-unread{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:1px 5px;border-radius:4px;background:#e6f1f7;color:#235473;font:600 10px/1.4 system-ui;white-space:nowrap}
.thread-unread.is-mention{background:#e8eefc;color:#304e91}
.thread-unread[hidden]{display:none}
.note-cell-open>.thread-unread{margin-left:auto;overflow:visible}

.note-thread {display:grid;gap:12px}
.note-thread .thread-originals:empty,.note-thread .thread-entries:empty{display:none}
.note-thread .rp-note{min-width:0;padding:10px 12px;border:1px solid var(--line,#dce3df);border-radius:8px}
.note-thread .thread-entries,.note-thread .thread-originals{display:grid;gap:7px}
.note-thread .rp-note p,.thread-crm p{white-space:pre-wrap;overflow-wrap:anywhere}
.note-thread .note-actions{justify-content:flex-end;gap:14px}
.note-thread .note-actions button{font-size:11px}
.note-properties{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr));gap:7px 14px;margin:10px 0 4px}
.note-properties div{min-width:0}.note-properties dt,.thread-crm small{color:var(--muted,#54625a);font-size:11px}
.note-properties dd{margin:2px 0;overflow-wrap:anywhere}
.thread-crm{border-top:1px solid var(--line,#dce3df);padding-top:12px}
.thread-crm h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;font-size:14px}
.thread-crm h3 svg{width:16px;height:16px}.thread-crm h3 span{color:var(--muted,#54625a);font-size:12px}
.thread-crm-list{display:grid;gap:8px}.thread-crm-list article{padding:8px 10px;border-left:2px solid #d3dfda}
.thread-crm-list header{display:flex;gap:4px 10px;flex-wrap:wrap;align-items:baseline}
.thread-crm-list p{margin:4px 0 0}.outcome-note{max-width:min(430px,calc(100vw - 24px))}
.outcome-note .form label small{color:var(--muted,#54625a);font-weight:400}.outcome-note [hidden]{display:none}

.note-priority{display:inline-flex;flex:none;align-items:center;font:600 10px/1.4 system-ui;color:#755317;background:#fff1cf;padding:1px 5px;border-radius:4px}
.note-priority[data-note-priority="Neu"]{color:#235473;background:#e6f1f7}

.note-thread .note-actions{justify-content:flex-start;align-items:center}
.note-thread .note-actions .note-remove,.note-thread [data-remove-prompt]{margin-inline-start:auto}
.note-thread .note-actions :is(.note-reply-button,.note-remove){display:inline-flex;align-items:center;min-height:26px;padding:0 2px;background:transparent;border:0;box-shadow:none;text-decoration:none}
.note-thread .note-actions .note-remove{color:#626b65}
.note-thread .note-actions .note-remove:is(:hover,:focus-visible){color:#923e39}
.note-thread .note-actions button:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
.note-thread .note-actions button[hidden]{display:none}

.other-team-notes {border-top:1px solid var(--line);padding-top:10px}
.other-team-notes [data-other-notes]:not([hidden]) {display:grid;gap:8px;margin-top:12px}
.other-team-notes h3 {margin:0;font-size:14px}
.other-team-notes button {justify-self:start}

.fact-chip,.period-chip,.feed-tags span{display:inline-flex;align-items:center;vertical-align:middle;gap:.28rem;border-radius:.4rem;padding:.18rem .43rem;font-size:.78rem;font-weight:550;line-height:1.3;background:#f0f2f4;color:#414b55;white-space:nowrap}
.fact-chip svg,.fact-mark svg,.contact-number svg{height:1em;width:1em;flex:none}
.deal-timeline li.positive{--step-color:#246342}
.fact-chip.positive,.fact-mark.positive{color:#246342;background:#e8f4ed}
.deal-timeline li.blue{--step-color:#325b88}
.fact-chip.blue{color:#325b88;background:#e9f1f9}
.deal-timeline li.attention{--step-color:#87570b}
.fact-chip.attention,.fact-mark.attention{color:#87570b;background:#fff3da}
.deal-timeline li.danger{--step-color:#933a31}
.fact-chip.danger{color:#933a31;background:#fbecea}
.deal-timeline li.muted{--step-color:#535966}
.fact-chip.later{background:#f1edf8;color:#645181}
.deal-timeline li.later{--step-color:#645181}
.fact-chip.muted{color:#535966;background:#f1f2f5}
.fact-mark{display:inline-flex;align-items:center;justify-content:center;width:1.55em;height:1.55em;border-radius:.35rem}
.period-chip{font-size:.7em;font-weight:600;color:#5b6072;background:#eceef5}
.sheet-table .followup-late,.followup-late{color:#964715;font-weight:600}
.followup-cell{display:inline-flex;align-items:center;gap:.45rem;max-width:100%}
.followup-value{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.followup-check{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;padding:0;vertical-align:middle;border:1px solid #dce1e0;border-radius:50%;background:#f4f6f5;color:#4a5351;cursor:pointer}
.followup-check svg{width:13px;height:13px}
.followup-check:hover,.followup-check:focus-visible{background:#e8ebea;border-color:#aeb8b5;color:#252c2a}
.followup-check:active,.followup-check.is-completed{background:#dceee2;border-color:#94b8a1;color:#17452e}
.mail-date{display:inline-flex;align-items:center;gap:.32rem;white-space:nowrap}
.mail-date{color:#202421}
.mail-date svg{width:15px;height:15px;flex:none}
.primary-contact-actions{display:inline-flex;align-items:center;gap:.22rem;max-width:100%;vertical-align:middle}
.primary-contact-actions>:first-child{min-width:0}
.primary-contact-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.primary-contact-initials{display:inline-grid;place-items:center;flex:none;width:1.35rem;height:1.35rem;border-radius:50%;background:#dfefea;color:#285d50;font-size:.65rem;line-height:1;font-weight:650;letter-spacing:.01em}
.primary-contact-actions.no-primary .primary-contact-label{color:#626a6b}
.primary-contact-copy{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;border-radius:.32rem;background:transparent;color:#4a5351;cursor:pointer}
.primary-contact-copy svg{width:14px;height:14px}
.primary-contact-copy:hover,.primary-contact-copy:focus-visible{background:#e8ebea;color:#252c2a}
.sheet-note-logo{flex:none;background:#171b1a}
.canceled-money{color:#9e3b39;font-variant-numeric:tabular-nums}
.brand-external-links{display:inline-flex;align-items:center;gap:.12rem}
.crm-company-link{display:inline-grid;place-items:center;padding:.18rem;border-radius:.25rem;color:#444b51}
.crm-company-link.crm-owner-external{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:inherit;color:inherit}
.crm-company-link.crm-owner-external svg{flex:none}
.crm-company-link svg{width:1rem;height:1rem}
.crm-company-link:hover,.crm-company-link:focus-visible{background:#fbeee8;color:#ad4c2b}
.deal-card .wrong-stage-amount{color:#87570b;font-weight:650}
.capture-followup-history{margin:.65rem 0;font-size:.88rem}.capture-followup-history li{margin:.35rem 0}
.sales-detail-feed{display:grid;gap:.65rem;min-width:0}
.sales-detail-feed article{border:1px solid #dee3e8;border-radius:.65rem;padding:.65rem .85rem;background:#fff;overflow-wrap:anywhere}
.sales-detail-feed header,.feed-tags{display:flex;align-items:center;gap:.42rem;flex-wrap:wrap}
.sales-detail-feed p{white-space:pre-wrap;margin:.25rem 0 0;line-height:1.45}
.sales-detail-feed small{color:#586270}
.rp-value .sales-detail-feed{max-height:14rem;overflow:auto}
.creator-ranking,.handle-float{list-style:none;counter-reset:creator;margin:0;padding:.4rem}
.creator-ranking li,.handle-float li{counter-increment:creator;display:flex;align-items:center;gap:.6rem;min-height:2.1rem}
.creator-ranking li::before,.handle-float li::before{content:counter(creator);font-variant-numeric:tabular-nums;background:#f1f3f5;color:#68717e;min-width:2.2em;padding:.2em;border-radius:.35rem;text-align:center;font-size:.78em;user-select:none}
#navigator-tip{pointer-events:none}
#navigator-tip strong{font-weight:700}
[data-primary-contact]{text-decoration:none!important}
[data-primary-contact].contact-number{display:inline-flex;align-items:center;gap:.4rem;max-width:100%}
.crm-contact-top{flex-wrap:wrap}
.crm-contact-top .crm-association{line-height:1.3;border-radius:.4rem;background:#f1f3f5;padding:.2rem .45rem}
.note-thread .rp-compose-actions{display:flex;justify-content:flex-end}
.note-thread .rp-compose-actions button{display:inline-flex;gap:.4rem;align-items:center}
.note-thread .rp-compose-actions svg{width:1em;height:1em}
.fact-alert{background:none;border:0;padding:0;cursor:pointer}
.fact-preview{display:inline-flex;align-items:center;gap:.4rem;border:0;background:none;color:inherit;font:inherit;text-align:left;max-width:100%;cursor:pointer;padding:.15rem}
.fact-preview svg{width:1em;height:1em;flex:none;color:#68717e}
.fact-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.capture-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.8rem}
.capture-facts div{padding:.5rem .65rem;border:1px solid #e3e7eb;border-radius:.5rem}
.capture-facts dt{font-size:.8em;color:#626977}
.capture-facts dd{margin:.22rem 0 0}
.crm-linkedin{display:inline-flex;align-items:center;justify-content:center;color:#444b51;padding:.18rem;flex:none}
.crm-linkedin svg,.crm-language-summary svg{width:1rem;height:1rem}
.crm-language-summary{display:flex;align-items:center;gap:.35rem;color:#5f6672;margin:.45rem 0}
.story-breakdown table{width:100%;border-collapse:collapse;margin:.8rem 0;font-variant-numeric:tabular-nums}
.story-breakdown th,.story-breakdown td{padding:.5rem;text-align:right;border-bottom:1px solid #e5e9eb}
.story-breakdown th:first-child{text-align:left}
.story-breakdown small{display:block;font-weight:400;color:#5b6574}
/* A dot is one recorded step, including re-entry into an earlier phase. */
.deal-history-label{font-size:.8rem;font-weight:550;color:#596570;margin:.8rem 0 .55rem}
.deal-timeline{display:grid;grid-template-columns:minmax(0,1fr);list-style:none;padding:0;margin:0 0 .1rem}
.deal-timeline li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;gap:1rem;min-width:0;padding:0 0 .45rem 18px;font-size:.81rem;line-height:1.32}
.deal-timeline li::before{content:"";position:absolute;inset:7px auto -7px 4px;width:1px;background:#aebfb7}
.deal-timeline li:last-child::before{display:none}
.deal-timeline li::after{content:"";position:absolute;top:4px;left:0;width:9px;height:9px;border-radius:50%;border:1.5px solid var(--step-color,#85908c);background:white;box-sizing:border-box}
.deal-timeline li:last-child::after{background:var(--step-color,#85908c)}
.deal-step-phase{color:#354139;font-weight:550}
.deal-timeline time{color:#59645e;font-variant-numeric:tabular-nums}
.deal-card dd .staff-cell{vertical-align:top}
.brand-panel tr[data-outcome="opportunity"]{--outcome:#3b8b63}
.brand-panel tr[data-outcome="declined"]{--outcome:#d63b4f}
.brand-panel tr[data-outcome="waiting"]{--outcome:#c28636}
.brand-panel tr[data-outcome="review"]{--outcome:#8e70b0}
.brand-panel tr[data-outcome="requested"]{--outcome:#4281d8}
.brand-panel tr[data-outcome="neutral"]{--outcome:#89949c}
.brand-panel tr[data-outcome]:not([data-outcome=""]) .brand-text{
  border-inline-start:3px solid var(--outcome);
  padding-inline-start:.45rem;
}

#brand-scroll .sheet-table td:is(.field-flag,.follow-flag),[data-capture-brand] td.field-flag{text-align:center;vertical-align:middle;padding-inline:4px}

.sync-working>div{display:grid;grid-template-columns:minmax(6em,1fr) auto;align-items:baseline;gap:3px 12px;margin:6px 0}.sync-working span{font-variant-numeric:tabular-nums}.sync-working progress{grid-column:1/-1;width:100%;height:4px}

.hunter-email{font-size:.9em;color:#526170;overflow-wrap:anywhere}
.sales-detail-feed .feed-tags{margin-top:.35rem}
.primary-contact-read{display:inline-flex;align-items:center;gap:.4rem}
.primary-contact-read svg{width:1.1em;height:1.1em;flex:none}
.crm-linkedin:hover,.crm-linkedin:focus-visible{color:#171b20;background:#edf0f2;border-radius:.25rem}
.deal-group+.deal-group{margin-top:1.25rem}
.deal-group h3{display:flex;gap:.5rem;align-items:baseline;margin:.25rem 0 .6rem}
.deal-group h3 span{font-size:.8em;color:#5b6974;font-weight:500}
.deal-group>.btn{margin-top:.6rem}
.deal-card header{justify-content:space-between;align-items:baseline}
.deal-heading{display:flex;align-items:baseline;gap:.45rem;min-width:0}
.deal-team{flex:none;padding:.13em .45em;border-radius:4px;font-size:.72rem;font-weight:600;line-height:1.35}
.deal-team.auto{color:#405265;background:#eef2f6}
.deal-team.mp{color:#345848;background:#ecf3ed}
.deal-team.capture{color:#5f4380;background:#f0eaf5}
.deal-card header a{font-weight:600;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.deal-card header a:hover{text-decoration:underline}
.deal-card header a svg{vertical-align:middle;width:.9em;height:.9em;margin-inline-start:.4rem;color:#9c563b}
.deal-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin:.65rem 0 .3rem}
.deal-card dt,.deal-featured{font-size:.8rem;color:#596570}
.deal-card dd{margin:.12rem 0 0;font-variant-numeric:tabular-nums}
.deal-featured{display:inline-block;margin:.3rem .5rem .15rem 0}
@media(max-width:600px){.deal-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

.staff-cell,.count-with-icon{display:inline-flex;align-items:center;gap:.35em;vertical-align:middle;max-width:100%}
.staff-cell>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-cell>:is(.person-photo,.person-icon){flex:none}
.count-with-icon svg{width:1em;height:1em;flex:none}
:is(#brand-scroll,[data-capture-scroll]) td[data-sheet-key="sales_linkedin"]{text-align:center;vertical-align:middle}


.cell-with-hint{display:inline-flex;align-items:center;gap:4px;max-width:100%;vertical-align:middle;white-space:nowrap}
.cell-with-hint>.cell-hint-value{display:inline-flex;align-items:center;min-width:0;overflow:hidden}
.cell-with-hint>.cell-hint-value time{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#brand-scroll,[data-capture-scroll]) .cell-with-hint>.grid-hint{position:static;display:inline-flex;align-items:center;justify-content:center;flex:none;margin:0;padding:0;line-height:1}
.cell-with-hint>.grid-hint svg{display:block}
