/* Compress the page around the data without shrinking the plot itself. */
.project-page .header{height:64px}.project-page .container{padding-top:20px;padding-bottom:22px}.project-page .breadcrumb{font-size:12px;margin-bottom:10px;gap:8px}.project-page .page-heading{margin-bottom:16px;gap:14px}.project-page .page-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;width:100%}.project-page h1{font-size:30px;letter-spacing:-1px;line-height:1.2}.project-page .title-meta{margin-top:0;gap:7px}.project-page .title-meta .pill{padding:4px 8px;background:transparent;font-size:12px;border-color:#e0e6ef}.project-page .detail-layout{gap:12px}
.project-page .compact-toolbar{display:flex;align-items:flex-end;gap:14px;padding:12px 16px;margin-bottom:12px;overflow:visible}.source-control{flex:0 0 auto}.control-label{display:block;font-size:12px;color:#627187;margin-bottom:5px}.compact-toolbar .source-switch{padding:3px;gap:2px;border-radius:8px}.compact-toolbar .source-switch button{padding:8px 12px;min-height:38px;font-size:13px;gap:7px}.compact-toolbar .source-switch small{font-size:11px}.project-page .compact-toolbar .domrf-controls{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.25fr);flex:1;gap:12px;margin:0;min-width:0}.compact-toolbar .domrf-controls label{font-size:12px;gap:5px;min-width:0}.project-page .compact-toolbar .select-control{height:44px;min-width:0;width:100%;font-size:13px;padding-left:10px}.compact-toolbar .end-filter{display:flex;flex-direction:column;align-items:stretch;gap:5px;flex:0 0 166px;font-size:12px;color:#627187}.compact-toolbar .end-filter select{min-width:0;max-width:none}.compact-toolbar:has(#domrf-controls[hidden]) .end-filter{margin-left:auto}
.project-page .compact-quality{font-size:12px;color:#6b7d94;margin:0 0 9px;padding:0 2px}.compact-quality summary{cursor:pointer;line-height:1.8;list-style:none;display:flex;align-items:center;gap:7px}.compact-quality summary:before{content:'i';font-family:Georgia,serif;border:1px solid #b6c4d7;width:15px;height:15px;border-radius:50%;line-height:13px;text-align:center;flex-shrink:0;font-size:11px}.compact-quality summary:after{content:'Подробнее';color:#4e6a99;margin-left:5px;font-size:11px}.compact-quality[open] summary:after{content:'Свернуть'}.compact-quality summary::-webkit-details-marker{display:none}.compact-quality summary.quality-partial{color:#927048}.compact-quality .domrf-quality{padding:8px 12px;margin-top:6px;background:#f0f4f9;border-radius:6px;font-size:12px}.compact-quality[open]{margin-bottom:10px}
.project-page .wide-history .stat-cards{gap:0;border:1px solid #dde5ef;border-radius:10px;background:#fff;overflow:hidden;margin-bottom:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.project-page .wide-history .stat-card{padding:12px 18px;border:0;border-right:1px solid #e4eaf1;border-radius:0;background:transparent}.project-page .wide-history .stat-card:last-child{border-right:0}.project-page .stat-card .stat-title{margin:0 0 5px;font-size:12px;min-height:0}.project-page .wide-history .stat-number,.project-page .wide-history .price-stat .stat-number{font-size:27px;letter-spacing:-.7px;line-height:1.2}.project-page .wide-history .stat-caption{font-size:12px;margin-top:5px;line-height:1.5}.project-page .wide-history .price-stat{background:#f6fbf9}.project-page .price-stat .stat-number small{font-size:14px}
.project-page .wide-history .chart-panel{padding:16px 20px 0;margin-bottom:12px;box-shadow:0 4px 18px #213f6909;border-radius:10px}.project-page .wide-history .panel-top{margin-bottom:10px;gap:12px}.project-page .wide-history .panel-top h2{font-size:20px;letter-spacing:-.4px}.project-page .wide-history .section-subtitle{font-size:12px;margin-top:3px}.project-page .panel-top .select-control{height:38px;font-size:12px}.project-page .explorer-controls{padding-top:10px;gap:12px}.project-page .explorer-legend button{min-height:34px;padding:6px 10px;font-size:12px}.project-page .chart-view-switch{padding:3px}.project-page .chart-view-switch button{min-height:29px;font-size:12px;padding:4px 11px}.project-page .explorer-meta{margin-top:8px;font-size:11px}.project-page .plot-stage{margin-top:11px}
.project-page .chart-navigator{margin-top:9px}.project-page .navigator-heading{margin-bottom:5px}.project-page .navigator-track{height:34px}.project-page .navigator-window:before,.project-page .navigator-window:after{top:10px;height:12px}.project-page .navigator-bars{inset:5px 4px}.project-page .navigator-heading button{min-height:28px}.project-page .chart-navigator.no-overflow{margin-top:3px}.project-page .chart-navigator.no-overflow .navigator-heading,.project-page .chart-navigator.no-overflow .navigator-track{display:none}.project-page .navigator-dates{font-size:11px;padding-top:4px}
.project-page .month-inspector{margin:13px -20px 0;padding:14px 18px;gap:16px}.project-page .inspector-overline{display:none}.project-page .inspector-date strong{font-size:15px}.project-page .inspector-metric strong{font-size:24px}.project-page .inspector-date>span:last-child,.project-page .inspector-metric>span{font-size:12px;line-height:1.5}.project-page .inspector-source{font-size:12px;padding:9px 10px}.project-page .chart-method{margin:0 -20px;padding:10px 18px}.project-page .chart-method summary{font-size:12px;line-height:1.6}.project-page .wide-history #chart-notice{margin:0 -20px;padding:10px 18px}
.project-page .history-records{border-radius:9px;margin:0 0 10px}.history-records>summary{cursor:pointer;list-style:none;min-height:54px;padding:12px 18px;display:flex;gap:12px;align-items:center}.history-records>summary::-webkit-details-marker{display:none}.history-records>summary:after,.project-reference>summary:after{content:'＋';font-weight:500;font-size:20px;color:#7c8ca3;flex-shrink:0}.history-records[open]>summary:after,.project-reference[open]>summary:after{content:'−'}.history-records>summary .pill{margin-left:auto;font-size:12px;padding:4px 8px}.project-page .history-records h2{font-size:15px}.history-records[open]>summary{border-bottom:1px solid #e3e9f1}.project-page .history-table th{padding:10px 18px;font-size:12px}.project-page .history-table td{padding:10px 18px;font-size:13px}.project-page .history-table tr{scroll-margin-top:18px}.project-page .snapshot-note{font-size:12px;margin:8px 2px 12px;line-height:1.6}.project-page .project-reference{border-radius:9px}.project-reference>summary{list-style:none;cursor:pointer;font-size:14px;font-weight:650;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;min-height:52px}.project-reference>summary::-webkit-details-marker{display:none}.project-reference>.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 18px 16px}.project-reference .aside-box{border:0;border-radius:0;padding:12px 0;background:none;border-top:1px solid #e4eaf1}.project-reference .aside-label{margin-bottom:9px;font-size:11px}.project-reference .definition-list{gap:10px;grid-template-columns:1fr 1fr}.project-reference .aside-note{grid-column:1/-1}.project-reference .aside-box .text-link{margin-top:12px}.project-page .footer{margin-top:12px;padding-top:18px}
@media(max-width:1200px){.project-page .compact-toolbar{flex-wrap:wrap;gap:10px 14px}.compact-toolbar .source-control{order:0;flex:1}.compact-toolbar .end-filter{order:1}.project-page .compact-toolbar .domrf-controls{order:2;flex-basis:100%;grid-template-columns:minmax(160px,.7fr) minmax(230px,1.3fr)}.project-page .source-switch{width:fit-content}}
@media(max-width:700px){.project-page .header{height:60px}.project-page .container{padding:16px 14px}.project-page .header-inner{padding:0 14px;gap:16px}.project-page .breadcrumb{font-size:12px;margin-bottom:8px}.project-page .page-heading{margin-bottom:12px}.project-page .page-heading>div{gap:8px}.project-page h1{font-size:26px}.project-page .title-meta{gap:5px}.project-page .title-meta .pill{font-size:12px;padding:2px 6px}.project-page .compact-toolbar{padding:10px;gap:9px;margin-bottom:10px;display:grid;grid-template-columns:1fr 1fr}.compact-toolbar .source-control{grid-column:1/-1;order:0;min-width:0}.control-label{display:none}.project-page .source-switch{width:100%}.project-page .compact-toolbar .source-switch button{font-size:13px;min-height:44px;padding:7px 8px}.project-page .compact-toolbar .domrf-controls{display:contents}.compact-toolbar .domrf-controls label:first-child{order:1}.compact-toolbar .domrf-controls label:last-child{order:3;grid-column:1/-1}.compact-toolbar .end-filter{order:2;width:100%;margin:0;min-width:0}.project-page .compact-toolbar .select-control{height:44px;font-size:12px;padding-left:8px;padding-right:20px}.project-page .compact-toolbar .domrf-controls select{min-width:0}.compact-toolbar:has(#domrf-controls[hidden]) .end-filter{grid-column:1/-1;margin:0}.compact-toolbar .domrf-controls label,.compact-toolbar .end-filter{font-size:12px;gap:3px}.project-page .compact-quality{font-size:12px;margin-bottom:7px}.compact-quality summary{flex-wrap:wrap;gap:5px;line-height:1.5}.compact-quality summary:after{font-size:12px;margin-left:20px}.project-page .wide-history .stat-cards{grid-template-columns:1fr 1fr;margin-bottom:10px}.project-page .wide-history .stat-card{padding:10px 12px}.project-page .wide-history .stat-card:nth-child(2){border-right:0}.project-page .wide-history .stat-card:last-child{grid-column:1/-1;border-top:1px solid #e4eaf1;display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center}.project-page .stat-card:last-child .stat-caption{grid-column:1/-1;margin-top:3px}.project-page .wide-history .stat-number,.project-page .wide-history .price-stat .stat-number{font-size:25px}.project-page .wide-history .stat-caption{font-size:12px}.project-page .stat-card .stat-title{font-size:12px;line-height:1.4}.project-page .wide-history .chart-panel{padding:13px 12px 0}.project-page .wide-history .panel-top{gap:8px;margin-bottom:9px;flex-direction:row;align-items:center;flex-wrap:wrap}.project-page .wide-history .panel-top h2{font-size:18px}.project-page .panel-top>.select-control,.project-page .panel-top label .select-control{height:44px;max-width:100%;font-size:12px}.project-page .explorer-controls{padding-top:9px;gap:8px}.project-page .explorer-legend{gap:5px}.project-page .explorer-legend button{font-size:12px;min-height:44px;padding:6px 7px;gap:6px}.project-page .chart-view-switch button{min-height:38px;font-size:12px}.project-page .explorer-meta{font-size:12px;line-height:1.6;margin-top:7px}.project-page .plot-stage{margin-top:9px}.project-page .combined-axis-head{font-size:11px}.project-page .chart-navigator{margin-top:8px}.project-page .navigator-heading>output{font-size:12px}.project-page .navigator-heading button{min-height:44px;min-width:34px}.project-page .navigator-track{height:40px}.project-page .navigator-window:before,.project-page .navigator-window:after{top:12px}.project-page .month-inspector{margin:10px -12px 0;padding:12px;gap:12px}.project-page .inspector-date{padding-bottom:9px}.project-page .inspector-date strong{font-size:15px}.project-page .inspector-date>span:last-child{font-size:12px}.project-page .inspector-metric>span{font-size:12px}.project-page .inspector-metric strong,.project-page .inspector-metric .price-value{font-size:23px}.project-page .inspector-source{min-height:44px}.project-page .chart-method{margin:0 -12px;padding:10px 12px}.project-page .chart-method summary{font-size:12px}.project-page .chart-method p{font-size:12px}.project-page .wide-history #chart-notice{margin:0 -12px;padding:10px 12px}.project-page .history-records>summary{padding:11px 12px;min-height:52px}.project-page .history-records h2{font-size:14px}.history-records>summary .pill{font-size:11px;padding:3px 6px}.project-page .history-records .section-subtitle{font-size:12px}.project-page .history-table td,.project-page .history-table th{padding:9px 12px}.project-reference>.sidebar{grid-template-columns:1fr;padding:0 12px 12px;gap:10px}.project-reference .definition-list{grid-template-columns:1fr 1fr}.project-reference>summary{padding:12px}.project-page .snapshot-note{font-size:12px}.project-page .footer{margin-left:14px;margin-right:14px}}

.project-page .compact-toolbar .end-filter select{flex:0 0 44px;min-height:44px}
@media(max-width:700px){.compact-toolbar .end-filter{order:1}.compact-toolbar .domrf-controls label:first-child{order:2}.project-page .wide-history .panel-top{flex-wrap:nowrap;align-items:center}.project-page .wide-history .panel-top h2{font-size:16px;line-height:1.4}.project-page .wide-history .panel-top>div{min-width:0;flex:1}.project-page .wide-history .panel-top>.pill{display:none}.project-page .wide-history .panel-top label{flex:0 0 122px}.project-page .wide-history .panel-top label .select-control{width:122px;padding-left:8px;padding-right:22px}.project-page .wide-history .panel-top .section-subtitle{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.project-page .inspector-date>span:last-child{text-align:left}.project-page .inspector-date{grid-template-columns:1fr}.project-page .chart-navigator.no-overflow{display:none}}
/* The source choice now lives in the unified chart legend. */
.project-page .stats-context{font-size:11px;color:#6b7d94;margin:0 2px 7px}
.project-page #domrf-empty{padding:12px 16px;margin-bottom:12px;text-align:left;background:#f6f8fc;border:1px solid #dde5ef}
.project-page #domrf-empty h2{font-size:15px;margin-bottom:5px}
.project-page #domrf-empty p{font-size:12px;line-height:1.65;margin-bottom:7px}
.project-page #domrf-empty .btn{font-size:12px;padding:6px 10px}
.project-page .compact-toolbar .domrf-controls{order:0;flex-basis:auto;grid-template-columns:minmax(160px,.8fr) minmax(240px,1.4fr)}
.project-page .compact-toolbar .end-filter{order:1}
@media(max-width:700px){.project-page .compact-toolbar .domrf-controls{display:contents}.project-page .compact-toolbar .domrf-controls label:first-child{order:0}.project-page .compact-toolbar .domrf-controls label:last-child{order:2;grid-column:1/-1}.project-page .compact-toolbar .end-filter{order:1}.project-page .stats-context{font-size:11px}}

.housing-scope-note{margin:12px 0 16px;padding:12px 16px;border-left:3px solid #5374bf;background:#f0f4fc;border-radius:6px;color:#233f65;font-size:14px;line-height:1.5}.housing-scope-note p{margin:0}.housing-scope-note details{margin-top:6px}.housing-scope-note summary{cursor:pointer;font-weight:600}.housing-scope-note details p{margin:8px 0}.housing-scope-note a{color:inherit;text-decoration:underline}
