:root{--gbs-ink:#15211e;--gbs-muted:#697671;--gbs-green:#087b3e;--gbs-green-dark:#064b31;--gbs-green-soft:#e9f6ee;--gbs-line:#e1e8e4;--gbs-bg:#f4f7f6;--gbs-white:#fff;--gbs-warn:#a86a08;--gbs-red:#c43d3d;--gbs-shadow:0 8px 24px rgba(19,42,31,.06)}
*{box-sizing:border-box}html{min-width:320px}body.gbs-app-body{margin:0;background:var(--gbs-bg);color:var(--gbs-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.5}body.gbs-app-body button,body.gbs-app-body input,body.gbs-app-body select,body.gbs-app-body textarea{font:inherit}body.gbs-app-body a{color:inherit;text-decoration:none}.gbs-app-bg{min-height:100vh;background:var(--gbs-bg)}
.gbs-layout{min-height:100vh;display:flex}.gbs-sidebar{width:238px;flex:0 0 238px;background:linear-gradient(180deg,#0b2822 0%,#071f1a 100%);color:#eaf5ef;padding:22px 13px 18px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.gbs-brand{display:flex;align-items:center;gap:11px;padding:5px 10px 28px;border-bottom:1px solid rgba(255,255,255,.11)}.gbs-brand-symbol,.gbs-brand-mark{width:39px;height:39px;border-radius:12px;background:#087b3e;color:white;display:grid;place-items:center;font-size:13px;font-weight:800;letter-spacing:.04em}.gbs-brand strong,.gbs-login-brand strong{display:block;font-size:15px;line-height:1.25;color:#fff}.gbs-brand small,.gbs-login-brand span{display:block;color:#aac5b7;font-size:11px;margin-top:3px}.gbs-sidebar-label{padding:23px 12px 9px;color:#83a497;font-size:10px;font-weight:800;letter-spacing:.13em}.gbs-nav{display:grid;gap:5px}.gbs-nav>a{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 12px;border-radius:9px;color:#d7e7df;font-size:13px;font-weight:600;transition:.18s ease;position:relative}.gbs-nav>a:hover{background:rgba(255,255,255,.08);color:#fff}.gbs-nav>a.active{background:#087b3e;color:#fff;box-shadow:0 6px 16px rgba(0,106,52,.24)}.gbs-nav>a.active i{position:absolute;right:10px;width:6px;height:6px;border-radius:50%;background:#b7f1ca}.gbs-nav-icon{width:20px;text-align:center;font-size:17px;color:#b9d6c8}.gbs-nav>a.active .gbs-nav-icon{color:#fff}.gbs-sidebar-bottom{margin-top:auto;padding:17px 7px 0;border-top:1px solid rgba(255,255,255,.12)}.gbs-user-mini{display:flex;align-items:center;gap:10px}.gbs-avatar-mini,.gbs-top-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#0c8a48;color:#fff;font-weight:800}.gbs-user-mini strong{display:block;font-size:12px;color:#fff}.gbs-user-mini small{display:block;color:#a8c2b5;font-size:10px;margin-top:2px}.gbs-logout{margin:13px 0 0 46px;background:none;border:0;color:#b9cec4;font-size:12px;cursor:pointer;padding:0}.gbs-logout:hover{color:#fff}
.gbs-main{flex:1;min-width:0}.gbs-topbar{height:66px;background:#fff;border-bottom:1px solid var(--gbs-line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:18px}.gbs-breadcrumb{display:flex;align-items:center;gap:11px;color:#8a9891;font-size:12px}.gbs-breadcrumb a{font-size:18px;color:var(--gbs-green)}.gbs-breadcrumb strong{color:#26352e;font-weight:700}.gbs-top-actions{display:flex;align-items:center;gap:15px}.gbs-top-avatar{width:35px;height:35px}.gbs-project-select select,.gbs-project-chip{height:38px;min-width:180px;border:1px solid #dce5df;border-radius:8px;background:#fff;padding:0 12px;color:#34463d;font-weight:700}.gbs-project-chip{display:flex;align-items:center;justify-content:center}.gbs-mobile-brand{display:none}.gbs-content{max-width:1600px;margin:0 auto;padding:27px 28px 22px}.gbs-page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin:0 0 23px}.gbs-eyebrow{font-size:10px;font-weight:800;color:var(--gbs-green);letter-spacing:.13em;margin-bottom:5px}.gbs-page-heading h1{font-size:27px;letter-spacing:-.035em;line-height:1.15;margin:0 0 6px;color:#101b16}.gbs-page-heading p{margin:0;color:var(--gbs-muted);font-size:13px}
.gbs-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.gbs-stat-card{background:#fff;border:1px solid var(--gbs-line);border-radius:12px;padding:17px 18px;box-shadow:0 3px 12px rgba(18,44,29,.025);min-width:0}.gbs-stat-top{display:flex;align-items:center;justify-content:space-between;color:#64736b;font-size:12px;font-weight:650;margin-bottom:10px}.gbs-stat-top b{width:29px;height:29px;border-radius:9px;background:var(--gbs-green-soft);color:var(--gbs-green);display:grid;place-items:center;font-size:15px}.gbs-stat-card>strong{display:block;font-size:24px;line-height:1.2;letter-spacing:-.035em;color:#13231a;overflow-wrap:anywhere}.gbs-stat-card>small{display:block;color:#87928c;font-size:11px;margin-top:6px}
.gbs-panel{background:#fff;border:1px solid var(--gbs-line);border-radius:13px;padding:19px 19px 17px;box-shadow:0 3px 14px rgba(17,46,30,.025);min-width:0}.gbs-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.gbs-panel-head h3{font-size:16px;line-height:1.25;margin:0;color:#15221b;letter-spacing:-.02em}.gbs-panel-head small{display:block;color:var(--gbs-muted);font-size:11px;margin-top:4px}.gbs-panel-head>span{color:var(--gbs-muted);font-size:11px}.gbs-mb{margin-bottom:19px}.gbs-mt{margin-top:19px}.gbs-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gbs-two-col>.gbs-panel{min-width:0}.gbs-help{font-size:12px;color:#718078;margin:13px 0 0}.gbs-empty,.gbs-table-empty{padding:27px 15px;text-align:center;color:#77847d;font-size:13px}.gbs-alert{padding:11px 14px;border-radius:9px;margin:0 0 17px;font-size:12px;border:1px solid transparent}.gbs-alert-success{background:#eaf7ef;border-color:#cfead9;color:#21643b}.gbs-alert-error{background:#fff0ef;border-color:#f5d5d2;color:#a72c27}.gbs-alert-info{background:#eff6fb;border-color:#d7e8f4;color:#315f7c}.gbs-alert-warning{background:#fff7e8;border-color:#f1dfb7;color:#80580d}
.gbs-form{display:block}.gbs-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.gbs-form label,.gbs-filter-bar label,.gbs-billing-controls label,.gbs-mini-form label{display:flex;flex-direction:column;gap:6px;color:#405047;font-size:11px;font-weight:700;min-width:0}.gbs-form input,.gbs-form select,.gbs-form textarea,.gbs-filter-bar input,.gbs-filter-bar select,.gbs-billing-controls input,.gbs-mini-form input,.gbs-mini-form select,.gbs-mini-form textarea{width:100%;min-width:0;min-height:39px;padding:9px 11px;border:1px solid #dce5df;border-radius:8px;background:#fff;color:#1f2c25;outline:none;box-shadow:0 1px 2px rgba(14,32,22,.02);transition:border-color .15s,box-shadow .15s}.gbs-form textarea,.gbs-mini-form textarea{resize:vertical}.gbs-form input:focus,.gbs-form select:focus,.gbs-form textarea:focus,.gbs-filter-bar input:focus,.gbs-filter-bar select:focus,.gbs-billing-controls input:focus,.gbs-mini-form input:focus,.gbs-mini-form select:focus,.gbs-mini-form textarea:focus{border-color:#4eaa74;box-shadow:0 0 0 3px rgba(8,123,62,.1)}.gbs-form input[readonly],.gbs-form input:disabled{background:#f5f8f6;color:#7a8780}.gbs-form label small,.gbs-mini-form label small{font-size:10px;font-weight:400;color:#87938d}.gbs-form-section{grid-column:1/-1;padding:12px 14px;background:#f3f8f5;border:1px solid #e2eee6;border-radius:8px}.gbs-form-section strong,.gbs-form-section small{display:block}.gbs-form-section strong{font-size:12px;color:#28523b}.gbs-form-section small{font-size:10px;color:#74847a;margin-top:3px}.gbs-full-field{grid-column:1/-1}.gbs-form-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:5px}.gbs-form-grid .gbs-form-actions{grid-column:1/-1}.gbs-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;min-height:37px;padding:8px 14px;font-size:11px;font-weight:750;cursor:pointer;transition:background .15s,border-color .15s,transform .15s;white-space:nowrap}.gbs-btn:hover{transform:translateY(-1px)}.gbs-btn-primary{background:var(--gbs-green);color:#fff!important;border-color:var(--gbs-green)}.gbs-btn-primary:hover{background:#066735;border-color:#066735}.gbs-btn-outline{background:#fff;color:#395247!important;border-color:#cddbd2}.gbs-btn-outline:hover{background:#f5faf7;border-color:#8bb79c}.gbs-btn-muted{background:#f1f5f2;color:#4d6255!important;border-color:#e2e9e4}.gbs-btn-small{min-height:30px;padding:6px 10px;font-size:10px}.gbs-btn-full{width:100%;min-height:43px}.gbs-filter-bar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.gbs-filter-bar label{min-width:150px}.gbs-filter-bar input,.gbs-filter-bar select{min-height:36px}.gbs-checkbox-label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.gbs-checkbox-label input{width:16px!important;min-height:16px!important}
.gbs-table-wrap{width:100%;overflow:auto;border:1px solid #e4eae6;border-radius:9px}.gbs-table-wrap table{width:100%;border-collapse:separate;border-spacing:0;min-width:650px;font-size:11px}.gbs-table-wrap th{background:#f4f7f5;color:#35443b;font-weight:800;text-align:left;padding:11px 10px;border-bottom:1px solid #e1e8e3;white-space:nowrap}.gbs-table-wrap td{padding:10px;border-bottom:1px solid #edf1ee;color:#45534b;vertical-align:middle}.gbs-table-wrap tbody tr:last-child td{border-bottom:0}.gbs-table-wrap tbody tr:hover{background:#fbfdfb}.gbs-table-wrap td strong{color:#1c2a22}.gbs-cell-sub{display:block;font-size:10px;color:#8a9790;margin-top:3px;font-weight:400}.gbs-text-link{color:#087b3e!important;font-weight:750;font-size:11px;border:0;background:none;padding:0;cursor:pointer}.gbs-text-link:hover{text-decoration:underline}.gbs-danger-link{color:#bd3a35!important}.gbs-inline-form{display:inline}.gbs-inline-form button{background:none;border:0;padding:2px 4px;cursor:pointer}.gbs-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:100px;padding:4px 9px;font-size:9px;font-weight:800;background:#eef3f0;color:#55645b;white-space:nowrap}.gbs-pill-success,.gbs-pill-paid{background:#e7f6ec;color:#18723c}.gbs-pill-warning,.gbs-pill-partial{background:#fff5de;color:#966107}.gbs-pill-unpaid{background:#fff0ec;color:#a94434}.gbs-count-pill{display:inline-block;padding:4px 8px;border-radius:100px;background:#edf7f0;color:#217743;font-size:10px;font-weight:750}.gbs-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gbs-detail-grid small,.gbs-project-info small,.gbs-project-metric small{display:block;color:#86918b;font-size:10px;margin-bottom:4px}.gbs-detail-grid strong{display:block;font-size:13px;color:#26372d}.gbs-project-summary{display:flex;align-items:center;gap:18px;padding:14px 16px;margin-bottom:17px;border:1px solid var(--gbs-line);border-radius:12px;background:#fff;box-shadow:0 3px 14px rgba(17,46,30,.025)}.gbs-project-image{width:100px;height:76px;flex:0 0 100px;border-radius:9px;background:linear-gradient(140deg,#e4f2e9,#d1e8d9);display:grid;place-items:center;color:#16844b;font-size:36px}.gbs-project-info{flex:1;min-width:160px}.gbs-project-info strong{display:block;font-size:16px;color:#17251d}.gbs-project-info span{display:block;margin-top:4px;color:#64736a;font-size:11px}.gbs-project-metric{min-width:120px;padding-left:17px;border-left:1px solid #e8eeea}.gbs-project-metric strong{display:block;font-size:14px;color:#22332a}.gbs-quick-actions{display:grid;gap:8px}.gbs-quick-actions>a{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #e7ede9;border-radius:8px}.gbs-quick-actions>a:hover{background:#f7fbf8}.gbs-quick-actions>a>b{width:32px;height:32px;border-radius:8px;background:#e9f5ed;color:var(--gbs-green);display:grid;place-items:center;font-size:17px}.gbs-quick-actions strong,.gbs-quick-actions small{display:block}.gbs-quick-actions strong{font-size:11px}.gbs-quick-actions small{font-size:10px;color:#85918a;margin-top:2px}.gbs-two-col .gbs-panel-head a{font-size:10px;color:var(--gbs-green);font-weight:750}
.gbs-billing-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 13px}.gbs-billing-controls input{min-height:37px}.gbs-search-field{grid-column:auto}.gbs-billing-table-wrap{max-height:62vh}.gbs-billing-table{min-width:900px!important}.gbs-billing-table th:nth-child(6),.gbs-billing-table td:nth-child(6){background:#f7faf8}.gbs-billing-table th:nth-child(7),.gbs-billing-table td:nth-child(7){background:#eef8f1}.gbs-billing-table th:nth-child(8),.gbs-billing-table td:nth-child(8){background:#f7fbf8}.gbs-billing-table th:nth-child(9),.gbs-billing-table td:nth-child(9){text-align:right}.gbs-reading-input{width:100%;min-width:94px;max-width:124px;min-height:32px;padding:5px 7px;border:1px solid #cbded1;border-radius:6px;text-align:right;color:#23352a;background:#fff}.gbs-reading-input:focus{outline:none;border-color:#0b984e;box-shadow:0 0 0 2px rgba(8,123,62,.12)}.gbs-locked-reading{display:inline-flex;align-items:center;gap:5px;color:#475a4e;font-variant-numeric:tabular-nums}.gbs-locked-reading small{font-size:9px;color:#8b9690}.gbs-row-existing{opacity:.55;background:#f6f8f6}.gbs-billing-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:16px;margin-top:13px;border-top:1px solid #e9efeb}.gbs-selection-count{margin-right:auto;color:#68776e;font-size:11px}.gbs-selection-count strong{color:#1a7c42}.gbs-calculated-total{padding:8px 13px;border-radius:9px;background:#eef7f1;min-width:142px}.gbs-calculated-total span{display:block;font-size:10px;color:#5c7164}.gbs-calculated-total strong{display:block;margin-top:2px;font-size:16px;color:#172e20}.gbs-details{position:relative}.gbs-details summary{list-style:none;cursor:pointer}.gbs-details summary::-webkit-details-marker{display:none}.gbs-mini-form{display:grid;gap:9px;min-width:210px;padding:12px;margin-top:9px;border:1px solid #e0e9e2;background:#f9fcfa;border-radius:8px}.gbs-mini-form input,.gbs-mini-form select{min-height:32px;padding:6px 8px}.gbs-mini-form label{font-size:10px}.gbs-mini-form textarea{min-height:52px}
.gbs-login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 16px;background:radial-gradient(circle at 50% 0%,#e9f4ed,transparent 45%),#f4f7f5}.gbs-login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.gbs-login-brand strong{font-size:17px;color:#1b2b22}.gbs-login-brand span{color:#74847a}.gbs-login-card{width:min(100%,420px);padding:31px;background:#fff;border:1px solid #e3ebe6;border-radius:15px;box-shadow:0 17px 50px rgba(18,48,31,.09)}.gbs-login-kicker{font-size:9px;font-weight:850;letter-spacing:.16em;color:var(--gbs-green)}.gbs-login-card h1{font-size:25px;letter-spacing:-.03em;margin:6px 0 5px}.gbs-login-card>p{font-size:12px;color:#718078;margin:0 0 20px}.gbs-login-card .gbs-form{display:grid;gap:15px}.gbs-login-card .gbs-form label{font-size:11px}.gbs-login-card .gbs-form input{min-height:43px}.gbs-login-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;font-size:10px}.gbs-login-bottom a{color:var(--gbs-green);font-weight:800}.gbs-login-bottom span{color:#89958e;text-align:right}.gbs-forgot-form{border-top:1px solid #e7ece8;margin-top:17px;padding-top:15px}.gbs-forgot-form[hidden]{display:none}.gbs-forgot-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;margin-bottom:10px}.gbs-forgot-form input{min-height:39px;border:1px solid #dce5df;border-radius:8px;padding:8px 10px}.gbs-login-footer{margin-top:17px;font-size:10px;color:#87938c}
.gbs-footer{text-align:center;margin-top:26px;color:#98a39d;font-size:10px}.gbs-public-invoice{min-height:100vh;background:#f3f6f4;padding:25px}.gbs-invoice-toolbar{max-width:850px;margin:0 auto 16px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#617168}.gbs-invoice-paper{max-width:850px;margin:0 auto;background:#fff;border:1px solid #e0e7e2;border-radius:8px;padding:42px;box-shadow:var(--gbs-shadow)}.gbs-invoice-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:23px;border-bottom:2px solid #1b7c43}.gbs-invoice-header>div:first-child{display:flex;align-items:center;gap:13px}.gbs-invoice-header h1{font-size:22px;margin:0;color:#17251d}.gbs-invoice-header p{font-size:10px;letter-spacing:.13em;color:#708076;margin:4px 0 0}.gbs-invoice-logo{width:65px;height:65px;object-fit:contain}.gbs-invoice-number{text-align:right}.gbs-invoice-number small,.gbs-invoice-number strong{display:block}.gbs-invoice-number small{font-size:9px;color:#829087}.gbs-invoice-number strong{font-size:18px;margin:4px 0;color:#176c3a}.gbs-invoice-status{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e8eeea;font-weight:750}.gbs-invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:24px 0}.gbs-invoice-grid small,.gbs-invoice-grid strong,.gbs-invoice-grid span{display:block}.gbs-invoice-grid small{font-size:9px;letter-spacing:.12em;color:#7d8982;margin-bottom:8px}.gbs-invoice-grid strong{font-size:13px;margin-bottom:5px}.gbs-invoice-grid span{font-size:11px;color:#68766e;margin:3px 0}.gbs-invoice-paper h3{font-size:13px;margin:10px 0}.gbs-invoice-table{width:100%;border-collapse:collapse;font-size:11px}.gbs-invoice-table th,.gbs-invoice-table td{border:1px solid #e2e9e4;padding:10px;text-align:left}.gbs-invoice-table th{background:#f4f7f5;width:45%;color:#46554b}.gbs-invoice-total{margin:20px 0 25px auto;width:min(100%,340px);border:1px solid #e1e9e3;border-radius:8px;overflow:hidden}.gbs-invoice-total>div{display:flex;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #e6ece8;font-size:11px}.gbs-invoice-total>div:last-child{border:0;background:#edf7f0}.gbs-invoice-total strong{color:#146f39}.gbs-invoice-footer{margin-top:28px;padding-top:15px;border-top:1px solid #e5ebe7;color:#68766e;font-size:11px}.gbs-invoice-footer small{display:block;margin-top:12px;color:#9aa49e;font-size:9px}.gbs-receipt-paid{margin:20px 0 0;padding:9px;text-align:center;background:#e9f7ee;color:#18723c;font-size:11px;font-weight:850;letter-spacing:.08em;border-radius:7px}.gbs-public-error{max-width:560px;margin:100px auto;padding:28px;background:#fff;border:1px solid #eed6d3;border-radius:12px;color:#9f3832;text-align:center}
@media(max-width:1180px){.gbs-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gbs-content{padding:23px 20px}.gbs-topbar{padding:0 20px}.gbs-billing-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.gbs-sidebar{width:205px;flex-basis:205px}.gbs-topbar{height:58px;padding:0 14px}.gbs-content{padding:20px 14px}.gbs-page-heading h1{font-size:23px}.gbs-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gbs-two-col{grid-template-columns:1fr}.gbs-project-summary{flex-wrap:wrap}.gbs-project-info{flex:1 1 calc(100% - 120px)}.gbs-project-metric{flex:1 1 40%;border-left:0;padding:0 0 0 3px}}
@media(max-width:600px){.gbs-layout{display:block}.gbs-sidebar{position:relative;width:100%;height:auto;min-height:0;padding:10px 11px}.gbs-brand{padding:1px 5px 10px;border:0}.gbs-brand-symbol{width:31px;height:31px}.gbs-brand strong{font-size:13px}.gbs-brand small{font-size:9px}.gbs-sidebar-label,.gbs-sidebar-bottom{display:none}.gbs-nav{display:flex;overflow:auto;gap:5px;padding:3px 0 1px}.gbs-nav>a{flex:0 0 auto;min-height:35px;padding:7px 10px;font-size:10px;white-space:nowrap}.gbs-nav-icon{font-size:13px;width:15px}.gbs-nav>a.active i{display:none}.gbs-topbar{padding:0 13px;height:51px}.gbs-breadcrumb{font-size:10px}.gbs-top-actions{gap:8px}.gbs-project-select select,.gbs-project-chip{min-width:0;max-width:150px;height:32px;font-size:10px}.gbs-top-avatar{width:29px;height:29px;font-size:11px}.gbs-content{padding:17px 10px}.gbs-page-heading{margin-bottom:16px}.gbs-page-heading h1{font-size:21px}.gbs-page-heading p{font-size:11px}.gbs-stats-grid{gap:8px}.gbs-stat-card{padding:12px;border-radius:9px}.gbs-stat-card>strong{font-size:19px}.gbs-stat-top{font-size:10px;margin-bottom:6px}.gbs-panel{padding:14px 12px}.gbs-panel-head h3{font-size:14px}.gbs-form-grid{grid-template-columns:1fr}.gbs-full-field,.gbs-form-section,.gbs-form-grid .gbs-form-actions{grid-column:1}.gbs-billing-controls{grid-template-columns:1fr 1fr}.gbs-billing-controls label{font-size:10px}.gbs-project-image{width:62px;height:58px;flex-basis:62px;font-size:25px}.gbs-project-info{flex-basis:calc(100% - 82px)}.gbs-project-info strong{font-size:13px}.gbs-project-metric{flex-basis:45%;min-width:0}.gbs-project-metric strong{font-size:12px}.gbs-billing-footer{gap:7px}.gbs-selection-count{flex-basis:100%}.gbs-calculated-total{flex:1;min-width:0}.gbs-calculated-total strong{font-size:13px}.gbs-form-actions .gbs-btn{flex:1}.gbs-login-card{padding:24px 20px}.gbs-login-bottom{align-items:flex-start;flex-direction:column}.gbs-login-bottom span{text-align:left}.gbs-public-invoice{padding:10px}.gbs-invoice-paper{padding:20px 14px}.gbs-invoice-header h1{font-size:16px}.gbs-invoice-grid{gap:15px}.gbs-invoice-grid span{overflow-wrap:anywhere}.gbs-invoice-table{font-size:10px}.gbs-invoice-toolbar{font-size:10px}.gbs-invoice-number strong{font-size:14px}}
@media print{body.gbs-app-body{background:#fff!important}.gbs-public-invoice{padding:0;background:#fff}.gbs-invoice-toolbar{display:none!important}.gbs-invoice-paper{max-width:none;border:0;box-shadow:none;border-radius:0;padding:10mm}.gbs-invoice-paper table{page-break-inside:avoid}.gbs-invoice-paper h3{page-break-after:avoid}.gbs-invoice-paper tr{page-break-inside:avoid} @page{size:A4;margin:12mm}}

/* v1.0.4: AJAX collection feedback and monthly admin-charge utilities */
.gbs-payment-notice{padding:11px 13px;margin:0 0 12px;border-radius:8px;font-size:12px;font-weight:700}.gbs-payment-notice.is-success,.gbs-payment-form-feedback.is-success{background:#eaf7ee;color:#176b39;border:1px solid #cce8d4}.gbs-payment-notice.is-error,.gbs-payment-form-feedback.is-error{background:#fff0ef;color:#a3312b;border:1px solid #f1cfcb}.gbs-payment-form-feedback{font-size:10px;padding:0;margin-top:2px}.gbs-payment-form-feedback:empty{display:none}.gbs-row-paid{background:#f1faf4}.gbs-billing-table{min-width:1100px!important}.gbs-billing-table th:nth-child(8),.gbs-billing-table td:nth-child(8){background:#fffaf0}.gbs-billing-table td:nth-child(8) input{min-width:130px}


/* v1.0.5 visual refresh and account tools */
.gbs-sidebar{background:linear-gradient(165deg,#09251d 0%,#061713 68%,#0b3024 100%)}
.gbs-nav>a.active{background:linear-gradient(100deg,#0b9652,#087444);box-shadow:0 8px 20px rgba(0,130,68,.3)}
.gbs-page-heading h1{letter-spacing:-.045em;font-weight:850}
.gbs-panel{border-radius:15px;box-shadow:0 10px 30px rgba(18,49,33,.055);border-color:#dfe8e2}
.gbs-panel-head{gap:14px}
.gbs-panel-head h3{font-weight:800;letter-spacing:-.02em}
.gbs-stat-card{border-radius:14px;box-shadow:0 8px 22px rgba(16,54,33,.055);position:relative;overflow:hidden}
.gbs-stat-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#19a45c,#08663a)}
.gbs-stat-card>strong{font-weight:850;letter-spacing:-.035em}
.gbs-btn{font-weight:800;letter-spacing:.005em;border-radius:9px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.gbs-btn-primary{background:linear-gradient(100deg,#0a9652,#086b3d);box-shadow:0 5px 13px rgba(8,123,62,.18)}
.gbs-btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(8,123,62,.25)}
.gbs-table-wrap table thead th{font-size:10px;letter-spacing:.055em;text-transform:uppercase;font-weight:850}
.gbs-user-filter-bar{display:grid;grid-template-columns:minmax(150px,1.7fr) repeat(3,minmax(125px,1fr)) auto;gap:10px;align-items:end;padding:13px;margin:0 0 15px;background:#f6faf7;border:1px solid #e4eee7;border-radius:11px}
.gbs-user-filter-bar label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:800;color:#52635a;min-width:0}
.gbs-user-filter-bar input,.gbs-user-filter-bar select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #d6e3d9;border-radius:8px;background:#fff;color:#1c2e24}
.gbs-user-filter-bar input:focus,.gbs-user-filter-bar select:focus{outline:none;border-color:#159253;box-shadow:0 0 0 3px rgba(21,146,83,.1)}
.gbs-filter-actions{display:flex;gap:6px;align-items:center}
.gbs-filter-actions .gbs-btn{white-space:nowrap}
.gbs-user-status{display:inline-flex;padding:4px 8px;border-radius:30px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;background:#eef2ef;color:#647169}
.gbs-user-status-active{background:#e4f7eb;color:#13713b}.gbs-user-status-inactive{background:#fff4dc;color:#94630d}.gbs-user-status-deleted{background:#ffeded;color:#ae3838}
.gbs-muted{color:#97a29b;font-size:11px}
.gbs-password-wrap{position:relative;display:flex;align-items:center;width:100%;min-width:0}
.gbs-password-wrap>input{width:100%;min-width:0;padding-right:58px!important}
.gbs-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:#eef5f0;color:#16643a;font-size:10px;font-weight:850;border-radius:6px;padding:5px 8px;cursor:pointer;z-index:1}
.gbs-password-toggle:hover{background:#dceee2}
.gbs-payment-form-feedback{line-height:1.4}
.gbs-payment-action-cell{min-width:205px}
.gbs-payment-notice{border-radius:10px}

/* Configurable invoice themes */
.gbs-invoice-paper{--invoice-accent:#14764A;border-radius:12px;overflow:hidden}
.gbs-invoice-header{border-bottom:3px solid var(--invoice-accent)}
.gbs-invoice-number h2{margin:3px 0 8px;font-size:15px;letter-spacing:-.02em;color:var(--invoice-accent)}
.gbs-invoice-kicker{display:inline-block;color:var(--invoice-accent);font-size:8px;font-weight:900;letter-spacing:.17em}
.gbs-invoice-meta-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e6ece8;font-size:10px;color:#64736a}
.gbs-invoice-meta-bar strong{color:#1c3025;margin-left:5px}
.gbs-invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px 0;border-bottom:1px solid #e8eee9}
.gbs-invoice-party{background:#f7faf8;border:1px solid #e9efeb;border-radius:10px;padding:15px}
.gbs-invoice-party>small{display:block;font-size:8px;letter-spacing:.15em;font-weight:900;color:var(--invoice-accent);margin-bottom:8px}
.gbs-invoice-party h3{font-size:14px;margin:0 0 8px;color:#192a20}
.gbs-invoice-party p{font-size:10px;color:#647169;margin:4px 0;overflow-wrap:anywhere}
.gbs-invoice-section{margin-top:22px}
.gbs-invoice-section-title{display:flex;align-items:center;gap:9px;margin:0 0 10px}
.gbs-invoice-section-title>span{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:var(--invoice-accent);color:#fff;font-size:9px;font-weight:900}
.gbs-invoice-section-title h3{margin:0;font-size:11px;letter-spacing:.09em;font-weight:900;color:#203329}
.gbs-meter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid #e4ece6;border-radius:10px;overflow:hidden;background:#e4ece6}
.gbs-meter-grid>div{background:#fbfdfb;padding:12px 13px;min-width:0}
.gbs-meter-grid small,.gbs-meter-grid strong{display:block}
.gbs-meter-grid small{font-size:8px;color:#7c8a81;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.gbs-meter-grid strong{font-size:12px;color:#1a3023;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.gbs-invoice-line-table{width:100%;border-collapse:collapse;font-size:10px}
.gbs-invoice-line-table th{background:#edf4ef;color:#46584c;font-size:8px;letter-spacing:.09em;text-transform:uppercase;font-weight:900}
.gbs-invoice-line-table th,.gbs-invoice-line-table td{padding:11px 10px;border-bottom:1px solid #e5ece7;text-align:left}
.gbs-invoice-line-table td:not(:first-child),.gbs-invoice-line-table th:not(:first-child){text-align:right;white-space:nowrap}
.gbs-invoice-line-table td:first-child small{display:block;color:#839087;font-size:8px;margin-top:3px}
.gbs-invoice-bottom{display:grid;grid-template-columns:1fr minmax(260px,330px);gap:24px;margin-top:22px;align-items:start}
.gbs-invoice-payment-note{padding:15px;background:#f7faf8;border:1px solid #e7eee9;border-radius:10px}
.gbs-invoice-payment-note h3{font-size:9px;letter-spacing:.12em;margin:0 0 8px;color:var(--invoice-accent)}
.gbs-invoice-payment-note p{font-size:10px;color:#526158;margin:5px 0;line-height:1.55}
.gbs-invoice-totals{border:1px solid #e2ebe4;border-radius:10px;overflow:hidden}
.gbs-invoice-totals>div{display:flex;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid #e9efea;font-size:10px;color:#56645b}
.gbs-invoice-totals>div strong{color:#21372a;font-variant-numeric:tabular-nums}
.gbs-invoice-totals>div:last-child{border:0}
.gbs-invoice-totals>.gbs-invoice-grand-total{background:var(--invoice-accent);color:#fff;padding:13px}
.gbs-invoice-totals>.gbs-invoice-grand-total strong{color:#fff;font-size:15px}
.gbs-invoice-payment-history{margin-top:22px}
.gbs-invoice-footer{margin-top:25px;padding-top:14px;text-align:center;border-top:1px solid #e3ebe5;color:#637168}
.gbs-invoice-footer p{margin:0 0 8px}
.gbs-invoice-footer small{font-size:8px;letter-spacing:.04em}
.gbs-invoice-theme-classic .gbs-invoice-paper{border-radius:0;border:2px solid var(--invoice-accent)}
.gbs-invoice-theme-classic .gbs-invoice-party{border-radius:0;background:#fff}
.gbs-invoice-theme-classic .gbs-meter-grid{border-radius:0}
.gbs-invoice-theme-minimal .gbs-invoice-paper{border:0;box-shadow:none;border-radius:0}
.gbs-invoice-theme-minimal .gbs-invoice-party,.gbs-invoice-theme-minimal .gbs-invoice-payment-note{background:#fff;border:0;border-left:2px solid var(--invoice-accent);border-radius:0}
.gbs-invoice-theme-minimal .gbs-meter-grid{background:#fff;border:0;gap:8px}
.gbs-invoice-theme-minimal .gbs-meter-grid>div{border:1px solid #e5ebe7;border-radius:7px}
@media(max-width:900px){.gbs-user-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.gbs-user-search-label{grid-column:span 2}.gbs-filter-actions{grid-column:1/-1}}
@media(max-width:600px){.gbs-user-filter-bar{grid-template-columns:1fr 1fr}.gbs-user-search-label{grid-column:1/-1}.gbs-filter-actions{grid-column:1/-1}.gbs-filter-actions .gbs-btn{flex:1}.gbs-invoice-parties{grid-template-columns:1fr;gap:10px}.gbs-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gbs-invoice-bottom{grid-template-columns:1fr}.gbs-invoice-line-table{font-size:9px}.gbs-invoice-line-table th,.gbs-invoice-line-table td{padding:8px 5px}}
@media print{.gbs-invoice-paper{border-radius:0!important}.gbs-invoice-toolbar{display:none!important}.gbs-invoice-theme-minimal .gbs-invoice-paper{padding:10mm}}


/* v1.1.0 additions: mobile QR lookup, analytics and action panels */
.gbs-meter-qr{display:block;width:74px;height:74px;object-fit:contain;border:1px solid var(--gbs-border,#e5e7eb);border-radius:9px;background:#fff;padding:4px}
.gbs-qr-scanner{display:flex;align-items:center;gap:18px;margin:14px 0 18px;padding:16px;border:1px solid var(--gbs-border,#e5e7eb);border-radius:14px;background:var(--gbs-panel,#fff)}
.gbs-qr-scanner[hidden]{display:none!important}
.gbs-qr-scanner video{display:block;width:min(260px,42vw);aspect-ratio:4/3;object-fit:cover;background:#101827;border-radius:10px}
.gbs-qr-scanner p{margin:0 0 12px;font-weight:600}
.gbs-qr-scanner [data-gbs-scan-status]{display:block;margin-top:9px;color:var(--gbs-muted,#64748b);font-size:12px}
.gbs-analytics-bars{display:flex;align-items:stretch;gap:16px;min-height:185px;padding:12px 4px 2px;overflow-x:auto}
.gbs-analytics-bar{display:flex;flex:1 0 82px;min-width:82px;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;text-align:center}
.gbs-analytics-bar-value{font-size:11px;font-weight:700;color:var(--gbs-text,#172033);white-space:nowrap}
.gbs-analytics-track{display:flex;align-items:flex-end;justify-content:center;width:34px;height:112px;overflow:hidden;border-radius:8px;background:var(--gbs-soft,#f1f5f9)}
.gbs-analytics-track span{display:block;width:100%;min-height:3px;border-radius:8px 8px 3px 3px;background:var(--gbs-primary,#14764a)}
.gbs-analytics-bar small{font-size:11px;color:var(--gbs-muted,#64748b);white-space:nowrap}
.gbs-log-details{display:block;max-width:360px;white-space:normal;overflow-wrap:anywhere}
.gbs-qr-scanner .gbs-btn{margin-right:8px}
@media(max-width:640px){.gbs-qr-scanner{align-items:stretch;flex-direction:column}.gbs-qr-scanner video{width:100%;max-width:100%}.gbs-meter-qr{width:58px;height:58px}.gbs-analytics-bars{gap:10px}}

/* Bulk SMS and meter-reading import tools */
.gbs-bulk-sms-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:18px;padding-top:16px;border-top:1px solid var(--gbs-border,#e5e7eb)}
.gbs-bulk-sms-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750;color:var(--gbs-text,#17211b)}
.gbs-bulk-sms-form textarea{width:100%;min-height:76px;border:1px solid var(--gbs-border,#dce4de);border-radius:10px;padding:11px;font:inherit;font-weight:450;resize:vertical}
.gbs-bulk-sms-form small{font-size:11px;font-weight:500;color:var(--gbs-muted,#6b7280)}
.gbs-reading-import-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 15px;padding:14px;border:1px solid var(--gbs-border,#e5e7eb);border-radius:12px;background:var(--gbs-soft,#f7faf8)}
.gbs-reading-import-tools>div{display:flex;flex-direction:column;gap:3px;flex:1 1 220px}
.gbs-reading-import-tools>div strong{font-size:13px}
.gbs-reading-import-tools>div small{font-size:11px;line-height:1.5;color:var(--gbs-muted,#64748b)}
.gbs-reading-import-tools .gbs-file-label{position:relative;display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid var(--gbs-border,#d7dfd9);border-radius:9px;background:#fff;font-size:12px;font-weight:700;color:var(--gbs-text,#17211b);cursor:pointer}
.gbs-reading-import-tools .gbs-file-label input{max-width:190px;font-size:11px}
#gbs-reading-import-status{flex-basis:100%;font-size:11px;color:var(--gbs-muted,#64748b)}
@media(max-width:700px){.gbs-bulk-sms-form{grid-template-columns:1fr}.gbs-reading-import-tools{align-items:stretch;flex-direction:column}.gbs-reading-import-tools .gbs-file-label{justify-content:space-between}}

/* v1.3.0 wizard, audit snapshots and SMS center */
.gbs-billing-review{background:#f8faf9;border:1px solid #dbe7df;border-radius:16px;padding:18px;margin:16px 0}.gbs-audit-diff{margin-top:8px}.gbs-audit-diff summary{cursor:pointer;color:#176b40;font-weight:700}.gbs-audit-diff pre{max-width:520px;max-height:240px;overflow:auto;background:#f5f7f6;padding:10px;border-radius:8px;font-size:11px;white-space:pre-wrap}.gbs-invoice-sorter{display:flex;gap:8px;flex-wrap:wrap}.gbs-invoice-sorter button{border:1px solid #d8e2dc;border-radius:20px;background:#f6f9f7;padding:7px 12px;cursor:grab}.gbs-invoice-sorter button:active{cursor:grabbing}.gbs-invoice-sorter button.is-dragging{opacity:.45}

/* v1.3.0 PWA, invoice layout builder and wizard polish */
.gbs-install-button[hidden]{display:none!important}.gbs-invoice-sorter{align-items:center}.gbs-invoice-sort-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #d4e0d8;border-radius:24px;background:#f5faf6;cursor:grab}.gbs-invoice-sort-chip span{font-size:11px;font-weight:700;padding:0 5px}.gbs-invoice-sort-chip button{width:25px;height:25px;border:0;border-radius:50%;background:#e5efe8;color:#245638;font-weight:900;cursor:pointer}.gbs-invoice-sort-chip button:hover{background:#cfe4d6}.gbs-offline-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gbs-offline-tools>strong{flex-basis:100%}.gbs-offline-tools>small{flex-basis:100%;color:var(--gbs-muted,#64748b)}@media(max-width:700px){.gbs-invoice-sort-chip{max-width:100%}.gbs-install-button{font-size:10px;padding:6px 8px}}

/* Treat payment information and totals as independent invoice sections so their saved order applies globally. */
.gbs-invoice-bottom{display:contents;margin:0}.gbs-invoice-payment-note{flex:1 1 320px;margin-top:22px}.gbs-invoice-totals{flex:0 1 330px;margin-top:22px}@media(max-width:600px){.gbs-invoice-payment-note,.gbs-invoice-totals{flex-basis:100%}}

/* v1.3.3: centered in-app billing confirmation/result dialogs */
.gbs-billing-review{display:block!important;margin:14px 0;padding:14px 16px;background:#f8fbf9;border:1px solid #dce9e0;border-radius:12px}
.gbs-billing-review .gbs-panel-head{margin-bottom:10px}
.gbs-modal-backdrop{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(13,25,18,.58);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.gbs-modal-backdrop.gbs-modal-is-open{display:flex}
.gbs-modal-card{width:min(520px,100%);max-height:min(82vh,720px);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:18px;padding:25px;box-shadow:0 24px 80px rgba(0,0,0,.24);text-align:center;animation:gbsModalIn .18s ease-out}
.gbs-modal-card h2{margin:10px 0 7px;color:#18281f;font-size:21px;line-height:1.25}
.gbs-modal-card>p{margin:0 auto 14px;max-width:440px;color:#647168;font-size:13px;line-height:1.65}
.gbs-modal-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto;border-radius:50%;background:#e6f5eb;color:#13743d;font-size:27px;font-weight:800}
.gbs-modal-icon.is-warning{background:#fff4df;color:#a86105}
.gbs-modal-icon.is-error{background:#fff0ef;color:#bd3028}
.gbs-modal-extra{margin:14px 0 4px;text-align:left}
.gbs-modal-warning-list{margin:8px 0 0;padding:12px 16px 12px 30px;background:#f6f9f7;border:1px solid #e5ede7;border-radius:10px;color:#405248;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.gbs-modal-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:18px}
.gbs-modal-actions .gbs-btn{min-width:112px}
.gbs-modal-actions [hidden]{display:none!important}
@keyframes gbsModalIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.gbs-modal-backdrop{padding:13px}.gbs-modal-card{padding:20px 16px;border-radius:15px}.gbs-modal-card h2{font-size:18px}.gbs-modal-card>p{font-size:12px}.gbs-modal-actions{flex-direction:column-reverse}.gbs-modal-actions .gbs-btn{width:100%}}

/* v1.3.7 multi-device session management */
.gbs-session-panel .gbs-panel-head{align-items:flex-start}
.gbs-session-panel .gbs-panel-head small{display:block;max-width:760px;margin-top:5px;color:var(--gbs-muted,#68766e);font-size:11px;font-weight:500;line-height:1.55}
.gbs-session-table{min-width:760px!important}
.gbs-session-ua{display:block;max-width:260px;margin-top:4px;color:var(--gbs-muted,#718077);font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.gbs-session-actions,.gbs-session-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gbs-session-actions{justify-content:flex-end;margin-top:14px}
.gbs-session-row-actions form{display:inline-flex;margin:0}
.gbs-btn-danger{background:#fff3f1;color:#b42318!important;border-color:#f0c6c1}
.gbs-btn-danger:hover{background:#ffe8e4;border-color:#dfa19a}
@media(max-width:640px){.gbs-session-actions{align-items:stretch;flex-direction:column}.gbs-session-actions form,.gbs-session-actions .gbs-btn{width:100%}.gbs-session-panel .gbs-panel-head{flex-direction:column;gap:9px}}

/* v1.3.9 SMS gateway setup: clearer provider-specific credentials and test status */
.gbs-sms-provider-card{grid-column:1/-1;padding:18px;border:1px solid var(--gbs-border,#dce5df);border-radius:14px;background:linear-gradient(180deg,#fbfdfc,#f5f9f6);display:block}
.gbs-sms-provider-card[hidden]{display:none!important}
.gbs-sms-provider-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}
.gbs-sms-provider-card-head>div{display:flex;flex-direction:column;gap:4px}
.gbs-sms-provider-card-head strong,.gbs-sms-provider-card>strong{font-size:14px;color:var(--gbs-text,#17211b)}
.gbs-sms-provider-card-head small{font-size:11px;color:var(--gbs-muted,#64746b);line-height:1.5}
.gbs-sms-connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gbs-sms-connection-grid label{display:flex;flex-direction:column;gap:7px;min-width:0}
.gbs-sms-connection-grid input{width:100%;min-width:0}
.gbs-sms-connection-grid label small,.gbs-sms-provider-card>label small{font-size:11px;color:var(--gbs-muted,#64746b);line-height:1.5;font-weight:500}
.gbs-sms-fixed-config{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.gbs-sms-fixed-config>div{display:flex;flex-direction:column;gap:5px;padding:11px;border:1px solid #e0e9e3;border-radius:10px;background:#fff;min-width:0}
.gbs-sms-fixed-config small{font-size:10px;color:var(--gbs-muted,#64746b)}
.gbs-sms-fixed-config strong{font-size:11px;overflow-wrap:anywhere;color:var(--gbs-text,#17211b)}
.gbs-sms-security-note{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#edf7f0;color:#245c3b;font-size:11px;line-height:1.6}
.gbs-sms-clear-credentials{margin-top:13px;color:#a33b32!important}
.gbs-sms-health-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--gbs-border,#dce5df);border-radius:10px;background:#fff}
.gbs-sms-health-row small{font-size:11px;color:var(--gbs-muted,#64746b);line-height:1.5}
.gbs-sms-provider-card .gbs-password-wrap{width:100%}
.gbs-sms-provider-card .gbs-password-wrap input{width:100%}
@media(max-width:640px){.gbs-sms-connection-grid,.gbs-sms-fixed-config{grid-template-columns:1fr}.gbs-sms-provider-card{padding:13px}.gbs-sms-provider-card-head{flex-direction:column}.gbs-sms-health-row{align-items:flex-start;flex-direction:column}}

/* Uploaded invoice reference: clean A4 one-page layout with a simple green rule and restrained tables. */
.gbs-invoice-theme-reference .gbs-invoice-paper{max-width:920px;padding:38px 42px;border:0;border-radius:0;box-shadow:none;overflow:visible}
.gbs-invoice-theme-reference .gbs-invoice-header{border-bottom:2px solid var(--invoice-accent);padding-bottom:22px;align-items:flex-start}
.gbs-invoice-theme-reference .gbs-invoice-header>div:first-child{align-items:flex-start}
.gbs-invoice-theme-reference .gbs-invoice-header h1{font-size:21px;letter-spacing:-.02em}
.gbs-invoice-theme-reference .gbs-invoice-number h2{font-size:22px;letter-spacing:0;text-transform:uppercase}
.gbs-invoice-theme-reference .gbs-invoice-parties{padding:24px 0 18px;border:0;gap:36px}
.gbs-invoice-theme-reference .gbs-invoice-party{padding:0;border:0;border-radius:0;background:transparent}
.gbs-invoice-theme-reference .gbs-invoice-party>small{color:#68766e;letter-spacing:.08em}
.gbs-invoice-theme-reference .gbs-invoice-party h3{font-size:16px}
.gbs-invoice-theme-reference .gbs-invoice-section{margin-top:24px}
.gbs-invoice-theme-reference .gbs-invoice-section-title{margin-bottom:9px}
.gbs-invoice-theme-reference .gbs-invoice-section-title>span{display:none}
.gbs-invoice-theme-reference .gbs-invoice-section-title h3{font-size:12px;letter-spacing:.04em;color:#68766e}
.gbs-invoice-theme-reference .gbs-meter-grid{border:0;background:transparent;padding:0;gap:20px}
.gbs-invoice-theme-reference .gbs-meter-grid>div{border:0;padding:2px 0}
.gbs-invoice-theme-reference .gbs-invoice-line-table{border-collapse:collapse}
.gbs-invoice-theme-reference .gbs-invoice-line-table th{background:#fff;color:#68766e;border:0;border-bottom:2px solid #e2e9e4;padding:10px 8px}
.gbs-invoice-theme-reference .gbs-invoice-line-table td{border:0;border-bottom:1px solid #e2e9e4;padding:13px 8px}
.gbs-invoice-theme-reference .gbs-invoice-totals{border:0;border-radius:0;overflow:visible}
.gbs-invoice-theme-reference .gbs-invoice-totals>div{padding:8px 0;border-bottom:1px solid #e2e9e4;font-size:12px}
.gbs-invoice-theme-reference .gbs-invoice-totals>.gbs-invoice-grand-total{background:transparent;color:#17251d;border-top:2px solid var(--invoice-accent);padding-top:12px}
.gbs-invoice-theme-reference .gbs-invoice-totals>.gbs-invoice-grand-total strong{color:var(--invoice-accent);font-size:16px}
.gbs-invoice-theme-reference .gbs-invoice-payment-note{background:transparent;border:0;padding:0}
.gbs-invoice-theme-reference .gbs-invoice-footer{text-align:left;margin-top:28px}
@media print{.gbs-invoice-theme-reference .gbs-invoice-paper{padding:7mm 5mm!important}.gbs-invoice-theme-reference .gbs-invoice-header,.gbs-invoice-theme-reference .gbs-invoice-parties,.gbs-invoice-theme-reference .gbs-invoice-section,.gbs-invoice-theme-reference .gbs-invoice-bottom{break-inside:avoid}}


/* v1.4.1: reference invoice closely follows the supplied Techhomes PDF. */
.gbs-invoice-theme-reference .gbs-ref-invoice-paper{box-sizing:border-box;width:100%;max-width:920px;min-height:1120px;margin:0 auto;padding:34px 0 22px;background:#fff;color:#0e1a14;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;box-shadow:none;border:0;border-radius:0;overflow:visible}
.gbs-invoice-theme-reference .gbs-ref-invoice-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 28px;border-bottom:2px solid var(--invoice-accent)}
.gbs-invoice-theme-reference .gbs-ref-issuer{display:flex;align-items:flex-start;gap:17px;min-width:0}
.gbs-invoice-theme-reference .gbs-ref-logo,.gbs-invoice-theme-reference .gbs-ref-monogram{display:flex;flex:0 0 76px;width:76px;height:50px;align-items:center;justify-content:center;object-fit:contain;color:#aeb5b0;font-size:22px;font-weight:700}
.gbs-invoice-theme-reference .gbs-ref-issuer-text h1{margin:0 0 3px;color:#0e1a14;font-size:21px;line-height:1.25;font-weight:700;letter-spacing:-.02em}
.gbs-invoice-theme-reference .gbs-ref-issuer-text p{margin:2px 0;color:#5b6b62;font-size:14px;line-height:1.35}
.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{margin:0;padding-top:0;color:var(--invoice-accent);font-size:24px;line-height:1.2;text-align:right;font-weight:800;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-invoice-parties{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;padding:31px 0 0;align-items:start}
.gbs-invoice-theme-reference .gbs-ref-bill-to>small{display:block;margin-bottom:8px;color:#5b6b62;font-size:12px;font-weight:700;letter-spacing:.02em}
.gbs-invoice-theme-reference .gbs-ref-bill-to h3{margin:0 0 2px;color:#0e1a14;font-size:19px;line-height:1.35;font-weight:700}
.gbs-invoice-theme-reference .gbs-ref-bill-to p{margin:3px 0;color:#0e1a14;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta{display:grid;grid-template-columns:1fr;gap:3px}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta>div{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:baseline;font-size:14px;line-height:1.4}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta span{color:#5b6b62;text-align:right}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta strong{color:#0e1a14;text-align:right;font-weight:700;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-meter-section{margin-top:52px}
.gbs-invoice-theme-reference .gbs-ref-meter-section>h3{margin:0 0 19px;color:#5b6b62;font-size:13px;line-height:1.3;font-weight:800;letter-spacing:.02em}
.gbs-invoice-theme-reference .gbs-ref-meter-grid{display:grid;grid-template-columns:1.05fr 1.3fr .9fr 1.15fr .9fr;gap:15px;align-items:start}
.gbs-invoice-theme-reference .gbs-ref-meter-grid>div{min-width:0}
.gbs-invoice-theme-reference .gbs-ref-meter-grid span{display:block;margin-bottom:4px;color:#5b6b62;font-size:13px;line-height:1.3}
.gbs-invoice-theme-reference .gbs-ref-meter-grid strong{display:block;color:#0e1a14;font-size:15px;line-height:1.35;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gbs-invoice-theme-reference .gbs-ref-summary{margin-top:59px}
.gbs-invoice-theme-reference .gbs-ref-line-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.gbs-invoice-theme-reference .gbs-ref-line-table th{padding:0 0 11px;border:0;border-bottom:2px solid #e2e9e4;background:#fff;color:#5b6b62;font-size:13px;line-height:1.3;text-align:left;font-weight:800;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-line-table td{padding:14px 0 13px;border:0;border-bottom:1px solid #e2e9e4;background:#fff;color:#0e1a14;font-size:15px;line-height:1.35;text-align:left}
.gbs-invoice-theme-reference .gbs-ref-line-table th:not(:first-child),.gbs-invoice-theme-reference .gbs-ref-line-table td:not(:first-child){text-align:right;padding-left:12px;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-totals{width:44%;min-width:340px;margin:18px 0 0 auto}
.gbs-invoice-theme-reference .gbs-ref-totals>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #e2e9e4;color:#5b6b62;font-size:15px;line-height:1.35}
.gbs-invoice-theme-reference .gbs-ref-totals strong{color:#0e1a14;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-balance{color:#0e1a14;font-weight:700}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total{margin-top:0;padding-top:12px;border-top:2px solid var(--invoice-accent);border-bottom:0;color:#0e1a14;font-size:19px;font-weight:800}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total strong{color:var(--invoice-accent);font-size:19px;font-weight:800}
.gbs-invoice-theme-reference .gbs-ref-payment-note{margin:38px 0 0;color:#0e1a14;font-size:15px;line-height:1.45}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:52px;padding-top:19px;border-top:1px solid #e2e9e4;color:#5b6b62;font-size:12px;line-height:1.4}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer span:last-child{text-align:right}
@media(max-width:700px){.gbs-invoice-theme-reference .gbs-ref-invoice-paper{min-height:0;padding:20px 14px}.gbs-invoice-theme-reference .gbs-ref-invoice-header{gap:12px;flex-direction:column}.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{text-align:left;white-space:normal;font-size:20px}.gbs-invoice-theme-reference .gbs-ref-invoice-parties{grid-template-columns:1fr;gap:18px}.gbs-invoice-theme-reference .gbs-ref-invoice-meta{max-width:360px}.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gbs-invoice-theme-reference .gbs-ref-summary{margin-top:35px}.gbs-invoice-theme-reference .gbs-ref-line-table{font-size:10px}.gbs-invoice-theme-reference .gbs-ref-line-table th{font-size:9px;white-space:normal}.gbs-invoice-theme-reference .gbs-ref-line-table td{font-size:10px}.gbs-invoice-theme-reference .gbs-ref-totals{width:100%;min-width:0}.gbs-invoice-theme-reference .gbs-ref-invoice-footer{align-items:flex-start;flex-direction:column}.gbs-invoice-theme-reference .gbs-ref-invoice-footer span:last-child{text-align:left}}
@media print{@page{size:A4;margin:12mm}.gbs-invoice-theme-reference .gbs-ref-invoice-paper{width:auto;max-width:none;min-height:0;margin:0;padding:0;background:#fff;box-shadow:none}.gbs-invoice-theme-reference .gbs-ref-invoice-header,.gbs-invoice-theme-reference .gbs-ref-invoice-parties,.gbs-invoice-theme-reference .gbs-ref-meter-section,.gbs-invoice-theme-reference .gbs-ref-summary,.gbs-invoice-theme-reference .gbs-ref-totals,.gbs-invoice-theme-reference .gbs-ref-payment-note,.gbs-invoice-theme-reference .gbs-ref-invoice-footer{break-inside:avoid}.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{white-space:nowrap}}

/* Keep the bulk-billing date highlight aligned after adding the Super Admin-only charge column. */
.gbs-billing-table-super-admin th:nth-child(8){background:#f4f7f5}.gbs-billing-table-super-admin td:nth-child(8){background:inherit}.gbs-billing-table-super-admin th:nth-child(9),.gbs-billing-table-super-admin td:nth-child(9){background:#fffaf0}.gbs-billing-table-super-admin td:nth-child(9) input{min-width:130px}
/* Fine spacing to keep the reference invoice compact on a single A4 page. */
.gbs-invoice-theme-reference .gbs-ref-invoice-header{padding-bottom:20px}
.gbs-invoice-theme-reference .gbs-ref-issuer{flex:1 1 auto;min-width:370px}
.gbs-invoice-theme-reference .gbs-ref-issuer-text{min-width:0}
.gbs-invoice-theme-reference .gbs-ref-issuer-text h1,.gbs-invoice-theme-reference .gbs-ref-issuer-text p{white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{flex:0 0 auto;font-size:22px}
.gbs-invoice-theme-reference .gbs-ref-invoice-parties{grid-template-columns:minmax(0,1fr) 265px;padding-top:28px;gap:26px}
.gbs-invoice-theme-reference .gbs-ref-bill-to h3{font-size:17px;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-meter-section{margin-top:30px}
.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:1.2fr 1.35fr .9fr 1.15fr .95fr;gap:10px}
.gbs-invoice-theme-reference .gbs-ref-meter-grid>div:first-child strong{white-space:nowrap;font-size:14px}
.gbs-invoice-theme-reference .gbs-ref-summary{margin-top:45px}
.gbs-invoice-theme-reference .gbs-ref-totals{margin-top:12px}
.gbs-invoice-theme-reference .gbs-ref-payment-note{margin-top:26px}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{margin-top:35px}
@media print{.gbs-invoice-theme-reference .gbs-ref-issuer{min-width:370px}}

/* v1.4.2: exact source-PDF reference invoice colours and print dimensions. */
.gbs-invoice-theme-reference .gbs-ref-invoice-paper{color:#0e1a14}
.gbs-invoice-theme-reference .gbs-ref-invoice-header{border-bottom-color:#12884A}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total{border-top-color:#12884A}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total strong{color:#12884A}
@media print{@page{size:A4;margin:12mm}body.gbs-app-body{background:#fff!important}.gbs-public-invoice.gbs-invoice-theme-reference{padding:0!important;margin:0!important;background:#fff!important}.gbs-invoice-theme-reference .gbs-ref-invoice-paper{min-height:0!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.gbs-invoice-theme-reference .gbs-ref-invoice-header,.gbs-invoice-theme-reference .gbs-ref-invoice-parties,.gbs-invoice-theme-reference .gbs-ref-meter-section,.gbs-invoice-theme-reference .gbs-ref-summary,.gbs-invoice-theme-reference .gbs-ref-totals,.gbs-invoice-theme-reference .gbs-ref-payment-note,.gbs-invoice-theme-reference .gbs-ref-invoice-footer{break-inside:avoid;page-break-inside:avoid}}
/* v1.4.2: measured spacing and alignment from the original supplied A4 invoice. */
.gbs-invoice-theme-reference .gbs-ref-invoice-header{padding-bottom:10px}
.gbs-invoice-theme-reference .gbs-ref-issuer{gap:12px}
.gbs-invoice-theme-reference .gbs-ref-logo,.gbs-invoice-theme-reference .gbs-ref-monogram{flex-basis:60px;width:60px}
.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{font-size:20px}
.gbs-invoice-theme-reference .gbs-ref-invoice-parties{padding-top:23px}
.gbs-invoice-theme-reference .gbs-ref-meter-section{margin-top:27px;padding-left:16px}
.gbs-invoice-theme-reference .gbs-ref-meter-section>h3{margin-bottom:5px}
.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:1fr 1.55fr .68fr 1.1fr .9fr}
.gbs-invoice-theme-reference .gbs-ref-summary{margin-top:43px}
.gbs-invoice-theme-reference .gbs-ref-totals{margin-top:0}
.gbs-invoice-theme-reference .gbs-ref-totals>div{padding:4px 0}
@media print{@page{size:A4;margin:9mm 10mm 12mm}}

/* v1.4.2: table columns and totals block measured from the supplied invoice. */
.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{font-size:21px}
.gbs-invoice-theme-reference .gbs-ref-monogram{position:relative;top:3px;left:1px}
.gbs-invoice-theme-reference .gbs-ref-totals{width:44.6%;min-width:0}
.gbs-invoice-theme-reference .gbs-ref-line-table td{padding-top:6px}
.gbs-invoice-theme-reference .gbs-ref-totals{margin-top:12px}
.gbs-invoice-theme-reference .gbs-ref-payment-note{margin-top:20px}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{margin-top:36px}

/* v1.4.2 final reference-PDF alignment refinements. */
.gbs-invoice-theme-reference .gbs-ref-invoice-header>h2{position:relative;top:6px;font-size:20.5px}
.gbs-invoice-theme-reference .gbs-ref-monogram{top:5.5px}
.gbs-invoice-theme-reference .gbs-ref-totals{margin-top:15px}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{padding-top:14px}
.gbs-invoice-theme-reference .gbs-ref-powered-brand{color:#12884A;font-weight:700}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{margin-top:40px}

/* v1.4.4: invoice metadata includes meter number; optional issue date and meter number can be shown in the footer. */
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer>span:last-child{text-align:right}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer .gbs-ref-footer-optional{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 14px;text-align:center;color:#5b6b62;font-size:11px}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer .gbs-ref-footer-optional:empty{display:none}
.gbs-invoice-theme-reference .gbs-ref-invoice-footer .gbs-ref-footer-optional span{white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.gbs-invoice-theme-reference .gbs-ref-invoice-footer{display:flex;align-items:flex-start;flex-direction:column}.gbs-invoice-theme-reference .gbs-ref-invoice-footer .gbs-ref-footer-optional{justify-content:flex-start;text-align:left}.gbs-invoice-theme-reference .gbs-ref-invoice-footer>span:last-child{text-align:left}}
@media(max-width:700px){.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.4.5: match the newest supplied invoice sample and support the adjustable logo size. */
.gbs-invoice-theme-reference .gbs-ref-issuer{align-items:center;gap:14px}
.gbs-invoice-theme-reference .gbs-ref-logo{object-fit:contain;object-position:left center;max-height:120px}
.gbs-invoice-theme-reference .gbs-ref-invoice-parties{grid-template-columns:minmax(0,1fr) 290px;gap:24px}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta{gap:3px}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta>div{display:grid;grid-template-columns:122px 10px minmax(0,1fr);gap:0;align-items:baseline;font-size:14px;line-height:1.4}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta span{color:#5b6b62;text-align:left;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta b{color:#5b6b62;font-weight:400;text-align:center}
.gbs-invoice-theme-reference .gbs-ref-invoice-meta strong{color:#0e1a14;text-align:left;font-weight:700;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-bill-to .gbs-ref-project-flat{margin:0 0 3px;font-weight:400;color:#1b2a22}
.gbs-invoice-theme-reference .gbs-ref-bill-to .gbs-ref-customer-address{margin:0;line-height:1.38;color:#1b2a22}
.gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gbs-invoice-theme-reference .gbs-ref-summary{margin-top:43px}
.gbs-invoice-theme-reference .gbs-ref-line-table colgroup col:first-child{width:44%}
.gbs-invoice-theme-reference .gbs-ref-line-table colgroup col:nth-child(2){width:18%}
.gbs-invoice-theme-reference .gbs-ref-line-table colgroup col:nth-child(3){width:19%}
.gbs-invoice-theme-reference .gbs-ref-line-table colgroup col:nth-child(4){width:19%}
.gbs-invoice-theme-reference .gbs-ref-totals{width:46%;min-width:0;margin:12px 0 0 auto}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-service-charge{display:flex;justify-content:space-between;gap:20px;padding:11px 0 8px;border-bottom:2px solid var(--invoice-accent);color:#5b6b62;font-size:15px;line-height:1.35}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-service-charge strong{color:#0e1a14;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total{margin-top:0;padding-top:10px;border-top:0;border-bottom:0}
.gbs-invoice-theme-reference .gbs-ref-totals.gbs-ref-no-service-charge .gbs-ref-grand-total{border-top:2px solid var(--invoice-accent)}
@media(max-width:700px){
 .gbs-invoice-theme-reference .gbs-ref-invoice-parties{grid-template-columns:1fr;gap:18px}
 .gbs-invoice-theme-reference .gbs-ref-invoice-meta{max-width:340px}
 .gbs-invoice-theme-reference .gbs-ref-invoice-meta>div{grid-template-columns:122px 10px minmax(0,1fr)}
 .gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gbs-invoice-theme-reference .gbs-ref-totals{width:100%}
}
@media print{
 .gbs-invoice-theme-reference .gbs-ref-invoice-meta>div{grid-template-columns:122px 10px minmax(0,1fr)}
 .gbs-invoice-theme-reference .gbs-ref-invoice-parties{grid-template-columns:minmax(0,1fr) 290px}
 .gbs-invoice-theme-reference .gbs-ref-meter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* v1.4.7: compact Settings tabs keep PDF, API, SMS and Email controls separate. */
.gbs-settings-root{min-width:0}
.gbs-settings-tabbar{display:flex;align-items:center;gap:6px;padding:5px;background:#f2f6f3;border:1px solid #e2ebe4;border-radius:11px;overflow-x:auto;scrollbar-width:thin}
.gbs-settings-tab{appearance:none;border:1px solid transparent;background:transparent;color:#52645a;border-radius:8px;min-height:38px;padding:8px 13px;font:inherit;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer}
.gbs-settings-tab:hover{background:#e8f1eb;color:#1e5134}
.gbs-settings-tab.is-active{background:#fff;color:#087b3e;border-color:#dce8df;box-shadow:0 1px 3px rgba(12,45,24,.07)}
.gbs-settings-tab:focus-visible{outline:2px solid #16834a;outline-offset:2px}
.gbs-settings-tab-panel{grid-column:1/-1;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px;padding:17px 0 8px}
.gbs-settings-tab-panel[hidden],.gbs-settings-root>[data-gbs-settings-extra][hidden]{display:none!important}
.gbs-settings-tab-panel>.gbs-form-grid{grid-column:1/-1}
.gbs-settings-tab-panel>.gbs-alert{grid-column:1/-1}
.gbs-settings-tab-panel>.gbs-sms-provider-card{grid-column:1/-1}
.gbs-settings-root>[data-gbs-settings-extra]{margin-top:14px}
.gbs-settings-root .gbs-form-actions{padding-top:8px;border-top:1px solid #e8eee9}
.gbs-paid-receipt-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 0;padding:9px 12px;border:1px solid #b9dfc4;background:#f0faf3;color:#176c38;font-size:12px}
.gbs-paid-receipt-status strong{font-size:13px;letter-spacing:.04em}
.gbs-paid-receipt-status span{color:#496b55;text-align:right}
.gbs-paid-receipt .gbs-ref-issuer{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 auto}
.gbs-paid-receipt .gbs-ref-issuer-text{min-width:0}
.gbs-paid-receipt .gbs-ref-issuer-text h1{font-size:17px;line-height:1.2;margin:0 0 4px;color:#17251d}
.gbs-paid-receipt .gbs-ref-issuer-text p{font-size:10px;line-height:1.35;margin:2px 0;color:#52645a}
.gbs-paid-receipt .gbs-ref-invoice-header>h2{max-width:235px;white-space:normal;text-align:right}
.gbs-paid-receipt .gbs-paid-receipt-amount,.gbs-paid-receipt .gbs-paid-receipt-due{display:flex;justify-content:space-between;gap:18px;padding:5px 0;border-bottom:1px solid #e2e9e4;color:#42534a;font-size:13px}
.gbs-paid-receipt .gbs-paid-receipt-amount strong{font-weight:700;color:#17251d;white-space:nowrap}
.gbs-paid-receipt .gbs-paid-receipt-due{border:0;color:#176c38;font-weight:800}
.gbs-paid-receipt .gbs-paid-receipt-due strong{color:#176c38;white-space:nowrap}
.gbs-paid-receipt-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 24px;margin:17px 0 0;padding:12px 14px;border-top:1px solid #e2e9e4;border-bottom:1px solid #e2e9e4;font-size:11px}
.gbs-paid-receipt-details>div{display:flex;justify-content:space-between;gap:10px;min-width:0}
.gbs-paid-receipt-details span{color:#64746b}
.gbs-paid-receipt-details strong{text-align:right;color:#1d2d23;overflow-wrap:anywhere}
.gbs-paid-receipt-details .gbs-paid-receipt-wide{grid-column:1/-1}
.gbs-paid-receipt .gbs-ref-invoice-footer{margin-top:24px}
@media(max-width:700px){.gbs-settings-tabbar{margin-bottom:4px}.gbs-settings-tab{padding:8px 10px}.gbs-settings-tab-panel{grid-template-columns:1fr}.gbs-settings-tab-panel>.gbs-form-section,.gbs-settings-tab-panel>.gbs-full-field,.gbs-settings-tab-panel>.gbs-form-grid,.gbs-settings-tab-panel>.gbs-alert{grid-column:1}.gbs-paid-receipt-status{align-items:flex-start;flex-direction:column}.gbs-paid-receipt-status span{text-align:left}.gbs-paid-receipt-details{grid-template-columns:1fr}.gbs-paid-receipt-details .gbs-paid-receipt-wide{grid-column:1}.gbs-paid-receipt .gbs-ref-invoice-header>h2{text-align:left;max-width:none}}
@media print{.gbs-paid-receipt .gbs-invoice-toolbar{display:none!important}.gbs-paid-receipt-status,.gbs-paid-receipt-details,.gbs-paid-receipt .gbs-ref-totals{break-inside:avoid;page-break-inside:avoid}.gbs-paid-receipt .gbs-ref-invoice-footer{margin-top:20px}}

.gbs-settings-feedback{margin:0 0 16px!important;font-weight:600}
.gbs-settings-feedback[hidden]{display:none!important}


/* v1.5.2: mobile short-link view is compact; printed/downloaded A4 documents are unchanged. */
.gbs-invoice-toolbar-bottom{display:flex;justify-content:center;align-items:center;max-width:920px;margin:12px auto 24px;padding:10px}
.gbs-invoice-toolbar-bottom .gbs-btn{min-width:190px;justify-content:center}
@media screen and (max-width:700px){
  .gbs-mobile-short-view{padding:0 0 76px!important;margin:0!important;background:#fff!important}
  .gbs-mobile-short-view .gbs-ref-invoice-paper{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:7px 9px 9px!important;font-size:9px!important;line-height:1.16!important;box-shadow:none!important;border:0!important}
  .gbs-mobile-short-view .gbs-ref-logo,.gbs-mobile-short-view .gbs-ref-monogram{display:none!important}
  .gbs-mobile-short-view .gbs-ref-invoice-header{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;padding:0 0 5px!important;margin:0!important;border-bottom-width:1px!important}
  .gbs-mobile-short-view .gbs-ref-issuer{display:flex!important;flex:1 1 48%!important;min-width:0!important;gap:0!important;align-items:flex-start!important}
  .gbs-mobile-short-view .gbs-ref-issuer-text{min-width:0!important}
  .gbs-mobile-short-view .gbs-ref-issuer-text h1{margin:0 0 2px!important;font-size:10px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .gbs-mobile-short-view .gbs-ref-issuer-text p{margin:1px 0!important;font-size:7.5px!important;line-height:1.12!important;overflow-wrap:anywhere!important}
  .gbs-mobile-short-view .gbs-ref-invoice-header>h2{flex:1 1 48%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:right!important;white-space:normal!important;font-size:13px!important;line-height:1.15!important}
  .gbs-mobile-short-view .gbs-ref-invoice-parties{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:6px!important;padding:6px 0 0!important;align-items:start!important}
  .gbs-mobile-short-view .gbs-ref-bill-to>small{margin:0 0 2px!important;font-size:8.5px!important;line-height:1.1!important}
  .gbs-mobile-short-view .gbs-ref-bill-to h3{margin:0 0 2px!important;font-size:12px!important;line-height:1.15!important;white-space:normal!important}
  .gbs-mobile-short-view .gbs-ref-bill-to p{margin:1px 0!important;font-size:9px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta{display:grid!important;max-width:none!important;gap:1px!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta>div{display:grid!important;grid-template-columns:minmax(0,67px) 5px minmax(0,1fr)!important;gap:1px!important;align-items:baseline!important;font-size:9px!important;line-height:1.14!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta span{text-align:left!important;font-size:8.5px!important;white-space:normal!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta b{text-align:center!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta strong{text-align:left!important;font-size:9px!important;line-height:1.12!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .gbs-mobile-short-view .gbs-ref-meter-section{margin-top:7px!important}
  .gbs-mobile-short-view .gbs-ref-meter-section>h3{margin:0 0 3px!important;font-size:9.5px!important;line-height:1.1!important}
  .gbs-mobile-short-view .gbs-ref-meter-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}
  .gbs-mobile-short-view .gbs-ref-meter-grid span{margin:0 0 1px!important;font-size:8px!important;line-height:1.1!important}
  .gbs-mobile-short-view .gbs-ref-meter-grid strong{font-size:9px!important;line-height:1.12!important;overflow-wrap:anywhere!important}
  .gbs-mobile-short-view .gbs-ref-summary{margin-top:8px!important}
  .gbs-mobile-short-view .gbs-ref-line-table{font-size:8px!important}
  .gbs-mobile-short-view .gbs-ref-line-table th{padding:0 2px 3px!important;font-size:8.5px!important;line-height:1.1!important;white-space:normal!important}
  .gbs-mobile-short-view .gbs-ref-line-table td{padding:4px 2px!important;font-size:9px!important;line-height:1.12!important;white-space:normal!important}
  .gbs-mobile-short-view .gbs-ref-line-table th:not(:first-child),.gbs-mobile-short-view .gbs-ref-line-table td:not(:first-child){padding-left:2px!important;white-space:normal!important}
  .gbs-mobile-short-view .gbs-ref-totals{width:100%!important;min-width:0!important;margin:5px 0 0!important}
  .gbs-mobile-short-view .gbs-ref-totals>div{gap:6px!important;padding:3px 0!important;font-size:9.5px!important;line-height:1.15!important}
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-grand-total{padding-top:5px!important;font-size:13px!important}
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-grand-total strong{font-size:13px!important}
  .gbs-mobile-short-view .gbs-ref-payment-note{margin:6px 0 0!important;font-size:9px!important;line-height:1.15!important}
  .gbs-mobile-short-view .gbs-ref-invoice-footer{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;margin-top:7px!important;padding-top:4px!important;font-size:7.5px!important;line-height:1.1!important}
  .gbs-mobile-short-view .gbs-ref-invoice-footer span:last-child{text-align:right!important}
  .gbs-mobile-short-view .gbs-paid-receipt-status{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;margin:5px 0 0!important;padding:4px 6px!important;font-size:7.5px!important}
  .gbs-mobile-short-view .gbs-paid-receipt-status strong{font-size:8px!important}
  .gbs-mobile-short-view .gbs-paid-receipt-status span{text-align:right!important;font-size:7px!important}
  .gbs-mobile-short-view .gbs-paid-receipt .gbs-ref-invoice-header>h2{font-size:12px!important;text-align:right!important}
  .gbs-mobile-short-view .gbs-paid-receipt-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px 6px!important;margin:6px 0 0!important;padding:5px 6px!important;font-size:8px!important}
  .gbs-mobile-short-view .gbs-paid-receipt-details>div{gap:3px!important;flex-direction:column!important}
  .gbs-mobile-short-view .gbs-paid-receipt-details strong{text-align:left!important;font-size:8.5px!important;line-height:1.12!important}
  .gbs-mobile-short-view .gbs-paid-receipt-details .gbs-paid-receipt-wide{grid-column:1/-1!important}
  .gbs-mobile-short-view .gbs-invoice-toolbar-bottom{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9999!important;max-width:none!important;margin:0!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #dce7df!important;box-shadow:0 -3px 12px rgba(15,40,25,.08)!important}
  .gbs-mobile-short-view .gbs-invoice-toolbar-bottom .gbs-btn{width:100%!important;min-height:38px!important;font-size:13px!important}
}
@media print{
  .gbs-invoice-toolbar-bottom{display:none!important}
  .gbs-invoice-theme-reference .gbs-ref-logo,.gbs-invoice-theme-reference .gbs-ref-monogram{display:flex!important}
}

.gbs-bulk-payment-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin:0 0 14px;padding:13px;border:1px solid #e0e9e3;border-radius:10px;background:#f8fbf9}
.gbs-bulk-payment-form .gbs-bulk-payment-summary{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;border-bottom:1px solid #e5eee8}
.gbs-bulk-payment-form .gbs-bulk-payment-summary strong{font-size:13px;color:#173d29}
.gbs-bulk-payment-form .gbs-bulk-payment-summary span{font-size:14px;font-weight:800;color:#12884a}
.gbs-bulk-payment-form label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#42554a}
.gbs-bulk-payment-form input,.gbs-bulk-payment-form select{width:100%;min-height:36px}
.gbs-bulk-payment-form>button{min-height:36px;align-self:end}
.gbs-bulk-payment-form>small,.gbs-bulk-payment-feedback{grid-column:1/-1;color:#64746b;font-size:10px}
.gbs-bulk-payment-feedback.is-success{color:#13743b;font-weight:700}
.gbs-bulk-payment-feedback.is-error{color:#b42318;font-weight:700}
@media(max-width:700px){.gbs-bulk-payment-form{grid-template-columns:1fr}.gbs-bulk-payment-form .gbs-bulk-payment-summary,.gbs-bulk-payment-form>small,.gbs-bulk-payment-feedback{grid-column:1}}


/* v1.5.4: consistent invoice typography, compact mobile logo and configurable paid seal. */
.gbs-invoice-theme-reference .gbs-ref-invoice-meta span,
.gbs-invoice-theme-reference .gbs-ref-invoice-meta b,
.gbs-invoice-theme-reference .gbs-ref-invoice-meta strong{font-weight:400!important}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-service-charge{padding:4px 0!important;font-size:12px!important;line-height:1.25!important;font-weight:400!important;color:#65736b!important}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-service-charge span,
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-service-charge strong{font-size:12px!important;line-height:1.25!important;font-weight:400!important;color:#65736b!important}
.gbs-invoice-theme-reference .gbs-ref-line-table thead th{font-weight:800!important}
.gbs-invoice-theme-reference .gbs-ref-line-table tbody td{font-weight:700!important}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total,
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total span,
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-ref-grand-total strong{font-weight:800!important}
.gbs-invoice-theme-reference .gbs-ref-invoice-paper{position:relative}
.gbs-paid-stamp{position:absolute;z-index:6;left:50%;top:53%;transform:translate(-50%,-50%) rotate(var(--gbs-stamp-rotation,-13deg));max-width:82%;pointer-events:none;opacity:var(--gbs-stamp-opacity,.18);color:var(--gbs-stamp-color,#168348);mix-blend-mode:multiply;white-space:nowrap}
.gbs-paid-stamp-frame{position:relative;box-sizing:border-box;width:var(--gbs-stamp-width,340px);min-width:0;max-width:100%;padding:8px 18px 7px;border:3px solid currentColor;border-radius:9px;outline:1px solid currentColor;outline-offset:4px;text-align:center;background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px currentColor}
.gbs-paid-stamp-frame:before,.gbs-paid-stamp-frame:after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);font-size:13px;line-height:1}
.gbs-paid-stamp-frame:before{left:7px}.gbs-paid-stamp-frame:after{right:7px}
.gbs-paid-stamp-kicker,.gbs-paid-stamp-subtext{display:block;font-size:8px;font-weight:800;letter-spacing:.20em;line-height:1.25;text-transform:uppercase}
.gbs-paid-stamp-title{display:block;margin:3px 0 4px;font-size:var(--gbs-stamp-size,34px);font-weight:900;letter-spacing:.10em;line-height:1.02;text-transform:uppercase}
.gbs-paid-stamp-subtext{border-top:1px solid currentColor;padding-top:4px;font-size:7px;letter-spacing:.16em}
.gbs-stamp-preview-wrap{display:grid;gap:8px;padding:12px;border:1px solid #e1e9e4;border-radius:10px;background:#f8fbf9}
.gbs-paid-stamp-preview{display:flex;align-items:center;justify-content:center;min-height:106px;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f5faf6 100%);border:1px dashed #cbd9cf;border-radius:8px;color:var(--gbs-stamp-color,#168348);opacity:1}
.gbs-paid-stamp-preview .gbs-paid-stamp-frame{transform:rotate(var(--gbs-stamp-rotation,-13deg));opacity:var(--gbs-stamp-opacity,.18)}
.gbs-pdf-download-feedback{display:block;min-height:14px;color:#547062;font-size:10px;text-align:center}
.gbs-invoice-toolbar-bottom{flex-wrap:wrap}
@media screen and (max-width:700px){
  .gbs-mobile-short-view .gbs-ref-logo,.gbs-mobile-short-view .gbs-ref-monogram{display:flex!important;visibility:visible!important;width:var(--gbs-mobile-logo-width,58px)!important;height:var(--gbs-mobile-logo-height,42px)!important;max-width:var(--gbs-mobile-logo-width,58px)!important;flex:0 0 var(--gbs-mobile-logo-width,58px)!important;object-fit:contain!important;font-size:13px!important}
  .gbs-mobile-short-view .gbs-ref-issuer{gap:5px!important;align-items:center!important;flex:1 1 50%!important}
  .gbs-mobile-short-view .gbs-ref-issuer-text h1{font-size:9px!important}
  .gbs-mobile-short-view .gbs-ref-issuer-text p{font-size:7px!important}
  .gbs-mobile-short-view .gbs-ref-invoice-meta span,.gbs-mobile-short-view .gbs-ref-invoice-meta b,.gbs-mobile-short-view .gbs-ref-invoice-meta strong{font-weight:400!important}
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-service-charge,
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-service-charge span,
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-service-charge strong{font-size:8px!important;font-weight:400!important;line-height:1.1!important}
  .gbs-mobile-short-view .gbs-ref-line-table thead th{font-weight:800!important}
  .gbs-mobile-short-view .gbs-ref-line-table tbody td{font-weight:700!important}
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-grand-total,
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-grand-total span,
  .gbs-mobile-short-view .gbs-ref-totals .gbs-ref-grand-total strong{font-weight:800!important}
  .gbs-mobile-short-view .gbs-paid-stamp{top:52%;max-width:75%}
  .gbs-mobile-short-view .gbs-paid-stamp-frame{width:var(--gbs-stamp-width,210px);min-width:0;padding:5px 12px 4px;border-width:2px;outline-offset:2px}
  .gbs-mobile-short-view .gbs-paid-stamp-title{font-size:18px!important}
  .gbs-mobile-short-view .gbs-paid-stamp-kicker{font-size:5px!important}
  .gbs-mobile-short-view .gbs-paid-stamp-subtext{font-size:4.5px!important}
  .gbs-pdf-download-feedback{font-size:9px}
}
@media print{
  .gbs-invoice-toolbar,.gbs-invoice-toolbar-bottom{display:none!important}
  .gbs-paid-stamp{display:block!important;visibility:visible!important}
  .gbs-mobile-short-view .gbs-ref-logo,.gbs-mobile-short-view .gbs-ref-monogram{display:flex!important}
}

/* Paid seal is a foreground overlay. Its full frame remains inside the A4 page. */
.gbs-invoice-theme-reference .gbs-ref-invoice-paper{isolation:isolate;overflow:visible!important}
.gbs-invoice-theme-reference .gbs-paid-stamp{z-index:20!important;opacity:var(--gbs-stamp-opacity,.24)!important;max-width:92%;}
.gbs-invoice-theme-reference .gbs-ref-invoice-header,
.gbs-invoice-theme-reference .gbs-paid-receipt-status,
.gbs-invoice-theme-reference .gbs-ref-invoice-parties,
.gbs-invoice-theme-reference .gbs-ref-meter-section,
.gbs-invoice-theme-reference .gbs-ref-summary,
.gbs-invoice-theme-reference .gbs-ref-totals,
.gbs-invoice-theme-reference .gbs-paid-receipt-details,
.gbs-invoice-theme-reference .gbs-ref-invoice-footer{position:relative;z-index:1}

/* Fully settled receipt: show one clear final paid amount instead of the intermediate payment breakdown. */
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-paid-receipt-final-paid{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:0;padding:12px 0 10px;border-top:2px solid var(--invoice-accent,#12884A);border-bottom:0;color:#0e1a14;font-size:19px;font-weight:800;line-height:1.3}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-paid-receipt-final-paid span{font-weight:800}
.gbs-invoice-theme-reference .gbs-ref-totals .gbs-paid-receipt-final-paid strong{color:var(--invoice-accent,#12884A);font-size:19px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:700px){.gbs-mobile-short-view .gbs-ref-totals .gbs-paid-receipt-final-paid{gap:8px;padding:5px 0 4px;font-size:13px;line-height:1.2}.gbs-mobile-short-view .gbs-ref-totals .gbs-paid-receipt-final-paid span,.gbs-mobile-short-view .gbs-ref-totals .gbs-paid-receipt-final-paid strong{font-size:13px;font-weight:800}}
