/* Word stress marking (P1). Builds on the Speech review workspace styles; flat layout, no nested cards. */
.stress-marking-workspace { max-width: 980px; }
.stress-marking-workspace .speech-review-workspace-title h1 { text-align: left; }
.stress-marking-body { padding: 8px 0 40px; }
.stress-marking-intro { max-width: 720px; padding: 12px 0; }
.stress-marking-intro h2, .stress-marking-progress-view h2 { font-size: 22px; margin: 6px 0 10px; }
.stress-marking-intro p { color: #445f66; line-height: 1.6; }
.stress-marking-steps { margin: 18px 0 26px; padding-left: 22px; display: grid; gap: 10px; line-height: 1.55; color: #2b464d; }
.stress-marking-primary { font: inherit; font-size: 15px; font-weight: 650; border: 0; border-radius: 10px; background: var(--review-accent); color: #fff; padding: 12px 22px; cursor: pointer; }
.stress-marking-primary:hover:not(:disabled) { background: #125a53; }
.stress-marking-primary:disabled { opacity: .45; cursor: not-allowed; }

.stress-marking-clip { display: grid; gap: 14px; padding-top: 10px; }
.stress-marking-progress { display: flex; justify-content: space-between; font-size: 13px; color: #54716c; }
.stress-marking-bar { height: 6px; border-radius: 999px; background: #e4ecea; overflow: hidden; }
.stress-marking-bar > span { display: block; height: 100%; background: var(--review-accent); border-radius: inherit; transition: width .25s ease; }
.stress-marking-bar-small { width: 120px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.stress-marking-listen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0 4px; }
.stress-marking-keys { margin-left: auto; font-size: 12px; color: #6d8387; }
.stress-marking-word { font-size: 34px; letter-spacing: -.02em; margin: 14px 0 0; }
.stress-marking-question { margin: 0; font-size: 15px; font-weight: 600; color: #2b464d; }

.stress-marking-syllables { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 0 2px; }
.stress-marking-syllable { display: grid; justify-items: center; gap: 8px; }
.stress-marking-syllable-button { position: relative; font: inherit; font-size: 26px; font-weight: 600; min-width: 112px; padding: 18px 22px 22px; border: 2px solid #cbdad7; border-radius: 14px; background: #fff; color: var(--review-ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.stress-marking-syllable-button small { position: absolute; left: 0; right: 0; bottom: 4px; font-size: 11px; font-weight: 500; color: #8aa09c; }
.stress-marking-syllable-button:hover { border-color: #8dbdb2; background: #f4f9f7; }
.stress-marking-syllable-button:active { transform: scale(.98); }
.stress-marking-syllable-button[aria-pressed="true"] { border-color: var(--review-accent); background: var(--review-accent); color: #fff; }
.stress-marking-syllable-button[aria-pressed="true"] small { color: #cfe7e1; }
.stress-marking-weak { font-size: 13px; color: #54716c; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.stress-marking-weak:has(input:disabled) { opacity: .45; cursor: default; }
.stress-marking-hint { margin: 0; font-size: 12px; color: #6d8387; }
.stress-marking-others { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.stress-marking-note { display: grid; gap: 6px; max-width: 520px; font-size: 13px; color: #54716c; }
.stress-marking-note input { font: inherit; font-size: 14px; border: 1px solid #cbdad7; border-radius: 9px; padding: 9px 12px; color: var(--review-ink); }
.stress-marking-note input:focus-visible { outline: 3px solid #91c6bb; outline-offset: 1px; }
.stress-marking-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #dce5e3; }

.stress-marking-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.stress-marking-table th { text-align: left; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #597670; padding: 8px 10px; border-bottom: 1px solid #dce5e3; }
.stress-marking-table td { padding: 11px 10px; border-bottom: 1px solid #edf2f1; }
.stress-marking-pct { font-size: 12px; color: #54716c; }
