:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #f0f4f8;
  --border: #dde5ed;
  --border-soft: #e8eef4;
  --text: #152535;
  --muted: #5a6d80;
  --accent: #1a6b7a;
  --accent-light: #2a8a9b;
  --accent-soft: rgba(26, 107, 122, 0.08);
  --sand: #c4a574;
  --sand-soft: rgba(196, 165, 116, 0.15);
  --good: #1a7a52;
  --good-soft: rgba(26, 122, 82, 0.1);
  --warn: #c45d12;
  --warn-soft: rgba(196, 93, 18, 0.1);
  --bad: #b42318;
  --bad-soft: rgba(180, 35, 24, 0.08);
  --dmo: #6b4fa0;
  --dmo-soft: rgba(107, 79, 160, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 37, 53, 0.05);
  --shadow: 0 2px 8px rgba(21, 37, 53, 0.06), 0 8px 24px rgba(21, 37, 53, 0.04);
  --font: "Noto Sans JP", "Hiragino Sans", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.wordmark-lockup {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.wordmark-name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.wordmark-rule {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.wordmark-mark {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wordmark--hero {
  gap: 12px;
}

.wordmark--hero .wordmark-mark {
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
}

.wordmark--hero .wordmark-name {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

.wordmark--footer .wordmark-mark {
  width: 24px;
  height: 24px;
}

.wordmark--footer .wordmark-name {
  font-size: 0.9rem;
}

.site-logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.site-logo-text::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.brand-logo--hero {
  gap: 12px;
}

.brand-logo--hero .site-logo-mark {
  width: 44px;
  height: 44px;
}

.brand-logo--hero .site-logo-text {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

.brand-logo--footer .site-logo-mark {
  width: 28px;
  height: 28px;
}

.brand-logo--footer .site-logo-text {
  font-size: 0.9rem;
}

.site-logo-img {
  display: block;
  width: auto;
  height: 32px;
}

.site-header-operator {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.45;
}

.site-header-operator a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.site-header-operator a:hover {
  text-decoration: underline;
}

/* Trust strip */
.trust-strip {
  padding: 14px 24px 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.trust-strip-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.trust-strip-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.trust-strip-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.trust-strip-item--updated {
  background: var(--accent-soft);
  border-color: rgba(26, 107, 122, 0.15);
  color: var(--accent);
}

.trust-strip-link {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.trust-strip-link:hover {
  text-decoration: underline;
}

.hero-logo-img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.hero-title--logo {
  margin-bottom: 10px;
}

.hero-title--logo .wordmark {
  pointer-events: none;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 8px;
}

.footer-logo-img {
  display: block;
  width: auto;
  height: 28px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f3f6 0%, #f7f3eb 55%, #eef4f8 100%);
  border-bottom: 1px solid var(--border-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(248, 250, 252, 0.35) 42%,
    rgba(238, 244, 248, 0.12) 68%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 24px 36px;
}

.hero-copy {
  max-width: 680px;
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 28px rgba(21, 37, 53, 0.07);
  backdrop-filter: blur(12px);
}

.hero-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.hero-wordmark-name {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.hero-wordmark-rule {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.hero--compact .hero-inner {
  padding: 28px 24px 24px;
}

.hero--compact .hero-inner > .wordmark {
  display: inline-flex;
  margin-bottom: 12px;
}

.hero--compact .hero-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 107, 122, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: #145a66;
  backdrop-filter: blur(4px);
}

.icon-pin {
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #124555;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 16px;
  max-width: 640px;
  font-size: 0.95rem;
  color: #3a4d5c;
}

.hero-lead strong {
  color: #124555;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  font-size: 0.82rem;
  color: #3a4d5c;
}

.meta-item strong {
  color: var(--text);
  font-weight: 700;
}

.meta-sep {
  margin: 0 10px;
  opacity: 0.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}

.hero-actions-note {
  font-size: 0.8rem;
  color: #3a4d5c;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 107, 122, 0.22);
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* Notify banner */
.notify-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 107, 122, 0.18);
  background: linear-gradient(135deg, rgba(26, 107, 122, 0.06), rgba(196, 165, 116, 0.08));
  box-shadow: var(--shadow-sm);
}

.notify-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  flex-shrink: 0;
}

.notify-banner-text {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
  color: var(--muted);
}

.notify-banner-text strong {
  color: var(--text);
  font-size: 0.95rem;
}

/* Notify dialog */
.notify-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: calc(var(--radius) + 2px);
  background: transparent;
  overflow: visible;
}

.notify-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notify-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.notify-panel--success {
  position: relative;
  padding: 28px 24px 24px;
}

.notify-close--success {
  position: absolute;
  top: 12px;
  right: 12px;
}

.notify-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notify-dialog::backdrop {
  background: rgba(21, 37, 53, 0.45);
  backdrop-filter: blur(2px);
}

.notify-form {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.notify-form-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0;
}

.notify-form-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.notify-form-header h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.notify-form-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.notify-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.notify-close:hover {
  color: var(--text);
}

.notify-form-body {
  padding: 18px 22px 8px;
  overflow: auto;
}

.notify-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.notify-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.notify-field-label em {
  margin-left: 6px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bad);
}

.notify-field input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.notify-field input[type="email"]:focus {
  outline: 2px solid rgba(26, 107, 122, 0.25);
  border-color: var(--accent);
}

.notify-fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.notify-fieldset legend {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.notify-optional {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.notify-field-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.notify-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notify-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
}

.notify-check input {
  margin-top: 3px;
}

.notify-check strong {
  display: block;
  font-size: 0.86rem;
}

.notify-check small {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}

.notify-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notify-chip {
  display: inline-flex;
  cursor: pointer;
}

.notify-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.notify-chip span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
}

.notify-chip input:checked + span {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.notify-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
}

.notify-consent input {
  margin-top: 3px;
}

.notify-form-note {
  margin: 0 0 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.notify-form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.82rem;
  font-weight: 600;
}

.notify-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border-soft);
}

.notify-success {
  padding: 36px 28px 28px;
  text-align: center;
}

.notify-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--good-soft);
  color: var(--good);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 52px;
}

.notify-success h3 {
  margin: 0 0 8px;
}

.notify-success p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.notify-success-teaser {
  font-size: 0.84rem !important;
  color: var(--text) !important;
}

.notify-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.consult-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 0.86rem;
  color: var(--muted);
}

.consult-strip p {
  margin: 0;
  flex: 1 1 240px;
}

.consult-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.legal-doc section {
  margin-bottom: 28px;
}

.legal-doc h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.legal-doc ol,
.legal-doc ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 6px;
}

.legal-intro {
  margin-bottom: 24px;
  color: var(--muted);
}

.legal-contact {
  list-style: none;
  padding: 0;
}

.legal-contact li + li {
  margin-top: 6px;
}

.legal-back {
  margin-top: 32px;
}

.unsub-form {
  margin-top: 20px;
  max-width: 420px;
}

.unsub-success,
.unsub-error {
  text-align: center;
  padding: 24px 0;
}

.unsub-success h2 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.legal-back a {
  color: var(--accent);
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px 32px;
  margin-bottom: 12px;
}

.footer-about p {
  margin: 0 0 6px;
}

.footer-operator a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-operator a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav a,
.footer-nav .footer-notify-link {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav .footer-notify-link:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-meta {
  margin: 0 0 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-meta-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-notify-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

.guide-card .btn + .btn {
  margin-left: 8px;
}
.main {
  padding-top: 28px;
  padding-bottom: 48px;
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
}

.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.tabs button:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.tabs button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 107, 122, 0.25);
}

.tabs button svg {
  opacity: 0.85;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-intro {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-intro p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.panel-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.recurring-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--sand-soft), var(--accent-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.recurring-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Filters */
.filters {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.filter-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.filter-presets-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}

.preset-chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.preset-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.preset-chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.preset-chip--reset {
  margin-left: auto;
  border-style: dashed;
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-search {
  grid-column: span 2;
}

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field select,
.field input[type="search"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field select:focus,
.field input[type="search"]:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.filters-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.status-filter {
  flex: 1 1 280px;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.status-filter-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-filter-options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.status-filter-option {
  position: relative;
  cursor: pointer;
}

.status-filter-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.status-filter-option span {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.status-filter-option input:checked + span {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.status-filter-option input:focus-visible + span {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
}

.status-filter-note {
  margin: 8px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-card--accent {
  background: linear-gradient(145deg, var(--accent) 0%, #1f7f8f 100%);
  border-color: transparent;
  color: #fff;
}

.stat-card--accent .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  display: grid;
  grid-template-columns: 148px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: rgba(26, 107, 122, 0.25);
  box-shadow: 0 4px 16px rgba(21, 37, 53, 0.08);
}

.card.is-highlighted {
  border-color: rgba(196, 93, 18, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 93, 18, 0.18), 0 4px 16px rgba(21, 37, 53, 0.08);
  animation: card-highlight-pulse 2.2s ease;
}

@keyframes card-highlight-pulse {
  0% {
    box-shadow: 0 0 0 4px rgba(196, 93, 18, 0.28), 0 4px 16px rgba(21, 37, 53, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(196, 93, 18, 0), 0 4px 16px rgba(21, 37, 53, 0.08);
  }
}

.card.is-closed {
  opacity: 0.88;
}

.card.is-closed .deadline-block {
  background: var(--surface-2);
}

.card--recurring {
  grid-template-columns: 160px 1fr;
}

/* Deadline block */
.deadline-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(26, 107, 122, 0.03) 100%);
  border-right: 1px solid var(--border-soft);
}

.deadline-block.is-soon {
  background: linear-gradient(180deg, var(--warn-soft) 0%, rgba(196, 93, 18, 0.03) 100%);
}

.deadline-block.is-today {
  background: linear-gradient(180deg, rgba(180, 35, 24, 0.12) 0%, rgba(180, 35, 24, 0.03) 100%);
}

.deadline-block.is-over {
  background: var(--surface-2);
}

.deadline-block.is-open {
  background: linear-gradient(180deg, var(--good-soft) 0%, rgba(26, 122, 82, 0.03) 100%);
}

.deadline-block-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.deadline-block-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}

.deadline-block-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.deadline-count-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 2px;
}

.deadline-count-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.deadline-block.is-soon .deadline-count-num {
  color: var(--warn);
}

.deadline-block.is-today .deadline-count-num {
  color: var(--bad);
  font-size: 1.6rem;
}

.deadline-block.is-open .deadline-count-num {
  color: var(--good);
}

.deadline-count-unit {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.deadline-count-end {
  font-size: 1.35rem !important;
  color: var(--bad) !important;
}

.deadline-count-unknown {
  font-size: 1rem !important;
  color: var(--muted) !important;
}

.deadline-block-sub {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Recurring period */
.recurring-period {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 14px;
  text-align: center;
  background: linear-gradient(180deg, var(--sand-soft) 0%, rgba(196, 165, 116, 0.04) 100%);
  border-right: 1px solid var(--border-soft);
}

.recurring-period-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.recurring-period-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

/* Card body */
.card-body {
  padding: 14px 18px;
  min-width: 0;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.card-cat-icon {
  opacity: 0.85;
}

.card-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.badge.status-open {
  background: var(--good-soft);
  color: var(--good);
  border-color: rgba(26, 122, 82, 0.2);
}

.badge.status-closed {
  background: var(--bad-soft);
  color: var(--bad);
  border-color: rgba(180, 35, 24, 0.15);
}

.badge.badge-recurring {
  background: var(--sand-soft);
  color: #8a6d42;
  border-color: rgba(196, 165, 116, 0.35);
}

.badge.mode-direct {
  background: var(--good-soft);
  color: var(--good);
  border-color: rgba(26, 122, 82, 0.2);
}

.badge.mode-dmo_required,
.badge.mode-municipality_led {
  background: var(--dmo-soft);
  color: var(--dmo);
  border-color: rgba(107, 79, 160, 0.2);
}

.badge.badge-ministry {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(26, 107, 122, 0.15);
}

.badge.badge-round {
  background: rgba(59, 99, 168, 0.1);
  color: #3b63a8;
  border-color: rgba(59, 99, 168, 0.2);
}

.badge.round-second {
  background: rgba(59, 99, 168, 0.12);
  color: #3458a0;
}

.badge.round-additional {
  background: rgba(168, 99, 59, 0.12);
  color: #a6633b;
  border-color: rgba(168, 99, 59, 0.25);
}

.badge.round-extension {
  background: rgba(107, 79, 160, 0.1);
  color: var(--dmo);
}

.summary {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.subsidy {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.subsidy-label {
  display: inline-block;
  padding: 2px 7px;
  margin-right: 6px;
  border-radius: 5px;
  background: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  vertical-align: middle;
}

.audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tag {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border-soft);
}

.caution {
  margin: 0 0 8px;
  padding: 7px 10px;
  border-left: 3px solid var(--warn);
  background: var(--warn-soft);
  font-size: 0.8rem;
  color: var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.caution--compact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 10px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

.caution-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--warn);
  margin-top: 1px;
}

.caution-tip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(196, 93, 18, 0.25);
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  font-family: inherit;
}

.caution-tip-detail {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  min-width: 220px;
  max-width: min(320px, 80vw);
  padding: 10px 12px;
  border: 1px solid rgba(196, 93, 18, 0.25);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  box-shadow: var(--shadow);
}

.caution-tip.is-open .caution-tip-detail {
  display: block;
}

.caution-tip:focus-visible {
  outline: 2px solid rgba(196, 93, 18, 0.35);
  outline-offset: 2px;
}

.caution-tip-label {
  line-height: 1;
}

.caution--soft {
  border-left-color: var(--sand);
  background: var(--sand-soft);
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.card-region {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: var(--muted);
  position: relative;
}

.card-links {
  display: flex;
  gap: 8px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(26, 107, 122, 0.15);
  transition: background 0.15s, color 0.15s;
}

.btn-link:hover {
  background: var(--accent);
  color: #fff;
}

.btn-link--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-link--primary:hover {
  background: var(--accent-light);
}

/* Guide */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.guide-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.guide-card p,
.guide-card ul {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.guide-card ul {
  padding-left: 1.2rem;
}

.guide-card li + li {
  margin-top: 6px;
}

.guide-card.disclaimer {
  grid-column: 1 / -1;
  border-color: rgba(180, 83, 9, 0.25);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.04), var(--surface));
}

.legend {
  margin: 0;
}

.legend > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}

.legend > div:last-child {
  border-bottom: none;
}

.legend dt {
  margin: 0;
}

.legend dd {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.deadline-sample {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.deadline-sample.open {
  background: var(--good-soft);
  color: var(--good);
}

.deadline-sample.open span {
  font-size: 1.1rem;
}

.deadline-sample.closed {
  background: var(--bad-soft);
  color: var(--bad);
}

/* Empty */
.empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.empty p {
  margin: 0;
  color: var(--muted);
}

.empty-hint {
  margin-top: 8px !important;
  font-size: 0.86rem;
}

/* Footer */
.site-footer {
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-brand {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand a {
  color: inherit;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.footer-updated {
  margin-top: 8px !important;
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .wordmark-mark {
    width: 24px;
    height: 24px;
  }

  .wordmark-name {
    font-size: 0.88rem;
  }

  .wordmark--hero .wordmark-mark {
    width: 30px;
    height: 30px;
  }

  .wordmark--hero .wordmark-name {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }

  .site-header-operator {
    width: 100%;
    text-align: left;
    font-size: 0.68rem;
  }

  .trust-strip {
    padding: 12px 16px 0;
  }

  .trust-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip-link {
    margin-left: 0;
  }

  .hero-inner {
    padding: 20px 16px 28px;
  }

  .hero-copy {
    max-width: none;
    padding: 18px 16px 20px;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-subtitle {
    font-size: 0.86rem;
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .meta-sep {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions-note {
    text-align: center;
  }

  .tabs {
    gap: 4px;
    padding: 3px;
  }

  .tabs button {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 8px 6px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .tabs button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .filters {
    padding: 14px 14px;
  }

  .filter-presets {
    gap: 6px;
  }

  .panel-intro {
    margin-bottom: 14px;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .preset-chip--reset {
    margin-left: 0;
    width: auto;
    align-self: flex-start;
  }

  .status-filter {
    flex-basis: 100%;
  }

  .status-filter-options {
    display: flex;
    width: 100%;
  }

  .status-filter-option {
    flex: 1;
  }

  .status-filter-option span {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.78rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 14px 12px;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .card,
  .card--recurring {
    grid-template-columns: 1fr;
  }

  .card-body {
    padding: 12px 14px;
  }

  .filters-row {
    grid-template-columns: 1fr;
  }

  .field-search {
    grid-column: span 1;
  }

  .deadline-block,
  .recurring-period {
    padding: 12px 14px;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
  }

  .deadline-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label count"
      "date count"
      "sub sub";
    align-items: center;
    gap: 4px 12px;
  }

  .recurring-period {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .deadline-block-label,
  .recurring-period-label {
    grid-area: label;
    margin-bottom: 0;
  }

  .deadline-block-date {
    grid-area: date;
    margin-bottom: 0;
  }

  .deadline-block-count {
    grid-area: count;
    margin-left: 0;
    align-self: center;
    justify-self: end;
  }

  .deadline-block-sub {
    grid-area: sub;
    margin-top: 0;
  }

  .recurring-period-value {
    font-size: 0.82rem;
  }

  .deadline-count-num {
    font-size: 1.8rem;
  }

  .deadline-block.is-today .deadline-count-num {
    font-size: 1.45rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    padding: 16px 18px;
  }

  .guide-card .btn-row,
  .guide-card p:has(.btn) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .guide-card .btn + .btn {
    margin-left: 0;
  }

  .legend > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .caution-tip {
    flex-wrap: wrap;
    max-width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .card-region {
    width: 100%;
  }

  .card-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .card-links .btn-link {
    width: 100%;
    justify-content: center;
  }

  .caution-tip-detail {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 6px;
    order: 3;
    box-shadow: none;
  }

  .caution-tip.is-open .caution-tip-detail {
    display: block;
  }

  .caution--compact {
    padding: 8px 12px;
    border-left-width: 4px;
  }

  .notify-banner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon text"
      "button button";
    align-items: start;
    gap: 10px 12px;
    padding: 14px;
  }

  .notify-banner-icon {
    grid-area: icon;
  }

  .notify-banner-text {
    grid-area: text;
    flex: none;
    width: auto;
    gap: 4px;
  }

  .notify-banner-text strong {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .notify-banner-text span {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .notify-banner .btn {
    grid-area: button;
    width: 100%;
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .consult-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .consult-strip p {
    flex: none;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .consult-strip p strong {
    font-weight: 700;
    color: var(--text);
  }

  .consult-strip-actions {
    display: flex;
    width: 100%;
    gap: 8px;
    flex: none;
  }

  .consult-strip-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 9px 10px;
  }

  .urgent-strip-list a {
    flex-direction: column;
    align-items: flex-start;
  }

  .urgent-date {
    margin-left: 0;
  }

  .site-footer {
    padding: 24px 16px 32px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 16px 16px 24px;
  }

  .hero-copy {
    padding: 16px 14px 18px;
  }

  .hero-wordmark-name {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .hero-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .card-title {
    font-size: 0.94rem;
  }

  .tabs button {
    font-size: 0.72rem;
    padding: 8px 4px;
  }

  .tabs button svg {
    display: none;
  }

  .preset-chip {
    font-size: 0.74rem;
    padding: 6px 10px;
  }
}

/* Urgent deadline strip */
.urgent-strip {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(180, 35, 24, 0.22);
  background: linear-gradient(135deg, rgba(180, 35, 24, 0.06), rgba(196, 93, 18, 0.05));
  box-shadow: var(--shadow-sm);
}

.urgent-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.urgent-strip-head strong {
  font-size: 0.92rem;
  color: var(--bad);
}

.urgent-strip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.urgent-strip-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.urgent-strip-list a:hover {
  border-color: rgba(180, 35, 24, 0.35);
  box-shadow: var(--shadow-sm);
}

.urgent-days {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.74rem;
  font-weight: 700;
}

.urgent-date {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

/* Program type badges */
.badge.badge-program {
  background: rgba(59, 99, 168, 0.1);
  color: #3b63a8;
  border-color: rgba(59, 99, 168, 0.2);
}

.badge.badge-program-registration {
  background: rgba(107, 79, 160, 0.1);
  color: var(--dmo);
  border-color: rgba(107, 79, 160, 0.2);
}

.badge.badge-program-support {
  background: rgba(26, 107, 122, 0.1);
  color: var(--accent);
  border-color: rgba(26, 107, 122, 0.2);
}

/* Card meta (受付開始・最終確認) */
.card-meta {
  margin: 0 0 6px;
  font-size: 0.76rem;
  color: var(--muted);
}

.card-meta--muted {
  opacity: 0.85;
}

.card-meta-label {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  color: var(--text);
}

.deadline-block.is-pending {
  background: linear-gradient(180deg, rgba(59, 99, 168, 0.08) 0%, rgba(59, 99, 168, 0.02) 100%);
}

.deadline-count-pending {
  font-size: 1rem !important;
  color: #3b63a8 !important;
}

.prefs-email {
  margin: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.prefs-footnote {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
