/* Rendered components for the Merx Studio application.
   Load after styles.css. All main surfaces intentionally remain white. */

button.text-link { padding: 0; border: 0; background: #fff; text-align: left; }
.btn.icon-btn { width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 10px; }
.full-width { grid-column: 1 / -1; }
.section-eyebrow { display: block; margin-bottom: 13px; color: var(--blue); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.field > span:first-child { color: #55555e; font-size: 12px; font-weight: 500; line-height: 1.5; }
.site-header .brand { gap: 9px; }
.site-header .brand-mark { display: grid; place-items: center; color: var(--blue); }
.site-header .brand-mark svg { width: 28px; height: 28px; }
.site-header .brand-name { padding: 0; border: 0; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -.055em; line-height: 1.2; }
.site-header .brand-name > span { color: #676770; font-weight: 400; letter-spacing: -.045em; }
.brand-dot { font-style: normal; }
.site-header .site-nav { margin-inline: auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; gap: 12px; }
.header-docs { display: flex; align-items: center; justify-content: center; width: 30px; height: 34px; border-radius: 9px; color: #81818b; background: #fff; }
.header-docs svg { width: 17px; height: 17px; }
.profile-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid #dfe6ef; border-radius: 50%; background: #f4f7fb; color: #55789f; font-size: 11px; font-weight: 600; }
.header-actions .preview-badge { padding: 2px 7px; min-height: 21px; background: #f5f6f8; color: #797983; border: 1px solid #e9e9ee; font-size: 9px; font-weight: 400; }
.header-actions .btn.ghost { color: #63636d; }
.eyebrow-dot { display: inline-block; width: 5px; height: 5px; margin-right: 6px; margin-bottom: 2px; border-radius: 50%; background: var(--blue); }
.prompt-hero .hero-title > span { color: var(--blue); }
.prompt-hero .hero-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; max-width: 100%; margin-top: 21px; color: #76767e; font-size: 10px; line-height: 1.6; }
.prompt-hero .hero-note svg { width: 12px; height: 12px; }
.composer-options { display: flex; align-items: center; gap: 9px; min-width: 0; color: #777781; }
.composer-options > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 10px; line-height: 1.5; }
.composer-options > span svg { width: 13px; height: 13px; color: #8394aa; }
.composer-options .btn.icon-btn { width: 30px; min-width: 30px; min-height: 30px; height: 30px; color: #82828c; background: #fff; }
.send-button { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; padding: 0; border: 1px solid var(--blue); border-radius: 13px; background: var(--blue); color: #fff; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.send-button svg { width: 19px; height: 19px; }
.send-button:disabled { border-color: #e7e9ee; background: #edf0f5; color: #adb6c2; }
.send-button:active:not(:disabled) { transform: translateY(1px); }
.composer-input:disabled { color: var(--muted); background: #fafbfd; }

/* Editorial landing sections, consistent with the white BeMerx site. */
.inspiration-section { padding-block: 8px 76px; }
.inspiration-section .section-heading h2, .recent-section .section-heading h2 { font-size: clamp(28px, 3vw, 39px); letter-spacing: -.045em; }
.inspiration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.inspiration-card { display: flex; align-items: stretch; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #e5e8ee; border-radius: 23px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 2px 5px rgb(20 30 50 / 2%); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.inspiration-art { min-width: 0; overflow: hidden; border-bottom: 1px solid #e8ecf2; background: #f1f6fc; }
.analytic-illustration { display: block; width: 100%; height: auto; aspect-ratio: 400 / 210; flex-shrink: 1; }
.inspiration-body { display: flex; flex: 1; align-items: flex-start; justify-content: space-between; gap: 16px; min-width: 0; padding: 23px; }
.inspiration-body > div { min-width: 0; }
.inspiration-body h3 { color: #313139; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.inspiration-body p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.card-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; margin-top: -1px; border: 1px solid #e9edf3; border-radius: 50%; background: #fff; color: #91a2b6; }
.card-arrow svg { width: 15px; height: 15px; }
.recent-section { padding-block: 0 76px; }
.journey-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 80px; padding-block: 84px 91px; border-top: 1px solid var(--line); }
.journey-copy { max-width: 490px; }
.journey-copy h2 { font-size: clamp(33px, 3.5vw, 46px); line-height: 1.13; letter-spacing: -.052em; }
.journey-copy > p { max-width: 420px; margin-top: 23px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.journey-copy .text-link { margin-top: 25px; }
.journey-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 33px; }
.journey-step { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.journey-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 39px; height: 39px; border: 1px solid #e7edf5; border-radius: 12px; background: #f5f9fe; color: #5686b7; }
.journey-icon svg { width: 20px; height: 20px; }
.journey-step small { display: block; margin: 0 0 6px; color: #8f969f; font-size: 9px; font-variant-numeric: tabular-nums; }
.journey-step h3 { color: #42424b; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.journey-step p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.site-footer.container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 23px; }
.footer-brand { color: var(--ink); font-size: 23px; font-weight: 650; letter-spacing: -.065em; }
.footer-brand span { color: var(--blue); }
.site-footer.container > p { font-size: 11px; color: #777780; }
.site-footer.container > div { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 11px; }
.site-footer.container > div > span { color: #85858e; font-size: 10px; }

/* Exact constructor markup. The mobile switch occupies its own 43px row. */
.builder { background: #fff; }
.builder-title-area { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.builder-title-area > div { min-width: 0; }
.builder-title-area > .status { flex: 0 0 auto; font-size: 10px; font-weight: 400; }
.back-button { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 32px; border: 1px solid transparent; border-radius: 9px; background: #fff; color: #9999a3; }
.back-button svg { width: 16px; height: 16px; transform: rotate(180deg); }
button.builder-project-title { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; max-width: 100%; padding: 0; border: 0; background: #fff; color: #36363f; font-size: 13px; font-weight: 500; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
button.builder-project-title svg { width: 12px; height: 12px; color: #a0a0aa; }
.save-indicator { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: #7c828c; font-size: 9px; line-height: 1.4; }
.save-indicator svg { width: 11px; height: 11px; color: #8eaaa0; }
.builder-header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; }
.builder-header-actions .btn { font-size: 11px; }
.mobile-builder-tabs { display: none; }
.chat-header > div { display: flex; align-items: center; gap: 8px; }
.chat-header > div > svg { width: 16px; height: 16px; color: var(--blue); }
.chat-mode-dot { width: 6px; height: 6px; border: 1px solid #c8d2df; border-radius: 50%; background: #fff; }
.chat-bottom { flex: 0 0 auto; position: relative; padding: 0 17px 11px; border-top: 1px solid #f2f2f5; background: #fff; }
.context-strip { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 35px; padding: 8px 4px; color: #83838e; font-size: 9px; line-height: 1.4; }
.context-strip > svg { width: 12px; height: 12px; color: #98a4b4; }
.context-strip > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 75%; }
.chat-bottom .chat-composer { position: static; margin: 0; padding: 0; border: 1px solid #dbdfe6; border-radius: 18px; background: #fff; box-shadow: 0 4px 13px -9px rgb(20 30 50 / 15%); transition: border-color .16s ease, box-shadow .16s ease; }
.chat-bottom .chat-composer:focus-within { border-color: #a2c6ed; box-shadow: 0 0 0 3px rgb(0 113 227 / 4%); }
.chat-bottom .chat-composer > .composer-input { min-height: 82px; max-height: 170px; padding: 15px 15px 8px; border: 0; border-radius: 17px; font-size: 13px; line-height: 1.7; }
.chat-bottom .chat-composer > .composer-footer { padding: 6px 10px 10px; }
.chat-bottom .composer-options { gap: 5px; }
.chat-bottom .composer-options > span { font-size: 9px; gap: 4px; }
.chat-bottom .composer-options > span svg { width: 11px; height: 11px; }
.chat-bottom .send-button { width: 32px; height: 32px; border-radius: 10px; }
.chat-bottom .send-button svg { width: 16px; height: 16px; }
.composer-hint { margin-top: 7px; color: #85858f; font-size: 9px; line-height: 1.5; text-align: center; }
.message-avatar svg { width: 14px; height: 14px; }
.chat-message.user { position: relative; padding-top: 15px; }
.user-message-label { position: absolute; top: 0; right: 3px; color: #85858e; font-size: 9px; line-height: 1.4; }
.message-footnote { display: block; margin-top: 10px; color: #7d848e; font-size: 9px; line-height: 1.6; }
.message-content .change-list { gap: 7px; padding: 11px 12px; border: 1px solid #e4edf6; border-radius: 11px; background: #f9fcff; }
.message-content .change-list > div { color: #5c7795; font-size: 11px; }
.message-content .change-list svg { width: 12px; height: 12px; color: #7e9bbb; }
.builder-empty > .brand-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border: 1px solid #e5eef8; border-radius: 15px; background: #f6faff; color: #7eabd8; }
.builder-empty > .brand-mark svg { width: 23px; height: 23px; }
.builder-empty h2 { font-size: 23px; }
.chat-starters { display: grid; gap: 8px; width: min(100%, 310px); margin-top: 9px; }
.chat-starters .suggestion { justify-content: flex-start; width: 100%; padding: 10px 13px; border-radius: 11px; background: #fff; font-size: 11px; }
.chat-starters .suggestion > svg:last-child { margin-left: auto; color: #acb9c8; }
.assistant-thinking > span:not(.message-avatar) { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.assistant-thinking i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #a3b4c8; animation: merx-thinking 1.3s ease-in-out infinite; }
.assistant-thinking i:nth-of-type(2) { animation-delay: .15s; }
.assistant-thinking i:nth-of-type(3) { animation-delay: .3s; }
.preview-content > .preview-toolbar { align-items: flex-start; margin-bottom: 21px; padding: 0; border: 0; background: #fff; min-height: auto; }
.preview-content > .preview-toolbar > div:first-child { min-width: 0; }
.preview-toolbar .section-eyebrow { margin-bottom: 8px; font-size: 9px; letter-spacing: .1em; }
.preview-toolbar h2 { max-width: 540px; color: #35353d; font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.045em; overflow-wrap: break-word; }
.preview-content > .preview-toolbar > .status { margin-top: 18px; font-size: 9px; font-weight: 400; }
.preview-content > .preview-toolbar > .row { padding-top: 15px; }
.preview-content > .notice { margin-top: 22px; }
.preview-content > .notice + .btn { margin-top: 17px; }
.analytic-stage > .stage-caption { border-top: 0; border-bottom: 1px solid #e5eaf1; background: #fff; padding: 11px 15px; font-size: 10px; color: #778595; }
.stage-caption > span, .stage-bottom > span { display: inline-flex; align-items: center; gap: 6px; }
.stage-caption svg, .stage-bottom svg { width: 13px; height: 13px; color: #8c9fb4; }
.studio-scene { display: block; width: 100%; height: auto; aspect-ratio: 800 / 440; }
.stage-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; min-height: 40px; padding: 11px 14px; border-top: 1px solid #e0e6ee; background: #fff; color: #728197; font-size: 10px; }
.stage-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: #fff; color: #4481bb; font-size: 10px; line-height: 1.5; }
.stage-link svg { color: currentColor; }
.live-characteristics > .section-heading.small-heading { display: flex; align-items: center; flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.small-heading h3 { color: #51515b; font-size: 13px; font-weight: 500; letter-spacing: -.02em; }
.live-characteristics .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.live-characteristics .spec-item { padding: 15px; gap: 9px; }
.live-characteristics .spec-item > span { display: inline-flex; align-items: center; gap: 6px; color: #7b808a; font-size: 10px; }
.live-characteristics .spec-item > span > svg { width: 14px; height: 14px; color: #8b9eb3; }
.live-characteristics .spec-item > strong { color: #4d5665; font-size: 12px; font-weight: 500; }
.analytic-summary { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; padding: 17px; border: 1px solid #e8eef5; border-radius: 13px; background: #fbfdff; }
.summary-icon { flex: 0 0 auto; color: #8eabd0; }
.summary-icon svg { width: 17px; height: 17px; }
.analytic-summary p { color: #738093; font-size: 11px; line-height: 1.8; }
.builder-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 1px 0; color: #7d8692; font-size: 10px; }
.builder-next > div { display: inline-flex; align-items: center; gap: 7px; }
.builder-next svg { width: 14px; height: 14px; }
.builder-next .text-link { font-size: 10px; }

/* Flow and editable source retain the same light product surface. */
.flow-intro { max-width: 590px; margin: -3px 0 23px; color: #777f8b; font-size: 12px; line-height: 1.8; }
.flow-canvas { position: relative; isolation: isolate; overflow: hidden; padding: 30px 28px; border: 1px solid #e5eaf2; border-radius: 19px; background: #fbfcfe; }
.flow-grid-background { position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(#cbd8e8 1px, transparent 1px); background-size: 17px 17px; opacity: .52; }
.flow-nodes { display: flex; align-items: center; flex-direction: column; width: 100%; max-width: 435px; margin: auto; }
.flow-node { display: flex; align-items: center; gap: 13px; width: 100%; padding: 16px 17px; border: 1px solid #dfe6ef; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px -8px rgb(20 50 80 / 10%); }
.flow-node > div { flex: 1; min-width: 0; }
.flow-node-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border: 1px solid #e6edf6; border-radius: 11px; background: #f6f9fd; color: #7d9dbc; }
.flow-node-icon svg { width: 19px; height: 19px; }
.flow-node small { display: block; color: #8d99a7; font-size: 8px; line-height: 1.5; margin-bottom: 3px; }
.flow-node strong { display: block; color: #4a586b; font-size: 12px; font-weight: 500; line-height: 1.45; }
.flow-node p { margin-top: 3px; color: #7d8b9e; font-size: 10px; line-height: 1.6; }
.flow-node-tag { color: #95a2b4; font-size: 8px; font-weight: 500; letter-spacing: .07em; }
.flow-node.npu { border-color: #bed8f4; background: #fcfdff; }
.flow-node.npu .flow-node-icon { border-color: #d8e8fa; color: #4f8ac7; background: #eff6ff; }
.flow-node.npu .flow-node-tag { color: #6b9bcd; }
.flow-node.event .flow-node-icon { color: #89a099; background: #f3f8f6; border-color: #e1eae6; }
.flow-connector { position: relative; display: flex; justify-content: center; width: 100%; height: 23px; }
.flow-connector span { display: block; height: 100%; width: 1px; background: #b9cde4; }
.flow-connector::after { position: absolute; bottom: 2px; left: calc(50% - 3px); width: 6px; height: 6px; border-right: 1px solid #abc1dc; border-bottom: 1px solid #abc1dc; transform: rotate(45deg); content: ""; }
.code-workbench { overflow: hidden; border: 1px solid #dfe5ed; border-radius: 17px; background: #fff; }
.code-file-tabs { display: flex; align-items: stretch; gap: 0; padding: 0 9px; border-bottom: 1px solid #e5eaf2; background: #fafbfd; }
.code-file-tabs button { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 43px; padding: 11px 13px; border: 0; background: #fafbfd; color: #8a929f; font: 400 10px/1.5 var(--mono); }
.code-file-tabs button > svg { width: 13px; height: 13px; }
.code-file-tabs button.active { color: #477dae; background: #fff; }
.code-file-tabs button.active::after { position: absolute; bottom: -1px; left: 12px; right: 12px; height: 2px; background: #6ba2d7; content: ""; }
.edited-dot { width: 5px; height: 5px; border-radius: 50%; background: #bca470; }
.code-editor-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #edf0f5; background: #fff; color: #7e8a9c; font-size: 9px; line-height: 1.5; }
.source-editor { display: block; width: 100%; min-height: 395px; padding: 21px 23px 28px; border: 0; border-radius: 0; background: #fcfdff; color: #49617b; font: 400 11px/1.95 var(--mono); tab-size: 2; white-space: pre; overflow: auto; overflow-wrap: normal; resize: vertical; scrollbar-width: thin; scrollbar-color: #d4dde8 #fcfdff; }
.source-editor:focus-visible { outline: 2px solid #83b5e7; outline-offset: -3px; }
.source-editor[readonly] { background: #fcfdff; color: #69809a; }
.code-editor-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 16px; border-top: 1px solid #e5eaf2; background: #fff; color: #7e8b9b; font-size: 9px; }
.code-editor-footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.code-editor-footer .btn { min-height: 30px; padding: 5px 10px; font-size: 10px; }

/* Browser laboratory: canvas overlays follow the selected image's aspect ratio. */
.test-source-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 19px; }
.test-source-tabs .btn { min-height: 34px; padding: 6px 11px; font-size: 10px; }
.test-source-tabs .btn svg { width: 14px; height: 14px; }
.lab-stage { position: relative; overflow: hidden; border: 1px solid #e0e7ef; border-radius: 18px; background: #f9fbfd; }
.lab-source-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 9px 16px; border-bottom: 1px solid #e4eaf2; background: #fff; color: #728198; font-size: 10px; }
.lab-source-bar > span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.lab-source-bar > span svg { width: 13px; height: 13px; }
.lab-source-bar .btn.icon-btn { width: 25px; min-width: 25px; height: 25px; min-height: 25px; }
.lab-source-bar .btn.icon-btn svg { width: 14px; height: 14px; }
.media-inner { position: relative; isolation: isolate; width: 100%; min-width: 0; aspect-ratio: var(--media-aspect, 16 / 9); overflow: hidden; background: #f0f3f7; }
.media-inner > video, .media-inner > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.media-inner > canvas { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.media-inner.drawing > canvas, .media-inner.draw-mode > canvas, .media-inner > canvas.drawing { pointer-events: auto; touch-action: none; cursor: crosshair; }
.lab-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 325px; padding: 37px 27px; background: #fbfcfe; text-align: center; }
.lab-empty > span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 19px; border: 1px solid #e4eaf3; border-radius: 18px; background: #fff; color: #9aafc9; }
.lab-empty > span svg { width: 27px; height: 27px; }
.lab-empty h3 { color: #586b84; font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.lab-empty p { max-width: 355px; margin-top: 12px; color: #7c899a; font-size: 12px; line-height: 1.8; }
.lab-empty > .btn { margin-top: 22px; font-size: 11px; min-height: 36px; padding: 7px 14px; }
.lab-empty > .text-link { margin-top: 15px; background: transparent; font-size: 10px; }
.lab-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 17px; }
.lab-controls > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lab-controls .btn { min-height: 35px; padding: 7px 11px; font-size: 10px; }
.lab-controls .btn svg { width: 14px; height: 14px; }
.lab-controls > .small-text { font-size: 9px; }
.test-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 23px; }
.test-metrics .metric { padding: 14px; }
.test-metrics .metric > span { font-size: 9px; color: #788698; }
.test-metrics .metric strong { margin-top: 9px; color: #53667e; font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.test-metrics .metric strong small { display: inline; margin: 0; color: #8794a5; font-size: 10px; font-weight: 400; }
.test-metrics .metric .text-metric { font-size: 12px; letter-spacing: -.01em; padding-top: 5px; }
.lab-detail-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 11px; margin: 16px 0 23px; color: #778497; font-size: 9px; }
.lab-detail-row p { display: inline-flex; align-items: center; gap: 6px; }
.lab-detail-row svg { width: 12px; height: 12px; }
.lab-detail-row .text-link { font-size: 10px; }
.event-card .card-header { padding: 18px 20px; }
.event-card .card-header h3 { font-size: 13px; }
.event-card .card-header p { font-size: 10px; }
.events-list { display: grid; padding: 0 19px; }
.lab-event { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.lab-event:last-child { border-bottom: 0; }
.event-icon { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 9px; background: #f2f7fd; color: #86a2c2; }
.event-icon svg { width: 14px; height: 14px; }
.lab-event > div { flex: 1; min-width: 0; }
.lab-event strong { display: block; color: #5b6c83; font-size: 11px; font-weight: 500; line-height: 1.5; }
.lab-event small { display: block; margin-top: 4px; color: #7e8c9d; font-size: 9px; line-height: 1.6; }
.lab-event time { align-self: flex-start; margin-top: 3px; color: #8c97a6; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.events-empty { padding: 34px 22px; color: #8c97a6; font-size: 11px; line-height: 1.7; text-align: center; }
.validation-card { margin-top: 22px; }
.validation-card .card-body.stack { gap: 0; padding-top: 6px; padding-bottom: 7px; }
.validation-card .review-check > span { flex: 0 0 auto; color: #9cacbd; }
.validation-card .review-check.passed > span { color: #80a591; }
.validation-card .review-check.failed > span { color: #be8d83; }
.lab-welcome { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr); align-items: center; gap: 40px; margin-bottom: 41px; padding: 37px 39px; overflow: hidden; border: 1px solid #e8edf4; border-radius: 25px; background: #fcfdff; }
.lab-welcome h2 { color: #444c59; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.047em; }
.lab-welcome p { max-width: 450px; margin-top: 19px; color: #778193; font-size: 13px; line-height: 1.8; }
.lab-welcome-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 190px; color: #80a3cb; }
.lab-welcome-art > svg { position: relative; z-index: 1; width: 57px; height: 57px; }
.lab-orbit { position: absolute; border: 1px solid #e0e9f4; border-radius: 50%; background: transparent; }
.orbit-one { width: 130px; height: 130px; background: #f7fafe; }
.orbit-two { width: 192px; height: 192px; }
.lab-art-dot { position: absolute; top: 31px; right: calc(50% - 66px); width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #b6cfe9; box-shadow: 0 0 0 1px #e6eef7; }
.lab-project-card { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; padding: 23px; color: var(--ink); text-align: left; }
.lab-project-card h3 { color: #535b67; font-size: 16px; font-weight: 500; line-height: 1.45; }
.lab-project-card p { color: #808995; font-size: 11px; line-height: 1.7; }
.lab-project-card .text-link { margin-top: auto; padding-top: 9px; font-size: 11px; }
.workspace-content > .lab-welcome + .section-heading h2 { font-size: 23px; letter-spacing: -.035em; }
.workspace-content > .grid + .notice { margin-top: 26px; }

/* Projects and publication use calm, readable cards rather than placeholder KPIs. */
.sidebar-nav:has(> .nav-item) { gap: 4px; }
.sidebar-nav > .nav-label { margin-bottom: 9px; }
.sidebar-bottom:has(> .workspace-avatar) { display: flex; align-items: center; gap: 10px; }
.workspace-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid #e3e8ef; border-radius: 10px; background: #f7f9fc; color: #8a99ae; font-size: 11px; font-weight: 500; }
.project-card-main { display: flex; flex: 1; flex-direction: column; gap: 16px; width: 100%; min-width: 0; }
.project-card-main > .row { justify-content: space-between; gap: 10px; padding-right: 21px; }
.project-card-main > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: #7e8691; font-size: 10px; line-height: 1.5; }
.project-card-footer svg { width: 15px; height: 15px; color: #a0b0c3; }
.project-menu { position: absolute; top: 29px; right: 17px; display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 8px; background: #fff; color: #939daa; }
.project-menu svg { width: 17px; height: 17px; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 21px; border: 1px solid #e5edf7; border-radius: 18px; background: #f7faff; color: #a2b8d1; }
.empty-icon svg { width: 27px; height: 27px; }
.local-storage-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 29px; color: #7f8793; font-size: 10px; line-height: 1.8; }
.local-storage-note svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 2px; color: #9babbf; }
.publish-intro { display: flex; align-items: center; gap: 19px; margin: 0 0 27px; padding: 23px; border: 1px solid #e7edf5; border-radius: 17px; background: #fbfdff; }
.publish-icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid #e0ebf8; border-radius: 15px; background: #f0f7ff; color: #8aadd4; }
.publish-icon svg { width: 25px; height: 25px; }
.publish-intro h3 { color: #50647e; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; }
.publish-intro p { max-width: 450px; margin-top: 8px; color: #77899f; font-size: 11px; line-height: 1.8; }
.publish-progress { display: flex; align-items: flex-start; gap: 11px; margin: 0 9px 28px; }
.publish-progress > div { display: flex; align-items: center; flex-direction: column; gap: 9px; min-width: 0; }
.publish-progress > div > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #e0e5ec; border-radius: 50%; background: #fff; color: #a5afbc; font-size: 10px; }
.publish-progress strong { color: #939fac; font-size: 9px; font-weight: 400; text-align: center; white-space: nowrap; }
.publish-progress > div.complete > span { border-color: #c2d9f2; background: #f2f8ff; color: #6b96c5; }
.publish-progress > div.complete strong { color: #6487af; }
.publish-progress > i { flex: 1; height: 1px; margin-top: 13px; background: #e5ebf3; }
.publication-form .card-body > h3 { margin-bottom: 23px; color: #556479; font-size: 14px; }
.publication-checks { display: grid; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.publication-checks label { display: flex; align-items: flex-start; gap: 9px; color: #788597; font-size: 11px; line-height: 1.8; }
.publication-checks input { margin-top: 4px; }
.publication-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.publication-actions .btn { min-height: 37px; padding: 8px 12px; font-size: 10px; }
.review-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 31px; padding: 4px 0; }
.review-explainer > div { min-width: 0; }
.review-explainer svg { width: 18px; height: 18px; margin-bottom: 12px; color: #93a8c0; }
.review-explainer h4 { color: #718097; font-size: 11px; font-weight: 500; letter-spacing: -.01em; }
.review-explainer p { margin-top: 8px; color: #8491a2; font-size: 10px; line-height: 1.8; }
.review-flow-banner { display: flex; align-items: center; gap: 19px; margin-bottom: 28px; padding: 26px; border: 1px solid #e5ebf3; border-radius: 20px; background: #fcfdff; }
.review-flow-banner > div { display: flex; flex: 1; align-items: center; flex-direction: column; gap: 10px; min-width: 0; text-align: center; }
.review-flow-banner > div > svg { width: 22px; height: 22px; margin-bottom: 4px; color: #8daacb; }
.review-flow-banner strong { color: #62758f; font-size: 11px; font-weight: 500; line-height: 1.6; }
.review-flow-banner span { color: #8595a9; font-size: 10px; line-height: 1.6; }
.review-flow-banner > svg { width: 16px; height: 16px; color: #c3d1e2; }

/* Marketplace editorial layout and concept details. */
.store-main { padding-bottom: 67px; }
.store-hero { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); align-items: center; gap: 65px; padding-block: 77px 76px; border-bottom: 1px solid var(--line); }
.store-hero h1 { font-size: clamp(40px, 4.7vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -.06em; text-wrap: balance; }
.store-hero-copy > p { max-width: 500px; margin-top: 23px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.store-hero-copy > .row { flex-wrap: wrap; gap: 22px; margin-top: 29px; }
.store-hero-copy .text-link { font-size: 12px; }
.store-hero-art { display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 0; padding: 19px 0; }
.store-art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; transform: rotate(-9deg); }
.store-art-tile { display: grid; place-items: center; width: 114px; height: 114px; border: 1px solid #dfeaf7; border-radius: 28px; background: #f2f7ff; color: #6d99c7; box-shadow: 0 14px 24px -18px rgb(69 111 161 / 22%); }
.store-art-tile > svg { width: 37px; height: 37px; stroke-width: 1.5; }
.store-art-tile.tile-mint { border-color: #e0eee9; background: #f1f8f5; color: #7eaa9b; }
.store-art-tile.tile-slate { border-color: #e4eaf1; background: #f6f8fb; color: #99abc0; }
.store-art-tile.tile-violet { border-color: #eae6f5; background: #f6f4fb; color: #a091be; }
.store-art-caption { margin-top: 37px; color: #8b94a3; font-size: 10px; letter-spacing: -.01em; }
.store-catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 48px 0 25px; }
.store-catalog-heading > div { min-width: 0; }
.store-catalog-heading h2 { color: #42424a; font-size: 27px; font-weight: 500; letter-spacing: -.04em; }
.store-catalog-heading p { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.store-catalog-heading .search-field { flex: 0 1 275px; }
.store-catalog-heading .search-field input { display: block; width: 100%; min-height: 39px; padding: 10px 13px 10px 36px; border: 1px solid #dfe5ed; border-radius: 11px; background: #fff; color: #52627a; font-size: 12px; line-height: 1.5; }
.store-catalog-heading .search-field input::placeholder { color: #9aa4b1; }
.store-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 33px; padding: 7px 14px; border: 1px solid #e4e8ef; border-radius: 999px; background: #fff; color: #7e8999; font-size: 11px; line-height: 1.5; }
.filter-chip.active { border-color: #bfd6f0; background: #f5f9ff; color: #507caa; }
.analytic-cover:has(> .analytic-illustration) { display: block; padding: 0; min-height: 0; aspect-ratio: 400 / 210; }
.analytic-cover > .analytic-illustration { width: 100%; height: auto; }
.analytic-cover:has(> .analytic-illustration)::before, .analytic-cover:has(> .analytic-illustration)::after { display: none; }
.concept-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 4px 8px; border: 1px solid rgb(196 211 229 / 55%); border-radius: 6px; background: rgb(255 255 255 / 91%); color: #7290b2; font-size: 9px; line-height: 1.4; }
.analytic-card-content { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.analytic-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 12px; color: #8b98aa; font-size: 9px; letter-spacing: .02em; }
.analytic-card-meta svg { width: 15px; height: 15px; color: #acb9c9; }
.analytic-card-content > h3 { color: #485465; font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.analytic-card-content > p { margin-top: 11px; color: #7e8897; font-size: 12px; line-height: 1.8; }
.analytic-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 21px; color: #8e9bad; font-size: 9px; }
.merx-author { display: inline-flex; align-items: center; gap: 6px; color: #73869e; font-size: 10px; }
.merx-author .message-avatar { width: 23px; height: 23px; margin: 0; border-radius: 7px; }
.merx-author .message-avatar svg { width: 12px; height: 12px; }
.store-developer-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 53px; padding: 32px 35px; border: 1px solid #e2eaf5; border-radius: 23px; background: #fbfdff; }
.developer-icon { display: grid; place-items: center; flex: 0 0 auto; width: 53px; height: 53px; border: 1px solid #e4edf8; border-radius: 16px; background: #fff; color: #8facce; }
.developer-icon svg { width: 27px; height: 27px; }
.store-developer-banner > div { flex: 1; min-width: 0; }
.store-developer-banner h2 { color: #5a6f8c; font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.store-developer-banner p { margin-top: 9px; color: #8090a7; font-size: 12px; line-height: 1.75; }
.store-developer-banner .btn { font-size: 12px; border-color: #cfdef0; color: #587faa; }
.store-detail-main { padding-block: 28px 70px; }
.back-link { color: #7c91aa; font-size: 11px; }
.back-link svg { width: 13px; height: 13px; transform: rotate(180deg); }
.store-detail-main > .analytic-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; margin-top: 37px; }
.analytic-detail-copy h1 { color: #343c48; font-size: clamp(36px, 4.3vw, 57px); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; }
.detail-lead { margin-top: 20px; color: #7a8596; font-size: 17px; line-height: 1.7; }
.analytic-detail-author { display: flex; align-items: center; gap: 10px; margin: 23px 0 25px; }
.analytic-detail-author .message-avatar { width: 35px; height: 35px; border-radius: 11px; }
.analytic-detail-author .message-avatar svg { width: 18px; height: 18px; }
.analytic-detail-author strong { display: block; color: #5c718c; font-size: 11px; font-weight: 500; }
.analytic-detail-author span:not(.message-avatar) { display: block; margin-top: 3px; color: #8f9bad; font-size: 10px; }
.detail-availability { margin-top: 13px; font-size: 10px; line-height: 1.8; }
.analytic-detail-art { overflow: hidden; border: 1px solid #e0e8f3; border-radius: 25px; }
.analytic-detail-art > .analytic-illustration { width: 100%; height: auto; }
.detail-sections { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); align-items: start; gap: 74px; margin-top: 60px; padding-top: 47px; border-top: 1px solid var(--line); }
.detail-sections > div > h2 { margin: 34px 0 16px; color: #5a687c; font-size: 23px; font-weight: 500; letter-spacing: -.035em; }
.detail-sections > div > h2:first-child { margin-top: 0; }
.detail-sections > div > p { color: #7d899b; font-size: 14px; line-height: 1.9; }
.capability-list { display: grid; gap: 12px; }
.capability-list > div { display: flex; align-items: flex-start; gap: 9px; color: #798ba2; font-size: 13px; line-height: 1.8; }
.capability-list svg { width: 17px; height: 17px; margin-top: 3px; color: #93aecb; }
.plain-list { display: grid; gap: 11px; padding-left: 18px; color: #8b94a5; font-size: 13px; line-height: 1.8; }
.plain-list li::marker { color: #b5c3d6; font-size: .8em; }
.detail-sidebar { position: sticky; top: calc(var(--site-header-height) + 25px); padding: 26px; border-color: #e4ebf4; }
.detail-sidebar h3 { color: #62758f; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.detail-sidebar .compat-list { margin-top: 9px; }
.detail-sidebar .compat-list > div { color: #8a97a9; font-size: 11px; line-height: 1.7; }
.detail-sidebar .section-eyebrow { color: #8099b7; font-size: 9px; margin-bottom: 9px; }
.detail-sidebar > p { color: #7c8ea6; font-size: 12px; line-height: 1.7; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.detail-tags .chip { color: #869bb6; font-size: 9px; }
.detail-sidebar > .text-link { margin-top: 22px; font-size: 11px; }
.docs-article > .section-eyebrow { margin-bottom: 9px; }
.docs-article > h2 { margin-top: 0; margin-bottom: 29px; font-size: 29px; letter-spacing: -.045em; }
.docs-article section > h3 { font-size: 17px; font-weight: 500; }
.docs-nav a { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.docs-nav a > svg { width: 12px; height: 12px; color: #99a9bd; }

/* Account, project options and rule editor share a compact modal vocabulary. */
.modal-intro { margin-bottom: 23px; color: #6d7786; font-size: 12px; line-height: 1.8; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.form-actions .btn { min-height: 39px; padding: 9px 15px; font-size: 12px; }
.class-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.class-fieldset legend { display: block; padding: 0; margin-bottom: 11px; color: #55555e; font-size: 12px; font-weight: 500; line-height: 1.5; }
.class-choices { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.class-choice { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; padding: 8px 11px; border: 1px solid #e1e6ed; border-radius: 10px; background: #fff; color: #6d798a; font-size: 11px; line-height: 1.5; cursor: pointer; }
.class-choice input { width: 13px; height: 13px; margin: 0; }
.class-choice:has(input:checked) { border-color: #bfdaF6; background: #f5faff; color: #477fb3; }
.field > span > strong { float: right; color: var(--blue); font-size: 11px; font-weight: 500; }
.project-option-list { display: grid; gap: 5px; margin-block: 3px 19px; }
.project-option-list .btn { justify-content: flex-start; width: 100%; min-height: 43px; padding: 11px 13px; border-radius: 11px; border-color: transparent; background: #fff; color: #6c788a; font-size: 12px; text-align: left; }
.project-option-list .btn.danger { color: #b16f65; }
.project-option-list .btn svg { width: 17px; height: 17px; margin-right: 3px; color: #91a2b7; }
.project-option-list .btn.danger svg { color: #bf8d83; }
.auth-intro, .device-connect-intro { text-align: center; padding: 2px 7px 23px; }
.auth-intro > .brand-mark, .device-connect-intro > .brand-mark { display: inline-grid; place-items: center; width: 45px; height: 45px; margin-bottom: 20px; border: 1px solid #e4eef9; border-radius: 14px; background: #f7fbff; color: #82a9d3; }
.auth-intro > .brand-mark svg, .device-connect-intro > .brand-mark svg { width: 23px; height: 23px; }
.auth-intro h3, .device-connect-intro h3 { max-width: 390px; margin-inline: auto; color: #45566d; font-size: 25px; font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.auth-intro p, .device-connect-intro p { max-width: 380px; margin: 13px auto 0; color: #738197; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.modal:has(.auth-intro) { width: min(470px, 100%); }
.modal:has(.auth-intro) .modal-body { padding-inline: 34px; }
.auth-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); color: #78859a; font-size: 11px; }
.auth-footer .text-link { font-size: 11px; }
.auth-forgot { align-self: flex-end; margin-top: -7px; font-size: 11px; }
.confirmation-input { font-family: var(--mono); font-size: 21px; line-height: 1.5; letter-spacing: .21em; text-align: center; }
.account-summary { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.account-summary > .avatar { width: 43px; height: 43px; border-color: #e0eaf5; background: #f4f9ff; color: #7497c0; font-size: 14px; }
.account-summary > div { min-width: 0; }
.account-summary h3 { color: #576b86; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; overflow-wrap: anywhere; }
.account-summary p { margin-top: 4px; color: #8694a8; font-size: 11px; }
.device-connect-icon { display: inline-grid; place-items: center; width: 55px; height: 55px; margin-bottom: 21px; border: 1px solid #e3edf9; border-radius: 17px; background: #f6faff; color: #8baed5; }
.device-connect-icon svg { width: 29px; height: 29px; }
.connection-steps { display: grid; gap: 0; margin: 0 0 24px; }
.connection-steps > div { display: flex; align-items: center; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.connection-steps > div:last-child { border-bottom: 0; }
.connection-steps > div > span { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border: 1px solid #e1e9f4; border-radius: 50%; background: #fff; color: #90a7c4; font-size: 10px; }
.connection-steps p { color: #6f819a; font-size: 12px; line-height: 1.6; }
.builder-title-area button.builder-project-title { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-title-area button.builder-project-title svg { margin-left: 5px; }
.save-indicator, .message-footnote, .composer-options > span, .composer-hint,
.flow-node p, .flow-intro, .spec-item > span, .analytic-summary p,
.analytic-card-content > p, .detail-sections > div > p, .plain-list,
.review-explainer p, .review-flow-banner span, .publication-checks label,
.lab-empty p, .lab-welcome p, .events-empty, .detail-sidebar .compat-list > div { color: #697586; }

@media (max-width: 540px) {
  .modal-intro { font-size: 11px; margin-bottom: 21px; }
  .form-actions { gap: 8px; margin-top: 21px; padding-top: 18px; }
  .form-actions .btn { font-size: 11px; padding-inline: 12px; }
  .class-fieldset legend { font-size: 11px; }
  .class-choices { gap: 7px; }
  .class-choice { font-size: 10px; padding: 7px 9px; min-height: 33px; }
  .project-option-list .btn { font-size: 11px; padding-inline: 10px; }
  .auth-intro, .device-connect-intro { padding-inline: 0; }
  .auth-intro h3, .device-connect-intro h3 { font-size: 24px; }
  .auth-intro p, .device-connect-intro p { font-size: 11px; }
  .modal:has(.auth-intro) .modal-body { padding-inline: 24px; }
  .auth-footer { font-size: 10px; gap: 8px 11px; }
  .auth-footer .text-link, .auth-forgot { font-size: 10px; }
  .confirmation-input { font-size: 20px; }
  .connection-steps p { font-size: 11px; }
  .account-summary h3 { font-size: 13px; }
}

@media (hover: hover) {
  .send-button:hover:not(:disabled) { background: #097ded; border-color: #097ded; }
  .header-docs:hover, .back-button:hover, .project-menu:hover { background: #f5f7fa; color: #5e81a9; }
  button.builder-project-title:hover { color: var(--blue); }
  .inspiration-card:hover { border-color: #c6d9ef; box-shadow: 0 13px 35px -22px rgb(31 69 118 / 24%); transform: translateY(-2px); }
  .inspiration-card:hover .card-arrow { border-color: #c8d9ed; color: #5f90c2; }
  .stage-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
  .filter-chip:hover:not(.active) { background: #fbfdff; border-color: #c6d8ed; color: #6287b0; }
  .code-file-tabs button:hover { color: #688ab3; background: #fff; }
  .lab-project-card:hover { border-color: #c7d9ee; box-shadow: var(--shadow); }
}

@media (min-width: 1600px) {
  .builder-layout { grid-template-columns: minmax(380px, .38fr) minmax(0, .62fr); }
  .chat-bottom { padding-inline: 25px; }
  .preview-content > .preview-toolbar { margin-bottom: 25px; }
  .preview-toolbar h2 { font-size: 27px; }
  .live-characteristics .spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .source-editor { min-height: 480px; font-size: 12px; }
}
@media (max-width: 1180px) {
  .site-header .site-nav { gap: 20px; }
  .header-actions { gap: 9px; }
  .journey-section { gap: 45px; }
  .journey-steps { gap: 29px 22px; }
  .journey-step { gap: 11px; }
  .journey-icon { width: 35px; height: 35px; }
  .inspiration-body { padding: 20px; gap: 10px; }
  .inspiration-body h3 { font-size: 17px; }
  .store-hero { gap: 45px; }
  .store-art-tile { width: 101px; height: 101px; border-radius: 25px; }
  .store-detail-main > .analytic-detail { gap: 43px; }
  .detail-sections { gap: 42px; }
  .test-metrics { gap: 8px; }
  .test-metrics .metric { padding: 12px; }
  .test-metrics .metric > span { font-size: 8px; }
  .review-flow-banner { gap: 12px; padding: 24px 21px; }
  .review-flow-banner span { font-size: 9px; }
}
@media (max-width: 960px) {
  .site-header .site-nav { gap: 17px; }
  .header-actions .header-docs { display: none; }
  .inspiration-grid { gap: 15px; }
  .inspiration-body { padding: 20px 18px; }
  .inspiration-body h3 { font-size: 16px; }
  .inspiration-body p { font-size: 11px; }
  .card-arrow { width: 25px; height: 25px; }
  .journey-section { grid-template-columns: minmax(0, 1fr); gap: 39px; padding-block: 65px 72px; }
  .journey-copy { max-width: 620px; }
  .journey-copy > p { max-width: 540px; }
  .journey-steps { gap: 33px; }
  .journey-step { max-width: 300px; }
  .journey-icon { width: 40px; height: 40px; }
  .builder-title-area { gap: 10px; }
  .builder-header-actions .btn { font-size: 10px; }
  .chat-bottom { padding-inline: 12px; }
  .chat-bottom .composer-options > span { font-size: 8px; }
  .preview-toolbar h2 { font-size: 21px; }
  .preview-content > .preview-toolbar { gap: 12px; }
  .preview-content > .preview-toolbar > .status { margin-top: 16px; }
  .preview-content > .preview-toolbar > .row { padding-top: 0; }
  .stage-bottom { padding: 10px 12px; gap: 8px; font-size: 9px; }
  .stage-link { font-size: 9px; }
  .flow-canvas { padding: 25px 20px; }
  .flow-node { padding: 15px; gap: 10px; }
  .flow-node-tag { font-size: 7px; }
  .flow-node-icon { width: 33px; height: 33px; }
  .source-editor { min-height: 340px; padding: 19px; }
  .code-file-tabs { padding-inline: 4px; }
  .code-file-tabs button { padding-inline: 10px; font-size: 9px; }
  .test-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-metrics .metric > span { font-size: 9px; }
  .lab-welcome { padding: 28px; gap: 20px; }
  .lab-welcome h2 { font-size: 29px; }
  .lab-welcome-art { min-height: 160px; }
  .orbit-two { width: 159px; height: 159px; }
  .orbit-one { width: 108px; height: 108px; }
  .lab-welcome-art > svg { width: 46px; height: 46px; }
  .lab-art-dot { top: 28px; right: calc(50% - 54px); }
  .publish-intro { gap: 14px; padding: 20px; }
  .publish-intro h3 { font-size: 16px; }
  .publish-icon { width: 42px; height: 42px; }
  .review-explainer { gap: 19px; }
  .store-hero { padding-block: 65px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; }
  .store-hero h1 { font-size: 47px; }
  .store-hero-copy > p { font-size: 15px; }
  .store-art-grid { gap: 12px; }
  .store-art-tile { width: 83px; height: 83px; border-radius: 21px; }
  .store-art-tile > svg { width: 30px; height: 30px; }
  .store-art-caption { margin-top: 28px; font-size: 9px; }
  .store-catalog-heading { align-items: flex-start; gap: 22px; }
  .store-catalog-heading h2 { font-size: 24px; }
  .store-catalog-heading .search-field { flex-basis: 235px; }
  .store-developer-banner { padding: 27px; gap: 19px; }
  .store-developer-banner h2 { font-size: 20px; }
  .store-developer-banner .btn { font-size: 11px; }
  .store-detail-main > .analytic-detail { gap: 30px; }
  .analytic-detail-copy h1 { font-size: 42px; }
  .detail-lead { font-size: 15px; }
  .detail-sections { gap: 30px; margin-top: 46px; padding-top: 38px; }
  .detail-sidebar { padding: 22px; }
}
@media (max-width: 767px) {
  .header-actions { gap: 8px; }
  .header-actions .btn { min-height: 32px; padding: 5px 10px; font-size: 11px; }
  .site-header .brand-name { font-size: 20px; }
  .site-header .brand-mark svg { width: 26px; height: 26px; }
  .site-header .site-nav { gap: 15px; }
  .site-header .site-nav > a { font-size: 11px; }
  .header-actions .mobile-menu-btn { display: none; }
  .header-actions .preview-badge { display: none; }
  .inspiration-section { padding-bottom: 61px; }
  .inspiration-section .section-heading { flex-direction: row; align-items: flex-end; gap: 22px; }
  .inspiration-section .section-heading h2, .recent-section .section-heading h2 { font-size: 30px; }
  .inspiration-section .section-heading > .text-link { flex: 0 0 auto; font-size: 10px; }
  .inspiration-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .inspiration-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-radius: 20px; }
  .inspiration-art { height: 100%; border-right: 1px solid #e8ecf2; border-bottom: 0; }
  .inspiration-art .analytic-illustration { height: 100%; width: 100%; min-height: 160px; object-fit: cover; }
  .inspiration-body { padding: 24px; gap: 15px; }
  .inspiration-body h3 { font-size: 19px; }
  .inspiration-body p { font-size: 12px; }
  .recent-section { padding-bottom: 62px; }
  .journey-copy h2 { font-size: 38px; }
  .journey-copy > p { font-size: 14px; }
  .site-footer.container { flex-direction: column; align-items: flex-start; gap: 17px; }
  .site-footer.container > div { flex-wrap: wrap; gap: 20px; }
  .builder-title-area { gap: 9px; }
  .builder-title-area > .status { font-size: 9px; }
  .builder-header-actions { gap: 6px; }
  .builder-header-actions .btn.small { min-height: 32px; padding: 6px 10px; font-size: 10px; }
  .builder-header-actions .btn.icon-btn { width: 28px; min-width: 28px; min-height: 29px; height: 29px; }
  button.builder-project-title { font-size: 13px; }
  .mobile-builder-tabs { display: flex; align-items: stretch; justify-content: center; height: 43px; border-bottom: 1px solid var(--line); background: #fff; }
  .mobile-builder-tabs > button { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; width: 50%; min-height: 43px; padding: 9px 15px; border: 0; background: #fff; color: #878e99; font-size: 11px; line-height: 1.5; }
  .mobile-builder-tabs > button > svg { width: 14px; height: 14px; }
  .mobile-builder-tabs > button.active, .mobile-builder-tabs > button[aria-selected="true"] { color: #367fbe; }
  .mobile-builder-tabs > button.active::after { position: absolute; bottom: -1px; height: 2px; left: 24px; right: 24px; border-radius: 2px; background: #78a8d7; content: ""; }
  .mobile-builder-tabs + .builder-layout { height: calc(100vh - var(--site-header-height) - var(--builder-header-height) - 43px); height: calc(100dvh - var(--site-header-height) - var(--builder-header-height) - 43px); min-height: 385px; }
  .chat-bottom { padding: 0 17px max(11px, env(safe-area-inset-bottom)); }
  .chat-bottom .chat-composer > .composer-input { min-height: 80px; max-height: 140px; font-size: 16px; line-height: 1.6; }
  .chat-bottom .composer-options > span { font-size: 10px; }
  .chat-bottom .send-button { width: 34px; height: 34px; }
  .composer-hint { font-size: 9px; }
  .preview-toolbar h2 { font-size: 24px; }
  .preview-content > .preview-toolbar > .status { margin-top: 17px; }
  .preview-content > .preview-toolbar > .row { padding-top: 12px; }
  .live-characteristics .spec-grid { gap: 11px; }
  .flow-nodes { max-width: 440px; }
  .flow-node { padding: 17px; }
  .flow-node strong { font-size: 12px; }
  .flow-node-tag { font-size: 8px; }
  .source-editor { min-height: 350px; font-size: 13px; }
  .code-file-tabs button { font-size: 10px; }
  .test-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lab-controls .btn { min-height: 37px; font-size: 11px; padding-inline: 13px; }
  .lab-welcome { grid-template-columns: minmax(0, 1.5fr) minmax(120px, .5fr); }
  .lab-welcome h2 { font-size: 31px; }
  .review-flow-banner { gap: 13px; }
  .review-flow-banner strong { font-size: 10px; }
  .review-flow-banner span { font-size: 9px; }
  .store-hero { padding-block: 58px; gap: 27px; }
  .store-hero h1 { font-size: 41px; }
  .store-hero-copy > p { font-size: 14px; }
  .store-hero-copy > .row { gap: 17px; }
  .store-hero-copy > .row .btn { font-size: 11px; padding: 9px 14px; min-height: 38px; }
  .store-hero-copy .text-link { font-size: 10px; }
  .store-art-tile { width: 72px; height: 72px; border-radius: 18px; }
  .store-art-tile > svg { width: 26px; height: 26px; }
  .store-art-caption { max-width: 160px; font-size: 8px; text-align: center; }
  .store-catalog-heading { flex-direction: column; gap: 19px; margin-top: 36px; }
  .store-catalog-heading .search-field { flex: 0 1 auto; width: 100%; }
  .store-catalog-heading .search-field input { font-size: 16px; }
  .store-developer-banner { align-items: flex-start; flex-wrap: wrap; gap: 20px; }
  .store-developer-banner > div { flex-basis: calc(100% - 80px); }
  .store-developer-banner > .btn { margin-left: 73px; }
  .store-detail-main > .analytic-detail { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 29px; }
  .analytic-detail-copy { max-width: 600px; }
  .analytic-detail-copy h1 { font-size: 45px; }
  .detail-lead { max-width: 520px; font-size: 16px; }
  .analytic-detail-art { max-width: 680px; border-radius: 22px; }
  .detail-sections { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .detail-sidebar { position: static; }
  .detail-tags { gap: 7px; }
}
@media (max-width: 540px) {
  .site-header .brand-name { font-size: 20px; }
  .header-actions { gap: 7px; margin-left: auto; }
  .header-actions .mobile-menu-btn { display: inline-flex; }
  .header-actions .header-docs { display: none; }
  .header-actions .btn.ghost { padding-inline: 9px; font-size: 11px; }
  .site-header .site-nav.open, .site-header .site-nav.is-open { margin: 0; }
  .prompt-hero .hero-note { margin-top: 17px; font-size: 9px; }
  .composer-options { gap: 5px; }
  .composer-options > span { font-size: 9px; gap: 4px; }
  .composer-options > span svg { width: 12px; height: 12px; }
  .send-button { width: 35px; height: 35px; border-radius: 11px; }
  .send-button svg { width: 17px; height: 17px; }
  .section-eyebrow { font-size: 9px; margin-bottom: 11px; }
  .inspiration-section { padding-bottom: 54px; }
  .inspiration-section .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .inspiration-section .section-heading h2, .recent-section .section-heading h2 { font-size: 31px; line-height: 1.15; }
  .inspiration-section .section-heading > .text-link { font-size: 11px; }
  .inspiration-grid { gap: 18px; }
  .inspiration-card { display: flex; align-items: stretch; flex-direction: column; border-radius: 21px; }
  .inspiration-art { border-right: 0; border-bottom: 1px solid #e8ecf2; }
  .inspiration-art .analytic-illustration { min-height: 0; height: auto; }
  .inspiration-body { padding: 23px; }
  .inspiration-body h3 { font-size: 20px; }
  .inspiration-body p { font-size: 12px; }
  .card-arrow { width: 28px; height: 28px; }
  .journey-section { padding-block: 54px 60px; gap: 34px; }
  .journey-copy h2 { font-size: 35px; line-height: 1.14; }
  .journey-copy > p { margin-top: 20px; font-size: 13px; }
  .journey-steps { gap: 30px 21px; }
  .journey-step { flex-direction: column; gap: 13px; }
  .journey-step small { font-size: 9px; }
  .journey-step h3 { font-size: 16px; }
  .journey-step p { font-size: 11px; }
  .journey-icon { width: 36px; height: 36px; border-radius: 11px; }
  .journey-icon svg { width: 18px; height: 18px; }
  .site-footer.container > div { gap: 17px; font-size: 10px; }
  .site-footer.container > div > span { display: block; width: 100%; font-size: 9px; }
  .builder-header { padding-inline: 12px; }
  .builder-title-area { gap: 7px; }
  .builder-title-area > .status { display: none; }
  .builder-title-area .back-button { width: 23px; height: 28px; }
  button.builder-project-title { font-size: 12px; line-height: 1.5; }
  button.builder-project-title svg { width: 11px; height: 11px; }
  .save-indicator { font-size: 8px; }
  .builder-header-actions { gap: 5px; }
  .builder-header-actions .btn.icon-btn { display: none; }
  .builder-header-actions .btn.small { padding: 5px 9px; min-height: 31px; font-size: 9px; }
  .builder-header-actions .btn svg { width: 13px; height: 13px; }
  .builder-header-actions .btn.secondary { min-width: 30px; width: 30px; padding: 5px; overflow: hidden; font-size: 0; gap: 0; }
  .builder-header-actions .btn.secondary svg { width: 14px; height: 14px; }
  .mobile-builder-tabs > button { font-size: 11px; }
  .chat-bottom { padding-inline: 12px; }
  .context-strip { min-height: 32px; padding-block: 7px; }
  .chat-bottom .chat-composer > .composer-input { min-height: 77px; padding: 13px 14px 8px; font-size: 16px; }
  .chat-bottom .composer-options > span { font-size: 9px; }
  .chat-bottom .composer-options .btn.icon-btn { width: 27px; min-width: 27px; height: 27px; min-height: 27px; }
  .chat-bottom .chat-composer > .composer-footer { padding: 5px 9px 9px; }
  .composer-hint { font-size: 8px; }
  .builder-empty h2 { font-size: 22px; }
  .builder-empty p { font-size: 12px; }
  .chat-starters .suggestion { font-size: 10px; padding: 10px 12px; }
  .message-footnote { font-size: 8px; }
  .message-content .change-list { padding: 10px; }
  .message-content .change-list > div { font-size: 10px; }
  .preview-toolbar h2 { font-size: 23px; line-height: 1.25; }
  .preview-content > .preview-toolbar { gap: 11px; margin-bottom: 19px; }
  .preview-content > .preview-toolbar > .status { margin-top: 0; font-size: 8px; }
  .preview-content > .preview-toolbar > .row { padding-top: 0; }
  .preview-content > .preview-toolbar > .row .btn { padding: 5px 8px; font-size: 9px; }
  .preview-toolbar .section-eyebrow { font-size: 8px; margin-bottom: 8px; }
  .analytic-stage > .stage-caption { padding: 10px 12px; font-size: 9px; }
  .stage-bottom { padding: 10px 11px; font-size: 9px; }
  .stage-link { font-size: 9px; }
  .live-characteristics > .section-heading.small-heading { gap: 8px; margin-bottom: 13px; }
  .small-heading h3 { font-size: 12px; }
  .small-heading .btn.small { font-size: 10px; min-height: 30px; padding: 5px 8px; }
  .live-characteristics .spec-grid { gap: 9px; }
  .live-characteristics .spec-item { padding: 13px; gap: 8px; }
  .live-characteristics .spec-item > span { font-size: 9px; gap: 5px; }
  .live-characteristics .spec-item > span > svg { width: 12px; height: 12px; }
  .live-characteristics .spec-item > strong { font-size: 11px; }
  .analytic-summary { padding: 14px; gap: 9px; margin-top: 17px; }
  .analytic-summary p { font-size: 10px; }
  .builder-next { padding-top: 17px; font-size: 9px; }
  .builder-next .text-link { font-size: 10px; }
  .flow-intro { font-size: 11px; margin-bottom: 20px; }
  .flow-canvas { padding: 22px 14px; border-radius: 16px; }
  .flow-node { padding: 14px 12px; gap: 10px; border-radius: 12px; }
  .flow-node-icon { width: 32px; height: 32px; border-radius: 10px; }
  .flow-node-icon svg { width: 17px; height: 17px; }
  .flow-node strong { font-size: 11px; }
  .flow-node p { font-size: 9px; }
  .flow-node-tag { font-size: 7px; }
  .flow-connector { height: 20px; }
  .code-workbench { border-radius: 14px; }
  .code-file-tabs { padding-inline: 3px; }
  .code-file-tabs button { flex: 1; justify-content: center; gap: 4px; padding: 10px 7px; min-height: 40px; font-size: 9px; }
  .code-file-tabs button > svg { width: 11px; height: 11px; }
  .code-editor-header { padding: 11px 13px; font-size: 8px; }
  .source-editor { min-height: 365px; padding: 17px 16px; font-size: 13px; }
  .code-editor-footer { padding: 12px; font-size: 8px; gap: 9px; }
  .code-editor-footer .btn { font-size: 9px; padding-inline: 8px; }
  .test-source-tabs { gap: 7px; margin-bottom: 16px; }
  .test-source-tabs .btn { min-height: 31px; padding: 6px 9px; font-size: 9px; gap: 5px; }
  .test-source-tabs .btn svg { width: 12px; height: 12px; }
  .lab-stage { border-radius: 15px; }
  .lab-empty { min-height: 295px; padding: 30px 22px; }
  .lab-empty > span { width: 48px; height: 48px; margin-bottom: 17px; border-radius: 15px; }
  .lab-empty > span svg { width: 25px; height: 25px; }
  .lab-empty h3 { font-size: 20px; }
  .lab-empty p { font-size: 11px; }
  .lab-controls { gap: 10px; margin-top: 16px; }
  .lab-controls .btn { font-size: 10px; padding-inline: 10px; min-height: 34px; }
  .test-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 21px; }
  .test-metrics .metric { display: block; padding: 13px; }
  .test-metrics .metric strong { font-size: 21px; margin-top: 7px; }
  .test-metrics .metric strong small { display: inline; }
  .test-metrics .metric .text-metric { font-size: 12px; }
  .lab-detail-row { font-size: 8px; line-height: 1.7; }
  .lab-detail-row .text-link { font-size: 9px; }
  .event-card .card-header { padding: 16px; }
  .event-card .card-header h3 { font-size: 12px; }
  .event-card .card-header p { font-size: 9px; }
  .events-list { padding-inline: 15px; }
  .lab-event { gap: 9px; padding: 14px 0; }
  .lab-event strong { font-size: 10px; }
  .lab-event small, .lab-event time { font-size: 8px; }
  .events-empty { padding: 30px 20px; font-size: 10px; }
  .lab-welcome { grid-template-columns: minmax(0, 1fr); padding: 26px; gap: 24px; border-radius: 22px; margin-bottom: 30px; }
  .lab-welcome h2 { font-size: 31px; }
  .lab-welcome p { font-size: 12px; }
  .lab-welcome-art { min-height: 150px; }
  .lab-project-card { padding: 22px; gap: 13px; }
  .workspace-content > .lab-welcome + .section-heading h2 { font-size: 24px; }
  .local-storage-note { font-size: 9px; margin-top: 24px; }
  .publish-intro { padding: 18px; gap: 12px; }
  .publish-icon { width: 39px; height: 39px; border-radius: 12px; }
  .publish-icon svg { width: 21px; height: 21px; }
  .publish-intro h3 { font-size: 15px; }
  .publish-intro p { font-size: 10px; }
  .publish-progress { gap: 7px; margin: 0 1px 24px; }
  .publish-progress strong { font-size: 8px; }
  .publish-progress > div > span { width: 25px; height: 25px; font-size: 9px; }
  .publication-form .card-body > h3 { font-size: 13px; }
  .publication-checks { gap: 12px; margin-top: 20px; padding-top: 18px; }
  .publication-checks label { font-size: 10px; gap: 8px; }
  .publication-actions { flex-direction: column; align-items: stretch; gap: 9px; }
  .publication-actions .btn { width: 100%; min-height: 38px; font-size: 11px; }
  .review-explainer { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 27px; }
  .review-explainer > div { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
  .review-explainer > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .review-explainer svg { margin-bottom: 9px; }
  .review-explainer h4 { font-size: 12px; }
  .review-explainer p { font-size: 11px; margin-top: 7px; }
  .review-flow-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; padding: 25px 20px; }
  .review-flow-banner > svg { display: none; }
  .review-flow-banner > div { gap: 8px; }
  .review-flow-banner strong { font-size: 11px; }
  .review-flow-banner span { font-size: 9px; }
  .store-main { padding-bottom: 49px; }
  .store-hero { grid-template-columns: minmax(0, 1fr); padding-block: 53px 41px; gap: 34px; }
  .store-hero h1 { font-size: clamp(38px, 10.4vw, 48px); }
  .store-hero-copy > p { font-size: 14px; margin-top: 20px; }
  .store-hero-copy > p br { display: none; }
  .store-hero-copy > .row { margin-top: 23px; gap: 16px; }
  .store-hero-art { padding: 9px 0 0; }
  .store-art-grid { gap: 13px; transform: rotate(-7deg); }
  .store-art-tile { width: 86px; height: 86px; border-radius: 22px; }
  .store-art-tile > svg { width: 31px; height: 31px; }
  .store-art-caption { max-width: none; font-size: 9px; margin-top: 25px; }
  .store-catalog-heading { margin-top: 31px; margin-bottom: 20px; gap: 17px; }
  .store-catalog-heading h2 { font-size: 27px; line-height: 1.2; }
  .store-catalog-heading p { font-size: 11px; }
  .store-filters { gap: 7px; margin-bottom: 23px; }
  .filter-chip { min-height: 32px; padding: 6px 12px; font-size: 10px; }
  .analytic-card-content { padding: 23px; }
  .analytic-card-content > h3 { font-size: 20px; }
  .analytic-card-content > p { font-size: 12px; }
  .analytic-card-bottom { padding-top: 21px; }
  .store-developer-banner { margin-top: 34px; padding: 24px; gap: 18px; border-radius: 21px; }
  .developer-icon { width: 45px; height: 45px; border-radius: 14px; }
  .developer-icon svg { width: 23px; height: 23px; }
  .store-developer-banner > div { flex-basis: 100%; }
  .store-developer-banner h2 { font-size: 25px; line-height: 1.2; }
  .store-developer-banner p { font-size: 12px; }
  .store-developer-banner > .btn { margin-left: 0; min-height: 39px; font-size: 11px; }
  .store-detail-main { padding-block: 24px 48px; }
  .store-detail-main > .analytic-detail { margin-top: 28px; gap: 30px; }
  .analytic-detail-copy h1 { font-size: 42px; }
  .detail-lead { margin-top: 17px; font-size: 15px; }
  .analytic-detail-author { margin-block: 21px; }
  .analytic-detail-copy > .btn { font-size: 11px; min-height: 40px; }
  .detail-availability { font-size: 9px; }
  .analytic-detail-art { border-radius: 19px; }
  .detail-sections { margin-top: 35px; padding-top: 29px; gap: 26px; }
  .detail-sections > div > h2 { font-size: 24px; margin-top: 29px; }
  .detail-sections > div > p { font-size: 13px; }
  .capability-list > div, .plain-list { font-size: 12px; }
  .detail-sidebar { padding: 23px; }
  .detail-sidebar h3 { font-size: 17px; }
  .docs-article > h2 { font-size: 28px; }
}
@media (max-width: 374px) {
  .site-header .brand-name { font-size: 19px; }
  .site-header .brand-mark svg { width: 24px; height: 24px; }
  .header-actions .btn.ghost { font-size: 10px; padding-inline: 7px; }
  .header-actions .mobile-menu-btn { width: 32px; height: 32px; }
  .composer-options > span { font-size: 8px; }
  .composer-options > span svg { display: none; }
  .chat-bottom .composer-options > span { font-size: 8px; }
  .chat-bottom .composer-options > span svg { display: none; }
  .builder-header-actions .btn.secondary { display: none; }
  .builder-header-actions .btn.primary { min-height: 30px; padding-inline: 8px; font-size: 9px; }
  .builder-header-actions .btn.primary svg { width: 12px; height: 12px; }
  button.builder-project-title { font-size: 11px; }
  .save-indicator { font-size: 8px; }
  .preview-toolbar h2 { font-size: 22px; }
  .code-file-tabs button { font-size: 8px; gap: 3px; padding-inline: 5px; }
  .code-file-tabs button > svg { width: 10px; height: 10px; }
  .flow-node-tag { display: none; }
  .live-characteristics .spec-item { padding: 11px; }
  .live-characteristics .spec-item > span { font-size: 8px; }
  .live-characteristics .spec-item > strong { font-size: 10px; }
  .live-characteristics .spec-item > span > svg { width: 11px; height: 11px; }
  .stage-bottom { font-size: 8px; }
  .stage-link { font-size: 8px; }
  .stage-bottom svg { width: 11px; height: 11px; }
  .journey-copy h2 { font-size: 32px; }
  .journey-steps { gap: 28px 18px; }
  .journey-step h3 { font-size: 15px; }
  .store-hero h1 { font-size: 37px; }
  .store-hero-copy > .row { gap: 14px; }
  .store-hero-copy > .row .btn { padding-inline: 11px; font-size: 10px; }
  .store-hero-copy .text-link { font-size: 9px; }
  .store-catalog-heading h2 { font-size: 25px; }
  .analytic-detail-copy h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .inspiration-card, .send-button, .assistant-thinking i { animation: none !important; transition: none !important; }
}

/* Review detail uses the same readable, white workspace surfaces. */
.digest-text { overflow-wrap: anywhere; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; font-size: 11px; }
.modal details .code-block { max-height: 340px; overflow: auto; margin-top: 12px; }

.langsw{display:inline-flex;gap:2px;margin-left:8px}.langsw button{border:1px solid #d5dbe3;background:#fff;border-radius:999px;padding:3px 8px;font-size:11px;cursor:pointer}.langsw button.active{background:#111827;color:#fff;border-color:#111827}
