:root {
  --navy: #061a38;
  --navy-2: #0b3c78;
  --blue: #0b579f;
  --gold: #f4c542;
  --gold-deep: #d4a72c;
  --page: #f4f7fb;
  --surface: #fff;
  --text: #172033;
  --muted: #667085;
  --line: #e5eaf2;
  --success: #16825d;
  --warning: #b7791f;
  --danger: #b42318;
  --shadow: 0 16px 42px rgba(6,26,56,.08);
}
* { box-sizing: border-box; }
html { font-family: "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--page); }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
code { padding: 2px 6px; border-radius: 6px; background: #eef2f8; color: #173b70; }

/* Login */
.login-page { min-height: 100vh; background: radial-gradient(circle at 80% 10%, rgba(11,87,159,.15), transparent 34%), linear-gradient(135deg, #f7f9fc, #edf2f8); }
.login-page::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 5px; background: var(--navy); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; }
.login-card { width: min(100%, 470px); padding: 32px; border: 1px solid rgba(6,26,56,.08); border-radius: 24px; background: rgba(255,255,255,.97); box-shadow: 0 28px 70px rgba(6,26,56,.14); }
.login-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.login-brand img { width: 82px; height: auto; display: block; }
.login-brand span { display: grid; gap: 2px; }
.login-brand strong { font-size: 1.02rem; color: var(--navy); }
.login-brand small { color: var(--muted); }
.login-heading { padding: 25px 0 18px; }
.eyebrow { display: inline-block; color: var(--gold-deep); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.login-heading h1 { margin: 6px 0 7px; font-size: 1.5rem; color: var(--navy); }
.login-heading p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .9rem; }
.login-form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: #344054; }
.field input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #d9e0ea; border-radius: 11px; outline: none; color: var(--text); background: #fff; transition: border-color .18s, box-shadow .18s; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,87,159,.09); }
.field small { color: var(--muted); font-size: .74rem; }
.login-submit { min-height: 46px; margin-top: 3px; border: 0; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(6,26,56,.16); }
.login-submit:hover { background: #0a2b57; }
.login-back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: .82rem; }
.alert { padding: 12px 14px; margin-bottom: 16px; border-radius: 11px; font-size: .84rem; line-height: 1.6; }
.alert.error { color: #8b1e1e; background: #fff0f0; border: 1px solid #ffd0d0; }
.alert.success { color: #116149; background: #eaf8f2; border: 1px solid #c8ebde; }
.setup-help { padding: 14px 16px; border-radius: 12px; background: #f7f9fc; border: 1px solid var(--line); color: #475467; font-size: .82rem; line-height: 1.7; }
.setup-help strong { color: var(--navy); }
.setup-help ol { margin: 8px 0 0; padding-left: 21px; }

/* Admin shell */
.admin-page { min-height: 100vh; background: var(--page); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; z-index: 50; display: flex; flex-direction: column; padding: 20px 14px; color: #fff; background: linear-gradient(180deg, #061a38 0%, #092d5b 100%); box-shadow: 8px 0 30px rgba(6,26,56,.08); }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 8px 8px 22px; border-bottom: 1px solid rgba(255,255,255,.10); }
.sidebar-brand img { width: 60px; padding: 5px; border-radius: 10px; background: #fff; }
.sidebar-brand div { min-width: 0; display: grid; gap: 2px; }
.sidebar-brand strong { font-size: .88rem; }
.sidebar-brand span { color: rgba(255,255,255,.58); font-size: .66rem; }
.sidebar-nav { display: grid; gap: 4px; padding-top: 18px; }
.sidebar-section { padding: 16px 10px 7px; color: rgba(255,255,255,.42); font-size: .61rem; font-weight: 700; letter-spacing: .12em; }
.sidebar-link { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 500; }
.sidebar-link:hover, .sidebar-link.active { color: #fff; background: rgba(255,255,255,.10); }
.sidebar-link.active { box-shadow: inset 3px 0 0 var(--gold); }
.sidebar-link.disabled { color: rgba(255,255,255,.45); cursor: default; }
.sidebar-link em { margin-left: auto; padding: 2px 6px; border-radius: 99px; color: #2d2506; background: var(--gold); font-size: .58rem; font-style: normal; font-weight: 700; }
.sidebar-icon { width: 20px; text-align: center; color: var(--gold); font-size: 1rem; }
.sidebar-foot { margin-top: auto; padding: 14px 8px 4px; border-top: 1px solid rgba(255,255,255,.10); font-size: .76rem; color: rgba(255,255,255,.72); }
.sidebar-foot a:hover { color: #fff; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 40; min-height: 72px; display: flex; align-items: center; gap: 16px; padding: 10px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.sidebar-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; }
.topbar-title { display: grid; gap: 1px; }
.topbar-title span { color: var(--muted); font-size: .68rem; }
.topbar-title strong { color: var(--navy); font-size: .96rem; }
.topbar-user { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: .82rem; font-weight: 700; }
.user-meta { display: grid; gap: 1px; }
.user-meta strong { font-size: .78rem; }
.user-meta span { color: var(--muted); font-size: .64rem; }
.logout-btn { min-height: 34px; margin-left: 7px; padding: 0 10px; border: 1px solid #dce3ed; border-radius: 8px; color: #475467; background: #fff; font-size: .72rem; cursor: pointer; }
.logout-btn:hover { color: var(--danger); border-color: #f3b7b2; }
.admin-content { width: 100%; max-width: 1460px; margin: 0 auto; padding: 28px; }
.admin-footer { padding: 0 28px 22px; color: #98a2b3; font-size: .68rem; text-align: right; }

.dashboard-hero { min-height: 158px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 88% 15%, rgba(244,197,66,.18), transparent 26%), linear-gradient(120deg, #061a38, #0b3c78); box-shadow: var(--shadow); }
.dashboard-hero h1 { margin: 5px 0 8px; font-size: clamp(1.55rem, 2vw, 2rem); }
.dashboard-hero p { max-width: 800px; margin: 0; color: rgba(255,255,255,.72); font-size: .86rem; line-height: 1.75; }
.system-status { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 99px; color: #dff9ef; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); font-size: .7rem; font-weight: 600; }
.system-status span { width: 8px; height: 8px; border-radius: 50%; background: #49d39a; box-shadow: 0 0 0 4px rgba(73,211,154,.13); }
.system-status.warn span { background: #f2c057; box-shadow: 0 0 0 4px rgba(242,192,87,.13); }

.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.stat-card { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(6,26,56,.045); }
.stat-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--navy); background: #f2f5fa; font-size: 1rem; }
.stat-card > div:last-child { min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: center; }
.stat-card span { color: #475467; font-size: .73rem; }
.stat-card strong { grid-row: 1 / span 2; grid-column: 2; color: var(--navy); font-size: 1.35rem; }
.stat-card small { margin-top: 3px; color: #98a2b3; font-size: .62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(320px,.8fr); gap: 16px; margin-top: 16px; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 9px 26px rgba(6,26,56,.045); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.panel-heading h2 { margin: 3px 0 0; color: var(--navy); font-size: 1.02rem; }
.panel p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.8; }
.badge { padding: 4px 8px; border-radius: 99px; font-size: .62rem; font-weight: 700; }
.badge.gold { color: #5d4700; background: #fff5c8; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.feature-chips span { padding: 5px 8px; border-radius: 8px; color: #344054; background: #f5f7fa; border: 1px solid #eaecf0; font-size: .65rem; }
.system-list { margin: 0; }
.system-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eaecf0; }
.system-list > div:last-child { border-bottom: 0; }
.system-list dt, .system-list dd { margin: 0; font-size: .7rem; }
.system-list dt { color: #475467; }
.system-list dd { display: flex; align-items: center; gap: 6px; color: #667085; text-align: right; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; }
.dot.ok { background: #28a57a; }
.roadmap-panel { margin-top: 16px; }
.roadmap { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; }
.roadmap-item { min-height: 92px; position: relative; display: grid; align-content: center; gap: 2px; padding: 13px 13px 13px 48px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfc; }
.roadmap-item > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #667085; background: #e9edf3; font-size: .65rem; font-weight: 700; }
.roadmap-item strong { color: #344054; font-size: .73rem; }
.roadmap-item small { color: #98a2b3; font-size: .62rem; }
.roadmap-item.active { border-color: rgba(22,130,93,.22); background: #f1fbf7; }
.roadmap-item.active > span { color: #fff; background: var(--success); }
.roadmap-item.next { border-color: rgba(244,197,66,.48); background: #fffdf3; }
.roadmap-item.next > span { color: #4c3a00; background: var(--gold); }

@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roadmap { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: 0; transform: translateX(-105%); width: 248px; transition: transform .22s ease; }
  .sidebar-open .admin-sidebar { transform: translateX(0); }
  .sidebar-open::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(6,26,56,.38); }
  .sidebar-toggle { display: grid; place-items: center; }
  .admin-topbar { padding-inline: 18px; }
  .admin-content { padding: 20px 18px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .login-card { padding: 25px 20px; border-radius: 20px; }
  .login-brand img { width: 72px; }
  .admin-topbar { min-height: 64px; }
  .topbar-title span, .user-meta { display: none; }
  .logout-btn { margin-left: 0; padding-inline: 8px; }
  .admin-content { padding: 15px 12px; }
  .dashboard-hero { min-height: auto; display: grid; padding: 22px 20px; border-radius: 16px; }
  .system-status { justify-self: start; }
  .stat-grid { grid-template-columns: 1fr; gap: 10px; }
  .panel { padding: 18px; }
  .roadmap { grid-template-columns: 1fr; }
  .admin-footer { padding: 0 14px 18px; }
}

/* Experiences module */
button, input, select, textarea { font: inherit; }
select, textarea { color: var(--text); }
.sidebar-sublink { min-height: 32px; display: flex; align-items: center; margin: -1px 8px 3px 40px; padding: 5px 9px; border-radius: 8px; color: rgba(255,255,255,.56); font-size: .69rem; }
.sidebar-sublink:hover, .sidebar-sublink.active { color: #fff; background: rgba(255,255,255,.07); }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.page-heading-row h1 { margin: 4px 0 6px; color: var(--navy); font-size: clamp(1.35rem,2vw,1.8rem); }
.page-heading-row p { max-width: 820px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.btn-primary, .btn-secondary, .btn-ghost { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border-radius: 9px; border: 1px solid transparent; font-size: .76rem; font-weight: 600; cursor: pointer; }
.btn-primary { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn-primary:hover { background: #0a2b57; }
.btn-secondary { color: var(--navy); background: #fff; border-color: #d7e0eb; }
.btn-secondary:hover { border-color: #9eb3cb; background: #f9fbfd; }
.btn-ghost { color: #667085; background: transparent; border-color: transparent; }
.btn-ghost:hover { color: var(--navy); background: #f3f6fa; }
.btn-primary.small, .btn-ghost.small { min-height: 36px; padding: 7px 11px; }
.btn-primary.full, .btn-secondary.full { width: 100%; margin-top: 9px; }
.compact-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.compact-stat-grid article { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(6,26,56,.035); }
.compact-stat-grid span { color: #667085; font-size: .72rem; }
.compact-stat-grid strong { color: var(--navy); font-size: 1.25rem; }
.admin-list-panel { padding: 0; overflow: hidden; }
.admin-list-head { padding: 20px 20px 0; }
.filter-bar { display: grid; grid-template-columns: minmax(240px,1.4fr) minmax(170px,.75fr) minmax(150px,.6fr) auto; gap: 10px; align-items: end; padding: 14px 20px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.field select, .field textarea, .field input[type="text"], .field input[type="url"], .field input[type="date"], .field input[type="number"], .field input:not([type]) { width: 100%; border: 1px solid #d9e0ea; border-radius: 10px; outline: none; background: #fff; transition: border-color .18s,box-shadow .18s; }
.field select, .field input[type="text"], .field input[type="url"], .field input[type="date"], .field input[type="number"], .field input:not([type]) { min-height: 42px; padding: 8px 11px; }
.field textarea { padding: 10px 11px; resize: vertical; line-height: 1.65; }
.field select:focus, .field textarea:focus, .field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,87,159,.08); }
.field label b { color: var(--danger); }
.field small { color: #8a94a6; line-height: 1.55; }
.filter-actions { display: flex; gap: 4px; padding-bottom: 1px; }
.table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.admin-table th { padding: 10px 12px; color: #667085; background: #f8fafc; border-bottom: 1px solid var(--line); font-size: .66rem; font-weight: 600; text-align: left; white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid #edf0f5; color: #475467; font-size: .72rem; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fcfdff; }
.cover-cell { width: 78px; }
.cover-cell img, .cover-placeholder { width: 62px; height: 45px; display: grid; place-items: center; border-radius: 8px; object-fit: cover; background: #eef2f7; color: #8a94a6; font-size: .66rem; font-weight: 700; }
.title-cell { min-width: 260px; }
.title-cell small, .title-cell strong, .title-cell span { display: block; }
.title-cell small { margin-bottom: 2px; color: #8a94a6; font-size: .63rem; }
.title-cell strong { color: #25364f; font-size: .76rem; line-height: 1.55; }
.title-cell span { margin-top: 3px; color: #7b8494; font-size: .65rem; }
.category-pill, .display-flags span, .status-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 999px; white-space: nowrap; font-size: .61rem; font-weight: 600; }
.category-pill { color: #24456f; background: #eef4fb; }
.display-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.display-flags span { color: #126148; background: #eaf8f2; }
.display-flags span.gold { color: #735600; background: #fff5c8; }
.status-badge.published { color: #126148; background: #e8f7f1; }
.status-badge.draft { color: #6b7280; background: #eef1f5; }
.status-badge.hidden { color: #8b4a16; background: #fff0df; }
.row-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.row-actions a, .danger-link { padding: 0; border: 0; background: transparent; color: #315f95; font-size: .66rem; cursor: pointer; }
.danger-link { color: var(--danger); }
.row-actions form { margin: 0; }
.empty-state { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 30px; color: #8a94a6; text-align: center; }
.empty-state strong { color: #475467; font-size: .85rem; }
.empty-state span { font-size: .72rem; }
.editor-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 16px; align-items: start; }
.editor-main { display: grid; gap: 16px; }
.editor-side { min-width: 0; }
.form-panel { padding: 20px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.span-2 { grid-column: 1 / -1; }
.sticky-panel { position: sticky; top: 88px; }
.switch-line { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #e9edf3; cursor: pointer; }
.switch-line input { margin-top: 3px; accent-color: var(--navy); }
.switch-line span { display: grid; gap: 2px; }
.switch-line strong { color: #344054; font-size: .73rem; }
.switch-line small { color: #8a94a6; font-size: .63rem; line-height: 1.5; }
.switch-line.compact { padding: 7px 0; }
.cover-upload { margin-top: 13px; }
.cover-preview { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: 3px 0 9px; border-radius: 11px; border: 1px solid var(--line); }
.check-line { display: flex !important; align-items: center; gap: 6px; color: #667085; font-size: .67rem !important; font-weight: 400 !important; }
.check-line.danger { color: #9b4c43; }
.gallery-admin-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.gallery-admin-item { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fafbfc; }
.gallery-admin-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-admin-fields { display: grid; gap: 7px; padding: 8px; }
.gallery-admin-fields label { color: #667085; font-size: .62rem; }
.gallery-admin-fields input[type="number"] { width: 68px; min-height: 30px; margin-left: 4px; padding: 3px 6px; border: 1px solid #d9e0ea; border-radius: 7px; }
.category-layout { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.5fr); gap: 16px; align-items: start; }
.category-table { min-width: 720px; }
.form-actions { display: flex; align-items: center; gap: 7px; margin-top: 3px; }

@media (max-width: 1050px) {
  .filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-actions { align-self: end; }
  .editor-grid, .category-layout { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}
@media (max-width: 760px) {
  .page-heading-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .page-heading-row > a { align-self: flex-start; }
  .compact-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-bar, .form-grid.two { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .gallery-admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Experience gallery: instant preview + visual ordering */
.gallery-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  color: #667085;
  font-size: .72rem;
}
.gallery-admin-summary strong { color: #0b2344; font-size: .78rem; }
.gallery-admin-image-wrap { position: relative; background: #eef2f7; }
.gallery-order-badge,
.gallery-new-badge,
.gallery-drag-handle {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
}
.gallery-order-badge { top: 8px; left: 8px; background: rgba(8, 35, 68, .92); color: #fff; font-weight: 700; }
.gallery-new-badge { top: 8px; left: 44px; background: rgba(255, 255, 255, .94); color: #166534; font-weight: 700; }
.gallery-drag-handle { top: 8px; right: 8px; background: rgba(255, 255, 255, .94); color: #344054; cursor: grab; font-size: 1rem; }
.gallery-admin-item { transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease; }
.gallery-admin-item[draggable="true"] { cursor: grab; }
.gallery-admin-item.is-dragging { opacity: .55; transform: scale(.98); box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }
.gallery-admin-item.is-deleted { opacity: .42; filter: grayscale(.35); }
.gallery-admin-item.is-deleted .gallery-order-badge { background: #98a2b3; }
.gallery-move-buttons { display: flex; gap: 6px; }
.gallery-move-btn,
.gallery-remove-new {
  min-height: 30px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font: inherit;
}
.gallery-move-btn { width: 38px; padding: 0; font-weight: 700; }
.gallery-move-btn:hover:not(:disabled) { border-color: #aeb8c7; background: #f8fafc; }
.gallery-move-btn:disabled { opacity: .35; cursor: default; }
.gallery-remove-new { width: 100%; padding: 5px 9px; color: #b42318; }
.gallery-remove-new:hover { border-color: #f1a7a0; background: #fff6f5; }

@media (max-width: 700px) {
  .gallery-admin-summary { align-items: flex-start; flex-direction: column; gap: 2px; }
  .gallery-drag-handle { display: none; }
}
