/* A readable first-use path, with the 3D canvas kept visible on small screens. */
[hidden] { display: none !important; }
.product-offer { width: min(1040px,calc(100% - 40px)); margin: 48px auto; padding: 30px 0; }
.offer-eyebrow { color: #3075b9; font-size: 13px; font-weight: 600; }
.product-offer h2 { font-size: 30px; margin: 12px 0; }
.product-offer p { color: #607388; line-height: 1.8; }
.sample-gallery,.offer-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.sample-gallery figure { margin: 0; border: 1px solid #dae3ec; background: white; border-radius: 18px; overflow: hidden; }
.sample-gallery img { width: 100%; display: block; }
.sample-gallery figcaption { padding: 14px; color: #526c85; font-size: 13px; }
.offer-plans article { background: white; border: 1px solid #dae3ec; padding: 25px; border-radius: 18px; }
.offer-price { font-size: 23px; color: #234a71 !important; font-weight: 600; }
.offer-foot { font-size: 12px; }
.access-card { max-width: 470px; }
.access-card input { width: 100%; min-height: 43px; padding: 10px; border: 1px solid #ccd8e5; border-radius: 10px; margin: 9px 0; }
.access-card form { margin: 24px 0 16px; }
.access-help { font-size: 12px; line-height: 1.7; color: #647b93; }
.legal-page { overflow: auto; user-select: text; }
.legal-page main { max-width: 820px; margin: 45px auto; padding: 25px; line-height: 1.9; }
@media(max-width:640px){.sample-gallery,.offer-plans{grid-template-columns:1fr;}#access-home-btn{display:block !important;} .topbar .brand-name{display:none;} .topbar-right #access-work-btn{font-size:11px;} .product-offer h2{font-size:25px;} }
.hero-subtitle { max-width: 560px; margin: 18px auto 28px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.first-steps { display: flex; justify-content: center; gap: 28px; margin: 24px 0 16px; color: var(--ink-2); font-size: 14px; }
.first-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 5px; border-radius: 50%; background: #e7eef8; color: #2461a8; }
.practice-entry { border: 1px solid #c8daef; background: #f1f7ff; color: #205c9f; border-radius: 14px; padding: 13px 22px; cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1.6; font-weight: 600; }
.practice-entry span { display: block; font-size: 12px; font-weight: 400; color: #52749a; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.workspace-heading .panel-title { margin-bottom: 0; font-size: 18px; }
.beginner-badge { font-size: 11px; color: #4e6580; background: #edf3fa; padding: 4px 7px; border-radius: 7px; white-space: nowrap; }
.stage-tabs { display: flex; gap: 5px; margin: 18px 0 20px; }
.stage-tabs button { flex: 1; min-height: 42px; border: 0; background: #eef1f5; color: #556473; border-radius: 11px; cursor: pointer; font: inherit; font-size: 13px; }
.stage-tabs b { display: inline-block; margin-right: 4px; }
.stage-tabs [aria-current] { background: #e1eeff; color: #0965c4; box-shadow: inset 0 0 0 1px #bfdbfa; }
.stage-tabs button:disabled { opacity: .5; cursor: default; }
.beginner-stage .section-title { margin-top: 8px; font-size: 16px; }
.composer .send-btn { width: auto; border-radius: 11px; padding: 0 13px; font: inherit; font-size: 12px; }
.composer .send-btn svg { display: none; }
.prompt-suggestions, .quick-edits { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.prompt-suggestions button, .quick-edits button { min-height: 36px; border: 1px solid #d9e2ed; background: #f9fbfe; color: #294a6c; border-radius: 9px; padding: 7px 10px; cursor: pointer; font: inherit; font-size: 12px; }
.selection-scope { background: #eff6ff; border-left: 3px solid #5a99df; border-radius: 8px; padding: 10px 12px; margin: 12px 0; color: #31577e; font-size: 13px; line-height: 1.6; }
.download-option { display: block; width: 100%; text-align: left; padding: 16px; margin: 10px 0; border: 1px solid #d8e2ed; background: #f9fbfe; border-radius: 13px; cursor: pointer; color: #243c55; font: inherit; }
.download-option strong, .download-option span { display: block; }
.download-option strong { font-size: 14px; margin-bottom: 6px; }
.download-option span { font-size: 12px; color: #677b91; line-height: 1.6; }
.download-option:disabled { opacity: .55; cursor: default; }
.help-btn { width: auto; min-width: 76px; padding: 0 13px; border-radius: 12px; font-size: 13px; }
#parts-toggle { display: none; }
.scene-instructions { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); text-align: center; font-size: 12px; line-height: 1.6; color: #687c92; pointer-events: none; z-index: 2; }
.scene-instructions span { display: none; }
body.view-start .scene-instructions { display: none; }
body:not(.advanced) #tool-move, body:not(.advanced) #tool-rotate, body:not(.advanced) #tool-scale, body:not(.advanced) #redo-btn { display: none; }
body:not(.advanced) #done-card { display: none; }
body:not(.advanced) .done-purpose { display: none; }
body:not(.advanced) .ai-note { display: none; }
body:not(.advanced) #tree-block { margin-top: 16px; }
.tree-summary { font-size: 13px; }
.model-line { flex-wrap: wrap; }
.tutorial { z-index: 200; padding: 20px; }
.tutorial-card { width: min(500px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 30px; }
.tutorial-eyebrow { margin: 0 0 10px; color: #2873bf; font-size: 13px; font-weight: 600; }
#tutorial-intro { color: #536679; font-size: 14px; line-height: 1.7; }
.tutorial-list { margin: 22px 0; gap: 16px; }
.tutorial-list li { font-size: 14px; line-height: 1.7; }
.tutorial-list strong { color: #243e58; }
.tutorial-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tutorial-actions .tutorial-btn { margin: 0; flex: 1; }
.tutorial-actions .ghost-btn { flex: 1; }
.practice-coach { border: 1px solid #c9ddf5; background: #f2f7ff; border-radius: 15px; padding: 17px; }
.coach-top { display: flex; justify-content: space-between; align-items: center; color: #2d6eb0; font-size: 12px; }
.coach-top button { border: 0; background: none; color: #637a93; font: inherit; cursor: pointer; padding: 5px; }
.practice-coach h2 { margin: 16px 0 10px; font-size: 18px; color: #243f5a; }
.practice-coach p { font-size: 13px; color: #536c85; line-height: 1.7; }
.beginner-primary { width: 100%; min-height: 42px; border: 0; background: #1573d3; color: white; border-radius: 11px; font: inherit; font-size: 14px; cursor: pointer; padding: 10px; }
.coach-safe { margin-bottom: 0; font-size: 11px !important; }
body.tutorial-practice .beginner-stage, body.tutorial-practice #done-card, body.tutorial-practice .adv-block { display: none !important; }
body.practice-export #export-stage { display: block !important; }
button:focus-visible, summary:focus-visible { outline: 3px solid #428cde; outline-offset: 3px; }
.tutorial-card, .composer-hint, .practice-coach p, .selection-scope { user-select: text; }
@media (max-width: 1080px) { .scene-instructions { top: 76px; } }
@media (max-width: 920px) {
  #parts-toggle { display: inline-flex; }
  .panel-right { display: none; top: 70px; bottom: auto; max-height: 42dvh; z-index: 20; }
  body.parts-open .panel-right { display: block; }
  .panel-left { height: 34dvh; max-height: 34dvh; bottom: 12px; }
  .panel-left .panel-scroll { padding: 16px; }
  .stage-tabs { margin: 10px 0 12px; }
  .stage-tabs button { min-height: 36px; }
  .scene-instructions { top: 76px; padding: 7px 12px; background: #ffffffc9; border-radius: 12px; width: max-content; }
  .scene-instructions span { display: block; font-size: 11px; }
  .practice-coach h2 { margin-top: 10px; }
  body.tutorial-practice .panel-left { height: 40dvh; max-height: 40dvh; }
  .viewbar { display: none; }
  .first-steps { gap: 12px; font-size: 12px; }
  .hero-subtitle { font-size: 15px; padding: 0 12px; }
  .practice-entry { max-width: 90%; }
}
@media (max-width: 640px) {
  .start-actions #start-tutorial-btn { display: block !important; }
  .start-actions { gap: 4px; }
  .start-top { padding: 20px 14px; }
  .brand-tagline { display: none; }
  .topbar { padding: 0 10px; }
  .topbar .brand-name { font-size: 13px; }
  .topbar-right { gap: 5px; }
  .topbar-right .top-btn { padding: 0 8px; font-size: 12px; }
  #advanced-toggle-btn { display: none; }
  .help-btn { min-width: 0; }
  .hero-title { font-size: 34px; }
  .tutorial-card { padding: 23px; }
  .tutorial-title { font-size: 23px; }
}
