:root {
  color-scheme: light;
  --wine: #A91E51;
  --pink: #DB7CA8;
  --sand: #FFD59B;
  --ink: #1D1D1B;
  --paper: #FFFFFF;
  --paper-soft: #FFF8EE;
  --line: rgba(29, 29, 27, .22);
  --muted: #655F59;
  --max: 1180px;
}
* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { background: var(--paper-soft); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; }
.field-hint { display: block; margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 18px max(24px, calc((100vw - var(--max)) / 2)); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: block; flex: 0 0 min(270px, 38vw); width: min(270px, 38vw); height: 58px; overflow: hidden; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; transform: translateY(-42%); }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.nav-cabinets { position: relative; }
.nav-cabinets summary { color: var(--muted); font-size: .94rem; cursor: pointer; list-style: none; }
.nav-cabinets summary::-webkit-details-marker { display: none; }
.nav-cabinets summary::after { content: "⌄"; margin-left: 5px; color: var(--wine); }
.nav-cabinets > div { position: absolute; z-index: 40; top: calc(100% + 14px); right: 0; display: grid; min-width: 190px; padding: 7px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 30px rgba(29,29,27,.13); }
.nav-cabinets > div a { padding: 10px 11px; white-space: nowrap; }
.nav-cabinets > div a:hover { background: var(--paper-soft); }
nav a { text-decoration: none; color: var(--muted); font-size: .94rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--wine); }
.account { display: flex; align-items: center; gap: 9px; }
.account-name { color: var(--muted); font-size: .82rem; }
.yandex-login, .logout { min-height: 40px; padding: 9px 13px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; cursor: pointer; }
.login-short { display: none; }
.logout { border-color: transparent; color: var(--muted); }
.layout-toggle { min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); background: var(--paper-soft); color: var(--wine); font-size: .78rem; font-weight: 750; cursor: pointer; }
main { min-height: 80vh; }
.loading { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
.eyebrow { margin: 0 0 12px; color: var(--wine); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 800px; font-size: clamp(3.3rem, 8vw, 7rem); line-height: .9; letter-spacing: -.06em; font-weight: 750; }
h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.15rem); line-height: 1; letter-spacing: -.04em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); max-width: var(--max); margin: 0 auto; border-inline: 1px solid var(--line); background: var(--paper); }
.hero-copy { min-height: 590px; padding: 70px 48px 42px; display: flex; flex-direction: column; justify-content: space-between; background-color: var(--sand); background-image: linear-gradient(rgba(255,213,155,.9), rgba(255,213,155,.9)), url('/assets/brand/pattern.svg'); background-size: auto, 500px auto; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: #39342f; font-size: clamp(1rem, 2vw, 1.24rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 12px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; font-weight: 750; cursor: pointer; }
.button.primary { background: var(--wine); border-color: var(--wine); color: white; }
.button.secondary { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.button:disabled { opacity: .46; cursor: not-allowed; }
.hero-note { margin-top: 15px; color: #5b5149; font-size: .87rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.project-links a { color: var(--ink); font-size: .9rem; font-weight: 750; text-underline-offset: 4px; }
.event-poster { position: relative; min-height: 590px; padding: 42px 32px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--wine); color: white; }
.event-poster::before { content: ""; position: absolute; inset: 0; opacity: .15; background: url('/assets/brand/pattern.svg') center/520px auto; filter: brightness(0) invert(1); }
.poster-date, .poster-meta { position: relative; z-index: 1; }
.poster-date { font-size: clamp(4.5rem, 9vw, 7rem); line-height: .76; letter-spacing: -.06em; font-weight: 780; }
.poster-meta { display: grid; gap: 8px; line-height: 1.4; }
.poster-map { width: fit-content; color: white; font-weight: 750; text-underline-offset: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; border: 1px solid var(--line); background: var(--paper); }
.stat { padding: 23px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong, .stat span { display: block; }
.stat strong { color: var(--wine); font-size: 1.48rem; }
.stat span { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.section { max-width: var(--max); margin: 0 auto; padding: 58px 28px; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.section-head p, .muted { color: var(--muted); }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.band-grid:where(:has(> .band-card:nth-child(4):last-child)),
.band-grid:where(:has(> .band-card:nth-child(2):last-child)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band-grid:where(:has(> .band-card:only-child)) { grid-template-columns: minmax(0, 1fr); }
.band-card { min-width: 0; overflow-wrap: anywhere; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.archive-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.archive-card > a { display: grid; color: inherit; text-decoration: none; }
.archive-card:hover { border-color: var(--wine); }
.archive-card-cover { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--sand); }
.archive-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-card-cover-empty { background-color: var(--wine); background-image: linear-gradient(rgba(169,30,81,.9), rgba(169,30,81,.9)), url('/assets/brand/pattern.svg'); background-size: auto, 360px auto; }
.archive-card-body { display: grid; min-height: 280px; padding: 22px; }
.archive-card-date { display: grid; gap: 7px; align-content: start; }
.archive-card-date span { color: var(--wine); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.archive-card-date strong { font-size: 1.05rem; }
.archive-card-copy { align-self: end; }
.archive-card-copy h3 { margin: 0; color: var(--wine); font-size: 1.55rem; line-height: 1.02; }
.archive-card-copy p { margin: 8px 0; color: var(--muted); }
.archive-card-lineup { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.archive-card-lineup span, .archive-card-badges span { padding: 5px 7px; background: var(--paper-soft); color: var(--muted); font-size: .76rem; }
.archive-card-badges { display: flex; gap: 6px; margin-top: 9px; }
.archive-card-badges span { background: var(--sand); color: var(--ink); }
.archive-card-action { align-self: end; margin-top: 18px; color: var(--wine); font-weight: 750; }
.archive-preview .section-head > a { color: var(--wine); font-weight: 750; }
.archive-empty { max-width: 720px; }
.archive-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); max-width: var(--max); margin: 0 auto; border-inline: 1px solid var(--line); background: var(--sand); }
.archive-hero > div { min-height: 430px; padding: 70px 48px 42px; background-image: linear-gradient(rgba(255,213,155,.92), rgba(255,213,155,.92)), url('/assets/brand/pattern.svg'); background-size: auto, 500px auto; }
.archive-hero h1 { color: var(--wine); }
.archive-hero > div > p:last-child { max-width: 680px; font-size: 1.1rem; line-height: 1.55; }
.archive-hero aside { display: grid; align-content: end; gap: 10px; padding: 36px; background: var(--wine); color: white; }
.archive-hero aside strong, .archive-hero aside span { display: block; }
.archive-hero aside strong { font-size: 1.45rem; }
.archive-hero aside a { width: fit-content; font-weight: 750; text-underline-offset: 4px; }
.archive-jam-list { display: grid; gap: 8px; }
.archive-jam-list > article { padding: 18px; border: 1px solid var(--line); background: var(--paper-soft); }
.archive-jam-list > article strong, .archive-jam-list > article span { display: block; }
.archive-jam-list > article > div:first-child > span { margin-top: 5px; color: var(--muted); }
.archive-photo-grid, .archive-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.archive-photo { margin: 0; border: 1px solid var(--line); background: var(--paper-soft); }
.archive-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-soft); }
.archive-photo figcaption { padding: 9px 11px; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.archive-video { padding: 12px; border: 1px solid var(--line); background: var(--paper-soft); }
.archive-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.archive-video strong { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.archive-next { display: flex; align-items: end; justify-content: space-between; gap: 24px; background: var(--sand); }
.archive-next p { margin-bottom: 0; }
.band-card, .panel, .proposal, .artist-track, .admin-card, .application-card { border: 1px solid var(--line); background: var(--paper); }
.band-card { min-height: 210px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.band-card h3 { margin: 7px 0; color: var(--wine); font-size: 1.55rem; }
.slot { color: var(--wine); font-size: .86rem; font-weight: 800; }
.member-list { display: grid; gap: 4px; margin-top: 16px; color: var(--muted); font-size: .87rem; }
.demo { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); text-decoration: none; }
.play { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--wine); border-radius: 50%; background: transparent; color: var(--wine); }
.wave { flex: 1; height: 28px; opacity: .45; background: repeating-linear-gradient(90deg, var(--wine) 0 2px, transparent 2px 7px); clip-path: polygon(0 45%,5% 15%,10% 70%,15% 32%,20% 80%,25% 20%,30% 65%,35% 10%,40% 75%,45% 30%,50% 85%,55% 22%,60% 65%,65% 12%,70% 68%,75% 35%,80% 82%,85% 15%,90% 60%,95% 30%,100% 48%,100% 55%,0 55%); }
.jam-invite { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--pink); }
.jam-copy { padding: 42px; }
.jam-copy p { max-width: 520px; line-height: 1.55; }
.jam-preview { display: grid; gap: 9px; padding: 26px; }
.jam-mini { padding: 16px; border: 1px solid rgba(29,29,27,.28); background: rgba(255,255,255,.78); }
.jam-mini-head { display: flex; justify-content: space-between; gap: 12px; }
.parts { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.part-pill { padding: 6px 9px; background: var(--sand); font-size: .8rem; }
.part-pill.open { border: 1px dashed var(--wine); background: white; }
.page { max-width: var(--max); margin: 0 auto; padding: 56px 28px 78px; }
.page-title { margin-bottom: 30px; }
.page-title h1 { color: var(--wine); font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-title p { max-width: 760px; color: var(--muted); font-size: 1.06rem; line-height: 1.6; }
.two-column { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 16px; align-items: start; }
.panel { padding: 24px; }
.panel h2 { margin-bottom: 19px; color: var(--wine); font-size: 1.6rem; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { color: var(--muted); font-size: .9rem; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 1rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.member-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.member-fields .wide { grid-column: 1 / -1; }
.members-builder { margin: 25px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.members-builder-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 14px; }
.members-builder-head h3 { margin: 0; color: var(--wine); font-size: 1.35rem; }
.members-builder-head p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.members-list { display: grid; gap: 12px; }
.member-editor { padding: 16px; border: 1px solid var(--line); background: var(--paper-soft); }
.member-editor-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.member-editor-head strong { color: var(--wine); }
.remove-member { padding: 5px 0; border: 0; background: transparent; color: var(--muted); font-size: .78rem; text-decoration: underline; cursor: pointer; }
.remove-member:disabled { visibility: hidden; }
.member-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.member-equipment { grid-column: 1 / -1; }
.member-other[hidden] { display: none; }
.check { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; color: var(--muted); font-size: .88rem; }
.feedback { margin-top: 13px; padding: 12px; background: var(--sand); color: var(--ink); }
.feedback.error { background: #ffd4dc; color: #721633; }
.proposal { padding: 18px 0; border-width: 1px 0 0; background: transparent; }
.proposal:first-of-type { border-top: 0; padding-top: 0; }
.proposal-head { display: flex; justify-content: space-between; gap: 16px; }
.proposal p { margin: 7px 0; color: var(--muted); }
.status { display: inline-flex; padding: 6px 9px; height: fit-content; background: var(--paper-soft); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; white-space: nowrap; }
.status.live, .status.accepted, .status.lineup_confirmed { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.status.rejected { background: #f8d7df; color: #79153c; }
.identity { margin-bottom: 20px; padding: 15px 18px; background: var(--sand); color: var(--ink); }
.identity span { display: block; margin-top: 4px; color: #514940; font-size: .88rem; }
.artist-track, .application-card { margin-bottom: 13px; padding: 22px; }
.artist-track h2, .application-card h2 { font-size: 1.55rem; }
.track-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.track-head > span { color: var(--wine); font-weight: 800; }
.mobile-flow { display: none; }
.part-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.part-card { padding: 14px; background: var(--paper-soft); }
.part-card.assigned { outline: 2px solid var(--wine); outline-offset: -2px; background: #fff3df; }
.part-card strong, .part-card small { display: block; }
.part-card small { min-height: 36px; margin: 5px 0 11px; color: var(--muted); }
.mini-button { padding: 9px 11px; border: 1px solid var(--wine); background: transparent; color: var(--wine); cursor: pointer; }
.mini-button.done { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.mini-button:disabled { cursor: default; opacity: .7; }
.application-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 9px 0 15px; color: var(--muted); }
.application-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.timeline { display: grid; gap: 10px; margin: 18px 0; }
.timeline-item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.timeline-item::before { content: ""; width: 12px; height: 12px; margin-top: 5px; background: var(--pink); border-radius: 50%; }
.admin-shell { display: grid; grid-template-columns: 235px minmax(0, 1fr); max-width: 1440px; margin: 0 auto; min-height: 78vh; background: var(--paper); }
.admin-side { padding: 30px 19px; border-right: 1px solid var(--line); background: var(--paper-soft); }
.admin-side h2 { margin-bottom: 22px; color: var(--wine); font-size: 1.15rem; }
.admin-side a { display: block; padding: 11px; text-decoration: none; color: var(--muted); }
.admin-side a.active { background: var(--sand); color: var(--ink); }
.admin-main { padding: 34px; }
.admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.admin-head h1 { color: var(--wine); font-size: 2.5rem; }
.admin-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.admin-card { padding: 17px; }
.admin-card span { display: block; color: var(--muted); font-size: .84rem; }
.admin-card strong { display: block; margin: 8px 0 2px; color: var(--wine); font-size: 1.75rem; }
.admin-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.admin-content-form { margin-bottom: 28px; }
.admin-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-form-head .compact-field { min-width: 190px; }
.admin-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.admin-settings-grid .full { grid-column: 1 / -1; }
.admin-toggles { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-block: 4px 18px; }
.admin-section { margin: 34px 0; }
.admin-band-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.admin-band-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; list-style: none; }
.admin-band-card > summary::-webkit-details-marker { display: none; }
.admin-band-card > summary::after { content: "+"; flex: 0 0 auto; color: var(--wine); font-size: 1.45rem; line-height: 1; }
.admin-band-card[open] > summary::after { content: "−"; }
.admin-band-card > summary strong,
.admin-band-card > summary small { display: block; }
.admin-band-card > summary strong { color: var(--wine); font-size: 1.15rem; }
.admin-band-card > summary small { margin-top: 5px; color: var(--muted); font-size: .82rem; }
.admin-band-state { margin-left: auto; padding: 6px 8px; background: var(--paper-soft); color: var(--muted); font-size: .76rem; white-space: nowrap; }
.admin-band-form { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-jam { margin-top: 14px; }
.admin-jam-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; }
.admin-jam-summary h2 { margin-bottom: 10px; }
.admin-jam-summary-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.admin-jam-console .admin-main { max-width: 1180px; }
.jam-console-stats .admin-card:last-child strong { font-size: 1.12rem; line-height: 1.15; overflow-wrap: anywhere; }
.admin-team { width: min(100%, 920px); margin-top: 14px; }
.admin-team > p { max-width: 720px; line-height: 1.5; }
.admin-invite-form { display: grid; grid-template-columns: minmax(280px, 520px) auto; justify-content: start; gap: 10px; align-items: end; margin: 20px 0 26px; }
.admin-invite-form .field { margin: 0; }
.admin-invite-form .button { white-space: nowrap; }
.admin-team .admin-list { max-width: 720px; }
.admin-team .admin-row > div { min-width: 0; }
.admin-team .admin-row strong,
.admin-team .admin-row small { overflow-wrap: anywhere; }
.admin-list > h3 { margin: 22px 0 4px; }
.checklist-editor-list { display: grid; gap: 10px; margin: 18px 0; }
.checklist-item-form { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; border: 1px solid var(--line); background: var(--paper-soft); }
.checklist-done { display: grid; min-height: 50px; place-items: center; margin: 0; border-right: 1px solid var(--line); cursor: pointer; }
.checklist-done input { width: 18px; height: 18px; margin: 0; accent-color: var(--wine); }
.checklist-disclosure { min-width: 0; }
.checklist-disclosure > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; cursor: pointer; list-style: none; }
.checklist-disclosure > summary::-webkit-details-marker { display: none; }
.checklist-summary-title { min-width: 0; overflow: hidden; color: var(--ink); font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.checklist-chevron { color: var(--wine); font-size: 1.15rem; line-height: 1; transition: transform .16s ease; }
.checklist-disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.checklist-disclosure[open] > summary::before { content: "Редактирование задачи"; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.checklist-disclosure[open] .checklist-summary-title { display: none; }
.checklist-disclosure[open] .checklist-chevron { transform: rotate(180deg); }
.checklist-expanded { display: grid; gap: 12px; padding: 14px; }
.checklist-item-form .field { margin: 0; }
.checklist-item-form .field label { font-size: .78rem; }
.checklist-item-form textarea { width: 100%; min-height: 72px; resize: vertical; }
.checklist-item-form .checklist-title textarea { min-height: 64px; font-weight: 650; }
.checklist-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.checklist-actions .mini-button { min-width: 132px; }
.checklist-item-form .form-feedback { margin: 0; }
.checklist-item-form.is-done { opacity: .68; }
.checklist-item-form.is-done .checklist-summary-title { text-decoration: line-through; }
.checklist-item-new { display: block; padding: 0; border-style: dashed; }
.checklist-item-new .checklist-summary-title { color: var(--wine); }
.checklist-item-new .checklist-disclosure[open] > summary::before { content: "Новая задача"; }
.member-lineup-toggle { margin-left: auto; }
.lineup-visibility-form { margin-top: 18px; }
.lineup-checks { display: grid; gap: 8px; margin: 16px 0; }
.group-directory-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.group-directory-head .button { flex: 0 0 auto; }
.group-search { display: grid; gap: 7px; max-width: 620px; margin-bottom: 20px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.group-search input { min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1rem; }
.group-search input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.group-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-directory-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 150px; padding: 22px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.group-directory-card:hover { border-color: var(--wine); background: var(--paper-soft); }
.group-directory-card h2 { margin-bottom: 9px; color: var(--wine); font-size: 1.75rem; }
.group-directory-card p:last-child { margin: 0; color: var(--muted); }
.group-directory-card[hidden] { display: none; }
.group-directory-item { position: relative; }
.group-directory-item .group-directory-card { padding-right: 130px; }
.group-directory-delete { position: absolute; right: 18px; bottom: 18px; }
.danger-button { border-color: #a3264f; color: #a3264f; background: transparent; }
.danger-button:hover { color: #fff; background: #a3264f; }
.group-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-color: #d6a4b4; }
.group-danger-zone h2, .group-danger-zone p { margin: 0; }
.group-danger-zone p { margin-top: 8px; }
.group-search-empty { margin-top: 22px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--wine); font-weight: 750; text-underline-offset: 4px; }
.group-profile-page { max-width: 980px; }
.group-profile-form { max-width: 900px; }
.group-brand-assets { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(260px, 1.35fr); gap: 18px; align-items: start; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.group-brand-assets h3 { margin: 0; color: var(--wine); font-size: 1.35rem; }
.group-brand-assets p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.group-logo-upload { display: grid; gap: 8px; }
.group-logo-upload input[type="file"] { width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.group-logo-upload img { width: min(100%, 280px); max-height: 180px; padding: 10px; border: 1px solid var(--line); background: white; object-fit: contain; }
.asset-upload-status { display: block; min-height: 1.2em; color: var(--wine); font-weight: 650; }
.group-profile-readonly { max-width: 820px; }
.group-profile-readonly > p { max-width: 720px; line-height: 1.6; }
.group-facts { display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--muted); font-weight: 650; }
.group-facts a { color: var(--wine); }
.profile-helper { margin-top: 16px; }
.social-links-builder { margin: 26px 0; }
.social-links-list { display: grid; gap: 9px; margin-top: 14px; }
.social-link-row { position: relative; display: grid; grid-template-columns: minmax(150px, .55fr) minmax(280px, 1.45fr); grid-template-areas: "name url" "qr qr"; gap: 14px 12px; align-items: start; padding: 18px 58px 18px 18px; border: 1px solid var(--line); background: var(--paper-soft); }
.social-link-row .field { margin: 0; }
.social-name-field { grid-area: name; }
.social-url-field { grid-area: url; }
.social-remove { position: absolute; top: 13px; right: 16px; }
.qr-upload { grid-area: qr; display: grid; grid-template-columns: minmax(150px, .55fr) minmax(280px, 1.45fr); gap: 7px 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.qr-upload > label { grid-column: 1; grid-row: 1; }
.qr-upload > input[type="file"] { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.qr-upload > input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border: 1px solid var(--wine); background: transparent; color: var(--wine); font: inherit; font-weight: 700; }
.qr-upload > .muted,
.qr-upload > .asset-upload-status,
.qr-upload > img { grid-column: 2; }
.qr-upload > .muted { font-size: .82rem; }
.qr-upload img { display: block; width: 88px; height: 88px; border: 1px solid var(--line); background: white; object-fit: contain; }
.social-cards { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.social-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); }
.social-card img { width: 110px; height: 110px; background: white; object-fit: contain; }
.band-leader-form { margin-top: 16px; }
.inline-form { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 10px; align-items: end; }
.inline-form .field { margin: 0; }
.briefing-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; }
.briefing-facts { display: grid; gap: 15px; margin: 20px 0; }
.briefing-facts div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.briefing-facts dt { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.briefing-facts dd { margin: 5px 0 0; font-size: 1.05rem; }
.briefing-list { display: grid; gap: 12px; padding-left: 24px; }
.event-feedback-form { max-width: 780px; }
.feedback-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-fields:disabled { opacity: .62; }
.feedback-availability { max-width: 620px; margin: 4px 0 16px; padding: 12px 14px; border-left: 4px solid var(--sand); background: var(--paper-soft); }
.feedback-invite { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--paper); }
.feedback-invite > div { max-width: 760px; }
.feedback-invite .button { flex: 0 0 auto; }
.rating-field { display: flex; gap: 9px; margin: 0 0 24px; padding: 0; border: 0; }
.rating-field legend { width: 100%; margin-bottom: 10px; font-weight: 750; }
.rating-field label input { position: absolute; opacity: 0; }
.rating-field label span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); cursor: pointer; }
.rating-field label input:checked + span { border-color: var(--wine); background: var(--wine); color: white; }
.jam-moderation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 28px; }
.jam-moderation-item { margin: 0; padding: 14px; border: 1px solid var(--line); }
.admin-jam > h3 { margin: 24px 0 8px; }
.admin-feedback { margin-top: 14px; }
.feedback-average { color: var(--wine); font-size: 1.5rem; }
.feedback-admin-list { display: grid; gap: 10px; margin-top: 16px; }
.feedback-admin-list article { padding: 13px; border: 1px solid var(--line); background: var(--paper-soft); }
.feedback-admin-list article > div { display: flex; justify-content: space-between; gap: 12px; }
.feedback-admin-list span { color: var(--wine); }
.feedback-admin-list p { margin: 9px 0 0; }
.admin-media { margin-top: 14px; }
.media-upload-form { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(280px, 1.35fr) auto; gap: 12px; align-items: end; margin: 20px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.media-upload-form .field { margin: 0; }
.media-upload-form input[type="file"] { min-height: 48px; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.media-upload-form .media-progress,
.media-upload-form .form-feedback { grid-column: 1 / -1; margin: 0; }
.media-progress { color: var(--wine); font-size: .9rem; font-weight: 700; }
.media-list { display: grid; gap: 0; }
.media-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.media-row:last-child { border-bottom: 0; }
.media-row > div { min-width: 0; }
.media-row strong, .media-row small { display: block; overflow-wrap: anywhere; }
.media-row small { margin-top: 5px; color: var(--muted); }
.admin-archive-note { max-width: 900px; margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.archive-admin-event { margin-bottom: 16px; }
.archive-publication-form { padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.archive-publication-form > p { max-width: 840px; color: var(--muted); }
.archive-publication-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.archive-admin-media { padding-top: 20px; }
.archive-admin-media > h3 { color: var(--wine); }
.archive-media-form { display: grid; grid-template-columns: minmax(220px, 1.25fr) minmax(170px, .65fr) minmax(220px, .9fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.archive-media-form .field, .archive-media-form .check { margin: 0; }
.archive-media-file { min-width: 0; }
.archive-media-file strong, .archive-media-file small { display: block; overflow-wrap: anywhere; }
.archive-media-file small { margin-top: 5px; color: var(--muted); }
.archive-media-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: end; }
.archive-media-form .form-feedback { grid-column: 1 / -1; }
.lineup-add-form { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(130px, 220px) auto; gap: 12px; align-items: end; margin-bottom: 14px; }
.lineup-add-form .field { margin: 0; }
.lineup-admin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.lineup-entry-form { min-width: 0; }
.lineup-entry-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.lineup-entry-head strong, .lineup-entry-head span { display: block; }
.lineup-entry-head strong { color: var(--wine); font-size: 1.3rem; }
.lineup-entry-head span { margin-top: 5px; color: var(--muted); font-size: .84rem; }
.lineup-entry-head .check { flex: 0 0 auto; margin: 2px 0; }
.lineup-member-list { padding-top: 8px; border-top: 1px solid var(--line); }
.lineup-member-list > p { margin-bottom: 5px; color: var(--muted); font-size: .84rem; font-weight: 650; }
.lineup-entry-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.technical-summary { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 12px; margin-bottom: 12px; }
.technical-summary article { padding: 18px; border: 1px solid var(--line); background: var(--paper-soft); }
.technical-summary article > span, .technical-summary small { display: block; color: var(--muted); }
.technical-summary article > span { font-size: .82rem; font-weight: 700; }
.technical-summary article > strong { display: block; margin: 5px 0 0; color: var(--wine); font-size: 2.2rem; line-height: 1; }
.technical-summary small { margin-top: 8px; }
.technical-peak-list, .technical-instruments { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; align-items: flex-start; }
.technical-peak-list { margin-top: 10px; }
.technical-peak-list > span, .technical-instruments > span { padding: 5px 8px; background: var(--sand); color: #1D1D1B; font-size: .82rem; font-weight: 700; line-height: 1.35; border-radius: 4px; }
.technical-rider-table { padding: 0; overflow: hidden; }
.technical-rider-header, .technical-rider-row { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(210px, .8fr) minmax(320px, 1.65fr); }
.technical-rider-header { background: var(--wine); color: white; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.technical-rider-header > span, .technical-rider-row > div { padding: 13px 15px; }
.technical-rider-row { border-top: 1px solid var(--line); }
.technical-rider-row:first-of-type { border-top: 0; }
.technical-rider-row > div + div { border-left: 1px solid var(--line); }
.technical-rider-band strong, .technical-rider-band span { display: block; }
.technical-rider-band strong { color: var(--wine); }
.technical-rider-band span { margin-top: 5px; color: var(--muted); font-size: .82rem; }
.technical-equipment { display: grid; gap: 10px; }
.technical-equipment-item strong, .technical-equipment-item span { display: block; }
.technical-equipment-item strong { margin-bottom: 3px; font-size: .82rem; }
.technical-equipment-item span { color: var(--muted); line-height: 1.4; white-space: pre-line; }
.admin-list { border-top: 1px solid var(--line); }
.admin-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.admin-row small { display: block; margin-top: 5px; color: var(--muted); }
.admin-track { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.admin-track .admin-row { border-bottom: 0; }
.admin-track-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.track-key-form { display: grid; gap: 7px; }
.track-key-form label { color: var(--muted); font-size: .82rem; }
.track-key-form > div { display: flex; gap: 8px; }
.track-key-form input { min-width: 0; flex: 1; padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.track-key-form .form-feedback { padding: 0; margin: 0; background: transparent; color: var(--muted); font-size: .78rem; }
.timepad-link-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.timepad-link-control input { min-width: 0; }
html[data-layout="mobile"] .timepad-link-control { grid-template-columns: 1fr; }
body.jam-screen-page { min-width: 320px; background: var(--paper-soft); }
body.jam-screen-page .site-header,
body.jam-screen-page .mobile-nav,
body.jam-screen-page > footer { display: none !important; }
body.jam-screen-page main { min-height: 100vh; }
.jam-screen-shell { min-height: 100vh; padding: clamp(18px, 2vw, 34px); background-color: var(--paper-soft); background-image: linear-gradient(rgba(255,248,238,.94), rgba(255,248,238,.94)), url('/assets/brand/pattern.svg'); background-size: auto, 720px auto; }
.jam-screen-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: clamp(14px, 1.4vw, 24px); }
.jam-screen-brand { width: 270px; height: 58px; overflow: hidden; }
.jam-screen-brand img { display: block; width: 100%; height: auto; transform: translateY(-42%); }
.jam-screen-brand .jam-screen-logo-dark { display: none; }
.jam-screen-header > div:last-child { display: grid; grid-template-columns: auto auto; align-items: center; justify-items: end; gap: 8px; }
.jam-screen-header > div:last-child small { grid-column: 1 / -1; }
.jam-screen-header small { color: var(--muted); font-size: clamp(.8rem, 1.1vw, 1rem); }
.jam-screen-theme-toggle { min-height: 34px; padding: 6px 10px; border: 1px solid var(--wine); background: transparent; color: var(--wine); font: inherit; font-size: clamp(.7rem, .82vw, .82rem); font-weight: 750; cursor: pointer; }
.jam-screen-live { padding: 7px 12px; background: var(--wine); color: white; font-size: clamp(.72rem, .9vw, .9rem); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jam-screen-focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 22vw); border: 1px solid var(--ink); background: var(--paper); }
.jam-screen-current { min-height: min(41vh, 430px); padding: clamp(24px, 2.8vw, 44px); border-right: 1px solid var(--ink); }
.jam-screen-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.jam-screen-title h1,
.jam-screen-placeholder h1 { max-width: none; color: var(--wine); font-size: clamp(3.4rem, 5.4vw, 6.4rem); line-height: .88; }
.jam-screen-title > span { flex: 0 0 auto; padding-top: .08em; color: var(--wine); font-size: clamp(2rem, 3vw, 3.8rem); font-weight: 800; }
.jam-screen-original { margin: 12px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.55rem); }
.jam-screen-placeholder { display: grid; align-content: center; min-height: 35vh; }
.jam-screen-placeholder p { color: var(--muted); font-size: 1.2rem; }
.jam-screen-performers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: clamp(18px, 2.2vw, 30px); }
.jam-screen-performer { min-width: 0; padding: 11px 13px; background: var(--sand); }
.jam-screen-performer span,
.jam-screen-performer strong,
.jam-screen-performer small { display: block; }
.jam-screen-performer span { color: var(--wine); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.jam-screen-performer strong { margin-top: 4px; font-size: clamp(.95rem, 1.2vw, 1.3rem); }
.jam-screen-performer small { margin-top: 4px; color: var(--muted); font-size: clamp(.78rem, 1vw, .95rem); }
.jam-screen-qr { display: grid; align-content: center; justify-items: center; gap: 8px; padding: clamp(18px, 2vw, 30px); text-align: center; background: var(--sand); }
.jam-screen-qr img { width: min(100%, 240px); aspect-ratio: 1; padding: 8px; background: white; }
.jam-screen-qr strong { color: var(--wine); font-size: clamp(1.15rem, 1.55vw, 1.7rem); }
.jam-screen-qr a { max-width: 280px; color: var(--muted); font-size: clamp(.68rem, .9vw, .86rem); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.jam-screen-queue { padding-top: clamp(16px, 1.8vw, 28px); }
.jam-screen-section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.jam-screen-section-title h2 { font-size: clamp(1.65rem, 2.4vw, 2.8rem); }
.jam-screen-section-title small { color: var(--muted); }
.jam-screen-proposals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px; }
.jam-screen-proposal { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.94); }
.jam-screen-proposal h3 { margin: 0; color: var(--wine); font-size: clamp(1rem, 1.25vw, 1.35rem); }
.jam-screen-proposal p { margin: 5px 0 0; color: var(--muted); }
.jam-screen-statuses { display: flex; flex-wrap: wrap; gap: 6px; }
.jam-screen-statuses span { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 750; }
.jam-screen-statuses .accent { border-color: var(--sand); background: var(--sand); color: var(--ink); }
.jam-screen-responders { display: grid; align-content: end; gap: 3px; color: var(--muted); font-size: .76rem; }
.jam-screen-responders span { overflow-wrap: anywhere; }
.jam-screen-responders strong { color: var(--ink); }
.jam-screen-empty { align-self: center; margin: 0; color: var(--muted); }
body.jam-screen-dark { background: #121110; color: #f7eee4; }
body.jam-screen-dark .jam-screen-shell { background-color: #121110; background-image: linear-gradient(rgba(18,17,16,.965), rgba(18,17,16,.965)), url('/assets/brand/pattern.svg'); }
body.jam-screen-dark .jam-screen-brand .jam-screen-logo-light { display: none; }
body.jam-screen-dark .jam-screen-brand .jam-screen-logo-dark { display: block; }
body.jam-screen-dark .jam-screen-header small,
body.jam-screen-dark .jam-screen-original,
body.jam-screen-dark .jam-screen-proposal p,
body.jam-screen-dark .jam-screen-responders,
body.jam-screen-dark .jam-screen-empty,
body.jam-screen-dark .jam-screen-section-title small,
body.jam-screen-dark .jam-screen-qr a { color: #c9bdb4; }
body.jam-screen-dark .jam-screen-theme-toggle { border-color: #db7ca8; color: #ffd59b; }
body.jam-screen-dark .jam-screen-focus { border-color: #76635e; background: #191817; }
body.jam-screen-dark .jam-screen-current { border-color: #76635e; }
body.jam-screen-dark .jam-screen-title h1,
body.jam-screen-dark .jam-screen-placeholder h1,
body.jam-screen-dark .jam-screen-title > span,
body.jam-screen-dark .jam-screen-proposal h3 { color: #db7ca8; }
body.jam-screen-dark .jam-screen-section-title h2,
body.jam-screen-dark .jam-screen-performer strong,
body.jam-screen-dark .jam-screen-responders strong { color: #f7eee4; }
body.jam-screen-dark .jam-screen-performer { background: #472535; }
body.jam-screen-dark .jam-screen-performer span { color: #ffd59b; }
body.jam-screen-dark .jam-screen-performer small { color: #d8c9c0; }
body.jam-screen-dark .jam-screen-qr { background: #2b211b; }
body.jam-screen-dark .jam-screen-qr strong { color: #ffd59b; }
body.jam-screen-dark .jam-screen-proposal { border-color: #5b4c47; background: rgba(28,26,25,.96); }
body.jam-screen-dark .jam-screen-statuses span { border-color: #695751; color: #d8c9c0; }
body.jam-screen-dark .jam-screen-statuses .accent { border-color: #7b4b35; background: #3a2b22; color: #ffd59b; }
@media (max-width: 900px) {
  .jam-screen-shell { padding: 20px; }
  .jam-screen-header { align-items: flex-start; }
  .jam-screen-brand { width: 220px; height: 50px; }
  .jam-screen-focus { grid-template-columns: 1fr; }
  .jam-screen-current { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .jam-screen-qr { grid-template-columns: 180px 1fr; justify-items: start; text-align: left; }
  .jam-screen-qr img { grid-row: 1 / 3; }
  .jam-screen-title { display: grid; }
  .jam-screen-title h1,
  .jam-screen-placeholder h1 { font-size: clamp(3.2rem, 12vw, 6rem); }
}
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--max); margin: 0 auto; padding: 28px; border-inline: 1px solid var(--line); color: var(--muted); background: var(--paper); }
footer img { width: 42px; height: 42px; object-fit: contain; }
body.admin-page footer { max-width: 1440px; }
.mobile-nav { display: none; }
html[data-layout="mobile"] body { max-width: 430px; margin-inline: auto; padding-bottom: calc(66px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 1px var(--line); }
html[data-layout="mobile"] .site-header { position: sticky; display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
html[data-layout="mobile"] .brand { width: 166px; height: 45px; flex: 0 0 auto; }
html[data-layout="mobile"] .site-header nav { margin-left: auto; flex-wrap: nowrap; gap: 4px; }
html[data-layout="mobile"] .site-header .nav-links { display: none; }
html[data-layout="mobile"] .account-name { display: none; }
html[data-layout="mobile"] .layout-toggle { flex: 0 0 auto; min-height: 44px; padding: 8px 10px; white-space: nowrap; }
html[data-layout="mobile"] .site-header .yandex-login,
html[data-layout="mobile"] .site-header .logout { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; white-space: nowrap; }
html[data-layout="mobile"] .site-header .yandex-login { min-width: 64px; }
html[data-layout="mobile"] .login-long { display: none; }
html[data-layout="mobile"] .login-short { display: inline; }
html[data-layout="mobile"] .hero,
html[data-layout="mobile"] .jam-invite,
html[data-layout="mobile"] .two-column,
html[data-layout="mobile"] .admin-grid { grid-template-columns: 1fr; }
html[data-layout="mobile"] .hero-copy { min-height: 540px; padding: 48px 22px 30px; }
html[data-layout="mobile"] .event-poster { min-height: 340px; padding: 30px 22px; }
html[data-layout="mobile"] .stats,
html[data-layout="mobile"] .part-grid,
html[data-layout="mobile"] .admin-stats,
html[data-layout="mobile"] .member-fields { grid-template-columns: 1fr; }
html[data-layout="mobile"] .stat { border-right: 0; border-bottom: 1px solid var(--line); }
html[data-layout="mobile"] .stat:last-child { border-bottom: 0; }
html[data-layout="mobile"] .band-grid { grid-template-columns: 1fr; }
html[data-layout="mobile"] .archive-grid,
html[data-layout="mobile"] .archive-photo-grid,
html[data-layout="mobile"] .archive-video-grid,
html[data-layout="mobile"] .archive-hero { grid-template-columns: 1fr; }
html[data-layout="mobile"] .archive-card-body { min-height: 250px; padding: 18px; }
html[data-layout="mobile"] .archive-hero > div { min-height: 390px; padding: 48px 22px 30px; }
html[data-layout="mobile"] .archive-hero aside { padding: 26px 22px; }
html[data-layout="mobile"] .archive-next { display: grid; align-items: stretch; }
html[data-layout="mobile"] .archive-next .button { width: 100%; }
html[data-layout="mobile"] .section,
html[data-layout="mobile"] .page { padding-left: 18px; padding-right: 18px; }
html[data-layout="mobile"] .page { padding-top: 26px; padding-bottom: 42px; }
html[data-layout="mobile"] .page-title { margin-bottom: 22px; }
html[data-layout="mobile"] .page-title h1 { font-size: clamp(2.55rem, 13vw, 4rem); line-height: .94; }
html[data-layout="mobile"] .page-title p { margin-bottom: 0; font-size: .98rem; line-height: 1.5; }
html[data-layout="mobile"] .jam-copy { padding: 34px 22px; }
html[data-layout="mobile"] .jam-preview { padding: 18px; }
html[data-layout="mobile"] .member-fields .wide { grid-column: auto; }
html[data-layout="mobile"] .members-builder-head { display: grid; }
html[data-layout="mobile"] .members-builder-head .mini-button { width: 100%; min-height: 48px; }
html[data-layout="mobile"] .member-editor { padding: 14px; }
html[data-layout="mobile"] .member-editor-grid { grid-template-columns: 1fr; }
html[data-layout="mobile"] .member-editor-head { flex-wrap: wrap; }
html[data-layout="mobile"] .member-lineup-toggle { order: 3; width: 100%; margin-left: 0; }
html[data-layout="mobile"] .member-equipment { grid-column: auto; }
html[data-layout="mobile"] .artist-page { padding-left: 12px; padding-right: 12px; }
html[data-layout="mobile"] .artist-page .page-title { padding-inline: 6px; }
html[data-layout="mobile"] .artist-page .identity { position: sticky; top: 65px; z-index: 12; margin: -26px -12px 22px; padding: 12px 18px; border-bottom: 1px solid rgba(29,29,27,.18); box-shadow: 0 8px 20px rgba(29,29,27,.08); }
html[data-layout="mobile"] .mobile-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 14px; border: 1px solid var(--line); background: var(--paper); }
html[data-layout="mobile"] .mobile-flow span { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 10px 6px; border-right: 1px solid var(--line); color: var(--muted); font-size: .67rem; line-height: 1.15; word-break: break-word; }
html[data-layout="mobile"] .mobile-flow span:last-child { border-right: 0; }
html[data-layout="mobile"] .mobile-flow b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--sand); color: var(--wine); font-size: .76rem; }
html[data-layout="mobile"] .artist-track { margin-bottom: 12px; padding: 18px 14px; }
html[data-layout="mobile"] .artist-track h2 { font-size: 1.35rem; line-height: 1.12; }
html[data-layout="mobile"] .track-head { align-items: flex-start; }
html[data-layout="mobile"] .part-grid { gap: 10px; }
html[data-layout="mobile"] .part-card { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; min-height: 84px; padding: 13px; }
html[data-layout="mobile"] .part-card small { min-height: 0; margin-bottom: 0; }
html[data-layout="mobile"] .part-card .mini-button { width: 100%; min-height: 52px; padding: 11px 13px; line-height: 1.15; }
html[data-layout="mobile"] .panel .button,
html[data-layout="mobile"] .lineup-form .button,
html[data-layout="mobile"] #proposal-form .button { width: 100%; min-height: 52px; }
html[data-layout="mobile"] .field input,
html[data-layout="mobile"] .field textarea,
html[data-layout="mobile"] .field select { min-height: 50px; font-size: 16px; }
html[data-layout="mobile"] .admin-shell { grid-template-columns: 1fr; }
html[data-layout="mobile"] body.admin-page { padding-bottom: 0; }
html[data-layout="mobile"] body.admin-page .mobile-nav { display: none; }
html[data-layout="mobile"] body.admin-page footer { display: none; }
html[data-layout="mobile"] .admin-side { position: sticky; top: 65px; z-index: 15; display: flex; gap: 7px; overflow-x: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(255,248,238,.97); scrollbar-width: none; }
html[data-layout="mobile"] .admin-side::-webkit-scrollbar { display: none; }
html[data-layout="mobile"] .admin-side h2 { display: none; }
html[data-layout="mobile"] .admin-side a { flex: 0 0 auto; min-height: 42px; padding: 11px 13px; border: 1px solid var(--line); background: var(--paper); font-size: .82rem; font-weight: 700; white-space: nowrap; }
html[data-layout="mobile"] .admin-side a.active { border-color: var(--sand); }
html[data-layout="mobile"] .admin-main { min-width: 0; padding: 20px 14px 34px; overflow: hidden; }
html[data-layout="mobile"] .admin-head { align-items: flex-start; flex-direction: column; }
html[data-layout="mobile"] .admin-head h1 { max-width: 100%; font-size: 2.2rem; line-height: .98; overflow-wrap: anywhere; }
html[data-layout="mobile"] .admin-head .button { width: 100%; }
html[data-layout="mobile"] .admin-head-actions { display: grid; width: 100%; }
html[data-layout="mobile"] .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-layout="mobile"] .admin-card { min-width: 0; padding: 13px; }
html[data-layout="mobile"] .admin-card strong { margin-top: 5px; font-size: 1.4rem; }
html[data-layout="mobile"] .admin-card small { display: block; overflow-wrap: anywhere; }
html[data-layout="mobile"] .admin-main .panel { min-width: 0; padding: 16px; }
html[data-layout="mobile"] .admin-form-head { display: grid; }
html[data-layout="mobile"] .admin-jam-summary { display: grid; }
html[data-layout="mobile"] .admin-jam-summary-actions { display: grid; }
html[data-layout="mobile"] .admin-jam-summary-actions .button { width: 100%; }
html[data-layout="mobile"] .admin-form-head .compact-field { min-width: 0; width: 100%; }
html[data-layout="mobile"] .admin-settings-grid,
html[data-layout="mobile"] .admin-band-list { grid-template-columns: 1fr; }
html[data-layout="mobile"] .group-directory-head { display: grid; align-items: stretch; }
html[data-layout="mobile"] .group-directory-head .button { width: 100%; }
html[data-layout="mobile"] .group-directory { grid-template-columns: 1fr; }
html[data-layout="mobile"] .group-directory-card { min-height: 130px; padding: 18px; }
html[data-layout="mobile"] .group-directory-card h2 { font-size: 1.45rem; }
html[data-layout="mobile"] .group-directory-item .group-directory-card { padding-right: 18px; padding-bottom: 72px; }
html[data-layout="mobile"] .group-directory-delete { left: 18px; right: 18px; bottom: 14px; width: calc(100% - 36px); min-height: 42px; }
html[data-layout="mobile"] .group-danger-zone { display: grid; }
html[data-layout="mobile"] .group-danger-zone .button { width: 100%; }
html[data-layout="mobile"] .lineup-add-form,
html[data-layout="mobile"] .lineup-admin-list { grid-template-columns: 1fr; }
html[data-layout="mobile"] .lineup-add-form .button,
html[data-layout="mobile"] .lineup-entry-actions .button,
html[data-layout="mobile"] .lineup-entry-actions .mini-button { width: 100%; min-height: 48px; }
html[data-layout="mobile"] .lineup-entry-head { display: grid; }
html[data-layout="mobile"] .lineup-entry-head .check { margin-top: 6px; }
html[data-layout="mobile"] .technical-summary { grid-template-columns: 1fr; }
html[data-layout="mobile"] .technical-rider-table { overflow: visible; border: 0; background: transparent; }
html[data-layout="mobile"] .technical-rider-header { display: none; }
html[data-layout="mobile"] .technical-rider-row { display: grid; grid-template-columns: 1fr; margin-bottom: 12px; border: 1px solid var(--line); background: var(--paper); }
html[data-layout="mobile"] .technical-rider-row > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 12px; }
html[data-layout="mobile"] .technical-rider-row > div + div { border-top: 1px solid var(--line); border-left: 0; }
html[data-layout="mobile"] .technical-rider-row > div::before { content: attr(data-label); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
html[data-layout="mobile"] .technical-rider-row > div > * { grid-column: 2; }
html[data-layout="mobile"] .technical-instruments { display: grid; }
html[data-layout="mobile"] .technical-instruments > span { justify-self: start; }
html[data-layout="mobile"] .admin-invite-form { grid-template-columns: 1fr; }
html[data-layout="mobile"] .admin-team,
html[data-layout="mobile"] .admin-team .admin-list { width: 100%; max-width: none; }
html[data-layout="mobile"] .admin-invite-form { margin-bottom: 20px; }
html[data-layout="mobile"] .admin-invite-form .button { width: 100%; min-height: 46px; }
html[data-layout="mobile"] .checklist-item-form { grid-template-columns: 38px minmax(0, 1fr); }
html[data-layout="mobile"] .checklist-done { min-height: 48px; }
html[data-layout="mobile"] .checklist-disclosure > summary { min-height: 48px; padding: 9px 11px; }
html[data-layout="mobile"] .checklist-expanded { padding: 12px; }
html[data-layout="mobile"] .checklist-actions .mini-button { width: 100%; min-height: 44px; }
html[data-layout="mobile"] .checklist-item-new { display: block; }
html[data-layout="mobile"] .social-link-row,
html[data-layout="mobile"] .group-brand-assets,
html[data-layout="mobile"] .inline-form,
html[data-layout="mobile"] .briefing-grid,
html[data-layout="mobile"] .jam-moderation-list,
html[data-layout="mobile"] .media-upload-form { grid-template-columns: 1fr; }
html[data-layout="mobile"] .social-link-row { grid-template-areas: "name" "url" "qr" "remove"; gap: 13px; padding: 15px; }
html[data-layout="mobile"] .social-remove { position: static; grid-area: remove; }
html[data-layout="mobile"] .qr-upload { grid-template-columns: 1fr; padding-top: 13px; }
html[data-layout="mobile"] .qr-upload > label,
html[data-layout="mobile"] .qr-upload > input[type="file"],
html[data-layout="mobile"] .qr-upload > .muted,
html[data-layout="mobile"] .qr-upload > .asset-upload-status,
html[data-layout="mobile"] .qr-upload > img { grid-column: 1; grid-row: auto; }
html[data-layout="mobile"] .feedback-invite { display: grid; }
html[data-layout="mobile"] .feedback-invite .button,
html[data-layout="mobile"] .media-upload-form .button { width: 100%; min-height: 48px; }
html[data-layout="mobile"] .media-row { align-items: stretch; flex-direction: column; }
html[data-layout="mobile"] .archive-media-form { grid-template-columns: 1fr; align-items: stretch; }
html[data-layout="mobile"] .archive-media-actions { display: grid; justify-content: stretch; }
html[data-layout="mobile"] .archive-media-actions .mini-button { width: 100%; min-height: 44px; }
html[data-layout="mobile"] .archive-publication-actions { display: grid; }
html[data-layout="mobile"] .media-row .mini-button { width: 100%; min-height: 44px; }
html[data-layout="mobile"] .social-link-row .remove-member,
html[data-layout="mobile"] .inline-form .button { width: 100%; min-height: 46px; }
html[data-layout="mobile"] .admin-settings-grid .full { grid-column: auto; }
html[data-layout="mobile"] .admin-toggles { display: grid; gap: 0; }
html[data-layout="mobile"] .admin-section { margin: 28px 0; }
html[data-layout="mobile"] .admin-section .section-head { display: grid; gap: 8px; margin-bottom: 16px; }
html[data-layout="mobile"] .admin-section .section-head p { margin: 0; }
html[data-layout="mobile"] .admin-band-card { padding: 0; }
html[data-layout="mobile"] .admin-band-card > summary { min-height: 68px; padding: 13px 14px; }
html[data-layout="mobile"] .admin-band-card > summary strong { font-size: 1rem; }
html[data-layout="mobile"] .admin-band-state { display: none; }
html[data-layout="mobile"] .admin-band-form { margin: 0; padding: 16px 14px; }
html[data-layout="mobile"] .admin-row { display: grid; align-items: start; }
html[data-layout="mobile"] .admin-row .mini-button,
html[data-layout="mobile"] .application-actions .mini-button { width: 100%; min-height: 46px; }
html[data-layout="mobile"] .application-actions { display: grid; }
html[data-layout="mobile"] .proposal-head { display: grid; }
html[data-layout="mobile"] .proposal-head .status { justify-self: start; }
html[data-layout="mobile"] .track-key-form > div { display: grid; }
html[data-layout="mobile"] .track-key-form .mini-button { min-height: 46px; }
html[data-layout="mobile"] footer { align-items: flex-start; }
html[data-layout="mobile"] .mobile-nav { position: fixed; z-index: 30; inset: auto 50% 0 auto; width: min(100%, 430px); transform: translateX(50%); display: flex; justify-content: flex-start; gap: 0; overflow-x: auto; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 26px rgba(29,29,27,.08); backdrop-filter: blur(14px); scrollbar-width: none; }
html[data-layout="mobile"] .mobile-nav::-webkit-scrollbar { display: none; }
html[data-layout="mobile"] .mobile-nav [hidden] { display: none; }
html[data-layout="mobile"] .mobile-nav a { display: grid; place-items: center; flex: 1 0 78px; min-height: 64px; padding: 8px 4px; color: var(--muted); text-align: center; text-decoration: none; font-size: .71rem; font-weight: 750; line-height: 1.1; }
html[data-layout="mobile"] .mobile-nav a[aria-current="page"] { color: var(--wine); background: var(--paper-soft); }
@media (max-width: 390px) {
  html[data-layout="mobile"] .brand { width: 128px; }
  html[data-layout="mobile"] .layout-toggle { font-size: .7rem; }
  html[data-layout="mobile"] .mobile-nav a { font-size: .68rem; }
  html[data-layout="mobile"] .mobile-flow span { padding-inline: 5px; font-size: .62rem; }
}
