/* Prototype design set: shared surfaces, three work areas and a single-slide editor.
   Scope every rule so the other workshop steps retain their own design. */
.prototype-work-layout { --proto-panel:#0b254d; --proto-line:#26486d; --proto-muted:#a6c2e0; --proto-teal:#30d5c7; --proto-yellow:#ffd43b; }
.participant-desk .prototype-work-layout { grid-template-columns:minmax(0,1fr) 344px; gap:16px; padding:0; border:0; border-radius:0; background:transparent; }
.participant-desk .prototype-work-layout .phase-work-main { padding:0; background:transparent; border:0; border-radius:0; }
.prototype-workspace { color:#f3f7ff; font:15px/1.45 Arial,system-ui,sans-serif; }
.prototype-workspace [hidden] { display:none !important; }
.prototype-work-layout .visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.prototype-workspace h2,.prototype-workspace h3,.prototype-workspace p { margin:0; }
.prototype-workspace h2 { font-size:24px; line-height:1.2; letter-spacing:-.4px; }
.prototype-workspace h3 { font-size:18px; line-height:1.35; }
.prototype-workspace p { color:var(--proto-muted); }
.prototype-workspace button { border-radius:10px; min-height:44px; padding:10px 15px; border:1px solid var(--proto-yellow); background:var(--proto-yellow); color:#142348; font:700 14px/1.4 Arial,system-ui,sans-serif; box-shadow:none; white-space:normal; cursor:pointer; margin:0; letter-spacing:0; }
.prototype-workspace button.button-secondary { background:#102d55; color:#eaf4ff; border-color:#3d5e84; }
.prototype-workspace button:disabled { opacity:.45; cursor:default; }
.prototype-workspace button:not(:disabled):hover { filter:brightness(1.1); }
.prototype-workspace button:focus-visible,.prototype-workspace input:focus-visible,.prototype-workspace textarea:focus-visible,.prototype-workspace select:focus-visible { outline:3px solid var(--proto-teal); outline-offset:3px; }
.prototype-workspace .prototype-mini-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-bottom:16px; }
.prototype-workspace .prototype-mini-steps button { display:flex; align-items:center; gap:10px; padding:12px; background:#0a274e; border:1px solid var(--proto-line); color:#bad3ea; text-align:left; font-size:13px; }
.prototype-mini-steps button > span { display:grid; place-items:center; flex:none; width:27px; height:27px; border-radius:50%; background:#26486c; }
.prototype-workspace .prototype-mini-steps button[aria-current="step"] { background:#0a4b51; border-color:#27bcb6; color:#fff; }
.prototype-mini-steps button[aria-current="step"] > span { background:var(--proto-teal); color:#042c37; }
.prototype-workspace .prototype-page-heading { margin-bottom:20px; }
.prototype-workspace .prototype-page-heading .eyebrow { color:var(--proto-teal); font-size:12px; font-weight:750; margin:0 0 7px; }
.prototype-workspace .prototype-page-heading h2 { font-size:31px; letter-spacing:-.55px; }
.prototype-workspace .prototype-page-heading > p:last-of-type { margin-top:10px; }
.prototype-workspace button.prototype-back-overview { margin-top:12px; padding:6px 10px; min-height:32px; font-size:12px; background:transparent; }
.prototype-instruction { padding:12px 16px; border-left:3px solid var(--proto-teal); margin-bottom:16px !important; background:#0b254d; }
.prototype-major-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.prototype-major-card { min-width:0; min-height:270px; display:flex; flex-direction:column; gap:16px; padding:20px; border:1px solid #2b527a; border-radius:14px; background:linear-gradient(145deg,#11355e,#0b254b); }
.prototype-major-card:first-child { border-color:var(--proto-teal); background:linear-gradient(145deg,#135060,#0b2b52); }
.prototype-major-card > p { font-size:13px; line-height:1.6; }
.prototype-major-card > button { margin-top:auto; width:100%; }
.prototype-card-icon { display:grid; place-items:center; width:45px; height:45px; flex:none; border-radius:13px; background:#0a555e; color:var(--proto-teal); font-size:24px; }
.prototype-major-card:nth-child(2) .prototype-card-icon { color:#7ec0ff; background:#14487a; }
.prototype-major-card:nth-child(3) .prototype-card-icon { color:#ab9af7; background:#302d5e; }
.prototype-idea-card { display:flex; align-items:center; gap:16px; padding:17px; border:1px solid #35607a; background:#0f3154; border-radius:13px; margin-top:16px; }
.prototype-idea-card p { font-size:13px; margin-top:6px; white-space:pre-wrap; overflow-wrap:anywhere; }
.prototype-panel { background:var(--proto-panel); border:1px solid var(--proto-line); border-radius:15px; padding:20px; }
.prototype-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.prototype-panel-heading p { font-size:13px; margin-top:6px; }
.prototype-pill { display:inline-flex; align-items:center; align-self:flex-start; flex:none; padding:5px 11px; border-radius:999px; background:#0c3a59; color:var(--proto-teal) !important; border:1px solid #1b706f; font-size:12px; font-weight:700; }
.prototype-pill.is-warning { background:#402d26; border-color:#87623b; color:#ffd080 !important; }
.prototype-workspace .phase-canvas { padding:0; margin:0; border:0; background:transparent; }
.prototype-description-panel .canvas-help { margin:0 0 16px; font-size:13px; }
.prototype-workspace .canvas-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.prototype-description-panel .canvas-field { padding:13px; background:#0b2951; border:1px solid #284b72; border-radius:11px; margin:0; min-width:0; }
.prototype-description-panel .canvas-field:last-child { grid-column:1/-1; }
.prototype-workspace label { display:block; font-size:13px; font-weight:700; margin:0 0 6px; color:#f3f7ff; }
.prototype-workspace input:not([type="checkbox"]):not([type="color"]),.prototype-workspace textarea,.prototype-workspace select { display:block; width:100%; min-height:44px; box-sizing:border-box; padding:12px; margin:0 0 6px; border:1px solid #355274; border-radius:9px; color:#dfefff; background:#061a3b; font:14px/1.5 Arial,system-ui,sans-serif; }
.prototype-workspace textarea { resize:vertical; min-height:88px; }
.prototype-workspace .field-help,.prototype-workspace .fieldhelp { font-size:11px; color:#9eb9d7; margin:5px 0 0; }
.prototype-workspace .prototype-screen-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px 0 0; margin-top:14px; }
.prototype-screen-footer > p { font-size:13px; }
.prototype-description-panel > .prototype-screen-footer { padding:12px 16px; border:1px solid #2b4c70; background:#0c284f; border-radius:12px; }
.prototype-workspace #prototype-wizard { border:0; background:transparent; padding:0; margin:0; }
.prototype-image-types .prototype-major-card { min-height:230px; }
.prototype-workspace #prototype-theme { margin:16px 0; font-size:13px; }
.prototype-workspace .prototype-library-filters { display:flex; flex-wrap:wrap; gap:8px; }
.prototype-workspace .prototype-library-filters button { border-radius:999px; min-height:36px; padding:6px 12px; font-size:12px; }
.prototype-workspace .prototype-library-filters [aria-pressed="true"] { border-color:var(--proto-teal); color:var(--proto-teal); background:#0a484f; }
.prototype-workspace #prototype-quota { font-size:11px; max-width:50%; }
.prototype-workspace #prototype-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:14px; }
.prototype-workspace .prototype-gallery figure { margin:0; padding:0; min-width:0; background:#0e2a52; border:1px solid #325778; border-radius:12px; overflow:hidden; }
.prototype-workspace .prototype-gallery figure:has([data-current-logo]) { border:2px solid var(--proto-teal); }
.prototype-workspace .prototype-gallery .prototype-image { width:100%; height:180px; object-fit:contain; background:radial-gradient(circle at 50% 30%,#24558e,#092148); }
.prototype-workspace .prototype-gallery figcaption { padding:12px; font-size:12px; }
.prototype-gallery figcaption > p { margin:8px 0; overflow-wrap:anywhere; }
.prototype-gallery time { display:block; font-size:11px; color:var(--proto-muted); margin:6px 0; }
.prototype-workspace .prototype-gallery button { margin-top:8px; font-size:12px; padding:8px 10px; }
.prototype-workspace .prototype-gallery summary { cursor:pointer; color:var(--proto-teal); margin:8px 0; }
.prototype-workspace #prototype-empty { text-align:center; padding:32px 16px; border:1px dashed #325778; border-radius:12px; margin-top:14px; }
.prototype-workspace [data-prototype-job],.prototype-notice { padding:16px; border:1px solid #35607a; background:#0f3154; border-radius:12px; margin:12px 0; }
.prototype-generator-dialog { --proto-teal:#30d5c7; --proto-muted:#a6c2e0; --proto-yellow:#ffd43b; width:min(1000px,calc(100vw - 32px)); max-width:100%; max-height:92dvh; box-sizing:border-box; padding:26px; background:#0a2249; color:#f3f7ff; border:2px solid #3c8f9c; border-radius:18px; box-shadow:0 28px 130px #000c; }
.prototype-generator-dialog::backdrop { background:#00102ccc; }
.prototype-generator-dialog .prototype-panel-heading { border-bottom:1px solid #26486d; padding-bottom:16px; }
.prototype-generator-dialog .prototype-panel-heading > button { flex:none; }
.prototype-generator-layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:24px; align-items:start; }
.prototype-generator-layout > div { min-width:0; }
.prototype-generator-layout fieldset { min-width:0; padding:0; margin:0; border:0; }
.prototype-workspace .prototype-question { padding:0; border:0; margin:20px 0; }
.prototype-question legend { font-size:14px; font-weight:750; padding:0 0 10px; color:#f3f7ff; }
.prototype-question .action-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.prototype-question button.button-secondary { margin:0; font-size:12px; padding:12px 8px; min-height:48px; }
.prototype-workspace .prototype-question button[aria-pressed="true"] { border:2px solid var(--proto-teal); outline:0; background:#10565a; color:#fff; }
.prototype-generator-layout #prototype-name-help,.prototype-generator-layout #prototype-input-help,.prototype-generator-layout fieldset > p { font-size:12px; margin:6px 0 12px; }
.prototype-generator-layout #prototype-name-save { font-size:12px; padding:8px 12px; margin-bottom:4px; }
.prototype-generator-layout #prototype-generate { margin-top:14px; width:100%; }
.prototype-generator-summary { position:sticky; top:0; border:1px solid #284b72; border-radius:12px; padding:16px; background:#0b2951; }
.prototype-generator-summary h3 { margin-top:20px; font-size:15px; }
.prototype-generator-summary p,.prototype-generator-summary li { font-size:12px; margin:10px 0; }
.prototype-generator-summary ul { padding-left:20px; }
.prototype-generator-art { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:190px; padding:16px; border-radius:12px; background:linear-gradient(135deg,#b9ebf5,#f2f3ff); color:#153e69; text-align:center; }
.prototype-generator-art > span { font-size:64px; }
.prototype-generator-art strong { font-size:24px; overflow-wrap:anywhere; max-width:100%; }
.prototype-generator-art p { color:#355b78; }
.prototype-ai-pending { display:flex; align-items:center; gap:12px; padding:16px; color:var(--proto-teal) !important; }
.prototype-ai-pending span { display:inline-block; font-size:32px; animation:prototype-spin 1.8s linear infinite; }
@keyframes prototype-spin { to { transform:rotate(360deg); } }
.prototype-workspace #team-presentation { padding:20px; margin:0; background:var(--proto-panel); border:1px solid var(--proto-line); border-radius:15px; }
.prototype-presentation-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.prototype-presentation-tabs button[aria-pressed="true"] { border-color:var(--proto-teal); color:var(--proto-teal); background:#0a484f; }
.prototype-workspace #presentation-heading { font-size:20px; }
.prototype-workspace #team-presentation > p { font-size:13px; margin:8px 0 16px; }
.prototype-workspace #slide-generation { padding:16px; border:1px solid #284b72; border-radius:12px; background:#0d2c56; margin:16px 0; }
.prototype-workspace #slide-generation p { font-size:13px; margin:8px 0 12px; }
.prototype-workspace #team-presentation > fieldset { border:0; margin:16px 0 0; padding:0; min-width:0; }
.prototype-workspace .prototype-slide-editor { display:grid; grid-template-columns:170px minmax(0,1fr); gap:15px; margin-top:16px; }
.prototype-slide-nav { display:flex; flex-direction:column; gap:8px; }
.prototype-workspace .prototype-slide-nav button { display:flex; align-items:center; gap:9px; padding:8px; text-align:left; min-height:65px; font-size:12px; background:#0b2c53; border:1px solid #375978; }
.prototype-slide-nav button > span { display:grid; place-items:center; background:#ecf6ff; color:#103359; min-width:44px; height:44px; border-radius:5px; font-weight:800; }
.prototype-slide-nav button strong { font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.prototype-workspace .prototype-slide-nav [aria-current="true"] { border:2px solid var(--proto-yellow); background:#174363; }
.prototype-active-slide { min-width:0; }
.prototype-workspace .prototype-active-slide article { padding:0; border:0; margin:0; background:transparent; }
.prototype-workspace .prototype-active-slide article > h3 { font-size:14px; margin-bottom:10px; }
.prototype-workspace .prototype-active-slide .pitch-frame { width:100%; max-width:none; border-radius:12px; margin:0 0 16px; }
.prototype-workspace .pitch-frame h3 { color:var(--pitch-title); font-size:5.3cqw; line-height:1.05; font-family:var(--pitch-titlefont),sans-serif; text-transform:none; }
.prototype-workspace .pitch-frame.layout-opener h3 { font-size:7cqw; }
.prototype-workspace .pitch-frame.layout-image_right h3 { font-size:4.5cqw; }
.prototype-workspace .pitch-frame p,.prototype-workspace .pitch-frame li { color:var(--pitch-text); font-family:var(--pitch-bodyfont),sans-serif; font-size:3cqw; line-height:1.3; }
.prototype-workspace .pitch-frame p[data-pitch-product] { font-size:2.4cqw; }
.prototype-workspace .pitch-frame .pitch-members { margin:1cqw 0 0; max-height:10cqw; flex-shrink:0; }
.prototype-workspace .pitch-frame .pitch-members li { font-size:2.2cqw; }
.prototype-workspace .presentation-generation-options { margin:16px 0; }
.prototype-workspace .presentation-generation-options > summary { cursor:pointer; padding:10px 0; color:var(--proto-teal); font-size:13px; }
.prototype-workspace .prototype-practice-options > summary { cursor:pointer; padding:14px 0; color:var(--proto-teal); font-size:13px; }
.prototype-workspace p.prototype-publish-later { padding:12px 15px; border:1px solid #24536b; background:#0b3c4d; border-radius:11px; color:#a1f4e7; margin:16px 0 0; font-size:13px; }
.prototype-workspace .prototype-active-slide .action-links { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.prototype-workspace .prototype-active-slide label { margin-top:12px; }
.prototype-workspace .prototype-active-slide [data-slide-delete] { color:#ffa1b0; border-color:#985261; }
.prototype-workspace #presentation-save { margin-top:16px; float:none; }
.prototype-workspace #presentation-slide-count { font-size:12px; margin-bottom:12px; }
.prototype-workspace .pitch-image-library { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.prototype-workspace .pitch-image-library button { min-width:0; background:#0b2c53; color:#dfefff; border-color:#375978; padding:8px; }
.prototype-workspace .pitch-image-library img { width:100%; height:100px; object-fit:contain; }
.prototype-workspace #presentation-brand { padding:16px; background:#0d2c56; border:1px solid #284b72; border-radius:12px; margin-top:20px; }
.prototype-workspace #presentation-brand > h3 { margin-bottom:16px; }
.prototype-workspace .pitch-colors { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0; }
.prototype-workspace .pitch-colors input[type="color"] { width:100%; height:38px; padding:3px; background:#061a3b; border:1px solid #355274; border-radius:7px; }
.prototype-workspace .pitch-colors label { font-size:12px; }
.prototype-workspace .pitch-colors input[type="checkbox"] { width:16px; height:16px; vertical-align:middle; }
.prototype-style-preview { margin-top:16px; }
.prototype-workspace #team-submission,.prototype-workspace #pitch-practice { margin:20px 0 0; border:1px solid #284b72; padding:16px; border-radius:12px; background:#0b2951; }
.prototype-workspace #team-submission p,.prototype-workspace #pitch-practice p { font-size:13px; margin:8px 0 12px; }
.prototype-workspace [role="alertdialog"] { margin:12px 0; border:1px solid #87623b; background:#302b24; padding:16px; border-radius:12px; }
.prototype-workspace [role="alertdialog"] p { color:#ffdfb3; margin-bottom:12px; }
.prototype-workspace [role="alertdialog"] button { margin:0 8px 8px 0; }

/* Prototype illustrations and interaction states. Shared shell / coach: workshop-design.css. */
.prototype-art { display:block; flex:none; width:190px; max-width:100%; aspect-ratio:1; background:url('/brand/illustrations/prototype-atlas-v2.png') 50% 0 / 300% 200% no-repeat; clip-path:inset(3% 4% 4%); }
.prototype-art-describe { background-position:0 0; }
.prototype-art-images,.prototype-art-visual { background-position:50% 0; }
.prototype-art-presentation { background-position:100% 0; }
.prototype-art-logo { background-position:0 100%; }
.prototype-art-design { background-position:50% 100%; }
.prototype-art-coach { background-position:100% 100%; }
.prototype-major-card { position:relative; }
.prototype-major-card > .prototype-art { width:100%; max-width:230px; align-self:center; margin:-6px 0 0; }
.prototype-card-number { position:absolute; top:15px; left:15px; display:grid; place-items:center; width:39px; height:39px; border-radius:50%; background:var(--proto-teal); color:#03274a; font-weight:800; font-size:22px; z-index:1; }
.prototype-image-types .prototype-major-card > .prototype-art { max-width:200px; margin:-15px 0 -10px; }
.prototype-description-panel .canvas-field {
 display:grid;
 grid-template-columns:56px minmax(0,1fr);
 grid-template-rows:auto 1fr auto auto;
 column-gap:14px;
}
.prototype-description-panel .canvas-field > .prototype-art { grid-row:1 / 3; grid-column:1; width:100%; }
.prototype-description-panel .canvas-field > label { grid-row:1; grid-column:2; margin:0 0 4px; font-size:16px; }
.prototype-description-panel .prototype-field-explanation { grid-row:2; grid-column:2; font-size:13px; line-height:1.5; margin:0 0 12px; }
.prototype-description-panel .canvas-field > :is(input,textarea) { grid-row:3; grid-column:1/-1; }
.prototype-description-panel .canvas-field > .field-help { grid-row:4; grid-column:1/-1; text-align:right; }
.prototype-workspace .prototype-library-filters { gap:7px; margin-bottom:18px; }
.prototype-workspace #prototype-gallery { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; align-items:stretch; }
.prototype-workspace .prototype-gallery .prototype-image { height:145px; }
.prototype-workspace .prototype-gallery [data-current-logo] { color:#003c40; background:#30f4ce; padding:4px 8px; font-weight:750; font-size:10px; border-radius:20px; }
.prototype-workspace .prototype-new-image.button-secondary { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; border:1px dashed #399fd0; background:transparent; min-height:245px; color:#e8f3ff; }
.participant-page .participant-desk .prototype-workspace .prototype-gallery .prototype-image-open { display:block; width:100%; min-height:0; padding:0; margin:0; border:0; border-radius:0; background:transparent; cursor:zoom-in; }
.prototype-image-open .prototype-image { display:block; }
.prototype-workspace .prototype-image-preview { width:min(1280px,calc(100vw - 24px)); max-height:95dvh; }
.prototype-image-preview .prototype-panel-heading { align-items:flex-start; }
.prototype-image-preview .prototype-panel-heading > div { min-width:0; }
.prototype-image-preview .prototype-panel-heading p { overflow-wrap:anywhere; max-height:12dvh; overflow-y:auto; }
.prototype-preview-toolbar { display:flex; justify-content:flex-end; margin:0 0 10px; }
.prototype-preview-stage { display:flex; justify-content:center; align-items:center; overflow:auto; max-height:70dvh; min-height:140px; border:1px solid #185b83; border-radius:12px; background:repeating-conic-gradient(#0a2549 0% 25%,#102f53 0% 50%) 0 0 / 24px 24px; }
.prototype-preview-stage img { display:block; max-width:100%; max-height:70dvh; width:auto; height:auto; object-fit:contain; }
.prototype-preview-stage.is-actual-size { display:block; }
.prototype-preview-stage.is-actual-size img { max-width:none; max-height:none; }
.prototype-new-image > span { display:grid; place-items:center; width:48px; height:48px; border:1px solid #6bd8f3; border-radius:50%; font-size:32px; color:#87e5ff; }
.prototype-workspace .prototype-generator-dialog { width:min(1080px,calc(100vw - 32px)); padding:24px; border:1px solid #329de0; border-radius:18px; background:radial-gradient(ellipse at 40% 0,#07396b66,transparent 60%),#041c40; }
.prototype-generator-dialog::backdrop { background:#000c20ba; backdrop-filter:blur(4px); }
.prototype-workspace .prototype-kind-dialog { width:min(980px,calc(100vw - 32px)); }
.prototype-kind-dialog .prototype-major-card { min-height:0; }
.prototype-kind-dialog .prototype-major-card > .prototype-art { max-width:160px; }
.prototype-generator-dialog > .prototype-panel-heading { align-items:center; border:0; gap:18px; margin-bottom:20px; padding:0; }
.prototype-generator-dialog > .prototype-panel-heading > .prototype-art { width:85px; }
.prototype-generator-dialog > .prototype-panel-heading > div { flex:1; }
.prototype-generator-dialog #prototype-generator-heading { font-size:34px; font-weight:800; }
.prototype-generator-dialog .prototype-generator-layout { grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr); gap:16px; }
.prototype-generator-layout > div > fieldset { counter-reset:prototype-question; }
.prototype-workspace .prototype-question { position:relative; padding:14px 12px 12px; margin:14px 0; border:1px solid #145479; border-radius:13px; background:linear-gradient(130deg,#062c50,#062348); counter-increment:prototype-question; }
.prototype-question legend { padding:0 8px; font-size:16px; display:flex; align-items:center; gap:10px; }
.prototype-question legend::before { content:counter(prototype-question); display:inline-grid; place-items:center; width:31px; height:31px; background:linear-gradient(#24c9e1,#00acb9); color:#032a47; border-radius:50%; font-size:19px; }
.prototype-question[data-prototype-question="type"] .action-links { grid-template-columns:repeat(4,minmax(0,1fr)); }
.prototype-workspace .prototype-question button.button-secondary { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:88px; border-color:#17537c; background:linear-gradient(135deg,#0b3358,#082347); padding:12px 7px; }
.prototype-question .prototype-option-icon { font-size:29px; line-height:1; color:#b2d3ff; }
/* This must override the shared secondary-button appearance as well. */
.participant-page .participant-desk .prototype-workspace .prototype-question button[aria-pressed="true"] { border:2px solid #00eeda; background:linear-gradient(120deg,#00434d,#005565); color:#fff; box-shadow:inset 0 0 18px #00ffdd18,0 0 0 1px #00eeda44; }
.prototype-question button[aria-pressed="true"] .prototype-option-icon { color:#00f1d5; }
.prototype-question button[aria-pressed="true"]::after { content:'✓'; position:absolute; right:5px; top:5px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:#00ead2; color:#03344b; font-size:12px; font-weight:800; }
.prototype-concept-notice { padding:14px; border:1px solid #2696ed; border-radius:12px; background:#052d5d; font-size:12px; line-height:1.6; color:#bfe6ff !important; }
.prototype-concept-notice > span { font-size:22px; color:#32c9ff; padding-right:6px; }
.prototype-workspace .prototype-generator-summary { background:linear-gradient(140deg,#07284e,#052147); border-color:#14577e; }
.prototype-generator-summary > h3 { margin:0 0 12px; font-size:19px; }
.prototype-choice-summary { margin:0; }
.prototype-choice-summary > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:12px; padding:11px 0; border-bottom:1px solid #17486b; font-size:12px; }
.prototype-choice-summary dt { color:#abc8ec; }
.prototype-choice-summary dd { margin:0; color:#eef6ff; overflow-wrap:anywhere; white-space:pre-wrap; }
.prototype-workspace .prototype-generator-art { min-height:0; margin-top:18px; background:radial-gradient(ellipse,#153d7d55,transparent 70%); padding:8px; color:#f2f7ff; }
.prototype-workspace .prototype-generator-art > .prototype-art { width:210px; font-size:inherit; }
.prototype-workspace .prototype-generator-art > strong { font-size:22px; }
.prototype-generator-art p { color:#b3c9e9; }
.prototype-generator-summary meter { display:block; width:100%; height:12px; accent-color:#00e5cf; }
.prototype-workspace .prototype-slide-editor { grid-template-columns:minmax(0,1fr); }
.prototype-workspace .prototype-slide-strip { flex-direction:row; overflow-x:auto; margin:16px 0; padding:3px 2px 10px; }
.prototype-workspace .prototype-slide-strip button { flex:0 0 125px; flex-direction:column; align-items:stretch; }
.prototype-workspace .prototype-slide-strip button > span { min-height:50px; background:linear-gradient(135deg,#e9f6ff,#a6e4ef); }
.prototype-workspace .prototype-presentation-tabs { display:grid; grid-template-columns:1fr 1fr; gap:0; border-bottom:1px solid #235f87; }
.prototype-workspace .prototype-presentation-tabs > button { border-radius:12px 12px 0 0; padding:15px; }
.participant-page .participant-desk .prototype-workspace .prototype-presentation-tabs > button[aria-pressed="true"] { border-color:#00ead2; color:#00ead2; background:linear-gradient(120deg,#00434d,#005565); }
.prototype-workspace .prototype-pitch-style { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:16px; align-items:start; }
.prototype-workspace .prototype-pitch-copy { grid-column:1; padding:18px; border:1px solid #17547b; border-radius:13px; background:linear-gradient(125deg,#082b52,#062449); }
.prototype-workspace .prototype-pitch-copy > label { font-size:20px; margin-bottom:14px; }
.prototype-workspace .prototype-pitch-copy textarea { min-height:170px; }
.prototype-workspace .prototype-pitch-copy > p { font-size:12px; margin:12px 0; }
.prototype-workspace .prototype-pitch-style #presentation-brand { grid-column:1; margin:0; }
.prototype-workspace #presentation-brand { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:12px; align-items:start; }
.prototype-workspace #presentation-brand > h3 { grid-column:1/-1; }
.prototype-workspace #presentation-brand > label[for="presentation-brand-style"] { grid-area:2/1; }
.prototype-workspace #presentation-brand > #presentation-brand-style { grid-area:3/1; }
.prototype-workspace #presentation-brand > label[for="presentation-title-font"] { grid-area:2/2; }
.prototype-workspace #presentation-brand > #presentation-title-font { grid-area:3/2; }
.prototype-workspace #presentation-brand > label[for="presentation-body-font"] { grid-area:2/3; }
.prototype-workspace #presentation-brand > #presentation-body-font { grid-area:3/3; }
.prototype-workspace #presentation-brand > .pitch-colors { grid-column:1/-1; }
.prototype-workspace #presentation-brand > label[for="presentation-brand-logo"],.prototype-workspace #presentation-brand > #presentation-brand-logo { grid-column:1/-1; }
.prototype-workspace #presentation-brand select { min-width:0; padding:10px 5px; font-size:12px; }
.prototype-workspace .prototype-style-preview { grid-column:2; grid-row:1/3; margin:0; padding:18px; border:1px solid #1c5a80; border-radius:13px; background:linear-gradient(125deg,#0b3158,#072749); }
.prototype-style-preview > h3 { font-size:18px; }
.prototype-style-preview > p { margin:8px 0 18px; font-size:13px; }
.prototype-style-preview > .pitch-frame { max-width:100%; margin:0; }
.prototype-preview-navigation { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:18px; color:#b8d6f5; }
.prototype-workspace .prototype-preview-navigation button { min-height:36px; padding:6px 12px; }

@media(min-width:1500px) { .prototype-workspace #prototype-gallery { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:1200px) {
 .prototype-major-card { padding:14px; }
 .prototype-workspace #prototype-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .prototype-workspace .prototype-pitch-style { grid-template-columns:minmax(0,1fr); }
 .prototype-workspace .prototype-style-preview { grid-column:1; grid-row:auto; }
}
@media(max-width:650px) {
 .prototype-major-grid { grid-template-columns:minmax(0,1fr); }
 .prototype-major-card,.prototype-image-types .prototype-major-card { min-height:0; }
 .prototype-major-card > .prototype-art { width:150px; margin:0; }
 .prototype-workspace .canvas-fields { grid-template-columns:minmax(0,1fr); }
 .prototype-panel-heading { flex-wrap:wrap; }
 .prototype-workspace #prototype-quota { max-width:100%; }
 .prototype-workspace #prototype-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .prototype-workspace .prototype-gallery .prototype-image { height:120px; }
 .prototype-workspace .prototype-generator-dialog { width:calc(100vw - 16px); padding:14px; }
 .prototype-generator-dialog #prototype-generator-heading { font-size:25px; }
 .prototype-generator-dialog > .prototype-panel-heading > .prototype-art { width:45px; }
 .prototype-generator-dialog > .prototype-panel-heading { gap:8px; flex-wrap:nowrap; }
 .prototype-generator-dialog .prototype-generator-layout { grid-template-columns:minmax(0,1fr); }
 .prototype-question .action-links,.prototype-question[data-prototype-question="type"] .action-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .prototype-workspace .prototype-generator-summary { position:static; }
 .prototype-workspace .prototype-generator-art { display:none; }
 .prototype-workspace .prototype-pitch-copy,.prototype-workspace .prototype-style-preview { padding:12px; }
 .prototype-workspace #presentation-brand { display:block; }
 .prototype-workspace .prototype-screen-footer { flex-wrap:wrap; }
 .prototype-description-panel .canvas-field { padding:12px; }
 .prototype-workspace .pitch-colors { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* Presentation workflow: overview, one slide per page, review and saved concept. */
.prototype-workspace #team-presentation fieldset { border:0; margin:16px 0 0; padding:0; min-width:0; }
.participant-page .participant-desk .prototype-workspace > .prototype-presentation-heading { padding:0 0 12px; background:none; min-height:0; }
.prototype-workspace .prototype-presentation-heading > :is(.eyebrow,h2,#runner-goal) { display:none; }
.prototype-workspace .prototype-presentation-heading .prototype-back-overview { margin:0; }
.prototype-workspace .presentation-breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:20px; color:#98bbdf; font-size:12px; }
.prototype-workspace .presentation-breadcrumb button { color:var(--proto-teal); padding:7px 12px; }
.prototype-workspace #presentation-heading { font-size:clamp(24px,2.4vw,34px); line-height:1.15; outline:none; }
.prototype-workspace .presentation-outline { padding:18px; border:1px solid #17628a; border-radius:14px; background:linear-gradient(140deg,#062c54,#041e42); }
.prototype-workspace .presentation-outline > h3 { font-size:16px; margin:0 0 14px; }
.participant-page .participant-desk .prototype-workspace .presentation-outline-row { width:100%; display:grid; grid-template-columns:34px 100px minmax(0,1fr) 32px; gap:14px; align-items:center; text-align:left; padding:10px; margin:8px 0 0; min-height:88px; background:linear-gradient(110deg,#0c3564,#062348); border:1px solid #245887; border-radius:12px; color:#f0f6ff; }
.prototype-workspace .presentation-outline-row:hover { border-color:var(--proto-teal); }
.prototype-workspace .presentation-outline-number { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:linear-gradient(#b9d9ff,#70a7f6); color:#052b5d; font-weight:800; }
.prototype-workspace .presentation-outline-thumbnail { display:block; overflow:hidden; border-radius:8px; pointer-events:none; }
.prototype-workspace .presentation-outline-thumbnail .pitch-frame { margin:0; width:100%; max-width:none; border-radius:5px; }
.prototype-workspace .presentation-outline-copy { display:grid; gap:6px; min-width:0; }
.prototype-workspace .presentation-outline-copy strong { font-size:15px; overflow-wrap:anywhere; }
.prototype-workspace .presentation-outline-copy > span { font-size:12px; color:#b4ceee; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
.prototype-workspace .presentation-edit-icon { display:grid; place-items:center; border:1px solid #2d6593; border-radius:8px; width:32px; height:36px; font-size:24px; }
.prototype-workspace .presentation-page-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:20px; }
.prototype-workspace .presentation-empty { display:flex; align-items:center; justify-content:center; gap:18px; color:#b4ceee; }
.prototype-workspace .presentation-empty .prototype-art { width:130px; }
.prototype-workspace .presentation-detail-navigation { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:18px 0; font-size:13px; color:#afd1ef; }
.prototype-workspace .presentation-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:20px; align-items:start; }
.prototype-workspace .presentation-slide-fields,.prototype-workspace .presentation-slide-live { min-width:0; border:1px solid #1d537c; border-radius:12px; padding:16px; background:linear-gradient(140deg,#082c53,#051e3f); }
.prototype-workspace .presentation-slide-fields label:first-child { margin-top:0; }
.prototype-workspace .presentation-slide-fields textarea { min-height:170px; resize:vertical; }
.prototype-workspace .presentation-slide-live { position:sticky; top:16px; }
.prototype-workspace .presentation-slide-live h4 { margin:0 0 14px; font-size:15px; }
.prototype-workspace .presentation-slide-live > button { margin-top:14px; }
.prototype-workspace .presentation-character-count { font-size:11px; color:#a9c6e8; text-align:right; }
.prototype-workspace .presentation-review { padding:18px; border:1px solid #195d88; border-radius:14px; background:linear-gradient(140deg,#062b53,#041e41); }
.prototype-workspace .presentation-review-stage { display:grid; grid-template-columns:36px minmax(0,1fr) 36px; gap:12px; align-items:center; }
.prototype-workspace .presentation-review-stage > .pitch-frame { width:100%; max-width:none; margin:0; border-radius:10px; }
.prototype-workspace .presentation-review-stage > button { display:grid; place-items:center; border-radius:50%; width:36px; height:36px; min-height:36px; padding:0; border-color:#28bce7; }
.prototype-workspace .presentation-position { text-align:center; margin:12px 0; color:#a7c8ed; font-size:12px; }
.prototype-workspace .presentation-filmstrip { display:flex; gap:10px; padding:5px 2px 12px; overflow-x:auto; }
.participant-page .participant-desk .prototype-workspace .presentation-filmstrip > button { position:relative; display:block; flex:0 0 106px; width:106px; padding:3px; min-height:0; border:2px solid #265782; background:#07284e; border-radius:8px; }
.prototype-workspace .presentation-thumbnail-surface { display:block; width:100%; min-width:0; aspect-ratio:16/9; overflow:hidden; border-radius:4px; }
.prototype-workspace .presentation-filmstrip > button[aria-current="true"] { border-color:var(--proto-teal) !important; box-shadow:0 0 0 2px #00e5cf33; }
.prototype-workspace .presentation-filmstrip .pitch-frame { pointer-events:none; width:100%; max-width:none; margin:0; border-radius:4px; }
.prototype-workspace .presentation-filmstrip small { position:absolute; bottom:5px; right:6px; background:#032044df; color:#fff; border-radius:4px; padding:2px 5px; }
.prototype-workspace .presentation-complete { display:flex; align-items:center; flex-direction:column; text-align:center; padding:10px 20px 24px; background:radial-gradient(ellipse at 50% 20%,#163d8666,transparent 65%); }
.prototype-workspace .presentation-complete > img { width:min(350px,80%); height:auto; max-height:300px; object-fit:contain; }
.prototype-workspace .presentation-complete > h3 { font-size:23px; margin:0 0 12px; }
.prototype-workspace .presentation-complete > p { max-width:540px; color:#bcd6ef; line-height:1.65; }
.prototype-workspace .presentation-complete > ul { text-align:left; list-style:none; margin:20px 0 0; padding:18px 24px; border:1px solid #1b5c83; background:#05244b; border-radius:12px; color:#bce4ef; }
.prototype-workspace .presentation-complete li { padding:6px 0; }
.prototype-workspace .presentation-viewer-launch { margin:18px 0; }
.prototype-workspace #team-presentation :focus-visible { outline:3px solid var(--proto-teal); outline-offset:3px; }
@media(max-width:1050px) {
 .prototype-workspace .presentation-detail-grid { grid-template-columns:minmax(0,1fr); }
 .prototype-workspace .presentation-slide-live { position:static; }
}
@media(max-width:650px) {
 .prototype-workspace #team-presentation { padding:12px; }
 .prototype-workspace .presentation-outline { padding:10px; }
 .participant-page .participant-desk .prototype-workspace .presentation-outline-row { grid-template-columns:26px 66px minmax(0,1fr) 24px; gap:8px; padding:8px; min-height:76px; }
 .prototype-workspace .presentation-outline-number { width:26px; height:26px; }
 .prototype-workspace .presentation-edit-icon { width:24px; height:30px; font-size:19px; }
 .prototype-workspace .presentation-outline-copy strong { font-size:12px; }
 .prototype-workspace .presentation-outline-copy > span { font-size:11px; }
 .prototype-workspace .presentation-review { padding:10px; }
 .prototype-workspace .presentation-review-stage { grid-template-columns:28px minmax(0,1fr) 28px; gap:5px; }
 .prototype-workspace .presentation-review-stage > button { width:28px; height:32px; min-height:32px; }
 .prototype-workspace .presentation-page-actions > button { flex:1 1 160px; }
 .prototype-workspace .presentation-complete { padding:8px; }
}
@media(prefers-reduced-motion:reduce) { .prototype-ai-pending span { animation:none; } }

/* Two illustrated entry choices for the prototype phase. */
.prototype-workspace .prototype-mini-steps { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:570px; gap:8px; margin-bottom:18px; }
.prototype-workspace .prototype-mini-steps button { justify-content:center; min-height:43px; gap:12px; border:1px solid #5087b8; border-radius:11px; background:linear-gradient(120deg,#123d68,#0b2b51); color:#e2efff; text-align:center; font-size:.9rem; font-weight:750; }
.prototype-workspace .prototype-mini-steps button[aria-current="step"] { color:#00263b; border-color:#00e4eb; background:linear-gradient(120deg,#00e6e8,#00bdbd); box-shadow:0 0 20px #00dbe515; }
.prototype-choice-icon { display:block; width:27px; height:27px; flex:none; color:inherit; }
.prototype-workspace .prototype-mini-steps button:not([aria-current="step"]) .prototype-choice-icon { color:#a6d8f5; }
.participant-page .participant-desk .prototype-workspace[data-prototype-view="home"] > .prototype-page-heading { padding:0 0 0 10px; margin-bottom:18px; background:none; overflow:visible; }
.participant-page .participant-desk .prototype-workspace[data-prototype-view="home"] .prototype-page-heading h2 { font-size:clamp(1.5rem,2.1vw,1.9rem); line-height:1.2; }
.prototype-workspace[data-prototype-view="home"] .prototype-page-heading > p:last-of-type { margin-top:6px; color:#e1ebf9; font-size:.9rem; }
.prototype-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.prototype-choice-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid #20cdf0; border-radius:18px; background:radial-gradient(ellipse at 55% 15%,#00578640,transparent 70%),linear-gradient(135deg,#052b50,#031a3c); box-shadow:inset 0 0 18px #02bdeb18,0 6px 18px #000d241f; transition:border-color .15s,box-shadow .15s; }
.prototype-choice-card:hover,.prototype-choice-card:focus-within { border-color:#75f1ff; box-shadow:inset 0 0 18px #02d9ed25,0 0 16px #00d6ef22; }
.prototype-choice-art { display:block; width:100%; height:auto; aspect-ratio:520/240; object-fit:contain; }
.prototype-choice-content { display:flex; flex-direction:column; flex:1; gap:12px; padding:0 28px 18px; }
.prototype-workspace .prototype-choice-content h3 { display:flex; align-items:center; gap:12px; color:#f6f9ff; font:750 clamp(1rem,1.5vw,1.3rem)/1.25 var(--workshop-heading,"Segoe UI",sans-serif); letter-spacing:-.025em; }
.prototype-choice-content h3 .prototype-choice-icon { width:30px; height:30px; color:#7aefff; }
.prototype-workspace .prototype-choice-content > p { color:#e5efff; font-size:.9rem; line-height:1.5; margin:0 0 2px; }
.prototype-workspace .prototype-choice-content > button { width:100%; min-height:40px; margin-top:auto; padding:10px 12px; border:1px solid #ffe26d; border-radius:12px; background:linear-gradient(#ffe56a,#ffd000); color:#06213d; font:800 .88rem/1.3 var(--workshop-heading,"Segoe UI",sans-serif); box-shadow:0 3px 0 #8b680f20; }
#participant-context .session-footer-message.prototype-choice-footer-label { display:flex; align-items:center; gap:12px; }
.prototype-choice-footer-label .prototype-choice-icon { width:27px; height:27px; color:#26d8eb; }
#participant-context .participant-session-footer .session-footer-message.prototype-choice-footer-label > strong { color:#f3f7ff; }
.prototype-choice-footer-actions > .button-secondary { background:#071f40; border-color:#7695b8; color:#f3f7ff; }
@media(max-width:650px) {
 .prototype-choice-grid { grid-template-columns:1fr; gap:16px; }
 .prototype-choice-content { padding:0 20px 20px; }
 .prototype-choice-art { max-height:210px; }
 .prototype-workspace .prototype-mini-steps button { padding:10px 8px; gap:7px; font-size:.8rem; }
 .prototype-mini-steps .prototype-choice-icon { width:23px; height:23px; }
 .participant-page .participant-desk .prototype-workspace[data-prototype-view="home"] > .prototype-page-heading { padding-left:0; }
}
@media(prefers-reduced-motion:reduce) { .prototype-choice-card { transition:none; } }

.prototype-workspace[data-prototype-view="home"] #runner-goal { clear:both; }

.prototype-workspace .prototype-description-review-help { margin-top:18px; padding:12px 15px; border:1px solid #1b778b; border-radius:12px; color:#c9f6f6; font-size:.9rem; line-height:1.6; background:#07334a; }
.prototype-description-panel .canvas-field[data-canvas-field="appearance"] { grid-column:auto; }
.prototype-description-review-action { margin:10px 0; }
.prototype-description-review-action > button { width:100%; min-height:44px; }
.prototype-description-review-action .field-help { margin:6px 0 0; color:#e6d498; font-size:.8rem; line-height:1.5; }

.prototype-art-moodboard { background-position:50% 0; }
.prototype-moodboard-step { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; margin-bottom:18px; border:1px solid #00d5d4; border-radius:18px; background:linear-gradient(130deg,#073f58,#071f42); }
.prototype-moodboard-step > div { min-width:0; flex:1; }
.prototype-workspace .prototype-moodboard-step h3 { margin:10px 0; font-size:1.5rem; }
.prototype-workspace .prototype-moodboard-step p { color:#cfebf7; line-height:1.6; margin:0 0 16px; }
.prototype-moodboard-step > .prototype-art { width:180px; }
.prototype-workspace .prototype-moodboard-preview { flex:0 0 200px; padding:0; overflow:hidden; border-color:#22ddd0; }
.prototype-moodboard-preview img { display:block; width:200px; height:170px; object-fit:contain; }
.prototype-workspace .prototype-moodboard-next { margin:14px 0; color:#c9f4eb; line-height:1.6; }
.prototype-reference-choice { padding:14px; margin:16px 0; border:1px solid #00bdb4; border-radius:12px; background:#07384c; }
.prototype-workspace .prototype-reference-choice label { display:flex; align-items:center; gap:10px; }
.prototype-workspace .prototype-reference-choice input[type="checkbox"] { width:20px; height:20px; flex:none; margin:0; accent-color:#00d8c4; }
.prototype-workspace .prototype-reference-choice p { margin:8px 0; font-size:.85rem; color:#c6e6f2; }
.prototype-kind-dialog .prototype-major-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
@media(max-width:650px) { .prototype-moodboard-step { flex-direction:column; align-items:stretch; padding:18px; } .prototype-moodboard-step > .prototype-art { display:none; } .prototype-workspace .prototype-moodboard-preview { flex:auto; align-self:center; } }

.prototype-reference-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:280px; overflow:auto; padding:4px; }
.prototype-workspace .prototype-reference-choice .prototype-reference-item { display:flex; align-items:center; gap:10px; padding:10px; margin:0; min-width:0; border:1px solid #245e7a; border-radius:10px; background:#062943; cursor:pointer; }
.prototype-reference-item:has(input:checked) { border-color:#22dbc6!important; background:#09464d!important; }
.prototype-reference-item:has(input:focus-visible) { outline:3px solid #ffda43; outline-offset:1px; }
.prototype-reference-item img { width:54px!important; height:54px!important; object-fit:contain; flex:none; }
.prototype-reference-item > span { min-width:0; }
.prototype-reference-item strong { display:block; color:#e4f5ff; font-size:.85rem; }
.prototype-reference-item small { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:#b8d6e5; font-size:.75rem; line-height:1.4; overflow-wrap:anywhere; }
@media(max-width:650px) { .prototype-reference-grid { grid-template-columns:1fr; } }
