/* 標案入門AI課報名表與審核後台，沿用活動頁（landing-event.css）的開課快手版面數值 */
.ta { --ta-blue: #007bff; --ta-blue-dark: #0062cc; --ta-red: #c53030; --ta-soft: #f1f6ff; }
.ta-band { padding: 40px 0 44px; }
.ta-back { display: inline-flex; align-items: center; gap: 6px; color: var(--kv-gray600); font-size: 15px; margin-bottom: 20px; }
.ta-back::before { content: ""; width: 8px; height: 8px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.ta-back:hover { color: #000; text-decoration: none; }
.ta-head { display: flex; align-items: center; gap: 28px; }
.ta-thumb { width: 240px; height: auto; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ta .ta-head h1 { color: #000; font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 10px; }
.ta-meta { color: var(--kv-gray600); line-height: 1.6; }

.ta-body { display: grid; grid-template-columns: minmax(0, 1fr) 410px; column-gap: 60px; padding: 40px 0 72px; align-items: start; }
.ta-main { min-width: 0; }
.ta-card { background: #fff; border: 1px solid var(--kv-line); border-radius: 10px; padding: 28px; margin-bottom: 20px; }
.ta .ta-card h2 { display: flex; align-items: center; gap: 12px; color: #000; font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.ta-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ta-blue); color: #fff; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.ta .ta-lead { color: var(--kv-gray600); font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.ta-card > h2 + .ta-plans, .ta-card > h2 + .ta-radios { margin-top: 16px; }

/* 方案 */
.ta-plans { display: grid; gap: 12px; }
.ta-plan { position: relative; display: block; cursor: pointer; }
.ta-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ta-plan-box { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; padding: 16px 18px; border: 1px solid var(--kv-line); border-radius: 8px; transition: border-color .15s, background-color .15s; }
.ta-plan-name { font-size: 17px; font-weight: 600; color: #000; }
.ta-plan-price { font-size: 20px; font-weight: 700; color: #000; text-align: right; font-variant-numeric: tabular-nums; }
.ta-plan-note { grid-column: 1 / -1; color: var(--kv-gray600); font-size: 14px; }
.ta-plan:hover .ta-plan-box { border-color: #a0aec0; }
.ta-plan input:checked + .ta-plan-box { border-color: var(--ta-blue); box-shadow: inset 0 0 0 1px var(--ta-blue); background: var(--ta-soft); }
.ta-plan input:focus-visible + .ta-plan-box { outline: 2px solid var(--ta-blue); outline-offset: 2px; }

/* 欄位 */
.ta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ta-field { margin-bottom: 14px; }
.ta-field-wide { margin-top: 22px; margin-bottom: 0; }
.ta-field label { display: block; font-weight: 600; font-size: 15px; color: #1a202c; margin-bottom: 6px; }
.ta-optional { margin-left: 8px; font-weight: 400; color: #8a8f98; font-size: 13px; }
.ta .ta-hint { color: var(--kv-gray600); font-size: 13px; margin: -2px 0 6px; }
.ta input[type="text"], .ta input[type="email"], .ta input[type="tel"], .ta input[type="url"], .ta input[type="password"], .ta textarea, .ta select {
  width: 100%; box-sizing: border-box; height: 48px; padding: 10px 14px; border: 1px solid #cbd2dc; border-radius: 8px;
  font: inherit; font-size: 16px; color: #1a202c; background: #fff;
}
.ta textarea { height: auto; min-height: 112px; line-height: 1.6; resize: vertical; }
.ta input:focus, .ta textarea:focus, .ta select:focus { outline: none; border-color: var(--ta-blue); box-shadow: 0 0 0 3px rgba(0, 123, 255, .18); }
.ta-field.is-invalid input, .ta-field.is-invalid textarea, .ta-field.is-invalid select { border-color: var(--ta-red); }
.ta .ta-label { display: block; font-weight: 600; font-size: 15px; color: #1a202c; margin: 0 0 8px; }
.ta-field-wide + .ta-field { margin-top: 14px; }
/* 公司服務：色塊小標籤，可複選 */
.ta-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-chip { position: relative; cursor: pointer; }
.ta-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ta-chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; background: #eef1f5; color: #1a202c; font-size: 15px; line-height: 1.3; }
.ta-chip:hover span { background: #e2e7ee; }
.ta-chip input:checked + span { background: var(--ta-blue); color: #fff; }
.ta-chip input:focus-visible + span { outline: 2px solid var(--ta-blue); outline-offset: 2px; }
.ta-field.is-invalid .ta-chip span { box-shadow: inset 0 0 0 1px var(--ta-red); }
.ta .ta-error { color: var(--ta-red); font-size: 14px; margin: 6px 0 0; min-height: 0; }
.ta-error:empty { display: none; }

.ta-companion { border-top: 1px solid #edf0f3; padding-top: 16px; margin-top: 4px; }
.ta-companion:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.ta .ta-companion-title { font-weight: 600; color: var(--kv-gray600); font-size: 14px; margin-bottom: 10px !important; }

/* 類型與經驗 */
.ta-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ta-check, .ta-radio { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--kv-line); border-radius: 8px; cursor: pointer; line-height: 1.45; }
.ta-check:hover, .ta-radio:hover { border-color: #a0aec0; }
.ta-check:has(input:checked), .ta-radio:has(input:checked) { border-color: var(--ta-blue); background: var(--ta-soft); }
.ta-check input, .ta-radio input, .ta-agree input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--ta-blue); }
.ta-check-label { display: block; font-weight: 600; color: #1a202c; }
.ta-check-hint { display: block; color: var(--kv-gray600); font-size: 13.5px; margin-top: 2px; }
.ta-checks .ta-check:last-child { grid-column: 1 / -1; }
.ta-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ta-radio { align-items: center; }

/* 送出 */
.ta-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ta-submit { padding: 8px 0 0; }
.ta-agree { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; cursor: pointer; }
.ta-button { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 18px; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 600; }
.ta-button[disabled] { opacity: .65; cursor: progress; }
.ta-privacy { color: #737985; font-size: 13px; line-height: 1.65; text-align: left; margin-top: 14px !important; text-wrap: pretty; }
.ta-alert { border: 1px solid #f5c2c2; background: #fff5f5; color: var(--ta-red); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; line-height: 1.6; }
.ta-alert.is-ok { border-color: #b7e4c7; background: #f0fff4; color: #22543d; }

.ta-done { background: #fff; border: 1px solid var(--kv-line); border-radius: 10px; padding: 36px 32px; }
.ta-done:focus { outline: none; }
.ta .ta-done h2 { color: #000; font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.ta .ta-done p { color: #1a202c; line-height: 1.7; margin-bottom: 10px; }
.ta-done-back { width: fit-content; margin-top: 14px; }

/* 右側摘要 */
.ta-summary { position: sticky; top: 20px; background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 0 25px rgba(0, 0, 0, .1); }
.ta .ta-summary h2 { font-size: 16px; font-weight: 500; color: var(--kv-gray600); margin-bottom: 10px; }
.ta-sum-plan { font-size: 18px; color: #000; line-height: 1.35; }
.ta-sum-price { font-size: 30px; font-weight: 700; color: #000; line-height: 1.4; font-variant-numeric: tabular-nums; }
.ta-sum-each { color: var(--kv-gray600); font-size: 14px; }
.ta-sum-each:empty { display: none; }
.ta-flow { list-style: none; counter-reset: flow; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid #edf0f3; }
.ta-flow li { counter-increment: flow; position: relative; padding-left: 34px; margin-bottom: 12px; line-height: 1.5; }
.ta-flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ta-blue); color: var(--ta-blue); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ta-sum-note { color: var(--kv-gray600); font-size: 13.5px; line-height: 1.6; margin-top: 6px !important; }

@media (max-width: 1023px) {
  .ta-body { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; }
}
@media (max-width: 767px) {
  .ta-band { padding: 24px 0 28px; }
  .ta-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .ta-thumb { width: 100%; }
  .ta-head h1 { font-size: 24px; }
  .ta-body { display: flex; flex-direction: column-reverse; padding: 20px 0 48px; }
  .ta-side { width: 100%; margin-bottom: 20px; }
  .ta-summary { position: static; box-shadow: none; border: 1px solid var(--kv-line); }
  .ta-flow { display: none; }
  .ta-card { padding: 22px 18px; }
  .ta-grid, .ta-checks, .ta-radios { grid-template-columns: 1fr; }
  .ta-done { padding: 28px 20px; }
}

/* ---------- 審核後台 */
.tadm { padding: 32px 0 72px; }
.tadm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tadm-head h1 { font-size: 26px; font-weight: 600; color: #000; }
.tadm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tadm-actions .kv-tool { height: 40px; font-size: 15px; }
.tadm-token { display: grid; gap: 8px; max-width: 420px; }
.tadm-token label { font-weight: 600; }
.tadm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.tadm-stat { background: #fff; border: 1px solid var(--kv-line); border-radius: 10px; padding: 14px 16px; }
.tadm-stat b { display: block; font-size: 26px; color: #000; font-variant-numeric: tabular-nums; }
.tadm-stat span { color: var(--kv-gray600); font-size: 14px; }
.tadm-notice-info { background: #f1f6ff !important; border-color: #c3dafe !important; color: #1a365d !important; }
.tadm-notice { grid-column: 1 / -1; border-radius: 8px; padding: 10px 14px; font-size: 14px; background: #fffaf0; border: 1px solid #f6e05e; color: #744210; }
.tadm-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tadm-filters button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--kv-line); background: #fff; color: var(--kv-gray600); font: inherit; font-size: 14px; cursor: pointer; }
.tadm-filters button[aria-selected="true"] { background: #1a202c; border-color: #1a202c; color: #fff; }
.tadm-empty { color: var(--kv-gray600); padding: 40px 0; text-align: center; }
.tadm-item { background: #fff; border: 1px solid var(--kv-line); border-radius: 10px; padding: 20px 22px; margin-bottom: 14px; }
.tadm-item[data-status="pending"] { border-left: 4px solid var(--ta-blue); }
.tadm-item[data-status="paid"] { border-left: 4px solid #2f855a; }
.tadm-item[data-status="rejected"], .tadm-item[data-status="cancelled"] { opacity: .7; }
.tadm-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.tadm-who h2 { font-size: 18px; font-weight: 600; color: #000; margin-bottom: 2px; }
.tadm-who p { color: var(--kv-gray600); font-size: 14px; }
.tadm-side { display: flex; align-items: center; gap: 10px; }
.tadm-price { font-weight: 700; font-size: 18px; color: #000; white-space: nowrap; }
.tadm-side select { width: auto; height: 40px; padding: 6px 10px; font-size: 15px; }
.tadm-grid { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 15px; line-height: 1.55; }
.tadm-grid dt { color: var(--kv-gray600); }
.tadm-grid dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.tadm-note { margin-top: 14px; }
.tadm-note textarea { min-height: 64px; font-size: 15px; }
.tadm-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tadm-foot .kv-tool { height: 38px; font-size: 14px; padding: 6px 12px; }
.tadm-foot .kv-tool-primary { background: var(--ta-blue); border-color: var(--ta-blue); color: #fff; }
.tadm-foot .kv-tool-primary:hover { background: var(--ta-blue-dark); }
.tadm-meta { color: #8a8f98; font-size: 13px; margin-left: auto; }
.tadm-meta.is-bad { color: var(--ta-red); }
@media (max-width: 767px) {
  .tadm-stats { grid-template-columns: 1fr 1fr; }
  .tadm-grid { grid-template-columns: 1fr; gap: 0; }
  .tadm-grid dt { margin-top: 8px; }
  .tadm-meta { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ta-plan-box { transition: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ta-agree span, .ta .ta-lead, .ta-sum-note, .ta .ta-done p { text-wrap: pretty; }

/* ---------- 標案雷達清單領取頁 */
.tr-body { max-width: 720px; margin: 0 auto; padding: 40px 0 72px; }
.tr-card { padding: 32px; }
.tr-today { margin: 10px 0 0; padding: 10px 14px; background: var(--ta-soft); border-radius: 8px; color: var(--ta-blue-dark); font-weight: 600; font-size: 15px; }
.tr-list { margin: 14px 0 24px; padding-left: 20px; line-height: 1.8; }
.tr-list li { margin-bottom: 4px; }
.tr .ta-agree { margin-top: 6px; }
.tr-choices { display: grid; gap: 12px; margin-top: 20px; }
.tr-choice { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--kv-line); border-radius: 10px; color: #1a202c; text-decoration: none; }
.tr-choice:hover { border-color: #a0aec0; text-decoration: none; }
.tr-choice-main { border-color: var(--ta-blue); box-shadow: inset 0 0 0 1px var(--ta-blue); background: var(--ta-soft); }
.tr-choice-main:hover { border-color: var(--ta-blue-dark); }
.tr-choice-title { font-size: 18px; font-weight: 700; color: #000; }
.tr-choice-main .tr-choice-title { color: var(--ta-blue-dark); }
.tr-countdown { font-size: 16px; font-weight: 700; color: #c05621; font-variant-numeric: tabular-nums; }
.tr-countdown:empty { display: none; }
.tr-choice-note { color: var(--kv-gray600); font-size: 14px; }
#tr-done:focus { outline: none; }
.ta .tr-hook { color: #c05621; font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.tr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; padding: 40px 0 72px; align-items: start; }
.tr-side { grid-column: 2; grid-row: 1; position: sticky; top: 20px; }
.tr-main { grid-column: 1; grid-row: 1; min-width: 0; }
.tr-sec + .tr-sec { margin-top: 44px; }
.ta .tr-sec h2 { font-size: 22px; font-weight: 700; color: #000; margin: 0 0 14px; }
.ta .tr-sec-lead { color: var(--kv-gray600); font-size: 15px; margin: -6px 0 14px; }
.tr-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-feat { background: var(--ta-soft); border-radius: 10px; padding: 18px 20px; }
.ta .tr-feat h3 { font-size: 17px; font-weight: 700; color: var(--ta-blue-dark); margin: 0 0 6px; }
.ta .tr-feat p { font-size: 14.5px; line-height: 1.65; color: var(--kv-text); margin: 0; }
.ta .tr-also { font-size: 14.5px; color: var(--kv-gray600); line-height: 1.7; margin: 14px 0 0; }
.ta .tr-again { display: flex; align-items: center; justify-content: center; margin-top: 8px; text-decoration: none; }
.tr-qa { margin: 0; }
.ta .tr-qa dt { font-weight: 700; color: #000; font-size: 16px; margin: 16px 0 4px; }
.ta .tr-qa dt:first-child { margin-top: 0; }
.ta .tr-qa dd { margin: 0; color: var(--kv-gray600); font-size: 15px; line-height: 1.7; }
#tr-form-card { scroll-margin-top: 20px; }
@media (max-width: 1023px) { .tr-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } .tr-side, .tr-main { grid-column: 1; grid-row: auto; position: static; } }
@media (max-width: 767px) { .tr-body { padding: 20px 0 48px; } .tr-card { padding: 22px 18px; } .tr-grid { padding: 20px 0 48px; } .tr-feats { grid-template-columns: 1fr; } }

/* 完整版標案雷達清單 */
.ta .trl-title { color: #000; font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 10px; }
.trl .ta-meta { max-width: 760px; }
.trl-body { max-width: 880px; margin: 0 auto; padding: 32px 0 72px; }
.trl-locked { max-width: 640px; margin: 0 auto; }
.ta .trl-cta { display: inline-flex; align-items: center; justify-content: center; width: auto; padding: 0 24px; text-decoration: none; }
.trl-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.trl-search { flex: 1 1 280px; }
.trl-search input, .trl-sort select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--kv-line); border-radius: 8px; font: inherit; font-size: 15px; background: #fff; color: var(--kv-text); }
.trl-sort { display: flex; align-items: center; gap: 8px; color: var(--kv-gray600); font-size: 14px; white-space: nowrap; }
.trl-sort select { width: auto; }
.trl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.trl-filters button { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--kv-line); background: #fff; color: var(--kv-gray600); font: inherit; font-size: 14px; cursor: pointer; }
.trl-filters button[aria-pressed="true"] { background: #1a202c; border-color: #1a202c; color: #fff; }
.trl-filters button:focus-visible, .trl-search input:focus-visible, .trl-sort select:focus-visible { outline: 2px solid var(--ta-blue); outline-offset: 2px; }
.trl-count { color: var(--kv-gray600); font-size: 14px; margin: 14px 0 10px; }
.trl-item { background: #fff; border: 1px solid var(--kv-line); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
.trl-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ta .trl-item-title { color: var(--ta-blue-dark); font-weight: 600; font-size: 17px; line-height: 1.45; }
.trl-diff { flex-shrink: 0; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; line-height: 1.5; }
.trl-diff-low { background: #e6f4ea; color: #1e6b32; }
.trl-diff-mid { background: #fff4e0; color: #8a5300; }
.trl-diff-high { background: #fdeaea; color: #a61b29; }
.trl-diff-none { background: var(--kv-band); color: var(--kv-gray600); }
.ta .trl-item-meta { color: var(--kv-gray600); font-size: 14px; margin: 6px 0 0; }
.trl-item-meta strong { color: var(--kv-text); }
.trl-item-meta .trl-soon { color: #c05621; }
.ta .trl-item-when { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--kv-gray600); margin: 4px 0 0; }
.trl-item-when strong { color: var(--kv-text); }
.trl-item-when .trl-soon { color: #c05621; }
.trl-prep { background: #eef1f5; color: var(--kv-text); border-radius: 999px; padding: 0 10px; font-weight: 600; }
.trl-prep-short { background: #fff4e0; color: #8a5300; }
.trl-report { margin-top: 10px; border-radius: 8px; background: var(--kv-band); }
.trl-report summary { cursor: pointer; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--ta-blue-dark); }
.trl-report[open] summary { padding-bottom: 4px; }
.trl-past { padding: 8px 14px 12px; }
.trl-past + .trl-past { border-top: 1px solid #e2e7ee; }
.ta .trl-past-title { font-size: 14px; font-weight: 700; color: var(--kv-text); margin: 0; }
.ta .trl-past-meta { font-size: 13px; color: var(--kv-gray600); margin: 2px 0 6px; padding: 0 14px 0 0; }
.trl-report > .trl-past-meta { padding: 0 14px; }
.ta .trl-kv { font-size: 13.5px; line-height: 1.65; margin: 2px 0 0; color: var(--kv-text); }
.trl-kv b { display: inline-block; min-width: 64px; margin-right: 6px; color: var(--kv-gray600); font-weight: 600; }
.trl-guess { margin: 0; padding: 0 14px 12px 32px; font-size: 13.5px; line-height: 1.7; }
.ta .trl-item-tags { color: var(--kv-gray600); font-size: 13px; margin: 2px 0 0; }
.ta .trl-item-line { font-size: 14px; line-height: 1.65; margin: 8px 0 0; color: var(--kv-gray600); }
.trl-item-line b { display: inline-block; margin-right: 8px; color: var(--kv-text); font-weight: 700; }
.ta .trl-item-eval { color: var(--kv-text); }
.trl-note { margin: 28px 0 20px; padding: 18px 20px; background: var(--kv-band); border-radius: 10px; font-size: 14px; line-height: 1.7; color: var(--kv-gray600); }
.ta .trl-note p { margin: 0 0 8px; }
.ta .trl-note p:last-child { margin: 0; }
.trl-course { margin-top: 8px; }
@media (max-width: 767px) {
  .trl .kv-band.ta-band { padding: 24px 0 28px; }
  .trl .kv-band > .kv-container { padding: 0 16px; }
  .trl-body { padding: 20px 0 48px; }
  .ta .trl-title { font-size: 24px; }
  .trl-item { padding: 16px; }
  .trl-item-top { flex-direction: column; gap: 6px; }
}
