/* Presentation layer only. Remove this stylesheet and renewal.js to restore the previous UI. */
:root{--navy:#12283e;--navy2:#203e56;--text:#203349;--muted:#64768a;--line:#dce4ed;--bg:#f3f6fa;--gold:#177f83;--gold2:#7bddd2;--ui-scale:1;--shadow:0 3px 14px #192f4910}
body{background:#f3f6fa!important;font-family:Pretendard,"Malgun Gothic",sans-serif;font-size:calc(14px * var(--ui-scale));line-height:1.5}
button,input,select,textarea{font-family:inherit;line-height:1.45}
button{touch-action:manipulation}
:is(button,a,input,select,textarea):focus-visible{outline:3px solid #36a7b3;outline-offset:3px}
.side{background:#12283e!important;padding:8px 22px;gap:16px;border-bottom:1px solid #294258}
.side .side-logo-wrap{width:230px!important;height:54px!important;padding:6px 10px!important;background:#fff;border-radius:9px;box-sizing:border-box;flex-shrink:0}
.side .side-logo{display:block;width:100%!important;max-width:100%!important;height:100%!important;object-fit:contain;object-position:center}
.nav-group-tab{font-size:14px;padding:13px 12px;border-radius:7px 7px 0 0}
.nav-group-tab.selected{border-bottom-color:#7bddd2;background:#ffffff12}
.nav-group-panels{background:#17364f;border-radius:12px;padding:8px}
.top{min-height:62px;height:auto;padding:10px 24px;gap:12px;background:#fff;border-bottom:1px solid #dce4ed}
.top .search{width:min(480px,100%);font-size:calc(14px * var(--ui-scale));color:#263d51;background:#f3f6fa;border-radius:10px;min-height:42px}
.top-actions{gap:8px;flex-wrap:wrap}
.primary{background:#167d82!important;box-shadow:0 2px 5px #167d821c;border-radius:9px}
.primary:hover{background:#12686e!important}
.outline{border-color:#d1dce6;background:#fff;color:#304b65;box-shadow:none}
.content{padding:22px 24px 36px}
.heading{gap:12px;margin-bottom:16px;align-items:center}
.heading h1,#companyListView .company-list-heading h1{font-size:calc(24px * var(--ui-scale));letter-spacing:-.04em;line-height:1.35}
.heading p{font-size:calc(13px * var(--ui-scale));line-height:1.6}
.card{border-color:#dce4ed!important;border-radius:13px;box-shadow:var(--shadow)}
.section,.form-section{padding:18px}
.form-head{margin-bottom:12px}
.form-head h2,.section-head h2{font-size:calc(16px * var(--ui-scale));color:#203a53}
.form-head p,.field label{font-size:calc(13px * var(--ui-scale));color:#5b7085}
.form-grid{gap:12px}
.field input,.field select,.field textarea{border-color:#cdd9e4;background:#fcfdff;font-size:calc(14px * var(--ui-scale));padding:9px 10px}
.profile-section{border-top:2px solid #167d82!important}
.section-divider{margin:16px 0}
.kpis{gap:10px}.kpi{padding:15px 16px;border-top:3px solid #167d82}.kpi:nth-child(2){border-top-color:#5973b8}.kpi:nth-child(3){border-top-color:#9771b7}.kpi:nth-child(4){border-top-color:#c49145}
.k-label{font-size:calc(13px * var(--ui-scale))}.k-value{font-size:calc(27px * var(--ui-scale));margin:5px 0}.delta{font-size:calc(12px * var(--ui-scale))}
#companyListView .company-list-heading{margin-bottom:14px}
#companyListView .company-list-eyebrow{color:#167d82;letter-spacing:1px}
#companyListView .company-list-toolbar{padding:14px 16px;gap:12px;background:#fff}
#companyListView .company-list-filters label{font-size:calc(12px * var(--ui-scale))}
#companyListView .company-list-filters :is(select,input){font-size:calc(14px * var(--ui-scale));padding:8px 10px;min-height:42px}
#companyListView .contract-counts{gap:8px;padding:0;background:none;border:0;box-shadow:none}
#companyListView .contract-counts button{padding:10px 12px;min-height:68px;border:1px solid #dce4ed;border-radius:10px;background:#fff;box-shadow:0 2px 6px #19395506}
#companyListView .contract-counts button strong{font-size:calc(23px * var(--ui-scale));color:#203c54}
#companyListView .contract-counts button.active,#companyListView .contract-counts button[aria-pressed="true"]{border-color:#167d82;background:#e9f6f5;box-shadow:inset 0 0 0 1px #167d82}
#companyListView .company-name-link{padding:0;border:0;background:none;box-shadow:none;font-size:calc(15px * var(--ui-scale));color:#173e5b;overflow-wrap:anywhere;white-space:normal}
#companyListView .company-contract-choice{width:100%;min-width:0;font-size:calc(13px * var(--ui-scale));min-height:40px;padding:7px 8px}
@media(min-width:761px){#companyListView .company-customer-meta .company-inline-contract{grid-template-columns:minmax(148px,1fr) auto}#companyListView .company-customer-meta .company-contract-choice{width:100%;min-height:40px;font-size:calc(13px * var(--ui-scale))}.company-list-filters .company-list-search{grid-column:auto}#companyListView .company-list-filters{grid-template-columns:140px 140px 160px minmax(220px,1fr)}#companyListView .company-list-search:last-child{grid-column:3/-1}}
#companyListView .company-region-chip{font-size:calc(13px * var(--ui-scale));padding:4px 7px;white-space:normal}
.renewal-display{display:flex;align-items:center;gap:3px;padding:3px;background:#f1f5f9;border:1px solid #dce4ed;border-radius:9px}
.renewal-display button{border:0;background:transparent;color:#526b80;border-radius:6px;min-height:36px;padding:5px 9px;font-size:13px;cursor:pointer}
.renewal-display button[aria-pressed="true"]{background:white;color:#126e74;box-shadow:0 1px 4px #20394f15;font-weight:700}
.renewal-bottom{display:none}
.renewal-menu{width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid #dce4ed;border-radius:18px;padding:18px;color:#203349;box-shadow:0 22px 70px #12283e40;background:#f8fafc}
.renewal-menu::backdrop{background:#12283e88}
.renewal-menu-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-18px;background:#f8fafc;padding:8px 0;z-index:1}
.renewal-menu-head h2{margin:0;font-size:calc(21px * var(--ui-scale))}
.renewal-menu h3{font-size:calc(13px * var(--ui-scale));color:#687c90;margin:16px 0 8px}
.renewal-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.renewal-menu-grid button{min-width:0;min-height:48px;padding:10px;border:1px solid #dce4ed;border-radius:10px;background:#fff;text-align:left;color:#234057;font-size:calc(14px * var(--ui-scale));overflow-wrap:anywhere;cursor:pointer}
.field-test-ribbon{position:static!important;margin:0;padding:5px 12px;border:0;border-radius:0;box-shadow:none;background:#edf2f7;color:#617489;font-size:11px;text-align:right;max-width:none!important;line-height:1.4}
.field-test-ribbon b{color:#617489}
@media(max-width:1050px){.side{padding:6px 14px}.side .side-logo-wrap{width:210px!important}.nav-group-tab{font-size:13px;padding:12px 10px}}
@media(max-width:760px){
 .side{padding:5px 10px;position:relative;transform:none}.nav-group-tabs{gap:2px;scrollbar-width:none}.nav-group-tab{font-size:calc(13px * var(--ui-scale));padding:10px 11px}.nav-group-panels{left:0!important;width:min(340px,calc(100vw - 20px));max-height:65dvh;overflow:auto}
 .top{padding:9px 12px;gap:7px;flex-wrap:wrap;position:relative;min-height:0}.top .search{order:0;flex:1 1 180px;width:auto;min-width:0;font-size:calc(15px * var(--ui-scale));min-height:44px}.top-actions{margin-left:0;gap:6px;flex:1 1 auto;justify-content:space-between}.top-actions .primary{font-size:calc(14px * var(--ui-scale));padding:9px 12px;min-height:44px}.renewal-display button{min-width:40px;min-height:40px}
 .content{padding:16px 12px calc(88px + env(safe-area-inset-bottom))}.heading h1,#companyListView .company-list-heading h1{font-size:calc(22px * var(--ui-scale))}.heading p,#companyListView .company-list-heading p{font-size:calc(13px * var(--ui-scale));margin-top:5px}.heading{margin-bottom:12px;gap:8px}
 :is(.content,.card,.heading,.section,.section-head,.form-head,.field,.moduleView){min-width:0}.heading>div,.section-head>div,.form-head>div{min-width:0;max-width:100%}h1,h2,h3,p{overflow-wrap:anywhere}
 .section,.form-section{padding:14px}.form-head{gap:8px}.form-head h2{font-size:calc(16px * var(--ui-scale))}.form-grid,.form-grid.two{gap:11px}.field label{font-size:calc(13px * var(--ui-scale))}
 input,select,textarea,.field input,.field select,.field textarea{font-size:calc(16px * var(--ui-scale))!important;max-width:100%;min-width:0;line-height:1.5}.field input,.field select{padding:9px 10px}.section-actions{gap:8px;margin-top:13px}.section-actions button{font-size:calc(14px * var(--ui-scale));padding:9px 10px}
 .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.kpi{padding:12px}.k-value{font-size:calc(25px * var(--ui-scale))}.financial-kpis,.mini-kpis{gap:8px}.mini{padding:10px}.mini small{font-size:calc(12px * var(--ui-scale))}
 #dashboardView .dashboard-focus{gap:12px}#dashboardView .dashboard-focus>section{height:auto;padding:14px}#dashboardView .dashboard-notice h3{font-size:calc(14px * var(--ui-scale))}#dashboardView .dashboard-notice p{font-size:calc(12px * var(--ui-scale))}
 #companyListView .company-list-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#companyListView .company-list-actions button{white-space:normal;min-height:44px;font-size:calc(13px * var(--ui-scale));padding:8px}
 #companyListView #contractDashboard{padding:0;border:0!important;box-shadow:none;background:none;margin-bottom:12px}#companyListView #contractDashboard h2{font-size:calc(13px * var(--ui-scale));margin:0 0 7px;color:#536d82}
 #companyListView .contract-counts{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(116px,max-content);gap:7px;margin:0;padding:1px 1px 5px;overflow-x:auto;scroll-snap-type:x proximity;background:none;border:0}#companyListView .contract-counts button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:9px 12px;min-height:64px;scroll-snap-align:start}#companyListView .contract-counts button span{font-size:calc(12px * var(--ui-scale));white-space:nowrap}#companyListView .contract-counts button strong{font-size:calc(21px * var(--ui-scale));line-height:1.2}
 #companyListView .company-list-toolbar{padding:12px;margin-bottom:10px;gap:10px;border-radius:12px}#companyListView .company-list-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#companyListView .company-list-search{grid-column:1/-1}#companyListView .company-list-filters :is(select,input){min-height:44px;font-size:calc(15px * var(--ui-scale))!important}
 #companyListView .company-list-scroll{overflow:visible}#companyListView .company-list-scroll table{min-width:0;width:100%;table-layout:auto;border-spacing:0 9px}#companyListView .company-list-scroll tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:13px;border:1px solid #dce4ed;border-left:3px solid #167d82;background:#fff;border-radius:12px;box-shadow:0 3px 10px #20354b08}
 #companyListView .company-list-scroll td{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:auto;min-width:0;padding:5px 0;font-size:calc(14px * var(--ui-scale));text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.5}#companyListView .company-list-scroll td::before{font-size:calc(11px * var(--ui-scale));color:#738498;white-space:normal;margin-bottom:2px}
 #companyListView .company-list-scroll td:first-child{display:block;grid-column:1/-1;padding:0 0 9px;margin:0 0 3px}#companyListView .company-name-link{font-size:calc(17px * var(--ui-scale));line-height:1.5;max-width:100%}#companyListView .company-customer-meta{margin-top:7px}#companyListView .company-customer-meta .company-inline-contract{grid-template-columns:minmax(150px,1fr) auto;gap:6px}#companyListView .company-customer-meta .company-contract-choice{width:100%;max-width:240px;min-height:44px;font-size:calc(14px * var(--ui-scale))!important}#companyListView .company-contract-edit{min-height:44px;font-size:calc(13px * var(--ui-scale))!important;padding:7px!important}
 #companyListView .company-list-scroll td[data-label="지역"]{display:flex;grid-column:1/-1}#companyListView .company-list-scroll td[data-label="지역"]::before{float:none}#companyListView .company-list-scroll td[data-label="지역"] small{display:block;-webkit-line-clamp:unset;overflow:visible;font-size:calc(13px * var(--ui-scale));line-height:1.5}#companyListView .company-list-scroll td .company-region-chip{margin-left:0}#companyListView .company-list-scroll td[data-label="관리"]{justify-content:flex-end;align-items:flex-end}#companyListView .company-list-scroll td[data-label="관리"]::before{display:none}#companyListView .company-list-scroll td .outline{min-height:44px;font-size:calc(14px * var(--ui-scale));padding:8px 16px}
 .company-summary>.company-menu{gap:6px;padding:9px 0}.company-summary>.company-menu button{font-size:calc(14px * var(--ui-scale));padding:8px 10px}.company-summary{padding:14px}.company-summary .company-name{overflow-wrap:anywhere}
 .renewal-bottom{position:fixed;z-index:35;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #dce4ed;padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -3px 16px #23385009}.renewal-bottom button{border:0;background:transparent;color:#667b8f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border-radius:9px;font-size:calc(11px * var(--ui-scale));padding:5px 2px;cursor:pointer}.renewal-bottom svg{width:21px;height:21px}.renewal-bottom button[aria-current="page"]{color:#126e74;background:#eaf6f4;font-weight:800}
 .toast{bottom:calc(80px + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;max-width:none}.modal-card{padding:16px!important;border-radius:14px}.section-head{gap:8px}.section-head button{white-space:normal}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.renewal-bottom{backdrop-filter:none}}
@media print{.renewal-bottom,.renewal-display{display:none!important}}
/* Tactile color system: shape, text and pressed state remain visible without color. */
.primary{background:linear-gradient(145deg,#229c9d,#15777f)!important;border:1px solid #15777f;border-bottom:3px solid #0b565e;box-shadow:inset 0 1px 0 #ffffff40,0 3px 0 #0b565e14,0 5px 10px #15777f21}
.outline{background:linear-gradient(180deg,#fff,#eef3f9);border:1px solid #d0dce7;border-bottom:3px solid #b9cadb;box-shadow:inset 0 1px 0 white,0 3px 6px #243e5710}
.primary,.outline,.nav-group-tab,.renewal-menu-grid button,.renewal-bottom button,#companyListView .contract-counts button{transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.nav-group-tab{border:1px solid #ffffff14;border-bottom:3px solid #06172455;border-radius:9px;margin:2px;background:linear-gradient(160deg,#ffffff14,#ffffff04);box-shadow:inset 0 1px 0 #ffffff15,0 2px 4px #00000015}
.nav-group-tab:nth-child(7n+1){--menu-accent:#83b5ff}.nav-group-tab:nth-child(7n+2){--menu-accent:#73dfc5}.nav-group-tab:nth-child(7n+3){--menu-accent:#c4a2f4}.nav-group-tab:nth-child(7n+4){--menu-accent:#f2cf81}.nav-group-tab:nth-child(7n+5){--menu-accent:#ffa8b3}.nav-group-tab:nth-child(7n+6){--menu-accent:#99cce6}.nav-group-tab:nth-child(7n+7){--menu-accent:#c6daa0}
.nav-group-tab{color:var(--menu-accent,#d4e7d8)}.nav-group-tab.selected{border-bottom-color:var(--menu-accent,#73dfc5);background:linear-gradient(155deg,#ffffff27,#ffffff09);box-shadow:inset 0 1px 0 #ffffff30,0 3px 7px #00000025;color:white}
.kpi:nth-child(4n+1){background:linear-gradient(135deg,#e9f8f3,#fff)}.kpi:nth-child(4n+2){background:linear-gradient(135deg,#eaf0ff,#fff)}.kpi:nth-child(4n+3){background:linear-gradient(135deg,#f1ebfc,#fff)}.kpi:nth-child(4n+4){background:linear-gradient(135deg,#fff4e2,#fff)}
#companyListView .contract-counts button{--tile:#477abb;--tile-soft:#edf3ff;--tile-edge:#c4d3e9;background:linear-gradient(145deg,#fff,var(--tile-soft));border-color:var(--tile-edge);border-bottom:3px solid var(--tile-edge);box-shadow:inset 0 1px 0 #fff,0 3px 6px #243e570c}
#companyListView .contract-counts button:nth-child(7n+2){--tile:#1c806b;--tile-soft:#e8f7f0;--tile-edge:#b7dacb}#companyListView .contract-counts button:nth-child(7n+3){--tile:#7560aa;--tile-soft:#f2edfc;--tile-edge:#d5cae9}#companyListView .contract-counts button:nth-child(7n+4){--tile:#92621d;--tile-soft:#fff5df;--tile-edge:#e8d5ac}#companyListView .contract-counts button:nth-child(7n+5){--tile:#aa5363;--tile-soft:#fff0f1;--tile-edge:#e8c5ce}#companyListView .contract-counts button:nth-child(7n+6){--tile:#536d84;--tile-soft:#eef3f8;--tile-edge:#c7d6e3}#companyListView .contract-counts button:nth-child(7n+7){--tile:#238090;--tile-soft:#e7f7fa;--tile-edge:#b9dce3}
#companyListView .contract-counts button strong{color:var(--tile)}#companyListView .contract-counts button[aria-pressed="true"]{background:linear-gradient(145deg,#fff,var(--tile-soft));border-color:var(--tile);box-shadow:inset 0 0 0 1px var(--tile),0 3px 8px #243e5715}
.renewal-menu section:nth-of-type(7n+1){--menu-color:#4173b8;--menu-soft:#eef4ff}.renewal-menu section:nth-of-type(7n+2){--menu-color:#187d6b;--menu-soft:#ecf8f2}.renewal-menu section:nth-of-type(7n+3){--menu-color:#7955a8;--menu-soft:#f4effc}.renewal-menu section:nth-of-type(7n+4){--menu-color:#95681f;--menu-soft:#fff7e8}.renewal-menu section:nth-of-type(7n+5){--menu-color:#a7546b;--menu-soft:#fff1f5}.renewal-menu section:nth-of-type(7n+6){--menu-color:#426e8a;--menu-soft:#edf5fb}.renewal-menu section:nth-of-type(7n+7){--menu-color:#588044;--menu-soft:#f1f7ec}
.renewal-menu-grid button{background:linear-gradient(150deg,#fff,var(--menu-soft,#eef4ff));color:var(--menu-color,#234057);border-left:3px solid var(--menu-color,#8bb8b7);border-bottom:3px solid #cad7e4;box-shadow:inset 0 1px 0 #fff,0 3px 7px #203c5210}
.renewal-display button[aria-pressed="true"]{background:linear-gradient(#fff,#eaf6f5);border-bottom:2px solid #a4d3ce;box-shadow:0 2px 4px #20394f15}
.renewal-bottom button:nth-child(1){--dock-color:#4173b8;--dock-soft:#edf3ff}.renewal-bottom button:nth-child(2){--dock-color:#187d6b;--dock-soft:#eaf7f1}.renewal-bottom button:nth-child(3){--dock-color:#7955a8;--dock-soft:#f2edfc}.renewal-bottom button:nth-child(4){--dock-color:#95681f;--dock-soft:#fff6e5}.renewal-bottom button:nth-child(5){--dock-color:#536d84;--dock-soft:#eef3f8}
.renewal-bottom button{color:var(--dock-color);background:linear-gradient(#fff,var(--dock-soft));border:1px solid #e3eaf1;border-bottom:2px solid #cdd9e4;box-shadow:0 2px 4px #203c5208}.renewal-bottom button[aria-current="page"]{color:var(--dock-color);background:var(--dock-soft);border-color:var(--dock-color);box-shadow:inset 0 1px 0 #fff,0 2px 5px #203c5214}
@media(hover:hover){:is(.primary,.outline,.renewal-menu-grid button):not(:disabled):hover,#companyListView .contract-counts button:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffff50,0 6px 12px #243e5720}}
:is(.primary,.outline,.renewal-menu-grid button,.renewal-bottom button,.nav-group-tab):not(:disabled):active,#companyListView .contract-counts button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #12283e18;border-bottom-width:1px}
button:disabled{opacity:.6;cursor:default}
/* Unified screen system. Colorful navigation remains above; content is neutral. */
:root{--text:#223247;--muted:#5c6d80;--line:#dfe6ee;--bg:#f5f7fb;--gold:#608e46;--gold2:#b3e28c;--green:#34734d;--screen-ink:#223247;--screen-secondary:#5c6d80;--screen-action:#b9e598;--screen-action-end:#9ed77b;--screen-action-ink:#23402b;--screen-radius:14px}
body{background:var(--bg)!important;color:var(--screen-ink);letter-spacing:-.015em}
.content{max-width:1480px;padding:24px 28px 40px}
.heading h1,#companyListView .company-list-heading h1{color:var(--screen-ink);font-weight:800;font-size:calc(25px * var(--ui-scale));letter-spacing:-.045em}
.heading p,#companyListView .company-list-heading p,#moduleDesc{color:var(--screen-secondary);font-size:calc(14px * var(--ui-scale));line-height:1.65}
.top{background:#fff;box-shadow:0 2px 8px #20324704}.top .search{background:#f5f7fb;color:var(--screen-ink);border-color:var(--line)}
.primary{background:linear-gradient(150deg,var(--screen-action),var(--screen-action-end))!important;color:var(--screen-action-ink)!important;border:1px solid #98c87d;border-bottom:3px solid #7fa968;box-shadow:inset 0 1px 0 #ffffff80,0 3px 7px #345d2515}
.primary:hover{background:linear-gradient(150deg,#c7edab,#abe18a)!important}
.outline{background:linear-gradient(#fff,#f4f7fa);color:#34495f;border-color:#d5dfe9;border-bottom-color:#bdcddd;box-shadow:inset 0 1px 0 #fff,0 2px 5px #20324709}
.card,.co-panel,.co-overview,.co-source{background:#fff!important;border-color:var(--line)!important;border-radius:var(--screen-radius);box-shadow:0 4px 16px #20324706;color:var(--screen-ink)}
.card :is(h2,h3),.form-head h2,.section-head h2,.co-panel h3{color:var(--screen-ink);letter-spacing:-.025em}
.section-head{margin-bottom:14px}.section-head h2{font-size:calc(17px * var(--ui-scale))}.form-head p{color:var(--screen-secondary)}
.field label,.co-facts dt{color:var(--screen-secondary);font-weight:600}.field :is(input,select,textarea){background:#fbfcfe;color:var(--screen-ink);border-color:#d5dfe9;border-radius:9px}.field :is(input,select,textarea):focus{border-color:#81ad68;box-shadow:0 0 0 3px #add48d30}
.profile-section{border-top:1px solid var(--line)!important}.section-divider{border-color:#e8edf3}
.form-section .section-actions{padding-top:14px;border-top:1px solid #edf1f5}
.kpi{background:#fff!important;border-top-width:3px}.k-label{color:var(--screen-secondary)}.k-value{color:var(--screen-ink)}.delta{color:#34734d}
.kpi:before{display:none}.mini{background:#f7f9fc;border-color:var(--line);color:var(--screen-ink)}.mini small{color:var(--screen-secondary)}
.master-console .role-banner{background:linear-gradient(120deg,#fff,#f2f8ec)!important;border:1px solid #d9e8cc;border-left:4px solid #96c376;border-radius:var(--screen-radius);padding:20px;color:var(--screen-ink)!important;box-shadow:0 4px 16px #20324706}
.master-console .role-banner h2{font-size:calc(19px * var(--ui-scale));margin:0 0 8px;color:var(--screen-ink)!important}.master-console .role-banner p{font-size:calc(14px * var(--ui-scale));margin:8px 0;line-height:1.7;color:var(--screen-secondary)!important}.master-console .role-banner small{font-size:calc(13px * var(--ui-scale));color:var(--screen-secondary)!important}.master-console .role-banner a{color:#365f36!important;font-size:calc(14px * var(--ui-scale))}
.master-console .metric-list{gap:12px}.master-console .metric{padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--screen-radius);box-shadow:0 4px 16px #20324706}.master-console .metric small{display:block;font-size:calc(13px * var(--ui-scale));color:var(--screen-secondary)}.master-console .metric :is(b,strong){display:block;margin-top:8px;line-height:1.25;color:var(--screen-ink);font-size:calc(28px * var(--ui-scale))}
.master-console .role-scope>div{background:#fff;border-color:var(--line);padding:16px;border-radius:var(--screen-radius)}.master-console .role-scope span{color:var(--screen-secondary);font-size:calc(13px * var(--ui-scale));line-height:1.65}
#companyListView .company-name-link{color:#263e56}#companyListView .company-list-scroll td{color:#34495f}#companyListView .company-list-scroll td small{color:var(--screen-secondary)}#companyListView .company-list-scroll tbody tr{border-left-color:#a4c88b}
#companyListView .company-contract-choice,#companyListView .company-customer-meta .company-contract-choice{background:#f5f9ee;color:#3f5738;border-color:#d1dfc2}
#companyListView .company-region-chip{background:#f0f5fb;color:#3c5c7b;border:1px solid #dbe5f0;box-shadow:none}
#companyListView .contract-counts button span{color:#52657a}#companyListView .contract-counts button strong{color:#263e56}#companyListView .contract-counts button[aria-pressed="true"]{outline:2px solid #87ae6b;outline-offset:-2px}
.co-header h2,.co-kpi strong,.co-facts dd,.co-ratios b{color:var(--screen-ink)}.co-kpi,.co-ratios>div,.co-checks>div{background:#f6f8fc;border:1px solid #e5ebf2;border-radius:10px}.co-kpi span,.co-ratios span,.co-checks span,.co-finance caption,.co-footnote,.co-source p{color:var(--screen-secondary)}
.co-tabs{border-color:var(--line);background:#fff;padding:6px}.co-tabs button{color:#53667b;border-radius:8px}.co-tabs button.active{background:#eaf4df;color:#345232;box-shadow:inset 0 0 0 1px #cfdfbe}.co-panel{padding:20px}.co-link{color:#39634e}
.co-finance thead{background:#f0f4f9;color:#475c73}.co-finance tbody tr:first-child{background:#f7faf3;color:var(--screen-ink)}.co-facts>div{padding:10px 0;border-color:#e8edf3}.co-source{padding:16px}
.company-summary .company-menu button{border:1px solid #e0e7ef;background:#f6f8fb;color:#53667b;border-radius:8px}.company-summary .company-menu button.active{background:#eaf4df;border-color:#ccdfbd;color:#345232}
#dashboardView .dashboard-focus>section{background:#fff;border-color:var(--line);border-bottom-width:1px;box-shadow:0 4px 16px #20324706}#dashboardView .dashboard-notice,#dashboardView .agency-schedule-row{background:#fbfcfe;border:1px solid #e5ebf2;box-shadow:none}#dashboardView .dashboard-notice h3{color:var(--screen-ink)}#dashboardView .dashboard-notice p,#dashboardView .dashboard-notice time{color:var(--screen-secondary)}#dashboardView .dashboard-notice-meta{background:#f0f5eb!important;color:#4d6444;border-color:#dae5d0}
.renewal-display button[aria-pressed="true"]{background:#fff;color:#345232;border-bottom:2px solid #a4c88b;box-shadow:0 2px 4px #20324710}
@media(max-width:760px){
 .content{padding:18px 12px calc(90px + env(safe-area-inset-bottom))}.heading h1,#companyListView .company-list-heading h1{font-size:calc(23px * var(--ui-scale))}.heading p,#companyListView .company-list-heading p{font-size:calc(14px * var(--ui-scale))}
 .section,.form-section,.co-panel{padding:15px}.top{padding:10px 12px}.master-console .role-banner{padding:16px;margin-bottom:14px}.master-console .role-banner h2{font-size:calc(18px * var(--ui-scale))}.master-console .metric{padding:14px}.master-console .metric :is(b,strong){font-size:calc(25px * var(--ui-scale))}.master-console .metric-list{gap:9px}
 #companyView .co-overview{padding:14px}.co-header{gap:10px;flex-wrap:wrap}.co-header h2{font-size:calc(22px * var(--ui-scale))}.co-panel h3{font-size:calc(17px * var(--ui-scale))}.co-facts dt{font-size:calc(13px * var(--ui-scale))}.co-facts dd{font-size:calc(15px * var(--ui-scale))}.co-grid{gap:12px}.co-tabs button{padding:10px 12px}.co-facts{gap:0 12px}
}
@media(min-width:761px){#dashboardView .dashboard-focus>section{height:340px}#dashboardView .dashboard-focus>.dashboard-company{height:auto;max-height:340px}}
/* Findings from authenticated mobile menu review. */
:root{--brand-gold:#b38a36;--brand-gold-soft:#fbf4e6;--brand-gold-ink:#775518}
.side .side-logo-wrap{border:1px solid #c6a25a;box-shadow:0 0 0 3px #b38a3612}
.master-console .role-banner{border-left-color:var(--brand-gold)}
.dashboard-version{background:var(--brand-gold-soft)!important;color:var(--brand-gold-ink)!important;border-color:#e4d2aa}
.co-eyebrow,.company-list-eyebrow{letter-spacing:.06em}.mark{color:#dfc38a;border-color:#c6a25a}
#crmApp :is(th,.api-tag,.cb-note,.co-missing,.analytics-period-note,.crm-calendar-note,.crm-calendar-weekday){color:#4d6073!important}
#crmApp .badge.amber{color:#79501a!important}#crmApp .badge.blue{color:#315e96!important}#crmApp .badge.gray{color:#4e5e70!important}
#crmApp .metric small,#crmApp .field small,#crmApp .co-header p,#crmApp .co-completion span,#crmApp .cs-body p,#crmApp .cs-accordion>summary button{color:#4d6073!important}
#crmApp .step-num{background:#edf1f5;color:#45586b!important}#crmApp .intake-step.active .step-num{background:#dcebcf;color:#345232!important}
#dashboardView .crm-upcoming-date{color:#28614b!important}#dashboardView .crm-upcoming-date small,#dashboardView .company-snapshot small,.crm-calendar-event small{color:#4d6073!important}
#companyListView .company-list-filters label,#companyListView .company-list-scroll td small{color:#4d6073!important}#companyListView .company-name-link span{color:#356f5b!important}
#dashboardView .crm-upcoming-description small{color:#4d6073!important}#companyView .company-menu button:not(.active){color:#4d6073!important}
#companyView .cb-section>summary small,#companyView .shareholder-toolbar p,#companyView .shareholder-attachments p,#companyView .cb-section-body>p{color:#4d6073!important}
#companyView .cb-core-head span{color:#365f4c!important}
.co-eyebrow{color:#356f5b!important}.renewal-bottom button:nth-child(1){--dock-color:#345f98}
@media screen and (max-width:760px){
 #companyView .workspace-grid{grid-template-columns:minmax(0,1fr)!important}
 #companyView :is(.detail-stack,.company-summary,#companyReport,.report-shell){min-width:0;max-width:100%;width:100%}
 #companyReport .report-paper.multi,#companyReport .report-page{width:100%;max-width:100%;min-width:0}
 #companyReport .report-actions{flex-wrap:wrap;gap:10px}#companyReport .report-actions>div{min-width:0;max-width:100%}
 #companyReport :is(.overview-banner h1,.overview-banner p,.report-title){overflow-wrap:anywhere}
 .top .search::placeholder{font-size:inherit!important;color:#52667a;opacity:1}
 .prospect-table-wrap,.shareholder-table-wrap,.contract-counts{overscroll-behavior-x:contain;scrollbar-width:thin}
}
@media(prefers-reduced-motion:reduce){.primary,.outline,.nav-group-tab,.renewal-menu-grid button,.renewal-bottom button,#companyListView .contract-counts button{transition:none;transform:none!important}}

/* Keep short profile tabs from stretching to the sidebar height. */
#companyView .workspace-grid{align-items:start}
#companyView .detail-stack{align-self:start;align-content:start;grid-auto-rows:max-content}

/* Give desktop dashboard lists more room while retaining compact mobile cards. */
@media(min-width:1251px){
  #dashboardView .dashboard-focus>.dashboard-upcoming,
  #dashboardView .dashboard-focus>.dashboard-notices,
  #dashboardView .dashboard-focus>.monthly-reception{height:clamp(420px,43vh,500px);max-height:none}
}

/* Keep desktop customer filters aligned and table headings visible while rows scroll. */
@media(min-width:761px){
 #companyListView .company-list-scroll{max-height:clamp(360px,60vh,720px);overflow:auto;scrollbar-gutter:stable}
 #companyListView .company-list-scroll table{border-collapse:separate;border-spacing:0}
 #companyListView .company-list-scroll th{position:sticky;top:0;z-index:2;background:#edf4f8;box-shadow:0 1px 0 #dce5e9}
 #companyListView .company-list-scroll:focus-visible{outline:2px solid #27835c;outline-offset:-2px}
}
@media(min-width:1101px){
 #companyListView .company-list-filters{grid-template-columns:140px 140px 160px minmax(0,1fr)}
 #companyListView .company-list-filters>.company-list-search:last-child{grid-column:auto;min-width:0}
}

/* Company identity leads; contract controls remain secondary. */
#companyListView .company-name-link{font-weight:800;color:#163e52;line-height:1.45}
@media(min-width:761px){
 #companyListView .company-name-link{font-size:calc(17px * var(--ui-scale))}
 #companyListView .company-customer-meta{margin-top:5px}
 #companyListView .company-customer-meta .company-inline-contract{grid-template-columns:minmax(0,136px) max-content;justify-content:start}
 #companyListView .company-contract-choice,#companyListView .company-customer-meta .company-contract-choice{width:136px;max-width:100%;min-height:28px;height:auto;padding:3px 7px;font-size:calc(11px * var(--ui-scale));font-weight:400;background:#f8faf8;color:#637366;border:1px solid #dce5dc;box-shadow:none}
}
@media(max-width:760px){
 #companyListView .company-name-link{font-size:calc(18px * var(--ui-scale))}
 #companyListView .company-customer-meta .company-inline-contract{grid-template-columns:minmax(0,170px) auto;justify-content:start}
 #companyListView .company-customer-meta .company-contract-choice{max-width:170px;font-size:calc(12px * var(--ui-scale))!important;min-height:44px;background:#f8faf8;color:#637366;border-color:#dce5dc;box-shadow:none}
}

/* Raised company links, flat secondary contract selectors. */
#companyListView .company-name-link{padding:5px 9px;border:1px solid #d8e5de;border-bottom:2px solid #b6cfc0;border-radius:7px;background:linear-gradient(180deg,#fff,#f3f8f5);box-shadow:0 2px 4px #234b3712;max-width:100%;text-decoration:none}
#companyListView .company-name-link:focus-visible{outline:2px solid #27835c;outline-offset:3px}
@media(hover:hover){#companyListView .company-name-link:hover{background:#eef7f1;border-color:#a9c7b6;box-shadow:0 3px 6px #234b371a;color:#18563d}}
#companyListView .company-name-link:active{box-shadow:none;transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){#companyListView .company-name-link:active{transform:none}}

.company-kind-badge{display:inline-flex;align-items:center;margin:4px 0 0 6px;padding:2px 6px;border-radius:5px;font-size:11px;line-height:1.5;font-weight:500;white-space:nowrap;vertical-align:middle}.company-kind-corporate{background:#e8f4ed;color:#286143}.company-kind-personal{background:#fff5df;color:#826321}.company-kind-unknown{background:#f0f2f4;color:#74808b}
