/* ═══════════════════════════════════════════════════════════════
   Honeydew · views — home grid (mockup) + app screens
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────── HOME ────────────────────────────── */
#home { display: flex; flex-direction: column; gap: 30px; }
.home-top { display: grid; grid-template-columns: 1fr 218px; gap: 26px; align-items: start; }
.home-rail { display: flex; flex-direction: column; gap: 22px; }
.home-flow { display: flex; flex-direction: column; gap: 30px; min-width: 0; }

/* hero */
.hero { --r: 40px; --bw: 8px; margin-top: 42px; }
.hero .glass-inner { padding: 74px 46px 44px; text-align: center; --toplight: .35; }
.hero-emblem {
  position: absolute; top: -42px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 96px; border-radius: 50%; z-index: 5;
  display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.5), rgba(255,255,255,.08) 55%),
    linear-gradient(168deg, #86c9a0, #3f8f66);
  box-shadow:
    0 0 0 7px var(--rim-mid),
    0 0 0 8px rgba(255,255,255,.75),
    0 0 26px 2px var(--rim-glow),
    inset 0 2px 6px rgba(255,255,255,.6),
    inset 0 -5px 12px rgba(30, 80, 50, .35),
    0 12px 26px -8px rgba(120, 84, 20, .45);
}
.hero-emblem svg { width: 50px; height: 50px; }
.hero-emblem::after { /* halo rays */
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 180, .5), transparent 68%);
  z-index: -1;
  animation: halo-breathe 6s ease-in-out infinite;
}
@keyframes halo-breathe { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

.hero-kicker { font-size: 15px; font-weight: 500; letter-spacing: .5em; text-indent: .5em; color: rgba(255,255,255,.92); }
.hero-title {
  margin-top: 10px;
  font-size: clamp(44px, 6.2vw, 64px); font-weight: 500;
  letter-spacing: .12em; text-indent: .12em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(30, 80, 50, .35), 0 1px 2px rgba(30, 80, 50, .3);
}
.hero-tag { margin-top: 12px; font-size: 16.5px; color: rgba(255,255,255,.95); font-weight: 500; }
.hero .orna-divider { color: rgba(255,255,255,.8); margin: 20px auto 18px; }
.hero-sub { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 420px; margin: 0 auto; }

/* trio rows */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

/* small signal cards */
.mini-card .glass-inner { padding: 20px 16px 22px; text-align: center; display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.mini-card .kicker { justify-content: center; font-size: 10px; letter-spacing: .17em; white-space: nowrap; }
.mini-card .mini-ico {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto;
  display: grid; place-items: center; color: var(--card-ink);
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.75), rgba(255,255,255,.25));
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8), 0 3px 8px -3px rgba(120,84,20,.3);
}
.mini-card .mini-ico svg { width: 22px; height: 22px; }
.mini-card .card-body { flex: 1; }
.mini-card .btn { align-self: center; }

/* big action cards */
.big-card { margin-top: 40px; --r: 34px; --bw: 7px; }
.big-card .glass-inner { padding: 58px 26px 30px; text-align: center; display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.big-card .medallion { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); z-index: 5; }
.big-card .card-body { flex: 1; max-width: 250px; margin: 0 auto; }
.big-card .btn { align-self: center; }

/* wide panels row */
.panel-row { display: grid; grid-template-columns: 1fr 296px; gap: 24px; align-items: stretch; }
.panel-row-2 { display: grid; grid-template-columns: 1fr 356px; gap: 24px; align-items: stretch; }

/* agents panel */
.agents-panel .glass-inner { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.agent-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; flex: 1; }
.agent-cell {
  border-radius: 20px;
  padding: 16px 10px 14px;
  text-align: center;
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1.2px rgba(255,255,255,.85), 0 3px 10px -5px rgba(120,84,20,.3);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .25s ease;
}
.agent-cell:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.2px rgba(255,255,255,.95), 0 8px 18px -7px rgba(120,84,20,.45); }
.agent-cell .agent-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(203, 218, 190, .9); color: #4f7a55; }
.agent-cell .agent-ico svg { width: 20px; height: 20px; }
.agent-cell strong { font-size: 12.5px; font-weight: 600; }
.agent-cell small { font-size: 10.5px; line-height: 1.45; color: var(--card-ink-soft); flex: 1; }
.agent-cell.disabled { opacity: .45; filter: saturate(.4); }
.agents-panel .btn { align-self: center; }

/* trust panel */
.trust-panel .glass-inner { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.trust-panel .kicker { gap: 9px; }
.trust-panel .kicker .k-orb { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.65); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); color: #c05a48; }
.trust-panel .kicker .k-orb svg { width: 16px; height: 16px; }
.trust-panel .btn { align-self: center; margin-top: 4px; }

/* shortcuts panel */
.shortcuts-panel .glass-inner { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.shortcut-strip { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.shortcut {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--card-ink);
  transition: transform .2s ease;
}
.shortcut:hover { transform: translateY(-2px); }
.shortcut .sc-orb {
  width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center; color: var(--card-ink);
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1.3px rgba(255,255,255,.9), 0 4px 10px -4px rgba(160, 80, 50, .35);
  transition: box-shadow .25s ease;
}
.shortcut:hover .sc-orb { box-shadow: inset 0 0 0 1.3px #fff, 0 8px 16px -6px rgba(160, 80, 50, .5); }
.shortcut .sc-orb svg { width: 24px; height: 24px; }
.shortcut-dash { flex: 1; height: 1px; margin: 0 8px 22px;
  background-image: linear-gradient(90deg, currentColor 45%, transparent 45%);
  background-size: 9px 1px; opacity: .45; color: var(--card-ink); }

/* learn panel */
.learn-panel .glass-inner { padding: 24px; display: flex; align-items: center; gap: 16px; min-height: 100%; }
.learn-panel .medallion-sm { flex: none; --med-face: rgba(255,255,255,.22); }
.learn-panel .lp-text { flex: 1; }
.learn-panel .lp-text .kicker { letter-spacing: .18em; }
.learn-panel .lp-text p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--card-ink-soft); }

/* rail cards */
.rail-card .glass-inner { padding: 20px 18px; text-align: center; }
.rail-card .kicker { justify-content: center; font-size: 10.5px; }
.vault-ico { width: 58px; height: 58px; margin: 14px auto 10px; border-radius: 50%;
  display: grid; place-items: center; color: #4f7a55;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.9), rgba(235, 244, 230, .5));
  box-shadow: inset 0 0 0 1.4px rgba(163,190,150,.55), 0 4px 12px -4px rgba(120,150,90,.4); }
.vault-ico svg { width: 28px; height: 28px; }
.rail-card h3 { font-size: 21px; font-weight: 600; letter-spacing: .2em; }
.rail-card .card-body { margin-top: 8px; font-size: 12.5px; }
.rail-card .btn { margin-top: 14px; }

.signal-list { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; text-align: left; }
.signal-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.signal-row .sig-dot { width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: currentColor; box-shadow: 0 0 6px currentColor; }
.signal-row b { font-size: 16px; font-weight: 600; color: var(--ink); min-width: 20px; }

/* ───────────────────── inner app screens ─────────────────────── */
.screen { display: flex; flex-direction: column; gap: 22px; }
.screen .glass-inner { padding: 24px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bar .spacer { flex: 1; }

/* hopescroll feed */
.hope-card .glass-inner { padding: 26px 28px; text-align: center; }
.hope-card .hope-quote { font-size: 17px; line-height: 1.65; font-weight: 500; max-width: 520px; margin: 10px auto; }
.hope-card .hope-by { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--card-ink-soft); }
.hope-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }

/* leadr */
.lead-row { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 18px; background: rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 2px 8px -4px rgba(120,84,20,.25); }
.lead-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 15px; color: #fff;
  background: linear-gradient(160deg, var(--a, #8bcda3), var(--b, #4a9a6e));
  box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.6); }
.lead-row .lr-meta strong { display: block; font-size: 14px; }
.lead-row .lr-meta small { font-size: 12px; color: var(--ink-soft); }
.lead-row .pill.warm { background: rgba(240, 196, 110, .4); }
.lead-row .pill.won { background: rgba(139, 205, 163, .5); }
.lead-row .pill.new { background: rgba(164, 197, 240, .45); }

/* talkr */
.talkr-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: stretch; }
.convo-list { display: flex; flex-direction: column; gap: 8px; }
.convo-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 15px;
  background: rgba(255,255,255,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  text-align: left; width: 100%; transition: background .2s ease; }
.convo-item:hover, .convo-item.active { background: rgba(255,255,255,.75); }
.convo-item .lead-ava { width: 36px; height: 36px; font-size: 12px; }
.convo-item strong { display: block; font-size: 13px; }
.convo-item small { display: block; font-size: 11px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.thread { display: flex; flex-direction: column; min-height: 380px; }
.thread-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; max-height: 46vh; }
.bubble { max-width: 72%; padding: 10px 15px; border-radius: 19px; font-size: 13.5px; line-height: 1.5;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 2px 6px -3px rgba(120,84,20,.3);
  align-self: flex-start; }
.bubble.me { align-self: flex-end; color: #fff;
  background: linear-gradient(160deg, #7cc094, #47956b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 3px 8px -3px rgba(70,150,107,.6); }
.bubble time { display: block; font-size: 10px; opacity: .65; margin-top: 3px; }
.composer { display: flex; gap: 10px; margin-top: 14px; }
.composer input { flex: 1; border: 0; border-radius: 999px; padding: 11px 18px;
  background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(201,173,114,.45); outline: none; }
.composer input:focus { box-shadow: inset 0 0 0 1.6px rgba(226,166,61,.8); }

/* agenda */
.agenda-item { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-radius: 17px;
  background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 2px 8px -4px rgba(120,84,20,.25);
  transition: opacity .35s ease; }
.agenda-item .ai-time { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft);
  min-width: 62px; text-align: right; }
.agenda-item .ai-title { flex: 1; font-size: 14px; font-weight: 500; transition: all .3s ease; }
.agenda-item.done { opacity: .55; }
.agenda-item.done .ai-title { text-decoration: line-through; text-decoration-color: rgba(120,84,20,.5); }

/* helpers */
.helper-card { border-radius: 20px; padding: 18px; text-align: center;
  background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1.2px rgba(255,255,255,.85), 0 3px 10px -5px rgba(120,84,20,.3);
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.helper-card .lead-ava { width: 54px; height: 54px; font-size: 17px; }
.helper-card strong { font-size: 14px; }
.helper-card small { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }
.helper-card .stars { color: #d9a032; font-size: 12px; letter-spacing: 2px; }
.helper-card .bar { justify-content: center; gap: 8px; margin-top: 4px; }

/* id8 / activity */
.log-row { display: flex; gap: 12px; align-items: baseline; padding: 9px 4px; font-size: 13px;
  border-bottom: 1px dashed rgba(201,173,114,.4); }
.log-row time { font-size: 11px; color: var(--ink-faint); min-width: 64px; }
.log-row .pill { font-size: 10px; padding: 2px 9px; }

/* learnr */
.lesson-card { border-radius: 20px; padding: 18px; background: rgba(255,255,255,.55);
  box-shadow: inset 0 0 0 1.2px rgba(255,255,255,.85), 0 3px 10px -5px rgba(120,84,20,.3);
  display: flex; flex-direction: column; gap: 10px; }
.lesson-card strong { font-size: 14px; }
.lesson-card small { font-size: 12px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.lesson-card .bar { gap: 8px; }
.lesson-card .meter { flex: 1; }

/* settings — background picker */
.bg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bg-opt { border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4 / 3;
  box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.8), 0 4px 12px -5px rgba(120,84,20,.4);
  transition: transform .2s ease, box-shadow .25s ease; }
.bg-opt:hover { transform: translateY(-2px); }
.bg-opt.active { box-shadow: 0 0 0 2.5px #e2a63d, 0 0 18px -2px rgba(240,196,110,.9), 0 6px 14px -5px rgba(120,84,20,.5); }
.bg-opt .bg-name { position: absolute; inset: auto 0 0 0; padding: 14px 8px 7px; font-size: 10.5px; font-weight: 600;
  letter-spacing: .06em; color: #fff; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.55);
  background: linear-gradient(transparent, rgba(20, 16, 4, .55)); }
.bg-thumb-starry { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent 60%), radial-gradient(1px 1px at 65% 20%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 80% 55%, #fff9dd, transparent 60%), radial-gradient(1px 1px at 40% 65%, #fff, transparent 60%), linear-gradient(175deg, #0c1230, #232a58 70%, #3a3560); }
.bg-thumb-sunset { background: radial-gradient(60% 45% at 50% 78%, #ffd98c, transparent 70%), linear-gradient(175deg, #6e5a9e, #c96a8d 45%, #f2a05f 75%, #ffd98c); }
.bg-thumb-woods { background: linear-gradient(175deg, #16281c, #23402a 55%, #35573a),
  radial-gradient(2px 2px at 30% 60%, #d8f0a0, transparent 60%), radial-gradient(1.5px 1.5px at 70% 45%, #d8f0a0, transparent 60%); background-blend-mode: screen; }
.bg-thumb-geometry { background-color: #f6ecd6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23b99e63' stroke-width='0.7' opacity='0.5'%3E%3Ccircle cx='28' cy='48.5' r='14'/%3E%3Ccircle cx='28' cy='34.5' r='14'/%3E%3Ccircle cx='28' cy='62.5' r='14'/%3E%3Ccircle cx='15.9' cy='41.5' r='14'/%3E%3Ccircle cx='15.9' cy='55.5' r='14'/%3E%3Ccircle cx='40.1' cy='41.5' r='14'/%3E%3Ccircle cx='40.1' cy='55.5' r='14'/%3E%3C/g%3E%3C/svg%3E"); }
.bg-thumb-organic { background-color: #f6ecd6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.05' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.72 0 0 0 0 0.6 0 0 0 0 0.38 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }

.setting-row { display: flex; align-items: center; gap: 14px; padding: 13px 4px;
  border-bottom: 1px dashed rgba(201,173,114,.4); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .sr-text { flex: 1; }
.setting-row .sr-text strong { display: block; font-size: 14px; }
.setting-row .sr-text small { font-size: 12px; color: var(--ink-soft); }

/* signal view chart */
.sig-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 6px 4px 0; }
.sig-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.sig-chart .col i { display: block; width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #f2c96a, #e2a63d);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7), 0 3px 8px -3px rgba(226,166,61,.7);
  min-height: 4px; }
.sig-chart .col small { font-size: 10px; color: var(--ink-soft); }

.big-stat { text-align: center; padding: 8px 0 4px; }
.big-stat b { font-size: 34px; font-weight: 600; display: block; }
.big-stat small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* empty state */
.empty { text-align: center; padding: 26px 16px; color: var(--ink-soft); font-size: 13.5px; }
.empty svg { width: 34px; height: 34px; margin: 0 auto 10px; opacity: .5; }

/* ── responsive ────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .home-top { grid-template-columns: 1fr; }
  .home-rail { flex-direction: row; }
  .home-rail > * { flex: 1; }
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; }
  .big-card { margin-top: 48px; }
  .panel-row, .panel-row-2 { grid-template-columns: 1fr; }
  .talkr-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .home-rail { flex-direction: column; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .shortcut-strip { flex-wrap: wrap; gap: 14px; justify-content: center; }
  .shortcut-dash { display: none; }
  .hero .glass-inner { padding: 66px 22px 34px; }
}
