body { background: #f7f9f8; }
body .page { max-width: 960px; padding-top: 28px; }
body .topbar { margin-bottom: 28px; }
body .card { box-shadow: none; border: 1px solid #e1e7e3; padding: 28px; margin-bottom: 24px; }
body .section-title { font-size: 20px; }
body .new-class-card .section-title { margin-bottom: 24px; }
body .source-tabs { gap: 8px; margin-bottom: 16px; }
body .source-tab { border-radius: 6px; font-size: 14px; }
body .library-head { margin-bottom: 20px; }
body .storage-notice { margin: -8px 0 18px; padding: 0; border: 0; background: none; font-weight: 400; font-size: 12px; color: #7a887f; }
body .class-card { box-shadow: none; }
body .more-options, body .web-art-tools { border: 0; border-top: 1px solid #e8ede9; border-radius: 0; background: none; padding: 14px 0; margin: 16px 0; }
body .more-options > summary, body .web-art-tools > summary { font-size: 13px; font-weight: 500; color: #728178; cursor: pointer; }
body .web-art-tools > .scene-evidence-actions { margin-top: 18px; }
body .gemini-action { margin: 20px 0; padding: 0; background: none; border: 0; }
body .gemini-start-btn { font-size: 14px; border-radius: 8px; background: #eef4f0; color: #30634d; border: 1px solid #d8e4dc; box-shadow: none; }
body .gemini-guide { font-size: 13px; color: #6f7d74; }
body .gemini-answer .step-label { font-size: 13px; font-weight: 500; }
body .wizard-progress { margin-bottom: 24px; }
body .wizard-actions { margin-top: 28px; }
body .wizard-step > .section-title { margin-bottom: 24px; }
body .gemini-answer textarea { min-height: 200px; }
/* Keep the projector canvas and its native video sizing untouched. */
body:has(#currentStepText) .page { max-width: none; padding-top: 0; }
@media (max-width: 760px) { body .page { padding: 16px; } body .card { padding: 20px; } }

.web-capture-dialog { width: min(440px, calc(100vw - 40px)); box-sizing: border-box; border: 1px solid #d8e1df; border-radius: 18px; padding: 28px; color: #172d29; background: #fff; box-shadow: 0 16px 70px #102c2933; }
.web-capture-dialog::backdrop { background: #102c2970; }
.web-capture-dialog h2 { font-size: 22px; margin: 0 0 16px; }
.web-capture-dialog p { line-height: 1.6; margin: 0 0 20px; }
.web-capture-dialog a, .web-capture-dialog button { display: block; box-sizing: border-box; width: 100%; text-align: center; padding: 12px; margin-top: 10px; border-radius: 10px; font: inherit; }
.web-capture-dialog a[hidden] { display: none; }
.web-capture-dialog .web-capture-open { background: #176954; color: white; font-weight: 700; text-decoration: none; }
.web-capture-dialog button { background: #f1f5f4; border: 1px solid #d8e1df; cursor: pointer; }
