.home-temp-panel { overflow:hidden; }
.home-temp-header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 20px; border-bottom:1px solid var(--line,#dbe5e2); }
.home-temp-header h2 { margin:0; padding:0!important; border:0!important; font-size:20px; }
.home-temp-header button { min-height:36px; padding:7px 12px; background:#fff; color:#176c62; border:1px solid #bdd8d1; border-radius:8px; box-shadow:none; }
.home-temp-content { padding:18px; background:linear-gradient(#fff,#f7faf9); min-height:180px; }
.home-temp-outdoor { display:grid; grid-template-columns:1fr 1fr 1.2fr; align-items:center; gap:8px 18px; padding:15px 18px; margin-bottom:18px; border:1px solid #c7e2d9; border-radius:12px; background:#edf7f2; }
.home-temp-outdoor > div > span { display:block; font-size:13px; color:#5e746e; }
.home-temp-outdoor strong { display:block; font-size:29px; line-height:1.4; color:#126f63; font-variant-numeric:tabular-nums; }
.home-temp-panel small { margin-left:3px; font-size:11px; font-weight:500; }
.home-temp-outdoor-time { grid-column:1/3; color:#687e77; font-size:11px; }
.home-temp-forecast { grid-column:3; grid-row:1/3; align-self:stretch; padding-left:18px; border-left:1px solid #c7ded5; min-width:0; }
.home-temp-panel .home-temp-forecast h3 { text-align:left; margin:0 0 8px; font-size:14px; }
.home-temp-forecast-range { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.home-temp-forecast-range span { color:#5e746e; font-size:12px; }
.home-temp-panel .home-temp-forecast .home-temp-forecast-value { color:#126f63; font-size:25px; white-space:nowrap; }
.home-temp-forecast-meta,.home-temp-forecast-source { font-size:10px; line-height:1.8; color:#687e77; }
.home-temp-forecast-source { text-decoration:underline; }
.home-temp-panel .home-temp-forecast.is-stale .home-temp-forecast-value { color:#896437; }
.home-temp-map { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 136px; gap:12px; align-items:stretch; }
.home-temp-line { display:grid; gap:10px; min-width:0; }
.home-temp-line2 { grid-template-columns:minmax(0,1fr) 98px; }
.home-temp-line1 { grid-template-columns:98px minmax(0,1fr); }
.home-temp-farrowing,.home-temp-reserve,.home-temp-nursery { padding:12px 9px; border:2px solid #4d6860; border-radius:9px; background:rgba(255,255,255,.9); min-width:0; }
.home-temp-panel h3 { margin:0 0 12px; font-size:15px; line-height:1.4; text-align:center; color:#244b42; }
.home-temp-rooms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.home-temp-tile { display:flex; flex-direction:column; justify-content:center; min-width:0; padding:8px 5px; gap:4px; border:1px solid #bdd3cb; border-radius:7px; background:#f0f8f3; text-align:center; }
.home-temp-name { color:#314e45; font-size:12px; font-weight:650; }
.home-temp-value { color:#147463; font-size:21px; font-variant-numeric:tabular-nums; line-height:1.35; white-space:nowrap; }
.home-temp-read,.home-temp-quality { font-size:9px; line-height:1.5; color:#72837c; }
.home-temp-aisle { grid-column:1/-1; text-align:center; border-top:1px dashed #b8c7bf; border-bottom:1px dashed #b8c7bf; margin:4px 0; padding:5px 0; font-size:11px; color:#7b8b84; }
.home-temp-mating { padding:14px 6px; border:2px solid #55776b; background:linear-gradient(#e5f1e9,#f5faf6); gap:14px; }
.home-temp-mating .home-temp-name { font-size:16px; }
.home-temp-mating .home-temp-value { font-size:29px; }
.home-temp-mating .home-temp-read { font-size:10px; }
.home-temp-difference { font-size:11px; line-height:1.7; color:#6c8176; }
.home-temp-difference b { display:block; color:#347160; font-size:15px; }
.home-temp-other { display:flex; flex-direction:column; gap:12px; }
.home-temp-small-rooms { display:grid; gap:7px; }
.home-temp-panel .is-old { background:#f4f5f4; border-color:#cfd6d1; }
.home-temp-panel .is-old strong { color:#829087; }
.home-temp-quality { color:#896437; }
.home-temp-notice { margin:0 0 12px; padding:10px; border-radius:7px; background:#fff3de; color:#7b5a2c; font-size:12px; }
@media(max-width:900px) {
  .home-temp-map { grid-template-columns:1fr; gap:16px; }
  .home-temp-line2 { grid-template-columns:minmax(0,1fr) 112px; }
  .home-temp-line1 { grid-template-columns:112px minmax(0,1fr); }
  .home-temp-value { font-size:25px; }
  .home-temp-other { display:grid; grid-template-columns:1fr; }
  .home-temp-small-rooms { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-temp-tile { padding:10px 6px; }
  .home-temp-read { font-size:10px; }
}
@media(max-width:420px) {
  .home-temp-header { padding:15px 12px; }
  .home-temp-content { padding:12px; }
  .home-temp-outdoor { padding:12px; }
  .home-temp-line2 { grid-template-columns:minmax(0,1fr) 82px; gap:8px; }
  .home-temp-line1 { grid-template-columns:82px minmax(0,1fr); gap:8px; }
  .home-temp-farrowing { padding:10px 5px; }
  .home-temp-rooms { gap:5px; }
  .home-temp-tile { padding:7px 2px; }
  .home-temp-value { font-size:19px; }
  .home-temp-mating .home-temp-value { font-size:23px; }
  .home-temp-read { font-size:9px; }
  .home-temp-small-rooms { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
  .home-temp-outdoor { grid-template-columns:1fr 1fr; }
  .home-temp-forecast { grid-column:1/-1; grid-row:auto; margin-top:4px; padding:12px 0 0; border-left:0; border-top:1px solid #c7ded5; }
}
