/* FATRACING / Гоночный штаб. Shared visual system for all admin tabs. */
@font-face { font-family: 'HQ Display'; src: url('/fonts/oswald-v57-bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
:root { color-scheme: light; --hq-accent: #ff4a00; --hq-accent-ink: #b83200; --hq-ink: #171715; --hq-muted: #666660; --hq-paper: #faf9f6; --hq-line: #deddd7; --hq-sidebar: #141413; --hq-radius: 4px; }
body.admin-hq { color: var(--hq-ink); background: var(--hq-paper); font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; line-height: 1.5; }
.admin-hq *, .admin-hq *::before, .admin-hq *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hq-icon { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.hq-skip { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 12px; background: white; color: var(--hq-ink); }
.hq-skip:focus { top: 12px; }
.admin-hq :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--hq-accent); outline-offset: 3px; }
.admin-hq .header { height: 76px; min-height: 76px; padding: 0 28px 0 24px; background: var(--hq-sidebar); border-bottom: 1px solid #383835; box-shadow: none; gap: 16px; flex-wrap: nowrap; }
.admin-hq .brand-wrap { width: 244px; flex: 0 0 244px; }
.admin-hq .brand { gap: 12px; }
.admin-hq .brand img { display: none; }
.hq-wordmark { font-family: 'HQ Display', sans-serif; font-size: 25px; line-height: 1; text-transform: uppercase; color: white; white-space: nowrap; }
.hq-wordmark small { display: block; margin-top: 7px; color: var(--hq-accent); font: 700 11px/1 'Segoe UI', sans-serif; letter-spacing: .24em; }
.admin-hq .user-info { gap: 18px; font-size: 13px; }
.admin-hq .landing-link, .admin-hq .logout-btn { color: #eeeee8; border: 1px solid #55554e; background: transparent; border-radius: var(--hq-radius); padding: 8px 12px; text-decoration: none; }
.admin-hq .landing-link:hover, .admin-hq .logout-btn:hover { background: #31312c; }
.admin-hq .app-shell { min-height: calc(100dvh - 76px); align-items: stretch; }
.admin-hq .sidebar { width: 282px; flex: 0 0 282px; position: sticky; top: 76px; height: calc(100dvh - 76px); display: flex; flex-direction: column; overflow: hidden; background: var(--hq-sidebar); border: 0; color: #ededdf; }
.hq-nav-search { display: flex; gap: 10px; align-items: center; flex-shrink: 0; margin: 22px 18px 18px; padding: 10px; border: 1px solid #4c4c46; border-radius: var(--hq-radius); }
.hq-nav-search .hq-icon { filter: invert(1); opacity: .65; width: 17px; height: 17px; flex-basis: 17px; }
.hq-nav-search input { border: 0; outline: 0; color: white; background: transparent; font: inherit; width: 100%; min-width: 0; padding: 0; }
.hq-nav-search input::placeholder { color: #b4b4aa; }
.hq-nav-search:focus-within { border-color: var(--hq-accent); }
.hq-nav-search kbd { color: #acaca1; font: 11px/1.2 inherit; white-space: nowrap; }
.hq-nav-scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #55554e transparent; padding: 0 12px 20px; flex: 1; min-height: 0; }
.hq-nav-caption { color: #abab9f; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; margin: 0 12px 8px; font-weight: 700; }
.hq-pins { padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid #383835; }
.admin-hq .sidebar ul { list-style: none; padding: 0; margin: 0; }
.admin-hq .sidebar a { color: #d4d4ca; border: 0; border-radius: var(--hq-radius); text-decoration: none; font-size: 13px; padding: 10px 12px; line-height: 1.4; }
.admin-hq .sidebar a:hover { color: white; background: #292923; }
.admin-hq .sidebar a.active { color: #ff8b5b; background: #392014; box-shadow: inset 3px 0 var(--hq-accent); }
.hq-nav-group { margin: 3px 0; }
.hq-nav-group summary { display: flex; gap: 12px; align-items: center; cursor: pointer; padding: 12px; border-radius: var(--hq-radius); list-style: none; font-weight: 600; font-size: 13px; line-height: 1.35; }
.hq-nav-group summary::-webkit-details-marker { display: none; }
.hq-nav-group summary:hover { background: #292923; }
.hq-nav-group summary .hq-icon { filter: invert(1); opacity: .85; width: 18px; height: 18px; flex-basis: 18px; }
.hq-nav-group summary .hq-icon:last-child { width: 12px; height: 12px; flex-basis: 12px; margin-left: auto; }
.hq-nav-group details[open] > summary .hq-icon:last-child { transform: rotate(90deg); }
.hq-nav-group details[open] > summary { color: white; }
.hq-nav-group details > ul > li { position: relative; }
.admin-hq .sidebar .hq-nav-link { padding: 10px 34px 10px 42px; min-height: 38px; display: block; }
.hq-pin { position: absolute; right: 5px; top: 3px; border: 0; background: transparent; padding: 8px 5px; cursor: pointer; opacity: 0; border-radius: 3px; }
.hq-pin .hq-icon { width: 13px; height: 13px; filter: invert(1); }
.hq-pin[aria-pressed=true] { opacity: .75; }
.hq-nav-link:hover + .hq-pin, .hq-pin:hover, .hq-pin:focus-visible, li:focus-within > .hq-pin { opacity: 1; }
.hq-nav-footer { margin: 24px 12px 0; padding-top: 18px; border-top: 1px solid #383835; color: #a8a89b; font-size: 11px; }
#hq-nav-empty { margin: 12px; color: #c7c7bb; }
.admin-hq .main { min-width: 0; overflow: clip; background: var(--hq-paper); }
.admin-hq .main > .container { max-width: 1720px; padding: 26px 36px 64px; margin: 0 auto; width: 100%; }
.hq-breadcrumb { display: flex; gap: 12px; margin: 0 0 24px; color: var(--hq-muted); font-size: 12px; }
.hq-breadcrumb span:last-child { color: var(--hq-ink); }
#content { min-width: 0; outline: none; }
.admin-hq #content > h2, .admin-hq #content > div:first-child > h2, .admin-hq #content > div:first-child > div:first-child > h2, .admin-hq .planning-heading h2 { font: 700 clamp(32px, 3.4vw, 52px)/1.12 'HQ Display', sans-serif; letter-spacing: 0; text-transform: uppercase; color: var(--hq-ink); margin-bottom: 24px; overflow-wrap: anywhere; }
.admin-hq :is(h2, h3, h4) { color: var(--hq-ink); }
.admin-hq h3 { font-size: 17px; line-height: 1.3; }
.admin-hq .hint, .admin-hq .text-muted { color: var(--hq-muted); }
.admin-hq .content, .admin-hq .card { background: white; border: 1px solid var(--hq-line); border-radius: var(--hq-radius); box-shadow: none; }
.admin-hq .content { padding: 24px; margin-top: 20px; }
.admin-hq .content-sectionless, .admin-hq .content.collapsible { padding: 0; }
.admin-hq .card { border-top: 3px solid var(--hq-ink); padding: 20px; }
.admin-hq .card h3 { color: var(--hq-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-hq .stats-number { color: var(--hq-ink); font-family: 'HQ Display', sans-serif; font-size: 36px; }
.admin-hq .dashboard { gap: 16px; }
.admin-hq .btn { border-radius: var(--hq-radius); background: var(--hq-accent); color: #171715; font-size: 13px; font-weight: 700; padding: 10px 16px; border: 1px solid transparent; min-height: 40px; box-shadow: none; transition: background-color 150ms; }
.admin-hq .btn:hover { background: #e54100; color: #111; }
.admin-hq .btn-primary { background: var(--hq-accent); color: #171715; }
.admin-hq .btn-secondary { background: white; border-color: #a9a9a0; color: var(--hq-ink); }
.admin-hq .btn-secondary:hover { background: #eeeee7; color: var(--hq-ink); }
.admin-hq .btn-danger { background: #fff1ef; border-color: #e7ada5; color: #9a251b; }
.admin-hq .btn-danger:hover { background: #ffe0da; color: #8f2118; }
.admin-hq .btn-success { background: #e4f1e5; border-color: #aac9ac; color: #215629; }
.admin-hq .btn-success:hover { background: #d0e6d2; color: #215629; }
.admin-hq .btn-compact { padding: 6px 10px; min-height: 32px; }
.admin-hq .btn-icon { padding: 6px 10px; }
.admin-hq #content a:not(.btn):not(.row-link) { color: var(--hq-accent-ink); text-underline-offset: 3px; }
.admin-hq #content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select), .admin-hq .modal :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select) { border: 1px solid #bdbdb3; background: white; color: var(--hq-ink); border-radius: var(--hq-radius); padding: 10px 12px; min-height: 40px; max-width: 100%; font: inherit; }
.admin-hq :is(input[type=checkbox], input[type=radio], input[type=range]) { accent-color: var(--hq-accent); }
.admin-hq table { border-collapse: collapse; font-size: 13px; background: white; width: 100%; }
.admin-hq th { background: #f1f0eb; color: #56564f; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; padding: 13px 14px; border-bottom: 1px solid #c9c9bf; }
.admin-hq td { padding: 14px; border-bottom: 1px solid var(--hq-line); line-height: 1.5; }
.admin-hq tbody tr:hover { background: #faf7f1; }
.admin-hq tbody tr:last-child td { border-bottom: 0; }
.hq-table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.hq-table-scroll:focus-visible { outline-offset: -3px; }
.admin-hq .modal-content { border-radius: 6px; border: 1px solid #bdbdb3; box-shadow: 0 16px 60px #0003; max-height: 90dvh; overflow-y: auto; }
.admin-hq .modal-header { border-bottom: 1px solid var(--hq-line); }
.admin-hq .modal-footer { border-top: 1px solid var(--hq-line); }
.admin-hq .tabs { border-bottom-color: var(--hq-line); }
.admin-hq .tab.active, .admin-hq .tab-btn.active, .admin-hq .tab-button.active { color: var(--hq-accent-ink); border-bottom-color: var(--hq-accent); background: #fff1e8; }
.admin-hq .planning-page { --planning-orange: var(--hq-accent); --planning-ink: var(--hq-ink); --planning-line: var(--hq-line); }
.admin-hq .planning-page :is(.planning-calendar, .planning-material, .planning-new-project, .planning-heading, .planning-surface) { border-radius: var(--hq-radius); box-shadow: none; }
.admin-hq .hq-auth, .admin-hq.hq-auth { background: var(--hq-sidebar); padding: 24px; }
.admin-hq.hq-auth :is(.login-container, .verify-container) { max-width: 440px; margin: auto; padding: 36px; background: var(--hq-paper); border-top: 5px solid var(--hq-accent); border-radius: 4px; box-shadow: none; }
.admin-hq.hq-auth .brand { font: 700 27px/1.3 'HQ Display', sans-serif; text-transform: uppercase; color: var(--hq-ink); }
.admin-hq.hq-auth .brand img { display: none; }
.admin-hq.hq-auth .btn { display: flex; align-items: center; justify-content: center; width: 100%; margin: 12px 0; min-height: 48px; }
.admin-hq.hq-auth .instructions { background: transparent; border-top: 1px solid var(--hq-line); border-radius: 0; padding: 20px 0 0; margin-top: 24px; color: var(--hq-muted); font-size: 13px; }
.admin-hq.hq-auth .instructions h3 { font-size: 14px; }
@media (min-width: 769px) and (max-width: 1150px) {
  .admin-hq .sidebar { width: 240px; flex-basis: 240px; }
  .admin-hq .brand-wrap { width: 208px; flex-basis: 208px; }
  .admin-hq .main > .container { padding: 24px; }
  .hq-nav-group summary { font-size: 12px; gap: 8px; }
}
@media (max-width: 768px) {
  .admin-hq .header { height: auto; min-height: 68px; padding: 12px 16px; gap: 10px; align-items: center; flex-direction: row; flex-wrap: wrap; }
  .admin-hq .brand-wrap { width: auto; flex: 1 1 auto; }
  .admin-hq .hq-wordmark { font-size: 21px; }
  .admin-hq .hq-wordmark small { font-size: 9px; margin-top: 5px; }
  .admin-hq .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid #55554e; border-radius: 4px; }
  .admin-hq .menu-btn .hq-icon { filter: invert(1); }
  .admin-hq .user-info { width: 100%; gap: 12px; padding-top: 8px; border-top: 1px solid #383835; justify-content: flex-start; text-align: left; }
  .admin-hq .user-info #user-name { font-size: 12px; flex: 1; }
  .admin-hq .landing-link, .admin-hq .logout-btn { min-height: 44px; font-size: 12px; padding: 8px 10px; }
  .admin-hq .sidebar { position: fixed; inset: 0 auto 0 0; width: 310px; max-width: calc(100vw - 32px); height: 100dvh; z-index: 1300; box-shadow: none; flex: none; }
  .admin-hq .sidebar-mobile-header { display: flex; border-bottom-color: #383835; padding: max(12px, env(safe-area-inset-top)) 18px 12px; }
  .admin-hq .sidebar-close { display: grid; place-items: center; border-color: #55554e; background: transparent; }
  .admin-hq .sidebar-close .hq-icon { filter: invert(1); }
  .hq-nav-search { margin-top: 16px; }
  .admin-hq .hq-nav-scroll { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .admin-hq .sidebar .hq-nav-link { padding-top: 12px; padding-bottom: 12px; min-height: 44px; }
  .hq-nav-group summary { min-height: 48px; }
  .hq-pin { opacity: .65; min-width: 32px; min-height: 40px; top: 2px; }
  .admin-hq .sidebar-overlay { background: #0009; }
  .admin-hq .main > .container { padding: 20px 16px 40px; }
  .hq-breadcrumb { margin-bottom: 18px; }
  .admin-hq #content > h2, .admin-hq #content > div:first-child > h2, .admin-hq #content > div:first-child > div:first-child > h2 { font-size: clamp(30px, 8vw, 40px); }
  .admin-hq .content { padding: 16px; margin-top: 16px; }
  .admin-hq .content-sectionless, .admin-hq .content.collapsible { padding: 0; }
  .admin-hq .card { padding: 16px; }
  .admin-hq .btn { min-height: 44px; white-space: normal; }
  .admin-hq .btn-compact { min-height: 40px; }
  .admin-hq #content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) { font-size: 16px; min-height: 44px; }
  .admin-hq .form-inline { grid-template-columns: minmax(0, 1fr); }
  .admin-hq table { min-width: 640px; }
  .admin-hq .modal { padding: 12px; }
  .admin-hq .modal-content { width: 100%; max-width: 100%; margin: 0; padding: 18px; max-height: calc(100dvh - 24px); }
  .admin-hq.hq-auth { padding: 16px; }
  .admin-hq.hq-auth :is(.login-container, .verify-container) { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { .admin-hq *, .admin-hq *::before, .admin-hq *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Explicit primary actions; row actions remain quiet. */
.admin-hq .btn:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-secondary) { background: white; border-color: #bdbdb3; color: var(--hq-ink); }
.admin-hq .btn:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-secondary):hover { background: #f1f0eb; }
.admin-hq #content .hq-page-title { font: 700 clamp(32px, 3.4vw, 52px)/1.12 'HQ Display', sans-serif; text-transform: uppercase; }
.hq-page-subtitle { margin: 10px 0 22px; color: var(--hq-muted); font-size: 15px; }
.hq-events-table td:nth-child(3) { min-width: 200px; font-weight: 600; }
.hq-event-date { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.hq-status { display: inline-block; border: 1px solid #d3d3c9; border-radius: 3px; padding: 3px 8px; background: #f6f5ef; font-size: 12px; }
@media (max-width: 768px) {
  .admin-hq #content .hq-page-title { font-size: 36px; }
  .hq-page-subtitle { font-size: 13px; margin-bottom: 16px; }
}
.admin-hq :is(.form-group, #content) input:is([type=checkbox], [type=radio]) { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; vertical-align: middle; margin: 0 6px 0 0; }
@media (max-width: 768px) {
  .admin-hq .dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-hq .dashboard .card { min-width: 0; padding: 14px 12px; }
  .admin-hq .dashboard .card h3 { font-size: 10px; min-height: 30px; overflow-wrap: anywhere; }
  .admin-hq .dashboard .stats-number { font-size: 28px; overflow-wrap: anywhere; }
  .admin-hq .dashboard .card p, .admin-hq .dashboard .card .hint { font-size: 11px; }
}
.admin-hq #content > .content:first-child > h2 { font: 700 clamp(30px, 3.4vw, 48px)/1.15 'HQ Display', sans-serif; text-transform: uppercase; }
.admin-hq button:disabled, .admin-hq input:disabled, .admin-hq select:disabled { cursor: not-allowed; opacity: .55; }
.admin-hq .hq-nav-search input:focus-visible { outline: 0; }
.hq-nav-search:focus-within { outline: 2px solid var(--hq-accent); outline-offset: 2px; }
.hq-status[data-status=published] { background: #e4f1e5; color: #215629; border-color: #aac9ac; }
.hq-status[data-status=cancelled] { background: #fff1ef; color: #9a251b; border-color: #e7ada5; }
@media (max-width: 768px) {
  .hq-nav-search input { font-size: 16px; }
  .hq-table-scroll::after { content: 'Прокрутите таблицу по горизонтали'; position: sticky; left: 0; display: block; width: 100%; padding: 8px 12px; color: var(--hq-muted); font-size: 11px; background: var(--hq-paper); border-top: 1px solid var(--hq-line); }
}
/* Agenda is the default calendar view; the complete operational table remains available. */
.hq-view-switch { display: flex; width: fit-content; gap: 2px; padding: 3px; margin-bottom: 18px; border: 1px solid var(--hq-line); border-radius: 4px; background: var(--hq-paper); }
.hq-view-switch button { padding: 6px 16px; min-height: 36px; font: 600 12px/1.3 'Segoe UI', sans-serif; background: transparent; border: 0; border-radius: 2px; color: var(--hq-muted); cursor: pointer; }
.hq-view-switch button[aria-pressed=true] { background: var(--hq-ink); color: white; }
.hq-agenda { background: white; }
.hq-agenda-month > h3 { margin: 0; padding: 13px 22px; border-bottom: 1px solid var(--hq-line); background: var(--hq-paper); font: 700 12px/1.4 'Segoe UI', sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.hq-agenda-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 100px 128px; gap: 24px; align-items: center; padding: 28px 24px; border-bottom: 1px solid var(--hq-line); }
.hq-agenda-month:last-child .hq-agenda-row:last-child { border-bottom: 0; }
.hq-agenda-row:hover { background: #fdfbf6; }
.hq-agenda-date { color: var(--hq-accent-ink); font: 700 44px/1 'HQ Display', sans-serif; font-variant-numeric: tabular-nums; }
.hq-agenda-date small { display: block; margin-top: 7px; font: 600 12px/1 'Segoe UI', sans-serif; color: var(--hq-muted); }
.hq-agenda-body { min-width: 0; border-left: 1px solid var(--hq-line); padding-left: 26px; }
.hq-agenda-title { display: block; padding: 0; border: 0; background: transparent; color: var(--hq-ink); text-align: left; font: 700 24px/1.3 'HQ Display', sans-serif; cursor: pointer; overflow-wrap: anywhere; }
.hq-agenda-title:hover { color: var(--hq-accent-ink); }
.hq-agenda-body p { margin: 8px 0 0; color: var(--hq-muted); font-size: 12px; }
.hq-agenda-count { display: grid; gap: 2px; border-left: 1px solid var(--hq-line); padding-left: 22px; }
.hq-agenda-count strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.hq-agenda-count span { font-size: 11px; color: var(--hq-muted); }
.hq-agenda-empty { padding: 24px; color: var(--hq-muted); }
@media (max-width: 1150px) and (min-width: 769px) {
  .hq-agenda-row { gap: 14px; grid-template-columns: 50px minmax(0, 1fr) 80px; padding: 24px 16px; }
  .hq-agenda-row > .hq-status { grid-column: 2; width: fit-content; margin-left: 26px; }
}
@media (max-width: 768px) {
  .hq-view-switch button { min-height: 44px; }
  .hq-agenda-row { grid-template-columns: 42px minmax(0, 1fr); gap: 10px 14px; padding: 22px 16px; }
  .hq-agenda-date { font-size: 36px; align-self: start; padding-top: 2px; }
  .hq-agenda-body { padding-left: 14px; }
  .hq-agenda-title { font-size: 22px; min-height: 44px; }
  .hq-agenda-body p { font-size: 12px; }
  .hq-agenda-count { grid-column: 2; border: 0; padding-left: 14px; display: flex; align-items: baseline; gap: 6px; }
  .hq-agenda-count strong { font-size: 17px; }
  .hq-agenda-row > .hq-status { grid-column: 2; width: fit-content; margin-left: 14px; }
  .hq-agenda-month > h3 { padding: 12px 16px; }
}
/* Bring the older partner, giveaway and editorial surfaces into the same system. */
.admin-hq #content h2 { font-family: 'HQ Display', sans-serif; text-transform: uppercase; line-height: 1.15; }
.admin-hq :is(.partner-hero, .partner-media-card, .giveaways-hero, .giveaways-card, .giveaways-kpi, .giveaways-resource-row, .giveaways-queue-card, .giveaway-edit-modal__hero, .giveaway-edit-preview) { background: white; border-color: var(--hq-line); border-radius: var(--hq-radius); box-shadow: none; }
.admin-hq :is(.giveaways-card, .giveaways-kpi, .giveaways-queue-card):hover { box-shadow: none; }
.admin-hq .giveaways-hero { border-top: 3px solid var(--hq-ink); }
.admin-hq .giveaways-hero__title { font-size: 40px; }
.admin-hq .giveaways-kpi__value { font-family: 'HQ Display', sans-serif; color: var(--hq-ink); }
.admin-hq :is(.giveaways-hero__text, .giveaways-card__text, .giveaways-kpi__label, .giveaways-kpi__meta, .partner-media-card__meta, .cp-meta) { color: var(--hq-muted); }
.admin-hq .cp-status { border-radius: 3px; }
.admin-hq .cp-status--published { background: #e4f1e5; color: #215629; border-color: #aac9ac; }
.admin-hq .modal-overlay { background: #0009; padding: 24px; }
.admin-hq .modal { border: 1px solid var(--hq-line); border-radius: 6px; box-shadow: none; max-height: calc(100dvh - 48px); }
.admin-hq input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), .admin-hq select, .admin-hq textarea { border-radius: var(--hq-radius); font-family: inherit; max-width: 100%; }
@media (max-width: 768px) {
  .admin-hq .modal-overlay { padding: 12px; }
  .admin-hq .modal { max-height: calc(100dvh - 24px); width: 100%; padding: 18px; }
  .admin-hq .giveaways-hero__title { font-size: 32px; }
  .admin-hq :is(.modal input:not([type=checkbox]):not([type=radio]):not([type=range]), .modal textarea, .modal select) { font-size: 16px; }
}
.admin-hq .modal-overlay { z-index: 1400; }
