/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --ink-950: #10211d;
  --ink-800: #243a34;
  --ink-600: #587069;
  --ink-400: #8ba099;
  --surface: #ffffff;
  --canvas: #f3f7f5;
  --line: #dfe9e5;
  --brand-700: #12664f;
  --brand-600: #168466;
  --brand-500: #22a57e;
  --brand-100: #daf4ea;
  --accent: #f2b84b;
  --danger: #b9384f;
  --shadow: 0 18px 60px rgba(16, 52, 42, 0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --sidebar-width: 264px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-950);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink-950); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.03; letter-spacing: -0.045em; }
h2 { margin-bottom: 10px; font-size: clamp(1.55rem, 2.4vw, 2.1rem); letter-spacing: -0.035em; }

.eyebrow { margin-bottom: 12px; color: var(--brand-600); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.brand-mark { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 22px; background: rgba(255,255,255,.13); color: #fff; font-size: 1.05rem; font-weight: 900; letter-spacing: -.05em; backdrop-filter: blur(12px); }
.brand-mark--small { width: 44px; height: 44px; border-radius: 14px; }
.brand-mark--tiny { width: 34px; height: 34px; border-radius: 11px; font-size: .8rem; }

.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(360px,.9fr) minmax(480px,1.1fr); background: var(--surface); }
.auth-brand-panel { position: relative; display: flex; overflow: hidden; padding: clamp(36px,6vw,84px); flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 75% 18%,rgba(60,211,158,.48),transparent 28%), radial-gradient(circle at 20% 88%,rgba(242,184,75,.2),transparent 32%), linear-gradient(145deg,#0a3d31 0%,#12664f 52%,#0b4b3b 100%); color: #fff; }
.auth-brand-panel::after { position: absolute; right: -110px; bottom: -130px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025); content: ""; }
.auth-brand-panel .eyebrow { margin-top: clamp(80px,15vh,150px); color: #9ce4ca; }
.auth-brand-panel h1 { max-width: 630px; font-size: clamp(2.7rem,5.1vw,5.5rem); }
.auth-intro { max-width: 560px; color: rgba(255,255,255,.72); font-size: 1.12rem; line-height: 1.7; }
.auth-footnote { z-index: 1; margin: 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.auth-form-panel { display: grid; padding: 40px; place-items: center; background: linear-gradient(145deg,#fff 20%,#f6faf8 100%); }
.auth-card { width: min(100%,430px); }
.auth-card h2 { font-size: 2.35rem; }
.form-lead { margin-bottom: 34px; color: var(--ink-600); line-height: 1.6; }
.mobile-brand { display: none; }
.stack-form { display: grid; gap: 22px; }
.field-group { display: grid; gap: 9px; }
.field-group label { font-size: .82rem; font-weight: 750; }
.field-group input,.field-group select,.field-group textarea { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; outline: none; background: #fff; color: var(--ink-950); transition: border-color 160ms ease,box-shadow 160ms ease; }
.field-group textarea { padding-block: 14px; resize: vertical; }
.field-group input[type="file"] { padding: 14px 16px; }
.field-group input::placeholder { color: #a5b5af; }
.field-group input:focus,.field-group select:focus,.field-group textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(34,165,126,.13); }
.field-group > small { color: var(--ink-400); font-size: .72rem; line-height: 1.5; }
.button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 800; }
.button--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 25px rgba(18,102,79,.22); }
.button--primary:hover { background: var(--brand-700); }
.button--full { width: 100%; margin-top: 8px; }
.flash { margin-bottom: 22px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .88rem; }
.flash--alert { border-color: #efc0ca; background: #fff3f5; color: var(--danger); }
.flash--notice { border-color: #b7e3d4; background: #edf9f4; color: var(--brand-700); }

.admin-body { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: var(--sidebar-width); padding: 28px 20px 22px; flex-direction: column; background: var(--ink-950); color: #fff; }
.brand-link { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 850; text-decoration: none; }
.sidebar-brand { padding: 0 8px 34px; line-height: 1.05; }
.sidebar-brand small { color: #8aa49b; font-size: .68rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 7px; }
.nav-link { display: flex; min-height: 48px; padding: 0 14px; align-items: center; gap: 12px; border-radius: 13px; color: #a9bdb6; font-size: .9rem; font-weight: 680; text-decoration: none; }
.nav-link > span { width: 21px; color: #6f8c82; text-align: center; }
.nav-link small { margin-left: auto; color: #5f776f; font-size: .62rem; text-transform: uppercase; }
.nav-link--active { background: rgba(48,198,150,.13); color: #bff4e2; }
.nav-link--active > span { color: #52d9ad; }
.nav-link--disabled { cursor: default; }
.sidebar-user { display: grid; margin-top: auto; padding: 16px 10px 0; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.09); }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--brand-600); font-weight: 850; }
.sidebar-user strong,.sidebar-user small { display: block; overflow: hidden; max-width: 130px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user strong { font-size: .78rem; }
.sidebar-user small { margin-top: 3px; color: #789188; font-size: .67rem; }
.sidebar-user form { grid-column: 1 / -1; }
.text-button { padding: 7px 0 0; border: 0; background: none; color: #91aaa1; cursor: pointer; font-size: .72rem; }
.mobile-topbar { display: none; }
.mobile-menu-button,.sidebar-close,.sidebar-backdrop { display: none; }
.admin-main { min-height: 100vh; margin-left: var(--sidebar-width); padding: clamp(30px,5vw,68px); }
.admin-main > .flash { max-width: 720px; }

.page-heading { display: flex; margin-bottom: 36px; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-heading h1 { font-size: clamp(2rem,3.7vw,3.4rem); }
.page-heading p:last-child { margin-bottom: 0; color: var(--ink-600); }
.status-pill { display: inline-flex; padding: 10px 13px; align-items: center; gap: 8px; border: 1px solid #cce7dc; border-radius: 999px; background: #fff; color: var(--brand-700); font-size: .74rem; font-weight: 750; white-space: nowrap; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.metric-card { display: flex; min-height: 164px; padding: 24px; align-items: flex-start; gap: 18px; border: 1px solid rgba(212,226,221,.9); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 8px 30px rgba(24,75,59,.04); }
.metric-card p { margin-bottom: 8px; color: var(--ink-600); font-size: .78rem; font-weight: 750; }
.metric-card strong { display: block; margin-bottom: 8px; font-size: 2.05rem; letter-spacing: -.04em; }
.metric-card span { color: var(--ink-400); font-size: .72rem; line-height: 1.4; }
.metric-icon { flex: 0 0 42px; height: 42px; border-radius: 13px; background: var(--brand-100); }
.metric-icon--star,.metric-icon--spark { background: #fff2d8; }
.metric-icon--layers,.metric-icon--tag { background: #e8e9fa; }
.content-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.next-steps-card { display: grid; margin-top: 22px; padding: clamp(24px,4vw,38px); grid-template-columns: 1.2fr .8fr; gap: 40px; }
.next-steps-card p:last-child { margin-bottom: 0; color: var(--ink-600); line-height: 1.7; }
.progress-list { display: grid; align-content: center; gap: 14px; }
.progress-list div { display: flex; align-items: center; gap: 11px; color: var(--ink-600); font-size: .82rem; font-weight: 650; }
.progress-check,.progress-dot { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 50%; }
.progress-check { background: var(--brand-100); color: var(--brand-700); font-weight: 900; }
.progress-dot { border: 2px solid var(--line); }

.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.button--secondary { border: 1px solid var(--line); background: #fff; color: var(--ink-800); box-shadow: none; }
.button--danger { background: var(--danger); color: #fff; }
.button-row,.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.next-steps-card .button-row { margin-top: 24px; }
.section-heading { display: flex; margin: 44px 0 18px; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2,.section-heading p { margin-bottom: 5px; }
.section-heading p:last-child { color: var(--ink-600); }

.form-card { padding: clamp(24px,4vw,44px); }
.form-card--narrow { max-width: 680px; }
.panel-form { display: grid; gap: 30px; }
.form-section + .form-section { padding-top: 30px; border-top: 1px solid var(--line); }
.form-section h2 { margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-grid--wide { grid-column: 1 / -1; }
.form-actions { padding-top: 4px; justify-content: flex-end; }
.flash ul { margin: 8px 0 0; padding-left: 20px; }

.profile-card { display: grid; padding: clamp(24px,4vw,44px); grid-template-columns: 220px 1fr; align-items: start; gap: 42px; }
.profile-logo { display: grid; min-height: 190px; padding: 20px; place-items: center; gap: 12px; border-radius: 20px; background: var(--canvas); text-align: center; }
.profile-logo > span { display: grid; width: 96px; height: 96px; place-items: center; border-radius: 28px; background: var(--brand-600); color: #fff; font-size: 2rem; font-weight: 900; }
.profile-logo img { max-width: 100%; max-height: 180px; border-radius: 16px; object-fit: contain; }
.profile-logo small { overflow-wrap: anywhere; color: var(--ink-400); }
.detail-grid { display: grid; margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.detail-grid div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-grid dt,.catalog-card dt { margin-bottom: 5px; color: var(--ink-400); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.detail-grid dd,.catalog-card dd { margin: 0; overflow-wrap: anywhere; color: var(--ink-800); font-size: .9rem; }

.table-card { overflow: hidden; }
.table-shell { overflow-x: auto; }
.data-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.data-table th { padding: 15px 18px; background: #eef5f2; color: var(--ink-600); font-size: .69rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 16px 18px; border-top: 1px solid var(--line); color: var(--ink-600); font-size: .8rem; vertical-align: middle; }
.data-table td strong { color: var(--ink-800); }
.data-table td small { color: var(--ink-400); }
.media-cell { display: grid; max-width: 190px; gap: 4px; overflow-wrap: anywhere; }
.media-cell a { color: var(--brand-700); font-weight: 750; }
.advertisement-table-cell { display: flex; min-width: 210px; align-items: center; gap: 12px; }
.advertisement-preview-card { margin-bottom: 20px; padding: clamp(22px,3vw,32px); }
.advertisement-preview-card .section-heading { margin: 0 0 18px; }
.advertisement-media { display: grid; justify-items: start; gap: 12px; }
.advertisement-media--compact { display: block; }
.media-preview { display: block; overflow: hidden; width: 88px; height: 56px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); text-decoration: none; }
.media-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.media-preview:hover img { transform: scale(1.05); }
.media-preview:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; }
.media-preview--video { display: grid; place-items: center; align-content: center; gap: 2px; background: linear-gradient(145deg,var(--ink-800),var(--ink-950)); color: #fff !important; }
.media-preview--video span { font-size: 1.2rem; }
.media-preview--video small { color: #c7d8d2 !important; font-size: .58rem; text-transform: uppercase; }
.media-player { width: min(100%,960px); max-height: 68vh; border-radius: 16px; background: #07110e; }
.advertisement-media:not(.advertisement-media--compact) .media-preview { width: min(100%,960px); height: auto; min-height: 240px; max-height: 68vh; }
.advertisement-media:not(.advertisement-media--compact) .media-preview img { max-height: 68vh; object-fit: contain; }
.media-unavailable { display: flex; min-width: 88px; min-height: 56px; padding: 8px; align-items: center; justify-content: center; gap: 7px; border: 1px dashed var(--line); border-radius: 10px; background: var(--canvas); color: var(--ink-400); text-align: center; }
.media-unavailable small { max-width: 170px; font-size: .65rem; line-height: 1.3; }
.order-actions { display: inline-grid; grid-template-columns: 26px 24px 26px; align-items: center; gap: 2px; text-align: center; }
.order-actions form { display: contents; }
.order-actions button,.small-button { min-width: 26px; min-height: 27px; padding: 0 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--brand-700); cursor: pointer; }
.order-actions button:disabled { opacity: .3; cursor: default; }
.status-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: .67rem; font-weight: 800; white-space: nowrap; }
.status-badge--master { background: #fff2d8; color: #8a6011; }
.row-actions { display: flex; align-items: center; gap: 12px; }
.row-actions a,.danger-link { border: 0; background: none; color: var(--brand-700); cursor: pointer; font-size: .75rem; font-weight: 700; text-decoration: none; }
.danger-link { color: var(--danger); }
.empty-state { padding: 54px 24px; text-align: center; }
.empty-state p { color: var(--ink-600); }
.empty-state--compact { padding: 28px; }
.empty-state--compact p { margin: 0; }

.filter-card { margin-bottom: 20px; padding: 22px; }
.filter-form { display: grid; grid-template-columns: minmax(180px,1fr) minmax(220px,1fr) auto; align-items: end; gap: 14px; }
.catalog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.catalog-card { display: grid; padding: 26px; gap: 22px; }
.catalog-card h2 { margin: 13px 0 6px; font-size: 1.25rem; }
.catalog-card p { margin: 0; color: var(--ink-600); }
.catalog-card dl { display: grid; margin: 0; grid-template-columns: repeat(3,1fr); gap: 12px; }
.catalog-card form,.catalog-card .button { width: 100%; }
.pagination { display: flex; padding: 24px 0; align-items: center; justify-content: center; gap: 20px; color: var(--ink-600); font-size: .8rem; }
.pagination a { color: var(--brand-700); font-weight: 750; }

.filter-form--four { grid-template-columns: repeat(3,minmax(160px,1fr)) auto; }
.filter-form--search { grid-template-columns: minmax(240px,1fr) minmax(200px,1fr) auto; }
.table-link { color: var(--brand-700); font-weight: 800; text-decoration: none; }
.status-badge--active,.status-badge--approved { background: var(--brand-100); color: var(--brand-700); }
.status-badge--suspended,.status-badge--blocked,.status-badge--rejected { background: #fff0f3; color: var(--danger); }
.status-badge--archived,.status-badge--retired { background: #edf0ef; color: var(--ink-600); }
.status-badge--pending { background: #fff2d8; color: #8a6011; }
.checkbox-field { display: flex; min-height: 54px; align-items: center; grid-template-columns: 22px 1fr; }
.checkbox-field input { width: 19px; min-height: 19px; }
.checkbox-field label { cursor: pointer; }
.assignment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.assignment-option { display: flex; padding: 14px; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.assignment-option input { width: 18px; height: 18px; }
.assignment-option strong,.assignment-option small { display: block; }
.assignment-option small { margin-top: 3px; color: var(--ink-400); }
.admin-overview-grid { display: grid; margin-top: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.overview-card { padding: clamp(22px,3vw,32px); }
.overview-card .section-heading { margin: 0 0 12px; }
.overview-card .section-heading a { color: var(--brand-700); font-size: .75rem; font-weight: 800; }
.overview-row { display: flex; padding: 13px 0; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.overview-row:last-child { border-bottom: 0; }
.overview-row strong,.overview-row small { display: block; }
.overview-row small { margin-top: 4px; color: var(--ink-400); }
.overview-row > span { color: var(--ink-600); font-size: .72rem; }
.audit-preview { margin-top: 20px; }
.muted-copy { color: var(--ink-600); line-height: 1.6; }
.summary-grid { display: grid; margin-top: 20px; grid-template-columns: repeat(3,1fr); gap: 18px; }
.summary-card { display: grid; padding: 24px; gap: 6px; }
.summary-card strong { font-size: 2rem; }
.summary-card span { color: var(--ink-600); }
.summary-card a { margin-top: 8px; color: var(--brand-700); font-size: .75rem; font-weight: 800; }
.admin-business-profile { display: block; }
.action-card { padding: clamp(22px,3vw,32px); }
.action-card hr { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.button-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.button-stack form,.button-stack .button { width: 100%; }
.compact-form { gap: 14px; }
.online-indicator { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #adb9b5; }
.online-indicator--on { background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.business-switcher { display: grid; overflow-y: auto; max-height: 180px; margin-top: 18px; padding: 14px 8px; gap: 6px; border-top: 1px solid rgba(255,255,255,.09); }
.business-switcher > small { margin-bottom: 4px; color: #789188; font-size: .66rem; text-transform: uppercase; }
.business-switcher form { display: contents; }
.switcher-button { overflow: hidden; padding: 8px; border: 0; border-radius: 9px; background: transparent; color: #91aaa1; cursor: pointer; font-size: .7rem; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.switcher-button--active { background: rgba(48,198,150,.13); color: #bff4e2; }
.locale-switcher { display: grid; margin: 14px 8px 0; padding-top: 14px; grid-template-columns: repeat(2,1fr); gap: 6px; border-top: 1px solid rgba(255,255,255,.09); }
.locale-switcher form { display: contents; }
.locale-button { min-height: 34px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: transparent; color: #789188; cursor: pointer; font-size: .68rem; font-weight: 800; }
.locale-button--active { border-color: rgba(82,217,173,.35); background: rgba(48,198,150,.13); color: #bff4e2; }
.auth-locale-switcher { margin-top: 24px; }
.auth-locale-switcher .locale-switcher { max-width: 150px; margin: 0 auto; padding-top: 0; border-top: 0; }
.auth-locale-switcher .locale-button { border-color: var(--line); color: var(--ink-600); }
.auth-locale-switcher .locale-button--active { border-color: var(--brand-500); background: var(--brand-100); color: var(--brand-700); }
code { color: #4c625b; font-size: .75rem; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .auth-shell { grid-template-columns: .85fr 1.15fr; }
  .auth-brand-panel { padding: 44px; }
}

@media (max-width: 760px) {
  .auth-shell { display: block; background: linear-gradient(160deg,#0d513f 0 210px,#f5f9f7 210px); }
  .auth-brand-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 28px 20px; align-items: start; background: transparent; }
  .auth-card { margin-top: 38px; padding: 26px 22px 30px; border: 1px solid rgba(219,232,227,.8); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
  .mobile-brand { display: flex; margin-bottom: 52px; align-items: center; gap: 12px; color: var(--ink-800); font-size: .86rem; font-weight: 850; }
  .mobile-brand .brand-mark { background: var(--brand-600); }
  .auth-card h2 { font-size: 2rem; }
  .mobile-navigation-open { overflow: hidden; }
  .sidebar { display: flex; width: min(84vw,304px); padding-top: 24px; z-index: 40; box-shadow: 18px 0 55px rgba(2,18,14,.28); transform: translateX(-105%); transition: transform 220ms ease; }
  .sidebar--open { transform: translateX(0); }
  .sidebar-close { position: absolute; top: 18px; right: 16px; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.08); color: #c8d7d2; cursor: pointer; font-size: 1.7rem; line-height: 1; }
  .sidebar-brand { padding-right: 48px; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 30; display: block; border: 0; background: rgba(5,22,17,.48); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
  .sidebar-backdrop--visible { opacity: 1; pointer-events: auto; }
  .mobile-topbar { position: sticky; top: 0; z-index: 25; display: flex; height: 66px; padding: 0 18px 0 20px; align-items: center; justify-content: space-between; background: var(--ink-950); color: #fff; }
  .mobile-menu-button { display: grid; width: 44px; height: 44px; padding: 11px 10px; align-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.08); cursor: pointer; }
  .mobile-menu-button span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #d9e7e2; }
  .mobile-menu-button:focus-visible,.sidebar-close:focus-visible { outline: 3px solid #52d9ad; outline-offset: 2px; }
  .admin-main { margin-left: 0; padding: 30px 18px 50px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 2.15rem; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 140px; }
  .next-steps-card { grid-template-columns: 1fr; gap: 28px; }
  .page-heading .button-row,.section-heading { width: 100%; align-items: stretch; flex-direction: column; }
  .page-heading .button,.section-heading .button { width: 100%; }
  .form-grid,.detail-grid,.catalog-grid { grid-template-columns: 1fr; }
  .form-grid--wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .profile-card { grid-template-columns: 1fr; gap: 22px; }
  .filter-form { grid-template-columns: 1fr; }
  .catalog-card dl { grid-template-columns: 1fr; }
  .assignment-grid,.admin-overview-grid,.summary-grid { grid-template-columns: 1fr; }
  .button-stack { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}
