:root{--navy:#171717;--navy2:#2b2b2b;--teal:#b20c1a;--teal2:#d12733;--gold:#8a8a8a;--cream:#fafafa;--bg:#f5f5f5;--panel:#fff;--ink:#222222;--muted:#6a6a6a;--line:#dedede;--green:#21805b;--red:#c94343;--orange:#c87921;--shadow:0 18px 50px rgba(23,23,23,.1);--soft:0 8px 26px rgba(23,23,23,.07);--r:18px;--rs:12px}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:radial-gradient(circle at 90% 0,rgba(178,12,26,.1),transparent 34%),var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,h4,p{margin-top:0}a{color:var(--teal)}[hidden]{display:none!important}
/* Login */
.auth-page{min-height:100vh;background:#0f3039}.login{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(420px,.85fr)}.login-story{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:clamp(48px,8vw,120px);color:#fff;background:linear-gradient(140deg,rgba(23,23,23,.98),rgba(178,12,26,.9)),url('assets/mitty-logo.png') center/60% no-repeat}.login-story:before,.login-story:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(2px)}.login-story:before{width:520px;height:520px;right:-150px;top:-170px;background:rgba(178,12,26,.18)}.login-story:after{width:420px;height:420px;left:-170px;bottom:-210px;background:rgba(255,255,255,.1)}.login-story img{width:220px;filter:brightness(0) invert(1);margin-bottom:80px}.login-story>span{font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#eeeeee}.login-story h1{font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.05em;margin:18px 0 24px}.login-story p{max-width:580px;color:#f0f0f0;font-size:18px;line-height:1.65}.login-panel{align-self:center;width:min(480px,calc(100% - 48px));margin:auto;background:#fff;padding:44px;border:1px solid rgba(255,255,255,.6);border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.26)}.login-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:38px}.login-brand img{width:135px}.login-brand p{margin:0;color:var(--muted);font-size:11px;font-weight:850;text-transform:uppercase;text-align:right;letter-spacing:.08em}.login-panel h2{font-size:32px;letter-spacing:-.03em;margin-bottom:8px}.login-intro{color:var(--muted);margin-bottom:26px;line-height:1.5}.login-panel form{display:grid;gap:16px}.login-panel label{display:grid;gap:7px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:#555555}.login-panel input{width:100%;height:50px;border:1px solid var(--line);border-radius:12px;padding:0 14px;color:var(--ink);background:#fbfdfd;outline:0;transition:.2s}.login-panel input:focus{border-color:var(--teal2);box-shadow:0 0 0 4px rgba(178,12,26,.13);background:#fff}.password-field{position:relative}.password-field input{padding-right:72px}.password-field button{position:absolute;right:8px;top:7px;height:36px;border:0;border-radius:9px;padding:0 10px;background:#f7eded;color:var(--teal);font-weight:850}.login-submit,.recovery-action{position:relative;overflow:hidden;height:52px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;box-shadow:0 12px 28px rgba(178,12,26,.26)}.login-submit span{font-size:20px}.forgot-link{border:0;background:none;color:var(--teal);font-weight:800;padding:4px}.login-panel form>strong{min-height:18px;color:var(--red);font-size:13px;text-align:center}.login-credit{margin:28px -44px -44px;padding:18px 44px;background:#f7fbfb;border-radius:0 0 26px 26px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:850;letter-spacing:.08em}.login-credit img{width:48px;height:42px;object-fit:contain}.recovery-content{text-align:center;padding:22px}.recovery-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:#f7eded;color:var(--gold);font-size:28px}.recovery-content p{color:var(--muted);line-height:1.6;max-width:440px;margin:0 auto 24px}.recovery-action{height:46px;padding:0 22px}
/* Shell and navigation */
.shell{min-height:100vh;display:grid;grid-template-columns:290px minmax(0,1fr);transition:grid-template-columns .25s ease}.sidebar{position:sticky;top:0;height:100vh;overflow:auto;padding:20px 16px;display:flex;flex-direction:column;color:#fff;background:linear-gradient(180deg,var(--navy),var(--navy2));box-shadow:12px 0 40px rgba(23,23,23,.12);z-index:20}.brand{display:flex;align-items:flex-start;gap:10px;padding:4px 5px 22px;border-bottom:1px solid rgba(255,255,255,.1)}.brand>div{min-width:0;flex:1}.brand img{display:block;width:155px;filter:brightness(0) invert(1)}.brand small{display:block;margin-top:8px;color:#d6d6d6;font-size:10px;font-weight:750;letter-spacing:.04em}.brand button,#menuBtn{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:rgba(255,255,255,.08);color:#fff}.sidebar nav{display:grid;gap:7px;margin:24px 0}.nav,.glossary-link,#logoutBtn{position:relative;overflow:hidden;width:100%;min-height:44px;border:0;border-radius:11px;padding:0 13px;background:transparent;color:rgba(255,255,255,.76);text-align:left;font-weight:780;transition:.2s}.nav:before,.glossary-link:before,#logoutBtn:before,.preview-btn:before,.export-btn:before,.switch:before,.login-submit:before{content:"";position:absolute;inset:-80% auto -80% -45%;width:30%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);transition:left .55s ease;pointer-events:none}.nav:hover:before,.nav.active:before,.glossary-link:hover:before,#logoutBtn:hover:before,.preview-btn:hover:before,.export-btn:hover:before,.switch:hover:before,.login-submit:hover:before{left:120%}.nav:hover,.nav.active{background:#fff;color:var(--navy);box-shadow:0 8px 24px rgba(0,0,0,.13)}.profile{display:grid;gap:5px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.glossary-link{min-height:34px;font-size:11px;color:#d3d3d3}.profile-settings{display:flex;align-items:center;gap:9px}.profile-settings b{font-weight:800}.profile #userLabel{padding:12px 10px 4px;font-size:11px;color:#d3d3d3;overflow-wrap:anywhere}.profile form{margin:0}.sidebar-credit{margin-top:10px;padding:12px;border-radius:12px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between}.sidebar-credit span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#d3d3d3}.sidebar-credit img{width:38px;height:34px;object-fit:contain;border-radius:7px}.shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.shell.sidebar-collapsed .sidebar{transform:translateX(-100%);padding:0;overflow:hidden}.sidebar{transition:transform .25s,padding .25s}
/* Main surface */
main{min-width:0;padding:26px 30px 48px}.topbar{position:relative;overflow:hidden;min-height:104px;padding:23px 26px;margin-bottom:18px;border:1px solid rgba(255,255,255,.8);border-radius:var(--r);display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#fff 0,#f6fbfb 65%,#f7eded 100%);box-shadow:var(--soft)}.topbar:after{content:"";position:absolute;width:220px;height:220px;right:-70px;top:-120px;border-radius:50%;background:rgba(178,12,26,.16)}.eyebrow{margin:0 0 6px;color:var(--teal);font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.topbar h1{margin:0;font-size:30px;letter-spacing:-.035em}.review{position:relative;z-index:1;border:1px solid #e1b8bc;border-radius:999px;padding:9px 14px;background:rgba(255,255,255,.8);color:var(--teal);font-size:12px;font-weight:850}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;align-items:end;margin-bottom:18px;padding:14px;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--soft);backdrop-filter:blur(12px)}.filters label{display:grid;gap:6px;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900;letter-spacing:.05em}.filters input,.filters select,.settings-form input,.settings-form select{min-height:42px;border:1px solid var(--line);border-radius:11px;padding:0 12px;background:#fff;color:var(--ink);outline:0}.filters input:focus,.filters select:focus,.settings-form input:focus,.settings-form select:focus{border-color:var(--teal2);box-shadow:0 0 0 3px rgba(178,12,26,.12)}.filters button,.preview-btn,.export-btn,.stop-btn,.modal button,.date-apply{position:relative;overflow:hidden;min-height:40px;border:1px solid #e2b9bd;border-radius:11px;padding:0 13px;background:#fff1f2;color:#8d101b;font-weight:850}.filters button:hover,.preview-btn:hover,.export-btn:hover{background:var(--teal);color:#fff;border-color:var(--teal)}.view{display:none}.view.active{display:block}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px;margin-bottom:18px}.metric,.metric-card,.card,.panel,.chart,.stats-section,.flow-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--soft)}.metric{padding:17px}.metric span,.metric small{color:var(--muted);font-size:11px}.metric strong,.metric b{display:block;margin:6px 0;font-size:27px;color:var(--navy)}.flow-list{display:grid;gap:14px}.flow-card{padding:20px;transition:transform .2s,box-shadow .2s,border-color .2s}.flow-card:hover{transform:translateY(-2px);border-color:#d9b8bc;box-shadow:var(--shadow)}.flow-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px}.flow-main h3{font-size:19px;margin-bottom:8px}.readiness-line,.audience-strip{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.readiness-line strong{color:var(--green)}.readiness-line span,.audience-strip span,.pill,.status-pill,.badge{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:6px 9px;background:#fafafa;color:#666666;font-size:11px}.audience-strip b{font-size:14px;color:var(--navy);margin-right:4px}.source,.planning-note{color:var(--muted);font-size:12px;line-height:1.5}.touch-list{padding-left:20px;color:#666666;line-height:1.7}.flow-actions{min-width:175px;display:grid;justify-items:end;align-content:start;gap:10px}.switch{position:relative;overflow:hidden;width:86px;height:38px;border:0;border-radius:999px;padding:4px;background:#d6d6d6;display:flex;align-items:center;justify-content:space-between;color:#555555}.switch span{width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 3px 10px #0002}.switch b{font-size:11px;padding:0 8px}.switch.on{background:linear-gradient(135deg,var(--green),#35a879);color:#fff;flex-direction:row-reverse}.flow-switch-status{display:grid;justify-items:end;gap:5px}.flow-switch-status small{font-size:10px;color:var(--muted)}.cc-toggle{padding:9px;border-radius:11px;background:#fafafa;color:#666666;font-size:11px}.templates{display:
none}
.flow-card.open .templates{display:block}.template-head,.template-row{display:grid;grid-template-columns:70px minmax(220px,1.3fr) minmax(180px,1fr) 120px auto;gap:10px;align-items:center;padding:10px}.template-head{font-size:10px;text-transform:uppercase;font-weight:900;color:var(--muted);background:#edf7f8;border-radius:10px}.template-row{border-bottom:1px solid var(--line)}
/* Tables, charts, calendar and dialogs */
.section-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--r);background:#fff;box-shadow:var(--soft)}table{width:100%;border-collapse:collapse}th,td{padding:12px 11px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:12px}th{position:sticky;top:0;z-index:2;background:#f7eded;color:var(--navy);font-size:10px;text-transform:uppercase;letter-spacing:.04em}tbody tr:hover td{background:#f8fbfb}.chart-grid,.stats-page{display:grid;gap:16px}.stats-section,.chart,.card,.panel{padding:19px}.stats-section h2{font-size:20px}.snapshot-strip,.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.snapshot-strip span{padding:14px;border-radius:12px;background:#f7f7f7;border:1px solid var(--line)}.snapshot-strip b{display:block;font-size:22px;color:var(--navy)}.calendar-shell,.calendar-grid-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--soft);overflow:hidden}.calendar-toolbar,.calendar-head{padding:16px;background:linear-gradient(135deg,#fff,#f8f3f3);border-bottom:1px solid var(--line)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-height:128px;padding:9px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.calendar-day:hover{background:#f5fafb}.calendar-day.today{box-shadow:inset 0 0 0 2px var(--teal)}input[type=date]{color-scheme:light}.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(9,31,38,.66);backdrop-filter:blur(8px)}.modal-box{width:min(760px,100%);max-height:90vh;overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:22px;background:#fff;box-shadow:0 32px 100px rgba(0,0,0,.3);animation:modalIn .18s ease}.modal-box>header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.modal-box>header strong{font-size:17px}.modal-box>header button{min-height:34px}.modal-box #modalBody{padding:20px}@keyframes modalIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}.toast{position:fixed;right:22px;bottom:22px;padding:13px 16px;border-radius:12px;background:var(--navy);color:#fff;box-shadow:var(--shadow)}.stop-btn,.danger-action{background:#fff1f1!important;color:var(--red)!important;border-color:#f2c4c4!important}.positive-action{background:#ecf8f2!important;color:var(--green)!important}.one-time-password{display:block;padding:16px;border-radius:12px;background:#f8f3f3;font-size:18px}.settings-grid{display:grid;grid-template-columns:1fr;gap:16px}.settings-card-head,.section-head,.panel-head,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-form{display:grid;gap:13px}.settings-form label{display:grid;gap:6px;font-size:11px;font-weight:850;color:var(--muted)}.password-layout{display:grid;grid-template-columns:1fr .7fr;gap:20px}.password-note{padding:18px;border-radius:14px;background:#f8f3f3}.empty,.empty-state{padding:24px;border:1px dashed #b9dadd;border-radius:var(--r);background:#fff;color:var(--muted);text-align:center}
@media(max-width:1023px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;width:290px;transform:translateX(-102%)}.shell.sidebar-open .sidebar,.sidebar-mobile-open .sidebar{transform:none}main{padding:18px}.login{grid-template-columns:1fr}.login-story{display:none}.login-panel{margin:32px auto}.flow-main{grid-template-columns:1fr}.flow-actions,.flow-switch-status{justify-items:start}.password-layout{grid-template-columns:1fr}.template-head{display:none}.template-row{grid-template-columns:1fr}.calendar-grid{grid-template-columns:1fr}.calendar-day{min-height:auto}.review{max-width:45%;text-align:right}}
@media(max-width:620px){main{padding:12px}.topbar{padding:18px;align-items:flex-start;flex-direction:column}.review{max-width:none}.login-panel{width:calc(100% - 24px);padding:28px}.login-credit{margin:24px -28px -28px;padding:16px 28px}.login-brand{align-items:flex-start}.metric-grid,.snapshot-strip,.chart-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.modal{padding:10px}.modal-box{border-radius:16px}.flow-card{padding:15px}.table-wrap{border-radius:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.nav:before,.preview-btn:before,.switch:before,.login-submit:before{display:none}}
/* Data visualization system */
.funnel{display:flex;gap:8px;align-items:stretch;overflow:auto;padding:6px 2px 16px}.funnel-stage{min-width:130px;flex:1;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--soft)}.funnel-stage strong{display:block;font-size:25px;margin-top:7px;color:var(--navy)}.funnel-stage small{color:var(--muted)}.arrow{display:grid;place-items:center;color:var(--teal2);font-size:20px}.bar-list{display:grid;gap:10px}.bar{display:grid;grid-template-columns:minmax(130px,220px) minmax(160px,1fr) 80px;gap:10px;align-items:center}.bar .track{height:12px;border-radius:999px;background:#e8e8e8;overflow:hidden}.bar .track i,.bar span:nth-child(2) i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--teal),var(--gold))}.bar strong,.bar b{text-align:right}.visual-chart{min-height:260px;overflow:auto}.visual-chart svg,.svg-bar,.location-map svg{display:block;width:100%;height:auto;max-height:560px}.donut-wrap,.donut-layout{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}.donut{width:210px;height:210px;border-radius:50%;position:relative}.legend{display:grid;gap:7px}.legend-item{display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--ink)}.legend-item i{width:10px;height:10px;border-radius:50%}.chart-card-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-controls,.inline-controls,.stats-detail-actions,.stats-section-tabs{display:flex;gap:8px;flex-wrap:wrap}.chart-controls select,.inline-controls select{height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px}.stats-section-tabs{position:sticky;top:10px;z-index:8;margin-bottom:16px;padding:8px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);box-shadow:var(--soft)}.stats-section-tab{min-height:38px;border:0;border-radius:10px;padding:0 13px;background:transparent;color:var(--muted);font-weight:850}.stats-section-tab.active,.stats-section-tab:hover{background:var(--teal);color:#fff}.map-state,.city-point,.bar-seg,.donut-seg{cursor:pointer;transition:filter .18s,opacity .18s}.map-state:hover,.city-point:hover,.bar-seg:hover,.donut-seg:hover{filter:brightness(1.08);opacity:.88}.location-grid,.executive-insight-grid,.flow-calendar-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px}.location-card,.executive-insight-card,.flow-calendar-summary>article{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.calendar-month-grid,.flow-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));overflow:auto}.calendar-cell,.flow-calendar-day{min-height:120px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.calendar-event,.calendar-pill{display:block;margin-top:5px;padding:5px 7px;border-left:3px solid var(--teal);border-radius:7px;background:#fff1f2;font-size:10px}.calendar-event.sent{border-color:var(--green);background:#ebf7f1}.calendar-event.projected{border-color:var(--gold);background:#fff8e8}.status-block{margin-bottom:14px}.performance-empty dl{display:grid;grid-template-columns:minmax(150px,auto) 1fr;gap:8px 15px}.performance-empty dd{margin:0}.flow-context-note{grid-column:1/-1;padding:13px 15px;border-left:4px solid var(--gold);border-radius:10px;background:var(--cream);color:#69582f;font-size:12px}.shell.sidebar-collapsed .sidebar{transform:none;width:0;padding:0;overflow:visible;box-shadow:none}.shell.sidebar-collapsed .sidebar>*:not(.brand){display:none}.shell.sidebar-collapsed .brand>div{display:none}.shell.sidebar-collapsed #menuBtn{position:fixed;left:14px;top:14px;z-index:40;background:var(--navy);box-shadow:var(--soft)}.shell.sidebar-collapsed main{padding-left:70px}
@media(max-width:760px){.bar{grid-template-columns:1fr}.bar strong,.bar b{text-align:left}.funnel{display:grid}.arrow{transform:rotate(90deg)}.calendar-month-grid,.flow-calendar-grid{grid-template-columns:1fr}.calendar-cell,.flow-calendar-day{min-height:auto}.stats-section-tabs{position:static}.shell.sidebar-collapsed main{padding-left:12px}}
.shell main{margin-left:0!important;width:auto!important;max-width:none!important}.brand img{background:transparent!important;padding:0!important;border-radius:0!important}.date-apply,.primary-action,.stats-section-tab.active{background:var(--teal)!important;border-color:var(--teal)!important;color:#fff!important}.date-apply:hover:not(:disabled),.primary-action:hover,.stats-section-tab:hover{background:var(--teal2)!important;border-color:var(--teal2)!important}.calendar-grid-wrap{overflow-x:auto}.calendar-month{border-radius:14px}.calendar-cell{border-radius:8px}.cal-head button,.cal-actions button{background:#fff1f2!important;color:var(--teal)!important;border-color:#e2b9bd!important}
.auth-page{min-height:100vh!important;background:#fff!important;overflow-x:hidden}.auth-page .login{width:100%!important;min-height:100vh!important;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr)!important;place-items:stretch!important;background:#fff!important}.auth-page .login-story{min-height:100vh!important;padding:clamp(54px,8vw,128px)!important;justify-content:center!important;background:radial-gradient(circle at 15% 5%,rgba(178,12,26,.38),transparent 31%),linear-gradient(145deg,#171717 0%,#2b2b2b 58%,#b20c1a 125%)!important}.auth-page .login-story img{width:190px!important;margin:0 0 56px!important}.auth-page .login-story h1{font-size:clamp(42px,5vw,70px)!important;line-height:1.04!important;margin:14px 0 22px!important}.auth-page .login-form-wrap{position:relative;display:grid;place-items:center;padding:48px;background:linear-gradient(145deg,#fff,#f5faf9)}.auth-page .login-panel{width:min(430px,100%)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.auth-page .login-brand{margin-bottom:42px!important}.auth-page .login-brand img{width:128px!important;margin:0!important}.auth-page .login-panel h2{font-size:32px!important;margin:0 0 8px!important}.auth-page .login-intro{margin:0 0 30px!important}.auth-page .login-panel form{gap:18px!important}.auth-page .login-panel label{display:grid!important;gap:8px!important;margin:0!important}.auth-page .login-panel input{height:50px!important;padding:0 14px!important;border-radius:11px!important}.auth-page .password-field{position:relative!important;display:block!important}.auth-page .password-field input{width:100%!important;padding-right:78px!important}.auth-page .password-field #toggleLoginPassword{position:absolute!important;right:6px!important;top:50%!important;transform:translateY(-50%)!important;width:64px!important;height:38px!important;min-height:38px!important;padding:0 8px!important;margin:0!important;border:0!important;border-radius:9px!important;background:#f7eded!important;color:#8d101b!important;box-shadow:none!important;font-size:12px!important}.auth-page .password-field #toggleLoginPassword:hover{background:#d8eef1!important;color:#2b2b2b!important}.auth-page .login-submit{width:100%!important;height:50px!important;margin-top:2px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,var(--teal),var(--teal2))!important;color:#fff!important}.auth-page .forgot-link{width:auto!important;min-height:38px!important;justify-self:center!important;padding:7px 12px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--teal)!important;box-shadow:none!important}.auth-page .forgot-link:hover{background:rgba(178,12,26,.09)!important;color:var(--navy)!important}.auth-page .login-credit{margin:22px 0 0!important;padding:18px 0 0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}.auth-page .login-credit img{margin:0!important}@media(max-width:980px){.auth-page .login{grid-template-columns:1fr!important}.auth-page .login-story{display:none!important}.auth-page .login-form-wrap{min-height:100vh;padding:28px!important}}@media(max-width:520px){.auth-page .login-form-wrap{padding:24px!important}.auth-page .login-brand p{display:none}.auth-page .login-panel h2{font-size:28px!important}}
@media(max-width:980px){.auth-page .login-form-wrap{min-width:0!important;width:100%!important}.auth-page .login-panel{width:100%!important;max-width:430px!important;min-width:0!important}.auth-page .login-panel form,.auth-page .login-panel label,.auth-page .password-field{min-width:0!important;width:100%!important}}@media(max-width:520px){.auth-page .login-panel{max-width:calc(100vw - 48px)!important}.auth-page .password-field #toggleLoginPassword{right:5px!important;width:60px!important}.auth-page .password-field input{padding-right:72px!important}}
.sidebar{background:repeating-linear-gradient(92deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 7px),linear-gradient(180deg,#151515,#242424)!important}.auth-page .login-story{background:radial-gradient(circle at 82% 8%,rgba(178,12,26,.22),transparent 32%),repeating-linear-gradient(92deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 8px),linear-gradient(145deg,#151515 0%,#242424 62%,#7b1019 145%)!important}.calendar-cell.send-window{background:#fff5f5!important;border-color:#e5b9bd!important}.calendar-cell.has-events{box-shadow:inset 0 0 0 2px #efc7ca!important}.calendar-cell:hover,.calendar-cell:focus-visible{background:#fff0f1!important;border-color:#cf737b!important}.send-tag{color:#9f101b!important;background:#fff0f1!important;border-color:#e4b0b5!important}.calendar-event,.calendar-pill{border-left-color:var(--teal)!important;background:#fff1f2!important}.cal-grid button:hover,.cal-grid button:focus-visible{background:#fff0f1!important;border-color:#dba2a7!important}
@media(min-width:1024px){.shell{display:grid!important;grid-template-columns:290px minmax(0,1fr)!important;align-items:stretch!important}.sidebar{position:static!important;inset:auto!important;height:auto!important;min-height:100vh!important;max-height:none!important;overflow:visible!important;contain:none!important;align-self:stretch!important}.sidebar .profile{margin-top:30px!important}.shell main{margin-left:0!important;width:auto!important}.shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)!important}.shell.sidebar-collapsed .sidebar{position:static!important}}
@media(min-width:1024px){.sidebar{position:sticky!important;top:0!important;bottom:auto!important;height:100vh!important;min-height:0!important;max-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important;contain:layout paint!important;align-self:start!important}.sidebar .profile{margin-top:auto!important}}
@media(min-width:1024px){.shell{overflow:visible!important}.sidebar{position:sticky!important;top:0!important}}
@media(min-width:1024px){.sidebar{contain:none!important;transform:none!important}}
@media(min-width:1024px){.shell{display:block!important;overflow:visible!important}.sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:290px!important;min-width:290px!important;max-width:290px!important;height:100vh!important;max-height:100vh!important;overflow-y:auto!important;z-index:20!important}.shell main{margin-left:290px!important;width:calc(100% - 290px)!important}.shell.sidebar-collapsed .sidebar{transform:translateX(-100%)!important;visibility:hidden!important}.shell.sidebar-collapsed main{margin-left:0!important;width:100%!important}}
.modal.email-preview-modal{padding:18px}.modal.email-preview-modal .modal-box{width:min(1280px,calc(100vw - 36px));max-width:1280px;height:min(94vh,920px);max-height:94vh;overflow:hidden;display:flex;flex-direction:column}.modal.email-preview-modal #modalBody{overflow:auto;min-height:0;flex:1}.modal.email-preview-modal .email-preview-shell{width:100%;min-width:0;max-height:none;overflow:hidden}.modal.email-preview-modal .preview-frame{display:block;width:100%;min-width:0;height:calc(94vh - 260px);min-height:520px;border:1px solid var(--line)}
@media(max-width:760px){.modal.email-preview-modal{padding:8px}.modal.email-preview-modal .modal-box{width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:calc(100vh - 16px)}.modal.email-preview-modal .modal-box #modalBody{padding:12px}.modal.email-preview-modal .preview-frame{height:calc(100vh - 230px);min-height:360px}}
/* Balanced Mitty Supply palette: Red Line + Blue Line + farm utility accents */
:root{--brand-red:#cc1818;--brand-blue:#2f889a;--brand-blue-strong:#256f7e;--brand-royal:#3858e9;--brand-gold:#f0b849;--brand-green:#4ab866;--brand-charcoal:#1e1e1e;--teal:var(--brand-blue);--teal2:var(--brand-blue-strong);--gold:var(--brand-gold);--green:#2f9b57;--red:var(--brand-red);--bg:#f3f7f8;--line:#d9e3e5}
body{background:radial-gradient(circle at 92% 0,rgba(47,136,154,.13),transparent 33%),radial-gradient(circle at 14% 100%,rgba(240,184,73,.08),transparent 30%),var(--bg)}
.topbar{background:linear-gradient(120deg,#fff 0,#f0f8fa 62%,#fff8e8 100%);border-color:#dbe9eb}.topbar:after{background:rgba(47,136,154,.18)}.eyebrow{color:var(--brand-blue-strong)}.review{border-color:#b9d8de;background:#f1fafb;color:var(--brand-blue-strong)}
.filters button,.preview-btn,.export-btn,.modal button,.date-apply,.cal-head button,.cal-actions button{border-color:#b9d8de!important;background:#eef8fa!important;color:#246b79!important}.filters button:hover,.preview-btn:hover,.export-btn:hover,.modal button:hover,.cal-head button:hover,.cal-actions button:hover{background:var(--brand-blue)!important;border-color:var(--brand-blue)!important;color:#fff!important}.date-apply,.primary-action,.stats-section-tab.active{background:var(--brand-blue)!important;border-color:var(--brand-blue)!important;color:#fff!important}.date-apply:hover:not(:disabled),.primary-action:hover,.stats-section-tab:hover{background:var(--brand-blue-strong)!important;border-color:var(--brand-blue-strong)!important}.danger-action,.stop-btn{background:#fff1f1!important;color:#b51616!important;border-color:#efbcbc!important}
.metric{position:relative;overflow:hidden;border-top:4px solid var(--brand-blue)}.metric:after{content:"";position:absolute;width:78px;height:78px;right:-30px;top:-30px;border-radius:50%;background:rgba(47,136,154,.09)}.metric:nth-child(4n+2){border-top-color:var(--brand-royal);background:linear-gradient(145deg,#fff,#f3f5ff)}.metric:nth-child(4n+3){border-top-color:var(--brand-green);background:linear-gradient(145deg,#fff,#f1faf4)}.metric:nth-child(4n){border-top-color:var(--brand-gold);background:linear-gradient(145deg,#fff,#fff9ec)}.metric:nth-child(4n+2):after{background:rgba(56,88,233,.08)}.metric:nth-child(4n+3):after{background:rgba(74,184,102,.09)}.metric:nth-child(4n):after{background:rgba(240,184,73,.13)}
.flow-card{border-left:4px solid var(--brand-blue)}.flow-card:nth-child(3n+2){border-left-color:var(--brand-royal)}.flow-card:nth-child(3n){border-left-color:var(--brand-gold)}.flow-card:hover{border-color:#91c3cc}.audience-strip span:nth-child(4n+1){background:#eef8fa;border-color:#c6e1e6;color:#246b79}.audience-strip span:nth-child(4n+2){background:#f1f3ff;border-color:#d4dafb;color:#3049b9}.audience-strip span:nth-child(4n+3){background:#eef9f1;border-color:#cbe9d3;color:#277c43}.audience-strip span:nth-child(4n){background:#fff8e8;border-color:#f2dfae;color:#856319}.cc-toggle{background:#f1f7f8}
th{background:#eaf4f6;color:#245c67}tbody tr:hover td{background:#f3f9fa}.snapshot-strip span,.location-card,.executive-insight-card,.flow-calendar-summary>article{border-top:3px solid var(--brand-blue);background:linear-gradient(145deg,#fff,#f4fafb)}.snapshot-strip span:nth-child(4n+2),.location-card:nth-child(4n+2),.executive-insight-card:nth-child(4n+2){border-top-color:var(--brand-royal);background:linear-gradient(145deg,#fff,#f4f5ff)}.snapshot-strip span:nth-child(4n+3),.location-card:nth-child(4n+3),.executive-insight-card:nth-child(4n+3){border-top-color:var(--brand-green);background:linear-gradient(145deg,#fff,#f1faf4)}.snapshot-strip span:nth-child(4n),.location-card:nth-child(4n),.executive-insight-card:nth-child(4n){border-top-color:var(--brand-gold);background:linear-gradient(145deg,#fff,#fff9ec)}
.bar .track i,.bar span:nth-child(2) i{background:linear-gradient(90deg,var(--brand-blue),var(--brand-royal))}.arrow{color:var(--brand-gold)}.stats-section-tab.active,.stats-section-tab:hover{background:var(--brand-blue)!important}.calendar-cell.send-window{background:#f0f8fa!important;border-color:#b9d8de!important}.calendar-cell.has-events{box-shadow:inset 0 0 0 2px #b8dbe1!important}.calendar-cell:hover,.calendar-cell:focus-visible{background:#e9f6f8!important;border-color:#79b5c0!important}.send-tag{color:#246b79!important;background:#e9f6f8!important;border-color:#b3d9df!important}.calendar-event,.calendar-pill{border-left-color:var(--brand-blue)!important;background:#eef8fa!important}.calendar-event.sent{border-left-color:var(--brand-green)!important;background:#eef9f1!important}.calendar-event.projected{border-left-color:var(--brand-gold)!important;background:#fff8e8!important}
.auth-page .login-story{background:radial-gradient(circle at 82% 8%,rgba(47,136,154,.34),transparent 32%),radial-gradient(circle at 10% 88%,rgba(204,24,24,.18),transparent 28%),repeating-linear-gradient(92deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 8px),linear-gradient(145deg,#151515 0%,#24383c 72%,#2f889a 145%)!important}.auth-page .login-submit{background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-strong))!important;box-shadow:0 12px 28px rgba(47,136,154,.25)}.auth-page .password-field #toggleLoginPassword{background:#eaf4f6!important;color:#246b79!important}.auth-page .forgot-link{color:var(--brand-blue-strong)!important}
/* Canonical sidebar state: keep dashboard content in layout when navigation is collapsed */
@media(min-width:1024px){.shell.sidebar-collapsed{display:block!important;min-height:100vh!important}.shell.sidebar-collapsed .sidebar{position:fixed!important;transform:translateX(-100%)!important;visibility:hidden!important;pointer-events:none!important}.shell.sidebar-collapsed main{display:block!important;visibility:visible!important;opacity:1!important;margin-left:0!important;width:100%!important;min-width:0!important;grid-column:auto!important}.shell.sidebar-collapsed .topbar{padding-left:76px!important}.shell.sidebar-collapsed .filters,.shell.sidebar-collapsed .view{padding-left:36px!important}}
@media(max-width:1023px){.shell.sidebar-collapsed{display:block!important;min-height:100vh!important}.shell.sidebar-collapsed main{display:block!important;visibility:visible!important;opacity:1!important;margin-left:0!important;width:100%!important;min-width:0!important}.shell.sidebar-collapsed .sidebar{transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none!important}.shell.sidebar-collapsed .topbar{padding-left:58px!important}.shell.sidebar-collapsed .filters,.shell.sidebar-collapsed .view{padding-left:24px!important}}
.modal.campaign-detail-modal{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important}
.modal.campaign-detail-modal .modal-box{width:min(1080px,calc(100vw - 48px))!important;max-width:1080px!important;margin:auto!important;inset:auto!important}
.modal.campaign-detail-modal #modalBody{width:100%;min-width:0}
.modal.campaign-detail-modal .drilldown-table{width:100%;max-width:100%;margin-inline:auto}
@media(max-width:700px){.modal.campaign-detail-modal{padding:8px!important}.modal.campaign-detail-modal .modal-box{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}.modal.campaign-detail-modal .modal-box #modalBody{padding:12px}}
#view-status #funnel{display:block!important;width:100%;max-width:100%;overflow:visible!important}
#view-status #funnel .funnel-note{display:block;width:100%;max-width:none;margin:0 0 12px;padding:0}
#view-status #funnel .funnel-scroll{display:block;width:100%;max-width:100%;margin:0 auto}
#view-status #funnel .funnel-line{width:max-content;min-width:100%;justify-content:center;margin-inline:auto}
@media(max-width:900px){#view-status #funnel .funnel-line{justify-content:flex-start}}
.active-user-card{position:relative;display:grid;grid-template-columns:10px minmax(0,1fr);gap:9px;align-items:center;margin-top:3px;padding:10px 11px;border:1px solid rgba(105,216,179,.42);border-radius:12px;background:linear-gradient(135deg,rgba(35,164,117,.26),rgba(255,255,255,.08));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 22px rgba(0,0,0,.16)}
.active-user-presence{width:10px;height:10px;border-radius:50%;background:#58e0ad;box-shadow:0 0 0 4px rgba(88,224,173,.13),0 0 14px rgba(88,224,173,.72);animation:userPresence 2s ease-in-out infinite}
.active-user-card>div{min-width:0;display:grid;gap:2px}.active-user-card small{color:#a9ead1;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.active-user-card strong{display:block;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:11px;line-height:1.2}.active-user-card em{color:#d7e9e3;font-size:9px;font-style:normal}
@keyframes userPresence{50%{box-shadow:0 0 0 6px rgba(88,224,173,.06),0 0 18px rgba(88,224,173,.9)}}
.sidebar #logoutBtn{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:40px!important;min-height:40px!important;padding:4px 5px!important;border:1px solid #ff8080!important;border-radius:999px!important;background:linear-gradient(135deg,#e52d36,#a80916)!important;color:#fff!important;box-shadow:0 9px 22px rgba(190,16,27,.32)!important;text-align:left!important}
.sidebar #logoutBtn:hover{transform:translateY(-1px);background:linear-gradient(135deg,#f13b44,#bd0b1a)!important}.logout-knob{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 3px 9px rgba(91,0,7,.35)}.logout-copy{display:grid;justify-items:end;padding-right:10px;line-height:1}.logout-copy small{font-size:7px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffd8da}.logout-copy b{font-size:12px;letter-spacing:.08em}
.criteria-logic-map{display:grid;gap:16px;margin-bottom:20px}.criteria-rule-group{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--soft)}.criteria-rule-group>header{display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,#f4fbfc,#fff)}.criteria-rule-group>header>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--brand-blue);color:#fff;font-weight:900}.criteria-rule-group>header h2{margin:0;color:var(--navy);font-size:18px}.criteria-rule-group>header p{margin:2px 0 0;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.criteria-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.criteria-group-grid .criteria-note{min-height:0;margin:0;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:15px}.criteria-group-grid .criteria-note:last-child{border-right:0}.criteria-group-grid .criteria-note>b{width:38px;height:28px;border-radius:999px;background:#eaf6f8;color:var(--brand-blue);font-size:10px}.criteria-campaign>header,.criteria-delivery>header{background:linear-gradient(120deg,#fff4f4,#fff)}.criteria-campaign>header>span,.criteria-delivery>header>span{background:#b20c1a}.criteria-holds>header{background:linear-gradient(120deg,#fff8e9,#fff)}.criteria-holds>header>span{background:#b37916}.criteria-metrics>header{background:linear-gradient(120deg,#eef8f3,#fff)}.criteria-metrics>header>span{background:#27805e}
@media(max-width:1050px){.criteria-group-grid{grid-template-columns:1fr}.criteria-group-grid .criteria-note{border-right:0;border-bottom:1px solid var(--line)}.criteria-group-grid .criteria-note:last-child{border-bottom:0}}
@media(max-height:760px) and (min-width:1024px){.active-user-card{padding:6px 8px}.active-user-card em{display:none}.sidebar #logoutBtn{height:34px!important;min-height:34px!important}.logout-knob{width:26px;height:26px;flex-basis:26px}}
/* Single-scroll desktop navigation: fixed, always visible, and viewport-fitted */
@media(min-width:1024px){.sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;padding:14px 14px 12px!important;display:flex!important}.sidebar .brand{flex:0 0 auto;padding:2px 4px 14px!important}.sidebar .brand img{width:138px!important}.sidebar .brand small{margin-top:5px!important;font-size:9px!important;line-height:1.2}.sidebar nav{flex:0 1 auto;display:grid!important;gap:4px!important;margin:14px 0!important}.sidebar .nav{min-height:38px!important;height:38px!important}.sidebar .profile{flex:0 1 auto;margin-top:auto!important;padding-top:10px!important;gap:4px!important}.sidebar .glossary-link{min-height:29px!important;height:29px!important;padding:0 10px!important}.sidebar .profile-settings{min-height:36px!important;height:36px!important}.sidebar .active-user-card #userLabel{padding:0!important;font-size:11px!important}.sidebar #logoutBtn{min-height:40px!important;height:40px!important}.sidebar .sidebar-credit{margin-top:5px!important;padding:7px 9px!important}.sidebar .sidebar-credit img{width:31px!important;height:27px!important}}
@media(min-width:1024px) and (max-height:760px){.sidebar{padding-top:9px!important;padding-bottom:8px!important}.sidebar .brand{padding-bottom:8px!important}.sidebar .brand img{width:116px!important}.sidebar nav{gap:2px!important;margin:8px 0!important}.sidebar .nav{min-height:33px!important;height:33px!important;font-size:12px!important}.sidebar .profile{padding-top:6px!important;gap:2px!important}.sidebar .glossary-link{min-height:25px!important;height:25px!important;font-size:10px!important}.sidebar .profile-settings{min-height:31px!important;height:31px!important}.sidebar .active-user-card #userLabel{padding:0!important}.sidebar #logoutBtn{min-height:34px!important;height:34px!important}.sidebar .sidebar-credit{padding:4px 8px!important}.sidebar .sidebar-credit img{width:27px!important;height:23px!important}}
@media(max-width:1023px){.sidebar{overflow-y:auto!important;overscroll-behavior:contain}}
/* One vertical scrollbar per dashboard view; nested regions may scroll horizontally only */
html{overflow-y:scroll}.view .table-wrap,.view .pending-classification-wrap,.view .calendar-flow-table .table-wrap,.view .visual-chart,.view .location-state-card,.view .location-bar-card,.view .large-bar-card,.view .funnel,.view .funnel-scroll,.view .calendar-month-grid,.view .flow-calendar-grid,.view .usa-map-panel{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}.view .location-legend,.view .legend{max-height:none!important;overflow:visible!important}.view .action-table{height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}.view .calendar-grid-wrap{overflow-x:auto!important;overflow-y:visible!important}
/* Action Plan horizontal scrollbar follows the viewport while the table is in view */
#view-plan .action-scrollbar{display:none;height:20px;overflow-x:scroll!important;overflow-y:hidden!important;background:#eef5f6;border:1px solid #aacdd4;border-radius:8px;box-shadow:0 -5px 18px rgba(20,64,72,.16);scrollbar-color:var(--brand-blue) #dcebed;scrollbar-width:auto}#view-plan .action-scrollbar.is-fixed{display:block;position:fixed!important;bottom:0!important;z-index:80!important}#view-plan .action-scrollbar>div{height:1px}
/* Compact power-only logout control */
.sidebar .profile form{display:flex;justify-content:center;align-items:center}
.sidebar #logoutBtn,.sidebar #logoutBtn:where(:hover,:focus-visible){display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid #ff7b83!important;border-radius:50%!important;background:linear-gradient(145deg,#ef3944,#a80715)!important;color:#fff!important;box-shadow:0 8px 20px rgba(190,16,27,.34)!important;text-align:center!important}
.sidebar #logoutBtn:hover{transform:translateY(-2px) scale(1.03)}
.sidebar #logoutBtn:focus-visible{outline:3px solid rgba(255,255,255,.7);outline-offset:3px}
.sidebar #logoutBtn svg{position:relative;z-index:1;display:block;width:21px;height:21px;margin:0;transform:translate(0,0);fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
@media(max-height:760px) and (min-width:1024px){.sidebar #logoutBtn{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}.sidebar #logoutBtn svg{width:18px;height:18px}}
/* Exact optical centering for the power glyph */
.sidebar #logoutBtn::before{display:none!important;content:none!important}
.sidebar #logoutBtn svg,.sidebar #logoutBtn:hover svg,.sidebar #logoutBtn:focus-visible svg{position:absolute!important;left:50%!important;top:50%!important;width:20px!important;height:20px!important;margin:0!important;transform:translate(-50%,-50%)!important;transform-origin:center!important;overflow:visible!important}
@media(max-height:760px) and (min-width:1024px){.sidebar #logoutBtn svg{width:18px!important;height:18px!important}}
/* Settings and logout share one centered action row */
.sidebar .profile-actions{display:flex;align-items:center;justify-content:center;gap:12px;width:100%}
.sidebar .profile-actions form{display:flex;align-items:center;justify-content:center;margin:0}
.sidebar .profile-actions .profile-settings{position:relative;display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid rgba(127,215,223,.72)!important;border-radius:50%!important;background:linear-gradient(145deg,#318995,#17616c)!important;color:#fff!important;box-shadow:0 8px 20px rgba(13,80,91,.3)!important}
.sidebar .profile-actions .profile-settings:hover{transform:translateY(-2px) scale(1.03);background:linear-gradient(145deg,#3d9ca8,#1c6f7a)!important;color:#fff!important}
.sidebar .profile-actions .profile-settings::before{display:none!important;content:none!important}
.sidebar .profile-actions .profile-settings svg{position:absolute;left:50%;top:50%;width:20px;height:20px;transform:translate(-50%,-50%);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-height:760px) and (min-width:1024px){.sidebar .profile-actions .profile-settings{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}.sidebar .profile-actions .profile-settings svg{width:18px;height:18px}}
/* Self-service password recovery */
.recovery-box{width:min(580px,calc(100vw - 28px));max-height:92dvh;overflow:auto}.recovery-content{padding:22px!important}.recovery-form{display:grid;gap:11px;width:100%;margin:0}.recovery-form label{display:grid;gap:6px;color:var(--navy);font-size:11px;font-weight:800;text-align:left}.recovery-form input{width:100%;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;color:var(--ink)}.recovery-form input:focus{outline:3px solid rgba(35,128,142,.16);border-color:var(--teal)}.recovery-action{display:grid;place-items:center;width:100%;min-height:42px;border:0;border-radius:10px;background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff;font-weight:850;text-decoration:none}.recovery-action.reset{background:linear-gradient(135deg,#b20c1a,#7d0711)}.recovery-divider{display:flex;align-items:center;gap:10px;width:100%;margin:4px 0;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.recovery-divider::before,.recovery-divider::after{content:"";height:1px;flex:1;background:var(--line)}.recovery-message{width:100%;padding:10px 12px;border-radius:9px;font-size:12px;text-align:left}.recovery-message.success{border:1px solid #88d3b4;background:#eaf8f1;color:#176247}.recovery-message.error{border:1px solid #ef9ca2;background:#fff0f1;color:#9b101a}.recovery-form .recovery-show{display:flex;align-items:center;gap:8px}.recovery-form .recovery-show input{width:16px;height:16px}.recovery-form small{color:var(--muted);font-size:10px;text-align:left}
/* Flow family accordions — August 2026 post-purchase integration */
.flow-family-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}.flow-family-menu,.flow-family-group{background:#fff;border:1px solid #e3d9d3;border-radius:14px;box-shadow:0 6px 18px rgba(72,34,23,.06);overflow:hidden}.flow-family-menu summary,.flow-family-group>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;color:#4b241d;font-weight:800;list-style:none}.flow-family-menu summary::-webkit-details-marker,.flow-family-group>summary::-webkit-details-marker{display:none}.flow-family-menu summary:after,.flow-family-group>summary:after{content:"+";font-size:20px;color:#a9382c}.flow-family-menu[open] summary:after,.flow-family-group[open]>summary:after{content:"−"}.flow-family-menu summary b,.flow-family-group>summary b{margin-left:auto;color:#8b6d64;font-size:12px;white-space:nowrap}.flow-family-menu>div{display:grid;gap:6px;padding:0 14px 14px}.flow-family-menu button{border:0;border-radius:9px;background:#f8f3f0;color:#5a3028;padding:10px 12px;text-align:left;cursor:pointer}.flow-family-menu button:hover{background:#f0dfd7}.flow-family-group{margin-bottom:16px}.flow-family-cards{display:grid;gap:14px;padding:0 14px 14px}.flow-family-group .flow-card{margin:0}.switch[disabled][title*="Always active"]{opacity:1;cursor:default}.switch[disabled][title*="Always active"] b{color:#267447}@media(max-width:800px){.flow-family-nav{grid-template-columns:1fr}.flow-family-menu summary,.flow-family-group>summary{align-items:flex-start;flex-wrap:wrap}}

.flow-number-badge{display:inline-flex;align-items:center;margin-right:10px;padding:5px 9px;border:1px solid rgba(55,65,81,.22);border-radius:8px;color:#3f302b;font-size:12px;font-weight:900;vertical-align:2px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}

.dashboard-booting{overflow:hidden}.dashboard-booting #shell{visibility:hidden;opacity:0}.dashboard-ready #shell{animation:dashboardReveal .28s ease both}.dashboard-boot{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f8f3f0 0%,#fff 48%,#f5ebec 100%);opacity:1;transition:opacity .28s ease}.dashboard-boot.done{opacity:0;pointer-events:none}.dashboard-boot-card{display:grid;justify-items:center;gap:12px;width:min(340px,calc(100vw - 48px));padding:30px;border:1px solid rgba(178,23,32,.12);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 24px 70px rgba(72,34,23,.12);text-align:center}.dashboard-boot-card img{width:170px}.dashboard-boot-card strong{color:#4b241d;font-size:16px}.dashboard-boot-card small{color:#8b6d64}.dashboard-boot-spinner{width:30px;height:30px;border:3px solid #ecd9d9;border-top-color:#a9382c;border-radius:50%;animation:dashboardSpin .8s linear infinite}@keyframes dashboardSpin{to{transform:rotate(360deg)}}@keyframes dashboardReveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.dashboard-boot,.dashboard-ready #shell{transition:none;animation:none}.dashboard-boot-spinner{animation-duration:1.5s}}
/* Disabled Twilio foundation: visibility without send controls */
.sms-foundation{display:grid;gap:18px}.sms-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #e8c7ca;border-radius:18px;background:linear-gradient(135deg,#fff5f5,#fff);box-shadow:var(--soft)}.sms-hero h2{margin:8px 0 5px;color:var(--navy)}.sms-hero p{max-width:760px;margin:0;color:var(--muted)}.sms-status,.sms-lock,.sms-field-pending{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f8dfe1;color:#8d1019;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.sms-lock{flex:0 0 auto;padding:12px 16px;background:#8d1019;color:#fff}.sms-metrics{margin:0}.sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sms-details{display:grid;gap:0;margin:0}.sms-details>div,.sms-checks>div{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}.sms-details>div:last-child,.sms-checks>div:last-child{border-bottom:0}.sms-details dt,.sms-checks span{color:var(--muted);font-weight:700}.sms-details dd{margin:0;color:var(--navy);font-weight:800;text-align:right}.sms-checks b{padding:4px 8px;border-radius:999px;font-size:10px;text-transform:uppercase}.sms-checks .ready{background:#e8f7ef;color:#176247}.sms-checks .blocked{background:#fff0d9;color:#86530b}@media(max-width:820px){.sms-hero{align-items:flex-start;flex-direction:column}.sms-grid{grid-template-columns:1fr}}

/* Disabled Meta + Callbell foundation */
.social-hero{background:linear-gradient(135deg,#eef6ff,#fff);border-color:#bdd4ed}.social-hero .sms-status{background:#dcecff;color:#19568d}.social-hero .sms-lock{background:#19568d}.social-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.social-tags span{padding:7px 10px;border-radius:999px;background:#edf4f8;color:var(--navy);font-size:11px;font-weight:800}
