/* v0.9.40: only the TEP analytical house table, shared with offline HTML. */
.tep26 .tep40-house-name {display:flex;align-items:center;gap:7px;min-width:0;cursor:pointer;}
.tep26 .tep40-house-name>span {min-width:0;overflow-wrap:anywhere;}
.tep26 .tep40-house-toggle {display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:27px;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:#a16c16;cursor:pointer;font:700 16px/1 "Segoe UI",Arial,sans-serif;}
.tep26 .tep40-house-toggle>span {display:block;transition:transform .12s ease;}
.tep26 .tep40-house-toggle[aria-expanded="true"]>span {transform:rotate(90deg);}
.tep26 .tep40-house-toggle:hover {background:#fff3d5;border-color:#e6d1a7;}
.tep26 .tep40-house-toggle:focus-visible {outline:2px solid #b57b14;outline-offset:2px;}
.tep26 .tep40-house-row.tep40-expanded>td {background:#fffbf2;border-bottom-color:#ecdfc6;}
.tep26 .tep40-house-row.tep40-expanded>td:first-child {box-shadow:inset 3px 0 #c18b24;}
.tep26 .tep26-table .tep40-area-detail>td {padding:0 14px 12px;border-bottom:1px solid var(--tep26-line);box-shadow:inset 3px 0 #c18b24;background:#fffbf2;white-space:normal;text-align:left;}
.tep26 .tep40-area-detail[hidden] {display:none!important;}
.tep26 .tep40-composition {max-width:100%;min-width:0;padding:11px 2px 0;color:var(--tep26-ink);}
.tep26 .tep40-composition-heading {display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12px;}
.tep26 .tep40-composition-heading>span {font-size:11px;color:#657185;}
.tep26 .tep40-area-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 22px;margin:12px 0 10px;}
.tep26 .tep40-area-item {min-width:0;padding:0;}
.tep26 .tep40-area-item dt {display:flex;gap:7px;align-items:center;margin-bottom:5px;font-size:12px;line-height:1.3;color:#4f5c71;overflow-wrap:break-word;}
.tep26 .tep40-area-item dt i {width:9px;height:9px;flex:0 0 9px;border-radius:2px;}
.tep26 .tep40-area-item dd {display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;margin:0;padding-left:16px;}
.tep26 .tep40-area-item dd strong {font-size:14px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;}
.tep26 .tep40-area-item dd span {color:#677489;font-size:11px;white-space:nowrap;}
.tep26 .tep40-area-item.is-zero dd strong {color:#697484;font-weight:500;}
.tep26 .tep40-area-note {font-size:10px;color:#657185;line-height:1.5;}
.tep26 .tep40-area-warning {font-size:11px;margin-top:8px;border-left:3px solid #c18b24;padding:6px 9px;background:#fff1cb;color:#735016;}
.tep26 .tep-overview-detail-actions-extra {display:flex;gap:7px;flex-wrap:wrap;align-items:center;min-width:0;}
.tep26 .tep40-toggle-all {white-space:normal;line-height:1.3;text-align:center;}
@container (max-width:1050px) {
 .tep26 .tep40-area-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;}
}
@container (max-width:740px) {
 .tep26 .tep26-table.tep40-houses {min-width:0;}
 .tep26 .tep40-houses colgroup,.tep26 .tep40-houses thead {display:none;}
 .tep26 .tep40-houses,.tep26 .tep40-houses tbody {display:block;width:100%;}
 .tep26 .tep40-houses .tep40-house-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--tep26-line);padding:8px;gap:5px 12px;}
 .tep26 .tep40-houses .tep40-house-row td {display:block;border:0;box-shadow:none;text-align:left;white-space:normal;padding:3px 2px;font-size:11px;}
 .tep26 .tep40-houses .tep40-house-row td::before {content:attr(data-tep40-label);display:block;font-size:10px;color:#63708a;margin-bottom:2px;}
 .tep26 .tep40-houses .tep40-house-row td:nth-child(1) {display:none;}
 .tep26 .tep40-houses .tep40-house-row td:nth-child(2) {grid-column:1/-1;}
 .tep26 .tep40-houses .tep40-house-row td:nth-child(2)::before {display:none;}
 .tep26 .tep40-houses .tep40-house-row.tep40-expanded {background:#fffbf2;box-shadow:inset 3px 0 #c18b24;}
 .tep26 .tep40-houses .tep40-area-detail:not([hidden]),.tep26 .tep40-houses .tep40-area-detail>td {display:block;width:100%;}
 .tep26 .tep40-houses .tep40-area-detail>td {padding:0 14px 12px;}
}
@container (max-width:460px) {
 .tep26 .tep40-area-grid {grid-template-columns:minmax(0,1fr);}
}
@media (prefers-reduced-motion:reduce) {.tep26 .tep40-house-toggle>span {transition:none;}}
@media print {
 .tep26 .tep40-toggle-all,.tep26 .tep40-house-toggle {display:none!important;}
 .tep26 .tep26-table.tep40-houses {display:table;min-width:0;width:100%;}
 .tep26 .tep40-houses colgroup {display:table-column-group;}
 .tep26 .tep40-houses thead {display:table-header-group;}
 .tep26 .tep40-houses tbody {display:table-row-group;}
 .tep26 .tep40-houses .tep40-house-row,.tep26 .tep40-houses .tep40-area-detail:not([hidden]) {display:table-row;}
 .tep26 .tep40-houses .tep40-house-row td,.tep26 .tep40-houses .tep40-house-row td:nth-child(1),.tep26 .tep40-houses .tep40-area-detail>td {display:table-cell;}
 .tep26 .tep40-house-row td::before {display:none!important;}
 .tep26 .tep40-area-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
 .tep26 .tep40-area-detail {break-inside:avoid;}
}
/* A long bulk-action caption must wrap inside the panel, never set its width. */
.tep26 .tep-overview-detail-heading>.tep-overview-detail-actions,
.tep26 .tep26-detail-heading>.tep26-detail-actions {max-width:100%;flex:0 1 auto;}
.tep26 .tep-overview-detail-actions-extra {max-width:100%;}
