.showcase-site { font-family: "Noto Sans SC", sans-serif; --ink: #13283c; --muted: #5c7284; --line: #dfe9eb; --white: #fff; }
.showcase-site:not([data-theme="paper"]):not([data-theme="dark"]) {
  background-image: radial-gradient(ellipse at 90% 8%, #ccf4eb91, transparent 38%), radial-gradient(ellipse at 20% 65%, #dceafc70, transparent 50%);
}
.showcase-site .company-sidebar { border-right-color: var(--line); padding: 24px 18px; }
.showcase-site .company-sidebar .brand { font-weight: 700; letter-spacing: 1px; padding: 0 3px; }
.showcase-site .company-nav { margin-top: 34px; gap: 8px; }
.showcase-site .company-nav a { padding: 13px 12px; transition: background .2s, transform .2s; }
.showcase-site .company-nav a[aria-current="page"] { background: #e3f2ee; color: #085f60; }
.showcase-site .company-agent-menu { margin-top: 2px; margin-bottom: 12px; }
.showcase-site .company-roles button { background: transparent; color: var(--muted); }
.showcase-site .company-roles [aria-pressed="true"] { background: #0a6772; color: #fff; box-shadow: 0 4px 12px #0a677218; }
.showcase-site .agent-icon { border: 0; }
.showcase-site .company-chat { width: min(840px, 100%); min-height: calc(100dvh - 70px); padding: 100px 40px 54px; }
.showcase-site .company-welcome { position: relative; }
.showcase-site .showcase-badge { display: inline-block; border: 1px solid #b8dcd7; border-radius: 100px; padding: 9px 16px; font-size: 11px; letter-spacing: 1.3px; color: #086871; background: #ffffff80; }
.showcase-site .company-welcome h1 { max-width: 17ch; font-size: clamp(34px, 3.8vw, 54px); font-weight: 650; line-height: 1.4; letter-spacing: -1.5px; margin: 26px auto 22px; text-wrap: balance; }
.showcase-site .company-welcome p { max-width: 37em; font-size: 15px; line-height: 2; }
.showcase-site .company-prompts { margin-top: 28px; }
.showcase-site .company-prompts button { font-size: 13px; border-radius: 100px; padding: 11px 17px; background: var(--white); border-color: var(--line); color: var(--ink); }
.showcase-site .company-prompts button:hover { border-color: #2d8c8d; }
.showcase-values { display: flex; gap: 24px; justify-content: center; padding: 10px 0; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.showcase-values span::before { content: '·'; color: #15988e; padding-right: 7px; }
.showcase-site .company-composer { padding: 18px; border-radius: 22px; box-shadow: 0 18px 60px #1337430c, 0 2px 4px #13374305; border-color: #d9e5e7; }
.showcase-site #current-role { font-size: 11px; margin: 0 4px 8px; color: #467078; }
.showcase-site .company-composer textarea { min-height: 74px; font-size: 15px; outline: none; }
.showcase-site .primary { background: #0a6673; border-color: #0a6673; border-radius: 12px; }
.showcase-site .make-site-entry { top: 25px; right: 32px; padding: 12px 20px; font-size: 13px; border-radius: 100px; box-shadow: 0 7px 20px #0c666315; }
.showcase-site .company-main > .site-section { padding-top: 112px; }
.showcase-site .site-section > .site-wrap > .eyebrow, .showcase-site #works > .eyebrow { font-size: 10px; letter-spacing: 2px; margin-bottom: 18px; }
.showcase-site .site-section h2 { font-size: clamp(30px, 3vw, 43px); font-weight: 600; letter-spacing: -1px; margin-bottom: 18px; }
.showcase-site .site-section p.muted { max-width: 55em; line-height: 1.9; font-size: 14px; }
.showcase-site .module-grid { gap: 22px; padding-top: 38px; }
.showcase-site .module-grid article { position: relative; padding: 30px; border-radius: 20px; overflow: hidden; background: var(--white); transition: transform .2s, box-shadow .2s; }
.showcase-site .module-grid article::before { content: ''; display: block; width: 28px; height: 4px; background: #28a18e; border-radius: 5px; margin-bottom: 25px; }
.showcase-site .module-grid article:nth-child(2n)::before { background: #4784af; }
.showcase-site .module-grid article:hover { transform: translateY(-3px); box-shadow: 0 12px 32px #1732420b; }
.showcase-site .module-grid h3 { font-size: 19px; font-weight: 600; }
.showcase-site .module-grid p { font-size: 14px; }
.showcase-site #contact .tag { display: inline-block; margin-top: 10px; }
.showcase-site #lead-form { padding: 30px; border-radius: 22px; box-shadow: none; }
.showcase-site .footer { border-color: var(--line); background: transparent; font-size: 10px; }
.showcase-site[data-theme="dark"] .showcase-badge { background: #233c40; color: #b2eee3; border-color: #36575a; }
.showcase-site[data-theme="dark"] .company-nav a[aria-current="page"] { background: #2b4549; color: #d2f0eb; }
.showcase-site[data-theme="dark"] { --ink: #e8f0f2; --muted: #a9bdc6; --line: #354852; --white: #222f38; }
.showcase-site[data-theme="paper"] { --ink: #45382b; --muted: #695746; --line: #dbcbb6; --white: #fcf4e6; }

/* A quieter, warm-paper treatment for the public conversation home. */
.showcase-site[data-site-page="service"]:not(.management-site) .company-welcome h1 {
  font-weight: 300; letter-spacing: .025em; line-height: 1.55; max-width: 18ch;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) {
  --ink: #514b40; --muted: #7b7264; --line: #e1d8c9; --white: #fcf9f2;
  background-color: #f5f0e6;
  background-image: url('/gs/paper-grain.svg'), radial-gradient(ellipse at 75% 12%, #fdfaf3, transparent 65%);
  background-size: 180px 180px, cover;
  background-attachment: fixed;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-sidebar {
  background: #f9f5ed; border-color: #e6ddcf;
}
.showcase-site[data-site-page="service"]:not(.management-site) .company-sidebar .brand { font-weight: 450; }
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-nav a[aria-current="page"] {
  background: #eae5d8; color: #5e614f; font-weight: 450;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-roles [aria-pressed="true"],
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .primary {
  background: #69705b; border-color: #69705b; color: #fffdf7; box-shadow: none; font-weight: 450;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .secondary {
  background: #fbf8f0; border-color: #ded5c5; color: #706754; font-weight: 400;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-roles button {
  background: transparent; border-color: transparent; color: #7b7264;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-roles [aria-pressed="true"] {
  background: #69705b; color: #fffdf7;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .showcase-badge {
  background: #faf6ec80; color: #82755f; border-color: #ddd3c1; font-weight: 400;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-composer {
  background: #fcfaf4; border-color: #ded5c6; box-shadow: 0 12px 40px #75634808;
}
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) #current-role { color: #8a806d; }
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .showcase-values span::before { color: #9b8f75; }
.showcase-site[data-site-page="service"]:not(.management-site):not([data-theme="dark"]) .company-prompts button:hover { border-color: #9f947d; }

/* Dedicated main-platform workspace; authenticated editors are shared. */
.management-site { display: block; background: #f4f7f8 !important; color: #13283c; --white: #fff; --ink: #13283c; --muted: #5c7284; --line: #dfe9eb; }
.management-site > .company-sidebar, .management-site > .company-main, .management-site > .footer, .management-site > .make-site-entry { display: none; }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100dvh; }
.admin-sidebar { position: sticky; top: 0; height: 100dvh; padding: 34px 22px; background: #0b2231; color: #d9e6e9; display: flex; flex-direction: column; }
.admin-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 650; font-size: 22px; }
.admin-brand small { display: block; font-size: 10px; color: #8faab4; letter-spacing: 2px; font-weight: 400; margin-top: 5px; }
.admin-monogram { font-size: 32px; color: #43dbc2; font-weight: 750; letter-spacing: -6px; width: 42px; }
.admin-monogram span { font-size: 22px; color: #fff; }
.admin-nav-label { color: #6e929f; font-size: 10px; letter-spacing: 1px; margin: 56px 12px 18px; }
.admin-sidebar nav { display: grid; gap: 10px; }
.admin-sidebar nav a { padding: 13px 15px; display: flex; gap: 14px; font-size: 14px; border-radius: 9px; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-sidebar nav a:focus-visible { background: #173847; color: #91ead9; }
.admin-sidebar-note { font-size: 11px; line-height: 1.9; color: #8faab4; margin: auto 12px 20px; padding-top: 40px; }
.admin-return { border-top: 1px solid #29434f; padding: 20px 12px 0; font-size: 12px; color: #a9c5cd; text-decoration: none; }
.admin-main { min-width: 0; padding: 0 42px; max-width: 1450px; width: 100%; margin: auto; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 85px; border-bottom: 1px solid #dfe9eb; font-size: 12px; color: #738692; }
#admin-auth { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin-intro { padding: 42px 0 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-intro h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.6; font-weight: 600; letter-spacing: -1px; margin: 12px 0; }
.admin-intro p:not(.eyebrow) { color: #657b88; font-size: 13px; line-height: 1.9; }
.admin-intro a { flex-shrink: 0; text-decoration: none; margin-bottom: 16px; font-size: 12px; }
.admin-access-note { border: 1px solid #d7e3e8; background: #edf2f5; color: #586f7e; padding: 12px 18px; border-radius: 10px; font-size: 12px; line-height: 1.8; }
.admin-access-note.authorized { color: #277464; background: #e8f4ef; border-color: #d0e8df; }
.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 26px 0 34px; }
.admin-stats article { background: #fff; border: 1px solid #e1e9ec; border-radius: 14px; padding: 23px; }
.admin-stats article > span { color: #7b8c97; font-size: 11px; }
.admin-stats strong { display: block; font-size: 27px; font-weight: 500; margin: 12px 0; color: #184c58; }
.admin-stats strong small { font-size: 12px; }
.admin-stats p { font-size: 10px; color: #8596a0; margin: 0; }
.admin-panel { padding: 28px; border: 1px solid #e1e9ec; border-radius: 16px; background: #fff; margin-bottom: 26px; scroll-margin-top: 24px; }
.admin-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.admin-section-title h2 { font-size: 21px; font-weight: 550; margin: 8px 0 0; }
.admin-section-title .eyebrow { margin: 0; font-size: 9px; }
.admin-draft-tag { font-size: 10px; color: #64828b; border: 1px solid #dce7e9; border-radius: 100px; padding: 6px 11px; }
.admin-panel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.admin-panel input, .admin-panel textarea { background: #fafcfc; padding: 12px; }
.admin-nav-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.admin-brand-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid #e1e9ec; margin-top: 24px; }
.admin-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.admin-settings-grid article p { color: #728592; font-size: 13px; line-height: 1.9; min-height: 74px; }
.admin-settings-grid h3 { font-size: 20px; font-weight: 550; }
.admin-card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: #edf6f3; color: #167c70; font-size: 25px; border-radius: 12px; }
.admin-page-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.admin-page-links a { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 8px 12px; padding: 18px; border: 1px solid #e0eaed; border-radius: 12px; text-decoration: none; }
.admin-page-links a:hover { background: #f0f7f5; }
.admin-page-links span { grid-row: span 2; font-size: 18px; color: #98adb4; }
.admin-page-links strong { font-size: 14px; font-weight: 550; }
.admin-page-links small { color: #8197a1; font-size: 10px; }
.management-site .site-editor-toolbar { position: static; transform: none; border: 0; box-shadow: none; padding: 8px 0; max-width: 100%; width: 100%; justify-content: flex-start; max-height: none; overflow: visible; }
.management-site [data-editor-action][hidden] { display: none; }
.management-site .site-editing { outline: none; }
.management-site .admin-panel button, .management-site .admin-topbar button { font-size: 12px; }
.admin-footer { padding: 8px 0 34px; color: #8a9da7; font-size: 10px; line-height: 2; }
.admin-footer span { display: block; }
@media(max-width:1000px) {
  .admin-shell { grid-template-columns: 196px minmax(0,1fr); }
  .admin-main { padding: 0 24px; }
  .admin-intro { align-items: flex-start; flex-direction: column; gap: 4px; }
  .admin-nav-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .showcase-site .company-sidebar { padding: 12px; }
  .showcase-site .company-nav { margin-top: 16px; gap: 4px; }
  .showcase-site .company-nav a { padding: 10px 7px; font-size: 12px; }
  .showcase-site .company-agent-menu { margin-bottom: 0; }
  .showcase-site .company-chat { padding: 34px 18px 80px; min-height: auto; }
  .showcase-site .company-welcome h1 { font-size: 31px; letter-spacing: -1px; }
  .showcase-site .company-welcome p { font-size: 13px; }
  .showcase-site .company-prompts { gap: 7px; }
  .showcase-site .company-prompts button { font-size: 11px; padding: 10px 12px; }
  .showcase-site .showcase-badge { font-size: 9px; padding: 8px 11px; }
  .showcase-site .make-site-entry { top: auto; right: 16px; bottom: 18px; font-size: 11px; }
  .showcase-site .company-main > .site-section { padding-top: 36px; }
  .showcase-site .module-grid article { padding: 24px; }
  .showcase-site .sidebar-collapsed .company-nav a { min-height: 52px; }
  .showcase-site.sidebar-collapsed .company-sidebar { padding: 12px 9px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; height: auto; padding: 22px; }
  .admin-nav-label, .admin-sidebar-note { display: none; }
  .admin-sidebar nav { display: flex; overflow-x: auto; margin-top: 20px; gap: 2px; }
  .admin-sidebar nav a { flex-shrink: 0; padding: 10px; font-size: 12px; }
  .admin-return { margin-top: 12px; padding-top: 14px; }
  .admin-main { padding: 0 18px; }
  .admin-panel { padding: 20px; }
  .admin-stats { gap: 8px; }
  .admin-stats article { padding: 14px 10px; }
  .admin-stats strong { font-size: 19px; }
  .admin-settings-grid, .admin-page-links { grid-template-columns: 1fr; }
  .admin-panel .row { flex-wrap: wrap; }
  .admin-section-title h2 { font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) { .showcase-site * { transition: none !important; scroll-behavior: auto !important; } }

/* 2026-11-06 站点合并：极客站首页顶栏导航（改右对齐，避开左侧栏折叠按钮） */
.showcase-topnav { position: fixed; top: 25px; right: 218px; z-index: 40; display: flex; gap: 4px; align-items: center;
  padding: 6px; border-radius: 100px; background: #fffefacc; border: 1px solid #e6e1d6; box-shadow: 0 6px 22px #1732420f;
  backdrop-filter: blur(8px); }
.showcase-topnav a { padding: 8px 14px; font-size: 12.5px; color: #4c5c58; text-decoration: none; border-radius: 100px; white-space: nowrap;
  transition: background .18s, color .18s; }
.showcase-topnav a:hover, .showcase-topnav a:focus-visible { background: #eef6f4; color: #0c6663; }
@media (max-width: 1080px) {
  .showcase-topnav { top: auto; bottom: 84px; left: 12px; right: auto; max-width: calc(100vw - 24px); overflow-x: auto; }
  .showcase-topnav a { padding: 7px 11px; font-size: 11.5px; }
}

/* 2026-11-06 站点合并：首页备案与运营主体行 */
.showcase-site .showcase-legal { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e6e1d6;
  display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11.5px; color: #7d8b87; }
.showcase-site .showcase-legal a { color: inherit; text-decoration: none; }
.showcase-site .showcase-legal a:hover { text-decoration: underline; }
