:root{--red:#1768c5;--red-dark:#0c4d98;--red-soft:#eaf3ff;--ink:#20242a;--muted:#747b85;--line:#e1e6ec;--bg:#f3f5f7;--card:#fff;--green:#078757;--green-soft:#e7f7f0;--orange:#f3b32e;--magenta:#bd075c;--shadow:0 8px 30px rgba(14,48,86,.07);--radius:14px}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:22px 14px 14px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--red);color:white;display:grid;place-items:center;font-weight:800;font-size:20px;box-shadow:0 8px 18px rgba(201,45,54,.2)}.brand strong,.brand span{display:block}.brand strong{font-size:18px;letter-spacing:-.4px}.brand span{font-size:10px;color:var(--muted);margin-top:2px}.workspace{display:flex;align-items:center;gap:10px;background:#faf8f6;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:18px}.workspace div{flex:1}.workspace small,.workspace strong{display:block}.workspace small{color:var(--muted);font-size:10px;margin-bottom:3px}.workspace button{border:0;background:none}.store-icon,.avatar{display:grid;place-items:center;border-radius:10px;background:#f8d8da;color:var(--red-dark);font-weight:700}.store-icon{width:34px;height:34px}.sidebar nav{display:grid;gap:5px}.nav-section{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#aaa49e;padding:17px 12px 6px}.nav-item{border:0;background:transparent;color:#5c5854;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 12px;border-radius:10px;cursor:pointer;font-weight:550}.nav-item:hover{background:#faf7f5}.nav-item.active{background:var(--red-soft);color:var(--red);font-weight:700}.nav-item .nav-icon{width:20px;text-align:center}.nav-item em{margin-left:auto;background:var(--red);color:#fff;border-radius:999px;padding:2px 6px;font-size:10px;font-style:normal}.sidebar-bottom{margin-top:auto;display:grid;gap:8px}.support-card,.profile-row{border:0;width:100%;display:flex;align-items:center;gap:10px;text-align:left;border-radius:11px;padding:10px;cursor:pointer}.support-card{background:#fff6e9;color:#654518}.support-card>span{background:#ffdfad;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-weight:800}.support-card div,.profile-row div{flex:1}.support-card strong,.support-card small,.profile-row strong,.profile-row small{display:block}.support-card small,.profile-row small{font-size:10px;color:var(--muted);margin-top:2px}.profile-row{background:transparent}.avatar{width:34px;height:34px}.main{margin-left:248px;width:calc(100% - 248px)}.topbar{min-height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:15px 28px;gap:16px;position:sticky;top:0;z-index:10}.topbar h1{font-size:22px;margin:0;letter-spacing:-.5px}.topbar p{margin:4px 0 0;color:var(--muted);font-size:12px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.primary,.secondary,.danger-btn{border:0;border-radius:9px;padding:11px 15px;font-weight:700;cursor:pointer}.primary{background:var(--red);color:#fff;box-shadow:0 5px 14px rgba(201,45,54,.18)}.primary:hover{background:var(--red-dark)}.secondary{background:#fff;border:1px solid var(--line)}.danger-btn{background:var(--red-soft);color:var(--red)}.icon-btn{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:9px;position:relative;cursor:pointer}.icon-btn b{position:absolute;right:-3px;top:-4px;width:16px;height:16px;background:var(--red);color:#fff;border-radius:50%;font-size:9px;display:grid;place-items:center}.panel-switch{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.panel-switch input{display:none}.panel-switch i{width:38px;height:21px;border-radius:20px;background:#ddd;position:relative;cursor:pointer}.panel-switch i:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.2s}.panel-switch input:checked+i{background:#252525}.panel-switch input:checked+i:after{transform:translateX(17px)}.menu-button{display:none;border:0;background:none;font-size:20px}.content{padding:25px 28px 45px}.notice{border:1px solid #f1d9a8;background:#fff9eb;border-radius:12px;padding:12px 15px;display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#6b4a13}.notice button{margin-left:auto;background:transparent;border:0;color:#8d5c09;font-weight:700;cursor:pointer}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.stat-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:17px;box-shadow:var(--shadow)}.stat-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#f5f2ef}.stat-card h2{margin:13px 0 6px;font-size:25px;letter-spacing:-.8px}.delta{font-size:11px;color:var(--green)}.delta.down{color:var(--red)}.grid-2{display:grid;grid-template-columns:1.45fr 1fr;gap:18px;margin-bottom:18px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid var(--line)}.card-header h3{margin:0;font-size:15px}.card-header p{margin:4px 0 0;color:var(--muted);font-size:11px}.text-btn{border:0;background:none;color:var(--red);font-size:12px;font-weight:700;cursor:pointer}.chart-wrap{padding:20px}.chart-bars{height:190px;display:flex;align-items:end;gap:14px;border-bottom:1px solid var(--line);padding:0 8px}.chart-col{height:100%;flex:1;display:flex;align-items:end;gap:4px;position:relative}.bar{flex:1;border-radius:5px 5px 0 0;min-width:8px;transition:.3s}.bar.credit{background:#dc5b62}.bar.payment{background:#7ac0a2}.chart-col label{position:absolute;bottom:-25px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted)}.chart-legend{display:flex;gap:16px;margin-top:35px;font-size:11px;color:var(--muted)}.chart-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:17px}.quick{border:1px solid var(--line);background:#fff;border-radius:11px;padding:15px 10px;text-align:left;cursor:pointer}.quick:hover{border-color:#e1b0b4;background:#fffafa}.quick span{display:block;font-size:19px;margin-bottom:8px}.quick strong,.quick small{display:block}.quick small{color:var(--muted);font-size:10px;margin-top:3px}.table-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:15px}.search{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 11px;min-width:280px}.search input{border:0;outline:0;width:100%;padding:11px 0}.filter{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.7px;background:#faf9f7;padding:11px 16px}.data-table td{padding:13px 16px;border-top:1px solid var(--line)}.person{display:flex;align-items:center;gap:10px}.person .avatar{width:34px;height:34px}.person strong,.person small{display:block}.person small{color:var(--muted);font-size:10px;margin-top:2px}.amount{font-weight:750}.amount.red{color:var(--red)}.amount.green{color:var(--green)}.pill{display:inline-flex;padding:4px 8px;border-radius:99px;font-size:10px;font-weight:700;background:#f1efed;color:#666}.pill.success{background:var(--green-soft);color:var(--green)}.pill.warn{background:#fff1df;color:#b56a14}.pill.danger{background:var(--red-soft);color:var(--red)}.page-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.page-head h2{margin:0;font-size:20px}.page-head p{margin:5px 0 0;color:var(--muted)}.empty{padding:60px 20px;text-align:center;color:var(--muted)}.empty span{font-size:40px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:700;color:#5a5551}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:9px;padding:11px;outline:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:#d78186;box-shadow:0 0 0 3px var(--red-soft)}.type-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.type-choice label{padding:14px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.type-choice input{margin-right:8px}.modal-backdrop{position:fixed;inset:0;background:rgba(27,22,18,.45);display:grid;place-items:center;z-index:50;padding:20px}.modal-backdrop[hidden]{display:none}.modal{width:min(520px,100%);background:#fff;border-radius:16px;padding:23px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.22)}.modal h2{margin:0 0 5px}.modal>div>p{color:var(--muted);margin:0 0 20px}.modal-close{position:absolute;right:16px;top:14px;border:0;background:none;font-size:25px;color:var(--muted);cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;right:25px;bottom:25px;background:#252525;color:#fff;padding:12px 16px;border-radius:10px;opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s;z-index:60}.toast.show{opacity:1;transform:none}.admin-banner{background:linear-gradient(120deg,#24211f,#403935);color:#fff;border-radius:15px;padding:22px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between}.admin-banner h2{margin:0 0 5px}.admin-banner p{margin:0;color:#c9c2bd}.admin-banner .pill{background:#514945;color:#fff}.progress{height:6px;background:#eeeae6;border-radius:9px;overflow:hidden;margin-top:9px}.progress i{display:block;height:100%;background:var(--red);border-radius:9px}.activity-list{padding:5px 18px}.activity{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.activity:last-child{border:0}.activity>span{width:30px;height:30px;background:#f4f1ee;border-radius:50%;display:grid;place-items:center}.activity div{flex:1}.activity strong,.activity small{display:block}.activity small{font-size:10px;color:var(--muted);margin-top:4px}
@media(max-width:1050px){.stats-grid{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}.panel-switch span{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.25s;box-shadow:10px 0 30px rgba(0,0,0,.12)}.sidebar.open{transform:none}.main{margin-left:0;width:100%}.menu-button{display:block}.topbar{padding:13px 16px}.topbar p{display:none}.top-actions .icon-btn,.panel-switch{display:none}.content{padding:17px 14px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:14px}.stat-card h2{font-size:20px}.grid-2{grid-template-columns:1fr}.table-toolbar{flex-wrap:wrap}.search{min-width:100%}.card{overflow-x:auto}.data-table{min-width:650px}.primary{padding:10px;font-size:12px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
@media(max-width:420px){.stats-grid{grid-template-columns:1fr}.topbar h1{font-size:18px}}
.party-hero{background:linear-gradient(135deg,#07509b,#1768c5);color:#fff;border-radius:16px;padding:20px;margin-bottom:18px}.party-title{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;margin-bottom:17px}.party-title button{margin-left:auto;color:#fff;border:0;background:transparent}.tabs{display:flex;gap:24px}.tab{border:0;background:transparent;padding:8px 4px;color:inherit;font-weight:700;opacity:.72;cursor:pointer;border-bottom:3px solid transparent}.tab.active{opacity:1;border-color:#f7b72f}.balance-panel{margin-top:4px;background:#fff;color:var(--ink);border-radius:14px;display:grid;grid-template-columns:1fr 1fr}.balance-panel>div{text-align:center;padding:15px}.balance-panel>div+div{border-left:1px solid var(--line)}.balance-panel small,.balance-panel strong{display:block}.balance-panel strong{font-size:24px;margin-top:6px}.balance-panel .report-link{grid-column:1/-1;border:0;border-top:1px solid var(--line);padding:13px;color:var(--red);font-weight:750;background:#eaf4ff;cursor:pointer}.action-fab{position:fixed;right:28px;bottom:28px;border:0;border-radius:99px;padding:15px 22px;background:var(--magenta);color:#fff;font-weight:800;box-shadow:0 10px 25px rgba(189,7,92,.26);cursor:pointer;z-index:8}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.module-tile{min-height:120px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px;text-align:left;cursor:pointer}.module-tile span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eaf3ff;color:var(--red);font-size:20px;margin-bottom:12px}.module-tile strong,.module-tile small{display:block}.module-tile small{color:var(--muted);margin-top:4px}.seg-tabs{display:flex;background:#fff;border-bottom:1px solid var(--line);padding:0 18px;margin-bottom:18px;gap:10px}.seg-tabs button{flex:1;border:0;background:none;padding:14px;border-bottom:3px solid transparent;font-weight:700;color:var(--muted);cursor:pointer}.seg-tabs button.active{color:var(--red);border-color:var(--red)}.empty-state{min-height:400px;display:grid;place-items:center;text-align:center;padding:40px}.empty-art{width:115px;height:115px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#e7eef6;color:var(--red);font-size:48px}.empty-state h2{margin:18px 0 5px}.empty-state p{color:var(--muted)}.bill-summary{background:linear-gradient(135deg,#07509b,#1768c5);padding:18px;border-radius:15px;color:#fff;margin-bottom:16px}.bill-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.bill-metrics div{background:#fff;color:var(--ink);border-radius:10px;padding:13px;text-align:center}.bill-metrics strong,.bill-metrics small{display:block}.bill-metrics strong{font-size:18px}.bill-metrics small{color:var(--muted);margin-top:4px}.report-tabs{display:flex;overflow:auto;gap:9px;margin-bottom:16px;padding-bottom:3px}.report-tabs button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 16px;cursor:pointer}.report-tabs button.active{border-color:var(--red);color:var(--red);font-weight:700}.report-group{margin-bottom:14px}.report-row{display:flex;align-items:center;gap:12px;padding:15px 2px;border-bottom:1px solid var(--line);cursor:pointer}.report-row:last-child{border:0}.report-row>span{color:var(--red);font-size:20px}.report-row div{flex:1}.report-row strong,.report-row small{display:block}.report-row small{color:var(--muted);margin-top:4px}.settings-list{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.setting-row{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--line);cursor:pointer}.setting-row:last-child{border:0}.setting-row span:first-child{color:var(--red);font-size:20px;width:28px}.setting-row div{flex:1}.setting-row strong,.setting-row small{display:block}.setting-row small{color:var(--muted);margin-top:3px}.auth-card{max-width:420px;margin:auto}.auth-logo{font-size:28px;color:#c82031;font-weight:800;margin-bottom:25px}.otp-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.otp-boxes input{min-width:0;text-align:center;font-size:22px;padding:12px 4px;border:1px solid var(--line);border-radius:8px}.contact-list{max-height:420px;overflow:auto}.contact{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);cursor:pointer}.contact .avatar{width:42px;height:42px}.contact strong,.contact small{display:block}.contact small{color:var(--muted);margin-top:3px}.cash-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.cash-actions button{padding:15px;border:0;border-radius:9px;color:#fff;font-weight:800;cursor:pointer}.cash-actions .out{background:#e81c42}.cash-actions .in{background:#078757}.form-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.soft-banner{background:#eaf4ff;border:1px solid #bdd9f5;border-radius:13px;padding:18px;margin:15px 0}.top-actions .primary{background:var(--magenta)}
@media(max-width:760px){.party-hero{margin:-17px -14px 16px;border-radius:0}.module-grid{grid-template-columns:repeat(2,1fr)}.action-fab{right:16px;bottom:18px}.bill-metrics{grid-template-columns:1fr 1fr}.bill-metrics div:last-child{grid-column:1/-1}.inline-fields{grid-template-columns:1fr}.topbar{background:var(--red);color:#fff}.topbar h1{color:#fff}.topbar .primary{display:none}}

/* Mint product theme and persistent mobile navigation */
:root{--red:#167a50;--red-dark:#0d5c3b;--red-soft:#e6fbef;--ink:#183028;--muted:#65756e;--line:#dce9e1;--bg:#f3faf6;--magenta:#167a50;--mint:#a3f7bd;--mint-deep:#56d989;--shadow:0 8px 30px rgba(20,96,62,.09)}
body{font-family:"Abel","Segoe UI",Arial,sans-serif;font-size:15px;letter-spacing:.12px}.brand-mark,.primary,.action-fab{background:linear-gradient(135deg,var(--red),#20a66d)}.store-icon,.avatar{background:#dcf8e7;color:var(--red-dark)}.party-hero,.bill-summary{background:linear-gradient(135deg,#123d2f,#167a50 62%,#2eae76)}.topbar{border-top:5px solid var(--mint)}.admin-banner{background:linear-gradient(120deg,#14382d,#1c6a4b)}.module-tile span,.stat-icon{background:#e1f9eb;color:var(--red)}.bar.credit{background:#37c67f}.bar.payment{background:#a3f7bd}.progress i{background:linear-gradient(90deg,var(--red),var(--mint-deep))}.bottom-nav{display:none;position:fixed;left:0;right:0;bottom:0;height:72px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid var(--line);z-index:35;grid-template-columns:repeat(4,1fr);padding:4px 10px max(4px,env(safe-area-inset-bottom));box-shadow:0 -8px 28px rgba(18,63,45,.08)}.bottom-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#586b63;cursor:pointer;position:relative}.bottom-nav button:before{content:"";position:absolute;top:-5px;width:46px;height:3px;background:transparent;border-radius:0 0 5px 5px}.bottom-nav button.active{color:var(--red);font-weight:700}.bottom-nav button.active:before{background:var(--red)}.bottom-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-nav span{font-size:14px}.bottom-nav circle{fill:currentColor;stroke:none}
@media(max-width:760px){.bottom-nav{display:grid}.content{padding-bottom:100px}.action-fab{bottom:88px}.toast{bottom:88px}.topbar{background:#153e31;border-top-color:var(--mint)}.sidebar{padding-bottom:82px}}

/* Lighter dashboard and colorful mobile dock */
.sidebar-close{display:none;position:absolute;right:13px;top:13px;width:36px;height:36px;border:0;border-radius:50%;background:#eaf8f0;color:#164b38;font-size:27px;line-height:1;cursor:pointer;transition:.2s}.sidebar-close:hover{background:#d7f4e4;transform:rotate(8deg)}
.content{background:linear-gradient(180deg,#fbfffc 0,#f2faf6 44%,#eef8f2 100%);min-height:calc(100vh - 84px)}.card,.stat-card,.module-tile,.settings-list,.form-panel{border-color:#e3eee8;box-shadow:0 9px 30px rgba(36,104,73,.065)}.party-hero,.bill-summary{background:linear-gradient(135deg,#d9fbe6,#a3f7bd 55%,#c8fbd9);color:#173c2f;border:1px solid #91eeb0}.party-title button{color:#176443}.tabs .tab{color:#245b46}.balance-panel{box-shadow:0 8px 24px rgba(33,108,73,.08)}.admin-banner{background:linear-gradient(120deg,#d9fbe6,#a3f7bd);color:#183d30;border:1px solid #8be7ac}.admin-banner p{color:#557366}.admin-banner .pill{background:#fff;color:#167a50}.bottom-nav{height:82px;padding-top:7px;border:1px solid rgba(95,180,131,.22);border-radius:22px 22px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -12px 35px rgba(26,103,69,.13)}.bottom-nav button{gap:4px;transition:transform .2s,color .2s}.bottom-nav button:hover{transform:translateY(-2px)}.bottom-nav button:before{display:none}.bottom-nav svg{width:39px;height:39px;padding:9px;border-radius:13px;stroke-width:1.7;box-shadow:0 5px 13px rgba(50,80,70,.08);transition:.2s}.bottom-nav button:nth-child(1){color:#1768c5}.bottom-nav button:nth-child(1) svg{background:#e6f1ff}.bottom-nav button:nth-child(2){color:#e05339}.bottom-nav button:nth-child(2) svg{background:#fff0ec}.bottom-nav button:nth-child(3){color:#8b49c7}.bottom-nav button:nth-child(3) svg{background:#f4eafe}.bottom-nav button:nth-child(4){color:#167a50}.bottom-nav button:nth-child(4) svg{background:#e2faeb}.bottom-nav button.active{font-weight:700;transform:translateY(-7px)}.bottom-nav button.active svg{color:#fff;box-shadow:0 9px 20px currentColor}.bottom-nav button:nth-child(1).active svg{background:#1768c5}.bottom-nav button:nth-child(2).active svg{background:#e05339}.bottom-nav button:nth-child(3).active svg{background:#8b49c7}.bottom-nav button:nth-child(4).active svg{background:#167a50}.bottom-nav button.active span{background:#fff;padding:1px 8px;border-radius:99px;box-shadow:0 3px 10px rgba(0,0,0,.05)}
@media(max-width:760px){.sidebar-close{display:grid;place-items:center}.brand{padding-right:38px}.topbar{background:linear-gradient(135deg,#d8fbe5,#a3f7bd);color:#173c2f;border-top-color:#70df9a}.topbar h1{color:#173c2f}.menu-button{color:#173c2f}.content{min-height:calc(100vh - 68px);padding-bottom:112px}.action-fab,.toast{bottom:100px}.sidebar{border-right-color:#ccebd9;background:linear-gradient(180deg,#fff,#f4fcf7)}}

/* GST reports, detailed workflows, collections and authentication */
.gst-hero{display:grid;grid-template-columns:1.1fr 2fr auto;align-items:center;gap:22px;background:linear-gradient(135deg,#153f31,#1d8157 55%,#45bf7f);color:#fff;border-radius:18px;padding:22px;margin-bottom:18px;box-shadow:0 14px 35px rgba(23,122,80,.18)}.gst-hero h2{margin:8px 0 4px;font-size:25px}.gst-hero p{margin:0;color:#d9f9e7}.gst-ready{display:inline-flex;background:#dffbea;color:#12623f;border-radius:99px;padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:1px}.gst-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gst-kpis div{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:11px;padding:12px}.gst-kpis small,.gst-kpis strong{display:block}.gst-kpis small{opacity:.76;font-size:10px}.gst-kpis strong{font-size:17px;margin-top:5px}.report-toolbar{display:flex;align-items:start;gap:12px}.report-toolbar .report-tabs{flex:1}.report-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-group-card{height:max-content}.report-count{width:28px;height:28px;display:grid;place-items:center;background:#e8f9ef;color:#167a50;border-radius:50%;font-weight:800}.report-list{padding:4px 17px}.report-row-v2{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:14px 0;text-align:left;cursor:pointer}.report-row-v2:last-child{border:0}.report-row-v2 div{flex:1}.report-row-v2 strong,.report-row-v2 small{display:block}.report-row-v2 small{color:var(--muted);margin-top:3px}.report-row-v2 b{font-size:22px;color:#789087}.report-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#e6f5ff;color:#1768c5;font-size:13px;font-weight:800}.report-icon.gst{background:#e7faed;color:#167a50}.report-icon.pdf{background:#fff0ec;color:#e05339}.report-icon.cart,.report-icon.expense{background:#fff6dc;color:#bd7d00}.collection-actions{display:flex;justify-content:space-between;align-items:end;margin:4px 0 15px}.collection-actions h2{margin:0}.collection-actions p{margin:4px 0 0;color:var(--muted)}.collection-grid{display:grid;gap:10px}.collection-customer{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px;display:flex;align-items:center;gap:12px;text-align:left;box-shadow:var(--shadow);cursor:pointer}.collection-customer>div{flex:1}.collection-customer strong,.collection-customer small{display:block}.collection-customer small{color:var(--muted);margin-top:3px}.collection-customer>span:nth-last-of-type(1){text-align:right}.collection-customer>span:nth-last-of-type(1) strong{color:#c3283b;margin-top:3px}.collection-customer>b{font-size:22px}.form-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.form-title h2,.form-title p{margin:0}.form-title p{margin-top:3px!important}.form-badge{background:#e3f7eb;color:#167a50;border-radius:9px;padding:9px;font-size:10px;font-weight:800;letter-spacing:1px}.form-badge.expense{background:#fff0ec;color:#db553b}.form-badge.product{background:#f2eaff;color:#7843b5}.form-badge.service{background:#e8f4ff;color:#1768c5}.form-section{border:1px solid var(--line);background:#fbfefc;border-radius:13px;padding:14px;margin-bottom:12px;display:grid;gap:12px}.add-link{border:0;background:none;color:#167a50;font-weight:800;text-align:left;padding:2px;cursor:pointer}.switch-row{display:flex;align-items:center;justify-content:space-between;background:#edf9f2;border-radius:9px;padding:11px 13px}.switch-row input{accent-color:#1aaa6d;width:19px;height:19px}.form-tip{background:#fff0be;color:#725b12;border-radius:8px;padding:9px;font-size:12px}.photo-row{grid-template-columns:1fr 86px}.photo-box{border:1px dashed #9bb9aa;background:#f5fcf8;border-radius:11px;color:#167a50;font-size:24px}.photo-box small{display:block;font-size:10px}.auth-shell{max-width:540px;margin:auto}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}.auth-brand>span{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#167a50,#4ad68c);font-size:23px}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:22px}.auth-brand small{color:var(--muted)}.auth-visual{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#e4fbec,#bcf6d0);padding:15px;border-radius:14px;margin-bottom:18px}.auth-visual>span{font-size:35px}.auth-visual strong,.auth-visual small{display:block}.auth-visual small{color:#4c725e;margin-top:3px}.language-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;max-height:380px;overflow:auto;padding:2px}.lang-card{border:1px solid #d9e9e0;background:#fff;border-radius:12px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.lang-card:hover,.lang-card.selected{border-color:#4ac681;background:#effbf4}.lang-card span{width:35px;height:35px;border-radius:10px;background:#e7f6ed;color:#167a50;display:grid;place-items:center;font-weight:800}.auth-trust,.security-badges{margin-top:15px;color:#567066;text-align:center;font-size:11px}.auth-welcome{text-align:center;margin:24px 0}.auth-welcome>span{width:65px;height:65px;border-radius:20px;margin:auto;display:grid;place-items:center;background:#e7faee;font-size:30px}.auth-welcome h2{margin:12px 0 4px}.auth-welcome p{margin:0!important}.phone-input{display:grid;grid-template-columns:auto 1fr;border:1px solid #b8d8c5;border-radius:12px;overflow:hidden}.phone-input span{background:#eef8f2;padding:14px;border-right:1px solid #b8d8c5}.phone-input input{border:0;outline:0;padding:14px;font-size:18px}.auth-cta{width:100%;margin-top:14px;padding:14px}.resend-row{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:12px}.resend-row b{color:#167a50}.ledger-head{display:flex;align-items:center;gap:11px}.ledger-head div{flex:1}.ledger-head h2,.ledger-head p{margin:0}.privacy-note{margin:18px 0;background:#e8fbf0;color:#176a45;padding:12px;border-radius:10px}.ledger-empty{text-align:center;padding:48px 10px}.ledger-empty>span{font-size:45px;color:#9cb2a8}.ledger-empty h3{margin:10px 0 3px}.ledger-empty p{margin:0!important}.ledger-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px}.ledger-actions button{border:0;border-radius:11px;padding:15px;color:#fff;font-weight:800;text-transform:uppercase}.ledger-actions .gave{background:#c81735}.ledger-actions .got{background:#078757}.collection-empty{text-align:center;padding:25px}.report-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-balance{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.report-balance div{background:#eef9f3;border-radius:10px;padding:12px}.report-balance small,.report-balance strong{display:block}.report-balance strong{margin-top:4px}.mini-table{border:1px solid var(--line);border-radius:10px;overflow:hidden}.mini-table>div{display:grid;grid-template-columns:repeat(4,1fr);padding:10px;gap:8px}.mini-table>div:first-child{background:#edf6f1}.mini-table>div+div{border-top:1px solid var(--line)}
@media(max-width:960px){.gst-hero{grid-template-columns:1fr}.gst-kpis{grid-template-columns:repeat(2,1fr)}.report-cards{grid-template-columns:1fr}}
@media(max-width:560px){.gst-kpis{grid-template-columns:1fr 1fr}.report-toolbar{display:block}.collection-actions{align-items:start;gap:10px}.collection-customer>span:nth-last-of-type(1){display:none}.language-grid{grid-template-columns:1fr 1fr}.report-filter-grid{grid-template-columns:1fr}.report-balance{grid-template-columns:1fr}.mini-table{font-size:11px}.modal{max-height:90vh;overflow:auto;padding:18px}.photo-row{grid-template-columns:1fr 75px}}

.modal{max-height:min(88vh,880px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.modal-close{position:sticky;float:right;top:0;z-index:4;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08)}.bill-tabs button{transition:background .2s,color .2s}.bill-tabs button.active{background:#e7f9ee;border-radius:10px 10px 0 0}.provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.provider-card{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px;text-align:left;cursor:pointer;box-shadow:var(--shadow)}.provider-card>span{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#e9f8ef;color:#167a50;font-weight:800}.provider-card>div{flex:1}.provider-card strong,.provider-card small{display:block}.provider-card small{color:#167a50;margin-top:3px}.provider-card p{color:var(--muted);font-size:11px;margin:6px 0 0}.provider-card>b{font-size:11px;color:var(--muted)}.provider-card.selected{border:2px solid #26a56c;background:#f2fcf6}.provider-card.selected>b{color:#167a50}.otp-notice{margin-top:8px}.otp-notice div{display:grid}.otp-notice small{margin-top:3px}.otp-admin-grid{display:grid;grid-template-columns:1.35fr .8fr;gap:16px}.contextual-add{white-space:nowrap}
@media(max-width:760px){.topbar{background:linear-gradient(135deg,#fff4dc,#ffe0a8 55%,#ffd28a);border-top-color:#f3a62c;color:#54380b}.topbar h1,.menu-button{color:#54380b}.provider-grid,.otp-admin-grid{grid-template-columns:1fr}.contextual-add{display:none}.bill-tabs{background:rgba(255,255,255,.85);border-radius:12px;padding:5px}.bill-tabs button{border-radius:9px}.bill-tabs button.active{background:#167a50;color:#fff;border-color:transparent}.modal{max-height:86dvh;width:calc(100% - 12px);padding:16px}.modal-actions.sticky-actions{position:sticky;bottom:-16px;background:#fff;padding:12px 0 4px;z-index:3}}

/* Navigation and scrollbar refinement */
.sidebar{overflow:hidden}.sidebar #mainNav{min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px;scrollbar-width:thin;scrollbar-color:#56cc8a transparent}.sidebar #mainNav::-webkit-scrollbar,.modal::-webkit-scrollbar,.language-grid::-webkit-scrollbar,.contact-list::-webkit-scrollbar{width:5px}.sidebar #mainNav::-webkit-scrollbar-track,.modal::-webkit-scrollbar-track,.language-grid::-webkit-scrollbar-track,.contact-list::-webkit-scrollbar-track{background:transparent}.sidebar #mainNav::-webkit-scrollbar-thumb{background:linear-gradient(#6de29c,#16885a);border-radius:99px}.modal::-webkit-scrollbar-thumb,.language-grid::-webkit-scrollbar-thumb,.contact-list::-webkit-scrollbar-thumb{background:linear-gradient(#ffb341,#24b975);border-radius:99px}.modal,.language-grid,.contact-list{scrollbar-width:thin;scrollbar-color:#26b875 #f3faf6}button,[data-page],[data-action],select,.menu-button,.nav-item,.setting-row{cursor:pointer}.menu-button{width:44px;height:44px;border-radius:14px!important;background:linear-gradient(135deg,#fff,#e8f8ef)!important;border:1px solid rgba(22,122,80,.2)!important;box-shadow:0 7px 18px rgba(22,122,80,.14);font-size:0!important;position:relative;transition:transform .2s,box-shadow .2s}.menu-button:before,.menu-button:after{content:"";position:absolute;left:11px;width:22px;height:3px;border-radius:99px;background:#167a50;box-shadow:0 7px 0 #e05339}.menu-button:before{top:12px}.menu-button:after{top:26px;box-shadow:none;width:15px}.menu-button:hover{transform:translateY(-2px) rotate(-2deg);box-shadow:0 10px 22px rgba(22,122,80,.2)}
.business-editor-head{display:flex;align-items:center;gap:13px;margin-bottom:15px}.business-editor-head>span{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#167a50,#4fd08a);color:#fff;font-size:21px;font-weight:800;box-shadow:0 8px 20px rgba(22,122,80,.2)}.business-editor-head h2,.business-editor-head p{margin:0}.business-editor-head p{margin-top:3px!important}.business-completion{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#e8f9ef,#fff4d9);border-radius:13px;padding:13px;margin-bottom:13px}.business-completion strong,.business-completion small{display:block}.business-completion small{color:var(--muted);margin-top:3px}.business-completion b{color:#167a50;font-size:20px}.form-section h3{margin:0 0 2px;font-size:14px;color:#245441}.gst-options #gstRateField[hidden]{display:none}.invoice-preview{background:#fff}.invoice-brand,.invoice-meta{display:flex;justify-content:space-between;gap:15px}.invoice-brand{padding:16px;background:linear-gradient(135deg,#e5faed,#fff4d9);border-radius:13px;margin-bottom:13px}.invoice-brand strong,.invoice-brand small{display:block}.invoice-brand small{color:var(--muted);margin-top:3px}.invoice-brand>b{color:#167a50;letter-spacing:2px}.invoice-meta{padding:8px 2px 15px;color:var(--muted)}.invoice-total{display:grid;grid-template-columns:1fr auto;gap:8px;padding:15px;background:#f7fbf8;border-radius:11px;margin-top:12px}.invoice-total strong{text-align:right}.gst-pdf-note,.non-gst-note{margin-top:12px;padding:10px;border-radius:9px;text-align:center;font-size:12px}.gst-pdf-note{background:#e8f9ef;color:#167a50}.non-gst-note{background:#fff3df;color:#9b6511}
@media(max-width:760px){.sidebar #mainNav{padding-bottom:15px}.menu-button{background:linear-gradient(135deg,#fff,#fff5df)!important;border-color:rgba(180,114,9,.22)!important}.menu-button:before,.menu-button:after{background:#76500f}.modal::-webkit-scrollbar{width:4px}}

/* Searchable transactions, party profiles and real document actions */
.modal-close{float:none;position:sticky;display:grid;place-items:center;margin-left:auto;right:auto;top:0;width:42px;height:42px;padding:0;border:2px solid #fff;background:linear-gradient(135deg,#ff6b66,#d92954);color:#fff;border-radius:14px;font-size:0;box-shadow:0 8px 22px rgba(217,41,84,.28);transform:rotate(0);transition:transform .2s,box-shadow .2s;z-index:8}.modal-close:before,.modal-close:after{content:"";position:absolute;width:18px;height:2.5px;border-radius:4px;background:#fff;transform:rotate(45deg)}.modal-close:after{transform:rotate(-45deg)}.modal-close:hover{transform:rotate(8deg) scale(1.06);box-shadow:0 11px 25px rgba(217,41,84,.35)}.customer-picker{display:grid;gap:7px;margin:14px 0}.customer-picker>label{font-size:11px;font-weight:700;color:#5a5551}.customer-search-box{display:flex;align-items:center;gap:8px;border:1px solid #a9d5ba;border-radius:11px;padding:0 12px;background:#fff;box-shadow:0 0 0 3px #effaf3}.customer-search-box input{width:100%;border:0;outline:0;padding:12px 0}.customer-options{max-height:230px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:#fff;scrollbar-width:thin;scrollbar-color:#28b875 transparent}.customer-options::-webkit-scrollbar{width:5px}.customer-options::-webkit-scrollbar-thumb{background:linear-gradient(#ffb341,#24b975);border-radius:99px}.customer-options button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:10px;text-align:left}.customer-options button:last-child{border:0}.customer-options button:hover,.customer-options button.selected{background:#eaf9f0}.customer-options button>div{flex:1}.customer-options strong,.customer-options small{display:block}.customer-options small{color:var(--muted);margin-top:2px}.customer-options button>b{color:#c3283b}.party-avatar{border:0;cursor:pointer}.ledger-button,.data-table .text-btn[data-action="ledger"]{border:1px solid #9bd9b5!important;background:linear-gradient(135deg,#f1fcf5,#dff7e9)!important;color:#126c45!important;border-radius:99px!important;padding:7px 12px!important;white-space:nowrap;box-shadow:0 4px 11px rgba(22,122,80,.1);transition:.2s}.ledger-button:hover,.data-table .text-btn[data-action="ledger"]:hover{transform:translateY(-2px);background:#167a50!important;color:#fff!important}.ledger-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.ledger-profile-head>.avatar{width:52px;height:52px}.ledger-profile-head>div{flex:1}.ledger-profile-head h2{margin:0}.ledger-profile-head button{border:0;background:none;color:#167a50;padding:4px 0;font-weight:800}.ledger-profile-head>.pill{text-transform:capitalize}.ledger-stats{grid-template-columns:1fr 1fr!important}.profile-cover{text-align:center;background:linear-gradient(145deg,#edf9f2,#fff4dc);border-radius:16px;padding:20px;margin-bottom:10px}.profile-photo{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#fff;color:#167a50;font-size:30px;font-weight:800;position:relative;box-shadow:0 10px 25px rgba(20,100,65,.12)}.profile-photo button{position:absolute;right:0;bottom:2px;width:36px;height:36px;border:0;border-radius:50%;background:#167a50;color:#fff}.profile-cover h2{margin:12px 0 2px}.profile-cover>span{color:var(--muted)}.share-card{display:block;margin:14px auto 0;border:1px solid #167a50;background:#fff;color:#167a50;border-radius:9px;padding:9px 14px;font-weight:800}.profile-details{margin:0 -4px}.profile-details>button{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:13px;text-align:left}.profile-details>button:hover{background:#f3fbf6}.profile-details>button>span{width:32px;color:#167a50;font-weight:800}.profile-details>button>div{flex:1}.profile-details strong,.profile-details small{display:block}.profile-details small{color:var(--muted);margin-bottom:3px}.profile-details h3{margin:0;background:#f2f5f3;color:var(--muted);padding:11px 13px;font-size:12px;font-weight:500}.delete-party{width:100%;margin-top:16px;border:1px solid #cf2744;background:#fff;color:#cf2744;border-radius:10px;padding:13px;font-weight:800;text-transform:uppercase}.invoice-preview .modal-actions{margin-bottom:2px}
@media(max-width:560px){.modal-close{width:39px;height:39px;border-radius:13px}.profile-cover{margin:-5px -5px 10px}.ledger-stats{grid-template-columns:1fr 1fr!important}.ledger-stats .stat-card h2{font-size:18px}}

/* Item management, calculator and messaging centre */
.item-toolbar{display:flex;gap:10px;margin-bottom:15px}.item-toolbar .search{flex:1}.row-actions{display:flex;gap:7px}.row-actions button{border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800}.edit-row{border:1px solid #8fd2ac;background:#eaf9f0;color:#167a50}.delete-row{border:1px solid #f1a7b3;background:#fff0f2;color:#c72a45}.owner-profile{width:100%;border:0;background:#fff;text-align:left;padding:4px;cursor:pointer}.owner-profile .avatar,.profile-row .avatar{cursor:pointer}.owner-profile>b{margin-left:auto;color:#167a50}.calculator{max-width:390px;margin:auto}.calculator-head{display:flex;align-items:center;gap:11px;margin-bottom:15px}.calculator-head>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#e7f9ee;color:#167a50;font-size:24px}.calculator-head h2,.calculator-head p{margin:0}.calculator-head p{margin-top:3px!important}.calculator>input{width:100%;box-sizing:border-box;border:0;border-radius:14px;background:#173d31;color:#fff;padding:18px;text-align:right;font-size:30px;font-family:inherit;margin-bottom:12px}.calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.calc-grid button{border:0;border-radius:12px;background:#eef6f1;color:#173d31;padding:15px;font-size:18px;font-weight:800;box-shadow:0 4px 10px rgba(20,80,55,.06)}.calc-grid button:hover{transform:translateY(-2px)}.calc-grid .operator{background:linear-gradient(135deg,#167a50,#2db977);color:#fff}.communication-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#173d31,#167a50 58%,#4ac887);color:#fff;padding:22px;border-radius:17px;margin-bottom:17px}.communication-hero span{font-size:10px;letter-spacing:1.5px;background:#ddfae8;color:#12633f;padding:5px 9px;border-radius:99px;font-weight:800}.communication-hero h2{margin:9px 0 4px}.communication-hero p{margin:0;color:#d9f5e5}.communication-hero>div:last-child{display:grid;grid-template-columns:auto auto;gap:4px 13px;background:rgba(255,255,255,.12);padding:13px;border-radius:11px}.communication-hero small{color:#d6f4e1}.message-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px}.party-message-search{margin:12px;min-width:0}.message-party-list{max-height:500px;overflow:auto;padding:0 12px 12px;scrollbar-width:thin;scrollbar-color:#2db977 transparent}.message-party-list>button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:11px;text-align:left;border-radius:9px}.message-party-list>button:hover,.message-party-list>button.selected{background:#e9f9ef}.message-party-list>button>div{flex:1}.message-party-list strong,.message-party-list small{display:block}.message-party-list small{color:var(--muted);margin-top:3px}.message-party-list>b{color:#c52942}.compose-message .field{margin-top:12px}.compose-message textarea{resize:vertical}.channel-choice label:last-child{color:#087a48}.owner-cover{background:linear-gradient(135deg,#e7f9ef,#e8f4ff)}
@media(max-width:820px){.message-layout{grid-template-columns:1fr}.communication-hero{align-items:flex-start}.communication-hero>div:last-child{display:none}}
@media(max-width:560px){.item-toolbar{flex-wrap:wrap}.item-toolbar .search{min-width:100%}.row-actions{flex-direction:column}.communication-hero{padding:17px}.communication-hero h2{font-size:21px}.calculator{padding-top:3px}}

.header-business{border:0;border-radius:12px;padding:11px 15px;background:linear-gradient(135deg,#fff1bf,#ffc45c);color:#654007;font-weight:800;box-shadow:0 7px 18px rgba(199,126,12,.2);cursor:pointer;transition:.2s}.header-business:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(199,126,12,.27)}.simplified-party{padding-top:10px}.simplified-party .tabs{margin-bottom:4px}.data-table .person .avatar{cursor:pointer;transition:transform .2s,box-shadow .2s}.data-table .person .avatar:hover{transform:scale(1.08);box-shadow:0 6px 14px rgba(22,122,80,.18)}#productGstDetails[hidden]{display:none}.selectable-provider{cursor:default}.selectable-provider>div{width:100%}.provider-choices{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.provider-choices button{border:1px solid #a9d7bc;background:#f0faf4;color:#167a50;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:800}.provider-choices button.active{border-color:#167a50;background:#167a50;color:#fff}.provider-choices button:hover{transform:translateY(-1px)}
@media(max-width:760px){.header-business{width:42px;height:42px;padding:0;border-radius:13px;font-size:18px}.header-business span{display:none}.top-actions{gap:7px}}

/* Invisible page scrolling, compact chrome and insurance */
html,body,.main,.content{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,body::-webkit-scrollbar,.main::-webkit-scrollbar,.content::-webkit-scrollbar{display:none;width:0}.sidebar #mainNav::-webkit-scrollbar,.modal::-webkit-scrollbar,.language-grid::-webkit-scrollbar,.contact-list::-webkit-scrollbar,.message-party-list::-webkit-scrollbar{width:3px}.header-business{display:flex;align-items:center;gap:7px;white-space:nowrap;background:linear-gradient(135deg,#ffe38a,#ffad32 58%,#f38b1f);border:1px solid #f09720;color:#513006;text-shadow:0 1px rgba(255,255,255,.35)}.header-business i{width:24px;height:24px;border-radius:8px;background:#fff7dd;display:grid;place-items:center;font-style:normal;font-size:15px;box-shadow:inset 0 0 0 1px rgba(120,70,0,.12)}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:16px}.template-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:11px;padding:12px;background:#fbfefc}.template-toggle span{flex:1}.template-toggle strong,.template-toggle small{display:block}.template-toggle small{color:var(--muted);margin-top:3px}.template-toggle input{width:20px;height:20px;accent-color:#167a50}.insurance-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#eaf5ff,#dff8ed 62%,#fff0cb);border:1px solid #cfe4d9;border-radius:18px;padding:25px;margin-bottom:16px}.insurance-hero span{font-size:10px;letter-spacing:1.4px;color:#1767b2;font-weight:800}.insurance-hero h2{font-size:29px;margin:9px 0 5px}.insurance-hero p{margin:0;color:var(--muted)}.insurance-shield{width:90px;height:90px;border-radius:25px;display:grid;place-items:center;background:linear-gradient(135deg,#1768c5,#25ad70);color:#fff;font-size:45px;transform:rotate(4deg);box-shadow:0 13px 28px rgba(23,104,197,.2)}.coverage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.coverage-grid>div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;text-align:center}.coverage-grid span,.coverage-grid strong{display:block}.coverage-grid span{width:40px;height:40px;margin:0 auto 8px;border-radius:12px;background:#e5faed;color:#16a15f;display:grid;place-items:center;font-size:20px}.shop-detail-card{padding:17px;margin-bottom:18px}.shop-detail-card>div,.shop-detail-card p{display:flex;justify-content:space-between;gap:15px}.shop-detail-card h3{margin:0}.shop-detail-card button{border:0;background:none;color:#1768c5;font-weight:800}.shop-detail-card p{margin:12px 0 0}.shop-detail-card p span{color:var(--muted);text-align:right}.insurance-plans,.insurance-faq{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;margin-bottom:17px}.insurance-plans h2,.insurance-faq h2{margin-top:0}.insurance-plans>p{color:var(--muted)}.insurance-plan{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:10px;position:relative}.insurance-plan.selected{border:2px solid #1768c5;background:#edf6ff}.insurance-plan input{width:20px;height:20px;accent-color:#1768c5}.insurance-plan strong,.insurance-plan b{font-size:18px}.insurance-plan em{position:absolute;left:18px;top:-10px;background:#ff9b13;color:#fff;border-radius:7px;padding:3px 8px;font-size:10px;font-style:normal;font-weight:800}.insurance-partner{text-align:center;color:var(--muted);margin-top:15px}.insurance-faq details{border-top:1px solid var(--line);padding:14px 2px}.insurance-faq details:first-of-type{border-top:0}.insurance-faq summary{font-size:17px;font-weight:700;cursor:pointer}.insurance-faq p{color:var(--muted);line-height:1.55}.insurance-sticky{position:sticky;bottom:0;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:15px;padding:12px;display:grid;gap:8px;z-index:6;box-shadow:0 -8px 25px rgba(20,80,55,.08)}.insurance-sticky>button{border:0;background:none;padding:10px;color:var(--muted)}.insurance-sticky .primary{background:linear-gradient(135deg,#1768c5,#0e569f);color:#fff;padding:14px}.insurance-sticky strong{color:#1768c5}
@media(max-width:760px){.header-business{width:auto;height:40px;padding:0 10px;font-size:12px;border-radius:12px}.header-business span{display:inline}.header-business i{width:22px;height:22px}.template-grid{grid-template-columns:1fr}.coverage-grid{grid-template-columns:1fr 1fr}.insurance-hero{padding:18px}.insurance-hero h2{font-size:23px}.insurance-shield{width:65px;height:65px;font-size:30px}.insurance-plan strong,.insurance-plan b{font-size:15px}.insurance-sticky{bottom:92px}}
@media(max-width:410px){.header-business{padding:0 7px;font-size:11px}.header-business i{display:none}.top-actions{gap:4px}.insurance-hero{align-items:flex-start}.insurance-shield{display:none}}

/* Premium user-panel header */
body:not(.admin-mode) .topbar{background:linear-gradient(115deg,rgba(232,255,240,.98) 0%,rgba(198,248,218,.98) 42%,rgba(255,241,194,.98) 100%);border:1px solid rgba(64,164,108,.18);border-top:5px solid transparent;border-image:linear-gradient(90deg,#18a765,#62df9a,#ffb43c) 1;box-shadow:0 12px 32px rgba(23,108,70,.13);backdrop-filter:blur(16px);position:sticky}body:not(.admin-mode) .topbar:after{content:"";position:absolute;inset:auto 24px -1px 24px;height:1px;background:linear-gradient(90deg,transparent,rgba(22,122,80,.35),transparent)}body:not(.admin-mode) .topbar>div:first-of-type{position:relative;padding-left:15px}body:not(.admin-mode) .topbar>div:first-of-type:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:5px;border-radius:99px;background:linear-gradient(#16a568,#ffb33c)}body:not(.admin-mode) .topbar h1{color:#153f30;font-size:24px;letter-spacing:-.35px}body:not(.admin-mode) .topbar p{color:#587267;font-size:12px}.header-business{min-height:43px;padding:5px 16px 5px 7px;background:linear-gradient(135deg,#153f31,#177950 60%,#249b68);border:1px solid rgba(255,255,255,.36);color:#fff;text-shadow:none;box-shadow:0 9px 22px rgba(19,101,66,.25),inset 0 1px rgba(255,255,255,.18)}.header-business i{background:linear-gradient(135deg,#fff4c6,#ffc45d);color:#573606;border:1px solid rgba(255,255,255,.55);box-shadow:0 4px 10px rgba(0,0,0,.12)}.header-business:hover{background:linear-gradient(135deg,#0e5237,#159260);box-shadow:0 12px 27px rgba(19,101,66,.33)}body:not(.admin-mode) .icon-btn{background:rgba(255,255,255,.78);border-color:rgba(41,140,84,.2);box-shadow:0 5px 14px rgba(23,108,70,.09)}
@media(max-width:760px){body:not(.admin-mode) .topbar{min-height:70px;padding:10px 12px;gap:9px;background:linear-gradient(120deg,#e2faeb,#baf2d0 57%,#ffe3a3)}body:not(.admin-mode) .topbar>div:first-of-type{padding-left:10px;min-width:0;flex:1}body:not(.admin-mode) .topbar h1{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-business{display:flex!important;width:auto;height:41px;min-height:41px;padding:4px 10px 4px 5px;gap:6px;font-size:11px;border-radius:13px;flex:none}.header-business i{display:grid!important;width:27px;height:27px;border-radius:9px;font-size:14px}.header-business span{display:inline!important}.menu-button{flex:none}}
@media(max-width:410px){body:not(.admin-mode) .topbar{gap:6px;padding:9px 8px}body:not(.admin-mode) .topbar h1{font-size:17px}.header-business{padding-right:7px;font-size:10px;gap:4px}.header-business i{display:grid!important;width:24px;height:24px;font-size:12px}.header-business span{display:inline!important}.menu-button{width:39px;height:39px}}

/* Fully rounded modal surfaces */
.modal-backdrop{padding:22px}.modal{border-radius:24px!important;border:1px solid rgba(65,163,108,.24);background:#fff;background-clip:padding-box;overflow-x:hidden;overflow-y:auto;box-shadow:0 28px 85px rgba(15,62,43,.28),0 0 0 6px rgba(255,255,255,.16);clip-path:inset(0 round 24px)}.modal:before{content:"";position:sticky;display:block;top:0;left:0;right:0;height:4px;margin:-23px -23px 10px;background:linear-gradient(90deg,#24b875,#83e4a9,#ffb640,#ef6c78);z-index:7}.modal>div{border-radius:18px}.modal .sticky-actions{border-radius:14px 14px 18px 18px}.modal-close{border-radius:14px!important;margin-top:2px;margin-right:2px}
@media(max-width:560px){.modal-backdrop{padding:8px}.modal{border-radius:21px!important;clip-path:inset(0 round 21px);box-shadow:0 22px 60px rgba(15,62,43,.3),0 0 0 4px rgba(255,255,255,.18)}.modal:before{margin:-16px -16px 8px}.modal>div{border-radius:16px}}
.modal:before{display:none!important}
