:root{color-scheme:light;--ink:#153b35;--green:#135b49;--mint:#dceee5;--paper:#f4f7f6;--line:#d5dfda;--orange:#b44b2d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 'Segoe UI',Arial,sans-serif}header{background:var(--ink);color:white;padding:22px max(5vw,20px);display:flex;justify-content:space-between;gap:20px;align-items:center}.brand{font-weight:800;font-size:28px;letter-spacing:.05em}.brand span{font-size:12px;font-weight:500;display:block;letter-spacing:.13em}.privacy{font-size:14px;color:#d2e8dc}main{max-width:1280px;margin:auto;padding:38px 30px}.intro{display:grid;grid-template-columns:1.4fr 1fr;gap:60px;align-items:center;margin-bottom:35px}.eyebrow{letter-spacing:.18em;font-size:13px;font-weight:700}h1{font-size:clamp(36px,5vw,64px);line-height:1.05;letter-spacing:-.04em;margin:15px 0}h2{font-family:'Segoe UI','Noto Sans',Arial,sans-serif;font-size:48px;line-height:1.3;margin:12px 0;overflow-wrap:anywhere}h3{font-size:19px;margin:18px 0 10px}p{margin:10px 0}.intro p{max-width:480px;color:#526b63}.session{background:white;border:1px solid var(--line);border-radius:18px;padding:26px}.session input{max-width:160px;font-size:22px;font-weight:700}small{display:block;color:#60736a;font-size:13px;margin:8px 0}#progressText{margin-top:22px;font-weight:600}progress{width:100%;accent-color:var(--green);height:12px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}button,input,textarea,select{font:inherit}button{border:1px solid #bbcfc4;color:var(--ink);border-radius:8px;background:white;padding:10px 15px;cursor:pointer;min-height:44px}button:hover{background:var(--mint)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b97530;outline-offset:2px}.toolbar{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.tabs{display:flex;gap:4px}.tabs .active{background:var(--ink);color:white}#notice{border-left:4px solid #629b80;padding:12px 16px;background:#e3eee8;font-size:14px;margin-bottom:22px}#notice.error{border-color:#b44b2d;background:#ffece5}.workspace{display:grid;grid-template-columns:290px minmax(0,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white}aside{background:#edf3ef;padding:22px;border-right:1px solid var(--line)}label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #b8cbc0;border-radius:7px;background:white;color:#193e34;padding:10px;margin:5px 0 13px}textarea{resize:vertical}#list{max-height:720px;overflow:auto;margin-top:20px}#list button{display:block;width:100%;text-align:left;margin:0 0 7px;padding:10px 12px;background:transparent;border:1px solid transparent}#list button.selected{background:white;border-color:#8cb29d}#list strong{font-size:21px}#list small{margin:1px 0;white-space:normal}#list .count{float:right;font-size:13px;background:#dce8e0;padding:3px 6px;border-radius:5px}article{padding:28px 34px}.tag{font-size:12px;font-weight:700;letter-spacing:.05em;background:#edf3ef;padding:5px 9px;border-radius:4px}.warning{background:#fff1d7;color:#815821}.meaning{font-size:21px;color:#4b655a}#sourceLine,.unitLine{font-size:14px;color:#5d7268}.unitLine{margin:8px 0 15px}details{font-size:14px;background:#f3f6f4;padding:12px;border-radius:8px;margin-bottom:20px}summary{cursor:pointer;font-weight:600}details a{color:var(--green)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.check input{width:19px;height:19px;flex-shrink:0;accent-color:var(--green)}.sentenceBox{border-top:1px solid var(--line);margin-top:20px}.sentenceBox p{font-size:14px;color:#60756a}.takes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.take{border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0}.take.selected{outline:2px solid var(--green);background:#f0f7f2}.take button{font-size:14px;padding:6px 10px;min-height:36px}.take .selectTake{display:block;width:100%;text-align:left;border:0;background:none;font-weight:700;padding:0}.filename{font-family:monospace;font-size:12px;overflow-wrap:anywhere;color:#526d5e;margin:5px 0}.take audio{width:100%;height:34px;margin:8px 0}.transport{background:var(--ink);color:white;border-radius:10px;padding:18px;margin:20px 0}.record{background:#e4ac65;color:#18392b;border:0;font-weight:700}.transport meter{width:100%;height:12px;margin-top:15px}.transport p{color:#d7e5dc;font-size:14px}#timer{font-variant-numeric:tabular-nums;font-size:23px}#timer.live{color:#ffc48d}.guide{margin-top:30px;border-top:1px solid var(--line);padding:18px 0;max-width:900px}.guide li{margin:7px 0}.guide p{font-size:14px;color:#536c5f}footer{padding:25px;text-align:center;color:#5d7266;font-size:13px}a{color:var(--green)}[hidden]{display:none!important}@media(max-width:800px){main{padding:24px 14px}.intro{grid-template-columns:1fr;gap:20px}.workspace{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line)}#list{max-height:190px;display:flex;gap:6px;overflow:auto}#list button{min-width:160px;max-width:220px}article{padding:22px 18px}.fields{grid-template-columns:1fr;gap:0}header{align-items:flex-start}.privacy{max-width:180px;font-size:12px}.takes{grid-template-columns:1fr}h2{font-size:40px}.toolbar .row button{font-size:14px;padding:8px 10px}}

.contextSource{background:#edf5f0;border-left:4px solid #548d70;border-radius:6px;padding:12px 16px;margin:15px 0}.contextSource h3{margin-top:0}.sourceSentence{font-size:21px;line-height:1.6}.contextSource small{line-height:1.6}

.contextSource.generated{background:#fff5df;border-color:#ba8735}.collectionSummary{font-weight:600;color:#1e5744!important}

.sharedBar{padding:15px 20px;border:1px solid #aec9b8;background:#e6f1eb;border-radius:10px;margin-bottom:20px}.sharedBar p{font-size:14px}.sharedError{color:#9c3b20}.sharedEditor{padding:22px;background:white;border:2px solid #b68940;border-radius:12px;margin-bottom:22px}.sharedEditor h2{font:700 25px/1.3 "Segoe UI",Arial,sans-serif;margin:0}.sharedEditor small{color:#69562d}.correctionPreview{border:1px solid #b8c9bf;padding:18px;margin:16px 0;border-radius:8px;background:#f4f7f5}.correctionDiff{padding:10px 0;border-bottom:1px solid #d6e0d9}.correctionDiff p{white-space:pre-wrap;overflow-wrap:anywhere}.correctionDiff .before{color:#7e5042}.publication{padding:15px 0;border-bottom:1px solid #d6e0d9}#publishCorrection{background:#135b49;color:white}#sharedEditor textarea{margin-bottom:8px}

.adminLogin{padding:20px;background:white;border:1px solid #b8cdbf;border-radius:12px;margin:18px 0}.adminLogin h2{font:700 24px/1.4 "Segoe UI",Arial,sans-serif;margin:0 0 12px}.adminLink{display:inline-block;padding:10px 15px;border-radius:8px;background:#135b49;color:white;text-decoration:none}.adminLink:hover{background:#204f42}#adminAccount{font-size:14px;color:#3e6553}
.variantPanel{padding:18px;margin:22px 0;border:1px solid #b6cdbd;border-radius:10px;background:#f1f7f3}.variantPanel #variantPreview{background:white;padding:16px;margin-top:14px;border:1px solid #c4d5cb;border-radius:8px}.variantPanel p{white-space:pre-wrap;overflow-wrap:anywhere}

.cloudPanel{margin:1.5rem 0;padding:1.5rem;border:1px solid #87b4a4;border-radius:18px;background:#fff}.cloudPanel h2{font-size:1.75rem;margin:.25rem 0 1rem}.cloudPanel input:not([type=checkbox]),.cloudPanel textarea,.cloudPanel select{width:100%;box-sizing:border-box}.cloudPanel label{display:block;margin:.7rem 0}.consentChecks label{display:flex;align-items:flex-start;gap:.7rem}.consentChecks input{margin-top:.4rem;flex-shrink:0}.reviewCard{border-top:1px solid #b9cec5;padding:1.5rem 0;overflow-wrap:anywhere}.reviewCard audio{width:100%;margin:1rem 0}.reviewCard textarea{min-height:5rem}.cloudPanel small{display:block;font-size:.9rem}.cloudPanel .error{color:#9b2020}#cloudStatus{font-weight:600} @media(max-width:650px){.cloudPanel{padding:1rem}.cloudPanel .row{display:flex;flex-direction:column;align-items:stretch}}
.visuallyHidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
body { background: #f3f6f4; }
header { padding-block: 16px; }
header .brand { color: #fff; text-decoration: none; }
header .brand span { font-size: .85rem; letter-spacing: .035em; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
header nav a { color: #fff; padding: 8px 0; font-weight: 600; }
main { padding-top: 28px; }
.intro { gap: 32px; margin-bottom: 28px; }
.intro .eyebrow { color: #315e51; }
.intro h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin: .35rem 0; }
.session { padding: 17px 20px; }
.session .row { flex-wrap: nowrap; }
.session .row input { font-size: 1rem; margin: 0; }
.session small { font-size: .875rem; }
#progressText { margin-top: 10px; font-size: .875rem; }
#bankSummary { font-weight: 650; color: var(--green); }
.campaignChooser { margin: 0 0 26px; }
.campaignChooser h2, .toolbar h2 { font-size: 1.5rem; margin: 0 0 .65rem; }
.campaignCards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.campaignCards button { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: .9rem; border-radius: 12px; }
.campaignCards button[aria-pressed='true'] { background: #e0efe7; border-color: #247054; box-shadow: inset 0 0 0 1px #247054; }
.campaignCards strong { line-height: 1.25; }
.campaignCards span { color: #245b49; font-size: .875rem; font-weight: 650; }
.campaignCards small { margin: .25rem 0 0; font-size: .875rem; line-height: 1.35; }
.toolbar { align-items: center; padding-top: 8px; scroll-margin: 14px; }
.toolbar h2 { margin: 0; }
.toolbar p { margin: .2rem 0 0; }
.studioModes { flex-wrap: wrap; margin-bottom: 12px; }
.studioModes button { font-size: .875rem; }
#notice { margin-bottom: 12px; }
#bankResults { font-size: .875rem; font-weight: 650; }
#bankPager { margin-top: 12px; }
#bankPager button { flex: 1 1 90px; font-size: .875rem; padding: .45rem; }
#list { max-height: 28rem; margin-top: .5rem; }
#list button { border-bottom-color: #d4e0d8; }
#list strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
#list small { font-size: .875rem; overflow-wrap: anywhere; }
.workspace h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); margin: .75rem 0; }
.workspace .meaning { font-size: 1.05rem; margin: .3rem 0; }
#sourceLine { margin-top: .75rem; }
.calendarCue { background: #edf5f0; padding: .65rem .8rem; border-radius: .5rem; margin: .65rem 0; }
.calendarCue p { margin: .15rem 0; }
#evidencePanel, #editText { margin: 10px 0; }
#recordHint { font-size: 1.1rem; margin-top: 0; overflow-wrap: anywhere; }
#editText { margin-top: 16px; }
#cloudStatus, #transmettre { scroll-margin: 16px; }
#uploadClips { background: #145741; border-color: #145741; color: #fff; }
#cloudLocal { font-weight: 650; }
.backupPanel { background: #fff; border: 1px solid var(--line); padding: 1rem; }
@media(max-width: 970px) {
  .campaignCards { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 800px) {
  .intro { gap: 14px; margin-bottom: 20px; }
  .workspace aside { padding: 14px; }
  #list { display: block; max-height: 9rem; }
  #list button { min-width: 0; max-width: none; }
  #bankPager button { flex: 0 1 auto; }
}
@media(max-width: 540px) {
  .campaignCards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .campaignCards button { padding: .65rem .75rem; }
  .campaignCards small { display: none; }
  header { align-items: center; }
  header nav { flex-direction: column; gap: 0; }
  header nav a { padding: 2px 0; font-size: .9rem; }
  article, .workspace aside { padding: 14px; }
  .tag.warning { white-space: normal; }
  .studioModes { gap: 6px; }
  .studioModes button { padding: .45rem .65rem; }
}
.session h2{font-size:1.35rem;margin:0 0 .65rem}
#speakerLogin .fields{grid-template-columns:minmax(0,2fr) minmax(5rem,1fr);gap:.75rem}
#speakerLogin input,#speakerLogin select{font-size:1rem}
#speakerStatus:empty{display:none}
#speakerActive .row{flex-wrap:wrap}
.locuteurReview{border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1rem}
.locuteurReview .row{align-items:end}
.locuteurReview label{margin:0}
.locuteurReview input{margin-bottom:0}
.progressTable{overflow:auto;border:1px solid var(--line);border-radius:8px}
.progressTable table{border-collapse:collapse;min-width:680px;width:100%;font-size:.875rem}
.progressTable th,.progressTable td{padding:.6rem .7rem;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.progressTable th:first-child{text-align:left}
.progressTable thead{background:var(--mint)}
.progressTable tbody tr:last-child>*{border-bottom:0}
.progressCampaign{padding:.15rem .35rem;min-height:2rem;font-weight:600;text-align:left}
.syncedTake{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,1fr) auto;align-items:center;gap:.5rem 1rem;padding:.65rem 0;border-top:1px solid var(--line)}
.syncedTake strong{grid-column:1;grid-row:1;overflow-wrap:anywhere}
.syncedTake small{grid-column:1;grid-row:2;margin:0}
.syncedTake audio{grid-column:2;grid-row:1/span 2;width:100%;max-width:340px}
.syncedTake a{grid-column:3;grid-row:1/span 2}
#syncedStatus:empty{display:none}
#syncIndicator{font-size:.875rem}
@media(max-width:660px){.syncedTake{display:flex;flex-wrap:wrap}.syncedTake strong,.syncedTake small{flex-basis:100%}.syncedTake audio{max-width:100%}}
.reviewBadges{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .36rem;margin-top:.4rem}
.reviewBadge{display:inline-block;border-radius:8px;padding:.14rem .48rem;font-size:.875rem;font-weight:650;line-height:1.48;background:#edf0f2;color:#364651;white-space:nowrap}
.reviewBadge--accepted{background:#d9f0e2;color:#174b35}
.reviewBadge--rejected{background:#f8dddd;color:#7d2529}
.reviewBadge--needs_correction{background:#ffe9d0;color:#774116}
.reviewBadge--pending{background:#dfeaf8;color:#263e62}
.reviewBadge--local,.reviewBadge--legacy{background:#eee7f6;color:#58406d}
.reviewBadge--count{background:#dceee5;color:#194834;font-variant-numeric:tabular-nums}
#itemReviewBadges{margin-top:-.2rem;margin-bottom:.55rem}
#reviewWordDetails{margin-top:1rem}
.reviewWordList{list-style:none;margin:0;padding:0}
.reviewWordCard{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1rem;border-top:1px solid var(--line);padding:.6rem 0;flex-wrap:wrap}
.reviewWordCard small,.reviewWordCard .reviewBadges{margin:0}
.reviewWordCard strong{overflow-wrap:anywhere}
.pilotCue{margin:1rem 0;padding:1rem 1.15rem;border:1px solid #d4e0da;border-radius:.8rem;background:#f5faf7}
.pilotCue h3{margin:0 0 .7rem}
.pilotLanguages{display:grid;gap:.25rem;margin:.7rem 0}
.pilotLanguages p{margin:0}
.pilotLanguages [lang="en"]{color:#455d55}
.pilotScene{width:min(100%,240px);aspect-ratio:3/5;border-radius:.6rem;background-color:#deebe3;background-size:500% 200%;background-repeat:no-repeat}
.pilotScene[data-sheet="a"]{background-image:url("/scenes-a.jpg")}
.pilotScene[data-sheet="b"]{background-image:url("/scenes-b.jpg")}
.pilotScene[data-sheet="c"]{background-image:url("/scenes-c.jpg")}
.pilotCue details{margin:.65rem 0}
.pilotCue [aria-current="step"]{font-weight:700}
#dialogueTools .row{align-items:center}
#dialogueSession{width:auto;min-width:min(100%,15rem);flex:1}
#pilotCopyTranslations{margin-top:.5rem}
.pilotReading{border:1px solid var(--line);background:white;border-radius:.65rem;padding:.9rem;margin:.85rem 0}
#pilotReadingNnh{font-size:clamp(1.15rem,2.4vw,1.55rem);font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.pilotReadingNote{font-size:.92rem;color:#405f55}
#pilotOriginalCue{margin:.65rem 0}
