:root {
  --ink:#181818;--muted:#5c5c5c;--line:#c9c9c9;--line-soft:#e5e5e5;--bg:#f3f3f3;--panel:#fff;
  --blue:#0176d3;--blue-dark:#032d60;--blue-soft:#eef4ff;--green:#2e844a;--amber:#a86403;--red:#ba0517;
  --shadow:0 2px 4px rgba(0,0,0,.1);color:var(--ink);background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif
}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg)}button,input,textarea,select{font:inherit}
[hidden],.gate-screen[hidden],.app[hidden],.view:not(.active){display:none!important}

/* Login */
.gate-screen{min-height:100vh;display:grid;place-items:center;background:var(--blue-dark);color:#fff}#loadingScreen{align-content:center;gap:14px}
.loading-mark,.auth-logo,.brand-symbol{display:grid;place-items:center;font-weight:800;letter-spacing:-.04em}.loading-mark{width:62px;height:62px;border-radius:50%;background:#fff;color:var(--blue);font-size:21px}
.auth-screen{grid-template-columns:minmax(420px,560px) minmax(360px,1fr);background:#fff;color:var(--ink)}.auth-card{width:min(440px,calc(100vw - 42px));justify-self:center;padding:36px}
.auth-brand,.sidebar-brand{display:flex;align-items:center;gap:11px}.auth-logo,.brand-symbol{width:40px;height:40px;border-radius:7px;background:var(--blue);color:#fff}
.auth-brand strong,.sidebar-brand strong{display:block;letter-spacing:.04em}.auth-brand span,.sidebar-brand span{display:block;margin-top:1px;color:#706e6b;font-size:11px}
.auth-copy{margin:64px 0 28px}.kicker{margin:0 0 5px;color:#54698d;font-size:11px;font-weight:800;letter-spacing:.12em}
.auth-copy h1,.page-header h1{margin:0;color:var(--blue-dark);font-size:clamp(29px,4vw,38px);letter-spacing:-.025em}.auth-copy p:not(.kicker),.page-header p:not(.kicker){margin:7px 0 0;color:var(--muted);font-size:14px}
.auth-form{display:grid;gap:16px}.auth-form label,.field{display:grid;gap:6px;color:#3e3e3c;font-size:12px;font-weight:700}
.auth-form input,.field input,.field textarea,.field select,.filters select,.import-actions select,.pipeline-filters input,.pipeline-filters select{width:100%;min-height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);outline:0}
.auth-form input:focus,.field input:focus,.field textarea:focus,.field select:focus,.filters select:focus,.pipeline-filters input:focus,.pipeline-filters select:focus{border-color:var(--blue);box-shadow:0 0 3px #0176d3}
.auth-error{min-height:20px;margin:14px 0 0;color:var(--red);font-size:13px}.auth-note{margin:32px 0 0;color:#706e6b;font-size:12px}
.auth-visual{position:relative;justify-self:stretch;width:100%;min-height:100vh;overflow:hidden;background:linear-gradient(145deg,#032d60,#0176d3 68%,#1b96ff)}
.orb{position:absolute;border-radius:50%}.orb-one{width:390px;height:390px;right:-90px;top:62px;background:rgba(255,255,255,.1)}.orb-two{width:240px;height:240px;left:70px;bottom:30px;background:rgba(255,255,255,.08)}
.visual-card{position:absolute;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:rgba(255,255,255,.14);color:#fff;box-shadow:0 12px 40px rgba(0,0,0,.18);backdrop-filter:blur(15px)}
.visual-main{left:16%;top:31%;width:60%;padding:28px}.visual-main span{display:block;margin-bottom:60px;color:#d8edff;font-size:13px}.visual-main strong{display:block;max-width:300px;font-size:28px;line-height:1.25}
.visual-small{right:10%;bottom:20%;padding:14px 18px;font-size:13px}.pulse{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#45c65a;box-shadow:0 0 0 6px rgba(69,198,90,.18)}

/* Controls */
.button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 15px;border:1px solid transparent;border-radius:4px;font-weight:700;text-decoration:none;cursor:pointer}.button-primary{border-color:var(--blue);background:var(--blue);color:#fff}.button-primary:hover{border-color:#014486;background:#014486}
.button-secondary{border-color:#747474;background:#fff;color:var(--blue)}.button-secondary:hover,.button-plain:hover{background:#f3f3f3}.button-plain{border-color:var(--line);background:#fff;color:#444}.button-danger{border-color:#ea001e;background:#fff;color:var(--red)}.button-full{width:100%;margin-top:4px}

/* Salesforce-inspired shell */
.app{min-height:100vh}.sidebar{position:fixed;inset:0 0 auto 0;z-index:20;width:auto;height:104px;padding:0;display:grid;grid-template-columns:250px minmax(0,1fr) auto;grid-template-rows:54px 50px;background:var(--blue-dark);color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.sidebar>.sidebar-brand{grid-column:1;grid-row:1;padding:7px 20px}.sidebar>.sidebar-brand .brand-symbol{width:38px;height:38px;background:#fff;color:var(--blue)}.sidebar>.sidebar-brand span{color:#c9e6ff}
.nav-list{grid-column:1/-1;grid-row:2;display:flex;align-items:stretch;gap:0;padding:0 20px;border-bottom:1px solid var(--line);background:#fff}.nav-item{position:relative;display:flex;align-items:center;gap:8px;min-width:132px;padding:0 17px;border:0;border-right:1px solid #ecebea;background:transparent;color:#3e3e3c;font-size:13px;font-weight:650;text-align:left;cursor:pointer}.nav-item:first-child{border-left:1px solid #ecebea}.nav-item:hover{background:#f3f3f3;color:var(--blue-dark)}.nav-item.active{background:#f3f3f3;color:var(--blue-dark);font-weight:800}.nav-item.active:after{content:"";position:absolute;right:10px;bottom:0;left:10px;height:3px;background:var(--blue)}.nav-icon{width:20px;color:var(--blue);text-align:center;font-size:17px}
.sidebar-foot{grid-column:3;grid-row:1;display:flex;align-items:center;gap:14px;padding:7px 20px}.user-card{display:flex;align-items:center;gap:9px}.user-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf5fe;color:var(--blue-dark);font-weight:800}.user-card strong,.user-card span{display:block}.user-card>div span{margin-top:1px;color:#c9e6ff;font-size:11px}.quiet-button{padding:7px 10px;border:1px solid rgba(255,255,255,.45);border-radius:4px;background:transparent;color:#fff;font-size:12px;cursor:pointer}
.app-main{min-height:100vh;margin-left:0;padding:132px clamp(18px,3vw,42px) 64px}.mobile-header{display:none}.view{max-width:1760px;margin:0 auto}

/* Page headers and summary cards */
.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:102px;margin-bottom:16px;padding:17px 20px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;box-shadow:var(--shadow)}.page-header h1{font-size:27px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.metric-card{min-height:112px;padding:17px 18px;border:1px solid var(--line-soft);border-radius:4px;background:var(--panel);box-shadow:var(--shadow)}.metric-card span{display:block;color:var(--muted);font-size:12px;font-weight:700}.metric-card strong{display:block;margin:11px 0 5px;color:var(--blue-dark);font-size:30px;line-height:1}.metric-card small{color:#706e6b;font-size:11px}.metric-hero{border-top:4px solid var(--blue)}.metric-hero strong{color:var(--blue)}
.panel{border:1px solid var(--line-soft);border-radius:4px;background:var(--panel);box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--line-soft)}.panel-head h2,.import-card h2{margin:0;color:var(--blue-dark);font-size:17px}.panel-head p,.import-card p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.panel-actions{display:flex;gap:8px}

/* Customer list */
.filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(128px,.55fr)) auto;gap:8px;padding:12px 18px;background:#fafaf9}.search-box{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid var(--line);border-radius:4px;background:#fff}.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 3px #0176d3}.search-box span{color:var(--blue);font-size:17px}.search-box input{width:100%;border:0;outline:0;background:transparent}
.table-shell{overflow-x:auto;border-top:1px solid var(--line-soft)}table{width:100%;min-width:1040px;border-collapse:collapse}.customer-panel table{min-width:1540px}th{position:sticky;top:0;z-index:1;padding:10px 13px;border-right:1px solid #e5e5e5;background:#fafaf9;color:#444;font-size:11px;font-weight:800;text-align:left;white-space:nowrap}td{padding:12px 13px;border-top:1px solid var(--line-soft);color:#444;font-size:13px;line-height:1.42;vertical-align:top}tbody tr{cursor:pointer}tbody tr:hover{background:var(--blue-soft)}
.company-cell strong{display:block;color:var(--blue);font-size:13px}.company-cell span{display:block;margin-top:3px;color:#706e6b;font-size:11px}.tag,.status,.level{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:750;white-space:nowrap}.tag{background:#ecebea;color:#444}.tag.core{background:#d8edff;color:#032d60}.tag.secondary,.status.waiting,.status.deal{background:#f9e3b6;color:#5f3e02}.status{background:#ecebea;color:#444}.status.replied,.status.following,.level.rc{background:#cdefc4;color:#194e31}.status.review,.level.ka{background:#feded8;color:#8e030f}.status.potential,.level.kc{background:#d8edff;color:#032d60}.cell-clamp{display:-webkit-box;max-width:330px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.contact-cell{min-width:210px;white-space:pre-line}.empty-state{padding:58px 20px;color:var(--muted);text-align:center}.empty-state div{font-size:28px}.empty-state strong,.empty-state span{display:block}.empty-state strong{margin:8px 0 5px;color:var(--ink)}

/* Imports and members */
.import-layout{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.import-card{padding:22px}.step-number{display:grid;place-items:center;width:36px;height:36px;margin-bottom:28px;border-radius:4px;background:var(--blue);color:#fff;font-weight:800}.import-card p{min-height:62px;margin:9px 0 18px}.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;border:1px dashed var(--blue);border-radius:4px;background:#f4f9ff;color:var(--blue);font-weight:800;cursor:pointer}.upload-zone small{margin-top:4px;color:var(--muted);font-weight:500}.preview-panel{margin-top:16px;overflow:hidden}.import-alert{margin:14px 18px;padding:11px 13px;border-left:4px solid var(--blue);background:#eef4ff;color:#444;font-size:12px}.compact table{min-width:760px}.import-actions{display:flex;align-items:end;justify-content:flex-end;gap:12px;padding:16px 18px}.import-actions label{display:grid;gap:5px;color:var(--muted);font-size:11px}
.members-panel{overflow:hidden}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 18px 18px}.member-card{padding:15px;border:1px solid var(--line);border-radius:4px}.member-top{display:flex;align-items:center;gap:10px}.member-top strong,.member-top span{display:block}.member-top span{margin-top:2px;color:var(--muted);font-size:11px}.member-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-top:16px}.member-actions .button{min-height:32px;padding:0 9px;font-size:11px}.role-badge{padding:4px 8px;border-radius:12px;background:#eef4ff;color:var(--blue-dark);font-size:10px;font-weight:800}

/* Pipeline */
.pipeline-panel{overflow:hidden}.pipeline-toolbar{align-items:flex-end}.pipeline-filters{display:flex;align-items:center;gap:8px}.pipeline-board{display:flex;gap:10px;overflow-x:auto;padding:14px 14px 18px;scroll-snap-type:x proximity;background:#fafaf9}.pipeline-column{flex:0 0 264px;min-height:390px;padding:8px;border:1px solid var(--line);border-top:4px solid #1b96ff;border-radius:4px;background:#f3f3f3;scroll-snap-align:start;transition:.15s}.pipeline-column.drag-over{border-color:var(--blue);background:#eef4ff;box-shadow:inset 0 0 0 1px var(--blue)}.pipeline-column-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 11px}.pipeline-column-head strong{color:var(--blue-dark);font-size:12px}.pipeline-column-head span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#fff;color:#444;font-size:11px;font-weight:800}.pipeline-card-list{display:grid;gap:8px}.pipeline-empty{margin:34px 0;color:#706e6b;font-size:11px;text-align:center}
.opportunity-card{display:grid;gap:7px;padding:12px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08);cursor:pointer}.opportunity-card:hover{border-color:var(--blue);box-shadow:0 2px 5px rgba(0,0,0,.12)}.opportunity-card.overdue{border-left:4px solid var(--red)}.opportunity-card>strong{color:var(--blue);font-size:13px}.opportunity-title{color:#3e3e3c;font-size:12px;font-weight:700}.opportunity-product{width:max-content;max-width:100%;overflow:hidden;padding:3px 7px;border-radius:11px;background:#d8edff;color:#032d60;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.opportunity-card p{min-height:33px;margin:2px 0;color:var(--muted);font-size:11px;line-height:1.4}.opportunity-meta{display:flex;justify-content:space-between;color:#706e6b;font-size:10px}.card-stage-select{width:100%;min-height:31px;margin-top:2px;padding:4px 7px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#444;font-size:10px}
.stage-1{border-top-color:#0176d3}.stage-2{border-top-color:#1b96ff}.stage-3{border-top-color:#9050e9}.stage-4{border-top-color:#fe9339}.stage-5{border-top-color:#dd7a01}.stage-6{border-top-color:#2e844a}.stage-7{border-top-color:#45c65a}.stage-8{border-top-color:#ea001e}.stage-9{border-top-color:#706e6b}
.followup-panel{margin-top:16px;overflow:hidden}.followup-list,.attention-list{display:grid}.followup-row,.attention-row{display:grid;grid-template-columns:130px minmax(220px,1fr) 120px;align-items:center;gap:16px;width:100%;padding:12px 18px;border:0;border-top:1px solid var(--line-soft);background:#fff;color:#444;text-align:left;cursor:pointer}.followup-row:hover,.attention-row:hover{background:var(--blue-soft)}.followup-row.overdue .followup-date{color:var(--red);font-weight:800}.followup-row strong,.followup-row small,.attention-row strong,.attention-row small{display:block}.followup-row strong,.attention-row strong{color:var(--blue)}.followup-row small,.attention-row small{margin-top:3px;color:var(--muted)}.followup-row>span:last-child,.attention-row>span:last-child{color:#706e6b;font-size:11px;text-align:right}.followup-empty{margin:0;padding:26px;color:#706e6b;font-size:12px;text-align:center}

/* Dashboard */
.dashboard-updated{color:#706e6b;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.chart-panel{min-height:340px;overflow:hidden}.dashboard-wide{grid-column:1/-1;min-height:0}.donut-layout{display:grid;grid-template-columns:184px 1fr;align-items:center;gap:28px;padding:20px 28px 28px}.donut-chart{position:relative;width:174px;height:174px;border-radius:50%;background:#e5e5e5}.donut-chart:after{content:"";position:absolute;inset:35px;border-radius:50%;background:#fff}.donut-chart span{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:var(--blue-dark);font-size:28px;font-weight:800}.chart-legend{display:grid;gap:9px}.legend-row{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;color:var(--muted);font-size:11px}.legend-row i{width:9px;height:9px;border-radius:2px}.legend-row strong{color:#3e3e3c}.bar-chart{display:grid;gap:13px;padding:18px 24px 28px}.bar-row{display:grid;grid-template-columns:90px 1fr 28px;align-items:center;gap:10px;color:var(--muted);font-size:11px}.bar-track{height:12px;overflow:hidden;border-radius:2px;background:#ecebea}.bar-track i{display:block;height:100%;background:var(--blue)}.bar-row strong{color:var(--blue-dark);text-align:right}.funnel-chart{display:grid;gap:8px;padding:17px 24px 25px}.funnel-row{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:12px;color:var(--muted);font-size:11px}.funnel-bar{min-width:34px;padding:5px 9px;border-radius:2px;color:#fff;font-weight:800;text-align:right;transition:width .3s}.attention-badge{justify-self:start;padding:4px 8px;border-radius:11px;background:#f9e3b6;color:#5f3e02;font-size:10px;font-weight:800}.attention-badge.overdue{background:#feded8;color:#8e030f}

/* Records and dialogs */
.backdrop{position:fixed;inset:0;z-index:30;background:rgba(8,7,7,.48)}.drawer{position:fixed;top:0;right:0;z-index:40;width:min(820px,96vw);height:100vh;overflow:auto;background:#f3f3f3;box-shadow:-10px 0 30px rgba(0,0,0,.24);transform:translateX(105%);transition:transform .2s ease}.drawer.open{transform:translateX(0)}.drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--line);background:#fff}.drawer-head h2{margin:0;color:var(--blue-dark);font-size:23px}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#444;font-size:20px;cursor:pointer}.drawer-body{padding:18px 22px 84px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:18px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;box-shadow:var(--shadow)}.field-wide{grid-column:1/-1}.field textarea{resize:vertical;line-height:1.5}.product-picker{margin:0;padding:12px;border:1px solid var(--line);border-radius:4px}.product-picker legend{padding:0 6px}.choice-grid{display:flex;flex-wrap:wrap;gap:7px}.choice-pill{position:relative}.choice-pill input{position:absolute;opacity:0;pointer-events:none}.choice-pill span{display:inline-flex;align-items:center;min-height:31px;padding:0 11px;border:1px solid var(--line);border-radius:15px;background:#fff;color:#444;font-size:11px;cursor:pointer}.choice-pill input:checked+span{border-color:var(--blue);background:#d8edff;color:var(--blue-dark);font-weight:800}
.activity-section{margin-top:14px;padding:18px;border:1px solid var(--line-soft);border-radius:4px;background:#fff;box-shadow:var(--shadow)}.section-title{display:flex;align-items:baseline;justify-content:space-between}.section-title h3{margin:0 0 13px;color:var(--blue-dark)}.section-title span{color:var(--muted);font-size:11px}.activity-list{display:grid;gap:8px;margin-bottom:14px}.activity-item{padding:11px 13px;border-left:3px solid var(--blue);background:#f3f3f3}.activity-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px;color:var(--muted);font-size:11px}.activity-item p{margin:0;font-size:13px;white-space:pre-wrap}.activity-compose{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:14px;border:1px dashed var(--line);border-radius:4px}.activity-compose .button{justify-self:start}.drawer-actions{position:fixed;right:0;bottom:0;width:min(820px,96vw);display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;padding:13px 22px;border-top:1px solid var(--line);background:#fff}
.customer-opportunity-list{display:grid;gap:8px}.customer-opportunity-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.customer-opportunity-item:hover{border-color:var(--blue);background:var(--blue-soft)}.customer-opportunity-item strong,.customer-opportunity-item small{display:block}.customer-opportunity-item strong{color:var(--blue)}.customer-opportunity-item small{margin-top:4px;color:var(--muted);font-size:11px}
.modal{width:min(470px,calc(100vw - 30px));padding:0;border:0;border-radius:4px;box-shadow:0 18px 60px rgba(0,0,0,.3)}.modal::backdrop{background:rgba(8,7,7,.52)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line);background:#fafaf9}.modal-head h2{margin:0;color:var(--blue-dark)}.modal-body{display:grid;gap:13px;padding:18px 20px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid var(--line);background:#fafaf9}.opportunity-modal{width:min(680px,calc(100vw - 30px))}.opportunity-form-grid{grid-template-columns:1fr 1fr}.opportunity-actions{display:grid;grid-template-columns:auto 1fr auto auto}.form-hint{margin:0;color:var(--muted);font-size:11px}.toast{position:fixed;left:50%;bottom:24px;z-index:80;max-width:min(500px,calc(100vw - 30px));padding:11px 16px;border-radius:4px;background:var(--blue-dark);color:#fff;box-shadow:var(--shadow);opacity:0;transform:translate(-50%,20px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:1100px){.metrics{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1}.import-layout{grid-template-columns:1fr}.member-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.dashboard-wide{grid-column:auto}.donut-layout{grid-template-columns:160px 1fr}.donut-chart{width:150px;height:150px}.pipeline-filters{width:100%;flex-wrap:wrap}.pipeline-filters input{flex:1;min-width:190px}}
@media(max-width:760px){
  .auth-screen{display:block;padding:25px}.auth-visual{display:none}.auth-card{padding:20px 0}.auth-copy{margin:52px 0 25px}
  .sidebar{inset:0 auto 0 0;width:280px;height:100vh;padding:18px 14px;display:flex;flex-direction:column;background:var(--blue-dark);transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.sidebar>.sidebar-brand{padding:0 7px 22px}.sidebar>.sidebar-brand .brand-symbol{background:#fff;color:var(--blue)}
  .nav-list{display:grid;align-items:initial;gap:4px;padding:0;border:0;background:transparent}.nav-item{min-height:45px;padding:0 12px;border:0;border-radius:4px;color:#d8edff}.nav-item:first-child{border:0}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.13);color:#fff}.nav-item.active:after{top:8px;right:auto;bottom:8px;left:0;width:3px;height:auto;background:#1b96ff}.nav-icon{color:#fff}
  .sidebar-foot{margin-top:auto;padding:16px 7px 0;border-top:1px solid rgba(255,255,255,.2)}.app-main{padding:76px 12px 45px}.mobile-header{position:fixed;inset:0 0 auto 0;z-index:19;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 14px;background:var(--blue);color:#fff;box-shadow:var(--shadow)}.mobile-header .sidebar-brand{padding:0}.mobile-header .brand-symbol{width:34px;height:34px;background:#fff;color:var(--blue)}.mobile-header .icon-button{border-color:rgba(255,255,255,.65);background:transparent;color:#fff}
  .page-header{align-items:flex-start;flex-direction:column;min-height:0;padding:16px}.page-header h1{font-size:25px}.metrics{grid-template-columns:1fr 1fr}.metric-card{min-height:102px;padding:14px}.metric-card strong{font-size:27px}.filters{grid-template-columns:1fr}.search-box{grid-column:auto}.panel-head{align-items:flex-start;flex-direction:column}.panel-actions,.panel-actions .button{width:100%}.member-grid{grid-template-columns:1fr}.form-grid,.activity-compose{grid-template-columns:1fr}.field-wide{grid-column:auto}.drawer-actions{grid-template-columns:1fr 1fr}.drawer-actions span{display:none}.drawer-actions .button{width:100%}.import-actions{align-items:stretch;flex-direction:column}.import-actions .button{width:100%}
  .pipeline-board{margin:0 -1px;padding-left:11px}.pipeline-column{flex-basis:82vw}.pipeline-toolbar{align-items:stretch}.pipeline-filters{display:grid;grid-template-columns:1fr}.followup-row,.attention-row{grid-template-columns:95px 1fr}.followup-row>span:last-child,.attention-row>span:last-child{display:none}.opportunity-form-grid{grid-template-columns:1fr}.opportunity-form-grid .field-wide{grid-column:auto}.opportunity-actions{grid-template-columns:1fr 1fr}.opportunity-actions span{display:none}.donut-layout{grid-template-columns:1fr;justify-items:center}.chart-legend{width:100%}.dashboard-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:450px){.metrics{grid-template-columns:1fr 1fr}.metric-card strong{font-size:25px}.metric-card span{font-size:11px}.metric-card small{font-size:10px}}
