.market-trends-page{--color-primary: #055c52;--color-primary-shadow: rgba(5, 92, 82, .35);--color-cream: #fcf5e8;--color-text: #055c52;--mt-control-border: 1px solid var(--color-primary);--mt-control-radius: 6px;--mt-control-track-bg: rgba(252, 245, 232, .82);--mt-control-hover-bg: rgba(5, 92, 82, .08);--mt-control-selected-bg: var(--color-primary);--mt-control-selected-text: rgba(255, 255, 255, .98);--mt-control-selected-shadow: 0 2px 5px var(--color-primary-shadow);background:linear-gradient(135deg,#fdf8f0,#f4ede2)}.market-trends-main{max-width:960px;margin:0 auto;padding:1rem 1rem 2rem}.market-trends-hero h1{margin:0 0 .35rem;font-size:1.75rem;color:var(--color-primary, #055c52)}.market-trends-lead{margin:0 0 1.25rem;color:#055c52e6}.market-trends-filters{display:flex;flex-direction:column;gap:14px;padding:1rem;border-radius:12px;background:#fffcf7eb;border:1px solid rgba(5,92,82,.14);box-shadow:0 8px 24px #055c5214;margin-bottom:1.25rem}.mt-filter-field{display:flex;flex-direction:column;gap:6px;min-width:0}.mt-reset-btn{align-self:center;width:fit-content;min-width:5.5rem;margin-top:6px;padding:.55rem 1.35rem;border-radius:var(--mt-control-radius);border:var(--mt-control-border);background:var(--mt-control-selected-bg);color:var(--mt-control-selected-text);font-size:.95rem;font-weight:700;letter-spacing:.03em;cursor:pointer;box-shadow:var(--mt-control-selected-shadow);transition:background .15s ease,box-shadow .15s ease,transform .1s ease}.mt-reset-btn:hover{background:#0a6b60;box-shadow:0 3px 8px var(--color-primary-shadow)}.mt-reset-btn:active{transform:translateY(1px);box-shadow:0 1px 3px var(--color-primary-shadow)}.mt-reset-btn:focus-visible{outline:2px solid #0f685d;outline-offset:3px}.market-trends-label{font-size:.82rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#055c52bf}.market-trends-select{width:100%;padding:8px 32px 8px 10px;border:1px solid rgba(5,92,82,.25);border-radius:6px;background:linear-gradient(140deg,#fcf5e8e0,#fcf5e8a3);color:#055c52;font-size:14px;font-family:inherit;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23055C52' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:12px}.market-trends-select optgroup{font-weight:700;font-style:normal;color:#055c52d9;background:#fff}.market-trends-select option{font-weight:400;padding:.2em 0}.market-trends-page .mt-buy-rent-bar{display:flex;align-items:stretch;width:100%;max-width:200px}.market-trends-page .mt-buy-rent-bar .mode-nav-transaction-toggle{display:flex;flex:1 1 auto;width:100%;min-width:0;gap:6px;padding:3px;border:var(--mt-control-border);border-radius:var(--mt-control-radius);box-sizing:border-box;background:var(--mt-control-track-bg);align-items:center}.market-trends-page .mt-buy-rent-bar .mode-nav-transaction-toggle .toggle-btn{flex:1 1 0;min-width:0;min-inline-size:0;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0;border:none;background:transparent;padding:4px 12px;border-radius:var(--mt-control-radius);cursor:pointer;font-size:13.3px;font-weight:700;line-height:1.2;white-space:nowrap;color:var(--color-text);font-family:inherit;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.market-trends-page .mt-buy-rent-bar .mode-nav-transaction-toggle .toggle-btn:hover:not(.active){background:var(--mt-control-hover-bg)}.market-trends-page .mt-buy-rent-bar .mode-nav-transaction-toggle .toggle-btn.active{background:var(--mt-control-selected-bg);color:var(--mt-control-selected-text);box-shadow:var(--mt-control-selected-shadow)}.market-trends-page .mt-home-type-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;width:100%;align-items:stretch}.market-trends-page .mt-home-type-btn{box-sizing:border-box;margin:0;min-width:0;min-height:58px;height:100%;padding:5px 3px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:var(--mt-control-border);border-radius:var(--mt-control-radius);background:var(--mt-control-track-bg);cursor:pointer;color:var(--color-text);font:inherit;font-weight:700;transition:background .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}.market-trends-page .mt-home-type-btn[data-home-type=""]{justify-content:center}.market-trends-page .mt-home-type-btn img{width:26px;height:26px;max-width:26px;max-height:26px;object-fit:contain;flex-shrink:0;display:block}.market-trends-page .mt-home-type-btn__label{font-size:11px;font-weight:600;line-height:1.2;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-trends-page .mt-home-type-btn:hover:not(.selected){background:var(--mt-control-hover-bg)}.market-trends-page .mt-home-type-btn.selected{background:var(--mt-control-selected-bg);border-color:var(--color-primary);color:var(--mt-control-selected-text);box-shadow:var(--mt-control-selected-shadow)}.market-trends-page .mt-home-type-btn.selected .mt-home-type-btn__label{color:inherit;font-weight:700}.market-trends-page .mt-home-type-btn:focus-visible{outline:2px solid rgba(5,92,82,.5);outline-offset:1px}.market-trends-page .mt-count-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}.market-trends-page .mt-count-field{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:600;color:#055c52e0}.market-trends-page .mt-count-field__icon{flex-shrink:0;width:20px;height:20px;object-fit:contain}.market-trends-page .mt-count-field__text{flex-shrink:0}.market-trends-page .mt-count-select{flex:1 1 auto;min-width:0;padding:8px 32px 8px 10px;border:1px solid rgba(5,92,82,.25);border-radius:6px;background:linear-gradient(140deg,#fcf5e8e0,#fcf5e8a3);color:#055c52;font-size:14px;font-family:inherit;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23055C52' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:12px}.market-trends-chart-wrap{padding:1rem;border-radius:12px;background:#fff;border:1px solid rgba(5,92,82,.12);box-shadow:0 10px 28px #055c521a}.market-trends-chart-title{margin:0 0 .85rem;padding:0 .5rem;text-align:center;font-size:1.05rem;font-weight:600;line-height:1.4;color:#055c52;letter-spacing:.01em}.market-trends-chart-title[hidden]{display:none}.market-trends-status{margin:0 0 .75rem;font-size:.95rem;color:#055c52d9}.market-trends-status[hidden]{display:none;margin:0}.market-trends-chart-body{position:relative;width:100%;min-height:280px}.market-trends-chart-body canvas{width:100%;max-height:360px}.mt-duration-row{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:.65rem;padding-top:.5rem;border-top:1px solid rgba(5,92,82,.1)}.mt-duration-row[hidden]{display:none}.market-trends-page .mt-duration-pill{margin:0;padding:4px 10px;min-width:2.25rem;border:var(--mt-control-border);border-radius:var(--mt-control-radius);background:var(--mt-control-track-bg);color:var(--color-text);font-family:inherit;font-size:12px;font-weight:700;line-height:1.2;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.market-trends-page .mt-duration-pill:hover:not(.selected){background:var(--mt-control-hover-bg)}.market-trends-page .mt-duration-pill.selected{background:var(--mt-control-selected-bg);border-color:var(--color-primary);color:var(--mt-control-selected-text);box-shadow:var(--mt-control-selected-shadow)}.market-trends-page .mt-duration-pill:focus-visible{outline:2px solid rgba(5,92,82,.5);outline-offset:1px}.mt-kpi-section{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(5,92,82,.12)}.mt-kpi-section[hidden]{display:none}.mt-kpi-heading{margin:0 0 .65rem;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#055c52a6}.mt-kpi-rows{display:flex;flex-direction:column;gap:10px}.mt-kpi-grid{display:grid;gap:10px}.mt-kpi-grid--values{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-kpi-grid--changes{grid-template-columns:repeat(3,minmax(0,1fr))}.mt-kpi-card{display:flex;gap:10px;align-items:flex-start;min-width:0;padding:.75rem .7rem;border-radius:10px;border:1px solid rgba(5,92,82,.14);background:linear-gradient(145deg,#fcf5e88c,#fffffff2);box-shadow:0 4px 14px #055c520f}.mt-kpi-card__icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#055c5214;color:#055c52}.mt-kpi-card__icon svg{width:20px;height:20px;display:block}.mt-kpi-card--change .mt-kpi-card__icon{background:#0f685d1a}.mt-kpi-card__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.mt-kpi-card__label{font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#055c52b3;line-height:1.25}.mt-kpi-card__value{font-size:1.05rem;font-weight:700;color:#055c52;line-height:1.2;word-break:break-word}.mt-kpi-card__meta{font-size:.7rem;color:#055c528c;line-height:1.3}.mt-kpi-card__rows{display:flex;flex-direction:column;gap:4px;margin-top:2px}.mt-kpi-delta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:.8rem;line-height:1.25}.mt-kpi-delta__kind{font-weight:600;color:#055c52a6;flex-shrink:0}.mt-kpi-delta__value{font-weight:700;text-align:right}.mt-kpi-delta__value--up{color:#0a7a47}.mt-kpi-delta__value--down{color:#b42318}.mt-kpi-delta__value--flat{color:#055c528c}@media(max-width:640px){.mt-kpi-grid--values,.mt-kpi-grid--changes{grid-template-columns:1fr}.mt-kpi-card__value{font-size:.98rem}}@media(max-width:400px){.mt-kpi-card{padding:.65rem .75rem}}@media(max-width:520px){.market-trends-page .mt-count-row{grid-template-columns:1fr}.market-trends-page .mt-home-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market-trends-page .mt-home-type-btn{min-height:52px;padding:6px 4px 5px}.market-trends-page .mt-home-type-btn img{width:24px;height:24px;max-width:24px;max-height:24px}.market-trends-page .mt-home-type-btn__label{font-size:11px}}@media(max-width:360px){.market-trends-page .mt-buy-rent-bar{max-width:100%}.market-trends-page .mt-buy-rent-bar .mode-nav-transaction-toggle .toggle-btn{font-size:12px;padding:4px 8px}}
