:root {
  color-scheme: light;
  --bg: #f8f8f3;
  --surface: #ffffff;
  --elevated: #edf1e9;
  --text: #182c25;
  --dim: #64726a;
  --line: #dce2d9;
  --green: #164c40;
  --purple: #617763;
  --accent: #164c40;
  --visual-surface: #f2f4ee;
  --visual-lavender: #326c58;
  --visual-line: #dce2d9;
  --fu-ease: cubic-bezier(.22,.7,.24,1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
  scroll-padding-top: 100px;
}
html[lang="zh-Hant"] { font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif; }
body { background: var(--bg); color: var(--text); }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #007068;
  outline-offset: 4px;
}
input, select, textarea { color-scheme: light; accent-color: var(--green); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; }
.fu-skip { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; padding: 14px; transform: translateY(-150%); border-radius: 7px; }
.fu-skip:focus { transform: none; }
.primary, .fu-primary, .lab-primary {
  background: #164c40;
  color: #fff;
  border: 1px solid #164c40;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  padding: 11px 17px;
}
.primary:hover, .fu-primary:hover, .lab-primary:hover { color: #fff; background: #103b32; border-color: #103b32; }
.shared-toolbar-actions .primary, .forum-page .primary, .form-content a.primary { color: #fff; }
.outline, .lab-outline { color: var(--green); background: #fff; border: 1px solid #a6b7aa; border-radius: 9px; min-height: 44px; }
.outline:hover, .lab-outline:hover { color: #103b32; background: #edf3eb; border-color: #6c9079; }
.primary:disabled, .lab-primary:disabled { opacity: .55; }
.text-button, .fu-subtle, .lab-text { color: var(--green); }
.field input, .field select, .field textarea, .shared-join input:not([type="checkbox"]) {
  background: #fff;
  color: var(--text);
  border-color: #a6b7aa;
  border-radius: 9px;
  min-height: 44px;
  font-size: 16px;
}
.field, .check-field, .shared-join label, .shared-member { color: var(--text); }
.check-field, .adult-check { line-height: 1.7; }

/* The existing navigation and content nodes keep their original event handlers. */
body .side {
  overflow: visible;
  position: relative;
  inset: auto;
  width: min(1380px, calc(100% - 44px));
  margin: 18px auto 0;
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(15px, 3vw, 45px);
  min-height: 65px;
  border: 1px solid #e1e5dd;
  border-radius: 18px;
  background: #ffffffec;
  box-shadow: 0 6px 25px #233e2905;
  z-index: 10;
}
.side > nav { display: flex; align-items: center; flex: 1; gap: 2px; min-width: 0; }
.fu-nav-toggle { display: none; }
.side .nav-item { display: flex; align-items: center; justify-content: center; gap: 6px; width: auto; min-height: 44px; margin: 0; padding: 10px 13px; font-size: 13px; font-weight: 650; color: #5e6a62; white-space: nowrap; }
.side .nav-item svg { width: 16px; height: 16px; }
.side .nav-item.active { background: #eaf1e7; color: var(--green); }
.side .nav-item:hover { color: var(--green); background: #f0f4ed; }
.side .side-divider, .side .side-label { display: none; }
.brand { gap: 0; }
.brand-mark { display: none; }
.wordmark, .lab-brand { color: #1b3c31; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 27px; font-weight: 850; letter-spacing: -.085em; line-height: 1.1; }
.form-spa-language { padding: 0; border: 0; background: transparent; flex: none; }
.form-spa-language > a { display: none; }
.form-language { gap: 1px; }
.form-language a { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 8px; font-size: 12px; }
.form-language a[aria-current="true"] { background: #eaf1e7; color: var(--green); border-color: #d2dfce; }
.form-language-switcher { position: relative; flex: none; text-align: start; }
.form-language-switcher > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #d9e3d1; border-radius: 9px; background: #f7faf3; color: var(--green); cursor: pointer; font-size: 13px; white-space: nowrap; }
.form-language-switcher > summary::-webkit-details-marker { display: none; }
.form-language-switcher[open] > summary { background: #eaf1e7; }
.form-language-switcher:not([open]) > .form-language { display: none; }
.form-language-switcher[open] > .form-language { position: absolute; z-index: 60; inset-inline-end: 0; top: calc(100% + 8px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; width: min(350px,calc(100vw - 32px)); max-height: min(70dvh,440px); overflow-y: auto; padding: 10px; border: 1px solid #d1dfc8; border-radius: 14px; background: #fff; box-shadow: 0 16px 45px #1c3b2929; }
.form-language-switcher .form-language a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid transparent; border-radius: 7px; color: #36583f; font-size: 13px; padding: 10px 12px; }
.form-language-switcher .form-language a:hover { background: #f0f5e9; }
.lab-language { position: relative; z-index: 12; }
[dir="rtl"] .fu-hero-copy, [dir="rtl"] .fu-brief, [dir="rtl"] .forum-topic { text-align: right; }
[dir="rtl"] .wordmark, [dir="rtl"] .lab-brand { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .fu-primary svg { transform: rotate(180deg); }
[dir="rtl"] .fs-viewport, [dir="rtl"] .th-stage, [dir="rtl"] .r20-stage { direction: ltr; }
[dir="rtl"] .th-columns, [dir="rtl"] .r20-selectors, [dir="rtl"] .r20-comparison { direction: ltr; }
[dir="rtl"] .th-panel, [dir="rtl"] .th-selector, [dir="rtl"] .r20-figure, [dir="rtl"] .r20-select { direction: rtl; }
[dir="rtl"] [lang="zh-Hans"], [dir="rtl"] [lang="en"] { unicode-bidi: isolate; }
.workspace { margin-left: 0; padding-bottom: 0; }
.workspace .topbar {
  position: relative; top: auto;
  width: min(1300px, calc(100% - 72px));
  margin: 12px auto 0;
  padding: 6px 0;
  min-height: 52px;
  border: 0;
  background: transparent;
  gap: 16px;
}
.topbar .mobile-brand { display: none; }
.breadcrumb { color: var(--dim); font-size: 12px; }
.breadcrumb span { color: var(--text); }
.searchbox { background: #fff; border: 1px solid #dce2d9; border-radius: 10px; color: #698070; height: 42px; max-width: 440px; }
.searchbox input { color: var(--text); background: transparent; border: 0; font-size: 13px; min-width: 0; }
.topbar .searchbox { background: #fff; }
.searchbox input::placeholder { color: #748175; }
.keyhint { color: #6b796d; border-color: #dce2d9; }
.quiet { color: var(--dim); }
.content, .content:has(.visual-pageheading) { max-width: 1380px; margin: 0 auto; padding: 26px 36px 0; }
.layout { display: block; }
.pageheading { margin: 12px 0 28px; }
.pageheading h1 { color: var(--text); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -.04em; }
.pageheading p { color: var(--dim); font-size: 15px; line-height: 1.65; }
.visual-pageheading { display: none; }
.mode-note { background: #eaf1e7; color: #355341; border-color: #b9cdbd; }
.mobile-nav { display: none; }

/* A task and a live model share the first screen, as in the supplied reference. */
.fu-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 4.2vw, 64px); align-items: center; padding: 17px 0 36px; position: relative; isolation: isolate; }
.fu-hero::before { content: ""; position: absolute; inset: -75px -20px -20px 30%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 72% 42%, #e7efdfb0 0, #f0f3e56b 41%, transparent 70%); }
.fu-eyebrow { font-size: 12px; font-weight: 650; color: #58725e; letter-spacing: .055em; margin: 0 0 17px; }
.fu-hero h1 { color: var(--text); margin: 0; font-size: clamp(37px, 4.05vw, 61px); font-weight: 760; line-height: 1.15; letter-spacing: -.055em; }
.fu-hero h1 span, .fu-workflow h2 span { color: #4b7b56; }
.fu-lead { max-width: 43ch; margin: 17px 0 22px; color: #607165; font-size: 15px; line-height: 1.8; }
.fu-brief { border: 1px solid #d7e0d2; border-radius: 20px; background: #ffffffed; padding: 18px 20px 16px; box-shadow: 0 8px 30px #25362404; }
.fu-brief label { display: block; color: #5c7160; font-size: 14px; font-weight: 650; margin-bottom: 12px; }
.fu-brief textarea { display: block; width: 100%; min-height: 96px; max-height: 240px; resize: vertical; border: 0; padding: 0; color: #2b4433; background: transparent; font-size: 16px; line-height: 1.75; }
.fu-brief textarea::placeholder { color: #778576; }
.fu-brief:focus-within { border-color: #7c9b82; box-shadow: 0 0 0 3px #abc5a524; }
.fu-brief > div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; border-top: 1px solid #edf0e8; margin-top: 12px; padding-top: 13px; }
.fu-brief a { color: var(--green); font-size: 12px; line-height: 1.5; min-height: 44px; display: flex; align-items: center; }
.fu-primary { display: inline-flex; align-items: center; gap: 14px; justify-content: center; cursor: pointer; }
.fu-primary svg { width: 18px; height: 18px; }
.fu-ideas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.fu-ideas button { color: #5b6f5e; border: 1px solid #d7e2d0; background: #ffffffc7; border-radius: 100px; padding: 8px 11px; min-height: 44px; font-size: 12px; line-height: 1.35; }
.fu-ideas button:hover, .fu-ideas button[aria-pressed="true"] { background: #e9f0e3; color: var(--green); border-color: #a0b69c; }
.fu-subtle { padding: 6px 0; margin-top: 8px; min-height: 40px; text-underline-offset: 4px; font-size: 12px; }
.fu-subtle:hover { text-decoration: underline; }

form-showcase { display: block; min-width: 0; position: relative; }
.fs-console { position: relative; overflow: hidden; background: linear-gradient(140deg,#ffffffed,#f0f3eae8); border: 1px solid #fff; border-radius: 25px; box-shadow: 0 22px 65px #334f2910, inset 0 0 0 1px #dce5d34d; }
.fs-top { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 15px 20px 4px; }
.fs-top > span { color: #627760; font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 6px; max-width: 54%; line-height: 1.5; }
.fs-top > span svg { width: 16px; height: 16px; flex: none; }
.fs-mode { display: flex; gap: 1px; border: 1px solid #e0e7d9; border-radius: 100px; padding: 3px; background: #edf2e66b; }
.fs-mode button { min-width: 48px; min-height: 36px; padding: 5px 10px; border-radius: 100px; color: #6b7c65; font-size: 12px; font-weight: 650; }
.fs-mode button[aria-pressed="true"] { color: #234e36; background: #fff; box-shadow: 0 2px 7px #405a3212; }
.fs-viewport { position: relative; isolation: isolate; height: clamp(330px, 28vw, 420px); min-width: 0; background: radial-gradient(ellipse at 50% 68%, #c9d7bd24, transparent 66%); }
.fs-models, .fs-model, .fs-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-model { opacity: 0; pointer-events: none; background: transparent; --poster-color: transparent; --progress-bar-height: 0; touch-action: pan-y; transition: opacity .28s var(--fu-ease); cursor: grab; }
.fs-model.is-visible { opacity: 1; pointer-events: auto; }
.fs-model:active { cursor: grabbing; }
.fs-poster { object-fit: contain; opacity: .75; pointer-events: none; }
.fs-loading { position: absolute; z-index: 2; bottom: 62px; left: 16px; right: 16px; text-align: center; font-size: 12px; line-height: 1.5; padding: 6px 10px; color: #36563e; background: #f7faf2e8; border-radius: 7px; }
.fs-retry { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); min-height: 44px; background: var(--green); color: #fff; border-radius: 8px; padding: 9px 14px; font-size: 13px; }
.fs-viewport-tools { position: absolute; bottom: 9px; left: 15px; right: 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; z-index: 2; pointer-events: none; }
.fs-hint { color: #66775f; font-size: 11px; line-height: 1.4; padding: 3px 4px; background: #f5f7f0d9; border-radius: 4px; max-width: 40%; }
.fs-camera { display: flex; align-items: center; gap: 2px; pointer-events: auto; }
.fs-camera button { display: grid; place-items: center; width: 36px; height: 40px; color: #526d53; background: #ffffffda; border: 1px solid #dce5d4; border-radius: 50%; }
.fs-camera button:hover, .fs-camera button[aria-pressed="true"] { background: #e3eedc; border-color: #8da986; }
.fs-camera button svg { width: 16px; height: 16px; }
.fs-views { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 0 14px; padding-top: 5px; }
.fs-views:empty { display: none; }
.fs-views button { min-height: 40px; padding: 6px 12px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; color: #66775f; }
.fs-views button[aria-pressed="true"] { background: #e3eddc; border-color: #c5d6be; color: #24533a; }
.fs-detail { margin: 6px 18px 2px; color: #637460; min-height: 34px; text-align: center; font-size: 11px; line-height: 1.6; }
.fs-detail:empty { display: none; }
.fs-library { display: flex; gap: 9px; padding: 10px 20px 13px; }
.fs-library button { display: flex; align-items: center; flex-direction: column; gap: 3px; width: 88px; min-height: 90px; padding: 5px; border: 1px solid #e1e7db; border-radius: 13px; background: #ffffffad; color: #677c61; font-size: 11px; }
.fs-library button[aria-pressed="true"] { border-color: #93ae88; background: #eaf1e3; color: #285239; }
.fs-library button:hover { background: #edf3e7; }
.fs-library img { width: 66px; height: 56px; object-fit: contain; }
.fs-provenance { border-top: 1px solid #e5ebde; margin: 0 20px; padding: 9px 0 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; color: #6b7b62; font-size: 10px; line-height: 1.6; }
.fs-provenance a { color: #345c3f; min-height: 25px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.fs-hotspot { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 10px; color: #34593e; background: transparent; }
.fs-hotspot:not([data-facing]) { visibility: hidden; }
.fs-hotspot svg { width: 24px; height: 24px; background: #fcfdf7ed; border: 1px solid #8ea887; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 4px #d6e4cb40; }
.fs-hotspot:hover svg, .fs-hotspot:focus-visible svg { background: #dcebd4; }
.fs-dialog { width: min(1160px, calc(100% - 28px)); max-width: none; height: min(900px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #d3dfca; border-radius: 24px; background: #f7faf2; padding: 12px; overflow: auto; color: var(--text); }
.fs-dialog::backdrop { background: #1d332b8a; backdrop-filter: blur(8px); }
.fs-dialog > .fs-console, .fs-dialog form-showcase { width: 100%; box-shadow: none; }
.fs-dialog .fs-viewport { height: clamp(300px, 55dvh, 640px); }
.fs-dialog .fs-top { padding-right: 45px; }
.fs-dialog-close { position: absolute; z-index: 10; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 100%; background: #fff; border: 1px solid #dce5d4; display: grid; place-items: center; }
.fs-dialog-close svg { width: 20px; height: 20px; }
body:has(.fs-dialog[open]) { overflow: hidden; }
.fs-dialog .fs-camera button { width: 44px; height: 44px; }
.fs-dialog [data-fs-camera="expand"] { display: none; }

.th-teaser { margin: 8px 0 35px; background: #f0f4eb; border: 1px solid #dce5d5; border-radius: 15px; }
.th-teaser-link strong { color: var(--text); }
.th-teaser-link small { color: var(--dim); }
.th-teaser > form-product-model { background: transparent; }
.fu-workflow { padding: 35px 0 38px; }
.fu-workflow > header { text-align: center; }
.fu-workflow h2 { margin: 0; font-size: clamp(27px, 3vw, 40px); line-height: 1.25; letter-spacing: -.04em; }
.fu-workflow > header p { color: var(--dim); font-size: 14px; line-height: 1.65; margin: 13px 0 22px; }
.fu-workflow-grid { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.4fr) minmax(150px, .7fr); gap: 25px; align-items: center; }
.fu-workflow-links { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.fu-workflow-links > * { min-height: 48px; display: flex; align-items: center; font-size: 15px; font-weight: 650; color: #536951; border: 0; background: none; text-underline-offset: 6px; }
.fu-workflow-links > *:hover { color: var(--green); text-decoration: underline; }
.fu-workflow .fs-console { background: transparent; box-shadow: none; border-color: transparent; }
.fu-workflow .fs-viewport { height: 350px; }
.fu-workflow .fs-top { padding-top: 0; }
.fu-workflow .fs-provenance { margin-inline: 16px; }
.visual-shelves { gap: 18px; margin: 25px 0 42px; }
.visual-shelf { background: #fff; border-color: var(--line); border-radius: 16px; color: var(--text); }
.visual-shelf:hover { border-color: #a0b69c; }
.visual-shelf small { color: var(--dim); font-size: 12px; }
.visual-shelf-link { padding: 15px 17px; min-height: 65px; }
.visual-shelf strong { font-size: 17px; }
.section-title, .section-head h2 { font-size: 22px; letter-spacing: -.02em; color: var(--text); }
.section-head { margin: 32px 0 16px; }
.section-head > span { color: var(--dim) !important; }
.tabsbar { border-color: var(--line); }
.tab { color: #667362; min-height: 44px; padding-inline: 14px; }
.tab.active { color: var(--green); border-color: var(--green); }
.feed-row { padding-block: 23px; border-color: var(--line); gap: 25px; }
.feed-title { font-size: 20px; color: var(--text); line-height: 1.5; }
.feed-desc { color: var(--dim); font-size: 14px; line-height: 1.7; }
.feed-meta, .feed-foot, .save-btn { color: var(--dim); font-size: 12px; }
.topic-label { color: #3e6b43; background: #e8f0e1; border-color: #d5e2ca; }
.thumbnail { border-radius: 12px; width: 180px; background: #edf1e7; border-color: var(--line); }
.empty-state, .saved-empty { color: var(--dim); background: transparent; border-color: var(--line); }
.fu-search-results { margin-bottom: 32px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.fu-search-results h2 { margin: 0 0 12px; font-size: 21px; }
.fu-search-results ul { padding: 0; list-style: none; margin: 0; }
.fu-search-results li { display: grid; gap: 4px; padding-block: 12px; border-top: 1px solid var(--line); }
.fu-search-results a { color: var(--green); font-size: 15px; font-weight: 600; line-height: 1.6; }
.fu-search-results small, .fu-search-results p, .fu-search-results [role="status"] { color: var(--dim); font-size: 12px; line-height: 1.7; }
.saved-item, .saved-empty, .draft-strip, .local-reply { color: var(--text); }
.draft-strip, .local-reply { background: #fff; border-color: var(--line); }
.mini-tool, .thread-box { background: #fff; border: 1px solid var(--line); border-radius: 17px; margin-block: 32px; }
.tool-header h3 { color: var(--text); font-size: 24px; }
.tool-header p, .tool-note, .select-field, .compare-table { color: var(--dim); }
.select-field select { background: #f6f8f2; color: var(--text); border-color: #aab9a4; min-height: 44px; }
.compare-table td, .compare-table th { border-color: var(--line); color: #4c6050; padding-block: 13px; }
.compare-table th { color: var(--text); background: #f1f5ec; }
.compare-visual, .visual-material-frame { background: #f0f3e9; border-color: var(--line); }
.visual-material-switch { background: #fff; }
.visual-material-switch button { color: var(--green); min-height: 44px; }
.visual-material-switch button[aria-pressed="true"] { color: #fff; background: var(--green); }
.thread { border-color: var(--line); color: var(--text); }
.thread small { color: var(--dim); font-size: 12px; }
.thread-box { padding: 22px 26px 10px; }
.thread-box > .section-head { margin: 0 0 8px; gap: 12px 20px; flex-wrap: wrap; }
.thread-box > .section-head .section-title { margin: 0; }
.thread-box > .section-head > button { min-height: 44px; color: var(--green); font-size: 13px; }
.thread-box .visual-thread { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; margin: 0; padding-block: 16px; background: #fff; border-top: 1px solid var(--line); }
.thread-box .visual-thread-model { --model-ratio: 1.25; --model-radius: 10px; }
/* The thumbnail is outside this button, so its children need only text and a chevron. */
.visual-thread > .thread { grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; min-width: 0; min-height: 84px; padding: 8px 0; border-top: 0; text-align: start; }
.visual-thread > .thread > span { min-width: 0; }
.visual-thread > .thread strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.visual-thread > .thread small { font-size: 13px; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; }
.visual-thread > .thread > svg { justify-self: end; }
.visual-thread > .thread:hover strong { color: var(--green); }
.visual-thread > .thread:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 6px; }

.shared-community { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 25px; margin-top: 0; }
.visual-discussion-hero { grid-template-columns: minmax(0, 1fr) 200px; min-height: 0; max-height: 185px; background: #edf3e7; border-color: #dce6d4; border-radius: 14px; padding: 15px 20px; }
.visual-discussion-intro { margin: 5px 12px; }
.visual-discussion-art { --model-ratio: auto; height: 150px; min-height: 0; }
.visual-discussion-intro h1 { color: var(--text); font-size: clamp(27px, 2.7vw, 34px); }
.visual-discussion-intro p:last-of-type { color: var(--dim); font-size: 14px; }
.shared-toolbar { border-color: var(--line); gap: 12px; margin-top: 18px; }
.shared-filter { gap: 5px; }
.shared-filter button { min-height: 44px; color: #61735e; border-color: #d7e1d1; background: #fff; border-radius: 8px; font-size: 13px; }
.shared-filter button[aria-pressed="true"] { background: #e9f1e2; border-color: #9bb38c; color: var(--green); }
.shared-feed-head { padding: 14px 0; gap: 10px; color: var(--dim); }
.shared-feed-head select { min-height: 44px; background: #fff; color: var(--text); border-color: #aab9a4; border-radius: 7px; font-size: 13px; max-width: 210px; }
.shared-feed-head label { color: var(--dim); font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.shared-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shared-post { background: #fff; border-color: #dce3d6; border-radius: 13px; box-shadow: none; cursor: pointer; }
.shared-post:hover { background: #f5f8ef; border-color: #9bb28c; box-shadow: 0 7px 20px #3b52220a; transform: none; }
.shared-post:has(.shared-card-title:focus-visible) { outline: 2px solid #007068; outline-offset: 4px; }
.shared-card-cover { background: #edf2e6; }
.shared-cover-label { color: #617658; background: #f6f8f0e8; border-color: #d7e2cb; }
.shared-card-copy { padding: 16px; }
.shared-card-meta { color: var(--dim); }
.shared-category { color: #466b43; background: #edf3e7; }
.shared-card-title { color: var(--text); font-size: 17px; line-height: 1.55; }
.shared-card-excerpt, .shared-card-foot small { color: var(--dim); font-size: 13px; }
.shared-card-copy .shared-card-excerpt { color: var(--dim); }
.shared-card-foot, .shared-card-meta > span { border-color: var(--line); }
.shared-comment-count { color: var(--green); }
.shared-member { flex-wrap: wrap; margin: 0; font-size: 12px; }
.shared-quiet-button { min-height: 44px; color: var(--green); border-color: #d4e0ce; background: #f7faf3; }
.shared-toolbar-actions, #shared-account { flex-wrap: wrap; }
.shared-community .text-button, .shared-comment .text-button { color: var(--green); min-height: 40px; }
.shared-status, .lab-error { color: #983c32; }
.shared-solved { color: #245b38; background: #e6f1df; border-color: #b7d2a8; }
.shared-simulation-label { color: #87632d; }
.shared-helpful[aria-pressed="true"] { color: #164c40; background: #e6f0df; }
.shared-loading, .shared-intro, .shared-join p { color: var(--dim); }
.shared-loading { background: #f2f6ec; }

.fu-archive-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; padding: 12px 14px; background: #edf2e7; border: 1px solid #d9e3d0; border-radius: 12px; }
.fu-archive-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #345d39; padding: 7px 13px; border-radius: 8px; }
.fu-archive-nav a:hover { background: #fff; }
.th-gallery, .r20-archive, .diy-cad { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 20px; padding: clamp(16px, 2.5vw, 28px); margin-block: 22px; }
.th-gallery h3, .r20-archive h3, .diy-cad h3 { color: var(--text); font-size: clamp(24px, 2.7vw, 34px); letter-spacing: -.035em; }
.th-gallery h4, .r20-archive h4, .diy-cad h4 { color: var(--text); }
.th-brand, .r20-brand { color: #5a7757; font-size: 12px; }
.th-intro, .th-note, .th-edits, .th-source, .th-size, .r20-notes, .r20-specs, .r20-description, .diy-cad-note, .diy-cad-heading p, .diy-cad-references, .diy-cad-model p { color: var(--dim); line-height: 1.75; }
.th-panel, .r20-figure, .diy-cad-model { background: #f9faf6; border-color: #dce5d5; border-radius: 13px; color: var(--text); }
.th-stage, .r20-stage { background: radial-gradient(ellipse at 50% 45%, #f7faf1, #e8efe1); border-color: #e0e7d9; border-radius: 11px; }
.th-stage model-viewer, .r20-stage model-viewer { touch-action: pan-y; }
.th-selectors select, .r20-select select, .diy-cad-heading select { background: #fff; color: var(--text); border: 1px solid #9fb194; min-height: 44px; border-radius: 8px; font-size: 15px; }
.th-selectors label, .r20-select { color: var(--dim); font-size: 12px; }
.th-controls button, .th-open, .r20-actions button { color: var(--green); border-color: #9fb194; background: #fff; min-height: 44px; border-radius: 8px; }
.th-status, .r20-status, .diy-cad-specs dt { color: var(--dim); }
.th-heading a, .th-sources a, .r20-sources a, .r20-notes a, .diy-cad a { color: var(--green); text-underline-offset: 4px; min-height: 36px; display: inline-flex; align-items: center; }
.th-gallery .th-cutaways-link { color: var(--green); min-height: 44px; display: inline-flex; align-items: center; }
.r20-notes strong, .diy-cad-specs dd, .r20-wall-table { color: var(--text); }
.r20-wall-table { background: #fff; border-color: var(--line); }
.r20-wall-table th, .r20-wall-table td { border-color: var(--line); padding: 11px; }
.diy-cad-specs { background: #edf3e7; border-color: #d6e2cb; border-radius: 9px; padding: 14px; }
.diy-cad-specs dd { font-size: 21px; }
.diy-cad-references { border-color: var(--line); }
.diy-cad-links a { color: var(--green); background: #f5f8f0; border-color: #c3d4b8; min-height: 44px; padding: 8px 11px; border-radius: 7px; }
.diy-cad-actions a:first-child { color: #fff; background: var(--green); }
.diy-cad-source a { background: transparent; }
.diy-cad-references summary { color: var(--text); min-height: 44px; }

form-product-model { background: radial-gradient(ellipse at 50% 50%, #f4f7ed, #e8efdf); }
form-product-model > model-viewer { --progress-bar-color: #60845a; touch-action: pan-y; }
form-product-model .product-model-hint { background: #f9fbf3eb; color: #43633e; border: 1px solid #d7e3cf; }
form-product-model .product-model-retry { background: #fff; color: var(--green); border-color: #9eb18f; min-height: 40px; }
.fu-model-expand { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; color: #43633e; background: #fcfdf8e8; border: 1px solid #d7e3cf; border-radius: 50%; opacity: 0; transition: opacity .15s; }
.fu-model-expand svg { width: 16px; height: 16px; }
form-product-model:hover .fu-model-expand, form-product-model:focus-within .fu-model-expand { opacity: 1; }
@media (hover: none) { .fu-model-expand { opacity: 1; } }

.fu-resource-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 34px; margin-top: 36px; border-top: 1px solid var(--line); }
.rail-section { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px; }
.rail-section h3 { color: var(--text); font-size: 18px; }
.rail-section p, .rail-title span, .rail-foot, .status { color: var(--dim); font-size: 12px; }
.rail-section .start-step { color: #456443; border-color: var(--line); min-height: 44px; }
.step-num { color: var(--green); background: #e9f1e2; border-color: #cadbc0; }
.rail-section .tiny-dot, .side-bottom .tiny-dot { background: #5a8250; }
.hardware-rail .lineicon { background: transparent; }
.rail-foot { grid-column: 1/-1; line-height: 1.8; }
.footer { border-color: var(--line); color: var(--dim); font-size: 12px; line-height: 1.8; display: flex; flex-wrap: wrap; gap: 16px 30px; padding-block: 28px; }
.footer .brand-sub { margin: 0; color: var(--dim); font-size: 12px; }
.footer .side-bottom { position: static; margin: 0; padding: 0; border: 0; font-size: 12px; color: var(--dim); }
.footer .side-bottom a { display: inline-block; margin: 0 0 0 12px; color: var(--green); }
.footer .quiet { padding: 0; }

/* Server-rendered topics retain their metadata, body, controls and linked replies. */
.forum-page-header { background: #fff; border-color: var(--line); }
.forum-page-header > .forum-page-width { width: min(1300px, calc(100% - 60px)); min-height: 78px; gap: 20px; }
.forum-page-header nav { font-size: 14px; gap: 20px; }
.forum-page-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.forum-page > main.forum-page-width { width: min(940px, calc(100% - 40px)); }
.forum-page .forum-topic, .forum-page .forum-replies, .forum-page .forum-related { background: #fff; border-color: var(--line); border-radius: 18px; padding: clamp(20px, 4.1vw, 42px); margin-top: 24px; }
.forum-topic h1 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.35; letter-spacing: -.03em; }
.forum-kicker { font-weight: 600; color: #587451; }
.forum-page .shared-thread-text, .forum-page .shared-comment p { color: #324b39; font-size: 16px; line-height: 1.85; }
.forum-cover > form-product-model { border: 1px solid var(--line); border-radius: 15px; --model-ratio: 1.8; }
.forum-cover figcaption, .forum-original-note { color: var(--dim); }
.forum-editorial div, .forum-resolution, .forum-poll, .forum-ama, .content-fit-card, .growth-guide, .growth-care-invitation { background: #f1f6eb; border-color: #d0dfc6; color: var(--text); }
.form-content, .form-growth, .forum-followups { background: #f1f6eb; border-color: #d0dfc6; color: var(--text); border-radius: 12px; }
.form-growth-table td, .form-growth-table th, .content-facts div, .forum-followup-result { border-color: #ccdcc1; }
.form-content h2, .form-growth h2 { color: var(--text); }
#content-fit-form input, #content-fit-form select, #content-fit-form textarea { background: #fff; color: var(--text); border-color: #98b08d; border-radius: 8px; }
#content-fit-form input::placeholder, #content-fit-form textarea::placeholder { color: #6b7d61; }
.forum-editorial p, .forum-poll-note, .forum-poll-summary, .forum-followup-result p { color: #50684e; }
.forum-poll-option, .forum-followup-result, .shared-model-suggestions, .shared-reply-context { background: #fff; border-color: #d2dfca; color: var(--text); }
.forum-poll-option small, .forum-ama-details { color: var(--dim); }
.shared-comment { border-color: var(--line); }
.shared-comment p, .shared-post p { color: #52634f; }
.shared-comment.is-accepted, .forum-replies .shared-comment:target { background: #eff6e7; border-color: #a4c093; }
.shared-parent, .forum-resolution a, .shared-follow-update { color: var(--green); }
.forum-replies .shared-helpful { min-height: 40px; font-size: 12px; }
.forum-page [data-thread-actions] { border-color: var(--line); }
.forum-archive li { padding-block: 17px; }
.forum-archive li > a { font-size: 16px; font-weight: 600; line-height: 1.55; }
.forum-archive li small { font-size: 12px; }
.shared-follow-entry, .shared-notification, .shared-notification.is-unread { color: var(--text); border-color: var(--line); background: #f6f9f1; }
.shared-follow-meta, .shared-notification small { color: var(--dim); }
.shared-notification-button [data-unread] { color: #fff; }
.forum-followup-result:target { background: #e4f0d9; }
.article .shared-follow-update { background: #e5f0dc; color: var(--green); }

dialog#modal { color: var(--text); background: #fff; border: 1px solid #ccdac2; border-radius: 22px; padding: clamp(22px, 4vw, 42px); box-shadow: 0 25px 90px #203c3040; }
dialog#modal::backdrop, #lab-dialog::backdrop { background: #23392d85; backdrop-filter: blur(6px); }
.modal-close { color: #3c623d; background: #f1f5eb; border: 1px solid #d4dfcc; border-radius: 50%; width: 42px; height: 42px; }
.article h2 { color: var(--text); line-height: 1.4; }
.article h3 { color: var(--text); }
.article p, .article li, .disclosure { color: #596c57; line-height: 1.8; }
.disclosure { background: #f0f5e8; border-color: #cadcc0; }
.article-type { color: #5d7e54; }
.compare-visual-caption, .visual-article-image { background: #eff4e6; color: #5a7450; }
#toast { color: #fff; background: #164c40; border-color: #3c7658; }

.lab-page { background: var(--bg); color: var(--text); font-family: inherit; }
.lab-header { width: min(1380px, calc(100% - 44px)); margin: 18px auto 0; min-height: 68px; padding: 12px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.lab-brand { display: flex; align-items: center; gap: 14px; }
.lab-brand span { font-size: 13px; letter-spacing: 0; font-weight: 600; color: #657c5b; }
.lab-language { max-width: 1320px; }
.lab-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.lab-main { max-width: 1320px; padding-top: 36px; }
.lab-intro { max-width: 740px; }
.lab-intro h1 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.04em; }
.lab-lead { color: var(--dim); }
.lab-workspace { gap: 28px; margin-top: 28px; }
.lab-panel { background: #fff; border: 1px solid var(--line); border-radius: 21px; box-shadow: 0 12px 38px #2c47250a; }
.lab-input { padding: 27px; }
.lab-input textarea { border: 1px solid #b8cbae; background: #fbfcf8; border-radius: 12px; font-size: 16px; }
.lab-examples button { color: #4d7045; border: 1px solid #d5e3cc; background: #f8fbf3; border-radius: 8px; min-height: 44px; }
.lab-image-wrap { background: #f0f4e8; border-radius: 14px; }
.lab-preview figure { background: transparent; }
.lab-boundary, .lab-step { color: #63795d; }
#lab-dialog { background: #fff; color: var(--text); border-radius: 20px; border-color: var(--line); }

@media (min-width: 1500px) {
  .fu-hero h1 { font-size: 62px; }
  .fs-viewport { height: 410px; }
}
@media (max-width: 1120px) {
  .side .nav-item { padding-inline: 9px; font-size: 12px; }
  .side .nav-item svg { display: none; }
  .content, .content:has(.visual-pageheading) { padding-inline: 28px; }
  .fu-hero { gap: 28px; }
  .fu-hero h1 { font-size: 44px; }
  .fu-brief { padding-inline: 16px; }
  .fu-brief > div { align-items: stretch; }
  .fu-brief a { min-height: 30px; }
  .fs-top { padding-inline: 15px; }
  .fs-library { padding-inline: 15px; }
  .fs-provenance { margin-inline: 15px; }
  .fs-viewport { height: 350px; }
  .shared-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 790px) {
  :root { scroll-padding-top: 20px; }
  body .side { width: calc(100% - 28px); margin-top: 12px; padding: 10px 14px 7px; flex-wrap: wrap; gap: 6px 12px; border-radius: 16px; }
  .side .brand { order: 0; margin-inline-end: auto; min-height: 38px; }
  .side .form-spa-language { order: 1; }
  .side > nav { order: 2; flex: 1 0 100%; max-width: calc(100% - 64px); overflow-x: auto; padding: 3px 0; scrollbar-width: thin; }
  .side > .fu-nav-toggle { position: absolute; inset-inline-end: 14px; top: 63px; display: block; min-width: 48px; min-height: 44px; margin: 0; padding: 6px; border: 1px solid #ccdac3; border-radius: 8px; background: #edf3e7; color: var(--green); font-size: 12px; }
  .side.fu-nav-open > nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .side.fu-nav-open .nav-item { white-space: normal; overflow-wrap: anywhere; justify-content: flex-start; }
  .side .nav-item { min-height: 44px; font-size: 12px; padding-inline: 11px; }
  .form-language a { min-height: 38px; }
  .workspace .topbar { width: calc(100% - 32px); margin-top: 8px; gap: 8px; flex-wrap: wrap; padding: 2px 0; }
  .breadcrumb { display: none; }
  .searchbox { flex: 1 1 140px; max-width: none; min-width: 0; }
  .topbar .searchbox { height: 44px; }
  .searchbox input { font-size: 16px; }
  .top-actions { gap: 6px; }
  .top-actions .quiet { min-width: 40px; min-height: 44px; padding-inline: 6px; }
  .top-actions .quiet .label { display: none; }
  .top-actions .primary { font-size: 12px; padding: 8px 12px; }
  .content, .content:has(.visual-pageheading) { padding: 26px 18px 0; }
  .fu-hero { display: flex; flex-direction: column; gap: 14px; padding: 0 0 22px; align-items: stretch; }
  .fu-hero-copy { display: contents; }
  .fu-eyebrow { order: 0; margin: 0 0 -5px; font-size: 11px; }
  .fu-hero h1 { order: 1; font-size: clamp(37px, 6.2vw, 49px); line-height: 1.15; }
  .fu-lead { order: 2; font-size: 13px; line-height: 1.65; margin: -2px 0 2px; max-width: 45ch; }
  .fu-hero-viewer { order: 3; }
  .fu-brief { order: 4; border-radius: 16px; padding: 16px; }
  .fu-ideas { order: 5; margin-top: 0; gap: 5px; }
  .fu-ideas button { font-size: 12px; padding-inline: 10px; }
  .fu-subtle { order: 6; text-align: left; margin: -7px 0 0; }
  .fu-hero::before { inset: -20px -10px 40% 0; }
  .fs-console { border-radius: 19px; }
  .fs-viewport { height: clamp(260px, 67vw, 385px); }
  .fs-top { padding: 11px 13px 0; }
  .fs-mode button { min-height: 40px; min-width: 48px; font-size: 11px; padding-inline: 9px; }
  .fs-top > span { font-size: 11px; }
  .fs-camera button { width: 44px; height: 44px; }
  .fs-viewport-tools { left: 8px; right: 8px; gap: 4px; bottom: 5px; }
  .fs-hint { max-width: 35%; font-size: 10px; }
  .fs-views { gap: 2px; margin: 0 8px; }
  .fs-views button { min-height: 44px; padding-inline: 11px; }
  .fs-detail { margin: 3px 14px; min-height: 32px; font-size: 11px; }
  .fs-library { gap: 8px; padding: 8px 13px 10px; }
  .fs-library button { min-height: 77px; width: 79px; font-size: 10px; border-radius: 11px; }
  .fs-library img { height: 45px; width: 60px; }
  .fs-provenance { font-size: 10px; margin-inline: 13px; padding-bottom: 7px; }
  .fu-workflow { padding: 26px 0; }
  .fu-workflow h2 { font-size: 29px; }
  .fu-workflow > header p { font-size: 13px; margin-bottom: 15px; }
  .fu-workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 12px; }
  .fu-workflow form-showcase { grid-row: 1; grid-column: 1/-1; }
  .fu-workflow-links { gap: 0; }
  .fu-workflow-links > * { font-size: 13px; }
  .fu-workflow .fs-viewport { height: 290px; }
  .visual-shelves { gap: 9px; }
  .visual-shelf-link { padding: 10px; }
  .visual-shelf strong { font-size: 14px; }
  .visual-shelf small { font-size: 11px; line-height: 1.5; }
  .feed-title { font-size: 17px; }
  .feed-desc { font-size: 13px; }
  .thumbnail { width: 115px; }
  .feed-row { gap: 12px; }
  .fu-resource-rail { grid-template-columns: 1fr; gap: 12px; }
  .fu-resource-rail .visual-rail-model { max-height: 180px; }
  .shared-community { padding: 15px; border-radius: 15px; }
  .visual-discussion-hero { grid-template-columns: minmax(0, 1fr) 116px; padding: 10px; max-height: 170px; }
  .visual-discussion-art { height: 140px; }
  .visual-discussion-intro { margin: 4px; }
  .visual-discussion-intro h1 { font-size: 23px; }
  .visual-discussion-intro > p:last-of-type { max-width: none; font-size: 12px; }
  .shared-toolbar-actions { width: 100%; justify-content: space-between; }
  .shared-feed-head [data-model-filter] { max-width: 165px; }
  .forum-page-header > .forum-page-width { width: calc(100% - 30px); gap: 6px 16px; }
  .forum-page-header nav { gap: 10px; font-size: 12px; }
  .forum-page > main.forum-page-width { width: calc(100% - 28px); }
  .forum-page .forum-topic, .forum-page .forum-replies, .forum-page .forum-related { padding: 20px 16px; margin-top: 16px; border-radius: 14px; }
  .forum-topic h1 { font-size: 27px; line-height: 1.4; }
  .forum-page .shared-thread-text { font-size: 15px; }
  .forum-cover > form-product-model { --model-ratio: 1.4; }
  .forum-page .forum-cover { margin-top: 20px; }
  .lab-header { width: calc(100% - 28px); padding-inline: 15px; margin-top: 12px; border-radius: 15px; }
  .lab-header nav { gap: 10px; }
  .lab-main { padding-top: 25px; }
  .lab-input { padding: 20px; }
}
@media (max-width: 520px) {
  .thread-box { padding: 16px 16px 4px; margin-block: 24px; }
  .thread-box > .section-head { gap: 6px 12px; margin-bottom: 4px; }
  .thread-box > .section-head .section-title { font-size: 20px; }
  .thread-box > .section-head > button { font-size: 12px; }
  .thread-box .visual-thread { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; padding-block: 14px; }
  .thread-box .visual-thread-model { --model-ratio: 1; --model-radius: 8px; }
  .thread-box .visual-thread-model .fu-model-expand { inset: 0; width: 100%; height: 100%; padding: 5px; place-items: end; border: 0; border-radius: inherit; background: transparent; opacity: 1; }
  .thread-box .visual-thread-model .fu-model-expand svg { box-sizing: content-box; width: 12px; height: 12px; padding: 4px; border: 1px solid #d7e3cf; border-radius: 5px; background: #fcfdf8e8; }
  .thread-box .visual-thread-model .product-model-hint { inset: auto auto 5px 4px; padding: 2px 3px; font-size: 8px; max-width: 36px; }
  .visual-thread > .thread { grid-template-columns: minmax(0, 1fr) 16px; gap: 8px; min-height: 76px; padding-block: 4px; }
  .visual-thread > .thread strong { font-size: 15px; line-height: 1.55; }
  .visual-thread > .thread small { font-size: 12px; line-height: 1.55; margin-top: 6px; }
  .shared-post-grid { grid-template-columns: 1fr; gap: 14px; }
  .shared-card-cover > form-product-model { --model-ratio: 1.8; }
  .shared-card-title { font-size: 17px; }
  .visual-shelves { grid-template-columns: 1fr; }
  .visual-shelf { grid-template-columns: 115px minmax(0, 1fr); grid-template-rows: 1fr; align-items: center; min-height: 100px; }
  .visual-shelf > form-product-model { height: 100%; --model-ratio: auto; min-height: 100px; }
  .visual-shelf-link { padding: 12px 15px; }
  .visual-shelf small { display: block; margin-top: 6px; }
  .feed-row { grid-template-columns: 1fr; }
  .feed-row .thumbnail { width: 100%; max-height: 190px; }
  .feed-row .thumbnail form-product-model { --model-ratio: 1.9; }
  .fu-brief > div { gap: 5px 8px; }
  .fu-primary { padding-inline: 13px; font-size: 13px; gap: 8px; }
  .fs-hint { max-width: 23%; font-size: 9px; }
  .fs-camera { gap: 0; }
  .fs-camera button { width: 44px; }
  .fs-views button { padding-inline: 10px; }
  .fu-model-expand { opacity: 1; min-width: 44px; min-height: 44px; }
  .fu-archive-nav { gap: 1px; padding: 7px; }
  .fu-archive-nav a { padding-inline: 9px; font-size: 12px; }
  .fs-dialog { width: calc(100% - 12px); height: calc(100dvh - 14px); max-height: calc(100dvh - 14px); padding: 5px; border-radius: 18px; }
  .fs-dialog .fs-viewport { height: 53dvh; }
  .fs-dialog-close { top: 12px; right: 12px; }
  .forum-thread-tools { flex-wrap: wrap; }
  .shared-comment-actions { gap: 5px 10px; }
  .forum-page-header nav.form-language { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}
