/* Bistró Tropical — admin UI */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --logo-forest: #0b3022;
  --logo-forest-deep: #061912;
  --logo-forest-mid: #123828;
  --logo-red: #bd3429;
  --logo-red-dark: #9e2b22;
  --logo-cream: #eae3cb;
  --logo-gold: #ebb138;
  --logo-teal: #0b4e63;

  --navy: var(--logo-forest);
  --coral: var(--logo-red);
  --coral-dark: var(--logo-red-dark);
  --gold: var(--logo-gold);
  --cream: var(--logo-cream);
  --white: #fffcf7;
  --sand: #ece6d6;
  --line: #d6ccb6;
  --muted: #4a5648;
  --text: #1a241f;
  --field-bg: #faf8f2;
  --radius: 12px;
  --admin-header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html.admin-html {
  overflow-x: hidden;
  max-width: 100%;
}

body.admin-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--text);
  background: var(--sand);
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

body.admin-body--app {
  padding-top: var(--admin-header-h);
}

body.admin-body--login {
  padding-top: var(--admin-header-h);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(18, 122, 150, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, var(--logo-forest-deep) 0%, var(--logo-forest) 42%, #0a3d4d 100%);
  color: var(--cream);
}

/* ═══ NAVBAR — unchanged ═══ */
.admin-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 48, 34, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(234, 227, 203, 0.08);
  overflow: visible;
}

.admin-nav-container {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
}

a.admin-brand:any-link,
a.admin-brand:any-link:visited {
  color: inherit;
  text-decoration: none;
}

.admin-brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.admin-brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.82);
}

.admin-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}

.admin-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
}

.admin-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px 28px;
  flex-wrap: wrap;
}

.admin-nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-nav-links a:any-link,
.admin-nav-links a:any-link:visited {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 252, 247, 0.92);
  text-decoration: none;
  transition: color 0.2s;
}

.admin-nav-links a:any-link:hover { color: var(--gold); }

.admin-nav-links a.is-active {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.admin-nav-pill {
  display: inline-block;
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.admin-nav-pill:hover {
  background: var(--coral-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .admin-nav-container { padding: 10px 16px; gap: 10px; }

  .admin-brand-logo { width: 44px; height: 44px; }

  .admin-brand-text { min-width: 0; overflow: hidden; }

  .admin-brand-name {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-brand-tag { display: none; }

  .admin-nav-toggle {
    display: flex;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
  }

  .admin-nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  .admin-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1002;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px 0 calc(14px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    list-style: none;
    background: rgba(6, 25, 18, 0.98);
    border-bottom: 1px solid rgba(234, 227, 203, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-height: min(70vh, calc(100dvh - var(--admin-header-h)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
  }

  .admin-nav-links.is-open { display: flex; }

  .admin-nav-links li a:any-link {
    display: block;
    padding: 16px 22px;
    color: rgba(255, 252, 247, 0.95);
    font-size: 1rem;
  }

  .admin-nav-links li .admin-nav-pill {
    margin: 8px 16px 4px;
    padding: 14px 20px !important;
    text-align: center;
    display: block;
  }
}

/* ═══ LOGIN ═══ */
.admin-login-main {
  min-height: calc(100vh - var(--admin-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 64px;
}

.admin-login-inner {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.admin-login-inner .section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.admin-login-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.15;
}

.admin-login-inner .sub {
  color: rgba(234, 227, 203, 0.78);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 auto 32px;
}

.admin-login-inner .card {
  text-align: left;
  background: rgba(255, 252, 247, 0.07);
  border: 1px solid rgba(234, 227, 203, 0.18);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
}

.admin-login-inner .card label { color: rgba(234, 227, 203, 0.88); }

.admin-login-inner .card input[type='password'] {
  background: rgba(255, 252, 247, 0.09);
  border-color: rgba(234, 227, 203, 0.22);
  color: var(--white);
}

.admin-login-inner .card input[type='password']:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(235, 177, 56, 0.2);
}

.admin-login-inner .card button[type='submit'] {
  width: 100%;
  text-align: center;
}

/* ═══ LAYOUT ═══ */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  width: 100%;
}

body.admin-body--app .wrap {
  padding-top: 12px;
}

.admin-panel {
  min-width: 0;
  scroll-margin-top: 100px;
}

.admin-panel + .admin-panel {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

/* ═══ TYPOGRAPHY ═══ */
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 22px;
  line-height: 1.55;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 8px 0 16px;
  line-height: 1.55;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

label.small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ═══ CARDS ═══ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(11, 48, 34, 0.06), 0 6px 24px rgba(11, 48, 34, 0.07);
  border: 1px solid rgba(11, 48, 34, 0.07);
}

.card > form { min-width: 0; }
.card .grid2 > div { min-width: 0; }

/* ═══ FORM FIELDS ═══ */
input[type='password'],
input[type='text'],
input[type='file'] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--field-bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

input[type='password']:focus,
input[type='text']:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 48, 34, 0.1);
}

/* ═══ BUTTONS ═══ */
button, .btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

button:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(189, 52, 41, 0.3);
}

button.secondary {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

button.secondary:hover {
  background: var(--sand);
  transform: none;
  box-shadow: none;
}

button.danger {
  background: #7d2336;
  color: #fff;
}

button.danger:hover {
  background: #5e1a28;
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══ MESSAGES ═══ */
.msg {
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.msg.ok {
  background: #d0ebd8;
  color: #0e4420;
  border: 1px solid #aed4ba;
}

.msg.err {
  background: #fde8e8;
  color: #6b1414;
  border: 1px solid #f4c4c4;
}

/* ═══ TOOLBAR (upload forms inside gallery card) ═══ */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  gap: 0;
}

.toolbar-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  flex: 1 1 260px;
  padding-right: 28px;
}

.toolbar-form--secondary {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  padding-right: 0;
}

/* ═══ GALLERY GRID ═══ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tile {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(11, 48, 34, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.tile:hover {
  box-shadow: 0 6px 20px rgba(11, 48, 34, 0.14);
  transform: translateY(-2px);
}

.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.tile .meta {
  padding: 10px 12px 0;
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.tile .actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 10px 12px 14px;
}

/* Make forms transparent to flex layout */
.tile .actions form {
  display: contents;
}

/* ↑ ↓ reorder: compact square icon buttons */
.tile-btn-order {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Delete: fills remaining width */
.tile-form-delete {
  flex: 1;
}

.tile-form-delete button {
  width: 100%;
  height: 40px;
  font-size: 0.88rem;
  padding: 0 10px;
}

/* ═══ STRUCTURED EDITOR SECTIONS ═══ */
.struct-section {
  border: 1.5px solid rgba(11, 48, 34, 0.1);
  border-left: 4px solid var(--navy);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--white);
}

details.struct-section[open] {
  border-left-color: var(--gold);
}

.struct-section summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  line-height: 1.3;
}

.struct-section summary::-webkit-details-marker { display: none; }
.struct-section summary::marker { content: none; }

.struct-section summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}

details.struct-section[open] > summary {
  border-bottom: 1.5px solid rgba(11, 48, 34, 0.08);
}

details.struct-section[open] > summary::after {
  content: '–';
}

.struct-body {
  padding: 20px 18px 18px;
}

.struct-body > label { margin-top: 16px; }

.struct-body > label:first-child,
.struct-body > .grid2:first-child label {
  margin-top: 0;
}

.struct-body > .hint + .editor-table-scroll { margin-top: 4px; }

.struct-body button.secondary[data-add-row] { margin-top: 8px; }

.struct-body textarea:not(.code),
.struct-body input[type='text'] {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--field-bg);
  color: var(--text);
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.struct-body textarea:not(.code) {
  min-height: 80px;
  line-height: 1.45;
  resize: vertical;
}

.struct-body textarea:not(.code):focus,
.struct-body input[type='text']:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 48, 34, 0.1);
}

/* ═══ EDITOR TABLES — always card layout, zero horizontal scroll ═══ *
 * Each row becomes a card. Fields flex-wrap so short fields (Title,   *
 * Price) pair up on one line; textarea cells and the action cell go   *
 * full width. :has(textarea) has broad modern-browser support.        */
.editor-table-scroll {
  width: 100%;
  margin: 10px 0 14px;
}

.editor-table-scroll .editor-table {
  display: block;
  width: 100%;
  border: 0;
  font-size: 1rem;
}

.editor-table-scroll .editor-table thead { display: none; }

.editor-table-scroll .editor-table tbody { display: block; }

.editor-table-scroll .editor-table tbody tr {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px;
  border: 1.5px solid rgba(11, 48, 34, 0.09);
  border-radius: 10px;
  background: #fdfcf8;
  box-shadow: 0 1px 4px rgba(11, 48, 34, 0.05);
}

.editor-table-scroll .editor-table tbody tr:last-child { margin-bottom: 0; }

/* Each cell: min 180px, grows to fill row — short fields pair naturally */
.editor-table-scroll .editor-table tbody tr td {
  flex: 1 1 180px;
  min-width: 0;
  border: none;
  padding: 0;
  box-sizing: border-box;
}

/* Cells with a textarea (Description, Quote, Body) → full width */
.editor-table-scroll .editor-table tbody tr td:has(textarea) {
  flex: 1 1 100%;
}

/* Action cell (Remove button) → always full width */
.editor-table-scroll .editor-table tbody tr td:last-child {
  flex: 1 1 100%;
}

/* Field label shown above each input */
.editor-table-scroll .editor-table tbody tr td::before {
  content: attr(data-label);
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* No label for the action cell */
.editor-table-scroll .editor-table tbody tr td:last-child::before {
  display: none;
}

/* Inputs inside the row cards */
.editor-table input[type='text'],
.editor-table textarea,
.editor-table select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.editor-table input[type='text']:focus,
.editor-table textarea:focus,
.editor-table select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 48, 34, 0.1);
}

.editor-table textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.45;
}

.editor-table .narrow { max-width: none; }

/* Action cell: flex row so Remove + Done sit side by side */
.editor-table-scroll .editor-table tbody tr td:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.editor-table-scroll .editor-table tbody tr td:last-child .js-row-remove {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
}

/* ─── Row accordion ─── */

/* Collapsed: compact single-line entry */
.editor-table-scroll .editor-table tbody tr.row-collapsed {
  padding: 10px 16px;
  gap: 0;
  box-shadow: none;
  border: 1px solid rgba(11, 48, 34, 0.1);
  background: var(--white);
  align-items: center;
}

.editor-table-scroll .editor-table tbody tr.row-collapsed td:not(.row-summary-cell) {
  display: none;
}

/* Expanded: show gold left accent */
.editor-table-scroll .editor-table tbody tr:not(.row-collapsed) {
  border-left: 4px solid var(--gold);
}

/* Summary cell (shown only when collapsed) */
.editor-table-scroll .editor-table tbody tr:not(.row-collapsed) .row-summary-cell {
  display: none;
}

.row-summary-cell {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: none !important;
  padding: 0 !important;
}

.row-sum-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.row-sum-price {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.row-sum-edit {
  flex-shrink: 0 !important;
  padding: 6px 14px !important;
  font-size: 0.82rem !important;
}

.row-collapse-btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
}

/* ═══ GRID2 ═══ */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.grid2 > div { min-width: 0; }

/* ═══ JSON / CODE TEXTAREA ═══ */
textarea.code {
  width: 100%;
  min-height: 300px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #f8f6f0;
  box-sizing: border-box;
  display: block;
  transition: border-color 0.15s;
}

textarea.code:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 48, 34, 0.08);
}

/* ═══ RESPONSIVE ═══ */

@media (max-width: 720px) {
  .toolbar {
    flex-direction: column;
    gap: 0;
  }

  .toolbar-form {
    width: 100%;
    align-items: stretch;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
  }

  .toolbar-form:first-child {
    padding-top: 0;
    border-top: none;
  }

  .toolbar-form--secondary {
    border-left: none;
    padding-left: 0;
  }

  .toolbar-form button {
    width: 100%;
    text-align: center;
  }

  .toolbar-form input[type='file'] {
    width: 100%;
  }

  .grid2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .wrap { padding: 16px 14px 52px; }

  body.admin-body--app .wrap { padding-top: 10px; }

  .card { padding: 20px 16px; }

  .admin-panel + .admin-panel {
    margin-top: 36px;
    padding-top: 32px;
  }

  h1 { font-size: 1.45rem; }

  .struct-section summary {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .struct-body { padding: 16px 14px 14px; }

  .editor-table-scroll .editor-table tbody tr {
    padding: 14px;
    gap: 12px;
  }

  /* 2 columns on small tablets */
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  textarea.code { min-height: 220px; }
}

@media (max-width: 480px) {
  :root { --admin-header-h: 72px; }

  .admin-nav-container { padding: 8px 12px; gap: 8px; }

  .admin-brand-logo { width: 36px; height: 36px; }

  .admin-brand-name { font-size: 0.9rem; }

  .wrap { padding: 12px 12px 44px; }

  .card { padding: 16px 12px; border-radius: 10px; }

  h1 { font-size: 1.25rem; }

  /* 2 columns on phones — enough room for the 3-button action row */
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Slightly smaller buttons on narrower tiles */
  .tile-btn-order {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .tile-form-delete button {
    height: 34px;
    font-size: 0.82rem;
  }

  .tile .actions {
    gap: 6px;
    padding: 8px 10px 12px;
  }

  .struct-section summary { padding: 11px 12px; }
  .struct-body { padding: 14px 12px 12px; }

  .editor-table-scroll .editor-table tbody tr { padding: 12px; gap: 10px; }

  .admin-login-main { padding: 24px 14px 48px; }

  textarea.code { min-height: 180px; font-size: 12.5px; }
}
