/* Home-only composition. Shared dashboard markup and all canonical module URLs are retained. */
.spw-home-demo-cta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 22px;margin-top:18px;padding:17px 20px;border:1px solid #e7ddd2;border-radius:12px;background:#fffdf9}
.spw-home-demo-cta strong{font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.2px}
.spw-home-demo-cta p{font-size:12px;line-height:1.7;color:var(--spw-muted);margin-top:4px!important}
.spw-home-demo-cta>.spw-button{font-size:13px;min-height:48px;gap:18px}
@media(max-width:540px){.spw-home-demo-cta{padding:16px;gap:13px}.spw-home-demo-cta>.spw-button{width:100%;justify-content:center;min-height:50px}}
.spw-home .spw-hero-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px}
.spw-home .spw-hero-visual{max-width:none}.spw-home .spw-hero-copy{min-width:0}
.spw-home .spw-hero h1{font-size:56px;line-height:1.07;letter-spacing:-2px}
.spw-home .spw-hero h1>span{display:block;font-size:31px;letter-spacing:-1.1px;line-height:1.3;margin-bottom:9px}
.spw-home .spw-hero h1>em{display:block}.spw-home .spw-hero .spw-lead{font-size:16px;line-height:1.85;margin-top:23px!important}
.spw-home .spw-hero .spw-actions{flex-wrap:wrap;gap:11px}.spw-home .spw-hero-points{font-size:12px;gap:10px 16px}
.spw-home .spw-modules{background:linear-gradient(180deg,#fff 0%,#fbfcfc 80%,#fff 100%)}
.spw-home-module-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.spw-home-module{--home-accent:#4269ab;--home-soft:#edf3ff;--home-line:#dce5f5;position:relative;min-width:0;display:flex;flex-direction:column;gap:0;padding:19px;border:1px solid var(--home-line);border-top:4px solid var(--home-accent);border-radius:14px;background:linear-gradient(135deg,var(--home-soft),#fff 32%);box-shadow:0 5px 14px #2c3f5308;overflow:hidden;transition:box-shadow .18s,border-color .18s,transform .18s}
.spw-site a.spw-home-module:hover{color:var(--spw-ink);border-color:color-mix(in srgb,var(--home-accent) 40%,white);border-top-color:var(--home-accent);box-shadow:0 9px 22px #2c3f5314;transform:translateY(-2px)}
/* Real top borders follow the card radius; no inset or fading accent strips. */
.spw-home .spw-home-module-directory>section{border-top:3px solid var(--home-directory-accent,#4269ab)}
.spw-home-module-directory>section:nth-child(2){--home-directory-accent:#b55b2d}
.spw-home-module-directory>section:nth-child(3){--home-directory-accent:#307b56}
.spw-home-module-directory>section:nth-child(4){--home-directory-accent:#317f88}
.spw-home-module-directory>section:nth-child(5){--home-directory-accent:#8059a4}
.spw-home-tone-orange{--home-accent:#b55b2d;--home-soft:#fff3e9;--home-line:#eedfce}.spw-home-tone-green{--home-accent:#307b56;--home-soft:#edf8f0;--home-line:#d7e8dc}.spw-home-tone-purple{--home-accent:#8059a4;--home-soft:#f5effb;--home-line:#e5ddee}.spw-home-tone-olive{--home-accent:#537a43;--home-soft:#f0f6e9;--home-line:#dce6cf}.spw-home-tone-teal{--home-accent:#317f88;--home-soft:#edf8f8;--home-line:#d7e9e9}
.spw-home-module-heading{display:flex;gap:9px;align-items:center;margin-bottom:13px}.spw-home-module-heading>span{display:grid;place-items:center;width:32px;height:34px;flex:0 0 32px;background:var(--home-soft);color:var(--home-accent);border:1px solid var(--home-line);border-radius:9px;box-shadow:inset 0 0 0 2px #ffffff88}.spw-home-module-heading>span svg{width:18px;height:18px}.spw-home-module-heading>strong{flex:1;min-width:0;font-size:12px;line-height:1.5;font-weight:650;color:var(--home-accent)}.spw-home-module-heading>svg{width:15px;height:15px;color:var(--home-accent);opacity:.65}
.spw-home .spw-home-module h3{font-size:20px;line-height:1.28;letter-spacing:-.6px;min-height:0;margin:0}.spw-home .spw-home-module>p{font-size:12px;line-height:1.8;color:#637480;margin:10px 0 15px!important;min-height:40px}
.spw-home-screen{border:1px solid #e0e6ec;border-radius:9px;background:linear-gradient(#fff,#f9fafc);padding:12px;min-height:204px;min-width:0;box-shadow:0 4px 9px #2c3f5307}
.spw-home-screen-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-bottom:10px;margin-bottom:2px;border-bottom:1px solid #e9edf2}.spw-home-screen-heading>strong{font-size:12px;line-height:1.5;color:#637388}.spw-home-screen-heading>span{font-size:12px;color:#9aa6b4;white-space:nowrap}
.spw-home-person{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #edf0f5}.spw-home-person>span{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:650;color:#6f89b9;background:#eaf0fc}.spw-home-person>div{flex:1;min-width:0}.spw-home-person strong{display:block;font-size:12px;font-weight:600;color:#637188;line-height:1.5}.spw-home-person small{display:block;font-size:12px;color:#a1aabb;line-height:1.5}.spw-home-person>b{font-size:12px;font-weight:500;color:#5e9474;background:#ebf7ef;padding:3px 5px;border-radius:4px}
.spw-home-mini-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.spw-home-mini-tools>span{display:flex;align-items:center;gap:4px;font-size:12px;color:#8c98a9;line-height:1.5;padding:4px 5px;border:1px solid #e6ebf0;border-radius:4px;background:#fff}.spw-home-mini-tools svg{width:11px;height:11px;color:var(--home-accent)}
.spw-home-fee-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f5;font-size:12px;color:#657389}.spw-home-fee-row small{font-size:12px;color:#a2a8b5;margin-left:6px}.spw-home-fee-row b{font-size:12px;color:#65748b;white-space:nowrap}
.spw-home-receipt{display:flex;gap:9px;align-items:center;padding:10px;margin-top:11px;background:#eaf7ee;border:1px solid #d6ebdd;border-radius:7px;color:#4b8a63}.spw-home-receipt>svg{width:18px;height:18px}.spw-home-receipt>div{flex:1;min-width:0}.spw-home-receipt strong{display:block;font-size:12px;line-height:1.4}.spw-home-receipt small{display:block;font-size:12px;color:#86a68e;line-height:1.5;margin-top:2px}.spw-home-receipt>svg:last-child{width:14px;height:14px}
.spw-home-mini-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;font-size:12px;line-height:1.5;color:#9a9daf}.spw-home-mini-foot strong{font-size:12px;white-space:nowrap;color:#64738a}
.spw-home-attendance-count{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 10px}.spw-home-attendance-count>strong{font-size:23px;letter-spacing:-.7px;color:#4e8562;line-height:1.2}.spw-home-attendance-count small{font-size:12px;font-weight:400;color:#98ae9c;letter-spacing:0}.spw-home-attendance-count>span{font-size:12px;color:#b38092;background:#fbedf2;padding:4px 6px;border-radius:4px;white-space:nowrap}.spw-home-attendance-dots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.spw-home-attendance-dots>span{display:grid;place-items:center;height:16px;border:1px solid #dcebdc;border-radius:3px;background:#e7f4e9;color:#81a98a;font-size:12px;font-weight:500}.spw-home-attendance-dots>.is-absent{background:#fae9ef;border-color:#f1d7e0;color:#c1889f}
.spw-home-ledger-head,.spw-home-ledger-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.6}.spw-home-ledger-head{padding:7px 0;color:#a09aaa}.spw-home-ledger-row{padding:8px 0;border-bottom:1px solid #edeaf1;color:#6f6580}.spw-home-ledger-row>span{flex:1;min-width:0}.spw-home-ledger-row>b{font-size:12px;white-space:nowrap;font-weight:600}.spw-home-ledger-row .is-credit{color:#3b7d59}.spw-home-ledger-row .is-payment{color:#9f5c72}.spw-home-screen-accounts .spw-home-mini-foot{font-size:12px}.spw-home-screen-accounts .spw-home-mini-foot strong{font-size:12px}
.spw-home-screen-results{border-color:#d8e3ce;background:#f4f8ef}.spw-home-screen-results .spw-home-screen-heading{border-color:#dee8d5}.spw-home-screen-results .spw-home-screen-heading>strong{color:#7b936c}.spw-home .spw-home-green-sheet{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.6;border:0;margin:10px 0 0}.spw-home .spw-home-green-sheet th,.spw-home .spw-home-green-sheet td{padding:8px 5px;text-align:center;border:1px solid #d6e1cb;overflow-wrap:anywhere;background:#f9fcf6;color:#526b42}.spw-home .spw-home-green-sheet th:first-child{text-align:left;width:30%}.spw-home .spw-home-green-sheet thead th{font-size:12px;font-weight:650;background:#e4edda;color:#567345}.spw-home .spw-home-green-sheet thead small{display:block;font-size:12px;color:#a0ae93;font-weight:400}.spw-home .spw-home-green-sheet tbody th{font-weight:500}.spw-home .spw-home-green-sheet td:last-child{background:#ecf3e4;color:#4e6d39}
.spw-home-route-map{background:#f1f8f8;border:1px solid #e0ebec;border-radius:6px;overflow:hidden;margin:10px 0 8px}.spw-home-route-map>svg{width:100%;height:77px}.spw-home-route-stop{display:flex;gap:7px;align-items:center;font-size:12px;color:#547b80;padding:6px 0}.spw-home-route-stop>i{width:7px;height:7px;border-radius:50%;background:#7bafa4;box-shadow:0 0 0 3px #ebf5ef}.spw-home-route-stop>span{flex:1}.spw-home-route-stop small{display:block;font-size:12px;color:#a0b1b3}.spw-home-route-stop>b{font-size:12px;font-weight:500;border:1px solid #dbe9ea;border-radius:4px;padding:3px 5px;color:#8ca6a8}
.spw-home-module-link{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:15px;color:var(--home-accent);font-size:12px;font-weight:650;line-height:1.5;min-height:35px}.spw-home-module-link>svg{width:15px;height:15px}
.spw-home .spw-home-sample-note{font-size:12px;line-height:1.7;color:#6e7b84;margin-top:14px!important}
.spw-home-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:35px 0 17px}.spw-home-directory-heading>div>span{display:block;font-size:12px;font-weight:650;color:#a37b61;letter-spacing:1.1px;margin-bottom:7px}.spw-home .spw-home-directory-heading h3{font-size:23px;letter-spacing:-.6px;line-height:1.3}.spw-home-directory-heading>span{font-size:12px;color:#6f7c85;white-space:nowrap}
.spw-home-module-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.spw-home-module-directory>section{border:1px solid #e8e9e9;border-radius:10px;min-width:0;padding:14px;background:#fff;box-shadow:0 3px 7px #23313c03}.spw-home-module-directory h4{display:flex;gap:7px;align-items:center;font:650 12px/1.5 Inter,"Segoe UI",Arial,sans-serif;color:#647783;margin:0 0 9px;min-height:34px}.spw-home-module-directory h4>svg{width:17px;height:17px;color:#a28773}.spw-home-module-directory ul{list-style:none}.spw-home-module-directory li{margin:0}.spw-home-module-directory a{display:flex;justify-content:space-between;align-items:center;gap:7px;min-height:34px;padding:6px 0;border-top:1px solid #f0f1f1;font-size:12px;line-height:1.5;color:#65757f}.spw-home-module-directory a>svg{width:10px;height:10px;flex:0 0 10px;transform:rotate(-90deg);color:#c6cecf}.spw-home-module-directory a:hover{color:#b65a30}.spw-home .spw-module-note{margin-top:17px!important}
.spw-home .spw-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1100px){.spw-home .spw-hero-grid{gap:24px}.spw-home .spw-hero h1{font-size:51px}.spw-home .spw-hero h1>span{font-size:28px}.spw-home-module-showcase{gap:13px}.spw-home-module{padding:16px}.spw-home .spw-home-module h3{font-size:19px;min-height:0}.spw-home .spw-home-module>p{font-size:12px;min-height:60px}.spw-home-screen{padding:10px}.spw-home-screen-heading{gap:4px}.spw-home-screen-heading>strong{font-size:12px}.spw-home-screen-heading>span{font-size:12px}.spw-home-module-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.spw-home .spw-hero-grid{grid-template-columns:1fr;gap:32px}.spw-home .spw-hero-visual{max-width:650px}.spw-home .spw-hero h1{font-size:56px}.spw-home .spw-hero h1>span{font-size:31px}.spw-home-module-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.spw-home .spw-home-module>p{min-height:40px}.spw-home .spw-home-module h3{font-size:20px;min-height:0}.spw-home-screen-heading>strong{font-size:12px}.spw-home-screen-heading>span{font-size:12px}.spw-home-module-directory{gap:10px}.spw-home-module-directory>section{padding:12px}}
@media(max-width:540px){.spw-home .spw-hero h1{font-size:43px;letter-spacing:-1.5px}.spw-home .spw-hero h1>span{font-size:25px;letter-spacing:-.8px}.spw-home .spw-hero .spw-lead{font-size:15px;line-height:1.8;margin-top:20px!important}.spw-home .spw-hero-points{font-size:12px;gap:9px 12px}.spw-home .spw-hero-grid{gap:29px}.spw-home-module-showcase{grid-template-columns:1fr;gap:14px}.spw-home-module{padding:18px;border-radius:13px}.spw-home-module-heading{margin-bottom:12px}.spw-home-module-heading>strong{font-size:12px}.spw-home-module-heading>span{width:35px;height:36px;flex-basis:35px}.spw-home .spw-home-module h3{font-size:22px;min-height:0;line-height:1.25}.spw-home .spw-home-module>p{font-size:12px;min-height:0;line-height:1.8;margin:10px 0 15px!important}.spw-home-screen{padding:11px;min-height:200px}.spw-home-screen-heading>strong{font-size:12px}.spw-home-screen-heading>span{font-size:12px}.spw-home-person strong{font-size:12px}.spw-home-person small{font-size:12px}.spw-home-person>b{font-size:12px}.spw-home-fee-row{font-size:12px}.spw-home-mini-foot{font-size:12px}.spw-home-mini-tools>span{font-size:12px}.spw-home-attendance-dots>span{height:17px;font-size:12px}.spw-home-ledger-row{font-size:12px}.spw-home-ledger-row>b{font-size:12px}.spw-home .spw-home-green-sheet{font-size:12px}.spw-home .spw-home-green-sheet thead th{font-size:12px}.spw-home-module-link{font-size:12px;padding-top:14px;min-height:44px}.spw-home .spw-home-sample-note{font-size:12px}.spw-home-directory-heading{display:block;margin-top:28px}.spw-home .spw-home-directory-heading h3{font-size:23px;line-height:1.3}.spw-home-directory-heading>span{display:block;margin-top:8px;font-size:12px}.spw-home-module-directory{grid-template-columns:1fr;gap:12px}.spw-home-module-directory>section{padding:14px}.spw-home-module-directory h4{font-size:13px;min-height:27px;gap:9px}.spw-home-module-directory ul{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.spw-home-module-directory a{font-size:12px;line-height:1.5;min-height:44px;align-items:flex-start;padding:9px 0}.spw-home-module-directory a>svg{margin-top:4px}.spw-home-module-directory h4>svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.spw-home-module{transition:none}.spw-site a.spw-home-module:hover{transform:none}}

/* Results uses the same complete screen as ERP, outside a clickable card. */
.spw-home-module-showcase{grid-template-columns:repeat(12,minmax(0,1fr))}
.spw-home-module-showcase>.spw-home-module{grid-column:span 4}
.spw-home-module-showcase>.spw-home-module-accounts,.spw-home-module-showcase>.spw-home-module-transport{grid-column:span 6}
.spw-home-module-showcase>.spw-home-module-results{grid-column:1/-1;scroll-margin-top:145px}
.spw-home .spw-home-module-results>h3{font-size:25px;line-height:1.3}
.spw-home .spw-home-module-results>p{min-height:0;font-size:12px;margin:9px 0 15px!important}
.spw-home-results-workspace{min-width:0;border:1px solid #e0e8d9;border-radius:11px;background:linear-gradient(135deg,#f0f6ed,#f4f7f6);padding:15px}
.spw-home-module-results>.spw-home-module-link{align-self:flex-start;gap:18px;color:var(--home-accent);min-height:44px;font-size:12px}
.spw-home-results-overview{display:grid;gap:10px;padding:17px;margin:15px 0;border:1px solid #dbe6d3;border-radius:9px;background:#f7faf3}
.spw-home-results-overview>span{display:flex;gap:8px;align-items:center;font-size:12px;line-height:1.6;color:#658157}
.spw-home-results-overview>span>svg{width:17px;height:17px}
.spw-home-results-overview>.spw-text-link{margin-top:0;min-height:36px;font-size:12px}
@media(max-width:860px){.spw-home-module-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.spw-home-module-showcase>.spw-home-module{grid-column:auto}.spw-home-module-showcase>.spw-home-module-transport,.spw-home-module-showcase>.spw-home-module-results{grid-column:1/-1}}
@media(max-width:540px){.spw-home-module-showcase{grid-template-columns:minmax(0,1fr)}.spw-home-module-showcase>.spw-home-module{grid-column:1/-1}.spw-home-module-showcase>.spw-home-module-results{padding:12px;scroll-margin-top:125px}.spw-home .spw-home-module-results>h3{font-size:22px}.spw-home .spw-home-module-results>p{font-size:12px}.spw-home-results-workspace{padding:0;border:0;background:none}.spw-home-results-workspace .spw-app-screen{padding:13px 8px}.spw-home-results-workspace .spw-app-heading strong{font-size:14px}.spw-home-results-workspace .spw-app-heading>.spw-app-pill{font-size:12px;padding:3px 5px}.spw-home-results-workspace .spw-app-report-heading strong{font-size:12px}.spw-home-results-workspace .spw-app-report-heading small{font-size:12px}.spw-home-module-results>.spw-home-module-link{font-size:12px}.spw-home-results-overview{padding:14px}}
