/* Web portal additions. Layout basics (.web, nav, .split, tables) live in app.css. */
.web nav { position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; }
@media (max-width: 760px) { .web nav { position: static; height: auto; flex-direction: row; flex-wrap: wrap; } .web nav .wordmark { flex-basis: 100%; padding-bottom: 8px !important; } .web nav .card { display: none; } }
.nav-n { min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; padding: 0 6px; }
.page { gap: 22px; }
.kpi { gap: 2px; text-decoration: none; color: var(--text); }
a.kpi:hover { color: var(--text); border-color: #3A4C43; }
.today { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; }
.today-img { flex: 1 1 260px; min-height: 220px; background: var(--hero); display: block; }
.today-img img, .bike-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bikes-grid.big { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.bike-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.bike-card:hover { color: var(--text); border-color: #3A4C43; transform: translateY(-2px); }
.bike-card img { height: 160px; }
.bike-hero { position: relative; height: 300px; background: var(--hero); }
.bike-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
table.t.click tbody tr { cursor: pointer; }
table.t.click tbody tr:hover td, table.t tr.sel td { background: rgba(255,255,255,.04); }
table.t tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
.filters { gap: 10px; flex-wrap: wrap; align-items: stretch; }
.form2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 28px; }
.pack-grid .pack-item { border-top: 1px solid var(--line2); min-height: 54px; }
.linkish { background: none; border: none; color: var(--accent); padding: 0; }
.modal-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 560px; background: var(--s1); border: 1px solid var(--line); border-radius: 22px; padding: 24px; gap: 14px; }
.web-toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 360px; background: #EEF3EF; color: #0D1411; border-radius: 14px; padding: 13px 16px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
footer.ver a { color: var(--muted); }

/* Grouped sidebar, breadcrumb and in-page tabs */
.nav-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 6px; }
@media (max-width: 760px) { .nav-h { display: none; } }
.crumb { font-size: 13px; color: var(--muted); } .crumb a { color: var(--accent); text-decoration: none; font-weight: 600; } .crumb span { color: var(--text); font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { background: none; border: none; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; padding: 12px 14px; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }

/* ?embed=1: the real portal shows one of these pages inside its own frame and menu, so drop ours. */
.embed .web > nav, .embed footer.ver { display: none; }
.embed .web main { max-width: none; padding: 20px 22px 32px; }
.embed .web main h1.title { display: none; }
