/*
Theme Name: DBGF Storage
Theme URI: https://dbgfstorage.com/dbgfStorage/
Author: The Next Trail
Description: Mobile-first theme for DBGF Storage near Bass Lake, north of Antigo, Wisconsin.
Version: 1.0.427
Text Domain: dbgf-storage
*/
:root{--navy:#12304a;--blue:#2c668f;--sky:#eaf4f8;--ink:#1e2a32;--muted:#60717d;--white:#fff;--line:#d7e1e7;--green:#397a52;--gold:#d7a940;--danger:#9b3e3e}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#f6f8f9;line-height:1.55}a{color:var(--blue)}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:10;box-shadow:0 2px 10px #0002}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:20px}.brand{font-weight:900;font-size:24px;letter-spacing:.5px;color:#fff;text-decoration:none}.brand span{display:block;font-size:11px;font-weight:600;letter-spacing:1.4px;opacity:.75}.nav{display:flex;gap:18px;align-items:center}.nav a{color:#fff;text-decoration:none;font-weight:700;font-size:14px}.nav .portal{background:#fff;color:var(--navy);padding:10px 14px;border-radius:8px}.hero{background:linear-gradient(135deg,var(--navy),#214e6b);color:#fff;padding:72px 0}.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:44px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:12px;font-weight:800;opacity:.75}.hero h1{font-size:clamp(38px,6vw,68px);line-height:1.02;margin:8px 0 16px}.hero p{font-size:20px;max-width:680px;margin:0 0 26px;color:#eef7fb}.btn{display:inline-block;border:0;border-radius:9px;padding:13px 18px;font-weight:800;text-decoration:none;cursor:pointer;background:var(--blue);color:#fff}.btn-light{background:#fff;color:var(--navy)}.hero-card{background:#fff;color:var(--ink);padding:24px;border-radius:16px;box-shadow:0 18px 40px #0003}.hero-card h3{margin:0 0 8px;color:var(--navy)}.section{padding:56px 0}.section h2{font-size:32px;margin:0 0 10px;color:var(--navy)}.lead{color:var(--muted);margin:0 0 28px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 5px 18px #19384c0b}.card h3{margin:0 0 5px;color:var(--navy);font-size:24px}.price{font-size:32px;font-weight:900;color:var(--navy)}.price small{font-size:14px;font-weight:600;color:var(--muted)}.tag{display:inline-block;padding:5px 9px;border-radius:999px;background:var(--sky);color:var(--blue);font-size:12px;font-weight:800}.note{background:#fff8e6;border:1px solid #ecd9a4;padding:18px;border-radius:12px}.availability{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.status{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.status strong{color:var(--green)}.contact-box{background:var(--navy);color:#fff;border-radius:16px;padding:30px}.contact-box h2{color:#fff}.contact-box a{color:#fff}.site-footer{background:#0b2234;color:#dce8ef;padding:28px 0;font-size:14px}.login-shell{min-height:70vh;display:grid;place-items:center;padding:48px 16px}.login-card,.portal-card{width:min(560px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 12px 35px #19384c18}.field{margin:14px 0}.field label{display:block;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #bfcdd5;border-radius:8px;font:inherit}.message{padding:12px 14px;border-radius:8px;margin:12px 0;background:var(--sky)}.message.error{background:#faeaea;color:#7a2929}.portal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.metric{border:1px solid var(--line);border-radius:10px;padding:16px}.metric small{display:block;color:var(--muted)}.metric strong{font-size:22px}.admin-table{width:100%;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid #ddd;text-align:left;vertical-align:top}.admin-table input{max-width:160px}.muted{color:var(--muted);font-size:14px}@media(max-width:760px){.nav a:not(.portal){display:none}.header-inner{min-height:62px}.brand{font-size:20px}.hero{padding:48px 0}.hero-grid,.cards,.availability,.portal-grid{grid-template-columns:1fr}.hero-card{margin-top:4px}.section{padding:38px 0}.wrap{width:min(100% - 22px,1120px)}}

.hero-photo{background-size:cover;background-position:center;color:#fff}.property-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}.property-photo{width:100%;display:block;border-radius:16px;box-shadow:0 12px 30px #19384c22;max-height:540px;object-fit:cover}.property-copy{padding:10px 0}@media(max-width:760px){.property-grid{grid-template-columns:1fr}.property-photo{max-height:430px}.hero-photo{background-position:62% center}}
/* v1.0.5: common page navigation */
.hero-grid{display:block}.hero-grid>div:first-child{max-width:760px}
.nav{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.nav a,.nav .portal{background:#fff;color:var(--navy);padding:9px 12px;border-radius:8px;white-space:nowrap}
@media(max-width:760px){.header-inner{align-items:flex-start;flex-direction:column;padding:10px 0;gap:8px}.nav{display:grid;grid-template-columns:repeat(2,1fr);width:100%;gap:7px}.nav a,.nav a:not(.portal){display:block;text-align:center;font-size:13px;padding:8px 6px}.brand{padding-left:2px}}

/* v1.0.6: header/home hero refinements */
.brand{font-size:32px}
.hero h1{font-size:clamp(28px,4vw,42px);line-height:1.12}
@media(max-width:760px){.brand{font-size:28px}.hero h1{font-size:26px;line-height:1.15}}

/* v1.0.8 header title */
.brand{font-size:40px;text-align:center;display:block;width:100%;line-height:1.1}
.header-inner{flex-wrap:wrap;justify-content:center}
.nav{width:100%;justify-content:center}
@media(max-width:760px){.brand{font-size:36px;text-align:center;padding-left:0}.header-inner{align-items:center}.nav{width:100%}}

/* v1.0.9: softer top navigation buttons */
.nav a,.nav .portal{background:#d9e7ef;color:var(--navy);border:1px solid #b9cfdb}
.nav a:hover,.nav .portal:hover{background:#c8dce7}

/* v1.0.10 centered location/security statements */
.hero .eyebrow,.hero h1{text-align:center!important;}
.contact-box>p:first-of-type{text-align:center!important;}

/* v1.0.29: calculated financial fields */
.dbgf-field input[readonly]{background:#f0f3f5;color:#4b5962;cursor:not-allowed}

/* Active renter section delineation */
.dbgf-unit-divider{border:0;border-top:1px solid #c9c9c9;margin:18px 0;}

.dbgf-readonly-display{padding:12px 14px;border:1px solid #c7cbd1;border-radius:3px;background:#f3f4f6;font-size:18px;line-height:1.35;min-height:24px}.dbgf-remove-override label{display:flex;gap:8px;align-items:center}.dbgf-remove-override input{width:auto!important;min-height:auto!important}

/* v1.0.56 renter controls and map navigation */
.dbgf-renter-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dbgf-renter-header h3{margin:0}.dbgf-renter-toggle{border:0;background:transparent;color:#2271b1;font-size:28px;font-weight:800;line-height:1;min-width:36px;min-height:36px;padding:0;cursor:pointer}.dbgf-renter-toggle:hover,.dbgf-renter-toggle:focus{color:#135e96}.dbgf-actions{justify-content:flex-start;align-items:flex-start;margin:10px 0 14px}.dbgf-actions>details,.dbgf-actions>form{margin:0}.dbgf-actions>form p{margin:0}.dbgf-unit-available{cursor:default}.dbgf-unit-rented{cursor:pointer}.dbgf-renter{scroll-margin-top:95px}

/* v1.0.64 payment correction controls */
.dbgf-payment-edit-form{display:grid;gap:8px;min-width:250px;padding:10px 0}.dbgf-payment-edit-form label{display:grid;gap:3px;font-weight:700}.dbgf-payment-edit-form input,.dbgf-payment-edit-form select{min-width:180px}.dbgf-balance-history .button{font-weight:700;white-space:nowrap}

/* v1.0.67 - clean mobile Balance History columns */
.dbgf-balance-history{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.dbgf-balance-history th,.dbgf-balance-history td{padding:8px 5px;vertical-align:top;box-sizing:border-box}
.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:15%;text-align:left}
.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:35%;text-align:left;overflow-wrap:anywhere}
.dbgf-balance-history th:nth-child(3),.dbgf-balance-history td:nth-child(3),.dbgf-balance-history th:nth-child(4),.dbgf-balance-history td:nth-child(4),.dbgf-balance-history th:nth-child(5),.dbgf-balance-history td:nth-child(5){width:15%;text-align:right;white-space:nowrap}
.dbgf-balance-history th:nth-child(6),.dbgf-balance-history td:nth-child(6){width:5%;text-align:left}
@media(max-width:700px){.dbgf-balance-history{font-size:12px}.dbgf-balance-history th,.dbgf-balance-history td{padding:7px 3px}.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:16%}.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:34%}.dbgf-balance-history th:nth-child(3),.dbgf-balance-history td:nth-child(3),.dbgf-balance-history th:nth-child(4),.dbgf-balance-history td:nth-child(4),.dbgf-balance-history th:nth-child(5),.dbgf-balance-history td:nth-child(5){width:15%}}

/* v1.0.68 - compact Balance History, tappable payments */
.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:16%;text-align:left}
.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:39%;text-align:left;overflow-wrap:anywhere}
.dbgf-balance-history th:nth-child(3),.dbgf-balance-history td:nth-child(3),.dbgf-balance-history th:nth-child(4),.dbgf-balance-history td:nth-child(4),.dbgf-balance-history th:nth-child(5),.dbgf-balance-history td:nth-child(5){width:15%;text-align:right;white-space:nowrap}
.dbgf-payment-link{cursor:pointer;font-weight:700;color:#2271b1;text-decoration:underline;text-underline-offset:2px;list-style:none}
.dbgf-payment-link::-webkit-details-marker{display:none}
.dbgf-payment-edit[open] .dbgf-payment-link{margin-bottom:8px}
@media(max-width:700px){.dbgf-balance-history{font-size:11px}.dbgf-balance-history th,.dbgf-balance-history td{padding:6px 2px}.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:17%}.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:38%}}

/* v1.0.69 - four-column mobile Balance History */
.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:18%;text-align:left}
.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:46%;text-align:left;overflow-wrap:anywhere}
.dbgf-balance-history th:nth-child(3),.dbgf-balance-history td:nth-child(3){width:17%;text-align:right;white-space:nowrap}
.dbgf-balance-history th:nth-child(4),.dbgf-balance-history td:nth-child(4){width:19%;text-align:right;white-space:nowrap}
@media(max-width:700px){.dbgf-balance-history{font-size:12px}.dbgf-balance-history th,.dbgf-balance-history td{padding:6px 3px}.dbgf-balance-history th:nth-child(1),.dbgf-balance-history td:nth-child(1){width:18%}.dbgf-balance-history th:nth-child(2),.dbgf-balance-history td:nth-child(2){width:44%}.dbgf-balance-history th:nth-child(3),.dbgf-balance-history td:nth-child(3){width:18%}.dbgf-balance-history th:nth-child(4),.dbgf-balance-history td:nth-child(4){width:20%}}
/* v1.0.90 renter portal */
.renter-hero{background-size:cover;background-position:center;color:#fff;padding:52px 0}.renter-hero h1{font-size:clamp(34px,5vw,52px);line-height:1.05;margin:6px 0 8px}.renter-hero p{font-size:18px;margin:0;color:#eef7fb}.renter-account{padding:34px 0 54px}.renter-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.renter-unit-card,.renter-bottom-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 8px 24px #19384c12}.renter-unit-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.renter-unit-head small,.renter-details small{display:block;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.renter-unit-head h2{margin:2px 0 0;color:var(--navy);font-size:30px}.renter-plan{background:var(--sky);color:var(--navy);font-weight:800;border-radius:999px;padding:6px 11px}.renter-details{display:grid;grid-template-columns:1fr 1fr;gap:16px}.renter-details strong{display:block;color:var(--navy);font-size:20px}.renter-details span{font-size:13px;color:var(--muted)}.renter-electric{background:var(--sky);border-radius:8px;padding:9px 11px;margin:16px 0 0}.renter-bottom-card{margin-top:20px}.renter-bottom-card h3{color:var(--navy)}@media(max-width:760px){.renter-hero{padding:38px 0}.renter-unit-grid{grid-template-columns:1fr}.renter-details{grid-template-columns:1fr 1fr}.renter-unit-card{padding:18px}}

/* v1.0.91 renter dashboard */
.renter-summary-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:22px;box-shadow:0 8px 24px #19384c12}.renter-summary-card h2{color:var(--navy);margin:0 0 8px}.renter-attention{margin-top:18px;border-radius:12px;padding:16px 18px}.renter-attention h3{margin:0 0 8px}.renter-attention ul{margin:8px 0 0;padding-left:22px}.renter-attention li{margin:6px 0}.needs-attention{background:#fff7df;border:1px solid #ead28b}.good-standing{background:#edf8ef;border:1px solid #b9ddc0}.renter-contract-row{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.renter-contract-row small{color:var(--muted)}.renter-contract-btn{text-decoration:none}

/* v1.0.92 renter dashboard links and notifications */
.renter-attention a{font-weight:800;text-decoration:underline}.renter-unit-card,.renter-contract-row,[id^="balance-"]{scroll-margin-top:150px}.renter-notifications{margin:20px 0}.renter-notifications>h2{color:var(--navy);margin-bottom:10px}.renter-notice{background:#fff8e6;border:1px solid #ecd9a4;border-radius:12px;padding:16px 18px;margin:10px 0;display:flex;justify-content:space-between;gap:18px;align-items:center}.renter-notice h3{margin:3px 0;color:var(--navy)}.renter-notice p{margin:4px 0}.renter-notice small{color:var(--muted)}@media(max-width:760px){.renter-notice{display:block}.renter-notice .btn{margin-top:10px}}

/* v1.0.93 renter contract/invoice/balance/maintenance actions */
.renter-contract-status{font-weight:900;color:var(--navy);background:#fff7df;border:1px solid #ead28b;border-radius:999px;padding:8px 12px}.renter-unit-actions{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;display:grid;gap:10px}.renter-unit-actions details{margin:0}.renter-unit-actions summary{cursor:pointer;display:inline-block;list-style:none}.renter-unit-actions summary::-webkit-details-marker{display:none}.renter-action-panel{margin-top:10px;padding:14px;background:#f6f9fb;border-radius:10px}.renter-action-panel h3{margin-top:0;color:var(--navy)}.renter-action-panel textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0 12px;padding:10px}.renter-balance-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.renter-paid{font-weight:800;color:#2f6f3e}.renter-maintenance .btn,.renter-invoice .btn{margin-right:6px}@media(max-width:760px){.renter-balance-action{align-items:flex-start;flex-direction:column}}
\n/* v1.0.94 */
.renter-movein{margin:0 0 16px;padding:14px 16px;border:1px solid #d9e1e7;border-radius:12px;background:#f7f9fb}.renter-movein.ready{background:#eef8f0}.renter-movein h3{margin:0 0 8px}.renter-movein p{margin:5px 0}.availability-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.availability-photos img,.photo-placeholder{width:100%;height:170px;object-fit:cover;border-radius:10px}.photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef1f3;text-align:center}.walkthrough-card{margin-top:28px;padding:24px;border-radius:14px;background:#f5f7f8}.walkthrough-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.walkthrough-card label{display:flex;flex-direction:column;gap:5px;font-weight:600}.walkthrough-card input,.walkthrough-card select,.walkthrough-card textarea{padding:10px;border:1px solid #bbc4cb;border-radius:7px;font:inherit}@media(max-width:700px){.availability-photos,.walkthrough-grid{grid-template-columns:1fr}}\n
/* v1.0.95 past-due renewal notice and balance placement */
.renter-top-balance{margin-top:6px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.renter-top-balance strong{font-size:18px;color:var(--navy)}.renter-top-balance .btn{padding:9px 13px}.renter-past-due-list{margin:0 0 22px}.renter-past-due{background:#fff0f0;border:2px solid #b42318;border-radius:14px;padding:18px 20px;margin:12px 0;color:#6f1712}.renter-past-due h2{margin:0 0 8px;color:#b42318;font-size:22px}.renter-past-due p{margin:8px 0}.renter-past-due .btn{margin-top:4px;background:#b42318}.renter-unit-head{align-items:flex-start}

/* v1.0.106: renter end-rental request */
.renter-end-rental .renter-action-panel label{display:block;font-weight:700;margin:10px 0}.renter-end-rental input[type=date],.renter-end-rental textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}.renter-end-rental summary.btn{background:#5c6670}.renter-end-rental[open] summary.btn{margin-bottom:10px}

/* v1.0.109 rental request onboarding */
.renter-inprocess-card{background:#fff8d8;border:2px solid #d4ad22;border-radius:12px;padding:16px;margin:12px 0}.renter-inprocess-card h3{margin:0 0 8px;color:var(--navy)}

.verified-renters{margin:18px 0;padding:14px;border:1px solid #ddd;border-radius:10px}.verified-renters .btn{width:100%;text-align:left}.verified-renters small{font-weight:400}

/* v1.0.141 renter workflow refinements */
.renter-end-rental>summary.btn{background:var(--blue);color:#fff}.renter-movein{margin-bottom:24px}
/* v1.0.158: amendment action must be impossible to miss in renter portal */
.renter-amendment-alert{border:2px solid #b56b00!important;background:#fff8e8!important}
.renter-amendment-alert h2{margin-top:0}

/* v1.0.217: center desktop hero copy */
@media(min-width:761px){.hero-photo .hero-grid>div:first-child{margin-left:auto;margin-right:auto;text-align:center}.hero-photo .hero-grid p{margin-left:auto;margin-right:auto;text-align:center}}

/* v1.0.218: homepage property photos and description */
.property-showcase{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:38px;align-items:center}.property-images{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.property-showcase .property-photo{width:100%;height:220px;object-fit:cover;border-radius:14px}.property-showcase .property-photo-main{height:205px}.property-showcase .property-photo-shed{height:235px}.property-showcase .property-copy{padding:0}.property-showcase .property-copy .lead{font-size:18px;line-height:1.65;margin-bottom:0}@media(max-width:760px){.property-showcase{grid-template-columns:1fr;gap:24px}.property-images{grid-template-columns:1fr 1fr;gap:10px}.property-showcase .property-photo,.property-showcase .property-photo-main,.property-showcase .property-photo-shed{height:180px}.property-showcase .property-copy{text-align:left}}

/* v1.0.219 homepage property photos supplied by DBGF Storage */
.property-images-four{grid-template-columns:1fr 1fr;gap:12px}.property-images-four figure{margin:0}.property-images-four .property-photo{height:180px;object-fit:cover}.property-images-four figcaption{text-align:center;font-weight:700;font-size:14px;margin-top:5px;color:#344b5b}@media(max-width:760px){.property-images-four{grid-template-columns:1fr 1fr}.property-images-four .property-photo{height:165px}}@media(max-width:480px){.property-images-four{grid-template-columns:1fr}.property-images-four .property-photo{height:230px}}

/* v1.0.277 header emblem and renter portal error emphasis */
.dbgf-brand-with-icon{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none}
.dbgf-header-icon{display:block;width:58px;height:58px;object-fit:contain;border-radius:10px}
.dbgf-header-name{display:block;font:inherit;letter-spacing:inherit;color:inherit}
.dbgf-portal-error{background:#fde8e8!important;border:1px solid #e7a1a1!important;color:#7b1f1f!important;padding:12px 14px!important;border-radius:8px!important}
@media(max-width:700px){.dbgf-header-icon{width:48px;height:48px}.dbgf-brand-with-icon{gap:2px}}

/* v1.0.278: admin-only renter portal unit preview */
.dbgf-admin-preview-bar{margin-top:18px;margin-bottom:18px}.dbgf-admin-preview-bar form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff8e6;border:1px solid #d7a940;border-radius:12px;padding:12px 14px}.dbgf-admin-preview-bar input{width:90px;padding:10px;border:1px solid #bfcdd5;border-radius:8px;font:inherit;text-transform:uppercase}.dbgf-admin-preview-bar label{font-weight:800}.dbgf-admin-preview-bar span{font-size:14px}.dbgf-admin-preview-clear{background:#60717d}@media(max-width:760px){.dbgf-admin-preview-bar form{align-items:stretch}.dbgf-admin-preview-bar strong{width:100%}.dbgf-admin-preview-bar span{width:100%}}

/* v1.0.288: keep renter save action visually consistent with other portal save actions. */
.dbgf-save-renter-btn{background:var(--blue);color:#fff;border:0;border-radius:9px;padding:13px 18px;font-weight:800;}

/* v1.0.300: restore prominent site title beneath header icon */
.dbgf-brand-with-icon .dbgf-header-name{font-size:40px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:.5px!important;opacity:1!important}
@media(max-width:760px){.dbgf-brand-with-icon .dbgf-header-name{font-size:36px!important}}

/* v1.0.319: contract section numbering correction. */

/* v1.0.389: readable financial drilldowns on narrow screens */
#income .dbgf-income-detail {margin:12px 0 18px;}
#income .dbgf-income-detail > summary {padding:9px 0;line-height:1.4;}
#income .dbgf-income-detail-body {padding:10px 2px 18px;}
#income .dbgf-income-line, .dbgf-credit-reconciliation .dbgf-income-line {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 14px;padding:13px 0;margin:0 0 5px;border-bottom:1px solid #d6dfe5;line-height:1.5;}
#income .dbgf-income-line span, .dbgf-credit-reconciliation .dbgf-income-line span {flex:1 1 220px;min-width:0;}
#income .dbgf-income-line b, .dbgf-credit-reconciliation .dbgf-income-line b {white-space:nowrap;margin-left:auto;}
#income .dbgf-income-detail-body p {margin:12px 0 18px;line-height:1.55;}

/* v1.0.390: financial summary readable detail rows on mobile */
.dbgf-income-detail{margin:14px 0!important;padding:8px 0!important}.dbgf-income-detail-body{padding-top:12px!important}.dbgf-income-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;margin:0 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid #e2e7eb;line-height:1.5}.dbgf-income-line span{min-width:0;flex:1 1 210px}.dbgf-income-line b{white-space:nowrap}.dbgf-income-unit-row{margin-bottom:20px!important}.dbgf-income-payment-row{margin-bottom:12px!important}.dbgf-credit-reconciliation .dbgf-income-line{margin-bottom:12px!important}

/* v1.0.391: blank line after each financial detail amount */
.dbgf-admin .dbgf-income-detail{margin:0 0 28px!important;padding-bottom:16px!important;border-bottom:1px solid #d9e1e7}.dbgf-admin .dbgf-income-detail summary strong{display:block;margin:8px 0 18px}.dbgf-admin .dbgf-income-detail-body .dbgf-income-line{display:block!important;margin:0 0 28px!important;padding:0 0 18px!important;line-height:1.6!important}.dbgf-admin .dbgf-income-detail-body .dbgf-income-line b{display:block;margin:6px 0 12px}.dbgf-admin .dbgf-income-detail-body p{margin:14px 0 22px!important;line-height:1.6}

/* v1.0.396 mobile chronological ledger */
.dbgf-ledger-scroll{width:100%;max-width:100%;overflow-x:auto}.dbgf-ledger-table{width:100%;table-layout:fixed;font-size:12px}.dbgf-ledger-table th,.dbgf-ledger-table td{padding:7px 4px;vertical-align:top;overflow-wrap:anywhere}.dbgf-ledger-table th:nth-child(1){width:22%}.dbgf-ledger-table th:nth-child(2){width:36%}.dbgf-ledger-table th:nth-child(3){width:20%}.dbgf-ledger-table th:nth-child(4){width:22%}.dbgf-ledger-table td:nth-child(3),.dbgf-ledger-table td:nth-child(4){text-align:right;white-space:normal}.dbgf-ledger-application{display:block;font-weight:500;color:#287346;margin-top:4px;line-height:1.35}@media(max-width:480px){.dbgf-ledger-table{font-size:11px}.dbgf-ledger-table th,.dbgf-ledger-table td{padding:6px 3px}}

/* 1.0.424: separate existing-expense edit control from its date */
.dbgf-expense-edit-label{display:inline-block;margin-left:12px;white-space:nowrap}
