:root {
  --bg: #fffafc;
  --panel: rgba(255,255,255,.95);
  --ink: #51424d;
  --muted: #8b7a84;
  --heading: #74596b;
  --line: #ead8e1;
  --line-strong: #dec6d2;
  --pink: #d8a0b8;
  --pink-deep: #b97894;
  --lavender: #c5b4e4;
  --cream: #fff8ed;
  --green: #eaf8ed;
  --blue: #eef5ff;
  --danger: #fff1f4;
  --shadow: 0 18px 42px rgba(122, 83, 107, .12);
  --shadow-soft: 0 8px 22px rgba(122, 83, 107, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255,236,246,.9), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(242,237,255,.9), transparent 30%),
    linear-gradient(180deg, #fffdfc, #fff8fb 58%, #faf7ff);
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

body[data-environment="test"] {
  background:
    linear-gradient(90deg, rgba(255, 180, 67, .22), rgba(255, 231, 126, .16)),
    radial-gradient(circle at 8% 0%, rgba(255, 220, 156, .8), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255, 244, 183, .75), transparent 30%),
    linear-gradient(180deg, #fffbeb, #fff8f0 58%, #fff7df);
}

.environment-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 8px 18px;
  border-bottom: 2px solid #b45309;
  background: repeating-linear-gradient(135deg, #92400e 0 14px, #b45309 14px 28px);
  color: #fff8e1;
  box-shadow: 0 8px 22px rgba(80, 42, 0, .22);
  text-align: center;
}

.environment-banner strong {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff8e1;
  color: #7c2d12;
  font-size: 13px;
  font-weight: 900;
}

.environment-banner span {
  font-size: 13px;
  font-weight: 900;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }

.app-shell {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.app-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 26px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(135deg, #4e4359, #77649b);
  color: #fff;
  box-shadow: var(--shadow);
}

.brand-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 16px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  color: #f8dbe7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.app-header h1 {
  margin: 10px 0 4px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.app-header p { margin: 0; color: rgba(255,255,255,.82); font-weight: 700; }

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.header-nav a {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.header-nav a.active {
  background: #fff;
  color: var(--heading);
}

.panel {
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid rgba(234,216,225,.92);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,253,.96));
  box-shadow: var(--shadow-soft);
}

.hero-panel { padding: 28px; }
.section-kicker {
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h2 {
  margin: 4px 0 8px;
  color: var(--heading);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
}

h3 { margin: 0 0 8px; color: var(--heading); }
p { color: var(--muted); font-weight: 700; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dashboard-card {
  display: block;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.dashboard-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: #fff;
  font-weight: 900;
}

.dashboard-card strong {
  display: block;
  margin: 14px 0 4px;
  color: var(--heading);
  font-size: 18px;
}

.dashboard-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.utility-details,
.guide-details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
}

.utility-details + .utility-details,
.guide-details + .sc-form { margin-top: 16px; }

.utility-details summary,
.guide-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 14px 18px;
  list-style: none;
  color: var(--heading);
  font-weight: 900;
}

.utility-details summary::-webkit-details-marker,
.guide-details summary::-webkit-details-marker { display: none; }

.utility-details small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.utility-details b,
.guide-details b {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f2e6ee;
  color: var(--pink-deep);
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

.utility-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.form-panel { max-width: 1120px; margin-inline: auto; }

.sc-form { margin-top: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--heading);
  font-weight: 900;
}

label span b {
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: #fff;
  font-size: 11px;
}

.wide { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fffbfd);
  color: var(--ink);
  outline: none;
}

textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(216,160,184,.16);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.main-btn,
.sub-btn,
.chip-btn {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  font-weight: 900;
  text-decoration: none;
}

.main-btn {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: #fff;
  box-shadow: 0 10px 24px rgba(122,83,107,.16);
}

.chip-btn.danger {
  background: #fff3f5;
  color: #a0445a;
}

.chip-btn.is-loading {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-deep), var(--lavender));
}

.chip-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  animation: actionShine 1s ease-in-out infinite;
}

.message {
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff8fb;
  color: var(--heading);
  font-weight: 900;
}

.message.success { border-color: #bfe5c7; background: var(--green); color: #35754b; }
.message.error { border-color: #efc1cc; background: var(--danger); color: #a0445a; }

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-auth {
  display: grid;
  min-width: min(360px, 100%);
  gap: 8px;
}

.admin-auth label span { margin-bottom: 4px; }

.check-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.check-line input {
  width: auto;
  min-height: 0;
}

.summary-row,
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.summary-chip,
.tab-btn {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  font-weight: 900;
}

.summary-chip strong,
.tab-btn strong { font-size: 18px; }

.tab-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, #7d5f8d, #9d7bae);
  color: #fff;
}

.tab-btn strong {
  display: inline-flex;
  min-width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(122, 83, 107, .08);
  font-size: 14px;
}

.tab-btn.active strong {
  background: rgba(255,255,255,.22);
  color: #fff;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: opacity .16s ease, filter .16s ease;
  cursor: pointer;
}

.admin-card.is-processing {
  opacity: .72;
  filter: saturate(.86);
}

.admin-card-media {
  display: grid;
  flex: 0 0 180px;
  place-items: center;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5fa, #f2edff);
  color: var(--muted);
  font-weight: 900;
}

.admin-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-card-body {
  display: flex;
  position: relative;
  z-index: 1;
  flex: 1;
  flex-direction: column;
  margin-top: 0;
  padding: 14px;
  background: #fff;
}

.badge-row {
  display: flex;
  position: static;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8fb;
  color: #8a5f78;
  font-size: 11px;
  font-weight: 900;
}

.badge.primary { border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--lavender)); color: #fff; }
.badge.green { background: var(--green); color: #3f7b4f; }
.badge.blue { background: var(--blue); color: #42678f; }
.badge.warn { border-color: #f3c37f; background: #fff4dd; color: #9a5b12; }

.admin-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.admin-card-thumbs {
  display: flex;
  gap: 6px;
  margin: 4px 0 10px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.admin-card-thumbs img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff8fb;
}

.admin-meta {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

.admin-meta div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-meta span { color: var(--muted); font-weight: 900; }
.admin-meta strong { min-width: 0; overflow-wrap: anywhere; }

.admin-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 14px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.admin-card .admin-warning {
  display: block;
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #f3c37f;
  border-radius: 12px;
  background: #fff8eb;
  color: #8a520f;
  font-weight: 900;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.admin-actions button:disabled {
  opacity: .62;
}

body[data-page="event_admin"] .app-shell {
  width: min(2460px, calc(100% - 20px));
  padding-top: 0;
}

body[data-page="event_admin"] .app-header {
  display: none;
}

.event-admin-gas {
  padding: 0 0 30px;
}

.event-admin-page-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 4px 10px 8px;
  border-bottom: 1px solid rgba(234,216,225,.8);
  text-align: center;
}

.event-admin-page-header h2 {
  margin: 0;
  color: #73596a;
  font-size: 28px;
  line-height: 1.2;
  white-space: nowrap;
}

.event-admin-page-header p {
  margin: 0;
  color: #8d7b85;
  font-size: 13px;
}

.event-admin-panel {
  padding: 14px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,253,.96));
}

.event-admin-panel .admin-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 14px;
}

.event-admin-panel .admin-head h3 {
  margin: 0 0 2px;
  color: #5f5160;
  font-size: 20px;
}

.event-admin-panel .admin-head p {
  margin: 0;
  font-size: 13px;
}

.event-admin-panel .admin-auth {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: end;
  min-width: 0;
}

.event-admin-panel .admin-auth label:first-child span,
.event-admin-panel .check-line {
  font-size: 12px;
}

.event-admin-panel .admin-auth input[type="password"] {
  min-height: 38px;
}

.event-admin-panel .admin-auth .main-btn {
  min-height: 38px;
  padding: 7px 15px;
}

.event-admin-panel .tab-row {
  flex-wrap: nowrap;
  gap: 12px;
  margin: 12px -2px 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
}

.event-admin-panel .tab-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 9px 18px;
  border-color: #ead8e1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(150,112,132,.06);
  color: #73596a;
  font-size: 16px;
}

.event-admin-panel .tab-btn.active {
  background: linear-gradient(135deg, #cf94bd, #bfa7dd);
  box-shadow: 0 14px 26px rgba(179,128,174,.28);
}

.event-admin-panel .tab-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #f5e8f0;
  color: #bd7894;
  font-size: 13px;
  font-weight: 900;
}

.event-admin-panel .tab-btn.active .tab-icon {
  background: rgba(255,255,255,.26);
  color: #fff;
}

.event-admin-overview {
  margin: 4px 0 14px;
}

.event-work-board {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
}

.event-lane-card {
  min-height: 250px;
  padding: 16px;
  border: 1px solid #ead8e1;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 28px rgba(150,112,132,.08);
}

.event-lane-main {
  border-color: #cfe9d5;
  background: linear-gradient(180deg, #fbfffc, #fff);
}

.lane-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8d7b85;
  font-size: 12px;
  font-weight: 900;
}

.lane-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8a0b8, #c5b4e4);
}

.event-lane-card h3 {
  margin: 6px 0 4px;
  color: #4f434c;
  font-size: 22px;
  line-height: 1.35;
}

.event-lane-card p {
  margin: 0;
  font-size: 13px;
}

.event-lane-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.lane-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  min-height: 104px;
  padding: 12px;
  border: 1px solid #cfe9d5;
  border-radius: 18px;
  background: #fff;
  color: #5b4e58;
  text-align: left;
}

.lane-step span {
  grid-row: 1 / span 2;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #5c9c67;
  color: #fff;
  font-weight: 900;
}

.lane-step strong {
  overflow-wrap: anywhere;
  color: #5b4e58;
  font-size: 14px;
}

.lane-step em {
  color: #8d7b85;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.lane-step b {
  grid-row: 1 / span 2;
  color: #5b4e58;
  font-size: 22px;
}

.check-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid #ead8e1;
  border-radius: 16px;
  background: #fff;
}

.check-item span {
  grid-row: 1 / span 2;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.check-item .is-ok { background: #64a269; }
.check-item .is-arrow { background: #9379ba; }
.check-item strong { color: #5b4e58; }
.check-item em {
  color: #8d7b85;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.event-lane-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body[data-page="event_admin"] .utility-details.compact {
  margin-top: 10px;
}

body[data-page="event_admin"] .admin-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 14px;
}

body[data-page="event_admin"] .admin-card {
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(150,112,132,.09);
}

body[data-page="event_admin"] .admin-card h3 {
  color: #73596a;
  font-size: 22px;
}

body[data-page="event_admin"] .admin-card-media {
  flex-basis: 210px;
  height: 210px;
}

body[data-page="event_admin"] .badge.primary {
  background: #d39bc1;
}

body[data-page="event_admin"] .admin-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="event_admin"] .admin-meta div {
  grid-template-columns: 64px minmax(0, 1fr);
}

body[data-page="event_admin"] .admin-meta strong {
  word-break: normal;
  overflow-wrap: anywhere;
}

body[data-page="event_admin"] .admin-card-thumbs img {
  width: 58px;
  height: 58px;
}

body[data-page="event_admin"] {
  font-size: 12px;
  line-height: 1.55;
}

body[data-page="event_admin"] .app-shell {
  width: min(2520px, calc(100% - 12px));
}

body[data-page="event_admin"] .event-admin-page-header {
  min-height: 38px;
  padding: 2px 8px 6px;
}

body[data-page="event_admin"] .event-admin-page-header h2 {
  font-size: 22px;
}

body[data-page="event_admin"] .event-admin-page-header p {
  font-size: 11px;
}

body[data-page="event_admin"] .event-admin-panel {
  padding: 10px 12px;
  border-radius: 22px;
}

body[data-page="event_admin"] .event-admin-panel .admin-head h3 {
  font-size: 17px;
}

body[data-page="event_admin"] .event-admin-panel .admin-head p,
body[data-page="event_admin"] .event-admin-panel .admin-auth label:first-child span,
body[data-page="event_admin"] .event-admin-panel .check-line {
  font-size: 11px;
}

body[data-page="event_admin"] .event-admin-panel .admin-auth input[type="password"],
body[data-page="event_admin"] .event-admin-panel .admin-auth .main-btn {
  min-height: 32px;
}

body[data-page="event_admin"] .event-admin-panel .tab-row {
  gap: 8px;
  margin: 8px -2px 10px;
  padding-bottom: 6px;
}

body[data-page="event_admin"] .event-admin-panel .tab-btn {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 13px;
}

body[data-page="event_admin"] .tab-btn strong {
  min-width: 22px;
  height: 22px;
  font-size: 12px;
}

body[data-page="event_admin"] .event-admin-panel .tab-icon {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

body[data-page="event_admin"] .event-work-board {
  gap: 8px;
}

body[data-page="event_admin"] .event-lane-card {
  min-height: 150px;
  padding: 11px;
  border-radius: 18px;
}

body[data-page="event_admin"] .lane-kicker {
  font-size: 10px;
}

body[data-page="event_admin"] .event-lane-card h3 {
  margin: 4px 0 2px;
  font-size: 17px;
}

body[data-page="event_admin"] .event-lane-card p,
body[data-page="event_admin"] .lane-step em,
body[data-page="event_admin"] .check-item em {
  font-size: 10px;
  line-height: 1.35;
}

body[data-page="event_admin"] .event-lane-steps {
  gap: 7px;
  margin-top: 9px;
}

body[data-page="event_admin"] .lane-step {
  min-height: 74px;
  padding: 8px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 1px 7px;
}

body[data-page="event_admin"] .lane-step span,
body[data-page="event_admin"] .check-item span {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

body[data-page="event_admin"] .lane-step strong,
body[data-page="event_admin"] .check-item strong {
  font-size: 11px;
}

body[data-page="event_admin"] .lane-step b {
  font-size: 16px;
}

body[data-page="event_admin"] .check-stack {
  gap: 7px;
  margin-top: 8px;
}

body[data-page="event_admin"] .check-item {
  min-height: 42px;
  padding: 6px 8px;
  grid-template-columns: 30px minmax(0, 1fr);
}

body[data-page="event_admin"] .utility-details summary {
  min-height: 44px;
  padding: 9px 14px;
}

body[data-page="event_admin"] .message {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 12px;
}

body[data-page="event_admin"] .admin-card-grid {
  gap: 10px;
  margin-top: 10px;
}

body[data-page="event_admin"] .admin-card {
  min-height: 0;
  border-radius: 16px;
}

body[data-page="event_admin"] .admin-card-media {
  flex-basis: 128px;
  height: 128px;
}

body[data-page="event_admin"] .admin-card-body {
  padding: 9px;
}

body[data-page="event_admin"] .badge-row {
  gap: 4px;
  margin-bottom: 7px;
}

body[data-page="event_admin"] .badge {
  min-height: 20px;
  padding: 2px 7px;
  font-size: 10px;
}

body[data-page="event_admin"] .admin-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.28;
}

body[data-page="event_admin"] .admin-card-thumbs {
  gap: 4px;
  margin: 2px 0 7px;
}

body[data-page="event_admin"] .admin-card-thumbs img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

body[data-page="event_admin"] .admin-meta {
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 7px 0;
}

body[data-page="event_admin"] .admin-meta div {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 5px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 8px;
}

body[data-page="event_admin"] .admin-meta span {
  font-size: 10px;
}

body[data-page="event_admin"] .admin-meta strong {
  font-size: 12px;
  line-height: 1.28;
}

body[data-page="event_admin"] .admin-card p {
  margin: 2px 0 9px;
  font-size: 12px;
  -webkit-line-clamp: 2;
}

body[data-page="event_admin"] .admin-actions {
  gap: 6px;
}

body[data-page="event_admin"] .chip-btn {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}

.admin-screen-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.admin-screen-switch.centered {
  justify-content: center;
}

.screen-switch-btn {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #ead8e1;
  border-radius: 999px;
  background: #fff;
  color: #73596a;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.screen-switch-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, #cf94bd, #bfa7dd);
  color: #fff;
}

.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.activity-impact {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #dcefdc;
  border-radius: 16px;
  background: #fbfffc;
}

.activity-impact h3 {
  margin: 0 0 4px;
  color: #4f7355;
}

.activity-impact p {
  margin: 0 0 8px;
  font-size: 12px;
}

.activity-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.activity-impact-grid div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #dcefdc;
  border-radius: 12px;
  background: #fff;
}

.activity-impact-grid span {
  color: #6b8f70;
  font-weight: 900;
}

.activity-impact-grid strong {
  overflow-wrap: anywhere;
}

.activity-impact-grid b {
  color: #4f9a5c;
  font-size: 18px;
}

@media (min-width: 1760px) {
  body[data-page="event_admin"] .admin-card-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) and (max-width: 1759px) {
  body[data-page="event_admin"] .admin-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@keyframes actionShine {
  to { transform: translateX(120%); }
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 48, 58, .52);
}
.dialog {
  position: relative;
  width: min(960px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(33,24,34,.25);
}
.dialog-close {
  float: right;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  font-weight: 900;
}

.modal-open { overflow: hidden; }

.empty-box {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 18px;
  clear: both;
}

.detail-main-image {
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5fa, #f2edff);
}

.detail-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.detail-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.detail-thumbs img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.detail-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.detail-rows div {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffbfd;
}

.detail-rows span {
  color: var(--muted);
  font-weight: 900;
}

.detail-rows strong {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.detail-rows.compact {
  margin-top: 8px;
}

.detail-alert,
.detail-diff {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #f3c37f;
  border-radius: 16px;
  background: #fff8eb;
  color: #7d4b12;
}

.detail-alert h3,
.detail-diff h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.detail-alert p,
.detail-diff p {
  margin: 0;
  white-space: pre-wrap;
}

.diff-rows {
  display: grid;
  gap: 8px;
}

.diff-rows div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(230,190,210,.75);
  border-radius: 14px;
  background: #fff;
}

.diff-rows span {
  color: var(--muted);
  font-weight: 900;
}

.diff-rows strong {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.diff-rows em {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.diff-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diff-image-list figure {
  display: grid;
  gap: 4px;
  margin: 0;
}

.diff-image-list img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  background: #fff8fb;
}

.diff-image-list figcaption,
.diff-image-empty {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .app-header { grid-template-columns: 1fr; }
  .header-nav { justify-content: flex-start; }
  .dashboard-grid, .utility-grid { grid-template-columns: 1fr 1fr; }
  .diff-rows div { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .app-shell { width: min(100% - 14px, 1480px); padding-top: 8px; }
  .app-header { padding: 20px 16px; border-radius: 0 0 22px 22px; }
  .header-nav a { flex: 1 1 44%; text-align: center; font-size: 12px; }
  .panel { padding: 16px; border-radius: 20px; }
  .dashboard-grid, .utility-grid, .form-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .admin-head { display: block; }
  .admin-auth { margin-top: 12px; }
  .admin-card-grid { grid-template-columns: 1fr; }
  .admin-card { min-height: 0; }
  .detail-layout { grid-template-columns: 1fr; }
}

/* === GAS instructor request/admin parity patch 2026-05-21 === */
.gas-instructor-request {
  position: relative;
  min-height: 100vh;
  padding: 6px 0 42px;
  color: #3f3b4c;
  overflow: hidden;
}
.gas-instructor-request .page-glow {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .48;
  pointer-events: none;
  animation: gasFloatGlow 11s ease-in-out infinite;
}
.gas-instructor-request .glow-a { top: 92px; left: -30px; width: 220px; height: 220px; background: rgba(252,177,221,.34); }
.gas-instructor-request .glow-b { top: 196px; right: -46px; width: 260px; height: 260px; background: rgba(154,145,255,.22); animation-delay: -4s; }
.gas-instructor-request .glow-c { bottom: 44px; left: 15%; width: 240px; height: 240px; background: rgba(207,245,236,.30); animation-delay: -8s; }
@keyframes gasFloatGlow { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(16px,-12px,0) scale(1.05)} }
.gas-container { position: relative; z-index: 1; width: min(1120px, calc(100% - 20px)); margin: 0 auto; }
.gas-hero {
  position: relative;
  margin: 0 0 18px;
  padding: 30px 22px 28px;
  border: 1px solid rgba(226,210,233,.95);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,243,251,.90));
  box-shadow: 0 22px 46px rgba(171,122,182,.16);
  overflow: hidden;
  text-align: center;
}
.gas-hero::before { content:""; position:absolute; inset:auto -14% -42% -14%; height: 130px; background: radial-gradient(circle, rgba(238,131,192,.18), transparent 70%); }
.gas-hero h2 { margin: 8px 0 8px; color: #4a4560; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: .03em; }
.gas-hero h2 span { display:block; font-size:.62em; color:#756f86; }
.gas-hero h2 strong { display:block; font-weight:900; }
.hero-kicker { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding: 4px 16px; border-radius:999px; background:linear-gradient(135deg,#ffd7ee,#d8d2ff); color:#8b3a73; font-size:12px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.hero-sub { margin:0 auto; max-width:780px; color:#756f86; font-size:15px; font-weight:800; line-height:1.85; }
.hero-pill-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:18px; }
.hero-pill { display:inline-flex; align-items:center; min-height:34px; padding:6px 14px; border:1px solid rgba(212,187,226,.95); border-radius:999px; background:#fff; color:#cc5ea4; font-weight:900; box-shadow:0 8px 22px rgba(170,119,161,.08); }
.request-guide-panels { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 16px; }
.request-guide-panel { border:1px solid rgba(226,210,233,.95); border-radius:20px; background:rgba(255,255,255,.88); box-shadow:0 12px 30px rgba(170,119,161,.10); overflow:hidden; }
.request-guide-panel summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 16px; list-style:none; cursor:pointer; color:#4a4560; font-weight:900; }
.request-guide-panel summary::-webkit-details-marker { display:none; }
.request-guide-panel summary small { flex:0 0 auto; color:#cc5ea4; font-size:12px; }
.request-guide-panel-body { padding:0 16px 16px; color:#756f86; font-weight:800; line-height:1.8; }
.mentor-guide { margin: 0 0 16px; padding:20px; border:1px solid rgba(226,210,233,.95); border-radius:24px; background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,250,253,.92)); box-shadow:0 12px 30px rgba(170,119,161,.10); }
.mentor-guide-head h3, .form-intro-copy h3 { margin:4px 0 6px; color:#4a4560; font-size:22px; }
.mentor-guide-head p, .form-intro-copy p { margin:0; color:#756f86; font-weight:800; }
.mentor-guide-kicker { color:#cc5ea4; font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.mentor-guide-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.mentor-guide-card { padding:16px; border:1px solid rgba(226,210,233,.95); border-radius:18px; background:#fff; }
.mentor-guide-icon { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border-radius:14px; background:linear-gradient(135deg,#ee83c0,#8a7cff); color:#fff; font-weight:900; }
.mentor-guide-card h4 { margin:10px 0 4px; color:#4a4560; font-size:16px; }
.mentor-guide-card p { margin:0; color:#756f86; font-size:13px; font-weight:800; }
.gas-card { position:relative; margin:0 0 18px; padding:22px; border:1px solid rgba(226,210,233,.95); border-radius:28px; background:rgba(255,255,255,.92); box-shadow:0 22px 46px rgba(171,122,182,.16); overflow:hidden; }
.card-shine { position:absolute; top:-90px; right:-80px; width:230px; height:230px; border-radius:999px; background:radial-gradient(circle,rgba(255,215,238,.72),transparent 68%); pointer-events:none; }
.form-intro { position:relative; display:flex; gap:14px; align-items:flex-start; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid rgba(226,210,233,.95); }
.form-intro-badge { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:20px; background:linear-gradient(135deg,#ee83c0,#8a7cff); color:#fff; font-size:12px; font-weight:900; letter-spacing:.08em; }
.gas-section { position:relative; padding:18px; margin:0 0 16px; border:1px solid rgba(226,210,233,.95); border-radius:22px; background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,250,253,.86)); }
.gas-section .section-title { margin:0 0 4px; color:#4a4560; font-size:21px; font-weight:900; }
.gas-section .section-sub { margin:0 0 14px; color:#756f86; font-weight:800; }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.field.wide { grid-column:1 / -1; }
.field .label, .filter-field label { display:inline-flex; align-items:center; gap:7px; margin-bottom:7px; color:#4a4560; font-weight:900; }
.required { padding:2px 7px; border-radius:999px; background:linear-gradient(135deg,#ee83c0,#8a7cff); color:#fff; font-size:11px; font-weight:900; }
.field input, .field select, .field textarea,
.filter-field input, .filter-field select { width:100%; min-height:46px; padding:10px 12px; border:1px solid rgba(212,187,226,.95); border-radius:14px; background:#fff; color:#3f3b4c; outline:none; transition:border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.field textarea { min-height:140px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.filter-field input:focus, .filter-field select:focus { border-color:#ee83c0; box-shadow:0 0 0 4px rgba(238,131,192,.15); }
.hint { margin-top:6px; color:#756f86; font-size:12px; font-weight:800; }
.request-type-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.request-type-card { display:flex; gap:11px; align-items:flex-start; min-height:96px; padding:14px; border:1px solid rgba(226,210,233,.95); border-radius:18px; background:#fff; color:#4a4560; text-align:left; box-shadow:0 8px 22px rgba(170,119,161,.08); }
.request-type-card.active { border-color:#ee83c0; background:linear-gradient(180deg,#fff,#fff3fb); box-shadow:0 14px 30px rgba(238,131,192,.16); }
.request-type-mark { flex:0 0 auto; display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:999px; background:#f7e9f2; color:#cc5ea4; font-weight:900; }
.request-type-main strong { display:block; margin-bottom:4px; color:#4a4560; font-weight:900; }
.request-type-main small { display:block; color:#756f86; font-weight:800; line-height:1.6; }
.preview-box { padding:14px; border:1px solid rgba(226,210,233,.95); border-radius:18px; background:#fff; }
.lookup-title { color:#4a4560; font-weight:900; margin-bottom:6px; }
.lookup-lead { color:#756f86; font-weight:800; line-height:1.75; margin-bottom:12px; }
.lookup-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:12px; }
.verified-label { color:#166534; font-size:13px; font-weight:900; }
.search-results { margin-top:8px; border:1px solid rgba(226,210,233,.95); border-radius:14px; background:#fff; overflow:hidden; }
.search-results.muted-result { padding:10px 12px; color:#8d7b85; font-weight:800; }
.search-result-item { display:block; width:100%; padding:10px 12px; border:0; border-bottom:1px solid #f3e8ef; background:#fff; text-align:left; color:#4a4560; }
.search-result-item:hover { background:#fff6fb; }
.search-result-item strong { display:block; font-weight:900; }
.search-result-item span { display:block; color:#756f86; font-size:12px; font-weight:800; }
.upload-drop-zone { min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:18px; border:2px dashed rgba(212,187,226,.95); border-radius:18px; background:linear-gradient(180deg,#fff,#fff9fd); color:#756f86; text-align:center; }
.upload-drop-zone.is-dragover { border-color:#ee83c0; background:#fff3fb; }
.upload-drop-icon { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border-radius:16px; background:linear-gradient(135deg,#ffd7ee,#d8d2ff); color:#cc5ea4; font-weight:900; }
.upload-drop-main { color:#4a4560; font-weight:900; }
.upload-drop-sub { font-size:12px; font-weight:800; }
.hidden-file-input { display:none; }
.image-preview-row { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:10px; margin-top:10px; }
.image-preview-row img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; border:1px solid rgba(226,210,233,.95); background:#fff; }
.final-preview-box { display:grid; grid-template-columns:minmax(180px,260px) minmax(0,1fr); gap:16px; padding:14px; border:1px solid rgba(226,210,233,.95); border-radius:18px; background:#fff; }
.final-preview-image { min-height:220px; border-radius:18px; background:linear-gradient(135deg,#fff3fb,#f4f1ff); display:flex; align-items:center; justify-content:center; overflow:hidden; color:#cc5ea4; font-weight:900; }
.final-preview-image img { width:100%; height:100%; object-fit:cover; }
.final-preview-content h4 { margin:0 0 4px; color:#4a4560; font-size:22px; }
.final-preview-content p { margin:0 0 10px; color:#756f86; font-weight:800; }
.preview-row { display:grid; grid-template-columns:140px minmax(0,1fr); gap:10px; padding:8px 0; border-top:1px solid #f3e8ef; }
.preview-row:first-child { border-top:0; }
.preview-row span { color:#8d7b85; font-weight:900; }
.preview-row strong { color:#3f3b4c; white-space:pre-wrap; overflow-wrap:anywhere; }
.footer-actions { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.main-btn, .sub-btn, .action-btn, .chip-btn { border:0; font-weight:900; }
.cf-ia { width:min(2460px,100%); margin:0 auto; padding:0 0 28px; }
.cf-ia .page-header { text-align:center; margin-bottom:18px; }
.cf-ia .page-header h2 { margin:0 0 10px; color:#73596a; font-size:30px; font-weight:900; }
.cf-ia .page-sub { text-align:center; color:#8d7b85; font-size:15px; line-height:1.7; font-weight:800; }
.toolbar-card, .list-card { background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,250,253,.96)); border:1px solid rgba(234,216,225,.88); border-radius:24px; box-shadow:0 16px 38px rgba(150,112,132,.11); backdrop-filter:blur(8px); }
.instructor-main-toolbar { padding:14px; margin-bottom:12px; }
.ia-toolbar-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,420px); gap:14px; align-items:start; margin-bottom:12px; }
.ia-toolbar-kicker { color:#bd7894; font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.ia-toolbar-title { color:#73596a; font-size:22px; font-weight:900; }
.ia-toolbar-lead { color:#8d7b85; font-weight:800; }
.ia-auth-card { padding:12px; border:1px solid #ead8e1; border-radius:18px; background:#fff; }
.ia-toolbar-section-label { margin:12px 0 8px; color:#8d7b85; font-size:12px; font-weight:900; letter-spacing:.08em; }
.ia-control-details { margin-top:12px; border:1px solid #ead8e1; border-radius:20px; background:#fff; overflow:hidden; }
.ia-control-summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; list-style:none; cursor:pointer; color:#73596a; }
.ia-control-summary::-webkit-details-marker { display:none; }
.ia-control-summary strong { display:block; font-weight:900; }
.ia-control-summary em { display:block; color:#8d7b85; font-style:normal; font-size:12px; font-weight:800; }
.filter-grid { display:grid; grid-template-columns: 1.4fr .8fr .8fr .8fr auto auto; gap:12px; padding:0 16px 16px; align-items:end; }
.filter-field-wide { grid-column:auto; }
.checkbox-line { display:flex!important; align-items:center; gap:8px; min-height:46px; padding:8px 10px; border:1px solid #ead8e1; border-radius:14px; background:#fffafc; }
.checkbox-line input { width:auto; min-height:0; }
.filter-actions { display:flex; gap:8px; }
.action-btn.apply { min-height:40px; padding:8px 13px; border-radius:999px; background:#bd7894; color:#fff; }
.action-btn.ghost { min-height:40px; padding:8px 13px; border-radius:999px; background:#f4e8ef; color:#73596a; }
.ia-list-card { padding:14px; }
.ia-summary-row { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.summary-chip { display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:7px 12px; border:1px solid #ead8e1; border-radius:999px; background:#fff; color:#73596a; font-weight:900; }
.summary-chip strong { color:#bd7894; }
.admin-card-grid.request-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:12px; }
.admin-card { border:1px solid #ead8e1; border-radius:22px; background:#fff; box-shadow:0 8px 22px rgba(150,112,132,.08); overflow:hidden; }
.admin-card-media { background:linear-gradient(135deg,#fff3fb,#f4f1ff); }
.admin-card-body h3 { color:#73596a; font-size:20px; }
.admin-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0; }
.admin-meta div { padding:8px 10px; border:1px solid #f2e6ec; border-radius:12px; background:#fffafc; }
.admin-meta span { display:block; color:#8d7b85; font-size:11px; font-weight:900; }
.admin-meta strong { display:block; color:#443640; overflow-wrap:anywhere; }
.detail-layout { grid-template-columns:minmax(240px,360px) minmax(0,1fr); }
.detail-diff { margin-top:14px; padding:14px; border:1px solid #ead8e1; border-radius:18px; background:#fffafc; }
.diff-rows > div { display:grid; grid-template-columns:140px minmax(0,1fr) minmax(0,1fr); gap:10px; padding:10px 0; border-top:1px solid #f2e6ec; }
.diff-rows > div:first-child { border-top:0; }
.diff-rows span { color:#8d7b85; font-weight:900; }
.diff-rows strong { padding:10px; border-radius:12px; background:#fff; color:#443640; white-space:pre-wrap; overflow-wrap:anywhere; }
.diff-rows em { display:block; color:#bd7894; font-style:normal; font-size:11px; font-weight:900; }

body[data-page="instructor_admin"] {
  font-size: 12px;
  line-height: 1.55;
}

body[data-page="instructor_admin"] .app-shell {
  width: min(2520px, calc(100% - 12px));
  padding-top: 0;
}

body[data-page="instructor_admin"] .app-header {
  display: none;
}

body[data-page="instructor_admin"] .cf-ia {
  width: min(2520px, 100%);
  padding-bottom: 24px;
}

body[data-page="instructor_admin"] .cf-ia .page-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  min-height: 38px;
  margin-bottom: 8px;
  padding: 2px 8px 6px;
  border-bottom: 1px solid rgba(234,216,225,.8);
}

body[data-page="instructor_admin"] .cf-ia .page-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-page="instructor_admin"] .cf-ia .page-sub {
  font-size: 11px;
  line-height: 1.35;
}

body[data-page="instructor_admin"] .cf-ia .admin-screen-switch {
  margin-top: 0;
}

body[data-page="instructor_admin"] .instructor-main-toolbar {
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 22px;
}

body[data-page="instructor_admin"] .ia-toolbar-intro {
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 420px);
  gap: 10px;
  margin-bottom: 8px;
}

body[data-page="instructor_admin"] .ia-toolbar-kicker,
body[data-page="instructor_admin"] .ia-toolbar-section-label {
  font-size: 10px;
}

body[data-page="instructor_admin"] .ia-toolbar-title {
  font-size: 17px;
}

body[data-page="instructor_admin"] .ia-toolbar-lead {
  font-size: 11px;
}

body[data-page="instructor_admin"] .ia-auth-card {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: end;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
}

body[data-page="instructor_admin"] .ia-auth-card label:first-child span,
body[data-page="instructor_admin"] .ia-auth-card .check-line {
  font-size: 11px;
}

body[data-page="instructor_admin"] .ia-auth-card input[type="password"],
body[data-page="instructor_admin"] .ia-auth-card .main-btn {
  min-height: 32px;
}

body[data-page="instructor_admin"] .ia-summary-row {
  display: none;
}

body[data-page="instructor_admin"] #instructorTabs {
  flex-wrap: nowrap;
  gap: 8px;
  margin: 8px -2px 10px;
  overflow-x: auto;
  padding: 4px 2px 6px;
}

body[data-page="instructor_admin"] #instructorTabs .tab-btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 13px;
  font-size: 13px;
}

body[data-page="instructor_admin"] #instructorTabs .tab-btn strong {
  min-width: 22px;
  height: 22px;
  font-size: 12px;
}

body[data-page="instructor_admin"] .ia-control-details {
  margin-top: 8px;
  border-radius: 16px;
}

body[data-page="instructor_admin"] .ia-control-summary {
  min-height: 42px;
  padding: 9px 12px;
}

body[data-page="instructor_admin"] .ia-control-summary strong {
  font-size: 12px;
}

body[data-page="instructor_admin"] .ia-control-summary em {
  font-size: 10px;
}

body[data-page="instructor_admin"] .filter-grid {
  gap: 8px;
  padding: 0 12px 12px;
}

body[data-page="instructor_admin"] .filter-field label,
body[data-page="instructor_admin"] .checkbox-line {
  font-size: 11px;
}

body[data-page="instructor_admin"] .filter-field input,
body[data-page="instructor_admin"] .filter-field select {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

body[data-page="instructor_admin"] .checkbox-line {
  min-height: 34px;
  padding: 6px 9px;
}

body[data-page="instructor_admin"] .action-btn {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 11px;
}

body[data-page="instructor_admin"] .ia-list-card {
  padding: 10px 12px;
  border-radius: 22px;
}

body[data-page="instructor_admin"] .admin-card-grid.request-list {
  gap: 10px;
  margin-top: 0;
}

body[data-page="instructor_admin"] .admin-card {
  min-height: 0;
  border-radius: 16px;
}

body[data-page="instructor_admin"] .admin-card-media {
  flex-basis: 128px;
  height: 128px;
}

body[data-page="instructor_admin"] .admin-card-body {
  padding: 9px;
}

body[data-page="instructor_admin"] .badge-row {
  gap: 4px;
  margin-bottom: 7px;
}

body[data-page="instructor_admin"] .badge {
  min-height: 20px;
  padding: 2px 7px;
  font-size: 10px;
}

body[data-page="instructor_admin"] .admin-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.28;
}

body[data-page="instructor_admin"] .admin-meta {
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 7px 0;
}

body[data-page="instructor_admin"] .admin-meta div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 5px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 8px;
}

body[data-page="instructor_admin"] .admin-meta span {
  font-size: 10px;
}

body[data-page="instructor_admin"] .admin-meta strong {
  font-size: 12px;
  line-height: 1.28;
}

body[data-page="instructor_admin"] .admin-card p {
  margin: 2px 0 9px;
  font-size: 12px;
  -webkit-line-clamp: 2;
}

body[data-page="instructor_admin"] .chip-btn {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}

@media (min-width: 1760px) {
  body[data-page="instructor_admin"] .admin-card-grid.request-list {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) and (max-width: 1759px) {
  body[data-page="instructor_admin"] .admin-card-grid.request-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .request-guide-panels, .mentor-guide-grid, .request-type-grid, .field-grid, .image-field-grid, .final-preview-box, .ia-toolbar-intro, .filter-grid { grid-template-columns:1fr; }
  .admin-card-grid.request-list { grid-template-columns:1fr; }
  .diff-rows > div { grid-template-columns:1fr; }
}
