/* Host area frame: the shell every host page shares, tabs, dashboard, new-event chooser, organisation pages (redesign phase 2). */

/* ── Frame (Shared/HostShell.razor): one width, org line, tabs, sub-tabs, title + one action ── */
.host-shell { --container: var(--w-app); }
.host-org { margin: 0 0 .5rem; font-size: var(--fs-small); }
.host-org a { color: var(--lp-muted); text-decoration: none; }
.host-org a:hover { color: var(--lp-ink); }

/* Four tabs that fit a 390px phone: no sideways scroll, no fade. */
.host-shell .host-tabs { gap: clamp(1rem, 4.5vw, 1.8rem); overflow: visible; padding-right: 0; margin-bottom: 1.1rem; }
.host-shell .host-tabs a { font-size: var(--fs-body); }

/* Sub-tabs: a segmented control; on narrow phones it scrolls sideways. */
.host-subtabs-wrap { position: relative; max-width: 100%; margin: 0 0 1.5rem; }
.host-shell .host-subtabs { margin: 0; }

.host-title { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.host-shell .host-title h1 { margin: 0; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.03em; }
.host-title-action { display: flex; gap: .5rem; align-items: center; }
.host-title-action:empty { display: none; }
.host-intro { margin: -.8rem 0 1.2rem; max-width: var(--w-measure); }
.host-disclosure { margin: 0 0 1.4rem; max-width: var(--w-measure); }
.host-disclosure summary { cursor: pointer; font-weight: 600; font-size: var(--fs-small); color: var(--lp-brand-text); }
.host-disclosure p { margin: .5rem 0 0; }
.host-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.host-panel-head .search-form input { min-width: 0; width: min(260px, 60vw); }

/* A table's visually hidden header text (position: absolute) stays inside the table's own scroll box, so phones never scroll sideways. */
.table-wrap { position: relative; }

/* The artist photo field: its hint in words, no camera emoji. */
.image-field-square .image-hint::before { content: none; }

/* ── Dashboard (HostHome) ── */
.host-shell .host-cards { margin-top: 0; }
.host-shell .host-figure strong { font-size: var(--fs-heading); }
.host-needs { margin-top: 2.4rem; }
.host-needs h2, .host-shell .host-upcoming h2 { margin: 0 0 .6rem; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.02em; }
.host-needs-list, .host-found, .host-activity, .host-team, .host-coming-list, .new-list { list-style: none; margin: 0; padding: 0; }
.host-needs-list li { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding: .75rem 0; border-top: 1px solid var(--lp-line); }
.host-needs-list li:last-child { border-bottom: 1px solid var(--lp-line); }

.host-find { margin-top: 2.4rem; }
.host-find-form { display: flex; gap: .5rem; align-items: center; max-width: var(--w-read); }
.host-find-form input { flex: 1 1 auto; min-width: 0; padding: .6rem .8rem; border: 1px solid var(--lp-line); border-radius: var(--radius-sm); background: var(--lp-bg); color: var(--lp-ink); font: inherit; }
.host-find-form input:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 1px; }
.host-found { margin-top: .8rem; max-width: var(--w-read); }
.host-found li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding: .6rem 0; border-top: 1px solid var(--lp-line); }
.host-found a { color: var(--lp-ink); text-decoration: none; display: flex; flex-wrap: wrap; gap: 0 .6rem; }
.host-found a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.host-shell .host-upcoming { margin-top: 2.4rem; }
.host-shell .host-upcoming .section-head { margin-bottom: .2rem; }
.host-csv { margin: .9rem 0 0; font-size: var(--fs-small); }
.host-csv a { color: var(--lp-muted); }

/* Event rows: the whole row opens the event; Door sits above the row's link. */
.host-shell .host-row { position: relative; }
.host-shell .host-row-link { color: var(--lp-ink); text-decoration: none; }
.host-shell .host-row-link::after { content: ""; position: absolute; inset: 0; }
.host-shell .host-row:hover .host-row-link strong { text-decoration: underline; text-underline-offset: 3px; }
.host-shell .host-row-main .pill { vertical-align: 1px; }
.host-row-door { position: relative; z-index: 1; padding: .5rem 0; color: var(--lp-brand-text); text-decoration: none; font-weight: 600; }

/* "Connect bank account", with "Payments by Stripe" under it */
.connect-bank { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin: 0; }
.connect-bank .fine-print { margin: 0; }
.setup-list .connect-bank, .host-needs-list .connect-bank { align-items: flex-end; }

/* ── New event chooser (/host/new) ── */
.new-choices { max-width: var(--w-read); display: grid; gap: 1.2rem; }
.new-flyer, .new-list a { display: flex; flex-direction: column; gap: .15rem; color: var(--lp-ink); text-decoration: none; }
.new-flyer { padding: 1.1rem 1.2rem; border: 1px solid var(--lp-line); border-radius: var(--radius); }
.new-flyer:hover { border-color: var(--lp-ink); }
.new-flyer strong, .new-list strong { font-size: var(--fs-body); font-weight: 600; }
.new-list li a { padding: 1rem 0; border-top: 1px solid var(--lp-line); }
.new-list li:last-child a { border-bottom: 1px solid var(--lp-line); }
.new-list a:hover strong, .new-flyer:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* ── Money ── */
.host-fees { max-width: var(--w-read); }
.host-fee-line { font-size: var(--fs-heading); line-height: 1.45; margin: 0 0 .8rem; }
.host-coming { margin: 0 0 1.6rem; }
.host-coming-total { margin: 0 0 .8rem; letter-spacing: -.03em; }
.host-coming-list li { padding: .6rem 0; border-top: 1px solid var(--lp-line); }
.host-coming-list li:last-child { border-bottom: 1px solid var(--lp-line); }
.host-coming-list a { color: var(--lp-ink); font-weight: 600; text-decoration: none; }
.host-coming-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Settings ── */
.host-page-link { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.4rem; }
.host-page-link strong { overflow-wrap: anywhere; }
.host-profile { max-width: var(--w-read); }
.host-profile-logo { display: grid; gap: .3rem; font-size: var(--fs-small); font-weight: 600; max-width: 220px; }
.host-profile-read { max-width: var(--w-read); display: grid; gap: .8rem; margin: 0; }
.host-profile-read dt { font-size: var(--fs-small); color: var(--lp-muted); }
.host-profile-read dd { margin: 0; }
.host-profile-read img { border-radius: var(--radius-sm); object-fit: cover; }

.host-team { margin: 0 0 1.4rem; max-width: var(--w-read); }
.host-team-add { max-width: var(--w-read); }
.host-team li { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .8rem 0; border-top: 1px solid var(--lp-line); }
.host-team li:last-child { border-bottom: 1px solid var(--lp-line); }
.host-team-who { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.host-roles { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.host-roles legend { font-size: var(--fs-small); font-weight: 600; margin-bottom: .3rem; padding: 0; }
.host-roles .check > span { display: flex; flex-direction: column; }
.host-roles .muted { font-size: var(--fs-small); }

.host-activity { max-width: var(--w-read); }
.host-activity li { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 0; border-top: 1px solid var(--lp-line); overflow-wrap: anywhere; }
.host-activity li:last-child { border-bottom: 1px solid var(--lp-line); }
.host-activity .fine-print { margin: 0; }

/* A row's quiet menu (Families: Remove) */
.row-menu { position: relative; display: inline-block; }
.row-menu summary { list-style: none; cursor: pointer; padding: .2rem .6rem; border-radius: var(--radius-sm); color: var(--lp-muted); font-weight: 700; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu summary:hover, .row-menu[open] summary { background: var(--lp-surface); color: var(--lp-ink); }
/* opens in place (a pop-over would be clipped by the table's sideways scroll) */
.row-menu-items { margin-top: .4rem; white-space: nowrap; }
