:root{--bg:#07110f;--panel:#0d1c18;--panel2:#0a1714;--line:#193229;--text:#f4fbf8;--muted:#9bb0a9;--accent:#61e6a7}*{box-sizing:border-box}html,body{color:var(--text);background:linear-gradient(#07110f,#091713);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.wrap{max-width:1120px;margin:auto;padding:24px}.nav{justify-content:space-between;align-items:center;display:flex}.brand{font-size:22px;font-weight:900}.brand b{color:var(--accent)}.btn{background:var(--accent);color:#052218;cursor:pointer;border:0;border-radius:12px;padding:12px 18px;font-weight:800}.btn.alt{color:var(--text);background:0 0;border:1px solid #315b4c}.hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:44px;padding:88px 0 62px;display:grid}.hero h1{letter-spacing:-2.8px;margin:0 0 20px;font-size:58px;line-height:1.02}.lead{color:#c4d4cf;font-size:20px;line-height:1.6}.badge{color:#a4f3cf;background:#0b2019;border:1px solid #2c5e4d;border-radius:99px;margin-bottom:18px;padding:7px 10px;font-size:13px;display:inline-block}.panel,.card{border:1px solid var(--line);background:#0d1c18eb;border-radius:20px}.panel{padding:20px}.kpis{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.kpi{background:var(--panel2);border:1px solid var(--line);border-radius:14px;padding:14px}.kpi small,.muted{color:var(--muted)}.kpi strong{margin-top:6px;font-size:24px;display:block}.row{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:15px 3px;display:flex}.row:last-child{border:0}.status{color:#9cf0c7;white-space:nowrap;background:#17382c;border-radius:99px;padding:5px 8px;font-size:12px}.grid3{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.card{padding:22px}.card p{color:var(--muted);line-height:1.55}.section{padding:48px 0}.dash{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.side{border-right:1px solid var(--line);background:#081510;padding:24px}.side a{color:#bdd0c9;border-radius:10px;margin-top:6px;padding:11px 12px;display:block}.side a.active{color:#fff;background:#153429}.main{padding:28px}.toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.table{border:1px solid var(--line);border-radius:16px;margin-top:20px;overflow:auto}.table table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);padding:14px 16px}.table th{color:#9fb3ac;font-size:13px}.login{background:var(--panel);border:1px solid var(--line);border-radius:20px;max-width:420px;margin:12vh auto;padding:26px}.field{color:#fff;background:#091612;border:1px solid #29473d;border-radius:10px;width:100%;margin:7px 0 14px;padding:12px 13px}@media (max-width:800px){.hero{grid-template-columns:1fr;padding-top:52px}.hero h1{font-size:44px}.grid3,.kpis,.dash{grid-template-columns:1fr}.side{border-right:0;border-bottom:1px solid var(--line)}.side nav{gap:8px;display:flex;overflow:auto}.side a{white-space:nowrap}.toolbar{flex-direction:column;align-items:flex-start}}.full{width:100%}.switcher{border:1px solid var(--line);background:#081510;border-radius:12px;grid-template-columns:1fr 1fr;margin:18px 0;padding:4px;display:grid}.switch{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px}.switch.active{color:#fff;background:#17382c}.notice{color:#c7ded5;background:#10251d;border:1px solid #285342;border-radius:10px;padding:11px 12px;font-size:13px}.notice.error{color:#f1c2c2;background:#261313;border-color:#633b3b}.demoBanner{color:#acd8c6;background:#0d241b;border:1px dashed #3d6b5a;border-radius:12px;margin-top:20px;padding:12px 14px;font-size:13px}.kpisDash{margin-top:20px}.modalBackdrop{z-index:20;background:#000000a8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#0d1c18;border:1px solid #29473d;border-radius:20px;width:min(560px,100%);padding:22px;box-shadow:0 30px 90px #00000073}.modalHead{justify-content:space-between;align-items:center;display:flex}.modalHead h2{margin:0 0 16px}.iconBtn{color:#fff;cursor:pointer;background:0 0;border:0;font-size:28px}.formGrid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.empty{color:var(--muted);text-align:center!important;padding:34px!important}.status-promised{color:#9cf0c7;background:#17382c}.status-disputed{color:#ffc6ae;background:#3b2520}.status-open{color:#acd9ff;background:#1c2e3c}.toolbar h1{margin:0 0 6px}@media (max-width:650px){.formGrid{grid-template-columns:1fr}.main,.modal{padding:18px}}.ecosystem{color:#7fa99a;letter-spacing:.11em;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:800;display:inline-block}.ecosystem:hover{color:#b7d9cd}.actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.btn{text-align:center;white-space:normal;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.nav{flex-wrap:wrap;gap:16px}.check{cursor:pointer;align-items:flex-start;gap:10px;margin:16px 0;line-height:1.5;display:flex}.check input{width:20px;height:20px;accent-color:var(--accent);flex:0 0 20px;margin:2px 0}select,textarea{font:inherit}.field{min-width:0;font-size:16px}fieldset{border:0;min-width:0;margin:0;padding:0}summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}details{margin:12px 0}p,article,h1,h2,h3,label{overflow-wrap:anywhere}.invoice-list,.review-list{gap:16px;margin:24px 0;display:grid}.dropzone{background:#0d241b;border:2px dashed #438064;border-radius:16px;padding:24px}.dropzone input{max-width:100%}.review-grid,.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.review-card{min-width:0}.error-list{color:#ffc6ae;line-height:1.6}.demo-card{width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.modal{max-height:90vh;overflow:auto}@media (max-width:600px){.wrap{padding:16px}.hero{gap:24px;padding:36px 0}.hero h1{letter-spacing:-1.2px;font-size:38px}.section{padding:28px 0}.review-grid,.mapping-grid{grid-template-columns:1fr}.actions>.btn{width:100%}.login{margin:32px auto;padding:20px}.dropzone{padding:16px}.row{flex-wrap:wrap}.card{padding:18px}}.drop-zone{border:2px dashed #438064;border-radius:16px;margin:20px 0;padding:24px}.drop-zone input{max-width:100%;margin:16px 0;display:block}.camera-input{opacity:0;width:1px;height:1px;position:absolute}.review-card{margin:16px 0}.drop-zone .btn:focus-within{outline:3px solid var(--accent)}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0;display:grid}.detail-note{margin:16px 0}.detail-columns{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:22px;margin-top:24px;display:grid}.timeline{gap:12px;display:grid}.timeline-item{padding:18px}.timeline-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:#c9d9d3;border:1px solid var(--line);background:#091612;border-radius:12px;margin:0;padding:14px;line-height:1.55}@media (max-width:800px){.detail-grid,.detail-columns{grid-template-columns:1fr}.timeline-head{flex-direction:column;gap:6px}}.invoice-overview{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;margin:20px 0;display:grid}.overview-main,.overview-stats{border:1px solid var(--line);background:#0d1c18eb;border-radius:20px;padding:20px}.overview-main{flex-direction:column;gap:8px;display:flex}.overview-main strong{font-size:24px}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.overview-stats div{background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:12px}.overview-stats span{color:var(--muted);font-size:12px;display:block}.overview-stats strong{margin-top:5px;font-size:22px;display:block}.reminder-summary{margin:14px 0 0}.reminder-sent{color:#9cf0c7;background:#17382c}.reminder-pending{color:#acd9ff;background:#1c2e3c}.reminder-cancelled{color:#c9c9c9;background:#2a2a2a}.reminder-failed{color:#ffc6ae;background:#3b2520}.timeline-meta{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.status-inbound{color:#c8f0b8;background:#233520}.status-review{color:#ffe1a6;background:#3b3020}@media (max-width:800px){.invoice-overview{grid-template-columns:1fr}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.dashboard-filters{margin:22px 0 10px}.dashboard-search{margin-bottom:12px}.filter-chips{flex-wrap:wrap;gap:8px;display:flex}.filter-chip{color:#c7d8d1;cursor:pointer;background:#0a1714;border:1px solid #315b4c;border-radius:999px;padding:9px 12px;font-weight:700}.filter-chip span{color:#9fc9b8;background:#13251f;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-left:5px;padding:0 6px;font-size:12px;display:inline-flex}.filter-chip.active{color:#fff;background:#17382c;border-color:#438064}.filter-chip.active span{color:#d9ffed;background:#245c47}.filter-result{margin:10px 2px 0}@media (max-width:600px){.filter-chips{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.filter-chip{text-align:left;justify-content:space-between;align-items:center;width:100%;display:flex}}.dashboard-filter-row{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.sort-control{min-width:210px;color:var(--muted);font-size:13px}.sort-control .field{margin:6px 0 0}.dashboard-invoice-card{gap:14px;display:grid}.invoice-card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.invoice-card-head h2{margin:0 0 4px}.invoice-amount{white-space:nowrap;font-size:24px}.invoice-card-meta{color:var(--muted);flex-wrap:wrap;gap:8px 14px;font-size:14px;display:flex}.invoice-next{border:1px solid var(--line);background:#091612;border-radius:12px;padding:12px}.invoice-next small{color:var(--muted);margin-bottom:4px;display:block}.invoice-next strong{font-size:15px}@media (max-width:700px){.dashboard-filter-row{display:block}.sort-control{min-width:0;margin-top:12px;display:block}.invoice-card-head{align-items:flex-start}.invoice-amount{font-size:21px}.invoice-card-meta{gap:4px;display:grid}.dashboard-invoice-card .actions{grid-template-columns:1fr;display:grid}.dashboard-invoice-card .actions .btn{width:100%}}.invoice-edit{margin:20px 0}.invoice-edit-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.invoice-edit-head h2{margin:0 0 4px}.invoice-edit-form{gap:14px;margin-top:16px;display:grid}.invoice-edit-form label{gap:7px;font-size:14px;display:grid}.invoice-edit-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.invoice-edit-form .field:disabled{opacity:.65;cursor:not-allowed}@media (max-width:600px){.invoice-edit-head{align-items:flex-start}.invoice-edit-columns{grid-template-columns:1fr}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f8f6;--panel:#fff;--panel2:#edf4f0;--line:#cbdcd3;--text:#17362b;--muted:#526c60;--accent:#148050}html[data-theme=light],html[data-theme=light] body{color:var(--text);background:linear-gradient(#f7faf8,#e9f2ec)}html[data-theme=light] .card,html[data-theme=light] .panel,html[data-theme=light] .overview-main,html[data-theme=light] .overview-stats{background:#fff}html[data-theme=light] .kpi,html[data-theme=light] .overview-stats div{background:#edf4f0}html[data-theme=light] .field,html[data-theme=light] .invoice-next,html[data-theme=light] .message-body{color:var(--text);background:#f8fbf9;border-color:#b7d0c2}html[data-theme=light] .filter-chip,html[data-theme=light] .theme-toggle{color:var(--text);background:#f4faf6;border-color:#b7d0c2}html[data-theme=light] .filter-chip.active{color:#08432c;background:#b7e6d0}html[data-theme=light] .filter-chip span{color:#145639;background:#e0f1e8}html[data-theme=light] .filter-chip.active span{color:#08432c;background:#9ed9bb}html[data-theme=light] .btn.alt{color:var(--text);border-color:#98bda8}html[data-theme=light] .badge,html[data-theme=light] .status{color:#145b3c;background:#e2f4e9;border-color:#a0cab0}html[data-theme=light] .notice{color:#1d4932;background:#e8f5ec;border-color:#a9ceba}html[data-theme=light] .notice.error{color:#882d29;background:#ffeae8;border-color:#dcaba5}html[data-theme=light] .switcher,html[data-theme=light] .dropzone,html[data-theme=light] .drop-zone{background:#edf5ef}html[data-theme=light] .switch,html[data-theme=light] .lead,html[data-theme=light] .card p{color:#526c60}html[data-theme=light] .switch.active{color:#184c33;background:#d2eadc}html[data-theme=light] .login,html[data-theme=light] .modal{color:var(--text);background:#fff}html[data-theme=light] .side{background:#e4f0e8}html[data-theme=light] .side a{color:#275740}html[data-theme=light] .side a.active{color:#13482e;background:#c4e5d3}html[data-theme=light] .iconBtn{color:var(--text)}html[data-theme=light] .reminder-failed,html[data-theme=light] .status-disputed{color:#953e23;background:#ffebe5}html[data-theme=light] .demoBanner{color:#23563c;background:#e3f4e9}.theme-toggle{background:var(--panel);color:var(--text);cursor:pointer;border:1px solid #315b4c;border-radius:11px;min-height:44px;padding:10px 12px}.nav-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dashboard-view-switch{border:1px solid var(--line);background:var(--panel2);border-radius:12px;gap:5px;width:max-content;margin-top:12px;padding:4px;display:flex}.dashboard-view-switch button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;min-height:40px;padding:9px 15px}.dashboard-view-switch button.active{background:var(--accent);color:#052218;font-weight:750}.invoice-list-compact{gap:8px}.invoice-list-compact .dashboard-invoice-card{border-radius:12px;grid-template-columns:minmax(165px,2fr) minmax(145px,1.5fr) minmax(140px,1fr) auto;align-items:center;gap:14px;padding:12px 16px;display:grid}.invoice-list-compact .invoice-card-head{flex-direction:column;gap:4px;display:flex}.invoice-list-compact .invoice-card-head h2{font-size:16px}.invoice-list-compact .invoice-amount{font-size:18px}.invoice-list-compact .invoice-card-meta{gap:3px;font-size:12px;display:grid}.invoice-list-compact .invoice-next{padding:8px}.invoice-list-compact .invoice-next strong{font-size:13px}.invoice-list-compact .dashboard-invoice-card>.actions{gap:6px;min-width:140px;margin:0;display:grid}.invoice-list-compact .dashboard-invoice-card>.actions .badge{margin:0}.invoice-list-compact .dashboard-invoice-card>.actions .btn{width:100%;padding:8px}.invoice-list-compact .dashboard-invoice-card>.quick-paid{grid-column:4}.quick-paid-confirm{background:var(--panel2);border:1px solid var(--line);border-radius:11px;padding:12px}.quick-paid-confirm p{margin:0 0 8px}.quick-paid-confirm .actions{gap:6px;margin:0}.quick-paid .btn{font-size:13px}.invoice-list-compact .dashboard-invoice-card>.actions .quick-paid{width:100%}.billing-panel{max-width:760px;margin:auto}@media (max-width:900px){.invoice-list-compact .dashboard-invoice-card{grid-template-columns:minmax(0,1fr) auto}.invoice-list-compact .invoice-card-meta,.invoice-list-compact .invoice-next{grid-column:1/-1}.invoice-list-compact .dashboard-invoice-card>.actions{flex-wrap:wrap;grid-column:1/-1;display:flex}}@media (max-width:600px){.nav-controls{gap:8px}.theme-toggle{padding:8px;font-size:13px}.invoice-list-compact .dashboard-invoice-card>.actions{grid-template-columns:1fr;display:grid}.quick-paid,.quick-paid>.btn{width:100%}}.billing-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;display:flex}.billing-actions form{margin:0}@media (max-width:600px){.billing-actions{grid-template-columns:1fr;display:grid}.billing-actions .btn{width:100%}}
