/* Generated from ui/legacy/exam-study-feedback.css. Legacy isolation; use ui/ for new design. */
@layer study-legacy {
/* Study uses the Exam Studio palette and the existing Geist font across modules. */
:root{--study-ink:#191919;--study-paper:#f7f5f0;--study-surface:#fffefa;--study-accent:#c69b26;--study-line:#deddd3}
.study-owner-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid currentColor;border-radius:6px;font-size:13px;white-space:nowrap}
.study-report-dialog,.study-admin-page dialog{width:min(640px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--study-line);border-radius:10px;background:var(--study-surface);color:var(--study-ink)}
.study-report-dialog::backdrop,.study-admin-page dialog::backdrop{background:#19191980}
.study-report-dialog label,.study-admin-page label{display:grid;gap:8px;margin:16px 0}
.study-report-dialog textarea,.study-admin-page input:not([type=checkbox]),.study-admin-page select{width:100%;padding:12px;border:1px solid #aaa79c;border-radius:6px;background:var(--study-surface);color:var(--study-ink);font:inherit}
.ops-header{display:flex;gap:24px;flex-wrap:wrap;padding:22px 5%;background:var(--study-ink);color:var(--study-surface)}
.ops-main{max-width:1180px;margin:auto;padding:36px 24px}.ops-main>p{margin-top:16px}.ops-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.ops-nav a{padding:10px 14px;background:var(--study-surface);border:1px solid var(--study-line);border-radius:6px}.ops-main section{margin:32px 0;padding:24px;background:var(--study-surface);border:1px solid var(--study-line);border-radius:8px;scroll-margin-top:16px}.ops-main h2{margin-bottom:16px}.ops-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--study-line);padding:20px 0;overflow-wrap:anywhere}.ops-row p{margin:6px 0}.ops-actions{display:flex;gap:8px;flex-wrap:wrap}.ops-row>div{min-width:0}.ops-row>button{flex-shrink:0}#ops-search{display:flex;gap:16px;align-items:end;flex-wrap:wrap}#ops-search label:first-child{flex:1}#ops-status:empty{display:none}
.writing-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.writing-choice{padding:24px;border:1px solid var(--study-line);border-radius:8px;background:var(--study-surface);display:flex;flex-direction:column;gap:20px}.writing-choice p{white-space:pre-line;line-height:1.6}.writing-choice button{margin-top:auto}.writing-choice h2{font-size:22px}
.pair-options-list{display:grid;gap:8px}.pair-options-list button{display:flex;gap:12px;text-align:left;padding:12px;background:var(--study-surface);border:1px solid var(--study-line);border-radius:6px;font:inherit;min-height:44px}.pair-options-list button[aria-pressed=true]{border:2px solid #806516;background:#f5eccf}.pair-options-list button b{min-width:20px}
.listening-extract-label{font-size:18px;margin-bottom:20px}.compact-exam .exercise-layout.extract-pair .question[hidden]{display:none}.extract-pair .question-list{display:grid;gap:16px}.audio-context-warning{padding:8px 12px;background:#f5eccf;color:#191919;border-left:3px solid #806516}.mock-audio-panel audio{height:0;width:0;position:absolute;pointer-events:none}.mock-audio-panel{z-index:6}
.speaking-guide{border:1px solid var(--study-line);background:var(--study-surface);border-radius:8px;padding:20px;margin:16px 0}.speaking-guide h2{font-size:21px}.speaking-guide p{margin:12px 0}.speaking-guide-actions{display:flex;gap:10px;flex-wrap:wrap}.speaking-guide [role=status]{padding:10px;background:#f4f3ed}.speaking-guide [data-examiner-question]{font-size:18px;line-height:1.5}.speaking-guide button{min-height:44px}
.compact-exam .timer-card{display:none}.compact-exam .coach-text-alternative{display:none!important}.compact-exam .coach-manual-recording{display:none}.compact-exam .partner-panel>p,.compact-exam .partner-panel>label,.compact-exam .partner-panel>#partner-message,.compact-exam .partner-panel>.partner-actions{display:none}.compact-exam .recording-statusbar{display:none}.compact-exam .speaking-notes{display:none}
.simulation-report .report-summary{padding:24px}.simulation-report .report-scale-chart{margin:20px 0}.simulation-report .assessment-row{align-items:start;padding:16px;gap:16px;border:1px solid var(--study-line);border-radius:6px}.simulation-report .assessment-row[data-state=failed]{border-left:4px solid #a73b35}.simulation-report .assessment-row[data-state=ready]{border-left:4px solid #226b49}.simulation-report .assessment-row small{display:block;max-width:65ch}.simulation-report .report-method{margin-top:24px}.simulation-report .report-feedback details[open]>summary{margin-bottom:16px}
body.study-mode{--sp-bg:#f7f5f0;--wash:#f7f5f0;--chalk:#fffefa;--rule:#deddd3;--mustard:#c69b26}.study-mode .sp-sidebar{background:#191919;color:#fffefa}.study-mode .sp-sidebar a{color:inherit}.study-mode .sp-sidebar a[aria-current=page],.study-mode .sp-sidebar .active{background:#c69b26;color:#191919}.study-mode .sp-frame{background:#f7f5f0}.study-mode .sp-row{border:1px solid #deddd3;border-radius:8px;background:#fffefa}.study-mode .sp-copy h2{font-weight:560}.study-mode .sp-circle{font-size:13px;min-width:56px}.study-mode .sp-top,.study-mode .sp-header{background:#191919;color:#fffefa}.study-mode .sp-list{gap:16px}.study-mode .sp-nav{gap:6px}
:root[data-study-theme=dark] body.study-mode{--sp-bg:#191919;--wash:#252525;--chalk:#252525;--rule:#49473f}:root[data-study-theme=dark] .study-mode .sp-frame{background:#191919}:root[data-study-theme=dark] .study-mode .sp-row{background:#252525;color:#fffefa;border-color:#49473f}
@media(max-width:900px){.writing-choice-grid{grid-template-columns:1fr}.writing-choice{padding:20px}.ops-row{align-items:flex-start;flex-direction:column}.study-owner-link{font-size:12px;white-space:normal}.ops-main{padding:24px 16px}.ops-main section{padding:16px}.ops-header{gap:16px}.assessment-row{grid-template-columns:1fr}.speaking-guide{padding:16px}.mock-audio-panel{position:sticky;top:0}.study-mode .sp-circle{min-width:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(min-width:1100px){.study-mode .sp-desktop-nav{left:0;top:0;bottom:0;margin:0;width:248px;padding:28px 16px;background:#191919;color:#fffefa;border:0}.study-mode .sp-desktop-nav a,.study-mode .sp-brand{color:#fffefa}.study-mode .sp-desktop-nav a.selected,.study-mode .sp-desktop-nav a:hover{color:#191919}.study-mode .sp-head{background:#191919;color:#fffefa}.study-mode .sp-list{padding:24px}.study-mode .sp-brand small{font-size:11px;letter-spacing:1px;text-transform:uppercase}}

.sp-frame>[data-study-report]{align-self:center;margin:12px;min-height:44px;font:inherit;color:var(--sp-fg,#191919);background:transparent;border:0;text-decoration:underline;font-size:13px}.sp-work>[data-study-report]{margin:0;min-height:32px}

.report-progress{padding:14px 18px;background:#f5eccf;border:1px solid #ded3ae;border-radius:6px;margin:16px 0;font-size:15px}.sp-brand small{color:#c9c4ba}

/* Footer and report actions retain their labels; the icons are decorative. */
body.study-unified footer[data-study-footer] a,
body.study-unified footer [data-study-report],
body.study-unified .sp-frame>[data-study-report],
body:not(.study-unified) footer.study-public-footer nav a,
body:not(.study-unified) footer.study-public-footer [data-study-report]{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:44px;max-width:100%;padding:10px 14px;
 border:1px solid var(--product-line,var(--study-line));border-radius:10px;
 background:var(--product-surface,var(--study-surface));color:var(--product-ink,var(--study-ink));
 font:inherit;font-size:13px;line-height:1.35;text-decoration:none;text-align:left;
 cursor:pointer;white-space:normal;overflow-wrap:anywhere
}
/* Group the footer actions naturally; long translations wrap without overflow. */
body.study-unified footer[data-study-footer]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px}
body.study-unified footer.footer>span:first-child{margin-right:auto}
body.study-unified footer[data-study-footer]>a[href*="confidentialitate"]{order:1}
body.study-unified footer[data-study-footer]>[data-study-report]{order:2}
body.study-unified footer[data-study-footer]>.coach-privacy{order:3;flex-basis:100%}
body:not(.study-unified) footer.study-public-footer nav{gap:8px}
body:not(.study-unified) footer.study-public-footer [data-study-report-slot]{display:inline-flex;max-width:100%}
body:not(.study-unified) footer.study-public-footer nav a{color:var(--product-ink,var(--study-ink))}
/* Keep privacy and reporting together on small screens, including long translations. */
@media(max-width:500px){
 body.study-unified footer[data-study-footer]>a[href*="confidentialitate"],
 body.study-unified footer[data-study-footer]>[data-study-report],
 body:not(.study-unified) footer.study-public-footer nav a[href*="confidentialitate"],
 body:not(.study-unified) footer.study-public-footer [data-study-report-slot] [data-study-report]{padding:9px 7px;gap:4px;font-size:12px;flex-direction:column;text-align:center}
 body.study-unified footer[data-study-footer]::after{content:"";flex-basis:100%;height:0;order:0}
 body.study-unified footer[data-study-footer]>a[href*="confidentialitate"],
 body.study-unified footer[data-study-footer]>[data-study-report]{box-sizing:border-box;flex:1 1 calc((100% - 10px)/2);min-width:0;align-self:stretch}
 body:not(.study-unified) footer.study-public-footer nav::after{content:"";flex-basis:100%;height:0;order:1}
 body:not(.study-unified) footer.study-public-footer nav a[href*="confidentialitate"]{order:2;box-sizing:border-box;flex:1 1 calc((100% - 8px)/2);min-width:0;align-self:stretch}
 body:not(.study-unified) footer.study-public-footer [data-study-report-slot]{order:3;flex:1 1 calc((100% - 8px)/2);min-width:0;align-self:stretch}
 body:not(.study-unified) footer.study-public-footer [data-study-report-slot] [data-study-report]{box-sizing:border-box;width:100%;min-width:0}
}
/* Keep this secondary action compact even where lesson buttons fill their row. */
body.study-unified .sp-frame>[data-study-report]{width:fit-content;max-width:100%}
body.study-unified footer a[href*="confidentialitate"]::before,
body:not(.study-unified) footer.study-public-footer a[href*="confidentialitate"]::before,
body.study-unified [data-study-report]::before,
body:not(.study-unified) footer.study-public-footer [data-study-report]::before{
 content:"";display:inline-block;flex:none;width:18px;height:18px;background:currentColor;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;
 -webkit-mask-size:contain;mask-size:contain
}
body.study-unified footer a[href*="confidentialitate"]::before,
body:not(.study-unified) footer.study-public-footer a[href*="confidentialitate"]::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11z'/%3E%3Crect x='9' y='10' width='6' height='5' rx='1'/%3E%3Cpath d='M10 10V8a2 2 0 0 1 4 0v2'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11z'/%3E%3Crect x='9' y='10' width='6' height='5' rx='1'/%3E%3Cpath d='M10 10V8a2 2 0 0 1 4 0v2'/%3E%3C/svg%3E")
}
body.study-unified [data-study-report]::before,
body:not(.study-unified) footer.study-public-footer [data-study-report]::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4m0 1c5-3 9 3 14 0v10c-5 3-9-3-14 0'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4m0 1c5-3 9 3 14 0v10c-5 3-9-3-14 0'/%3E%3C/svg%3E")
}
body.study-unified footer[data-study-footer] a:hover,
body.study-unified [data-study-report]:hover,
body:not(.study-unified) footer.study-public-footer nav a:hover,
body:not(.study-unified) footer.study-public-footer [data-study-report]:hover{
 border-color:var(--product-gold,#c69b26);background:var(--product-soft,#f1e9d2)
}
body.study-unified footer[data-study-footer] a:focus-visible,
body.study-unified [data-study-report]:focus-visible,
body:not(.study-unified) footer.study-public-footer nav a:focus-visible,
body:not(.study-unified) footer.study-public-footer [data-study-report]:focus-visible{
 outline:3px solid var(--product-gold,#c69b26);outline-offset:3px
}

}
