:root {
  --bg: #e8eef6;
  --surface: #ffffff;
  --surface2: #f1f5fb;
  --accent: #c81e2e;
  --accent-hover: #a01828;
  --accent-soft: rgba(200, 30, 46, 0.1);
  --navy: #0f2744;
  --navy-soft: #1e4976;
  --text: #142032;
  --muted: #5a6b82;
  --border: rgba(15, 39, 68, 0.12);
  --radius: 12px;
  --shadow: 0 12px 40px rgba(15, 39, 68, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.65;
  font-weight: 500;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.top-promo {
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-promo-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.top-promo-inner span {
  opacity: 0.95;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--navy);
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--navy);
  background: var(--surface2);
}

.nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-phone {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  transition: border-color 0.2s, background 0.2s;
}

.header-phone:hover {
  border-color: var(--accent);
  background: #fff;
}

.header-cta {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(200, 30, 46, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(200, 30, 46, 0.4);
}

.mobile-nav {
  display: none;
  padding: 10px 0 14px;
  width: 100%;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mobile-nav a {
  font-size: 0.76rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
}

main {
  flex: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  width: 100%;
}

.hero-errand {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .hero-errand {
    grid-template-columns: 1fr;
  }
  .nav,
  .header-phone {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
}

.hero-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-main h1 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 54ch;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 30, 46, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--navy-soft);
  background: var(--surface2);
}

.hero-side {
  background: linear-gradient(160deg, var(--navy) 0%, #163a5c 100%);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-side p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  opacity: 0.9;
}

.phone-display {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}

.phone-display a {
  color: inherit;
}

.hero-side .side-note {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.section-block {
  margin-top: 48px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.section-desc {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 70ch;
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 30, 46, 0.25);
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.1);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.gallery-caption {
  padding: 12px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  border-top: 1px solid var(--border);
}

.gallery-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 800px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

.board-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 8px;
  box-shadow: var(--shadow);
}

.board-panel h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board-list li {
  border-bottom: 1px solid var(--border);
}

.board-list li:last-child {
  border-bottom: none;
}

.board-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s;
}

.board-list a:hover {
  color: var(--accent);
}

.board-list .meta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.notice-posts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.notice-post {
  scroll-margin-top: 96px;
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.notice-post:target {
  border-color: rgba(200, 30, 46, 0.35);
  box-shadow: 0 12px 36px rgba(15, 39, 68, 0.12);
}

.notice-post header {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.notice-post header h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.notice-post time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.notice-post-body {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.85;
}

.notice-post-body p {
  margin: 0 0 12px;
}

.notice-post-body p:last-child {
  margin-bottom: 0;
}

.notice-post-body a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

.notice-post-body a:hover {
  color: var(--navy);
}

.partner-strip {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
}

.partner-strip p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--navy);
  color: #cbd5e1;
  padding: 32px 20px 40px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
  color: #94a3b8;
}

.footer-contact-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-link:hover {
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 0.78rem;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.page-hero {
  padding: 12px 0 20px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.page-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.booking-form-shell {
  max-width: 960px;
}

.booking-form-mount {
  min-height: 120px;
}

.booking-form-intro {
  margin-top: 0;
  margin-bottom: 16px;
}

iframe.booking-form-iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.booking-form-actions {
  margin: 0;
  text-align: center;
}

.booking-form-actions .btn-primary {
  display: inline-block;
  text-decoration: none;
}

.booking-form-placeholder {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--surface2);
  border: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.booking-form-placeholder code {
  font-size: 0.85em;
}

details.legacy-local-log {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px 16px;
  background: var(--surface);
}

details.legacy-local-log summary {
  list-style: none;
}

details.legacy-local-log summary::-webkit-details-marker {
  display: none;
}

.booking-form-help-title {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.naver-help-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--muted);
  font-size: 0.95rem;
}

.naver-help-foot {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.naver-legacy-log {
  margin-top: 14px;
}

.naver-status-back {
  margin-top: -8px;
  margin-bottom: 20px;
}

.naver-status-block {
  max-width: 720px;
  margin-bottom: 24px;
}

.naver-legacy-wrap {
  max-width: 720px;
  margin-bottom: 20px;
}

.naver-legacy-summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.booking-form-alimtalk-note {
  max-width: 960px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px 14px;
  background: var(--surface2);
}

.booking-form-alimtalk-note summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.booking-form-alimtalk-note summary::-webkit-details-marker {
  display: none;
}

.booking-form-alimtalk-body {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.booking-form-alimtalk-body ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.booking-status-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-status-list--disc {
  list-style: disc;
}

.booking-status-plain {
  list-style: none;
  padding-left: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.radio-card {
  position: relative;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card label {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.radio-card input:checked + label {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--navy);
}

.radio-grid.svc-menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
}

table.price-table th,
table.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.price-table th {
  background: var(--surface2);
  font-weight: 800;
  color: var(--navy);
  font-size: 0.8rem;
}

table.price-table tr:last-child td {
  border-bottom: none;
}

table.price-table td {
  color: var(--muted);
}

table.price-table td strong {
  color: var(--text);
  font-weight: 800;
}

.review-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 18px;
  margin-bottom: 10px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
  font-size: 0.93rem;
  color: var(--navy);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] {
  border-color: rgba(200, 30, 46, 0.3);
}

details.faq-item p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.legal-block {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.legal-block h2 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 24px 0 10px;
  color: var(--navy);
}

.legal-block h2:first-child {
  margin-top: 0;
}

.legal-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.status-msg {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.4em;
  font-weight: 600;
}

.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 48px;
  color: var(--text);
}

.legal-doc > h2 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc > h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.35rem 0 0.5rem;
}

.legal-doc p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

.legal-doc li {
  margin-bottom: 0.35rem;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 0.75rem 0 1.25rem;
  border: 1px solid var(--border);
}

.legal-doc th,
.legal-doc td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: var(--surface2);
  font-weight: 700;
  color: var(--navy);
}

.legal-doc .legal-note {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 14px 16px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px dashed var(--border);
  margin-bottom: 1.25rem;
}

.req-log-root {
  margin-top: 8px;
}

.req-log-empty {
  padding: 28px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.req-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-log-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.req-log-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-done {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.req-log-pid {
  font-size: 0.82rem;
  color: var(--muted);
}

.req-log-line,
.req-log-preview {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.req-log-preview {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.req-log-k {
  display: inline-block;
  min-width: 5.5rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.82rem;
}

.req-log-privacy {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.score-survey-page .score-form-shell {
  max-width: 640px;
  margin: 0 auto 48px;
}

.score-block {
  margin-bottom: 28px;
}

.score-block-label {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.95rem;
}

.score-stars {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.score-star {
  border: none;
  background: transparent;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 39, 68, 0.22);
  padding: 2px 4px;
  transition: color 0.15s var(--ease), transform 0.12s var(--ease);
}

.score-star:hover,
.score-star:focus-visible {
  color: rgba(15, 39, 68, 0.45);
  outline: none;
}

.score-star.is-on {
  color: #03c75a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.score-stars--sub .score-star {
  font-size: 1.55rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.score-footnote {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0 20px;
}

.score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.score-result {
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
}

.lookup-result-area {
  min-height: 1.25em;
}

.lookup-result-card {
  margin-top: 4px;
  padding: 16px 18px;
  background: rgba(15, 39, 68, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 68, 0.08);
}

.wb-receipt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.lookup-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.req {
  color: var(--accent);
  font-weight: 800;
}

.admin-score-body {
  min-height: 100vh;
}

.admin-score-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.admin-login-card {
  max-width: 420px;
  margin: 0 auto 32px;
}

.admin-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.admin-done {
  font-weight: 800;
  color: #047857;
  font-size: 0.85rem;
}

.admin-code-cell code {
  font-size: 0.78rem;
  word-break: break-all;
}

.admin-actions-cell {
  white-space: nowrap;
}

.admin-actions-cell .adm-complete {
  margin-right: 6px;
}

.admin-app-panel {
  margin-top: 8px;
}

.admin-app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  margin-top: 12px;
}

.admin-score-table .admin-msg-cell {
  max-width: 220px;
  white-space: normal;
  word-break: break-word;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-score-table td {
  vertical-align: top;
}

.admin-app-head-second {
  margin-top: 36px;
  margin-bottom: 12px;
}

.admin-web-table .admin-msg-cell {
  max-width: 200px;
}

.request-alt-link {
  margin: 0 0 16px;
  text-align: center;
}

.request-alt-hint {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.web-res-apply .web-res-form {
  max-width: 640px;
  margin: 0 auto 48px;
}

.web-res-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .web-res-row2 {
    grid-template-columns: 1fr;
  }
}

.web-res-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 8px;
}
