/* Personal home: a compact, source-aware entrance to Audi's existing rooms. */
:root { --muted:#b2bdd0; --home-action-fill:#e2c98f; --home-action-hover:#f4e1b2; --home-action-pressed:#cfb475; --home-action-ink:#101827; }
[hidden] { display:none!important; }
.reveal { opacity:1; transform:none; }
.hero { min-height:0; padding:58px 0 42px; gap:56px; grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr); }
.hero h1 { font-size:clamp(2.6rem,4.8vw,4.4rem); letter-spacing:-.03em; }
.hero-intro { margin-top:20px; font-size:1rem; max-width:52ch; }
.hero-actions { margin-top:24px; }
.hero-desk { min-height:260px; padding:24px; border-radius:18px; transform:none; box-shadow:0 20px 60px #0005; }
.hero-desk::before,.hero-desk::after { display:none; }
.desk-avatar { width:56px; height:56px; flex-basis:56px; border-radius:18px; }
.desk-note h2 { font-size:1.8rem; max-width:20ch; }
.desk-top { gap:12px; }
.desk-date strong { font-family:var(--font-body); font-size:.95rem; }
.north-star { top:0; left:65%; transform:scale(.5); }
.hero .eyebrow { margin-bottom:16px; }
.home-launchpad { width:var(--content); margin:0 auto 42px; padding:24px; background:#0b1529; border:1px solid #344057; border-radius:18px; }
.home-line { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.home-line h2,.home-line h3 { margin:0; font-family:var(--font-body); font-size:1.1rem; }
.home-hint { color:var(--muted); font-size:.85rem; margin:6px 0 14px; }
.home-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 14px; border:1px solid #71809a; border-radius:9px; color:#f0f0f5; background:#15223a; font:600 .88rem var(--font-body); cursor:pointer; text-decoration:none; transition:background 180ms ease,border-color 180ms ease; }
.home-button:hover,.home-button:focus-visible { background:#26364f; border-color:#e2c98f; }
.home-button:disabled { opacity:.6; cursor:wait; }
.home-button.primary { color:var(--home-action-ink); background:var(--home-action-fill); border-color:var(--home-action-fill); font-weight:700; }
.home-button.primary:hover { color:var(--home-action-ink); background:var(--home-action-hover); border-color:var(--home-action-hover); }
.home-button:focus-visible { outline:3px solid var(--home-action-hover); outline-offset:4px; }
.home-button.primary:active { background:var(--home-action-pressed); border-color:var(--home-action-pressed); }
.home-pins { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.home-pins a { display:inline-flex; align-items:center; gap:9px; padding:10px 16px; border:1px solid var(--home-action-fill); background:#111e34; color:var(--home-action-hover); border-radius:10px; min-height:46px; font-weight:600; text-decoration:none; transition:transform 180ms ease,border-color 180ms ease,background 180ms ease,color 180ms ease; }
.home-pins a:hover { transform:translateY(-2px); background:var(--home-action-fill); color:var(--home-action-ink); }
.home-recent { display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center; padding-top:14px; margin-top:16px; border-top:1px solid #344057; font-size:.85rem; color:var(--muted); }
.home-recent a { color:#d8e6fc; text-underline-offset:4px; }
.home-pin-editor { padding:16px 0 4px; border-top:1px solid #344057; }
.home-pin-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:12px 0 16px; }
.home-pin-options label { display:flex; gap:9px; align-items:center; min-height:44px; font-size:.88rem; cursor:pointer; }
.home-pin-options input { width:18px; height:18px; accent-color:#e2c98f; }
.home-toolbar { display:flex; gap:14px; align-items:end; flex-wrap:wrap; margin:24px 0; }
.home-search { flex:1 1 280px; }
.home-search label { display:block; font-size:.85rem; margin-bottom:7px; color:#d2dbea; }
.home-search input { width:100%; min-height:48px; border:1px solid #526078; border-radius:10px; background:#0b1529; color:#fff; padding:12px 16px; font:1rem var(--font-body); }
.home-search input::placeholder { color:#aebbd0; }
.home-jumps { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.home-jumps a { display:inline-flex; align-items:center; font-size:.85rem; text-decoration:none; color:var(--home-action-hover); padding:9px 12px; border-radius:8px; border:1px solid var(--home-action-fill); min-height:44px; }
.home-jumps a:hover { color:var(--home-action-ink); background:var(--home-action-fill); }
.section { padding:52px 0; }
.section-head { gap:24px; margin-bottom:20px; }
.section-title { font-size:clamp(1.85rem,3vw,2.7rem); }
.workspace-group { grid-template-columns:200px minmax(0,1fr); gap:32px; scroll-margin-top:110px; }
.workspace-group + .workspace-group { margin-top:40px; }
.workspace-group-title { font-size:1.6rem; line-height:1.2; }
.workspace-group-tag { font-size:.7rem; letter-spacing:.07em; }
.workspace-group-head::before { height:1px; box-shadow:none; }
.workspace-group-count { font-family:var(--font-body); font-style:normal; font-size:.8rem; color:var(--accent); }
.workspace-list { background:#0a1325; border:1px solid #344057; border-radius:14px; padding:0 20px; }
.workspace-list::before { display:none; }
.workspace-row { min-height:74px; padding:15px 0; gap:12px; grid-template-columns:24px minmax(0,1fr) auto; }
.workspace-row:last-child { border-bottom:0; }
.workspace-row::after { display:none; }
.workspace-name strong { font-family:var(--font-body); font-size:1rem; font-weight:650; gap:10px; }
.workspace-name > span { padding-left:40px; font-size:.83rem; }
.workspace-icon { width:30px; height:30px; flex-basis:30px; border-radius:8px; box-shadow:none; }
.workspace-meta { gap:10px; }
.workspace-meta .status-label { font-size:.68rem; }
.workspace-meta .status-label::before { display:none; }
.workspace-index { font-family:var(--font-body); font-style:normal; font-size:.75rem; }
.home-preview { padding:22px 0; border-bottom:1px solid #344057; }
.home-preview .home-line { margin-bottom:12px; }
.home-preview h4 { margin:0; color:var(--accent); font:650 .9rem var(--font-body); }
.home-stamp { color:#b2bdd0; font-size:.76rem; }
.home-feed { display:grid; gap:12px; }
.home-feed-item { display:grid; gap:5px; text-decoration:none; padding:8px 0; overflow-wrap:anywhere; }
.home-feed-item strong { color:#f3f5fa; font-size:1rem; line-height:1.5; font-weight:600; }
.home-feed-item small { color:#b2bdd0; font-size:.8rem; line-height:1.5; }
a.home-feed-item:hover strong { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.home-feed-item + .home-feed-item { border-top:1px solid #27344a; padding-top:13px; }
.home-feed .home-feed-item:first-child strong { font-size:1.18rem; }
.home-empty { margin:8px 0; color:#b9c4d6; font-size:.92rem; line-height:1.65; }
.home-private-note { padding:10px 14px; background:#111e34; border-radius:8px; color:#c2cde0; font-size:.82rem; margin:16px 0; }
.home-subgrid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.home-subgrid > div { min-width:0; }
.home-subgrid h5 { margin:0 0 8px; color:#d7e0ee; font:600 .85rem var(--font-body); }
.home-metric { font-size:1.5rem; font-weight:700; color:#f4e1b2; margin:0; line-height:1.4; }
.home-metric small { display:block; font-size:.8rem; color:#bac6d8; font-weight:400; margin-top:5px; }
.home-tone-attention { color:#f4d087!important; }
.home-toast { position:fixed; bottom:22px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100vw - 32px); z-index:90; display:flex; align-items:center; gap:14px; padding:12px 16px; color:#f5f7fa; background:#1b2d47; border:1px solid #8b9bb5; border-radius:12px; box-shadow:0 12px 40px #0008; }
.home-toast p { margin:0; }
.group-products { --accent:#e2c98f; --accent-rgb:226,201,143; }
.home-privacy-toggle[aria-pressed="true"] { border-color:#e2c98f; color:#f4e1b2; }
.home-loading { color:#b9c4d6; padding:12px 0; }
.public-card { border-color:#60708b; }
#spaces { scroll-margin-top:96px; }
.home-work-details { margin:14px 0 22px; border:1px solid #344057; border-radius:9px; }
.home-work-details summary { cursor:pointer; color:#d8e2f2; min-height:44px; padding:10px 12px; font-size:.88rem; }
.home-work-details .home-feed { padding:0 12px 12px; }
@media (max-width:850px) { .hero { gap:24px; } .workspace-group { grid-template-columns:160px minmax(0,1fr); gap:20px; } .workspace-meta .status-label { display:none; } .home-pin-options { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px) {
  .hero { grid-template-columns:1fr; padding:34px 0 28px; gap:26px; } .hero h1 { font-size:2.8rem; } .hero-desk { min-height:0; gap:16px; padding:18px; } .desk-note h2 { font-size:1.3rem; max-width:none; } .desk-note small { display:none; } .desk-footer { padding-top:12px; } .desk-avatar { width:44px; height:44px; flex-basis:44px; border-radius:14px; } .hero-intro { margin-top:16px; } .home-launchpad { padding:18px; margin-bottom:28px; } .home-pins { gap:8px; } .home-pins a { flex:1 1 calc(50% - 8px); font-size:.85rem; padding:10px; } .home-pin-options { grid-template-columns:1fr 1fr; } .section { padding:34px 0; } .section-head { grid-template-columns:1fr; gap:14px; } .section-copy { font-size:.9rem; } .workspace-group { grid-template-columns:1fr; gap:16px; } .workspace-group-head { padding:0; } .workspace-group-head::before,.workspace-group-tag,.workspace-group-count { display:none; } .workspace-group-title { font-size:1.45rem; margin:0; } .workspace-group-note { max-width:none; margin:6px 0 0; } .workspace-list { padding:0 16px; } .workspace-name > span { padding-left:0; } .workspace-row { grid-template-columns:minmax(0,1fr) auto; } .workspace-index { display:none; } .home-subgrid { grid-template-columns:1fr; gap:18px; } .home-toolbar { gap:10px; } .home-toolbar .home-button { flex:1; } .home-jumps { gap:6px; } .home-jumps a { min-height:44px; padding:10px; } .home-toast { bottom:12px; flex-wrap:wrap; } .home-line { gap:10px; } .about-strip { padding:42px 0; } .public-card.finance { min-height:340px; } .home-feed .home-feed-item:first-child strong { font-size:1.06rem; }
}
@media (prefers-reduced-motion:reduce) { .home-pins a:hover { transform:none; } }

/* Each preview has its own reading order: value/action, context, then source. */
.workspace-group + .workspace-group { margin-top:56px; }
.workspace-list { background:transparent; border:0; padding:0; }
.workspace-group-title { font-size:1.85rem; }
.home-preview { padding:26px; margin-bottom:12px; border:1px solid #46516a; border-radius:16px; background:#101b2e; }
.home-preview .home-line { align-items:baseline; margin-bottom:24px; gap:8px 18px; }
.home-preview h4 { font-size:1.06rem; color:#e7edf8; font-weight:650; }
.home-stamp { font-size:.8rem; }
.home-subgrid { gap:28px; margin-top:24px; }
.home-subgrid h5 { font-size:.9rem; color:var(--accent); margin-bottom:18px; }
.home-feed .home-feed-item:first-child strong { font-size:1.22rem; }
.home-feed-item { padding:10px 0; gap:10px; }
.home-feed-item strong { line-height:1.45; }
.home-feed-item small { font-size:.86rem; }
.home-feed-item + .home-feed-item { padding-top:20px; }
.home-preview a:focus-visible { outline:2px solid #e2c98f; outline-offset:6px; border-radius:6px; }
.home-label { color:#bcc9de; font-size:.85rem; line-height:1.5; }
.home-support { display:block; color:#b9c7dc; font-size:.87rem; line-height:1.6; }
.home-action { display:inline-flex; align-items:center; justify-content:center; align-self:flex-start; width:fit-content; max-width:100%; min-height:44px; padding:9px 14px; border:1px solid var(--home-action-fill); border-radius:9px; background:#15223a; color:var(--home-action-hover); font-size:.88rem; font-weight:650; line-height:1.5; margin-top:10px; text-decoration:none; transition:background 180ms ease,color 180ms ease; }
.home-bill .home-action,.home-review .home-action,.home-bot-health > a.home-action { background:var(--home-action-fill); color:var(--home-action-ink); font-weight:700; }
a:hover .home-action,a.home-action:hover { background:var(--home-action-hover); color:var(--home-action-ink); }
a:active .home-action,a.home-action:active { background:var(--home-action-pressed); color:var(--home-action-ink); }
.home-number { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; line-height:1.1; font-variant-numeric:tabular-nums; }
.home-number strong { font:700 clamp(2rem,3vw,2.65rem)/1.1 var(--font-body); letter-spacing:-.025em; color:#faf4e7; }
.home-number > span { color:#c8d3e4; font-size:.95rem; }
.home-number-secondary strong { font-size:1.8rem; color:#ecf1fa; }
.home-tags { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.home-badge { display:inline-flex; width:fit-content; align-items:center; padding:4px 9px; border-radius:6px; color:#d5e2f7; background:#26374e; font:500 .8rem/1.5 var(--font-body); }
.home-badge.attention { color:#ffdfa2; background:#473821; }
.home-source-details { margin-top:12px; color:#b9c7dc; font-size:.8rem; }
.home-source-details summary { cursor:pointer; width:fit-content; min-height:44px; padding:12px 0; text-underline-offset:4px; }
.home-source-details summary:hover { color:#f5e4bf; text-decoration:underline; }
.home-source-details p { margin:4px 0 8px; line-height:1.6; max-width:60ch; }
#home-money { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:28px; }
.home-bill,.home-recurring-link { display:flex; align-items:flex-start; flex-direction:column; gap:13px; text-decoration:none; }
.home-provider { font-size:1.2rem; color:#e1e8f4; font-weight:600; }
.home-bill .home-number { margin:2px 0 8px; }
.home-recurring { min-width:0; padding-left:26px; border-left:1px solid #48546a; }
.home-recurring-link .home-label { margin-bottom:10px; }
.home-bill:hover .home-action,.home-recurring-link:hover .home-action { text-decoration:underline; text-underline-offset:4px; }
.home-private-note { background:none; padding:0; margin:24px 0 0; font-size:.85rem; max-width:65ch; }
.group-knowledge .home-subgrid { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); margin-top:0; gap:32px; }
.home-study-item { display:flex; gap:18px; text-decoration:none; padding:0 0 22px; align-items:flex-start; }
.home-study-item + .home-study-item { padding-top:22px; border-top:1px solid #48546a; }
.home-study-body { min-width:0; }
.home-study-title { display:block; font:650 1.25rem/1.35 var(--font-body); color:#f4f2fd; overflow-wrap:anywhere; }
.home-study-body .home-tags { margin-top:12px; }
.home-book-mark { display:grid; place-items:center; flex:0 0 52px; height:72px; background:#34425f; color:#e5def9; border:1px solid #697da3; border-radius:3px 10px 10px 3px; box-shadow:inset 5px 0 0 #ffffff0c,3px 3px 0 #19253b; font-size:2rem; transition:transform 180ms ease; }
.home-study-item:hover .home-book-mark { transform:translateY(-3px) rotate(-3deg); }
.home-study-item:hover .home-action { text-decoration:underline; text-underline-offset:4px; }
.home-review { display:grid; gap:14px; text-decoration:none; padding:0 0 8px; }
.home-review .home-number { align-items:baseline; }
.home-review .home-number strong { font-size:3rem; }
.home-task { display:flex; align-items:flex-start; gap:16px; padding:0 0 20px; text-decoration:none; }
.home-task + .home-task { border-top:1px solid #3d4a60; padding-top:20px; }
.home-task-body { flex:1; min-width:0; }
.home-task-body > strong { display:block; color:#f1f4fa; font-size:1.02rem; line-height:1.45; margin-bottom:12px; font-weight:600; }
.home-task:first-child .home-task-body > strong { font-size:1.25rem; }
.home-task-body .home-support { margin-top:8px; }
.home-step { font-size:.8rem; font-variant-numeric:tabular-nums; color:#c1cfe4; padding-top:5px; }
.home-row-arrow { display:inline-grid; place-items:center; margin-left:auto; width:32px; height:32px; flex:0 0 32px; border:1px solid var(--home-action-fill); border-radius:50%; color:var(--home-action-hover); transition:transform 180ms ease; }
.home-task:hover .home-row-arrow,.home-birthday:hover .home-row-arrow { transform:translate(3px,-3px); }
.home-routine { display:grid; gap:14px; text-decoration:none; }
.home-routine .home-number strong { font-size:2.1rem; }
.home-progress { display:block; appearance:none; width:100%; max-width:330px; height:7px; overflow:hidden; border:0; border-radius:10px; background:#35455c; color:#b4d6b8; }
.home-progress::-webkit-progress-bar { background:#35455c; border-radius:10px; }
.home-progress::-webkit-progress-value { background:#b4d6b8; border-radius:10px; }
.home-progress::-moz-progress-bar { background:#b4d6b8; border-radius:10px; }
.home-system-status { display:grid; gap:12px; text-decoration:none; }
.home-status-title { font:650 1.4rem/1.4 var(--font-body); color:#edf2f9; }
.home-system-status.attention .home-status-title { color:#ffdda1; }
.home-system-status.attention .home-progress::-webkit-progress-value { background:#efcf8d; }
.home-system-status.attention .home-progress::-moz-progress-bar { background:#efcf8d; }
.home-birthday { display:flex; align-items:center; gap:18px; text-decoration:none; padding:6px 0 16px; }
.home-birthday + .home-birthday { border-top:1px solid #48546a; padding-top:20px; }
.home-birthday > div > strong { display:block; font-size:1.2rem; line-height:1.4; color:#f4f1f8; margin-bottom:10px; }
.home-birthday .home-support { margin-top:6px; }
.home-date-tile { display:flex; flex:0 0 64px; min-height:76px; flex-direction:column; align-items:center; justify-content:center; background:#30384e; border:1px solid #647491; border-radius:10px; color:#f2e3ed; }
.home-date-tile strong { font-size:1.8rem; line-height:1.2; }
.home-date-tile > span { font-size:.8rem; }
.workspace-row { padding:16px 8px; }
.workspace-meta .row-arrow,.about-link-arrow { display:inline-grid; place-items:center; width:44px; height:44px; flex:0 0 44px; background:var(--home-action-fill); border-color:var(--home-action-fill); color:var(--home-action-ink); }
.workspace-row:hover .row-arrow,.workspace-row:focus-visible .row-arrow,.about-links a:hover .about-link-arrow,.about-links a:focus-visible .about-link-arrow { background:var(--home-action-hover); border-color:var(--home-action-hover); color:var(--home-action-ink); }
.public-card .row-arrow { width:44px; height:44px; background:var(--home-action-fill); border-color:var(--home-action-fill); color:var(--home-action-ink); }
.public-card:hover .row-arrow { background:var(--home-action-hover); border-color:var(--home-action-hover); color:var(--home-action-ink); }
.home-pins a:focus-visible,.home-jumps a:focus-visible { outline:3px solid var(--home-action-hover); outline-offset:4px; }
/* Home's shared sign-in dialog follows the same visible action roles. */
#auth-overlay { z-index:1100; }
#auth-overlay .auth-modal { max-height:calc(100dvh - 40px); overflow-y:auto; }
#auth-overlay button:focus-visible { outline:3px solid var(--home-action-hover); outline-offset:3px; }
#auth-overlay .auth-logo { padding-right:38px; }
#auth-overlay .auth-logo-text { font-size:clamp(1rem,4vw,1.3rem); letter-spacing:2px; }
.workspace-name > span { color:#b2bdd0; }
.home-work-details { border:0; border-top:1px solid #48546a; border-radius:0; }
.home-work-details summary { padding:16px 0; }
.home-work-details .home-feed { padding:0 0 12px; }
.home-health-preview { margin-top:20px; border-color:#566c68; }
#home-health { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:26px 30px; }
#home-health > .home-empty { grid-column:1 / -1; }
#home-health h5 { margin:0 0 12px; color:#dbe8df; font:600 .95rem/1.5 var(--font-body); }
.home-health-nutrition,.home-health-routine { min-width:0; }
.home-health-nutrition > p { margin:0; }
.home-health-routine { display:grid; align-content:start; gap:12px; border-left:1px solid #48546a; padding-left:30px; }
.home-health-routine h5 { margin-bottom:0 !important; }
.home-health-routine .home-number strong { font-size:2rem; }
.home-health-metrics { display:grid; gap:18px; margin:22px 0 12px; }
.home-health-metrics dt { margin-bottom:5px; }
.home-health-metrics dd { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin:0; }
.home-health-metrics dd strong { font:650 1.85rem/1.25 var(--font-body); font-variant-numeric:tabular-nums; color:#eef3f8; }
.home-health-metrics dd > span { color:#c5cedd; font-size:.9rem; }
.home-health-footer { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
#home-health > .home-source-details { grid-column:1 / -1; margin-top:-10px; }
@media(max-width:640px) {
  #home-health { grid-template-columns:1fr; gap:24px; }
  .home-health-routine { border-left:0; border-top:1px solid #48546a; padding:22px 0 0; }
  .home-health-metrics dd strong { font-size:1.7rem; }
  .home-health-footer .home-button { width:100%; text-align:center; }
}
.group-system .home-hint,.group-products .home-hint { margin-top:20px; }
@media(max-width:1000px) { #home-money { gap:22px; } .home-recurring { padding-left:22px; } .group-knowledge .home-subgrid { grid-template-columns:1fr; gap:28px; } }
@media(max-width:640px) {
  .workspace-group-title { font-size:1.65rem; }
  .workspace-group + .workspace-group { margin-top:40px; }
  .home-preview { padding:20px 18px; }
  .home-preview .home-line { margin-bottom:24px; }
  .home-preview h4 { font-size:1.05rem; }
  .home-stamp { width:100%; }
  #home-money { grid-template-columns:1fr; gap:26px; }
  .home-recurring { border-left:0; border-top:1px solid #48546a; padding:24px 0 0; }
  .home-number strong { font-size:2.4rem; }
  .home-number-secondary strong { font-size:1.8rem; }
  .home-task { gap:10px; }
  .home-task:first-child .home-task-body > strong { font-size:1.12rem; }
  .home-study-title { font-size:1.2rem; }
  .home-study-item { gap:14px; }
  .home-book-mark { flex-basis:42px; height:60px; font-size:1.65rem; }
  .home-birthday { gap:12px; }
  .home-date-tile { flex-basis:54px; }
  .home-feed .home-feed-item:first-child strong { font-size:1.12rem; }
}
@media(prefers-reduced-motion:reduce) { .home-study-item:hover .home-book-mark,.home-task:hover .home-row-arrow,.home-birthday:hover .home-row-arrow { transform:none; } }

/* Money colors express cash-flow role, independently of due/payment status. */
.home-number.home-number-expense strong { color:#ffaaa6; }
.home-money-legend { grid-column:1/-1; font-size:.8rem; line-height:1.5; color:#c5cedd; margin:0; }
.home-private-note a { color:#d5deed; text-underline-offset:4px; }
/* Real article photography, with a stable, clearly labelled no-photo fallback. */
.home-news-item { display:grid; grid-template-columns:136px minmax(0,1fr); gap:20px; align-items:start; padding:0 0 20px; text-decoration:none; }
.home-news-item + .home-news-item { border-top:1px solid #3d4a60; padding-top:20px; }
.home-news-item:first-child { grid-template-columns:190px minmax(0,1fr); padding-bottom:24px; }
.home-news-media { position:relative; display:block; width:100%; padding-bottom:36px; min-width:0; }
.home-news-photo { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:9px; background:#24354c; }
.home-news-media:not(.has-photo) .home-news-photo { position:absolute; width:1px; height:1px; opacity:0; }
.home-news-fallback { display:flex; width:100%; aspect-ratio:3/2; align-items:center; justify-content:center; flex-direction:column; gap:8px; border:1px solid #506079; background:#1a2940; border-radius:9px; color:#d6e1ef; }
.home-bot-health { display:grid; gap:12px; padding:18px; border-radius:12px; background:#232f3e; }
.home-bot-health.health-unknown { background:#342f25; }
.home-bot-health.health-failed { background:#3c282e; }
.home-bot-health.health-passed { background:#23382f; }
.home-bot-health .home-status-title { font-size:1.45rem; line-height:1.3; color:#fff1d3; }
.home-bot-health.health-failed .home-status-title { color:#ffaaa6; }
.home-bot-health.health-passed .home-status-title { color:#abe6bf; }
.home-bot-row { display:flex; align-items:start; justify-content:space-between; gap:12px; padding-top:12px; border-top:1px solid #657080; }
.home-bot-row > div { display:grid; gap:5px; min-width:0; }
.home-bot-row strong { color:#f4f6fa; font-size:1rem; }
.home-bot-row .home-badge { flex-shrink:0; }
.home-bot-health .home-support,.home-bot-health .home-label { color:#e0e5ed; }
.home-badge.health-unknown { color:#ffdf9f; background:#453c29; }
.home-badge.health-passed { color:#abe6bf; background:#203c2c; }
.home-badge.health-failed { color:#ffaaa6; background:#492b31; }
.home-connections { padding-top:16px; margin-top:4px; border-top:1px solid #536176; gap:8px; }
.home-connections > strong { color:#e0e5ed; font-size:1rem; }
.home-news-fallback > span { font-size:1.7rem; }
.home-news-fallback small { font-size:.75rem; }
.home-photo-caption { display:block; position:absolute; bottom:0; color:#b9c7dc; font-size:.75rem; line-height:1.4; }
.home-news-body { display:grid; gap:10px; min-width:0; }
.home-news-body strong { color:#f4f6fa; font-size:1.05rem; font-weight:600; line-height:1.45; overflow-wrap:anywhere; }
.home-news-item:first-child strong { font-size:1.28rem; }
.home-news-item:hover strong { color:#ffd9d6; text-decoration:underline; text-underline-offset:4px; }
.home-news-item .home-support { font-size:.85rem; }
@media(max-width:640px) {
  .home-news-item,.home-news-item:first-child { grid-template-columns:92px minmax(0,1fr); gap:14px; }
  .home-news-item:first-child { grid-template-columns:1fr; }
  .home-news-item:first-child .home-news-media { max-width:none; }
  .home-news-item:first-child .home-news-photo,.home-news-item:first-child .home-news-fallback { aspect-ratio:16/9; }
  .home-news-item:first-child strong { font-size:1.18rem; }
  .home-news-body strong { font-size:1rem; }
  .home-photo-caption { font-size:.75rem; }
  .home-news-fallback small { font-size:.75rem; }
  /* Keep the home mascot in the footer instead of covering mobile reading. */
  body { position:relative; }
  .site-footer { padding-bottom:52px; }
  #slime-mate[data-slime-style="home"] { position:absolute; bottom:10px; }
}

/* 12d: emoji sit bare, no box behind them on any page (Audi 2026-10-18: "จำไว้ใช้กับทุกหน้าด้วย ไม่มีกล่องหลัง emoji") */
.workspace-icon{background:none!important;border-color:transparent!important;box-shadow:none!important;outline:0;font-size:20px!important;line-height:1}
