/* Scoped to reports. No shop, order-entry or product-list changes. */
.valuation-report .report-common{margin:18px 0;padding:18px;border:1px solid #eadfd7;border-radius:14px;background:#fffcf8}
.valuation-report .report-common>.valuation-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.valuation-report .report-common label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}
.valuation-report .report-common input,.valuation-report .report-common select{width:100%;min-width:0;box-sizing:border-box}
.valuation-report .valuation-category-picker{grid-column:1/-1;min-width:0;margin:4px 0;border:1px solid #eadfd7;border-radius:10px;padding:12px}
.valuation-report .valuation-category-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;margin-top:12px;max-height:220px;overflow:auto}
.valuation-report .valuation-category-options label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px;background:#fff;border:1px solid #f0e8e1;border-radius:8px;font-size:12px;cursor:pointer}
.valuation-report .valuation-category-options input[type=checkbox]{appearance:auto;width:17px;height:17px;min-width:17px;accent-color:#f26a21;margin:0;box-shadow:none;transform:none}
.valuation-report .valuation-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.valuation-report .report-alert{padding:12px 14px;border:1px solid #e3b171;border-radius:10px;background:#fff8ec;color:#70431d;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.valuation-report .report-history{margin:20px 0;padding-top:14px;border-top:1px solid #eadfd7}
.valuation-report .valuation-table{max-width:100%;overflow-x:auto}
.valuation-report .valuation-table td,.valuation-report .valuation-table th{font-variant-numeric:tabular-nums}
.valuation-report .valuation-filters>summary{cursor:pointer;padding:10px 0;font-weight:700}
.valuation-report .valuation-kpis article{min-width:0}
.valuation-report .panel{min-width:0}
@media(max-width:900px){.valuation-report .report-common>.valuation-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.valuation-report .report-common{padding:12px}.valuation-report .report-common>.valuation-fields{grid-template-columns:1fr}.valuation-report .valuation-category-options{grid-template-columns:repeat(2,minmax(0,1fr))}.valuation-report .valuation-category-options label{font-size:11px;overflow-wrap:anywhere}.valuation-report .valuation-actions .btn{min-height:42px}.valuation-report .valuation-actions>label{width:100%}.valuation-report .valuation-actions select{max-width:100%}.valuation-report .valuation-primary{grid-template-columns:1fr}.valuation-report .valuation-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.valuation-report .valuation-amount{font-size:24px}}

/* Summary first: seven figures, with all tables closed until requested. */
.report-simple .report-simple-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.report-simple .report-simple-heading h3{margin:0;color:#29221e;font-size:19px}
.report-simple .report-simple-heading .valuation-actions{margin:0}
.report-simple .report-simple-toolbar{padding:20px;overflow:visible}
.report-simple .report-filter-row{display:grid;grid-template-columns:1fr 1.25fr 1fr auto;gap:12px;align-items:end;margin-top:18px}
.report-simple .report-filter-row>label,.report-simple .report-category-label,.report-simple .report-dates>label{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600;font-size:13px}
.report-simple .report-filter-row input,.report-simple .report-filter-row select,.report-simple .report-dates input{width:100%;min-width:0;box-sizing:border-box;min-height:43px}
.report-simple .report-filter-buttons{display:flex;gap:8px;align-items:center;min-height:43px}
.report-simple .report-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;max-width:560px}
.report-simple .report-dates[hidden]{display:none!important}
.report-simple .report-category-control{position:relative;min-width:0}
.report-simple .report-category-control>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:43px;border:1px solid #dce4df;border-radius:8px;padding:9px 12px;background:#fff;cursor:pointer;font-size:13px;list-style:none;box-sizing:border-box}
.report-simple .report-category-control>summary::-webkit-details-marker{display:none}
.report-simple .report-category-popover{position:absolute;inset-inline-start:0;top:calc(100% + 6px);width:360px;max-width:calc(100vw - 54px);padding:14px;border:1px solid #eadfd7;border-radius:12px;background:#fff;box-shadow:0 12px 32px #30271c21;z-index:30}
.report-simple .report-category-popover .valuation-actions{margin:0}
.report-simple .report-category-popover .valuation-category-options{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}
.report-simple .report-number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}
.report-simple .report-number-card{min-width:0;padding:21px;border:1px solid #eadfd7;border-radius:15px;background:#fff;box-shadow:0 2px 6px #35271904}
.report-simple .report-number-card>span{display:block;font-size:14px;font-weight:700;color:#64594f;line-height:1.6}
.report-simple .report-number-card>strong{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin:13px 0 9px;font-size:clamp(23px,2.45vw,36px);font-weight:800;line-height:1.2;color:#29221e;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.report-simple .report-number-card>strong>bdi{max-width:100%;overflow-wrap:anywhere;font-family:'DM Sans',Arial,sans-serif}
.report-simple .report-number-card>strong>small{font-size:12px;color:#82756b;letter-spacing:0}
.report-simple .report-card-caption{display:block;font-size:11px;color:#8b7a6d;line-height:1.6}
.report-simple .report-number-primary{background:#fff7f0;border-top:4px solid #f26a21;padding-top:18px}
.report-simple .report-pending-number{margin:14px 0 22px}
.report-simple .report-pending-number>.report-number-card{background:#fff9ee;border-color:#efd4a6;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;align-items:center;padding:17px 21px}
.report-simple .report-pending-number .report-number-card>strong{grid-column:2;grid-row:1/3;margin:0;font-size:30px}
.report-simple .report-pending-number .report-card-caption{grid-column:1}
.report-simple .report-details{padding:0;margin:10px 0;overflow:hidden}
.report-simple .report-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;font-size:14px;font-weight:700;color:#51483f;cursor:pointer;list-style:none}
.report-simple .report-details>summary::-webkit-details-marker{display:none}
.report-simple .report-details[open]>summary{border-bottom:1px solid #eee5de}
.report-simple .report-details[open]>summary>span{transform:rotate(45deg)}
.report-simple .report-details-body{padding:18px;min-width:0;font-size:13px;line-height:1.8}
.report-simple .report-details-body .report-history{margin-top:0;padding-top:0;border-top:0}
.report-simple .report-summary{min-width:0}
@media(max-width:1000px){.report-simple .report-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.report-simple .report-filter-buttons{align-self:end}}
@media(max-width:600px){.report-simple .report-simple-toolbar{padding:14px}.report-simple .report-filter-row{gap:10px}.report-simple .report-simple-heading{gap:10px}.report-simple .report-simple-heading .btn{font-size:11px;padding:8px 12px}.report-simple .report-filter-buttons{gap:6px}.report-simple .report-filter-buttons .btn{padding:9px 10px;font-size:12px;flex:1}.report-simple .report-number-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.report-simple .report-number-grid>.report-number-card:first-child{grid-column:1/-1}.report-simple .report-number-card{padding:15px 13px}.report-simple .report-number-card>span{font-size:12px}.report-simple .report-number-card>strong{font-size:24px;margin:9px 0 5px;gap:5px}.report-simple .report-number-card>strong>small{font-size:10px}.report-simple .report-number-primary{padding-top:12px}.report-simple .report-card-caption{font-size:10px}.report-simple .report-pending-number>.report-number-card{padding:15px;grid-template-columns:minmax(0,1fr)}.report-simple .report-pending-number .report-number-card>strong{grid-column:1;grid-row:auto;font-size:28px;margin:10px 0 5px}.report-simple .report-details>summary{padding:14px;font-size:13px}.report-simple .report-details-body{padding:12px}.report-simple .report-category-popover{width:290px}}
.report-simple:not([data-report-mode=stock]) .report-filter-row{grid-template-columns:1fr 1fr 1.2fr 1fr auto}
@media(max-width:1100px){.report-simple:not([data-report-mode=stock]) .report-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
