/* Ruthie v2 layout - only loaded by v2.html. Delete v2.html to remove. */
html.v2 #datestrip, html.v2 #astromech, html.v2 #grid { display: none !important; }
html.v2 #circuit { opacity: 0.22 !important; }

.v2-tabs { display: flex; gap: 8px; justify-content: center; margin: 14px 0 18px; }
.v2-tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line2); background: transparent; color: var(--txt3); cursor: pointer;
}
.v2-tab.on { background: rgba(127, 224, 166, 0.12); border-color: var(--green); color: var(--green); }

.v2-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 90px; }
.v2-cmd  { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 90px; }
.v2-home[hidden], .v2-cmd[hidden], .v2-view[hidden] { display: none !important; }

.v2-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v2-col-h { font-family: var(--display); font-size: 11px; letter-spacing: 0.24em; color: var(--txt3); padding: 0 2px; }

.v2-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; order: -1; }
html.v2 .v2-center #hero { margin: 0; cursor: pointer; }
html.v2 .v2-center #hero-rings { width: min(78vw, 300px); height: min(78vw, 300px); }
.v2-talk {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  min-height: 44px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--green); background: rgba(127, 224, 166, 0.1); color: var(--green);
}
.v2-talk:hover { background: rgba(127, 224, 166, 0.2); }

html.v2 .v2-home .panel, html.v2 .v2-cmd .panel { grid-row: auto !important; grid-column: auto !important; margin: 0; }
html.v2 .v2-col .panel { align-self: stretch !important; width: auto !important; }

@media (min-width: 1280px) {
  .v2-home { grid-template-columns: minmax(380px, 460px) minmax(0, 1fr) minmax(360px, 440px); align-items: start; gap: 24px; }
  .v2-center { order: 0; position: sticky; top: 90px; min-height: calc(100vh - 260px); }
  html.v2 .v2-center #hero-rings { width: min(34vw, 420px); height: min(34vw, 420px); }
  .v2-cmd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.v2 .v2-cmd #panel-npk,
  html.v2 .v2-cmd #digest-panel,
  html.v2 .v2-cmd .v2-view-h,
  html.v2 .v2-cmd .v2-empty-hint { grid-column: 1 / -1 !important; }
}

/* ── Easier to read (Oct 2026) ─────────────────────────────────────────────
   Home leads with your day, and the dashboard borrows Field Mode's sizes and
   contrast so it reads in the sun. All of it is here, so it's easy to undo. */

/* Brighter secondary text */
html.v2 { --txt2: #cfdcd4; --txt3: #a9bfb2; }

/* Your day first: no big clock on phones and tablets (the phone shows the time) */
@media (max-width: 1279px) {
  html.v2 .v2-center #hero { display: none !important; }
  html.v2 .v2-center { gap: 12px; }
  .v2-talk { width: 100%; max-width: 420px; min-height: 56px; font-size: 15px; }
}
/* On a computer the clock gets smaller so the Today card fits under it */
@media (min-width: 1280px) {
  html.v2 .v2-center #hero-rings { width: min(20vw, 230px) !important; height: min(20vw, 230px) !important; }
  .v2-center { position: static; min-height: 0; justify-content: flex-start; }
}
html.v2 .v2-center #panel-today { align-self: stretch !important; width: 100% !important; max-width: 560px; }

/* Bigger tabs and talk button */
.v2-tab { font-size: 13px; min-height: 44px; letter-spacing: 0.12em; }
.v2-talk { font-size: 15px; letter-spacing: 0.16em; }

/* Panels: bigger titles and text, plain-language empty states */
html.v2 .v2-home .panel, html.v2 .v2-cmd .panel { zoom: 1.18; }
html.v2 .p-title { font-size: 10px; letter-spacing: 0.14em; color: #8fe0b0; }
html.v2 .empty {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0; text-transform: none;
  color: var(--txt2); line-height: 1.45; padding: 16px 6px;
}
.v2-col-h { font-size: 12px; letter-spacing: 0.16em; color: var(--txt2); }

/* Header: readable labels and menu button */
html.v2 #hoc-ticker, html.v2 #water-ticker { font-size: 11px !important; letter-spacing: 0.04em !important; color: var(--txt2) !important; }
html.v2 #menu-btn { font-size: 12px !important; padding: 8px 14px !important; border-radius: 8px !important; }
html.v2 #link { font-size: 11px; }
@media (max-width: 767px) {
  html.v2 #hoc-ticker { font-size: 10px !important; gap: 7px !important; flex-wrap: wrap; }
  html.v2 #hoc-ticker > span { white-space: nowrap; }
  html.v2 #hdr-actions > * { font-size: 12px !important; padding: 8px 12px !important; }
}

/* Chat: readable bar and messages */
html.v2 #c-bar-l { font-size: 11px; letter-spacing: 0.14em; }
html.v2 .m-txt { font-size: 15px; }
html.v2 .m.sys .m-txt { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--txt2); }
html.v2 #txt { font-size: 16px; }   /* 16px also stops iPhones zooming in when you tap the box */

/* ── Five tabs (Oct 28, 2026) ───────────────────────────────────────────────
   Today · Greens · Sprays · Course · Reports. Pill tabs on a computer, a
   bottom bar under the text box on a phone. */
.v2-view-h { font-family: var(--display); font-size: 20px; letter-spacing: 0.04em; color: var(--txt); padding: 0 2px; }
.v2-empty-hint { font-size: 13px; color: var(--txt2); line-height: 1.45; padding: 2px 2px 4px; }
html.v2 .panel.v2-empty, html.v2 .panel.v2-offseason { display: none !important; }

/* Link cards: the pages that live under each tab */
html.v2 .v2-links { display: flex; flex-direction: column; }
.v2-link {
  display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%;
  padding: 11px 2px; border: none; border-top: 1px solid var(--line); background: none;
  color: var(--txt); text-decoration: none; cursor: pointer; font-family: var(--sans);
  min-height: 44px;
}
.v2-link:first-of-type { border-top: none; }
.v2-link:hover .v2-link-n { color: var(--green); }
.v2-link-n { font-size: 14px; font-weight: 600; }
.v2-link-n::after { content: ' \203A'; color: var(--green); }
.v2-link-d { font-size: 12px; color: var(--txt3); line-height: 1.35; }

/* Bottom tab bar (phones and tablets) */
.v2-btabs { display: none; }
@media (max-width: 1023px) {
  .v2-btabs {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line); background: rgba(8, 14, 11, 0.98);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .v2-btab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 58px; background: none; border: none; color: var(--txt3); cursor: pointer;
    font-family: var(--sans); font-size: 11.5px; -webkit-tap-highlight-color: transparent;
  }
  .v2-btab.on { color: var(--green); }
  #console #c-input { padding-bottom: 11px; }
  /* The view buttons move to the bottom bar; Field and Simple stay up top. */
  .v2-tabs .v2-tab[data-view] { display: none; }
  .v2-tabs { margin: 8px 0 10px; }
  .v2-view { padding-bottom: 190px !important; }
}
html.crew-simple .v2-view, html.crew-simple .v2-btabs { display: none !important; }
.v2-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:10px;max-width:420px}
.v2-chip{background:rgba(74,222,128,.06);border:1px solid rgba(74,222,128,.35);color:#cfe9d8;border-radius:14px;padding:6px 11px;font-size:12px;cursor:pointer;font-family:inherit}
.v2-chip:hover{background:rgba(74,222,128,.14)}
