.thanks-page { background: var(--bg); color: var(--ink); }
.thanks-page .thanks-topbar { width: min(1160px, calc(100% - 48px)); flex-direction: row; }
.thanks-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #edf4ff; font-size: 16px; font-weight: 700; }
.thanks-brand img { flex: 0 0 40px; object-fit: contain; }
.thanks-page .thanks-back {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 14px; border-radius: 6px;
  flex: 0 0 auto; border: 1px solid #465366; border-left-width: 1px;
  background: transparent; box-shadow: none; font-size: 14px; color: #edf4ff;
}
.thanks-page .thanks-back:hover { background: #263347; transform: none; }
.thanks-page .thanks-shell {
  display: block; width: min(1160px, calc(100% - 48px));
  min-height: calc(100vh - 74px); padding: 48px 0 28px; margin: 0 auto;
  justify-items: stretch; align-items: start;
}
.thanks-page .thanks-intro { max-width: none; margin-bottom: 36px; }
.thanks-page .thanks-intro h1 { color: var(--ink); font-size: 32px; line-height: 1.35; margin: 10px 0 16px; }
.thanks-page .thanks-intro .thanks-eyebrow { font-size: 12px; font-weight: 700; color: #267054; }
.thanks-page .thanks-intro .thanks-intro-en { font-size: 14px; color: #667385; margin-top: 8px; }
.thanks-intro p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.thanks-section {
  width: 100%;
  display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 28px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.thanks-section-heading h2 { margin: 0; font-size: 20px; line-height: 1.5; color: var(--primary-dark); }
.thanks-section-heading p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.thanks-pending { position: relative; padding: 6px 0 8px 22px; border-left: 3px solid #3b8870; }
.thanks-section-number { float: right; color: #9aabb9; font: 500 30px/1.2 Georgia, serif; margin: 0 8px 16px 20px; }
.thanks-pending small { color: #34765d; font-size: 12px; }
.thanks-pending strong { font-size: 16px; font-weight: 600; }
.thanks-pending p { margin: 8px 0 0; line-height: 1.8; font-size: 14px; color: var(--muted); }
.support-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; min-width: 0; }
.support-list li { min-width: 0; }
.support-list li:last-child { grid-column: 1 / -1; }
.support-item {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 14px;
  align-items: start; height: 100%; padding: 22px 18px;
  background: #fff; border: 1px solid #dce4ed; box-shadow: 0 3px 12px #17203305;
  color: inherit; text-decoration: none; border-radius: 8px;
  transition: border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.support-item:hover { border-color: #91aec7; box-shadow: 0 8px 20px #1720330d; transform: translateY(-2px); }
.support-item:focus-visible, .thanks-back:focus-visible { outline: 3px solid #5686cf; outline-offset: 3px; }
.support-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #f6f8fa; border: 1px solid #e5e9ef; border-radius: 8px; }
.support-mark img { object-fit: contain; width: 28px; height: 28px; }
.support-mark-excel { color: #196b48; background: #e6f4ec; border-color: #c6e2d2; font: 700 13px Arial, sans-serif; }
.support-mark-codex { color: #fff; background: #202020; border-color: #202020; }
.support-copy { display: grid; gap: 9px; min-width: 0; }
.support-copy small { color: #5d7167; font-size: 11px; line-height: 1.5; }
.support-copy strong { font-size: 17px; font-weight: 600; line-height: 1.45; }
.support-copy > span { color: #4c5d72; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.support-copy > .support-en { color: #677487; font-size: 13px; line-height: 1.6; }
.support-arrow { color: #758399; font-size: 20px; line-height: 1; transition: color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease); }
.support-item:hover .support-arrow { color: var(--primary); transform: translate(2px, -2px); }
.thanks-format { width: 100%; margin-top: 10px; padding: 32px 0 0 204px; border-top: 1px solid var(--line); }
.thanks-format .lcq-expansion { font-size: 22px; font-family: Georgia, serif; color: #29394c; }
.lcq-letters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--line); gap: 16px; }
.lcq-letters dt { color: #267054; font-size: 22px; font-weight: 700; }
.lcq-letters dt span { color: #263b52; font: 500 15px Georgia, serif; margin-left: 8px; }
.lcq-letters dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.thanks-format h2 { margin: 0 0 14px; color: var(--primary-dark); font-size: 18px; }
.thanks-format h2 span { color: #196b48; font-family: Consolas, monospace; }
.thanks-format p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.thanks-format strong { color: var(--ink); font-weight: 500; }
.thanks-footer { width: 100%; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--muted); }
@keyframes thanksSectionEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.thanks-page.home-ready .thanks-section { animation: thanksSectionEnter var(--motion-reveal) var(--ease) backwards; }
.thanks-page.home-ready .thanks-section:nth-of-type(1) { animation-delay: 0.06s; }
.thanks-page.home-ready .thanks-section:nth-of-type(2) { animation-delay: 0.12s; }
@media (max-width: 960px) {
  .thanks-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .thanks-section-heading { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .thanks-section-heading p { margin: 0; }
  .thanks-format { padding-left: 0; }
}
@media (max-width: 640px) {
  .thanks-page .thanks-topbar { width: calc(100% - 32px); gap: 12px; }
  .thanks-brand { gap: 8px; font-size: 13px; line-height: 1.5; }
  .thanks-brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .thanks-page .thanks-back { padding: 8px 10px; font-size: 13px; }
  .thanks-page .thanks-shell { width: calc(100% - 32px); padding-top: 30px; }
  .thanks-page .thanks-intro h1 { font-size: 28px; }
  .thanks-page .thanks-intro { margin-bottom: 28px; }
  .thanks-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 0; }
  .thanks-section-heading { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .thanks-section-heading p { margin: 0; }
  .support-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .support-item { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 12px; padding: 20px 14px; }
  .support-mark { width: 42px; height: 42px; }
  .support-copy strong { font-size: 16px; }
  .lcq-letters { gap: 10px; }
  .lcq-letters dt span { display: block; font-size: 13px; margin: 8px 0 0; }
  .thanks-format .lcq-expansion { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-page.home-ready .thanks-section { animation: none; }
  .support-item, .support-arrow { transition: none; }
  .support-item:hover, .support-item:hover .support-arrow { transform: none; }
}
