/* Clearfork's data/action adapter for the unchanged Mill Creek sales-workspace layers.
   Shared source: benchmark-crm df0c9e02b2e1fe36e70d69a528b092c352012acf. */
.workspace{--company-primary:#235080;--company-ink:#1c2c43;--company-accent:#7cb8a3;--on-primary:#fff;--body:Inter,system-ui,sans-serif;--heading:Inter,system-ui,sans-serif;--ink:var(--desk-ink);--muted:var(--desk-muted);--surface:var(--desk-panel);--line:var(--desk-line);--soft:var(--desk-soft);--accent:var(--company-primary);font-family:var(--body)}
.workspace:not(.widget-mode){padding-left:0}
.workspace .workspace-header{align-items:stretch;box-shadow:none}
.workspace .workspace-wordmark.brand{background:transparent;border-radius:0;text-align:left;justify-self:auto}
.workspace .workspace-header .workspace-wordmark strong{font-size:20px;line-height:1.3}
@media (min-width: 761px) {
 .workspace .workspace-header #workspace-menu:not([hidden]) { display: grid !important; }
}
/* Sidebar navigation always uses a single vertical column, including More. */
.workspace .workspace-header #workspace-menu {
 grid-template-columns: minmax(0, 1fr);
 grid-auto-flow: row;
 width: 100%;
 max-width: 100%;
 min-width: 0;
 box-sizing: border-box;
 overflow-x: hidden;
 overflow-y: auto;
 white-space: normal;
}
.workspace .workspace-header #workspace-menu :is(.workspace-nav, summary, .more-panel button) {
 min-width: 0;
 max-width: 100%;
 white-space: normal;
 overflow-wrap: anywhere;
}
.workspace .workspace-header #workspace-menu .more-panel {
 position: static;
 width: auto;
 min-width: 0;
 overflow: visible;
}
.workspace .workspace-header .workspace-account{justify-self:stretch;margin:0}
.workspace .workspace-account>summary{display:flex;gap:8px;align-items:center;list-style:none}
.workspace .account-panel{color:var(--desk-rail-text)}
.workspace .account-panel select{background:#21344c;border-color:#52667e;color:#edf3fb}
.workspace .account-panel p{color:#b8c8db;font-size:11px;margin:8px 0}
.workspace .account-panel .pill{font-size:10px;white-space:normal}
.workspace .workspace-more{position:relative}
.workspace .more-panel details>summary{color:var(--desk-rail-text)}
.workspace .more-panel .workspace-nav{display:block;width:100%;font-size:12px;min-height:44px;padding:8px 12px}
.workspace .more-panel .workspace-nav:hover{background:#2b435f;color:#fff}
.workspace #workspace-toolbar{padding:12px 32px;background:var(--desk-bg);border:0}
.workspace #workspace-toolbar .sidekick-search-dock{max-width:580px}
.workspace .main>main{width:100%;margin:0 auto}
.workspace .main .intro{display:block;min-height:0}
.workspace .intro .eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 7px}
.workspace .intro .title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.workspace .intro .lede{margin:8px 0 0;font-size:13px}
.workspace .intro .page-actions{display:flex;flex-wrap:wrap;gap:8px}
.workspace .panel,.workspace .tile{background:var(--desk-panel);box-shadow:var(--desk-shadow);border-color:var(--desk-line)}
.workspace .scope-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.workspace .scope-controls label{margin:0;min-width:190px;font-size:12px}
.workspace .scope-controls select{min-height:40px}
.workspace .today-dashboard .focus-link{border:0;background:transparent;padding:0;text-decoration:underline;text-underline-offset:3px}
.workspace .today-dashboard .priority-name{border:0;background:transparent;color:var(--desk-ink);font:inherit;font-weight:700;padding:2px 0;min-height:28px;text-align:left;text-decoration:underline}
.workspace .today-dashboard .priority-identity h3 .project-link{border:0;background:transparent;font:inherit;font-weight:700;padding:2px 0;min-height:28px;text-align:left;text-decoration:underline;color:var(--desk-ink)}
.workspace .today-dashboard .priority-actions button{background:var(--desk-panel);min-height:36px;font-size:12px;padding:6px 9px}
.workspace .today-dashboard .today-rotation-grid article button{font-size:11px;min-height:38px;margin-top:4px}
.workspace .today-dashboard .today-rotation{overflow:visible}
.workspace .today-overview{grid-template-columns:minmax(0,1fr)}
.workspace .priority-attention{font-variant-numeric:tabular-nums}
.workspace .priority-attention small{color:var(--desk-muted)}
.workspace .customer-grid{align-items:start}
.workspace .customer-tile .customer-tile-head{display:block}
.workspace .customer-tile .customer-tile-head strong{display:block;font-size:16px;color:var(--desk-ink)}
.workspace .customer-tile .customer-tile-head .tile-color-label{font-size:11px;margin:5px 0 0}
.workspace .customer-tile .contact-actions{display:flex;flex-wrap:wrap;font-size:12px;gap:3px 12px}
.workspace .customer-tile .contact-actions>span{flex-basis:100%}
.workspace .customer-tile .customer-tile-footer .project-link{font-size:12px;min-height:40px;padding:6px 9px}
.workspace .customer-tile>details{font-size:12px;margin:5px 0}
.workspace .customer-tile>details>summary{min-height:44px;align-content:center}
.workspace [data-tile-owner="four"]{--tile-owner:#486f99}
.workspace [data-tile-owner="five"]{--tile-owner:#905f38}
.workspace .pipeline-workspace{min-width:0;background:var(--desk-panel);border:1px solid var(--desk-line);border-radius:14px;padding:18px}
.workspace .pipeline-workspace .pipeline-board{display:grid;grid-template-columns:repeat(6,minmax(250px,1fr));gap:12px;overflow:auto;align-items:start;max-height:calc(100dvh - 250px)}
.workspace .pipeline-column{border-radius:10px;background:var(--desk-soft);padding:10px}
.workspace .pipeline-column>h2{font-size:13px;position:sticky;top:0;background:var(--desk-soft);z-index:2;padding:8px 0}
.workspace .pipeline-column .business-card{border-left-width:14px;border-right:5px solid var(--tile-status);background:var(--desk-panel);margin:8px 0;padding:12px}
.workspace .pipeline-column .business-card .project-link[data-customer]{font-size:14px;min-height:36px;color:var(--desk-ink);border:0;padding:4px 0;background:transparent}
.workspace .pipeline-column .business-card .pill{font-size:11px}
.workspace .portal-apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.workspace .portal-app{min-height:190px;display:flex;flex-direction:column;align-items:start;padding:20px}
.workspace .portal-app p{font-size:13px;flex:1}
.workspace .portal-app h2{font-size:20px}
.workspace .record-tabs button{font-size:12px}
.workspace dialog{background:var(--desk-panel);border-color:var(--desk-line);box-shadow:0 18px 70px #14243955}
.workspace .mobile-app-bar{display:none}
.workspace .workspace-footer{font-size:11px;text-align:center}
.workspace :is(.filters,.calendar-scope)>label{font-size:12px}
.workspace .calendar-schedule{background:var(--desk-panel);border:1px solid var(--desk-line);border-radius:14px}
.workspace.widget-mode .main{margin:0;min-height:0}
.workspace.widget-mode .workspace-footer,.workspace.widget-mode .workspace-header{display:none!important}
.workspace.widget-mode .main>main{padding:0 12px}
@media(min-width:1000px){.workspace .today-overview{gap:12px}.workspace .today-dashboard .today-rotation-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}
@media(max-width:1180px) and (min-width:761px){.workspace #workspace-toolbar{padding:10px 24px}}
@media(max-width:760px){
 .workspace .workspace-header .workspace-wordmark.brand{max-width:none;width:auto}
 .workspace .workspace-header .workspace-wordmark strong{font-size:16px;max-width:none}
 .workspace .workspace-header .workspace-menu-toggle{display:block;position:absolute;top:11px;right:16px;min-height:36px;background:#2b435f;color:#fff}
 .workspace .workspace-header #workspace-menu{display:none!important}
 .workspace .workspace-header.menu-open #workspace-menu{display:grid!important}
 .workspace .workspace-header .workspace-account{margin:0}
 .workspace .workspace-header .account-panel{width:100%}
 .workspace #workspace-toolbar{padding:8px 16px}
 .workspace #workspace-toolbar .sidekick-search-dock{max-width:none}
 .workspace #workspace-toolbar>.quiet{font-size:11px;padding:6px;min-height:44px}
 .workspace .scope-controls label{flex:1;min-width:0}
 .workspace .scope-controls select{font-size:16px;width:100%}
 .workspace .today-overview{grid-template-columns:1fr}
 .workspace .intro .title-row{align-items:start;gap:8px}
 .workspace .intro .page-actions{gap:6px}
 .workspace .today-dashboard .priority-actions button,.workspace .today-dashboard .priority-identity h3 .project-link{min-height:44px}
 .workspace .customer-tile .customer-tile-footer .project-link{min-height:44px}
 .workspace .mobile-app-bar:not([hidden]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));z-index:60}
 .workspace .mobile-app-bar [data-tab].workspace-nav{background:transparent;color:var(--desk-muted);font-size:11px}
 .workspace .mobile-app-bar [data-tab].workspace-nav[aria-current=page]{background:var(--desk-soft);color:var(--desk-ink)}
 .workspace .pipeline-workspace .pipeline-board{max-height:none}
 .workspace .main>main{padding-bottom:16px}
}

.workspace dialog.customer-record-dialog{width:min(1000px,calc(100vw - 32px));padding:24px}
.workspace .customer-file .customer-identity{margin-block:10px}
.workspace .customer-file .contact-actions{background:var(--desk-bg);border:1px solid var(--desk-line);border-radius:10px;padding:12px 16px;gap:8px 18px;font-size:13px}
.workspace .customer-file .customer-primary-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.workspace .customer-file .customer-work-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.workspace .customer-work-summary>article{padding:16px;background:var(--desk-bg);border:1px solid var(--desk-line);border-radius:10px}
.workspace .customer-work-summary>article>strong{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--desk-muted)}
.workspace .customer-work-summary>article>p{font-size:13px}
@media(max-width:760px){
 .workspace .scope-controls label{flex-basis:100%;min-width:100%}
 .workspace .scope-controls>button{width:100%}
 body:not(.widget-window) .workspace-header .workspace-context{flex-direction:column;align-items:flex-start;gap:2px;padding-top:5px}
 .workspace .workspace-header .workspace-context .sidebar-showroom{font-size:11px;font-weight:500}
 .workspace .customer-file .customer-work-summary{grid-template-columns:1fr}
 .workspace dialog.customer-record-dialog{padding:16px}
}


.workspace .workspace-wordmark.brand img{display:block;width:min(280px,100%);height:auto;background:#fff;border-radius:4px}.workspace .workspace-wordmark.brand{max-width:300px;width:100%}
