:root{--ux-bg:#f5f7fb;--ux-panel:#fff;--ux-text:#172235;--ux-sub:#687589;--ux-line:#e3e9f1;--ux-blue:#245fe9;--ux-soft:#edf3ff;--bg:var(--ux-bg);--panel:var(--ux-panel);--text:var(--ux-text);--muted:var(--ux-sub);--line:var(--ux-line);--accent:var(--ux-blue);--accent-soft:var(--ux-soft)}
body.workspace-v2{background:var(--ux-bg)!important;color:var(--ux-text);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px!important}
body.workspace-v2 .app-shell{display:block!important;max-width:1320px!important;width:auto!important;margin:0 20px 0 240px!important;padding:16px 0 24px!important}
body.workspace-v2 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 20px!important;min-height:72px!important;background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:14px!important;box-shadow:none!important;margin-bottom:20px!important}
body.workspace-v2 .ux-brand{display:flex;align-items:center;gap:12px;font-weight:500;font-size:13px}
body.workspace-v2 .ux-brand img{object-fit:contain;border-radius:0;width:38px;height:38px}
body.workspace-v2 small{font-size:12px;color:var(--ux-sub);line-height:1.5}
body.workspace-v2 .ux-brand small{display:block;font-size:11px;font-weight:400;margin-top:3px}
body.workspace-v2 .ux-avatar{width:34px;height:34px;min-height:34px;border:0;border-radius:50%;background:var(--ux-soft);color:var(--ux-blue);font-size:12px;font-weight:500;display:grid;place-items:center;padding:0}
body.workspace-v2 #mainMenu{position:fixed!important;display:flex!important;flex-direction:column!important;gap:3px!important;left:16px!important;top:16px!important;bottom:16px!important;width:204px!important;max-height:calc(100dvh - 32px);overflow-y:auto!important;padding:16px 10px!important;background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:14px!important;z-index:20;box-shadow:none!important}
body.workspace-v2 #mainMenu .ux-brand{padding:0 8px 22px}
body.workspace-v2 .ux-nav-label{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--ux-sub);padding:18px 10px 6px}
body.workspace-v2 .ux-nav-button{width:100%;background:transparent;border:0;display:flex;align-items:center;gap:9px;padding:10px;border-radius:8px;font-size:12px;font-weight:400;text-align:left;min-height:38px;color:var(--ux-text)}
body.workspace-v2 .ux-nav-button[aria-current=true]{background:var(--ux-soft);color:var(--ux-blue)}
body.workspace-v2 .ux-icon{width:17px;height:17px;flex-shrink:0;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.workspace-v2 .ux-nav-footer{margin-top:auto;border-top:1px solid var(--ux-line);padding-top:12px}
body.workspace-v2 .home-view{display:block!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body.workspace-v2 .home-view.hidden,body.workspace-v2 .panel-view.hidden,body.workspace-v2 .workspace.hidden,body.workspace-v2 [hidden],body.workspace-v2 .hidden{display:none!important}
body.workspace-v2 .ux-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:20px}
body.workspace-v2 .ux-head h2{margin:0;font-size:25px;font-weight:600;line-height:1.2;letter-spacing:-.025em}
body.workspace-v2 .ux-head small{display:block;margin-top:7px}
body.workspace-v2 .ux-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
body.workspace-v2 .ux-card{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;padding:18px;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-panel);font:inherit;color:inherit}
body.workspace-v2 .ux-value{font-size:30px;line-height:1.2;letter-spacing:-.03em;font-weight:500;font-variant-numeric:tabular-nums}
body.workspace-v2 .ux-value.event{font-size:21px}
body.workspace-v2 .ux-card-link{font-size:12px;color:var(--ux-blue);margin-top:7px}
body.workspace-v2 .ux-section-label{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--ux-sub);margin:22px 0 10px}
body.workspace-v2 .ux-accordion{border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-panel);overflow:hidden;margin-bottom:12px}
body.workspace-v2 .ux-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;min-height:54px;font-size:15px;font-weight:500;list-style:none;cursor:pointer}
body.workspace-v2 .ux-accordion>summary::-webkit-details-marker{display:none}
body.workspace-v2 .ux-accordion[open]>summary{border-bottom:1px solid var(--ux-line)}
body.workspace-v2 .ux-accordion[open]>summary .ux-icon{transform:rotate(180deg)}
body.workspace-v2 .ux-menu-group{padding:0 16px;background:var(--ux-panel)}
body.workspace-v2 .ux-menu-row{display:flex;align-items:center;gap:11px;width:100%;padding:12px 0;min-height:48px;border:0;border-radius:0;background:transparent;color:var(--ux-text);font:inherit;font-weight:400;text-align:left}
body.workspace-v2 .ux-menu-row+.ux-menu-row{border-top:1px solid var(--ux-line)}
body.workspace-v2 .ux-menu-row .ux-icon{color:var(--ux-sub)}
body.workspace-v2 .ux-chevron{margin-left:auto;color:var(--ux-sub)}
body.workspace-v2 .ux-panel{background:var(--ux-panel);border:1px solid var(--ux-line);border-radius:12px;padding:18px;margin-bottom:16px;min-width:0}
body.workspace-v2 .ux-panel.flush{padding:0;overflow:hidden}
body.workspace-v2 .ux-panel h3{font-size:16px;font-weight:500;margin:0 0 14px}
body.workspace-v2 .ux-choice{display:flex;align-items:center;gap:15px;width:100%;padding:20px;margin-bottom:12px;border:1px solid var(--ux-line);border-radius:12px;background:var(--ux-panel);font:inherit;text-align:left}
body.workspace-v2 .ux-choice strong{font-size:17px;font-weight:500;display:block;margin-bottom:4px}
body.workspace-v2 .ux-choice-icon{background:var(--ux-soft);color:var(--ux-blue);border-radius:11px;width:42px;height:42px;display:grid;place-items:center;flex-shrink:0}
body.workspace-v2 .ux-choice-icon .ux-icon{width:22px;height:22px}
body.workspace-v2 .ux-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
body.workspace-v2 .ux-tabs button{background:var(--ux-panel);border:1px solid var(--ux-line);padding:8px 11px;min-height:36px;border-radius:8px;color:var(--ux-sub);font-size:12px;font-weight:400}
body.workspace-v2 .ux-tabs button[aria-pressed=true]{color:var(--ux-blue);background:var(--ux-soft);border-color:var(--ux-blue)}
body.workspace-v2 .ux-record{display:block;width:100%;padding:16px;text-align:left;border:0;border-bottom:1px solid var(--ux-line);border-radius:0;background:var(--ux-panel);font:inherit;color:inherit}
body.workspace-v2 .ux-record:last-child{border-bottom:0}
body.workspace-v2 .ux-record strong{font-size:14px;font-weight:500}
body.workspace-v2 .ux-record small{display:block;margin-top:5px}
body.workspace-v2 .ux-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.workspace-v2 .ux-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
body.workspace-v2 .ux-pill{background:var(--ux-soft);color:var(--ux-blue);font-size:11px;padding:4px 8px;border-radius:6px;display:inline-block}
body.workspace-v2 .ux-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--ux-sub);margin-bottom:14px;min-width:0}
body.workspace-v2 .ux-field input,body.workspace-v2 .ux-field select,body.workspace-v2 .ux-field textarea,body.workspace-v2 .ux-search{width:100%;border:1px solid var(--ux-line);background:var(--ux-panel);border-radius:8px;padding:10px 11px;color:var(--ux-text);font:inherit;font-size:14px;min-width:0}
body.workspace-v2 .ux-field textarea{min-height:110px;resize:vertical}
body.workspace-v2 .ux-error{padding:12px 14px;background:#fff0f2;border-radius:8px;color:#b73643;margin-bottom:14px;font-size:13px}
body.workspace-v2 .ux-empty{padding:20px;color:var(--ux-sub);font-size:13px}
body.workspace-v2 .ux-backbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
body.workspace-v2 .ux-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
body.workspace-v2 .ux-form-grid .full{grid-column:1/-1}
body.workspace-v2 .ux-person{display:flex;align-items:center;gap:13px;margin-bottom:22px}
body.workspace-v2 .ux-person .ux-avatar{width:48px;height:48px;font-size:16px}
body.workspace-v2 .ux-person strong{display:block;font-size:17px;font-weight:500}
body.workspace-v2 .ux-person small{display:block;margin-top:4px}
body.workspace-v2 .ux-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:14px 8px;background:var(--ux-panel);border:1px solid var(--ux-line);border-radius:11px;margin-bottom:16px}
body.workspace-v2 .ux-metric{padding:0 9px;min-width:0}
body.workspace-v2 .ux-metric+.ux-metric{border-left:1px solid var(--ux-line)}
body.workspace-v2 .ux-metric small{min-height:34px;display:block;font-size:11px;overflow-wrap:anywhere}
body.workspace-v2 .ux-metric strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.02em}
body.workspace-v2 .ux-note{padding:12px 14px;border-radius:8px;background:var(--ux-soft);font-size:12px;color:var(--ux-sub);margin-bottom:14px}
body.workspace-v2 .ux-message{padding:16px;background:var(--ux-bg);border:1px solid var(--ux-line);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}
body.workspace-v2 .ux-step{color:var(--ux-sub);font-size:12px;margin-bottom:14px}
body.workspace-v2 .mobile-nav{display:none!important}
/* Existing business forms keep their IDs and handlers, with one coherent visual system. */
body.workspace-v2 :is(.panel-view-card,.detail-section,.content-client-section,.contract-step-card,.contract-summary-card,.checks-box){background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:12px!important;box-shadow:none!important;padding:18px!important}
body.workspace-v2 :is(.save-button,.secondary-button,.ghost-button,.primary-button,.action-button){border-radius:8px!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;min-height:40px;padding:9px 13px!important}
body.workspace-v2 :is(.save-button,.primary-button){background:var(--ux-blue)!important;color:#fff!important;border-color:var(--ux-blue)!important}
body.workspace-v2 :is(.ghost-button,.secondary-button){background:var(--ux-panel)!important;color:var(--ux-text)!important;border:1px solid var(--ux-line)!important}
body.workspace-v2 .ghost-button.danger{color:#b73643!important}
body.workspace-v2 :is(.text-input,.detail-textarea,.detail-input){background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:8px!important;box-shadow:none!important;color:var(--ux-text)!important;font-weight:400!important}
body.workspace-v2 :is(.content-client-card,.lead-item,.analytics-item,.content-summary-card,.monitoring-card){background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:10px!important;box-shadow:none!important}
body.workspace-v2 :is(.content-client-card,.lead-item){padding:15px!important;font-weight:400!important}
body.workspace-v2 h2{font-size:24px!important;letter-spacing:-.02em;font-weight:600!important}
body.workspace-v2 h3{font-size:16px!important;font-weight:500!important}
body.workspace-v2 .eyebrow{color:var(--ux-sub)!important;font-size:10px!important;font-weight:500!important}
body.workspace-v2 .content-client-actions>*{font-size:12px!important}
body.workspace-v2 .sidebar{background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:12px!important;color:var(--ux-text)!important}
body.workspace-v2 .workspace{grid-template-columns:220px minmax(220px,.85fr) minmax(270px,1.2fr)!important;gap:12px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.workspace-v2 .workspace :is(.list-pane,.detail-pane){background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:12px!important}
body.workspace-v2 :is(.detail-field-card,.sidebar-block){background:transparent!important;box-shadow:none!important}
body.workspace-v2 .ux-project-tabs{margin:0 0 18px}
body.workspace-v2 .content-admin-section-menu{margin-bottom:16px}
body.workspace-v2 :is(.content-admin-section-button,.segment-button,.queue-tab){font-size:12px!important;border-radius:8px!important;font-weight:500!important}
body.workspace-v2 #contentWorkerSectionMenu,body.workspace-v2 #contentProfilePanel{display:none!important}
body.workspace-v2 .ux-legacy-hidden{display:none!important}
body.workspace-v2 .mailings-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
body.workspace-v2 .mailings-layout>[data-ux-mail-hidden=true],body.workspace-v2 #schoolView [data-ux-mail-hidden=true]{display:none!important}
body.workspace-v2 .ux-project-hidden{display:none!important}
body.workspace-v2 .setka-loader-card{box-shadow:none!important}
body.workspace-v2 .setka-loader-orbital,body.workspace-v2 .setka-loader-grid{display:none!important}
@media(max-width:1100px){body.workspace-v2 .workspace{grid-template-columns:180px minmax(180px,1fr)!important}body.workspace-v2 .workspace .detail-pane{grid-column:1/-1}}
@media(max-width:760px){
 body.workspace-v2 .app-shell{margin:0!important;padding:10px 10px 20px!important;max-width:100%!important;width:100%!important}
 body.workspace-v2 #mainMenu{display:none!important}
 body.workspace-v2 .topbar{border-radius:12px!important;padding:12px 14px!important;min-height:65px!important;margin-bottom:18px!important}
 body.workspace-v2 .topbar .icon-button{min-width:32px!important;min-height:32px!important;width:32px!important;height:32px!important}
 body.workspace-v2 .topbar-actions{gap:8px!important}
 body.workspace-v2 .ux-brand img{width:34px;height:34px}
 body.workspace-v2 .ux-head h2{font-size:24px}
 body.workspace-v2 .ux-grid.home-summary{gap:10px;margin-bottom:20px}
 body.workspace-v2 .home-summary .ux-card{padding:12px;border-radius:10px;gap:5px}
 body.workspace-v2 .home-summary .ux-card>small:first-child{min-height:34px}
 body.workspace-v2 .home-summary .ux-value{font-size:25px;white-space:nowrap}
 body.workspace-v2 .home-summary .ux-value.event{font-size:18px}
 body.workspace-v2 .home-summary .ux-card-link,body.workspace-v2 .home-summary .ux-breakdown{display:none}
 body.workspace-v2 .mobile-nav:not(.hidden){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:fixed!important;left:10px!important;right:10px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:auto!important;background:var(--ux-panel)!important;border:1px solid var(--ux-line)!important;border-radius:12px!important;padding:7px!important;box-shadow:0 4px 20px #17223512!important;z-index:80}
 body.workspace-v2 .mobile-nav-item{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px!important;border:0!important;background:transparent!important;color:var(--ux-text)!important;font-size:13px!important;padding:8px!important;font-weight:400!important}
 body.workspace-v2:not([data-ux-view=home]) .app-shell{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
 body.workspace-v2.keyboard-open .mobile-nav{display:none!important}
 body.workspace-v2 .ux-form-grid{grid-template-columns:minmax(0,1fr)}
 body.workspace-v2 :is(input,textarea,select){font-size:16px!important}
 body.workspace-v2 .workspace{display:block!important}
 body.workspace-v2 .workspace .sidebar{display:none!important;margin-bottom:12px;padding:14px}
 body.workspace-v2[data-ux-filters=true] .workspace .sidebar{display:block!important}
 body.workspace-v2 .workspace .detail-pane{display:none!important}
 body.workspace-v2[data-ux-detail=true] .workspace .list-pane,body.workspace-v2[data-ux-detail=true] .workspace .sidebar{display:none!important}
 body.workspace-v2[data-ux-detail=true] .workspace .detail-pane{display:block!important}
 body.workspace-v2 .ux-backbar{margin-bottom:14px}
 body.workspace-v2 .ux-panel{padding:16px}
 body.workspace-v2 .ux-panel.flush{padding:0}
 body.workspace-v2 :is(.mailings-layout,.school-layout,.contracts-workspace,.content-project-start-page .content-form-grid){grid-template-columns:minmax(0,1fr)!important}
 body.workspace-v2 .school-layout{display:block!important}
 body.workspace-v2 .ux-tabs button{min-height:40px}
 body.workspace-v2 :is(.checks-layout,.contracts-form-grid,.content-form-grid){grid-template-columns:minmax(0,1fr)!important}
 body.workspace-v2 .content-client-card{padding:14px!important}
}
@media(prefers-reduced-motion:reduce){body.workspace-v2 *{scroll-behavior:auto!important;animation:none!important}}
body.workspace-v2 .topbar{flex-direction:row!important;flex-wrap:nowrap!important;text-align:left!important}
body.workspace-v2 .ux-brand{min-width:0;flex:1}
body.workspace-v2 .topbar-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;margin:0!important;flex-shrink:0}
