/* GST layouts: readable labels, accessible full-card actions and footer clearance. */
.gst-action-workspace,.gst-khata,.gst-report-summary,.gst-party-list{color:#101d5c;min-width:0}.gst-action-heading{padding:22px 16px;background:linear-gradient(135deg,#06266e,#0066f5);border-radius:20px;color:white;text-align:center}.gst-action-heading h3{color:white!important;margin:0 0 8px}.gst-action-heading p{margin:0 0 14px}.gst-action-tabs{display:flex;gap:7px}.gst-action-tabs button{flex:1;min-width:0;padding:10px 5px!important;border-radius:24px!important;font-size:13px!important;background:#edf6ff!important;color:#101d5c!important;border:1px solid #cde5ff!important;white-space:normal;overflow-wrap:normal!important;word-break:normal!important}.gst-action-tabs button[aria-selected=true]{background:#0646ca!important;color:white!important;border:2px solid #ffd15b!important}.gst-action-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;gap:0;align-items:flex-start;margin-top:12px}.gst-action-page{flex:0 0 100%;scroll-snap-align:start;box-sizing:border-box;padding:0 0 9px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.approved-portal main .gst-quick-actions .gst-art-card,.gst-quick-actions .gst-art-card{display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;padding:14px!important;min-height:205px;min-width:0;border-radius:17px!important;border:1px solid #dcecff!important;background:linear-gradient(140deg,#fff,#edf7ff)!important;color:#101d5c!important;text-align:left;box-shadow:0 4px 14px #07327908;white-space:normal;word-break:normal;overflow-wrap:normal}.gst-art-card:nth-child(2){background:linear-gradient(140deg,#fff,#fff2dd)!important}.gst-art-card:nth-child(3){background:linear-gradient(140deg,#fff,#e2fff2)!important}.gst-art-card:nth-child(4){background:linear-gradient(140deg,#fff,#eee5ff)!important}.gst-art{width:84px;height:84px;display:block;overflow:hidden;border-radius:15px}.gst-art-card strong{font-size:16px;line-height:1.3;max-width:100%;overflow-wrap:normal!important}.gst-art-card small{font-size:13px;line-height:1.45;color:#526b99;max-width:100%}.gst-art-card:focus-visible,.gst-action-tabs button:focus-visible{outline:3px solid #dca624;outline-offset:2px}.gst-party-list{display:grid;gap:14px}.gst-party-card{margin:0!important;padding:16px!important;background:#fff!important;border:1px solid #deedff!important;border-radius:17px!important;box-shadow:0 3px 12px #1266ba0b}.gst-party-identity{display:flex;align-items:center;gap:12px;min-width:0}.gst-avatar{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:linear-gradient(135deg,#8dc7ff,#4097ff);font-size:19px;color:white;font-weight:700}.gst-party-name{flex:1;min-width:0;display:grid;gap:6px}.gst-party-name b{font-size:16px;line-height:1.35;overflow-wrap:break-word}.gst-party-name span{font-size:14px;color:#526b99}.gst-party-actions{display:flex;align-items:stretch;gap:10px;margin-top:14px}.approved-portal main .gst-party-actions button,.gst-party-actions button{margin:0;padding:10px 16px!important;min-height:48px;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;border-radius:11px!important;display:flex;align-items:center;justify-content:center;gap:8px}.gst-party-actions button:first-child{min-width:92px;flex:0 0 auto}.gst-party-actions button:nth-child(2){flex:1;background:#0055ff!important;color:#fff!important;font-size:15px!important}.gst-party-actions button:nth-child(2)>span:first-child{font-size:25px}.gst-party-actions button:nth-child(2)>span:last-child{line-height:1.2}.gst-party-card details{margin-top:10px;font-size:13px;color:#526b99}.gst-party-card details p{margin:8px 0}.gst-party-balance{flex:0 1 140px;min-width:0;display:grid;gap:5px}.gst-party-balance small{font-size:11px}.gst-party-balance strong{color:#b97900;font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}.approved-portal main .gst-statement,.gst-statement{width:100%;display:flex!important;justify-content:center;align-items:center;position:relative;padding:8px 26px!important;border:1px solid #0055ff!important;border-radius:9px!important;background:white!important;color:#0055ff!important;font-size:14px!important;margin:12px 0 0!important;min-height:40px}.gst-statement>span{position:absolute;right:12px;font-size:24px}.gst-balance-guide{padding:12px;border-radius:12px;background:#eaf4ff;margin:12px 0}.gst-balance-guide p{font-size:13px;line-height:1.5;margin:5px 0 0}.gst-report-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.gst-report-metrics article{padding:16px!important;margin:0!important;display:grid;gap:10px;min-width:0;border:1px solid #e0efff;border-radius:17px}.gst-report-metrics small{font-size:14px;font-weight:600}.gst-report-metrics strong{font-size:clamp(17px,3.7vw,26px);color:#0055ff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.gst-report-metrics .green strong{color:#167849}.gst-report-metrics .amber strong{color:#b97900}.gst-tax-breakdown{padding:16px!important;border-radius:17px!important;border:1px solid #deedff!important;margin:0 0 12px!important}.gst-tax-breakdown h3{display:flex;align-items:center;gap:10px;font-size:21px;margin:0 0 12px}.gst-tax-breakdown h3>span{display:grid;place-items:center;border-radius:50%;width:45px;height:45px;background:#e3f1ff;color:#0055ff}.gst-tax-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:16px}.gst-tax-breakdown>div+div{border-top:1px solid #ddeafa}.gst-tax-breakdown b{white-space:nowrap;font-variant-numeric:tabular-nums}.gst-report-counts{display:flex;align-items:stretch;padding:15px 12px;gap:12px;background:#eaf4ff;border-radius:16px;margin-bottom:20px}.gst-report-counts>div{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.gst-report-counts>div+div{border-left:1px solid #9dbfff;padding-left:12px}.gst-report-counts strong{display:block;font-size:25px;color:#0055ff;margin-top:4px}.gst-count-icon{font-size:31px;color:#0055ff}.gst-dues-list{display:grid;gap:14px;margin-top:14px}.gst-due-card{padding:16px!important;border:1px solid #deedff;border-radius:18px!important;margin:0!important}.gst-due-header{display:flex;align-items:center;gap:10px}.gst-due-header>div{display:grid;gap:6px;flex:1;min-width:0}.gst-due-header b{font-size:17px;overflow-wrap:break-word}.gst-due-header strong{white-space:nowrap;font-size:18px}.gst-due-header small{font-size:12px;color:#526b99}.gst-due-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.gst-due-footer>div{display:grid;gap:6px;font-size:12px}.gst-due-footer .due-pill{padding:5px 9px;border-radius:20px;background:#e2f1ff;color:#0055ff;width:max-content}.gst-due-footer .overdue{background:#ffe9e9;color:#c71c1c}.gst-due-footer button{white-space:nowrap!important;border:1px solid #0055ff!important;border-radius:22px!important;background:white!important;color:#0055ff!important;padding:10px!important;font-size:12px!important;min-height:42px}.gst-khata,.gst-report-summary,#approvedDuesPage [data-unpaid-dues],#billingCustomersPage{padding-bottom:95px!important}main .gst-report-summary{padding-bottom:16px!important}
@media(min-width:700px){.gst-party-card{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px;align-items:center}.gst-party-card details,.gst-party-card [data-statement-body]{grid-column:1/-1}.gst-party-actions{margin:0}.gst-party-identity{min-width:0}.gst-action-page{grid-template-columns:repeat(4,minmax(0,1fr))!important}.gst-party-card:has(.gst-statement){display:block}.gst-dues-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.gst-art-card strong{font-size:14px}.gst-art{width:70px;height:70px}.gst-party-identity{gap:8px}.gst-avatar{width:42px;height:42px;flex-basis:42px;font-size:17px}.gst-party-balance{flex-basis:115px}.gst-party-balance strong{font-size:16px}.gst-party-name b{font-size:14px}.gst-party-name span{font-size:12px}.gst-due-header{flex-wrap:wrap}.gst-due-header strong{margin-left:auto}}

#billingSubscriptionPage .subscription-current{position:relative;overflow:hidden;background:linear-gradient(130deg,#075af2,#052a88);color:white;padding:24px;border-radius:18px;min-height:180px}#billingSubscriptionPage .subscription-current:after{content:"";position:absolute;right:5px;bottom:0;width:110px;height:115px;background-image:url('/assets/gst_subscription_artboard.png');background-size:1104px 736px;background-position:-356px -277px;pointer-events:none;opacity:.9}#billingSubscriptionPage .subscription-current h3,#billingSubscriptionPage .subscription-current b{color:white}#billingSubscriptionPage .subscription-dates{padding-right:95px}#billingSubscriptionPage .subscription-plan{border-radius:16px;border:1px solid #dcecff;box-shadow:0 3px 12px #1266ba0b}#billingSubscriptionPage .subscription-plan.current{background:#e5f4ff;border:2px solid #0055ff}#billingSubscriptionPage{padding-bottom:100px}#billingSettingsPage form{padding-bottom:90px}#billingSettingsPage input,#billingSettingsPage textarea,#billingSettingsPage select{border-radius:9px;min-height:44px}#billingSettingsPage form>button{width:100%;min-height:48px;border-radius:11px}#billingPaymentInPage .profile-actions button{min-height:46px}

.approved-portal #stats{align-items:stretch}.approved-portal #stats .stat-card{height:100%;display:flex;flex-direction:column;justify-content:flex-start;min-height:112px}.approved-portal #stats .stat-card small{min-height:2.7em;line-height:1.35;display:block}.approved-portal #stats .stat-card b{margin-top:auto}

.gst-receivable-hero{display:grid;gap:12px;padding:22px;border-radius:17px;background:linear-gradient(130deg,#075af2,#0038c8);color:white;margin:14px 0}.gst-receivable-hero b{font-size:22px}.gst-receivable-hero strong{font-size:clamp(26px,6vw,42px);color:#ffd255}.gst-receivable-hero span{font-size:15px}
