:root{--accent:#128365;--accent-deep:#0b634c;--accent-soft:#e8f5ef;--ink:#173b3c;--muted:#6c7d82;--line:#dfe9e7;--card:#fff;--soft:#f3f7f6;--body:#edf5f3;--shadow:0 12px 34px #214a4a0c;font-family:Inter,"Avenir Next","Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--body);line-height:1.55}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 14px;border:1px solid transparent;border-radius:9px;background:var(--accent);color:#fff;font-weight:650;cursor:pointer}button:hover{filter:brightness(.96)}button:disabled{opacity:.48;cursor:default}.secondary{border-color:var(--line);background:#fff;color:var(--ink)}.danger{color:#b33b35;background:#fff0ef;border-color:#f2d2cd}.full{width:100%}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}a{color:inherit;text-decoration:none}p{margin:0 0 14px}h1,h2,h3{line-height:1.25;letter-spacing:-.035em;margin:0 0 12px}h1{font-size:30px}h2{font-size:26px}h3{font-size:18px}small{font-size:11px}strong{font-weight:700}[hidden]{display:none!important}:focus-visible{outline:3px solid #58b799;outline-offset:3px}.muted{color:var(--muted)}.eyebrow{display:block;color:var(--accent);font-size:10px;font-weight:750;letter-spacing:1.7px}.skip-link{position:fixed;top:-80px;left:20px;z-index:200;padding:12px;background:var(--ink);color:#fff}.skip-link:focus{top:15px}.text-link{display:inline-block;color:var(--accent);font-weight:650;font-size:12px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55bd95;margin-right:8px}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:800;letter-spacing:-1.4px;line-height:1}.brand small{display:block;margin-top:8px;font-size:7px;font-weight:650;letter-spacing:1.35px;color:var(--muted)}.brand-on{color:var(--accent)}.brand-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#fff;font-size:28px}.brand-light{color:white}.brand-light .brand-on{color:#81ddb7}.brand-light small{color:#a2cfc3}.brand-light .brand-symbol{background:#ffffff15;border:1px solid #72bca650;color:#9be4c6}
.login-screen{display:grid;grid-template-columns:minmax(400px,.94fr) minmax(420px,1fr);min-height:100vh}.login-story{display:flex;flex-direction:column;align-items:flex-start;position:relative;padding:56px clamp(40px,6vw,100px);overflow:hidden;background:radial-gradient(ellipse at 90% 90%,#2a8970,transparent 66%),#123a35;color:#fff}.login-story:after{position:absolute;right:-230px;top:140px;content:"";width:590px;height:590px;border:1px solid #ffffff13;border-radius:50%;box-shadow:0 0 0 58px #ffffff05,0 0 0 116px #ffffff03;pointer-events:none}.login-story>.eyebrow{margin-top:100px;color:#91d1bb}.login-story h1{position:relative;margin:25px 0;font-size:clamp(48px,5vw,74px);font-weight:650;letter-spacing:-.065em;line-height:1.05;z-index:1}.login-story em{font-style:normal;color:#93dfbd}.login-story>p{max-width:340px;color:#b0cfc4;font-size:15px;line-height:1.85}.login-story-bottom{margin-top:auto;padding-top:60px;color:#b0cfc4;font-size:11px}.login-side{display:grid;place-items:center;padding:45px}.login-card{width:100%;max-width:390px}.login-card h2{margin-top:17px;font-size:31px}.login-card>p{color:var(--muted)}.login-card form{margin-top:30px}.login-card form>button{margin-top:7px}.login-note{display:flex;align-items:flex-start;gap:9px;margin:24px 0 20px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted)}.login-note svg{width:16px;height:16px;margin-top:2px}.login-note p{margin:0;font-size:11px}
label{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:12px;font-weight:600;color:#496564}input,select,textarea{display:block;width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid #d5e1dd;border-radius:8px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #12836512}input:disabled,select:disabled{background:#edf1ef;color:#7b8c86}input[readonly]{background:#f4f7f6}.field-help{color:var(--muted);font-size:10px;font-weight:400;line-height:1.6}.checkbox{flex-direction:row;align-items:center;gap:10px;min-height:42px;font-weight:500}.checkbox input{width:17px;height:17px;min-height:17px;accent-color:var(--accent);margin:0}.notice{padding:13px 15px;margin-bottom:18px;border-radius:9px;background:var(--accent-soft);color:var(--accent-deep);font-size:12px}.notice.error{color:#9e352d;background:#fff0ec;border:1px solid #f2d0c8}
.sidebar{position:fixed;inset:12px auto 12px 12px;display:flex;flex-direction:column;width:224px;padding:26px 13px 16px;border:1px solid #fff;border-radius:22px;background:#fafdfccf;box-shadow:var(--shadow);z-index:40}.sidebar .brand{margin:0 10px}.admin-badge{display:flex;align-items:center;margin:24px 8px 15px;font-size:8px;color:var(--muted);letter-spacing:.9px;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:auto}.nav-label{display:block;margin:18px 12px 7px;color:#8a9b97;font-size:9px;letter-spacing:1.2px;font-weight:700}.sidebar nav button{justify-content:flex-start;gap:12px;min-height:43px;padding:11px 13px;background:transparent;color:#536f69;font-size:12px;font-weight:500;text-align:left}.sidebar nav button.active{background:linear-gradient(105deg,var(--accent),var(--accent-deep));color:#fff;box-shadow:0 7px 16px #147c6823}.sidebar nav svg{width:17px;height:17px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line)}.sidebar-bottom strong{font-size:11px}.sidebar-bottom p{margin:5px 0 12px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.sidebar-bottom a{color:var(--accent);font-size:10px;font-weight:650}.workspace{margin-left:259px;padding:0 30px 0 4px;min-width:0}.app-header{display:flex;align-items:center;gap:15px;height:103px}.app-header h1{font-size:27px;margin:7px 0 0}.app-header>.header-actions{margin-left:auto}.header-actions{display:flex;align-items:center;gap:12px}.header-actions #identity{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}.header-actions button{font-size:11px;min-height:35px}.master-label{padding:5px 8px;border-radius:6px;background:#dcefe5;color:var(--accent-deep);font-size:9px;letter-spacing:.7px;font-weight:750}.icon-button{width:37px;height:37px;min-height:37px;padding:8px;background:#fff;color:var(--ink);border:1px solid var(--line)}.menu-toggle{display:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 23px}.page-heading p{color:var(--muted);font-size:12px;margin:0}.page-heading button{font-size:11px}.page-heading button svg{width:15px;height:15px}#page-content{min-height:60vh}.app-footer{display:flex;justify-content:space-between;gap:15px;padding:35px 0 23px;color:#839990;font-size:10px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{padding:23px;border:1px solid #fff;border-radius:15px;background:#fff;box-shadow:var(--shadow);min-width:0}.stat-card span{display:block;margin-bottom:12px;color:var(--muted);font-size:11px}.stat-card strong{display:block;color:var(--ink);font-size:31px;font-weight:750;letter-spacing:-.05em;line-height:1.2;overflow-wrap:anywhere}.stat-card small{display:block;margin-top:8px;color:var(--muted);font-size:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.8fr);gap:20px}.card{padding:25px;margin-bottom:20px;border:1px solid #e1eae6;border-radius:16px;background:#fff;box-shadow:var(--shadow);min-width:0}.card h2{font-size:20px}.card p{color:var(--muted);font-size:12px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-heading h2,.card-heading h3{margin:0}.card-heading button{font-size:11px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-action{display:flex;flex-direction:column;align-items:flex-start;min-height:112px;padding:18px;text-align:left;background:#f3f8f5;color:var(--ink);border-color:#e1eae5}.quick-action svg{color:var(--accent)}.quick-action span{color:var(--muted);font-size:11px;font-weight:400}.health{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dce9e2;border-radius:10px;background:#f4faf6}.health svg{color:var(--accent);margin-top:2px}.health h3{margin:0 0 7px;font-size:15px}.health p{font-size:11px;margin:0}.health.warning{border-color:#eddfbd;background:#fffbef}.health.warning svg{color:#a87116}.info-list{display:grid;gap:0;margin:12px 0}.info-row{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:11px 0;border-bottom:1px solid #e6ede9;font-size:12px}.info-row span{color:var(--muted)}.info-row strong{text-align:right;overflow-wrap:anywhere}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:17px}.toolbar-start,.toolbar-end{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.toolbar input[type=search]{width:270px;max-width:100%;font-size:12px}.toolbar select{width:auto;max-width:230px;font-size:12px}.toolbar button{font-size:11px}.subnote{color:var(--muted);font-size:10px;margin:10px 0 0}.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px;padding:5px;border:1px solid var(--line);border-radius:11px;background:#ffffff80}.tabs button{padding:9px 14px;min-height:35px;background:transparent;color:var(--muted);font-size:11px;font-weight:600}.tabs button.active{background:var(--accent);color:#fff}.table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{padding:13px 15px;white-space:nowrap;background:#f7faf8;color:#647e72;border-bottom:1px solid var(--line);font-size:10px;font-weight:700}td{padding:15px;border-bottom:1px solid #e9efeb;vertical-align:top;color:var(--ink);overflow-wrap:anywhere;min-width:90px}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px;overflow-wrap:anywhere}td strong{font-size:12px}td .amount{font-variant-numeric:tabular-nums;white-space:nowrap}td .row-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:115px}.row-actions button{padding:6px 9px;min-height:30px;font-size:10px}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;background:#edf3f0;color:#647c70;font-size:9px;font-weight:700;white-space:nowrap}.badge.success{background:#e4f5ea;color:#287d4e}.badge.warning{background:#fff4d8;color:#936720}.badge.danger{background:#ffebe8;color:#ae4539}.badge.info{background:#edf2fc;color:#3b67a4}.number{font-variant-numeric:tabular-nums;white-space:nowrap}.pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px;font-size:11px;color:var(--muted)}.pagination>div{display:flex;gap:8px}.pagination button{font-size:10px;min-height:32px}.empty-state{display:grid;place-content:center;min-height:240px;padding:35px;border:1px dashed #d4e1d8;border-radius:13px;background:#fff;text-align:center}.empty-state svg{margin:0 auto 15px;width:31px;height:31px;color:#88b5a0}.empty-state strong{font-size:17px}.empty-state p{max-width:430px;margin:10px 0 0;color:var(--muted);font-size:12px}.loading{padding:65px 25px;text-align:center;color:var(--muted);font-size:13px}.loading:before{display:block;width:22px;height:22px;margin:0 auto 16px;border:2px solid #cce3d6;border-top-color:var(--accent);border-radius:50%;content:"";animation:turn .8s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:18px}.plan-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--line);border-radius:15px;background:white}.plan-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.plan-card h3{font-size:22px;margin-bottom:8px;overflow-wrap:anywhere}.plan-code{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.8px}.plan-price{margin:12px 0;font-size:29px;letter-spacing:-.04em;font-weight:750;color:var(--accent)}.plan-price.unset{font-size:19px;color:#9a741d}.plan-description{margin:14px 0 22px;color:var(--muted);font-size:11px;white-space:pre-line;overflow-wrap:anywhere}.plan-card .info-row{font-size:11px}.plan-card>button{margin-top:auto;width:100%;font-size:11px}.plan-draft-note{margin:0 0 17px;padding:13px 16px;border:1px solid #eadfbf;border-radius:9px;background:#fffbef;color:#8e6e28;font-size:11px}
dialog{width:calc(100% - 30px);max-width:640px;max-height:90dvh;padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 100px #092a3350}dialog::backdrop{background:#143d3e66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.dialog-heading h2{margin:9px 0 0;font-size:24px}.dialog-heading .icon-button{flex:none}.dialog-heading .eyebrow{font-size:8px}.dialog-heading+p{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-grid>.span-two{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:18px;border-top:1px solid var(--line);margin-top:10px}.dialog-actions button{min-width:95px;font-size:12px}.inspect-dialog{max-width:740px}.inspect-dialog .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inspect-dialog .stat-card{padding:18px;background:#f4f8f5;border-color:#e1eae5}.inspect-dialog .stat-card strong{font-size:25px}.inspect-dialog .stat-card span{font-size:10px}.inspect-dialog .card{padding:18px}.inspect-dialog .table-scroll{margin-top:17px}.account-heading{margin:0 0 20px}.account-heading strong{display:block;font-size:17px}.account-heading span{display:block;color:var(--muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.wrap{white-space:pre-line;overflow-wrap:anywhere}.error-state{padding:25px;border:1px solid #edcfc7;border-radius:12px;background:#fff6f2}.error-state strong{color:#a44330}.error-state p{margin:8px 0 15px;font-size:12px;color:#7d5d54}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:minmax(0,1fr)}.workspace{padding-right:22px}.header-actions #identity{display:none}.card{padding:22px}}
@media(max-width:900px){.sidebar{width:204px;inset:10px auto 10px 10px}.workspace{margin-left:235px;padding-right:18px}.sidebar .brand{font-size:26px}.sidebar nav button{font-size:11px}.sidebar .brand-symbol{width:37px;height:37px}.app-header h1{font-size:24px}.app-header .eyebrow{font-size:8px}.header-actions{gap:8px}.master-label{display:none}.login-screen{grid-template-columns:1fr}.login-story{display:none}.login-side{min-height:100vh;padding:36px}.toolbar{align-items:flex-start}.toolbar-start{flex:1;min-width:220px}.toolbar input[type=search]{width:100%}.quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.sidebar{inset:0 auto 0 0;width:237px;transform:translateX(-103%);border-radius:0 20px 20px 0;z-index:80;transition:transform .18s;background:#f9fdfb}.sidebar.open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;z-index:70;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#11332d66;backdrop-filter:blur(2px)}.workspace{margin-left:0;padding:0 16px}.menu-toggle{display:inline-flex;flex:none}.app-header{height:88px;gap:11px}.app-header h1{font-size:22px}.header-actions button{padding:8px 10px;font-size:10px}.app-header>.header-actions{gap:0}.app-header .eyebrow{letter-spacing:1px;font-size:7px}.page-heading{margin-bottom:19px;gap:12px}.page-heading p{font-size:11px}.page-heading button{min-width:90px;font-size:10px}.stats-grid{gap:10px}.stat-card{padding:19px}.stat-card span{font-size:10px}.stat-card strong{font-size:28px}.overview-grid{gap:0}.card{padding:20px;border-radius:13px}.toolbar input[type=search]{font-size:12px}.toolbar select{max-width:none}.toolbar-start{width:100%;flex-basis:100%;min-width:0}.toolbar-end{width:100%}.toolbar-end button{flex:1}.tabs{gap:2px}.tabs button{padding:8px 10px;font-size:10px}.plan-grid{gap:13px}.plan-card{padding:22px}.plan-card h3{font-size:21px}.plan-price{font-size:28px}.app-footer{padding-top:27px;font-size:9px;flex-wrap:wrap;gap:8px}.form-grid{gap:0 12px}dialog{padding:24px 20px}.inspect-dialog .stats-grid{gap:7px}.inspect-dialog .stat-card{padding:13px}.inspect-dialog .stat-card strong{font-size:22px}.inspect-dialog .stat-card span{font-size:9px}.pagination{flex-wrap:wrap;gap:12px}.table-scroll{border-radius:10px}.quick-action{padding:17px}.login-side{padding:26px}.login-card h2{font-size:29px}}
@media(max-width:400px){.workspace{padding:0 11px}.app-header{gap:8px}.app-header h1{font-size:19px}.app-header .eyebrow{font-size:6px}.header-actions button{font-size:9px;padding:7px 8px}.icon-button{width:32px;height:32px;min-height:32px}.quick-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid>.span-two{grid-column:auto}.stats-grid{gap:8px}.stat-card{padding:15px}.stat-card strong{font-size:26px}.page-heading p{font-size:10px}.card{padding:17px}.inspect-dialog .stats-grid{grid-template-columns:1fr}.inspect-dialog .stat-card{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.inspect-dialog .stat-card span{margin:0}.inspect-dialog .stat-card small{display:none}.toolbar-end button{font-size:10px}.dialog-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.tax-inspection{padding:24px;max-width:1000px;overflow-wrap:anywhere}.tax-inspection .info-row{overflow-wrap:anywhere}.sidebar #navigation{overflow-y:auto;min-height:0}.sidebar{height:calc(100dvh - 24px)}@media(max-width:760px){.sidebar{height:100dvh}}.header-actions .master-label{max-width:180px;white-space:normal}
