/* Pitch preparation shares the live workshop shell and its real team coach. */
.pitch-work-layout { --pitch-teal:#18decf; --pitch-panel:#0b2949; align-items:start; }
.pitch-workspace-tools { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 12px; }
.participant-page .participant-desk .pitch-preparation { border:0; padding:0; margin:0; background:transparent; min-width:0; }
.pitch-preparation [hidden],.pitch-work-layout [hidden] { display:none !important; }
.pitch-preparation :focus-visible,.pitch-workspace-tools :focus-visible { outline:3px solid #18decf; outline-offset:3px; }
.participant-page #team-presentation > #presentation-heading { font-size:clamp(1.35rem,2vw,1.65rem); line-height:1.15; margin:8px 0 4px; outline:none; }
.participant-page #team-presentation > #presentation-heading + p { color:#c0d4e8; font-size:.875rem; line-height:1.4; margin:0 0 10px; }
.pitch-tabs { display:flex; gap:8px; flex-wrap:wrap; }
.participant-page .pitch-tabs { margin:6px 0 8px; }
.participant-page .pitch-tabs > button { display:flex; justify-content:center; align-items:center; gap:6px; flex:1 1 110px; min-height:34px; padding:4px 8px; font-size:.75rem; margin:0; background:#0b2949; border:1px solid #245b7f; color:#c4d9ef; }
.pitch-tabs > button > span { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#1b4268; font-size:13px; }
.participant-page .pitch-tabs > button[aria-current="page"] { background:#075058; border-color:#18decf; color:#fff; }
.pitch-tabs > button[aria-current="page"] > span { background:#18decf; color:#052b38; }
.pitch-edit-policy { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:#b8d2e8; font-size:13px; }
.pitch-task-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:22px 0 14px; }
.participant-page .pitch-task-grid .pitch-task { display:flex; flex-direction:column; text-align:left; align-items:start; white-space:normal; gap:12px; padding:18px; margin:0; background:#0b2949; border:1px solid #245b7f; color:#c0d4e8; min-width:0; }
.pitch-task-grid .pitch-task:hover { border-color:#18decf; background:#0b3c4f; }
.pitch-task strong { font-size:19px; color:#edf6ff; }
.pitch-task .pitch-task-number { font-size:24px; font-weight:800; color:#18decf; }
.pitch-task > span:not(.pitch-task-number) { font-size:14px; line-height:1.6; font-weight:400; flex:1; }
.pitch-task small { color:#ffd338; font-size:13px; }
.pitch-preparation .entity-card,.pitch-story-tips,.pitch-empty { background:#0b2646; border:1px solid #235579; border-radius:13px; padding:18px; }
.pitch-preparation .pitch-story-tips { background:#0c3150; color:#c7deef; margin:14px 0; }
.pitch-preparation .pitch-story-tips h3 { margin-top:0; color:#e8f5ff; }
.pitch-preparation .pitch-story-tips p { margin-bottom:0; line-height:1.6; }
.pitch-preparation .prototype-pitch-style { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.pitch-preparation .prototype-pitch-style.pitch-style-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
.pitch-preparation .prototype-pitch-copy { padding:18px; background:#0b2646; border:1px solid #235579; border-radius:13px; }
.pitch-preparation #presentation-pitch-text { min-height:300px; line-height:1.75; }
.pitch-preparation label { display:block; margin:14px 0 7px; font-weight:700; }
.pitch-preparation input,.pitch-preparation textarea,.pitch-preparation select { max-width:100%; min-width:0; }
.pitch-preparation textarea { resize:vertical; }
.pitch-preparation fieldset { border:0; min-width:0; padding:0; margin:0; }
.pitch-preparation .presentation-page-actions,.pitch-slide-tools,.pitch-preparation .presentation-detail-navigation { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:16px 0; }
.pitch-preparation .pitch-next { border:1px solid #205579; border-radius:12px; padding:14px; background:#0b2c4d; }
.pitch-next > span { color:#b9d3e8; flex:1 1 200px; font-size:13px; }
.pitch-preparation .presentation-filmstrip { display:flex; gap:10px; overflow-x:auto; padding:8px 3px 14px; min-width:0; margin-bottom:12px; }
.participant-page .pitch-preparation .presentation-filmstrip > button { display:block; flex:0 0 120px; width:120px; min-width:0; padding:5px; margin:0; background:#0b2949; color:#c3dbee; border:2px solid #245579; border-radius:9px; white-space:normal; }
.pitch-preparation .presentation-filmstrip > button[aria-current="true"] { border-color:#18decf; background:#084553; }
.pitch-preparation .presentation-filmstrip > button > span:last-child { display:block; font-size:12px; padding:7px 2px 3px; overflow-wrap:anywhere; }
.pitch-preparation .presentation-thumbnail-surface { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; pointer-events:none; }
.pitch-preparation .pitch-frame { width:100%; max-width:none; aspect-ratio:16/9; margin:0; }
.pitch-preparation .presentation-thumbnail-surface .pitch-frame { border-radius:5px; }
.pitch-preparation .presentation-detail-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:20px; align-items:start; }
.pitch-preparation .presentation-slide-fields,.pitch-preparation .presentation-slide-live { min-width:0; }
.pitch-preparation .presentation-slide-live { grid-column:1; grid-row:1; }
.pitch-preparation .presentation-slide-fields { grid-column:2; grid-row:1; }
.pitch-preparation .presentation-slide-fields textarea { min-height:150px; }
.pitch-preparation .presentation-character-count { text-align:right; font-size:12px; color:#a9c9e7; }
.pitch-preparation .presentation-viewer-launch { display:flex; justify-content:flex-end; margin:16px 0; }
.pitch-preparation .presentation-review-stage { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; align-items:center; gap:8px; }
.pitch-preparation .presentation-position { text-align:center; }
.pitch-preparation .prototype-style-preview { min-width:0; }
.pitch-preparation .prototype-preview-navigation { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; }
.pitch-preparation .pitch-colors { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.pitch-preparation .pitch-colors input[type="color"] { width:100%; height:44px; }
.pitch-preparation .pitch-image-library { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:10px; margin:12px 0; }
.pitch-preparation .pitch-image-library button { min-width:0; white-space:normal; }
.pitch-preparation .pitch-image-library img { width:100%; height:85px; object-fit:contain; }
.pitch-preparation .pitch-score-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.pitch-score-grid > div { display:grid; grid-template-columns:1fr auto; gap:8px; background:#103450; border-radius:9px; padding:12px; }
.pitch-score-grid dt { font-weight:700; }.pitch-score-grid dd { margin:0; }
.pitch-score-grid progress { grid-column:1/-1; width:100%; height:9px; accent-color:#18decf; }
.pitch-preparation #pitch-feedback { display:grid; grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr); gap:20px; align-items:start; margin-top:18px; }
.pitch-preparation #pitch-feedback [data-feedback-stale] { grid-column:1/-1; }
.pitch-preparation #pitch-feedback .pitch-score-grid { grid-template-columns:minmax(0,1fr); }
.pitch-preparation .pitch-feedback-score > h4 { font-size:30px; color:#18decf; margin:0 0 18px; }
.pitch-preparation .pitch-feedback-details { padding:16px; border:1px solid #245c84; border-radius:10px; background:#103450; }
.pitch-preparation .pitch-feedback-details > h4 { margin:0 0 8px; font-size:16px; }
.pitch-preparation .pitch-feedback-details > ul { padding-left:20px; margin:0 0 18px; }
.pitch-preparation .pitch-feedback-details > ul:first-of-type { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 18px; }
.pitch-preparation #pitch-questions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-left:24px; }
.pitch-preparation #pitch-questions li { padding:14px; background:#103450; border:1px solid #245c84; border-radius:9px; }
.pitch-preparation #pitch-practice h3:not(:first-child) { margin-top:26px; }
.pitch-preparation #pitch-practice p,.pitch-preparation #pitch-practice li { line-height:1.65; }
.pitch-preparation [data-feedback-stale],.pitch-preparation [data-questions-stale],.pitch-preparation #presentation-conflict { color:#ffd57c; border-left:3px solid #ffd338; padding:12px; background:#46381855; }
.pitch-share-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; }
.pitch-share-grid > section { min-width:0; }
.pitch-share-checks { padding:0; list-style:none; }.pitch-share-checks li { border-bottom:1px solid #245574; padding:13px 0; line-height:1.5; }
.pitch-share-success { padding:24px; text-align:center; border:1px solid #18decf; border-radius:13px; background:radial-gradient(ellipse at top,#07515b,#0b2949); margin:16px 0; }
.pitch-share-success h3 { font-size:27px; }.pitch-share-success > span { color:#18decf; font-size:44px; }
.pitch-share-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding-top:14px; }
.pitch-share-actions p { flex:1 1 250px; }
.pitch-published-text { margin:12px 0; }.pitch-published-text p { white-space:pre-wrap; }
.pitch-refresh { margin-top:18px; }
.pitch-phase-actions { border:0; padding:0; margin:0; min-width:0; }
.pitch-navigation-save { padding:12px; color:#ffd57c; }
.pitch-share-grid > section { background:transparent; padding:0; border:0; margin:0; }
.pitch-preparation #presentation-slide-count { display:inline-block; margin:10px 0; padding:5px 10px; font-size:13px; border-radius:20px; }
.participant-page .participant-desk .pitch-preparation button:not(.button-secondary):not(:disabled) { background:#ffd338; color:#132038; border-color:#ffd338; border-radius:10px; }
.participant-page .participant-desk .pitch-preparation .button-secondary:not(:disabled),.participant-page .participant-desk .pitch-workspace-tools .button-secondary { background:#102f53; color:#deefff; border-color:#277199; border-radius:10px; }
.participant-page .participant-desk .pitch-preparation .pitch-tabs > button[aria-current="page"] { background:#075058; color:white; border-color:#18decf; }
.participant-page .participant-desk .pitch-preparation .pitch-task-grid .pitch-task { background:#0b2949; color:#c0d4e8; }
@media(min-width:1051px) { .participant-page .participant-desk #phase-history .phase-work-layout.pitch-work-layout { grid-template-columns:minmax(0,1fr) 310px; gap:18px; } }
.participant-page .participant-desk #phase-history .phase-work-layout.pitch-work-layout.pitch-coach-collapsed { grid-template-columns:minmax(0,1fr); }
@media(max-width:750px) { .pitch-preparation #pitch-feedback { grid-template-columns:minmax(0,1fr); } .pitch-preparation .pitch-feedback-details > ul:first-of-type { grid-template-columns:minmax(0,1fr); } }
@media(max-width:1250px) { .pitch-task-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .pitch-preparation .presentation-detail-grid { grid-template-columns:minmax(0,1fr); } .pitch-preparation .presentation-slide-live,.pitch-preparation .presentation-slide-fields { grid-column:auto; grid-row:auto; } .pitch-preparation .presentation-slide-live { order:-1; } .pitch-preparation .pitch-score-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .pitch-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .pitch-tabs > button:first-child { grid-column:1/-1; } .pitch-task-grid { grid-template-columns:minmax(0,1fr); } .pitch-share-grid,.pitch-preparation .pitch-score-grid,.pitch-preparation #pitch-questions,.pitch-preparation .prototype-pitch-style.pitch-style-grid { grid-template-columns:minmax(0,1fr); } .pitch-preparation .presentation-page-actions > button { flex:1 1 160px; } .pitch-preparation .entity-card,.pitch-preparation .prototype-pitch-copy { padding:12px; } .pitch-preparation .presentation-review-stage { grid-template-columns:30px minmax(0,1fr) 30px; gap:4px; } .pitch-preparation .presentation-review-stage > button { padding:4px; } .pitch-workspace-tools { align-items:start; } }

#pitch-rehearsal { display:grid; gap:12px; }
.pitch-rehearsal-heading { display:flex; align-items:center; gap:14px; padding:4px 0; }
.pitch-rehearsal-icon { display:grid; place-items:center; flex:0 0 42px; height:42px; border:1px solid #24758b; border-radius:10px; color:#18decf; background:#07394e; }
.pitch-rehearsal-heading h3 { margin:0; font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.2; }
.pitch-rehearsal-heading p,.pitch-rehearsal-card > p { margin:6px 0 0; color:#c5dcee; line-height:1.55; }
.pitch-rehearsal-card { min-width:0; padding:clamp(12px,2vw,18px); border:1px solid #2b6283; border-radius:13px; background:linear-gradient(120deg,#0b2d4a,#082442); }
.pitch-rehearsal-card h4 { margin:0; color:#eef8ff; font-size:1.05rem; }
.pitch-rehearsal-steps { display:grid; gap:6px; margin:10px 0 14px; padding:0; list-style:none; counter-reset:rehearsal-step; }
.pitch-rehearsal-card .pitch-rehearsal-steps li { display:flex; align-items:center; gap:10px; margin:0; padding:6px 10px; border:1px solid #224e70; border-radius:8px; background:#0c3150; counter-increment:rehearsal-step; }
.pitch-rehearsal-steps li::before { content:counter(rehearsal-step); display:grid; place-items:center; flex:0 0 24px; height:24px; border-radius:50%; color:#7ff5e7; background:#084553; font-weight:700; }
.pitch-rehearsal-card .pitch-rehearsal-text { margin-top:10px; padding:12px; border:1px solid #224e70; border-radius:8px; background:#08213c; white-space:pre-wrap; overflow-wrap:anywhere; }
.pitch-rehearsal-card > p + button { margin-top:12px; }
.participant-page .participant-desk .pitch-rehearsal-card [data-pitch-open]:not(:disabled) { background:#ffd338; color:#132038; border-color:#ffd338; }

.prototype-presentation { --proto-panel:#0b254d; --proto-line:#26486d; --proto-muted:#a6c2e0; --proto-teal:#30d5c7; --proto-yellow:#ffd43b; }
