/* A compact home overview; all operational screens keep their existing layout. */
.view-home .preview-banner{display:none}.header-reports[hidden]{display:none!important}
#navigation .nav-section{margin-top:10px;border:0}#navigation .nav-section>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:10px 9px;color:#b8c8df;font-size:13px;font-weight:700;letter-spacing:.04em;cursor:pointer}#navigation .nav-section>summary::-webkit-details-marker{display:none}#navigation .nav-section>summary span{transition:transform .15s}#navigation .nav-section:not([open])>summary span{transform:rotate(-90deg)}#navigation .nav-section>summary:focus-visible{outline:2px solid #a1c8f2;outline-offset:1px}.sidebar #navigation{min-height:0;overflow-y:auto;flex:1}.sidebar{display:flex;flex-direction:column}.sidebar .sidebar-bottom{position:static;margin-top:auto;padding-top:12px}
.home-dashboard{max-width:1700px;margin:0 auto}.home-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.home-title h1{font-size:28px;letter-spacing:-.7px;margin:0}.home-title p{font-size:15px;color:#6a7c90;margin:5px 0 0}.home-title .actions{display:flex;gap:8px;flex-wrap:wrap}.home-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.home-summary-item{display:flex;align-items:center;gap:14px;border:0;border-radius:13px;padding:15px 18px;color:#173954;text-align:left;min-width:0}.home-summary-item>svg{width:28px;height:28px;flex:none}.home-summary-item small{display:block;font-size:14px;font-weight:600}.home-summary-item strong{display:block;font-size:27px;letter-spacing:-.5px;line-height:1.3}.home-blue{background:#e9f0fd;color:#225a78}.home-green{background:#e6f3ed;color:#11665b}.home-purple{background:#eee9fa;color:#6b43aa}.home-amber{background:#fff1dc;color:#995b1b}.home-top-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px;margin-bottom:20px}.home-bottom-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(250px,1fr);gap:20px}.home-dashboard .panel{margin:0;border:1px solid #e1e7ef;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #1b3d5910}.home-dashboard .panel-heading{padding:18px 20px;border-bottom:1px solid #e9edf3;display:flex;justify-content:space-between;align-items:center;gap:12px}.home-dashboard .panel-heading h2{font-size:19px;margin:0}.home-dashboard .panel-heading p{font-size:13px;color:#748399;margin:4px 0 0}.home-dashboard .text-link{font-size:13px;white-space:nowrap}.home-chart{width:100%;display:block;padding:14px 16px 0}.home-chart text{font:12px system-ui;fill:#718197}.home-sales-foot{display:flex;justify-content:space-between;gap:10px;padding:8px 20px 16px;color:#748399;font-size:12px}.home-sales-foot strong{color:#116d68;display:block;font-size:19px;margin-top:3px}.home-attention-row{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #edf1f6;font-size:14px}.home-attention-row small,.home-balance-row small{display:block;color:#7a889a;font-size:12px;margin-top:3px}.home-attention-row>strong{background:#edf3f8;border-radius:8px;min-width:32px;text-align:center;padding:5px;color:#285672;font-size:16px}.home-attention-detail{padding:8px 20px;color:#728093;font-size:13px}.home-attention-detail>a,.home-attention-detail>button{display:flex;width:100%;justify-content:space-between;gap:10px;padding:6px 0;font-size:13px}.home-attention-detail small{color:#a25a1e}.home-orders th{font-size:12px!important;padding:12px!important;color:#718197}.home-orders td{padding:13px 12px!important;font-size:13px!important;vertical-align:top}.home-orders .table-link{font-size:14px}.home-orders .subtext{font-size:11px;margin-top:4px}.home-orders .order-status-pair{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.home-orders .pill{font-size:11px;padding:4px 7px}.home-orders td:nth-child(2){max-width:190px;white-space:normal}.home-orders .home-next{white-space:normal;min-width:110px;font-size:12px!important}.home-owed{color:#b85129!important}.home-balance-row{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:16px 18px;border-bottom:1px solid #edf1f5;text-align:left;font-size:14px}.home-balance-row strong{color:#b85129;font-size:15px;white-space:nowrap}.home-payment-link{display:flex;align-items:center;justify-content:center;gap:8px;padding:17px;font-size:14px;font-weight:650;color:#176b65}.home-payment-link svg{width:16px}.home-empty-note{padding:0 20px;font-size:13px;color:#728093}
@media(min-width:1400px){.home-chart{max-height:280px}.home-orders td:nth-child(2){max-width:240px}}
@media(max-width:1150px){.home-bottom-grid{grid-template-columns:1fr}.home-summary-item{padding:14px 12px;gap:9px}.home-summary-item strong{font-size:23px}.home-top-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}}
@media(max-width:850px){.home-title{align-items:flex-start;flex-direction:column}.home-top-grid{grid-template-columns:1fr}.home-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.home-title h1{font-size:25px}.home-sales-foot{font-size:11px}.home-balances{display:block}.home-dashboard .panel-heading{padding:16px}.home-summary-item strong{font-size:25px}.home-chart{padding:12px 5px 0}.home-orders{min-width:730px}.home-title .btn{font-size:13px;padding:9px 11px}}

.home-products{margin-top:20px!important}.home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:18px 20px}.home-product-item{min-width:0;display:grid;grid-template-columns:1fr auto;gap:7px;font-size:14px}.home-product-item small{grid-column:1/-1;color:#8190a0;font-size:12px}.home-product-item span{font-weight:600}.home-product-item strong{color:#176b65;white-space:nowrap}.home-product-bar{grid-column:1/-1;height:5px;background:#edf2f6;border-radius:6px}.home-product-bar i{display:block;height:100%;background:#70afa3;border-radius:6px}@media(max-width:1100px){.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.home-product-grid{grid-template-columns:1fr}}

.home-release-notes{margin:0 0 16px;border:1px solid #dce4ee;border-radius:9px;background:#f8fafc}.home-release-notes>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;cursor:pointer;font-size:14px;font-weight:650;list-style:none}.home-release-notes>summary::-webkit-details-marker{display:none}.home-release-notes>summary>span:first-child:before{content:'▸';display:inline-block;margin-right:9px}.home-release-notes[open]>summary>span:first-child:before{content:'▾'}.home-release-notes small{margin-left:7px;font-size:12px;color:#718197}.home-release-hint{font-size:12px;font-weight:400;color:#718197}.home-release-content{padding:0 15px 12px;border-top:1px solid #e5ebf2;max-height:360px;overflow:auto}.home-release-version{padding:11px 0;border-bottom:1px solid #e5ebf2}.home-release-version:last-child{border-bottom:0}.home-release-version>summary{font-size:14px;cursor:pointer;color:#2c4762;font-weight:600}.home-release-version time{font-weight:400;color:#7a8797;font-size:12px;margin-left:10px}.home-release-version ul{padding-left:23px;margin:9px 0 0}.home-release-version li{font-size:14px;line-height:1.6;color:#52677f;margin:4px 0}@media(max-width:500px){.home-release-hint{font-size:11px}.home-release-notes>summary{padding:10px 12px}}

/* Same-date month comparison inside the existing summary cards. */
.home-comparison-dates{font-size:14px;color:#455b76;margin:0 0 10px;font-weight:650}.home-comparison-dates small{font-size:12px;color:#6c7e93;font-weight:400;margin-left:10px}.home-summary-item{align-items:flex-start}.home-summary-item>svg{margin-top:7px}.home-summary-item>span{min-width:0}.home-comparison-baseline{display:block;font-size:12px;margin-top:8px;line-height:1.5;color:#465c73}.home-comparison-change{display:block;font-size:13px;margin-top:5px;font-weight:750;line-height:1.5}.home-comparison-change>span{font-size:12px;font-weight:650}.home-change-up{color:#12673e}.home-change-down{color:#a62b35}.home-change-flat{color:#52647b}@media(max-width:600px){.home-comparison-dates small{display:block;margin:4px 0 0}.home-summary-item{padding:14px 10px;gap:8px}.home-summary-item>svg{width:22px;height:22px}.home-summary-item small{font-size:12px}.home-comparison-baseline{font-size:11px}.home-comparison-change{font-size:12px}}

/* Keep month comparisons secondary to the main totals. */
.home-comparison-baseline{font-size:11px;margin-top:5px}.home-comparison-change{font-size:12px;margin-top:3px}.home-comparison-change>span{font-size:11px}.home-comparison-dates{font-size:12px}.home-comparison-dates small{font-size:11px}
