/* Shared compact weather; the AI overview is only shown on desktop. */
.home-overview { margin:0 0 14px; }
.home-overview[hidden] { display:none!important; }
.home-overview #weather { position:relative;margin:0;padding:12px 14px;border-radius:18px; }
#weather .weatherhead { min-height:38px;margin:0;padding-right:110px; }
#weather .weatherhead .eyebrow { display:none; }
#weather .weatherhead h2 { font-size:16px;line-height:1.3;margin:0; }
#weather #refresh { position:absolute;right:10px;top:6px;width:44px;min-height:44px;padding:0;font-size:18px; }
#weather .weatherbody { padding:5px 0 7px;gap:14px; }
#weather .weatherbody > div { min-width:0; }
#weather .weatherbody > div + div { padding-left:14px; }
#weather .reading { font-size:32px;line-height:1.15;margin:3px 0; }
#weather .reading small { font-size:15px; }
#weather .source { font-size:10px;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
#weather .condition { font-size:12px;line-height:1.35;margin:2px 0; }
#weather .weather-meta { font-size:10px;line-height:1.4;margin-top:3px; }
#weather .weatherfoot { margin-top:0;gap:8px;font-size:10px;line-height:1.4; }
#weather > details { margin:0;border:0;padding:0; }
#weather > details > summary { position:absolute;right:56px;top:6px;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 6px;font-size:11px;cursor:pointer;list-style:none; }
#weather > details > summary::-webkit-details-marker { display:none; }
#weather > details > summary::after { content:'⌄';margin-left:5px; }
#weather > details[open] > summary::after { content:'⌃'; }
#weather > details[open] { margin-top:12px;border-top:1px solid var(--line);padding-top:12px; }
.amethyst-app .weather-panel { border-radius:18px;margin-bottom:12px; }
.amethyst-app .weather-panel > summary { padding:12px 14px; }
.amethyst-app .weather-title { margin-bottom:6px; }
.amethyst-app .weather-reading { gap:12px; }
.amethyst-app .weather-reading > div + div { padding-left:12px; }
.amethyst-app .weather-reading strong { font-size:28px;margin:2px 0; }
.amethyst-app .weather-age { margin-top:2px; }
.ai-summary { display:none;min-width:0;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:18px;padding:12px 16px; }
html[data-amethyst-browser="throne"] .ai-summary { background:linear-gradient(120deg,#1e1f24,#111215 75%);border-color:#38363f; }
.ai-summary header { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px; }
.ai-summary h2 { font-size:16px;line-height:1.3;margin:0; }
.ai-summary .ai-subtitle { display:block;font-size:10px;color:var(--muted);margin-top:3px; }
.ai-summary .ai-all { min-height:44px;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--accent);text-decoration:none;white-space:nowrap; }
.ai-summary a:focus-visible, #weather summary:focus-visible { outline:2px solid var(--accent);outline-offset:3px;border-radius:5px; }
.ai-metrics { display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px; }
.ai-metric { min-width:0; }
.ai-metric + .ai-metric { border-left:1px solid var(--line);padding-left:12px; }
.ai-metric span { display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted); }
.ai-metric strong { display:block;font-size:23px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap; }
.ai-metric small { display:block;font-size:10px;color:var(--muted);line-height:1.4;min-height:14px; }
.ai-jobs { display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line); }
.ai-jobs > div { min-width:0; }
.ai-jobs h3 { display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:500;margin:0 0 5px;color:var(--muted); }
.ai-jobs h3 span { font-size:10px; }
.ai-jobs ul { list-style:none;margin:0;padding:0; }
.ai-jobs li { display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-height:19px;font-size:11px;line-height:1.5; }
.ai-jobs li > span { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.ai-jobs li small { flex-shrink:0;color:var(--muted);font-size:10px; }
.ai-jobs li[data-verdict="ready"] small { color:#90d7b0; }
.ai-jobs li[data-verdict="needs a look"] small { color:#e5c67e; }
.ai-summary footer { display:flex;gap:8px;justify-content:space-between;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.4; }
.ai-summary[data-state="stale"] #ai-state,.ai-summary[data-state="offline"] #ai-state { color:#e5c67e; }
@media (min-width:701px) and (hover:hover) and (pointer:fine) {
  .home-overview { display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:14px;align-items:start; }
  .ai-summary { display:block; }
}
@media (max-width:480px) {
  .home-overview #weather { padding:10px 12px; }
  #weather .weatherhead h2 { font-size:14px; }
  #weather .weatherbody { gap:10px; }
  #weather .reading { font-size:30px; }
  #weather .weatherfoot > span:last-child { display:none; }
}
