/* Panel de administración de IslandTour */

body.admin { background: #f5f2ec; font-size: 15px; }
.admin h1, .admin h2, .admin h3 { letter-spacing: -.01em; }

/* ---------- login ---------- */

.login { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.login-art { position: relative; overflow: hidden; background: var(--ocean-deep); }
.login-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-art-copy { position: relative; padding: 56px; color: var(--white); max-width: 30em; }
.login-art-title { margin-top: 24px; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.15; }
.login-panel { display: grid; place-items: center; padding: 32px 16px; }
.login-form { display: flex; flex-direction: column; gap: 16px; width: min(380px, 100%); }
.login-form h1 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.login-form .muted { margin-top: -8px; }
.login-back { font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; text-align: center; }
.login-back:hover { color: var(--ink); }
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 200px; }
  .login-art-copy { padding: 28px 20px; }
  .login-art-title { font-size: 1.35rem; margin-top: 14px; }
}

/* ---------- estructura ---------- */

.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  padding: 18px 14px; background: var(--ocean-deep); color: var(--white);
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 22px; text-decoration: none; }
.side-brand strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.side-brand small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: .93rem; color: rgba(255, 255, 255, .72);
  transition: background .15s, color .15s;
}
.side-link:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.side-link[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--white); }
.side-link[aria-current="page"] .side-icon { color: var(--sun); }
.side-icon { display: grid; place-items: center; }
.side-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--sun); color: var(--ocean-deep); font-size: .74rem; font-weight: 800; text-align: center; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 12px 6px 4px 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.side-user .icon-btn { color: rgba(255, 255, 255, .7); margin-left: auto; }
.side-user .icon-btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.side-user-name { font-weight: 700; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--lagoon); font-weight: 800; text-transform: uppercase; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
  padding: 18px 32px; background: rgba(245, 242, 236, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.topbar-title { min-width: 0; }
.topbar-title p { font-size: .88rem; }
.topbar-actions { margin-left: auto; display: flex; gap: 10px; }
.menu-btn { display: none; }
.content { padding: 28px 32px 64px; }
.scrim { position: fixed; inset: 0; z-index: 59; background: rgba(6, 34, 41, .45); }

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; left: 0; width: 272px; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .topbar { padding: 12px 16px; gap: 8px; }
  .topbar h1 { font-size: 1.3rem; }
  .topbar-title p { display: none; }
  .content { padding: 20px 16px 56px; }
}
@media (max-width: 560px) {
  .topbar-actions .btn-label { display: none; }
  .topbar-actions .btn { padding: 0 12px; }
}

/* ---------- componentes ---------- */

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.panel-head h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0; }
.panel-head a { font-size: .85rem; font-weight: 700; color: var(--lagoon-ink); text-decoration: none; }
.panel-body { padding: 4px 20px 20px; }
.panel-empty { padding: 28px 20px; text-align: center; color: var(--muted); font-size: .92rem; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi {
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .15s, transform .15s;
}
a.kpi:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.kpi-label { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.kpi-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.kpi-sub { font-size: .8rem; color: var(--muted); }
.kpi-accent { background: var(--sun-soft); border-color: #f4dd9f; }
.kpi-accent .kpi-label { color: #7a4f00; }
.kpi-dark { background: var(--ocean-deep); border-color: var(--ocean-deep); color: var(--white); }
.kpi-dark .kpi-label, .kpi-dark .kpi-sub { color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi-value { font-size: 1.6rem; } .kpi-dark { grid-column: 1 / -1; } }

.dash-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.dash-side { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.mini-item:first-child { border-top: 0; }
.mini-item button.mini-main { all: unset; cursor: pointer; min-width: 0; }
.mini-item button.mini-main:focus-visible { outline: 3px solid var(--lagoon); border-radius: 6px; }
.mini-title { font-weight: 700; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-meta { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-actions { display: flex; gap: 6px; }
.cat-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--cat-soft); color: var(--cat); flex: none; }
.date-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 48px; border-radius: 12px; background: var(--sand); line-height: 1; flex: none; }
.date-chip b { font-family: var(--font-display); font-size: 1.15rem; }
.date-chip span { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }
.date-chip.today { background: var(--ocean-deep); color: var(--white); }
.date-chip.today span { color: var(--sun); }

.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.bar-track { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--cat); }
.bar-row b { text-align: right; }

/* ---------- filtros y tablas ---------- */

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar .search { position: relative; flex: 1 1 240px; }
.toolbar .search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .search input { padding-left: 40px; }
.toolbar select, .toolbar input[type="date"] { width: auto; min-height: 42px; font-size: .9rem; }
.toolbar input { min-height: 42px; }
.toolbar .date-range { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }

.seg-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 14px; background: #ebe5da; overflow-x: auto; scrollbar-width: none; max-width: 100%; width: fit-content; }
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tab {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 8px 14px; border: 0; border-radius: 10px; background: transparent;
  font-weight: 700; font-size: .87rem; color: var(--ink-2); cursor: pointer; text-decoration: none;
}
.seg-tab:hover { color: var(--ink); }
.seg-tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-tab .count { font-size: .74rem; padding: 0 7px; border-radius: 999px; background: rgba(13, 43, 51, .07); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  padding: 12px 14px; text-align: left; white-space: nowrap;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); background: #faf8f4;
}
.table th:first-child { border-top-left-radius: 18px; }
.table th:last-child { border-top-right-radius: 18px; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.clickable { cursor: pointer; transition: background .12s; }
.table tbody tr.clickable:hover { background: #fbf9f5; }
.table .num { text-align: right; white-space: nowrap; }
.row-open { all: unset; cursor: pointer; }
.row-open:focus-visible { outline: 3px solid var(--lagoon); border-radius: 4px; }
.t-code { font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.t-main { font-weight: 700; }
.t-sub { font-size: .8rem; color: var(--muted); }
.t-service { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.t-service .cat-dot { width: 32px; height: 32px; border-radius: 10px; }

@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { position: relative; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td { padding: 2px 0; border: 0; }
  .table td[data-label]::before { content: attr(data-label) ' · '; font-size: .74rem; font-weight: 700; color: var(--muted); }
  .table .t-status { position: absolute; top: 14px; right: 16px; }
  .table td.is-empty { display: none; }
  .table .num { text-align: left; }
  .t-service { min-width: 0; margin: 6px 0; }
  .table .t-chevron { display: none; }
}

.list-foot { padding: 12px 16px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- servicios ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; }
.svc-card.inactive .media { filter: grayscale(.85); opacity: .7; }
.svc-card .media { aspect-ratio: 16 / 7; }
.svc-card .art-icon .icon { width: 40px; height: 40px; }
.svc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 12px; flex: 1; }
.svc-name { font-size: 1.05rem; font-weight: 800; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--ink-2); }
.svc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.svc-meta .icon { color: var(--muted); }
.svc-price { font-weight: 800; color: var(--ink); }
.svc-foot { display: flex; align-items: center; gap: 6px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--line); }
.svc-foot .spacer { flex: 1; }
.flag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.flag-featured { background: var(--sun-soft); color: #7a4f00; }
.flag-off { background: #ebe8e2; color: #4f5b61; }
.svc-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--ink-2); }
/* El input invisible debe quedar anclado a su etiqueta; si no, al enfocarlo el navegador desplaza el diálogo entero. */
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.switch-track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #cfc7b9; transition: background .18s; flex: none; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .18s var(--ease); }
.switch input:checked + .switch-track { background: var(--lagoon-ink); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--lagoon); outline-offset: 2px; }

/* ---------- proveedores ---------- */

.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.prov-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.prov-card.inactive { opacity: .7; }
.prov-head { display: flex; align-items: flex-start; gap: 12px; }
.prov-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lagoon-soft); color: var(--lagoon-ink); font-weight: 800; font-size: 1.05rem; flex: none; }
.prov-name { font-weight: 800; font-size: 1.02rem; }
.prov-contact { font-size: .85rem; color: var(--muted); }
.prov-offer { font-size: .86rem; color: var(--ink-2); }
.prov-stats { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); }
.prov-stats b { color: var(--ink); }
.prov-lines { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
.prov-lines span { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.prov-lines .icon { color: var(--muted); }
.prov-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.prov-actions .spacer { flex: 1; }

.contact-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.cbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cbtn:hover { border-color: var(--ink-2); }
.cbtn-wa { border-color: #bfe5cc; color: var(--wa); }
.cbtn-wa:hover { background: #ecf8f0; border-color: var(--wa); }
.cbtn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- opiniones y secciones ---------- */

.toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.toolbar-row .seg-tabs { margin-bottom: 0; }
.reviews-avg { display: flex; align-items: center; gap: 8px; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.review-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.review-card.inactive { opacity: .65; }
.review-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.review-card-head time { margin-left: auto; font-size: .8rem; }
.review-service { display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--cat, var(--ink-2)); }
.review-text { font-size: .93rem; overflow-wrap: anywhere; }
.review-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.review-actions .spacer { flex: 1; }
.flag-ok { background: var(--ok-soft); color: var(--ok); }
.tr-box { margin-bottom: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); }
.tr-box summary { padding: 12px 16px; font-weight: 800; cursor: pointer; }
.tr-box .form-grid { padding: 4px 16px 16px; }
.settings-side { display: flex; flex-direction: column; gap: 18px; }
.form-sub { margin-top: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sections-table td, .sections-table th { padding: 10px 12px; }
.sections-table th:not(:first-child), .sections-table td:not(:first-child) { text-align: center; }
.sections-table .switch { justify-content: center; }

/* ---------- ajustes ---------- */

.settings-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .settings-grid { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------- hoja lateral (detalle de reserva) ---------- */

.sheet {
  inset: 0; margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(640px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: #faf8f4; color: var(--ink); box-shadow: var(--shadow-lg);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .3s var(--ease); }
.sheet::backdrop, .modal::backdrop { background: rgba(6, 34, 41, .45); backdrop-filter: blur(2px); }
@keyframes sheet-in { from { transform: translateX(30px); opacity: 0; } }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 24px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .01em; }
.sheet-head .muted { font-size: .84rem; }
.sheet-head .icon-btn { margin-left: auto; margin-top: -4px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 24px 40px; display: flex; flex-direction: column; gap: 14px; }
.sheet-section { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.sheet-section h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet-section h3 .icon { color: var(--ink-2); }
.sheet .kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.sheet .kv .full { grid-column: 1 / -1; }
.sheet .kv dt { font-size: .74rem; font-weight: 700; color: var(--muted); }
.sheet .kv dd { margin: 1px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.client-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--sun-soft); font-size: .9rem; }
.client-note b { display: block; font-size: .74rem; color: #7a4f00; margin-bottom: 2px; }

.status-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-bar .label { font-size: .84rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.status-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 10px; }
.status-form textarea { min-height: 70px; }
.status-form .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

.msg-box textarea { min-height: 120px; font-size: .88rem; background: #fcfbf8; }
.msg-box summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--lagoon-ink); margin: 10px 0 8px; }
.inline-save { display: flex; gap: 8px; align-items: flex-end; }
.inline-save .field { flex: 1; }

.ev-type { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.timeline .tl-title .status { margin-left: 4px; vertical-align: 1px; }

@media (max-width: 560px) {
  .sheet-head { padding: 16px; }
  .sheet-body { padding: 14px 12px 32px; }
  .sheet-section { padding: 14px; }
  .sheet .kv { grid-template-columns: 1fr; }
}

/* ---------- modales ---------- */

.modal {
  width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: modal-in .25s var(--ease); }
@keyframes modal-in { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-sm { width: min(440px, calc(100vw - 24px)); }
.modal form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 20px 24px 14px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.modal-head .icon-btn { margin-left: auto; }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--white); border-radius: 0 0 22px 22px; }
.modal-section { padding: 18px 0; border-top: 1px solid var(--line); }
.modal-section:first-child { padding-top: 0; border-top: 0; }
.modal-section h3 { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.confirm-body { padding: 24px; }
.confirm-body h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
.confirm-body p { color: var(--ink-2); }
@media (max-width: 560px) {
  .modal-head, .modal-body { padding-left: 16px; padding-right: 16px; }
  .modal-foot { padding: 12px 16px; }
}

.img-field { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.img-field .media { border-radius: 14px; aspect-ratio: 16 / 10; }
.img-field .art-icon .icon { width: 36px; height: 36px; }
.img-actions { display: flex; flex-direction: column; gap: 10px; }
.img-actions .row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .img-field { grid-template-columns: 1fr; } }

.loading { display: grid; place-items: center; min-height: 240px; color: var(--muted); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--lagoon); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
