:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--heading);background:#0f172a;--bg: #0f172a;--panel: #111827;--sidebar-bg: rgba(2, 6, 23, .72);--panel-2: #172033;--muted: #94a3b8;--line: rgba(148, 163, 184, .18);--primary: #C3531E;--primary-dark: #9f4118;--primary-soft: rgba(195, 83, 30, .14);--text: #e5e7eb;--heading: #f8fafc;--input-bg: #0b1220;--input-text: #e5e7eb;--primary-contrast: #fff7ed;--positive: #22c55e;--negative: #fb7185;--warning: #f59e0b}:root[data-theme=light]{color:#2b1b14;background:#f8efe8;--bg: #f8efe8;--panel: #fffaf6;--sidebar-bg: #ffffff;--panel-2: #f4dfd1;--muted: #7a5c4d;--line: rgba(122, 92, 77, .22);--primary: #C3531E;--primary-dark: #9f4118;--primary-soft: rgba(195, 83, 30, .12);--text: #2b1b14;--heading: #3a2116;--input-bg: #ffffff;--input-text: #2b1b14;--primary-contrast: #fff7ed}:root[data-theme=colorful]{color:#2b1b14;background:#e5bb81;--bg: #E5BB81;--sidebar-bg: #7C4F83;--panel: #fff3df;--panel-2: #f3d3a8;--muted: #6f4d39;--line: rgba(124, 79, 131, .24);--primary: #C3531E;--primary-dark: #9f4118;--primary-soft: rgba(195, 83, 30, .16);--text: #2b1b14;--heading: #2b1b14;--input-bg: #fffaf1;--input-text: #2b1b14;--primary-contrast: #fff7ed}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--text);background:var(--bg);background-image:none}:root[data-theme=light] body,:root[data-theme=colorful] body{background:var(--bg);background-image:none}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:.85rem .9rem;background:var(--input-bg);color:var(--input-text);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}label{display:grid;gap:.45rem;font-size:.9rem;color:var(--text)}h1,h2,p{margin-top:0}h1{font-size:clamp(1.5rem,5vw,2.3rem);margin-bottom:.25rem;color:var(--primary)}h2{font-size:1.05rem;margin-bottom:1rem;color:var(--primary)}.auth-page,.loading-screen{min-height:100vh;display:grid;place-items:center;padding:1rem}.auth-card{width:min(430px,100%);padding:1.5rem;border-radius:24px;background:#111827eb;border:1px solid var(--line);box-shadow:0 24px 80px #00000059}.stack{display:grid;gap:1rem}.eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:700;margin-bottom:.25rem}.muted{color:var(--muted)}.notice{padding:.85rem 1rem;border:1px solid rgba(195,83,30,.25);background:var(--primary-soft);border-radius:14px;color:var(--heading)}.primary{border:0;border-radius:12px;padding:.9rem 1rem;color:var(--primary-contrast);background:var(--primary);font-weight:800}.primary:hover{background:var(--primary-dark)}.primary:disabled{opacity:.6;cursor:not-allowed}.link-button,.ghost{border:0;color:var(--primary);background:transparent;padding:.6rem .2rem}.ghost{border:1px solid var(--line);border-radius:10px;padding:.55rem .75rem;color:var(--text)}.app-layout{min-height:100vh;display:grid;grid-template-columns:270px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:1.1rem;background:var(--sidebar-bg);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:1rem}.brand{display:flex;align-items:center;gap:.8rem;padding:.4rem}.brand small{display:block;color:var(--muted);margin-top:.1rem}.logo{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:var(--primary-contrast);background:var(--primary);font-weight:900}nav{display:grid;gap:.45rem}nav button{text-align:left;border:0;border-radius:12px;padding:.85rem 1rem;background:transparent;color:var(--text)}nav button.active,nav button:hover{background:var(--primary-soft);color:var(--heading)}.logout{margin-top:auto}.content{padding:clamp(1rem,3vw,2rem)}.page{max-width:1180px;margin:0 auto}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.panel{background:#111827db;border:1px solid var(--line);border-radius:22px;padding:1.1rem;box-shadow:0 20px 60px #0003}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.stat{padding:1.1rem;border-radius:20px;background:var(--panel);border:1px solid var(--line)}.stat span{display:block;color:var(--muted);font-size:.85rem;margin-bottom:.65rem}.stat strong{font-size:1.35rem}.stat.positive strong,.positive-text{color:var(--positive)}.stat.negative strong,.negative-text{color:var(--negative)}.stat.warning strong{color:var(--warning)}.table-list{display:grid;gap:.55rem}.list-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem;border-radius:14px;background:#0f172ac7;border:1px solid rgba(148,163,184,.1)}.list-row span{display:block;color:var(--muted);font-size:.82rem;margin-top:.25rem}.row-actions{display:flex;align-items:center;gap:.65rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.wide{grid-column:1 / -1}.settings-grid,.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.small-list{display:grid;gap:.45rem;max-height:260px;overflow:auto}.small-list span{color:var(--muted);font-size:.83rem;padding:.5rem .65rem;background:#0f172aa6;border-radius:10px}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}.mini-stats span{display:grid;gap:.3rem;color:var(--muted);background:#0f172ab3;padding:.75rem;border-radius:14px}.product-prices{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.product-prices span{margin:0;padding:.35rem .5rem;border-radius:999px;background:#38bdf81a;color:var(--primary)}.error-box{max-width:540px;margin:2rem auto}@media(max-width:900px){.app-layout{grid-template-columns:1fr}.sidebar{position:fixed;z-index:10;bottom:0;top:auto;width:100%;height:auto;padding:.6rem;border-right:0;border-top:1px solid var(--line)}.brand,.logout{display:none}nav{grid-template-columns:repeat(6,1fr);gap:.25rem}nav button{text-align:center;font-size:.72rem;padding:.65rem .25rem}.content{padding-bottom:6rem}.stats-grid,.settings-grid,.cards-grid,.form-grid{grid-template-columns:1fr}.list-row{align-items:flex-start;flex-direction:column}.row-actions{width:100%;justify-content:space-between}}.nfce-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1rem;align-items:start}.scanner-box{position:relative;min-height:260px;border:1px dashed var(--line);border-radius:18px;overflow:hidden;background:#0f172ab3;display:grid;place-items:center}.scanner-video{width:100%;min-height:260px;object-fit:cover;display:none}.scanner-video.active{display:block}.scanner-placeholder{color:var(--muted)}.nfce-result{display:grid;gap:.45rem;padding:.9rem;border-radius:14px;background:#38bdf817;border:1px solid rgba(195,83,30,.18)}.nfce-result span{color:var(--muted);overflow-wrap:anywhere}.nfce-result strong{color:#e5e7eb}@media(max-width:900px){nav{grid-template-columns:repeat(7,1fr)}.nfce-grid{grid-template-columns:1fr}}.debug-box{border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:12px;background:#0f172a59}.debug-box summary{cursor:pointer;font-weight:700}.debug-box textarea{width:100%;margin-top:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.debug-grid{display:grid;gap:6px;margin-top:10px;font-size:13px}.debug-box ul{margin:8px 0 0;padding-left:18px}.nfce-status,.nfce-success,.nfce-error{padding:.75rem .9rem;border-radius:12px;border:1px solid var(--line)}.nfce-status{background:#f59e0b1a;color:#fde68a;border-color:#f59e0b40}.nfce-success{background:#22c55e1a;color:#bbf7d0;border-color:#22c55e40}.nfce-error{background:#fb71851a;color:#fecdd3;border-color:#fb718540}.items-header{display:flex;justify-content:space-between;gap:.75rem;align-items:center;margin-bottom:.75rem;color:var(--heading)}.nfce-items-editor{display:grid;gap:.75rem}.nfce-item-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:.9rem;border-radius:14px;background:#0f172a9e;border:1px solid rgba(148,163,184,.14)}.item-summary strong{color:var(--heading)}.products-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:1rem;align-items:start}.product-row-button{width:100%;text-align:left;color:inherit}.product-row-button:hover{border-color:#c3531e59;background:#c3531e14}@media(max-width:900px){.nfce-item-card,.products-grid{grid-template-columns:1fr}.items-header{align-items:flex-start;flex-direction:column}}.product-toolbar{margin-bottom:1rem}.tabs{display:flex;gap:.5rem;flex-wrap:wrap}.tabs button{border:1px solid var(--line);background:#0f172ab8;color:var(--text);border-radius:999px;padding:.65rem 1rem;cursor:pointer}.tabs button.active{background:#38bdf82e;border-color:#38bdf873;color:var(--heading)}.inline-form{display:flex;gap:.6rem;align-items:end}.inline-form input{flex:1}.stat-grid.small{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.stat-card{border:1px solid var(--line);border-radius:16px;padding:.85rem;background:#0f172a85}.stat-card span{display:block;color:var(--muted);font-size:.82rem;margin-bottom:.35rem}.stat-card strong{display:block;color:var(--text);font-size:1rem}@media(max-width:700px){.inline-form,.tabs{flex-direction:column;align-items:stretch}.stat-grid.small{grid-template-columns:1fr}}.members-panel{margin-top:1rem}.members-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:1rem;align-items:start}.invite-form{align-items:end}.invite-form label:first-child{min-width:min(420px,100%)}.invite-row code{display:block;margin-top:.4rem;max-width:100%;color:var(--primary);white-space:normal;overflow-wrap:anywhere;font-size:.78rem}.invite-message{overflow-wrap:anywhere}.ghost.danger{color:#fecdd3;border-color:#fb718559}@media(max-width:900px){.members-grid,.invite-form{grid-template-columns:1fr}.invite-form{display:grid}}.row-between{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.list-row.selected{border-color:#3b82f6b3;background:#3b82f614}.checked-row{opacity:.65}.checked-row strong{text-decoration:line-through}.ghost.danger,.error-text{color:#b91c1c}@media(max-width:720px){.row-between{flex-direction:column}.form-grid.three{grid-template-columns:1fr}}.privacy-banner{margin-bottom:18px;border:1px solid rgba(56,189,248,.28);background:var(--panel)}.privacy-banner h2,.privacy-settings-panel h2{margin:4px 0 6px}.checkbox-line{display:flex;align-items:center;gap:10px;font-weight:600}.checkbox-line input{width:auto}.privacy-rules{display:grid;gap:4px;padding:12px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172a52}.privacy-rules span{color:var(--muted);font-size:.92rem}.market-hints-box{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172a4d}.market-hints-box div{display:grid;gap:3px}.market-hints-box span,.market-hint{color:var(--muted);font-size:.9rem}.market-hint{display:block;margin-top:3px}.market-hint.promo{color:#86efac}textarea{min-height:90px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:var(--input-bg);color:var(--input-text);padding:11px 12px;font:inherit}.offline-banner{display:flex;justify-content:space-between;gap:1rem;align-items:center;border:1px solid rgba(245,158,11,.35);background:#f59e0b14;margin-bottom:1rem}.offline-banner h2{margin:.1rem 0 .35rem}@media(max-width:760px){.offline-banner{align-items:stretch;flex-direction:column}}.report-filters{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1rem}.report-filters label{min-width:220px}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem;align-items:start}.wide-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.report-bars{display:grid;gap:.8rem}.report-bar-row{display:grid;gap:.45rem}.report-row-head strong{color:var(--heading)}.report-row-head span{display:block;color:var(--muted);font-size:.8rem;margin-top:.2rem}.report-bar-track{height:9px;border-radius:999px;overflow:hidden;background:#94a3b824}.report-bar-track span{display:block;height:100%;border-radius:999px;background:var(--primary)}.report-table{display:grid;gap:.45rem}.report-table-head,.report-table-row{display:grid;grid-template-columns:.8fr 1fr 1fr 1fr;gap:.75rem;align-items:center;padding:.75rem;border-radius:12px}.report-table-head{color:var(--muted);font-weight:700;font-size:.82rem;background:#0f172a73}.report-table-row{background:#0f172ab8;border:1px solid rgba(148,163,184,.1)}.report-note{margin-bottom:1rem}@media(max-width:900px){nav{grid-template-columns:repeat(5,1fr)}.report-filters,.reports-grid,.wide-grid{grid-template-columns:1fr}.report-filters{align-items:stretch;flex-direction:column}.report-filters label{min-width:0}.reports-stats,.report-table-head,.report-table-row{grid-template-columns:1fr}.report-table-head{display:none}}.theme-settings-panel{margin-top:1rem}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.theme-option{text-align:left;border:1px solid var(--line);border-radius:16px;padding:1rem;color:var(--text);background:var(--panel);display:grid;gap:.35rem}.theme-option span{font-weight:800;color:var(--heading)}.theme-option small{color:var(--muted)}.theme-option.active{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.theme-preview-dark{background:#111827}.theme-preview-light{background:#fffaf6;color:#2b1b14}.theme-preview-light span{color:#3a2116}.theme-preview-light small{color:#7a5c4d}.theme-preview-colorful{background:#e5bb81;color:#2b1b14}.theme-preview-colorful span{color:#2b1b14}.theme-preview-colorful small{color:#6f4d39}:root[data-theme=light] .sidebar{background:#fffaf6db}:root[data-theme=light] .panel,:root[data-theme=light] .stat,:root[data-theme=light] .list-row,:root[data-theme=light] .small-list span,:root[data-theme=light] .mini-stats span,:root[data-theme=light] .nfce-item-card,:root[data-theme=light] .scanner-box,:root[data-theme=light] .tabs button{background:#fffaf6e6}:root[data-theme=light] .auth-card{background:#fffaf6f0}:root[data-theme=light] .nfce-result,:root[data-theme=light] .debug-box{background:#c3531e14}:root[data-theme=colorful] .panel,:root[data-theme=colorful] .stat,:root[data-theme=colorful] .auth-card{box-shadow:0 24px 70px #09011252}@media(max-width:900px){.theme-options{grid-template-columns:1fr}}:root[data-theme=colorful] .sidebar,:root[data-theme=colorful] .sidebar nav button,:root[data-theme=colorful] .sidebar .brand small{color:#fff7ed}:root[data-theme=colorful] .sidebar nav button.active,:root[data-theme=colorful] .sidebar nav button:hover{background:#fff7ed29;color:#fff}.launch-tabs,.launch-nfce-panel{margin-bottom:1rem}.launch-form-panel{margin-top:1rem}.nfce-import-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:1rem;align-items:start}.scanner-box.compact,.scanner-box.compact .scanner-video{min-height:210px}:root[data-theme=colorful] .panel,:root[data-theme=colorful] .stat,:root[data-theme=colorful] .stat-card{background:#fff3dfeb}:root[data-theme=colorful] .list-row,:root[data-theme=colorful] .small-list span,:root[data-theme=colorful] .mini-stats span,:root[data-theme=colorful] .scanner-box,:root[data-theme=colorful] .debug-box,:root[data-theme=colorful] .nfce-item-card{background:var(--input-bg)}:root[data-theme=colorful] .nfce-result strong,:root[data-theme=colorful] .item-summary strong,:root[data-theme=colorful] .items-header,:root[data-theme=colorful] .stat-card strong{color:var(--heading)}@media(max-width:900px){.nfce-import-grid{grid-template-columns:1fr}}:root[data-theme=colorful] .report-row-head strong,:root[data-theme=colorful] .report-row-head>strong,:root[data-theme=colorful] .report-table-row,:root[data-theme=colorful] .report-table-row span{color:var(--text)}:root[data-theme=colorful] .report-row-head span,:root[data-theme=colorful] .small-list span{color:var(--muted)}:root[data-theme=colorful] textarea,:root[data-theme=light] textarea{background:var(--input-bg);color:var(--input-text)}.products-single-column{display:grid;grid-template-columns:1fr;gap:1rem}.product-detail-panel{margin-top:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#00000073;display:grid;place-items:center;padding:1rem}.modal-card{width:min(520px,100%);background:var(--panel);border:1px solid var(--border);border-radius:22px;box-shadow:0 30px 80px #00000059;padding:1.25rem}.ghost.compact,button.compact{padding:.55rem .8rem;min-height:auto}.shopping-page-panel{gap:1.25rem}.shopping-add-form{border:1px solid var(--border);border-radius:20px;padding:1rem;background:var(--input-bg)}.shopping-lists-stack{display:grid;gap:.85rem}.shopping-list-card{border:1px solid var(--border);border-radius:20px;background:var(--panel);overflow:hidden}.shopping-list-card.selected{border-color:var(--primary)}.shopping-list-header{width:100%;border:0;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;text-align:left;cursor:pointer}.shopping-list-header strong,.shopping-list-header span{display:block}.shopping-list-header span{color:var(--muted);font-size:.9rem;margin-top:.25rem}.shopping-list-body{border-top:1px solid var(--border);display:grid;gap:.75rem;padding:.85rem 1rem 1rem}.shopping-list-actions{justify-content:flex-end}.shopping-subitem{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.85rem;border:1px solid var(--border);border-radius:16px;background:var(--input-bg)}.checkline{display:flex;gap:.75rem;align-items:flex-start;margin:0;flex:1}.checkline input[type=checkbox]{width:18px;height:18px;margin-top:.15rem;accent-color:var(--primary)}.checkline strong,.checkline small{display:block}.checkline small{color:var(--muted);margin-top:.2rem}.checked-row strong,.checked-row small{text-decoration:line-through;opacity:.72}@media(max-width:720px){.shopping-list-header,.shopping-subitem{align-items:stretch}.shopping-subitem{flex-direction:column}.shopping-list-actions,.shopping-subitem .row-actions{justify-content:flex-start}}.modal-card{background:var(--panel);color:var(--text)}:root[data-theme=light] .modal-backdrop,:root[data-theme=colorful] .modal-backdrop{background:#2b1b1438}:root[data-theme=light] .modal-card{background:#fffaf6}:root[data-theme=colorful] .modal-card{background:#fff3df}.auth-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.small-text{font-size:.85rem}.field-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.inline-add{width:30px;height:30px;border-radius:999px;border:1px solid var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:900;line-height:1;display:inline-grid;place-items:center;padding:0}.inline-add:hover{background:var(--primary);color:var(--primary-contrast)}.quick-create-modal{max-width:520px}.page-tabs{margin-bottom:1rem}.mobile-actions-panel{display:none;margin-bottom:1rem}.mini-stats.single{grid-template-columns:1fr}.account-card h2{margin-bottom:.35rem}@media(max-width:900px){.desktop-actions{display:none}.mobile-actions-panel{display:block}}.logo img{width:34px;height:34px;object-fit:contain;display:block}.btn-import-nfce,button.btn-import-nfce{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:800}@media(max-width:640px){.page-title .btn-import-nfce,.page-header .btn-import-nfce,button.btn-import-nfce{margin-left:auto;align-self:flex-start;white-space:nowrap}}.form-action{display:flex;align-items:end}.known-invoice-row{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:.75rem;align-items:end}@media(max-width:760px){.known-invoice-row{grid-template-columns:1fr}}.more-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.more-card{text-align:left;color:var(--text);border:1px solid var(--line);display:grid;gap:.35rem}.more-card strong{color:var(--heading);font-size:1rem}.more-card span{color:var(--muted);font-size:.9rem}.transaction-filters{margin-bottom:1rem}.list-summary{margin-bottom:.85rem}.compact-transactions .list-row strong{line-height:1.2}.embedded-reports,.promotions-embedded{display:grid;gap:1rem}@media(max-width:900px){nav{grid-template-columns:repeat(5,1fr)!important}nav button{font-size:.76rem;padding:.68rem .2rem}.sidebar .brand,.sidebar .logout{display:none}}@media(max-width:640px){.page-title{align-items:flex-start;gap:.75rem}.page-title h1{max-width:100%}.compact-transactions .list-row,.compact-transactions .row-actions{align-items:flex-start}.compact-transactions .row-actions{width:100%;justify-content:space-between}}.sync-toast{position:sticky;top:.75rem;z-index:4;width:fit-content;margin-left:auto;margin-bottom:.75rem;padding:.55rem .85rem;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--muted);box-shadow:var(--shadow);font-size:.85rem}.sidebar-nav{display:grid;gap:.35rem}.sidebar-section-title{margin:.65rem .65rem .15rem;color:var(--muted);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.subscription-card h3{margin:0 0 .45rem;color:var(--heading)}.subscription-badge{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;padding:.28rem .55rem;background:var(--primary-soft);color:var(--primary);font-size:.78rem;font-weight:800}.subscription-status{display:inline-flex;width:fit-content;border-radius:999px;padding:.28rem .55rem;background:#94a3b81f;color:var(--muted);font-size:.78rem;font-weight:700}@media(max-width:900px){.sidebar{overflow-x:auto}.sidebar-nav{display:flex;gap:.25rem;overflow-x:auto;padding-bottom:.2rem}.sidebar-section-title{display:none}.sidebar-nav button{min-width:86px;white-space:nowrap}}.invoice-list{gap:.55rem}.invoice-payment-row{display:flex;justify-content:space-between;align-items:center;gap:.65rem;padding:.45rem;border-radius:12px;background:#0f172a6b}.invoice-payment-row span{background:transparent;padding:0}@media(max-width:720px){.invoice-payment-row{align-items:stretch;flex-direction:column}}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.compact-row{padding:.75rem}.compact-row strong{color:var(--heading)}@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}}.modal-backdrop{overflow-y:auto;align-items:start}.modal-card{max-height:calc(100vh - 2rem);overflow-y:auto}.subscriptions-modal{width:min(920px,100%)}.subscription-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.subscription-form-grid>label,.subscription-form-grid>.two-cols{min-width:0}.subscription-form-grid .wide,.subscription-form-grid>button.wide{grid-column:1 / -1}.quick-create-modal{max-height:calc(100vh - 2rem);overflow-y:auto}@media(max-width:760px){.subscription-form-grid{grid-template-columns:1fr}}.card-actions-row{justify-content:flex-end;margin-top:.85rem}.categories-panel{align-self:start}.category-list{display:grid;gap:.5rem;max-height:360px;overflow:auto}.category-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .75rem;border:1px solid var(--line);border-radius:14px;background:#0f172a6b}.category-row span,.category-row strong,.category-row small{display:block}.category-row small{color:var(--muted);font-size:.78rem;margin-top:.15rem}:root[data-theme=light] .category-row,:root[data-theme=colorful] .category-row{background:var(--input-bg)}.goals-panel .goal-form{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:.75rem;align-items:end}.goal-row{display:grid;gap:.45rem;padding:.85rem;border-radius:14px;background:#0f172ab8;border:1px solid rgba(148,163,184,.1)}.goal-progress-track{height:9px;border-radius:999px;overflow:hidden;background:#94a3b824}.goal-progress-track span{display:block;height:100%;border-radius:999px;background:var(--primary)}.goal-row small{font-size:.82rem}@media(max-width:720px){.goals-panel .goal-form{grid-template-columns:1fr}}:root[data-theme=light] .goal-row,:root[data-theme=colorful] .goal-row{background:var(--input-bg)}.categories-panel-wide{margin-bottom:1rem}.categories-two-cols{display:grid;grid-template-columns:minmax(260px,360px) minmax(320px,1fr);gap:1rem;align-items:start}.category-form-card{padding-right:.25rem}@media(max-width:900px){.categories-two-cols{grid-template-columns:1fr}}.subscriptions-modal{position:relative}.subscriptions-modal .modal-title-row{align-items:flex-start;padding-right:2.75rem}.modal-close-x{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:999px;border:1px solid var(--line);background:var(--input-bg);color:var(--text);font-size:1.4rem;line-height:1;display:inline-grid;place-items:center;padding:0}.modal-close-x:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.modal-backdrop{align-items:center!important;justify-items:center!important;place-items:center!important;min-height:100dvh;overflow-y:auto}.modal-card{margin:auto}@media(max-width:760px){.modal-backdrop{padding:.75rem}.modal-card{max-height:calc(100dvh - 1.5rem)}}.report-table-head{color:#cbd5e1;background:#1e293bd1}.report-table-row{color:#e5e7eb;background:#1e293beb;border-color:#94a3b838}.report-table-row span,.report-table-row strong,.report-table-head span{color:inherit}.report-table-row .positive-text{color:#22c55e}.report-table-row .negative-text{color:#fb7185}:root[data-theme=light] .report-table-head,:root[data-theme=colorful] .report-table-head{color:#7c2d12;background:#eadfd7}:root[data-theme=light] .report-table-row,:root[data-theme=colorful] .report-table-row{color:#2b1d16;background:#fffaf6;border-color:#e2d2c7}:root[data-theme=light] .report-table-row .positive-text,:root[data-theme=colorful] .report-table-row .positive-text{color:#15803d}:root[data-theme=light] .report-table-row .negative-text,:root[data-theme=colorful] .report-table-row .negative-text{color:#be123c}.product-inline-group{display:grid;gap:.7rem}.product-inline-detail{display:grid;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:18px;background:#0f172a47}:root[data-theme=light] .product-inline-detail,:root[data-theme=colorful] .product-inline-detail{background:#ffffff6b}.product-group-row{display:grid;grid-template-columns:1fr auto;gap:.75rem;align-items:end}@media(max-width:700px){.product-group-row{grid-template-columns:1fr}.product-group-row .ghost{width:100%}}
