:root { color-scheme: light; --ink: #243c38; --muted: #87938f; --green: #226455; --border: #e6ece8; --background: #f6f8f5; font-family: "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; } [hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 78% 10%, #e9f0e8a8, transparent 42%), var(--background); font-size: 14px; line-height: 1.7; min-height: 100vh; }
button,input { font: inherit; } button,a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; } button { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .4; } a { color: var(--green); }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible { outline: 3px solid #89b9a7; outline-offset: 4px; } input[type="checkbox"] { accent-color: var(--green); width: 15px; height: 15px; flex-shrink: 0; margin: 0; cursor: pointer; }
.topbar { max-width: 1240px; height: 100px; margin: 0 auto; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 650; letter-spacing: -.3px; } .brand-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--green); color: #fff; font-size: 24px; line-height: 1; box-shadow: 0 4px 10px #22645512; }
.top-actions { display: flex; align-items: center; gap: 24px; font-size: 12px; } .site-help { position: relative; color: var(--muted); } summary { cursor: pointer; } .site-help > summary { list-style: none; padding: 8px 0; } .site-help > summary::-webkit-details-marker { display: none; }
.help-popover { position: absolute; right: 0; top: 45px; z-index: 10; width: 300px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 50px #243c3817; font-size: 12px; } .help-popover strong { color: var(--ink); font-weight: 600; } .help-popover p { margin: 8px 0 20px; } .help-popover p:last-child { margin-bottom: 0; }
.app-shell { max-width: 1240px; margin: 0 auto; padding: 40px 44px 60px; } .page-heading { margin-bottom: 44px; } .eyebrow { color: #769188; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; } h1 { margin: 12px 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.4; font-weight: 600; letter-spacing: -1px; } .page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.workspace-grid { display: grid; grid-template-columns: 400px minmax(0,1fr); gap: 36px; align-items: start; } .sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; } .card { background: #ffffffdc; border: 1px solid #e4ebe3; border-radius: 20px; box-shadow: 0 8px 30px #233f3203; }
h2 { margin: 0; font-size: 17px; font-weight: 600; } .muted { color: var(--muted); } .small { font-size: 11px; } .connect-card { padding: 32px; } .connect-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; } .connection-icon { display: grid; place-items: center; width: 36px; height: 36px; background: #edf4ee; border-radius: 12px; color: #729383; font-size: 22px; }
.field-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; } .field-label label { font-weight: 500; } #token { width: 100%; min-height: 52px; border: 1px solid #dce6de; border-radius: 10px; padding: 14px; background: #f8faf7; color: var(--ink); font-size: 12px; } input::placeholder { color: #a0aba4; }
.consent { display: flex; align-items: start; gap: 9px; font-size: 11px; color: #8b9890; margin: 18px 0 26px; line-height: 1.8; } .consent input { margin-top: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 23px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 500; text-decoration: none; line-height: 1.5; transition: background .15s, box-shadow .15s; } .button.primary { color: #fff; background: var(--green); box-shadow: 0 4px 12px #22645512; } .button.primary:hover:not(:disabled) { background: #194f43; box-shadow: 0 5px 16px #22645525; } .button.secondary { color: #60766b; border-color: #dfe7df; background: #fff; } .button.secondary:hover:not(:disabled) { background: #f6f9f4; } .button.quiet { padding: 7px 14px; font-size: 12px; color: #71877a; background: #fff8; border-color: #e0e8de; }
.wide { width: 100%; } .small-button { font-size: 11px; padding: 7px 12px; } .text-button { color: #648676; font-size: 11px; padding: 3px 0; background: none; border: 0; } .text-button:hover { color: var(--green); }
.connect-links { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; margin-top: 22px; } .token-help { font-size: 11px; color: #8b9890; } .connect-links > details { max-width: 100%; } .token-help summary { padding: 3px 0; } .token-help p { font-size: 11px; margin: 12px 0; } .token-help ol { padding-left: 19px; margin: 15px 0; } .token-help li { margin-bottom: 7px; } .token-help code { font-size: 11px; } .import-help { border-top: 1px solid #eef2eb; margin-top: 22px; padding-top: 18px; } .import-help input[type="file"] { display: block; max-width: 100%; font-size: 11px; margin: 14px 0 18px; }
.list-card,.export-bar { display: none; } .account-card { padding: 23px; } .account-name { display: flex; align-items: center; gap: 13px; } .account-name > div { min-width: 0; flex: 1; } .account-name h2 { font-size: 13px; overflow-wrap: anywhere; } .account-name div > span { color: #93a093; font-size: 10px; } .workspace-icon { width: 34px; height: 36px; display: grid; place-items: center; background: #eef4ec; border-radius: 10px; color: #78917d; font: 19px Georgia, serif; } .connected-dot { width: 6px; height: 6px; border-radius: 50%; background: #72a080; flex-shrink: 0; }
.list-card { overflow: hidden; } .list-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 23px 18px; } .list-heading h2 { font-size: 13px; } .list-heading h2 span { font-size: 10px; color: #9aaa9d; font-weight: 400; margin-left: 8px; }
.search-field { display: flex; align-items: center; gap: 8px; margin: 0 22px 18px; padding: 8px 12px; border: 1px solid #e8ede5; border-radius: 9px; background: #f9fbf8; } .search-field > span { font-size: 20px; color: #a3b2a7; line-height: 1; } .search-field input { border: 0; background: none; outline: none; width: 100%; min-width: 0; color: var(--ink); padding: 3px 0; font-size: 11px; }
.selection-row { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: #8d9d91; padding: 11px 23px; border-bottom: 1px solid #eef2eb; } .selection-row label { display: flex; align-items: center; gap: 9px; } .list-status { font-size: 11px; color: #98a59b; padding: 12px 23px; margin: 0; } .list-status:empty { display: none; } .chat-list { max-height: 460px; overflow: auto; margin: 0; padding: 0 10px 10px; list-style: none; }
.chat-row { display: flex; align-items: start; gap: 12px; padding: 17px 13px; border-radius: 11px; margin: 3px 0; } .chat-row:hover { background: #f8faf5; } .chat-row.active { background: #eaf3ec; } .chat-row input { margin-top: 3px; } .chat-title { width: 100%; min-width: 0; text-align: left; padding: 0; background: none; border: 0; font-size: 12px; color: #50665a; } .chat-title strong { display: block; font-weight: 500; overflow-wrap: anywhere; } .chat-title small { display: block; font-size: 10px; color: #9baa9d; margin-top: 7px; }
.preview-card { overflow: hidden; min-width: 0; } .preview-toolbar { display: none; } .preview-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 470px; padding: 44px 25px; background: radial-gradient(ellipse at 50% 30%, #edf4e8b0, transparent 65%); text-align: center; } .preview-empty h3 { margin: 36px 0 9px; font-size: 16px; font-weight: 500; color: #65816d; letter-spacing: .5px; } .preview-empty p { color: #a2aea0; font-size: 11px; margin: 0; }
.paper-scene { position: relative; width: 220px; height: 230px; display: flex; align-items: center; justify-content: center; } .scene-orbit { position: absolute; width: 235px; height: 235px; border: 1px solid #d9e5d3a0; border-radius: 50%; } .scene-orbit::before { content: ''; position: absolute; inset: 17px; border: 1px dashed #d9e5d385; border-radius: 50%; } .paper { position: absolute; width: 132px; height: 176px; border-radius: 12px; border: 1px solid #d4e0cf; } .paper-back { background: #e3eddb; transform: translate(18px, 1px) rotate(12deg); } .paper-front { background: #fffffa; padding: 24px 20px 18px; transform: rotate(-7deg); box-shadow: 0 14px 28px #6c806312; }
.paper-label { display: block; font-size: 6px; letter-spacing: 1.3px; color: #8d9d82; margin-bottom: 18px; } .paper-line { display: block; height: 3px; width: 70%; border-radius: 2px; background: #d7e2ce; margin-bottom: 8px; } .paper-line.long { width: 100%; } .paper-line.short { width: 48%; } .paper-bubble { display: block; width: 64%; height: 20px; border-radius: 6px; background: #edf2e7; margin: 13px 0 13px auto; } .paper-format { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font: 12px Georgia, serif; letter-spacing: 1px; color: #75906c; } .scene-spark { position: absolute; top: 8px; right: 4px; font-size: 23px; color: #9eb696; }
#preview-frame { display: block; width: 100%; height: 640px; background: #fff; border: 0; } .preview-warnings { font-size: 11px; background: #fff8e9; color: #9b783e; padding: 14px 26px; }
.connected .page-heading { margin-bottom: 28px; } .connected .page-heading h1 { font-size: 26px; } .connected .page-heading .eyebrow,.connected .page-heading p { display: none; } .connected .workspace-grid { grid-template-columns: 300px minmax(0,1fr); gap: 28px; } .connected .list-card { display: block; } .connected .export-bar { display: flex; } .connected .preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-bottom: 1px solid #edf1e9; } .preview-toolbar h2 { font-size: 12px; overflow-wrap: anywhere; } .preview-toolbar > span { white-space: nowrap; font-size: 10px; } .connected .preview-empty { min-height: 575px; }
.export-bar { align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; } .export-bar > span { font-size: 11px; color: #91a091; } .export-bar .button { min-width: 172px; }
.notice { padding: 16px 20px; margin-bottom: 22px; border: 1px solid #edd9b8; border-radius: 12px; background: #fff8e9; color: #96763f; font-size: 12px; white-space: pre-line; } .notice.success { background: #ebf4e9; border-color: #d8e6d3; color: #5c865d; } .demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: #809276; margin-bottom: 22px; } .demo-banner > span { display: flex; align-items: center; gap: 8px; } .demo-banner i { width: 5px; height: 5px; background: #92a786; border-radius: 50%; }
.job-panel { margin-top: 24px; padding: 26px; } .job-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; } .job-heading h2 { font-size: 15px; } progress { appearance: none; width: 100%; height: 5px; border: 0; display: block; margin: 22px 0 14px; border-radius: 4px; overflow: hidden; } progress::-webkit-progress-bar { background: #ecf1e7; } progress::-webkit-progress-value { background: #659172; } progress::-moz-progress-bar { background: #659172; }
.job-stats { display: flex; align-items: start; justify-content: space-between; gap: 20px; font-size: 11px; color: #91a08c; } #job-current { overflow-wrap: anywhere; } #job-details { font-size: 11px; color: #96763f; margin: 16px 0; } #job-details:empty { margin: 0; } #job-details details { margin: 10px 0; } #job-details ul { max-height: 220px; overflow: auto; padding-left: 20px; } .download-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .download-actions:has(a:not([hidden])) { margin-top: 24px; }
@media (max-width: 1000px) { .topbar { padding: 0 28px; } .app-shell { padding: 25px 28px 45px; } .workspace-grid { grid-template-columns: 360px minmax(0,1fr); gap: 24px; } .connect-card { padding: 28px; } .connected .workspace-grid { grid-template-columns: 270px minmax(0,1fr); gap: 24px; } .preview-toolbar > span { display: none; } }
@media (max-width: 760px) { .topbar { height: 78px; padding: 0 22px; } .brand { font-size: 14px; gap: 10px; } .brand-symbol { width: 30px; height: 30px; border-radius: 9px; } .top-actions { gap: 16px; } .app-shell { padding: 28px 22px 40px; } .page-heading { margin-bottom: 30px; } h1 { font-size: 27px; } .workspace-grid,.connected .workspace-grid { grid-template-columns: 1fr; gap: 24px; } .connect-card { padding: 28px; } body:not(.connected) .preview-card { border: 0; background: none; box-shadow: none; } body:not(.connected) .preview-empty { min-height: 280px; padding: 18px; } body:not(.connected) .paper-scene { transform: scale(.72); height: 185px; } body:not(.connected) .preview-empty h3 { margin-top: 0; } body:not(.connected) .preview-empty p { display: none; } .chat-list { max-height: 300px; } #preview-frame { height: 580px; } .connected .preview-empty { min-height: 400px; } .connected .preview-toolbar { padding: 22px; } .export-bar { padding-top: 22px; } .export-bar .button { min-width: 145px; } .job-panel { padding: 22px; } .help-popover { right: -10px; width: min(300px,80vw); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
