.settings-dialog{width:min(92vw,500px);padding:0;border:0;border-radius:18px;background:transparent;box-shadow:none}.settings-dialog::backdrop{background:rgba(5,15,28,.45);backdrop-filter:blur(2px)}.settings-card{padding:17px;border-radius:17px;background:#fff;box-shadow:0 24px 70px rgba(4,13,27,.25)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.dialog-head h2{margin:1px 0 4px;font-size:18px;letter-spacing:-.025em}.dialog-head p{margin:0;color:#7b8999;font-size:9.5px;line-height:1.45}.settings-card textarea{width:100%;min-height:150px;margin-top:13px;padding:12px;border:1px solid var(--line-strong);border-radius:11px;resize:vertical;outline:0;background:#fafbfd;color:var(--ink);font-size:11px;line-height:1.5}.settings-card textarea:focus{border-color:#91a6bf;box-shadow:0 0 0 3px rgba(31,115,232,.06)}.dialog-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.toast{position:fixed;left:50%;bottom:calc(86px + var(--safe));z-index:120;transform:translate(-50%,12px);padding:9px 12px;border-radius:9px;background:var(--navy);color:#fff;font-size:9px;font-weight:620;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease;box-shadow:0 10px 30px rgba(5,16,32,.25)}.toast.show{opacity:1;transform:translate(-50%,0)}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #6da5ed;outline-offset:2px}

@media(max-width:430px){.opp-quick-actions .quick-action span{display:none}.opp-quick-actions .quick-action{min-width:38px}.opp-actions-wrap{grid-template-columns:minmax(0,1fr) auto}.view-account{padding:0 10px}.filter-chip{padding:0 11px}.page-head h1{font-size:26px}}

@media(min-width:700px){.main-content{padding:30px 26px 56px}.page-head h1{font-size:30px}.search-box.compact{width:210px;display:flex}.customer-tools-new{grid-template-columns:minmax(0,1fr) 180px}.signals-list{grid-template-columns:repeat(2,minmax(0,1fr))}.account-sheet{left:auto;width:min(520px,92vw);transform:translateX(100%)}.account-overlay.open .account-sheet{transform:none}.toast{bottom:24px}.company-state{display:block}}

@media(min-width:980px){.app-shell{display:grid;grid-template-columns:216px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:28px 16px 16px;background:var(--navy);color:#fff}.sidebar .brand{padding:0 7px}.sidebar .brand-mark{width:38px;height:38px}.sidebar .brand-mark img{width:26px;height:26px}.side-nav{display:grid;gap:4px;margin-top:42px}.side-nav .nav-item{height:43px;padding:0 11px;border-radius:9px;justify-content:flex-start;color:#9aaac0;font-size:11px;font-weight:580}.side-nav .nav-item.active{background:rgba(255,255,255,.075);color:#fff}.side-nav .nav-item svg{width:17px;height:17px}.sidebar-foot{margin-top:auto}.profile-card{width:100%;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.04);color:#fff;display:grid;grid-template-columns:34px minmax(0,1fr) 17px;align-items:center;gap:9px;text-align:left}.profile-card .avatar{width:34px;height:34px;border-radius:9px;background:#1b3762;display:grid;place-items:center;font-size:9px;font-weight:700}.profile-card strong{display:block;font-size:9.5px}.profile-card small{display:block;margin-top:2px;color:#8196b1;font-size:7.5px}.profile-card svg{width:13px;height:13px;color:#8296b0}.mobile-topbar,.mobile-nav{display:none}.main-content{max-width:1180px;padding:46px 38px 62px}.page-head{align-items:center;margin-bottom:26px}.page-head h1{font-size:34px}.page-head p{font-size:13px}.home-actions{display:flex;align-items:center;gap:8px}.toolbar{margin-bottom:22px}.opportunity-list{gap:9px}.opportunity-card{min-height:118px;padding:14px 16px;grid-template-columns:62px minmax(240px,1.45fr) minmax(190px,.8fr) minmax(260px,1fr);grid-template-areas:"score main product actions" "footer footer footer actions";align-items:center;column-gap:16px;row-gap:4px;border-radius:13px;box-shadow:none}.score-ring{width:58px;height:58px}.opp-heading h2{font-size:15.5px}.opp-meta{font-size:10px}.opp-signal{margin-top:7px;font-size:10.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.opp-signal svg{display:none}.opp-product{padding:0;border:0;background:transparent;display:block}.opp-product>span{display:block;margin-bottom:4px}.opp-product strong{display:block;font-size:12px}.opp-actions-wrap{align-self:stretch;display:grid;grid-template-columns:1fr;align-content:center;gap:7px}.opp-quick-actions{grid-template-columns:repeat(3,1fr)}.quick-action{height:35px}.view-account{height:35px;justify-content:center}.opp-footer{padding:0}.inline-confirm{grid-column:1/-1}.company-list,.customer-list-new,.pipeline-list{border-radius:13px}.signals-list{grid-template-columns:repeat(2,minmax(0,1fr))}.account-sheet{width:510px}.account-content{padding:16px 16px 94px}.toast{bottom:24px}}

@media(min-width:1260px){.main-content{padding-left:46px;padding-right:46px}.opportunity-card{grid-template-columns:64px minmax(290px,1.6fr) minmax(210px,.85fr) minmax(290px,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ========================================================================== 
   COLCAR SIGNAL 1.2 — visual polish
   Mobile is the reference layout. Desktop expands the same hierarchy.
   ========================================================================== */
:root{
  --navy:#10233f;
  --navy-2:#173452;
  --blue:#1672e8;
  --ink:#10213a;
  --text:#304258;
  --muted:#738399;
  --muted-2:#9aa6b5;
  --bg:#f6f8fb;
  --paper:#ffffff;
  --line:#e2e8ef;
  --line-strong:#d2dbe5;
  --green:#178d62;
  --green-soft:#edf8f3;
  --amber:#b97610;
  --amber-soft:#fff6e8;
  --blue-soft:#eef5ff;
  --shadow:0 1px 2px rgba(15,35,63,.025),0 8px 26px rgba(15,35,63,.035);
}

html{background:var(--bg)}
body{background:var(--bg);font-variation-settings:"wght" 450}
button,a,input,textarea,select{letter-spacing:-.005em}

/* Brand + app chrome */
.mobile-topbar{
  height:64px;
  padding:0 16px;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.04);
}
.brand-mark{width:32px;height:32px;border-radius:9px}
.brand-mark img{width:22px;height:22px}
.brand-copy{gap:5px}
.brand-copy strong{font-size:13px;font-weight:720;letter-spacing:.055em}
.brand-copy b{font-size:10px;font-weight:520;letter-spacing:.065em;color:#a7b7ca}
.mobile-topbar .icon-button{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.035)}

.main-content{padding:23px 16px calc(88px + var(--safe))}
.page-head{margin-bottom:17px}
.page-head h1{font-size:27px;font-weight:720;letter-spacing:-.042em}
.page-head p{margin-top:6px;color:#718197;font-size:12px;line-height:1.42}

/* Filters are controls, not decoration */
.toolbar{margin-bottom:17px}
.chip-scroll{gap:6px;padding-bottom:2px}
.filter-chip{
  height:34px;
  padding:0 12px;
  border-color:#dce3eb;
  border-radius:9px;
  color:#65768c;
  font-size:9.5px;
  font-weight:620;
  box-shadow:none;
}
.filter-chip.active{background:var(--navy);border-color:var(--navy);color:#fff}
.section-label-row{margin:0 2px 9px}
.section-label-row span{font-size:9.5px;font-weight:570;color:#7f8ea1}
.section-label-row strong{height:23px;min-width:27px;border-radius:7px;background:#eaf0f5;color:#52677f;font-size:9px}

/* Opportunity feed */
.opportunity-list{gap:10px}
.opportunity-card{
  padding:15px;
  border-color:#dfe6ee;
  border-radius:14px;
  box-shadow:var(--shadow);
  grid-template-columns:55px minmax(0,1fr);
  gap:11px 12px;
}
.score-ring{width:55px;height:55px;background:conic-gradient(var(--green) calc(var(--score)*1%),#e8edf2 0)}
.score-ring:after{inset:4px}
.score-ring span{font-size:17px;font-weight:760}
.opp-heading{gap:7px}
.opp-heading h2{font-size:15.5px;font-weight:690;letter-spacing:-.023em}
.opp-meta{margin-top:4px;color:#8390a2;font-size:9.5px}
.status-badge{
  height:21px;
  padding:0 7px;
  border-radius:6px;
  background:#f0f3f6;
  color:#67778b;
  font-size:7.5px;
  font-weight:650;
}
.status-badge.tender{background:var(--amber-soft);color:#a76a09}
.status-badge.renewal{background:#eef4fb;color:#4b6d95}
.status-badge.expansion{background:var(--green-soft);color:#197a57}
.opp-signal{margin-top:8px;color:#465a70;font-size:10.5px;line-height:1.45}
.opp-signal>svg{display:none}
.opp-product{
  padding:9px 10px;
  border-color:#e5ebf1;
  border-radius:9px;
  background:#f9fafc;
}
.opp-product>span{color:#8e9aaa;font-size:7.5px;font-weight:620;text-transform:uppercase;letter-spacing:.045em}
.opp-product strong{margin-top:3px;color:#17304e;font-size:10.8px;font-weight:650}
.opp-actions-wrap{grid-template-columns:minmax(0,1fr) 91px;gap:6px}
