/* 工作台专用布局与组件样式。 */
:root {
  --rd-sidebar-width: 240px;
  --rd-header-height: 68px;
  --rd-site-bg: #eeeae0;
  --rd-site-ink: #28392c;
  --rd-site-line: #d9d9ca;
  --rd-art-light: #c6d4b6;
  --rd-art-middle: #91a780;
  --rd-art-dark: #526c4e;
}
body { background: var(--page-bg); }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a, button { touch-action: manipulation; }
.icon { width: 18px; height: 18px; }
.rd-muted { color: var(--muted); }
.rd-header { position: sticky; top: 0; z-index: 40; height: var(--rd-header-height); display: flex; align-items: center; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.rd-brand { display: flex; align-items: center; gap: 10px; color: var(--green-deep); font-size: 25px; font-weight: 680; letter-spacing: -1.3px; }
.rd-brand > span { color: var(--ink); }
.rd-brand-dot { color: var(--green); }
.rd-header-divider { height: 22px; width: 1px; background: var(--line); margin-left: 27px; }
.rd-workspace-wrap, .rd-account-wrap { position: relative; }
.rd-workspace-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 600; }
.rd-workspace-toggle:hover { background: var(--sage); }
.rd-workspace-toggle > [data-workspace-name] { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-workspace-toggle > .icon { width: 14px; height: 14px; color: var(--muted); }
.rd-workspace-avatar { display: grid; place-items: center; height: 27px; width: 27px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--sage); font-size: 12px; }
.rd-header-context { display: flex; gap: 20px; color: var(--line-strong); font-size: 13px; }
.rd-header-context > span { color: var(--muted); }
.rd-header-actions { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.rd-demo-label { margin-right: 12px; padding: 3px 8px; color: var(--muted); font-size: 10px; border: 1px solid var(--line); border-radius: 5px; letter-spacing: 1px; }
.rd-icon-button { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 9px; color: var(--muted); background: transparent; }
.rd-icon-button:hover { background: var(--sage-2); color: var(--green-deep); }
.rd-avatar { display: grid; place-items: center; height: 34px; width: 34px; margin-left: 12px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--sage-2); color: var(--green-deep); font-size: 12px; font-weight: 700; }
.rd-popover { position: absolute; top: calc(100% + 14px); z-index: 60; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-float); }
.rd-workspace-panel { left: 0; width: 320px; max-height: 70dvh; overflow-y: auto; }
.rd-popover-title { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.rd-popover-title > span { font-size: 10px; color: var(--muted); font-weight: 400; }
.rd-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; margin-bottom: 8px; color: var(--muted); }
.rd-search input, .rd-create-workspace input { min-width: 0; width: 100%; min-height: 40px; border: 0; background: transparent; font-size: 12px; }
.rd-workspace-choice { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px; min-height: 56px; border-radius: 8px; background: transparent; }
.rd-workspace-choice:hover, .rd-workspace-choice[aria-current="true"] { background: var(--sage); }
.rd-workspace-choice > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--green-deep); background: var(--surface-2); }
.rd-workspace-choice > span:nth-child(2) { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.rd-workspace-choice strong { overflow-wrap: anywhere; font-size: 12px; }
.rd-workspace-choice small { color: var(--muted); font-size: 10px; }
.rd-workspace-choice .icon { color: var(--green); width: 16px; }
.rd-create-workspace { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.rd-create-workspace input { padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; }
.rd-no-results { padding: 14px 0; text-align: center; color: var(--muted); font-size: 12px; }
.rd-account-panel { right: 0; display: flex; flex-direction: column; min-width: 220px; gap: 5px; }
.rd-account-panel > strong, .rd-account-panel > span { padding: 0 8px; font-size: 12px; }
.rd-account-panel > span { margin-bottom: 8px; font-size: 11px; }
.rd-account-panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 6px 8px; font-size: 12px; border-radius: 6px; }
.rd-account-panel a:hover { background: var(--sage); }
.rd-account-panel .icon { width: 14px; }
.rd-shell { display: grid; grid-template-columns: var(--rd-sidebar-width) minmax(0, 1fr); min-height: calc(100dvh - var(--rd-header-height)); }
.rd-sidebar { position: sticky; top: var(--rd-header-height); display: flex; flex-direction: column; align-self: start; height: calc(100dvh - var(--rd-header-height)); min-height: 580px; padding: 25px 16px 16px; background: var(--sidebar-bg); border-right: 1px solid var(--line); overflow-y: auto; }
.rd-site-identity { display: flex; align-items: center; gap: 12px; padding: 0 10px 25px; }
.rd-site-logo { position: relative; display: grid; place-items: center; height: 42px; width: 42px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 11px; font-size: 30px; font-weight: 650; letter-spacing: -3px; color: var(--green-deep); background: var(--white); }
.rd-site-logo > span { position: absolute; top: 0; right: 4px; font-size: 13px; letter-spacing: 0; }
.rd-site-identity > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rd-overline { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.rd-site-identity strong { font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-site-meta { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.rd-dot { display: inline-block; height: 5px; width: 5px; flex-shrink: 0; border-radius: 50%; background: var(--green); }
.rd-agent-entry { display: flex; align-items: center; gap: 10px; padding: 12px 10px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-tab); transition: border-color 160ms ease; }
.rd-agent-entry:hover { border-color: var(--green); }
.rd-agent-icon { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; color: var(--green-deep); background: var(--sage-2); border-radius: 9px; }
.rd-agent-entry > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.rd-agent-entry strong { font-size: 12px; font-weight: 650; }
.rd-agent-entry small { color: var(--muted); font-size: 10px; }
.rd-agent-arrow { width: 15px; color: var(--muted); margin-left: auto; }
.rd-nav { display: grid; gap: 3px; margin-top: 11px; }
.rd-nav-label { padding: 17px 12px 5px; font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.rd-nav-item { position: relative; display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 12px; color: var(--ink-soft); border-radius: 8px; font-size: 12px; }
.rd-nav-item > .icon { color: var(--muted); width: 17px; height: 17px; }
.rd-nav-item:hover { background: var(--sage-2); }
.rd-nav-item.is-active { background: var(--sage-2); color: var(--green-deep); font-weight: 650; }
.rd-nav-item.is-active::before { content: ""; position: absolute; left: -16px; height: 19px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); }
.rd-nav-item.is-active > .icon { color: var(--green); }
.rd-nav-note, .rd-count { margin-left: auto; color: var(--muted); font-size: 10px; }
.rd-nav-note { border: 1px solid var(--line-strong); padding: 0 5px; border-radius: 4px; font-weight: 400; }
.rd-count { display: grid; place-items: center; min-width: 20px; height: 19px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; font-family: var(--font-mono); }
.rd-sidebar-bottom { margin-top: auto; padding-top: 40px; }
.rd-help-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; color: var(--muted); font-size: 11px; }
.rd-help-arrow { width: 13px; margin-left: auto; }
.rd-sidebar-signature { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 17px 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.rd-main { min-width: 0; padding: 42px 40px 22px; }
.rd-content { max-width: 1260px; margin: 0 auto; }
.rd-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.rd-eyebrow { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; }
.rd-page-heading h1 { margin: 4px 0 7px; font-size: 29px; font-weight: 600; letter-spacing: -1px; line-height: 1.4; }
.rd-heading-dot { color: var(--green); }
.rd-page-description { color: var(--muted); font-size: 12px; }
.rd-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 16px; border-radius: 8px; font-size: 12px; font-weight: 550; white-space: nowrap; transition: background 160ms ease, transform 160ms ease; }
.rd-button .icon { width: 15px; height: 15px; }
.rd-button-dark { color: var(--on-green); background: var(--green-dark); border: 1px solid var(--green-dark); box-shadow: var(--shadow-button); }
.rd-button-dark:hover { background: var(--green-deep); transform: translateY(-1px); }
.rd-button-light { color: var(--ink-soft); border: 1px solid var(--line-strong); background: var(--white); }
.rd-button-light:hover { background: var(--sage); }
.rd-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 298px; gap: 20px; }
.rd-website-card, .rd-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-panel); }
.rd-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-website-card > .rd-card-heading { padding: 20px 23px 0; }
.rd-section-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.rd-section-label > .icon { width: 14px; color: var(--muted); }
.rd-status { padding: 3px 8px; border-radius: 5px; font-size: 10px; border: 1px solid var(--warning-line); background: var(--warning-soft); color: var(--warning-ink); white-space: nowrap; }
.rd-status.is-published { border-color: var(--success-line); background: var(--success-soft); color: var(--success); }
.rd-website-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 20px; padding: 30px 0 29px 23px; overflow: hidden; }
.rd-website-copy { min-width: 0; }
.rd-website-copy > .rd-overline { font-size: 10px; letter-spacing: 1px; }
.rd-website-copy > h2 { overflow-wrap: anywhere; margin: 9px 0 12px; font-size: clamp(21px, 1.8vw, 28px); font-weight: 550; letter-spacing: -.9px; line-height: 1.3; }
.rd-website-copy > p { color: var(--muted); font-size: 11px; line-height: 1.9; }
.rd-website-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 23px 0 16px; }
.rd-website-actions .rd-button { min-height: 38px; padding: 8px 11px; font-size: 10px; }
.rd-text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.rd-text-link:hover { color: var(--green-deep); }
.rd-text-link .icon { width: 13px; height: 13px; }
.rd-saved { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.rd-saved .icon { width: 12px; height: 12px; color: var(--green); }
.rd-browser-preview { margin-right: -20px; min-width: 0; padding: 5px; border: 1px solid var(--line-strong); border-radius: 10px 0 0 10px; background: var(--surface); box-shadow: var(--shadow-preview); transform: rotate(-2deg); }
.rd-browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 25px; padding: 0 10px; font-family: var(--font-mono); font-size: 6px; color: var(--muted); }
.rd-browser-bar > .icon { width: 9px; height: 9px; }
.rd-browser-dots { display: flex; gap: 3px; }
.rd-browser-dots i { height: 4px; width: 4px; border-radius: 50%; background: var(--line-strong); }
.rd-mini-site { padding: 20px 20px 13px; border-radius: 5px; background: var(--rd-site-bg); color: var(--rd-site-ink); }
.rd-mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-mini-nav > strong { font-size: 16px; font-weight: 750; letter-spacing: -1px; }
.rd-mini-nav strong > span { font-size: 7px; vertical-align: top; }
.rd-mini-nav > span { font-size: 6px; }
.rd-mini-hero { display: grid; grid-template-columns: 1fr .85fr; align-items: center; min-height: 150px; padding: 26px 0 20px; }
.rd-mini-eyebrow { display: block; font-size: 4.5px; letter-spacing: .7px; margin-bottom: 9px; }
.rd-mini-hero h3 { font-size: clamp(13px, 1.2vw, 19px); font-weight: 550; line-height: 1.55; letter-spacing: -.8px; overflow-wrap: anywhere; }
.rd-mini-hero p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rd-mini-hero h3 span { color: var(--rd-art-dark); }
.rd-mini-hero p { margin: 8px 0 10px; font-size: 5px; opacity: .8; }
.rd-mini-cta { display: inline-block; padding: 5px 7px; background: var(--rd-site-ink); color: var(--rd-site-bg); border-radius: 2px; font-size: 5px; }
.rd-mini-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rd-site-line); font-size: 5px; }
.rd-sculpture { position: relative; height: 125px; }
.rd-sculpture-orbit { position: absolute; height: 110px; width: 110px; top: 5px; left: 8px; border: 1px solid var(--rd-site-line); border-radius: 50%; }
.rd-sculpture-leaf { position: absolute; bottom: 10px; left: 40px; width: 45px; height: 100px; border-radius: 90% 5% 90% 5%; background: linear-gradient(110deg, var(--rd-art-dark), var(--rd-art-middle) 60%, var(--rd-art-light)); transform-origin: 50% 95%; }
.rd-leaf-one { transform: rotate(-38deg); }
.rd-leaf-two { height: 118px; width: 42px; transform: rotate(9deg); }
.rd-leaf-three { width: 47px; height: 90px; transform: rotate(52deg); background: linear-gradient(115deg, var(--rd-art-middle), var(--rd-art-light)); }
.rd-sculpture-base { position: absolute; bottom: 0; left: 23px; width: 90px; height: 12px; border-radius: 50%; background: var(--rd-site-line); filter: blur(4px); }
.rd-local-release { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.rd-site-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); padding: 19px 12px; }
.rd-site-metrics > div { padding: 0 12px; border-left: 1px solid var(--line-soft); }
.rd-site-metrics > div:first-child { border: 0; }
.rd-site-metrics dt { color: var(--muted); font-size: 10px; }
.rd-site-metrics dd { margin-top: 3px; font-size: 23px; line-height: 1.5; font-weight: 500; letter-spacing: -.5px; }
.rd-site-metrics dd > span { font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.rd-site-metrics dd > .rd-version-prefix { color: var(--ink); font-size: 16px; }
.rd-site-metrics .rd-metric-text { padding-top: 9px; font-size: 12px; letter-spacing: 0; }
.rd-next-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line-strong); border-radius: 15px; background: var(--sage-2); }
.rd-next-kicker { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 550; color: var(--green-deep); }
.rd-next-card > h2 { margin: 17px 0 12px; font-size: 25px; line-height: 1.5; font-weight: 550; letter-spacing: -.9px; }
.rd-next-card > p { color: var(--muted); font-size: 10px; line-height: 1.9; }
.rd-checklist { display: grid; gap: 14px; margin: 24px 0; }
.rd-checklist li { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.rd-checklist li > small { margin-left: auto; color: var(--muted); font-size: 10px; }
.rd-check-circle, .rd-step-circle { display: grid; place-items: center; width: 17px; height: 17px; flex-shrink: 0; border-radius: 50%; }
.rd-check-circle { background: var(--green); color: var(--on-green); }
.rd-check-circle .icon { width: 10px; height: 10px; stroke-width: 2; }
.rd-step-circle { border: 1px solid var(--green); color: var(--green-deep); font-size: 10px; }
.rd-publish-button { width: 100%; margin-top: auto; justify-content: space-between; }
.rd-next-note { margin-top: 9px; text-align: center; font-size: 10px; color: var(--muted); }
.rd-bottom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 298px; gap: 20px; margin-top: 20px; }
.rd-card { padding: 22px 23px; }
.rd-card h2 { font-size: 13px; font-weight: 600; }
.rd-card-caption { margin-top: 4px; font-size: 10px; color: var(--muted); }
.rd-timeline { margin-top: 25px; }
.rd-timeline > li { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 23px; }
.rd-timeline > li:last-child { padding-bottom: 0; }
.rd-timeline > li:not(:last-child)::after { content: ""; position: absolute; width: 1px; left: 14px; top: 32px; bottom: 4px; background: var(--line); }
.rd-timeline-marker { position: relative; z-index: 1; display: grid; place-items: center; height: 29px; width: 29px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--green); }
.rd-timeline-marker > .icon { height: 14px; width: 14px; }
.rd-timeline li > div { min-width: 0; }
.rd-timeline h3 { font-size: 11px; font-weight: 500; line-height: 1.9; }
.rd-inline-tag { display: inline-block; margin-left: 5px; padding: 0 5px; font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-family: var(--font-mono); vertical-align: middle; }
.rd-timeline p { margin-top: 3px; font-size: 10px; color: var(--muted); }
.rd-timeline time { margin-left: auto; padding-top: 4px; white-space: nowrap; color: var(--muted); font-size: 10px; }
.rd-idea-card { display: flex; align-items: center; gap: 10px; padding: 18px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; }
.rd-idea-icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--green); }
.rd-idea-icon > .icon { width: 15px; height: 15px; }
.rd-idea-card strong { font-size: 10px; font-weight: 550; }
.rd-idea-card p { margin-top: 3px; font-size: 10px; color: var(--muted); }
.rd-idea-card > .icon { margin-left: auto; width: 13px; flex-shrink: 0; color: var(--green); }
.rd-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 2px 0; color: var(--muted); font-size: 10px; }
.rd-footer > span { display: flex; align-items: center; gap: 6px; }
.rd-footer button { min-height: 36px; padding: 6px 0; background: transparent; font-size: 10px; color: var(--muted); }
.rd-footer button:hover { color: var(--green-deep); }
.rd-footer button span { margin-left: 8px; }
.rd-empty-state { padding: 55px 24px 50px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-align: center; }
.rd-empty-art { position: relative; width: 190px; margin: 0 auto 35px; }
.rd-empty-window { width: 160px; height: 120px; margin: auto; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--sage); box-shadow: var(--shadow-preview); transform: rotate(-5deg); }
.rd-empty-window > div { display: flex; gap: 3px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rd-empty-window i { height: 4px; width: 4px; border-radius: 50%; background: var(--line-strong); }
.rd-empty-plus { display: block; margin-top: 3px; font-size: 25px; color: var(--green); }
.rd-empty-line { display: block; height: 5px; width: 70px; margin: 8px auto; border-radius: 4px; background: var(--line-strong); }
.rd-short-line { width: 40px; }
.rd-empty-spark { position: absolute; top: -20px; right: -5px; font-size: 46px; color: var(--green); }
.rd-empty-state > h2 { margin: 13px 0; font-size: 26px; font-weight: 550; letter-spacing: -.6px; }
.rd-empty-state > p { font-size: 12px; color: var(--muted); line-height: 2; }
.rd-empty-state > .rd-button { margin-top: 26px; }
.rd-empty-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 42px; color: var(--muted); font-size: 10px; }
.rd-empty-steps b { margin-right: 5px; color: var(--green); font-family: var(--font-mono); font-weight: 400; }
dialog { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(3px); }
.rd-publish-dialog { position: fixed; width: min(480px, calc(100vw - 32px)); padding: 32px; border-radius: 18px; box-shadow: var(--shadow-dialog); }
.rd-dialog-close { position: absolute; right: 12px; top: 12px; }
.rd-dialog-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--sage-2); color: var(--green-deep); margin-bottom: 23px; }
.rd-dialog-symbol > .icon { height: 23px; width: 23px; }
.rd-publish-dialog h2 { margin: 10px 0 13px; font-size: 23px; font-weight: 550; letter-spacing: -.5px; }
.rd-publish-dialog > p:not(.rd-eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.9; }
.rd-release-summary { display: flex; flex-direction: column; gap: 6px; margin: 23px 0; padding: 16px; background: var(--sage); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; overflow-wrap: anywhere; }
.rd-release-summary > span { color: var(--muted); font-size: 10px; }
.rd-release-summary strong { font-weight: 550; }
.rd-release-summary strong > span { padding: 0 10px; color: var(--green); }
.rd-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.rd-toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; width: max-content; max-width: calc(100vw - 32px); padding: 13px 20px; background: var(--toast-bg); border: 1px solid var(--toast-line); border-radius: 10px; color: var(--on-green); box-shadow: var(--toast-shadow); font-size: 12px; transform: translateX(-50%); }
.rd-mobile-menu, .rd-mobile-dialog { display: none; }
.rd-noscript { padding: 16px; text-align: center; color: var(--muted); }
/* 深色主题只覆盖本设计稿，网站预览保持其独立品牌。 */
body[data-theme="dark"] { color-scheme: dark; --ink: #e5ebe1; --ink-soft: #c5cec2; --muted: #a3af9f; --line: #303d32; --line-soft: #28342b; --line-strong: #445448; --green: #a4bf92; --green-deep: #c7dbb8; --green-dark: #344a39; --sage: #253129; --sage-2: #2d3c2f; --surface: #202b23; --surface-2: #28342a; --white: #1c271f; --on-green: #ffffff; --page-bg: #172119; --sidebar-bg: #1a251d; --warning-ink: #dfca93; --warning-soft: #393423; --warning-line: #5d5234; --success: #bad7b0; --success-soft: #293b2c; --success-line: #466048; --focus: #a4bf92; }
body[data-theme="dark"] .rd-browser-preview { --muted: #626d65; --line-strong: #d3dbd1; background: #fafbf9; }
body[data-theme="dark"] .rd-button-dark { background: #b7cba8; border-color: #b7cba8; color: #172119; }
body[data-theme="dark"] .rd-check-circle { color: #172119; }
@media (min-width: 1600px) { .rd-main { padding-top: 52px; } .rd-website-body { padding-top: 36px; padding-bottom: 36px; } }
@media (max-width: 1250px) { :root { --rd-sidebar-width: 216px; } .rd-main { padding: 32px 25px 20px; } .rd-header { gap: 17px; padding-inline: 22px; } .rd-header-divider { margin-left: 15px; } .rd-top-grid, .rd-bottom-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; } .rd-next-card { padding: 22px; } .rd-website-body { grid-template-columns: 1fr; gap: 22px; padding: 24px 23px; } .rd-browser-preview { display: none; } .rd-website-copy > h2 { font-size: 27px; } .rd-website-actions { margin-top: 21px; } .rd-next-card > h2 { font-size: 24px; } .rd-timeline time { font-size: 10px; } .rd-card { padding-inline: 20px; } }
@media (max-width: 980px) { :root { --rd-sidebar-width: 200px; } .rd-header-context, .rd-demo-label { display: none; } .rd-sidebar { padding-inline: 12px; } .rd-nav-item.is-active::before { left: -12px; } .rd-site-identity { padding-inline: 6px; } .rd-agent-entry { gap: 8px; padding-inline: 8px; } .rd-agent-arrow { display: none; } .rd-main { padding-inline: 22px; } .rd-page-heading { align-items: flex-start; gap: 12px; } .rd-page-heading > .rd-button { padding-inline: 11px; margin-top: 17px; } .rd-page-heading > .rd-button > .icon:first-child { display: none; } .rd-page-description { max-width: 250px; line-height: 1.9; } .rd-top-grid, .rd-bottom-grid { grid-template-columns: minmax(0, 1fr); } .rd-website-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-right: 0; } .rd-browser-preview { display: block; } .rd-mini-hero h3 { font-size: 13px; } .rd-sculpture { transform: scale(.85); transform-origin: left center; } .rd-next-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; padding: 22px; } .rd-next-kicker { grid-column: 1; } .rd-next-card > h2 { grid-column: 1; margin: 10px 0; font-size: 24px; } .rd-next-card > p { grid-column: 1; } .rd-checklist { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; gap: 18px; } .rd-publish-button { grid-column: 2; margin-top: 17px; } .rd-next-note { grid-column: 2; } .rd-idea-card { align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; } .rd-idea-card > .icon { margin-left: 0; } .rd-footer { align-items: flex-start; flex-direction: column; gap: 3px; } }
@media (max-width: 760px) { :root { --rd-header-height: 60px; } .rd-header { padding-inline: 14px; gap: 12px; } .rd-mobile-menu { display: grid; width: 30px; margin-left: -3px; } .rd-brand { gap: 0; } .rd-brand > span, .rd-header-divider { display: none; } .rd-brand > svg { width: 26px; height: 26px; } .rd-workspace-toggle { gap: 6px; padding-inline: 3px; } .rd-workspace-avatar { display: none; } .rd-workspace-toggle > [data-workspace-name] { max-width: 170px; font-size: 12px; } .rd-optional { display: none; } .rd-avatar { margin-left: 4px; width: 31px; height: 31px; } .rd-header-actions { gap: 1px; } .rd-theme { width: 32px; } .rd-workspace-panel { position: fixed; top: 66px; left: 12px; right: 12px; width: auto; } .rd-account-panel { top: calc(100% + 17px); } .rd-shell { display: block; } .rd-sidebar { display: none; } .rd-main { padding: 28px 20px 22px; } .rd-page-heading { margin-bottom: 23px; } .rd-page-heading h1 { font-size: 27px; } .rd-eyebrow { font-size: 10px; letter-spacing: 2px; } .rd-page-description { font-size: 11px; max-width: none; } .rd-page-heading > .rd-button { font-size: 10px; padding-inline: 12px; } .rd-website-body { padding-top: 24px; padding-bottom: 24px; } .rd-website-copy > h2 { font-size: 25px; } .rd-mobile-dialog[open] { position: fixed; display: block; inset: 0 auto 0 0; margin: 0; width: min(310px, calc(100vw - 45px)); height: 100dvh; max-height: none; border: 0; border-right: 1px solid var(--line); padding: 20px 16px; } .rd-mobile-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .rd-mobile-dialog-head h2 { font-size: 14px; font-weight: 600; } .rd-mobile-dialog .rd-agent-entry { margin-bottom: 12px; } .rd-mobile-dialog .rd-agent-arrow { display: block; } .rd-mobile-dialog .rd-nav-item.is-active::before { left: -16px; } .rd-mobile-note { margin-top: 30px; padding-inline: 10px; color: var(--muted); font-size: 10px; } }
@media (max-width: 520px) { .rd-workspace-toggle > [data-workspace-name] { max-width: 132px; } .rd-header { gap: 8px; } .rd-main { padding: 25px 16px 18px; } .rd-page-heading { flex-wrap: wrap; gap: 15px; } .rd-page-heading > .rd-button { margin: 0; min-height: 40px; padding: 9px 13px; } .rd-page-heading > .rd-button > .icon:first-child { display: block; } .rd-page-description { line-height: 1.8; } .rd-website-card > .rd-card-heading { padding-inline: 18px; padding-top: 17px; } .rd-website-body { grid-template-columns: 1fr; padding: 25px 18px 20px; gap: 23px; } .rd-browser-preview { display: block; margin: 0; border-radius: 9px; transform: none; } .rd-browser-bar { height: 24px; } .rd-mini-site { padding: 16px 19px 12px; } .rd-mini-hero { min-height: 145px; } .rd-mini-hero h3 { font-size: 17px; } .rd-sculpture { transform: scale(.9); } .rd-website-actions { margin: 19px 0 12px; } .rd-website-copy > p { font-size: 12px; } .rd-website-copy > .rd-overline { font-size: 10px; } .rd-site-metrics { padding: 15px 7px; } .rd-site-metrics > div { padding: 0 9px; } .rd-site-metrics dd { font-size: 22px; } .rd-site-metrics .rd-metric-text { font-size: 10px; } .rd-site-metrics dt { font-size: 10px; } .rd-next-card { display: flex; padding: 22px; } .rd-next-card > h2 { font-size: 26px; margin-top: 14px; } .rd-next-card > h2 br { display: none; } .rd-next-card > p { font-size: 12px; } .rd-desktop-break { display: none; } .rd-checklist { margin-top: 23px; margin-bottom: 5px; align-self: stretch; } .rd-checklist li { font-size: 12px; } .rd-checklist li > small { font-size: 10px; } .rd-next-note { font-size: 10px; } .rd-card { padding: 20px 18px; } .rd-card h2 { font-size: 14px; } .rd-card-caption { font-size: 10px; } .rd-timeline > li { flex-wrap: wrap; column-gap: 10px; row-gap: 0; padding-bottom: 23px; } .rd-timeline h3 { font-size: 11px; } .rd-timeline p { font-size: 10px; } .rd-timeline time { width: 100%; margin-left: 39px; padding-top: 5px; font-size: 10px; } .rd-idea-card { flex-direction: row; align-items: center; justify-content: flex-start; padding: 20px; gap: 12px; } .rd-idea-card > .icon { margin-left: auto; } .rd-idea-card strong { font-size: 12px; } .rd-idea-card p { font-size: 10px; } .rd-footer { font-size: 10px; line-height: 1.8; } .rd-footer > span { align-items: baseline; } .rd-empty-state { padding: 42px 18px; } .rd-empty-state > h2 { font-size: 21px; } .rd-empty-state > p { font-size: 11px; } .rd-empty-steps { gap: 12px; font-size: 10px; } .rd-publish-dialog { padding: 27px 22px; } .rd-dialog-actions .rd-button { flex: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .rd-nav-item.is-active { outline: 2px solid Highlight; } .rd-dot { background: CanvasText; } .rd-button, .rd-agent-entry { border: 1px solid ButtonText; } }
