/* ============================================================
   HOOMANING V2 — approved visual deltas over V1.11.2
   ============================================================ */

.screen > * { animation:v2-screen-in .28s ease both; }
@keyframes v2-screen-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
button { transition:transform .14s ease,border-color .18s ease,background-color .18s ease,opacity .18s ease; }
button:active:not(:disabled) { transform:scale(.985); }

/* 5 tabs, Log remains the visual center. */
.v2-tabbar { padding-left:7px; padding-right:7px; gap:2px; }
.v2-tabbar .tab { min-width:0; padding:7px 3px 6px; font-size:9px; flex:1 1 20%; }
.v2-tabbar .tab-icon { width:22px; height:22px; display:grid; place-items:center; margin:0 auto 2px; }
.v2-tab-svg { width:18px; height:18px; }
.v2-tabbar .primary-tab .tab-icon { width:39px; height:39px; margin-top:-17px; border:1px solid rgba(142,163,255,.55); border-radius:999px; background:var(--surface); box-shadow:0 6px 22px rgba(0,0,0,.22); }
.v2-tabbar .primary-tab .v2-tab-svg { width:19px; height:19px; }

.v2-eyebrow,.v2-section-head small,.v2-home-card small,.v2-today-strip small,.v2-guest-keep small,.v2-timeline-title small {
  font-family:var(--font-mono); letter-spacing:.14em; font-size:10px; color:var(--ochre); font-weight:600;
}
.v2-primary,.v2-secondary { border-radius:999px; min-height:46px; padding:0 20px; font-weight:600; }
.v2-primary { border:1px solid var(--ochre); background:var(--ochre); color:var(--ink); }
.v2-secondary { border:1px solid var(--line); background:var(--surface-2); color:var(--text); }
.v2-text-btn { border:0; padding:4px 0; background:transparent; color:var(--ochre); font-weight:500; }
.v2-text-btn.muted { color:var(--text-faint); }

/* Home */
.v2-home { padding-top:14px; }
.v2-home-hero { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:22px; padding:30px 27px; background:linear-gradient(rgba(25,31,34,.92),rgba(25,31,34,.92)),url('assets/brand/patterns/Hoomaning_Hero_Dark.svg') center/cover; }
.v2-home-hero h1 { margin:9px 0 10px; font-size:34px; line-height:1.04; letter-spacing:-.035em; }
.v2-home-hero p { color:var(--text-dim); font-size:16px; line-height:1.55; margin:0 0 21px; max-width:430px; }
.v2-home-lines { display:grid; gap:6px; margin:0 0 18px; font-weight:500; }
.v2-home-lines span::before { content:'✦'; color:var(--sage); margin-right:8px; font-size:9px; }
.v2-soft-note { color:var(--text-faint); font-size:12px; line-height:1.55; margin-bottom:22px; }
.v2-home-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.v2-home-card { text-align:left; display:flex; gap:12px; align-items:flex-start; border:1px solid var(--line); border-radius:18px; padding:17px; background:var(--surface); color:var(--text); }
.v2-home-card:hover { border-color:rgba(142,163,255,.45); transform:translateY(-1px); }
.v2-home-card-icon { flex:0 0 36px; width:36px; height:36px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(142,163,255,.28); color:var(--ochre); }
.v2-home-icon { width:18px; height:18px; }
.v2-home-card strong,.v2-home-card em { display:block; }
.v2-home-card strong { margin-top:4px; font-size:14px; }
.v2-home-card em { margin-top:4px; color:var(--text-faint); font-size:11px; line-height:1.45; font-style:normal; }
.v2-today-strip { margin-top:12px; padding:13px 16px; border:1px solid var(--line); border-radius:14px; display:flex; align-items:center; justify-content:space-between; background:var(--surface); }
.v2-today-strip strong { display:block; margin-top:3px; }
.v2-home-recent { margin-top:28px; }
.v2-section-head { display:flex; align-items:end; justify-content:space-between; margin-bottom:10px; }
.v2-section-head h2 { margin:3px 0 0; font-size:20px; }

/* Now */
.v2-now { max-width:520px; margin:0 auto; padding-top:23px; }
.v2-now-intro { text-align:center; padding:0 15px 20px; }
.v2-now-intro h1 { margin:8px 0; font-size:31px; letter-spacing:-.03em; }
.v2-now-intro p { margin:0; color:var(--text-dim); line-height:1.5; }
.v2-now-idle,.v2-now-card { border:1px solid var(--line); border-radius:22px; padding:30px 24px; background:var(--surface); text-align:center; }
.v2-now-idle { min-height:330px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:17px; }
.v2-now-idle small,.v2-now-footnote { color:var(--text-faint); font-size:11px; line-height:1.5; }
.v2-giant { min-width:220px; }
.v2-now-orbit { width:126px; height:126px; display:grid; place-items:center; position:relative; color:var(--sage); }
.v2-now-orbit::before,.v2-now-orbit::after { content:''; position:absolute; inset:12px; border:1px solid rgba(142,163,255,.28); border-radius:50%; animation:v2-orbit 9s linear infinite; }
.v2-now-orbit::after { inset:29px; border-color:rgba(118,217,184,.26); animation-duration:6s; animation-direction:reverse; }
.v2-now-orbit i,.v2-now-orbit b { position:absolute; width:7px; height:7px; border-radius:50%; background:var(--ochre); top:12px; left:59px; transform-origin:4px 51px; animation:v2-dot-orbit 9s linear infinite; }
.v2-now-orbit b { top:29px; background:var(--signal); transform-origin:4px 34px; animation-duration:6s; animation-direction:reverse; }
@keyframes v2-orbit { to { transform:rotate(360deg); } }
@keyframes v2-dot-orbit { to { transform:rotate(360deg); } }
.v2-now-big-icon { width:32px; height:32px; }
.v2-now-card-icon { width:58px; height:58px; border:1px solid rgba(142,163,255,.3); border-radius:50%; display:grid; place-items:center; margin:0 auto 14px; color:var(--ochre); }
.v2-now-card h2 { font-size:27px; margin:6px 0 9px; }
.v2-now-card p { color:var(--text-dim); line-height:1.5; min-height:46px; }
.v2-now-actions { display:flex; justify-content:center; gap:8px; margin:22px 0 11px; }
.v2-now-reasons { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); text-align:left; }
.v2-now-footnote { text-align:center; padding:15px 25px; }

/* Search */
.v2-result-list { margin-top:14px; }
.v2-result { width:100%; align-items:center; }
.v2-result .suggest-main { display:flex; align-items:center; gap:12px; min-width:0; }
.v2-result .suggest-main > span:last-child { display:grid; text-align:left; gap:2px; }
.v2-result small { color:var(--text-faint); font-size:11px; font-weight:400; }
.v2-result-icon { width:40px; height:40px; flex:0 0 40px; border:1px solid rgba(142,163,255,.25); border-radius:50%; display:grid; place-items:center; color:var(--ochre); background:rgba(142,163,255,.04); }
.v2-result-svg { width:19px; height:19px; }
.v2-result-note { font-family:var(--font-mono); font-size:9px; color:var(--text-faint); }
.v2-custom-result { border-style:dashed; }
.v2-log-universe { margin-top:22px; }

/* Composer semantic fields */
.v2-composer-title { text-transform:none; }
.v2-detail-input { width:100%; min-height:46px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); color:var(--text); padding:0 13px; font-size:14px; }
.v2-small-input { margin-top:9px; }
.v2-measure-grid { display:grid; gap:9px; }
.v2-measure-row { display:grid; grid-template-columns:90px 1fr; align-items:center; gap:10px; }
.v2-measure-row label { color:var(--text-dim); font-size:12px; }
.v2-measure-input-wrap { display:flex; align-items:center; min-height:44px; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface-2); }
.v2-measure-input-wrap input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--text); padding:0 12px; font-size:15px; }
.v2-measure-input-wrap > span,.v2-unit-toggle { flex:0 0 auto; padding:0 12px; color:var(--text-dim); font-family:var(--font-mono); font-size:11px; }
.v2-unit-toggle { align-self:stretch; border:0; border-left:1px solid var(--line); background:rgba(142,163,255,.05); color:var(--ochre); }

/* Guest Me is intentionally single-minded. */
.v2-guest-keep { margin:18px 0 30px; border:1px solid rgba(142,163,255,.65); border-radius:20px; padding:22px; display:flex; gap:15px; background:linear-gradient(135deg,rgba(142,163,255,.055),rgba(118,217,184,.025)); }
.v2-guest-icon { width:48px; height:48px; flex:0 0 48px; display:grid; place-items:center; border:1px solid rgba(142,163,255,.3); border-radius:50%; color:var(--ochre); }
.v2-guest-icon-svg { width:23px; height:23px; }
.v2-guest-keep h2 { margin:5px 0 7px; font-size:23px; }
.v2-guest-keep p { margin:0 0 15px; color:var(--text-dim); line-height:1.5; font-size:13px; }
.v2-timeline-title { display:flex; align-items:end; justify-content:space-between; margin:20px 0 12px; }
.v2-timeline-title h1 { margin:4px 0 0; font-size:25px; }

/* Approved timeline treatment: compact stacked cards + right-aligned time. */
.v2-date-group { margin-bottom:19px; }
.v2-date-group .date-heading { margin:13px 2px 8px; }
.v2-timeline-item { position:relative; animation:v2-row-in .3s ease both; animation-delay:calc(var(--v2-i,0) * 28ms); }
@keyframes v2-row-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
.v2-history-row { min-height:78px; border:1px solid var(--line); border-radius:17px; padding:13px 17px; margin-bottom:0; background:var(--surface); }
.v2-history-row:hover { border-color:rgba(142,163,255,.38); }
.v2-history-row .log-row-name { font-size:16px; font-weight:600; }
.v2-history-row .log-row-tags { margin-top:3px; color:var(--text-dim); font-size:11.5px; }
.v2-history-row .log-row-time { color:var(--text-faint); white-space:nowrap; font-size:11px; }
.v2-timeline-item + .v2-timeline-item { margin-top:2px; }
.v2-timeline-item .v20-row-menu-btn { top:9px; right:6px; }
.v2-timeline-item.compact .v2-history-row { min-height:68px; }
.v2-note-preview { opacity:.8; }

@media (max-width:560px) {
  .screen { padding-left:16px; padding-right:16px; }
  .v2-home-hero { padding:25px 21px; }
  .v2-home-hero h1 { font-size:30px; }
  .v2-home-grid { grid-template-columns:1fr; }
  .v2-now-intro h1 { font-size:28px; }
  .v2-guest-keep { padding:18px; }
}
@media (max-width:380px) {
  .v2-tabbar .tab { font-size:8px; }
  .v2-tabbar .tab-icon { width:19px; height:19px; }
  .v2-tabbar .primary-tab .tab-icon { width:36px; height:36px; }
  .v2-measure-row { grid-template-columns:72px 1fr; }
  .v2-history-row { padding-left:12px; padding-right:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .screen > *,.v2-timeline-item,.v2-now-orbit::before,.v2-now-orbit::after,.v2-now-orbit i,.v2-now-orbit b { animation:none !important; }
}
