:root { color-scheme: light; --ink: #18243a; --muted: #5f6b7c; --line: #dbe1e9; --accent: #245be0; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; color: var(--ink); background: #f7f9fc; font: 15px/1.6 "Segoe UI", system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 4px; }
button, textarea, input { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #bd6600; outline-offset: 3px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(20px, calc((100% - 1120px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 20px; }
.brand small { font-size: 10px; color: var(--accent); }
.back-link { font-size: 14px; }
main, footer { width: min(1120px, calc(100% - 40px)); margin: auto; }
main { min-height: 65vh; padding: 44px 0 64px; }
.page-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
h1 { margin: 0; font-size: 36px; line-height: 1.2; }
h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
#commentCount, #accountStatus, .character-count { color: var(--muted); }
.comments-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.comment { border-bottom: 1px solid var(--line); padding: 0 0 24px; margin-bottom: 24px; }
.comment-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.comment-author { font-weight: 700; }
.comment-author, #accountStatus, .consent span { min-width: 0; overflow-wrap: anywhere; }
.comment time { color: var(--muted); font-size: 12px; }
.comment-body, .interview-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0; }
.comment-actions { display: flex; gap: 12px; }
.composer { border-left: 1px solid var(--line); padding-left: 28px; min-width: 0; }
form > label { display: block; font-weight: 600; }
textarea { display: block; width: 100%; min-height: 170px; resize: vertical; padding: 12px; border: 1px solid #aab6c7; border-radius: 6px; color: var(--ink); background: white; }
.character-count { text-align: right; font-size: 12px; margin: 4px 0 14px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; }
.consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--accent); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: white; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; }
.secondary { color: var(--accent); background: white; }
.danger { border-color: #ba3746; background: white; color: #a42031; }
.button:disabled { cursor: wait; opacity: .6; }
.text-button { background: none; border: 0; padding: 4px 0; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
#formStatus { color: #176546; min-height: 24px; overflow-wrap: anywhere; }
#formStatus[data-error="true"], #listStatus[data-error="true"] { color: #a42031; }
footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.reviews-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
.reviews-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.interview-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.interview-description { color: var(--muted); max-width: 850px; }
.interview-summary { font-size: 18px; font-weight: 650; color: var(--ink); }
.interview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
.interview-review { min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.interview-rating { color: #244f98; font-weight: 600; white-space: nowrap; }
@media (max-width: 960px) { .interview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) {
  .interview-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .comments-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .composer { grid-row: 1; padding: 0 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  main { padding-top: 28px; }
  h1 { font-size: 30px; }
  .site-header { padding: 14px 20px; }
}
