.housing-price-widget{max-width:600px;margin:20px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.housing-price-widget h3{margin:0 0 15px;color:#333;font-size:1.2em;border-bottom:2px solid #e1e5e9;padding-bottom:8px}
.current-price-section{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:20px;border-left:4px solid #007cba}
.price-display{display:flex;align-items:baseline;gap:15px}
.main-price{font-size:2em;font-weight:700;color:#007cba}
.price-per-m2{font-size:1.1em;color:#666}
.lowest-price-section{background:#e8f5e8;padding:20px;border-radius:8px;margin-bottom:20px;border-left:4px solid #4caf50}
.lowest-price-info{display:flex;flex-direction:column;gap:5px}
.lowest-price{font-size:1.5em;font-weight:700;color:#4caf50}
.lowest-price-per-m2{color:#666;font-size:1em}
.price-date{color:#888;font-size:.9em}
.price-history-section{background:#fff;border:1px solid #e1e5e9;border-radius:8px;padding:20px}
.show-history-btn{background:#007cba;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-size:1em;transition:background-color .3s}
.show-history-btn:hover{background:#005a8b}
.price-history-container{margin-top:20px}
.price-history-list{display:flex;flex-direction:column;gap:15px}
.history-item{display:grid;grid-template-columns:120px 1fr auto auto;align-items:center;padding:15px;border:1px solid #e1e5e9;border-radius:5px;gap:15px}
.history-item.price-increase{border-left:4px solid #f44336;background:#fef2f2}
.history-item.price-decrease{border-left:4px solid #4caf50;background:#f0fdf4}
.history-item.price-same{border-left:4px solid #9e9e9e;background:#f9f9f9}
.history-date{font-size:.9em;color:#666;font-weight:500}
.history-price{font-weight:700;font-size:1.1em}
.history-price-per-m2{color:#666;font-size:.9em}
.price-change{display:flex;align-items:center;gap:5px;font-size:.9em;font-weight:700}
.price-increase .change-icon,.price-increase .change-percent{color:#f44336}
.price-decrease .change-icon,.price-decrease .change-percent{color:#4caf50}
.change-reason{grid-column:1/-1;font-size:.8em;color:#888;font-style:italic;margin-top:5px}
.loading{text-align:center;padding:20px;color:#666}
.error{color:#f44336;font-style:italic}
.no-data{color:#888;font-style:italic}
@media (max-width:600px){.history-item{grid-template-columns:1fr;text-align:left}.price-display{flex-direction:column;gap:8px}.main-price{font-size:1.8em}}