:root{--sp-bg:#f4f6f8;--sp-surface:#fff;--sp-ink:#172733;--sp-muted:#607584;--sp-border:#d7e2e9;--sp-accent:#ff9d0a;--sp-radius:10px}
html{font-size:16px!important}body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:1rem!important;line-height:1.5!important;color:var(--sp-ink);background:var(--sp-bg)}
body h1{font-size:1.875rem!important;line-height:1.3!important}body h2{font-size:1.5rem!important;line-height:1.3!important}body h3{font-size:1.05rem!important;line-height:1.4!important}body :is(label,p,button,select,input,textarea){font-size:.875rem;line-height:1.5}body p{overflow-wrap:anywhere}
body .main,body main{min-width:0}body .view{min-width:0}body .main .view h2,body .view>h2{font-size:1.5rem!important;line-height:1.3!important;letter-spacing:-.02em}
body .main .view h3,body dialog h3{font-size:1.05rem!important;line-height:1.4!important}body dialog h2{font-size:1.35rem!important}
body .main .view :is(p,label,button,select,input,textarea,td,th),body dialog :is(p,label,button,select,input,textarea,td,th){font-size:.875rem!important;line-height:1.5!important;letter-spacing:normal}
body .sidebar .nav-item{font-size:.875rem!important;line-height:1.4!important}body :is(.x40-muted,.muted,small,.crm-meta){font-size:.75rem!important;line-height:1.5!important}
body :is(button,input,select,textarea){font-family:inherit}body :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file])){min-height:38px;box-sizing:border-box}body :is(input,select,textarea){max-width:100%}
body :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #29668a!important;outline-offset:3px}
body :is(.x40-card,.m23-card,.v28-card,.crm-company-card){border:1px solid var(--sp-border);border-radius:var(--sp-radius);background:var(--sp-surface)}
body .x40-table table{min-width:650px}body table th{text-align:left;font-weight:650}body table :is(th,td){padding:12px!important;vertical-align:top}body .x40-dialog{width:min(1080px,94vw);max-height:90dvh}body dialog{box-sizing:border-box}body .x40-grid>*{min-width:0}
body #crmContent .crm253-card>label.crm253-check{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body #crmContent .crm253-card>label.crm253-check>input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;box-shadow:none!important;appearance:auto!important;accent-color:var(--sp-accent);border:0!important}
body #crmContent .crm-company-card{padding:18px 14px!important}body #crmContent .crm-company-card :is(h3,strong){line-height:1.4!important}body #crmContent .crm-company-card h3{padding-right:28px}
.m23-gmail.ok{padding:8px 12px!important;font-size:.875rem}.m23-account-settings{margin-left:auto}.m23-account-settings summary{cursor:pointer}.m23-account-settings[open]{padding:8px}.m23-account-settings button{display:block;margin-top:8px}
.x40-danger{color:#ad2525!important;border-color:#e6bebe!important;background:#fff8f8!important}.x40-check{display:flex;gap:10px;align-items:center}.x40-check input{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px}
.mw41-palette-row{display:grid;grid-template-columns:38px minmax(160px,1fr) auto;gap:8px;align-items:center;margin:8px 0}.mw41-palette-row input[type=color]{width:36px;height:36px;min-width:0;padding:2px;border:1px solid var(--sp-border);border-radius:6px}.mw41-palette-row input[type=text]{min-width:0;padding:7px;border:1px solid var(--sp-border);border-radius:6px;font-size:14px}.mw41-palette-actions{display:flex;flex-wrap:wrap;gap:8px}.mw41-legend summary{cursor:pointer;font-size:14px}.mw41-legend{max-width:440px}.mw41-legend .mw39-color-row{margin:8px 0}
.sp41-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sp41-column{background:#eef2f5;border:1px solid var(--sp-border);border-radius:10px;padding:16px}.sp41-task{padding:14px;background:#fff;border:1px solid var(--sp-border);border-radius:8px;margin:12px 0}.sp41-task p{margin:7px 0}.sp41-task button{margin:4px}.sp41-task.overdue{border-left:3px solid #b54444}.sp41-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.cal41-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.cal41-countries{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.cal41-country{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--sp-border);border-radius:8px;padding:8px 10px}.cal41-country input{width:18px;min-height:18px!important}.cal41-country button{min-height:28px}.cal41-months{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.cal41-month{background:white;padding:16px;border:1px solid var(--sp-border);border-radius:10px}.cal41-day{border-top:1px solid var(--sp-border);padding:10px 0}.cal41-day small{display:block;color:var(--sp-muted)}
@media(max-width:1000px){.sp41-columns,.cal41-months{grid-template-columns:1fr 1fr}}@media(max-width:700px){.sp41-columns,.cal41-months{grid-template-columns:1fr}body .x40-grid{grid-template-columns:1fr}body .x40-head{align-items:flex-start;gap:12px;flex-direction:column}.mw41-palette-row{grid-template-columns:36px minmax(90px,1fr) auto}}

:root{--sp-font-main:16px;--sp-font-small:12px;--sp-font-mini:12px}
