:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#172033;background:#fff;font-size:14px;line-height:1.6;--blue:#2459d8;--muted:#6a7385;--line:#e6eaf1;--soft:#f5f7fc;--selected:#eaf0ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9ab7ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.6px;line-height:1.4}h2{font-size:19px;font-weight:650;line-height:1.45}h3{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}small{font-size:12px;color:var(--muted);display:block}p{margin:10px 0;line-height:1.75}.muted,.subtitle{color:var(--muted)}.strong{font-weight:600}.icon{height:20px;width:20px;flex:none;vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:210px;background:#f7f9fd;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:22px 12px;z-index:30}.brand{display:flex;gap:9px;align-items:center;color:#172033;padding:0 10px 24px}.brand:hover{text-decoration:none}.brand strong{font-size:19px;letter-spacing:-.5px}.brand small{font-size:13px;color:#354058}.brand img{object-fit:contain}.sidebar nav{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.nav-item{display:flex;align-items:center;gap:12px;color:#3c475c;padding:12px 14px;border-radius:7px;white-space:nowrap;font-weight:500;font-size:15px}.nav-item:hover{background:#edf1f8;text-decoration:none}.nav-item.active{background:#e7edff;color:#164dd2;font-weight:650}.nav-item.active .icon,.assistant-button .icon{filter:invert(27%) sepia(70%) saturate(1900%) hue-rotate(210deg)}.sidebar-bottom{margin-top:auto;padding-top:28px;display:grid;gap:16px}.sidebar-bottom .nav-item{font-size:12px}.sidebar-bottom .nav-item span{display:flex;gap:10px;align-items:center}.app-main{margin-left:210px;min-width:0}.app-topbar{height:68px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);gap:12px;background:#fff}.top-controls{display:flex;align-items:center;gap:12px}.top-controls select{font-size:12px;padding:6px 24px 6px 8px;border-color:transparent;background:#f7f8fb;max-width:170px}.today{font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:8px;color:#556078}.preview-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}main{padding:28px 28px 32px;max-width:1700px;margin:auto;min-height:calc(100dvh - 68px)}.page-heading{margin-bottom:24px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.subtitle{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d6deeb;border-radius:6px;padding:8px 14px;background:#fff;font-weight:500;white-space:nowrap;min-height:38px;font-size:13px}.button:hover{background:#f2f5fc;text-decoration:none}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.button.primary:hover{background:#1a46b4}.button.primary .icon{filter:brightness(0) invert(1)}.text-button{border:none;background:none;color:var(--blue);padding:4px 0}.icon-button{padding:8px;font-size:0}.assistant-button{border-color:#b4c7ff;color:var(--blue);font-weight:600;width:100%;padding:10px}.badge{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 10px;font-size:12px;border-radius:5px;font-weight:500;line-height:1.5}.badge.blue{color:#2458ce;background:#eaf0ff}.badge.neutral{color:#626d81;background:#f0f2f6}.badge.amber{color:#905400;background:#fff2d6}.badge.orange{color:#ae501a;background:#fff0e5}.badge.green{color:#22734b;background:#eaf7ef}.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0 30px}.kpi{display:flex;align-items:center;gap:14px;padding:22px 18px;background:#f5f7fc;border-radius:8px}.kpi>.icon{width:34px;height:34px;opacity:.7}.kpi span{font-size:16px;font-weight:600}.kpi strong{font-size:22px;color:var(--blue);margin-left:6px}.kpi small{margin-top:4px}.kpi-link{color:inherit}.kpi-link:hover{text-decoration:none}.kpi-link:hover .kpi{background:var(--selected)}.work-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(260px,1fr);gap:22px;margin-bottom:30px}.priority-panel,.attention{border:1px solid var(--line);border-radius:8px;padding:18px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading p{margin:5px 0;font-size:12px}.section-heading>.actions{justify-content:flex-end;flex-shrink:0}.attention h2{margin-bottom:18px}.assistant-note{background:#f4f7ff;border-radius:7px;padding:16px}.assistant-note .button{margin-top:9px}.section{margin:28px 0 0}.section:first-child{margin-top:0}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{font-weight:500;color:#5a6478;background:#f5f7fb;padding:11px 13px;white-space:nowrap;font-size:12px;position:sticky;top:0;z-index:1}td{padding:17px 13px;border-bottom:1px solid var(--line);vertical-align:top;max-width:280px;overflow-wrap:anywhere}td small{margin-top:5px}td p{font-size:13px;margin:6px 0}.row-title{font-weight:600;font-size:14px;display:block;line-height:1.6}.row-action{white-space:nowrap;font-size:12px}.priority-panel td{padding:22px 12px}.priority-panel td:first-child{width:65px}.priority-panel td:last-child{width:118px}.priority-panel tr:hover td{background:#f9fbff}.footer-link{display:block;margin-top:15px;text-align:right;font-size:12px}.amount{font-variant-numeric:tabular-nums;white-space:nowrap}.code{font-size:11px;font-variant-numeric:tabular-nums}.quiet-empty{display:flex;gap:16px;align-items:center;background:#fafbfe;padding:22px;border-radius:7px;color:var(--muted)}.quiet-empty p{font-size:13px;margin:4px 0}.quiet-empty>.icon{height:30px;width:30px;opacity:.6}.facts{display:grid;grid-template-columns:110px 1fr;gap:14px 12px;font-size:13px;margin:16px 0}.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.search-box{display:flex;gap:8px;align-items:center;border:1px solid #dce2eb;border-radius:6px;padding-left:11px;min-width:260px;flex:1;max-width:460px;background:#fff}.search-box .icon{width:18px;height:18px;opacity:.6}.search-box input{width:100%;min-width:70px;border:0;outline:none;background:none;padding:9px 0;font-size:13px}.search-submit{border:none;border-left:1px solid var(--line);background:#f8faff;border-radius:0 6px 6px 0;height:100%;padding:0 12px;color:var(--blue);font-size:12px}select{border:1px solid #dce2eb;border-radius:6px;background:#fff;max-width:230px;padding:8px;font-size:13px;min-height:36px}.filter-tags{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}.chip{background:#f0f4ff;color:#3158a4;border:none;padding:4px 9px;font-size:12px;min-height:28px;max-width:100%;white-space:normal}.chip .icon{height:13px;width:13px}.results-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 0 15px;font-size:13px;color:var(--muted)}.list-page{min-height:calc(100dvh - 128px);display:flex;flex-direction:column}.list-page .list-body{flex:1;min-width:0}.list-page table{min-width:850px}.list-page .table-scroll{max-height:calc(100dvh - 355px);min-height:260px}.list-page td{padding:15px 12px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:15px 0 0;border-top:1px solid var(--line);background:#fff;margin-top:auto;font-size:12px;flex-wrap:wrap}.pagination>span:first-child{margin-right:auto}.pagination .button{font-size:12px;min-height:34px;padding:6px 10px}.page-counter{font-variant-numeric:tabular-nums}.empty{text-align:center;padding:60px 24px;color:var(--muted)}.empty>.icon{width:32px;height:32px;opacity:.5;margin-bottom:14px}.empty h3{justify-content:center;color:#44516b}.empty .button{margin-top:12px}.breadcrumbs{margin:0 0 16px;font-size:12px}.status-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:-8px;margin-bottom:18px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);overflow:auto;margin-bottom:28px}.tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:13px 3px;font-size:14px;white-space:nowrap}.tabs button.active{border-bottom-color:var(--blue);color:var(--blue);font-weight:600}.detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:28px}.detail-aside{border-left:1px solid var(--line);padding-left:26px;min-width:0}.needs{background:#f7f9fd;border:1px solid var(--line);border-radius:7px;padding:16px}.needs>p:first-child{margin-top:0}.metric-strip{display:flex;gap:0;margin:18px 0;background:#f6f8fe;border-radius:7px;padding:20px 0}.metric-strip>div{flex:1;padding:0 20px;border-right:1px solid #dfe5ef;min-width:0}.metric-strip>div:last-child{border:0}.metric-strip strong{display:block;font-size:19px;margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.inline-note{display:flex;gap:9px;align-items:flex-start;background:#eef4ff;padding:12px 14px;border-radius:6px;font-size:12px;color:#3d5e9c;margin:16px 0}.inline-note .icon{width:17px;height:17px}.next-action{border-top:1px solid var(--line);padding:12px 0}.metadata{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted)}.metadata .icon{width:16px;height:16px}.timeline article{border-left:2px solid #e1e8f6;margin-left:4px;padding:0 0 20px 20px}.timeline article p{font-size:13px}.checklist{list-style:none;margin:0;padding:0}.checklist li{border-bottom:1px solid var(--line);padding:12px 0;display:flex;align-items:center;gap:10px;font-size:13px}.checklist .icon{opacity:.5;width:17px;height:17px}.related-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.related-row small{margin-top:5px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:320px;overflow:auto}.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:330px}.source-record .facts{font-size:12px}.review-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:26px;margin-top:28px}.agenda{border-right:1px solid var(--line);padding-right:18px}.agenda h2{margin-bottom:18px}.agenda-item{display:block;width:100%;text-align:left;padding:15px 12px;border:1px solid transparent;background:#fff;border-bottom-color:var(--line);border-radius:6px;margin-bottom:9px}.agenda-item.active{background:#f0f5ff;border-color:#b6c9f9}.agenda-item strong{display:block;font-size:14px;overflow-wrap:anywhere}.agenda-item small{margin-top:8px}.review-main{min-width:0}.review-main h2{margin-bottom:12px}.review-main table{margin-top:22px}.review-detail-link{margin-top:16px}.conclusion-choices{display:flex;flex-wrap:wrap;gap:18px;margin:15px 0;font-size:13px}.conclusion-choices label{display:flex;gap:6px;align-items:center}.review-main textarea{width:100%;padding:12px;border:1px solid #d3dce9;border-radius:6px;resize:vertical;min-height:100px}.review-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;bottom:0;background:#fff;padding:20px 0;border-top:1px solid var(--line);margin-top:24px;font-size:12px}.form-field{display:grid;gap:7px;margin:16px 0;font-size:13px}.form-field input,.form-field textarea,.form-field select{border:1px solid #ced7e5;border-radius:6px;padding:9px 11px;width:100%;max-width:none;background:#fff}.form-field textarea{min-height:90px;resize:vertical}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{color:#b22727;background:#fff0f0;padding:10px;border-radius:5px}dialog{border:1px solid #dce3ef;border-radius:12px;box-shadow:0 16px 70px #15284930;max-width:560px;width:calc(100% - 36px);max-height:88dvh;padding:24px}dialog::backdrop{background:#12234055}dialog>.muted,dialog .muted{font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#172b4d;color:#fff;padding:12px 22px;border-radius:7px;z-index:100;font-size:13px;max-width:90vw;box-shadow:0 4px 16px #182c4820}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:10px;padding:10px;background:#fff;z-index:200}.skip-link:focus{top:10px}.mobile-menu{display:none}[hidden]{display:none!important}
@media(min-width:1600px){main{padding:32px 42px}.work-grid{grid-template-columns:minmax(0,2.4fr) minmax(290px,1fr)}}
@media(max-width:1200px){.sidebar{width:185px}.app-main{margin-left:185px}main{padding:24px 20px}.app-topbar{padding:0 20px}.today{display:none}.work-grid{grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:16px}.priority-panel .section-heading{align-items:flex-start;flex-direction:column}.kpis{gap:14px}.kpi{padding:17px 12px}.kpi>.icon{width:26px;height:26px}.kpi span{font-size:14px}.kpi strong{font-size:20px}.detail-grid{grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr)}.detail-aside{padding-left:18px}.brand{padding-left:3px}.brand strong{font-size:17px}}
@media(max-width:900px){.sidebar{width:168px;padding:18px 8px}.app-main{margin-left:168px}.brand img{width:22px;height:22px}.brand{gap:5px}.brand strong{font-size:16px}.brand small{font-size:11px}.nav-item{font-size:13px;padding:11px}.work-grid,.detail-grid{grid-template-columns:1fr}.detail-aside{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.attention{display:grid;grid-template-columns:1fr 1fr;gap:15px}.attention>h2{grid-column:1/-1;margin:0}.attention .section{margin:0}.kpi>.icon{display:none}.top-controls{gap:5px}.preview-label>span:last-child{display:none}.app-topbar{padding:0 14px}.heading-row{gap:14px;align-items:flex-start}.heading-row h1{font-size:24px}.review-layout{grid-template-columns:200px minmax(0,1fr);gap:18px}.metric-strip strong{font-size:16px}}
@media(max-width:640px){.sidebar{display:none;width:220px;box-shadow:0 0 0 100vmax #17203344}.nav-open .sidebar{display:flex}.app-main{margin:0}.mobile-menu{display:inline-flex}.app-topbar{height:auto;min-height:60px;flex-wrap:wrap;padding:12px;gap:8px}.top-controls{margin-left:auto}.top-controls select{max-width:144px;font-size:11px;min-height:34px}.preview-label{display:none}main{padding:22px 16px}.heading-row{flex-direction:column;gap:15px}.heading-row h1{font-size:23px}.heading-row>.actions{width:100%;justify-content:flex-end}.page-heading{margin-bottom:20px}.kpis{grid-template-columns:1fr;gap:10px;margin:20px 0}.kpi{padding:13px 16px}.kpi>.icon{display:block;height:25px;width:25px}.kpi span{font-size:15px}.kpi small{margin:0}.kpi div{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px}.kpi small{max-width:130px;font-size:11px}.work-grid{gap:16px}.priority-panel,.attention{padding:14px}.priority-panel .table-scroll table{min-width:530px}.attention{display:block}.attention .section{margin-top:20px}.section-heading{gap:12px;align-items:flex-start}.section-heading h2{font-size:18px}.section-heading .actions{gap:7px}.filters{gap:8px}.filters>label{flex:1}.filters select{width:100%;max-width:100%}.search-box{max-width:none;flex-basis:100%;min-width:0}.list-page{min-height:calc(100dvh - 105px)}.list-page .table-scroll{max-height:460px}.pagination{position:sticky;bottom:0;padding:12px 0;gap:8px;z-index:2}.pagination>span:first-child{display:none}.pagination select{max-width:105px;font-size:11px}.pagination .button{padding:6px;font-size:11px;min-height:36px}.page-counter{font-size:11px}.pagination .icon{display:none}.tabs{gap:18px;margin-bottom:22px}.tabs button{font-size:13px}.metric-strip{flex-wrap:wrap;gap:16px}.metric-strip>div{flex-basis:45%;padding:0 14px}.metric-strip strong{font-size:16px}.review-layout{grid-template-columns:1fr}.agenda{display:flex;overflow:auto;gap:10px;padding:0;border:0}.agenda h2{display:none}.agenda-item{flex:0 0 190px}.review-main .table-scroll table{min-width:530px}.review-footer{flex-wrap:wrap}.review-footer .button{margin-left:auto}.facts{grid-template-columns:90px 1fr}.breadcrumbs{margin-bottom:12px}.detail-grid .table-scroll table{min-width:540px}dialog{padding:20px}.source-record .facts dd{max-height:320px;overflow:auto}}

/* Keep the cross-dealer work queue and follow-through visible together. */
@media(min-width:1000px){.work-page .heading-row>div:first-child{display:flex;align-items:baseline;gap:24px}.work-page .subtitle{margin:0}.work-page .kpis{margin:22px 0 26px}.work-page .kpi{padding:15px 18px}.work-page .priority-panel td{padding:17px 12px}.work-page .attention .facts{gap:10px}.work-page .work-grid{margin-bottom:24px}}
.search-submit{white-space:nowrap;flex-shrink:0}
@media(min-width:641px){.list-page{height:calc(100dvh - 128px);min-height:500px}.list-page .list-body{min-height:0;overflow:auto}.list-page .table-scroll{height:100%;min-height:0;max-height:none}.list-page .pagination{flex-shrink:0}.list-page .page-heading,.list-page .filters,.list-page .results-bar,.list-page .filter-tags{flex-shrink:0}}


/* November 28 visual refinement: shared type, spacing, and content hierarchy. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #252b37;
  background: #f7f8fa;
  --blue: #315dcb;
  --muted: #697384;
  --line: #e5e8ed;
  --soft: #f7f8fa;
  --selected: #edf2fc;
  -webkit-font-smoothing: antialiased;
}
h1 {font-size:26px; font-weight:600; letter-spacing:-.35px; line-height:1.4}
h2 {font-size:17px; font-weight:600; line-height:1.5}
h3 {font-size:14px; font-weight:600}
small {font-size:12px; line-height:1.6}
p {line-height:1.75}
.sidebar {width:216px; padding:24px 14px 18px; background:#f8f9fb; border-color:#e8ebf0}
.brand {gap:10px; padding:0 7px 26px}
.brand strong {font-size:18px; font-weight:600; letter-spacing:-.4px}
.brand small {font-size:12px; color:var(--muted); margin-top:3px}
.sidebar nav {gap:5px; padding-top:18px}
.nav-item {padding:11px 13px; font-size:14px; font-weight:400; border-radius:8px; gap:12px; color:#596172}
.nav-item .icon {width:19px; height:19px; opacity:.76}
.nav-item.active {font-weight:500; color:#2855c3; background:#eaf0fc}
.nav-item.active .icon {opacity:1}
.sidebar-bottom {gap:12px}
.assistant-button {background:white; border-color:#dce4f3; font-weight:500}
.app-main {margin-left:216px}
.app-topbar {height:60px; padding:0 32px; border-color:#e8ebf0}
.top-controls select {background:white; border-color:#e5e8ed; font-size:12px; border-radius:7px}
.preview-label {font-size:12px; gap:10px}
.preview-label .badge {background:#f2f4f7; color:#5c6574}
main {padding:28px 32px; min-height:calc(100dvh - 60px); max-width:1600px}
.page-heading {margin-bottom:22px}
.subtitle {font-size:13px; color:#6b7483; line-height:1.6; margin-top:7px}
.heading-row {gap:20px}
.button {font-size:13px; font-weight:500; padding:8px 14px; min-height:36px; border-radius:7px; border-color:#dde2e9; box-shadow:0 1px 2px #16254405}
.button.primary {background:#315dcb; border-color:#315dcb; box-shadow:0 2px 3px #2451b91a}
.button .icon {width:17px; height:17px}
.text-button {box-shadow:none}
.badge {padding:3px 8px; font-size:11px; font-weight:500; border-radius:5px}
.badge.amber {color:#8d631c; background:#fbf2de}
.badge.neutral {color:#697384; background:#f1f3f6}
.badge.blue {color:#4869ae; background:#edf2fc}
select {border-color:#e0e5eb; border-radius:7px; font-size:13px; min-height:36px; padding:7px 10px}
/* Lists: one contained surface, a quieter header, stronger readable records. */
.list-page {height:calc(100dvh - 116px); min-height:500px}
.filters {padding:14px 16px; background:#fff; border:1px solid var(--line); border-radius:10px; gap:9px; margin-bottom:4px}
.filters .search-box {flex:1 1 280px; max-width:440px; min-width:240px; background:#fafbfc}
.search-box {border-color:#e0e5eb; border-radius:7px}
.search-box input {font-size:13px; padding:8px 0}
.search-submit {background:transparent; border-left-color:#e0e5eb; color:#52617a; padding:0 13px}
.filters select {background:#fff; max-width:195px}
.results-bar {padding:14px 2px; font-size:12px; color:#6b7483}
.results-bar strong {font-weight:600; color:#303a4b; font-variant-numeric:tabular-nums}
.results-bar select {font-size:12px; min-height:32px; background:transparent; border-color:transparent; padding-right:2px}
.list-body {background:#fff; border:1px solid var(--line); border-radius:10px 10px 0 0}
table {font-size:14px; line-height:1.6}
th {font-size:12px; font-weight:500; background:#f8fafc; color:#748092; padding:11px 16px; border-bottom:1px solid #e7ebf0}
td {padding:14px 16px; border-bottom-color:#eef0f3; color:#485363}
td small {margin-top:4px; color:#7a8391}
.row-title {font-size:14px; font-weight:500; color:#29374b; line-height:1.65}
.row-title:hover {color:var(--blue)}
.list-page td {padding:13px 16px; vertical-align:middle}
.list-page tbody tr:hover {background:#f6f9fe}
.list-page .row-title {font-size:14px}
.list-page td small {font-size:12px}
.list-page .amount {color:#303b4e; font-weight:500; font-size:13px}
.list-page .code {color:#87909e; font-size:11px; letter-spacing:.25px}
.list-opportunities td:first-child {width:25%}
.list-opportunities td:last-child {width:28%; font-size:13px; line-height:1.7}
.list-customers td:first-child {width:33%}
.list-customers td:nth-child(3) {width:28%}
.pagination {background:#fff; border:1px solid var(--line); border-top:0; border-radius:0 0 10px 10px; padding:12px 16px; gap:10px; color:#6c7685; margin-top:0; min-height:60px}
.pagination .button {border-color:#e3e7ed; box-shadow:none; background:white}
.pagination select {background:#fafbfc; font-size:12px; min-height:32px}
.pagination .page-counter {min-width:80px; text-align:center}
/* Weekly workspace: equal summary panels and a restrained two-column rhythm. */
.kpis {gap:16px}
.kpi {background:white; border:1px solid var(--line); border-radius:10px; gap:14px; min-height:86px}
.kpi>.icon {width:27px; height:27px; opacity:.56}
.kpi span {font-size:14px; font-weight:500; color:#626c7c}
.kpi strong {font-size:23px; font-weight:600; color:#304b7e; letter-spacing:-.4px; margin-left:10px}
.kpi small {font-size:12px; margin-top:5px}
.work-grid {grid-template-columns:minmax(0,2.15fr) minmax(280px,1fr); gap:20px; align-items:start}
.priority-panel,.attention {background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px}
.section-heading {margin-bottom:16px; gap:12px}
.section-heading p {font-size:12px; color:#798292}
.priority-panel .section-heading>.actions {gap:8px}
.priority-panel select {max-width:180px; font-size:12px}
.priority-panel .row-title {font-size:15px; font-weight:500}
.priority-panel td p {font-size:13px; color:#566174}
.priority-panel td small {font-size:11px; color:#858e9d}
.priority-panel .row-action {font-size:12px}
.priority-panel .footer-link {border-top:0; padding-top:2px; color:#6c7b92}
.attention>h2 {margin-bottom:18px}
.assistant-note {background:#f5f8fd; padding:16px; border:1px solid #e8eef8; border-radius:8px; font-size:14px}
.assistant-note .strong {font-weight:500; font-size:14px}
.assistant-note .muted {font-size:13px}
.work-page>.section {background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px; margin-top:20px}
.quiet-empty {padding:16px; background:#fafbfc; color:#7a8493}
.quiet-empty strong {font-weight:500; font-size:14px}
/* Detail: compact identity header; readable main column with lighter supporting context. */
.detail-page {background:#fff; border:1px solid var(--line); border-radius:12px; padding:24px 26px}
.detail-page .page-heading {margin-bottom:16px}
.breadcrumbs {font-size:12px; margin-bottom:14px}
.breadcrumbs a {color:#778394}
.detail-page .heading-row h1 {font-size:25px; letter-spacing:-.25px}
.status-line {margin-top:0; margin-bottom:10px; gap:8px}
.tabs {gap:26px; margin-bottom:24px}
.tabs button {font-size:14px; padding:12px 1px; color:#687386; font-weight:400}
.tabs button.active {font-weight:500; color:var(--blue)}
.detail-grid {grid-template-columns:minmax(0,2.15fr) minmax(260px,1fr); gap:26px}
.detail-aside {padding-left:24px; border-color:#edf0f4}
.detail-aside h2 {font-size:15px}
.detail-aside .section {margin-top:24px}
.detail-aside .section:first-child {margin-top:0}
.detail-grid .section {margin-top:24px}
.detail-grid .section:first-child {margin-top:0}
.needs {background:#fff; border:1px solid #e7ebf1; padding:0; border-radius:8px; overflow:hidden}
.needs>p:first-child {padding:13px 16px; margin:0; background:#f8fafc; border-bottom:1px solid #edf0f4; font-size:14px}
.metric-strip {background:transparent; padding:0; margin:20px 0; border-radius:0}
.metric-strip>div {padding:0 18px; border-color:#e9edf3}
.metric-strip strong {font-size:20px; font-weight:600; letter-spacing:-.25px; color:#2a3446; margin-top:7px}
.metric-strip small {font-size:12px}
.needs .inline-note {margin:0 12px 12px; padding:9px 12px; background:#f5f8fe; font-size:12px; color:#63799b}
.next-action {border:1px solid #e7ebf1; border-radius:8px; padding:14px 16px}
.next-action p {font-size:14px; margin:0 0 12px; line-height:1.85; color:#485367}
.metadata {font-size:12px; color:#7b8595}
.checklist li {font-size:13px; padding:10px 0; color:#667184}
.checklist .icon {width:15px; height:15px; opacity:.4}
.related-row {font-size:13px}
.facts {gap:12px; font-size:13px}
.detail-aside .facts {grid-template-columns:90px 1fr}
.timeline article {font-size:14px; border-color:#e3e9f2}
.preserve-lines {font-size:14px; color:#526074; line-height:1.8}
.review-layout {background:#fff; border:1px solid var(--line); padding:22px; border-radius:10px}
.agenda-item {border-radius:8px; padding:14px}
.agenda-item strong {font-weight:500}
.review-main .section-heading h2 {font-size:16px}
.review-footer {background:#fff}
dialog {border-radius:12px; padding:26px; border-color:#e3e8f0}
.form-field {font-size:13px; color:#5c6879; gap:8px}
.form-field input,.form-field textarea,.form-field select {font-size:14px; padding:10px 12px; color:#303b4b}
@media(min-width:1000px) {
  .work-page .heading-row>div:first-child {display:block}
  .work-page .subtitle {margin-top:7px}
  .work-page .kpis {margin:20px 0}
  .work-page .kpi {padding:17px 20px}
  .work-page .priority-panel td {padding:17px 12px}
}
@media(max-width:1200px) {
  .sidebar {width:190px}
  .app-main {margin-left:190px}
  main {padding:24px}
  .app-topbar {padding:0 24px}
  .brand strong {font-size:16px}
  .brand {gap:7px; padding-left:0}
  .work-grid {grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr)}
  .list-page {height:calc(100dvh - 108px)}
  .detail-grid {grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr)}
  .detail-page {padding:22px}
}
@media(max-width:900px) {
  .sidebar {width:170px; padding:22px 10px}
  .brand strong {font-size:15px}
  .brand small {font-size:11px}
  .nav-item {font-size:13px; padding:10px}
  .app-main {margin-left:170px}
  .work-grid,.detail-grid {grid-template-columns:1fr}
  .detail-aside {border:0; border-top:1px solid var(--line); padding:24px 0 0}
  .kpi strong {font-size:20px}
  .kpi {min-height:80px}
  .detail-page {padding:20px}
}
@media(max-width:640px) {
  .sidebar {width:220px}
  .app-main {margin-left:0}
  .app-topbar {height:auto; padding:10px 12px}
  main {padding:20px 14px}
  .heading-row h1,.detail-page .heading-row h1 {font-size:23px}
  .heading-row>.actions {justify-content:flex-start}
  .list-page {height:auto; min-height:calc(100dvh - 100px)}
  .filters {padding:12px; gap:8px}
  .filters .search-box {min-width:0; flex-basis:100%}
  .filters select {max-width:100%; font-size:12px}
  .pagination {padding:10px 8px; gap:5px; min-height:56px; border-top:1px solid var(--line)}
  .pagination .page-counter {min-width:65px}
  .pagination .button {padding:6px; font-size:11px}
  .detail-page {padding:16px; border-radius:10px}
  .tabs {gap:18px}
  .tabs button {font-size:13px}
  .metric-strip>div {padding:0 14px}
  .metric-strip strong {font-size:18px}
  .kpi {padding:14px 16px; min-height:78px}
  .kpi div {display:block}
  .kpi small {max-width:none; margin-top:4px}
  .work-page>.section,.priority-panel,.attention {padding:16px}
  .review-layout {padding:16px}
  .review-main .section-heading {flex-wrap:wrap}
}
@media(max-width:640px) {
  .filters>.select-label {flex:1 1 calc(50% - 8px); min-width:0}
  .filters>.select-label select {width:100%; min-width:0}
  .results-bar {gap:12px; align-items:flex-start}
  .results-bar>span {flex:1; min-width:0}
  .results-bar>.select-label {flex-shrink:0}
  .mobile-menu {font-size:0; padding:9px; min-width:36px}
  .top-controls {gap:6px}
  .top-controls select {max-width:140px}
}
.update-dialog{max-width:800px;width:calc(100% - 36px);padding:26px}
.update-dialog .inline-note{font-size:12px;margin:14px 0}
.update-dialog fieldset{border:1px solid var(--line);border-radius:8px;margin:16px 0;padding:10px 16px 16px;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.update-dialog legend{font-size:14px;font-weight:600;padding:0 6px}
.update-dialog fieldset>.muted{grid-column:1/-1;font-size:12px;margin:6px 0 0}
.update-dialog .form-field{margin:9px 0}
.update-dialog .form-field:has(textarea){grid-column:1/-1}
.update-dialog :disabled{color:#8a929e;background:#f6f7f9;cursor:not-allowed}
.update-diff{margin:14px 0;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:0 12px}
.update-diff table{table-layout:fixed;font-size:13px}
.update-diff td{white-space:pre-wrap;padding:10px;overflow-wrap:anywhere}
.update-dialog .dialog-actions{position:sticky;bottom:-26px;z-index:5;background:white;padding:15px 0;margin-top:18px;border-top:1px solid var(--line)}
@media(max-width:640px){.update-dialog{padding:18px}.update-dialog fieldset{display:block;padding:10px 12px}.update-dialog .dialog-actions{bottom:-18px}.detail-page .heading-row>.actions{flex-wrap:wrap}.detail-page .heading-row>.actions .button{font-size:12px}}

/* Opportunity list: stable customer identity, dedicated product and forecast columns. */
.opportunity-table table{min-width:1460px;table-layout:fixed}
.opportunity-table th:nth-child(1){width:240px}
.opportunity-table th:nth-child(2){width:150px}
.opportunity-table th:nth-child(3){width:170px}
.opportunity-table th:nth-child(4){width:140px}
.opportunity-table th:nth-child(5){width:130px}
.opportunity-table th:nth-child(6){width:130px}
.opportunity-table th:nth-child(7){width:90px}
.opportunity-table th:nth-child(8){width:220px}
.opportunity-table th:nth-child(9){width:130px}
.opportunity-table th:nth-child(n+10){width:140px}
.opportunity-table td{vertical-align:top;overflow-wrap:anywhere;padding:16px 14px}
.opportunity-table th:first-child,.opportunity-table td:first-child{position:sticky;left:0;background:white;box-shadow:1px 0 0 var(--line);z-index:1}
.opportunity-table th:first-child{z-index:3;background:#f8f9fb}
.opportunity-table .row-title{font-size:14px;line-height:1.6;font-weight:500}
.opportunity-table .purchase-subject{margin-top:4px}
.opportunity-table .code{font-size:11px;color:#8992a1;overflow-wrap:anywhere}
.opportunity-table .product-model{font-size:13px;font-weight:500}
.opportunity-table .amount{font-variant-numeric:tabular-nums;font-size:13px;white-space:nowrap}
.opportunity-table .date-cell,.opportunity-table .probability-cell{font-size:13px;font-variant-numeric:tabular-nums}
.opportunity-table .next-cell{font-size:13px}
.product-more summary{font-size:12px;color:var(--blue);cursor:pointer;margin-top:6px}
.duplicate-hint{font-size:11px;min-height:0;padding:2px 6px;margin-top:6px;color:#94620b;background:#fff8e9;border:1px solid #f0dfbb}
.column-picker{position:relative;flex-shrink:0}
.column-picker summary{list-style:none;cursor:pointer;font-size:12px}
.column-picker summary::-webkit-details-marker{display:none}
.column-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:10;width:180px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #1421361a;padding:14px}
.column-menu strong{font-size:12px;color:var(--muted);font-weight:500}
.column-menu label{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:13px;cursor:pointer}
.column-menu input{width:15px;height:15px}
.list-opportunities .results-bar{flex-wrap:wrap}
.list-opportunities .results-bar>span{margin-right:auto}
.duplicate-dialog{width:900px;max-width:calc(100vw - 40px)}
.duplicate-dialog>p{font-size:13px}
.duplicate-dialog .table-scroll{max-height:48vh;overflow:auto}
@media(max-width:640px){.opportunity-table th:first-child,.opportunity-table td:first-child{position:static}.list-opportunities .results-bar>span{flex-basis:100%}}

/* Compact opportunity workspace: reserve the viewport for records. */
main:has(>.compact-list){padding:16px 20px;max-width:none;min-height:0}
.compact-list{height:calc(100dvh - 92px);min-height:360px;gap:0}
.compact-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;margin-bottom:12px;flex-shrink:0}
.compact-heading-main{display:flex;align-items:baseline;gap:14px;min-width:0;flex-wrap:wrap}
.compact-heading h1{font-size:22px;line-height:1.4;letter-spacing:-.2px}
.record-count{font-size:13px;color:#586679;font-variant-numeric:tabular-nums}
.source-caption{font-size:12px;color:#808996}
.opportunity-toolbar{display:flex;align-items:center;gap:8px;padding:10px 12px;background:white;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;flex-shrink:0}
.opportunity-toolbar .search-box{flex:1 1 300px;min-width:200px;max-width:440px;height:34px;background:white}
.opportunity-toolbar .search-box input{padding:6px 0;font-size:13px}
.opportunity-toolbar select,.opportunity-toolbar .button{height:34px;min-height:34px;padding:5px 10px;font-size:12px;white-space:nowrap}
.opportunity-toolbar .table-controls{display:flex;align-items:center;gap:8px;margin-left:auto}
.opportunity-toolbar .table-controls select{border-color:transparent;background:white;max-width:116px}
.compact-list .list-body{border-radius:0;flex:1;min-height:0;overflow:hidden}
.compact-list .table-scroll{height:100%;max-height:none;overflow:auto}
.compact-list .filter-tags{margin:0;padding:8px 12px;background:white;border:1px solid var(--line);border-bottom:0;flex-shrink:0}
.compact-list .filter-tags .chip{font-size:12px;padding:3px 8px;min-height:28px}
.compact-list .pagination{min-height:46px;padding:6px 12px;flex-shrink:0}
.compact-list .pagination .button,.compact-list .pagination select{min-height:30px;font-size:12px;padding:4px 10px}
.compact-list .opportunity-table table{min-width:1060px;width:100%;table-layout:fixed;font-size:13px;line-height:1.5}
.compact-list .opportunity-table th{height:36px;padding:7px 10px;white-space:nowrap}
.compact-list .opportunity-table th:nth-child(1){width:230px}
.compact-list .opportunity-table th:nth-child(2){width:120px}
.compact-list .opportunity-table th:nth-child(3){width:180px}
.compact-list .opportunity-table th:nth-child(4){width:120px}
.compact-list .opportunity-table th:nth-child(5){width:110px}
.compact-list .opportunity-table th:nth-child(6){width:120px}
.compact-list .opportunity-table th:nth-child(7){width:84px}
.compact-list .opportunity-table th:nth-child(8){width:96px}
.compact-list .opportunity-table th:nth-child(n+9){width:130px}
.compact-list .opportunity-table td{height:58px;padding:8px 10px;vertical-align:middle;line-height:1.5;width:auto;font-size:13px}
.compact-list .opportunity-table .row-title{font-size:13px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-list .identity-meta{display:flex;gap:7px;align-items:center;min-width:0;height:18px;margin-top:2px}
.compact-list .identity-meta small{margin:0;font-size:11px;white-space:nowrap}
.compact-list .identity-meta .code{flex-shrink:0;letter-spacing:0}
.compact-list .identity-meta .purchase-subject{overflow:hidden;text-overflow:ellipsis;color:#88909c}
.compact-list .duplicate-hint{margin:0;padding:0 4px;min-height:18px;height:18px;font-size:10px;flex-shrink:0}
.compact-list .product-model,.compact-list .dealer-name,.compact-list .next-summary{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:inherit;font-weight:400}
.compact-list .next-summary:hover{color:var(--blue)}
.compact-list td small{margin-top:2px;font-size:11px}
.compact-list .badge{padding:2px 6px;font-size:11px}
.compact-list .amount{white-space:nowrap;font-size:13px;font-weight:400}
.compact-list tbody tr:hover td:first-child{background:#f6f9fe}
.advanced-filters{position:relative}
.advanced-filters summary{list-style:none;cursor:pointer}
.advanced-filters summary::-webkit-details-marker{display:none}
.advanced-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:12;width:250px;padding:16px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #1421361a}
.advanced-menu strong{font-size:13px;font-weight:500}
.advanced-menu>label{display:block;font-size:12px;color:var(--muted);margin-top:12px}
.advanced-menu .select-label{display:block;margin-top:5px}
.advanced-menu select{width:100%;max-width:none}
@media(max-width:1100px){.compact-heading-main{gap:10px}.source-caption{display:none}.opportunity-toolbar .search-box{min-width:180px}.opportunity-toolbar{gap:6px}.opportunity-toolbar .table-controls{gap:4px}}
@media(max-width:760px){.opportunity-toolbar{flex-wrap:wrap}.opportunity-toolbar .search-box{max-width:none;flex-basis:calc(100% - 130px)}.opportunity-toolbar .table-controls{margin-left:auto}.compact-heading h1{font-size:20px}.record-count{font-size:12px}.compact-heading-main{gap:6px}.compact-list{height:calc(100dvh - 96px);min-height:360px}.compact-list .opportunity-table td:first-child,.compact-list .opportunity-table th:first-child{position:static}.advanced-menu{left:0}main:has(>.compact-list){padding:12px}}

/* Opportunity workspace: business summary and state-aware work, source kept apart. */
main:has(>.crm-opportunity){padding:18px 22px;max-width:none}
.crm-opportunity{max-width:1540px;margin:auto}
.crm-breadcrumb{display:flex;gap:9px;align-items:center;font-size:12px;color:#8892a0;margin-bottom:12px}
.crm-breadcrumb a{color:#68778c}
.crm-version{margin-left:auto;font-variant-numeric:tabular-nums}
.crm-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.crm-title-row>div:first-child{min-width:0}
.crm-title{display:flex;align-items:center;gap:12px}
.crm-title h1{font-size:24px;line-height:1.4;overflow-wrap:anywhere}
.crm-title-row .actions{flex-shrink:0}
.crm-subtitle{font-size:13px;color:#798391;line-height:1.5;margin:5px 0 0}
.crm-summary{display:grid;grid-template-columns:1.3fr 1fr 1.1fr .8fr 1fr;margin:0;background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px 4px}
.crm-summary>div{padding:0 16px;border-right:1px solid var(--line);min-width:0}
.crm-summary>div:last-child{border:0}
.crm-summary dt{font-size:12px;color:#7b8594;margin-bottom:5px}
.crm-summary dd{margin:0;font-size:15px;font-weight:500;color:#2d3b50;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.crm-summary>div:first-child dd{font-size:19px}
.crm-provenance{display:flex;gap:16px;flex-wrap:wrap;margin:9px 0 2px;color:#8a929d;font-size:11px}
.crm-opportunity>.tabs{margin:0 0 16px;gap:26px}
.crm-opportunity>.tabs button{padding:12px 0;font-size:13px}
.crm-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:16px;align-items:start}
.crm-main,.crm-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.crm-card{background:white;border:1px solid var(--line);border-radius:9px;padding:16px 18px;min-width:0}
.crm-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-height:24px}
.crm-card h2{font-size:15px;font-weight:600;color:#344154}
.crm-card-heading .button{padding:2px 6px;min-height:26px;font-size:12px}
.crm-empty{font-size:13px;color:#818b98;line-height:1.7;margin:4px 0 12px}
.crm-footnote{font-size:11px;color:#8791a0;line-height:1.7;margin:10px 0 0}
.crm-card .preserve-lines{font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}
.crm-facts{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px 12px;margin:0;font-size:13px;line-height:1.6}
.crm-facts dt{color:#87909e}
.crm-facts dd{margin:0;color:#455367;overflow-wrap:anywhere}
.crm-facts-grid{grid-template-columns:82px minmax(0,1fr) 82px minmax(0,1fr);padding-top:12px;border-top:1px solid #eef0f3}
.crm-card table{font-size:13px;min-width:0;width:100%}
.crm-card th{padding:8px 10px;font-size:11px;white-space:nowrap}
.crm-card td{padding:10px;font-size:13px;overflow-wrap:anywhere}
.crm-card .table-scroll{max-height:none}
.crm-card .amount{white-space:nowrap;font-variant-numeric:tabular-nums}
.crm-source-note{margin-top:14px;border-top:1px solid #eef0f3;padding-top:12px}
.crm-source-note summary{font-size:12px;color:#526b98;cursor:pointer}
.crm-source-note .muted{font-size:11px;margin:10px 0}
.crm-source-note .preserve-lines{max-height:240px;overflow:auto;padding-right:8px}
.crm-source-note .button{font-size:12px;padding:3px 0;min-height:26px}
.crm-action-text{font-size:14px;color:#354761;line-height:1.75;margin:0 0 14px;white-space:pre-wrap}
.crm-timeline article{border-left:2px solid #e8edf4;padding:0 0 16px 12px;margin:0}
.crm-timeline article:last-child{padding-bottom:0}
.crm-event-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;margin-bottom:6px}
.crm-event-meta strong{font-size:12px;font-weight:500;color:#4a5b73}
.crm-event-meta time,.crm-timeline article>small{font-size:11px;color:#8a93a0}
.crm-timeline article>small{display:block}
.crm-timeline .preserve-lines{margin-bottom:4px}
.crm-stages{padding:13px 16px;background:white;border:1px solid var(--line);border-radius:9px}
.crm-stage-heading{display:flex;align-items:center;gap:12px;font-size:12px;color:#8190a1;margin-bottom:12px}
.crm-stage-heading strong{font-size:14px;color:#3b4b61;font-weight:500}
.crm-stage-heading .button{margin-left:auto;font-size:12px;min-height:24px;padding:0}
.crm-stages ol{display:grid;grid-template-columns:repeat(6,1fr);padding:0;margin:0;list-style:none;gap:6px}
.crm-stages li{font-size:12px;padding:8px 5px;background:#f5f7fa;color:#7c8899;text-align:center;border-radius:5px;white-space:nowrap}
.crm-stages li span{font-size:10px;margin-right:5px;opacity:.7}
.crm-stages li.current{background:#eaf0fc;color:#315dcb;font-weight:500}
.crm-opportunity button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1150px){.crm-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 0}.crm-summary>div:nth-child(3){border:0}.crm-columns{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr)}.crm-facts-grid{grid-template-columns:82px minmax(0,1fr)}.crm-title-row{align-items:flex-start}.crm-title-row .actions{flex-wrap:wrap;max-width:230px}.crm-stages ol{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.crm-columns{grid-template-columns:1fr}.crm-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.crm-title h1{font-size:21px}.crm-title-row{flex-direction:column;gap:12px}.crm-title-row .actions{max-width:none}.crm-provenance{gap:5px 12px}}
@media(max-width:640px){main:has(>.crm-opportunity){padding:14px 12px}.crm-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 0;gap:14px 0}.crm-summary>div{padding:0 12px}.crm-summary>div:nth-child(3){border-right:1px solid var(--line)}.crm-summary>div:nth-child(even){border:0}.crm-summary dd{font-size:14px}.crm-summary>div:first-child dd{font-size:17px}.crm-side{display:flex}.crm-title{flex-wrap:wrap;gap:6px}.crm-opportunity>.tabs{gap:18px;overflow:auto;white-space:nowrap}.crm-card{padding:14px}.crm-card .table-scroll{overflow:auto}.crm-card table{min-width:480px}.crm-stages li{font-size:11px}.crm-title-row .actions{gap:6px}.crm-title-row .button{font-size:12px;padding:6px 10px}.crm-summary dt{font-size:11px}}
.crm-project-facts{border-top:0;padding-top:0}
.crm-description{margin-top:14px;padding-top:12px;border-top:1px solid #eef0f3}
.crm-description h3{font-size:12px;font-weight:500;color:#778596;margin-bottom:6px}
.crm-description .preserve-lines{margin:0;font-size:13px}
.crm-unknown{color:#929ba8;font-weight:400}
.crm-customer-link{font-size:14px;font-weight:500;line-height:1.7}
.crm-related-link{display:block;margin-top:12px;font-size:12px}
.crm-subtitle a{color:#566f94}
.crm-source-note .crm-facts{margin-top:12px}
.name-generation-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#87909e}
.name-generation-controls .button{font-size:12px;min-height:26px;padding:2px 0;white-space:nowrap}
.update-dialog .form-field:has(.name-generation-controls){grid-column:1/-1}

/* List and preview share a workspace; the list stays mounted while selecting records. */
main:has(>.opportunity-workspace){padding:16px 20px;max-width:none;min-height:0}
.opportunity-workspace{height:calc(100dvh - 92px);min-height:400px;display:flex;flex-direction:column}
.opportunity-split{display:flex;flex:1;min-height:0;gap:14px;align-items:stretch}
.opportunity-split>.compact-list{flex:1;min-width:0;height:auto;min-height:0}
.opportunity-preview{width:440px;flex-shrink:0;min-height:0;display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.preview-navigation{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.preview-position{margin-left:auto;font-variant-numeric:tabular-nums;font-size:11px}
.preview-navigation .button{font-size:0;min-height:30px;width:30px;padding:5px}
.preview-navigation .button:disabled{opacity:.35;cursor:not-allowed}
.preview-heading{padding:14px 18px;border-bottom:1px solid var(--line)}
.preview-identity{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.preview-identity small{font-size:11px;color:#7c8796}
.preview-heading h2{font-size:19px;line-height:1.45;overflow-wrap:anywhere;margin:0 0 7px}
.preview-heading h2:focus-visible{outline:2px solid #91aceb;outline-offset:3px;border-radius:3px}
.preview-customer{font-size:12px;color:var(--muted)}
.preview-actions{display:flex;gap:8px;margin-top:12px}
.preview-actions .button{font-size:12px;min-height:32px;padding:6px 10px}
.preview-actions .button:disabled{opacity:.5;cursor:not-allowed}
.preview-content{overflow:auto;min-height:0;padding:0 18px 16px;overscroll-behavior:contain}
.preview-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;padding:16px 0;margin:0;border-bottom:1px solid var(--line)}
.preview-metrics dt,.preview-facts dt{color:var(--muted);font-size:11px;margin-bottom:4px}
.preview-metrics dd{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;margin:0;overflow-wrap:anywhere}
.preview-metrics>div:first-child dd{font-size:18px}
.preview-section{padding:15px 0;border-bottom:1px solid var(--line)}
.preview-section h3{font-size:13px;margin:0 0 8px}
.preview-section p{font-size:13px;margin:5px 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto}
.preview-section small,.preview-section>.text-link{font-size:11px}
.preview-facts{margin:0 0 8px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.preview-facts dd{margin:0;font-size:12px;overflow-wrap:anywhere}
.preview-relations .muted{font-size:11px}
.preview-relations p+span{display:block;margin-top:10px}
.preview-timeline article{border-left:2px solid #e4eaf5;padding-left:10px;margin:10px 0}
.preview-footnote{font-size:11px;color:#7c8796;line-height:1.7;margin:12px 0 0}
.has-preview .opportunity-toolbar{flex-wrap:wrap}
.has-preview .opportunity-toolbar .search-box{min-width:190px;flex:1;max-width:none}
.has-preview .opportunity-toolbar .table-controls{margin-left:auto}
.has-preview .opportunity-table th:nth-child(2),.has-preview .opportunity-table td:nth-child(2),
.has-preview .opportunity-table th:nth-child(3),.has-preview .opportunity-table td:nth-child(3),
.has-preview .opportunity-table th:nth-child(n+7),.has-preview .opportunity-table td:nth-child(n+7){display:none}
.has-preview .opportunity-table table{min-width:570px}
.has-preview .opportunity-table th:first-child{width:240px}
.has-preview .opportunity-table .row-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.has-preview .opportunity-table td{height:64px}
.has-preview .opportunity-table .preview-selected td{background:#edf3ff}
.has-preview .opportunity-table .preview-selected td:first-child{box-shadow:inset 3px 0 #315dcb}
.has-preview .compact-list .pagination{gap:7px}
.has-preview .compact-list .pagination>span:first-child{display:none}
@media(min-width:1700px){.opportunity-preview{width:500px}}
@media(max-width:1200px){.opportunity-preview{width:380px}.has-preview .opportunity-table th:first-child{width:210px}.has-preview .opportunity-table table{min-width:540px}}
@media(max-width:980px){.opportunity-split.has-preview{flex-direction:column}.opportunity-preview{width:100%;flex:1;min-height:300px;order:-1}.has-preview>.compact-list{flex:0 0 230px}.opportunity-workspace:has(.has-preview){height:auto;min-height:calc(100dvh - 92px)}.has-preview .preview-content{max-height:45dvh}.has-preview .opportunity-toolbar .table-controls{display:none}.has-preview .opportunity-table table{min-width:570px}}
@media(max-width:640px){main:has(>.opportunity-workspace){padding:12px}.opportunity-workspace{height:calc(100dvh - 110px)}.preview-heading h2{font-size:18px}.preview-heading{padding:12px 14px}.preview-content{padding:0 14px 12px}.has-preview .opportunity-toolbar .search-box{min-width:140px}.has-preview .compact-list .pagination{position:static}.opportunity-workspace .compact-list .table-scroll{min-height:0}}

.history-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.history-filter>span{font-size:12px;color:var(--muted)}
.history-filter select{font-size:12px}
.history-filter+.crm-footnote{margin:0 0 20px}
.historical-evidence{margin:8px 0 12px;font-size:11px;color:var(--muted)}
.historical-evidence summary{cursor:pointer;color:#526b98;display:list-item}
.historical-evidence[open]{padding:10px 12px;background:#f7f9fc;border-radius:6px}
.historical-evidence small{display:block;margin:6px 0;font-size:11px;overflow-wrap:anywhere}
.historical-evidence .preserve-lines{margin:8px 0 0;font-size:12px;color:#596777;max-height:220px;overflow:auto}
.crm-timeline .crm-event-meta .badge{font-size:10px;padding:1px 5px}

/* Editing workspace: section fields and review stay visible without a long modal. */
.update-dialog.editor-workspace{width:calc(100vw - 64px);max-width:1180px;height:min(800px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);padding:0;overflow:hidden;border-radius:12px}
.editor-workspace>form{height:100%;display:flex;flex-direction:column;min-height:0}
.editor-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px 12px;background:white;flex-shrink:0}
.editor-title-line{display:flex;align-items:center;gap:12px}
.editor-title-line h2{font-size:19px}
.editor-title-line small{font-size:12px;color:var(--muted)}
.editor-header .subtitle{font-size:12px;margin:6px 0 0;max-width:900px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.editor-header>div{min-width:0}
.editor-header .button{flex-shrink:0}
.editor-scope{display:flex;justify-content:space-between;gap:16px;padding:0 22px 12px;border-bottom:1px solid var(--line);font-size:11px;color:#788596}
.editor-body{display:grid;grid-template-columns:150px minmax(0,1fr) 330px;min-height:0;flex:1}
.editor-body.single-section{grid-template-columns:minmax(0,1fr) 330px}
.editor-nav{background:#f7f9fc;border-right:1px solid var(--line);padding:16px 10px;display:flex;flex-direction:column;gap:5px;overflow:auto}
.editor-nav button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:5px;padding:11px 10px;min-height:40px;border:0;border-radius:6px;background:transparent;font-size:13px;color:#607086}
.editor-nav button.active{background:#e9effc;color:#315dcb;font-weight:600}
.editor-nav-count{font-size:10px;line-height:18px;min-width:18px;border-radius:9px;background:#dce6fa;color:#315dcb;text-align:center}
.editor-canvas{padding:22px 24px;overflow:auto;min-height:0;overscroll-behavior:contain}
.editor-pane>h3{font-size:16px;margin:0 0 6px}
.editor-help{font-size:12px;line-height:1.6;color:#7c8796;margin:0 0 16px}
.editor-workspace fieldset{border:0;border-top:1px solid var(--line);border-radius:0;padding:13px 0 0;margin:20px 0 0;gap:2px 18px}
.editor-workspace legend{padding:0 8px 0 0;color:#526078;font-size:12px;font-weight:500}
.editor-workspace .form-field{font-size:12px;gap:6px;margin:8px 0;color:#536178;min-width:0}
.editor-workspace .form-field input,.editor-workspace .form-field select,.editor-workspace .form-field textarea{font-size:13px;color:#29374a;padding:8px 10px;min-height:36px;border-color:#dce2eb}
.editor-workspace .form-field textarea{min-height:88px;resize:vertical}
.editor-workspace .form-field:has(#update-name),.editor-workspace .field-wide{grid-column:1/-1}
.editor-workspace .name-generation-controls{font-size:10px;gap:8px}
.editor-workspace fieldset>.muted{font-size:11px;line-height:1.7;margin-top:6px}
.editor-review{overflow:auto;min-height:0;padding:22px 18px;background:#fafbfd;border-left:1px solid var(--line);overscroll-behavior:contain}
.editor-review h3{font-size:14px}
.editor-review .editor-help{font-size:10px;line-height:1.6;margin-top:5px;margin-bottom:12px}
.editor-review .form-field{margin-top:13px}
.editor-diff-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.editor-change-count{font-size:11px;color:#62728c}
.editor-review .update-diff{border:0;border-radius:0;padding:0;margin:10px 0;max-height:none;overflow:visible}
.editor-review .update-diff>.muted{font-size:12px;margin:8px 0}
.editor-change{padding:12px 0;border-bottom:1px solid var(--line)}
.editor-change:first-child{padding-top:0}
.editor-change strong{font-size:12px;font-weight:500;color:#42516a}
.editor-change>div{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;margin:6px 0 0;font-size:12px;line-height:1.65}
.editor-change span{font-size:10px;color:#8a94a3;padding-top:2px}
.editor-change p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}
.change-before p{color:#8a94a3}
.change-after p{color:#315dcb}
.editor-workspace .form-error{font-size:12px;line-height:1.6}
.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;background:white;border-top:1px solid var(--line);flex-shrink:0}
.editor-footer>span{font-size:11px;color:#7c8796}
.editor-footer .actions{display:flex;gap:8px;flex-shrink:0}
.editor-workspace button:disabled{opacity:.55}
.editor-workspace input:disabled,.editor-workspace textarea:disabled,.editor-workspace select:disabled{color:#8a929e;background:#f3f5f8}
@media(max-width:1050px){.update-dialog.editor-workspace{width:calc(100vw - 28px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px)}.editor-body{grid-template-columns:125px minmax(0,1fr) 285px}.editor-body.single-section{grid-template-columns:minmax(0,1fr) 285px}.editor-canvas{padding:18px}.editor-review{padding:18px 14px}.editor-nav{padding:12px 6px}.editor-nav button{padding:10px 8px;font-size:12px}}
@media(max-width:780px){.editor-body,.editor-body.single-section{display:block;overflow:auto}.editor-nav{position:sticky;top:0;z-index:3;flex-direction:row;overflow:auto;padding:7px 10px;border-right:0;border-bottom:1px solid var(--line);background:#f7f9fc}.editor-nav button{flex-shrink:0;min-height:34px}.editor-canvas,.editor-review{overflow:visible;min-height:0}.editor-review{border-left:0;border-top:1px solid var(--line)}.editor-header{padding:14px 16px 10px}.editor-scope{padding:0 16px 10px;flex-wrap:wrap;gap:4px}.editor-footer{padding:10px 14px}.editor-footer>span{max-width:140px;font-size:10px}.editor-workspace fieldset{display:grid;grid-template-columns:1fr 1fr}.editor-title-line{gap:8px}.editor-title-line h2{font-size:17px}}
@media(max-width:480px){.editor-workspace fieldset{grid-template-columns:1fr}.editor-title-line small{display:none}.editor-header .button{font-size:12px;padding:5px 8px}.editor-footer>span{max-width:100px}.editor-footer .button{font-size:12px;padding:7px 10px}}
@media(min-width:781px){.editor-workspace.editor-single{max-width:1000px;height:min(650px,calc(100dvh - 64px))}}

/* Current lifecycle is a compact control beside the opportunity name. */
.crm-state-select{font:inherit;font-size:13px;font-weight:500;flex-shrink:0;width:auto;max-width:205px;min-height:32px;padding:5px 28px 5px 10px;border:1px solid #dce2eb;border-radius:6px;background-color:#fff;color:#45516a;cursor:pointer}
.crm-state-select:hover:not(:disabled){border-color:#315acd;color:#315acd}
.crm-state-select:focus-visible{outline:2px solid #315acd;outline-offset:2px}
.crm-state-select:disabled{cursor:not-allowed;background-color:#f8f9fb}
.crm-title{flex-wrap:wrap}

.crm-forecast-select{font:inherit;font-size:13px;min-width:0;width:100%;max-width:230px;min-height:32px;padding:5px 23px 5px 8px;border:1px solid #dce2eb;border-radius:6px;background-color:white;color:#45516a}
.crm-forecast-select:disabled{background:#f8f9fb;color:#788296;cursor:not-allowed}
.crm-forecast-control{min-width:0}.crm-forecast-control small{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--muted)}
.preview-identity .crm-state-select{font-size:12px;min-height:29px;padding-top:3px;padding-bottom:3px}
.preview-metrics dd:has(.crm-forecast-control){overflow:visible;white-space:normal}

/* Keep lifecycle and forecast decisions together above the numeric summary. */
.crm-status-controls{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;max-width:100%}
.crm-status-controls .crm-state-select{width:130px;max-width:100%}
.crm-status-controls .crm-forecast-control{width:200px;max-width:100%}
.crm-title:has(.crm-status-controls){align-items:flex-start}
.preview-identity{align-items:flex-start;flex-wrap:wrap}
.preview-identity>small{padding-top:7px}
.preview-identity .crm-forecast-select{font-size:12px;min-height:29px;padding-top:3px;padding-bottom:3px}

.quarter-picker{display:grid;grid-template-columns:minmax(90px,1fr) minmax(140px,1.6fr);gap:8px}
.forecast-period-field{grid-column:1/-1}.forecast-period-field>small{font-size:11px;margin-top:5px}
.forecast-period-link{display:block;border:0;background:none;padding:3px 0 0;margin:0;font:inherit;font-size:11px;font-weight:400;color:#5873a0;text-align:left;cursor:pointer}
.forecast-period-link:hover:not(:disabled){text-decoration:underline;color:#315acd}
.forecast-period-link:disabled{color:#8a929e;cursor:default}

/* Compact non-modal period selector, positioned against the triggering control. */
.period-popover{position:fixed;z-index:150;width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:16px;background:#fff;border:1px solid #dce3ed;border-radius:10px;box-shadow:0 8px 28px #182b4b24;color:#2d3b50}
.period-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.period-popover-heading h2{font-size:15px;line-height:1.5;margin:0;font-weight:600}
.period-popover-heading .icon-button{padding:5px;min-width:28px;min-height:28px;border:0;background:transparent;font-size:0}
.period-popover-heading .icon{width:16px;height:16px}
.period-context{font-size:12px;color:#758094;margin:3px 0 16px}
.period-year-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}
.period-year-row select{font:inherit;min-height:34px;width:140px;border:1px solid #ced7e5;border-radius:6px;padding:5px 9px;background:white;color:#2d3b50}
.period-quarters{padding:0;margin:16px 0 0;border:0;min-width:0}
.period-quarters legend{font-size:13px;margin-bottom:8px;padding:0}
.period-quarter-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.period-quarter-choice{position:relative;cursor:pointer}
.period-quarter-choice input{position:absolute;opacity:0;width:1px;height:1px}
.period-quarter-choice span{display:block;text-align:center;padding:8px 0;border:1px solid #dce3ed;background:#f8f9fb;border-radius:6px;font-size:13px;line-height:20px}
.period-quarter-choice input:checked+span{background:#edf2ff;border-color:#315acd;color:#254cc0;font-weight:600}
.period-quarter-choice input:focus-visible+span{outline:2px solid #315acd;outline-offset:2px}
.period-quarter-choice:hover span{border-color:#8299db}
.period-legacy{font-size:11px;color:#758094;margin:12px 0 0}
.period-popover-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f5}
.period-popover-footer .button{font-size:13px;min-height:32px;padding:6px 16px}
.period-popover .form-error{font-size:12px;margin:12px 0 0}

.period-quarter-choice:has(input:disabled){cursor:not-allowed}
.period-quarter-choice input:disabled+span{color:#a0a8b5;border-color:#e6eaf0;background:#f5f6f8;font-weight:400}

.signing-time-control{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0}
.signing-date-link{border:0;background:none;padding:0;min-height:0;color:inherit;font:inherit;text-align:left;line-height:1.5;cursor:pointer}
.signing-date-link:hover{color:#315acd;text-decoration:underline}
.signing-indicator{font-size:11px;font-weight:400;line-height:1.5;white-space:nowrap;border-radius:4px;padding:1px 5px;background:#f0f2f6;color:#718096}
.signing-indicator.red{background:#fff0ee;color:#ad4034}.signing-indicator.amber{background:#fff6df;color:#966400}.signing-indicator.green{background:#edf7f2;color:#297255}
.signing-time-control.compact{gap:2px}.signing-time-control.compact .signing-indicator{font-size:10px}
.signing-dialog{width:760px;max-width:calc(100vw - 28px);padding:22px;max-height:88dvh}
.signing-dialog h2{font-size:19px;margin:0}.signing-record-name{font-size:12px;color:#7b8594;margin:5px 0 0}
.signing-current{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px;font-size:13px}
.signing-current>small,.signing-scope{color:#7b8594;font-size:11px;line-height:1.6}
.signing-dialog fieldset{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;border:1px solid #e2e7ef;border-radius:8px;padding:8px 14px;margin:16px 0}
.signing-dialog legend{font-size:13px;font-weight:600;padding:0 6px}.signing-dialog .form-field{margin:8px 0;font-size:12px}.signing-dialog .field-wide{grid-column:1/-1}.signing-dialog textarea{min-height:65px}
.signing-help{grid-column:1/-1;color:#7b8594;font-size:11px;line-height:1.6;margin:5px 0}
.signing-diff{background:#f7f9fc;padding:12px;border-radius:6px;font-size:12px;line-height:1.6}.signing-diff p{margin:5px 0;overflow-wrap:anywhere}
.signing-history{font-size:12px;margin-top:16px}.signing-history summary{cursor:pointer;color:#5873a0}.signing-history-item{border-bottom:1px solid #e9edf3;padding:12px 0;line-height:1.6}.signing-history-item>small{display:block;color:#7b8594}.signing-history-item p{margin:5px 0;overflow-wrap:anywhere}.signing-history-item .signing-overdue-note{color:#ad4034}
.signing-dialog .dialog-actions{position:sticky;bottom:-22px;background:white;border-top:1px solid #e9edf3;padding:12px 0;margin-top:16px}
@media(max-width:600px){.signing-dialog fieldset{grid-template-columns:1fr}.signing-dialog{padding:16px}.signing-dialog .dialog-actions{bottom:-16px}}

.signing-current .badge.red{background:#fff0ee;color:#ad4034}.signing-current .badge.green{background:#edf7f2;color:#297255}

.time-work-page .page-heading{margin-bottom:8px}.work-source-note{font-size:11px;color:#7c8796;margin:0 0 16px;line-height:1.7}
.work-queue-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.work-queue-card{display:grid;grid-template-columns:1fr auto;gap:5px;text-align:left;border:1px solid #e0e5ed;border-radius:8px;background:#fff;padding:14px 16px;color:#354256;cursor:pointer}
.work-queue-card span{font-size:13px;font-weight:500}.work-queue-card strong{font-size:23px;line-height:1.1;font-weight:600}.work-queue-card small{grid-column:1/-1;font-size:11px;color:#7c8796}.work-queue-card.active{border-color:#4670d6;background:#f1f5ff;box-shadow:inset 0 2px #4670d6}.work-queue-card:focus-visible{outline:2px solid #315acd;outline-offset:2px}
.work-queue-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px}.work-queue-toolbar .search-box{flex:1;max-width:440px}.work-queue-toolbar select{max-width:210px;font-size:12px}.work-queue-toolbar>.button{margin-left:auto}
.work-queue-split{height:520px;min-height:340px}.work-queue-list{display:flex;flex-direction:column;flex:1;min-width:0;background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.work-queue-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.work-queue-title h2{font-size:14px;margin:0}.work-queue-title small{font-size:11px;color:#8590a0}.work-queue-list>.table-scroll{flex:1;min-height:0;overflow:auto}.work-queue-list>.empty{flex:1}.work-queue-list .pagination{padding:10px 14px;margin-top:auto;flex-shrink:0}
.work-queue-table table{min-width:650px;table-layout:fixed}.work-queue-table th:first-child{width:32%}.work-queue-table th:nth-child(2){width:28%}.work-queue-table th:nth-child(3){width:28%}.work-queue-table td{padding:12px 14px;font-size:12px;overflow-wrap:anywhere}.work-queue-table td small{display:block;font-size:11px;color:#8590a0;margin-top:5px}.work-queue-table td>a{display:block}.work-queue-table .row-title{font-size:13px;line-height:1.5}.work-queue-table .preview-selected td{background:#edf3ff}.work-queue-table .preview-selected td:first-child{box-shadow:inset 3px 0 #315dcb}.work-queue-table .badge.red{color:#ad4034;background:#fff0ee}
.work-queue-split.has-preview .work-queue-title small{display:none}.work-queue-split.has-preview .work-queue-table th:last-child,.work-queue-split.has-preview .work-queue-table td:last-child{display:none}.work-queue-split.has-preview .work-queue-table table{min-width:540px}.work-secondary{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.work-help{font-size:11px;margin:12px 0 20px}
@media(max-width:980px){.work-queue-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.work-queue-toolbar{flex-wrap:wrap}.work-queue-split.has-preview{height:auto}.work-queue-split.has-preview>.work-queue-list{flex:auto;height:340px}.work-queue-split.has-preview>.opportunity-preview{flex:auto;max-height:560px}.work-queue-toolbar .search-box{max-width:none}.work-queue-title small{display:none}}
@media(max-width:640px){.work-queue-card{padding:12px}.work-queue-toolbar .search-box{flex-basis:100%}.work-queue-toolbar select{max-width:155px}.work-queue-split{height:470px}.work-queue-list .pagination{position:static}}
