/* Hero-only dashboard. Based on the app's student snapshot, trends and follow-ups. */
.spw-hero-dashboard{position:relative;isolation:isolate;min-width:0}
.spw-hero-dashboard:before{content:"";position:absolute;z-index:-1;inset:12% -8% 4%;background:radial-gradient(ellipse,#e5d6c9 0%,#e7cdbb66 42%,transparent 70%);filter:blur(24px)}
.spw-hd-window{overflow:hidden;border:1px solid #dddcd9;border-radius:15px;background:#faf9f6;box-shadow:0 24px 56px -24px #58463255,0 4px 12px #5b49300a;outline:5px solid #ffffff75}
.spw-hd-topbar{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:55px;padding:12px 15px;background:#fffdfb;border-bottom:1px solid #e9e5df}
.spw-hd-school{display:flex;gap:8px;align-items:center;min-width:0}.spw-hd-school img{width:27px;height:27px;flex-shrink:0}.spw-hd-school strong{display:block;font-size:12px;line-height:1.3;letter-spacing:-.2px}.spw-hd-school strong>span{display:block;font-size:12px;letter-spacing:.1px;color:#827d76;font-weight:400;margin-top:2px}
.spw-hd-context{display:flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap;color:#6e706e}.spw-hd-context>span{padding:4px 6px;border:1px solid #e8e5e0;border-radius:5px;background:#fff}.spw-hd-context .spw-hd-sample{border-color:#dbebdf;background:#edf7f0;color:#376b4a}
.spw-hd-body{display:flex;min-width:0}.spw-hd-rail{flex:0 0 45px;padding:13px 7px 11px;display:flex;align-items:center;gap:8px;flex-direction:column;border-right:1px solid #e9e5df;background:#fffdfb}.spw-hd-rail>span{width:30px;height:30px;display:grid;place-items:center;color:#8b8a89;border-radius:7px}.spw-hd-rail>span.is-current{color:white;background:#c45123;box-shadow:0 3px 6px #c4512326}.spw-hd-rail svg{width:15px;height:15px}.spw-hd-rail .spw-hd-owner{margin-top:auto;background:#ede9e4;color:#726353;font-size:12px;font-weight:700;border:2px solid white;border-radius:50%;width:26px;height:26px}
.spw-hd-main{flex:1;min-width:0;padding:16px 14px 14px;display:grid;gap:12px}.spw-hd-heading{display:flex;gap:8px;align-items:center;justify-content:space-between}.spw-hd-heading p{color:#a45630;font-size:12px;font-weight:700;letter-spacing:1.15px;line-height:1.5}.spw-hd-heading h3{font-size:22px;letter-spacing:-.7px;margin:3px 0 2px;line-height:1.15;color:#292e33}.spw-hd-heading>div>span{font-size:12px;color:#86838a;display:block;line-height:1.6}.spw-hd-take-fees{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;align-self:center;background:#c45123;color:white;border-radius:6px;padding:8px 9px;font-size:12px;font-weight:650;box-shadow:0 3px 7px #c4512320}.spw-hd-take-fees svg{width:12px;height:12px}.spw-hd-take-fees svg:last-child{width:10px}
.spw-hd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}.spw-hd-stat{position:relative;overflow:hidden;display:flex;gap:7px;align-items:center;padding:11px 8px;min-height:69px;border:1px solid var(--hd-border);border-radius:8px;background:linear-gradient(115deg,#fff 7%,var(--hd-surface));color:var(--hd-ink)}.spw-hd-stat:after{content:"";position:absolute;right:-13px;top:-15px;width:47px;height:47px;border:9px solid var(--hd-border);border-radius:50%;opacity:.45}.spw-hd-stat>span{display:grid;place-items:center;background:var(--hd-icon);border-radius:8px;flex:0 0 27px;height:29px}.spw-hd-stat svg{width:16px;height:16px}.spw-hd-stat>div{position:relative;z-index:1;min-width:0}.spw-hd-stat dt{font-size:12px;line-height:1.35;white-space:nowrap}.spw-hd-stat dd{font-size:23px;line-height:1.15;letter-spacing:-.8px;font-weight:750;color:#303238;margin:3px 0 0}
.spw-hd-orange{--hd-ink:#b7602e;--hd-surface:#fff0e1;--hd-border:#f0ddc8;--hd-icon:#ffe7cf;--hd-bar:#df9668;--hd-bar-end:#c86f37}.spw-hd-blue{--hd-ink:#4a6fbc;--hd-surface:#edf3ff;--hd-border:#dce4f5;--hd-icon:#e0eafe;--hd-bar:#85a4e8;--hd-bar-end:#5e83d1}.spw-hd-purple{--hd-ink:#895bb6;--hd-surface:#f6edff;--hd-border:#e9ddf5;--hd-icon:#eedeff;--hd-bar:#bba1ed;--hd-bar-end:#9872d4}.spw-hd-green{--hd-ink:#3c8268;--hd-surface:#ebf8ef;--hd-border:#d8eade;--hd-icon:#d7f0e2;--hd-bar:#80c4ae;--hd-bar-end:#4fa78d}.spw-hd-cyan{--hd-bar:#8ccad7;--hd-bar-end:#64afc1}.spw-hd-rose{--hd-bar:#e8a0b9;--hd-bar-end:#c96e93}
.spw-hd-charts{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);gap:10px}.spw-hd-panel{min-width:0;border:1px solid #e6e3e8;border-radius:9px;background:#fff;padding:12px 11px;box-shadow:0 2px 4px #2b214603}.spw-hd-panel-title{display:flex;justify-content:space-between;align-items:center;gap:5px}.spw-hd-panel-title p{font-size:12px;font-weight:650;letter-spacing:.8px;line-height:1.7;display:flex;align-items:center;gap:4px;color:#77747f}.spw-hd-panel-title p>i{width:4px;height:4px;border-radius:50%;flex-shrink:0}.spw-hd-dot-blue{background:#7794de}.spw-hd-dot-green{background:#4ea593}.spw-hd-dot-orange{background:#d1a53b}.spw-hd-dot-rose{background:#c97b9b}.spw-hd-panel-title h4{font-family:inherit;font-size:12px;font-weight:700;letter-spacing:-.2px;color:#34343c;margin:2px 0 0;line-height:1.4}.spw-hd-panel-title>span{font-size:12px;white-space:nowrap;background:#f6f5f8;border:1px solid #efedf2;border-radius:4px;padding:3px 4px;line-height:1.5;color:#8b8491}
.spw-hd-fee-totals{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 13px}.spw-hd-fee-totals small{display:block;font-size:12px;color:#7c7784;line-height:1.5}.spw-hd-fee-totals strong{font-size:23px;line-height:1.3;letter-spacing:-.7px;color:#33313b;white-space:nowrap}.spw-hd-fee-totals>div:last-child{padding:5px 7px;background:#f0f9f5;border-radius:5px;text-align:right}.spw-hd-fee-totals>div:last-child small{color:#609180;font-size:12px}.spw-hd-fee-totals b{display:block;color:#398d72;white-space:nowrap;font-size:12px;line-height:1.5}
.spw-hd-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;height:100px;position:relative;margin-top:4px;padding-top:14px;background:repeating-linear-gradient(to top,#efedf4 0px,#efedf4 1px,transparent 1px,transparent 25px);background-size:100% 76px;background-repeat:no-repeat;background-position:0 14px;border-bottom:1px solid #e9e7ed}.spw-hd-bar{position:relative;min-width:0;display:flex;justify-content:flex-end;flex-direction:column;align-items:center}.spw-hd-bar i{display:block;min-height:3px;width:100%;max-width:27px;height:calc(var(--bar-height)*.72);border-radius:4px 4px 0 0;background:linear-gradient(var(--hd-bar),var(--hd-bar-end));box-shadow:inset 0 1px 0 #ffffff60}.spw-hd-bar small{font-size:12px;color:#8a8294;line-height:1;margin-bottom:4px;font-variant-numeric:tabular-nums}.spw-hd-bar>span{font-size:12px;color:#8e8797;line-height:14px;position:absolute;top:100%;padding-top:3px}.spw-hd-panel .spw-hd-panel-note{font-size:12px;color:#8d8596;line-height:1.6;margin-top:22px}
.spw-hd-attendance-total{display:flex;gap:9px;align-items:center;margin-top:17px;margin-bottom:13px}.spw-hd-attendance-total>strong{font-size:32px;line-height:1.1;color:#347e67;letter-spacing:-1.4px}.spw-hd-attendance-total>strong small{font-size:16px;letter-spacing:-.5px}.spw-hd-attendance-total>div{display:grid;gap:3px}.spw-hd-attendance-total b{font-size:12px;color:#567c6e}.spw-hd-attendance-total span{font-size:12px;color:#9a8b97}.spw-hd-attendance-chart{height:73px;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;background:repeating-linear-gradient(to top,#eeedf2 0px,#eeedf2 1px,transparent 1px,transparent 24px);border-bottom:1px solid #eeedf2;padding-top:3px}.spw-hd-attendance-chart>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;border-radius:3px 3px 0 0;overflow:hidden;position:relative}.spw-hd-attendance-chart i{display:block;height:calc(98% - var(--present));min-height:1px;background:#e4a4bd}.spw-hd-attendance-chart em{display:block;height:2%;min-height:1px;background:#b5a3de}.spw-hd-attendance-chart b{display:block;height:var(--present);background:#7abdaa}.spw-hd-attendance-chart .is-today b{background:#36977b}.spw-hd-attendance-axis{display:flex;justify-content:space-between;font-size:12px;color:#9a8b97;margin-top:5px}.spw-hd-legend{display:flex;gap:9px;align-items:center;font-size:12px;color:#8d8495;margin-top:12px}.spw-hd-legend>span{display:inline-flex;gap:3px;align-items:center}.spw-hd-legend i{width:4px;height:4px;border-radius:50%;background:#67af97}.spw-hd-legend>span:nth-child(2) i{background:#dc9cb5}.spw-hd-legend>span:nth-child(3) i{background:#b5a3de}
.spw-hd-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px}.spw-hd-reminders{border-top:2px solid #d9ba6b}.spw-hd-followups{border-top:2px solid #d396ad}.spw-hd-panel-title>.spw-hd-count{font-size:12px;color:#ac8134;background:#fff7e4;border-color:#f3e4bd;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;padding:0}
.spw-hd-task{display:flex;gap:7px;align-items:center;margin-top:11px}.spw-hd-task-icon{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:6px;background:#f6f0fc;color:#9876b8}.spw-hd-task:nth-child(3) .spw-hd-task-icon{background:#fdf5e7;color:#bb9350}.spw-hd-task svg{width:13px;height:13px}.spw-hd-task>div{min-width:0}.spw-hd-task strong{font-size:12px;font-weight:600;line-height:1.5;display:block}.spw-hd-task small{display:block;font-size:12px;color:#95899d;line-height:1.6;margin-top:1px}.spw-hd-person{display:flex;gap:7px;align-items:center;margin-top:10px}.spw-hd-person>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;background:#f1eafa;color:#946bbb;border-radius:8px;font-size:12px;font-weight:600}.spw-hd-person:nth-child(3)>span{background:#e8f2fc;color:#739cc4}.spw-hd-person>div{flex:1;min-width:0}.spw-hd-person strong{display:block;font-size:12px;font-weight:600;line-height:1.5}.spw-hd-person small{display:block;font-size:12px;color:#988d9f;line-height:1.6}.spw-hd-person>b{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#b76889;letter-spacing:-.25px}
.spw-hero-dashboard figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;padding:0 5px;color:#897e74;font-size:12px;line-height:1.6}.spw-hero-dashboard figcaption>span{display:flex;align-items:center;gap:6px}.spw-hero-dashboard figcaption svg{width:12px;height:12px;color:#b57a54}.spw-hero-dashboard figcaption small{font-size:12px;color:#9b928b}
@media(min-width:861px){.spw-compact.spw-erp .spw-erp-hero-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px}}
@media(min-width:861px) and (max-width:1100px){.spw-hd-rail{display:none}.spw-hd-main{padding:13px 10px;gap:10px}.spw-hd-stat{padding:10px 7px;gap:5px}.spw-hd-stat>span{display:none}.spw-hd-stat dt{font-size:12px}.spw-hd-fee-totals strong{font-size:20px}.spw-hd-panel{padding:11px 9px}.spw-hd-panel-title>span{display:none}.spw-hd-person small{font-size:12px}}
@media(max-width:860px){.spw-hero-dashboard{max-width:650px;margin:auto}}
@media(max-width:540px){.spw-hd-rail{display:none}.spw-hd-topbar{padding:11px 12px;gap:7px}.spw-hd-context{gap:4px}.spw-hd-context>span{font-size:12px;padding:4px}.spw-hd-context>span:first-child{display:none}.spw-hd-main{padding:14px 11px 11px;gap:10px}.spw-hd-heading h3{font-size:23px}.spw-hd-heading p{font-size:12px;letter-spacing:1px}.spw-hd-heading>div>span{font-size:12px;max-width:155px}.spw-hd-take-fees{font-size:12px;padding:8px;gap:4px}.spw-hd-take-fees svg:last-child{display:none}.spw-hd-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.spw-hd-stat{padding:10px 8px;min-height:64px;gap:7px}.spw-hd-stat>span{flex-basis:31px;height:33px}.spw-hd-stat svg{width:18px;height:18px}.spw-hd-stat dt{font-size:12px}.spw-hd-stat dd{font-size:25px}.spw-hd-charts{grid-template-columns:1fr;gap:10px}.spw-hd-panel{padding:13px}.spw-hd-panel-title p{font-size:12px}.spw-hd-panel-title h4{font-size:13px}.spw-hd-panel-title>span{font-size:12px}.spw-hd-fee-totals{margin:12px 0 10px}.spw-hd-fee-totals small{font-size:12px}.spw-hd-fee-totals strong{font-size:25px}.spw-hd-fee-totals b{font-size:13px}.spw-hd-fee-totals>div:last-child small{font-size:12px}.spw-hd-bars{height:86px;gap:11px;padding-top:7px;background-size:100% 70px;background-position:0 7px}.spw-hd-bar i{height:calc(var(--bar-height)*.65);max-width:30px}.spw-hd-bar small{font-size:12px}.spw-hd-bar>span{font-size:12px}.spw-hd-panel .spw-hd-panel-note{font-size:12px;margin-top:23px}.spw-hd-attendance-total{margin:10px 0;gap:14px}.spw-hd-attendance-total>strong{font-size:31px}.spw-hd-attendance-total b{font-size:12px}.spw-hd-attendance-total span{font-size:12px}.spw-hd-attendance-chart{height:47px;gap:6px}.spw-hd-attendance-axis{font-size:12px}.spw-hd-legend{font-size:12px;margin-top:8px;gap:14px}.spw-hd-bottom{grid-template-columns:1fr;gap:10px}.spw-hd-reminders{display:grid;grid-template-columns:1fr 1fr;column-gap:9px;row-gap:10px}.spw-hd-reminders>.spw-hd-panel-title{grid-column:1/-1}.spw-hd-task{margin:0;gap:6px;align-items:start}.spw-hd-task-icon{width:22px;height:22px;flex-basis:22px}.spw-hd-task strong{font-size:12px}.spw-hd-task small{font-size:12px}.spw-hd-person strong{font-size:12px}.spw-hd-person small{font-size:12px}.spw-hd-person>b{font-size:13px}.spw-hd-person>span{width:29px;height:29px;flex-basis:29px;font-size:12px}.spw-hero-dashboard figcaption{display:block;font-size:12px;margin-top:12px}.spw-hero-dashboard figcaption small{display:block;margin:4px 0 0 18px;font-size:12px}}
