/* Home view styles (orchestrator). Other views: create your own css/v-<name>.css, prefix classes with your view name, use tokens from app.css only. */
/* hero: white text on a fixed dark-enough gradient in both themes (the theme --p1..3 tokens turn light in dark mode and break the 4.5:1 contrast) */
.hero{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:20px 20px 18px;border-radius:28px;color:#fff;position:relative;overflow:hidden;box-shadow:var(--shadow);background:linear-gradient(145deg,#175BC2,#0A2E7A)}
.hero[data-p="2"]{background:linear-gradient(145deg,#A35300,#6B3000)}
.hero[data-p="3"]{background:linear-gradient(145deg,#067650,#05563A)}
.hero::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.14),rgba(255,255,255,0));pointer-events:none}
.hero__k{font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;opacity:.92}
.hero__big{font-size:30px;font-weight:780;letter-spacing:-.03em;line-height:1.1;margin-top:6px;text-wrap:balance}
.hero__s{margin-top:6px;opacity:.95;font-size:15px;max-width:30ch}
.hero__go{margin-top:16px;height:38px;padding:0 8px 0 16px;border-radius:999px;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-weight:680;font-size:14.5px;display:inline-flex;align-items:center;gap:4px}
.hero__go svg{width:18px;height:18px}
.pcards{display:grid;gap:12px}
.pcard{position:relative;text-align:left;width:100%;background:var(--surface);border-radius:var(--r-card);padding:16px 40px 16px 16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:4px}
.pcard:active{transform:scale(.99)}
.pcard{--pc:var(--p1)} .pcard[data-p="2"]{--pc:var(--p2)} .pcard[data-p="3"]{--pc:var(--p3)}
.pcard::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:var(--pc)}
.pcard .pill[data-p]{color:color-mix(in srgb,var(--pc) 56%,var(--fg))} /* raw --p2/--p3 text is below 4.5:1 on its soft tint in light mode */
.pcard__top{display:flex;align-items:center;gap:10px}
.pcard__d{color:var(--muted);font-size:14px;font-weight:600}
.pcard__t{font-size:21px;font-weight:740;letter-spacing:-.02em;margin-top:6px}
.pcard__c{color:var(--muted);font-size:14px}
.pcard__stats{display:flex;gap:16px;color:var(--muted);font-size:14px;margin-top:6px}
.pcard__stats b{color:var(--fg);font-weight:700}
.pcard__chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.pcard__chev{position:absolute;right:14px;top:50%;width:18px;height:18px;margin-top:-9px;color:var(--muted);opacity:.6}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:var(--surface);border-radius:22px;padding:14px;box-shadow:var(--shadow);min-height:112px}
.tile:active{transform:scale(.985)}
.tile b{font-size:16.5px;font-weight:700;margin-top:auto}
.tile>span:last-child{color:var(--muted);font-size:13px;line-height:1.3}
.tile__ic{width:36px;height:36px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin-bottom:10px}
.tile__ic svg{width:20px;height:20px}
.tile.ai .tile__ic{background:var(--ai);color:#fff}
.fine{color:var(--muted);font-size:12.5px;line-height:1.5;margin:22px 4px 0;max-width:60ch}
@media (min-width:700px){.pcards{grid-template-columns:repeat(3,1fr)}.tiles{grid-template-columns:repeat(4,1fr)}.hero__big{font-size:36px}}

/* shortcut grid under the hero: one tap to every module */
.hscs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0 0}
.hsc{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:12px 4px 10px;min-height:84px;border-radius:20px;background:var(--surface);box-shadow:var(--shadow);font-size:12.5px;font-weight:650;color:var(--fg);text-align:center;line-height:1.15}
.hsc:active{transform:scale(.97)}
.hsc__ic{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.hsc__ic svg{width:22px;height:22px}
@media (min-width:700px){.hscs{grid-template-columns:repeat(8,1fr)}}
