/* SRS 5.9.57: Franchise visual alignment to existing SRS ERP dashboard.
 * Does not change legacy ERP dashboard assets, menus, or billing calculations. */
.srs-erp-style{--sea:#1c0bb2;--ink:#263241;--muted:#6f7a86;--line:#e4e7ed;--paper:#f5f5f7;--surface:#fff;background:#f5f5f7;font-family:"Jost",Arial,"Segoe UI",Helvetica,sans-serif;font-size:14px;color:#2a3040}
.srs-erp-style .header{background:#190ab4;color:#fff;min-height:60px}
.srs-erp-style .header .inner{max-width:1460px;padding:13px 22px;min-height:60px}
.srs-erp-style .brand{letter-spacing:0}
.srs-erp-style .brand strong{font-size:19px;font-weight:650}
.srs-erp-style .brand small{letter-spacing:.015em;color:#e3e1ff;font-size:11px;margin-top:3px}
.srs-erp-style .account-chip{font-size:12px;white-space:nowrap;color:#fff;background:#ffffff24;border:1px solid #ffffff2b;padding:7px 13px;border-radius:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.srs-primary-menu{background:#fff;border-bottom:1px solid #e1e3eb;box-shadow:0 1px 2px #00000004}
.srs-menu-inner{max-width:1460px;margin:auto;display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:thin;padding:0 12px;min-height:72px}
.srs-menu-inner>a{display:flex;flex:1 0 auto;min-width:108px;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:7px;padding:11px 12px;color:#41495a;font-weight:500;font-size:12px;border-right:1px solid #eff0f4;white-space:nowrap;text-decoration:none}
.srs-menu-inner>a:hover{background:#f7f6ff;color:#1c0bb2}
.srs-menu-inner>a span{color:#8396a1;font-size:23px;line-height:24px;font-family:Arial,"Segoe UI Symbol",sans-serif}
.srs-menu-inner>a[href*="dashboard"]{border-bottom:2px solid #1c0bb2;color:#1c0bb2}
.srs-menu-inner form.logout{margin:auto 0 auto 8px}.srs-menu-inner .srs-logout{border:1px solid #dedfeb;background:#fff;color:#393452;border-radius:8px;white-space:nowrap}
.srs-erp-style .wrap{max-width:1430px;padding:28px 24px 65px}
.srs-erp-style h1{font-weight:650;letter-spacing:-.025em;color:#242b3a}
.srs-erp-style h2{font-weight:600}
.srs-erp-style .eyebrow{color:#2710b1;letter-spacing:.08em}
.srs-erp-style .panel{border:1px solid #e9eaf0;border-radius:10px;box-shadow:0 2px 6px #11111b05}
.srs-erp-style .panel.medium{max-width:710px}
.srs-erp-style button,.srs-erp-style .button{background:#1e0db7;color:white;border-radius:8px}
.srs-erp-style .muted-btn{background:#f6f6fa;color:#281b81;border:1px solid #dfe0ed}
.srs-erp-style label input:not([type=checkbox]),.srs-erp-style label select,.srs-erp-style label textarea{border:1px solid #d4d9e2;border-radius:7px;min-height:42px}
.srs-erp-style label textarea{min-height:72px;resize:vertical}
.srs-erp-style label input:focus,.srs-erp-style label select:focus,.srs-erp-style label textarea:focus{outline:2px solid #9a90ee;outline-offset:1px}
.srs-erp-style a:not(.button){color:#2511b2}
.srs-erp-style .srs-primary-menu a{color:#4e5361}
.srs-erp-style table thead{background:#f6f6fa}
.srs-erp-style table th{color:#586170}
.srs-erp-style table td,.srs-erp-style table th{border-bottom:1px solid #e9eaf0}
.srs-erp-style .tiles a{border-radius:10px;border-color:#e4e6ec;box-shadow:none;color:#252a39}
.srs-erp-style .tiles a:hover{border-color:#9e95f0;box-shadow:0 5px 12px #2112b00c}
.srs-public-heading{max-width:710px;margin:10px auto 0;text-align:left}
.srs-public-heading h1{margin:4px 0 7px}
.srs-public-heading p{color:#737a86;margin:4px 0}
.srs-erp-style .srs-login-panel{margin:20px auto 40px}
.srs-login-panel h2{font-size:19px;margin-bottom:22px}
.srs-register-panel{max-width:940px;margin:20px auto;padding:27px}
.srs-panel-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:1px solid #ededf2;margin-bottom:15px;padding-bottom:12px}
.srs-panel-heading h2{font-size:20px;margin:0}.srs-panel-heading span{color:#89919e;font-size:12px}
.srs-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}
.srs-form-footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:15px}
.srs-form-footer>p{margin:0;color:#657080}
.srs-login-foot{padding-top:17px;margin-top:22px;border-top:1px solid #edf0f4;color:#657080}
.srs-dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:4px 0 22px;flex-wrap:wrap}
.srs-dashboard-heading h1{margin:0 0 4px;font-size:27px}.srs-dashboard-heading p{margin:3px 0;color:#697481}
.srs-account-status{background:white;border:1px solid #e0e4ea;border-radius:10px;padding:11px 16px;display:flex;flex-direction:column;gap:3px;text-align:right}
.srs-account-status strong{font-size:12px;color:#2711ac}.srs-account-status small{font-size:12px}
.srs-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0 0 22px}
.srs-kpi{background:#fff;border-radius:10px;border:1px solid #e7e9ef;min-height:158px;padding:22px 19px;display:flex;flex-direction:column;justify-content:flex-start}
.srs-kpi>small{font-size:14px;color:#343744}.srs-kpi>strong{font-size:25px;font-weight:650;color:#20232e;margin-top:18px;line-height:1.25}.srs-kpi>span{font-size:12px;color:#2110ad;margin-top:7px}
.srs-dashboard-action-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#fff;padding:19px;border:1px solid #e7e9ed;border-radius:10px;margin-bottom:18px}
.srs-dashboard-action-bar h2{font-size:18px;margin:0 0 5px}.srs-dashboard-action-bar p{color:#77808c;margin:0}
.srs-membership-line{background:#fff;padding:14px 20px;border-radius:9px;border:1px solid #e7e9ef;color:#666f7b;margin:15px 0}
.srs-erp-style .invoice-document{box-shadow:0 2px 10px #08081710}
.srs-owner-recovery-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.srs-owner-recovery-form>label{flex:1 1 210px}.srs-owner-recovery-form .checks{flex-basis:100%}
@media(max-width:950px){.srs-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.srs-form-grid{gap:8px 12px}}
@media(max-width:620px){.srs-erp-style .wrap{padding:15px 12px 55px}.srs-erp-style .header .inner{padding:12px 15px}.srs-erp-style .brand strong{font-size:16px}.srs-erp-style .account-chip{font-size:11px}.srs-menu-inner{padding:0 5px;min-height:64px}.srs-menu-inner>a{font-size:11px;padding:10px 12px;min-width:96px}.srs-kpi-grid{gap:9px}.srs-kpi{padding:14px 12px;min-height:126px}.srs-kpi>small{font-size:12px}.srs-kpi>strong{font-size:19px;margin-top:13px}.srs-form-grid{grid-template-columns:1fr}.srs-register-panel{padding:17px}.srs-erp-style .panel.medium{margin:16px auto}}
@media print{.srs-primary-menu,.srs-dashboard-heading,.srs-kpi-grid,.srs-dashboard-action-bar,.srs-membership-line{display:none!important}}

/* 5.9.58: SRS paper-clean Franchise onboarding; inherits existing typography. */
.srs58-welcome-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}
.srs58-welcome-card{display:flex;flex-direction:column;gap:13px;padding:23px;background:#fff;border:1px solid #e3e7ed;border-radius:13px;min-height:216px;text-decoration:none;color:#1d283b;box-shadow:0 4px 12px rgba(0,0,0,.02)}
.srs58-welcome-card:hover,.srs58-welcome-card:focus-visible{border-color:var(--srs-main,#1b0aaf);box-shadow:0 4px 22px rgba(23,35,87,.07)}
.srs58-card-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce3eb;border-radius:10px;font-weight:700;font-size:19px;color:var(--srs-main,#1b0aaf)}
.srs58-welcome-card b{font-size:17px;font-weight:750}.srs58-welcome-card small{font-size:13px;line-height:1.55;color:#64748b}.srs58-welcome-card strong{font-size:13px;color:var(--srs-main,#1b0aaf);margin-top:auto}
.srs58-welcome-note{margin-top:20px}.srs58-welcome-note p{margin:8px 0 0;color:#64748b}
.srs58-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px auto;max-width:1120px}.srs58-recovery-grid .panel{min-width:0}
.srs58-fallback{max-width:1120px;margin:auto}.srs58-fallback summary{cursor:pointer;font-weight:650}
.srs58-workspace-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.srs58-workspace-actions a{display:inline-flex;padding:11px 14px;border-radius:9px;background:#fff;border:1px solid #d8e1eb;color:#25364b;font-weight:650;text-decoration:none;font-size:13px}
.srs58-workspace-actions a:hover{border-color:var(--srs-main,#1b0aaf);color:var(--srs-main,#1b0aaf)}
@media (max-width:850px){.srs58-welcome-cards{grid-template-columns:1fr}.srs58-welcome-card{min-height:unset}.srs58-recovery-grid{grid-template-columns:1fr}}
