:root{--bg:#f5f7ff;--surface:#fff;--surface2:#eef2ff;--text:#16234a;--muted:#68738f;--line:#dfe5f3;--primary:#3867ff;--primary2:#7a3ff0;--danger:#b9384b;--success:#17a673;--shadow:0 18px 55px #22326e1c}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}input,select,textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);border-radius:12px;outline:none;padding:12px 13px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3867ff1a}textarea{resize:vertical;min-height:90px}.brand{align-items:center;gap:10px;font-size:18px;font-weight:900;display:flex}.logo{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));border-radius:11px;place-items:center;width:35px;height:35px;display:grid;box-shadow:0 8px 18px #3867ff40}.logo svg{width:19px}.primary,.secondary,.danger-btn,.link-btn,.icon-btn,.text-btn{border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-size:12px;font-weight:800;display:inline-flex}.primary{color:#fff;background:linear-gradient(100deg,var(--primary),var(--primary2));transition:transform .2s,box-shadow .2s,filter .2s;box-shadow:0 9px 20px #434de833}.primary:hover{filter:saturate(1.15);transform:translateY(-2px);box-shadow:0 13px 28px #434de84d}.secondary,.danger-btn,.link-btn,.text-btn,.icon-btn{transition:transform .18s,background .18s,color .18s,box-shadow .18s}.secondary:hover{border-color:var(--primary);color:var(--primary);background:#eef2ff;transform:translateY(-1px);box-shadow:0 7px 18px #3867ff1f}.danger-btn:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 8px 18px #b9384b33}.link-btn:hover,.text-btn:hover{background:#eef2ff;border-radius:10px}.icon-btn:hover{color:var(--primary);background:#eef2ff;border-radius:10px}.primary:disabled,.secondary:disabled{opacity:.55;cursor:not-allowed}.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}.danger-btn{color:#fff;background:var(--danger)}.link-btn,.text-btn{color:var(--primary);background:0 0;padding:8px}.icon-btn{color:var(--muted);background:0 0;padding:8px;position:relative}.icon-btn.danger{color:var(--danger)}.wide{width:100%}.splash{color:#fff;background:linear-gradient(145deg,#071a70eb,#3037c9e0 50%,#762de0e6),url(/splash-invoice.svg) 50%/cover no-repeat;align-content:center;place-items:center;gap:10px;height:100vh;display:grid;position:relative;overflow:hidden}.splash:before{content:"";pointer-events:none;background:radial-gradient(circle at 50% 42%,#ffffff24,#0000 34%),linear-gradient(90deg,#ffffff0a 1px,#0000 1px) 0 0/70px 70px,linear-gradient(#ffffff0a 1px,#0000 1px) 0 0/70px 70px;position:absolute;inset:0}.splash>*{position:relative}.splash .orb{z-index:0}.splash .splash-art,.splash .invoice-hero,.splash .splash-copy,.splash .loader{z-index:2}.splash h1{z-index:2;margin:8px 0 0;font-size:42px}.splash p{opacity:.85;z-index:2;margin:0}.invoice-hero{color:#3f66ff;z-index:2;background:#fffffff2;border-radius:25px;place-items:center;width:100px;height:100px;display:grid;position:relative;box-shadow:0 25px 65px #00000040}.invoice-hero svg:first-child{width:58px;height:58px}.invoice-hero svg:last-child{color:#fff;background:#7140ef;border-radius:12px;width:30px;padding:8px;position:absolute;bottom:-10px;right:-10px}.orb{filter:blur(3px);opacity:.45;border-radius:50%;position:absolute}.o1{background:#8c42ef;width:430px;height:430px;top:-100px;right:-120px}.o2{background:#2c79ff;width:380px;height:380px;bottom:-100px;left:-130px}.loader{z-index:2;background:#ffffff40;border-radius:5px;width:170px;height:4px;margin-top:15px;overflow:hidden}.loader span{background:#fff;width:45%;height:100%;animation:1s infinite load;display:block}@keyframes load{to{transform:translate(280%)}}.welcome{background:var(--surface);grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.welcome-art{background:linear-gradient(145deg,#0e2b9c,#353ccf 50%,#743ee6);place-items:center;display:grid}.float-card{background:#fff;border-radius:25px;gap:10px;width:260px;padding:25px;display:grid;transform:rotate(-7deg);box-shadow:0 35px 80px #00000047}.float-card svg{width:48px;color:var(--primary)}.float-card b{font-size:28px}.float-card span{color:var(--success);font-weight:800}.welcome-copy{align-self:center;max-width:650px;padding:70px}.welcome-copy h1{letter-spacing:-.05em;margin:35px 0 15px;font-size:52px;line-height:1}.welcome-copy h1 span{color:var(--primary)}.welcome-copy>p{color:var(--muted);line-height:1.7}.feature-list{gap:10px;margin:25px 0;display:grid}.feature{border:1px solid var(--line);border-radius:14px;align-items:center;gap:12px;padding:13px;display:flex}.feature .iconbox{width:40px;height:40px;color:var(--primary);background:#e8edff;border-radius:11px;place-items:center;display:grid}.feature span:nth-child(2){gap:3px;display:grid}.feature small{color:var(--muted)}.feature>svg:last-child{color:var(--muted);margin-left:auto}.auth-page{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-art{color:#fff;background:linear-gradient(145deg,#0e2b9c,#353ccf 50%,#743ee6);flex-direction:column;padding:60px;display:flex}.auth-art h1{margin-top:auto;margin-bottom:5px;font-size:48px}.auth-art p{opacity:.8}.auth-illustration{place-items:center;height:260px;display:grid;position:relative}.auth-illustration svg:first-child{width:160px;height:160px}.auth-illustration svg:last-child{width:95px;height:95px;position:absolute;bottom:25px;right:25%}.auth-card{place-self:center;width:min(470px,90%)}.auth-card h2{margin:0 0 8px;font-size:30px}.auth-card>p{color:var(--muted);line-height:1.6}.mobile-brand{display:none}.privacy{color:var(--muted);justify-content:center;gap:6px;margin-top:25px;display:flex}.onboard{background:var(--bg);min-height:100vh;padding:22px}.onboard-top{justify-content:space-between;align-items:center;max-width:1050px;margin:auto;display:flex}.steps{gap:24px;display:flex}.steps span{border:1px solid var(--line);width:27px;height:27px;color:var(--muted);border-radius:50%;place-items:center;font-size:11px;display:grid;position:relative}.steps span:not(:last-child):after{content:"";background:var(--line);width:23px;height:1px;position:absolute;left:27px}.steps span.on{background:var(--primary);border-color:var(--primary);color:#fff}.onboard-card{background:var(--surface);border:1px solid var(--line);width:min(730px,100%);box-shadow:var(--shadow);border-radius:25px;margin:55px auto;padding:42px}.onboard-card h1{font-size:35px;line-height:1.05}.onboard-card>p{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--primary);font-size:11px;font-weight:900}.field{color:var(--muted);gap:7px;margin:10px 0;font-size:11px;font-weight:900;display:grid}.field em{color:var(--danger);font-style:normal}.choice-label{margin:22px 0 8px;font-size:11px;font-weight:900}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:10px 13px;transition:all .18s}.chips button:hover{border-color:var(--primary);color:var(--primary);background:#f2f5ff;transform:translateY(-1px)}.chips button.selected{color:#fff;background:linear-gradient(100deg,var(--primary),var(--primary2));border-color:#0000}.currency-list{gap:8px;display:grid}.currency-list button{border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;border-radius:13px;align-items:center;gap:12px;padding:14px;display:flex}.currency-list button span{flex:1}.currency-list button svg{color:var(--primary);opacity:0}.currency-list button.selected{border-color:var(--primary);background:#f2f5ff}.currency-list button.selected svg{opacity:1}.template-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.template-grid button{border:1px solid var(--line);background:var(--surface);text-align:left;color:var(--text);border-radius:15px;padding:12px;transition:all .18s;position:relative}.template-grid button:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 8px 22px #3867ff1f}.template-grid button.selected{border:2px solid var(--primary)}.template-grid button>svg{color:var(--primary);position:absolute;bottom:10px;right:10px}.mini-invoice{background:#fff;border:1px solid #e1e6f1;border-radius:8px;gap:7px;height:115px;padding:10px;display:grid}.mini-invoice span{background:#536cf1;border-radius:3px;width:35%;height:8px}.mini-invoice i{background:#e7eaf2;border-radius:3px;width:80%;height:5px}.mini-invoice b{background:#edf0fa;width:45%;height:14px;margin-left:auto}.mini-invoice.modern{border-top:9px solid #5b3df5}.mini-invoice.minimal{border:0}.mini-invoice.professional{background:#eefcf9}.success-hero{justify-content:center;gap:15px;font-size:25px;display:flex}.success-hero span{width:70px;height:70px;color:var(--success);background:#e5f8ef;border-radius:50%;place-items:center;display:grid}.ready-card{background:var(--surface2);border-radius:14px;gap:6px;padding:17px;display:grid}.ready-card span{color:var(--muted);font-size:12px}.onboard-actions{justify-content:flex-end;gap:10px;margin-top:30px;display:flex}.app{min-height:100vh}.sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:60;flex-direction:column;width:250px;padding:22px 15px;display:flex;position:fixed;top:0;bottom:0;left:0}.workspace-pill{background:var(--surface2);border-radius:13px;align-items:center;gap:9px;margin:20px 0;padding:12px 8px;font-size:12px;font-weight:800;display:flex}.workspace-pill span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{color:#fff;background:linear-gradient(135deg,#4c74ff,#7c3aed);border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:grid}nav{gap:4px;display:grid;overflow:auto}nav button{color:var(--muted);text-align:left;background:0 0;border-radius:11px;align-items:center;gap:11px;padding:11px;font-size:12px;font-weight:800;display:flex}nav button:hover,nav button.active{color:var(--primary);background:#eef2ff}nav svg{width:17px}.sidebar-bottom{gap:4px;margin-top:auto;display:grid}.sidebar-bottom button{color:var(--muted);background:0 0;align-items:center;gap:10px;padding:11px;font-size:12px;font-weight:800;display:flex}.main{min-height:100vh;margin-left:250px}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);z-index:50;background:#ffffffe0;justify-content:space-between;align-items:center;height:72px;padding:0 25px;display:flex;position:sticky;top:0}.search{background:var(--surface2);border:1px solid var(--line);border-radius:12px;align-items:center;gap:8px;width:min(620px,60%);padding:0 10px;display:flex;position:relative}.search input{box-shadow:none;background:0 0;border:0}.top-actions{align-items:center;gap:5px;display:flex}.notify-wrap{position:relative}.notify-wrap em{background:var(--danger);color:#fff;border-radius:99px;padding:2px 5px;font-size:8px;position:absolute;top:0;right:0}.popover,.search-results{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;position:absolute}.popover{z-index:100;width:330px;top:47px;right:0}.search-results{z-index:100;width:100%;max-height:420px;padding:7px;top:52px;left:0;overflow:auto}.pop-head{border-bottom:1px solid var(--line);justify-content:space-between;padding:12px;font-size:12px;display:flex}.pop-head button{color:var(--primary);background:0 0;font-size:10px}.notice{text-align:left;background:0 0;gap:9px;width:100%;padding:11px;display:flex}.notice.unread{background:var(--surface2)}.notice-dot{background:var(--primary);border-radius:50%;width:7px;height:7px;margin-top:5px}.notice span:nth-child(2){gap:3px;display:grid}.notice small{color:var(--muted)}.result-group{color:var(--primary);text-transform:uppercase;padding:8px;font-size:10px;display:block}.search-results button{text-align:left;width:100%;color:var(--text);background:0 0;border-radius:9px;justify-content:space-between;gap:10px;padding:10px;display:flex}.search-results button:hover{background:var(--surface2)}.search-results small{color:var(--muted)}.content{max-width:1500px;margin:auto;padding:28px}.page-head{justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:24px;display:flex}.page-head h1{letter-spacing:-.03em;margin:5px 0 0;font-size:28px}.head-actions{flex-wrap:wrap;gap:8px;display:flex}.stats-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:22px;display:grid}.stats-grid.four{grid-template-columns:repeat(4,1fr)}.stat{background:var(--surface);border:1px solid var(--line);border-radius:17px;align-items:center;gap:12px;padding:16px;display:flex;box-shadow:0 7px 25px #22326e0d}.stat-icon{width:40px;height:40px;color:var(--primary);background:#edf1ff;border-radius:12px;place-items:center;display:grid}.stat small{color:var(--muted);font-size:10px;display:block}.stat strong{margin-top:3px;font-size:18px;display:block}.quick{margin:22px 0}.quick-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px;display:grid}.quick-card{border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;border-radius:16px;align-items:center;gap:10px;padding:16px;display:flex}.quick-card span{width:37px;height:37px;color:var(--primary);background:#edf1ff;border-radius:10px;place-items:center;display:grid}.quick-card svg:last-child{color:var(--muted);margin-left:auto}.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;margin-bottom:18px;padding:20px;box-shadow:0 8px 28px #22326e0b}.panel h3{margin:0 0 12px}.panel p{color:var(--muted)}.section-head{justify-content:space-between;align-items:center;gap:10px;margin:12px 0;display:flex}.section-head h3{margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-transform:uppercase;color:var(--muted);text-align:left;background:var(--surface2);font-size:10px}th,td{border-bottom:1px solid var(--line);vertical-align:top;padding:12px}tbody tr{cursor:pointer}tbody tr:hover{background:var(--surface2)}td small{color:var(--muted);margin-top:3px;display:block}.status{background:#edf1f8;border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:10px;font-weight:900;display:inline-flex}.status span{background:#64748b;border-radius:50%;width:6px;height:6px}.status.paid{color:#16845e;background:#e8f8f0}.status.paid span{background:#17a673}.status.overdue{color:#b9384b;background:#fff0f2}.status.overdue span{background:#b9384b}.status.partially-paid{color:#9a6d00;background:#fff7df}.status.pending{color:#315bff;background:#eef3ff}.toolbar{gap:10px;margin-bottom:15px;display:flex}.toolbar input{max-width:500px}.toolbar select,.date-select{max-width:180px}.empty{text-align:center;color:var(--muted);padding:50px 20px}.empty>span{background:var(--surface2);width:50px;height:50px;color:var(--primary);border-radius:15px;place-items:center;margin:auto;display:grid}.empty h3{color:var(--text);margin:12px 0 5px}.empty p{margin:0 0 14px}.empty.mini{padding:25px}.cards-list{gap:9px;display:grid}.entity-card{border:1px solid var(--line);border-radius:14px;align-items:center;gap:11px;padding:12px;display:flex}.entity-main{flex:1;gap:3px;min-width:0;display:grid}.entity-main small{color:var(--muted);font-size:10px}.entity-price{margin-left:auto}.product-icon{width:39px;height:39px;color:var(--primary);background:#e9f0ff;border-radius:11px;flex:none;place-items:center;display:grid}.product-icon.purple{color:#7a3ff0;background:#f1eaff}.product-icon.orange{color:#e88716;background:#fff0df}.small{padding:7px 9px}.editor-grid{grid-template-columns:minmax(0,1.3fr) minmax(360px,.8fr);align-items:start;gap:18px;display:grid}.form-panel{min-width:0}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;display:grid}.form-section{margin:20px 0}.item-card{border:1px solid var(--line);background:var(--surface2);border-radius:14px;margin:10px 0;padding:14px}.item-top{justify-content:space-between;align-items:center;display:flex}.editor-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.invoice-paper{color:#17213b;box-shadow:var(--shadow);background:#fff;border:1px solid #e1e5ef;border-radius:16px;min-height:650px;padding:25px;position:sticky;top:90px}.invoice-paper.modern{border-top:10px solid #5b3df5}.invoice-paper.minimal{box-shadow:none}.invoice-paper.professional{border-top:10px solid #0f766e}.paper-head{justify-content:space-between;gap:15px;display:flex}.paper-head>div{gap:5px;display:grid}.paper-head small{color:#68738f;line-height:1.5}.paper-head>strong{color:var(--primary);font-size:24px}.paper-meta{justify-content:space-between;gap:20px;padding:18px 0;display:flex}.paper-meta span{gap:4px;display:grid}.paper-meta small{color:#68738f}.invoice-paper table{font-size:10px}.invoice-paper th{color:#253257;background:#eef2ff}.paper-totals{grid-template-columns:1fr auto;gap:6px;max-width:280px;margin:18px 0 0 auto;font-size:11px;display:grid}.paper-totals strong{border-top:1px solid #cbd5e1;padding-top:8px;font-size:15px}.paper-note{color:#16845e;background:#e8f8f0;border-radius:10px;justify-content:space-between;margin-top:18px;padding:10px;font-size:11px;display:flex}.invoice-detail{max-width:1050px;margin:auto}.detail-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.detail-head div{gap:3px;display:grid}.detail-head small{color:var(--muted)}.bill-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px;display:grid}.bill-grid div{background:var(--surface2);border-radius:12px;gap:4px;padding:12px;display:grid}.bill-grid small{color:var(--muted);font-size:10px}.totals{grid-template-columns:1fr auto;gap:7px;max-width:340px;margin:20px 0 0 auto;display:grid}.totals strong{border-top:1px solid var(--line);padding-top:8px}.payment-state{background:var(--surface2);border-radius:12px;justify-content:space-between;margin-top:18px;padding:12px;display:flex}.payment-state span{color:var(--muted)}.detail-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.chart-grid,.smart-grid,.settings-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.chart{min-height:330px}.report-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.report-card{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:18px}.report-card>span{width:40px;height:40px;color:var(--primary);background:#edf1ff;border-radius:11px;place-items:center;display:grid}.report-card p{color:var(--muted);min-height:35px;font-size:12px}.smart-card textarea{margin:10px 0}.smart-icon{width:48px;height:48px;color:var(--primary);background:#e9edff;border-radius:14px;place-items:center;display:grid}.smart-icon.green{color:var(--success);background:#e5f8ef}.review{border:1px solid var(--line);background:var(--surface2);border-radius:14px;margin-top:15px;padding:14px}.review-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;display:grid}.review-grid span{background:var(--surface);border-radius:9px;gap:3px;padding:9px;display:grid}.review-grid strong{font-size:12px}.extract{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:9px 0;display:flex}.upload{border:1px dashed var(--primary);color:var(--primary);cursor:pointer;border-radius:13px;justify-content:center;gap:8px;margin-top:12px;padding:22px;font-weight:800;display:flex}.upload input,.upload-mini input{display:none}.upload-mini{color:var(--primary);border:1px dashed var(--primary);cursor:pointer;border-radius:8px;padding:7px;font-size:9px}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.setting-row span{gap:3px;display:grid}.setting-row small{color:var(--muted)}.data-actions{flex-wrap:wrap;gap:10px;display:flex}.save-bar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f5f7ffeb;justify-content:flex-end;padding:10px 0;display:flex;position:sticky;bottom:0}.modal-backdrop{z-index:200;background:#0e183773;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:20px;width:min(760px,100%);max-height:90vh;padding:20px;overflow:auto;box-shadow:0 30px 80px #00000040}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal-head h2{margin:0}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.skeleton-page{gap:18px;display:grid}.sk{background:linear-gradient(90deg,var(--surface2),var(--surface),var(--surface2));border-radius:17px;height:100px;animation:1.3s infinite pulse}.sk-title{width:35%;height:45px}.sk-grid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}@keyframes pulse{50%{opacity:.55}}.toast{color:#fff;z-index:500;background:#18243f;border-radius:12px;padding:12px 15px;font-size:12px;font-weight:800;position:fixed;bottom:20px;right:20px}.toast.error{background:#a92f43}.bottom-nav,.fab-menu,.mobile-menu{display:none}html[data-theme=dark]{--bg:#091124;--surface:#101a31;--surface2:#16233f;--text:#f2f5ff;--muted:#9ba8c4;--line:#263555;--shadow:0 18px 55px #00000040}html[data-theme=dark] .topbar{background:#101a31e0}html[data-theme=dark] .invoice-paper,html[data-theme=dark] .mini-invoice{color:#17213b}@media (width<=1100px){.sidebar{width:220px}.main{margin-left:220px}.stats-grid,.quick-grid{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:1fr}.invoice-paper{position:relative;top:auto}.report-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=820px){.sidebar{width:270px;transition:all .2s;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.main{margin-left:0}.topbar{padding:0 15px}.mobile-menu{color:var(--text);background:0 0;padding:8px;display:inline-flex}.search{flex:1;width:auto;margin-left:8px}.content{padding:18px 15px 95px}.bottom-nav{background:var(--surface);border-top:1px solid var(--line);z-index:70;grid-template-columns:1fr 1fr 70px 1fr 1fr;height:67px;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);background:0 0;align-content:center;place-items:center;font-size:9px;font-weight:800;display:grid}.bottom-nav button.active{color:var(--primary)}.bottom-nav svg{width:18px}.fab-menu{z-index:80;display:block;position:fixed;bottom:76px;left:50%;transform:translate(-50%)}.fab{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));border-radius:50%;place-items:center;width:55px;height:55px;display:grid;box-shadow:0 10px 25px #414ce659}.fab-options{background:var(--surface);border:1px solid var(--line);width:190px;box-shadow:var(--shadow);border-radius:15px;padding:7px;position:absolute;bottom:65px;right:-65px}.fab-options button{width:100%;color:var(--text);text-align:left;background:0 0;padding:10px;display:block}.stats-grid,.stats-grid.four,.chart-grid,.smart-grid,.settings-grid,.report-grid{grid-template-columns:1fr}.bill-grid{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr}.head-actions{justify-content:flex-start}.page-head{align-items:flex-start}.page-head h1{font-size:24px}.welcome,.auth-page{grid-template-columns:1fr}.welcome-art,.auth-art{display:none}.welcome-copy{margin:auto;padding:30px 20px}.welcome-copy h1{font-size:42px}.mobile-brand{margin-bottom:30px;display:flex}.auth-card{padding:30px 0}.onboard-card{margin:30px auto;padding:25px}.template-grid,.form-grid{grid-template-columns:1fr}.review-grid{grid-template-columns:1fr 1fr}.entity-card{flex-wrap:wrap}.search-results{width:auto;position:fixed;top:68px;left:15px;right:15px}.popover{right:-50px}.sk-grid{grid-template-columns:1fr 1fr}}@media (width<=480px){.quick-grid{grid-template-columns:1fr 1fr}.toolbar{display:grid}.toolbar input,.toolbar select{max-width:none}.bill-grid{grid-template-columns:1fr}.invoice-paper{padding:15px}.paper-head>strong{font-size:18px}.paper-totals{max-width:100%}.review-grid{grid-template-columns:1fr}.page-head{display:block}.page-head>.primary,.page-head>.secondary{width:100%;margin-top:12px}}@media print{.sidebar,.topbar,.bottom-nav,.fab-menu,.page-head,.toast{display:none!important}.main{margin:0}.content{padding:0}.invoice-detail{box-shadow:none;border:0}.invoice-detail *{color:#111!important}}.demo-code{color:#8a6500;text-align:center;background:#fff7df;border:1px solid #f0d98a;border-radius:10px;margin:12px 0;padding:11px 14px;font-size:13px}.demo-code strong{letter-spacing:2px;font-size:18px}.auth-error{color:#a52e45;background:#fff0f2;border:1px solid #f3c4ce;border-radius:10px;margin-top:12px;padding:11px 14px;font-size:13px;line-height:1.4}.splash-grid{opacity:.16;background-image:linear-gradient(#ffffff40 1px,#0000 1px),linear-gradient(90deg,#ffffff40 1px,#0000 1px);background-size:42px 42px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.splash-copy{z-index:3;text-align:center}.splash-copy h1{letter-spacing:-.05em;margin:8px 0 2px;font-size:48px}.splash-copy p{font-size:17px;font-weight:800}.splash-copy small{opacity:.72;margin-top:8px;display:block}.splash-art{z-index:2;animation:3.5s ease-in-out infinite floatCard;position:absolute;top:50%;transform:translateY(-50%)}.splash-art.left{left:8%}.splash-art.right{animation-delay:-1.5s;right:8%}.mini-float{color:#17213b;background:#fffffff5;border-radius:20px;gap:5px;width:190px;padding:18px;display:grid;transform:rotate(-8deg);box-shadow:0 25px 60px #0003}.mini-float.purple{transform:rotate(8deg)}.mini-float svg{color:#3867ff;width:28px}.mini-float b{font-size:24px}.mini-float small{color:#68738f}.mini-float.purple svg{color:#7a3ff0}@keyframes floatCard{0%,to{margin-top:0}50%{margin-top:-16px}}@media (width<=900px){.splash-art{display:none}.invoice-hero{width:92px;height:92px}.splash-copy h1{font-size:42px}}.email-status-card{border:1px solid var(--line);background:var(--surface2);border-radius:12px;gap:5px;margin-top:12px;padding:14px 16px;display:grid}.email-status-card small,.muted{color:var(--muted);line-height:1.5}.invoice-paper.elegant{border-top:10px solid #a16207}.invoice-paper.corporate{border-top:10px solid #1d4ed8}.invoice-paper.creative{border-top:10px solid #db2777}.invoice-paper.bold{border-top:12px solid #dc2626}.mini-invoice.elegant{background:#fffbeb;border-color:#fde68a}.mini-invoice.corporate{border-top:9px solid #1d4ed8}.mini-invoice.creative{background:#fdf2f8}.mini-invoice.bold{border-top:11px solid #dc2626}.mini-invoice.elegant span{background:#a16207}.mini-invoice.creative span{background:#db2777}.mini-invoice.bold span{background:#dc2626}.language-select{align-items:center;gap:9px;min-width:230px;display:flex}.language-select>span{white-space:nowrap;color:var(--muted,#64748b);font-size:12px;font-weight:700}.language-select select{border:1px solid var(--border,#dbe3ef);background:var(--card,#fff);min-width:150px;color:var(--text,#17213b);cursor:pointer;border-radius:12px;outline:none;padding:9px 11px;font-weight:700;transition:all .2s}.language-select select:hover,.language-select select:focus{border-color:#315bff;box-shadow:0 0 0 4px #315bff1a}.invoice-language-toolbar{background:linear-gradient(135deg,#315bff12,#5b3df50a);border:1px solid #315bff24;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 14px;display:flex}.invoice-language-toolbar .language-select{min-width:0}.language-hint{color:var(--muted,#64748b);font-size:12px}.field-help{color:var(--muted,#64748b);margin-bottom:7px;font-size:12px;display:block}.preview-ready{background:#315bff0f;border:1px solid #315bff1f;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;display:flex}.preview-ready>span{color:#0f766e;font-size:12px;font-weight:800}.preview-ready .language-select{min-width:auto}.preview-ready .language-select>span{display:none}.preview-ready .language-select select{min-width:170px;padding:7px 9px;font-size:12px}.detail-language{margin-bottom:18px}@media (width<=700px){.invoice-language-toolbar{flex-direction:column;align-items:flex-start}.language-select{justify-content:space-between;width:100%}.language-select select{flex:1;min-width:0}.preview-ready{flex-direction:column;align-items:stretch}.preview-ready .language-select{width:100%}}.language-select{background:0 0;color:var(--text)!important}.language-select>span{font-weight:800;color:var(--text)!important}.language-select select{box-shadow:0 4px 14px #0f172a14;color:#17213b!important;background:#fff!important;border:2px solid #cbd5e1!important}.language-select select:hover,.language-select select:focus{color:#17213b!important;background:#fff!important;border-color:#315bff!important}.language-select select option{font-weight:700;color:#17213b!important;background:#fff!important}html[data-theme=dark] .language-select select,html[data-theme=dark] .language-select select option{color:#17213b!important;background:#fff!important}.invoice-language-toolbar .language-select{background:#ffffffbf;border-radius:12px;padding:4px 7px}.structured-invoice{gap:14px;display:grid}.invoice-meta-grid{grid-template-columns:1.3fr .7fr;gap:12px;display:grid}.invoice-meta-grid>div{background:#f8fafc;border:1px solid #dbe3ef;border-radius:13px;gap:4px;padding:13px;display:grid}.invoice-meta-grid small{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:10px;font-weight:800}.invoice-meta-grid b{color:#17213b;font-size:13px}.invoice-meta-grid span{color:#475569;font-size:11px}.paper-bottom-grid{grid-template-columns:1fr 280px;align-items:start;gap:18px;display:grid}.payment-summary{background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;gap:7px;padding:14px;display:grid}.payment-summary>b,.payment-summary h3{color:#17213b;margin:0}.payment-summary>span{color:#0f766e;font-size:13px;font-weight:800}.payment-summary small{color:#64748b}.tax-auto-banner{color:#0f766e;background:#ecfdf5;border:1px solid #0f766e33;border-radius:13px;align-items:center;gap:10px;margin:4px 0 15px;padding:11px 13px;display:flex}.tax-auto-banner svg{width:20px}.tax-auto-banner span{gap:2px;display:grid}.tax-auto-banner small{color:#475569;font-size:11px}.suggest-wrap{position:relative}.suggestions{z-index:120;background:var(--surface);border:1px solid var(--line);border-radius:13px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:hidden;box-shadow:0 18px 45px #0f172a2e}.suggestions button{text-align:left;background:var(--surface);width:100%;color:var(--text);border:0;border-bottom:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.suggestions button:last-child{border-bottom:0}.suggestions button:hover{background:#eef2ff}.suggestions span{gap:3px;display:grid}.suggestions small{color:var(--muted);font-size:10px}.suggestions strong{color:var(--primary);white-space:nowrap;font-size:11px}.invoice-summary-grid{grid-template-columns:1fr 320px;align-items:start;gap:18px;display:grid}.payment-entry{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:9px 0;display:flex}.payment-entry span{gap:3px;display:grid}.payment-entry small{color:var(--muted);font-size:10px}.payment-total{border-top:2px solid var(--primary);justify-content:space-between;margin-top:4px;padding-top:11px;font-weight:900;display:flex}.overpaid-note{color:#c2410c;background:#fff7ed;border-radius:9px;align-items:center;gap:6px;margin-top:9px;padding:8px 9px;font-size:11px;font-weight:800;display:flex}.verify-placeholder,.verify-card-inline{background:#f8fafc;border:1px dashed #94a3b8;border-radius:14px;align-items:center;gap:12px;padding:13px 15px;display:flex}.verify-placeholder svg,.verify-icon-small svg{width:25px;color:var(--primary)}.verify-placeholder span,.verify-card-inline div:last-child{gap:3px;display:grid}.verify-placeholder small,.verify-card-inline small{color:#64748b;font-size:10px;line-height:1.4}.verify-card-inline code{color:#475569;word-break:break-all;font-size:9px}.verify-page{color:#17213b;background:radial-gradient(circle at top,#e0e7ff,#0000 42%),linear-gradient(135deg,#0b3d91,#312e81);place-items:center;min-height:100vh;padding:25px;display:grid}.verify-card{text-align:center;background:#fff;border-radius:25px;width:min(650px,100%);padding:35px;box-shadow:0 30px 90px #00000040}.verify-icon{border-radius:50%;place-items:center;width:72px;height:72px;margin:0 auto 16px;display:grid}.verify-icon.success{color:#15803d;background:#dcfce7}.verify-icon.error{color:#b91c1c;background:#fee2e2}.verify-icon.spin{color:#315bff;background:#eef2ff}.verify-icon svg{width:38px;height:38px}.verify-icon.spin svg{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.verify-badge{color:#166534;background:#dcfce7;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;display:inline-flex}.verify-badge.error{color:#991b1b;background:#fee2e2}.verify-card h1{margin:12px 0 5px}.verify-sub{color:#64748b}.verify-details{text-align:left;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0;display:grid}.verify-details>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:4px;padding:12px;display:grid}.verify-details span{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:800}.verify-details b{font-size:13px}.authentic{color:#166534;background:#f0fdf4;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:12px;font-size:12px;font-weight:800;display:flex}.authentic.invalid{color:#991b1b;background:#fef2f2}@media (width<=700px){.invoice-meta-grid,.paper-bottom-grid,.invoice-summary-grid{grid-template-columns:1fr}.verify-card{padding:25px 18px}.verify-details{grid-template-columns:1fr}.language-select{flex-wrap:wrap}.language-select select{width:100%}}.template-picker{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);cursor:pointer;text-align:left;border-radius:13px;align-items:center;gap:11px;padding:11px 13px;display:flex}.template-picker:hover{border-color:var(--primary);box-shadow:0 8px 24px #315bff1a}.template-picker>span:nth-child(2){flex:1;gap:2px;display:grid}.template-picker small{color:var(--muted);font-size:10px}.template-swatch{background:linear-gradient(135deg,#fff 0 42%,#315bff 42% 50%,#eef2ff 50%);border:2px solid #315bff;border-radius:9px;width:38px;height:38px}.template-swatch.modern{background:linear-gradient(160deg,#5b3df5 0 34%,#fff 34% 67%,#ede9fe 67%);border-color:#5b3df5}.template-swatch.minimal{background:linear-gradient(#fff,#fff) padding-box padding-box,linear-gradient(#334155,#cbd5e1) border-box;border-color:#334155}.template-swatch.professional{background:linear-gradient(90deg,#0f766e 0 24%,#fff 24% 76%,#d1fae5 76%);border-color:#0f766e}.template-swatch.elegant{background:linear-gradient(135deg,#fffbeb,#fff 52%,#fef3c7);border-color:#a16207}.template-swatch.corporate{background:linear-gradient(#1d4ed8 0 30%,#eff6ff 30% 70%,#1e3a8a 70%);border-color:#1d4ed8}.template-swatch.creative{background:linear-gradient(135deg,#fdf2f8 0 45%,#db2777 45% 55%,#fce7f3 55%);border-color:#db2777}.template-swatch.bold{background:linear-gradient(#dc2626 0 22%,#fff 22% 72%,#fee2e2 72%);border-color:#dc2626}.template-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.template-option{border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;text-align:left;border-radius:15px;grid-template-columns:110px 1fr auto;align-items:center;gap:12px;padding:11px;transition:all .18s;display:grid;position:relative}.template-option:hover,.template-option.selected{border-color:var(--primary);transform:translateY(-1px);box-shadow:0 10px 28px #315bff1f}.template-option>span{gap:4px;display:grid}.template-option>span small{color:var(--muted);font-size:10px}.template-option>svg{color:var(--primary);width:18px}.template-preview{background:#fff;border:1px solid #cbd5e1;border-radius:8px;grid-template-rows:18px 1fr 15px;gap:7px;height:122px;padding:9px;display:grid;overflow:hidden}.template-preview .tp-head{border-bottom:3px solid #315bff}.template-preview .tp-body i{background:#f8fafc;border:1px solid #dbe3ef;border-radius:2px;display:block}.template-preview .tp-total{background:#315bff;border-radius:2px;justify-self:end;width:52%}.template-preview.modern{background:linear-gradient(90deg,#f5f3ff 0 28%,#fff 28%);grid-template-rows:26px 1fr 18px}.template-preview.modern .tp-head{background:#5b3df5;border:0;border-radius:3px}.template-preview.modern .tp-total{background:#5b3df5;width:70%}.template-preview.minimal{border:0;border-radius:0}.template-preview.minimal .tp-head{border-bottom:1px solid #334155}.template-preview.minimal .tp-body i{background:#fff;border:0;border-bottom:1px solid #e2e8f0}.template-preview.minimal .tp-total{background:#334155;height:2px}.template-preview.professional{border-color:#0f766e}.template-preview.professional .tp-head{background:#0f766e;border:0;border-radius:3px}.template-preview.elegant{background:#fffcf2;border-color:#d6b36a}.template-preview.elegant .tp-head{border-bottom:2px double #a16207}.template-preview.elegant .tp-body i{background:#fffdf5}.template-preview.elegant .tp-total{background:#a16207}.template-preview.corporate{border-color:#1d4ed8}.template-preview.corporate .tp-head{background:#1d4ed8;border:0}.template-preview.corporate .tp-total{background:#1d4ed8;width:85%}.template-preview.creative{background:#fff7fb;border-color:#db2777}.template-preview.creative .tp-head{background:linear-gradient(90deg,#db2777,#7c3aed);border:0;border-radius:9px 2px}.template-preview.creative .tp-body{grid-template-columns:1fr 1fr}.template-preview.creative .tp-total{background:#db2777}.template-preview.bold{border:3px solid #dc2626}.template-preview.bold .tp-head{background:#dc2626;border:0}.template-preview.bold .tp-body{grid-template-columns:repeat(4,1fr)}.template-preview.bold .tp-total{background:#dc2626;width:100%;height:18px}.tax-breakdown{border:1px solid var(--line);background:var(--surface2);border-radius:14px;gap:6px;padding:15px;display:grid}.tax-breakdown h3{margin:0}.tax-breakdown span{color:var(--primary);font-weight:900}.tax-breakdown small{color:var(--muted)}.invoice-qr-image{object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:120px;height:120px;padding:5px}.invoice-paper.modern{background:linear-gradient(135deg,#faf9ff,#fff);border:1px solid #ddd6fe;border-radius:22px}.invoice-paper.modern .paper-head{color:#fff;background:linear-gradient(90deg,#5b3df5,#7c3aed);border-radius:14px;padding:18px}.invoice-paper.modern .paper-head small{color:#ede9fe}.invoice-paper.modern .paper-head strong{color:#fff}.invoice-paper.minimal{box-shadow:none;background:#fff;border:0;border-radius:0}.invoice-paper.minimal .invoice-meta-grid>div{background:#fff;border:0;border-bottom:1px solid #cbd5e1;border-radius:0}.invoice-paper.minimal .table-wrap table{border:0}.invoice-paper.minimal .table-wrap th{color:#334155;background:#fff;border-bottom:2px solid #334155}.invoice-paper.minimal .table-wrap td{border-left:0;border-right:0}.invoice-paper.professional{border:2px solid #0f766e}.invoice-paper.professional .paper-head{background:#ecfdf5;border-left:8px solid #0f766e;padding:16px}.invoice-paper.professional .table-wrap th{background:#0f766e}.invoice-paper.elegant .paper-head{border-bottom:2px double #a16207;padding-bottom:16px}.invoice-paper.elegant .table-wrap th{background:#a16207}.invoice-paper.corporate{background:#f8fbff;border:0}.invoice-paper.corporate .paper-head small{color:#dbeafe}.invoice-paper.corporate .paper-head strong{color:#fff}.invoice-paper.corporate .table-wrap th{background:#1d4ed8}.invoice-paper.bold .paper-head{border-bottom:4px solid #dc2626;padding:18px}.invoice-paper.bold .table-wrap th{background:#dc2626}.invoice-paper.bold .paper-totals strong{font-size:18px}@media (width<=760px){.template-gallery{grid-template-columns:1fr}.template-option{grid-template-columns:88px 1fr auto}.template-preview{height:105px}.invoice-qr-image{width:100px;height:100px}}.template-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-option{grid-template-columns:1fr;align-items:stretch;min-height:205px;padding:10px;overflow:hidden}.template-option>span{padding:2px 4px 0}.template-option>svg{position:absolute;bottom:10px;right:12px}.template-preview{background:#fff;border:1px solid #dbe3ef;border-radius:11px;height:135px;padding:12px;position:relative;overflow:hidden}.template-preview:before{content:"";pointer-events:none;position:absolute;inset:0}.template-preview .tp-head{background:#315bff;border-radius:6px;height:23px;margin-bottom:9px}.template-preview .tp-body{grid-template-columns:1fr 1fr;gap:5px;display:grid}.template-preview .tp-body i{background:#e8edf7;border-radius:2px;height:9px}.template-preview .tp-total{background:#dbe7ff;border-radius:4px;width:42%;height:22px;margin:9px 0 0 auto}.template-preview.modern{background:linear-gradient(135deg,#f5f3ff,#fff);border:2px solid #7c3aed}.template-preview.modern .tp-head{background:linear-gradient(90deg,#5b3df5,#8b5cf6);border-radius:0 0 12px 12px;height:36px;margin:-12px -12px 10px}.template-preview.modern .tp-body{grid-template-columns:1fr 1fr 1fr}.template-preview.modern .tp-total{background:#ede9fe}.template-preview.minimal{background:#fff;border:0}.template-preview.minimal .tp-head{background:#334155;border-radius:0;height:8px;margin:2px 0 14px}.template-preview.minimal .tp-body{display:block}.template-preview.minimal .tp-body i{background:0 0;border-bottom:1px solid #cbd5e1;margin:8px 0;display:block}.template-preview.minimal .tp-total{background:#f1f5f9}.template-preview.professional{background:#ecfdf5;border:2px solid #0f766e}.template-preview.professional .tp-head{background:#0f766e;border-radius:4px 18px 4px 4px;height:32px}.template-preview.professional .tp-body{grid-template-columns:1fr 2fr}.template-preview.professional .tp-total{background:#bbf7d0}.template-preview.elegant{background:#fffcf2;border:1px solid #c9a85d}.template-preview.elegant .tp-head{background:#a16207;border-radius:2px;height:25px}.template-preview.elegant .tp-body{grid-template-columns:repeat(3,1fr)}.template-preview.elegant .tp-total{background:#fef3c7;border:1px solid #d6b36a}.template-preview.corporate{background:#eff6ff;border:0;border-left:9px solid #1d4ed8;border-radius:4px}.template-preview.corporate .tp-head{background:#1d4ed8;border-radius:4px;height:38px}.template-preview.corporate .tp-body{grid-template-columns:2fr 1fr}.template-preview.corporate .tp-total{background:#bfdbfe}.template-preview.creative{background:#fff7fb;border:1px solid #f9a8d4}.template-preview.creative .tp-head{background:linear-gradient(90deg,#db2777,#8b5cf6);border-radius:14px 3px;height:26px}.template-preview.creative .tp-body i:nth-child(odd){background:#fce7f3}.template-preview.creative .tp-total{background:#f5d0fe;transform:skew(-10deg)}.template-preview.bold{background:#111827;border:2px solid #dc2626}.template-preview.bold .tp-head{background:#dc2626;border-radius:0;height:36px}.template-preview.bold .tp-body i{background:#374151}.template-preview.bold .tp-total{background:#fee2e2}.invoice-paper{overflow:hidden}.invoice-paper.classic{background:#fff;border:1px solid #315bff}.invoice-paper.classic .paper-head{border-bottom:3px solid #315bff;padding-bottom:14px}.invoice-paper.modern{background:linear-gradient(145deg,#faf9ff,#fff);border:2px solid #7c3aed}.invoice-paper.modern .structured-invoice{position:relative}.invoice-paper.modern .structured-invoice:before{content:"";background:linear-gradient(#5b3df5,#a855f7);border-radius:10px;width:6px;position:absolute;top:0;bottom:0;left:0}.invoice-paper.modern .invoice-meta-grid>div{background:#faf5ff;border-color:#ddd6fe;border-radius:16px}.invoice-paper.modern .paper-head{border-radius:0 0 16px 16px}.invoice-paper.minimal{background:#fff;border:1px solid #cbd5e1}.invoice-paper.minimal .paper-head{border-bottom:1px solid #334155;padding-bottom:18px}.invoice-paper.minimal .invoice-meta-grid{gap:28px}.invoice-paper.minimal .invoice-meta-grid>div{background:0 0;border:0;border-left:3px solid #334155;padding-left:12px}.invoice-paper.minimal .paper-bottom-grid{border-top:1px solid #cbd5e1;padding-top:18px}.invoice-paper.professional{background:#fafffd;border:2px solid #0f766e}.invoice-paper.professional .paper-head{background:#ecfdf5;border-left:9px solid #0f766e;border-radius:0 16px 16px 0;padding:18px}.invoice-paper.professional .invoice-meta-grid>div{background:#f0fdfa;border-color:#99f6e4}.invoice-paper.professional .table-wrap{box-shadow:0 8px 20px #0f766e14}.invoice-paper.elegant{background:#fffcf2;border:1px solid #d6b36a;box-shadow:0 16px 40px #a162071a}.invoice-paper.elegant .paper-head{border-top:4px double #a16207;border-bottom:4px double #a16207;padding:20px 12px}.invoice-paper.elegant .invoice-meta-grid>div{background:#fffdf7;border:1px solid #ead9a7}.invoice-paper.elegant .paper-totals{border-left:3px solid #a16207;padding-left:14px}.invoice-paper.corporate{background:#f8fbff;border:0;border-left:10px solid #1d4ed8}.invoice-paper.corporate .paper-head{color:#fff;background:#1d4ed8;border-radius:0 0 18px;padding:20px}.invoice-paper.corporate .invoice-meta-grid>div{background:#eff6ff;border-color:#bfdbfe}.invoice-paper.corporate .paper-totals strong{background:#dbeafe;padding:7px}.invoice-paper.creative{background:#fff7fb;border:2px solid #f9a8d4}.invoice-paper.creative .paper-head{background:linear-gradient(135deg,#fce7f3,#ede9fe);border-radius:22px 5px;padding:18px}.invoice-paper.creative .invoice-meta-grid>div{background:#fff;border-color:#f9a8d4;border-radius:20px 6px}.invoice-paper.creative .table-wrap th{background:linear-gradient(90deg,#db2777,#8b5cf6)}.invoice-paper.bold{background:#fff;border:4px solid #dc2626}.invoice-paper.bold .paper-head{color:#fff;background:#111827;border-bottom:7px solid #dc2626;padding:20px}.invoice-paper.bold .paper-head small{color:#d1d5db}.invoice-paper.bold .invoice-meta-grid>div{background:#f9fafb;border:2px solid #111827}.invoice-paper.bold .paper-totals strong{background:#fee2e2;padding:8px;font-size:18px}.verify-topline{justify-content:center;align-items:center;gap:14px;margin-bottom:8px;display:flex}.verify-topline>div:last-child{text-align:left;gap:4px;display:grid}.verify-topline small{color:#64748b;font-weight:700}.verify-brand{color:#315bff;letter-spacing:.02em;margin-top:8px;font-size:13px;font-weight:950}.verify-brand span{color:#64748b;margin-left:5px;font-weight:700}.verify-details{background:#f8fafc;border:1px solid #dbe3ef;border-radius:18px;padding:10px}.verify-details>div{background:#fff;box-shadow:0 3px 10px #0f172a0a}.verification-id{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px!important}.status-value{color:#166534}.verify-error-box{color:#991b1b;word-break:break-word;background:#fff1f2;border:1px solid #fecaca;border-radius:10px;margin:14px 0;padding:10px;font-size:11px}@media (width<=900px){.template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.template-gallery{grid-template-columns:1fr}.template-option{min-height:190px}}.invoice-output{overflow:hidden;color:#12315f!important;border:2px solid var(--invoice-accent)!important;background:#fff!important;border-radius:12px!important;padding:26px!important;box-shadow:0 18px 45px #1f497d1f!important}.invoice-output .preview-ready{background:#f8fbff}.output-top{border-bottom:2px solid var(--invoice-accent);justify-content:space-between;gap:20px;padding:5px 4px 14px;display:flex}.output-top h1{color:var(--invoice-accent);margin:0;font-size:27px}.output-top small{color:#64748b;margin-top:4px;display:block}.output-top>div:last-child{text-align:right}.output-top h2{color:var(--invoice-accent);margin:0;font-size:24px}.output-info-grid{grid-template-columns:1fr 1fr;gap:14px;margin:14px 0;display:grid}.output-box{background:#eef6ff;border:1px solid #bfdbfe;border-radius:10px;gap:4px;padding:14px;display:grid}.output-box h3{color:var(--invoice-accent);margin:0 0 5px;font-size:14px}.output-box b{font-size:13px}.output-box span{color:#27466f;font-size:11px}.output-meta{grid-template-columns:repeat(4,1fr);gap:10px;margin:8px 0 13px;display:grid}.output-meta>span{border-bottom:1px solid #dbeafe;padding:8px 5px;font-size:11px}.output-meta .status{padding:4px 8px}.output-items table{border-collapse:separate;border-spacing:0;border:1px solid #bfdbfe;border-radius:8px;overflow:hidden}.output-items th{background:var(--invoice-accent);color:#fff}.output-items th,.output-items td{padding:11px 9px}.output-items td small{color:#64748b;margin-top:3px;font-size:10px;display:block}.output-bottom{grid-template-columns:1.05fr .95fr;gap:16px;margin-top:15px;display:grid}.payment-strip{color:#36567f;border-top:1px solid #dbeafe;border-bottom:1px solid #dbeafe;margin-bottom:10px;padding:9px 2px;font-size:10px;line-height:1.6}.payment-strip span{color:#94a3b8;margin:0 5px}.output-payment{display:none}.output-qr{margin-top:12px;background:#eef6ff!important;border:1px solid #bfdbfe!important}.output-qr .invoice-qr-image{width:92px;height:92px}.output-totals{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;grid-template-columns:1fr auto;align-content:start;padding:10px 12px;font-size:11px;display:grid}.output-totals span,.output-totals b{border-bottom:1px solid #dbeafe;padding:7px 0}.output-totals b{text-align:right}.output-totals strong{color:var(--invoice-accent);background:#dbeafe;border-top:2px solid #93c5fd;padding:11px 8px;font-size:17px}.output-terms{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px;padding:12px;display:grid}.output-terms h3{color:var(--invoice-accent);margin:0 0 6px;font-size:13px}.output-terms p{color:#36567f;margin:0;font-size:10px;line-height:1.6}.output-badges{color:var(--invoice-accent);text-align:center;border-top:1px solid #dbeafe;grid-template-columns:repeat(4,1fr);gap:0;margin-top:10px;padding-top:10px;font-size:10px;font-weight:800;display:grid}.output-thanks{text-align:center;color:var(--invoice-accent);background:#eaf4ff;border-radius:8px;margin-top:10px;padding:12px;font-size:12px}.invoice-output.modern{border-top:7px solid var(--invoice-accent)!important}.invoice-output.minimal{box-shadow:none!important}.invoice-output.elegant{border:3px double var(--invoice-accent)!important}.invoice-output.corporate .output-top{background:#f1f5ff;border-radius:8px;padding:14px}.invoice-output.creative .output-box{border-radius:18px}.invoice-output.bold .output-top{background:var(--invoice-accent);color:#fff;border-radius:8px;padding:15px}.invoice-output.bold .output-top h1,.invoice-output.bold .output-top h2{color:#fff}.invoice-output.professional .output-box{background:#effaf7}.invoice-output .verify-card-inline code{display:none}@media print{.invoice-output{border:2px solid var(--invoice-accent)!important;box-shadow:none!important;border-radius:0!important}.invoice-output .preview-ready{display:none!important}.invoice-output{padding:18px!important}.output-top h1{font-size:23px}.output-info-grid{gap:8px}.output-box{padding:9px}.output-meta{gap:5px}.output-items th,.output-items td{padding:7px 5px}.payment-strip{padding:7px 2px}.output-terms,.output-thanks{padding:8px}}@media (width<=800px){.output-info-grid,.output-bottom,.output-terms{grid-template-columns:1fr}.output-meta,.output-badges{grid-template-columns:1fr 1fr}.payment-strip{font-size:9px}.output-payment{display:none}}.currency-select{font-weight:800;color:var(--text)!important;background:var(--surface)!important;opacity:1!important;-webkit-text-fill-color:var(--text)!important}.currency-select option{color:#172554;background:#fff;font-weight:700}.business-highlight{letter-spacing:-.025em;color:var(--invoice-accent,#2563eb);text-shadow:0 1px #fff9;font-size:28px;font-weight:950;line-height:1.08;display:inline-block}.paper-head small{font-size:10px;line-height:1.55}.paper-head>div:last-child>strong{gap:3px;display:grid}.paper-head>div:last-child>strong small{color:inherit;opacity:.75;font-size:9px;font-weight:700}.screen-payment-summary{color:#12315f;background:linear-gradient(135deg,#f7fbff,#eef6ff);border:1px solid #bfdbfe;border-radius:10px;padding:12px 14px}.screen-payment-summary h3{color:var(--invoice-accent,#2563eb);margin:0 0 8px;font-size:14px}.screen-payment-summary p{border-bottom:1px solid #dbeafe;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0;padding-bottom:5px;font-size:11px;display:grid}.screen-payment-summary p:last-child{border-bottom:0}.screen-payment-summary p span{text-align:right;font-weight:700}.preview-qr-card{background:#eef6ff;border:1px solid #bfdbfe;border-radius:10px;align-items:center;gap:12px;margin-top:12px;padding:10px;display:flex}.preview-qr-card small{color:#36567f;margin-top:4px;font-size:10px;display:block}.qr-placeholder{border:4px solid var(--invoice-accent,#2563eb);width:58px;height:58px;color:var(--invoice-accent,#2563eb);background:#fff;place-items:center;font-size:34px;display:grid}.invoice-output{letter-spacing:.005em;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.invoice-output .output-top h1{letter-spacing:-.03em;font-size:30px;font-weight:950}.invoice-output .output-top h2{font-size:25px;font-weight:900}.invoice-output .output-box h3,.invoice-output .output-terms h3{letter-spacing:.01em;font-weight:900}.invoice-output .output-items th{letter-spacing:.02em;font-size:11px}.invoice-output .output-items td{font-size:11px}.detail-payment-summary{margin-bottom:10px}.print-payment-strip{display:none}.invoice-output .output-bottom{align-items:start}.invoice-output .output-qr{margin-top:10px}.invoice-output .output-thanks{font-size:13px;font-weight:800}@media print{.invoice-output .detail-payment-summary,.invoice-output .print-payment-strip{display:none!important}.invoice-output .output-bottom{grid-template-columns:1fr auto!important;display:grid!important}.invoice-output .output-qr{display:flex!important}.invoice-output{font-family:Arial,sans-serif!important}.invoice-output .output-top h1{font-size:24px}.invoice-output .output-top h2{font-size:22px}}.eco-banner{color:#14532d;background:linear-gradient(135deg,#f0fdf4,#ecfeff);border:1px solid #bbf7d0;border-radius:16px;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;display:flex}.eco-banner svg{width:24px;height:24px}.eco-banner div{flex-direction:column;gap:3px;display:flex}.eco-banner span{color:#166534;font-size:13px}.feature-grid{grid-template-columns:1fr 1fr;gap:18px;margin:18px 0;display:grid}.feature-card{position:relative}.feature-icon{background:#eef2ff;border-radius:12px;place-items:center;width:42px;height:42px;margin-bottom:10px;display:grid}.feature-icon.warn{color:#c2410c;background:#fff7ed}.feature-icon.gold{color:#a16207;background:#fefce8}.mini-list{gap:8px;margin:14px 0;display:grid}.mini-list div,.dashboard-review{background:var(--surface-2,#f8fafc);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;display:flex}.mini-list b{color:#c2410c}.review-score{align-items:baseline;gap:10px;margin:14px 0;display:flex}.review-score strong{font-size:30px}.review-score span,.stars button{color:#eab308}.review-score small{color:#64748b}.dashboard-review{flex-wrap:wrap;justify-content:flex-start}.dashboard-review span{color:#eab308}.dashboard-review small{color:#64748b;width:100%}.customer-tools{margin-bottom:18px}.inline-form{gap:10px;margin-top:12px;display:flex}.inline-form input{flex:1}.lookup-card{background:var(--surface-2,#f8fafc);border-radius:14px;grid-template-columns:2fr 1fr 1fr 1fr;align-items:center;gap:10px;margin-top:14px;padding:14px;display:grid}.lookup-card div{flex-direction:column;display:flex}.lookup-card small{color:#64748b}.low-stock-text{color:#dc2626}.review-form{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:18px}.review-form h3{margin:0 0 10px}.review-form input,.review-form textarea{width:100%;margin:7px 0}.stars{gap:4px;margin-bottom:8px;display:flex}.stars button{cursor:pointer;opacity:.35;background:0 0;border:0;font-size:30px}.stars button.selected{opacity:1}.verify-card{max-width:720px}.verify-details{grid-template-columns:1fr 1fr;gap:10px;display:grid}.verify-details>div{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.verify-details span,.verify-details b{display:block}.verify-details span{color:#64748b;margin-bottom:4px;font-size:12px}.verification-id{word-break:break-all}.authentic{margin-top:14px}.feature-card .text-btn{margin-top:10px}@media (width<=800px){.feature-grid,.lookup-card{grid-template-columns:1fr}.inline-form{flex-direction:column}.verify-details{grid-template-columns:1fr}}.loyalty-card{grid-template-columns:1.5fr auto 1.4fr;align-items:center;gap:18px;display:grid}.loyalty-points{flex-direction:column;align-items:center;display:flex}.loyalty-points strong{color:#a16207;font-size:36px}.loyalty-points span{color:#64748b;font-size:12px}.invoice-eco{margin:0 0 14px}.invoice-eco span{font-size:12px}@media (width<=900px){.loyalty-card{grid-template-columns:1fr}.loyalty-points{align-items:flex-start}}.invoice-output{font-family:var(--invoice-font,Inter),Arial,sans-serif}.business-logo{object-fit:contain;border-radius:10px;width:58px;height:58px;margin-bottom:6px;display:block}.invoice-output.layout-compact .output-info-grid{gap:8px}.invoice-output.layout-compact .output-box{padding:10px}.invoice-output.layout-executive .output-top{padding-bottom:18px}.invoice-output.layout-e-commerce .output-items th{text-transform:uppercase;letter-spacing:.04em}.invoice-output.layout-e-commerce .output-thanks{font-size:15px}.invoice-output.layout-e-commerce .output-badges{border-radius:14px}.invoice-output.layout-executive .business-highlight{letter-spacing:-.03em}html[data-theme=dark] body,html[data-theme=dark] .app{background:var(--bg);color:var(--text)}html[data-theme=dark] .sidebar{color:var(--text);background:#0b1428;border-color:#263555}html[data-theme=dark] .sidebar nav button,html[data-theme=dark] .sidebar-bottom button{color:#cbd5e1;background:0 0}html[data-theme=dark] .sidebar nav button:hover,html[data-theme=dark] .sidebar nav button.active,html[data-theme=dark] .sidebar-bottom button:hover{color:#fff;background:#16233f}html[data-theme=dark] .workspace-pill{color:#f2f5ff;background:#16233f;border-color:#263555}html[data-theme=dark] .topbar{color:var(--text);border-color:#263555}html[data-theme=dark] .search{color:var(--text);background:#101a31;border-color:#263555}html[data-theme=dark] .search input{color:#fff;background:0 0}html[data-theme=dark] .panel,html[data-theme=dark] .stat,html[data-theme=dark] .quick-card,html[data-theme=dark] .entity-card,html[data-theme=dark] .customer-tools,html[data-theme=dark] .lookup-card,html[data-theme=dark] .email-status-card{background:var(--surface);border-color:var(--line);color:var(--text)}html[data-theme=dark] .panel p,html[data-theme=dark] .muted,html[data-theme=dark] small,html[data-theme=dark] .field span,html[data-theme=dark] .page-head p{color:var(--muted)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#f2f5ff!important;background:#0c162b!important;border-color:#334563!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#7f8eab!important}html[data-theme=dark] select option{color:#f2f5ff!important;background:#0c162b!important}html[data-theme=dark] .secondary:hover,html[data-theme=dark] .icon-btn:hover,html[data-theme=dark] .link-btn:hover,html[data-theme=dark] .text-btn:hover{color:#fff;background:#213253;border-color:#4b6aa0}html[data-theme=dark] .toolbar{background:0 0}html[data-theme=dark] table{color:#e7edf8}html[data-theme=dark] th{color:#fff;background:#1b2b4b}html[data-theme=dark] td{border-color:#2b3c5b}html[data-theme=dark] .modal-backdrop{background:#000000b8}html[data-theme=dark] .modal{color:#f2f5ff;background:#101a31;border-color:#334563;box-shadow:0 25px 80px #00000080}html[data-theme=dark] .modal-head{border-color:#263555}html[data-theme=dark] .popover,html[data-theme=dark] .search-results,html[data-theme=dark] .fab-options{color:#f2f5ff;background:#101a31;border-color:#334563;box-shadow:0 20px 60px #00000073}html[data-theme=dark] .search-results button,html[data-theme=dark] .fab-options button{color:#f2f5ff}html[data-theme=dark] .search-results button:hover,html[data-theme=dark] .fab-options button:hover{background:#16233f}html[data-theme=dark] .suggestions{background:#101a31;border-color:#334563;box-shadow:0 20px 50px #00000080}html[data-theme=dark] .suggestions button{color:#f2f5ff;background:#101a31;border-color:#263555}html[data-theme=dark] .suggestions button:hover{background:#16233f}html[data-theme=dark] .template-option,html[data-theme=dark] .template-grid button,html[data-theme=dark] .currency-list button,html[data-theme=dark] .chips button{color:#f2f5ff;background:#101a31;border-color:#334563}html[data-theme=dark] .template-option:hover,html[data-theme=dark] .template-option.selected,html[data-theme=dark] .template-grid button:hover,html[data-theme=dark] .currency-list button.selected{background:#16233f}html[data-theme=dark] .template-preview{color:#17213b;background:#f8fafc}html[data-theme=dark] .mini-invoice{color:#17213b;background:#fff}html[data-theme=dark] .screen-payment-summary{color:#e7edf8;background:linear-gradient(135deg,#172b49,#13233d);border-color:#35547c}html[data-theme=dark] .screen-payment-summary p{border-color:#2b4264}html[data-theme=dark] .preview-qr-card{background:#13233d;border-color:#35547c}html[data-theme=dark] .eco-banner{color:#d9fbe8;background:linear-gradient(135deg,#102a25,#10263a);border-color:#245a49}html[data-theme=dark] .eco-banner span{color:#b8e7d0}html[data-theme=dark] .mini-list div,html[data-theme=dark] .dashboard-review,html[data-theme=dark] .ready-card{background:#16233f}html[data-theme=dark] .review,html[data-theme=dark] .extract{background:#16233f;border-color:#334563}html[data-theme=dark] .verify-page{color:#f2f5ff;background:#091124}html[data-theme=dark] .verify-card{color:#f2f5ff;background:#101a31;border-color:#334563}html[data-theme=dark] .verify-details>div{background:#16233f;border-color:#334563}html[data-theme=dark] .verify-details span{color:#9ba8c4}html[data-theme=dark] .review-form{border-color:#334563}html[data-theme=dark] .success-note{color:#b8e7d0;background:#102a25;border-color:#245a49}html[data-theme=dark] .page-error,html[data-theme=dark] .app-error{color:#f2f5ff}html[data-theme=dark] .page-error p,html[data-theme=dark] .app-error p{color:#9ba8c4}html[data-theme=dark] .low-stock-text{color:#fb7185}html[data-theme=dark] .invoice-output,html[data-theme=dark] .invoice-paper{color:#17213b;background:#fff}.onboard-card{max-width:760px}.address-form{gap:14px;margin-top:18px;display:grid}.address-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.required-note{border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:12px;align-items:center;gap:8px;padding:11px 13px;font-size:11px;display:flex}.required-note svg{width:16px;color:var(--primary);flex:none}.confirm-card{border:1px solid var(--line);background:var(--surface2);box-shadow:var(--shadow);border-radius:18px;margin-top:18px;padding:18px}.confirm-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:15px;display:flex}.confirm-head div{gap:6px;display:grid}.confirm-head small,.confirm-grid span{color:var(--muted);font-size:11px}.confirm-head b{font-size:22px}.confirm-grid{grid-template-columns:1fr 1fr;gap:14px;padding-top:15px;display:grid}.confirm-grid>div{gap:5px;display:grid}.confirm-grid .wide{grid-column:1/-1}.confirm-grid b{line-height:1.5}.confirm-note{color:var(--muted);align-items:center;gap:8px;margin-top:12px;font-size:11px;display:flex}.confirm-note svg{width:16px;color:var(--primary)}.onboard-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;display:grid}.onboard-template{text-align:left;background:var(--surface);border:1px solid var(--line);color:var(--text);cursor:pointer;border-radius:17px;padding:10px;transition:all .18s;position:relative;box-shadow:0 5px 18px #1423460d}.onboard-template:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 12px 30px #2563eb1f}.onboard-template.selected{border:2px solid var(--primary);background:var(--surface2);padding:9px}.onboard-template-preview{color:#17213b;background:#fff;border-radius:11px;height:155px;padding:13px;overflow:hidden;box-shadow:inset 0 0 0 1px #d9e2f0}.preview-top{border-bottom:2px solid #2563eb;justify-content:space-between;align-items:center;padding-bottom:7px;display:flex}.preview-top b{font-size:19px}.preview-top span{background:#dbeafe;border-radius:5px;width:42%;height:8px}.preview-lines{gap:5px;margin:11px 0;display:grid}.preview-lines i{background:#e2e8f0;border-radius:4px;height:5px;display:block}.preview-lines i:first-child{background:#94a3b8;width:68%}.preview-table{background:#cbd5e1;border:1px solid #cbd5e1;border-radius:4px;gap:1px;display:grid;overflow:hidden}.preview-table i{background:#f8fafc;height:13px}.preview-table i:first-child{background:#dbeafe}.onboard-template-preview>strong{text-align:right;margin-top:8px;font-size:12px;display:block}.onboard-template-preview.indigo .preview-top{border-color:#6366f1}.onboard-template-preview.slate .preview-top{border-color:#64748b}.onboard-template-preview.teal .preview-top{border-color:#0f766e}.onboard-template-preview.purple .preview-top{border-color:#9333ea}.onboard-template-preview.navy .preview-top{border-color:#0f172a}.onboard-template-preview.pink .preview-top{border-color:#db2777}.onboard-template-preview.orange .preview-top{border-color:#ea580c}.template-copy{gap:3px;padding:10px 3px 2px;display:grid}.template-copy b{font-size:14px}.template-copy small{color:var(--muted);font-size:10px}.template-check{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;bottom:16px;right:17px}.template-check svg{width:14px}html[data-theme=dark] .confirm-card,html[data-theme=dark] .required-note{background:#101a31;border-color:#334563}html[data-theme=dark] .onboard-template{color:#f2f5ff;background:#101a31;border-color:#334563}html[data-theme=dark] .onboard-template.selected{background:#16233f;border-color:#6684ff}.onboard-template-preview{color:#17213b!important;background:#fff!important}@media (width<=620px){.address-row,.confirm-grid,.onboard-template-grid{grid-template-columns:1fr}.confirm-grid .wide{grid-column:auto}.onboard-template-preview{height:145px}.onboard-card{padding:22px 18px}.onboard-card h1{font-size:30px}}.gst-question{color:var(--text);margin:24px 0 4px;font-size:26px}.gst-subtitle{margin-top:0}.gst-choice{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:18px;align-items:flex-start;gap:14px;margin-top:14px;padding:18px;transition:all .2s;display:flex;position:relative;box-shadow:0 6px 22px #1423460a}.gst-choice:hover{border-color:var(--primary);transform:translateY(-1px)}.gst-choice.selected{border:2px solid var(--primary);background:linear-gradient(135deg,var(--surface),var(--surface2));padding:17px;box-shadow:0 12px 30px #2563eb1a}.gst-choice h3{margin:0 0 5px;font-size:20px}.gst-choice p{color:var(--muted);margin:0;line-height:1.55}.gst-radio{border:2px solid var(--primary);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;margin-top:2px;display:grid}.gst-radio span{background:var(--primary);border-radius:50%;width:11px;height:11px}.gst-trust{background:var(--surface2);border-radius:12px;align-items:center;gap:7px;margin-top:12px;padding:9px 11px;font-size:11px;display:flex}.gst-trust span{color:var(--muted)}.gst-input-wrap{margin:14px 0}.gst-help{color:var(--muted);margin-top:7px;display:block}.gst-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:11px;align-items:center;gap:7px;margin-top:8px;padding:10px 12px;font-size:12px;font-weight:800;display:flex}.gst-error svg{width:16px}.security-note{color:var(--muted);align-items:center;gap:8px;margin-top:24px;font-size:11px;display:flex}.security-note svg{width:17px}.template-preview-meta{border:1px solid var(--line);background:var(--surface2);border-radius:13px;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;padding:10px 13px;font-size:12px;display:flex}.template-preview-meta small{color:var(--muted)}.template-marquee{margin:14px -20px 0;padding:4px 20px 15px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 4% 96%,#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 4% 96%,#0000 100%)}.template-track{gap:15px;width:max-content;animation:48s linear infinite templateSlide;display:flex}.template-track:hover{animation-play-state:paused}.onboard-template{flex:0 0 285px;width:285px}.real-invoice-preview{color:#17213b;background:#fff;border:1px solid #dbe3ef;border-radius:10px;height:190px;padding:11px;overflow:hidden;box-shadow:0 7px 18px #0f172a1a}.rip-top{border-bottom:2px solid #2563eb;justify-content:space-between;gap:8px;padding-bottom:8px;display:flex}.rip-top div{gap:2px;display:grid}.rip-top b{font-size:12px}.rip-top small{color:#64748b;font-size:7px}.rip-top>strong{font-size:12px}.rip-customer{border-bottom:1px solid #e2e8f0;gap:2px;padding:8px 0;display:grid}.rip-customer span{color:#64748b;text-transform:uppercase;font-size:7px;font-weight:800}.rip-customer b{font-size:9px}.rip-customer small{color:#94a3b8;font-size:7px}.rip-item{border-bottom:1px solid #e2e8f0;grid-template-columns:32px 1fr auto;align-items:center;gap:7px;padding:9px 0;display:grid}.rip-item>div{gap:2px;display:grid}.rip-item b{font-size:9px}.rip-item small{color:#64748b;font-size:7px}.rip-item>strong{font-size:9px}.product-photo{background:linear-gradient(135deg,#dbeafe,#eef2ff);border-radius:7px;place-items:center;width:30px;height:30px;font-size:17px;display:grid}.rip-lines{gap:4px;padding:7px 0;display:grid}.rip-lines i{background:#e2e8f0;border-radius:4px;height:4px}.rip-lines i:first-child{width:70%}.rip-lines i:nth-child(2){width:52%}.rip-lines i:nth-child(3){width:38%}.rip-total{justify-content:flex-end;align-items:center;gap:18px;padding-top:5px;font-size:8px;display:flex}.rip-total b{font-size:11px}.real-invoice-preview.indigo .rip-top{border-color:#6366f1}.real-invoice-preview.slate .rip-top{border-color:#64748b}.real-invoice-preview.teal .rip-top{border-color:#0f766e}.real-invoice-preview.purple .rip-top{border-color:#9333ea}.real-invoice-preview.navy .rip-top{border-color:#0f172a}.real-invoice-preview.pink .rip-top{border-color:#db2777}.real-invoice-preview.orange .rip-top{border-color:#ea580c}.real-invoice-preview.indigo{background:linear-gradient(90deg,#f5f3ff 0 18%,#fff 18%)}.real-invoice-preview.teal{background:linear-gradient(90deg,#ecfdf5 0 18%,#fff 18%)}.real-invoice-preview.elegant{background:#fffcf2}.real-invoice-preview.bold{border:3px solid #dc2626}.template-live-note{color:#1e40af;background:#eff6ff;border:1px dashed #93c5fd;border-radius:13px;align-items:flex-start;gap:9px;margin-top:4px;padding:12px 14px;font-size:11px;display:flex}.template-live-note svg{flex:none;width:17px}.template-live-note span{gap:3px;display:grid}.template-live-note small{color:#475569}@keyframes templateSlide{0%{transform:translate(0)}to{transform:translate(calc(-50% - 7.5px))}}html[data-theme=dark] .gst-choice{background:#101a31;border-color:#334563}html[data-theme=dark] .gst-choice.selected{background:#16233f;border-color:#6684ff}html[data-theme=dark] .gst-trust{background:#16233f}html[data-theme=dark] .gst-error{color:#fca5a5;background:#321722;border-color:#6b2737}html[data-theme=dark] .template-preview-meta{background:#101a31;border-color:#334563}html[data-theme=dark] .template-live-note{color:#bfdbfe;background:#10203a;border-color:#315bff}html[data-theme=dark] .template-live-note small{color:#a8b9d4}@media (width<=700px){.gst-question{font-size:23px}.template-marquee{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.onboard-template{flex-basis:255px;width:255px}.real-invoice-preview{height:178px}.template-preview-meta{gap:4px;display:grid}}.primary,.secondary,.danger-btn,.link-btn,.icon-btn,.text-btn{min-height:42px;font-size:14px}.field,.field span{font-size:13px}.sidebar nav button,.sidebar-bottom button{min-height:44px;font-size:14px}.topbar .search input{font-size:14px}.page-head h1{font-size:32px}.page-head p{font-size:14px}.panel h3,.feature-card h3{font-size:18px}.panel p,.feature-card p{font-size:14px}.stat small{font-size:13px}.stat strong{font-size:24px}.quick-card b{font-size:14px}.table-wrap th{font-size:13px}.table-wrap td{font-size:14px}html[data-theme=dark] button{color:#f5f7ff}html[data-theme=dark] .primary{color:#fff}html[data-theme=dark] .secondary{color:#fff!important;background:#1d3154!important;border-color:#5575ad!important}html[data-theme=dark] .link-btn,html[data-theme=dark] .text-btn{color:#8fb0ff!important;background:0 0!important}html[data-theme=dark] .icon-btn{color:#dbe7ff!important}html[data-theme=dark] .sidebar nav button:hover,html[data-theme=dark] .sidebar nav button.active,html[data-theme=dark] .sidebar-bottom button:hover{box-shadow:inset 3px 0 #7ea2ff,0 4px 16px #00000040;color:#fff!important;background:#29436f!important}html[data-theme=dark] .secondary:hover,html[data-theme=dark] .link-btn:hover,html[data-theme=dark] .text-btn:hover,html[data-theme=dark] .icon-btn:hover{color:#fff!important;background:#29436f!important;border-color:#7ea2ff!important}html[data-theme=dark] button:active{transform:translateY(1px);color:#fff!important;background:#35598f!important;box-shadow:0 0 0 2px #7ea2ff73!important}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline-offset:2px;border-color:#7ea2ff!important;outline:3px solid #7ea2ff!important}html[data-theme=dark] .currency-list button.selected,html[data-theme=dark] .template-option.selected,html[data-theme=dark] .onboard-template.selected{box-shadow:0 0 0 2px #8eaeff38;background:#223a63!important;border-color:#8eaeff!important}html[data-theme=dark] .chips button.selected{color:#fff!important;background:linear-gradient(100deg,#4b72ff,#824ff2)!important}html[data-theme=dark] .quick-card:hover,html[data-theme=dark] .entity-card:hover{background:#1d3154!important;border-color:#6688c4!important}html[data-theme=dark] button,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{font-size:16px}html[data-theme=dark] button{min-height:42px}html[data-theme=dark] button:hover{filter:brightness(1.08)}html[data-theme=dark] button:active{filter:brightness(1.18);outline-offset:2px;outline:2px solid #8aa8ff;transform:translateY(1px)}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] textarea:focus-visible{outline-offset:2px!important;outline:3px solid #7c9cff!important}html[data-theme=dark] .sidebar nav button.active{font-weight:800;box-shadow:inset 4px 0 #7c9cff,0 4px 16px #0003}html[data-theme=dark] .primary:active{color:#fff!important;background:#6d8cff!important}html[data-theme=dark] .secondary:active,html[data-theme=dark] .icon-btn:active,html[data-theme=dark] .text-btn:active{color:#fff!important;background:#2b4169!important}html[data-theme=dark] .content{font-size:16px}html[data-theme=dark] .content h1{font-size:clamp(28px,3vw,40px)}html[data-theme=dark] .content h2{font-size:26px}html[data-theme=dark] .content h3{font-size:19px}html[data-theme=dark] .content label,html[data-theme=dark] .content .field span{font-size:16px}html[data-theme=dark] .content small{font-size:14px}.route-error{text-align:center;max-width:760px;margin:48px auto;padding:40px}.route-error .feature-icon{margin:0 auto 18px}.route-error p{font-size:16px;line-height:1.6}.product-photo{background:#eef2ff;border-radius:12px;flex:0 0 52px;place-items:center;width:52px;height:52px;display:grid;position:relative;overflow:hidden}.product-photo img{object-fit:cover;width:100%;height:100%;display:block}.product-photo>span{font-size:24px;display:none;position:absolute}.product-photo.image-fallback>span{display:block}.product-photo-card{position:relative;overflow:hidden}.product-photo-card img{object-fit:cover;border-radius:12px;width:100%;height:100%;display:block}.product-photo-card svg{display:none}.product-photo-card.image-fallback svg{display:block}.template-preview-meta{border:1px solid var(--border);background:var(--panel);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 10px;padding:12px 14px;display:flex}.rip-item .product-photo{border-radius:9px;flex-basis:42px;width:42px;height:42px}.rip-item .product-photo>span{font-size:19px}.product-photo-large{border:1px solid var(--line);background:#fff;border-radius:14px;flex:0 0 72px;place-items:center;display:grid;overflow:hidden;width:72px!important;height:72px!important}.product-photo-large img{object-fit:cover;width:100%;height:100%}.product-form-preview{border:1px solid var(--line);background:var(--surface2);border-radius:14px;align-items:center;gap:14px;margin-bottom:14px;padding:12px;display:flex}.product-form-preview img{object-fit:cover;background:#fff;border-radius:10px;width:64px;height:64px}.product-form-preview div{gap:4px;display:grid}.product-form-preview small{color:var(--muted)}.invoice-item-with-image{align-items:center;gap:9px;min-width:0;display:flex}.invoice-item-with-image img{object-fit:cover;border:1px solid var(--line);background:#fff;border-radius:7px;flex:0 0 42px;width:42px;height:42px}.invoice-item-with-image span{gap:2px;display:grid}.invoice-item-with-image small{display:block}.print-item{align-items:center;gap:7px;display:flex}.print-item img{object-fit:cover;border:1px solid #dbeafe;border-radius:5px;width:36px;height:36px}.print-item span{gap:2px;display:grid}.invoice-output .output-items td:first-child{min-width:190px}@media print{.print-item img{-webkit-print-color-adjust:exact;print-color-adjust:exact}}body{font-size:15px}h1{font-size:30px}h2{font-size:24px}h3{font-size:18px}button,input,select,textarea,.primary,.secondary,.danger-btn,.link-btn,.icon-btn,.text-btn{font-size:14px}.dark .secondary,.dark .icon-btn{color:#f8fafc!important;background:#1e293b!important;border-color:#475569!important}.dark .secondary:hover,.dark .secondary:focus-visible,.dark .secondary:active,.dark .icon-btn:hover,.dark .icon-btn:focus-visible,.dark .icon-btn:active{color:#fff!important;background:#334155!important;box-shadow:0 0 0 3px #60a5fa59!important}.dark .primary:active{transform:translateY(1px);box-shadow:0 0 0 3px #ffffff47!important}.dark input,.dark select,.dark textarea{color:#f8fafc!important;background:#0f172a!important;border-color:#475569!important}.dark input:focus,.dark select:focus,.dark textarea:focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px #60a5fa4d!important}.template-selector-tools,.template-selector-header{gap:10px;margin:0 0 14px;display:grid}.template-search{border:1px solid var(--line);background:var(--surface);border-radius:13px;align-items:center;gap:9px;padding:9px 12px;display:flex}.template-search svg{width:17px;color:var(--muted);flex:none}.template-search input{width:100%;color:var(--text);box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important;padding:4px!important}.template-filters{flex-wrap:wrap;gap:7px;display:flex}.template-filters button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800}.template-filters button:hover,.template-filters button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.template-option{min-height:165px}.template-preview{height:130px}.template-option.template-family-midnight .template-preview,.template-option.template-family-neonedge .template-preview{color:#fff;background:#111827}.template-option.template-family-glassflow .template-preview{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#eef2ff,#f8fafc)}.template-option.template-family-royal .template-preview{background:#fffdf5;border:2px solid #b08a3c}.template-option.template-family-minimalist .template-preview,.template-option.template-family-cloud .template-preview{background:#fff;border-color:#e2e8f0}.template-option.template-family-monochrome .template-preview,.template-option.template-family-slate .template-preview{background:#f1f5f9;border-color:#64748b}.template-option.template-family-gst-retail .template-preview,.template-option.template-family-urban .template-preview{grid-template-rows:24px 1fr 20px}.template-option.template-family-technova .template-preview,.template-option.template-family-vertex .template-preview,.template-option.template-family-nexus .template-preview{transform:skewY(-1deg)}.template-option.template-family-luxeline .template-preview,.template-option.template-family-signature .template-preview{border-style:double;border-width:1px}.template-option.template-family-gst-enterprise .template-preview,.template-option.template-family-gst-detailed .template-preview{grid-template-rows:27px 1fr 23px}.template-option.template-family-gst-compact .template-preview{grid-template-rows:14px 1fr 12px;padding:6px}.template-option.template-family-gst-einvoice .template-preview:after{content:"QR";position:absolute}.template-option.template-family-gst-einvoice .template-preview{position:relative}.template-option.template-family-gst-einvoice .template-preview:after{background:#fff;border:2px solid #111827;padding:4px;font-size:7px;font-weight:900;bottom:7px;right:7px}.template-option.template-family-midnight .tp-body i,.template-option.template-family-neonedge .tp-body i{background:#374151;border-color:#4b5563}.template-option.template-family-midnight .tp-head{border-bottom-color:#a78bfa}.template-option.template-family-neonedge .tp-head{border-bottom-color:#22d3ee}.template-option.template-family-aurora .tp-head{background:linear-gradient(90deg,#4f46e5,#06b6d4);border:0;height:18px}.template-option.template-family-sunset .tp-head,.template-option.template-family-catalyst .tp-head{background:linear-gradient(90deg,#f97316,#ec4899);border:0;height:18px}.template-option.template-family-emerald .tp-head,.template-option.template-family-freshmint .tp-head{border-bottom-color:#10b981}.template-option.template-family-oceanic .tp-head,.template-option.template-family-indigo .tp-head{border-bottom-color:#2563eb}.template-option.template-family-crimson .tp-head,.template-option.template-family-gst-prime .tp-head{border-bottom-color:#dc2626}.template-option.template-family-gst-pro .tp-head,.template-option.template-family-gst-modern .tp-head{background:#0f766e;border:0;height:18px}.template-option.template-family-gst-classic .tp-head{border-bottom-color:#2563eb}.template-option.template-family-gst-corporate .tp-head,.template-option.template-family-gst-export .tp-head{border-bottom-color:#1d4ed8}.template-option.template-family-gst-elite .tp-head,.template-option.template-family-prestige .tp-head{border-bottom:3px double #a16207}.template-option.template-family-prime .tp-total,.template-option.template-family-gst-elite .tp-total,.template-option.template-family-prestige .tp-total{height:19px}.template-option.template-family-gst-retail .tp-body,.template-option.template-family-urban .tp-body{grid-template-columns:1fr 2fr}.template-option.template-family-executive .tp-body{grid-template-columns:1fr 1fr}.template-option.template-family-horizon .tp-body{grid-template-columns:3fr 1fr}.template-option.template-family-finora .tp-body,.template-option.template-family-gst-detailed .tp-body{grid-template-columns:2fr 1fr}.template-option.template-family-royal .tp-total,.template-option.template-family-luxeline .tp-total,.template-option.template-family-signature .tp-total{background:#b08a3c}.template-option.template-family-monochrome .tp-total,.template-option.template-family-slate .tp-total{background:#475569}.template-option.template-family-technova .tp-total,.template-option.template-family-nexus .tp-total{background:#0f172a}.template-option.template-family-gst-enterprise .tp-total,.template-option.template-family-gst-einvoice .tp-total{background:#0f766e}.template-option.template-family-gst-compact .tp-total{background:#334155}.template-option.template-family-glassflow .tp-total{background:#6366f1}.invoice-paper.template-family-aurora .paper-head{background:linear-gradient(110deg,#eef2ff,#ecfeff);border-bottom:0;border-radius:18px;padding:18px}.invoice-paper.template-family-aurora .invoice-meta-grid{grid-template-columns:1.2fr .8fr}.invoice-paper.template-family-executive .paper-head{border-bottom:3px solid var(--invoice-accent);padding:22px}.invoice-paper.template-family-executive .invoice-meta-grid{grid-template-columns:1fr 1fr}.invoice-paper.template-family-minimalist{box-shadow:none;border:0}.invoice-paper.template-family-minimalist .paper-head{border-bottom:1px solid #cbd5e1;padding-bottom:22px}.invoice-paper.template-family-minimalist .table-wrap{box-shadow:none;border:0}.invoice-paper.template-family-midnight{color:#f8fafc;border:0;background:#111827!important}.invoice-paper.template-family-midnight .structured-invoice{color:#111827;background:#fff;border-radius:20px;margin:12px;padding:12px}.invoice-paper.template-family-midnight .paper-head{color:#fff;background:#111827;border-radius:14px;padding:18px}.invoice-paper.template-family-glassflow{background:linear-gradient(135deg,#eef2ff,#f8fafc);border:0}.invoice-paper.template-family-glassflow .invoice-meta-grid>div{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffb8;border-radius:18px;box-shadow:0 12px 28px #0f172a14}.invoice-paper.template-family-royal{background:#fffdf7;border:3px double #b08a3c}.invoice-paper.template-family-royal .paper-head{border-top:3px double #b08a3c;border-bottom:3px double #b08a3c;padding:20px}.invoice-paper.template-family-royal .paper-totals{border-left:3px solid #b08a3c;padding-left:14px}.invoice-paper.template-family-emerald .paper-head{background:#ecfdf5;border-left:8px solid #059669;padding:18px}.invoice-paper.template-family-emerald .invoice-meta-grid>div{background:#f0fdf4}.invoice-paper.template-family-oceanic .paper-head,.invoice-paper.template-family-indigo .paper-head{background:#eff6ff;border-bottom:4px solid #2563eb;padding:18px}.invoice-paper.template-family-sunset .paper-head{background:linear-gradient(110deg,#fff7ed,#fdf2f8);border-radius:18px 4px;padding:20px}.invoice-paper.template-family-monochrome{filter:none;border:1px solid #475569}.invoice-paper.template-family-monochrome .paper-head{color:#fff;background:#111827;padding:18px}.invoice-paper.template-family-monochrome .table-wrap th{background:#334155}.invoice-paper.template-family-neonedge{color:#e2e8f0;background:#0b1120;border:2px solid #22d3ee}.invoice-paper.template-family-neonedge .structured-invoice{background:#0f172a;padding:12px}.invoice-paper.template-family-neonedge .paper-head{border-bottom:2px solid #22d3ee}.invoice-paper.template-family-neonedge .invoice-meta-grid>div{background:#111827;border-color:#164e63}.invoice-paper.template-family-technova .paper-head,.invoice-paper.template-family-vertex .paper-head{border-left:10px solid var(--invoice-accent);background:#f8fafc;padding:20px}.invoice-paper.template-family-technova .invoice-meta-grid>div{border-radius:4px}.invoice-paper.template-family-finora .invoice-meta-grid{grid-template-columns:1fr 1fr}.invoice-paper.template-family-finora .paper-totals{max-width:70%;margin-left:auto}.invoice-paper.template-family-luxeline{background:#fffdfa;border:1px solid #a16207}.invoice-paper.template-family-luxeline .paper-head{border-top:1px solid #a16207;border-bottom:1px solid #a16207;padding:20px}.invoice-paper.template-family-prime .paper-head,.invoice-paper.template-family-prestige .paper-head{border-bottom:5px solid var(--invoice-accent);padding:22px}.invoice-paper.template-family-prime .paper-totals strong,.invoice-paper.template-family-prestige .paper-totals strong{padding:9px;font-size:18px}.invoice-paper.template-family-urban .invoice-meta-grid>div{border-radius:4px}.invoice-paper.template-family-urban .table-wrap th{background:#111827}.invoice-paper.template-family-freshmint .invoice-meta-grid>div{background:#f0fdfa;border-radius:20px}.invoice-paper.template-family-crimson .paper-head{color:#fff;background:#7f1d1d;border-bottom:6px solid #dc2626;padding:20px}.invoice-paper.template-family-crimson .invoice-meta-grid>div{border-color:#fecaca}.invoice-paper.template-family-cloud{background:#fff;border:0}.invoice-paper.template-family-cloud .paper-head{border-bottom:1px solid #e2e8f0;padding:24px 10px}.invoice-paper.template-family-cloud .invoice-meta-grid{gap:30px}.invoice-paper.template-family-slate .paper-head{background:#f1f5f9;border-bottom:4px solid #475569;padding:18px}.invoice-paper.template-family-slate .table-wrap th{background:#475569}.invoice-paper.template-family-pulse .paper-head{border-left:12px solid var(--invoice-accent);padding:18px}.invoice-paper.template-family-pulse .paper-totals{border-top:3px solid var(--invoice-accent);padding-top:10px}.invoice-paper.template-family-horizon .paper-head{padding:22px 28px}.invoice-paper.template-family-nexus .invoice-meta-grid>div{border-radius:4px;transform:skew(-1deg)}.invoice-paper.template-family-catalyst .paper-head{background:linear-gradient(110deg,#fff7ed,#fce7f3);padding:20px;transform:skew(-1deg)}.invoice-paper.template-family-zenith .paper-head{border-bottom:1px solid #cbd5e1;padding:24px}.invoice-paper.template-family-zenith .paper-totals{padding:10px;box-shadow:0 10px 25px #0f172a14}.invoice-paper.template-family-canvas .paper-head{background:#f8fafc;border-radius:8px;padding:18px}.invoice-paper.template-family-signature .paper-head{border-bottom:1px solid #a16207;padding:20px}.invoice-paper.template-family-signature .paper-bottom-grid{border-top:1px solid #e5e7eb;padding-top:16px}.invoice-paper[class*=template-family-gst-] .table-wrap th{background:var(--invoice-accent,#0f766e)}.invoice-paper.template-family-gst-pro .paper-head,.invoice-paper.template-family-gst-modern .paper-head{background:#ecfdf5;border-left:8px solid #0f766e;padding:18px}.invoice-paper.template-family-gst-elite .paper-head,.invoice-paper.template-family-gst-prime .paper-head{border-bottom:4px double #a16207;padding:20px}.invoice-paper.template-family-gst-classic .invoice-meta-grid>div{background:#eff6ff}.invoice-paper.template-family-gst-corporate .paper-head{background:#eff6ff;border-left:10px solid #1d4ed8;padding:20px}.invoice-paper.template-family-gst-retail .invoice-meta-grid{grid-template-columns:1fr 1fr}.invoice-paper.template-family-gst-retail .table-wrap{box-shadow:0 8px 20px #0f172a14}.invoice-paper.template-family-gst-enterprise .invoice-meta-grid{grid-template-columns:1fr 1fr}.invoice-paper.template-family-gst-enterprise .paper-bottom-grid{grid-template-columns:1fr 1fr;display:grid}.invoice-paper.template-family-gst-export .paper-head{border-bottom:5px solid #2563eb;padding:18px}.invoice-paper.template-family-gst-einvoice .paper-head{border-bottom:3px solid #0f766e;padding:18px}.invoice-paper.template-family-gst-einvoice .paper-bottom-grid{border-top:2px dashed #0f766e;padding-top:12px}.invoice-paper.template-family-gst-detailed .table-wrap table{font-size:12px}.invoice-paper.template-family-gst-detailed .paper-totals{border:1px solid #94a3b8;padding:10px}.invoice-paper.template-family-gst-compact .paper-head{padding:12px}.invoice-paper.template-family-gst-compact .invoice-meta-grid>div{padding:8px}.invoice-paper.template-family-gst-compact .table-wrap td,.invoice-paper.template-family-gst-compact .table-wrap th{padding:6px}.template-preview{background:#fff;border:1px solid #dbe4f0;border-radius:12px;grid-template-rows:28px 1fr 24px;gap:5px;padding:9px;position:relative;overflow:hidden;box-shadow:0 8px 20px #0f172a14;display:grid!important}.template-preview:before{content:"";pointer-events:none;border-radius:inherit;position:absolute;inset:0}.template-preview .tp-head{border-bottom:2px solid #dbe4f0;justify-content:space-between;align-items:center;padding:0 5px;display:flex}.template-preview .tp-head b{background:var(--primary);border-radius:4px;width:34%;height:7px}.template-preview .tp-head em{background:#dbe4f0;border-radius:3px;width:18%;height:13px}.template-preview .tp-meta{gap:5px;display:flex;position:absolute;top:42px;left:9px;right:9px}.template-preview .tp-meta i{background:#edf2f7;border-radius:3px;flex:1;height:9px;display:block}.template-preview .tp-body{grid-template-columns:repeat(2,1fr);align-content:end;gap:4px;padding-top:12px;display:grid}.template-preview .tp-body i{background:#dbe4f0;border-radius:3px;height:8px;display:block}.template-preview .tp-body i:nth-child(2n){background:#eef2f7}.template-preview .tp-side{background:#eef2ff;border-radius:5px;width:22%;height:30px;position:absolute;bottom:34px;right:8px}.template-preview .tp-total{background:var(--primary);border-radius:4px;width:38%;height:15px;margin-left:auto}.template-preview .tp-qr{background:repeating-linear-gradient(45deg,#111 0 2px,#fff 2px 4px);border:2px solid #334155;width:17px;height:17px;position:absolute;bottom:38px;right:10px}.template-preview .tp-ribbon{background:var(--primary);opacity:.85;width:70px;height:8px;position:absolute;top:12px;left:-18px;transform:rotate(-35deg)}.template-preview.aurora{--primary:#6366f1}.template-preview.aurora .tp-head{background:linear-gradient(90deg,#e0e7ff,#cffafe);border:0;border-radius:6px;padding:4px}.template-preview.aurora .tp-total{border-radius:10px}.template-preview.executive,.template-preview.prime{--primary:#1e293b}.template-preview.executive .tp-head,.template-preview.prime .tp-head{height:34px}.template-preview.executive .tp-side,.template-preview.prime .tp-side{width:27%;height:42px;left:9px;right:auto}.template-preview.executive .tp-total,.template-preview.prime .tp-total{width:45%;height:20px}.template-preview.minimalist,.template-preview.cloud{--primary:#475569;box-shadow:none;border:0}.template-preview.minimalist .tp-head,.template-preview.cloud .tp-head{border-bottom:1px solid #cbd5e1}.template-preview.minimalist .tp-body,.template-preview.cloud .tp-body{grid-template-columns:1fr}.template-preview.minimalist .tp-total,.template-preview.cloud .tp-total{background:#334155;height:9px}.template-preview.midnight,.template-preview.neonedge{--primary:#22d3ee;background:#0f172a;border-color:#22d3ee}.template-preview.midnight .tp-head,.template-preview.neonedge .tp-head{border-color:#334155}.template-preview.midnight .tp-head b,.template-preview.neonedge .tp-head b{background:#22d3ee}.template-preview.midnight .tp-body i,.template-preview.neonedge .tp-body i{background:#334155}.template-preview.midnight .tp-total,.template-preview.neonedge .tp-total{background:#22d3ee}.template-preview.neonedge .tp-ribbon{background:#a855f7}.template-preview.glassflow{--primary:#7c3aed;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.template-preview.glassflow .tp-head,.template-preview.glassflow .tp-meta,.template-preview.glassflow .tp-side{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffa6;border-radius:7px}.template-preview.glassflow .tp-body i{background:#7c3aed29}.template-preview.royal,.template-preview.luxeline,.template-preview.prestige,.template-preview.signature{--primary:#a16207;background:#fffdf5;border:2px double #b08a3c}.template-preview.royal .tp-head,.template-preview.luxeline .tp-head,.template-preview.prestige .tp-head,.template-preview.signature .tp-head{border-color:#d6b36a}.template-preview.royal .tp-total,.template-preview.luxeline .tp-total,.template-preview.prestige .tp-total,.template-preview.signature .tp-total{background:#a16207}.template-preview.emerald,.template-preview.freshmint{--primary:#059669;background:#f0fdf4}.template-preview.emerald .tp-ribbon,.template-preview.freshmint .tp-ribbon,.template-preview.emerald .tp-total,.template-preview.freshmint .tp-total{background:#059669}.template-preview.oceanic,.template-preview.indigo,.template-preview.gst-corporate,.template-preview.gst-export{--primary:#2563eb;background:#eff6ff}.template-preview.oceanic .tp-total,.template-preview.indigo .tp-total,.template-preview.gst-corporate .tp-total,.template-preview.gst-export .tp-total{background:#2563eb}.template-preview.sunset,.template-preview.catalyst{--primary:#ea580c;background:linear-gradient(135deg,#fff7ed,#fce7f3)}.template-preview.sunset .tp-head,.template-preview.catalyst .tp-head{background:linear-gradient(90deg,#fed7aa,#fbcfe8);border:0;border-radius:9px}.template-preview.sunset .tp-total,.template-preview.catalyst .tp-total{background:#ea580c}.template-preview.monochrome,.template-preview.slate{--primary:#334155;background:#f1f5f9;border-color:#64748b}.template-preview.monochrome .tp-head,.template-preview.slate .tp-head{background:#111827;border:0;border-radius:4px}.template-preview.monochrome .tp-head b,.template-preview.slate .tp-head b{background:#fff}.template-preview.monochrome .tp-total,.template-preview.slate .tp-total{background:#334155}.template-preview.technova,.template-preview.vertex,.template-preview.nexus{--primary:#4f46e5}.template-preview.technova .tp-ribbon,.template-preview.vertex .tp-ribbon,.template-preview.nexus .tp-ribbon{width:8px;height:50px;top:28px;left:9px;transform:none}.template-preview.technova .tp-side,.template-preview.vertex .tp-side,.template-preview.nexus .tp-side{transform:skew(-10deg)}.template-preview.finora{--primary:#0f766e}.template-preview.finora .tp-body{grid-template-columns:1fr 1fr 1fr}.template-preview.finora .tp-total{background:#0f766e}.template-preview.urban,.template-preview.gst-retail{--primary:#111827}.template-preview.urban .tp-side,.template-preview.gst-retail .tp-side{background:#e5e7eb;width:28%;height:44px;bottom:34px;left:9px;right:auto}.template-preview.urban .tp-qr,.template-preview.gst-retail .tp-qr{display:block}.template-preview.urban .tp-total,.template-preview.gst-retail .tp-total{background:#111827}.template-preview.pulse,.template-preview.horizon{--primary:#2563eb}.template-preview.pulse .tp-ribbon{width:120px;top:35px;left:-5px;transform:rotate(-12deg)}.template-preview.horizon .tp-body{grid-template-columns:repeat(5,1fr)}.template-preview.canvas{--primary:#db2777;background:#fff1f7}.template-preview.canvas .tp-body{grid-template-columns:repeat(3,1fr)}.template-preview.canvas .tp-total{background:#db2777}.template-preview.crimson{--primary:#dc2626;background:#fff7f7}.template-preview.crimson .tp-head{background:#7f1d1d;border:0;border-radius:5px}.template-preview.crimson .tp-head b{background:#fff}.template-preview.crimson .tp-total{background:#dc2626}.template-preview.zenith{--primary:#334155}.template-preview.zenith .tp-head{height:38px}.template-preview.zenith .tp-total{width:55%;height:21px}.template-preview[class*=gst-]{border-width:2px}.template-preview.gst-pro,.template-preview.gst-modern{--primary:#0f766e;background:#ecfdf5}.template-preview.gst-elite,.template-preview.gst-prime{--primary:#a16207;background:#fffdf5}.template-preview.gst-classic{--primary:#2563eb;background:#eff6ff}.template-preview.gst-enterprise,.template-preview.gst-detailed{--primary:#475569;background:#f8fafc}.template-preview.gst-einvoice{--primary:#0f766e}.template-preview.gst-einvoice .tp-qr{display:block}.template-preview.gst-compact .tp-meta{display:none}.template-preview.gst-compact{grid-template-rows:18px 1fr 14px;padding:6px}.template-preview.gst-compact .tp-body{padding-top:2px}.invoice-output{font-size:14px;line-height:1.55}.invoice-output .output-top h1{line-height:1.1;font-size:34px!important}.invoice-output .output-box h3,.invoice-output .output-terms h3{font-size:15px}.invoice-output .output-items th,.invoice-output .output-items td{font-size:13px!important}.invoice-output .output-items td small{font-size:11px}.invoice-item-product{align-items:center;gap:9px;min-width:150px;display:flex}.invoice-item-product img{object-fit:cover;border:1px solid #dbeafe;border-radius:8px;flex:0 0 46px;width:46px;height:46px}.invoice-item-product span{gap:2px;display:grid}.print-product{align-items:center;gap:8px;display:flex}.print-product img{object-fit:cover;border:1px solid #dbeafe;border-radius:6px;width:38px;height:38px}.print-product span,.print-product small{display:block}.template-family-executive .output-top,.template-family-prime .output-top{grid-template-columns:1fr auto;gap:24px;display:grid}.template-family-midnight .output-top{color:#fff;background:#111827;border-radius:14px;padding:18px}.template-family-midnight .output-box{border-color:#334155}.template-family-glassflow .output-box{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffb8;box-shadow:0 12px 28px #0f172a14}.template-family-royal .output-top,.template-family-prestige .output-top{border-top:3px double #b08a3c;border-bottom:3px double #b08a3c;padding:18px}.template-family-technova .output-top,.template-family-vertex .output-top{border-left:12px solid var(--invoice-accent);padding-left:16px}.template-family-gst-enterprise .output-info-grid{grid-template-columns:1fr 1fr}.template-family-gst-retail .invoice-item-product img{flex-basis:52px;width:52px;height:52px}.template-family-gst-einvoice .output-qr{border:2px dashed var(--invoice-accent)}@media print{.invoice-output .output-top h1{font-size:28px!important}.invoice-output .output-top h2{font-size:24px!important}.invoice-output .output-items th,.invoice-output .output-items td{font-size:12px!important}.invoice-item-product img{flex-basis:38px;width:38px;height:38px}}.invoice-paper.template-family-aurora .paper-head,.invoice-paper.template-family-sunset .paper-head,.invoice-paper.template-family-catalyst .paper-head{background:linear-gradient(110deg,#eef2ff,#ecfeff);border-radius:16px;padding:18px;border-bottom:0!important}.invoice-paper.template-family-executive .paper-head,.invoice-paper.template-family-prime .paper-head{grid-template-columns:1.35fr .65fr;align-items:center;display:grid;border-bottom:3px solid var(--invoice-accent)!important}.invoice-paper.template-family-minimalist .paper-head,.invoice-paper.template-family-cloud .paper-head,.invoice-paper.template-family-zenith .paper-head{padding:8px 0 14px;border-bottom:1px solid #cbd5e1!important}.invoice-paper.template-family-midnight .paper-head,.invoice-paper.template-family-neonedge .paper-head{border-radius:14px;padding:18px;color:#fff!important;border:1px solid var(--invoice-accent)!important;background:#111827!important}.invoice-paper.template-family-glassflow .invoice-meta-grid>div,.invoice-paper.template-family-freshmint .invoice-meta-grid>div{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8fafce0;border-radius:14px;box-shadow:0 8px 22px #1e293b14}.invoice-paper.template-family-royal .structured-invoice,.invoice-paper.template-family-prestige .structured-invoice{border:2px double var(--invoice-accent);border-radius:16px;padding:18px}.invoice-paper.template-family-monochrome .table-wrap table,.invoice-paper.template-family-slate .table-wrap table{border-color:#475569}.invoice-paper.template-family-technova .table-wrap,.invoice-paper.template-family-vertex .table-wrap,.invoice-paper.template-family-nexus .table-wrap{border-left:5px solid var(--invoice-accent);padding-left:8px}.invoice-paper.template-family-retail .table-wrap,.invoice-paper.template-family-gst-retail .table-wrap,.invoice-paper.template-family-urban .table-wrap{border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #0f172a14}.invoice-paper.template-family-gst-enterprise .invoice-meta-grid,.invoice-paper.template-family-gst-detailed .invoice-meta-grid{grid-template-columns:1fr 1fr;gap:14px}.invoice-paper.template-family-gst-compact .table-wrap table{font-size:11px}.invoice-paper.template-family-gst-compact .invoice-meta-grid{gap:8px}.invoice-paper.template-family-luxeline .paper-head,.invoice-paper.template-family-signature .paper-head{padding:15px 0;border-top:2px solid var(--invoice-accent)!important;border-bottom:2px solid var(--invoice-accent)!important}.invoice-paper.template-family-gst-einvoice .output-qr,.invoice-paper.template-family-technova .output-qr{border:2px solid var(--invoice-accent)!important;background:#f8fafc!important}.invoice-paper.template-family-crimson .output-totals,.invoice-paper.template-family-bold .output-totals{border:2px solid var(--invoice-accent);box-shadow:0 10px 24px #dc26261a}.invoice-paper.template-family-finora .output-totals,.invoice-paper.template-family-gst-detailed .output-totals{font-size:12px}.invoice-paper.template-family-horizon .table-wrap{margin-top:14px}.invoice-paper.template-family-horizon .invoice-meta-grid{grid-template-columns:1.4fr .6fr}.invoice-paper.template-family-pulse .paper-head{border-radius:12px 12px 0 0;border-bottom:6px solid var(--invoice-accent)!important}.invoice-paper.template-family-oceanic .paper-head,.invoice-paper.template-family-indigo .paper-head,.invoice-paper.template-family-gst-corporate .paper-head,.invoice-paper.template-family-gst-export .paper-head{background:#eff6ff;border-radius:12px;padding:16px}.invoice-paper.template-family-emerald .paper-head,.invoice-paper.template-family-gst .paper-head,.invoice-paper.template-family-gst-modern .paper-head{background:#ecfdf5;border-radius:12px;padding:16px}.invoice-paper.template-family-canvas .paper-head{border-left:8px solid var(--invoice-accent);padding-left:14px}.invoice-paper.template-family-gst-pro .paper-head,.invoice-paper.template-family-gst-prime .paper-head{padding-bottom:12px;border-bottom:5px solid var(--invoice-accent)!important}.invoice-output{font-size:12px}.invoice-output .output-top h1{font-size:32px!important}.invoice-output .output-top h2{font-size:22px!important}.invoice-output table{font-size:11.5px}.invoice-output th,.invoice-output td{font-size:11px}.invoice-output .output-totals{font-size:12px}.invoice-output .output-totals strong{font-size:19px}.invoice-output .output-terms p,.invoice-output .output-badges{font-size:11px}.public-pay{border-top:1px solid var(--line,#dbeafe);margin-top:22px;padding-top:18px}.public-pay-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.public-pay-actions button{justify-content:center}.verify-form-error{color:#b91c1c;margin-top:10px;font-weight:700}@media (width<=600px){.public-pay-actions{grid-template-columns:1fr}}.invoice-output .invoice-item-product img{background:#fff;border:1px solid #dbeafe;border-radius:7px;flex:0 0 42px;object-fit:contain!important;width:42px!important;height:42px!important}.invoice-output .invoice-item-product b{font-size:12.5px!important}.invoice-output .invoice-item-product small{font-size:10.5px!important}.invoice-output .output-box span,.invoice-output .output-meta>span,.invoice-output .output-terms p{line-height:1.5;font-size:12px!important}.invoice-output .output-badges{font-size:12px!important}.invoice-output .output-thanks{font-size:13px!important}.invoice-output.template-family-aurora .output-top{border-bottom:5px solid var(--invoice-accent);background:linear-gradient(135deg,#eff6ff,#f5f3ff);border-radius:12px;padding:18px}.invoice-output.template-family-executive .output-top,.invoice-output.template-family-prime .output-top{border-left:6px solid var(--invoice-accent);grid-template-columns:1.25fr .75fr;align-items:center;padding:18px;display:grid}.invoice-output.template-family-minimalist .output-info-grid{grid-template-columns:1fr 1fr}.invoice-output.template-family-minimalist .output-box{background:#fff;border-width:0 0 1px;border-radius:0;padding:12px 2px}.invoice-output.template-family-midnight .output-top,.invoice-output.template-family-neonedge .output-top{color:#fff;background:#111827;border-radius:10px;padding:18px}.invoice-output.template-family-midnight .output-top h1,.invoice-output.template-family-neonedge .output-top h1,.invoice-output.template-family-midnight .output-top h2,.invoice-output.template-family-neonedge .output-top h2{color:#fff}.invoice-output.template-family-glassflow .output-box,.invoice-output.template-family-glassflow .output-totals{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:16px;box-shadow:0 8px 24px #3b82f61f}.invoice-output.template-family-royal .output-top,.invoice-output.template-family-prestige .output-top{border-top:3px double var(--invoice-accent);border-bottom:3px double var(--invoice-accent);padding:16px}.invoice-output.template-family-royal .output-totals strong,.invoice-output.template-family-prestige .output-totals strong{letter-spacing:.3px}.invoice-output.template-family-emerald .output-top,.invoice-output.template-family-freshmint .output-top{background:#ecfdf5;border-radius:10px;padding:16px}.invoice-output.template-family-oceanic .output-top,.invoice-output.template-family-indigo .output-top{background:#eff6ff;border-radius:10px;padding:16px}.invoice-output.template-family-sunset .output-top,.invoice-output.template-family-catalyst .output-top{background:linear-gradient(135deg,#fff7ed,#fdf2f8);border-radius:10px;padding:16px}.invoice-output.template-family-monochrome .output-top,.invoice-output.template-family-slate .output-top{filter:grayscale();border-bottom:3px solid #334155;padding:16px}.invoice-output.template-family-technova .output-top,.invoice-output.template-family-vertex .output-top,.invoice-output.template-family-nexus .output-top{border-left:8px solid var(--invoice-accent);background:#f8fbff;padding-left:16px}.invoice-output.template-family-finora .output-totals{border-left:5px solid var(--invoice-accent);padding-left:14px}.invoice-output.template-family-luxeline .output-top,.invoice-output.template-family-signature .output-top{border-bottom:1px solid #94a3b8;padding-bottom:18px}.invoice-output.template-family-urban .output-items table,.invoice-output.template-family-gst-retail .output-items table{border-radius:12px;overflow:hidden}.invoice-output.template-family-urban .invoice-item-product,.invoice-output.template-family-gst-retail .invoice-item-product{font-weight:700}.invoice-output.template-family-pulse .output-top{border-bottom:7px solid var(--invoice-accent);padding-bottom:14px}.invoice-output.template-family-horizon .output-info-grid{grid-template-columns:1.35fr .65fr}.invoice-output.template-family-horizon .output-bottom{grid-template-columns:1.25fr .75fr}.invoice-output.template-family-gst-enterprise .output-info-grid{grid-template-columns:1fr 1fr}.invoice-output.template-family-gst-enterprise .output-box{border-left:5px solid #64748b}.invoice-output.template-family-gst-detailed .output-items table{font-size:12px}.invoice-output.template-family-gst-compact{font-size:11px}.invoice-output.template-family-gst-compact .output-box{padding:10px}.invoice-output.template-family-gst-einvoice .output-qr{border:2px solid var(--invoice-accent);padding:14px}.public-pay-panel{background:#f8fbff;border:1px solid #dbeafe;border-radius:12px;margin-top:12px;padding:14px}.upi-app-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.cheque-grid{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;display:grid}.cheque-grid input,.public-pay-panel input{min-width:0}@media (width<=600px){.upi-app-grid,.cheque-grid{grid-template-columns:1fr}.invoice-output .invoice-item-product img{flex-basis:38px;width:38px!important;height:38px!important}}.low-stock-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.low-stock-row>span:first-child{flex-direction:column;gap:3px;display:flex}.low-stock-row small{color:var(--muted,#64748b);font-size:12px}.low-stock-actions{align-items:center;gap:6px;display:flex}.mini-action{padding:7px 10px;font-size:12px}.mini-action svg{width:14px;height:14px}.low-stock-card .mini-list{gap:8px}.dashboard-business-name{background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #bfdbfe;margin:0 0 18px;padding:24px 28px}.dashboard-business-name span{letter-spacing:.16em;color:#64748b;font-size:11px;font-weight:800}.dashboard-business-name h1{margin:5px 0;font-size:clamp(30px,4vw,48px);font-weight:900;line-height:1.05}.dashboard-business-name p{color:#64748b;margin:8px 0 0}.auto-image-note{color:#1e40af;background:#eff6ff;border:1px dashed #93c5fd;border-radius:10px;grid-column:1/-1;align-items:center;gap:8px;padding:11px 13px;font-size:13px;font-weight:600;display:flex}.smart-payment-summary{background:#f8fbff;border:1px solid #bfdbfe;border-radius:14px;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0;padding:14px;display:grid}.smart-payment-summary div{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.smart-payment-summary span{color:#64748b;margin-bottom:4px;font-size:11px;display:block}.smart-payment-summary b,.smart-payment-summary strong{font-size:16px}.payment-paid{color:#15803d}.payment-partial{color:#b45309}@media (width<=800px){.smart-payment-summary{grid-template-columns:repeat(2,1fr)}}
