@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.block{display:block}.hidden{display:none}.table{display:table}}:root{--brand-red:#ff2a30;--brand-red-dark:#d8262c;--brand-red-soft:#fff1f1;--brand-charcoal:#15282f;--ink:#11181b;--muted:#667176;--soft-muted:#8a969b;--background:#f6f8f9;--surface:#fff;--surface-soft:#fbfcfd;--panel:#eef3f5;--line:#dde5e8;--focus:#ff2a3024;--error:#b42318;--success:#087443;--shadow:0 24px 64px #11181b1a}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--background);color:var(--ink);letter-spacing:0;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit;letter-spacing:0}a{color:var(--brand-red-dark);text-decoration:none}a:hover{text-decoration:underline}.login-page{background:var(--background);grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);min-height:100vh;display:grid;overflow:hidden}.login-workspace{justify-content:center;align-items:center;min-width:0;padding:42px 68px;display:flex}.login-inner{width:100%;max-width:1040px}.brand-row{align-items:center;margin-bottom:72px;display:inline-flex}.brand-logo{object-fit:contain;width:150px;height:auto}.login-grid{grid-template-columns:minmax(280px,.88fr) minmax(360px,440px);align-items:center;gap:64px;display:grid}.login-copy{max-width:470px}.eyebrow{color:var(--brand-red-dark);text-transform:uppercase;align-items:center;gap:10px;margin:0 0 20px;font-size:13px;font-weight:850;display:inline-flex}.eyebrow:before{background:var(--brand-red);content:"";width:28px;height:2px;display:block}.login-copy h1{max-width:430px;color:var(--brand-charcoal);text-wrap:balance;margin:0;font-size:52px;font-weight:880;line-height:1.02}.support{color:var(--muted);margin:22px 0 0;font-size:17px;line-height:1.68}.login-form{width:100%;box-shadow:var(--shadow);background:#fffffff5;border:1px solid #dde5e8f2;border-radius:8px;padding:34px;position:relative}.login-form:before{background:var(--brand-red);content:"";width:54px;height:3px;position:absolute;top:0;left:34px}.form-heading{margin-bottom:28px}.form-heading h2{color:var(--brand-charcoal);margin:0;font-size:28px;line-height:1.15}.form-heading p{color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.55}.field{gap:8px;margin-bottom:18px;display:grid}.field span{color:var(--brand-charcoal);font-size:14px;font-weight:780}.field input{border:1px solid var(--line);background:var(--surface-soft);width:100%;height:50px;color:var(--ink);border-radius:8px;outline:none;padding:0 14px;transition:border-color .16s,box-shadow .16s,background-color .16s}.field input::placeholder{color:var(--soft-muted)}.field input:focus{border-color:var(--brand-red);background:var(--surface);box-shadow:0 0 0 4px var(--focus)}.password-field{grid-template-columns:minmax(0,1fr) 82px;gap:8px;display:grid}.ghost-button{border:1px solid var(--line);background:var(--surface);height:50px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;font-weight:760}.ghost-button:hover{border-color:var(--soft-muted)}.form-options{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin:6px 0 24px;font-size:14px;display:flex}.check-row{cursor:pointer;align-items:center;gap:8px;display:inline-flex}.check-row input{width:16px;height:16px;accent-color:var(--brand-red)}.submit-button{background:var(--brand-charcoal);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;width:100%;height:52px;font-weight:850;transition:background-color .16s,transform .16s,box-shadow .16s;display:inline-flex;box-shadow:0 18px 34px #15282f2e}.submit-button:hover:not(:disabled){background:var(--brand-red);transform:translateY(-1px);box-shadow:0 20px 38px #ff2a303d}.submit-button:disabled{cursor:not-allowed;opacity:.56;box-shadow:none}.form-message{border-radius:8px;margin:18px 0 0;padding:12px 14px;font-size:14px;line-height:1.45}.form-message.ok{color:var(--success);background:#e8f8ef;border:1px solid #0874432e}.form-message.fail{color:var(--error);background:#fff0ed;border:1px solid #b423182e}.visual-panel{border-left:1px solid var(--line);background:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), var(--panel);background-size:42px 42px;justify-content:center;align-items:center;min-height:100vh;display:flex;position:relative;overflow:hidden}.visual-panel:after{background:var(--brand-red);content:"";width:6px;height:100%;position:absolute;top:0;right:0}.visual-mark{object-fit:contain;opacity:.08;width:220px;height:220px;position:absolute;top:70px;right:58px}.visual-content{width:min(390px,100% - 64px);position:relative}.visual-document{background:#ffffffeb;border:1px solid #dde5e8e6;border-radius:8px;padding:28px;box-shadow:0 28px 70px #11181b1f}.document-header{align-items:center;gap:14px;margin-bottom:34px;display:flex}.document-logo{object-fit:contain;width:42px;height:42px}.document-header p{color:var(--muted);margin:0 0 3px;font-size:13px;font-weight:760}.document-header strong{color:var(--brand-charcoal);font-size:22px;line-height:1.1;display:block}.document-line{background:#e9eef0;border-radius:8px;width:72%;height:10px;margin-top:14px}.document-line.wide{width:100%}.document-line.short{background:var(--brand-red-soft);width:48%}.visual-copy{justify-content:space-between;align-items:center;gap:24px;margin-top:28px;display:flex}.visual-wordmark{object-fit:contain;width:156px;height:auto}.visual-copy p{max-width:150px;color:var(--brand-charcoal);text-align:right;text-transform:uppercase;margin:0;font-size:14px;font-weight:850;line-height:1.45}.app-shell{background:#f7f9fa;grid-template-columns:278px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .18s;display:grid}.app-shell.is-sidebar-collapsed{grid-template-columns:86px minmax(0,1fr)}.sidebar-backdrop{display:none}.app-sidebar{border-right:1px solid var(--line);background:var(--surface);z-index:40;flex-direction:column;height:100vh;padding:28px 20px;transition:padding .18s,width .18s,transform .18s;display:flex;position:sticky;top:0}.app-sidebar.is-collapsed{align-items:center;padding-left:14px;padding-right:14px}.app-sidebar-header{justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.app-brand{min-width:0;color:var(--brand-charcoal);align-items:center;gap:12px;font-size:18px;font-weight:860;text-decoration:none;display:inline-flex}.app-brand:hover{text-decoration:none}.app-brand-icon{object-fit:contain;width:42px;height:42px}.app-brand-text,.app-nav-text{white-space:nowrap;overflow:hidden}.app-sidebar.is-collapsed .app-brand-text,.app-sidebar.is-collapsed .app-nav-text{opacity:0;width:0}.sidebar-toggle,.sidebar-close,.mobile-menu-button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:820;transition:border-color .16s,background-color .16s,color .16s;display:inline-flex}.sidebar-toggle:hover,.sidebar-close:hover,.mobile-menu-button:hover{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a305c}.app-sidebar.is-collapsed .sidebar-toggle{width:42px;padding:0}.app-sidebar.is-collapsed .sidebar-toggle span{width:18px;overflow:hidden}.sidebar-close,.mobile-menu-button{display:none}.app-nav{gap:10px;width:100%;margin-top:42px;display:grid}.app-nav-link{min-height:48px;color:var(--brand-charcoal);border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:0 14px;font-size:15px;font-weight:780;text-decoration:none;transition:background-color .16s,border-color .16s,color .16s;display:flex}.app-nav-link:hover{border-color:var(--line);background:var(--surface-soft);color:var(--brand-red-dark);text-decoration:none}.app-nav-link.is-active{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a302e}.app-nav-link.is-active .app-nav-icon{background:#fff;border-color:#ff2a3052;box-shadow:0 6px 16px #ff2a301a}.app-sidebar.is-collapsed .app-nav-link{justify-content:center;padding-left:0;padding-right:0}.app-nav-icon{background:var(--brand-red-soft);border:1px solid #ff2a302e;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;position:relative}.app-nav-icon-invoice:before{border:2px solid var(--brand-red-dark);content:"";border-radius:3px;width:15px;height:19px;position:absolute}.app-nav-icon-invoice:after{background:var(--brand-red-dark);width:9px;height:2px;box-shadow:0 5px 0 var(--brand-red-dark);content:"";position:absolute}.app-nav-icon-tables:before{border:2px solid var(--brand-red-dark);content:"";border-radius:50%;width:16px;height:16px;position:absolute}.app-nav-icon-tables:after{background:var(--brand-red-dark);width:4px;height:4px;box-shadow:0 -11px 0 var(--brand-red-dark), 11px 0 0 var(--brand-red-dark), 0 11px 0 var(--brand-red-dark), -11px 0 0 var(--brand-red-dark);content:"";border-radius:50%;position:absolute}.app-nav-icon-list:before{background:var(--brand-red-dark);width:4px;height:4px;box-shadow:0 -7px 0 var(--brand-red-dark), 0 7px 0 var(--brand-red-dark);content:"";border-radius:50%;position:absolute;left:10px}.app-nav-icon-list:after{background:var(--brand-red-dark);width:10px;height:2px;box-shadow:0 -7px 0 var(--brand-red-dark), 0 7px 0 var(--brand-red-dark);content:"";border-radius:8px;position:absolute;right:8px}.app-workspace{min-width:0}.app-topbar{border-bottom:1px solid var(--line);background:#ffffffdb;justify-content:space-between;align-items:center;gap:24px;min-height:92px;padding:0 42px;display:flex}.app-heading-row{align-items:center;gap:14px;min-width:0;display:flex}.app-kicker{color:var(--brand-red-dark);text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:850}.app-topbar h1{color:var(--brand-charcoal);margin:0;font-size:24px;line-height:1.2}.app-status{color:var(--success);background:#e8f8ef;border:1px solid #08744333;border-radius:8px;margin:0;padding:8px 12px;font-size:13px;font-weight:760}.app-actions{align-items:center;gap:12px;display:flex}.logout-button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0 14px;font-size:13px;font-weight:780;transition:border-color .16s,background-color .16s,color .16s;display:inline-flex}.logout-button:hover:not(:disabled){background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a305c}.logout-button:disabled{cursor:not-allowed;opacity:.58}.app-main{padding:42px}.dashboard-page{gap:28px;display:grid}.dashboard-welcome{border-bottom:1px solid var(--line);max-width:760px;padding-bottom:30px}.dashboard-welcome h2,.module-page h2{color:var(--brand-charcoal);margin:0;font-size:36px;line-height:1.12}.dashboard-welcome p:not(.eyebrow),.module-page p:not(.eyebrow){max-width:680px;color:var(--muted);margin:16px 0 0;font-size:16px;line-height:1.7}.dashboard-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.dashboard-action{border:1px solid var(--line);background:var(--surface);min-height:154px;color:var(--ink);border-radius:8px;align-content:start;padding:22px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.dashboard-action:hover{border-color:#ff2a3052;text-decoration:none;transform:translateY(-1px);box-shadow:0 18px 40px #11181b14}.dashboard-action span{color:var(--brand-charcoal);font-size:18px;font-weight:850}.dashboard-action p{color:var(--muted);margin:14px 0 0;font-size:15px;line-height:1.55}.module-page{border-bottom:1px solid var(--line);max-width:780px;padding-bottom:34px}.tables-page{grid-template-columns:minmax(0,7fr) minmax(320px,3fr);align-items:start;gap:24px;display:grid}.tables-board{min-width:0}.tables-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.tables-header h2{color:var(--brand-charcoal);margin:0;font-size:34px;line-height:1.12}.tables-header p:not(.eyebrow){max-width:680px;color:var(--muted);margin:14px 0 0;font-size:16px;line-height:1.6}.tables-legend{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:260px;display:flex}.legend-item{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--brand-charcoal);border-radius:8px;align-items:center;padding:0 10px;font-size:12px;font-weight:820;display:inline-flex}.legend-item:before{content:"";border-radius:50%;width:8px;height:8px;margin-right:8px}.status-available:before{background:#18a058}.status-occupied:before{background:var(--brand-red)}.tables-grid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:14px;display:grid}.table-tile{color:#087443;cursor:pointer;text-align:left;background:#e8f8ef;border:1px solid #08744324;border-radius:8px;align-content:start;justify-items:start;min-height:166px;padding:16px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;position:relative}.table-tile:hover,.table-tile.is-selected{transform:translateY(-1px);box-shadow:0 18px 40px #11181b1a}.table-tile.is-selected{border-color:var(--brand-charcoal);outline:3px solid #15282f14}.table-tile:before{content:"";border-radius:8px 0 0 8px;width:6px;position:absolute;inset:0 auto 0 0}.table-tile.status-available:before{background:#18a058}.table-tile.status-occupied:before{background:var(--brand-red)}.table-icon{opacity:.92;background:#ffffff94;border:1px solid;border-radius:8px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:14px;display:inline-flex;position:relative}.table-icon:before{content:"";border:2px solid;border-radius:50%;width:22px;height:22px;position:absolute}.table-icon:after{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;box-shadow:0 -16px,16px 0,0 16px,-16px 0}.table-tile.status-available{color:#087443;background:#e8f8ef;border-color:#08744324}.table-tile.status-occupied{color:#b42318;background:#fff0ed;border-color:#b4231824}.table-number{color:currentColor;font-size:20px;font-weight:880;line-height:1.1}.table-status{margin-top:6px;font-size:13px;font-weight:850}.table-meta,.table-time{color:currentColor;opacity:.82;margin-top:8px;font-size:13px;font-weight:720}.table-total{color:currentColor;margin-top:10px;font-size:17px}.table-detail{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;min-width:0;padding:18px;display:grid;position:sticky;top:24px;box-shadow:0 18px 46px #11181b14}.detail-close-button{display:none}.table-notice{background:var(--surface-soft);color:var(--brand-charcoal);border:1px solid #15282f1f;border-radius:8px;padding:12px;font-size:13px;font-weight:760;line-height:1.45}.detail-empty,.detail-content{gap:16px;display:grid}.detail-empty h2,.detail-header h2{color:var(--brand-charcoal);margin:0;font-size:26px;line-height:1.12}.detail-empty p,.detail-message,.empty-order{color:var(--muted);margin:0;font-size:15px;line-height:1.6}.detail-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.detail-header p{color:var(--muted);margin:8px 0 0;font-size:14px;font-weight:760}.detail-status{white-space:nowrap;border-radius:8px;align-items:center;min-height:32px;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.detail-status.status-available{color:#087443;background:#e8f8ef}.detail-status.status-occupied{color:#b42318;background:#fff0ed}.people-field{gap:8px;display:grid}.people-field span{color:var(--brand-charcoal);font-size:13px;font-weight:820}.people-field input{border:1px solid var(--line);background:var(--surface-soft);width:100%;height:46px;color:var(--ink);border-radius:8px;padding:0 12px}.quick-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.quick-summary div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.quick-summary dt{color:var(--muted);font-size:12px;font-weight:780}.quick-summary dd{color:var(--brand-charcoal);margin:6px 0 0;font-size:20px;font-weight:880}.order-meta-row{flex-wrap:wrap;gap:8px;display:flex}.order-meta-row span{background:var(--panel);color:var(--brand-charcoal);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:800}.customer-box{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:10px;padding:12px;display:grid}.customer-box-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-box-header h3{color:var(--brand-charcoal);margin:0;font-size:16px;line-height:1.2}.customer-box-header span{background:var(--panel);color:var(--muted);border-radius:8px;padding:6px 8px;font-size:12px;font-weight:800}.customer-search{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.customer-search label{gap:6px;display:grid}.customer-search label span{color:var(--brand-charcoal);font-size:12px;font-weight:820}.customer-search input{border:1px solid var(--line);background:var(--surface);width:100%;height:42px;color:var(--ink);border-radius:8px;padding:0 12px}.customer-search-actions{align-items:end;gap:8px;display:flex}.customer-clear-button{width:42px;min-width:42px;height:42px;color:var(--error);cursor:pointer;background:#fff7f5;border:1px solid #15282f1f;border-radius:8px;justify-content:center;align-items:center;font-size:14px;font-weight:860;transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s;display:inline-flex}.customer-clear-button:hover,.customer-clear-button:focus-visible{border-color:#cc261d33;outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #cc261d1a}.customer-toggle-button{min-width:154px;min-height:42px;color:var(--success);cursor:pointer;background:#f2fbf6;border:1px solid #08744329;border-radius:8px;padding:0 14px;font-size:13px;font-weight:820;transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s}.customer-toggle-button:hover,.customer-toggle-button:focus-visible{border-color:#08744347;outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #0874431f}.customer-toggle-button.is-secondary{background:var(--panel);color:var(--brand-charcoal);border-color:#15282f1f}.customer-results{border:1px solid var(--line);background:var(--surface);border-radius:8px;max-height:220px;display:grid;overflow-y:auto}.customer-results button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--brand-charcoal);cursor:pointer;text-align:left;background:0 0;gap:3px;padding:10px 12px;display:grid}.customer-results button:last-child{border-bottom:0}.customer-results button:hover,.customer-results button:focus-visible{background:var(--panel);outline:none}.customer-results strong{font-size:13px;font-weight:850}.customer-results span{color:var(--muted);font-size:12px;font-weight:720}.customer-results button.customer-create-option{background:#f2fbf6}.customer-results button.customer-create-option strong{color:var(--success)}.customer-message{border-radius:8px;margin:0;padding:9px 10px;font-size:13px;font-weight:760;line-height:1.45}.customer-message.status-success{color:var(--success);background:#e8f8ef}.customer-message.status-empty,.customer-message.status-error{color:var(--error);background:#fff0ed}.customer-message.status-loading{background:var(--panel);color:var(--brand-charcoal)}.customer-card{background:#f2fbf6;border:1px solid #0874432e;border-radius:8px;gap:4px;padding:10px;display:grid}.customer-card strong{color:var(--brand-charcoal);font-size:14px}.customer-card span{color:var(--muted);font-size:12px;font-weight:720}.customer-modal-shell{z-index:95;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.customer-modal-backdrop{cursor:pointer;background:#11181b80;border:0;position:absolute;inset:0}.customer-modal-card{z-index:1;background:#fffffffa;border:1px solid #dde5e8f2;border-radius:12px;gap:18px;width:min(720px,100%);max-height:min(760px,100vh - 48px);padding:24px;display:grid;position:relative;overflow-y:auto;box-shadow:0 28px 80px #11181b3d}.customer-modal-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.customer-modal-header h2{color:var(--brand-charcoal);margin:0;font-size:28px;line-height:1.12}.customer-modal-header p:not(.eyebrow){color:var(--muted);margin:12px 0 0;font-size:14px;line-height:1.6}.customer-modal-close{border:1px solid var(--line);background:var(--surface);width:42px;height:42px;color:var(--brand-charcoal);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;font-size:16px;font-weight:850;display:inline-flex}.customer-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.customer-modal-field{gap:6px;display:grid}.customer-modal-field span{color:var(--brand-charcoal);font-size:13px;font-weight:820}.customer-modal-field input,.customer-modal-field select{border:1px solid var(--line);background:var(--surface-soft);width:100%;min-height:46px;color:var(--ink);border-radius:8px;padding:0 12px;transition:border-color .16s,box-shadow .16s,background-color .16s}.customer-modal-field input:focus,.customer-modal-field select:focus{border-color:var(--brand-red);background:var(--surface);box-shadow:0 0 0 4px var(--focus);outline:none}.customer-modal-field-full{grid-column:1/-1}.customer-modal-field-small{max-width:180px}.customer-modal-lookup{grid-column:1/-1}.customer-modal-lookup.status-loading{align-items:center;gap:10px;display:inline-flex}.customer-modal-lookup.status-loading:before{border:2px solid #15282f29;border-top-color:var(--brand-red);content:"";border-radius:50%;width:14px;height:14px;animation:.75s linear infinite customer-lookup-spin}.customer-modal-actions{justify-content:flex-end;gap:10px;display:flex}.payment-modal-card{border-color:#0874431f;gap:16px;width:min(680px,100%);padding:22px}.payment-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.payment-summary div{border:1px solid var(--line);background:#f8fbfa;border-radius:10px;gap:4px;padding:12px;display:grid}.payment-summary span{color:var(--muted);font-size:12px;font-weight:760}.payment-summary strong{color:var(--brand-charcoal);font-size:20px;line-height:1.1}.payment-summary .is-complete{background:#f2fbf6;border-color:#0874432e}.payment-summary .is-complete strong{color:var(--success)}.payment-list{gap:8px;display:grid}.payment-progress{background:#edf2f0;border-radius:999px;width:100%;height:10px;overflow:hidden}.payment-progress-bar{border-radius:inherit;background:linear-gradient(90deg,#f59d2a 0%,#0f9d58 100%);height:100%;transition:width .18s}.payment-progress-bar.is-complete{background:#087443}.payment-row{border:1px solid var(--line);background:#fdfefe;border-radius:10px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.payment-modal-actions-top{justify-content:flex-start;display:flex}.payment-remove-button{min-height:46px;color:var(--error);cursor:pointer;background:#fff7f5;border:1px solid #cc261d1f;border-radius:8px;padding:0 14px;font-size:13px;font-weight:820}.payment-row .customer-modal-field span{font-size:12px}.payment-remove-button:disabled{cursor:not-allowed;opacity:.55}@keyframes customer-lookup-spin{to{transform:rotate(360deg)}}.order-list{gap:10px;display:grid}.order-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-bottom:12px;display:grid}.order-item strong{color:var(--brand-charcoal);font-size:14px}.order-item span{color:var(--muted);margin-top:4px;font-size:12px;font-weight:720;display:block}.quantity-control{border:1px solid var(--line);border-radius:8px;grid-template-columns:34px 34px 34px;align-items:center;display:inline-grid;overflow:hidden}.quantity-control button{background:var(--surface-soft);height:34px;color:var(--brand-charcoal);cursor:pointer;border:0;font-size:16px;font-weight:850}.quantity-control span{color:var(--brand-charcoal);text-align:center;margin:0;font-size:14px;font-weight:850}.item-subtotal{grid-column:1}.remove-item{color:var(--error);cursor:pointer;text-align:right;background:0 0;border:0;grid-column:2;font-size:12px;font-weight:800}.product-picker{gap:8px;display:grid}.product-picker button{border:1px solid var(--line);background:var(--surface-soft);min-height:46px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;display:flex}.product-picker span{text-align:left;font-size:13px;font-weight:780}.product-picker strong{font-size:13px}.order-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding-top:14px;display:flex}.order-total span{color:var(--muted);font-size:14px;font-weight:800}.order-total strong{color:var(--brand-charcoal);font-size:26px}.detail-actions{gap:8px;display:grid}.primary-action,.secondary-action,.charge-action,.release-action{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;min-height:48px;padding:0 14px;font-weight:850;display:inline-flex}.primary-action{background:var(--brand-charcoal);color:#fff}.secondary-action{border-color:var(--line);background:var(--surface);color:var(--brand-charcoal)}.charge-action,.release-action{color:#fff;background:#087443}.primary-action:disabled,.secondary-action:disabled,.charge-action:disabled,.release-action:disabled{cursor:not-allowed;opacity:.55}@media (max-width:1180px){.login-workspace{padding:40px}.brand-row{margin-bottom:52px}.login-grid{grid-template-columns:1fr;gap:34px;max-width:540px}.login-copy h1{font-size:44px}.dashboard-actions{grid-template-columns:1fr}.tables-page{grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:18px}.tables-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr))}}@media (max-width:900px){.login-page{grid-template-columns:1fr;overflow:visible}.visual-panel{border-left:0;border-bottom:1px solid var(--line);order:-1;min-height:260px}.visual-panel:after{width:100%;height:4px}.visual-mark{width:150px;height:150px;top:24px;right:22px}.visual-content{width:min(520px,100% - 48px)}.visual-document{padding:22px}.visual-copy{margin-top:18px}.visual-wordmark{width:130px}.login-workspace{padding:36px 24px}.brand-row{margin-bottom:42px}.brand-logo{width:144px}.login-grid{max-width:none}.login-copy h1{max-width:520px;font-size:38px}.support{font-size:16px}.app-shell,.app-shell.is-sidebar-collapsed{grid-template-columns:1fr}.sidebar-backdrop{cursor:pointer;opacity:0;pointer-events:none;z-index:30;background:#11181b6b;border:0;transition:opacity .18s;display:block;position:fixed;inset:0}.app-shell.is-sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.app-sidebar{width:min(320px,100vw - 36px);height:100vh;padding:20px;position:fixed;top:0;left:0;transform:translate(-105%);box-shadow:18px 0 46px #11181b24}.app-sidebar.is-mobile-open{transform:translate(0)}.app-sidebar.is-collapsed{align-items:stretch;padding:20px 24px}.app-sidebar.is-collapsed .app-brand-text,.app-sidebar.is-collapsed .app-nav-text{opacity:1;width:auto}.sidebar-toggle{display:none}.sidebar-close,.mobile-menu-button{display:inline-flex}.app-nav{grid-template-columns:1fr;margin-top:22px}.app-nav-link{text-align:left;justify-content:flex-start;min-height:50px;padding:0 12px}.app-topbar{flex-direction:row;align-items:center;padding:24px}.app-actions{flex-direction:column;align-items:flex-end;gap:8px}.app-main{padding:30px 24px}.dashboard-welcome h2,.module-page h2{font-size:32px}.tables-page{grid-template-columns:1fr}.tables-header{flex-direction:column}.tables-legend{justify-content:flex-start;min-width:0}.table-detail{display:none}.table-detail.has-selection{z-index:80;background:var(--surface);box-shadow:none;border:0;border-radius:0;align-content:start;padding:18px 16px 24px;display:grid;position:fixed;inset:0;overflow-y:auto}.detail-close-button{border:1px solid var(--line);background:var(--surface);width:42px;height:42px;color:var(--brand-charcoal);cursor:pointer;z-index:1;border-radius:8px;justify-content:center;justify-self:end;align-items:center;font-size:18px;font-weight:900;display:inline-flex;position:sticky;top:0}.customer-modal-shell{padding:16px}.customer-modal-card{max-height:calc(100vh - 32px);padding:20px}.customer-modal-grid{grid-template-columns:1fr}.customer-modal-field-full{grid-column:auto}.customer-modal-field-small{max-width:none}}@media (max-width:520px){.login-workspace{padding-left:16px;padding-right:16px}.login-form{padding:24px}.login-form:before{left:24px}.login-copy h1{font-size:32px}.password-field{grid-template-columns:1fr}.form-options,.visual-copy{flex-direction:column;align-items:flex-start}.visual-copy p{text-align:left}.app-sidebar,.app-main{padding-left:16px;padding-right:16px}.dashboard-welcome h2,.module-page h2,.tables-header h2{font-size:28px}.tables-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-tile{min-height:146px;padding:14px}.quick-summary,.customer-search{grid-template-columns:1fr}.customer-search-actions{width:100%}.customer-toggle-button{width:100%;min-width:0}.customer-modal-header{flex-direction:column}.customer-modal-actions{flex-direction:column-reverse}.payment-summary,.payment-row,.order-item{grid-template-columns:1fr}.remove-item{text-align:left;grid-column:1}}.sr-only{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.invoice-workspace{--invoice-blue:#155eef;--invoice-blue-soft:#eef4ff;--invoice-green:#087443;--invoice-green-dark:#066039;--invoice-green-soft:#e8f8ef;--invoice-warning:#9a6700;--invoice-warning-soft:#fff8e7;gap:24px;width:100%;max-width:1520px;margin:0 auto;display:grid}.invoice-workspace button,.invoice-workspace input,.invoice-workspace select,.invoice-modal-shell button,.invoice-modal-shell input,.invoice-modal-shell select{font:inherit}.invoice-workspace button:focus-visible,.invoice-workspace input:focus-visible,.invoice-workspace select:focus-visible,.invoice-workspace a:focus-visible,.invoice-modal-shell button:focus-visible,.invoice-modal-shell input:focus-visible,.invoice-modal-shell select:focus-visible,.invoice-modal-shell a:focus-visible{outline-offset:2px;outline:3px solid #ff2a3033}.invoice-page-header{justify-content:space-between;align-items:flex-start;gap:28px;display:flex}.invoice-page-header .eyebrow{margin-bottom:12px}.invoice-page-header h2{color:var(--brand-charcoal);letter-spacing:-.035em;margin:0;font-size:clamp(32px,3vw,42px);font-weight:880;line-height:1.08}.invoice-page-header p:not(.eyebrow){max-width:680px;color:var(--muted);margin:12px 0 0;font-size:15px;line-height:1.6}.invoice-page-header-actions{align-items:center;gap:10px;padding-top:4px;display:flex}.invoice-draft-badge{background:var(--surface);min-height:38px;color:var(--muted);white-space:nowrap;border:1px solid #d6e0e4;border-radius:999px;align-items:center;gap:8px;padding:0 13px;font-size:12px;font-weight:820;display:inline-flex}.invoice-draft-badge>span{background:#f4b740;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #f4b74029}.invoice-button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:13px;font-weight:830;line-height:1.1;text-decoration:none;transition:border-color .16s,background-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex}.invoice-button:hover:not(:disabled){text-decoration:none;transform:translateY(-1px)}.invoice-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.invoice-button-primary{background:var(--brand-charcoal);color:#fff;box-shadow:0 10px 24px #15282f21}.invoice-button-primary:hover:not(:disabled){background:#223b44;box-shadow:0 14px 28px #15282f2e}.invoice-button-secondary{border-color:var(--line);background:var(--surface);color:var(--brand-charcoal)}.invoice-button-secondary:hover:not(:disabled){background:var(--surface-soft);border-color:#bfcbd0}.invoice-button-success{background:var(--invoice-green);color:#fff;box-shadow:0 12px 26px #0874432e}.invoice-button-success:hover:not(:disabled){background:var(--invoice-green-dark);box-shadow:0 14px 30px #0874433d}.invoice-clear-button{white-space:nowrap}.invoice-stepper{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid;overflow:hidden;box-shadow:0 8px 22px #11181b06}.invoice-stepper li{align-items:center;gap:12px;min-height:70px;padding:12px 22px;display:flex;position:relative}.invoice-stepper li+li{border-left:1px solid var(--line)}.invoice-stepper li>span{border:1px solid var(--line);background:var(--surface-soft);width:32px;height:32px;color:var(--soft-muted);border-radius:50%;flex:0 0 32px;justify-content:center;align-items:center;font-size:12px;font-weight:900;display:inline-flex}.invoice-stepper strong,.invoice-stepper small{display:block}.invoice-stepper strong{color:var(--brand-charcoal);font-size:13px;font-weight:850}.invoice-stepper small{color:var(--soft-muted);margin-top:3px;font-size:11px;font-weight:680}.invoice-stepper li.is-current{background:linear-gradient(90deg,#fff,#fbfcfd)}.invoice-stepper li.is-current>span{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a304d;box-shadow:0 0 0 4px #ff2a300f}.invoice-stepper li.is-complete>span{background:var(--invoice-green-soft);color:var(--invoice-green);border-color:#08744338}.invoice-layout{grid-template-columns:minmax(0,1fr) minmax(330px,370px);align-items:start;gap:22px;display:grid}.invoice-main-column{gap:18px;min-width:0;display:grid}.invoice-panel,.invoice-summary{border:1px solid var(--line);background:var(--surface);border-radius:12px;box-shadow:0 10px 28px #11181b09}.invoice-panel{min-width:0;padding:22px}.invoice-panel-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.invoice-panel-header>div:first-child{align-items:flex-start;gap:13px;min-width:0;display:flex}.invoice-panel-header h3{color:var(--brand-charcoal);margin:0;font-size:18px;font-weight:860;line-height:1.25}.invoice-panel-header p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.45}.invoice-section-number{background:var(--brand-charcoal);color:#fff;border-radius:8px;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:inline-flex}.invoice-text-button{min-height:36px;color:var(--brand-red-dark);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 8px;font-size:13px;font-weight:830;display:inline-flex}.invoice-text-button:hover{background:var(--brand-red-soft)}.invoice-customer-search{margin-top:20px;position:relative}.invoice-customer-search-form>label{color:var(--brand-charcoal);margin-bottom:8px;font-size:12px;font-weight:820;display:block}.invoice-customer-search-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.invoice-customer-combobox,.invoice-search-field{align-items:center;min-width:0;display:flex;position:relative}.invoice-customer-combobox input,.invoice-search-field input{border:1px solid var(--line);background:var(--surface-soft);width:100%;height:46px;color:var(--ink);border-radius:8px;outline:none;padding:0 44px 0 42px;transition:border-color .16s,background-color .16s,box-shadow .16s}.invoice-customer-combobox input::placeholder,.invoice-search-field input::placeholder{color:var(--soft-muted)}.invoice-customer-combobox input:focus,.invoice-search-field input:focus{border-color:var(--brand-red);background:var(--surface);box-shadow:0 0 0 4px var(--focus)}.invoice-search-icon{pointer-events:none;z-index:1;border:2px solid #7c8a90;border-radius:50%;width:14px;height:14px;position:absolute;left:15px}.invoice-search-icon:after{content:"";background:#7c8a90;border-radius:2px;width:6px;height:2px;position:absolute;bottom:-3px;right:-5px;transform:rotate(45deg)}.invoice-customer-results{background:var(--surface);z-index:20;border:1px solid #ccd7dc;border-radius:10px;display:grid;position:absolute;top:78px;left:0;right:0;overflow:hidden;box-shadow:0 20px 48px #11181b24}.invoice-customer-results>button{border:0;border-bottom:1px solid var(--line);background:var(--surface);min-height:62px;color:var(--ink);cursor:pointer;text-align:left;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 12px;display:grid}.invoice-customer-results>button:last-of-type{border-bottom:0}.invoice-customer-results>button:hover,.invoice-customer-results>button.is-active{background:#f7f9fa}.invoice-result-avatar,.invoice-customer-avatar{background:var(--brand-red-soft);width:36px;height:36px;color:var(--brand-red-dark);border:1px solid #ff2a3029;border-radius:10px;flex:0 0 36px;justify-content:center;align-items:center;font-size:13px;font-weight:900;display:inline-flex}.invoice-customer-results strong,.invoice-customer-results small{display:block}.invoice-customer-results strong{color:var(--brand-charcoal);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:820;overflow:hidden}.invoice-customer-results small{color:var(--muted);margin-top:3px;font-size:11px}.invoice-result-action{color:var(--brand-red-dark);font-size:11px;font-weight:820}.invoice-customer-no-results{background:var(--surface-soft);justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.invoice-customer-no-results strong,.invoice-customer-no-results span{display:block}.invoice-customer-no-results strong{color:var(--brand-charcoal);font-size:13px}.invoice-customer-no-results span{color:var(--muted);margin-top:4px;font-size:11px}.invoice-customer-status{min-height:22px;color:var(--muted);align-items:center;gap:8px;margin:9px 0 0;font-size:11px;line-height:1.45;display:flex}.invoice-customer-status.is-error{color:var(--error)}.invoice-customer-status.is-selected{color:var(--invoice-green)}.invoice-inline-action{color:inherit;cursor:pointer;font-size:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:850;text-decoration:underline}.invoice-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex:0 0 14px;width:14px;height:14px;animation:.7s linear infinite invoice-spin;display:inline-block}@keyframes invoice-spin{to{transform:rotate(360deg)}}.invoice-selected-customer{background:linear-gradient(100deg,#f8fdf9,#fff 62%);border:1px solid #08744329;border-radius:10px;grid-template-columns:44px minmax(0,1fr) minmax(160px,auto) auto;align-items:center;gap:14px;margin-top:20px;padding:14px;display:grid}.invoice-selected-customer .invoice-customer-avatar{background:var(--invoice-green-soft);width:44px;height:44px;color:var(--invoice-green);border-color:#0874432e}.invoice-selected-customer-main{min-width:0}.invoice-selected-label{color:var(--invoice-green);letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:880;display:block}.invoice-selected-customer-main strong{color:var(--brand-charcoal);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:850;display:block;overflow:hidden}.invoice-selected-customer-main p{color:var(--muted);margin:4px 0 0;font-size:11px}.invoice-customer-contact{min-width:0;color:var(--muted);text-align:right;gap:3px;font-size:11px;display:grid}.invoice-customer-contact span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.invoice-change-customer{min-height:38px;padding-left:13px;padding-right:13px}.invoice-catalog-alert{color:var(--error);background:#fff7f5;border:1px solid #b4231824;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:12px 14px;display:flex}.invoice-catalog-alert strong,.invoice-catalog-alert span{display:block}.invoice-catalog-alert strong{font-size:12px}.invoice-catalog-alert span{margin-top:3px;font-size:11px;line-height:1.4}.invoice-lines-empty{background:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), #fbfcfd;text-align:center;background-size:28px 28px;border:1px dashed #cfdadd;border-radius:10px;align-content:center;place-items:center;min-height:250px;margin-top:18px;padding:28px;display:grid}.invoice-lines-empty-icon{background:var(--surface);border:1px solid #ff2a302e;border-radius:13px;place-content:center;gap:5px;width:52px;height:52px;margin-bottom:13px;display:grid;box-shadow:0 8px 18px #11181b0f}.invoice-lines-empty-icon span{background:var(--brand-red);opacity:.8;border-radius:4px;width:24px;height:3px;display:block}.invoice-lines-empty h4{color:var(--brand-charcoal);margin:0;font-size:16px;font-weight:850}.invoice-lines-empty p{max-width:440px;color:var(--muted);margin:8px 0 18px;font-size:12px;line-height:1.55}.invoice-lines{border:1px solid var(--line);border-radius:10px;margin-top:18px}.invoice-lines-heading,.invoice-line{grid-template-columns:minmax(220px,1fr) minmax(80px,.42fr) 126px minmax(56px,.28fr) minmax(90px,.45fr) 38px;align-items:center;gap:12px;display:grid}.invoice-lines-heading{border-bottom:1px solid var(--line);min-height:40px;color:var(--soft-muted);letter-spacing:.055em;text-transform:uppercase;background:#f7f9fa;border-radius:10px 10px 0 0;padding:0 13px;font-size:9px;font-weight:880}.invoice-line{border-bottom:1px solid var(--line);min-height:78px;padding:10px 13px}.invoice-line-product{align-items:center;gap:10px;min-width:0;display:flex}.invoice-product-monogram{width:38px;height:38px;color:var(--brand-charcoal);background:#f3f6f7;border:1px solid #dce5e8;border-radius:9px;flex:0 0 38px;justify-content:center;align-items:center;font-size:13px;font-weight:900;display:inline-flex}.invoice-line-product>div{min-width:0}.invoice-line-product strong,.invoice-line-product span{display:block}.invoice-line-product strong{color:var(--brand-charcoal);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:830;line-height:1.35;overflow:hidden}.invoice-line-product span{color:var(--soft-muted);margin-top:4px;font-size:10px}.invoice-line-cell{min-width:0;color:var(--brand-charcoal);font-size:12px}.invoice-line-cell>strong{font-size:12px;font-weight:850}.invoice-quantity-control{background:var(--surface);border:1px solid #d5dfe3;border-radius:8px;grid-template-columns:34px 40px 34px;align-items:stretch;min-height:36px;display:inline-grid;overflow:hidden}.invoice-quantity-control button{min-width:0;color:var(--brand-charcoal);cursor:pointer;background:#f7f9fa;border:0;font-size:16px;font-weight:800;line-height:1}.invoice-quantity-control button:hover:not(:disabled){background:var(--brand-red-soft);color:var(--brand-red-dark)}.invoice-quantity-control button:disabled{cursor:not-allowed;opacity:.38}.invoice-quantity-control input,.invoice-quantity-control output{background:var(--surface);width:100%;min-width:0;color:var(--brand-charcoal);text-align:center;border:0;border-left:1px solid #e2e8ea;border-right:1px solid #e2e8ea;outline:none;justify-content:center;align-items:center;font-size:12px;font-weight:850;display:flex}.invoice-quantity-control input{appearance:textfield}.invoice-quantity-control input::-webkit-inner-spin-button{appearance:none;margin:0}.invoice-quantity-control input::-webkit-outer-spin-button{appearance:none;margin:0}.invoice-tax-badge{min-height:26px;color:var(--muted);background:#f7f9fa;border:1px solid #dae4e7;border-radius:999px;align-items:center;padding:0 8px;font-size:10px;font-weight:820;display:inline-flex}.invoice-delete-line{width:34px;height:34px;color:var(--soft-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;font-size:21px;display:inline-flex}.invoice-delete-line:hover{color:var(--error);background:#fff3f1;border-color:#b423181f}.invoice-add-more{width:100%;min-height:48px;color:var(--brand-red-dark);cursor:pointer;background:#fbfcfd;border:0;border-radius:0 0 10px 10px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:840;display:flex}.invoice-add-more:hover{background:var(--brand-red-soft)}.invoice-summary{position:sticky;top:20px;overflow:hidden}.invoice-summary-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:76px;padding:16px 20px;display:flex}.invoice-summary-header span,.invoice-summary-header strong{display:block}.invoice-summary-header>div>span{color:var(--brand-red-dark);letter-spacing:.07em;text-transform:uppercase;font-size:9px;font-weight:880}.invoice-summary-header>div>strong{color:var(--brand-charcoal);margin-top:4px;font-size:16px;font-weight:860}.invoice-summary-count{color:var(--muted);white-space:nowrap;background:#f0f4f5;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:820}.invoice-summary-customer{border-bottom:1px solid var(--line);background:#fbfcfd;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px 20px;display:flex}.invoice-summary-customer>span{color:var(--soft-muted);text-transform:uppercase;font-size:10px;font-weight:820}.invoice-summary-customer>div{text-align:right;min-width:0}.invoice-summary-customer strong,.invoice-summary-customer small{text-overflow:ellipsis;white-space:nowrap;max-width:200px;display:block;overflow:hidden}.invoice-summary-customer strong{color:var(--brand-charcoal);font-size:12px;font-weight:830}.invoice-summary-customer small{color:var(--muted);margin-top:3px;font-size:10px}.invoice-summary-customer p{color:var(--soft-muted);margin:0;font-size:11px;font-style:italic}.invoice-totals{gap:12px;margin:0;padding:18px 20px;display:grid}.invoice-totals>div{justify-content:space-between;align-items:center;gap:18px;display:flex}.invoice-totals dt,.invoice-totals dd{margin:0;font-size:12px}.invoice-totals dt{color:var(--muted);font-weight:680}.invoice-totals dd{color:var(--brand-charcoal);font-weight:820}.invoice-grand-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(120deg,#15282f08,#0000),#fbfcfd;padding:20px}.invoice-grand-total span,.invoice-grand-total strong,.invoice-grand-total small{display:block}.invoice-grand-total span{color:var(--brand-charcoal);font-size:12px;font-weight:820}.invoice-grand-total strong{color:var(--brand-charcoal);letter-spacing:-.04em;margin-top:6px;font-size:clamp(30px,3vw,38px);font-weight:900;line-height:1}.invoice-grand-total small{color:var(--soft-muted);margin-top:8px;font-size:9px}.invoice-ready-state{color:var(--muted);background:#f7f9fa;border:1px solid #dbe4e7;border-radius:8px;align-items:flex-start;gap:9px;margin:16px 20px 0;padding:10px;display:flex}.invoice-ready-state>span{width:18px;height:18px;color:var(--muted);background:#e6ecee;border-radius:50%;flex:0 0 18px;justify-content:center;align-items:center;font-size:10px;font-weight:900;display:inline-flex}.invoice-ready-state p{margin:0;font-size:10px;line-height:1.45}.invoice-ready-state.is-ready{background:var(--invoice-green-soft);color:var(--invoice-green);border-color:#08744326}.invoice-ready-state.is-ready>span{background:var(--invoice-green);color:#fff}.invoice-payment-cta{justify-content:space-between;width:calc(100% - 40px);min-height:50px;margin:12px 20px 0;padding-left:18px;padding-right:18px}.invoice-summary-footnote{align-items:flex-start;gap:9px;padding:13px 20px 0;display:flex}.invoice-summary-footnote p{color:var(--soft-muted);margin:0;font-size:9px;line-height:1.45}.invoice-lock-icon{background:#91a0a6;border-radius:2px;flex:0 0 11px;width:11px;height:9px;margin-top:3px;display:inline-block;position:relative}.invoice-lock-icon:before{content:"";border:2px solid #91a0a6;border-bottom:0;border-radius:7px 7px 0 0;width:7px;height:7px;position:absolute;top:-6px;left:2px}.invoice-context-note{color:var(--soft-muted);text-align:center;margin:12px 20px 18px;font-size:9px}.invoice-mobile-checkout{display:none}.invoice-modal-shell{z-index:120;place-items:center;min-height:100dvh;padding:24px;display:grid;position:fixed;inset:0}.invoice-modal-backdrop{cursor:pointer;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a141894;border:0;width:100%;height:100%;position:absolute;inset:0}.invoice-modal-backdrop:disabled{cursor:wait}.invoice-modal-card{background:var(--surface);z-index:1;border:1px solid #dde5e8eb;border-radius:14px;outline:none;flex-direction:column;width:min(720px,100%);max-height:calc(100dvh - 48px);padding:24px;display:flex;position:relative;overflow:auto;box-shadow:0 34px 90px #0a141847}.invoice-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.invoice-modal-kicker{color:var(--brand-red-dark);letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:900}.invoice-modal-header h2,.invoice-outcome h2{color:var(--brand-charcoal);letter-spacing:-.025em;margin:0;font-size:27px;font-weight:880;line-height:1.16}.invoice-modal-header p:not(.invoice-modal-kicker){max-width:560px;color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.5}.invoice-modal-close{border:1px solid var(--line);background:var(--surface);width:42px;height:42px;color:var(--muted);cursor:pointer;border-radius:9px;flex:0 0 42px;justify-content:center;align-items:center;font-size:23px;line-height:1;display:inline-flex}.invoice-modal-close:hover:not(:disabled){background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a3038}.invoice-modal-close:disabled{cursor:not-allowed;opacity:.48}.invoice-form-grid{grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);gap:16px;display:grid}.invoice-field{gap:7px;min-width:0;display:grid}.invoice-field>span{color:var(--brand-charcoal);font-size:11px;font-weight:820}.invoice-field input,.invoice-field select{border:1px solid var(--line);background:var(--surface-soft);width:100%;min-width:0;height:46px;color:var(--ink);border-radius:8px;outline:none;padding:0 12px;transition:border-color .16s,background-color .16s,box-shadow .16s}.invoice-field input::placeholder{color:var(--soft-muted)}.invoice-field input:focus,.invoice-field select:focus{border-color:var(--brand-red);background:var(--surface);box-shadow:0 0 0 4px var(--focus)}.invoice-field input:disabled,.invoice-field select:disabled{cursor:not-allowed;opacity:.62}.invoice-field-full{grid-column:1/-1}.invoice-field-compact{max-width:220px}.invoice-inline-message,.invoice-form-message{border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;margin:0;padding:10px 12px;font-size:11px;line-height:1.45;display:flex}.invoice-inline-message.is-loading,.invoice-form-message.is-loading{background:var(--invoice-blue-soft);color:#2459a9;border-color:#d9e4f8}.invoice-inline-message.is-success{background:var(--invoice-green-soft);color:var(--invoice-green);border-color:#08744324}.invoice-inline-message.is-error{background:var(--invoice-warning-soft);color:var(--invoice-warning);border-color:#eadfc7}.invoice-form-message{margin-top:16px}.invoice-form-message.is-error{color:var(--error);background:#fff3f1;border-color:#b4231824}.invoice-modal-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.invoice-customer-modal>.invoice-modal-actions{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.invoice-product-modal{width:min(980px,100%);height:min(820px,100dvh - 48px);padding:0;overflow:hidden}.invoice-product-modal-header{border-bottom:1px solid var(--line);flex:none;margin:0;padding:22px 24px 18px}.invoice-catalog-toolbar{border-bottom:1px solid var(--line);background:#fbfcfd;flex:none;align-items:center;gap:16px;padding:14px 24px;display:flex}.invoice-catalog-toolbar .invoice-search-field{flex:1}.invoice-search-field>button{width:30px;height:30px;color:var(--soft-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;font-size:18px;display:inline-flex;position:absolute;right:8px}.invoice-search-field>button:hover{color:var(--brand-charcoal);background:#edf2f4}.invoice-catalog-count{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:760}.invoice-catalog-body{flex:1;min-height:0;padding:12px 24px 18px;overflow-y:auto}.invoice-catalog-warnings{background:var(--invoice-warning-soft);color:var(--invoice-warning);border:1px solid #eadfc7;border-radius:8px;margin-bottom:10px;padding:10px 12px}.invoice-catalog-warnings strong{text-transform:uppercase;font-size:10px;font-weight:880;display:block}.invoice-catalog-warnings ul{gap:3px;margin:6px 0 0;padding-left:17px;display:grid}.invoice-catalog-warnings li{font-size:10px;line-height:1.45}.invoice-catalog-loading{min-height:320px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:9px;display:grid}.invoice-catalog-loading .invoice-spinner{width:24px;height:24px;color:var(--brand-red);margin-bottom:6px}.invoice-catalog-loading strong{color:var(--brand-charcoal);font-size:14px}.invoice-catalog-loading span:not(.invoice-spinner){font-size:11px}.invoice-empty-state{text-align:center;align-content:center;place-items:center;min-height:320px;padding:24px;display:grid}.invoice-empty-state.compact{min-height:180px}.invoice-empty-icon{width:46px;height:46px;color:var(--muted);background:#eef2f3;border-radius:12px;justify-content:center;align-items:center;margin-bottom:12px;font-size:15px;font-weight:900;display:inline-flex}.invoice-empty-state.is-error .invoice-empty-icon{color:var(--error);background:#fff0ed}.invoice-empty-state h3{color:var(--brand-charcoal);margin:0;font-size:16px}.invoice-empty-state p{max-width:430px;color:var(--muted);margin:8px 0 16px;font-size:12px;line-height:1.5}.invoice-product-results{gap:8px;display:grid}.invoice-product-result{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;min-height:86px;padding:12px 14px;transition:border-color .16s,background-color .16s,box-shadow .16s;display:grid}.invoice-product-result:hover{border-color:#c6d2d7;box-shadow:0 8px 18px #11181b0d}.invoice-product-result.is-selected{background:#fbfefc;border-color:#08744340}.invoice-product-result-main{align-items:center;gap:12px;min-width:0;display:flex}.invoice-product-result-main>div:last-child{min-width:0}.invoice-product-code-row{flex-wrap:wrap;gap:5px;display:flex}.invoice-product-code-row span{min-height:20px;color:var(--muted);text-transform:uppercase;background:#eef2f3;border-radius:5px;align-items:center;padding:0 6px;font-size:8px;font-weight:820;display:inline-flex}.invoice-product-code-row span.is-out-of-stock{color:var(--error);background:#fff0ed}.invoice-product-result h3{color:var(--brand-charcoal);text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:13px;font-weight:840;overflow:hidden}.invoice-product-result p{color:var(--soft-muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:10px;overflow:hidden}.invoice-product-result-action{justify-content:flex-end;align-items:center;gap:14px;min-width:218px;display:flex}.invoice-product-result-action>strong{min-width:78px;color:var(--brand-charcoal);text-align:right;font-size:13px;font-weight:880}.invoice-add-product-button{border:1px solid var(--line);background:var(--surface);min-width:104px;height:38px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;font-size:11px;font-weight:830}.invoice-add-product-button:hover:not(:disabled){background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a303d}.invoice-add-product-button:disabled{cursor:not-allowed;opacity:.54}.invoice-product-modal-footer{border-top:1px solid var(--line);background:var(--surface);flex:none;justify-content:space-between;align-items:center;gap:20px;padding:15px 24px;display:flex;box-shadow:0 -10px 28px #11181b0a}.invoice-product-modal-footer>div:first-child span,.invoice-product-modal-footer>div:first-child strong{display:block}.invoice-product-modal-footer>div:first-child span{color:var(--muted);font-size:10px}.invoice-product-modal-footer>div:first-child strong{color:var(--brand-charcoal);margin-top:3px;font-size:19px;font-weight:880}.invoice-payment-modal{width:min(760px,100%)}.invoice-payment-summary{border:1px solid var(--line);background:#fbfcfd;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px;display:grid;overflow:hidden}.invoice-payment-summary>div{min-height:76px;padding:14px}.invoice-payment-summary>div+div{border-left:1px solid var(--line)}.invoice-payment-summary span,.invoice-payment-summary strong{display:block}.invoice-payment-summary span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.invoice-payment-summary strong{color:var(--brand-charcoal);margin-top:7px;font-size:18px;font-weight:880}.invoice-payment-summary>div.is-complete{background:var(--invoice-green-soft)}.invoice-payment-summary>div.is-complete span,.invoice-payment-summary>div.is-complete strong{color:var(--invoice-green)}.invoice-payment-progress{background:#e8edef;border-radius:99px;width:100%;height:7px;margin-bottom:18px;overflow:hidden}.invoice-payment-progress>span{border-radius:inherit;background:#f4b740;height:100%;transition:width .22s,background-color .16s;display:block}.invoice-payment-progress>span.is-complete{background:var(--invoice-green)}.invoice-payment-list{gap:9px;margin-top:4px;display:grid}.invoice-payment-row{border:1px solid var(--line);background:#fbfcfd;border-radius:10px;grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.invoice-money-field{position:relative}.invoice-money-field>span{color:var(--muted);font-size:12px;font-weight:800;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.invoice-money-field input{padding-left:28px}.invoice-remove-payment{min-height:46px;color:var(--error);cursor:pointer;background:#fff6f4;border:1px solid #b423181f;border-radius:8px;padding:0 13px;font-size:11px;font-weight:820}.invoice-remove-payment:disabled{cursor:not-allowed;opacity:.45}.invoice-add-payment{min-height:40px;color:var(--brand-red-dark);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;margin-top:10px;padding:0 8px;font-size:11px;font-weight:840;display:inline-flex}.invoice-add-payment-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.invoice-add-payment-row small{color:var(--soft-muted);text-align:right;font-size:9px;line-height:1.4}.invoice-add-payment:hover:not(:disabled){background:var(--brand-red-soft)}.invoice-add-payment:disabled{cursor:not-allowed;color:var(--soft-muted);opacity:.6}.invoice-payment-modal>.invoice-modal-actions{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.invoice-payment-modal>.invoice-modal-actions .invoice-button-success{min-width:210px}.invoice-payment-modal.has-outcome{overflow:auto}.invoice-outcome{text-align:center;place-items:center;padding:18px 10px 8px;display:grid}.invoice-outcome-icon{border-radius:50%;justify-content:center;align-items:center;width:66px;height:66px;margin-bottom:18px;font-size:28px;font-weight:900;display:inline-flex}.invoice-outcome-icon.is-success{background:var(--invoice-green-soft);color:var(--invoice-green);box-shadow:0 0 0 10px #0874430e}.invoice-outcome-icon.is-warning{background:var(--invoice-warning-soft);color:var(--invoice-warning);box-shadow:0 0 0 10px #f4b74012}.invoice-outcome .invoice-modal-kicker{margin-bottom:8px}.invoice-outcome-copy{max-width:580px;color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.55}.invoice-outcome-number{border:1px solid var(--line);background:#fbfcfd;border-radius:10px;width:min(440px,100%);margin-top:22px;padding:14px;display:grid}.invoice-outcome-number span{color:var(--soft-muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:820}.invoice-outcome-number strong{color:var(--brand-charcoal);letter-spacing:.035em;margin-top:5px;font-size:20px;font-weight:900}.invoice-outcome-details{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:18px 0 0;display:grid}.invoice-outcome-details>div{padding:13px}.invoice-outcome-details>div+div{border-left:1px solid var(--line)}.invoice-outcome-details dt,.invoice-outcome-details dd{margin:0}.invoice-outcome-details dt{color:var(--soft-muted);text-transform:uppercase;font-size:9px;font-weight:800}.invoice-outcome-details dd{color:var(--brand-charcoal);margin-top:5px;font-size:12px;font-weight:850}.invoice-outcome-warning{background:var(--invoice-warning-soft);width:100%;color:var(--invoice-warning);border:1px solid #eadfc7;border-radius:8px;margin:14px 0 0;padding:10px 12px;font-size:10px;line-height:1.5}.invoice-outcome-actions{justify-content:center;gap:10px;margin-top:20px;display:flex}@media (max-width:1320px){.invoice-layout{grid-template-columns:minmax(0,1fr) 320px}.invoice-lines-heading,.invoice-line{grid-template-columns:minmax(190px,1fr) minmax(70px,.38fr) 114px minmax(50px,.25fr) minmax(80px,.4fr) 36px;gap:9px}.invoice-selected-customer{grid-template-columns:44px minmax(0,1fr) auto}.invoice-customer-contact{display:none}}@media (max-width:1180px){.invoice-layout{grid-template-columns:1fr}.invoice-summary{position:static}.invoice-summary-header,.invoice-summary-customer,.invoice-totals,.invoice-grand-total{padding-left:22px;padding-right:22px}.invoice-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-grand-total{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 20px;display:grid}.invoice-grand-total strong{grid-area:1/2/span 2}.invoice-payment-cta{width:calc(100% - 44px);margin-left:22px;margin-right:22px}}@media (max-width:900px){.invoice-workspace{padding-bottom:82px}.invoice-page-header{flex-direction:column;align-items:stretch;gap:16px}.invoice-page-header-actions{justify-content:space-between;padding-top:0}.invoice-stepper li{gap:9px;min-height:62px;padding:10px 14px}.invoice-stepper li>span{flex-basis:28px;width:28px;height:28px}.invoice-panel{padding:18px}.invoice-lines-heading,.invoice-line{grid-template-columns:minmax(180px,1fr) minmax(68px,.34fr) 114px minmax(48px,.22fr) minmax(76px,.34fr) 34px}.invoice-summary .invoice-payment-cta,.invoice-summary .invoice-ready-state{display:none}.invoice-summary-footnote{padding-bottom:16px}.invoice-mobile-checkout{border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:25;background:#fffffff5;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:10px 20px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 34px #11181b1a}.invoice-mobile-checkout span,.invoice-mobile-checkout strong{display:block}.invoice-mobile-checkout span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:780}.invoice-mobile-checkout strong{color:var(--brand-charcoal);margin-top:2px;font-size:22px;font-weight:900}.invoice-modal-shell{padding:16px}.invoice-modal-card{max-height:calc(100dvh - 32px)}}@media (max-width:720px){.invoice-stepper div{display:none}.invoice-stepper li{justify-content:center}.invoice-panel-header{flex-direction:column;align-items:stretch}.invoice-panel-header>button{align-self:flex-start}.invoice-customer-search-row{grid-template-columns:1fr}.invoice-customer-results{top:132px}.invoice-selected-customer{grid-template-columns:44px minmax(0,1fr) auto}.invoice-lines{border:0}.invoice-lines-heading{display:none}.invoice-line{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:13px;margin-bottom:10px;padding:14px}.invoice-line-product{grid-column:1/-1;padding-right:36px}.invoice-line-product strong{white-space:normal}.invoice-line-cell{gap:6px;display:grid}.invoice-line-cell:before{color:var(--soft-muted);content:attr(data-label);letter-spacing:.05em;text-transform:uppercase;font-size:8px;font-weight:850}.invoice-line-cell:nth-of-type(2){justify-items:end}.invoice-line .invoice-delete-line{position:absolute;top:12px;right:12px}.invoice-line{position:relative}.invoice-add-more{border:1px dashed #cdd8dc;border-radius:10px}.invoice-form-grid{grid-template-columns:1fr}.invoice-field-full{grid-column:auto}.invoice-field-compact{max-width:none}.invoice-product-result{grid-template-columns:1fr;align-items:stretch}.invoice-product-result-action{justify-content:space-between;min-width:0;padding-left:50px}.invoice-product-result-action>strong{text-align:left}.invoice-payment-row{grid-template-columns:1fr 1fr}.invoice-remove-payment{grid-column:1/-1;justify-self:start;min-height:38px}}@media (max-width:520px){.invoice-workspace{gap:18px}.invoice-page-header h2{font-size:30px}.invoice-page-header-actions{flex-direction:column;align-items:stretch}.invoice-draft-badge{align-self:flex-start}.invoice-clear-button{width:100%}.invoice-panel{border-radius:10px;padding:15px}.invoice-panel-header>div:first-child{gap:10px}.invoice-selected-customer{grid-template-columns:40px minmax(0,1fr)}.invoice-selected-customer .invoice-customer-avatar{width:40px;height:40px}.invoice-change-customer{grid-column:1/-1;width:100%}.invoice-customer-no-results{flex-direction:column;align-items:stretch}.invoice-line{grid-template-columns:1fr 1fr}.invoice-line .invoice-delete-line{grid-column:auto}.invoice-line-cell:nth-of-type(2){justify-items:start}.invoice-line-cell[data-label=Cantidad]{grid-column:1/-1}.invoice-totals{grid-template-columns:1fr}.invoice-grand-total{display:block}.invoice-grand-total strong{margin-top:7px}.invoice-mobile-checkout,.invoice-mobile-checkout .invoice-button{padding-left:14px;padding-right:14px}.invoice-modal-shell{padding:0;display:block}.invoice-modal-card,.invoice-product-modal{width:100%;height:100dvh;max-height:100dvh;box-shadow:none;border:0;border-radius:0}.invoice-modal-card{padding:16px}.invoice-modal-header{background:var(--surface);z-index:4;align-items:flex-start;margin-left:-16px;margin-right:-16px;padding:16px;position:sticky;top:-16px}.invoice-modal-header h2,.invoice-outcome h2{font-size:23px}.invoice-customer-modal>.invoice-modal-actions,.invoice-payment-modal>.invoice-modal-actions{background:var(--surface);z-index:4;margin-left:-16px;margin-right:-16px;padding:13px 16px 16px;position:sticky;bottom:-16px}.invoice-modal-actions{flex-direction:column-reverse;align-items:stretch}.invoice-modal-actions .invoice-button{width:100%}.invoice-product-modal{padding:0}.invoice-product-modal-header{margin:0;padding:16px;position:static}.invoice-catalog-toolbar{flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px}.invoice-catalog-count{padding-left:2px}.invoice-catalog-body{padding:10px 12px 16px}.invoice-product-result-action{padding-left:0}.invoice-product-modal-footer{flex-direction:column;align-items:stretch;gap:10px;padding:11px 16px}.invoice-product-modal-footer .invoice-modal-actions{flex-direction:column-reverse}.invoice-payment-summary{grid-template-columns:1fr}.invoice-payment-summary>div{justify-content:space-between;align-items:center;min-height:54px;display:flex}.invoice-payment-summary>div+div{border-top:1px solid var(--line);border-left:0}.invoice-payment-summary strong{margin-top:0}.invoice-payment-row{grid-template-columns:1fr}.invoice-remove-payment{grid-column:auto}.invoice-add-payment-row{flex-direction:column;align-items:flex-start}.invoice-add-payment-row small{text-align:left}.invoice-outcome{padding:16px 0 6px}.invoice-outcome-details{grid-template-columns:1fr}.invoice-outcome-details>div+div{border-top:1px solid var(--line);border-left:0}.invoice-outcome-actions{flex-direction:column-reverse;align-items:stretch;width:100%}.invoice-outcome-actions .invoice-button{width:100%}}@media (prefers-reduced-motion:reduce){.invoice-workspace *,.invoice-modal-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.invoice-review-workspace{gap:20px}.invoice-review-workspace button,.invoice-review-workspace input,.invoice-review-workspace select,.invoice-review-modal-shell button{font:inherit}.invoice-review-workspace button:focus-visible,.invoice-review-workspace input:focus-visible,.invoice-review-workspace select:focus-visible,.invoice-review-workspace a:focus-visible,.invoice-review-modal-shell button:focus-visible{outline-offset:2px;outline:3px solid #ff2a3033}.invoice-review-filter-panel{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:minmax(270px,1.65fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(138px,.58fr) minmax(138px,.58fr) auto;align-items:end;gap:12px;padding:18px;display:grid;box-shadow:0 10px 28px #11181b09}.invoice-review-search-field,.invoice-review-filter-field{min-width:0}.invoice-review-search-field>label,.invoice-review-filter-field>label{color:var(--brand-charcoal);margin-bottom:7px;font-size:11px;font-weight:820;line-height:1.3;display:block}.invoice-review-search-field>div{align-items:center;display:flex;position:relative}.invoice-review-search-field input,.invoice-review-filter-field input,.invoice-review-filter-field select,.invoice-review-results-actions select{border:1px solid var(--line);background:var(--surface-soft);width:100%;height:44px;color:var(--ink);border-radius:8px;outline:none;font-size:12px;transition:border-color .16s,background-color .16s,box-shadow .16s}.invoice-review-search-field input:hover,.invoice-review-filter-field input:hover,.invoice-review-filter-field select:hover,.invoice-review-results-actions select:hover{border-color:#c4d0d5}.invoice-review-search-field input:focus,.invoice-review-filter-field input:focus,.invoice-review-filter-field select:focus,.invoice-review-results-actions select:focus{background:var(--surface);box-shadow:0 0 0 4px var(--focus);border-color:#ff2a3073}.invoice-review-search-field input{padding:0 42px}.invoice-review-search-field input::-webkit-search-cancel-button{appearance:none}.invoice-review-filter-field input,.invoice-review-filter-field select{padding:0 11px}.invoice-review-search-icon{border:2px solid var(--soft-muted);pointer-events:none;z-index:1;border-radius:50%;width:14px;height:14px;position:absolute;left:15px}.invoice-review-search-icon:after{background:var(--soft-muted);content:"";border-radius:99px;width:6px;height:2px;position:absolute;bottom:-3px;right:-5px;transform:rotate(45deg)}.invoice-review-search-clear{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;font-size:18px;display:inline-flex;position:absolute;right:7px}.invoice-review-search-clear:hover{color:var(--brand-charcoal);background:#edf2f4}.invoice-review-filter-submit{min-width:126px}.invoice-review-filter-error{color:var(--error);background:#fff4f1;border:1px solid #b4231829;border-radius:8px;grid-column:1/-1;margin:0;padding:9px 11px;font-size:11px;font-weight:720;line-height:1.45}.invoice-review-applied-row{justify-content:space-between;align-items:center;gap:16px;min-height:30px;display:flex}.invoice-review-chips{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.invoice-review-chip{background:var(--surface);min-height:30px;color:var(--brand-charcoal);cursor:pointer;border:1px solid #d8e1e4;border-radius:999px;align-items:center;gap:7px;padding:5px 10px;font-size:10px;font-weight:760;line-height:1.25;display:inline-flex}.invoice-review-chip span{color:var(--soft-muted);font-size:14px;line-height:1}.invoice-review-chip:hover{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a3040}.invoice-review-no-filters{color:var(--soft-muted);font-size:11px}.invoice-review-clear-filters{color:var(--brand-red-dark);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;padding:7px 8px;font-size:11px;font-weight:820}.invoice-review-clear-filters:hover{background:var(--brand-red-soft)}.invoice-review-source-warning,.invoice-review-credit-note{background:var(--invoice-warning-soft);color:var(--invoice-warning);border:1px solid #eadfc7;border-radius:9px;align-items:flex-start;gap:10px;padding:11px 13px;display:flex}.invoice-review-source-warning>span,.invoice-review-credit-note>span{border:1px solid;border-radius:50%;flex:0 0 21px;justify-content:center;align-items:center;width:21px;height:21px;font-size:10px;font-weight:900;display:inline-flex}.invoice-review-source-warning p,.invoice-review-credit-note p{margin:1px 0 0;font-size:11px;font-weight:690;line-height:1.5}.invoice-review-results{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0;scroll-margin-top:20px;overflow:hidden;box-shadow:0 12px 30px #11181b0a}.invoice-review-results-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:84px;padding:16px 20px;display:flex}.invoice-review-results-header p,.invoice-review-results-header h3,.invoice-review-results-header span{margin:0}.invoice-review-results-header p{color:var(--brand-red-dark);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:880}.invoice-review-results-header h3{color:var(--brand-charcoal);margin-top:3px;font-size:18px;font-weight:880}.invoice-review-results-header>div:first-child>span{color:var(--muted);margin-top:3px;font-size:10px;display:block}.invoice-review-results-actions{align-items:center;gap:8px;display:flex}.invoice-review-results-actions label{color:var(--muted);font-size:10px;font-weight:760}.invoice-review-results-actions select{width:auto;min-width:120px;height:38px;padding:0 9px}.invoice-review-refresh{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--brand-charcoal);cursor:pointer;border-radius:8px;padding:0 12px;font-size:11px;font-weight:820}.invoice-review-refresh:hover:not(:disabled){background:var(--surface-soft);border-color:#c1cdd1}.invoice-review-refresh:disabled{cursor:wait;opacity:.52}.invoice-review-api-message{border-bottom:1px solid var(--line);color:var(--muted);background:#f8fafb;margin:0;padding:9px 20px;font-size:10px;line-height:1.45}.invoice-review-results-body{min-height:260px}.invoice-review-table-wrap{width:100%;overflow-x:auto}.invoice-review-table{border-collapse:collapse;table-layout:fixed;width:100%}.invoice-review-table th{border-bottom:1px solid var(--line);height:42px;color:var(--soft-muted);letter-spacing:.045em;text-align:left;text-transform:uppercase;background:#f8fafb;padding:0 13px;font-size:9px;font-weight:850}.invoice-review-table th:first-child{width:18%}.invoice-review-table th:nth-child(2){width:12%}.invoice-review-table th:nth-child(3){width:20%}.invoice-review-table th:nth-child(4){text-align:right;width:10%}.invoice-review-table th:nth-child(5),.invoice-review-table th:nth-child(6){width:12%}.invoice-review-table th:last-child{width:16%}.invoice-review-table td{height:76px;color:var(--brand-charcoal);vertical-align:middle;border-bottom:1px solid #e9eef0;padding:11px 13px;font-size:11px;line-height:1.35}.invoice-review-table tbody tr{transition:background-color .15s}.invoice-review-table tbody tr:hover{background:#fbfcfd}.invoice-review-table tbody tr:last-child td{border-bottom:0}.invoice-review-table td>strong:not(.invoice-review-number){text-overflow:ellipsis;white-space:nowrap;font-weight:810;display:block;overflow:hidden}.invoice-review-number{font-variant-numeric:tabular-nums;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:11px;font-weight:880;display:block;overflow:hidden}.invoice-review-secondary,.invoice-review-paid-amount{color:var(--soft-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9px;display:block;overflow:hidden}.invoice-review-credit-marker{max-width:100%;min-height:19px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#eef2f3;border-radius:5px;align-items:center;margin-top:5px;padding:0 6px;font-size:8px;font-weight:820;display:inline-flex;overflow:hidden}.invoice-review-money{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:880;font-size:12px!important}.invoice-review-status{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;max-width:100%;min-height:27px;padding:5px 8px;font-size:9px;font-weight:840;line-height:1.1;display:inline-flex}.invoice-review-status>span{background:currentColor;border-radius:50%;flex:0 0 6px;width:6px;height:6px;box-shadow:0 0 0 3px #6671761a}.invoice-review-status.is-authorized{background:var(--invoice-green-soft);color:var(--invoice-green);border-color:#08744329}.invoice-review-status.is-processing{background:var(--invoice-blue-soft);color:var(--invoice-blue);border-color:#155eef26}.invoice-review-status.is-pending{background:var(--invoice-warning-soft);color:var(--invoice-warning);border-color:#eadfc7}.invoice-review-status.is-rejected{color:var(--error);background:#fff0ed;border-color:#b4231826}.invoice-review-status.is-annulled{color:var(--muted);background:#eef2f3;border-color:#d9e1e4}.invoice-review-action-cell{text-align:right}.invoice-review-detail-button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--brand-charcoal);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:10px;font-weight:830;display:inline-flex}.invoice-review-detail-button span{color:var(--brand-red-dark);font-size:14px;transition:transform .15s}.invoice-review-detail-button:hover{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a3040}.invoice-review-detail-button:hover span{transform:translate(2px)}.invoice-review-card-list{display:none}.invoice-review-loading{min-height:360px}.invoice-review-skeleton-line,.invoice-review-skeleton-block{background:#e8edef;border-radius:99px;width:76%;height:10px;display:block;position:relative;overflow:hidden}.invoice-review-skeleton-line:after,.invoice-review-skeleton-block:after{content:"";background:linear-gradient(90deg,#0000,#ffffffb3,#0000);animation:1.35s infinite invoice-review-shimmer;position:absolute;inset:0;transform:translate(-100%)}.invoice-review-skeleton-line.is-wide{width:92%}.invoice-review-skeleton-line.is-medium{width:58%}.invoice-review-skeleton-block{border-radius:10px;width:100%;height:120px}.invoice-review-skeleton-block.is-tall{height:240px}@keyframes invoice-review-shimmer{to{transform:translate(100%)}}.invoice-review-empty,.invoice-review-error,.invoice-review-detail-error{text-align:center;align-content:center;place-items:center;min-height:330px;padding:30px;display:grid}.invoice-review-empty>span,.invoice-review-error>span,.invoice-review-detail-error>span{width:48px;height:48px;color:var(--muted);background:#eef2f3;border-radius:13px;justify-content:center;align-items:center;margin-bottom:12px;font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:12px;font-weight:900;display:inline-flex}.invoice-review-error>span,.invoice-review-detail-error>span{color:var(--error);background:#fff0ed}.invoice-review-empty h3,.invoice-review-error h3,.invoice-review-detail-error h3{color:var(--brand-charcoal);margin:0;font-size:17px;font-weight:860}.invoice-review-empty p,.invoice-review-error p,.invoice-review-detail-error p{max-width:470px;color:var(--muted);margin:8px 0 17px;font-size:12px;line-height:1.55}.invoice-review-pagination{border-top:1px solid var(--line);background:#fbfcfd;justify-content:space-between;align-items:center;gap:18px;min-height:66px;padding:11px 20px;display:flex}.invoice-review-pagination>p{color:var(--muted);margin:0;font-size:10px}.invoice-review-pagination>p strong{color:var(--brand-charcoal);font-variant-numeric:tabular-nums}.invoice-review-pagination nav,.invoice-review-pagination nav>div{align-items:center;gap:5px;display:flex}.invoice-review-pagination button{border:1px solid var(--line);background:var(--surface);min-width:34px;min-height:34px;color:var(--brand-charcoal);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;padding:0 9px;font-size:10px;font-weight:790;display:inline-flex}.invoice-review-pagination button:hover:not(:disabled){background:#f5f8f9;border-color:#bdc9ce}.invoice-review-pagination button.is-current,.invoice-review-pagination button[aria-current=page]{border-color:var(--brand-charcoal);background:var(--brand-charcoal);color:#fff}.invoice-review-pagination button:disabled{cursor:not-allowed;opacity:.42}.invoice-review-modal-shell{z-index:100;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.invoice-review-modal-backdrop{cursor:default;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#11181b94;border:0;width:100%;height:100%;position:absolute;inset:0}.invoice-review-modal{background:var(--surface);border:1px solid #dde5e8cc;border-radius:14px;flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 32px);display:flex;position:relative;overflow:hidden;box-shadow:0 32px 90px #11181b47}.invoice-review-modal-header{border-bottom:1px solid var(--line);z-index:3;background:#fffffffa;flex:none;justify-content:space-between;align-items:flex-start;gap:22px;padding:18px 20px;display:flex}.invoice-review-modal-header p,.invoice-review-modal-header h2,.invoice-review-modal-header>div>span{margin:0}.invoice-review-modal-header p{color:var(--brand-red-dark);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:880}.invoice-review-modal-title-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;display:flex}.invoice-review-modal-title-row h2{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:clamp(20px,2.2vw,27px);font-weight:900}.invoice-review-modal-header>div>span{color:var(--muted);margin-top:5px;font-size:10px;display:block}.invoice-review-modal-close{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--brand-charcoal);cursor:pointer;border-radius:9px;flex:0 0 40px;justify-content:center;align-items:center;font-size:22px;display:inline-flex}.invoice-review-modal-close:hover{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a3042}.invoice-review-modal-body{background:#f7f9fa;flex:1;min-height:0;padding:18px;overflow-y:auto}.invoice-review-detail-skeleton{align-content:start;gap:14px;min-height:560px;padding:8px;display:grid}.invoice-review-detail-error{min-height:500px}.invoice-review-detail-warnings{background:var(--invoice-warning-soft);color:var(--invoice-warning);border:1px solid #eadfc7;border-radius:9px;margin-bottom:12px;padding:10px 13px}.invoice-review-detail-warnings>strong{text-transform:uppercase;font-size:10px;font-weight:870;display:block}.invoice-review-detail-warnings ul{gap:3px;margin:6px 0 0;padding-left:17px;display:grid}.invoice-review-detail-warnings li{font-size:10px;line-height:1.45}.invoice-review-credit-note{color:#3d5964;background:#eef4f6;border-color:#d9e3e7;margin-bottom:12px}.invoice-review-detail-layout{grid-template-columns:minmax(0,1fr) minmax(280px,330px);align-items:start;gap:14px;display:grid}.invoice-review-detail-main,.invoice-review-detail-sidebar{gap:12px;min-width:0;display:grid}.invoice-review-detail-sidebar{position:sticky;top:0}.invoice-review-detail-section,.invoice-review-totals-card,.invoice-review-metadata-card{border:1px solid var(--line);background:var(--surface);border-radius:11px;overflow:hidden;box-shadow:0 7px 20px #11181b06}.invoice-review-detail-section{padding:16px}.invoice-review-detail-section-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:13px;display:flex}.invoice-review-detail-section-header p,.invoice-review-detail-section-header h3,.invoice-review-totals-card header p,.invoice-review-totals-card header h3,.invoice-review-metadata-card header p,.invoice-review-metadata-card header h3{margin:0}.invoice-review-detail-section-header p,.invoice-review-totals-card header p,.invoice-review-metadata-card header p{color:var(--brand-red-dark);letter-spacing:.07em;text-transform:uppercase;font-size:8px;font-weight:870}.invoice-review-detail-section-header h3,.invoice-review-totals-card header h3,.invoice-review-metadata-card header h3{color:var(--brand-charcoal);margin-top:3px;font-size:15px;font-weight:870}.invoice-review-detail-customer{background:#fbfcfd;border:1px solid #e5ecee;border-radius:9px;align-items:flex-start;gap:11px;padding:12px;display:flex}.invoice-review-detail-customer>span{background:var(--brand-charcoal);color:#fff;border-radius:10px;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;font-size:14px;font-weight:900;display:inline-flex}.invoice-review-detail-customer>div{min-width:0}.invoice-review-detail-customer strong{color:var(--brand-charcoal);font-size:12px;font-weight:850;display:block}.invoice-review-detail-customer p{color:var(--muted);margin:3px 0 0;font-size:10px}.invoice-review-detail-customer>div>div{flex-wrap:wrap;gap:4px 12px;margin-top:7px;display:flex}.invoice-review-detail-customer>div>div span{color:var(--soft-muted);font-size:9px;line-height:1.4}.invoice-review-detail-table-wrap{border:1px solid #e5ecee;border-radius:9px;overflow-x:auto}.invoice-review-detail-table{border-collapse:collapse;width:100%;min-width:630px}.invoice-review-detail-table th{border-bottom:1px solid var(--line);height:35px;color:var(--soft-muted);text-align:right;text-transform:uppercase;background:#f8fafb;padding:0 9px;font-size:8px;font-weight:850}.invoice-review-detail-table th:first-child{text-align:left;width:35%}.invoice-review-detail-table td{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;text-align:right;vertical-align:top;white-space:nowrap;border-bottom:1px solid #e9eef0;padding:10px 9px;font-size:9px}.invoice-review-detail-table tbody tr:last-child td{border-bottom:0}.invoice-review-detail-table td:first-child{text-align:left;white-space:normal}.invoice-review-detail-table td:first-child strong,.invoice-review-detail-table td:first-child span{display:block}.invoice-review-detail-table td:first-child strong{font-size:10px;font-weight:820}.invoice-review-detail-table td:first-child span{color:var(--soft-muted);margin-top:3px;font-size:8px}.invoice-review-detail-line-cards{display:none}.invoice-review-detail-empty{color:var(--muted);text-align:center;background:#fbfcfd;border:1px dashed #ccd7db;border-radius:9px;padding:18px;font-size:10px;line-height:1.5}.invoice-review-payment-groups{gap:8px;display:grid}.invoice-review-payment-group{background:#fbfcfd;border:1px solid #e5ecee;border-radius:9px;overflow:hidden}.invoice-review-payment-group>header{border-bottom:1px solid #e5ecee;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.invoice-review-payment-group>header strong,.invoice-review-payment-group>header span{display:block}.invoice-review-payment-group>header strong{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;font-size:10px;font-weight:840}.invoice-review-payment-group>header span{color:var(--soft-muted);margin-top:2px;font-size:8px}.invoice-review-payment-meta{flex-wrap:wrap;align-items:center;gap:5px;margin-top:3px;display:flex}.invoice-review-payment-meta>span{margin-top:0!important}.invoice-review-payment-meta .invoice-review-raw-status{max-width:170px;color:var(--muted);letter-spacing:.02em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:#eef2f3;border:1px solid #d9e1e4;border-radius:999px;padding:3px 6px;font-size:7px;font-weight:840;overflow:hidden}.invoice-review-payment-group ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.invoice-review-payment-group li{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 11px;font-size:10px;display:flex}.invoice-review-payment-group li+li{border-top:1px solid #edf1f3}.invoice-review-payment-group li strong{color:var(--brand-charcoal);font-variant-numeric:tabular-nums}.invoice-review-payment-method{gap:2px;min-width:0;display:grid}.invoice-review-payment-method span{color:var(--muted)}.invoice-review-payment-method small{color:var(--soft-muted);overflow-wrap:anywhere;font-size:8px;font-weight:720}.invoice-review-payment-empty,.invoice-review-payment-note{color:var(--soft-muted);margin:0;padding:9px 11px;font-size:9px;line-height:1.4}.invoice-review-payment-note{color:var(--muted);border-top:1px solid #edf1f3}.invoice-review-detail-comment{color:var(--muted);white-space:pre-wrap;background:#fbfcfd;border:1px solid #e5ecee;border-radius:9px;margin:0;padding:12px;font-size:10px;line-height:1.55}.invoice-review-totals-card header,.invoice-review-metadata-card header{border-bottom:1px solid var(--line);padding:13px 14px}.invoice-review-totals-card dl,.invoice-review-metadata-card dl{margin:0}.invoice-review-totals-card dl>div{justify-content:space-between;align-items:center;gap:14px;padding:7px 14px;display:flex}.invoice-review-totals-card dt,.invoice-review-totals-card dd{margin:0;font-size:9px}.invoice-review-totals-card dt{color:var(--muted)}.invoice-review-totals-card dd{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;font-weight:820}.invoice-review-totals-card .is-total{border-top:1px solid var(--line);background:var(--brand-charcoal);margin-top:5px;padding-top:12px;padding-bottom:12px}.invoice-review-totals-card .is-total dt,.invoice-review-totals-card .is-total dd{color:#fff}.invoice-review-totals-card .is-total dt{font-size:11px;font-weight:820}.invoice-review-totals-card .is-total dd{font-size:16px;font-weight:900}.invoice-review-totals-card .is-paid{background:var(--invoice-green-soft)}.invoice-review-totals-card .is-paid dt,.invoice-review-totals-card .is-paid dd{color:var(--invoice-green);font-weight:830}.invoice-review-metadata-card dl>div{padding:8px 14px}.invoice-review-metadata-card dl>div+div{border-top:1px solid #edf1f3}.invoice-review-metadata-card dt,.invoice-review-metadata-card dd{margin:0}.invoice-review-metadata-card dt{color:var(--soft-muted);text-transform:uppercase;font-size:8px;font-weight:790}.invoice-review-metadata-card dd{overflow-wrap:anywhere;color:var(--brand-charcoal);margin-top:3px;font-size:9px;font-weight:760;line-height:1.45}.invoice-review-metadata-card .is-copyable dd{font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:8px}.invoice-review-copy-button{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--brand-charcoal);cursor:pointer;border-radius:7px;margin:0 14px 12px;padding:0 10px;font-size:9px;font-weight:810}.invoice-review-copy-button:hover{background:var(--brand-red-soft);color:var(--brand-red-dark);border-color:#ff2a303d}.invoice-review-access-key{border-top:1px solid var(--line)}.invoice-review-modal-footer{border-top:1px solid var(--line);background:var(--surface);z-index:3;flex:none;justify-content:flex-end;padding:12px 20px;display:flex}@media (max-width:1240px){.invoice-review-filter-panel{grid-template-columns:minmax(250px,1.4fr) repeat(2,minmax(145px,.7fr)) repeat(2,minmax(132px,.58fr))}.invoice-review-filter-submit{grid-column:-2/-1;justify-self:end}.invoice-review-table th:nth-child(2),.invoice-review-table td:nth-child(2){display:none}.invoice-review-table th:first-child{width:19%}.invoice-review-table th:nth-child(3){width:23%}.invoice-review-table th:nth-child(4){width:12%}.invoice-review-table th:nth-child(5),.invoice-review-table th:nth-child(6){width:14%}.invoice-review-table th:last-child{width:18%}}@media (max-width:900px){.invoice-review-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-review-search-field{grid-column:1/-1}.invoice-review-filter-submit{grid-column:auto;justify-self:stretch}.invoice-review-table th:nth-child(6),.invoice-review-table td:nth-child(6){display:none}.invoice-review-table th:first-child{width:22%}.invoice-review-table th:nth-child(3){width:27%}.invoice-review-table th:nth-child(4){width:15%}.invoice-review-table th:nth-child(5){width:17%}.invoice-review-table th:last-child{width:19%}.invoice-review-detail-layout{grid-template-columns:1fr}.invoice-review-detail-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.invoice-review-totals-card{grid-row:span 2}}@media (max-width:720px){.invoice-review-results-header{flex-direction:column;align-items:flex-start;gap:12px}.invoice-review-results-actions{width:100%}.invoice-review-results-actions select{flex:1;min-width:0}.invoice-review-table-wrap{display:none}.invoice-review-card-list{gap:10px;padding:12px;display:grid}.invoice-review-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:14px;box-shadow:0 7px 18px #11181b06}.invoice-review-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.invoice-review-card>header>div>span,.invoice-review-card>header>div>strong{display:block}.invoice-review-card>header>div>span{color:var(--soft-muted);text-transform:uppercase;font-size:8px;font-weight:820}.invoice-review-card>header>div>strong{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;margin-top:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,ui-monospace,monospace;font-size:12px;font-weight:880}.invoice-review-card-customer{border-top:1px solid #edf1f3;align-items:center;gap:10px;margin-top:14px;padding-top:13px;display:flex}.invoice-review-card-customer>span{width:36px;height:36px;color:var(--brand-charcoal);background:#eef2f3;border-radius:9px;flex:0 0 36px;justify-content:center;align-items:center;font-size:12px;font-weight:900;display:inline-flex}.invoice-review-card-customer strong,.invoice-review-card-customer p{margin:0}.invoice-review-card-customer strong{color:var(--brand-charcoal);font-size:11px;font-weight:830;display:block}.invoice-review-card-customer p{color:var(--soft-muted);margin-top:2px;font-size:9px}.invoice-review-card>dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0 0;display:grid}.invoice-review-card>dl>div{background:#f7f9fa;border-radius:8px;min-width:0;padding:9px}.invoice-review-card dt,.invoice-review-card dd{margin:0}.invoice-review-card dt{color:var(--soft-muted);text-transform:uppercase;font-size:8px;font-weight:800}.invoice-review-card dd{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;margin-top:5px;font-size:10px;font-weight:820}.invoice-review-card-credit{color:var(--muted);background:#eef2f3;border-radius:7px;margin:10px 0 0;padding:7px 9px;font-size:9px}.invoice-review-card>.invoice-review-detail-button{width:100%;margin-top:12px}.invoice-review-card.is-skeleton{align-content:center;gap:14px;min-height:142px;display:grid}.invoice-review-pagination{flex-direction:column;align-items:stretch}.invoice-review-pagination nav{justify-content:space-between}.invoice-review-pagination nav>div{overflow-x:auto}.invoice-review-detail-table-wrap{display:none}.invoice-review-detail-line-cards{gap:8px;display:grid}.invoice-review-detail-line-card{background:#fbfcfd;border:1px solid #e5ecee;border-radius:9px;padding:11px}.invoice-review-detail-line-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.invoice-review-detail-line-card>header strong,.invoice-review-detail-line-card>header span{display:block}.invoice-review-detail-line-card>header strong{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;font-size:10px;font-weight:840}.invoice-review-detail-line-card>header span{color:var(--soft-muted);margin-top:3px;font-size:8px}.invoice-review-detail-line-card dl{border-top:1px solid #e5ecee;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 0;padding-top:9px;display:grid}.invoice-review-detail-line-card dt,.invoice-review-detail-line-card dd{margin:0;font-size:8px}.invoice-review-detail-line-card dt{color:var(--soft-muted)}.invoice-review-detail-line-card dd{color:var(--brand-charcoal);font-variant-numeric:tabular-nums;margin-top:3px;font-weight:800}}@media (max-width:560px){.invoice-review-workspace .invoice-page-header-actions,.invoice-review-workspace .invoice-page-header-actions .invoice-button{width:100%}.invoice-review-filter-panel{grid-template-columns:1fr;padding:14px}.invoice-review-search-field{grid-column:auto}.invoice-review-applied-row{flex-direction:column;align-items:flex-start}.invoice-review-clear-filters{align-self:flex-start}.invoice-review-results{margin-left:-2px;margin-right:-2px}.invoice-review-results-actions{flex-wrap:wrap;align-items:stretch}.invoice-review-results-actions label{width:100%}.invoice-review-card>dl{grid-template-columns:1fr 1fr}.invoice-review-card>dl>div:last-child{grid-column:1/-1}.invoice-review-modal-shell{padding:0;display:block}.invoice-review-modal{width:100%;height:100dvh;max-height:100dvh;box-shadow:none;border:0;border-radius:0}.invoice-review-modal-header{padding:14px 15px}.invoice-review-modal-title-row{flex-direction:column;align-items:flex-start;gap:6px}.invoice-review-modal-title-row h2{font-size:19px}.invoice-review-modal-header>div>span{max-width:280px;line-height:1.4}.invoice-review-modal-close{flex-basis:38px;width:38px;height:38px}.invoice-review-modal-body{padding:11px}.invoice-review-detail-section{padding:13px}.invoice-review-detail-sidebar{grid-template-columns:1fr}.invoice-review-totals-card{grid-row:auto}.invoice-review-detail-line-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-review-modal-footer{padding:10px 15px}.invoice-review-modal-footer .invoice-button{width:100%}}@media (prefers-reduced-motion:reduce){.invoice-review-workspace *,.invoice-review-modal-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
