:root{font-family:"Segoe UI",Arial,sans-serif;color:#183d39;background:#f3f5f0;font-size:15px;--ink:#183d39;--muted:#63796d;--line:#dce6dc;--green:#147766;--red:#ad3e32;font-synthesis:none}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0}body.modal-open{overflow:hidden}button,input{font:inherit}button,a,input{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px}h2{font-size:21px;line-height:1.3}h3{font-size:16px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8dbba7}.topbar{display:flex;align-items:center;gap:20px;min-height:86px;padding:16px max(24px,calc((100vw - 1120px)/2));background:#133a38;color:white}.brand{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:700;text-decoration:none;color:white;flex-shrink:0}.brand b{color:#a4edc0;font-weight:400}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:2px;color:#adc5b9;margin-top:4px}.brand-mark{display:grid;place-items:center;width:44px;height:48px;border-radius:12px;background:#2b554b;color:#a4edc0;font-size:31px}.preview-badge{border:1px solid #52746c;border-radius:20px;color:#cbe2d6;font-size:11px;padding:6px 10px;white-space:nowrap}#account-actions{margin-left:auto}.preview-note{padding:12px 24px;background:#fff7e9;color:#806334;font-size:12px;line-height:1.6;text-align:center}#app{max-width:1120px;margin:0 auto;padding:38px 24px 26px;min-height:calc(100dvh - 210px)}.powered-by{color:var(--muted);font-size:11px;padding:24px;text-align:center;line-height:1.7}.eyebrow{color:var(--green);font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;margin-bottom:12px}.muted{color:var(--muted);line-height:1.7}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.page-heading p{margin-top:10px;max-width:620px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 15px;border:1px solid var(--line);background:#fff;border-radius:9px;font-size:13px;font-weight:650;color:var(--ink);text-decoration:none;line-height:1.4}.btn:hover{background:#eff5eb}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#0f6253}.btn.danger{color:var(--red);border-color:#e5c3bc}.btn.small{min-height:35px;padding:7px 10px;font-size:12px}.btn.secondary-dark{background:transparent;color:#e4eee8;border-color:#67857b}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid #e9eee5}.panel-head h2{font-size:18px}.panel-body{padding:24px}.panel-body>p+p{margin-top:10px}.auth-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:60px;align-items:start;max-width:940px;margin:20px auto}.auth-intro{padding-top:24px}.auth-intro h1{font-size:38px;max-width:360px}.auth-intro>p{margin:20px 0}.benefits{list-style:none;padding:0;margin:30px 0;color:var(--muted)}.benefits li{display:flex;gap:12px;line-height:1.7;margin:18px 0}.benefits li::before{content:'✓';color:var(--green);font-weight:700}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 24px}.tabs button{flex:1;min-height:56px;border:0;border-bottom:3px solid transparent;background:none;font-weight:650;font-size:14px;color:var(--muted)}.tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green)}.auth-card-content{padding:26px}.auth-card-content>p{margin:10px 0 24px;font-size:13px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;margin-bottom:18px}.field>span{font-size:13px;font-weight:600;color:#526e60}.field small{font-size:11px;color:var(--muted);line-height:1.6}input{width:100%;min-width:0;min-height:46px;padding:11px 13px;color:var(--ink);background:white;border:1px solid #cfddcd;border-radius:8px}input::placeholder{color:#95a294}input:focus{outline:2px solid #a9cda8;outline-offset:1px}.account-code-input{letter-spacing:4px;font-weight:650;text-transform:uppercase}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.error-text{display:block;color:var(--red);font-size:13px;line-height:1.6;min-height:44px;max-height:62px;overflow:auto;margin:0 0 12px;overflow-wrap:anywhere}.error-text:empty{visibility:hidden}.full-width{width:100%}.form-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:14px}.success-card{max-width:550px;margin:20px auto}.success-card .panel-body{padding:28px}.success-card h1{margin-bottom:12px}.credentials{display:grid;gap:18px;padding:20px;background:#f2f7ee;border:1px solid #dce8d5;border-radius:12px;margin:22px 0}.credential-label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.credential-value{font-size:15px;font-weight:650;overflow-wrap:anywhere;user-select:text}.account-code{font-family:Consolas,monospace;font-size:28px;letter-spacing:5px;color:var(--green);font-weight:700;user-select:all}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;margin:0}.facts>div{min-width:0}.facts dt{font-size:12px;color:var(--muted);margin-bottom:5px}.facts dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.facts .span-all{grid-column:1/-1}.facts dd.account-code{font-size:26px}.details{border-top:1px solid var(--line);margin-top:22px;padding-top:15px;font-size:12px}.details summary{cursor:pointer;color:var(--muted)}.details p{margin-top:10px;overflow-wrap:anywhere;user-select:text}.panel-footer{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.pill{display:inline-flex;align-items:center;border-radius:7px;padding:5px 9px;font-size:11px;line-height:1.4;background:#edf2e9;color:#607558;white-space:nowrap}.pill.active{background:#e5f3e8;color:#216b41}.pill.grace{background:#fff0cf;color:#8b641b}.pill.expired{background:#fbe9e6;color:#a63b30}.subscription-title{font-size:18px;font-weight:650;margin-bottom:12px}.subscription-dates{display:grid;gap:12px;margin:20px 0;font-size:13px}.subscription-dates span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.subscription-copy{font-size:13px;line-height:1.7;color:var(--muted);min-height:3.4em}.inline-note{padding:12px 14px;border-radius:9px;background:#f4f7ef;color:var(--muted);font-size:12px;line-height:1.7}.staff-toolbar{padding:18px 24px;border-bottom:1px solid var(--line)}.staff-toolbar label{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:13px}.staff-toolbar input{max-width:450px}.staff-list{max-height:440px;overflow:auto;scrollbar-gutter:stable}.staff-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 150px;align-items:center;gap:18px;padding:18px 24px;border-bottom:1px solid #edf0e9}.staff-row:last-child{border-bottom:0}.staff-name{font-size:14px;font-weight:650;overflow-wrap:anywhere}.staff-login{font-size:12px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.staff-code{font-family:Consolas,monospace;letter-spacing:2px;font-weight:650;margin-bottom:8px;user-select:all}.staff-action{justify-self:end}.staff-message{padding:14px 24px;min-height:51px;line-height:1.6;color:var(--red);font-size:12px}.staff-message:empty{visibility:hidden}.empty{padding:36px 24px;color:var(--muted);font-size:14px;line-height:1.7;text-align:center}.staff-count{font-size:12px;color:var(--muted)}dialog{width:min(540px,calc(100% - 32px));padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);max-height:calc(100dvh - 40px);overflow:hidden;background:#fff}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#163e3759}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line);flex:0 0 auto}.modal-head h2{font-size:20px}.modal-head p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:6px}.close-btn{width:36px;height:36px;flex-shrink:0;padding:0;background:none;border:0;border-radius:8px;color:var(--muted);font-size:25px}.close-btn:hover{background:#eff5eb}.modal-body{padding:24px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.modal-form{display:flex;flex-direction:column;min-height:0}.modal-form .modal-body{flex:1 1 auto}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);background:#fff;flex:0 0 auto}.notice{position:fixed;bottom:18px;right:18px;z-index:30;background:#204d3d;color:#fff;border-radius:10px;padding:14px 18px;font-size:13px;max-width:calc(100% - 36px);box-shadow:0 3px 15px #183d391c}.notice[hidden]{display:none}
@media(max-width:850px){.auth-layout{gap:30px;grid-template-columns:1fr;max-width:520px;margin:0 auto}.auth-intro{padding-top:0}.auth-intro h1{font-size:30px;max-width:none}.auth-intro>p{margin:12px 0}.benefits{display:none}.dashboard-grid{grid-template-columns:1fr}.topbar{padding:15px 20px}.preview-badge{margin-left:auto}#account-actions:not(:empty){margin-left:0}.topbar:has(#account-actions:not(:empty)) .preview-badge{display:none}.staff-row{grid-template-columns:minmax(0,1fr) 100px 145px;gap:12px}#app{padding-top:28px}}
@media(max-width:540px){#app{padding:24px 16px 20px}.topbar{gap:12px;padding:14px 16px;min-height:78px}.brand{font-size:22px}.brand-mark{width:38px;height:42px;font-size:27px}.preview-badge{font-size:10px;padding:5px 8px}.preview-note{padding:10px 16px;text-align:left}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:26px}.page-heading .actions{width:100%}.page-heading .actions .btn{flex:1}.auth-card-content,.panel-body,.success-card .panel-body{padding:20px}.panel-head{padding:18px 20px;flex-wrap:wrap}.form-grid{grid-template-columns:1fr;gap:0}.facts{gap:20px 14px}.staff-toolbar{padding:16px 20px}.staff-toolbar label{display:block}.staff-toolbar input{margin-top:8px}.staff-row{grid-template-columns:minmax(0,1fr) 140px;padding:18px 20px;gap:14px}.staff-row>div:first-child{grid-column:1/-1}.staff-row .staff-action{grid-column:2;grid-row:2}.staff-message{padding-left:20px;padding-right:20px}.modal-head{padding:18px 20px}.modal-body{padding:20px}.modal-footer{padding:14px 20px}.modal-footer .btn{flex:1}.auth-layout{gap:20px}.auth-intro h1{font-size:27px}.subscription-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
