@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Noto+Sans+JP:wght@400;500;700;800&display=swap");

:root {
  --background: #dfeff3;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(241, 249, 250, 0.92);
  --surface-muted: rgba(244, 247, 249, 0.92);
  --foreground: #0f1418;
  --muted: #66727b;
  --muted-strong: #44515a;
  --line-soft: rgba(17, 36, 43, 0.08);
  --line-strong: rgba(17, 36, 43, 0.14);
  --accent: #0d8a82;
  --accent-deep: #0c6c67;
  --accent-soft: rgba(13, 138, 130, 0.12);
  --teal-soft: rgba(98, 214, 204, 0.2);
  --sky-soft: rgba(67, 181, 243, 0.18);
  --warning: #9a6200;
  --warning-soft: rgba(245, 158, 11, 0.16);
  --danger: #b45309;
  --danger-soft: rgba(180, 83, 9, 0.14);
  --success: #0d6b65;
  --success-soft: rgba(13, 138, 130, 0.12);
  --radius-xxl: 40px;
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --shadow-shell:
    0 42px 110px -52px rgba(12, 35, 44, 0.46),
    0 20px 44px -32px rgba(12, 35, 44, 0.34);
  --shadow-panel:
    0 24px 60px -34px rgba(12, 35, 44, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --shadow-card:
    0 18px 36px -26px rgba(12, 35, 44, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), transparent 30%),
    radial-gradient(circle at top right, rgba(167, 243, 208, 0.26), transparent 32%),
    radial-gradient(circle at bottom left, rgba(125, 211, 252, 0.22), transparent 28%),
    linear-gradient(180deg, #edf6f7 0%, #e7f0f3 48%, #ddeaf0 100%);
  color: var(--foreground);
  font-family: "Noto Sans JP", sans-serif;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

::selection {
  background: rgba(13, 138, 130, 0.16);
}

.page-shell {
  position: relative;
  width: min(1160px, calc(100% - 24px));
  margin: 12px auto;
  padding: 14px;
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(223, 248, 244, 0.44));
  box-shadow: var(--shadow-shell);
  overflow: hidden;
  backdrop-filter: saturate(180%) blur(24px);
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.page-shell::before {
  top: 120px;
  right: -72px;
  width: 280px;
  height: 280px;
  background: rgba(73, 198, 224, 0.22);
}

.page-shell::after {
  bottom: 90px;
  left: -84px;
  width: 320px;
  height: 320px;
  background: rgba(45, 212, 191, 0.16);
}

.app-header,
.hero,
.section-nav,
.workspace,
.panel {
  position: relative;
  z-index: 1;
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 12px 0;
}

.app-header__copy {
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: #4daeb4;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-kicker {
  font-size: 0.78rem;
}

.app-header h1 {
  margin: 12px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.lead,
.section-head p,
.result-subtitle,
.share-copy,
.candidate-card__sub,
.empty-state p,
.bullet-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.app-header__side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  background: rgba(255, 255, 255, 0.84);
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.mini-link:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.25);
  color: #78350f;
}

.mini-link__icon {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  gap: 3px;
  place-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.mini-link__icon span {
  width: 6px;
  height: 6px;
  border-radius: 1.2px;
  background: currentColor;
}

.mini-link__label {
  white-space: nowrap;
}

.other-apps-footer {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(77, 174, 180, 0.22);
  background: rgba(244, 255, 253, 0.8);
  color: #167e86;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px -28px rgba(12, 35, 44, 0.28);
  backdrop-filter: saturate(180%) blur(18px);
}

.status-badge[data-tone="warning"] {
  background: rgba(255, 246, 230, 0.92);
  border-color: rgba(245, 158, 11, 0.24);
  color: var(--warning);
}

.status-badge[data-tone="success"] {
  background: rgba(238, 252, 250, 0.92);
  border-color: rgba(13, 138, 130, 0.18);
  color: var(--success);
}

.hero {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.live-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 36px;
  background: linear-gradient(135deg, #0e8a7f 0%, #11a3a1 56%, #1aa7ec 100%);
  color: #fff;
  box-shadow:
    0 30px 76px -40px rgba(10, 92, 97, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 44%);
  pointer-events: none;
}

.live-card__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-card__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.76);
}

.live-card__title {
  margin: 16px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 9vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.live-card__sub {
  margin: 12px 0 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.live-card__pill,
.live-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.live-card__pill {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
}

.live-card__tag-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.live-card__tag {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.live-card__progress {
  position: relative;
  margin-top: 22px;
}

.live-card__progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.live-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(232, 250, 255, 0.92));
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
}

.live-card__progress-copy {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.live-card__summary {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.live-card__summary-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.live-card__summary-card--action {
  width: 100%;
  appearance: none;
  border-width: 1px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.live-card__summary-card--action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
}

.live-card__summary-card--action:active {
  transform: scale(0.985);
}

.live-card__summary-card--action.is-copied {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 18px 34px -28px rgba(7, 74, 81, 0.38);
}

.live-card__summary-label {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
}

.live-card__summary-value {
  margin: 10px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.live-card__summary-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.55;
}

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

.metric-card {
  min-height: 126px;
  padding: 18px 16px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  box-shadow: var(--shadow-card);
  backdrop-filter: saturate(180%) blur(20px);
}

.metric-card--accent {
  background: linear-gradient(135deg, rgba(13, 138, 130, 0.92), rgba(23, 163, 146, 0.9));
  border-color: transparent;
}

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.metric-card--accent .metric-label,
.metric-card--accent .metric-detail {
  color: rgba(255, 255, 255, 0.82);
}

.metric-value {
  margin: 14px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.metric-card--accent .metric-value {
  color: #fff;
}

.metric-detail {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section-nav {
  position: sticky;
  top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px -30px rgba(12, 35, 44, 0.28);
  backdrop-filter: saturate(180%) blur(20px);
}

.section-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.section-nav__link:hover {
  transform: translateY(-1px);
}

.section-nav__link.is-active {
  background: linear-gradient(135deg, #0c7c74 0%, #0d8a82 100%);
  color: #fff;
  box-shadow: 0 12px 26px -20px rgba(12, 124, 116, 0.7);
}

.workspace {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  box-shadow: var(--shadow-panel);
  backdrop-filter: saturate(180%) blur(24px);
}

.stack {
  display: grid;
  gap: 18px;
}

.control-panel {
  align-self: start;
}

.section-head,
.result-head,
.share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2,
.result-head h2,
.share-head h2 {
  margin: 8px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.round-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(13, 138, 130, 0.12);
  background: rgba(239, 251, 249, 0.94);
  color: var(--accent-deep);
  font-weight: 700;
  text-align: center;
}

.field-block,
.card-panel {
  margin-top: 18px;
}

.field-block label,
.field-row p,
.editor-field span,
.info-item dt {
  display: block;
  margin: 0 0 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.app-field {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(18, 45, 55, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--foreground);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(18, 45, 55, 0.04);
  outline: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.app-field--textarea {
  min-height: 176px;
  padding: 16px 18px;
  resize: vertical;
}

.app-field:focus {
  border-color: rgba(13, 138, 130, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(13, 138, 130, 0.12);
}

.status-pill {
  margin-top: 16px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: rgba(240, 251, 250, 0.9);
  color: #24575d;
  line-height: 1.65;
}

.status-pill[data-tone="warning"] {
  background: var(--warning-soft);
  border-color: rgba(245, 158, 11, 0.18);
  color: var(--warning);
}

.status-pill[data-tone="success"] {
  background: var(--success-soft);
  border-color: rgba(13, 138, 130, 0.18);
  color: var(--success);
}

.action-row,
.field-row,
.candidate-chip-row,
.candidate-card__actions,
.mini-map__actions,
.compare-mobile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-row {
  margin-top: 16px;
}

.action-row--main > * {
  flex: 1 1 180px;
}

.primary-button,
.secondary-button,
.danger-button,
.soft-button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #0b6764 0%, #0d8a82 56%, #17a7e8 100%);
  color: #fff;
  box-shadow: 0 22px 42px -28px rgba(12, 124, 116, 0.8);
}

.secondary-button {
  background: rgba(245, 248, 249, 0.98);
  color: #314049;
  box-shadow: inset 0 0 0 1px rgba(18, 45, 55, 0.06);
}

.danger-button {
  background: linear-gradient(180deg, #f8e7e5 0%, #f4d9d6 100%);
  color: #a35a54;
  box-shadow: 0 14px 24px -24px rgba(181, 92, 85, 0.16);
}

.soft-button,
.action-link--soft {
  background: rgba(13, 138, 130, 0.12);
  color: var(--accent-deep);
}

.action-link--secondary {
  background: rgba(245, 248, 249, 0.98);
  color: #314049;
  box-shadow: inset 0 0 0 1px rgba(18, 45, 55, 0.06);
}

.action-link--compact {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.soft-button:hover,
.action-link:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled,
.soft-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.note-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.support-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.support-site {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(13, 138, 130, 0.1);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.card-panel,
.compare-table__scroll,
.candidate-card,
.compare-mobile-card {
  border: 1px solid rgba(18, 45, 55, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.card-panel {
  padding: 18px;
  border-radius: 26px;
}

.support-card--hero {
  margin-top: 18px;
  padding: 20px;
  border-color: rgba(13, 138, 130, 0.14);
  background:
    linear-gradient(180deg, rgba(240, 252, 250, 0.96), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 42px -32px rgba(12, 124, 116, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.support-card--hero .field-row {
  align-items: flex-start;
  gap: 12px;
}

.support-card--hero .field-row p {
  font-size: 0.96rem;
}

.support-card--hero .field-row span {
  color: var(--muted-strong);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: right;
}

.field-row {
  align-items: center;
  justify-content: space-between;
}

.field-row p {
  margin-bottom: 0;
}

.field-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

.bullet-copy {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.bullet-copy p {
  margin: 0;
}

.candidate-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.empty-state,
.table-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  border-radius: 28px;
  border: 1px dashed rgba(18, 45, 55, 0.14);
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.06em;
}

.candidate-card {
  padding: 20px;
  border-radius: 30px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.candidate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 45, 55, 0.12);
}

.candidate-card__head {
  display: grid;
  gap: 16px;
}

.candidate-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.candidate-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.candidate-card h3,
.compare-mobile-card h3 {
  margin: 14px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.candidate-card__read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  min-height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(13, 138, 130, 0.12);
  background: rgba(239, 251, 249, 0.94);
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}

.candidate-card__read--disabled {
  background: rgba(245, 248, 249, 0.94);
  color: var(--muted);
}

.source-badge,
.candidate-score,
.candidate-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.source-badge {
  color: #fff;
  background: linear-gradient(135deg, #0b6764, #0d8a82);
}

.source-badge--hotpepper {
  background: linear-gradient(135deg, #a40f21, #f05267);
}

.source-badge--google-maps {
  background: linear-gradient(135deg, #0a5cff, #1fb565);
}

.source-badge--gnavi {
  background: linear-gradient(135deg, #c37200, #f09a1a);
}

.source-badge--retty {
  background: linear-gradient(135deg, #ff8b1e, #ffb23f);
}

.source-badge--other {
  background: linear-gradient(135deg, #58646c, #8a959d);
}

.candidate-score {
  background: rgba(13, 138, 130, 0.12);
  color: var(--accent-deep);
}

.candidate-score--trust {
  background: rgba(23, 121, 214, 0.1);
  color: #0b5b96;
}

.candidate-score--risk {
  background: rgba(180, 83, 9, 0.12);
  color: #9d5e10;
}

.candidate-url-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.candidate-url-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(243, 249, 250, 0.92);
  border: 1px solid rgba(18, 45, 55, 0.06);
}

.candidate-url-row__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(13, 138, 130, 0.1);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.candidate-url-row__value {
  padding-top: 6px;
  color: #52616b;
  line-height: 1.6;
  word-break: break-all;
}

.candidate-chip-row {
  margin-top: 14px;
}

.candidate-chip {
  background: rgba(244, 247, 249, 0.98);
  color: #3d4a52;
}

.candidate-chip--accent {
  background: rgba(13, 138, 130, 0.14);
  color: var(--accent-deep);
}

.candidate-chip--selected {
  background: rgba(12, 124, 116, 0.92);
  color: #fff;
}

.candidate-card__hours,
.candidate-card__note,
.compare-mobile-card__hours,
.compare-mobile-card__note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.candidate-card__actions {
  margin-top: 18px;
}

.candidate-card__actions > * {
  flex: 1 1 calc(50% - 5px);
}

.candidate-card__actions > .action-link--compact,
.mini-map__actions > .action-link--compact,
.compare-mobile-card__actions > .action-link--compact {
  flex: 0 0 auto;
}

.candidate-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 243, 224, 0.86);
  color: #7a4f03;
}

.candidate-note p {
  margin: 0 0 8px;
  font-weight: 700;
}

.candidate-note ul {
  margin: 0;
  padding-left: 18px;
}

.candidate-note li + li {
  margin-top: 6px;
}

.editor-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 45, 55, 0.08);
}

.editor-block summary {
  cursor: pointer;
  color: #2e4955;
  font-weight: 700;
  list-style: none;
}

.editor-block summary::-webkit-details-marker {
  display: none;
}

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

.editor-field {
  display: grid;
  gap: 8px;
}

.editor-actions {
  margin-top: 14px;
}

.compare-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.compare-guide__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.compare-guide__pill--safe {
  color: #0d7a72;
  background: rgba(13, 138, 130, 0.1);
  border-color: rgba(13, 138, 130, 0.12);
}

.compare-guide__pill--check {
  color: #a1680d;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.14);
}

.compare-guide__pill--warn {
  color: #9d5e10;
  background: rgba(180, 83, 9, 0.12);
  border-color: rgba(180, 83, 9, 0.14);
}

.compare-mobile {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compare-mobile-card {
  padding: 18px;
  border-radius: 28px;
}

.compare-mobile-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.compare-mobile-card__metric {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(243, 249, 250, 0.92);
  border: 1px solid rgba(18, 45, 55, 0.06);
}

.compare-mobile-card__metric span {
  color: var(--muted);
  font-size: 0.72rem;
}

.compare-mobile-card__metric strong {
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.compare-mobile-card__actions {
  margin-top: 14px;
}

.compare-mobile-card__actions > * {
  flex: 1 1 calc(50% - 5px);
}

.compare-table__scroll {
  display: none;
  overflow-x: auto;
  margin-top: 18px;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(18, 45, 55, 0.08);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(18px);
  z-index: 1;
}

.compare-table__corner {
  width: 112px;
  color: transparent;
}

.compare-table td {
  min-width: 220px;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody th {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.compare-table__shop {
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.compare-table__shop-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
}

.compare-table__remove {
  margin-top: 12px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.hours-cell,
.trust-cell,
.risk-cell {
  display: grid;
  gap: 6px;
}

.hours-cell strong,
.trust-cell strong,
.risk-cell strong {
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.hours-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13, 138, 130, 0.12);
  color: var(--accent-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.hours-detail {
  color: #3d4a52;
  line-height: 1.7;
  word-break: break-word;
}

.hours-detail--muted,
.trust-cell span,
.trust-cell p,
.risk-cell span,
.risk-cell p {
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-cell p,
.risk-cell p {
  margin: 0;
  line-height: 1.6;
}

.risk-cell[data-level="注意"] strong {
  color: #b45309;
}

.risk-cell[data-level="要確認"] strong {
  color: #a1680d;
}

.risk-cell[data-level="安心"] strong {
  color: #0d7a72;
}

.hours-weekly {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hours-weekly--compact {
  min-width: 180px;
}

.hours-weekly__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(243, 249, 250, 0.92);
  border: 1px solid rgba(18, 45, 55, 0.06);
}

.hours-weekly__row span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.hours-weekly__row strong {
  font-size: 0.92rem;
  line-height: 1.5;
  word-break: break-word;
}

.hours-weekly__row--empty strong {
  color: var(--muted);
  font-weight: 600;
}

.mini-map {
  display: grid;
  gap: 10px;
}

.mini-map iframe {
  width: 100%;
  min-width: 208px;
  height: 152px;
  border: 0;
  border-radius: 18px;
  background: rgba(244, 247, 249, 0.98);
}

.mini-map--fallback {
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(18, 45, 55, 0.12);
  background: rgba(244, 247, 249, 0.9);
}

.mini-map--fallback p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.share-head {
  align-items: center;
}

.vote-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.vote-name-field {
  display: grid;
  gap: 8px;
}

.vote-name-field span,
.vote-link-copy {
  color: var(--muted);
  font-size: 0.84rem;
}

.vote-link-copy {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(243, 249, 250, 0.92);
  border: 1px solid rgba(18, 45, 55, 0.08);
  line-height: 1.65;
  word-break: break-all;
}

.vote-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.vote-summary-card,
.vote-card,
.vote-card__metric {
  border: 1px solid rgba(18, 45, 55, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.vote-summary-card {
  padding: 16px;
  border-radius: 22px;
}

.vote-summary-card__label,
.vote-card__metric span {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.vote-summary-card__value {
  margin: 10px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.24rem, 2.4vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.vote-summary-card__detail {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.vote-board {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.vote-card {
  padding: 20px;
  border-radius: 30px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.vote-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 45, 55, 0.12);
}

.vote-card--selected {
  border-color: rgba(12, 124, 116, 0.26);
  box-shadow:
    var(--shadow-card),
    0 0 0 4px rgba(13, 138, 130, 0.08);
}

.vote-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vote-card__button {
  flex-shrink: 0;
}

.vote-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.vote-card__metric {
  padding: 14px;
  border-radius: 20px;
}

.vote-card__metric strong {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.vote-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.vote-card__actions > * {
  flex: 1 1 calc(50% - 5px);
}

.vote-card__voters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.vote-voter {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(13, 138, 130, 0.1);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.vote-card__empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 980px) {
  .workspace[data-active-tab="url"] {
    grid-template-columns: minmax(340px, 390px) minmax(0, 1fr);
  }

  .control-panel {
    position: sticky;
    top: 92px;
  }

  .compare-mobile {
    display: none;
  }

  .compare-table__scroll {
    display: block;
  }
}

@media (max-width: 979px) {
  .app-header,
  .section-head,
  .result-head,
  .share-head {
    display: grid;
  }

  .app-header__side {
    justify-items: start;
  }

  .live-card__summary,
  .stat-grid,
  .editor-grid,
  .vote-summary {
    grid-template-columns: 1fr;
  }

  .vote-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 12px));
    margin: 6px auto;
    padding: 10px;
    border-radius: 36px;
  }

  .app-header,
  .hero,
  .panel {
    padding-inline: 4px;
  }

  .panel {
    padding: 18px;
    border-radius: 28px;
  }

  .live-card {
    padding: 22px 18px;
    border-radius: 32px;
  }

  .live-card__top,
  .candidate-card__top,
  .vote-card__head {
    display: grid;
  }

  .section-nav {
    top: 8px;
    gap: 8px;
    padding: 7px;
  }

  .section-nav__link {
    min-height: 48px;
    font-size: 0.94rem;
  }

  .action-row--main > *,
  .candidate-card__actions > *,
  .compare-mobile-card__actions > *,
  .vote-card__actions > *,
  .vote-card__button {
    flex: 1 1 100%;
  }

  .compare-mobile-card__grid,
  .editor-grid,
  .vote-card__grid {
    grid-template-columns: 1fr;
  }

  .candidate-card__read {
    width: auto;
    min-height: 52px;
    padding: 0 18px;
  }

  .round-badge {
    width: 66px;
    height: 66px;
  }
}
