*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f4f6fa;color:#20242d}a{text-decoration:none;color:inherit}.brand{font-weight:900;font-size:21px;letter-spacing:.5px;margin-bottom:25px}.brand span{color:#e91e3f}.landing{min-height:100vh;display:grid;place-items:center}.hero{max-width:800px;padding:50px;text-align:center}.hero h1{font-size:52px;margin:10px 0}.hero p{color:#667085;font-size:18px;line-height:1.6}.features{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:35px}.features b{background:#fff;padding:12px 16px;border-radius:12px;border:1px solid #e5e7eb}.btn{display:inline-block;padding:11px 17px;border-radius:9px;border:0;font-weight:700;margin:4px}.primary{background:#e91e3f;color:#fff}.secondary{background:#eef0f4;color:#20242d}.full{width:100%;margin:12px 0}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px;margin-bottom:18px;box-shadow:0 3px 15px #1111}.auth .panel{width:min(430px,100%)}label{display:block;font-size:12px;font-weight:700;color:#667085;margin:10px 0 5px}input{width:100%;padding:11px;border:1px solid #d9dde5;border-radius:8px}aside{width:245px;position:fixed;inset:0 auto 0 0;background:#151923;color:#fff;padding:22px 15px;overflow-y:auto}aside a{display:block;color:#cbd1dc;padding:9px 12px;border-radius:9px;margin:2px 0;font-size:14px}aside a:hover,aside a.active{background:#292f3b;color:#fff}.layout main{margin-left:245px}.layout header{height:65px;background:#fff;border-bottom:1px solid #e5e7eb;padding:0 25px;display:flex;align-items:center;justify-content:space-between}.content{padding:25px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:15px 0}.stats>div{background:#fff;padding:18px;border:1px solid #e5e7eb;border-radius:12px}.stats small{display:block;color:#667085}.stats strong{display:block;font-size:24px;margin-top:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.item{display:grid;grid-template-columns:2fr 90px 120px 45px;gap:8px;margin:8px 0}.item.bill{grid-template-columns:2fr 1fr 70px 1fr 1.2fr 80px 100px 45px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:13px}.alert{background:#fee2e2;color:#991b1b;padding:10px;border-radius:8px;margin-bottom:12px}.ok{background:#dcfce7;color:#166534;padding:10px;border-radius:8px;margin-bottom:12px}@media(max-width:800px){aside{position:static;width:auto;display:flex;overflow:auto;gap:5px;align-items:center}aside .brand{margin:0 10px 0 0;white-space:nowrap}aside a{white-space:nowrap}.layout main{margin-left:0}.layout header{padding:0 15px}.content{padding:15px}.stats{grid-template-columns:1fr 1fr}.grid2{grid-template-columns:1fr}.item{grid-template-columns:1fr 1fr}.hero{padding:25px}.hero h1{font-size:38px}}.home-wrap{width:100%;min-height:100vh;background:linear-gradient(180deg,#f8faff 0,#f4f6fa 55%,#fff 100%)}.topbar{max-width:1180px;margin:auto;padding:22px 22px;display:flex;align-items:center;justify-content:space-between}.topbar nav{display:flex;align-items:center;gap:8px}.small{padding:9px 14px!important}.hero{max-width:950px!important;padding:55px 25px 45px!important}.badge{display:inline-block;background:#fff;border:1px solid #e4e7ec;border-radius:999px;padding:8px 14px;color:#475467;font-weight:700;font-size:13px}.hero h1{font-size:58px!important;line-height:1.08;letter-spacing:-2px;max-width:850px;margin:20px auto 15px!important}.hero p{max-width:760px;margin:0 auto 25px}.hero-actions{margin:12px 0}.trust{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:25px;color:#667085;font-size:13px}.tool-section,.features-section{max-width:1180px;margin:0 auto;padding:35px 22px}.section-head h2,.features-section h2{font-size:30px;margin:6px 0}.section-head p{color:#667085}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#e91e3f}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.tool-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;box-shadow:0 8px 30px #1018280a}.tool-card h3{margin:10px 0 6px}.tool-card p{color:#667085;line-height:1.5;font-size:14px}.tool-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff0f3;color:#e91e3f;font-weight:900}.tool-icon.blue{background:#eff6ff;color:#2563eb}.tool-icon.green{background:#ecfdf3;color:#039855}.tool-icon.orange{background:#fff7ed;color:#ea580c}.tool-icon.purple{background:#f5f3ff;color:#7c3aed}.tool-icon.dark{background:#f2f4f7;color:#344054}.calc-row{display:grid;grid-template-columns:1.5fr 1fr;gap:8px;margin:8px 0}.tool-card input,.tool-card select{width:100%;padding:11px;border:1px solid #d9dde5;border-radius:9px;background:#fff}.result-box{background:#f8fafc;border:1px dashed #d0d5dd;border-radius:10px;padding:11px;font-size:13px;line-height:1.7;margin-top:10px}.mini-list{padding-left:18px;color:#475467;font-size:13px;line-height:1.8}.official-link{font-size:12px;color:#175cd3}.features-section{text-align:center}.features{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}.features b{background:#fff;padding:12px 16px;border-radius:12px;border:1px solid #e5e7eb}footer{text-align:center;color:#98a2b3;padding:25px;font-size:12px}@media(max-width:900px){.tool-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:44px!important}}@media(max-width:600px){.topbar{padding:16px}.topbar .brand{margin:0}.hero{padding:38px 18px 30px!important}.hero h1{font-size:36px!important;letter-spacing:-1px}.tool-section,.features-section{padding:25px 16px}.tool-grid{grid-template-columns:1fr}.calc-row{grid-template-columns:1fr}.topbar nav a:first-child{display:none}}

select,textarea{width:100%;padding:11px;border:1px solid #d9dde5;border-radius:8px;background:#fff;font:inherit}textarea{min-height:90px;resize:vertical}.muted{color:#667085}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.toolbar h2{margin:0}.danger{background:#fee2e2!important;color:#991b1b!important}.pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#f2f4f7;font-size:11px;font-weight:800}.scanbar{display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0}.scanbar input{border:2px solid #e91e3f}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-card{display:flex;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;box-shadow:0 5px 20px #1018280a;transition:.15s}.feature-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px #10182815}.feature-card h3{margin:0 0 6px;font-size:16px}.feature-card p{margin:0 0 8px;color:#667085;font-size:13px;line-height:1.5}.feature-card span{font-size:12px;font-weight:800;color:#e91e3f}.big-icon{width:48px;height:48px;min-width:48px;border-radius:14px;background:#fff0f3;display:grid;place-items:center;font-size:25px}.feature-link{display:flex;padding:13px;border:1px solid #e5e7eb;border-radius:10px;margin:8px 0;background:#fff;font-weight:700}.feature-link:hover{border-color:#e91e3f}.feature-strip{display:flex;gap:10px;flex-wrap:wrap}.feature-strip a{padding:11px 14px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb;font-weight:700;font-size:13px}.listrow{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #eee;padding:12px 0}.barcode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:20px}.barcode-card{text-align:center;border:1px dashed #bbb;padding:12px;min-height:100px}.barcode-card svg{display:block;width:100%;margin:10px auto}.pos-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.pos-product{border:1px solid #e5e7eb;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:6px;background:#fff}.pos-product input[type=checkbox]{width:auto;align-self:flex-start}.pos-product span{font-weight:800}.pos-product small{color:#667085}.shop{max-width:1180px;margin:auto}.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.official-link{font-size:12px;color:#475467}
@media(max-width:1000px){.feature-grid{grid-template-columns:1fr 1fr}.pos-grid{grid-template-columns:1fr 1fr}.shop-grid{grid-template-columns:1fr 1fr}.barcode-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.feature-grid,.pos-grid,.shop-grid,.barcode-grid{grid-template-columns:1fr}.scanbar{grid-template-columns:1fr}.toolbar{align-items:flex-start}.toolbar span{width:100%}.toolbar .btn{margin-left:0}}

.navgroup{font-size:10px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;color:#6b7385;margin:16px 6px 4px}.ico{display:inline-block;width:22px;text-align:center}
input[type=checkbox]{width:auto}button{cursor:pointer;font-family:inherit}.btn{cursor:pointer;font-family:inherit;font-size:14px}.btn:hover{filter:brightness(.96)}
@media(max-width:800px){.navgroup{display:none}aside{padding:10px 12px}aside a{padding:9px 11px}}

/* AJANTA BILLING — PREMIUM ONE THEME */
:root{--p:#5b5ce2;--p2:#7c3aed;--ink:#172033;--muted:#667085;--line:#e8eaf2;--soft:#f7f7ff;--green:#12b76a}
body{background:#f5f6fb;color:var(--ink)}
aside{background:linear-gradient(180deg,#171a2d 0%,#111322 100%);width:238px;box-shadow:10px 0 35px #171a2d18}
.brand{font-size:22px}.brand span{color:#8b8df5}
aside a{border-radius:11px;color:#c8ccda}aside a:hover,aside a.active{background:linear-gradient(90deg,#5b5ce2,#6d5ce7);color:#fff;box-shadow:0 8px 18px #5b5ce244}
.layout header{height:70px;box-shadow:0 2px 12px #10182808;border:0}.content{max-width:1500px;margin:auto}
.btn{border-radius:11px;padding:11px 16px}.primary{background:linear-gradient(135deg,var(--p),var(--p2));box-shadow:0 8px 18px #5b5ce233}.secondary{background:#f1f2f8;border:1px solid #e2e4ef}.panel{border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 35px #1018280a}
/* Fast billing workspace */
.billing-shell{max-width:1280px;margin:0 auto}.billing-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.billing-head h1{font-size:30px;margin:4px 0}.billing-head p{margin:0;color:var(--muted)}.eyebrow{color:var(--p);font-size:11px;font-weight:900;letter-spacing:1.8px}.billing-actions{display:flex;gap:8px}.billing-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.billing-main{min-width:0}.bill-card,.summary-card,.quick-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px #1018280b}.bill-card{padding:20px;margin-bottom:16px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.card-title>div{display:flex;align-items:center;gap:12px}.card-title h2{margin:0;font-size:18px}.card-title small{color:var(--muted);font-size:12px}.step{width:30px;height:30px;border-radius:10px;background:#efefff;color:var(--p);display:grid;place-items:center;font-weight:900}.saved-badge{background:#ecfdf3;color:#087443;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.customer-pick{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:8px}.customer-pick a{padding:10px 4px;color:var(--p);font-weight:800;font-size:12px}.bill-card label{color:#475467}.bill-card input,.bill-card select{border:1px solid #dfe2eb;border-radius:10px;background:#fff;transition:.15s}.bill-card input:focus,.bill-card select:focus{outline:0;border-color:#7778e9;box-shadow:0 0 0 4px #5b5ce20f}.span2{grid-column:span 2}.premium-scan{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:7px;background:#f7f7ff;border:1px solid #e3e4fb;border-radius:13px}.premium-scan>span{font-size:22px;color:var(--p);padding-left:7px}.premium-scan input{border:0!important;background:transparent!important;box-shadow:none!important}.premium-scan input:focus{outline:0}.premium-scan .btn{margin:0}.item.bill{grid-template-columns:minmax(180px,2fr) 90px 70px 120px 120px 75px 105px 38px;align-items:center;background:#fafbfe;border:1px solid #eceef5;border-radius:13px;padding:8px;margin:9px 0}.item.bill input{padding:9px}.product-field{min-width:0}.product-field .product-name{display:block}.stock-hint{display:block;color:#7b8190;font-size:10px;padding:3px 4px 0}.remove-line{width:34px;height:34px;border:0;border-radius:9px;background:#fff0f1;color:#d92d20;font-size:20px}.add-line{width:100%;padding:12px;border:1px dashed #b8bbf3;background:#fafaff;color:var(--p);font-weight:800;border-radius:12px}.bill-summary{position:sticky;top:85px}.summary-card{padding:18px}.summary-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:13px;border-bottom:1px solid var(--line);font-size:13px}.summary-top span{font-weight:800}.summary-top strong{font-size:11px;color:var(--muted);background:#f2f4f7;border-radius:999px;padding:5px 8px}.summary-items{max-height:190px;overflow:auto}.summary-items>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #eceef3;font-size:12px}.summary-items span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:13px;color:#667085}.summary-row b{color:#344054}.summary-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:6px;padding-top:14px}.summary-total span{font-weight:800}.summary-total strong{font-size:25px;color:var(--p)}.create-bill{font-size:15px;padding:14px;margin-top:15px}.secure-note{text-align:center;color:#7b8190;font-size:10px;margin-top:10px}.quick-card{padding:15px;margin-top:12px;font-size:12px;color:#667085;line-height:2}.quick-card b{display:block;color:#172033;font-size:13px;margin-bottom:4px}.empty-summary{text-align:center;color:#98a2b3;padding:25px 0}.compact-options{padding-bottom:18px}
@media(max-width:1100px){.billing-grid{grid-template-columns:1fr}.bill-summary{position:static}.item.bill{grid-template-columns:2fr 1fr 70px 1fr 1fr 75px 100px 38px}}
@media(max-width:700px){.billing-head{align-items:flex-start;flex-direction:column}.billing-actions{width:100%}.billing-actions .btn{flex:1;text-align:center}.span2{grid-column:auto}.customer-pick{grid-template-columns:1fr}.item.bill{grid-template-columns:1fr 1fr;padding:10px}.item.bill .product-field,.item.bill input[name="barcode[]"]{grid-column:span 2}.item.bill .remove-line{justify-self:end}.premium-scan{grid-template-columns:1fr}.premium-scan>span{display:none}.premium-scan .btn{width:100%}.card-title{align-items:flex-start}.card-title>.btn{font-size:11px}.saved-badge{display:none}}

/* v4 — compact, easy-to-use responsive UI */
.ico{width:20px;font-size:16px;vertical-align:-1px}
aside a{font-size:13px;padding:8px 10px}
.tool-icon{width:36px;height:36px;min-width:36px;border-radius:10px;font-size:13px}
.feature-card{gap:11px;padding:14px;border-radius:14px}
.big-icon{width:40px;height:40px;min-width:40px;border-radius:11px;font-size:20px}
.tool-card{padding:16px;border-radius:15px}
.tool-card h3{font-size:18px}
.tool-card p{font-size:13px}
.features b{padding:9px 12px;font-size:12px}

@media(max-width:800px){
  body{font-size:14px}
  .layout{display:block}
  aside{position:sticky;top:0;z-index:50;width:100%;height:auto;padding:8px 10px;display:flex;align-items:center;gap:4px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;box-shadow:0 4px 16px #11132220}
  aside .brand{font-size:16px;margin:0 8px 0 0;min-width:max-content}
  aside .navgroup{display:none}
  aside a{display:flex;align-items:center;gap:4px;margin:0;padding:7px 8px;border-radius:9px;font-size:11px;min-width:max-content}
  aside a .ico{width:18px;font-size:15px}
  .layout main{margin-left:0;width:100%}
  .layout header{height:54px;padding:0 14px;font-size:13px;position:sticky;top:49px;z-index:40}
  .content{padding:12px;width:100%;max-width:none}
  h1{font-size:27px!important;line-height:1.15}
  h2{font-size:20px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .stats>div{padding:12px;border-radius:12px}
  .stats strong{font-size:20px}
  .stats small{font-size:11px}
  .grid2{grid-template-columns:1fr;gap:10px}
  .panel{padding:14px;border-radius:14px}
  .feature-strip{gap:6px}
  .feature-strip a{padding:8px 9px;font-size:11px}
  .billing-shell{width:100%}
  .billing-head{margin-bottom:12px}
  .billing-head h1{font-size:26px!important}
  .bill-card{padding:14px;border-radius:14px;margin-bottom:10px}
  .card-title h2{font-size:16px}
  .card-title small{font-size:11px}
  .step{width:26px;height:26px;border-radius:8px}
  .bill-card input,.bill-card select{padding:10px;font-size:13px}
  .item.bill{grid-template-columns:1fr 1fr!important;gap:7px;padding:9px}
  .item.bill .product-field,.item.bill input[name="barcode[]"]{grid-column:span 2}
  .item.bill input{min-width:0}
  .summary-total strong{font-size:22px}
  .hero{padding:32px 16px 24px!important}
  .hero h1{font-size:34px!important;line-height:1.1}
  .hero p{font-size:15px;line-height:1.5}
  .tool-section,.features-section{padding:20px 12px}
  .section-head h2,.features-section h2{font-size:23px}
  .tool-grid{grid-template-columns:1fr;gap:10px}
  .tool-card h3{font-size:18px}
  .tool-card .full{margin:8px 0 0}
  .feature-grid{grid-template-columns:1fr;gap:9px}
  .feature-card h3{font-size:15px}
  .feature-card p{font-size:12px}
}
@media(min-width:801px){
  .content{padding:22px 24px}
  .stats>div{padding:15px}
}

/* V5 — mobile-first compact landing page: readable cards, no squeezed 3-column layout */
.home-wrap{overflow-x:hidden}
.tool-card,.feature-card{min-width:0;overflow:hidden}
.tool-card h3{font-size:19px;line-height:1.2;letter-spacing:-.2px}
.tool-card p{font-size:13px;line-height:1.45}
.tool-icon{width:34px;height:34px;min-width:34px;border-radius:9px;font-size:11px}
.big-icon{width:38px;height:38px;min-width:38px;font-size:18px}

@media(max-width:600px){
  .topbar{padding:12px 14px}
  .topbar .brand{font-size:17px}
  .topbar nav{gap:4px}
  .topbar nav a{font-size:11px}
  .topbar .btn.small{padding:7px 9px!important;font-size:10px}
  .hero{max-width:100%!important;padding:24px 14px 20px!important}
  .hero .badge{padding:6px 9px;font-size:10px}
  .hero h1{font-size:31px!important;line-height:1.12;letter-spacing:-.8px;margin:14px auto 10px!important;max-width:370px}
  .hero p{font-size:14px;line-height:1.48;max-width:370px;margin-bottom:16px}
  .hero-actions{display:flex;justify-content:center;gap:4px}
  .hero-actions .btn{padding:9px 12px;font-size:11px}
  .trust{gap:7px 12px;margin-top:13px;font-size:10px}
  .tool-section,.features-section{padding:18px 12px}
  .section-head h2,.features-section h2{font-size:22px;line-height:1.2;margin:5px 0 7px}
  .section-head p{font-size:13px;line-height:1.4;margin:0}
  .tool-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:14px}
  .tool-card{padding:13px!important;border-radius:13px!important;box-shadow:0 4px 16px #1018280a}
  .tool-card h3{font-size:18px;margin:7px 0 4px}
  .tool-card p{font-size:12px;line-height:1.42;margin:0 0 8px}
  .tool-card .full{margin:6px 0 0;padding:9px 10px;font-size:11px}
  .calc-row{gap:6px;margin:6px 0}
  .tool-card input,.tool-card select{padding:9px;font-size:12px}
  .result-box{padding:8px;font-size:11px;margin-top:7px}
  .mini-list{font-size:11px;line-height:1.55;margin:7px 0;padding-left:17px}
  .official-link{font-size:10px}
  .features{gap:5px;margin-top:12px}
  .features b{padding:7px 9px;font-size:10px;border-radius:9px}
  .features-section>.muted{font-size:13px;line-height:1.45}
  .feature-grid{grid-template-columns:1fr!important;gap:7px!important}
  .feature-card{padding:11px!important;border-radius:12px!important}
  .feature-card h3{font-size:14px;margin-bottom:3px}
  .feature-card p{font-size:11px;line-height:1.35}
  .big-icon{width:34px;height:34px;min-width:34px;font-size:16px;border-radius:9px}
  footer{padding:18px 10px;font-size:10px}
}

/* V6 — robust responsive dashboard for real Android Chrome viewports */
@media (max-width:1100px){
  .layout{display:block;min-width:0;width:100%;}
  .layout>aside{
    position:sticky!important;top:0!important;left:0!important;inset:auto!important;
    width:100%!important;height:54px!important;min-height:54px!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;
    padding:7px 9px!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;
    white-space:nowrap!important;z-index:100!important;border-radius:0!important;
    box-shadow:0 4px 18px #11132222!important;
  }
  .layout>aside .brand{font-size:15px!important;margin:0 8px 0 2px!important;min-width:max-content!important;line-height:1!important}
  .layout>aside .navgroup{display:none!important}
  .layout>aside a{
    display:flex!important;align-items:center!important;gap:4px!important;
    width:auto!important;min-width:max-content!important;margin:0!important;
    padding:7px 9px!important;font-size:11px!important;border-radius:9px!important;
  }
  .layout>aside a .ico{width:auto!important;font-size:14px!important}
  .layout main{margin-left:0!important;width:100%!important;min-width:0!important}
  .layout header{
    height:52px!important;padding:0 13px!important;font-size:12px!important;
    position:sticky!important;top:54px!important;z-index:90!important;
  }
  .content{padding:13px!important;width:100%!important;max-width:none!important;overflow-x:hidden!important}
  .content>h1{font-size:28px!important;line-height:1.15!important;margin:8px 0 12px!important}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
  .stats>div{padding:12px!important;min-width:0!important}
  .stats small{font-size:11px!important;line-height:1.25!important}
  .stats strong{font-size:20px!important;margin-top:5px!important}
  .grid2{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .grid2 .panel{padding:13px!important;min-width:0!important}
  .grid2 .panel h2{font-size:20px!important;line-height:1.2!important;margin:0 0 8px!important}
  .grid2 .panel p{font-size:13px!important;line-height:1.45!important;margin:7px 0!important}
  .grid2 .panel .btn{font-size:11px!important;padding:8px 9px!important;margin:3px 1px!important}
  .grid2 .panel .muted{font-size:11px!important;line-height:1.45!important}
  .feature-strip{gap:5px!important}
  .feature-strip a{padding:7px 8px!important;font-size:10px!important}
}
@media (max-width:700px){
  .layout>aside{height:50px!important;min-height:50px!important}
  .layout>aside .brand{font-size:14px!important}
  .layout>aside a{font-size:10px!important;padding:6px 8px!important}
  .layout>aside a .ico{font-size:13px!important}
  .layout header{top:50px!important;height:48px!important}
  .content{padding:10px!important}
  .content>h1{font-size:24px!important;margin:7px 0 10px!important}
  .stats{gap:7px!important}
  .stats>div{padding:10px!important}
  .stats strong{font-size:18px!important}
  .grid2{grid-template-columns:1fr!important}
  .grid2 .panel{padding:12px!important}
  .grid2 .panel h2{font-size:18px!important}
}

/* V7 — AJANTA BILLING PROFESSIONAL WORKSPACE */
:root{--v7-primary:#5b5ce2;--v7-primary2:#7c3aed;--v7-ink:#172033;--v7-muted:#667085;--v7-line:#e9ebf2;--v7-bg:#f6f7fb}
body{background:var(--v7-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.layout>aside{width:248px;padding:18px 13px;background:linear-gradient(180deg,#171a2d 0%,#101321 100%);box-shadow:12px 0 30px rgba(16,19,33,.10)}
.layout>aside .brand{padding:4px 9px 16px;margin:0;font-size:19px}
.layout>aside a{font-size:13px;padding:9px 11px;margin:2px 0;border:1px solid transparent}
.layout>aside a .ico{font-size:15px}
.layout>aside a.active{background:linear-gradient(135deg,#5b5ce2,#704fe7);box-shadow:0 7px 18px rgba(91,92,226,.28)}
.layout>aside a:hover:not(.active){background:#23273a;border-color:#30364d}
.layout main{margin-left:248px}
.layout header{height:64px;padding:0 24px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--v7-line);box-shadow:0 1px 8px rgba(16,24,40,.03)}
.layout header b{font-size:13px;color:#344054}
.layout header span{font-size:12px;color:#667085;background:#f7f7fb;border:1px solid #eceef5;border-radius:999px;padding:7px 11px}
.content{padding:24px;max-width:1440px}
.content>h1{font-size:31px;letter-spacing:-.8px;margin:2px 0 5px;color:#111827}
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;margin-bottom:18px;background:linear-gradient(135deg,#fff 0%,#f8f7ff 100%);border:1px solid var(--v7-line);border-radius:20px;box-shadow:0 12px 32px rgba(16,24,40,.05)}
.dashboard-hero .hero-copy small{display:block;color:var(--v7-muted);margin-top:4px}
.dashboard-hero .hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.dashboard-hero .hero-actions .btn{margin:0}
.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.stats>div{position:relative;padding:16px 17px;border:1px solid var(--v7-line);border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.04);overflow:hidden}
.stats>div:after{content:"";position:absolute;width:60px;height:60px;right:-18px;top:-18px;border-radius:50%;background:linear-gradient(135deg,#f0efff,#faf9ff);opacity:.9}
.stats small{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:#667085}
.stats strong{font-size:25px;color:#111827;position:relative;z-index:1}
.stat-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0efff;margin-bottom:8px;font-size:15px;position:relative;z-index:1}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px}
.workspace-card{background:#fff;border:1px solid var(--v7-line);border-radius:18px;padding:17px;box-shadow:0 9px 28px rgba(16,24,40,.045)}
.workspace-card h2{font-size:17px;margin:0 0 3px}.workspace-card .sub{font-size:12px;color:#667085;margin:0 0 13px}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.quick-action{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #eceef5;border-radius:13px;background:#fbfbfe;transition:.15s}
.quick-action:hover{transform:translateY(-1px);border-color:#c9c9f5;box-shadow:0 7px 18px rgba(91,92,226,.08)}
.quick-action .qa-icon{width:34px;height:34px;min-width:34px;display:grid;place-items:center;border-radius:10px;background:#f0efff;font-size:16px}
.quick-action b{display:block;font-size:12px}.quick-action small{display:block;color:#7b8190;font-size:10px;margin-top:2px}
.snapshot-list{display:grid;gap:9px}.snapshot-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed #eceef3;font-size:12px}.snapshot-row:last-child{border-bottom:0}.snapshot-row span{color:#667085}.snapshot-row b{color:#172033}
.feature-panel{margin-top:14px;background:#fff;border:1px solid var(--v7-line);border-radius:18px;padding:17px;box-shadow:0 9px 28px rgba(16,24,40,.045)}
.feature-panel .feature-strip a{padding:8px 10px;font-size:11px;background:#f8f8fc;border-color:#e8e9f1}
.mobile-dock{display:none}

/* Billing workspace refinements */
.billing-shell{max-width:1320px}.billing-head h1{font-size:27px;letter-spacing:-.5px}.billing-head{align-items:center}.bill-card{box-shadow:0 8px 26px rgba(16,24,40,.045)}
.summary-card{box-shadow:0 10px 28px rgba(16,24,40,.06);border-color:#e4e5f4}.summary-total strong{font-size:24px}.create-bill{background:linear-gradient(135deg,#5b5ce2,#7c3aed)!important}

@media(max-width:900px){
  .layout>aside{display:none!important}.layout main{margin-left:0}.layout header{height:56px;padding:0 14px}.content{padding:14px 12px 78px}.content>h1{font-size:25px}
  .dashboard-hero{padding:16px;border-radius:16px;align-items:flex-start}.dashboard-hero .hero-actions{min-width:145px}.dashboard-hero .hero-actions .btn{font-size:11px;padding:9px 10px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats>div{padding:12px}.stats strong{font-size:20px}.stat-icon{width:27px;height:27px;font-size:13px}
  .workspace-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}
  .mobile-dock{display:grid;position:fixed;z-index:300;left:10px;right:10px;bottom:10px;grid-template-columns:repeat(5,1fr);gap:4px;padding:6px;background:rgba(24,27,45,.96);border:1px solid rgba(255,255,255,.08);border-radius:17px;box-shadow:0 12px 30px rgba(0,0,0,.25);backdrop-filter:blur(14px)}
  .mobile-dock a{color:#cfd3e1;text-align:center;font-size:9px;padding:5px 2px;border-radius:11px}.mobile-dock a.active,.mobile-dock a:hover{background:#5b5ce2;color:#fff}.mobile-dock i{display:block;font-style:normal;font-size:16px;line-height:18px;margin-bottom:2px}
}
@media(max-width:600px){
  .layout header b{font-size:12px}.layout header span{font-size:10px;padding:6px 9px}.content{padding:11px 10px 78px}.content>h1{font-size:23px}
  .dashboard-hero{display:block}.dashboard-hero .hero-actions{margin-top:12px}.dashboard-hero .hero-actions .btn{flex:1;text-align:center}
  .stats{grid-template-columns:repeat(2,1fr)}.stats>div{border-radius:13px}.stats small{font-size:9px}.stats strong{font-size:18px}
  .workspace-card,.feature-panel{padding:13px;border-radius:15px}.quick-grid{grid-template-columns:1fr 1fr}.quick-action{padding:9px}.quick-action .qa-icon{width:30px;height:30px;min-width:30px;font-size:14px}.quick-action b{font-size:11px}.quick-action small{font-size:9px}
  .snapshot-row{font-size:11px}
}

/* V8 Mobile Home — premium compact dashboard */
@media (max-width:600px){
  body{background:#f6f7fb}
  .layout header{position:sticky;top:0;z-index:120;height:52px;background:rgba(255,255,255,.97);box-shadow:0 4px 18px rgba(20,25,40,.06)}
  .content{padding:10px 12px 92px;max-width:100%}
  .content>h1{display:none}
  .dashboard-hero{margin:0 0 10px;padding:16px;border-radius:18px;background:linear-gradient(135deg,#5b5ce2 0%,#7448e8 100%);border:0;color:#fff;box-shadow:0 12px 28px rgba(91,92,226,.22)}
  .dashboard-hero .eyebrow{display:block;color:rgba(255,255,255,.78);font-size:9px;letter-spacing:1.4px;margin-bottom:5px}
  .dashboard-hero h1{font-size:22px!important;line-height:1.16;letter-spacing:-.5px;margin:0!important;color:#fff}
  .dashboard-hero .hero-copy small{font-size:11px;color:rgba(255,255,255,.82);line-height:1.4;margin-top:6px}
  .dashboard-hero .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}
  .dashboard-hero .hero-actions .btn{font-size:11px;padding:10px 8px;border-radius:10px;text-align:center;margin:0}
  .dashboard-hero .hero-actions .primary{background:#fff;color:#4f46c9}
  .dashboard-hero .hero-actions .secondary{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#fff}

  .stats{grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 10px}
  .stats>div{min-height:82px;padding:11px 12px;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(20,25,40,.045)}
  .stat-icon{width:28px;height:28px;margin-bottom:5px;border-radius:9px;font-size:13px;background:#f0efff;color:#554bd6}
  .stats small{font-size:8px;letter-spacing:.4px}
  .stats strong{font-size:18px;margin-top:3px}

  .workspace-grid{gap:10px}
  .workspace-card{padding:13px;border-radius:16px;box-shadow:0 6px 20px rgba(20,25,40,.045)}
  .workspace-card h2{font-size:16px;margin-bottom:2px}
  .workspace-card .sub{font-size:10px;margin-bottom:10px}
  .quick-grid{grid-template-columns:repeat(2,1fr);gap:7px}
  .quick-action{padding:10px 8px;border-radius:12px;gap:8px;background:#fafaff}
  .quick-action .qa-icon{width:31px;height:31px;min-width:31px;border-radius:9px;font-size:14px}
  .quick-action b{font-size:10px;line-height:1.2}
  .quick-action small{font-size:8px;line-height:1.2}

  .snapshot-list{gap:0}
  .snapshot-row{padding:9px 0;font-size:10px}
  .snapshot-row b{font-size:11px}
  .workspace-card .btn.full{font-size:11px;padding:10px;margin-top:8px}
  .feature-panel{margin-top:10px;padding:14px;border-radius:16px;box-shadow:0 6px 20px rgba(20,25,40,.045)}
  .feature-panel h2{font-size:17px;margin:0 0 2px}
  .feature-panel .sub{font-size:10px;margin:0 0 9px}
  .feature-panel .feature-strip{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}
  .feature-panel .feature-strip::-webkit-scrollbar{display:none}
  .feature-panel .feature-strip a{flex:0 0 auto;padding:8px 10px;font-size:9px;border-radius:999px;white-space:nowrap}
  .mobile-dock{left:8px;right:8px;bottom:8px;border-radius:18px;padding:5px;box-shadow:0 12px 30px rgba(0,0,0,.28)}
  .mobile-dock a{font-size:8px;padding:6px 2px;border-radius:12px}
  .mobile-dock i{font-size:15px;line-height:17px}
}
/* V11 — Mobile-first Settings / Profile / Invoice / Account screens */
.settings-wrap{max-width:920px;margin:0 auto}.settings-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:16px}.settings-head h1{margin:3px 0;font-size:30px;letter-spacing:-.7px}.settings-head p{margin:0;color:#667085;font-size:13px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#5b5ce2}.settings-form{display:grid;gap:14px}.settings-card{background:#fff;border:1px solid #e8eaf1;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(16,24,40,.045)}.settings-card-title{display:flex;align-items:center;gap:11px;margin-bottom:15px}.settings-card-title h2{margin:0;font-size:17px;color:#172033}.settings-card-title p{margin:3px 0 0;color:#7b8190;font-size:11px}.settings-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f0efff;font-size:21px;flex:0 0 42px}.settings-icon.blue{background:#eef6ff}.settings-icon.purple{background:#f1efff}.settings-icon.green{background:#ecfbf3}.settings-icon.gold{background:#fff7e6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .full{grid-column:1/-1}.settings-card label{display:block;font-size:11px;font-weight:700;color:#475467;margin:0 0 5px}.settings-card input,.settings-card select,.settings-card textarea{width:100%;box-sizing:border-box;border:1px solid #dfe3eb;background:#fff;border-radius:10px;padding:10px 11px;font:inherit;font-size:13px;color:#172033;outline:none}.settings-card input:focus,.settings-card select:focus,.settings-card textarea:focus{border-color:#7777e9;box-shadow:0 0 0 3px rgba(91,92,226,.10)}.settings-card input[readonly]{background:#f7f8fb;color:#667085}.hint{display:block;font-size:10px;color:#98a2b3;margin-top:4px}.form-actions{display:flex;justify-content:flex-end}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.check-row{display:flex!important;align-items:center;gap:9px;padding:10px 11px;border:1px solid #eceef4;border-radius:11px;background:#fafbfe;font-size:12px!important}.check-row input{width:auto!important}.settings-menu{display:grid;gap:10px}.settings-menu-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e8eaf1;border-radius:16px;padding:13px 15px;text-decoration:none;color:#172033;box-shadow:0 7px 20px rgba(16,24,40,.04)}.settings-menu-card>span:nth-child(2){flex:1}.settings-menu-card b{display:block;font-size:14px}.settings-menu-card small{display:block;color:#7b8190;font-size:11px;margin-top:3px}.settings-menu-card>strong{font-size:25px;color:#6b5ce7;font-weight:400}.quick-links{display:flex;flex-wrap:wrap;gap:8px}.quick-links a{padding:8px 11px;background:#f5f5fb;border:1px solid #e8e8f2;border-radius:9px;font-size:11px;font-weight:700;color:#4f46b8;text-decoration:none}.account-status{display:grid;grid-template-columns:1fr auto;gap:10px;padding:11px 0}.account-status span,.account-status b{font-size:12px}.account-status span{color:#667085}.account-status b{text-align:right;color:#172033}.error{background:#fff0f1;border:1px solid #ffd0d4;color:#b42318;border-radius:10px;padding:10px 12px;margin-bottom:12px;font-size:12px}.ok{background:#ecfdf3;border:1px solid #b7ebcb;color:#087443;border-radius:10px;padding:10px 12px;margin-bottom:12px;font-size:12px}
@media(max-width:700px){.settings-wrap{width:100%}.settings-head{align-items:flex-start}.settings-head h1{font-size:25px}.settings-head .btn{font-size:11px;padding:8px 10px}.settings-card{padding:14px;border-radius:15px}.settings-card-title{margin-bottom:12px}.settings-icon{width:38px;height:38px;flex-basis:38px;font-size:18px}.form-grid,.check-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.settings-card-title h2{font-size:15px}.settings-card-title p{font-size:10px}.settings-menu-card{padding:11px 12px}.settings-menu-card b{font-size:13px}.settings-menu-card small{font-size:10px}.form-actions .btn{width:100%}}

/* V15 — Professional business registration/login */
.auth-pro{background:radial-gradient(circle at 10% 0%,#eef0ff 0,#f7f8fc 38%,#f4f6fa 100%);padding:28px 16px}.auth-card{width:min(560px,100%)!important;padding:30px!important;border-radius:24px!important;box-shadow:0 20px 60px rgba(30,35,80,.10)!important}.auth-card h1{margin:4px 0 8px;font-size:30px;letter-spacing:-.6px;color:#171a2b}.auth-sub{margin:0 0 22px;color:#667085;line-height:1.5}.auth-kicker{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#5b5ce2;margin-bottom:8px}.auth-grid{grid-template-columns:1fr 1fr;gap:4px 14px}.auth-grid .field-full{grid-column:1/-1}.auth-card textarea{width:100%;padding:11px;border:1px solid #d9dde5;border-radius:10px;resize:vertical;font:inherit}.auth-card label{margin-top:12px}.auth-submit{height:48px;font-size:15px;margin-top:18px}.auth-row{display:flex;justify-content:flex-end;margin:8px 0}.auth-row a,.auth-foot a{color:#4f46e5;font-weight:800}.auth-foot{color:#667085;text-align:center;margin:18px 0 0}.muted{font-weight:500;color:#98a2b3}.auth-card .brand{margin-bottom:20px}@media(max-width:600px){.auth-card{padding:22px!important;border-radius:20px!important}.auth-card h1{font-size:25px}.auth-grid{grid-template-columns:1fr}.auth-grid .field-full{grid-column:auto}.auth-pro{padding:14px}.auth-card input,.auth-card textarea{font-size:16px}.auth-submit{width:100%}}

/* V16 — Multi-business account / workspace switcher */
.business-switch{display:flex;align-items:center;gap:8px}.business-current{font-weight:800;color:#27304a;background:#f4f5ff;border:1px solid #e5e6f4;border-radius:999px;padding:7px 10px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-switch a{font-size:10px;font-weight:800;color:#5146d8;text-decoration:none}.business-grid{display:grid;gap:10px;margin-bottom:14px}.business-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e7e9f1;border-radius:16px;padding:13px;box-shadow:0 7px 20px rgba(16,24,40,.04)}.business-card.active{border-color:#a8a5f5;box-shadow:0 8px 24px rgba(91,92,226,.10)}.business-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#5b5ce2,#7c3aed);color:#fff;font-size:20px;font-weight:900}.business-info{flex:1;min-width:0}.business-info b{display:block;font-size:14px;color:#172033}.business-info small{display:block;font-size:10px;color:#7b8190;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-card form{margin:0}.business-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:280px}.business-card .btn{font-size:10px;padding:8px 10px}.business-card .btn.danger{background:#fff0f1;border-color:#ffd0d4;color:#b42318}.add-business-card{margin-top:4px}
@media(max-width:600px){.business-switch{gap:5px}.business-current{font-size:10px;padding:6px 8px;max-width:145px}.business-switch a{font-size:9px}.business-card{padding:10px;gap:9px}.business-avatar{width:38px;height:38px;flex-basis:38px;font-size:17px}.business-info b{font-size:12px}.business-info small{font-size:9px}.business-actions{max-width:145px;gap:4px}.business-card .btn{font-size:9px;padding:6px 7px}.add-business-card{padding:13px}}

/* V17 - Business Profile save visibility */
.profile-head-actions{display:flex;align-items:center;gap:8px}.profile-save-top{white-space:nowrap}.mobile-save-bar{display:none}
@media(max-width:700px){.profile-head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-head-actions .btn{width:100%;text-align:center}.profile-save-top{display:block}.profile-save-main{width:100%;display:block}.mobile-save-bar{display:block;position:sticky;bottom:10px;z-index:60;margin-top:4px;padding:8px;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 8px 28px rgba(16,24,40,.15)}.mobile-save-bar .btn{width:100%;min-height:46px;font-size:14px;font-weight:800}.settings-wrap{padding-bottom:18px}}

/* Business Profile V18: Edit/Save states */
.profile-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.profile-save-top:disabled,.profile-save-main:disabled,.mobile-save-bar .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.settings-form input[readonly],.settings-form textarea[readonly]{background:#f8f9fc;color:#475467;cursor:not-allowed}.settings-form input:not([readonly]),.settings-form textarea:not([readonly]){background:#fff;border-color:#7778e9;box-shadow:0 0 0 3px #5b5ce20c}.mobile-save-bar{display:none}@media(max-width:700px){.profile-head-actions{width:100%}.profile-head-actions .btn{flex:1}.profile-save-top{display:none}.mobile-save-bar{display:block;position:sticky;bottom:10px;z-index:20;background:#fff;padding:10px;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 10px 30px #10182822}.mobile-save-bar .btn{width:100%;margin:0}}

/* V24 PREMIUM MOBILE LANDING - compact, eye-catching, easy to scan */
@media (max-width:800px){
  body.landing .home-wrap{overflow-x:hidden}
  body.landing .topbar{padding:12px 16px;height:auto;min-height:56px}
  body.landing .topbar .brand{font-size:16px}
  body.landing .topbar nav{gap:5px}
  body.landing .topbar nav a{font-size:10px}
  body.landing .topbar nav .btn{padding:7px 10px;border-radius:8px}

  body.landing .hero{padding:24px 14px 18px!important;max-width:100%!important}
  body.landing .hero .badge{font-size:9px;padding:5px 8px}
  body.landing .hero h1{font-size:29px!important;line-height:1.08;letter-spacing:-.8px;margin:12px auto 9px!important;max-width:600px}
  body.landing .hero p{font-size:13px;line-height:1.45;max-width:590px;margin:0 auto 13px}
  body.landing .hero-actions{gap:6px}
  body.landing .hero-actions .btn{padding:8px 11px;font-size:10px;border-radius:9px}
  body.landing .trust{gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px}
  body.landing .trust span{font-size:8px}

  body.landing .tool-section,body.landing .features-section{padding:17px 12px}
  body.landing .section-head h2,body.landing .features-section h2{font-size:21px;line-height:1.16;margin:4px 0 6px}
  body.landing .section-head p{font-size:12px;line-height:1.4;margin:0}

  /* Two compact columns on modern phones/tablets, instead of oversized cards */
  body.landing .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px}
  body.landing .tool-card{padding:11px!important;border-radius:12px!important;box-shadow:0 4px 14px rgba(16,24,40,.07);min-height:0}
  body.landing .tool-icon{width:27px;height:27px;min-width:27px;border-radius:7px;font-size:8px}
  body.landing .tool-card h3{font-size:16px;line-height:1.15;margin:6px 0 4px;letter-spacing:-.2px}
  body.landing .tool-card p{font-size:10.5px;line-height:1.35;margin:0 0 7px}
  body.landing .tool-card .full{margin:5px 0 0;padding:7px 8px;font-size:9px;border-radius:7px}
  body.landing .tool-card input,body.landing .tool-card select{padding:7px 6px;font-size:9px;border-radius:7px}
  body.landing .calc-row{gap:4px}
  body.landing .result-box{font-size:10px;padding:7px;margin-top:6px}
  body.landing .mini-list{font-size:10px;line-height:1.35;padding-left:15px;margin:6px 0}
  body.landing .official-link{font-size:10px;line-height:1.3;display:block;margin-top:6px}

  body.landing .features{gap:4px;margin-top:10px}
  body.landing .features b{padding:6px 8px;font-size:9px;border-radius:8px}
  body.landing .features-section>.muted{font-size:12px;line-height:1.4;margin:5px 0 10px}
  body.landing .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.landing .feature-card{padding:10px!important;border-radius:11px!important;min-height:0}
  body.landing .feature-card .big-icon{font-size:17px!important;width:25px}
  body.landing .feature-card h3{font-size:11px;line-height:1.2;margin:0 0 2px}
  body.landing .feature-card p{font-size:8.5px;line-height:1.3;margin:0}
  body.landing footer{font-size:10px;padding:18px 10px 24px}
}

@media (max-width:430px){
  body.landing .hero h1{font-size:26px!important}
  body.landing .tool-grid{grid-template-columns:1fr!important}
  body.landing .tool-card h3{font-size:17px}
  body.landing .feature-grid{grid-template-columns:1fr!important}
}

/* V25 — MOBILE DASHBOARD CLEAN / EASY MODE */
@media (max-width: 900px){
  .layout{display:block!important;width:100%!important;min-width:0!important}
  .layout>aside{display:none!important}
  .layout main{margin:0!important;width:100%!important;min-width:0!important}
  .layout header{position:relative!important;top:auto!important;height:54px!important;min-height:54px!important;padding:0 14px!important;z-index:20!important;box-shadow:0 2px 10px rgba(16,24,40,.06)!important}
  .layout header b{font-size:13px!important}
  .layout header span{font-size:10px!important;padding:6px 9px!important;max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .content{width:100%!important;max-width:none!important;padding:12px 12px 96px!important;overflow-x:hidden!important}
}
@media (max-width: 600px){
  .content{padding:10px 10px 94px!important}
  .dashboard-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:0 0 10px!important;padding:15px!important;border-radius:17px!important;min-height:0!important}
  .dashboard-hero .hero-copy{min-width:0!important}
  .dashboard-hero h1{font-size:20px!important;line-height:1.18!important;letter-spacing:-.35px!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .dashboard-hero .hero-copy small{font-size:10px!important;line-height:1.35!important;display:block!important;margin-top:5px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .dashboard-hero .eyebrow{font-size:8px!important;margin-bottom:4px!important}
  .dashboard-hero .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0!important;min-width:0!important}
  .dashboard-hero .hero-actions .btn{font-size:10px!important;padding:9px 6px!important;min-width:0!important;white-space:nowrap!important}
  .stats{grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0 0 9px!important}
  .stats>div{min-height:76px!important;padding:10px!important;border-radius:13px!important}
  .stat-icon{width:26px!important;height:26px!important;font-size:12px!important;margin-bottom:4px!important}
  .stats small{font-size:8px!important;letter-spacing:.2px!important}
  .stats strong{font-size:17px!important;margin-top:2px!important}
  .workspace-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .workspace-card{padding:12px!important;border-radius:15px!important;min-width:0!important}
  .workspace-card h2{font-size:16px!important;line-height:1.2!important;margin:0 0 2px!important}
  .workspace-card .sub{font-size:9px!important;line-height:1.35!important;margin:0 0 9px!important}
  .quick-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  .quick-action{min-width:0!important;padding:9px 7px!important;border-radius:11px!important;gap:7px!important;overflow:hidden!important}
  .quick-action .qa-icon{width:29px!important;height:29px!important;min-width:29px!important;font-size:13px!important}
  .quick-action b{font-size:10px!important;line-height:1.15!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .quick-action small{font-size:8px!important;line-height:1.15!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .snapshot-row{font-size:10px!important;padding:8px 0!important}
  .snapshot-row b{font-size:10px!important}
  .workspace-card .btn.full{font-size:10px!important;padding:9px!important;margin:7px 0 0!important}
  .feature-panel{margin-top:9px!important;padding:12px!important;border-radius:15px!important}
  .feature-panel h2{font-size:16px!important}
  .feature-panel .sub{font-size:9px!important}
  .feature-panel .feature-strip{gap:5px!important;overflow-x:auto!important}
  .feature-panel .feature-strip a{padding:7px 9px!important;font-size:8px!important}
  .mobile-dock{left:7px!important;right:7px!important;bottom:7px!important;padding:4px!important;border-radius:17px!important}
  .mobile-dock a{font-size:8px!important;padding:6px 1px!important}
  .mobile-dock i{font-size:15px!important}
}
@media (max-width: 360px){
  .dashboard-hero h1{font-size:18px!important}
  .quick-action b{font-size:9px!important}
  .stats strong{font-size:16px!important}
}


/* V26 — clean mobile dashboard/navigation fix */
@media (max-width:800px){
  body{overflow-x:hidden;padding-bottom:72px}
  .layout{display:block;width:100%;overflow-x:hidden}
  /* Use the bottom dock as the primary mobile navigation; remove the long desktop menu. */
  .layout>aside{display:none!important}
  .layout main{width:100%!important;margin:0!important;min-width:0!important}
  .layout header{position:sticky!important;top:0!important;height:50px!important;padding:0 12px!important;z-index:100!important;border-bottom:1px solid #e8eaf2!important;background:#fff!important}
  .layout header b{font-size:12px!important;white-space:nowrap}
  .business-switch{min-width:0!important;max-width:55%!important;gap:4px!important}
  .business-switch .business-current{font-size:10px!important;max-width:150px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .business-switch a{font-size:9px!important;white-space:nowrap}
  .content{padding:10px!important;width:100%!important;max-width:none!important;overflow:hidden!important}
  .dashboard-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:14px!important;margin:0 0 10px!important;border-radius:15px!important}
  .dashboard-hero .eyebrow{font-size:8px!important;letter-spacing:1.2px!important}
  .dashboard-hero h1{font-size:18px!important;line-height:1.18!important;letter-spacing:-.2px!important;margin:5px 0!important}
  .dashboard-hero .hero-copy small{font-size:9px!important;line-height:1.35!important;margin-top:3px!important}
  .dashboard-hero .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .dashboard-hero .hero-actions .btn{font-size:10px!important;padding:9px 7px!important;text-align:center!important;margin:0!important;white-space:nowrap!important}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-bottom:10px!important}
  .stats>div{padding:9px 10px!important;border-radius:12px!important;min-width:0!important}
  .stat-icon{width:25px!important;height:25px!important;border-radius:7px!important;font-size:12px!important;margin-bottom:5px!important}
  .stats small{font-size:8px!important;letter-spacing:.35px!important}
  .stats strong{font-size:17px!important;margin-top:3px!important}
  .workspace-grid{grid-template-columns:1fr!important;gap:9px!important}
  .workspace-card{padding:12px!important;border-radius:14px!important}
  .workspace-card h2{font-size:16px!important;margin-bottom:2px!important}
  .workspace-card .sub{font-size:9px!important;margin-bottom:9px!important}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .quick-action{gap:7px!important;padding:8px!important;border-radius:10px!important;min-width:0!important}
  .quick-action .qa-icon{width:28px!important;height:28px!important;min-width:28px!important;border-radius:8px!important;font-size:13px!important}
  .quick-action b{font-size:10px!important;line-height:1.15!important}
  .quick-action small{font-size:8px!important;line-height:1.15!important}
  .snapshot-list{gap:4px!important}
  .snapshot-row{font-size:9px!important;padding:7px 0!important}
  .workspace-card .full{font-size:10px!important;padding:9px!important;margin:8px 0 0!important}
  .feature-panel{margin-top:9px!important;padding:12px!important;border-radius:14px!important}
  .feature-panel h2{font-size:16px!important;margin:0 0 3px!important}
  .feature-panel .sub{font-size:9px!important;margin:0 0 7px!important}
  .feature-panel .feature-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important}
  .feature-panel .feature-strip a{padding:7px 8px!important;font-size:8px!important;text-align:center!important;border-radius:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-dock{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:8px!important;right:8px!important;bottom:7px!important;height:58px!important;padding:4px!important;z-index:9999!important;background:#171a2d!important;border:1px solid #3a3e55!important;border-radius:17px!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important}
  .mobile-dock a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;border-radius:12px!important;color:#cbd0df!important;font-size:8px!important;font-weight:700!important;line-height:1!important;padding:4px 1px!important;min-width:0!important}
  .mobile-dock a.active{background:#5b5ce2!important;color:#fff!important}
  .mobile-dock i{font-style:normal!important;font-size:15px!important;line-height:20px!important;width:26px!important;height:20px!important;display:grid!important;place-items:center!important}
}
@media (min-width:801px){
  .mobile-dock{display:none!important}
}

/* V27 Premium landing page refresh */
.landing{display:block;background:#f5f7fb;color:#182230}
.home-wrap{background:radial-gradient(circle at 50% -10%,#eef0ff 0,#f7f8fc 34%,#f5f7fb 72%,#fff 100%);overflow:hidden}
.topbar{max-width:1180px;padding:18px 22px;margin:auto}
.topbar .brand{font-size:20px;margin:0;color:#121a2a}.topbar .brand span{color:#6655e8}
.topbar nav .secondary{background:#fff;border:1px solid #e5e7ef}.topbar nav .primary{background:linear-gradient(135deg,#635bdf,#7b3ff2);box-shadow:0 8px 20px rgba(99,91,223,.22)}
.hero{max-width:1000px!important;padding:52px 20px 38px!important;text-align:center}
.hero .badge{background:#fff;border:1px solid #e7e8f2;color:#5e6675;box-shadow:0 5px 18px rgba(24,34,48,.04);font-size:12px}
.hero h1{font-size:54px!important;max-width:800px;margin:16px auto 12px!important;color:#111827;letter-spacing:-2px}
.hero p{font-size:17px;max-width:650px;margin:0 auto 22px;color:#667085;line-height:1.55}
.hero-actions .btn{padding:12px 20px;border-radius:12px}.hero-actions .primary{background:linear-gradient(135deg,#5b5de8,#8139ed);box-shadow:0 10px 24px rgba(91,93,232,.2)}
.trust{gap:7px;margin-top:20px}.trust span{background:#fff;border:1px solid #e8eaf1;padding:7px 10px;border-radius:999px;font-size:11px}
.tool-section,.features-section{max-width:1120px;padding:30px 18px;margin:auto}
.section-head{text-align:center}.section-head h2,.features-section h2{font-size:30px;color:#141c2b}.section-head p{font-size:14px}
.eyebrow{color:#635bdf;font-size:11px;letter-spacing:1.8px}
.tool-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-top:18px}
.tool-card{position:relative;border:1px solid #e5e8f0;border-radius:18px;padding:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(31,41,55,.05);transition:.18s;min-height:250px}
.tool-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(31,41,55,.09);border-color:#d9d8fa}
.tool-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:14px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.tool-icon span{display:grid;place-items:center}.gst-icon{font-size:20px!important}
.tool-card h3{font-size:18px;margin:10px 0 5px;color:#172033}.tool-card p{font-size:12px;line-height:1.5;margin:0 0 10px}.mini-list{font-size:12px;line-height:1.65}
.tool-card .full{border-radius:10px;font-size:11px;padding:9px}.tool-card .secondary{background:#f7f7fb;border:1px solid #e5e6ef}
.calc-row{gap:6px}.tool-card input,.tool-card select{padding:9px;font-size:12px}
.result-box{font-size:12px;padding:9px}
.features-section{text-align:center}.suite-strip{padding-top:18px}.features{gap:7px;margin-top:14px}.features b{font-size:10px;padding:7px 10px;background:#fff;border-color:#e8eaf1;color:#475467}
.feature-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.feature-card{padding:13px;border-radius:15px;align-items:center;box-shadow:0 7px 22px rgba(31,41,55,.045)}
.feature-card h3{font-size:14px}.feature-card p{font-size:11px}.big-icon{width:40px;height:40px;min-width:40px;border-radius:12px;font-size:19px}.invoice-icon{background:#eef2ff;color:#4f46e5}.inventory-icon{background:#fff7ed;color:#ea580c}.reports-icon{background:#ecfdf3;color:#059669}.crm-icon{background:#eff6ff;color:#2563eb}.auto-icon{background:#f5f3ff;color:#7c3aed}.store-icon{background:#fff1f2;color:#e11d48}
footer{font-size:11px;padding:22px}
@media(max-width:900px){.hero h1{font-size:42px!important}.tool-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
 .topbar{padding:14px 15px}.topbar .brand{font-size:18px}.topbar .btn{font-size:11px;padding:8px 11px}
 .hero{padding:28px 14px 20px!important}.hero h1{font-size:32px!important;line-height:1.12;letter-spacing:-1px}.hero p{font-size:14px;line-height:1.45}.hero-actions .btn{padding:10px 14px;font-size:12px}.trust{gap:5px}.trust span{font-size:9px;padding:6px 7px}
 .tool-section,.features-section{padding:22px 12px}.section-head h2,.features-section h2{font-size:23px;line-height:1.2}.section-head p{font-size:12px}
 .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.tool-card{padding:11px!important;border-radius:14px!important;min-height:205px}.tool-card h3{font-size:15px;line-height:1.2;margin:7px 0 4px}.tool-card p{font-size:11px;line-height:1.35}.tool-icon{width:32px;height:32px;min-width:32px;border-radius:10px;font-size:10px}.gst-icon{font-size:16px!important}.tool-card .full{font-size:9px;padding:8px 6px}.mini-list{padding-left:15px;font-size:10px;line-height:1.5}.official-link{font-size:9px}.calc-row{grid-template-columns:1fr!important;gap:5px}.tool-card input,.tool-card select{font-size:10px;padding:8px}.result-box{font-size:10px;padding:7px}
 .features{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.features b{font-size:9px;padding:7px 5px}.feature-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}.feature-card{padding:10px!important;border-radius:12px!important;gap:8px}.feature-card h3{font-size:12px}.feature-card p{font-size:9px;line-height:1.3}.big-icon{width:32px;height:32px;min-width:32px;border-radius:9px;font-size:15px}
}


/* V28 — premium icon system + hard mobile layout override */
.landing .tool-icon svg,.landing .big-icon svg{width:20px;height:20px;display:block}.landing .big-icon svg{width:21px;height:21px}
.landing .tool-icon{display:grid!important;place-items:center!important}
.landing .tool-card{overflow:hidden}
@media(max-width:600px){
 .landing .home-wrap{width:100%!important;max-width:100%!important}
 .landing .hero{padding:22px 14px 16px!important}
 .landing .hero h1{font-size:29px!important;max-width:350px!important;margin:12px auto 9px!important}
 .landing .hero p{font-size:13px!important;max-width:350px!important;margin-bottom:14px!important}
 .landing .tool-section,.landing .features-section{padding:20px 12px!important}
 .landing .tool-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
 .landing .tool-card{width:100%!important;min-width:0!important;min-height:195px!important;padding:11px!important}
 .landing .tool-card:first-child{grid-column:1 / -1!important;min-height:auto!important}
 .landing .tool-card h3{font-size:15px!important;line-height:1.18!important}
 .landing .tool-card p{font-size:10.5px!important;line-height:1.35!important}
 .landing .tool-icon{width:34px!important;height:34px!important;border-radius:10px!important}
 .landing .tool-icon svg{width:18px!important;height:18px!important}
 .landing .tool-card .full{font-size:9px!important;padding:8px 5px!important}
 .landing .feature-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
 .landing .feature-card{min-width:0!important;padding:9px!important}
 .landing .big-icon{width:31px!important;height:31px!important;min-width:31px!important}
 .landing .big-icon svg{width:17px!important;height:17px!important}
 .landing footer{padding:16px 8px!important}
}

/* V29 — Professional Premium Business Theme */
:root{
  --pro-navy:#111827;
  --pro-navy-2:#172554;
  --pro-indigo:#4f46e5;
  --pro-purple:#7c3aed;
  --pro-bg:#f4f6fb;
  --pro-card:#ffffff;
  --pro-border:#e4e7ef;
  --pro-muted:#667085;
}
.landing{background:var(--pro-bg)!important;color:var(--pro-navy)!important}
.landing .home-wrap{
  background:
    radial-gradient(700px 300px at 50% -80px,rgba(79,70,229,.20),transparent 70%),
    linear-gradient(180deg,#eef2ff 0,#f7f8fc 30%,#f4f6fb 100%)!important;
}
.landing .topbar{
  max-width:1180px!important;padding:18px 22px!important;
  border-bottom:1px solid rgba(255,255,255,.65);
}
.landing .topbar .brand{font-weight:900!important;letter-spacing:-.5px;color:#111827!important}
.landing .topbar .brand span{color:var(--pro-indigo)!important}
.landing .topbar nav a:first-child{font-weight:700;color:#475467}
.landing .topbar .primary,.landing .hero-actions .primary{
  background:linear-gradient(135deg,#3730a3,#7c3aed)!important;
  box-shadow:0 10px 26px rgba(79,70,229,.28)!important;
}
.landing .hero{padding:46px 18px 32px!important;max-width:980px!important}
.landing .hero .badge{background:rgba(255,255,255,.82)!important;color:#475467!important;border-color:#dfe3ef!important}
.landing .hero h1{font-weight:900!important;color:#101828!important;letter-spacing:-2.5px!important}
.landing .hero p{color:#667085!important}
.landing .trust span{box-shadow:0 4px 12px rgba(16,24,40,.05)!important}
.landing .tool-section,.landing .features-section{max-width:1160px!important}
.landing .section-head h2,.landing .features-section h2{font-weight:900!important;color:#111827!important}
.landing .eyebrow{font-weight:900!important;color:#4f46e5!important}
.landing .tool-card{
  background:rgba(255,255,255,.96)!important;
  border:1px solid var(--pro-border)!important;
  box-shadow:0 8px 28px rgba(15,23,42,.065)!important;
}
.landing .tool-card:hover{border-color:#c7c9f7!important;box-shadow:0 16px 34px rgba(15,23,42,.10)!important}
.landing .tool-card h3{font-weight:850!important}
.landing .tool-card p,.landing .mini-list{color:#667085!important}
.landing .tool-card .secondary{background:#f8f8fc!important;border-color:#dfe2eb!important;color:#1f2937!important}
.landing .tool-card .primary{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important}
.landing .tool-icon{box-shadow:0 5px 14px rgba(15,23,42,.06)!important}
.landing .suite-strip{background:rgba(255,255,255,.55);border-radius:24px;margin-top:10px}
.landing .features b{background:#fff!important;border:1px solid #e4e7ef!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important}
.landing .feature-card{
  background:#fff!important;border:1px solid var(--pro-border)!important;
  box-shadow:0 7px 24px rgba(15,23,42,.055)!important;
}
.landing .feature-card:hover{border-color:#c7c9f7!important;transform:translateY(-1px)}
.landing .feature-card h3{font-weight:850!important;color:#111827!important}
.landing .feature-card p{color:#667085!important}
.landing footer{color:#98a2b3!important}

@media(max-width:600px){
  .landing .topbar{padding:13px 14px!important}
  .landing .topbar .brand{font-size:17px!important}
  .landing .topbar nav a:first-child{font-size:11px!important}
  .landing .topbar .primary{font-size:10px!important;padding:8px 10px!important}
  .landing .hero{padding:26px 14px 22px!important}
  .landing .hero h1{font-size:30px!important;letter-spacing:-1.4px!important}
  .landing .hero p{font-size:13px!important;line-height:1.48!important}
  .landing .trust{display:grid!important;grid-template-columns:repeat(2,1fr)!important;max-width:360px;margin:15px auto 0!important}
  .landing .trust span{font-size:9px!important;text-align:center!important}
  .landing .tool-section{padding:24px 12px!important}
  .landing .section-head h2{font-size:22px!important}
  .landing .section-head p{font-size:12px!important}
  .landing .tool-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .landing .tool-card:first-child{grid-column:1/-1!important}
  .landing .tool-card{min-height:190px!important;padding:12px!important;border-radius:16px!important}
  .landing .tool-card h3{font-size:15px!important}
  .landing .tool-card p{font-size:10.5px!important}
  .landing .tool-icon{width:36px!important;height:36px!important;border-radius:11px!important}
  .landing .features-section{padding:24px 12px!important}
  .landing .features-section h2{font-size:23px!important}
  .landing .feature-grid{grid-template-columns:1fr!important;gap:8px!important}
  .landing .feature-card{padding:12px!important;border-radius:15px!important}
  .landing .big-icon{width:38px!important;height:38px!important;min-width:38px!important}
  .landing footer{padding:18px 8px 24px!important}
}

/* V30 - Theme 5: Red Corporate */
:root{
  --pro-navy:#171717;
  --pro-indigo:#dc2626;
  --pro-purple:#ef4444;
  --pro-bg:#f7f7f7;
  --pro-card:#ffffff;
  --pro-border:#e5e7eb;
  --pro-muted:#6b7280;
}
.landing{background:#f7f7f7!important;color:#171717!important}
.landing .home-wrap{
  background:
    radial-gradient(650px 260px at 50% -100px,rgba(239,68,68,.18),transparent 70%),
    linear-gradient(180deg,#fff7f7 0,#fafafa 35%,#f7f7f7 100%)!important;
}
.landing .topbar{background:rgba(255,255,255,.96)!important}
.landing .topbar .brand{color:#171717!important}
.landing .topbar .brand span{color:#dc2626!important}
.landing .topbar .primary,.landing .hero-actions .primary,
.landing .tool-card .primary{
  background:linear-gradient(135deg,#dc2626,#ef4444)!important;
  box-shadow:0 10px 24px rgba(220,38,38,.22)!important;
}
.landing .hero h1{color:#171717!important}
.landing .hero p{color:#5f6368!important}
.landing .eyebrow{color:#dc2626!important}
.landing .tool-card,.landing .feature-card{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 8px 24px rgba(17,24,39,.06)!important;
}
.landing .tool-card:hover,.landing .feature-card:hover{
  border-color:#fecaca!important;
  box-shadow:0 14px 30px rgba(220,38,38,.10)!important;
}
.landing .tool-card .secondary{background:#fff7f7!important;border-color:#fecaca!important;color:#991b1b!important}
.landing .tool-card h3,.landing .feature-card h3,.landing .section-head h2,.landing .features-section h2{color:#171717!important}
.landing .tool-card p,.landing .mini-list,.landing .feature-card p{color:#6b7280!important}
.landing .features b{background:#fff!important;border-color:#e5e7eb!important}
.landing .suite-strip{background:rgba(255,255,255,.75)!important}
@media(max-width:600px){
  .landing .hero h1{font-size:29px!important}
  .landing .tool-card{border-radius:17px!important}
  .landing .tool-icon{box-shadow:0 5px 14px rgba(220,38,38,.08)!important}
}

/* V31 - Force Theme 5 Red Corporate + cache-safe landing overrides */
.landing .home-wrap{background:linear-gradient(180deg,#fff5f5 0%,#ffffff 42%,#f7f7f8 100%)!important}
.landing .topbar{border-bottom:1px solid #fee2e2!important;box-shadow:0 4px 18px rgba(220,38,38,.08)!important}
.landing .topbar .brand span{color:#dc2626!important}
.landing .topbar nav .primary,.landing .hero-actions .primary{background:linear-gradient(135deg,#b91c1c,#ef4444)!important;color:#fff!important}
.landing .hero{background:radial-gradient(circle at 50% 0,#fee2e2 0,rgba(255,245,245,.55) 35%,transparent 70%)!important}
.landing .badge{border-color:#fecaca!important;color:#991b1b!important;background:#fff!important}
.landing .hero h1{color:#171717!important}
.landing .hero h1::after{content:'';display:block;width:72px;height:5px;border-radius:99px;background:linear-gradient(90deg,#b91c1c,#ef4444);margin:18px auto 0}
.landing .eyebrow{color:#b91c1c!important}
.landing .tool-grid{gap:14px!important}
.landing .tool-card{border-top:4px solid #dc2626!important;box-shadow:0 10px 28px rgba(17,24,39,.07)!important}
.landing .tool-icon{background:#fff1f2!important;color:#dc2626!important;border:1px solid #fecdd3!important}
.landing .tool-icon.blue,.landing .tool-icon.green,.landing .tool-icon.orange,.landing .tool-icon.purple,.landing .tool-icon.dark{background:#fff1f2!important;color:#dc2626!important}
.landing .tool-card .primary{background:linear-gradient(135deg,#b91c1c,#ef4444)!important}
.landing .tool-card .secondary{background:#fff!important;border:1px solid #fecaca!important;color:#991b1b!important}
.landing .features-section h2{color:#171717!important}
.landing .feature-card{border-left:4px solid #dc2626!important}
.landing .big-icon,.landing .invoice-icon,.landing .inventory-icon,.landing .reports-icon,.landing .crm-icon,.landing .auto-icon,.landing .store-icon{background:#fff1f2!important;color:#dc2626!important}
.landing .suite-strip{border-top:1px solid #fee2e2!important;border-bottom:1px solid #fee2e2!important}
@media(max-width:600px){.landing .topbar{padding:14px 16px!important}.landing .hero{padding-top:34px!important}.landing .hero h1{font-size:31px!important}.landing .hero p{font-size:16px!important;line-height:1.55!important}.landing .tool-card{padding:17px!important}.landing .tool-card h3{font-size:21px!important}}

/* V27 — Mobile App Mode for Ajanta Billing
   Designed for Android Chrome / installed PWA: compact top bar, full-width cards,
   touch-friendly controls and a persistent 5-tab bottom navigation. */
@media (max-width:800px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{background:#f5f6fa;padding-bottom:84px;-webkit-tap-highlight-color:transparent}
  .layout{display:block!important;width:100%!important;min-width:0!important;overflow:visible!important}
  .layout>aside{display:none!important}
  .layout>main{display:block!important;width:100%!important;margin:0!important;min-width:0!important}
  .layout header{
    position:sticky!important;top:0!important;z-index:1000!important;
    height:54px!important;min-height:54px!important;padding:0 12px!important;
    background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e7e9f0!important;
    box-shadow:0 3px 14px rgba(20,25,40,.06)!important;backdrop-filter:blur(14px)!important;
  }
  .layout header>b{font-size:13px!important;font-weight:900!important;white-space:nowrap!important}
  .layout header .business-switch{display:flex!important;align-items:center!important;gap:5px!important;max-width:58%!important;min-width:0!important}
  .layout header .business-current{font-size:10px!important;font-weight:800!important;max-width:145px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .layout header .business-switch a{font-size:8px!important;white-space:nowrap!important}
  .content{padding:10px 10px 94px!important;width:100%!important;max-width:none!important;overflow:visible!important}

  /* Billing page becomes an app-style single-column workflow. */
  .billing-shell{width:100%!important;max-width:none!important;margin:0!important}
  .billing-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;margin:0 0 9px!important}
  .billing-head .eyebrow{font-size:8px!important;letter-spacing:1.2px!important}
  .billing-head h1{font-size:22px!important;line-height:1.1!important;letter-spacing:-.5px!important;margin:3px 0!important}
  .billing-head p{font-size:9px!important;line-height:1.3!important;margin:0!important;max-width:230px!important}
  .billing-actions{width:auto!important;display:flex!important;gap:4px!important}
  .billing-actions .btn{font-size:9px!important;padding:8px 8px!important;margin:0!important;border-radius:9px!important;white-space:nowrap!important}

  .billing-grid{display:block!important;width:100%!important}
  .billing-main{width:100%!important;min-width:0!important}
  .bill-card{width:100%!important;margin:0 0 9px!important;padding:12px!important;border-radius:15px!important;box-shadow:0 5px 18px rgba(16,24,40,.055)!important}
  .card-title{margin-bottom:10px!important;gap:7px!important}
  .card-title>div{gap:8px!important;min-width:0!important}
  .card-title h2{font-size:14px!important;line-height:1.2!important}
  .card-title small{font-size:9px!important;line-height:1.25!important;display:block!important}
  .step{width:25px!important;height:25px!important;min-width:25px!important;border-radius:8px!important;font-size:11px!important}
  .saved-badge{display:inline-flex!important;padding:5px 7px!important;font-size:8px!important;white-space:nowrap!important}
  .bill-card label{font-size:9px!important;margin:7px 0 4px!important}
  .bill-card input,.bill-card select{width:100%!important;min-width:0!important;padding:10px 9px!important;font-size:12px!important;border-radius:9px!important}
  .customer-pick{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;margin-bottom:5px!important}
  .customer-pick a{font-size:9px!important;padding:9px 2px!important}
  .grid2{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .grid2 .span2,.span2{grid-column:1/-1!important}

  .premium-scan{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;padding:5px!important;border-radius:10px!important}
  .premium-scan>span{display:none!important}
  .premium-scan input{font-size:11px!important;padding:8px!important}
  .premium-scan .btn{width:auto!important;padding:9px 10px!important;font-size:9px!important;border-radius:8px!important}

  /* Each product is a touch-friendly mini card instead of a squeezed desktop row. */
  #items{width:100%!important}
  .item.bill{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%!important;margin:7px 0!important;padding:8px!important;border-radius:12px!important;background:#fafbff!important}
  .item.bill .product-field{grid-column:1/-1!important}
  .item.bill input[name="barcode[]"]{grid-column:1/-1!important}
  .item.bill input{padding:9px 8px!important;font-size:11px!important}
  .item.bill .remove-line{width:32px!important;height:32px!important;justify-self:end!important;font-size:18px!important}
  .stock-hint{font-size:8px!important}
  .add-line{font-size:10px!important;padding:10px!important;border-radius:10px!important}

  .compact-options .grid2{grid-template-columns:1fr 1fr!important}
  .compact-options .grid2>div:nth-last-child(1){grid-column:1/-1!important}

  /* Full-width mobile total panel; never leave it as a narrow desktop sidebar. */
  .bill-summary{display:block!important;width:100%!important;position:static!important;margin:0!important}
  .summary-card{width:100%!important;padding:12px!important;border-radius:15px!important;box-shadow:0 6px 22px rgba(16,24,40,.08)!important}
  .summary-items{max-height:120px!important}
  .summary-items>div{font-size:10px!important;padding:7px 0!important}
  .summary-row{font-size:11px!important;padding:5px 0!important}
  .summary-total{padding-top:9px!important}
  .summary-total strong{font-size:22px!important}
  .create-bill{font-size:13px!important;padding:13px!important;margin-top:10px!important;border-radius:10px!important}
  .secure-note{font-size:8px!important;margin-top:7px!important}
  .quick-card{display:none!important}

  /* App navigation */
  .mobile-dock{
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;
    position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;
    height:60px!important;padding:4px!important;z-index:9999!important;
    background:rgba(20,23,42,.97)!important;border:1px solid rgba(255,255,255,.10)!important;
    border-radius:18px!important;box-shadow:0 12px 32px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(14px)!important;
  }
  .mobile-dock a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;color:#cbd0df!important;font-size:8px!important;font-weight:800!important;line-height:1!important;padding:4px 1px!important;border-radius:13px!important;min-width:0!important}
  .mobile-dock a.active{background:#5b5ce2!important;color:#fff!important}
  .mobile-dock i{display:grid!important;place-items:center!important;width:25px!important;height:20px!important;font-style:normal!important;font-size:15px!important;line-height:18px!important}
}

@media (max-width:380px){
  .billing-head p{display:none!important}
  .billing-head h1{font-size:20px!important}
  .billing-actions .btn{padding:7px 6px!important;font-size:8px!important}
  .grid2,.compact-options .grid2{grid-template-columns:1fr!important}
  .compact-options .grid2>div:nth-last-child(1){grid-column:auto!important}
}

/* Floating app install shortcut */
.aj-install-fab{position:fixed;right:16px;top:42%;z-index:10050;display:none;align-items:center;gap:8px;border:0;border-radius:999px;background:linear-gradient(135deg,#e91e3f,#5b5ce2);color:#fff;padding:10px 14px 10px 10px;font:800 13px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 10px 28px rgba(36,40,90,.30);cursor:pointer;touch-action:manipulation}
.aj-install-fab:hover{transform:translateY(-1px)}
.aj-install-icon{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:20px;line-height:1}
.aj-install-text{white-space:nowrap}
.aj-install-home{display:flex}
@media(max-width:700px){.aj-install-fab{right:10px;top:auto;bottom:78px;padding:9px 12px 9px 9px;font-size:11px}.aj-install-icon{width:25px;height:25px;font-size:18px}.aj-install-home{bottom:18px;right:14px}}
@media(min-width:701px){.aj-install-home{top:110px;right:22px}}


/* AJANTA BILLING V31 - MOBILE SHORT THEME */
:root{
  --compact-radius:10px;
  --compact-gap:8px;
}
html,body{overflow-x:hidden;}
body{
  font-size:14px;
  line-height:1.35;
}
.container,.main-container,.page-container,.content-container{
  max-width:1100px;
}
.card,.panel,.box,.module-card,.stat-card{
  border-radius:var(--compact-radius)!important;
}
button,.btn,.action-btn{
  min-height:38px;
  padding:7px 11px!important;
  border-radius:9px!important;
}
input,select,textarea{
  min-height:38px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
}
h1{font-size:22px!important;margin:6px 0 10px!important;}
h2{font-size:18px!important;margin:5px 0 8px!important;}
h3{font-size:15px!important;margin:4px 0 7px!important;}
p{margin:4px 0!important;}
.grid,.cards,.dashboard-grid,.module-grid{
  gap:8px!important;
}
.icon,.menu-icon,.module-icon,.nav-icon{
  width:28px!important;height:28px!important;
  font-size:16px!important;
}
.module-card,.stat-card{
  padding:10px!important;
}
header,.topbar,.navbar{
  min-height:48px!important;
  padding:6px 10px!important;
}
footer{padding:8px!important;}
@media (max-width:600px){
  body{font-size:13px;}
  .container,.main-container,.page-container,.content-container{
    width:100%!important;
    max-width:none!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .sidebar{display:none!important;}
  .main,.content,.page-content{
    margin-left:0!important;
    padding:8px!important;
  }
  .topbar{height:46px!important;}
  .brand,.logo,.app-title{
    font-size:15px!important;
  }
  .dashboard-grid,.module-grid,.cards,.grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .module-card,.stat-card{
    min-height:0!important;
    padding:8px!important;
  }
  .module-card .title,.stat-card .title{
    font-size:12px!important;
  }
  .module-card .description{
    display:none!important;
  }
  table{font-size:12px!important;}
  .table-wrap{overflow-x:auto!important;}
  .floating-install-app{
    right:8px!important;
    bottom:68px!important;
    transform:scale(.9);
  }
  .bottom-nav{
    height:54px!important;
    padding:4px 5px!important;
  }
  .bottom-nav a,.bottom-nav button{
    min-height:44px!important;
    padding:3px 5px!important;
    font-size:10px!important;
  }
}

/* V35 mobile tap reliability */
@media(max-width:700px){
  a,button,input,select,textarea{touch-action:manipulation;}
  .mobile-dock{z-index:9990!important;}
  .aj-install-fab{z-index:9989!important;}
  .settings-head,.settings-card,.business-card,.form-actions,.quick-links{position:relative;}
  .settings-head a,.settings-head button,.settings-card a,.settings-card button,.quick-links a{position:relative;z-index:5;}
}
.danger-zone{border:1px solid #ffd0d4!important;background:#fffafa!important;}
.btn.danger{background:#fff0f1!important;border-color:#ffd0d4!important;color:#b42318!important;}

/* V38: dashboard statistic cards are touch targets on mobile */
.dashboard-stat-link{display:block;text-decoration:none;color:inherit;border-radius:14px}.dashboard-stat-link>div{height:100%}.dashboard-stat-link:active{transform:scale(.99)}

/* V39 dashboard navigation reliability */
.dashboard-stat-link{display:block!important;text-decoration:none!important;color:inherit!important;min-width:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:rgba(91,92,226,.14)}
.dashboard-stat-link>div{height:100%;cursor:pointer!important}
.dashboard-stat-link:active>div{transform:scale(.99)}
.quick-action,.feature-strip a,.hero-actions a{touch-action:manipulation;cursor:pointer!important;position:relative;z-index:2}
@media(max-width:700px){.dashboard-stat-link{min-height:76px}.dashboard-stat-link>div{min-height:76px!important}}
