/* The Hiring-manager email builder: the email and follow-up blocks with their checklist, and the explain way's
   "Without it" / "With it" examples. The chat page's look is in kit/chat.css; this file uses its tokens. */

.k-block-email, .k-block-followup { margin: 14px 0 16px; }
.k-block-email .k-code, .k-block-followup .k-code { margin: 0; }

/* the email itself: written like an email, not like code */
.t8-mail { background: var(--surface); border: 1.5px solid var(--border-strong); }
.t8-mail .k-code-head { background: var(--surface-2); }
.t8-mail.t8-follow { border-style: dashed; }
.t8-subject { display: flex; gap: 10px; align-items: baseline; padding: 12px 18px 10px; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.45; }
.t8-subject span { flex: none; font: 600 11px/1.6 var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.t8-subject b { font-weight: 600; color: var(--ink); }
.t8-body { padding: 14px 18px 16px; font: 15px/1.6 var(--font); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.t8-fill { background: color-mix(in srgb, var(--tool) 16%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tool) 35%, transparent); }

/* the checklist the page computes under the email */
.c-answer .t8-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.c-answer .t8-check { margin: 0; }
.t8-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px 4px 5px; background: var(--surface); color: var(--ink); cursor: default; }
.t8-check i { font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.t8-check.ok i { background: var(--good); }
.t8-check.warn i { background: var(--warn); }
.t8-check.bad i { background: var(--bad); }
.t8-check.fill i { background: var(--tool); font-size: 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t8-check i { color: #111; } }
:root[data-theme="dark"] .t8-check i { color: #111; }
.t8-fillnote { margin: 6px 2px 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* the explain way */
.t8-example { margin: 10px 0; }
.t8-example + .t8-example { margin-top: 8px; }
.k-code.t8-with { border-color: color-mix(in srgb, var(--tool) 45%, var(--code-border)); }
.t8-added { background: color-mix(in srgb, var(--tool) 20%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tool) 20%, transparent); border-radius: 3px; }
.t8-legend { font-weight: 500; color: var(--tool); }

@media (max-width: 600px) {
  .t8-subject, .t8-body { padding-left: 14px; padding-right: 14px; }
  .t8-subject { flex-direction: column; gap: 2px; }
  .t8-body { font-size: 14.5px; }
}
