:root {
  --ink: #18232f;
  --muted: #667383;
  --line: #dce4ea;
  --paper: #ffffff;
  --canvas: #f4f7f8;
  --blue: #176b87;
  --blue-dark: #0e4c62;
  --teal: #d9f1ed;
  --amber: #fff1cf;
  --shadow: 0 18px 45px rgba(25, 50, 65, .08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #e9f4f3 0, transparent 35%), var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 42px; }
.topbar { display: flex; width: 100%; max-width: 640px; margin: 0 auto 28px; gap: 24px; align-items: flex-start; justify-content: space-between; }
.eyebrow, .step-label, .panel-label { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; }
h2 { margin: 7px 0 9px; font-size: 1.55rem; letter-spacing: -.025em; }
.subtitle { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.dataset-status { flex: 0 0 auto; max-width: 220px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.7); font-size: .78rem; text-align: center; }
.mode-tabs { display: flex; width: 100%; max-width: 640px; margin: 0 auto 16px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.65); }
.mode-tab { flex: 1; padding: 9px 14px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-weight: 750; }
.mode-tab.active { color: var(--blue-dark); background: white; box-shadow: 0 2px 9px rgba(25,50,65,.08); }
.card { padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(220,228,234,.9); border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); }
.evaluation-card { padding-top: 20px; padding-bottom: 22px; }
.intro-card, .guide-onboarding, .finish-card { width: 100%; max-width: 640px; margin-inline: auto; }
.guide-onboarding-header { margin-bottom: 24px; }
.guide-onboarding-header p { margin-bottom: 0; color: var(--muted); }
.intro-copy { margin-bottom: 26px; }
label, legend { font-size: .9rem; font-weight: 700; }
input[type="text"], textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfc; font: inherit; }
select { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfc; font: inherit; }
input[type="text"]:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,107,135,.13); }
.mode-label { display: block; margin-top: 17px; }
.intro-actions, .evaluation-actions, .finish-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 19px; }
.guide-button { display: block; margin-top: 18px; padding: 0; border: 0; color: var(--blue); background: transparent; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.guide-panel { margin-top: 24px; padding: 20px; border: 1px solid #cce2df; border-radius: 15px; background: #f4fbfa; }
.guide-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.guide-header h3 { margin: 5px 0 0; font-size: 1.15rem; }
.close-button { width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--muted); background: #e5f2f0; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 17px; }
.guide-item { position: relative; padding: 16px; border: 1px solid #d8e9e6; border-radius: 12px; background: white; }
.guide-number { color: #4a9b8d; font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.guide-item h4 { margin: 7px 0 6px; font-size: .96rem; }
.guide-item p { min-height: 84px; margin-bottom: 12px; color: var(--muted); font-size: .82rem; }
.example { padding: 10px; border-radius: 9px; color: #3b5961; background: #f3f7f7; font-size: .78rem; }
.guide-note { margin: 16px 0 0; color: var(--muted); font-size: .78rem; }
.guide-slide { min-height: 235px; padding: 24px; border: 1px solid #d8e9e6; border-radius: 15px; background: #f4fbfa; }
.guide-slide h3 { margin: 8px 0 8px; font-size: 1.25rem; }
.guide-slide p { color: var(--muted); }
.guide-carousel-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.guide-carousel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.guide-dots { display: flex; gap: 7px; }
.guide-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9d8d8; }
.guide-dot.active { background: var(--blue); transform: scale(1.2); }
.button { border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; font: inherit; font-weight: 750; transition: transform .15s, background .15s, opacity .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: var(--blue-dark); }
.ghost { color: var(--blue-dark); background: #edf4f5; }
.hint, .status-message { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.error-message { margin: 14px 0 0; color: #a13c39; font-size: .88rem; font-weight: 650; }
.progress-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.progress-text { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.progress-percent { color: var(--blue); font-size: 1.1rem; font-weight: 800; }
.progress-track { height: 6px; margin: 12px 0 18px; overflow: hidden; border-radius: 999px; background: #e7edef; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #44a992); transition: width .25s ease; }
.metadata { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.tag { padding: 5px 9px; border-radius: 999px; color: var(--blue-dark); background: var(--teal); font-size: .82rem; font-weight: 750; }
.tag:first-child { padding: 6px 11px; color: var(--blue-dark); background: #c8ebe5; font-size: 1rem; font-weight: 850; }
.tag.warm { background: var(--amber); color: #815b16; }
.tag.warm { font-size: .9rem; font-weight: 850; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.text-panel { min-height: 125px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; }
.original-panel { background: #f7fafb; }
.generated-panel { border-color: #a9d8cf; background: #f0faf7; }
.sentence { margin: 10px 0 0; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.45; }
.diff-removed { color: #a83131; background: #f9dede; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #8f2424; }
.diff-added { color: #166b4d; background: #d9f1e5; font-weight: 700; }
.diff-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: var(--muted); font-size: .68rem; }
.diff-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.legend-swatch.removed { background: #e99a9a; }
.legend-swatch.added { background: #8ed0b1; }
.automatic-assessment { margin-top: 12px; padding: 12px 14px; border: 1px solid #d8e5ea; border-radius: 15px; background: #f7fafb; }
.assessment-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assessment-heading h3 { margin: 4px 0 0; font-size: 1.05rem; }
.status-badge { padding: 6px 11px; border-radius: 999px; background: #e6edf0; color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .06em; }
.status-badge.pass { background: #d9f1e8; color: #1d7157; }
.status-badge.review { background: #fff0cc; color: #8b6418; }
.status-badge.fail { background: #f9dddd; color: #9a3b3b; }
.status-badge.invalid { background: #e8dff5; color: #69468d; }
.prediction-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.prediction-compact div { padding: 9px 10px; border-radius: 9px; background: white; }
.prediction-compact span, .prediction-compact strong { display: block; }
.prediction-compact span { color: var(--muted); font-size: .7rem; }
.prediction-compact strong { margin-top: 2px; font-size: .82rem; }
.prediction-change { margin: 10px 0 0; color: var(--muted); font-size: .78rem; }
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.shortcut-hint { margin: 9px 0 0; color: var(--muted); font-size: .75rem; }
kbd { padding: 2px 6px; border: 1px solid #cdd9dc; border-bottom-width: 2px; border-radius: 5px; color: var(--blue-dark); background: #f4f7f8; font-size: .72rem; font-weight: 800; }
fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
legend { padding: 0 6px; }
fieldset label { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: var(--muted); font-weight: 550; cursor: pointer; }
input[type="radio"] { accent-color: var(--blue); transform: scale(1.1); }
.comment-label { display: block; margin-top: 15px; }
.evaluation-actions { justify-content: space-between; }
.finish-card { max-width: 640px; text-align: center; }
.audio-card { width: 100%; max-width: 860px; margin-inline: auto; }
body:not(.audio-route) .audio-card { max-width: 560px; }
body:not(.audio-route) .audio-header { display: none; }
body:not(.audio-route) .audio-count { display: none; }
.audio-header, .audio-progress-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.audio-header h2 { margin-bottom: 5px; }
.audio-header p { margin-bottom: 0; color: var(--muted); }
.audio-count { padding: 8px 11px; border-radius: 999px; color: var(--blue-dark); background: var(--teal); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.audio-identification { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; max-width: 560px; margin: 28px auto 2px; padding: 22px; border: 1px solid #cfe3e0; border-radius: 16px; background: linear-gradient(135deg, #f1fbf8, #f8fbfc); }
.identity-mark { display: grid; grid-row: span 2; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: white; background: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .08em; }
.identity-copy h3 { margin: 4px 0 3px; font-size: 1.2rem; }
.identity-copy p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.audio-identification label { grid-column: 1 / -1; margin-top: 20px; }
.audio-identification input { grid-column: 1 / -1; margin-top: 7px; }
.audio-previous-sections { grid-column: 1 / -1; margin-top: 15px; padding-top: 13px; border-top: 1px solid #d8e9e6; }
.audio-previous-sections > .step-label { display: block; }
.audio-previous-sections > p { margin: 4px 0 0; color: var(--muted); font-size: .76rem; }
#audio-sections-list { display: grid; gap: 6px; margin-top: 8px; }
.audio-section-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.audio-section-item:hover, .audio-section-item.matching { border-color: #9dcfc7; box-shadow: 0 5px 16px rgba(18, 82, 91, .08); transform: translateY(-1px); }
.audio-profile-initial { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: white; background: var(--blue); font-size: .75rem; font-weight: 900; }
.audio-profile-copy { display: grid; min-width: 0; gap: 1px; }
.audio-profile-copy strong { overflow: hidden; color: var(--blue-dark); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.audio-profile-copy span { color: var(--muted); font-size: .72rem; }
.audio-profile-copy small { color: var(--muted); font-size: .65rem; }
.audio-identification > .button { grid-column: 1 / -1; justify-self: start; margin-top: 14px; padding: 10px 22px; }
.audio-profile-enter { min-width: 70px; padding: 8px 12px; font-size: .72rem; }
.upload-dropzone { display: grid; justify-items: center; gap: 5px; margin-top: 22px; padding: 27px 18px; border: 1px dashed #9bc8c3; border-radius: 16px; color: var(--muted); background: #f4fbfa; cursor: pointer; text-align: center; }
.upload-dropzone:hover { border-color: var(--blue); background: #edf8f6; }
.upload-dropzone strong { color: var(--blue-dark); font-size: 1rem; }
.upload-dropzone span:last-of-type { font-size: .78rem; }
.upload-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--blue); font-size: 1.35rem; }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.audio-review-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 17px; }
.audio-player-panel, .emotion-panel { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #f7fafb; }
.audio-name { margin-bottom: 14px; overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.audio-metadata { display: flex; flex-wrap: wrap; gap: 5px; margin: -5px 0 12px; }
.audio-metadata span { display: inline-block; margin: 0 5px 5px 0; padding: 4px 7px; border-radius: 999px; color: var(--blue-dark); background: var(--teal); font-size: .68rem; font-weight: 750; white-space: nowrap; }
.audio-player-panel audio { width: 100%; }
.audio-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 3px; }
.audio-actions .button { min-width: 0; }
.finish-button { color: #8b4b24; background: #fff0df; }
.finish-button:hover { background: #ffe5c8; }
.audio-help { margin: 11px 0 0; color: var(--muted); font-size: .75rem; }
.emotion-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0 17px; }
.emotion-option { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: white; cursor: pointer; font-size: .78rem; }
.emotion-option:has(input:checked) { border-color: #8ac6bb; color: var(--blue-dark); background: var(--teal); font-weight: 800; }
.audio-list { display: grid; gap: 5px; max-height: 230px; margin-top: 15px; overflow-y: auto; }
.audio-list-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: #f7fafb; text-align: left; }
.audio-list-item.current { border-color: #b8dcd6; background: #eff8f6; }
.audio-list-index { color: var(--blue); font-size: .7rem; font-weight: 850; }
.audio-list-name { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.audio-list-answer { color: var(--blue-dark); font-size: .68rem; font-weight: 800; }
.audio-finish { padding: 32px 0 16px; text-align: center; }
.audio-finish h2 { margin-top: 16px; }
.audio-finish p { color: var(--muted); }
.audio-finish-results { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0; }
.audio-finish-results span { display: grid; gap: 2px; min-width: 100px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #f7fafb; font-size: .78rem; }
.audio-finish-results strong { color: var(--blue-dark); }
.audio-finish-detail { max-height: 260px; margin: 0 auto 20px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: #f7fafb; text-align: left; }
.audio-finish-detail div { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 7px 10px; border-bottom: 1px solid #e8eef0; font-size: .75rem; }
.audio-finish-detail div:last-child { border-bottom: 0; }
.audio-finish-detail span { color: var(--muted); }
.audio-finish-detail strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.audio-finish-detail em { color: var(--blue-dark); font-style: normal; font-weight: 800; }
.pair-card { width: 100%; max-width: 1100px; margin-inline: auto; }
.pair-card h2 { margin-bottom: 7px; }
.pair-card p { color: var(--muted); }
.pair-card input[type="password"] { width: 100%; margin: 12px 0 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: none; font: inherit; }
.pair-results-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pair-summary { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.pair-summary span { padding: 9px 12px; border-radius: 9px; color: var(--muted); background: #f7fafb; font-size: .78rem; }
.pair-summary strong { margin-right: 4px; color: var(--blue-dark); font-size: 1rem; }
.pair-table { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.pair-table-head, .pair-table-row { display: grid; grid-template-columns: 1fr .55fr 1.7fr .8fr .8fr; gap: 10px; min-width: 760px; padding: 9px 11px; font-size: .75rem; }
.pair-table-head { color: var(--blue-dark); background: var(--teal); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.pair-table-row { border-top: 1px solid #e8eef0; color: var(--muted); }
.pair-table-row strong { color: var(--blue-dark); }
.pair-tabs { display: inline-flex; gap: 4px; margin: 5px 0 16px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f1f5f6; }
.pair-tab { padding: 8px 15px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; }
.pair-tab.active { color: var(--blue-dark); background: white; box-shadow: 0 2px 8px rgba(25, 50, 65, .09); }
.consensus-toolbar { margin-bottom: 14px; }
.consensus-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.consensus-filter-block { min-width: 0; }
.consensus-filter-label { color: var(--muted); font-size: .75rem; font-weight: 700; }
.consensus-filter { position: relative; margin-top: 5px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.consensus-filter summary { padding: 9px 11px; color: var(--blue-dark); cursor: pointer; font-size: .8rem; font-weight: 750; list-style-position: inside; }
.consensus-filter[open] summary { border-bottom: 1px solid var(--line); background: #f7fafb; }
.consensus-filter-options { display: grid; max-height: 220px; padding: 6px; overflow-y: auto; }
.consensus-filter-option { display: flex; align-items: center; gap: 8px; padding: 8px 7px; border-radius: 7px; color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 550; }
.consensus-filter-option:hover { color: var(--blue-dark); background: var(--teal); }
.consensus-filter-option input { accent-color: var(--blue); }
.consensus-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.consensus-summary span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #f7fafb; font-size: .75rem; }
.consensus-summary strong { margin-right: 5px; color: var(--blue-dark); font-size: 1rem; }
.consensus-summary .agreed { border-color: #b9dfd4; background: #eef9f5; }
.consensus-summary .split { border-color: #ecd6ad; background: #fff8ea; }
.consensus-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.consensus-actions .button { padding: 9px 13px; font-size: .76rem; }
.consensus-panel { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfc; }
.consensus-panel-agreed { border-color: #b9dfd4; background: #f7fcfa; }
.consensus-panel-split { border-color: #ecd6ad; background: #fffaf0; }
.consensus-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.consensus-panel-head h2 { margin: 0; color: var(--blue-dark); font-size: .98rem; }
.consensus-panel-count { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 8px; border-radius: 999px; color: var(--blue-dark); background: white; font-size: .75rem; font-weight: 850; }
.consensus-panel .consensus-groups { margin-top: 12px; }
.consensus-groups { display: grid; gap: 10px; }
.consensus-emotion { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfc; }
.consensus-emotion > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--blue-dark); background: #f2f8f7; cursor: pointer; font-weight: 850; list-style-position: inside; }
.consensus-emotion > summary small { color: var(--muted); font-size: .7rem; font-weight: 700; }
.consensus-section { padding: 15px; border-top: 1px solid var(--line); }
.consensus-section h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: .86rem; }
.consensus-section h3 span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; color: var(--blue-dark); background: var(--teal); font-size: .7rem; }
.consensus-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.consensus-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.consensus-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.consensus-card-head > div { display: grid; min-width: 0; gap: 2px; }
.consensus-card-head strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.consensus-card-head span { color: var(--muted); font-size: .68rem; }
.consensus-badge { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; font-size: .62rem !important; font-weight: 850; }
.consensus-badge.agreed { color: #176348; background: #ddf3e9; }
.consensus-badge.split { color: #825c16; background: #fff0cf; }
.consensus-card audio { width: 100%; height: 34px; margin: 11px 0; }
.consensus-votes { display: grid; gap: 5px; }
.consensus-vote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 7px 8px; border-radius: 8px; background: #f6f8f9; font-size: .68rem; }
.consensus-vote.agreed { background: #eaf7f2; }
.consensus-vote strong { color: var(--blue-dark); white-space: nowrap; }
.consensus-vote span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.consensus-review-label { display: block; margin-top: 10px; color: var(--muted); font-size: .68rem; }
.consensus-review-label select { margin-top: 4px; padding: 8px 10px; font-size: .75rem; }
.consensus-save-status { min-height: 16px; margin: 5px 0 0 !important; color: var(--blue-dark) !important; font-size: .66rem; }
.success-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #126c59; background: var(--teal); font-size: 1.5rem; font-weight: 900; }
.finish-card .step-label { display: block; margin-top: 18px; }
.finish-card p { color: var(--muted); }
.finish-actions { justify-content: center; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .shell { width: min(100% - 22px, 640px); padding-top: 25px; }
  .topbar { display: block; }
  .dataset-status { display: inline-block; margin-top: 16px; }
  .comparison-grid, .questions { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .prediction-compact { grid-template-columns: 1fr; }
  .audio-header, .audio-progress-row { display: block; }
  .audio-count { display: inline-block; margin-top: 12px; }
  .audio-review-grid { grid-template-columns: 1fr; }
  .audio-actions { grid-template-columns: 1fr; }
  .consensus-filter-grid { grid-template-columns: 1fr; }
  .consensus-actions { justify-content: stretch; }
  .consensus-actions .button { width: 100%; }
  .consensus-list { grid-template-columns: 1fr; }
  .consensus-emotion > summary { align-items: flex-start; flex-direction: column; }
  .guide-carousel-footer { display: block; }
  .guide-carousel-actions { justify-content: flex-start; margin-top: 15px; }
  .guide-item p { min-height: 0; }
  .text-panel { min-height: auto; }
}
