:root{color-scheme:light;--bg:#f5f5f7;--ink:#1d1d1f;--muted:#626267;--line:#e2e2e7;--green:#0066cc;--green-light:#eaf3ff;--white:#fff;--chrome-bg:#f9f9fb;--surface-subtle:#fafafb;--field-bg:#fff;--hover-bg:#f0f0f4;--badge-bg:#ededf2;--label:#424245;--secondary-text:#626267;--heading-secondary:#626267;--primary-text:#fff;--primary-hover:#005bb5;--focus:#0066cc;--focus-shadow:#0066cc20;--placeholder:#6e6e73;--success-bg:#e4f4ea;--success-text:#1b613e;--warning-bg:#fff4dc;--warning-text:#77520c;--error-bg:#fce8e6;--error-text:#a32929;--notice-bg:#f4f4e6;--notice-line:#d1d3ad;--notice-heading:#45541f;--notice-text:#52602d;--notice-badge-bg:#e5e9cf;--notice-badge-text:#45541f;--strong-line:#bcbcc4;--check-accent:#0066cc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{transition:background .15s,color .15s}a{color:inherit;text-decoration:none}.fx-table-wrapper:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2}h1,h2{font-weight:600}h2{font-size:17px;letter-spacing:-.25px}h3{font-size:15px}p{line-height:1.6}small{font-size:12px}button svg{flex-shrink:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;background:var(--white);border-right:1px solid var(--line);padding:34px 19px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:2}.brand{display:flex;align-items:center;letter-spacing:-1px;padding:0 7px}.brand small{font-size:8px;background:var(--badge-bg);color:var(--muted);padding:4px;letter-spacing:.6px;margin-left:7px;border-radius:3px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;padding:13px 14px;border:0;background:none;color:var(--secondary-text);text-align:left;border-radius:7px;margin-bottom:7px}.nav-item:hover{background:var(--hover-bg)}.nav-item.active{background:var(--green-light);color:var(--green);font-weight:600}.nav-count{margin-left:auto;font-size:11px;border-radius:5px;background:var(--badge-bg);min-width:22px;padding:3px;text-align:center}.main-shell{margin-left:238px;flex:1}.topbar{height:76px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:12px}.environment{color:var(--muted);font-size:11px}.environment span{padding:0 12px;color:var(--secondary-text)}main{max-width:1500px;padding:42px 44px 22px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.4px;color:var(--muted);margin-bottom:12px}.page-heading p{margin-top:12px;font-size:13px;color:var(--muted)}.primary,.secondary{min-height:41px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:11px 16px;font-size:12px;font-weight:600;white-space:nowrap}.primary{color:var(--primary-text);background:var(--green);border:1px solid var(--green)}.primary:hover{background:var(--primary-hover)}.secondary{background:var(--white);border:1px solid var(--line);color:var(--green)}.secondary:hover{background:var(--badge-bg)}.text-button{border:0;background:none;padding:0;color:var(--green);font-size:12px;display:inline-flex;align-items:center;gap:7px}.notice{display:flex;align-items:center;gap:12px;border:1px solid var(--notice-line);background:var(--notice-bg);padding:17px 20px;border-radius:8px;margin-bottom:27px}.notice strong{font-size:12px;color:var(--notice-heading)}.notice p{font-size:11px;color:var(--notice-text);margin-top:4px}.notice>.pill{margin-left:auto;white-space:nowrap;background:var(--notice-badge-bg);color:var(--notice-badge-text)}.pill{font-size:10px;padding:5px 8px;border-radius:5px;background:var(--badge-bg);color:var(--label);display:inline-block}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px}.panel,.stat{background:var(--white);border:1px solid var(--line);border-radius:9px}.stat{padding:24px;min-width:0;overflow-wrap:anywhere}.stat>div{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.stat>div svg{color:var(--secondary-text)}.stat>strong{display:block;font-size:34px;font-weight:500;margin:19px 0 8px;letter-spacing:-1px}.stat>small{font-size:11px;color:var(--muted)}.panel{min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px;border-bottom:1px solid var(--line)}.empty{padding:45px 20px 22px;text-align:center}.empty-icon{display:inline-grid;place-items:center;width:62px;height:62px;border:1px solid var(--line);border-radius:18px;background:var(--hover-bg);color:var(--label);margin-bottom:20px;transform:rotate(-5deg)}.empty h3{font-size:14px;font-weight:500}.empty p{font-size:12px;color:var(--muted);margin:10px auto 0;max-width:320px}.empty-action{text-align:center;padding:0 20px 35px}.steps{padding:26px}.steps>p{font-size:12px;color:var(--muted);margin:12px 0 20px}.steps>button{display:flex;width:100%;align-items:center;gap:12px;background:none;border:0;border-top:1px solid var(--line);padding:19px 0;text-align:left;font-size:12px;color:var(--ink)}.steps>button>svg{margin-left:auto;color:var(--secondary-text)}.step{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);font-size:10px;color:var(--muted)}.step.done{background:var(--green-light);color:var(--green)}.editor-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.form{padding:25px;display:flex;flex-direction:column;gap:20px}.form h2{margin-bottom:5px}.permission-boundary{border:0;margin:0;padding:0;min-width:0}label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--label)}label small{display:contents;color:var(--muted)}input,select,textarea{border:1px solid var(--line);border-radius:5px;padding:11px 12px;background:var(--white);color:var(--ink);width:100%;min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 2px var(--focus-shadow)}input::placeholder,textarea::placeholder{color:var(--placeholder);font-size:12px}textarea{resize:vertical}.search{margin:18px 24px 6px;width:calc(100% - 48px)}.record{display:flex;align-items:center;gap:13px;padding:20px 24px;border-bottom:1px solid var(--line)}.record>div{flex:1;min-width:0}.record strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.record small{display:block;color:var(--muted);font-size:11px;margin-top:7px;overflow-wrap:anywhere}.record:last-child{border-bottom:0}.record.email-job{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:18px}.email-job .form-row{flex-wrap:wrap}.email-job summary{cursor:pointer;padding:12px 0;font-weight:600}.avatar{height:36px;width:36px;border-radius:9px;background:var(--badge-bg);color:var(--label);display:grid;place-items:center;flex-shrink:0}.record>strong{white-space:nowrap}.muted{color:var(--muted);font-size:12px;line-height:1.6}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.5px;font-weight:500;color:var(--secondary-text);background:var(--surface-subtle);padding:13px 24px}td{padding:19px 24px;font-size:12px;border-top:1px solid var(--line)}td small{display:block;color:var(--muted);margin-top:7px}.draft-link{border:0;background:none;padding:0;color:var(--green);font-weight:600}.back{margin:0 0 20px}.form-row{display:flex;gap:15px}.form-row>label{flex:1;min-width:0}.payroll-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}.payroll-workspace .section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}.payroll-workspace details>summary{cursor:pointer;font-weight:600;padding:12px 0}.payroll-workspace .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.payroll-workspace form.toolbar{align-items:end}.payroll-workspace form.toolbar>label{flex:1;min-width:min(240px,100%)}.payroll-workspace .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px}.icon-button{display:grid;place-items:center;width:30px;height:30px;background:none;border:0;color:#9b7471}.totals{margin-top:12px;margin-left:auto;width:min(100%,320px);display:flex;flex-direction:column;gap:14px}.totals>div{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.totals>div:last-child{color:var(--ink);border-top:1px solid var(--line);padding-top:17px;font-size:14px}.document{padding:10px 32px 32px}.document .panel-heading{padding:25px 0}.document-customer{padding:28px 0}.document-customer>small{color:var(--muted);font-size:10px;letter-spacing:1px}.document-customer h3{margin:10px 0}.document-customer p{color:var(--muted);font-size:12px}.document>.record{padding:20px 0}.document-footer{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.notes{white-space:pre-wrap;font-size:12px;margin-top:20px;color:var(--muted)}.integration{border-top:1px solid var(--line);padding-top:20px;font-size:12px}.integration>.pill{float:right}.integration p{color:var(--muted);font-size:11px;margin-top:15px}.alert{margin-bottom:20px;padding:14px 18px;border-radius:6px;font-size:12px;display:flex;align-items:center;gap:8px;line-height:1.5}.error{background:var(--error-bg);color:var(--error-text)}.success{background:var(--success-bg);color:var(--success-text)}.alert.warning{background:var(--warning-bg);color:var(--warning-text)}.footer{display:flex;gap:10px;margin-top:60px;border-top:1px solid var(--line);padding-top:22px;font-size:10px;color:var(--muted)}.footer>span:last-child{margin-left:auto}.empty .primary{margin:20px auto}@media (min-width:1600px){main{padding-top:55px}}@media (max-width:1100px){.sidebar{width:205px;padding:30px 12px}.main-shell{margin-left:205px}main{padding:30px 25px}.topbar{padding:0 25px}.editor-grid{grid-template-columns:1fr}.steps{max-width:none}.page-heading{align-items:flex-start}h1{font-size:27px}.notice>.pill{display:none}}@media (max-width:650px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:18px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:21px}.sidebar nav{display:flex;overflow-x:auto;margin-top:20px;gap:5px;padding-bottom:8px}.nav-item{flex-direction:column;gap:8px;font-size:10px;padding:10px;min-width:68px;margin:0}.nav-count{display:none}.main-shell{margin:0}.topbar{height:53px;padding:0 20px;font-size:11px}.environment{font-size:10px}.environment span{padding:0 5px}main{padding:26px 18px}.page-heading{flex-direction:column;gap:18px}.page-heading p{font-size:12px}h1{font-size:27px}.notice{padding:15px;align-items:flex-start}.stats{gap:8px}.stat{padding:15px 11px}.stat>div{font-size:10px;line-height:1.5}.stat>div svg{display:none}.stat>strong{font-size:27px;margin:15px 0 5px}.stat>small{font-size:9px;line-height:1.5;display:block}.panel-heading{padding:20px 17px}h2{font-size:15px}.panel-heading .text-button{font-size:10px}.record{padding:17px}.form{padding:20px}.form-row{flex-direction:column}.document{padding:6px 20px 25px}.footer>span:first-child{display:none}.footer{margin-top:35px}.search{margin-left:17px;width:calc(100% - 34px)}.alert{align-items:flex-start}}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px}.login-card{width:min(100%,480px);padding:34px}.login-card h1{font-size:27px}.login-form{display:flex;flex-direction:column;gap:19px}.login-form .primary{width:100%}.connection-section,.dian-workspace{display:flex;flex-direction:column;gap:22px}.integration-heading{display:flex;gap:15px;align-items:center}.integration-heading>svg{color:var(--green);flex-shrink:0}.integration-heading>.pill{margin-left:auto}.integration-heading .muted{margin-top:7px}.search-form{display:flex;gap:14px;align-items:end}.search-form>label{flex:1}.search-form button{height:41px}.check-label{flex-direction:row;align-items:flex-start;gap:10px;line-height:1.6}.check-label input{width:17px;height:17px;flex-shrink:0;margin-top:2px;accent-color:var(--green)}.price-preview{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px;border:1px solid var(--line)}.price-preview span{display:flex;flex-direction:column;gap:4px;flex:1 1 120px}.price-preview small{flex-basis:100%}.import-review{max-width:650px}.setup-checklist{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:12px}.setup-checklist>div{display:flex;align-items:flex-start;gap:10px}.setup-checklist svg{color:var(--green);flex-shrink:0;margin-top:2px}.setup-checklist strong{font-size:12px;font-weight:500}.setup-checklist small{display:block;color:var(--muted);line-height:1.6;margin-top:6px;font-size:11px}.certificate-details dl{margin:0}.certificate-details dt{color:var(--muted);font-size:11px;margin:14px 0 6px}.certificate-details dd{font-size:12px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.form input[type=file]{font-size:11px;padding:14px 10px}.form input[readonly]{background:var(--bg)}.topbar{gap:18px}.topbar>span:first-child{margin-right:auto}@media (max-width:900px){.setup-checklist{grid-template-columns:repeat(2,1fr)}}@media (max-width:650px){.setup-checklist{grid-template-columns:1fr}.search-form{flex-direction:column;align-items:stretch}.integration-heading{align-items:flex-start}.integration-heading>.pill{display:none}.topbar>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .environment{display:none}.login-card{padding:26px}.login-shell{padding:18px}}@media print{.back,.footer,.no-print,.sidebar,.topbar{display:none!important}.app-shell,.main-shell,main{display:block!important;margin:0!important;padding:0!important}main>*{display:none!important}main .document,main>:has(.document){display:block!important}.document{box-shadow:none!important;border:0!important;color:#000}.document:before{content:"BORRADOR SIN VALIDEZ FISCAL";display:block;font-weight:700;padding:12px 0}}.document-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1fr) repeat(2,minmax(120px,1fr)) auto;gap:12px;align-items:end}.document-filters>*{min-width:0}@media (max-width:1100px){.document-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.document-filters{grid-template-columns:minmax(0,1fr)}}.document-actions{display:flex;flex-wrap:wrap;gap:10px}.consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.consent input[type=checkbox]{width:18px;min-width:18px;margin:3px 0 0}.dian-workspace ul{padding-left:22px;line-height:1.6}.business-suite{display:grid;gap:18px}.module-panel>button,.module-panel>h2,.module-panel>h3,.module-panel>p{margin:18px 24px}.module-panel .record{flex-wrap:wrap}.module-panel .record>details{width:100%}.module-panel .record>.portfolio-record-details{flex-basis:100%}.portfolio-record-details>p{margin:12px 0}.module-panel summary{cursor:pointer;color:var(--green)}.payment-accounting>fieldset,.payment-accounting>label,.payment-accounting>p{margin-top:16px}.payment-accounting fieldset{border:1px solid var(--line);border-radius:8px;padding:16px;display:grid;gap:12px;min-width:0}.payment-accounting legend{padding:0 6px;font-weight:600}.credit-settlement>fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.module-records{display:grid;gap:10px;margin-top:18px}.business-suite tbody>tr,.module-records>.record{content-visibility:auto;contain-intrinsic-size:auto 58px}.business-suite .editor-grid>div{display:grid;gap:18px;align-content:start}.business-suite .panel>h2+.module-records,.business-suite .panel>h2+p{margin-top:14px}.sidebar{width:256px;padding:26px 16px 18px;overflow-y:auto}.main-shell{margin-left:256px;min-width:0;width:calc(100% - 256px)}.sidebar-brand{display:flex;align-items:center;justify-content:space-between}.sidebar .workspace-nav{display:block}.nav-group{margin:12px 0 18px}.nav-item{min-height:44px;padding:10px 12px;gap:10px;margin-bottom:3px;font-size:13px}.nav-item.active{box-shadow:inset 3px 0 0 var(--green)}.mobile-menu{display:none;width:40px;height:40px}.skip-link{position:fixed;top:-100px;left:16px;z-index:20;padding:12px 18px;background:var(--white);border:2px solid var(--green);border-radius:8px}.skip-link:focus{top:12px}.topbar>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading{margin-bottom:28px}.page-heading p{max-width:680px}.management-directory{display:grid;gap:30px}.management-directory section>h2{margin-bottom:14px}.module-search{display:flex;flex-direction:row;align-items:center;gap:12px;background:var(--white);padding:0 16px;border:1px solid var(--line);border-radius:10px;max-width:580px}.module-search input{border:0;background:transparent;min-height:48px}.module-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-card{display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid var(--line);background:var(--white);border-radius:12px;padding:22px;color:var(--ink);min-height:134px}.module-card:hover{border-color:var(--strong-line);background:var(--hover-bg)}.module-card strong{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.module-card strong svg{color:var(--green)}.module-card>span{font-size:13px;color:var(--muted);line-height:1.6}.settings-import{background:var(--white);border:1px solid var(--line);border-radius:12px}.settings-import>summary{display:flex;align-items:center;gap:14px;padding:24px;cursor:pointer}.settings-import>summary:after{content:"+";margin-left:auto;font-size:22px;color:var(--green)}.settings-import[open]>summary:after{content:"−"}.settings-import>summary small{display:block;color:var(--muted);margin-top:6px}.settings-import>.form{padding:0 20px 20px}@media (max-width:1200px){.module-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.app-shell{display:block}.sidebar{width:100%;position:sticky;inset:0 0 auto;padding:14px 20px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.sidebar-brand{min-height:36px}.mobile-menu{display:flex}.sidebar .workspace-nav{display:none}.sidebar .workspace-nav.is-open{display:block;max-height:calc(100dvh - 86px);overflow-y:auto;margin:16px 0 0;padding:0}.nav-item{flex-direction:row;font-size:13px;padding:11px 12px;min-width:0;margin-bottom:3px}.nav-count{display:inline-block}.main-shell{margin:0;width:100%}.topbar{height:54px;padding:0 20px;gap:12px;font-size:11px}.environment{display:none}main{padding:26px 20px}.editor-grid{grid-template-columns:1fr}}@media (max-width:480px){.sidebar{padding:12px}.brand{font-size:20px;padding:0}main{padding:24px 16px}.module-directory-grid{grid-template-columns:1fr}.module-card{min-height:108px;padding:20px}.settings-import>summary{padding:20px}.settings-import>.form{padding:0 12px 12px}}@media print{.sidebar,.skip-link{display:none!important}.main-shell{width:100%;margin:0}}.settings-fieldset{border:1px solid var(--line);border-radius:10px;padding:20px;display:grid;gap:18px;min-width:0}.settings-fieldset legend{padding:0 8px;font-weight:600}.payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-options label{align-items:flex-start;font-size:12px;line-height:1.5}.payment-options small{margin-left:auto;white-space:nowrap;color:var(--muted)}.payment-options-advanced{margin-top:15px;max-height:320px;overflow:auto}.settings-fieldset details>summary{margin-bottom:14px;cursor:pointer}.row-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.note-editor fieldset.form{border:0;margin:0;padding:0;min-width:0}.note-editor .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.note-editor .document-filters{grid-template-columns:minmax(0,1fr) auto;padding:0}.fiscal-business{padding:20px 0 0;border-top:1px solid var(--line)}.fiscal-business>button{align-self:flex-start}@media(max-width:650px){.note-editor .document-filters,.note-editor .grid{grid-template-columns:minmax(0,1fr)}}.line-editor{border-top:1px solid var(--line);padding-top:22px;scroll-margin-top:85px}.invoice-editor{padding:0}.invoice-lines-table table{min-width:850px;width:100%}.invoice-lines-table th{white-space:nowrap}.invoice-lines-table td{vertical-align:top}.invoice-lines-table td:first-child{min-width:220px}.invoice-lines-table td input:not([type=checkbox]){width:100%;min-width:85px;padding:10px}.invoice-lines-table td select{min-width:130px;padding:10px}.invoice-lines-table td:nth-child(3){min-width:145px}.invoice-lines-table .check-label{display:flex;align-items:center;gap:6px;font-size:12px;margin-top:8px;white-space:nowrap}.invoice-new-line{background:var(--surface)}.invoice-special-options{border:1px solid var(--line);border-radius:12px;padding:16px 20px}.invoice-special-options .panel{margin:16px 0 0;box-shadow:none}.invoice-options>summary{cursor:pointer;font-weight:600;line-height:1.6}.invoice-options>.form{padding:18px 0 0}.invoice-review{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.invoice-review>div{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.invoice-review small{color:var(--muted)}.invoice-review strong{font-size:18px}.invoice-submit{display:flex;gap:12px;flex-wrap:wrap}.invoice-emission{scroll-margin-top:90px}.invoice-pending-tax{padding:12px;border:1px solid var(--line)}.invoice-draft-detail>summary{cursor:pointer;padding:20px 0;font-weight:600}@media (max-width:700px){.invoice-review{grid-template-columns:1fr;gap:14px}.invoice-submit{flex-direction:column}.invoice-submit>button{width:100%}}@media (max-width:650px){.payment-options{grid-template-columns:1fr}.settings-fieldset{padding:14px}}body{-webkit-font-smoothing:antialiased}.brand{text-transform:uppercase;font-size:23px;letter-spacing:1.6px;font-weight:700;padding:0}.primary,.secondary{border-radius:2px;letter-spacing:.8px;min-height:44px}.primary{font-weight:700}.primary:hover{color:var(--primary-text)}.secondary:hover{border-color:var(--strong-line)}.sidebar{background:var(--chrome-bg)}.nav-item{border-radius:2px}.nav-item.active{background:var(--hover-bg)}.topbar{background:var(--surface-subtle);height:70px}.topbar>span:first-child{text-transform:uppercase;font-size:10px;letter-spacing:1px}.eyebrow{letter-spacing:2px;font-weight:500;font-size:9px}.module-card,.module-search,.panel,.settings-fieldset,.settings-import,.stat,input,select,textarea{border-radius:3px}input,select,textarea{background:var(--field-bg);min-height:43px}input[type=checkbox],input[type=radio]{min-height:auto;accent-color:var(--check-accent)}label:has(>input[type=checkbox]),label:has(>input[type=radio]){flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}label>input[type=checkbox],label>input[type=radio]{flex:0 0 auto;width:18px;margin:3px 0 0}input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 1000px var(--field-bg) inset}.skip-link{background:var(--green);color:var(--primary-text)}.icon-button{color:var(--label)}.orbit-art{pointer-events:none;--planet-rim:#263140;--planet-mid:#0b1018;--planet-base:#030509;--orbit-stroke:#b9c7d9;--orbit-glow:#d1deef;--orbit-trajectory:#d8e3f1;--orbit-star:#fff}.orbit-art svg{display:block;width:100%;height:100%}.stats{gap:0;border:1px solid var(--line)}.stat{border:0;border-right:1px solid var(--line);padding:20px 24px;background:var(--surface-subtle);text-align:left;color:var(--ink);width:100%}.stat:last-child{border-right:0}.stat:hover{background:var(--hover-bg)}.stat>strong{font-variant-numeric:tabular-nums;font-size:36px;font-weight:400;letter-spacing:-1.5px}.stat>small{line-height:1.6}.footer{text-transform:uppercase;letter-spacing:1.2px;font-size:9px}.login-landing{min-height:100svh;max-width:1600px;padding:0 6%;display:flex;flex-direction:column}.landing-header{display:flex;align-items:center;justify-content:space-between;min-height:100px;border-bottom:1px solid var(--line);gap:30px}.landing-header>span{font-size:9px;letter-spacing:1.6px;color:var(--secondary-text)}.landing-grid{flex:1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);gap:clamp(40px,6vw,110px);align-items:center;padding:70px 0}.landing-intro{position:relative;min-height:560px;display:flex;flex-direction:column;justify-content:flex-start;padding-top:20px}.landing-capabilities,.landing-intro .eyebrow,.landing-intro h1,.landing-intro>p{position:relative;z-index:1}.landing-intro .eyebrow{color:var(--secondary-text);margin-bottom:26px}.landing-intro h1{font-size:clamp(40px,5vw,76px);font-weight:600;line-height:1.04;letter-spacing:-3px}.landing-intro h1 span{color:var(--heading-secondary)}.landing-intro>p{color:var(--secondary-text);max-width:385px;margin-top:25px;font-size:14px;line-height:1.85}.landing-orbit{position:absolute;inset:100px -20% -90px -13%;opacity:.72}.landing-capabilities{display:flex;gap:25px;font-size:9px;letter-spacing:1.2px;color:var(--secondary-text);margin-top:auto;padding-top:48px}.login-landing .login-card{width:100%;padding:35px;background:var(--surface-subtle);border:1px solid var(--strong-line);gap:0}.login-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;color:var(--label)}.login-card-heading .eyebrow{margin:0;font-size:9px}.login-card h2{font-size:26px;font-weight:500;letter-spacing:-.8px;margin-bottom:10px}.login-card>.muted{line-height:1.7;font-size:13px}.login-form{margin-top:30px;gap:20px}.login-form label{color:var(--label)}.login-form input{min-height:48px}.login-form .primary{justify-content:space-between;margin-top:6px;min-height:48px;padding:14px 18px}.login-form .alert{margin-bottom:0}.login-card>a{display:inline-flex;align-self:flex-start;margin-top:18px;color:var(--green);font-size:13px;line-height:1.6}.login-company{border-top:1px solid var(--line);margin-top:32px;padding-top:22px;color:var(--secondary-text)}.login-company p{font-size:10px;text-transform:uppercase;letter-spacing:.7px;line-height:1.7}.login-company small{display:block;margin-top:7px;font-size:10px}.landing-footer{display:flex;justify-content:space-between;gap:20px;padding:25px 0;border-top:1px solid var(--line);color:var(--secondary-text);font-size:9px;letter-spacing:1.5px}@media (max-width:1100px){.landing-grid{gap:40px;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)}.landing-intro h1{font-size:50px;letter-spacing:-2px}.landing-capabilities{flex-wrap:wrap;gap:16px}}@media (max-width:800px){.topbar{height:54px}.landing-grid{grid-template-columns:1fr;padding:28px 0 40px;gap:38px}.landing-intro{min-height:320px;padding-top:0}.landing-intro h1{font-size:clamp(42px,7.5vw,62px)}.landing-orbit{inset:20px -5% -60px 15%}.landing-intro>p{max-width:410px}.login-landing .login-card{max-width:560px;grid-row:1}.landing-header{min-height:80px}.landing-header>span{font-size:8px;max-width:180px;text-align:right;line-height:1.8}}@media (max-width:480px){.brand{font-size:20px}.landing-header>span{max-width:130px}.login-landing{padding:0 22px}.landing-intro{min-height:310px}.landing-intro>p{font-size:13px;max-width:290px}.landing-capabilities{gap:14px;font-size:8px;letter-spacing:.6px}.login-landing .login-card{padding:25px}.landing-footer{font-size:8px;letter-spacing:.8px}.landing-footer>span:last-child{max-width:130px;text-align:right;line-height:1.8}.stat{padding:17px 12px}.stat>strong{font-size:30px}}.brand-logo{letter-spacing:normal;flex-shrink:0}.brand.brand-logo>.facturax-logo{margin:0;color:var(--ink)}.brand-logo>.facturax-logo:after{content:none}.facturax-logo{position:relative;display:block;width:208px;aspect-ratio:2169/725}.facturax-filter{position:absolute;pointer-events:none}.facturax-artwork{display:block;width:100%;height:100%;object-fit:contain;filter:var(--facturax-light-filter)}@media screen{:root[data-theme=dark] .facturax-artwork{filter:var(--facturax-dark-filter)}}.landing-header .facturax-logo{width:224px}.landing-header-actions{display:flex;gap:25px;align-items:center}.landing-header-actions>span{font-size:9px;letter-spacing:1.3px;color:var(--secondary-text)}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:3px;padding:10px 12px;min-height:44px;background:var(--white);color:var(--ink);font-size:11px;white-space:nowrap}.theme-toggle:hover{background:var(--hover-bg);border-color:var(--strong-line)}.module-loading{padding:30px;min-height:120px;color:var(--muted);display:flex;align-items:center}@media screen{:root[data-theme=dark]{color-scheme:dark;--bg:#181a1f;--ink:#eceef2;--muted:#adb1bb;--line:#373b45;--green:#8ab8f3;--green-light:#29374b;--white:#24272e;--chrome-bg:#1e2026;--surface-subtle:#202329;--field-bg:#292c34;--hover-bg:#303540;--badge-bg:#343944;--label:#d0d3db;--secondary-text:#b3b7c2;--heading-secondary:#b9bdc7;--primary-text:#10213b;--primary-hover:#a1c6f6;--focus:#a1c6f6;--focus-shadow:#8ab8f326;--placeholder:#a4a9b5;--success-bg:#253a2e;--success-text:#b1e0c3;--warning-bg:#403625;--warning-text:#efd3a1;--error-bg:#442b2f;--error-text:#f2bcb8;--notice-bg:#33372b;--notice-line:#50573f;--notice-heading:#dfe7c1;--notice-text:#c7cfb2;--notice-badge-bg:#454c36;--notice-badge-text:#dfe7c1;--strong-line:#555c69;--check-accent:#8ab8f3}:root:not([data-theme=dark]) .primary{background:#0071e3;border-color:#0071e3}:root:not([data-theme=dark]) .primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}:root :is(.primary,.secondary,.theme-toggle){border-radius:11px;letter-spacing:0;font-weight:600}:root :is(.panel,.module-card,.settings-import,.login-card){border-radius:18px;box-shadow:0 4px 20px #1d1d1f04}:root :is(input,select,textarea,.module-search,.settings-fieldset){border-radius:10px}:root :is(.module-search,.setup-search) input{background:transparent}:root:not([data-theme=dark]) .sidebar{border-right-color:#e8e8ed}:root .nav-item{border-radius:10px}:root .nav-item.active{background:var(--green-light);box-shadow:none}:root:not([data-theme=dark]) .topbar{background:#ffffffed}:root .topbar>span:first-child{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}:root .stats{gap:16px;border:0}:root .stat{background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 20px #1d1d1f04}:root .stat:hover{background:var(--surface-subtle);border-color:var(--strong-line)}:root .stat>strong{font-weight:600;letter-spacing:-1px}:root .notice{border-radius:14px}:root th{text-transform:none;font-size:12px;letter-spacing:0;font-weight:600}:root .empty-icon{transform:none;color:var(--green);background:var(--green-light);border-color:transparent}:root:not([data-theme=dark]) .orbit-art{--planet-rim:#d9e5f6;--planet-mid:#f4f7fc;--planet-base:#f9fbff;--orbit-stroke:#85a7d5;--orbit-glow:#adc5e6;--orbit-trajectory:#0066cc;--orbit-star:#0071e3}:root:not([data-theme=dark]) .landing-orbit{opacity:.3}:root:not([data-theme=dark]) .login-landing .login-card{background:var(--white);border-color:var(--line);box-shadow:0 12px 44px #1d1d1f08}:root .landing-intro h1{font-weight:650}:root[data-theme=dark] :is(.panel,.module-card,.settings-import,.login-card,.stat){box-shadow:0 4px 20px #00000012}:root[data-theme=dark] .topbar{background:#24272eed}:root[data-theme=dark] .login-landing .login-card{background:var(--white);border-color:var(--line);box-shadow:0 12px 44px #00000018}:root[data-theme=dark] .orbit-art{--planet-rim:#707887;--planet-mid:#303641;--planet-base:#24272e;--orbit-stroke:#7d8799;--orbit-glow:#8b95a8;--orbit-trajectory:#a1badb;--orbit-star:#b9c8dd}:root[data-theme=dark] .landing-orbit{opacity:.45}}@media (max-width:800px){.sidebar .facturax-logo{width:144px}.landing-header-actions>span{display:none}}@media (max-width:480px){.sidebar .facturax-logo{width:clamp(112px,34vw,144px)}.landing-header .facturax-logo{width:190px}.theme-toggle{padding:10px}.theme-toggle>span{display:none}.topbar{gap:12px}}@media (max-width:800px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}.icon-button{min-width:44px;min-height:44px}.text-button{min-height:40px}}@media screen and (max-width:650px){.stats{grid-template-columns:minmax(0,1fr)}.stat{padding:20px}.stat>div,.stat>small{font-size:12px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}@media print{.facturax-artwork{filter:grayscale(1)}:root,:root[data-theme]{color-scheme:light;--bg:#fff;--ink:#111;--muted:#555;--line:#ddd;--green:#111;--green-light:#eee;--white:#fff;--surface-subtle:#fff;--secondary-text:#333;--label:#333;--badge-bg:#eee}.document,.main-shell,body{background:#fff!important;color:#111!important}.document .eyebrow,.document .pill,.document p,.document small{color:#333}.document .pill{background:#eee}}.customer-advances{grid-column:1/-1}.customer-advances>details{margin:18px 24px}.customer-advances .form{max-width:760px}.customer-advances .portfolio-record-details>details{margin-block:12px}.support-documents{grid-column:1/-1;min-width:0;padding:24px}.support-fiscal{margin-top:28px;border-top:1px solid var(--line);padding-top:24px;min-width:0}.support-fiscal>details{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:4px}.support-fiscal summary{cursor:pointer;overflow-wrap:anywhere}.support-fiscal fieldset,.support-fiscal form{min-width:0}.support-fiscal fieldset{display:grid;gap:16px;border:1px solid var(--line);border-radius:4px;padding:16px;margin:16px 0}.support-fiscal legend{padding:0 8px;font-weight:600}.support-fiscal .fiscal-hash{overflow-wrap:anywhere;font-family:monospace;font-size:.8rem}.support-fiscal .form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.support-fiscal .check-field{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.support-fiscal .check-field input{flex:0 0 auto;width:18px;margin-top:3px}.support-documents .section-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:16px}.support-documents .section-heading h2{margin-top:8px}.support-documents .record-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.support-documents .record-header small,.support-documents .record-header strong{display:block}.support-documents .record-header small{margin-top:.4rem}.support-editor{max-width:860px;margin:1.5rem 0}.support-editor>fieldset{min-width:0}.support-supplier-fields{display:grid;gap:1rem}.support-line{margin:1rem 0;min-width:0}.support-total{font-weight:600;padding:1rem 0}.support-record{display:block;margin-top:1rem;padding-inline:0}.support-record>details{margin-top:1rem}.reception-fiscal{grid-column:1/-1;margin-top:0}.reception-fiscal .record{display:block;min-width:0;padding-inline:0}.reception-fiscal .record h3,.reception-fiscal .record p{overflow-wrap:anywhere}.reception-fiscal .form-actions>*{max-width:100%;overflow-wrap:anywhere}@media (max-width:600px){.support-documents .record-header{flex-direction:column}}.company-selector{margin-bottom:24px}.company-selector>.row-actions{align-items:flex-end}.company-selector select{max-width:100%}.company-selector .check-field{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.company-selector .check-field input{flex:0 0 auto;width:18px;margin-top:3px}.accounting-workspace{display:grid;gap:22px;min-width:0}.accounting-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.accounting-heading h2,.accounting-heading h3{margin:0}.accounting-heading p{margin:8px 0 0}.accounting-subtabs,.accounting-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid var(--line)}.accounting-subtabs button,.accounting-tabs button{white-space:nowrap;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:14px 16px}.accounting-subtabs button.active,.accounting-tabs button.active{color:var(--focus);border-bottom-color:var(--focus);font-weight:650}.accounting-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.accounting-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.accounting-actions button{display:inline-flex;align-items:center;gap:7px}.accounting-banner{display:flex;align-items:center;gap:12px;padding:18px 20px;border:1px solid var(--focus);border-radius:12px;background:var(--white)}.accounting-banner .text-button{margin-left:auto;display:flex;align-items:center;gap:8px}.accounting-notice{color:var(--focus);margin:0}.accounting-list-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.accounting-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}.accounting-entry-line{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:end}.accounting-orientation.selected{border-color:var(--focus);box-shadow:inset 0 0 0 1px var(--focus)}.accounting-switch{display:flex!important;align-items:center;gap:10px}.accounting-switch input{width:auto!important}.accounting-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:22px;padding:24px;background:var(--surface-subtle);border-radius:12px}.accounting-puc{display:grid;max-height:640px;overflow:auto}.accounting-puc-row{display:flex;align-items:center;gap:20px;padding:10px 8px;border-bottom:1px solid var(--line)}.accounting-puc-row code{min-width:90px;font-weight:600}.accounting-puc-row .text-button{margin-left:auto}.accounting-badge{display:inline-flex;font-size:12px;color:var(--focus);background:var(--surface-subtle);border-radius:20px;padding:4px 10px;white-space:nowrap}.accounting-period-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.accounting-period{display:grid;gap:12px;border:1px solid var(--line);border-radius:12px;padding:16px;text-transform:capitalize}.accounting-orientation{border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--white);padding:32px;min-width:220px;display:grid;justify-items:center;gap:18px}.accounting-empty{padding:24px;text-align:center;color:var(--muted)}.accounting-workspace h3{display:flex;align-items:center;gap:10px}@media(max-width:800px){.accounting-grid{grid-template-columns:1fr}.accounting-banner{flex-wrap:wrap}.accounting-puc-row{gap:10px}.accounting-puc-row span{font-size:13px}.accounting-tabs button{padding:12px}}.accounting-actions .accounting-orientation{display:grid;min-height:220px}.accounting-entry-line label{min-width:0}.accounting-entry-line select{max-width:100%}.radian-fiscal{grid-column:1/-1;margin-top:0}.radian-fiscal .record{display:block;min-width:0;padding-inline:0}.radian-fiscal .record h3,.radian-fiscal .record p{overflow-wrap:anywhere}.radian-fiscal .form-actions>*{max-width:100%;overflow-wrap:anywhere}.pos-fiscal{grid-column:1/-1;min-width:0}.pos-fiscal .record{display:block;min-width:0;overflow-wrap:anywhere}.pos-fiscal>details{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:4px}.pos-fiscal summary{cursor:pointer;overflow-wrap:anywhere}.pos-fiscal fieldset,.pos-fiscal form{min-width:0}.pos-fiscal fieldset{display:grid;gap:16px;border:1px solid var(--line);border-radius:4px;padding:16px;margin:16px 0}.pos-fiscal legend{padding:0 8px;font-weight:600}.pos-fiscal .fiscal-hash{overflow-wrap:anywhere;font-family:monospace;font-size:.8rem}.pos-fiscal .form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.pos-fiscal .check-field{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.pos-fiscal .check-field input{flex:0 0 auto;width:18px;margin-top:3px}.pos-fiscal .action-row{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.configuration-workspace{display:grid;gap:24px;min-width:0}.configuration-workspace>section,.dian-step-content,.setup-task-content{min-width:0}.setup-intro h2,.setup-intro h3{margin:0;overflow-wrap:anywhere}.setup-intro{gap:14px}.setup-intro p{margin:0}.setup-intro>.primary{align-self:flex-start}.setup-progress{display:grid;gap:10px;max-width:440px}.setup-progress progress{width:100%;height:12px;accent-color:var(--focus)}.setup-search{display:flex;align-items:center;flex-direction:row;gap:12px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.setup-search input{border:0;background:transparent;min-width:0;width:100%}.setup-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.setup-task{display:flex;align-items:center;gap:16px;width:100%;min-width:0;min-height:76px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);text-align:left}.setup-task:hover{border-color:var(--focus);background:var(--surface-subtle)}.setup-task>svg{flex-shrink:0}.setup-task>span:first-of-type{flex:1;min-width:0}.setup-task strong{font-size:15px;display:block;overflow-wrap:anywhere}.setup-task small{display:block;color:var(--muted);margin-top:6px;line-height:1.5;overflow-wrap:anywhere}.setup-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;align-self:flex-start}.setup-task-content{display:grid;gap:22px}.setup-accounting-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.setup-advanced summary{cursor:pointer;line-height:1.5;min-height:44px}.setup-advanced>.form{margin-top:16px}.setup-allocation-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) 44px;gap:12px;align-items:end;margin-bottom:14px}.setup-allocation-row label{min-width:0}.setup-allocation-row label:first-child{grid-column:1/3}.setup-allocation-row button{grid-column:3;grid-row:1}.setup-allocation-row select{width:100%;max-width:100%}.setup-allocation-row button{min-height:44px}.dian-step-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.dian-step-nav button{display:flex;align-items:center;gap:8px;padding:14px 12px;min-height:52px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--muted);text-align:left;font-size:13px}.dian-step-nav button svg{flex-shrink:0}.dian-step-nav button.active{border-color:var(--focus);color:var(--ink);background:var(--surface-subtle)}.dian-step-picker{display:none}.dian-step-content{display:grid;gap:20px;max-width:850px}.dian-step-content .permission-boundary.form{padding:0}.setup-step-actions{display:flex;flex-wrap:wrap;gap:12px}@media(max-width:700px){.setup-task{flex-wrap:wrap;gap:10px;padding:16px}.setup-task>span:first-of-type{flex-basis:calc(100% - 34px)}.setup-task>svg:last-child{margin-left:auto}.dian-step-nav{display:none}.dian-step-picker{display:flex}.setup-allocation-row{grid-template-columns:minmax(0,1fr) 44px;border-bottom:1px solid var(--line);padding-bottom:16px}.setup-allocation-row label{grid-column:1/-1}.setup-allocation-row label:first-child{grid-column:1}.setup-allocation-row button{grid-column:2;grid-row:1}}.registration-intro h1{font-size:clamp(38px,5vw,70px);letter-spacing:-3px;line-height:1.08;margin:24px 0}.registration-intro h1 span,.registration-intro>p{color:var(--secondary-text)}.registration-intro>p{max-width:570px;font-size:18px;line-height:1.8;margin-bottom:32px}.registration-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;padding:65px 0 85px;align-items:start}.registration-intro{position:sticky;top:40px}.registration-intro h1{font-size:clamp(34px,4vw,52px);letter-spacing:-2px}.registration-card{padding:32px;min-width:0}.registration-steps{list-style:none;counter-reset:reg-step;display:grid;gap:14px;margin:0 0 28px;padding:0;max-width:520px}.registration-steps li{counter-increment:reg-step;display:grid;grid-template-columns:30px 1fr;column-gap:12px;row-gap:2px}.registration-steps li:before{content:counter(reg-step);grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);font-size:13px;font-weight:600}.registration-steps li:first-child:before{background:var(--ink);color:var(--bg);border-color:var(--ink)}.registration-steps strong{font-size:15px;font-weight:600}.registration-steps span{font-size:14px;color:var(--secondary-text);line-height:1.6}.registration-benefits{list-style:none;display:grid;gap:10px;margin:0 0 28px;padding:18px 0 0;border-top:1px solid var(--line);max-width:520px}.registration-benefits li{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;color:var(--secondary-text)}.registration-benefits svg{flex-shrink:0;margin-top:2px;color:var(--ink)}.registration-back{display:inline-block;font-size:14px;color:var(--secondary-text)}.registration-progress{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--secondary-text);margin:0 0 6px}.registration-next{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.6}.registration-next svg{flex-shrink:0;margin-top:3px}.registration-fields{border:0;padding:0;display:grid;gap:16px;min-width:0}.registration-fields legend{font-weight:600;padding:10px 0}.registration-fields .form-row{display:grid;grid-template-columns:1fr 90px}.platform-workspace{max-width:1100px;margin:auto;padding:0 28px 70px}.platform-workspace>.panel{margin-bottom:24px}@media(max-width:800px){.registration-layout{grid-template-columns:1fr;gap:24px;padding:38px 0}.registration-intro{position:static}.registration-card{padding:24px 18px}}.registration-card>form.form{padding:0}.registration-card .check-field{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}.registration-card .check-field input{flex:0 0 auto;width:18px;margin-top:3px}.registration-fields h3{font-size:15px;margin:12px 0 0}.platform-console{max-width:1320px;margin:0 auto;padding:24px 32px 64px;color:var(--ink)}.platform-section-heading,.platform-title,.platform-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.platform-topbar{padding-bottom:22px;border-bottom:1px solid var(--line)}.platform-topbar .brand-logo{max-width:215px}.platform-detail>button,.platform-section-heading .primary,.platform-title .secondary,.platform-topbar .secondary{display:inline-flex;align-items:center;gap:8px}.platform-title{margin:34px 0 24px}.platform-title h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1.4px;margin:6px 0 8px}.platform-section-heading p,.platform-title p{color:var(--secondary-text);margin:4px 0}.platform-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.platform-stat{padding:22px;display:flex;flex-direction:column;gap:8px}.platform-stat>span{font-size:13px;color:var(--secondary-text)}.platform-stat strong{font-size:32px;line-height:1.25;letter-spacing:-1px}.platform-stat small{font-size:12px;color:var(--secondary-text)}.platform-stat strong small{font-size:18px}.platform-stat .platform-date{font-size:21px}.platform-health{display:flex;gap:10px 24px;flex-wrap:wrap;font-size:12px;color:var(--secondary-text);margin:16px 0 24px}.platform-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:6px}.platform-security{display:flex;align-items:center;gap:16px;padding:18px 22px;border:1px solid var(--line);background:var(--white);border-radius:12px;margin-bottom:24px}.platform-security>div{flex:1}.platform-security p{margin:4px 0 0;color:var(--secondary-text);font-size:13px}.platform-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow-x:auto}.platform-tabs button{display:flex;align-items:center;gap:8px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:15px 18px;color:var(--secondary-text);white-space:nowrap}.platform-tabs button.active{border-bottom-color:var(--green);color:var(--ink);font-weight:700}.platform-section{padding:26px;margin-bottom:20px}.platform-section h2{margin:0 0 8px;font-size:22px}.platform-section h3{display:flex;align-items:center;gap:8px}.platform-section-heading{margin-bottom:22px}.platform-search{display:flex;align-items:flex-end;gap:14px;margin-bottom:24px}.platform-search label:first-child{flex:1}.platform-search label{display:flex;flex-direction:column;gap:8px;font-size:13px}.platform-search input,.platform-search select{min-height:42px}.platform-input-icon{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding-left:12px}.platform-input-icon input{border:0;background:transparent;width:100%}.platform-muted{display:block;color:var(--secondary-text);font-size:12px;margin-top:5px}.platform-badge{display:inline-block;background:var(--bg);border:1px solid var(--line);padding:5px 9px;border-radius:6px;font-size:12px;line-height:1.5}.platform-badge.good{color:var(--green)}.platform-badge.bad{color:#c43e3e}.platform-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding-top:20px;font-size:13px}.platform-empty{padding:20px 0;color:var(--secondary-text)}.platform-detail>button{margin-bottom:20px}.platform-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 24px}.platform-facts dt{font-size:12px;color:var(--secondary-text);margin-bottom:7px}.platform-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}.platform-edit{margin-top:24px;border-top:1px solid var(--line);padding-top:24px}.platform-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.platform-event-list article{padding:18px 0;border-bottom:1px solid var(--line)}.platform-event-list article>div{display:flex;justify-content:space-between;gap:12px}.platform-event-list small,.platform-event-list time{font-size:12px;color:var(--secondary-text)}.platform-event-list p{margin:8px 0}.platform-event-list details{margin-top:12px;font-size:13px}.platform-event-data{display:grid;grid-template-columns:1fr 1fr;gap:16px}.platform-event-data pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:var(--bg);padding:14px;border-radius:8px}.platform-settings-form{max-width:640px;margin-top:22px}@media(max-width:800px){.platform-console{padding:18px 18px 40px}.platform-topbar{align-items:flex-start}.platform-topbar .brand-logo{max-width:165px}.platform-topbar .row-actions{justify-content:flex-end}.platform-facts,.platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-security{flex-wrap:wrap}.platform-security>div{min-width:200px}.platform-section{padding:20px}.platform-section-heading{align-items:flex-start;flex-wrap:wrap}.platform-search{flex-wrap:wrap}.platform-search label:first-child{flex-basis:100%}.platform-title{align-items:flex-start}.platform-tabs button{padding:13px}.platform-event-list article>div{flex-direction:column}.platform-event-data{grid-template-columns:1fr}}@media(max-width:480px){.platform-topbar{flex-direction:column}.platform-topbar .row-actions{justify-content:flex-start}.platform-form-grid{grid-template-columns:1fr}.platform-stat{padding:16px}.platform-stat strong{font-size:28px}.platform-tabs button{gap:5px;font-size:12px}.platform-title{gap:10px}.platform-title>.secondary{padding:10px;font-size:12px}}.workspace-compact .sidebar{padding-top:20px}.workspace-compact .workspace-nav-group{margin:4px 0;border-bottom:1px solid var(--line)}.workspace-compact .workspace-nav-group>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;color:var(--label);font-size:12px;font-weight:600}.workspace-compact .workspace-nav-group>summary::-webkit-details-marker{display:none}.workspace-compact .workspace-nav-group>summary:hover{background:var(--hover-bg)}.workspace-compact .workspace-nav-group>summary:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.workspace-compact .workspace-nav-group>summary svg{flex:0 0 auto;transition:transform .15s ease}.workspace-compact .workspace-nav-group[open]>summary svg{transform:rotate(180deg)}.workspace-compact .workspace-nav-group>div{padding-bottom:8px}.workspace-compact .nav-item{min-height:40px;padding:9px 12px;font-size:12px;line-height:1.4}.workspace-compact .nav-item>svg{flex:0 0 auto}.workspace-compact .nav-item>span:first-of-type{min-width:0}.workspace-compact .topbar{height:58px;gap:18px}.workspace-compact .topbar>span:first-child{flex:1}.workspace-compact .topbar>.text-button{flex:0 0 auto;white-space:nowrap}.workspace-compact main{padding-top:26px;padding-bottom:32px}.workspace-compact .workspace-heading{margin-bottom:22px}.workspace-compact .workspace-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0}.workspace-compact .workspace-heading p{margin:8px 0 0;font-size:13px;line-height:1.6}.workspace-compact .management-directory{gap:22px}.workspace-compact .module-card{min-height:104px;padding:18px;gap:8px}.workspace-compact .module-card strong{font-size:14px}.workspace-compact .setup-intro{padding:20px}.workspace-compact .setup-intro p{font-size:13px}.workspace-compact .setup-task{padding-top:15px;padding-bottom:15px}.workspace-compact .setup-task-content>.editor-grid:has(>:only-child){grid-template-columns:minmax(0,1fr)}@media(max-width:800px){.workspace-compact .sidebar{padding:14px 20px}.workspace-compact .topbar{height:auto;min-height:54px;padding:10px 20px;gap:10px;flex-wrap:wrap}.workspace-compact .topbar>span:first-child{flex-basis:100%}.workspace-compact main{padding:22px 20px 32px}.workspace-compact .workspace-heading h1{font-size:25px}}@media(max-width:480px){.workspace-compact .sidebar{padding:12px}.workspace-compact .topbar{padding:10px 16px}.workspace-compact main{padding:20px 16px 28px}}@media(prefers-reduced-motion:reduce){.workspace-compact .workspace-nav-group>summary svg{transition:none}}.workspace-compact .supplementary-documents{grid-column:1/-1}.workspace-compact .supplementary-documents>summary{cursor:pointer;font-size:14px;font-weight:600}.workspace-compact .supplementary-documents>.editor-grid{padding-top:18px}.invoice-home{margin-bottom:22px;padding:0}.invoice-home-document{width:100%;display:flex;align-items:center;gap:16px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:inherit;cursor:pointer}.invoice-home-document>span:first-child{flex:1;min-width:0}.invoice-home-document small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.invoice-home-document>strong,.invoice-home-document>svg{flex-shrink:0}.invoice-home-document .invoice-accepted{color:var(--success-text)}.invoice-home-document:last-child{border-bottom:0}.invoice-saved-later>summary{cursor:pointer;color:var(--muted);font-size:13px}.invoice-saved-later{padding:14px 18px}.catalog-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}.catalog-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.catalog-heading h2{margin:0}.on-demand-editor{min-width:0;scroll-margin-top:16px}.on-demand-editor .editor-back{margin-bottom:14px}.on-demand-editor>div{min-width:0}.catalog-workspace .record{flex-wrap:wrap}.catalog-workspace .record>div:first-child{min-width:0;flex:1 1 240px}.catalog-workspace .record small{overflow-wrap:anywhere}.invoice-saved-later[open]>summary{margin-bottom:18px}.email-delivery>summary{font-size:16px;font-weight:600;cursor:pointer}@media(max-width:480px){.invoice-home-document{flex-wrap:wrap;gap:10px}.invoice-home-document>span:first-child{flex-basis:calc(100% - 32px)}.invoice-home-document>svg{order:-1}.invoice-home-document>.pill{margin-left:27px}.invoice-home-document>strong{margin-left:auto}}.workspace-compact section[aria-label="Resumen del negocio"]{padding:0;gap:16px;margin-bottom:22px}.workspace-compact section[aria-label="Resumen del negocio"]>.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.workspace-compact section[aria-label="Resumen del negocio"]>.section-heading h2{margin:0}.home-attention .panel-heading{margin:0;padding:18px 20px}.home-attention h3{margin:0}.home-attention-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px;border-top:1px solid var(--line)}.home-attention-item p{margin:0;line-height:1.5;font-size:13px}.home-attention-item>button{flex-shrink:0}.home-attention-critical p{color:var(--error-text);font-weight:600}.invoice-home-document:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:600px){.home-attention-item{align-items:flex-start;gap:12px}}.accounting-rules td{padding:12px 16px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}.accounting-rules th{padding:12px 16px}.accounting-rules td:first-child{width:38%}.accounting-rules small{display:block;color:var(--muted);margin:4px 0}.accounting-rules details{font-size:12px}.accounting-rules summary{min-height:24px;line-height:1.4}.accounting-rules details p{margin:6px 0}@media(max-width:480px){.accounting-rules summary{min-height:44px}}.certificate-mail fieldset,.purchase-inbox fieldset{border:0;padding:0;margin:14px 0;min-width:0;display:grid;gap:14px}.certificate-mail label.check-field,.purchase-inbox label.check-field,.third-party-import label.check-label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;line-height:1.5}.certificate-mail input[type=checkbox],.purchase-inbox input[type=checkbox],.third-party-import input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:2px 0 0}.certificate-mail>.record,.purchase-inbox .records>.record{display:block;padding:16px;border:1px solid var(--line);border-radius:8px}.certificate-mail .record>strong,.purchase-inbox .record>strong{white-space:normal;overflow-wrap:anywhere}.certificate-mail .record>p,.purchase-inbox .record>p{margin:10px 0}.certificate-mail .record>small{display:block;color:var(--muted);overflow-wrap:anywhere;margin:8px 0}.certificate-mail summary,.purchase-inbox summary,.third-party-import summary{cursor:pointer;line-height:1.5}.fiscal-operation-link fieldset,.opening-balance-import fieldset{border:0;padding:0;display:grid;gap:14px;min-width:0}.fiscal-operation-link .check-field,.opening-balance-import .check-field{display:flex;flex-direction:row;align-items:flex-start;gap:9px}.fiscal-operation-link .check-field input[type=checkbox],.opening-balance-import .check-field input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin-top:3px}.facturax-workspace{background:var(--bg)}.facturax-workspace .sidebar{width:250px;padding:22px 14px 16px;background:var(--white);border-right:1px solid var(--line)}.facturax-workspace .main-shell{margin-left:250px;width:calc(100% - 250px)}.facturax-workspace .sidebar-brand{min-height:48px;padding:0 12px}.facturax-workspace .sidebar-brand .facturax-logo{width:168px}.facturax-workspace .workspace-nav{flex:1}.facturax-workspace .nav-item{color:var(--label);border-radius:7px;margin-bottom:4px;min-height:40px;padding:10px 12px;font-size:12px}.facturax-workspace .nav-item.active{color:var(--green);background:var(--green-light);box-shadow:none;font-weight:600}.facturax-workspace .nav-item.active>svg{stroke-width:2.1}.facturax-workspace .workspace-nav-group{border:0;margin:0 0 4px}.facturax-workspace .workspace-nav-group>summary{min-height:40px;border-radius:7px;font-size:12px;font-weight:400;padding:10px 12px;gap:10px}.facturax-workspace .workspace-nav-group>summary>span{flex:1}.facturax-workspace .workspace-nav-group[open]>summary>svg:first-child{transform:none}.facturax-workspace .workspace-nav-group.has-active-item>summary{color:var(--green);font-weight:600}.facturax-workspace .workspace-nav-group>div{margin:2px 0 7px 21px;padding:2px 0 2px 10px;border-left:1px solid var(--line)}.facturax-workspace .workspace-nav-group .nav-item{font-size:11px;min-height:35px;padding:8px 10px}.facturax-workspace .workspace-nav-group .nav-item>svg{display:none}.facturax-workspace .topbar{height:76px;padding:0 30px;gap:18px}.workspace-profile,.workspace-shortcuts{display:flex;align-items:center;gap:14px;min-width:0}.workspace-shortcuts{gap:5px}.workspace-shortcuts>button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--label);font-size:10px;line-height:1.2;white-space:nowrap}.workspace-shortcuts>button:hover{background:var(--green-light);color:var(--green)}.workspace-shortcuts>button:first-child{color:var(--green)}.workspace-profile{margin-left:auto;gap:10px}.workspace-profile .theme-toggle{min-width:36px;min-height:36px;padding:8px;border:0;background:transparent;box-shadow:none}.workspace-profile .theme-toggle>span{display:none}.workspace-account{display:flex;align-items:center;gap:10px;min-width:0}.workspace-account>span:last-child{min-width:0;max-width:190px}.workspace-account strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-account small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.workspace-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:var(--green-light);color:var(--green);font-size:11px;font-weight:600}.workspace-logout{border:0;background:transparent;color:var(--muted)}.facturax-workspace main{max-width:1580px;padding:30px 30px 36px;width:100%}.facturax-workspace .workspace-heading{margin-bottom:25px}.facturax-workspace .workspace-heading h1{font-size:25px;letter-spacing:-.7px;font-weight:600}.facturax-workspace .workspace-heading p{margin-top:7px;font-size:12px}.facturax-workspace :is(.panel,.module-card){border-radius:10px}.facturax-workspace .invoice-home-list{padding:0;gap:0;overflow:hidden}.facturax-workspace .invoice-home-list>.panel-heading{padding:21px 22px;margin:0}.facturax-workspace .invoice-home-list h2{font-size:15px}.invoice-home-list .panel-heading p{font-size:11px;margin:5px 0 0}.facturax-workspace .invoice-home-document,.invoice-home-columns{display:grid;grid-template-columns:minmax(0,1fr) 125px 130px 18px;gap:16px;align-items:center;padding:14px 22px}.invoice-home-columns{background:var(--surface-subtle);border-block:1px solid var(--line);font-size:10px;color:var(--muted)}.invoice-home-columns>span:nth-child(3){text-align:right}.facturax-workspace .invoice-home-document{font-size:12px}.facturax-workspace .invoice-home-document:hover{background:var(--surface-subtle)}.facturax-workspace .invoice-home-document .pill{justify-self:start;font-size:10px;padding:5px 8px;border-radius:5px}.facturax-workspace .invoice-home-document>strong{text-align:right;font-size:12px}.facturax-workspace .invoice-home-document>span:first-child>strong{color:var(--green);font-weight:600}.facturax-workspace .invoice-home-document>svg{color:var(--muted)}.invoice-home-list>:is(p,.alert){margin:18px 22px}.workspace-invoice-empty{display:grid;justify-items:center;gap:12px;padding:36px 20px;text-align:center}.workspace-invoice-empty>svg{color:var(--green)}.workspace-invoice-empty h3{font-size:15px}@media(min-width:901px) and (max-width:1150px){.facturax-workspace .sidebar{width:224px}.facturax-workspace .main-shell{margin-left:224px;width:calc(100% - 224px)}.facturax-workspace .topbar{padding:0 22px}.workspace-shortcuts>button{padding-inline:7px}.workspace-account>span:last-child{display:none}}@media(max-width:900px){.facturax-workspace .sidebar{width:100%;position:sticky;top:0;padding:12px 18px;z-index:10;border-right:0}.facturax-workspace .sidebar-brand{padding:0;min-height:36px}.facturax-workspace .sidebar-brand .facturax-logo{width:145px}.facturax-workspace .main-shell{margin-left:0;width:100%}.facturax-workspace .topbar{min-height:68px;padding:8px 18px;flex-wrap:nowrap}.workspace-shortcuts{gap:1px}.workspace-shortcuts>button{padding:8px;font-size:9px}.workspace-account>span:last-child{display:none}.workspace-profile{gap:6px}.facturax-workspace main{padding:24px 18px}}@media(max-width:600px){.facturax-workspace .topbar{min-height:60px;gap:6px}.workspace-shortcuts>button{padding:7px 6px}.workspace-shortcuts>button>span{display:none}.workspace-profile{gap:3px}.workspace-avatar{width:30px;height:30px;font-size:10px}.workspace-profile .icon-button{padding:8px}.facturax-workspace .workspace-heading{align-items:flex-start;gap:12px}.facturax-workspace .workspace-heading h1{font-size:23px}.facturax-workspace .workspace-heading p{font-size:11px}.facturax-workspace .invoice-home-list>.panel-heading{padding:18px 15px}.invoice-home-columns{display:none}.facturax-workspace .invoice-home-document{grid-template-columns:minmax(0,1fr) auto;padding:15px;gap:8px}.facturax-workspace .invoice-home-document>span:first-child{grid-column:1}.facturax-workspace .invoice-home-document>svg{display:none}.facturax-workspace .invoice-home-document>.pill{grid-column:1;margin:0}.facturax-workspace .invoice-home-document>strong{grid-column:2;grid-row:1/3;margin:0}}@media print{.facturax-workspace .sidebar,.facturax-workspace .topbar{display:none!important}.facturax-workspace .main-shell{margin:0;width:100%}}@media screen and (min-width:901px){.facturax-workspace :is(.workspace-nav>.nav-item,.workspace-nav-group>summary){position:relative;min-height:42px;margin:0 0 2px;padding:10px 12px;border-radius:8px;gap:12px;font-size:13px;font-weight:500}.facturax-workspace :is(.workspace-nav>.nav-item,.workspace-nav-group>summary)>svg:first-child{color:var(--muted)}.facturax-workspace :is(.workspace-nav>.nav-item.active,.workspace-nav-group.has-active-item>summary)>svg:first-child{color:var(--green)}.facturax-workspace :is(.workspace-nav>.nav-item.active,.workspace-nav-group.has-active-item>summary):before{content:"";position:absolute;left:-14px;top:8px;bottom:8px;width:4px;border-radius:0 4px 4px 0;background:var(--green)}.facturax-workspace .workspace-nav-group>div{margin:0 0 6px;padding:2px 0 4px 32px;border-left:0}.facturax-workspace .workspace-nav-group .nav-item{min-height:34px;margin:0 0 1px;padding:7px 10px;color:var(--secondary-text);font-size:12.5px}.facturax-workspace .topbar{height:64px;padding:0 28px;border-bottom:1px solid var(--line)}.facturax-workspace .workspace-new-invoice{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 16px;font-size:13px}.facturax-workspace .workspace-avatar{background:var(--green);color:var(--primary-text)}.facturax-workspace .workspace-eyebrow{display:flex;gap:6px;margin:0 0 6px;color:var(--muted);font-size:12px;letter-spacing:0;text-transform:none}.facturax-workspace .workspace-eyebrow:after{content:"›"}.facturax-workspace .workspace-heading h1{font-size:22px;letter-spacing:-.3px}}.invoice-sheet{padding:26px;min-width:0}.invoice-data-grid label,.invoice-field-heading{font-size:12px;font-weight:600;color:var(--muted)}.invoice-data-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px 36px;align-items:start}.invoice-data-grid input,.invoice-data-grid select{min-height:40px;padding:9px 11px}.invoice-field-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:7px}.invoice-field-heading .text-button{font-size:12px;font-weight:500}.invoice-customer-cell>.secondary{padding:5px 0;border:0;min-height:28px;font-size:12px;background:transparent;text-align:left;letter-spacing:0}.invoice-selected-customer{margin:6px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.invoice-selected-customer strong{font-weight:500;color:var(--ink)}.invoice-customer-portfolio{margin:4px 0 0;font-size:12px;color:var(--muted)}.invoice-customer-portfolio strong{font-weight:500;color:var(--ink)}.invoice-customer-portfolio.overdue strong:last-of-type{color:var(--error-text)}.invoice-dates-cell,.invoice-payment-cell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.invoice-credit-terms,.invoice-dates-cell>p{grid-column:1/-1;margin:0}.invoice-credit-terms{display:flex;gap:12px;align-items:center;font-size:12px}.invoice-credit-terms .text-button{padding:0;font-size:12px}.invoice-reference-cell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.invoice-reference-cell details>summary{font-size:12px;color:var(--muted);cursor:pointer;padding:2px 0}.invoice-items-heading{display:flex;gap:14px;align-items:baseline;justify-content:space-between;margin:28px 0 10px}.invoice-items-heading h2{margin:0;font-size:16px}.invoice-items-heading>span{color:var(--muted);font-size:12px}.invoice-sheet .invoice-lines-table{margin:0 -8px;padding:0 8px}.invoice-sheet .invoice-lines-table table{min-width:0;width:100%;table-layout:fixed}.invoice-sheet .invoice-lines-table th{font-size:11px;padding:10px 6px;white-space:normal}.invoice-sheet .invoice-lines-table td{padding:12px 6px}.invoice-sheet .invoice-lines-table th:first-child{width:13%}.invoice-sheet .invoice-lines-table th:nth-child(2){width:20%}.invoice-sheet .invoice-lines-table th:nth-child(3){width:7%}.invoice-sheet .invoice-lines-table th:nth-child(4){width:11%}.invoice-sheet .invoice-lines-table th:nth-child(5){width:8%}.invoice-sheet .invoice-lines-table th:nth-child(6){width:12%}.invoice-sheet .invoice-lines-table th:nth-child(7){width:10%}.invoice-sheet .invoice-lines-table th:nth-child(8){width:11%}.invoice-sheet .invoice-lines-table th:last-child{width:8%}.invoice-sheet .invoice-lines-table td:first-child,.invoice-sheet .invoice-lines-table td:nth-child(3){min-width:0}.invoice-sheet .invoice-lines-table td input:not([type=checkbox]),.invoice-sheet .invoice-lines-table td select{min-width:0;min-height:38px;padding:8px;font-size:12px;width:100%}.invoice-sheet .invoice-lines-table td:nth-child(7),.invoice-sheet .invoice-lines-table td:nth-child(8){text-align:right;white-space:normal;overflow-wrap:anywhere;font-size:12px}.invoice-sheet .invoice-lines-table td small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.invoice-sheet .invoice-lines-table .row-actions{gap:0;flex-wrap:nowrap}.invoice-sheet .invoice-lines-table .icon-button{min-width:30px;padding:7px}.invoice-sheet .invoice-lines-table+.alert{margin:10px 0}.invoice-sheet>.row-actions{justify-content:flex-end;margin:12px 0}.invoice-sheet>.invoice-options{padding:12px 0;font-size:12px}.invoice-sheet>.invoice-special-options{margin-top:12px;border-left:0;border-right:0;border-radius:0}.invoice-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:22px 40px;padding-top:24px;border-top:1px solid var(--line)}.invoice-footer-options{display:grid;gap:16px;align-content:start;max-width:500px}.invoice-footer-options>label{max-width:290px}.invoice-footer-options details>summary{font-size:13px;cursor:pointer}.invoice-footer .totals{margin:0;width:100%}.invoice-footer .totals>div{margin-bottom:10px;font-size:13px}.invoice-footer .totals>div:last-child{font-size:19px}.invoice-footer-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.invoice-footer-actions>p{flex:1;min-width:200px;max-width:510px;font-size:12px;margin:0}.invoice-data-grid .invoice-collection-choice{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 0;border-block:1px solid var(--line);order:4}.invoice-collection-choice>p{margin:0;max-width:720px;font-size:12px;line-height:1.6}.invoice-collection-choice details{flex-shrink:0;max-width:440px;font-size:12px}.invoice-collection-choice details[open]{flex:1;min-width:250px}.invoice-collection-choice details>.form{margin-top:12px}@media(max-width:650px){.invoice-data-grid .invoice-collection-choice{display:grid}.invoice-collection-choice details{max-width:none}.invoice-collection-choice details[open]{min-width:0}}.catalog-picker{position:relative;min-width:0}.catalog-picker>label{display:block;margin-bottom:7px}.catalog-picker .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.catalog-picker-control{display:flex;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:6px}.catalog-picker-control input{flex:1;min-width:0;border:0;background:transparent;box-shadow:none}.catalog-picker-control input:focus{outline:2px solid var(--green);outline-offset:1px}.catalog-picker-control .icon-button{flex-shrink:0;background:transparent;border:0;min-width:26px;min-height:30px;padding:4px}.catalog-picker-menu{position:fixed;z-index:100;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 30px #0002;padding:5px}.catalog-picker-menu [role=listbox]{max-height:250px;overflow:auto}.catalog-picker-menu [role=option]{width:100%;display:grid;gap:3px;padding:9px;border:0;background:transparent;color:var(--ink);text-align:left;border-radius:5px;letter-spacing:0;font-size:13px}.catalog-picker-menu [role=option][aria-selected=true]{background:var(--green-light)}.catalog-picker-menu [role=option] strong{font-weight:500}.catalog-picker-menu [role=option] small,.catalog-picker-menu>p{color:var(--muted);font-size:11px}.catalog-picker-menu>p{padding:6px 9px;margin:0;border-top:1px solid var(--line)}@media(min-width:1500px){.invoice-sheet .invoice-lines-table table{min-width:0}}@media(max-width:900px){.invoice-data-grid{gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.invoice-reference-cell{grid-template-columns:1fr}}@media(max-width:650px){.invoice-sheet{padding:18px 14px}.invoice-data-grid{grid-template-columns:1fr;gap:16px}.invoice-customer-cell{order:0}.invoice-dates-cell{order:1}.invoice-payment-cell{order:2}.invoice-reference-cell{order:3;grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-items-heading{margin-top:22px}.invoice-items-heading>span{display:none}.invoice-footer{grid-template-columns:1fr;gap:20px}.invoice-footer-actions{display:grid}.invoice-footer-options>label{max-width:none}.invoice-sheet .invoice-lines-table{overflow-x:auto;padding-bottom:8px;overflow:visible;margin:0;padding:0}.invoice-sheet .invoice-lines-table table{display:block;min-width:0;width:100%}.invoice-sheet .invoice-lines-table thead{display:none}.invoice-sheet .invoice-lines-table tbody{display:grid;gap:12px}.invoice-sheet .invoice-lines-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--white)}.invoice-sheet .invoice-lines-table td{display:flex;flex-direction:column;gap:5px;border:0;padding:5px;width:auto;min-width:0}.invoice-sheet .invoice-lines-table td:before{content:attr(data-label);font-size:10px;font-weight:600;color:var(--muted);text-align:left;white-space:normal}.invoice-sheet .invoice-lines-table td:nth-child(2){grid-column:span 2}.invoice-sheet .invoice-lines-table td:last-child{grid-column:1/-1;align-items:flex-end;padding-bottom:0}.invoice-sheet .invoice-lines-table .invoice-new-line td:last-child,.invoice-sheet .invoice-lines-table td:last-child:before{display:none}.invoice-sheet .invoice-lines-table td:nth-child(7),.invoice-sheet .invoice-lines-table td:nth-child(8){justify-content:space-between}.invoice-sheet .invoice-lines-table td input:not([type=checkbox]),.invoice-sheet .invoice-lines-table td select{padding:7px 5px;font-size:12px}.invoice-sheet .invoice-lines-table .check-label{font-size:10px;white-space:normal}}.operational-extension fieldset{display:grid;gap:16px;min-width:0;border:0;margin:0;padding:0}.operational-extension .check-field{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.operational-extension .check-field input{flex:0 0 auto;width:18px;margin-top:3px}.invoice-commercial-lines{border:0;margin:0;padding:0;min-width:0}.pos-counter-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:1rem;align-items:start}.pos-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:.65rem;max-height:65vh;overflow:auto;padding:.15rem}.pos-product{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;min-height:110px;text-align:left;border:1px solid var(--border,#dfe5ec);background:var(--panel,#fff);color:inherit;border-radius:12px;padding:1rem;cursor:pointer}.pos-product:hover{border-color:var(--accent,#176d77)}.pos-product small{font-size:.75rem;color:var(--muted,#65748b)}.pos-product span{margin-top:auto;font-weight:700}.pos-cart{position:sticky;top:1rem;max-height:85vh;overflow:auto}.pos-total{font-size:1.35rem}@media(max-width:900px){.pos-counter-layout{grid-template-columns:minmax(0,1fr)}.pos-cart{position:static;max-height:none}.pos-product-grid{max-height:50vh}}.facturax-workspace .module-view-tabs{display:flex;gap:5px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--white);overflow-x:auto;max-width:100%;margin-bottom:8px}.facturax-workspace .module-view-tabs button{padding:11px 15px;min-height:42px;flex:0 0 auto;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer}.facturax-workspace .module-view-tabs button:hover{background:var(--hover-bg);color:var(--label)}.facturax-workspace .module-view-tabs button[aria-pressed=true]{background:var(--green-light);color:var(--green)}.facturax-workspace .module-view-tabs button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.facturax-workspace .workspace-directory-area{margin-top:28px}.facturax-workspace .workspace-directory-area h2{display:flex;align-items:center;gap:10px}.facturax-workspace .workspace-directory-area .section-heading>.muted{font-size:11px}@media(max-width:600px){.facturax-workspace .module-view-tabs button{font-size:11px;padding-inline:12px}.facturax-workspace .workspace-directory-area .section-heading{align-items:center}}.storefront{max-width:1440px;margin:auto;padding:clamp(1rem,3vw,2.5rem)}.storefront-header{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:1.5rem}.storefront-header>div{min-width:0;max-width:70ch}.storefront-header>a{flex-shrink:0;max-width:160px}.storefront-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);align-items:start;gap:1.5rem;margin-bottom:1.5rem}.storefront-columns>.panel{min-width:0}.storefront .pos-product-grid{max-height:none;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.storefront .pos-product-grid article{min-width:0;overflow-wrap:anywhere}.storefront .pos-product-grid img{max-width:100%;height:auto;align-self:center}.storefront footer{margin-top:1.5rem}.store-product-options{max-height:320px;overflow:auto;display:grid;gap:.5rem;padding:.5rem;border:1px solid var(--border)}@media(max-width:900px){.storefront-columns{grid-template-columns:minmax(0,1fr)}.storefront-header{align-items:flex-start}.storefront-header>a{max-width:100px}}.facturax-workspace .business-suite{min-width:0;max-width:100%}.facturax-workspace .module-focused-view{padding:0;min-width:0;width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)}.reports-workspace{display:flex;flex-direction:column;min-width:0;gap:16px}.reports-workspace>div{min-width:0}.reports-workspace .form-row{align-items:flex-end}.reports-workspace .report-selector{max-width:440px}.reports-workspace .report-categories{margin-bottom:0}.report-pagination{margin-top:4px}.report-pagination>span{margin-right:auto;color:var(--muted);font-size:12px}.report-totals{font-size:12px;color:var(--muted);line-height:1.7}.accounting-report-select{display:block;max-width:440px;margin-bottom:16px}.facturax-workspace .module-view-tabs{min-width:0;width:100%}@media(max-width:600px){.facturax-workspace .module-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.facturax-workspace .module-view-tabs button{white-space:normal;line-height:1.5}.facturax-workspace .module-view-tabs.report-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.reports-workspace .form-row{align-items:stretch}}.store-management,.store-management .panel,.store-management .table-scroll,.store-management fieldset{min-width:0;max-width:100%}.store-management fieldset,.storefront fieldset{display:grid;gap:1rem;min-width:0;border:0;padding:0;margin:0}.store-management h3,.store-management p,.storefront h1,.storefront h2{overflow-wrap:anywhere}@media(max-width:370px){.facturax-workspace .sidebar-brand .facturax-logo{width:106px}}.facturax-workspace .workspace-heading h1{margin-bottom:0}.facturax-workspace .workspace-heading:has(>div>p) h1{margin-bottom:8px}.facturax-workspace .catalog-heading,.facturax-workspace .module-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.facturax-workspace .catalog-heading h2,.facturax-workspace .module-section-heading h2{margin:0;font-size:16px}.facturax-workspace .module-panel>h2{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:16px}.facturax-workspace .context-help{font-size:12px;color:var(--muted)}.facturax-workspace .context-help>summary{cursor:pointer;width:fit-content;padding:6px 0}.facturax-workspace .context-help>p{max-width:85ch;margin:8px 0 12px;line-height:1.6}.facturax-workspace .invoice-sheet{padding:22px}.facturax-workspace .invoice-data-grid{gap:18px 24px}.facturax-workspace .invoice-items-heading{margin-top:24px}.facturax-workspace .invoice-footer{gap:18px 28px;padding-top:20px}.facturax-workspace .invoice-footer-actions{align-items:center;padding-top:14px;border-top:1px solid var(--line)}.facturax-workspace .invoice-submit{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}@media(min-width:1200px){.facturax-workspace .invoice-data-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.facturax-workspace .invoice-reference-cell{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:600px){.facturax-workspace .invoice-sheet{padding:16px 12px}.facturax-workspace .invoice-data-grid{gap:16px}.facturax-workspace .invoice-submit{width:100%}.facturax-workspace .invoice-submit>button{flex:1 1 140px}}.facturax-workspace .workspace-nav{padding-top:8px}.facturax-workspace .workspace-heading{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.facturax-workspace .workspace-heading h1{font-size:20px;line-height:1.35}.facturax-workspace .workspace-module{min-width:0}.facturax-workspace .workspace-module>.business-suite>section>.catalog-heading>h2,.facturax-workspace .workspace-module>.business-suite>section>h2:first-child{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.module-help{font-size:12px;color:var(--muted);align-self:flex-start;max-width:75ch}.module-help>summary{cursor:pointer;padding:5px 0}.module-help>div{padding:10px 0;line-height:1.6}.purchase-list{min-width:0}.purchase-list .catalog-heading>label{min-width:220px;max-width:420px;flex:1}.record-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.record-summary dt{font-size:12px;color:var(--muted)}.record-summary dd{margin:4px 0;overflow-wrap:anywhere}@media(max-width:650px){.purchase-list .catalog-heading>label{max-width:none;width:100%;min-width:0}.facturax-workspace .workspace-heading h1{font-size:18px}}.facturax-workspace .inventory-settings{padding:0;min-width:0}.facturax-workspace .business-suite>.accounting-pending-notice{margin:0;padding:10px 14px;font-size:12px;line-height:1.5}.fx-dashboard{gap:20px;width:100%}.fx-dashboard,.fx-plan-card{display:flex;flex-direction:column}.fx-plan-card{gap:12px;padding:18px 22px;background:var(--white);border:1px solid var(--line);border-left:4px solid #6366f1;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.04)}.fx-plan-header{justify-content:space-between;gap:10px}.fx-plan-header,.fx-plan-title-group{display:flex;align-items:center;flex-wrap:wrap}.fx-plan-title-group{gap:12px}.fx-plan-title{font-size:15px;font-weight:600;margin:0;color:var(--ink)}.fx-plan-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}.fx-plan-meta strong{color:var(--ink);font-weight:600}.fx-plan-docs-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;padding-top:10px;border-top:1px solid var(--line)}.fx-plan-doc-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 10px;background:var(--surface-subtle);border-radius:8px;text-align:center}.fx-plan-doc-label{font-size:11px;color:var(--muted);font-weight:500}.fx-plan-doc-badge{background:#e0f2fe;color:#0284c7;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:700}.fx-filter-bar{justify-content:space-between;gap:14px;padding:14px 18px;background:var(--white);border:1px solid var(--line);border-radius:10px}.fx-filter-bar,.fx-filter-form{display:flex;align-items:center;flex-wrap:wrap}.fx-filter-form{gap:12px}.fx-filter-form label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.fx-filter-form input,.fx-filter-form select{height:34px;padding:4px 10px;border:1px solid var(--line);border-radius:6px;font-size:12px;background:var(--surface-subtle)}.fx-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fx-kpi-card{display:flex;flex-direction:column;justify-content:space-between;padding:20px 22px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.03)}.fx-kpi-primary{border-left:4px solid #2563eb}.fx-kpi-success{border-left:4px solid #16a34a}.fx-kpi-warning{border-left:4px solid #ea580c}.fx-kpi-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.fx-kpi-title{font-size:13px;font-weight:600;margin:0}.fx-kpi-header svg,.fx-kpi-title{color:var(--muted)}.fx-kpi-warning .fx-kpi-header svg{color:#ea580c}.fx-kpi-amount{font-size:clamp(22px,2.2vw,30px);font-weight:700;letter-spacing:-.5px;margin:12px 0 6px;color:var(--ink)}.fx-kpi-warning .fx-kpi-amount{color:#ea580c}.fx-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fx-doc-card{display:flex;flex-direction:column;padding:20px 22px;background:var(--white);border:1px solid var(--line);border-left:4px solid #64748b;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.03)}.fx-doc-header{margin-bottom:12px}.fx-doc-title{font-size:14px;font-weight:600;color:var(--ink);margin:0}.fx-doc-body,.fx-doughnut-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.fx-doughnut-wrapper{padding:6px 0}.fx-doughnut-chart-rel{display:flex;align-items:center;justify-content:center;position:relative}.fx-doughnut-svg{display:block}.fx-tables-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:16px}.fx-table-card{display:flex;flex-direction:column;padding:18px 20px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.03);min-width:0}.fx-table-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.fx-table-title{font-size:14px;font-weight:600;color:var(--ink);margin:0}.fx-table-toggle{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);cursor:pointer}.fx-table-wrapper{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.fx-table{width:100%;border-collapse:collapse;font-size:12px}.fx-table th{font-size:11px;font-weight:600;color:var(--muted);text-align:left}.fx-table td,.fx-table th{padding:8px 6px;border-bottom:1px solid var(--line)}.fx-table td{vertical-align:middle}.fx-table tr:hover td{background:var(--surface-subtle)}.fx-stock-badge-danger{background:#fee2e2;color:#b91c1c}.fx-stock-badge-danger,.fx-stock-badge-warning{padding:3px 8px;border-radius:12px;font-size:10px;font-weight:600}.fx-stock-badge-warning{background:#fef3c7;color:#b45309}.fx-btn-provision{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:var(--green);color:#fff;border-radius:6px;font-size:11px;font-weight:500;border:0;cursor:pointer}.fx-btn-provision:hover{background:var(--focus)}@media(max-width:1050px){.fx-doc-grid,.fx-kpi-grid,.fx-tables-grid{grid-template-columns:1fr}}.comprobantes-workspace{display:flex;flex-direction:column;gap:20px}.comprobantes-top-bar{justify-content:space-between;gap:12px}.comprobantes-nav-tabs,.comprobantes-top-bar{display:flex;align-items:center;flex-wrap:wrap}.comprobantes-nav-tabs{gap:8px}.comprobantes-tab-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid var(--line);background:var(--white);color:var(--secondary-text);cursor:pointer;transition:all .15s ease}.comprobantes-tab-btn:hover{background:var(--surface-subtle);color:var(--ink)}.comprobantes-tab-btn.is-active{background:var(--green-light);border-color:var(--green);color:var(--green)}.comprobantes-utility-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comprobantes-more-menu{position:relative;display:inline-block}.comprobantes-more-menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid var(--line);background:var(--white);color:var(--secondary-text);transition:all .15s ease;user-select:none}.comprobantes-more-menu summary::-webkit-details-marker{display:none}.comprobantes-more-menu summary:hover{background:var(--surface-subtle);color:var(--ink);border-color:var(--strong-line)}.comprobantes-more-dropdown{position:absolute;top:calc(100% + 6px);right:0;min-width:220px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);padding:6px;z-index:50;display:flex;flex-direction:column;gap:2px}.comprobantes-more-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;border-radius:6px;font-size:13px;font-weight:500;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s ease}.comprobantes-more-item:hover{background:var(--surface-subtle)}.comprobantes-more-item.is-active{background:var(--green-light);color:var(--green);font-weight:600}.comprobantes-stats-bar{display:flex;align-items:center;gap:0;background:var(--white);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.02)}.comprobantes-stat-item{flex:1;display:flex;flex-direction:column;gap:3px;padding:14px 22px;border-right:1px solid var(--line)}.comprobantes-stat-item:last-child{border-right:none}.comprobantes-stat-item .stat-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.comprobantes-stat-item .stat-value{font-size:18px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.comprobantes-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comprobantes-stat-card{display:flex;flex-direction:column;gap:4px;padding:14px 18px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.02)}.comprobantes-stat-card.card-blue{border-left:4px solid #2563eb}.comprobantes-stat-card.card-green{border-left:4px solid #16a34a}.comprobantes-stat-card.card-purple{border-left:4px solid #9333ea}.comprobantes-stat-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}.comprobantes-stat-value{font-size:20px;font-weight:700;color:var(--ink)}.comprobantes-filter-panel{padding:16px 20px;background:var(--white);border:1px solid var(--line);border-radius:10px}.comprobantes-filter-row{display:grid;grid-template-columns:minmax(240px,1.8fr) minmax(180px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:end}.comprobantes-search-input-wrap{position:relative;display:flex;align-items:center}.comprobantes-search-input-wrap svg{position:absolute;left:12px;color:var(--muted);pointer-events:none}.comprobantes-search-input{padding:8px 12px 8px 36px}.comprobantes-filter-select,.comprobantes-search-input{width:100%;height:38px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--surface-subtle);color:var(--ink)}.comprobantes-filter-select{padding:6px 12px}.comprobantes-filter-btn{height:38px;padding:0 18px;border-radius:8px;font-size:13px;font-weight:600}.comprobantes-advanced-filters{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;font-size:12px}.comprobantes-advanced-filters label{display:flex;flex-direction:column;gap:4px;color:var(--secondary-text)}.comprobantes-advanced-filters input,.comprobantes-advanced-filters select{height:34px;padding:4px 10px;border:1px solid var(--line);border-radius:6px;font-size:12px;background:var(--surface-subtle)}.comprobantes-table-wrapper{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.02)}.comprobantes-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.comprobantes-table th{padding:12px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);background:var(--surface-subtle);border-bottom:1px solid var(--line);white-space:nowrap}.comprobantes-table td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle;color:var(--ink)}.comprobantes-table tr.doc-row:hover td{background:var(--surface-subtle)}.comprobantes-table tr.doc-row.is-expanded td{background:var(--green-light)}.badge-doc-kind{display:inline-block;padding:2px 7px;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.5px}.badge-kind-fe{background:#e0f2fe;color:#0369a1}.badge-kind-nc{background:#fef3c7;color:#b45309}.badge-kind-nd{background:#e0e7ff;color:#4338ca}.badge-kind-trans{background:#f3e8ff;color:#7e22ce}.badge-kind-contingency{background:#fee2e2;color:#b91c1c}.customer-cell{display:flex;flex-direction:column;gap:2px}.customer-cell strong{font-size:13px;font-weight:600;color:var(--ink)}.customer-cell small{font-size:11px;color:var(--muted)}.badge-dian-status{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.status-accepted{background:#dcfce7;color:#15803d;border:1px solid #86efac}.status-rejected{background:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}.status-process{background:#fef3c7;color:#b45309;border:1px solid #fcd34d}.status-prepared{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.status-contingency{background:#f3e8ff;color:#7e22ce;border:1px solid #d8b4fe}.comprobantes-downloads{display:inline-flex;align-items:center;justify-content:center;gap:5px}.download-pill-pdf,.download-pill-ticket,.download-pill-xml,.download-pill-zip{display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 8px;border-radius:4px;font-size:11px;font-weight:700;text-decoration:none;transition:opacity .15s ease}.download-pill-pdf{background:#fef2f2;color:#dc2626;border:1px solid #fca5a5}.download-pill-pdf:hover{background:#fee2e2}.download-pill-xml{background:#eff6ff;color:#2563eb;border:1px solid #93c5fd}.download-pill-xml:hover{background:#dbeafe}.download-pill-zip{background:#ecfdf5;color:#059669;border:1px solid #6ee7b7}.download-pill-zip:hover{background:#d1fae5}.download-pill-ticket{background:#f8fafc;color:#334155;border:1px solid #cbd5e1;cursor:pointer;font-family:inherit}.download-pill-ticket:hover:not(:disabled){background:#e2e8f0}.download-pill-ticket:disabled{opacity:.6;cursor:progress}.download-pill-ticket.has-error{color:#b91c1c;border-color:#fca5a5}.comprobantes-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.btn-table-detail{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:600;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;transition:all .15s ease}.btn-table-detail:hover{background:var(--surface-subtle);border-color:var(--strong-line)}.btn-table-consult{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:600;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;cursor:pointer}.btn-table-consult:hover{background:#dbeafe}.comprobantes-detail-row td{padding:0;background:var(--surface-subtle)!important;border-bottom:2px solid var(--line)}.comprobantes-detail-drawer{padding:22px 24px;display:flex;flex-direction:column;gap:18px}.detail-drawer-header{flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line)}.detail-drawer-cufe-box,.detail-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.detail-drawer-cufe-box{padding:10px 14px;background:var(--white);border:1px solid var(--line);border-radius:8px;font-family:monospace;font-size:12px;word-break:break-all}.btn-copy-cufe{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:6px;font-size:11px;font-weight:600;border:1px solid var(--line);background:var(--surface-subtle);color:var(--ink);cursor:pointer;white-space:nowrap}.btn-copy-cufe:hover{background:var(--hover-bg)}.detail-drawer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.detail-section-card{padding:16px 18px;background:var(--white);border:1px solid var(--line);border-radius:8px}.detail-section-title{font-size:13px;font-weight:700;color:var(--ink);margin:0 0 10px;display:flex;align-items:center;gap:6px}.modal-backdrop{position:fixed;inset:0;background-color:rgba(0,0,0,.4);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.modal-dialog{background:var(--white);border:1px solid var(--line);border-radius:12px;max-width:520px;width:100%;padding:24px;box-shadow:0 20px 30px -10px rgba(0,0,0,.15)}.note-workspace-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.note-section-title{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:4px}.note-section-desc{font-size:13px;color:var(--muted);margin:0}.note-subpanel{background:var(--surface-subtle);border:1px solid var(--line);padding:16px;border-radius:8px;margin-bottom:18px}.note-subpanel-title{font-size:12px;font-weight:600;color:var(--ink);margin-bottom:10px}@media(max-width:900px){.comprobantes-filter-row,.comprobantes-stats-grid{grid-template-columns:1fr}}.facturax-workspace .topbar{height:60px;padding:0 32px;background:var(--white)}.facturax-workspace .workspace-shortcuts>button{flex-direction:row;gap:8px;padding:9px 18px;border-radius:999px;background:var(--green);color:#fff;font-size:13px;font-weight:600}.facturax-workspace .workspace-shortcuts>button:hover:not(:disabled){background:var(--green);color:#fff;filter:brightness(1.08)}.facturax-workspace .workspace-shortcuts>button:first-child{color:#fff}.facturax-workspace .workspace-shortcuts>button:disabled{opacity:.5}.facturax-workspace .workspace-nav-group>summary,.facturax-workspace .workspace-nav>.nav-item{font-size:13px}.facturax-workspace .workspace-nav-group>div .nav-item{padding-block:7px;font-size:12.5px}.facturax-workspace #workspace-content{max-width:1360px;margin-inline:auto;padding-inline:32px}.facturax-workspace .workspace-heading{margin-bottom:20px;padding-bottom:0;border-bottom:0}.facturax-workspace .workspace-heading h1{font-size:22px;letter-spacing:-.3px}.facturax-workspace .fx-dashboard{display:flex;flex-direction:column;gap:18px}.facturax-workspace .fx-plan-card{padding:12px 18px;gap:0;border-left:1px solid var(--line);box-shadow:none}.facturax-workspace .fx-plan-title{font-size:13px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.facturax-workspace .fx-plan-docs{margin-top:8px}.facturax-workspace .fx-footnote>summary,.facturax-workspace .fx-plan-docs>summary{cursor:pointer;font-size:12px;color:var(--muted)}.facturax-workspace .fx-plan-docs .fx-plan-docs-row{margin-top:10px}.facturax-workspace .fx-filter-bar{padding:0;border:0;background:transparent}.facturax-workspace .fx-footnote{margin-top:-6px}.facturax-workspace .fx-footnote>p{margin:8px 0 0;font-size:12px;line-height:1.6;max-width:760px}.facturax-workspace .fx-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.facturax-workspace .home-attention{border-left:3px solid #d97706}.facturax-workspace .home-attention h2{margin:0;font-size:15px}.facturax-workspace .module-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.facturax-workspace .module-card{min-height:0;padding:12px 14px}.facturax-workspace .module-card strong{font-size:14px;font-weight:500}.facturax-workspace .workspace-directory-area{margin-top:22px}.facturax-workspace .workspace-directory-area h2{font-size:13px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.facturax-workspace .panel.module-panel{padding:20px 24px}.facturax-workspace .panel.module-panel>:is(h2,h3,p,button){margin-inline:0}.facturax-workspace .panel.module-panel>h2{margin-top:0;font-size:16px}.facturax-workspace .fx-filter-form label{flex-direction:row;align-items:center;white-space:nowrap}.facturax-workspace .fx-filter-form :is(select,input){height:36px}.facturax-workspace [data-redundant-title]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.facturax-workspace :not(.panel):has(>[data-redundant-title]){justify-content:flex-end}.facturax-workspace .setup-intro{padding:14px 18px}.facturax-workspace :not(.panel):has(>[data-redundant-title]){border-bottom:0;padding-bottom:12px;min-height:0}.facturax-workspace :has(>[data-redundant-title]:only-child){display:none}.facturax-workspace details.panel{padding:14px 20px;border-radius:10px}.facturax-workspace details.panel>summary{cursor:pointer;font-weight:500}.facturax-workspace details.panel[open]>summary{margin-bottom:14px}.facturax-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.facturax-workspace .setup-task-content>section.support-fiscal{margin-top:0;padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.facturax-workspace .command-trigger{display:flex;align-items:center;gap:10px;width:100%;margin:6px 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle);color:var(--muted);font-size:13px;text-align:left}.facturax-workspace .command-trigger:hover{border-color:var(--strong-line);color:var(--ink)}.facturax-workspace .command-trigger span{flex:1}.facturax-workspace kbd{display:inline-block;min-width:20px;padding:1px 6px;border:solid var(--line);border-width:1px 1px 2px;border-radius:5px;background:var(--white);color:var(--muted);font:500 11px/1.5 inherit;text-align:center}.command-palette{width:min(640px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 120px));margin:12vh auto auto;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);box-shadow:0 24px 64px #0f172a33;overflow:hidden}.command-palette[open]{display:flex;flex-direction:column}.command-palette::backdrop{background:#0f172a59;backdrop-filter:blur(2px)}.command-input{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);color:var(--muted)}.command-input input{flex:1;min-width:0;border:0;background:transparent;font-size:16px;color:var(--ink);outline:none;box-shadow:none;padding:4px 0}.command-palette ul{flex:1;overflow:auto;margin:0;padding:6px 8px 10px;list-style:none}.command-group{margin:10px 10px 4px;font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}.command-option{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:8px;cursor:pointer;font-size:14px}.command-option small{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px}.command-option>span{white-space:nowrap}.command-option[aria-selected=true]{background:var(--green-light);color:var(--green)}.command-option>svg{margin-left:auto;flex-shrink:0}.command-empty{padding:24px 12px;color:var(--muted);text-align:center}.command-footer{display:flex;gap:18px;padding:9px 18px;border-top:1px solid var(--line);background:var(--surface-subtle);color:var(--muted);font-size:12px}.command-footer kbd{margin-right:4px}.facturax-workspace .workspace-eyebrow{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.4px;color:var(--muted)}.facturax-workspace :is(.fx-kpi-primary,.fx-kpi-success,.fx-kpi-warning,.fx-doc-card){border-left:1px solid var(--line)}.facturax-workspace .fx-kpi-card{box-shadow:none}.facturax-workspace .fx-kpi-header svg{color:var(--muted);opacity:.7}.facturax-workspace .fx-kpi-warning .fx-kpi-amount{color:var(--ink)}.facturax-workspace .fx-doc-card{min-height:0;box-shadow:none}.facturax-workspace .fx-doc-empty{margin:6px 0 2px;color:var(--muted);font-size:13px;align-self:flex-start}.facturax-workspace :is(table,.fx-kpi-amount,.stat,.nav-count){font-variant-numeric:tabular-nums}.facturax-workspace :is(td,th)[data-amount]{text-align:right}.facturax-workspace .form:not(.form-row)>:is(button,.primary,.secondary){align-self:flex-start;width:auto;min-width:160px}.facturax-workspace :is(button,a,summary,input,select,textarea,[role=option]):focus-visible{outline:2px solid var(--green);outline-offset:2px}.command-input input:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}.facturax-workspace .fx-kpi-card{justify-content:flex-start}.facturax-workspace details.invoice-reference-cell{display:block;grid-column:1/-1}.facturax-workspace details.invoice-reference-cell[open]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.facturax-workspace details.invoice-reference-cell>summary{grid-column:1/-1;cursor:pointer;font-size:13px;color:var(--muted)}.facturax-workspace .invoice-footer-actions{justify-content:flex-end}.facturax-workspace .invoice-sheet .invoice-lines-table th:nth-child(2){width:27%}.facturax-workspace .invoice-sheet .invoice-lines-table th:nth-child(6){width:13%}.facturax-workspace .invoice-sheet .invoice-lines-table :is(th,td):is(:nth-child(7),:nth-child(8)){width:8%;text-align:right;white-space:nowrap}.facturax-workspace .invoice-sheet .invoice-lines-table td select{min-width:0;width:100%}.facturax-workspace .invoice-options{margin-top:4px}.facturax-workspace .invoice-options>summary{font-weight:400;font-size:13px;color:var(--muted)}.facturax-workspace .invoice-special-options{border:0;border-radius:0;padding:0}.facturax-workspace .invoice-options[open]{padding:14px 18px;border:1px solid var(--line);border-radius:10px}.facturax-workspace .on-demand-editor>div>form.panel.form{max-width:920px}.facturax-workspace .form:not(.form-row):has(>button+button){flex-direction:row;flex-wrap:wrap;align-items:flex-start;column-gap:12px}.facturax-workspace .form:not(.form-row):has(>button+button)>:not(button){flex:1 1 100%;min-width:0}.facturax-workspace .form:not(.form-row):has(>button+button)>button{flex:0 0 auto}.facturax-workspace .editor-back .text-button{padding:0}.facturax-workspace form.panel>fieldset:not(:has(>legend)){border:0;padding:0;margin:0;min-width:0}.facturax-workspace form.form>fieldset:not(:has(>legend)){display:flex;flex-direction:column;gap:16px;border:0;padding:0;margin:0;min-width:0}.facturax-workspace form button:not([class]):not([type=button]){align-self:flex-start;min-width:160px;padding:11px 18px;border:0;border-radius:8px;background:var(--green);color:#fff;font-weight:600}.facturax-workspace form button:not([class]):not([type=button]):disabled{opacity:.5}.facturax-workspace fieldset:has(>legend):not(.settings-fieldset){border:1px solid var(--line);border-radius:10px;padding:14px 18px 18px;margin:0;min-width:0}.facturax-workspace fieldset:has(>legend):not(.settings-fieldset)>legend{padding:0 6px;font-size:13px;font-weight:600}.facturax-workspace .fx-doughnut-legend{display:flex;gap:18px;margin:12px 0 0;padding:0;list-style:none;font-size:12px;color:var(--muted)}.facturax-workspace .fx-doughnut-legend li{display:flex;align-items:center;gap:6px}.facturax-workspace .fx-doughnut-legend strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.facturax-workspace :is(.fx-legend-paid,.fx-legend-pending){width:9px;height:9px;border-radius:2px}.facturax-workspace .fx-legend-paid{background:#3b82f6}.facturax-workspace .fx-legend-pending{background:#f43f5e}.facturax-workspace .pill[data-tone]{border:1px solid transparent;font-weight:600}.facturax-workspace .pill[data-tone=success]{background:#dcfce7;color:#166534;border-color:#bbf7d0}.facturax-workspace .pill[data-tone=warning]{background:#fef3c7;color:#92400e;border-color:#fde68a}.facturax-workspace .pill[data-tone=danger]{background:#fee2e2;color:#991b1b;border-color:#fecaca}.facturax-workspace td[data-tone]:before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;vertical-align:1px;background:currentColor}.facturax-workspace td[data-tone=success]{color:#166534}.facturax-workspace td[data-tone=warning]{color:#92400e}.facturax-workspace td[data-tone=danger]{color:#991b1b}:root[data-theme=dark] .facturax-workspace .pill[data-tone=success]{background:#14532d66;color:#86efac;border-color:#166534}:root[data-theme=dark] .facturax-workspace .pill[data-tone=warning]{background:#78350f66;color:#fcd34d;border-color:#92400e}:root[data-theme=dark] .facturax-workspace .pill[data-tone=danger]{background:#7f1d1d66;color:#fca5a5;border-color:#991b1b}:root[data-theme=dark] .facturax-workspace td[data-tone=success]{color:#86efac}:root[data-theme=dark] .facturax-workspace td[data-tone=warning]{color:#fcd34d}:root[data-theme=dark] .facturax-workspace td[data-tone=danger]{color:#fca5a5}.facturax-workspace .table-scroll:has(tbody tr:nth-child(15)){max-height:70vh;overflow:auto}.facturax-workspace .table-scroll:has(tbody tr:nth-child(15)) thead th{position:sticky;top:0;z-index:1;background:var(--surface-subtle)}.facturax-workspace .empty,.facturax-workspace .module-records>p.muted:only-child{padding:28px 16px;text-align:center;color:var(--muted)}.facturax-workspace .catalog-workspace .record{padding:12px 16px;gap:16px}.facturax-workspace .catalog-workspace .record:hover{background:var(--surface-subtle)}.facturax-workspace .catalog-workspace .record>div:first-child small{display:inline;margin:0}.facturax-workspace .catalog-workspace .record>div:first-child small+small:before{content:" · "}.facturax-workspace .catalog-workspace .record>div:first-child strong{display:block;margin-bottom:3px;font-size:13px}.facturax-workspace .catalog-workspace .record>div:not(:first-child):not(.row-actions){flex:0 0 140px;text-align:right;font-variant-numeric:tabular-nums}.facturax-workspace .catalog-workspace .record>div:not(:first-child):not(.row-actions) small{margin-top:2px}.facturax-workspace .record-lifecycle .text-button{color:var(--muted);font-weight:400}.facturax-workspace .record-lifecycle .text-button:hover{color:var(--ink)}.facturax-workspace .record-lifecycle .text-button[aria-label^=Eliminar]:hover{color:#b91c1c}.facturax-workspace .catalog-workspace .record>.row-actions{flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:14px}.facturax-workspace .catalog-workspace .record .row-actions>.secondary{min-height:0;padding:0;border:0;background:none;color:var(--green);font-weight:500}.facturax-workspace .record-warning{color:#92400e;font-weight:500}:root[data-theme=dark] .facturax-workspace .record-warning{color:#fcd34d}.facturax-workspace .editor-back{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:920px}.facturax-workspace .editor-shortcuts{font-size:12px;color:var(--muted)}.facturax-workspace .editor-shortcuts kbd{margin:0 2px}.facturax-workspace #workspace-content>.alert.success{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;gap:10px;max-width:420px;margin:0;padding:12px 16px;border-radius:10px;box-shadow:0 10px 30px #0f172a26;animation:workspace-toast-in .18s ease-out}@keyframes workspace-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.facturax-workspace #workspace-content>.alert.success{animation:none}}.facturax-workspace [data-idle]{display:none!important}.facturax-workspace .setup-checklist{display:block;padding:18px 22px;border-left:3px solid var(--green)}.facturax-workspace .setup-checklist-heading{display:flex;align-items:center;gap:14px}.facturax-workspace .setup-checklist-heading h2{margin:0;font-size:15px}.facturax-workspace .setup-checklist-heading span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.facturax-workspace .setup-checklist-heading progress{flex:0 0 160px;height:6px;margin-left:auto;accent-color:var(--green)}.facturax-workspace .setup-checklist ol{display:grid!important;width:100%;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 0;padding:0;list-style:none}.facturax-workspace .setup-checklist-step{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 8px;width:100%;height:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);text-align:left;font-size:13px}.facturax-workspace .setup-checklist-step:hover:not(:disabled){border-color:var(--green)}.facturax-workspace .setup-checklist-step small{grid-column:2;grid-row:2;color:var(--muted);font-size:11px}.facturax-workspace .setup-checklist-step>svg:last-child{grid-column:3;grid-row:1/3;color:var(--muted)}.facturax-workspace .setup-checklist li.is-done .setup-checklist-step{color:var(--muted);background:var(--surface-subtle);opacity:1}.facturax-workspace .setup-checklist li.is-done svg{color:var(--green)}:root[data-theme=dark] .facturax-workspace .workspace-shortcuts>button,:root[data-theme=dark] .facturax-workspace .workspace-shortcuts>button:first-child,:root[data-theme=dark] .facturax-workspace form button:not([class]):not([type=button]){color:var(--primary-text)}.facturax-workspace .catalog-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.facturax-workspace .catalog-toolbar>input{flex:1 1 240px;max-width:360px}.facturax-workspace .catalog-toolbar>.check-label{margin:0;white-space:nowrap;font-size:13px}.facturax-workspace .catalog-toolbar>p[role=status]{margin:0 0 0 auto;font-size:12px}.facturax-workspace .catalog-toolbar>button{min-width:0;align-self:center}.facturax-workspace .comprobantes-filter-row{grid-template-columns:minmax(260px,1fr) minmax(200px,260px) auto}.facturax-workspace .comprobantes-filter-row>button{padding-inline:22px}.facturax-workspace .comprobantes-table :is(th,td){padding-left:10px;padding-right:10px}.facturax-workspace .comprobantes-actions{flex-wrap:nowrap}.facturax-workspace .setup-checklist.is-embedded{padding:16px 20px 20px;margin:0;border-left:0;border-top:1px solid var(--line)}.facturax-workspace .setup-checklist.is-embedded h3{margin:0;font-size:14px}.facturax-workspace .segmented{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px;width:auto;margin:0;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--surface-subtle)}.facturax-workspace .segmented>button{min-width:0;min-height:0;margin:0;padding:7px 14px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:13px;font-weight:500;box-shadow:none}.facturax-workspace .segmented>button:hover:not(:disabled){color:var(--ink);background:transparent}.facturax-workspace .segmented>button:is([aria-pressed=true],.is-active){background:var(--white);color:var(--ink);font-weight:600;box-shadow:0 1px 2px #0f172a1f}:root[data-theme=dark] .facturax-workspace .segmented>button:is([aria-pressed=true],.is-active){background:var(--green-light);color:var(--green)}.facturax-workspace .module-view-tabs.report-categories{gap:8px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.facturax-workspace .module-view-tabs.report-categories button{min-height:0;padding:12px 14px;border-radius:0;border-bottom:3px solid transparent;font-size:13px}.facturax-workspace .module-view-tabs.report-categories button:hover{background:transparent}.facturax-workspace .module-view-tabs.report-categories button[aria-pressed=true]{background:transparent;color:var(--focus);border-bottom-color:var(--focus);font-weight:650}.facturax-workspace .segmented{align-self:flex-start;justify-self:start;width:fit-content;max-width:100%}.role-header{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:20px;padding:14px 4px 18px;border-bottom:1px solid var(--line)}.role-header>.facturax-logo,.role-header>img,.role-header>svg{flex:0 0 auto;height:34px;width:auto}.role-header h1{margin:0;font-size:22px;letter-spacing:-.3px}.role-header p{margin:2px 0 0;font-size:13px}.role-header>.row-actions{margin-left:auto;align-items:center;gap:14px}.workspace-content>.panel.form>button.secondary:only-of-type{align-self:flex-start}.facturax-workspace .invoice-emission>.panel-heading{padding:0 0 14px}.facturax-workspace .invoice-emission>.panel-heading h2{margin:0;font-size:17px}.confirm-dialog{width:min(460px,calc(100vw - 32px));margin:18vh auto auto;padding:22px 24px 20px;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);box-shadow:0 24px 64px #0f172a33}.confirm-dialog::backdrop{background:#0f172a59;backdrop-filter:blur(2px)}.confirm-dialog h2{margin:0 0 8px;font-size:17px}.confirm-dialog p{margin:0;color:var(--muted);line-height:1.5}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.confirm-dialog .confirm-actions button.is-danger{background:#c62828;border-color:#c62828;color:#fff}.confirm-dialog .confirm-actions button.is-danger:hover{background:#a91f1f;border-color:#a91f1f;color:#fff}.comprobantes-table .doc-row{cursor:pointer}.comprobantes-table .doc-row.is-expanded>td{background:var(--green-light)}.document-drawer{position:fixed;top:0;right:0;bottom:0;z-index:60;width:min(560px,46vw);overflow-y:auto;background:var(--white);border-left:1px solid var(--line);box-shadow:-18px 0 48px #0f172a1f;animation:drawer-in .16s ease-out}.document-drawer .comprobantes-detail-drawer{padding:28px 28px 32px}.document-drawer-close{position:absolute;top:14px;right:16px;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}.document-drawer-close:hover{background:var(--surface-subtle);color:var(--ink)}.document-drawer .detail-drawer-header{padding-right:40px}@keyframes drawer-in{0%{transform:translateX(24px)}to{transform:none}}@media (prefers-reduced-motion:reduce){.document-drawer{animation:none}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.loading-skeleton{display:flex;flex-direction:column;gap:14px;padding:24px;min-height:160px}.skeleton-line{display:block;height:12px;width:100%;border-radius:6px;background:var(--line);animation:skeleton-pulse 1.4s ease-in-out infinite}.skeleton-line.is-title{height:18px;width:38%;margin-bottom:6px}.skeleton-line:nth-child(odd):not(.is-title){width:86%}.skeleton-line:last-child{width:62%}@keyframes skeleton-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.skeleton-line{animation:none}}.empty-state{display:flex;flex-direction:column;align-items:center;gap:6px;padding:36px 20px;text-align:center;color:var(--muted)}.empty-state strong{color:var(--ink);font-size:15px;font-weight:600}.empty-state p{margin:0;max-width:460px;line-height:1.5}.date-presets{align-self:flex-end}.date-presets button{white-space:nowrap}.comprobantes-table .select-cell{width:36px;padding-right:0;text-align:center}.comprobantes-table .select-cell input{margin:0}.comprobantes-selection{display:flex;align-items:center;gap:14px;margin:0 0 10px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--green-light)}.comprobantes-selection span{font-weight:600}.comprobantes-selection .primary{text-decoration:none}.comprobantes-table th .sort-header{all:unset;cursor:pointer;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}.comprobantes-table th .sort-header:hover{color:var(--ink)}.comprobantes-table th .sort-header:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:3px}.comprobantes-table th[aria-sort=ascending],.comprobantes-table th[aria-sort=descending]{color:var(--ink)}.comprobantes-table .doc-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.module-error{display:flex;flex-direction:column;gap:10px;padding:28px;border-color:var(--error-bg)}.module-error h2{margin:0;font-size:18px}.module-error p{margin:0;line-height:1.5}.module-error code{font-size:12px}.module-error .form-actions{display:flex;gap:10px;margin-top:6px}.facturax-workspace .workspace-directory-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;color:var(--muted)}.facturax-workspace .workspace-directory-link:hover{color:var(--ink)}.facturax-workspace .desktop-directory .module-directory-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:stretch}.facturax-workspace .desktop-directory .module-card>strong{width:100%}.facturax-workspace .desktop-directory .module-card>span{line-height:1.45}.facturax-workspace .desktop-documents .comprobantes-filter-row{grid-template-columns:minmax(170px,1fr) minmax(125px,185px) minmax(125px,165px) auto}.facturax-workspace .desktop-documents .document-month-filter{min-width:0}.facturax-workspace .desktop-documents .document-month-filter input{width:100%}.facturax-workspace .desktop-documents .document-column-options,.facturax-workspace .desktop-documents .document-note-create summary{cursor:pointer}.facturax-workspace .desktop-documents .document-column-options{margin-top:7px;color:var(--secondary-text);font-size:13px}.facturax-workspace .desktop-documents .document-note-create{padding:14px 18px}.facturax-workspace .desktop-documents .document-note-create summary{font-weight:600}.desktop-invoice-entry{display:grid;gap:12px;padding-block:10px}.desktop-invoice-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(76px,.65fr) minmax(100px,1fr) minmax(125px,1fr);gap:12px}.desktop-invoice-fields label{min-width:0}.desktop-invoice-section .desktop-invoice-catalog{width:min(100%,500px);margin-bottom:10px}.desktop-portfolio{display:grid;gap:14px}.desktop-module-action{justify-content:flex-end}.desktop-module-detail>details{background:var(--white);border:1px solid var(--line);border-radius:10px}.desktop-module-detail+.desktop-module-detail{margin-top:8px}.desktop-configuration-group>summary,.desktop-module-detail>details>summary,.desktop-purchase-integration>summary{padding:12px 16px;color:var(--ink);cursor:pointer;font-weight:550}.desktop-module-detail>details[open]{padding:0 16px 14px}.desktop-module-detail>details[open]>summary{margin-inline:-16px;margin-bottom:8px}.desktop-purchase-integration{background:var(--white);border:1px solid var(--line);border-radius:10px}.desktop-purchase-integration[open]{padding-bottom:12px}.desktop-purchase-integration[open]>:not(summary){margin-inline:16px}.desktop-configuration-group{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--white)}.desktop-configuration-group>summary>span{float:right;color:var(--muted);font-size:12px;font-weight:400}.desktop-configuration-group[open]>summary{border-bottom:1px solid var(--line)}@media (901px <= width <= 1080px){.desktop-invoice-fields,.facturax-workspace .desktop-documents .comprobantes-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.desktop-pos-start>h3{margin-bottom:0}.desktop-pos-start>p{margin:0}.desktop-pos-start fieldset{display:grid;gap:12px;max-width:520px}.desktop-pos-start fieldset>button{justify-self:start}.desktop-inbox-import{padding:12px 16px;background:var(--surface-subtle);border:1px solid var(--line);border-radius:8px}.desktop-inbox-import>summary{cursor:pointer;color:var(--ink);font-weight:600}.desktop-inbox-import form{margin-top:12px}.desktop-inbox-import fieldset{display:grid;gap:10px}.desktop-inbox-import fieldset>button{justify-self:start}.desktop-accounting-task-nav{align-self:start;margin-bottom:16px}.desktop-accounting-pane[hidden],.desktop-report-period{display:none}@media (width > 900px){.desktop-report-period{display:block;margin:0;color:var(--muted);font-size:13px}.desktop-report-period strong{color:var(--ink);font-weight:600}}.desktop-accounting-filter-row{display:grid;grid-template-columns:minmax(125px,1fr) minmax(125px,1fr) minmax(180px,2fr);gap:12px}.desktop-accounting-filter-row>label{min-width:0}.desktop-invoice-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(218px,270px);align-items:start;gap:16px}.desktop-invoice-main{display:grid;gap:14px;min-width:0}.desktop-invoice-section>h2,.desktop-invoice-summary h2{margin:0 0 12px;font-size:16px}.desktop-invoice-section .invoice-items-heading{margin-top:0}.desktop-invoice-section .invoice-data-grid{grid-template-columns:minmax(0,1fr) minmax(132px,.4fr)}.desktop-invoice-section .invoice-dates-cell{grid-template-columns:minmax(0,1fr)}.desktop-invoice-manual{display:grid;gap:10px}.desktop-invoice-catalog-label{margin:0 0 5px;color:var(--muted);font-size:13px}.facturax-workspace .invoice-sheet .desktop-invoice-lines table{min-width:640px}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:first-child{width:25%}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:nth-child(2){width:10%}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:nth-child(3){width:19%}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:nth-child(4){width:16%}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:nth-child(5){width:20%}.facturax-workspace .invoice-sheet .desktop-invoice-lines th:last-child{width:10%}.desktop-invoice-line-total,.facturax-workspace .desktop-invoice-lines th:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}.desktop-invoice-lines input[type=number]{font-variant-numeric:tabular-nums}.desktop-invoice-line-total input{text-align:right;font-weight:600}.desktop-invoice-lines small{display:block;margin-top:5px;line-height:1.35}.desktop-invoice-line-total,.desktop-invoice-lines td:first-child{white-space:normal;overflow-wrap:anywhere}.facturax-workspace .desktop-invoice-lines .row-actions{justify-content:flex-end}.desktop-invoice-payment>summary{cursor:pointer;padding:14px 18px;overflow-wrap:anywhere}.desktop-invoice-payment>summary span{margin-inline-start:10px;color:var(--muted);font-size:12px}.desktop-invoice-payment-fields{display:grid;gap:14px;padding:0 18px 18px}.desktop-invoice-payment>.invoice-feedback{margin:0 18px 14px}.desktop-invoice-payment .invoice-collection-choice{display:grid;gap:10px}.facturax-workspace .desktop-invoice-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;position:sticky;top:78px;padding:16px;border-top:1px solid var(--line)}.desktop-invoice-summary-heading h2{margin-bottom:4px}.desktop-invoice-summary p{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.desktop-invoice-summary-heading p{color:var(--muted)}.facturax-workspace .desktop-invoice-summary .invoice-footer-actions{display:block}.desktop-invoice-summary .invoice-submit{display:flex;flex-direction:column;align-items:stretch;gap:8px}.desktop-invoice-summary .invoice-submit>button{width:100%}.desktop-invoice-summary .invoice-submit>.text-button{min-height:36px}.desktop-invoice-section .invoice-feedback{margin-bottom:10px}.desktop-invoice-buyer{margin-top:10px;padding:16px;gap:12px;border:1px solid var(--line);border-radius:10px}.desktop-invoice-buyer .invoice-buyer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.desktop-invoice-buyer h3{margin:0}.desktop-invoice-buyer .invoice-buyer-fiscal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.desktop-invoice-buyer .invoice-buyer-full-width{grid-column:1/-1}.desktop-invoice-buyer .invoice-buyer-fiscal-grid>.form{padding:0;gap:6px}.desktop-invoice-buyer fieldset,.desktop-invoice-buyer label{min-width:0}.desktop-invoice-buyer .permission-boundary{margin:0}.desktop-invoice-editor .invoice-buyer-actions{margin-top:8px;justify-content:flex-start}.desktop-invoice-section .invoice-data-grid:has(.desktop-invoice-buyer){grid-template-columns:minmax(0,1fr)}.invoice-feedback:focus{scroll-margin-top:80px}@media (901px <= width <= 1280px){.desktop-invoice-layout{grid-template-columns:minmax(0,1fr);gap:12px}.desktop-invoice-editor .desktop-invoice-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.facturax-workspace .desktop-invoice-summary{position:static}}.desktop-workflow{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,268px);gap:16px;align-items:start;min-width:0}.desktop-workflow-main{display:grid;gap:14px;min-width:0}.facturax-workspace .panel:is(.module-panel,.purchase-inbox):has(.desktop-workflow-summary){overflow:clip}.desktop-workflow-main :is(h2,h3),.desktop-workflow-summary :is(h3,p){margin:0}.desktop-workflow-summary{position:sticky;top:78px;padding:16px;overflow-wrap:anywhere}.desktop-workflow-summary h3{margin-bottom:6px}.desktop-workflow-summary p{font-size:13px}.desktop-workflow-summary .alert{white-space:normal}.desktop-workflow-totals{display:grid;gap:10px;margin:0}.desktop-workflow-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.desktop-workflow-totals dt{color:var(--muted);font-size:13px}.desktop-workflow-totals dd{margin:0;text-align:end;font-variant-numeric:tabular-nums}.desktop-workflow-totals>div:last-child{padding-top:10px;border-top:1px solid var(--line);font-weight:600}.desktop-workflow-totals>div:last-child dt{color:var(--ink)}.desktop-workflow-table{min-width:0}.desktop-workflow-table td{white-space:normal;overflow-wrap:anywhere}.desktop-workflow-table td small{display:block;margin-top:4px;color:var(--muted)}.desktop-workflow-table td button{text-align:start}.desktop-workflow-filters{align-items:end}.desktop-workflow-filters label:first-child{flex-grow:2}.desktop-workflow-history{margin:0;padding-inline-start:18px}.desktop-workflow-history li+li{margin-top:6px}.desktop-payment-options>details{border:1px solid var(--line);padding:10px;border-radius:8px}.desktop-inbox-list[hidden],.desktop-portfolio [hidden],.desktop-workflow [hidden]{display:none}@media (901px <= width <= 1280px){.desktop-workflow{grid-template-columns:minmax(0,1fr) 208px;gap:12px}}.desktop-portfolio:has(.on-demand-editor) .desktop-module-detail,.desktop-portfolio:has(.on-demand-editor)>.desktop-module-action{display:none}.desktop-workflow-summary>.primary{width:100%}.thermal-print{display:grid;gap:10px}.thermal-settings>summary{cursor:pointer;font-weight:600}.thermal-settings{display:grid;gap:12px}.thermal-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px;max-width:620px}.thermal-settings-grid label{display:grid;gap:6px}.thermal-settings .muted{max-width:720px}.site-scope-note{margin:0 0 16px;font-size:13px}.invoice-price-list{display:block;margin-top:12px}.invoice-line-stock,.invoice-price-list small{display:block;margin-top:4px}.invoice-line-stock.alert{padding:2px 6px;font-size:.8rem}