@font-face{font-family:Inter;src:url('/assets/Inter_400Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('/assets/Inter_600SemiBold.ttf') format('truetype');font-style:normal;font-weight:600 800;font-display:swap}
:root{font-family:Inter,Arial,sans-serif;color:#252132;background:#f7f7f9;font-synthesis:none;--purple:#7c3aed;--purple-dark:#6021c7;--muted:#686373;--line:#e6e3ec;--surface:#fff;--soft:#f3edfC}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--purple-dark);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9b72f2;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.52}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,36px);line-height:1.15;letter-spacing:-1.1px;margin-bottom:12px}h2{font-size:19px;line-height:1.4;letter-spacing:-.3px}h3{font-size:15px;line-height:1.5}p{line-height:1.65}img{max-width:100%}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:600;color:var(--muted);margin-bottom:14px}.skip-link{position:fixed;top:-100px;left:16px;background:#fff;padding:12px 18px;z-index:100}.skip-link:focus{top:12px}.startup{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.startup img{object-fit:contain}.noscript{padding:24px;background:#fff}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;padding:32px 20px 24px;display:flex;flex-direction:column}.brand{display:block;margin:3px 12px 4px;width:182px}.brand img{display:block;width:100%;height:34px;object-fit:contain;object-position:left center}.portal-label{font-size:12px;color:var(--muted);margin:9px 12px 37px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:7px;text-decoration:none;color:#615b6d;font-size:14px;font-weight:600}.nav a:hover{background:#f8f6fc}.nav a[aria-current="page"]{background:var(--soft);color:var(--purple-dark)}.nav-symbol{font-size:16px;line-height:1;font-weight:400;width:19px;text-align:center;color:#817a90}.nav a[aria-current="page"] .nav-symbol{color:var(--purple-dark)}.sidebar-bottom{margin-top:auto;padding:28px 12px 0;font-size:12px;color:var(--muted)}.sidebar-bottom p{margin-bottom:12px}.sidebar-bottom a{color:inherit}.content{min-width:0}.topbar{min-height:88px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:20px 48px;gap:20px}.topbar-label{font-size:13px;color:var(--muted)}.account{display:flex;align-items:center;gap:20px;font-size:13px;min-width:0}.account-name{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-button{border:0;background:transparent;color:var(--purple-dark);padding:4px 0;text-decoration:underline;text-underline-offset:3px}.page{max-width:1336px;margin:0 auto;padding:40px 48px 56px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:34px 0 28px}.page-head p{color:var(--muted);max-width:620px;margin-bottom:0;font-size:14px}.status-bar{display:flex;gap:12px;align-items:flex-start;background:#faf6ed;border:1px solid #ede2c9;border-radius:8px;padding:14px 17px;font-size:13px;color:#6b5225}.status-bar p{margin:0}.status-dot{width:7px;height:7px;flex:none;background:#ad7c25;border-radius:50%;margin-top:7px}.status-bar strong{font-weight:600}.status-meta{display:flex;flex-wrap:wrap;gap:7px 18px;margin-top:5px;font-size:12px;color:#785f33}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:11px 17px;background:var(--purple);border:1px solid var(--purple);border-radius:6px;color:white;text-decoration:none;font-size:13px;font-weight:600;line-height:1.3;white-space:normal;text-align:center}.button:hover:not(:disabled){background:var(--purple-dark);border-color:var(--purple-dark);text-decoration:none}.button.secondary{background:#fff;border-color:#ddd7e7;color:#42394f}.button.secondary:hover:not(:disabled){background:#f7f5fb;border-color:#b8a8d3}.button.danger{background:#fff;color:#aa3333;border-color:#eccdcd}.button.danger:hover:not(:disabled){background:#fff4f4;border-color:#d89c9c}.button.compact{min-height:34px;padding:7px 12px;font-size:12px}.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 24px}.stat-label{font-size:13px;color:var(--muted);margin-bottom:18px}.stat-value{font-size:31px;line-height:1;font-weight:600;letter-spacing:-.6px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:24px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px;border-bottom:1px solid var(--line)}.panel-heading h2{margin:0}.panel-body{padding:24px}.panel-body>:last-child{margin-bottom:0}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:24px}.two-column>.panel{margin-bottom:0}.empty{padding:50px 24px;text-align:center;max-width:550px;margin:0 auto}.empty h3{font-size:17px;margin-bottom:9px}.empty p{font-size:14px;color:var(--muted);margin-bottom:20px}.empty p:last-child{margin-bottom:0}.record{padding:23px 24px;border-bottom:1px solid var(--line)}.record:last-child{border-bottom:0}.record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.record-title{font-size:15px;font-weight:600;margin:0 0 7px;overflow-wrap:anywhere}.record-meta{color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.record-description{font-size:13px;color:var(--muted);max-width:680px;margin:13px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.record-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.record-amount{font-weight:600;font-size:16px;white-space:nowrap}.record-note{font-size:12px;color:var(--muted);margin:12px 0 0}.badge{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #e5e1eb;border-radius:5px;background:#f8f7fa;color:#645d70;line-height:1.2;font-size:11px;font-weight:600;white-space:nowrap}.badge.good{color:#26654a;background:#eff8f3;border-color:#d6eade}.badge.warn{color:#856026;background:#fbf5e9;border-color:#ecdfc3}.badge.purple{color:#6332aa;background:#f4eefb;border-color:#e4d7f8}.badge.bad{color:#a33838;background:#fff3f3;border-color:#efdcdc}.definition-list{margin:0;display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;font-size:13px;line-height:1.55}.definition-list dt{color:var(--muted)}.definition-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.help-note{color:var(--muted);font-size:12px;line-height:1.65;margin:18px 0 0}.detail-section{margin-top:24px;padding-top:23px;border-top:1px solid var(--line)}.detail-section h3{margin-bottom:13px}.form{display:grid;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field label{font-size:13px;font-weight:600}.field input,.field select,.field textarea{display:block;width:100%;min-height:44px;padding:11px 12px;border:1px solid #d8d1e2;border-radius:5px;color:#272131;background:#fff;line-height:1.35;font-size:14px}.field textarea{resize:vertical;min-height:98px}.field input::placeholder,.field textarea::placeholder{color:#8a8198}.field-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.check{display:flex;align-items:flex-start;gap:11px;line-height:1.6;font-size:13px}.check input{margin-top:4px;accent-color:var(--purple);width:16px;height:16px;flex:none}.form-error{font-size:13px;line-height:1.6;color:#a22e35;background:#fff3f3;border:1px solid #efced1;padding:12px 14px;border-radius:5px;margin:0;overflow-wrap:anywhere}.form-success{font-size:13px;line-height:1.6;color:#24654a;background:#f0f8f3;border:1px solid #d3e9dc;padding:12px 14px;border-radius:5px;margin:0}.notice{position:fixed;bottom:24px;right:24px;max-width:min(460px,calc(100vw - 32px));background:#282232;color:#fff;padding:15px 19px;border-radius:7px;font-size:13px;line-height:1.6;box-shadow:0 8px 24px #2521321a;z-index:30;overflow-wrap:anywhere}.notice.error{background:#8f2c36}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(300px,.9fr) minmax(460px,1.1fr)}.auth-brand{padding:55px 60px;background:#efebf7;display:flex;flex-direction:column;align-items:flex-start;border-right:1px solid #e5dfee}.auth-brand img{width:220px;max-width:100%;height:42px;object-fit:contain;object-position:left center}.auth-message{max-width:390px;margin:auto 0;padding:70px 0}.auth-message h1{font-size:42px;line-height:1.2;letter-spacing:-1.4px}.auth-message p{font-size:15px;color:#625970;line-height:1.9}.auth-brand footer{font-size:12px;color:#716880;line-height:1.8}.auth-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:54px 44px;background:#fff}.auth-card{width:100%;max-width:400px}.auth-card h2{font-size:27px;margin-bottom:12px;letter-spacing:-.7px}.auth-card>p{font-size:14px;color:var(--muted);margin-bottom:29px}.auth-card .button{width:100%;min-height:46px}.auth-links{margin-top:30px;padding-top:24px;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted)}.auth-links p{margin-bottom:10px}.auth-links a{color:inherit}.auth-card .form-error{margin-bottom:20px}.auth-card .help-note{margin-top:17px}.connection-item{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;font-size:13px;align-items:center}.connection-item:first-child{padding-top:0}.connection-item:last-child{padding-bottom:0;border-bottom:0}.connection-item>span:first-child{color:var(--muted)}.invoice-branding img{width:194px;height:40px;object-fit:contain;object-position:left}.invoice-branding p{margin:18px 0 0;font-size:13px;line-height:1.85}.invoice-accent{background:var(--purple);height:3px;width:50px;margin-top:20px}dialog{width:min(600px,calc(100vw - 32px));padding:0;border:1px solid var(--line);border-radius:10px;box-shadow:0 25px 80px #1b102a30;color:#252132;max-height:calc(100dvh - 40px);overflow-y:auto}dialog::backdrop{background:#21162d60}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;border-bottom:1px solid var(--line)}.dialog-header h2{margin:0;font-size:19px}.close-button{border:1px solid var(--line);width:32px;height:32px;border-radius:5px;color:#645b71;background:#fff;font-size:22px;line-height:1;flex:none}.dialog-body{padding:26px}.dialog-body>p:first-child{color:var(--muted);font-size:13px}.dialog-body .form-error{margin-bottom:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:5px;flex-wrap:wrap}.link-box{display:flex;gap:10px;align-items:flex-start;margin:18px 0}.link-box input{width:100%;min-width:0;padding:11px 12px;border:1px solid #ddd6e7;border-radius:5px;background:#f9f7fc;font:12px Inter,Arial,sans-serif;min-height:42px}.loading{padding:50px;text-align:center;color:var(--muted)}.footer-note{font-size:11px;color:#81798b;line-height:1.8;margin-top:32px;display:flex;justify-content:space-between;gap:16px}.footer-note a{color:inherit}.amount-large{font-size:32px;font-weight:600;letter-spacing:-1px;margin-bottom:12px}.invoice-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.invoice-summary p{font-size:13px;color:var(--muted);margin-bottom:0}.inline-notice{font-size:13px;line-height:1.6;padding:14px 16px;border-radius:6px;background:#f6f3fb;color:#645872;border:1px solid #e8e0f2;margin-bottom:22px}.inline-notice p{margin:0}.full-width{width:100%}
@media(max-width:1100px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:29px 14px 24px}.brand{width:160px;margin-left:9px}.portal-label{margin-left:9px}.topbar{padding:20px 30px}.page{padding:30px}.two-column{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:20px}.auth-brand{padding:45px 40px}.auth-message h1{font-size:36px}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:static;padding:20px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{width:174px;margin:0}.brand img{height:31px}.portal-label{margin:6px 0 18px;font-size:11px}.nav{display:flex;gap:4px;overflow-x:auto;padding-bottom:12px}.nav a{padding:10px 11px;white-space:nowrap;font-size:12px}.nav-symbol{display:none}.sidebar-bottom{display:none}.topbar{min-height:64px;padding:14px 22px}.topbar-label{font-size:11px}.account{gap:14px;font-size:12px}.account-name{max-width:170px}.page{padding:24px 22px 32px}.page-head{margin:27px 0 23px}.page-head p{font-size:13px}.stats{gap:9px}.stat{padding:17px 14px}.stat-label{font-size:11px;line-height:1.5;margin-bottom:13px}.stat-value{font-size:26px}.panel-heading{padding:19px 20px}.panel-body,.record{padding:20px}.empty{padding:36px 20px}.page-head .button{flex:none;max-width:130px}.auth-page{display:block;background:#fff}.auth-brand{padding:25px 28px;background:#fff;border:0}.auth-brand img{width:190px;height:35px}.auth-message,.auth-brand footer{display:none}.auth-side{padding:30px 28px 50px;justify-content:flex-start}.auth-card{max-width:430px}.auth-card h2{font-size:26px}.auth-links{margin-top:28px}.status-bar{padding:12px 14px}.status-meta{gap:4px 14px}.record-bottom{align-items:flex-start;flex-direction:column;gap:14px}.record-top{gap:12px}.record-amount{font-size:15px}.dialog-header{padding:20px}.dialog-body{padding:22px 20px}.footer-note{flex-direction:column;gap:8px}.notice{bottom:16px;right:16px}.definition-list{grid-template-columns:110px minmax(0,1fr);gap:13px}.form-grid{gap:15px}.link-box{flex-direction:column}.link-box .button{align-self:flex-start}}
@media(max-width:420px){.page{padding:22px 16px 30px}.topbar{padding:14px 18px}.sidebar{padding:20px 16px 0}.account-name{max-width:118px}.page-head{flex-direction:column;gap:18px}.page-head .button{max-width:none}.stats{gap:7px}.stat{padding:15px 10px}.stat-value{font-size:23px}.panel-heading h2{font-size:17px}.panel-heading,.panel-body,.record{padding:18px}.form-grid{grid-template-columns:1fr}.record-top .badge{font-size:10px}.definition-list{grid-template-columns:92px minmax(0,1fr);gap:12px;font-size:12px}.auth-side{padding:24px 22px 42px}.auth-brand{padding:24px 22px}.dialog-actions .button{flex:1}.button-row .button{font-size:12px}}
.billing-fieldset{display:grid;gap:18px;min-width:0;margin:4px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--line)}.billing-fieldset legend{padding:0 10px 0 0;font-size:14px;font-weight:600;line-height:1.5}.optional-label{font-size:11px;font-weight:400;color:var(--muted);margin-left:9px}.client-billing{margin-top:18px}.client-billing .record-note{margin:0}.client-billing .definition-list{font-size:12px;gap:10px}.client-record .record-bottom{flex-wrap:wrap}.client-record .button-row{min-width:0}.privacy-document{max-width:760px;margin:40px auto;padding:24px;line-height:1.65}.privacy-document h1{margin-top:32px;margin-bottom:20px}.privacy-document h2{margin-top:32px;margin-bottom:13px}.privacy-document p,.privacy-document li{font-size:14px;color:#51495e}.privacy-document ul{padding-left:22px}.privacy-document li{margin-bottom:9px}.privacy-document img{width:210px;height:40px;object-fit:contain;object-position:left}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
