/* Shared reading sizes and spacing for the live site and design examples. */
:root { --muted: #536a63; }
body { font-size: 18px; line-height: 1.65; }
button, .btn, input, select, textarea { font-size: 17px; line-height: 1.5; }
small { font-size: 15px; }
button, .btn { min-height: 42px; }
p { line-height: 1.85; }
.brand small { color: #536a63; letter-spacing: .6px; }
.field, .check-row { font-size: 17px; color: #405c51; }
.field input, .field select, .field textarea { font-size: 17px; padding: 12px; line-height: 1.6; }
.field small, .page-note, .form-error, .upload-note { font-size: 15px; line-height: 1.8; }
.page-note, .breadcrumbs, .side-heading, .sidebar-foot .small-note { color: #536a63; }
.public-links a, .app-top-center a, .sidebar .side-link { font-size: 17px; }
.side-heading { font-size: 15px; letter-spacing: .4px; }
.sidebar .side-link { padding: 12px; }
.app-layout { grid-template-columns: 246px minmax(0, 1fr); }
.app-top { min-height: 84px; height: auto; padding-block: 12px; }
.public-nav { min-height: 84px; height: auto; }
.public-links { gap: 24px; margin-left: 16px; }
.public-links a { height: auto; min-height: 84px; }
.app-top .account, .nav-end, .inline-buttons { flex-wrap: wrap; }
.page-heading { flex-wrap: wrap; }
.page-heading > div { min-width: 0; }
.page-heading p, .workspace-banner p, .notice, .empty p { font-size: 16px; }
.creation-tile strong, .work-body h3 { font-size: 19px; }
.feature-link strong { font-size: 18px; }
.feature-link small, .creation-tile p { font-size: 15px; line-height: 1.75; }
.feature-link, .creation-tile, .work-card, .setting-panel { min-width: 0; }
.feature-link > div, .creation-tile p, .creation-tile strong { min-width: 0; overflow-wrap: anywhere; }
.feature-link .icon, .notice > .icon, .number-list b { flex-shrink: 0; }
.home-features { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.work-footer { flex-wrap: wrap; line-height: 1.65; }
.setting-panel h2 { font-size: 22px; }
.setting-panel > p { font-size: 17px; }
.file-table th, .file-table td { font-size: 16px; line-height: 1.75; }
.file-name strong { font-size: 17px; }
.file-table button, .app-cards .work-footer button { font-size: 16px; }
.number-list b { min-width: 36px; height: 36px; }
.modal-heading { gap: 16px; }
.modal-heading h2 { font-size: 24px; }
.modal-body { line-height: 1.8; }
.modal-footer { flex-wrap: wrap; }
.modal-footer small { max-width: none; font-size: 15px; }
.modal-footer button { font-size: 17px; }
.auth-card { max-width: 560px; padding: 36px; }
.auth-card h1 { font-size: 30px; }
.stage-caption { max-width: calc(100% - 100px); white-space: normal; text-align: center; line-height: 1.65; }
.stage-label { max-width: calc(100% - 120px); }
.stage-label small { font-size: 15px; line-height: 1.65; }
.stage-tools button { width: 42px; height: 42px; }
.stage-status { flex-wrap: wrap; }
.viewer-thumbs span { line-height: 1.4; }
.viewer-nav button, .viewer-nav > div:last-child .btn { font-size: 15px !important; }
.editor-top { height: auto; min-height: 76px; padding-block: 10px; flex-wrap: wrap; }
.editor-layout { grid-template-columns: 82px 230px minmax(0, 1fr) 320px; height: calc(100vh - 76px); }
.editor-rail button { font-size: 15px; }
.editor-tabs { height: auto; min-height: 54px; overflow-x: auto; }
.editor-tabs button { white-space: nowrap; font-size: 16px; }
.editor-inspector h3 { font-size: 18px; }
.editor-inspector .field, .editor-inspector button.wide { font-size: 16px; }
.editor-scenes h3 { flex-wrap: wrap; gap: 8px; }
.map-mini { line-height: 1.3; }
.model-info { flex-wrap: wrap; }
.storage-plan > .muted, .storage-plan-price small, .storage-summary-row { font-size: 16px; }
.upload-row { flex-wrap: wrap; }

/* Live cloud editor, viewer, and administration. */
.cloud-editor { line-height: 1.6; }
.cloud-editor-body { grid-template-columns: 220px minmax(0, 1fr) 350px; }
.cloud-edit-header { flex-wrap: wrap; }
.cloud-edit-header .project-heading small { font-size: 15px; }
.cloud-edit-header .inline-buttons { margin-left: auto; }
.cloud-scene span { font-size: 16px; }
.cloud-inspector { padding: 22px; }
.cloud-inspector h2 { font-size: 22px; }
.cloud-inspector .tabs button { font-size: 17px; min-width: 0; white-space: normal; }
.cloud-inspector .two-fields { gap: 14px; }
.pin-row { flex-wrap: wrap; gap: 8px; }
.pin-row > span { flex: 1 1 100%; font-size: 16px; }
.pin-row button { font-size: 16px; padding: 6px 12px; }
.cloud-pins button { font-size: 16px; }
.cloud-view-header h1 { font-size: 23px; overflow-wrap: anywhere; }
.cloud-view-header small { font-size: 15px; }
.cloud-scene-strip span { font-size: 16px; }
.cloud-scene-strip button { min-width: 150px; }
.admin-table { font-size: 16px; line-height: 1.75; min-width: 850px; }
.admin-table th, .admin-table td { padding: 16px 14px; }
.admin-table button { font-size: 16px; padding: 8px 12px; }
.work-body .muted, .upload-row small { font-size: 15px; }
.cloud-view-stage .stage-tools { bottom: 24px; }
.share-box input { font-size: 17px; }

@media (max-width: 1200px) {
  .app-layout { grid-template-columns: 224px minmax(0, 1fr); }
  .public-nav { gap: 18px; padding-inline: 24px; }
  .public-links { gap: 18px; margin-left: 0; }
  .home-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .creation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-editor-body { grid-template-columns: 170px minmax(0, 1fr) 320px; }
  .editor-layout { grid-template-columns: 72px 180px minmax(0, 1fr) 300px; }
  .main-content { padding-inline: 26px; }
}
@media (max-width: 1000px) {
  .app-top .preview-label { display: none; }
  .setting-grid { grid-template-columns: minmax(0, 1fr); }
  .editor-layout { grid-template-columns: 72px 180px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .app-layout { display: block; }
  .app-top { min-height: 76px; padding: 12px 16px; gap: 12px; }
  .public-nav { min-height: 76px; padding: 10px 16px; gap: 10px; }
  .public-nav .brand small, .app-top .brand small { display: none; }
  .public-nav .nav-end { gap: 8px; }
  .sidebar .side-link { font-size: 17px; padding: 10px 14px; flex-shrink: 0; }
  .main-content { padding: 26px 18px 80px; }
  .home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-link { flex-wrap: wrap; align-content: start; padding: 14px; }
  .feature-link strong { font-size: 18px; }
  .hero p { font-size: 18px; }
  .hero-actions .btn { font-size: 17px; }
  .hero-caption { position: relative; inset: auto; margin: 0 20px 24px; }
  .section-title { align-items: start; flex-wrap: wrap; gap: 12px; }
  .section-title p, .section-title .text-button { font-size: 16px; }
  .creation-tile { display: block; padding: 18px 14px; }
  .creation-tile > .icon { margin-bottom: 12px; }
  .creation-tile strong { font-size: 18px; }
  .page-heading .btn, .filter { font-size: 16px; }
  .auth-wrap { padding: 24px 16px; }
  .auth-card { padding: 26px 22px; }
  .auth-card h1 { font-size: 28px; }
  .cloud-edit-header > .inline-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cloud-edit-header > .inline-buttons button { font-size: 16px; padding: 10px 6px; white-space: normal; }
  .cloud-editor-body { display: flex; }
  .cloud-scenes { flex-shrink: 0; }
  .cloud-scenes #scene-list { display: flex; gap: 12px; flex-shrink: 0; }
  .cloud-scenes .cloud-scene { min-width: 160px; max-width: 160px; flex: 0 0 160px; }
  .cloud-scenes .add-scene { width: 120px; min-width: 120px; flex-shrink: 0; align-self: stretch; margin-bottom: 0; white-space: normal; }
  .cloud-inspector { padding: 24px 20px; }
  .cloud-stage .stage-label { max-width: calc(100% - 44px); font-size: 16px; }
  .cloud-stage .stage-caption { bottom: 14px; left: 14px; transform: none; max-width: calc(100% - 85px); border-radius: 12px; padding: 8px 12px; }
  .cloud-stage .stage-tools { right: 12px; bottom: 18px; }
  .cloud-view-header { gap: 12px; flex-wrap: wrap; padding: 14px; }
  .cloud-view-header > div { min-width: 120px; }
  .cloud-view-header h1 { font-size: 20px; }
  .cloud-view-header .btn { font-size: 15px; padding: 8px 12px; }
  .cloud-view .cloud-scene-strip button { min-width: 130px; }
  .quota-cards { grid-template-columns: minmax(0, 1fr); }
  .editor-layout { display: flex; height: auto; min-height: calc(100dvh - 90px); }
  .editor-top .inline-buttons .btn { font-size: 15px; padding: 9px; }
  .editor-title strong { font-size: 17px; }
  .editor-rail { min-height: 60px; height: auto; overflow-x: auto; justify-content: start; }
  .editor-rail button { font-size: 15px; padding: 10px 14px; }
  .editor-scenes { height: 155px; }
  .scene-card span { font-size: 15px; }
  .editor-main { min-height: 480px; }
  .editor-main .stage { min-height: 350px; }
  .modal-heading, .modal-body { padding: 22px 18px; }
  .modal-footer { padding: 18px; }
  .setting-panel .inline-buttons .btn, .setting-panel .inline-buttons button { font-size: 16px; }
  .order-sheet > div, .capacity-legend { font-size: 16px; }
  .capacity-legend { flex-wrap: wrap; }
  .public-footer { align-items: start; flex-wrap: wrap; font-size: 15px; }
}
