.panel-root,.auth-page{--ink:#15243b;--muted:#66738a;--blue:#245bdc;--line:#e0e6ef;--surface:#fff;color:var(--ink);font-family:var(--font-geist-sans),Arial,sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f7fb;min-height:100vh;font-size:14px;line-height:1.5}.panel-root *,.auth-page *{box-sizing:border-box}.panel-root button,.auth-page button{cursor:pointer}.panel-root button:disabled,.auth-page button:disabled{opacity:.5;cursor:not-allowed}.panel-root a{text-decoration:none}.sidebar{border-right:1px solid var(--line);z-index:40;background:#fff;flex-direction:column;width:240px;padding:30px 16px;display:flex;position:fixed;inset:0 auto 0 0}.panel-brand{letter-spacing:-.7px;color:#101e35;align-items:center;gap:13px;font-size:23px;font-weight:650;display:flex}.panel-brand>span{color:#fff;letter-spacing:0;background:#245bdc;border-radius:5px;place-items:center;width:37px;height:39px;font-size:23px;font-weight:500;display:grid}.sidebar .panel-brand{padding:0 8px}.sidebar nav{flex-direction:column;gap:9px;margin-top:43px;display:flex}.sidebar nav a,.sidebar-bottom>a,.sidebar-bottom>button{color:#26354c;text-align:left;border-radius:7px;align-items:center;gap:17px;width:100%;min-height:53px;padding:12px 15px;font-size:15px;font-weight:450;display:flex}.sidebar nav a svg,.sidebar-bottom svg{color:#627087;stroke-width:1.65px;flex-shrink:0}.sidebar nav a.selected{color:#245bdc;background:#edf3ff}.sidebar nav a.selected svg{color:#245bdc}.sidebar nav a:hover,.sidebar-bottom a:hover,.sidebar-bottom button:hover{background:#f2f5fa}.sidebar-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:20px}.sidebar-bottom small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.sidebar-bottom>a.public-link{min-height:20px;color:var(--muted);margin-top:5px;padding-left:54px;font-size:12px}.panel-main{margin-left:240px}.panel-top{height:91px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 36px;display:flex}.panel-top>div{align-items:center;gap:12px;display:flex}.panel-top a{color:var(--blue)}.panel-main main{max-width:1680px;margin:auto;padding:7px 36px 44px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px;display:flex}.page-heading h1{letter-spacing:-1.25px;margin:0 0 10px;font-size:35px;font-weight:650;line-height:1.25}.page-heading p{color:var(--muted);margin:0;font-size:16px}.btn{background:var(--blue);color:#fff;border:1px solid var(--blue);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 18px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.btn:hover{background:#1a4bbb}.btn.secondary{color:var(--blue);background:#fff;border-color:#cbd7ef}.btn.secondary:hover{background:#f1f5ff}.icon-btn{border:1px solid var(--line);width:38px;height:38px;color:var(--muted);background:#fff;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.text-btn{color:var(--blue);white-space:nowrap;align-items:center;gap:5px;font-size:13px;font-weight:500;display:inline-flex}.text-btn:hover{text-decoration:underline}.text-btn.danger{color:#a94545}.metrics{background:#f4f7fd;border:1px solid #d2dff6;border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));min-height:158px;margin:0 0 25px;padding:25px 0;display:grid}.metrics>div{flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex;position:relative}.metrics>div+div:before{content:"";background:#d6e0f0;width:1px;height:66px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.metrics svg{width:21px;height:21px;color:var(--blue);stroke-width:1.7px;margin-bottom:5px}.metrics span{color:var(--muted);font-size:13px}.metrics strong{font-size:34px;font-weight:450;line-height:1.2}.metrics small{color:var(--muted);font-size:10px}.accounting-metrics strong{font-size:28px}.surface{border:1px solid var(--line);background:#fff;border-radius:7px;margin-bottom:25px;overflow:hidden;box-shadow:0 2px 5px #14203905}.surface-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:24px;display:flex}.surface h2,.modal-head h2{letter-spacing:-.4px;margin:0;font-size:21px;font-weight:600;line-height:1.3}.surface-head p{color:var(--muted);margin:6px 0 0;font-size:13px}.search{border:1px solid var(--line);min-width:285px;height:43px;color:var(--muted);border-radius:5px;align-items:center;gap:10px;padding:0 13px;display:flex}.search input{width:100%;min-width:0;font-size:13px;background:0 0!important;border:0!important;padding:0!important}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{color:var(--muted);background:#fbfcff;font-size:12px;font-weight:500}th,td{vertical-align:middle;border-bottom:1px solid #edf0f5;padding:17px 24px}td strong{font-weight:550}td small,summary small{color:var(--muted);margin-top:4px;font-size:11px;display:block}td .client-link{color:var(--ink);font-weight:600}td .client-link:hover{color:var(--blue)}tbody tr:hover{background:#fafcff}tfoot th{color:var(--ink);font-weight:600}.amount{white-space:nowrap;font-variant-numeric:tabular-nums}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:235px;padding:28px 20px 26px;display:flex}.empty-icon{width:65px;height:65px;color:var(--blue);border:1px solid #dde5f2;border-radius:50%;place-items:center;margin-bottom:12px;display:grid}.empty-icon svg{stroke-width:1.5px}.empty h3{margin:0 0 5px;font-size:16px;font-weight:600}.empty p{color:var(--muted);margin:0 0 18px;font-size:13px}.empty .btn{min-height:47px;padding:10px 25px}.table-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;padding:12px 24px;font-size:11px;display:flex}.table-footer label{align-items:center;gap:7px;display:flex}.table-footer input{width:13px!important;min-height:13px!important}.info-strip{background:#f0f5ff;border:1px solid #d2dff6;border-radius:6px;align-items:center;gap:20px;margin:29px 0 0;padding:22px 23px;display:flex}.info-strip>svg{color:var(--blue);box-sizing:content-box;stroke-width:1.5px;border:1px solid #cfdbef;border-radius:50%;flex-shrink:0;padding:13px}.info-strip strong{font-weight:550}.info-strip p{color:var(--muted);margin:6px 0 0;font-size:13px}:is(.info-strip:has(+.error-box),.info-strip:has(+.surface)){margin:0 0 24px}.actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.status{color:#64738a;white-space:nowrap;background:#eff2f6;border-radius:5px;padding:3px 9px;font-size:11px;display:inline-flex}.status.posted,.status.done{color:#247658;background:#eaf7f1}.status.pending,.status.draft,.status.new{color:#986919;background:#fff4df}.status.review,.status.read,.status.open{color:#245bdc;background:#edf3ff}.status.void{color:#986161;background:#f6eeee}.back-link{color:var(--muted);align-items:center;gap:8px;margin-bottom:17px;font-size:12px;display:flex}.workspace-toolbar{flex-wrap:wrap;justify-content:space-between;gap:15px;margin:0 0 25px;display:flex}.tabs{border-bottom:1px solid var(--line);scrollbar-width:thin;gap:20px;max-width:100%;display:flex;overflow-x:auto}.tabs button{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;padding:12px 0;font-size:13px}.tabs button.active{border-color:var(--blue);color:var(--blue);font-weight:600}.panel-root input,.panel-root select,.panel-root textarea,.auth-page input{color:var(--ink);background:#fff;border:1px solid #dbe2ed;border-radius:5px;max-width:100%;min-height:41px;padding:10px 12px;font-family:inherit;font-size:13px}.panel-root input:focus,.panel-root select:focus,.panel-root textarea:focus,.auth-page input:focus{outline-offset:1px;outline:2px solid #a0b9f1}.panel-root button:focus-visible,.panel-root a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.setup-steps{padding:4px 24px}.setup-steps button{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:20px;width:100%;padding:23px 0;display:flex}.setup-steps button:last-child{border:0}.setup-steps b{color:#93a7c8;font-size:20px;font-weight:450}.setup-steps strong{font-size:14px;font-weight:550}.setup-steps p{color:var(--muted);margin:5px 0 0;font-size:12px}.setup-steps svg{color:var(--blue);margin-left:auto}.contact-details{padding:24px}.contact-details dl{grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 5px;display:grid}.contact-details dt{color:var(--muted);font-size:12px}.contact-details dd{overflow-wrap:anywhere;margin:6px 0;font-size:14px}.preserve{white-space:pre-wrap;color:var(--muted);margin:20px 0 0}.journal-list details{border-bottom:1px solid var(--line)}.journal-list summary{cursor:pointer;align-items:center;gap:17px;padding:20px 24px;display:flex}.journal-list summary>span:nth-child(2){flex:1}.journal-list summary strong{font-weight:500}.entry-number{color:var(--muted);min-width:38px;font-size:12px}.journal-detail{background:#fafcff;padding:0 24px 18px}.journal-detail .table-scroll{border-top:1px solid var(--line)}.audit-list{padding:8px 24px}.audit-list>div{align-items:flex-start;gap:15px;padding:17px 0;display:flex}.audit-dot{background:#98b0dd;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:7px}.audit-list strong{font-size:13px;font-weight:500}.audit-list p{color:var(--muted);margin:5px 0 0;font-size:11px}.negative{color:#b24747}.panel-modal{border:1px solid var(--line);width:min(720px,100vw - 30px);max-height:90vh;color:var(--ink);background:#fff;border-radius:10px;margin:auto;padding:0;font-family:inherit;position:fixed;inset:0;box-shadow:0 20px 80px #14274430}.panel-modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#13243c60}.modal-head{border-bottom:1px solid var(--line);z-index:1;background:#fff;justify-content:space-between;align-items:center;padding:22px 26px;display:flex;position:sticky;top:0}.panel-modal form,.panel-modal>p,.panel-modal>.error-box,.panel-modal>.form-actions{margin:0;padding:22px 26px}.panel-modal>p{padding-bottom:0}.form-grid{grid-template-columns:1fr 1fr;gap:0 20px;display:grid}.field{flex-direction:column;gap:7px;margin-bottom:17px;display:flex}.field>label{font-size:12px;font-weight:500}.field input,.field select,.field textarea{width:100%}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:12px;margin-top:22px;padding-top:18px;display:flex}.form-hint{color:var(--muted);margin:0 0 17px;font-size:12px}.entry-line{grid-template-columns:minmax(0,2fr) 1fr 1fr 34px;align-items:end;gap:10px;display:grid}.entry-line .icon-btn{width:34px;margin-bottom:18px}.line-totals{justify-content:space-between;gap:15px;margin:5px 0 20px;font-size:12px;display:flex}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.error-box{color:#9a3434;background:#fff1f1;border:1px solid #f2cccc;border-radius:6px;margin:0 0 20px;padding:13px 17px;font-size:13px}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:55px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu{display:none}.auth-page{place-items:center;padding:30px 20px;display:grid}.auth-box{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;max-width:430px;padding:38px 34px;box-shadow:0 10px 40px #15243b05}.auth-box h1{letter-spacing:-.6px;margin:35px 0 10px;font-size:25px;font-weight:600}.auth-box>p{color:var(--muted);margin:0 0 28px;font-size:14px}.auth-box .btn{width:100%;margin-top:5px}.muted-link{text-align:center;color:var(--muted);margin-top:25px;font-size:12px;display:block}.auth-box .panel-brand{font-size:24px}.panel-root .surface-head select{max-width:300px}.panel-root .form-actions button{max-width:100%}@media (min-width:1500px){.panel-main main{padding-top:12px}.page-heading{margin-bottom:38px}.metrics{min-height:168px}.empty{min-height:275px}}@media (max-width:1150px){.sidebar{width:210px}.panel-main{margin-left:210px}.panel-main main{padding-left:25px;padding-right:25px}.panel-top{padding:0 25px}.panel-brand{font-size:21px}.page-heading h1{font-size:29px}.surface-head{flex-wrap:wrap}.accounting-metrics strong{font-size:23px}.workspace-toolbar{display:block}.workspace-toolbar>select{margin-top:15px}.tabs{gap:19px}.search{min-width:240px}th,td{padding:15px 18px}}@media (max-width:760px){.sidebar{width:235px;transition:transform .18s;transform:translate(-100%);box-shadow:15px 0 50px #15243b18}.sidebar.visible{transform:translate(0)}.mobile-menu{z-index:50;display:flex;position:fixed;top:15px;right:17px}.panel-main{margin-left:0}.panel-top{height:70px;padding:0 20px}.panel-top>span{display:none}.panel-main main{padding:10px 17px 30px}.page-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:25px}.page-heading h1{font-size:28px}.page-heading p{font-size:14px}.metrics{min-height:135px;padding:20px 0}.metrics strong{font-size:28px}.metrics span{text-align:center;padding:0 6px;font-size:11px}.metrics svg{width:19px}.accounting-metrics strong{font-size:18px}.metrics small{text-align:center;padding:0 5px}.surface-head{gap:15px;padding:19px}.surface-head h2{font-size:19px}.surface-head .search{width:100%;min-width:0}.surface-head>.actions{gap:8px}.surface-head .btn{padding:9px 12px;font-size:12px}.empty{padding:28px 20px}.info-strip{gap:13px;padding:19px 17px}.info-strip>svg{width:21px;height:21px;padding:10px}.info-strip p{font-size:12px}.info-strip strong{font-size:13px}.table-footer{flex-wrap:wrap;padding:12px 17px}.tabs{gap:21px}.contact-details dl{grid-template-columns:1fr}.setup-steps{padding:0 18px}.setup-steps button{gap:13px}.journal-list summary{flex-wrap:wrap;gap:9px;padding:16px}.journal-list summary>span:nth-child(2){min-width:55%}.journal-detail{padding:0 10px 15px}.form-grid{grid-template-columns:1fr}.panel-modal form{padding:20px}.modal-head{padding:18px 20px}.entry-line{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr 34px;gap:8px;margin-bottom:17px}.entry-line>.field:first-child{grid-column:1/-1;margin-bottom:0}.line-totals{flex-direction:column}.auth-box{padding:30px 25px}.panel-root .surface-head select{width:100%;max-width:100%}}@media (prefers-reduced-motion:reduce){.spin{animation:none}.sidebar{transition:none}}@media (max-width:760px){.table-scroll table{min-width:600px}.table-scroll td:first-child{min-width:170px}}.payroll-content,.payroll-preview{padding:20px}.payroll-check{align-items:flex-start;gap:10px;margin:18px 0;font-size:14px;display:flex}.payroll-check input{width:18px;min-height:18px;margin-top:2px}.payroll-preview{background:#f0f8f6;border:1px solid #d7e9e3;border-radius:12px;margin-top:20px}.payroll-preview .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.payroll-preview .metrics strong{font-size:20px}.payroll-parameters div{border-bottom:1px solid #eee;justify-content:space-between;gap:20px;padding:10px;display:flex}.payroll-parameters dd{margin:0}.notice{color:#735718;background:#fff8e7;border-radius:8px;padding:12px;font-size:13px}.status.approved,.status.paid{color:#236548;background:#e2f4eb}.panel-modal h3{margin-top:24px}.panel-modal section{border-top:1px solid #e7ece9;margin-top:20px}@media (max-width:600px){.payroll-preview .metrics{grid-template-columns:1fr}.payroll-content,.payroll-preview{padding:12px}.payroll-parameters div{overflow-wrap:anywhere;display:block}}.office-filters{border-bottom:1px solid #e5ebf2;flex-wrap:wrap;align-items:center;gap:14px;padding:18px 24px;display:flex}.office-filters label{align-items:center;gap:7px;font-size:13px;display:flex}.office-filters input[type=checkbox]{width:auto;min-height:0}.panel-root progress{accent-color:#2455eb;width:105px;height:6px;margin-top:9px;display:block}.status.overdue{color:#ac3434;background:#ffebeb}.status.partial{color:#88631b;background:#fff4d8}.payment-line{border-top:1px solid #e5ebf2;padding:18px 0}.payment-line form{margin-top:15px}.panel-root .surface+.surface{margin-top:22px}.panel-root input[type=file]{max-width:100%;padding:10px}.panel-root .surface input[type=checkbox]{width:auto;min-height:0}.panel-root .metrics strong{overflow-wrap:anywhere}@media (max-width:650px){.office-filters{flex-direction:column;align-items:stretch;padding:16px}.panel-root .surface-head .actions{flex-wrap:wrap}.panel-root .page-heading input[type=month]{max-width:180px}}.sidebar{overflow-y:auto}.workspace-toolbar>input[type=month]{margin-top:15px}.office-metrics strong{white-space:nowrap}@media (max-width:650px){.office-metrics{grid-template-columns:1fr;padding:8px 16px}.office-metrics>div{padding:16px 0}.office-metrics>div+div:before{width:100%;height:1px;top:0;left:0;transform:none}.office-metrics strong{font-size:28px}.office-metrics span{font-size:12px}}
