/* v0.9.26: shared layout for application and standalone HTML. */
.tep26 {--tep26-ink:#19263f;--tep26-muted:#6e82a3;--tep26-line:#dce4f0;--tep26-gold:#c18b24;color:var(--tep26-ink);font-family:"Segoe UI",Arial,sans-serif;container-type:inline-size;min-width:0;max-width:100%;}
#tab-tep .tep26.tep-overview-card {background:transparent;border:0;box-shadow:none;margin:0;padding:16px 0;}
.tep26 *, .tep26 *::before, .tep26 *::after {box-sizing:border-box;}
.tep26 [hidden],.tep26 .hidden {display:none!important;}
.tep26 .tep26-btn,.tep26 .button {border:1px solid var(--tep26-line);background:#fff;color:var(--tep26-ink);border-radius:7px;padding:9px 12px;font:600 11px/1.25 "Segoe UI",Arial,sans-serif;cursor:pointer;min-height:36px;white-space:nowrap;}
.tep26 button:disabled {opacity:.45;cursor:default;}
.tep26 button:not(:disabled):hover {border-color:#c9a050;}
.tep26 button:focus-visible,.tep26 input:focus-visible,.tep26 select:focus-visible {outline:2px solid #b98927;outline-offset:2px;}
.tep26 .tep-overview-heading,.tep26 .tep26-heading {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:0;margin:0 0 14px;}
.tep26 .tep-overview-heading h2,.tep26 .tep26-heading h2 {font-size:25px;line-height:1.2;color:var(--tep26-ink);margin:3px 0 6px;font-weight:700;}
.tep26 .tep-overview-heading p,.tep26 .tep26-heading p {font-size:12px;line-height:1.45;margin:0;color:var(--tep26-muted);max-width:none;}
.tep26 .section-eyebrow {color:#586e91;font-size:10px;letter-spacing:.025em;font-weight:700;}
.tep26 .tep26-filters {display:grid;grid-template-columns:1.1fr 1.45fr 1fr 165px 198px 164px 126px;align-items:end;gap:10px;margin:0;padding:12px 14px;background:#fff;border:1px solid var(--tep26-line);border-radius:8px;min-width:0;}
.tep26 .tep26-field {display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;font-weight:500;}
.tep26 .tep26-field>span:first-child {color:var(--tep26-muted);font-size:11px;line-height:1.2;}
.tep26 .tep26-field input,.tep26 .tep26-field select {height:36px;min-height:36px;width:100%;min-width:0;max-width:100%;border:1px solid #d3dbe7;border-radius:6px;padding:6px 9px;background:#fafbfc;color:var(--tep26-ink);font:500 11px "Segoe UI",Arial,sans-serif;}
.tep26 .tep26-field select {padding-right:24px;}
.tep26 .tep26-field input:disabled {background:#f2f3f5;color:#9ca6b5;}
.tep26 .tep26-segments {display:flex;padding:2px;border:1px solid var(--tep26-line);border-radius:6px;background:#fafbfd;min-height:36px;gap:1px;width:100%;}
.tep26 .tep26-segments button {flex:1;min-width:0;white-space:nowrap;border:1px solid transparent;border-radius:4px;background:transparent;padding:5px 7px;color:#566984;font:500 11px "Segoe UI",Arial,sans-serif;cursor:pointer;}
.tep26 .tep26-segments button.active {border-color:#e6bf74;background:#fff5df;color:#916014;font-weight:700;}
.tep26 .tep26-date-fields {display:flex;gap:8px;min-width:0;}
.tep26 .tep26-date-fields>label {flex:1;min-width:0;}
.tep26 .tep26-filters.is-period {grid-template-columns:minmax(70px,1fr) minmax(90px,1.1fr) minmax(65px,.9fr) 165px 198px 270px 126px;}
.tep26 .tep-overview-active-slice,.tep26 .tep26-active {display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:10px;margin:8px 0 10px;padding:7px 11px;border:0;border-radius:7px;background:#fff9ec;font-size:11px;min-height:39px;}
.tep26 .tep-overview-filter-chips,.tep26 .tep26-chips {display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;}
.tep26 .tep26-chips>strong {font-size:11px;white-space:nowrap;}
.tep26 .tep26-chip,.tep26 .tep-overview-filter-chip {display:inline-flex;gap:7px;align-items:center;font:500 11px "Segoe UI",Arial,sans-serif;padding:4px 9px;max-width:100%;border:1px solid #edcf94;border-radius:20px;background:#fff;color:#95651c;cursor:pointer;}
.tep26 .tep26-chip span {overflow-wrap:anywhere;min-width:0;}
.tep26 .tep26-active .tep26-btn,.tep26 .tep-overview-active-slice .tep26-btn {min-height:27px;padding:5px 8px;}
.tep26 .tep26-kpis,#tab-tep .project-kpis.tep-overview-kpis.tep26-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.4fr) minmax(0,2.6fr);gap:10px;margin:0 0 10px;padding:0;}
.tep26 .tep26-kpi {position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:94px;padding:13px 14px;text-align:left;border:1px solid var(--tep26-line);border-radius:7px;background:#fff;color:var(--tep26-ink);font:inherit;box-shadow:0 2px 5px #1b386008;cursor:pointer;}
.tep26 .tep26-kpi.active {border-color:#c6d7ef;box-shadow:0 2px 7px #1b38600a;}
.tep26 .tep26-label {font-size:11px;line-height:1.25;color:#566f96;padding-right:17px;}
.tep26 .tep26-value {font-size:22px;line-height:1.15;font-weight:700;letter-spacing:-.4px;white-space:nowrap;}
.tep26 .tep26-kpi-areas .tep26-value {font-size:20px;}
.tep26 .tep26-meta {font-size:10px;line-height:1.25;color:var(--tep26-muted);}
.tep26 .tep26-icon {position:absolute;right:13px;top:35px;width:23px;height:23px;color:#8098bc;}
.tep26 .tep26-kpi-areas .tep26-icon,.tep26 .tep26-calendar .tep26-icon {width:15px;height:15px;top:12px;}
.tep26 .tep26-calendar-pair {display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0;}
.tep26 .tep26-calendar-pair>span {display:flex;flex-direction:column;min-width:0;gap:3px;}
.tep26 .tep26-calendar-pair>span+span {border-left:1px solid var(--tep26-line);padding-left:12px;}
.tep26 .tep26-calendar-pair small {font-size:10px;line-height:1.2;color:var(--tep26-muted);}
.tep26 .tep26-calendar-pair strong {font-size:17px;line-height:1.2;white-space:nowrap;letter-spacing:-.2px;}
.tep26 .tep26-analytics,.tep26 .tep-overview-analytics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 10px;}
.tep26 .tep26-analytic {display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px 15px;background:#fff;border:1px solid var(--tep26-line);border-radius:7px;color:var(--tep26-ink);text-align:left;cursor:pointer;font:inherit;}
.tep26 .tep26-analytic-head {display:flex;justify-content:space-between;align-items:baseline;gap:9px;flex-wrap:wrap;}
.tep26 .tep26-analytic-head>strong {font-size:14px;}
.tep26 .tep26-analytic-head>span {font-size:11px;color:var(--tep26-muted);}
.tep26 .tep26-analytic-head b {color:var(--tep26-ink);}
.tep26 .tep26-bar {display:flex;height:16px;min-height:16px;width:100%;overflow:hidden;border-radius:6px;background:#edf1f6;}
.tep26 .tep26-bar>span {min-width:0;height:100%;}
.tep26 .tep26-legend {display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px;}
.tep26 .tep26-legend-item {display:flex;gap:7px;min-width:0;}
.tep26 .tep26-legend-item>i {display:block;width:11px;height:11px;border-radius:2px;flex:0 0 11px;margin-top:3px;}
.tep26 .tep26-legend-item>span {display:flex;flex-direction:column;gap:4px;min-width:0;}
.tep26 .tep26-legend-name {font-size:11px;line-height:1.35;color:#566f96;overflow-wrap:break-word;}
.tep26 .tep26-legend-name b {color:var(--tep26-ink);margin-left:4px;white-space:nowrap;}
.tep26 .tep26-legend-area {font-size:11px;white-space:nowrap;color:var(--tep26-muted);}
.tep26 .tep-area-apartments,.tep26 .tep-class-tone-1 {background:#4b83c4;}
.tep26 .tep-area-commercial {background:#e4c58a;}
.tep26 .tep-area-parking,.tep26 .tep-class-tone-2 {background:#65a47f;}
.tep26 .tep-area-storage,.tep26 .tep-class-tone-4 {background:#c0b8eb;}
.tep26 .tep-area-other,.tep26 .tep-class-tone-5 {background:#8a9ba9;}
.tep26 .tep-class-tone-3 {background:#c18b24;}
.tep26 .tep-class-tone-6 {background:#b77985;}
.tep26 .tep-overview-detail-panel,.tep26 .tep26-detail {margin:0;padding:12px 15px;background:#fff;border:1px solid var(--tep26-line);border-radius:7px;}
.tep26 .tep-overview-detail-heading,.tep26 .tep26-detail-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-direction:row;margin:0 0 10px;}
.tep26 .tep-overview-detail-heading>div:first-child,.tep26 .tep26-detail-heading>div:first-child {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;min-width:0;}
.tep26 .tep-overview-detail-heading h3,.tep26 .tep26-detail-heading h3 {margin:0;font-size:16px;line-height:1.3;color:var(--tep26-ink);}
.tep26 .tep-overview-detail-heading p,.tep26 .tep26-detail-heading p {margin:0;color:var(--tep26-muted);font-size:11px;}
.tep26 .tep-overview-detail-heading .section-eyebrow {display:none;}
.tep26 .tep-overview-detail-actions,.tep26 .tep26-detail-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;min-width:0;}
.tep26 .tep26-detail-actions .tep26-btn {min-height:34px;}
.tep26 .tep26-table-wrap {max-width:100%;border:1px solid var(--tep26-line);border-radius:7px;overflow:hidden;}
.tep26 .tep26-table {table-layout:fixed;border-collapse:collapse;width:100%;min-width:0;font:11px/1.35 "Segoe UI",Arial,sans-serif;color:#344a6e;}
.tep26 .tep26-table th,.tep26 .tep26-table td {padding:7px 10px;border:0;border-bottom:1px solid #e7ecf4;text-align:left;vertical-align:middle;white-space:normal;overflow-wrap:break-word;}
.tep26 .tep26-table th {font-size:10px;font-weight:650;background:#f4f6f9;color:#53698c;}
.tep26 .tep26-table tr:last-child td {border-bottom:0;}
.tep26 .tep26-table td strong {color:var(--tep26-ink);font-weight:650;}
.tep26 .tep26-table .numeric-cell {text-align:right;white-space:nowrap;}
.tep26 .tep26-table .tep26-date-cell {white-space:nowrap;font-variant-numeric:tabular-nums;}
.tep26 .tep26-muted,.tep26 .tep26-empty {color:var(--tep26-muted);}
.tep26 .tep26-empty {padding:18px;font-size:12px;text-align:center;}
.tep26 .tep-overview-detail-navigation {margin:0 0 10px;padding:0 0 8px;border-bottom:1px solid var(--tep26-line);}
.tep26 .tep-overview-detail-breadcrumb {font-size:10px;}
.tep26 .tep-overview-detail-table {min-width:0;}
.tep26 .tep-overview-detail-table th,.tep26 .tep-overview-detail-table td {overflow-wrap:break-word;}
@container (max-width:1390px) {
 .tep26 .tep26-filters,.tep26 .tep26-filters.is-period {grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto auto;}
 .tep26 .tep26-className {grid-column:1/4;grid-row:1;}
 .tep26 .tep26-objectTypeId {grid-column:4/8;grid-row:1;}
 .tep26 .tep26-contourNo {grid-column:8/11;grid-row:1;}
 .tep26 .tep26-reset {grid-column:11/13;grid-row:1;position:static;align-self:end;}
 .tep26 .tep26-dateMetric {grid-column:1/4;grid-row:2;}
 .tep26 .tep26-dateMode {grid-column:4/8;grid-row:2;}
 .tep26 .tep26-date-fields {grid-column:8/13;grid-row:2;}
 .tep26 .tep26-kpi {padding:12px 10px;}
 .tep26 .tep26-calendar-pair strong {font-size:15px;}
 .tep26 .tep26-kpi-areas .tep26-value {font-size:18px;}
}
@container (max-width:1100px) {
 .tep26 .tep26-kpis,#tab-tep .project-kpis.tep-overview-kpis.tep26-kpis {grid-template-columns:repeat(4,minmax(0,1fr));}
 .tep26 .tep26-kpi-areas,.tep26 .tep26-calendar {grid-column:span 2;}
 .tep26 .tep26-kpi {min-height:80px;}
 .tep26 .tep26-detail-heading,.tep26 .tep-overview-detail-heading {flex-wrap:wrap;}
 .tep26 .tep26-detail-actions,.tep26 .tep-overview-detail-actions {flex-wrap:wrap;}
 .tep26 .tep26-table th,.tep26 .tep26-table td {padding:7px 6px;font-size:10px;}
}
@container (max-width:740px) {
 .tep26 .tep26-filters,.tep26 .tep26-filters.is-period {display:flex;flex-wrap:wrap;}
 .tep26 .tep26-filters>.tep26-field {flex:1 1 42%;}
 .tep26 .tep26-filters>.tep26-date-fields {flex:1 1 100%;}
 .tep26 .tep26-reset {margin-left:auto;position:static;}
 .tep26 .tep26-analytics,.tep26 .tep-overview-analytics {grid-template-columns:1fr;}
 .tep26 .tep26-kpis,#tab-tep .project-kpis.tep-overview-kpis.tep26-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}
 .tep26 .tep26-kpi-areas {grid-column:auto;}
 .tep26 .tep26-calendar {grid-column:1/-1;}
 .tep26 .tep-overview-heading,.tep26 .tep26-heading {align-items:flex-start;flex-direction:column;}
 .tep26 .tep26-active,.tep26 .tep-overview-active-slice {flex-wrap:wrap;}
 .tep26 .tep26-table-wrap {overflow-x:auto;}
 .tep26 .tep26-houses {min-width:690px;}
}
@media print {
 .tep26 {container-type:normal;}
 .tep26 .tep26-filters,.tep26 .tep26-detail-actions,.tep26 .tep-overview-detail-actions,.tep26 .tep-overview-detail-navigation,.tep26 .tep26-heading>.tep26-btn,.tep26 .tep26-active>.tep26-btn {display:none!important;}
 .tep26 .tep26-chip {border:0;background:transparent;padding:0 3px;color:#333;}
 .tep26 [data-tep-overview-clear-filter] b {display:none;}
 .tep26 .tep26-kpis {grid-template-columns:repeat(4,minmax(0,1fr)) 1.5fr 2.5fr!important;gap:5px;}
 .tep26 .tep26-kpi {min-height:78px;padding:7px;break-inside:avoid;}
 .tep26 .tep26-value {font-size:17px;}
 .tep26 .tep26-calendar-pair strong {font-size:12px;}
 .tep26 .tep26-icon {display:none;}
 .tep26 .tep26-analytics {grid-template-columns:repeat(2,minmax(0,1fr));}
 .tep26 .tep26-table {min-width:0;font-size:9px;}
 .tep26 .tep26-table thead {display:table-header-group;}
 .tep26 .tep26-table tr {break-inside:avoid;}
 .tep26 .tep26-bar,.tep26 .tep26-legend i {print-color-adjust:exact;-webkit-print-color-adjust:exact;}
}

/* The page and overview must not repeat the same title. Wizard stays with the editable type section. */
#tab-tep > .tep-page-heading {display:none;}

/* Keep the TEP analytics usable below the legacy desktop shell's 1120 px minimum. */
@media screen and (max-width:1119px) {
 #tab-tep .tep26.tep-overview-card {max-width:min(100%,calc(100vw - var(--sidebar-width,284px) - 78px));}
}
.tep26 .tep26-dateMetric .tep26-segments button {padding-left:4px;padding-right:4px;}
.tep26 .tep26-dateMetric [data-tep-overview-filter-value="IN_PROGRESS"] {flex:1.8;}
