.dram-saas-auth{max-width:460px;margin:65px auto;padding:35px;background:#e0f2ff;border-radius:12px;color:#0b203a}.dram-saas-auth h1{font-size:29px;margin:0 0 15px}.dram-saas-auth label,.dram-saas-form label{display:block;font-weight:600;margin:15px 0}.dram-saas-auth input:not([type=checkbox]),.dram-saas-form input:not([type=checkbox]),.dram-saas-form select,.dram-saas-form textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #b8ccdc;border-radius:7px;background:#fff}.dram-saas-auth button,.dram-saas-form button,.dram-saas-btn{display:inline-block;background:#0757f9;color:#fff!important;border:0;border-radius:22px;padding:11px 24px;text-decoration:none;cursor:pointer}.dram-saas-auth button{width:100%}.dram-saas-error{color:#a11d29}.dram-saas-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:75vh;font-family:Arial,sans-serif;color:#10233b;background:white}.dram-saas-layout aside{border-right:1px solid #d7e3ee;padding:25px 15px}.dram-saas-layout aside h2{font-size:20px}.dram-saas-layout aside a{display:block;padding:12px;color:#1253ac;text-decoration:none;border-radius:8px}.dram-saas-layout aside a:hover{background:#e7f5ff}.dram-saas-layout main{padding:30px;overflow:auto}.dram-saas-layout main h1{font-size:28px}.dram-saas-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.dram-saas-stats div{border:1px solid #d6e3ed;padding:22px;border-radius:8px}.dram-saas-stats span,.dram-saas-stats strong{display:block}.dram-saas-stats strong{font-size:23px;margin-top:8px}.dram-saas-layout table{width:100%;border-collapse:collapse;margin-top:24px}.dram-saas-layout th,.dram-saas-layout td{padding:12px;border-bottom:1px solid #e3eaf1;text-align:left}.dram-saas-form{max-width:680px}.dram-saas-form button{margin-top:12px}@media(max-width:720px){.dram-saas-layout{grid-template-columns:1fr}.dram-saas-layout aside{border-right:0;border-bottom:1px solid #d7e3ee}.dram-saas-stats{grid-template-columns:1fr}}

/* V2.1.0: shared frontend forms */
.dram-saas-layout{grid-template-columns:230px minmax(0,1fr);max-width:none}.dram-saas-layout main{padding:30px clamp(18px,4vw,64px);min-width:0;background:#fafcfe}.dram-saas-layout main>h1{max-width:1060px;margin:0 auto 22px;font-size:30px;font-weight:700;color:#10243c}.dram-pro-form{max-width:1060px;margin:0 auto}.dram-form-card{background:#fff;border:1px solid #d8e4ed;border-radius:10px;padding:24px;margin-bottom:20px;box-shadow:0 2px 10px rgba(15,37,65,.035)}.dram-form-card h2{font-size:18px!important;font-weight:700;margin:0 0 14px;color:#10243c}.dram-muted{color:#64768a;margin:0 0 15px}.dram-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.dram-pro-form label{font-size:14px;color:#263c52;font-weight:600;margin:0;display:block}.dram-pro-form input:not([type=checkbox]),.dram-pro-form select,.dram-pro-form textarea{margin-top:8px;font-size:15px;padding:12px;border:1px solid #bdd2e4;border-radius:7px;min-height:44px;width:100%;background:#fff}.dram-pro-form textarea{min-height:90px;resize:vertical}.dram-full{grid-column:1/-1}.dram-business-details summary{cursor:pointer;font-weight:700;color:#123452}.dram-business-content{padding-top:18px;color:#40546b}.dram-invoice-head{grid-template-columns:1.15fr 1fr;gap:35px}.dram-invoice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dram-inline-link{display:inline-block;margin-top:14px;color:#0757f9;font-weight:600}.dram-tax-toggles{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.dram-tax-toggles label{display:flex;align-items:center;gap:8px}.dram-tax-toggles input{width:auto!important;min-height:auto!important;margin:0!important}.dram-invoice-totals{margin:22px 0 0 auto;max-width:340px}.dram-invoice-totals>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.dram-invoice-totals .dram-total-row{border-top:1px solid #cbdbe8;margin-top:5px;font-size:19px;color:#0e2b4b}.dram-form-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-bottom:24px}.dram-form-actions button{margin:0}.dram-outline-btn{padding:10px 24px;border:1px solid #0757f9;border-radius:24px;color:#0757f9;text-decoration:none}.dram-saas-layout aside{background:#fff}.dram-saas-layout aside a{font-size:14px}@media(max-width:780px){.dram-form-grid,.dram-invoice-head,.dram-invoice-fields{grid-template-columns:1fr}.dram-form-card{padding:16px}.dram-saas-layout main{padding:18px}.dram-saas-layout main>h1{font-size:25px}}

/* V2.4.0 tenant dashboards and filters */
.dram-v24-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.dram-v24-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;min-width:0}.dram-v24-kpis small{display:block;color:#64748b;margin-bottom:10px}.dram-v24-kpis strong{font-size:21px;color:#15253b;overflow-wrap:anywhere}.dram-v24-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.dram-v24-card h2{margin:0 0 6px;font-size:19px}.dram-v24-card p{color:#64748b}.dram-v24-chart{height:230px;display:flex;align-items:stretch;gap:6px;border-bottom:1px solid #e2e8f0;margin-top:18px}.dram-v24-month{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0}.dram-v24-bars{flex:1;display:flex;align-items:end;justify-content:center;gap:3px;width:100%;min-height:0}.dram-v24-bars span{width:36%;display:block;border-radius:4px 4px 0 0;min-height:0}.dram-v24-income,.dram-v24-dot.blue{background:#2563eb}.dram-v24-expense,.dram-v24-dot.orange{background:#f59e0b}.dram-v24-month small{font-size:11px;margin-top:7px}.dram-v24-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-left:12px}.dram-v24-status>div{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #edf2f7}.dram-v24-hint{font-size:12px}.dram-v24-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:16px 0}.dram-v24-filters label{display:flex;flex-direction:column;gap:5px;font-size:13px;flex:1 1 145px}.dram-v24-filters input,.dram-v24-filters select{width:100%;min-width:0;box-sizing:border-box;padding:9px}.dram-v24-filters button{padding:10px 16px;cursor:pointer}.dram-v24-table{overflow-x:auto}.dram-v24-table table{width:100%;border-collapse:collapse;white-space:nowrap}.dram-v24-table th,.dram-v24-table td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}.dram-v24-pill{background:#eef2ff;border-radius:20px;padding:4px 9px}.dram-v24-pagination{padding:15px 0}.dram-v24-actions{margin:15px 0}@media(max-width:900px){.dram-v24-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dram-v24-grid{grid-template-columns:1fr}}@media(max-width:520px){.dram-v24-kpis{grid-template-columns:1fr 1fr}.dram-v24-kpis strong{font-size:15px}}
/* V2.5 reports */
.dram-v25-report,.dram-v25-summary{max-width:1200px;margin:auto}.dram-v25-subtitle,.dram-v25-note{color:#64748b;font-size:13px}.dram-v25-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#eaf2ff;border-radius:12px}.dram-v25-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px;margin:20px 0}.dram-v25-filter label{flex:1 1 175px;font-size:13px;font-weight:600;color:#334155}.dram-v25-filter input,.dram-v25-filter select{display:block;width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;margin-top:7px;box-sizing:border-box}.dram-v25-filter button{background:#155eef;border:0;color:white;padding:12px 22px;border-radius:8px;cursor:pointer}.dram-v25-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px auto;max-width:1200px}.dram-v25-kpis article,.dram-v25-panel{background:white;border:1px solid #e2e8f0;border-radius:14px;padding:22px;box-shadow:0 3px 14px #142d4908}.dram-v25-kpis span{display:block;font-size:13px;color:#64748b;margin-bottom:10px}.dram-v25-kpis strong{font-size:23px;color:#12263e;overflow-wrap:anywhere}.dram-v25-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.dram-v25-panel h2{font-size:19px;margin:0 0 8px}.dram-v25-cat{margin:18px 0}.dram-v25-cat>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:13px}.dram-v25-track{height:9px;background:#e8eef8;border-radius:8px;margin-top:8px;overflow:hidden}.dram-v25-track i{display:block;height:100%;background:#2666d8;border-radius:8px}.dram-v25-panel table{margin-top:10px}.dram-v25-panel td{text-align:right}.dram-v25-tax{display:flex;gap:32px;flex-wrap:wrap}@media(max-width:850px){.dram-v25-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dram-v25-report-grid{grid-template-columns:1fr}}@media(max-width:500px){.dram-v25-kpis{grid-template-columns:1fr}}
/* V2.6 professional invoice workspace */
.dram-saas-layout main{min-width:0}.dram-pro-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.dram-pro-head p{margin:0;color:#65758b}.dram-pro-primary,.dram-pro-filters button,.dram-pro-editor-foot button{background:#0756ee!important;color:white!important;border:0!important;border-radius:24px!important;padding:12px 20px!important;font-weight:700!important;text-decoration:none!important;cursor:pointer}.dram-pro-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #d9e3ee;border-radius:9px;padding:24px 16px;margin:0 0 30px;background:#fff}.dram-pro-stats>div{padding:0 14px;display:flex;flex-direction:column;gap:12px}.dram-pro-stats small{font-weight:700;color:#263c55;font-size:12px}.dram-pro-stats strong{font-size:21px;color:#172c4a;font-weight:500}.dram-pro-stats strong.dram-pro-red{color:#d62d39}.dram-pro-filters{display:grid;grid-template-columns:minmax(145px,2fr) minmax(110px,1fr) minmax(135px,1fr) minmax(135px,1fr) minmax(135px,1.4fr) auto auto;gap:8px;align-items:end;margin-bottom:22px}.dram-pro-filters label,.dram-pro-grid label{font-size:12px;font-weight:700;color:#41536b;display:flex;flex-direction:column;gap:5px}.dram-pro-filters input,.dram-pro-filters select,.dram-pro-grid input,.dram-pro-grid select,.dram-pro-grid textarea{box-sizing:border-box;width:100%;min-width:0;min-height:40px;border:1px solid #bfd0e3!important;border-radius:6px!important;background:#fff;padding:8px;color:#1c2f49;font-size:14px}.dram-pro-filters button{border-radius:6px!important;padding:11px 14px!important}.dram-pro-filters>a{font-size:13px;text-decoration:none;padding:10px}.dram-pro-tabs{display:flex;justify-content:center;gap:4px;border-bottom:1px solid #dce4ef;margin-bottom:14px}.dram-pro-tabs a{padding:10px 17px;background:#e5f3ff;text-decoration:none;color:#0b326a;font-weight:600;font-size:14px}.dram-pro-tabs a:first-child{border-radius:14px 0 0 14px}.dram-pro-tabs a:last-child{border-radius:0 14px 14px 0}.dram-pro-tabs a.active{background:#fff;box-shadow:0 1px 8px #aacbe1;border-radius:12px}.dram-pro-tabs span{border:1px solid #297adf;border-radius:30px;padding:1px 7px;font-size:12px}.dram-pro-tablewrap{overflow-x:auto}.dram-pro-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;color:#172c4a}.dram-pro-table th{text-align:left;border-bottom:2px solid #cddbe8;padding:14px 9px}.dram-pro-table td{padding:11px 9px;border-bottom:1px solid #dce6ee}.dram-pro-table a{color:#0756ee;font-weight:600;text-decoration:none}.dram-pro-status{display:inline-block;min-width:62px;text-align:center;border-radius:4px;padding:5px 9px;font-size:12px;font-weight:700}.dram-pro-status.overdue{background:#ffe2e6;color:#ba1731}.dram-pro-status.sent,.dram-pro-status.partial{background:#d9efff;color:#0751a0}.dram-pro-status.paid{background:#d8f5e3;color:#157c43}.dram-pro-status.draft{background:#e9edf2;color:#526278}.dram-pro-overdue .dram-pro-due{color:#d62037;font-weight:700}.dram-pro-menu{position:relative}.dram-pro-menu>summary{color:#0756ee;cursor:pointer;font-weight:700;list-style:none;border:1px solid #bad4ff;border-radius:25px;padding:7px 10px;width:max-content}.dram-pro-menu>div{position:relative;z-index:3;min-width:180px;background:#fff;border:1px solid #d8e5f0;border-radius:8px;padding:10px;box-shadow:0 6px 16px #233b5326;white-space:normal}.dram-pro-menu>div>a,.dram-pro-menu>div>form button,.dram-pro-pay>summary{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px;color:#0756ee;cursor:pointer;font-size:13px}.dram-pro-pay{border-top:1px solid #e6ebf1}.dram-pro-pay label{display:block;font-size:12px;margin:6px 0}.dram-pro-pay input{display:block;width:100%;padding:7px;border:1px solid #bacce0;border-radius:4px}.dram-pro-pay form button{background:#0756ee!important;color:white!important;border-radius:6px}.dram-pro-pagination{display:flex;justify-content:flex-end;gap:16px;margin:18px 0;color:#526278}.dram-pro-success{background:#e7f7ec;border:1px solid #addcbf;padding:12px 16px;border-radius:7px;margin:12px 0}.dram-pro-alert{background:#fff4d9;border:1px solid #e8c56c;padding:12px 16px;border-radius:7px;margin:12px 0}.dram-pro-editor{background:#fff;border:1px solid #dce6ee;border-radius:12px;padding:26px;margin-top:18px}.dram-pro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dram-pro-wide{grid-column:1/-1}.dram-pro-checks{display:flex;gap:20px;align-items:center}.dram-pro-checks label{display:flex;flex-direction:row;align-items:center}.dram-pro-checks input{width:auto;min-height:auto}.dram-pro-editor-foot{display:flex;align-items:center;justify-content:space-between;margin-top:25px;border-top:1px solid #e6ecf2;padding-top:20px}.dram-pro-top{display:flex;justify-content:space-between}.dram-pro-empty{text-align:center;padding:30px!important}@media(max-width:1100px){.dram-pro-stats{grid-template-columns:repeat(2,1fr);row-gap:22px}.dram-pro-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.dram-pro-stats,.dram-pro-grid{grid-template-columns:1fr}.dram-pro-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dram-pro-head{align-items:flex-start;flex-direction:column}.dram-pro-stats strong{font-size:18px}}
/* V2.6.1: Invoice actions float above the table without stretching rows. */
.dram-pro-table td:last-child{position:relative;text-align:right;vertical-align:middle;min-width:108px}
.dram-pro-menu{display:inline-block;position:static;text-align:left}
.dram-pro-menu>summary{display:inline-flex;align-items:center;justify-content:center;min-width:84px;box-sizing:border-box}
.dram-pro-menu>div{position:fixed;z-index:99999;box-sizing:border-box;min-width:0;max-width:calc(100vw - 24px);margin:0;padding:12px;background:#fff;border:1px solid #d8e5f0;border-radius:10px;box-shadow:0 12px 30px rgba(22,45,76,.20);white-space:normal;text-align:left}
.dram-pro-menu>div>a,.dram-pro-menu>div>form button,.dram-pro-pay>summary{box-sizing:border-box;white-space:normal;line-height:1.35}
.dram-pro-pay input{box-sizing:border-box;max-width:100%;min-width:0}
.dram-pro-menu:not([open])>div{display:none}

/* V2.7 mobile-first navigation and Divi containment */
.dram-saas-layout,.dram-saas-layout *{box-sizing:border-box}
.dram-saas-layout{width:100%;min-width:0;grid-template-columns:235px minmax(0,1fr)}
.dram-saas-layout aside{min-width:0;padding:22px 12px}
.dram-side-brand{padding:0 12px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.dram-side-brand h2{margin:0 0 7px!important;font-size:20px!important;line-height:1.3!important}
.dram-side-brand p{margin:0;color:#62748a;font-size:12px;overflow-wrap:anywhere}
.dram-saas-layout aside .dram-side-link{display:flex;align-items:center;gap:13px;padding:12px 13px;color:#254366;font-size:14px;line-height:1.4;border-radius:9px;margin:2px 0;transition:background .15s}
.dram-side-link svg{width:19px;height:19px;flex:0 0 19px}
.dram-saas-layout aside .dram-side-link:hover,.dram-saas-layout aside .dram-side-link.active{background:#e5f3ff;color:#0756ee;font-weight:700}
.dram-side-separator{border-top:1px solid #e2eaf2;margin:16px 8px}
.dram-mobile-bar,.dram-nav-backdrop,.dram-side-close{display:none}
.dram-saas-layout main{overflow:visible;min-width:0}
.dram-saas-layout main table{max-width:100%}
@media(max-width:900px){
 .dram-saas-layout{display:block;position:relative;min-height:70vh;width:100%;max-width:100%}
 .dram-mobile-bar{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border-bottom:1px solid #e1eaf3;min-height:64px;min-width:0}
 .dram-mobile-bar strong{font-size:16px;color:#102b4c;white-space:nowrap}
 .dram-mobile-company{font-size:11px;color:#66788e;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:35%}
 .dram-mobile-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;width:42px;height:42px;padding:11px;border:1px solid #d6e3f2;border-radius:9px;background:#fff;flex-shrink:0;cursor:pointer}
 .dram-mobile-toggle span{display:block;width:100%;height:2px;background:#17416e;border-radius:3px}
 .dram-saas-layout aside{position:fixed!important;left:0;top:0;bottom:0;width:min(295px,85vw)!important;max-width:85vw;background:#fff;z-index:100001;overflow-y:auto;box-shadow:10px 0 35px #132a4933;transform:translateX(-110%);transition:transform .22s ease;border-right:1px solid #d7e3ee;padding:23px 13px!important}
 .dram-saas-layout.dram-nav-open aside{transform:translateX(0)}
 .dram-side-close{display:block;background:#f0f5fb;border:0;border-radius:8px;font-size:26px;line-height:1;width:34px;height:34px;cursor:pointer}
 .dram-saas-layout.dram-nav-open .dram-nav-backdrop{display:block;position:fixed;inset:0;background:rgba(10,24,45,.45);z-index:100000}
 .dram-saas-layout main{width:100%;min-width:0;padding:18px 14px!important;overflow:visible}
 .dram-saas-layout main>h1{font-size:24px!important;margin-bottom:16px}
 .dram-pro-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0;row-gap:18px;padding:17px 8px}
 .dram-pro-stats>div{padding:5px 10px;min-width:0}
 .dram-pro-stats strong{font-size:17px;overflow-wrap:anywhere}
 .dram-pro-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .dram-pro-filters label{min-width:0}
 .dram-pro-tabs{justify-content:flex-start;overflow-x:auto;white-space:nowrap;padding:6px 1px}
 .dram-pro-tablewrap,.dram-v24-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .dram-pro-table{min-width:720px}
 .dram-v24-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dram-v24-grid,.dram-v25-report-grid{grid-template-columns:1fr}
 .dram-form-grid,.dram-invoice-head,.dram-invoice-fields,.dram-pro-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
 .dram-mobile-company{max-width:28%}
 .dram-pro-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .dram-pro-filters label:first-child,.dram-pro-filters label:last-of-type{grid-column:1/-1}
 .dram-pro-head{flex-direction:column;align-items:stretch}
 .dram-pro-primary{text-align:center}
 .dram-pro-stats small{font-size:11px}
 .dram-pro-stats strong{font-size:16px}
 .dram-v24-kpis{grid-template-columns:1fr 1fr}
 .dram-v25-kpis{grid-template-columns:1fr}
 .dram-pro-editor,.dram-form-card{padding:15px}
 .dram-pro-editor-foot{flex-wrap:wrap;gap:12px}
}
@media(prefers-reduced-motion:reduce){.dram-saas-layout aside{transition:none!important}}
/* 2.7.1 reporting controls: prevent narrow-screen clipping and improve readability */
#dram-accounting-workspace .dram-report-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;max-width:100%;}
#dram-accounting-workspace .dram-report-filter label{flex:1 1 165px;min-width:0;display:flex;flex-direction:column;gap:6px;}
#dram-accounting-workspace .dram-report-filter input,#dram-accounting-workspace .dram-report-filter select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
#dram-accounting-workspace .dram-report-period-label{margin:10px 0 20px;color:#42516b;}
#dram-accounting-workspace .dram-v25-report-grid{min-width:0;}
#dram-accounting-workspace .dram-v25-panel{min-width:0;overflow-wrap:anywhere;}
#dram-accounting-workspace .dram-v25-panel table{width:100%;table-layout:auto;}
#dram-accounting-workspace .dram-v25-panel td{text-align:right;white-space:nowrap;}
@media(max-width:700px){#dram-accounting-workspace .dram-report-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}#dram-accounting-workspace .dram-report-filter label{width:100%;}#dram-accounting-workspace .dram-v25-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}#dram-accounting-workspace .dram-v25-report-grid{display:block;}#dram-accounting-workspace .dram-v25-report-grid>*{margin-bottom:14px;}#dram-accounting-workspace .dram-v25-panel table{font-size:12px;}}
@media(max-width:390px){#dram-accounting-workspace .dram-v25-kpis{grid-template-columns:minmax(0,1fr);}}
/* V2.8.0 professional directories and expense tables */
#dram-accounting-workspace .dram-v28-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:8px 0 22px}
#dram-accounting-workspace .dram-v28-head h2{font-size:24px;font-weight:750;margin:0 0 5px;color:#122743}
#dram-accounting-workspace .dram-v28-head p{margin:0;color:#64748b;font-size:14px}
#dram-accounting-workspace .dram-v28-head .dram-saas-btn{white-space:nowrap;border-radius:12px;padding:12px 20px}
#dram-accounting-workspace .dram-v28-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}
#dram-accounting-workspace .dram-v28-summary>div{padding:19px 22px;border:1px solid #dce5f0;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:9px}
#dram-accounting-workspace .dram-v28-summary small{font-size:12px;font-weight:650;color:#536680}
#dram-accounting-workspace .dram-v28-summary strong{font-size:25px;color:#152e52}
#dram-accounting-workspace .dram-v28-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 20px;padding:16px;border:1px solid #e0e8f2;border-radius:12px;background:#fff}
#dram-accounting-workspace .dram-v28-filter label{flex:1 1 180px;min-width:0;font-size:12px;font-weight:650;color:#475569}
#dram-accounting-workspace .dram-v28-filter input,#dram-accounting-workspace .dram-v28-filter select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd8e8;border-radius:8px;padding:10px;min-height:43px}
#dram-accounting-workspace .dram-v28-filter button{border-radius:9px;min-height:43px;padding:9px 19px}
#dram-accounting-workspace .dram-v28-filter a{padding:12px 4px;font-weight:600}
#dram-accounting-workspace .dram-v28-table{overflow-x:auto;max-width:100%;border:1px solid #e0e8f2;border-radius:12px;background:#fff}
#dram-accounting-workspace .dram-v28-table table{width:100%;border-collapse:collapse;min-width:720px;margin:0}
#dram-accounting-workspace .dram-v28-table th{background:#f7faff;color:#52647b;font-size:12px;text-transform:none;letter-spacing:.01em;font-weight:700;text-align:left;padding:15px 16px;border-bottom:1px solid #d9e3ef}
#dram-accounting-workspace .dram-v28-table td{padding:15px 16px;border-bottom:1px solid #edf1f7;color:#253a57;font-size:13px;vertical-align:middle}
#dram-accounting-workspace .dram-v28-table tr:last-child td{border-bottom:0}
#dram-accounting-workspace .dram-v28-table tbody tr:hover{background:#f7fbff}
#dram-accounting-workspace .dram-v28-table td strong{font-weight:700}
#dram-accounting-workspace .dram-v28-edit{display:inline-flex;border:1px solid #c5d7f3;border-radius:9px;padding:8px 12px;color:#1453be;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
#dram-accounting-workspace .dram-v28-empty{text-align:center;padding:40px 15px!important;color:#64748b!important}
#dram-accounting-workspace .dram-v28-pages{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;color:#64748b;font-size:13px}
#dram-accounting-workspace .dram-v28-pages>div{display:flex;align-items:center;gap:14px}
#dram-accounting-workspace .dram-v28-state-overdue{background:#ffe1e6;color:#be123c}
#dram-accounting-workspace .dram-v28-state-paid{background:#dcfce7;color:#166534}
#dram-accounting-workspace .dram-v28-state-draft{background:#e2e8f0;color:#475569}
@media(max-width:700px){#dram-accounting-workspace .dram-v28-head{align-items:stretch}#dram-accounting-workspace .dram-v28-head .dram-saas-btn{text-align:center}#dram-accounting-workspace .dram-v28-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#dram-accounting-workspace .dram-v28-summary>div{padding:13px}#dram-accounting-workspace .dram-v28-summary strong{font-size:20px}#dram-accounting-workspace .dram-v28-filter{display:grid;grid-template-columns:1fr;padding:12px}#dram-accounting-workspace .dram-v28-filter label{width:100%}#dram-accounting-workspace .dram-v28-table table{min-width:650px}#dram-accounting-workspace .dram-v28-table td,#dram-accounting-workspace .dram-v28-table th{padding:12px}}
