:root { --page-width: 1280px; --column: 760px; --reader: 440px; --ink: var(--ztc-text-default); --muted: var(--ztc-text-muted); --line: var(--ztc-border-default); --paper: var(--ztc-surface-page); --soft: var(--ztc-surface-subtle); --hover: var(--ztc-surface-hover); --blue: var(--ztc-action); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } html:has(> body.chat-mode) { scroll-behavior: auto; } body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--ztc-font-sans); min-height: 100svh; display: flex; flex-direction: column; } button, input, textarea { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; color: inherit; border: 0; background: none; padding: 0; } button:disabled { cursor: default; } a { color: inherit; text-decoration: none; } p, h1, h2, h3 { margin: 0; } h1, h2, h3 { font-weight: 600; } svg.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; } .icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; } [hidden] { display: none !important; } button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; } .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } .skip-link { position: fixed; top: 8px; left: 12px; z-index: 20; padding: 10px 18px; background: var(--paper); border: 2px solid var(--blue); border-radius: 8px; transform: translateY(-160%); } .skip-link:focus { transform: none; } .no-wrap { white-space: nowrap; } .site-header { height: 94px; margin: 0 auto; width: calc(100% - 96px); max-width: var(--page-width); display: flex; align-items: center; justify-content: space-between; gap: 24px; } .identity { display: flex; align-items: center; gap: 20px; min-height: 48px; } .identity img { object-fit: contain; width: 133px; height: auto; } .brand-divider { height: 24px; width: 1px; background: var(--line); margin-left: 2px; } .brand-name { font-size: 22px; font-weight: 600; letter-spacing: 1px; } .beta { font: 600 12px/1 var(--ztc-font-sans); color: var(--blue); background: var(--hover); border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent); padding: 5px 8px; border-radius: 8px 8px 8px 2px; transform: rotate(-5deg); margin-left: -12px; align-self: center; margin-top: -15px; } .site-header nav { display: flex; align-items: center; gap: 22px; font-size: 14px; } .site-header nav a { display: flex; gap: 8px; align-items: center; min-height: 44px; } .company-link .icon { width: 16px; } .company-link:hover { color: var(--blue); } .member-link { border: 1px solid var(--line); border-radius: 24px; padding: 4px 19px; } .member-link:hover { border-color: var(--blue); color: var(--blue); } .member-link span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .logout-button { min-height: 44px; font-size: 13px; color: var(--muted); } .logout-button:hover { color: var(--blue); } .new-chat { min-height: 40px; display: flex; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 4px 15px; font-size: 14px; background: var(--paper); } @media (hover: hover) { .new-chat:hover { color: var(--blue); border-color: var(--blue); } } .new-chat .icon { width: 16px; height: 16px; } main { flex: 1; width: 100%; } .welcome { text-align: center; padding: 64px 24px 48px; } .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--blue); display: flex; align-items: center; justify-content: center; gap: 10px; } .small-rule { width: 23px; height: 2px; background: var(--ztc-accent-bar); display: inline-block; } h1 { font-family: var(--ztc-font-serif); font-size: 46px; line-height: 1.4; letter-spacing: 0.5px; margin: 19px 0 13px; } .welcome h1 span { color: var(--blue); white-space: nowrap; } .intro { color: var(--muted); font-size: 16px; letter-spacing: 1px; } .suggestions { width: min(800px, calc(100% - 48px)); margin: 30px auto 0; } .suggestions > p { font-size: 12px; color: var(--muted); margin-bottom: 10px; } .prompt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .prompt-list button { font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 12px; text-align: left; transition: background 0.2s, border-color 0.2s; } .prompt-list button .icon { width: 15px; height: 15px; color: var(--muted); transform: rotate(90deg); } @media (hover: hover) { .prompt-list button:hover:not(:disabled) { background: var(--hover); border-color: color-mix(in srgb, var(--blue) 32%, var(--line)); color: var(--blue); } } .reading { width: min(1024px, calc(100% - 96px)); margin: 48px auto 58px; padding-top: 22px; border-top: 1px solid var(--line); } .reading-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; } .reading h2 { font: 600 17px/1.5 var(--ztc-font-sans); } .plain-link { display: flex; align-items: center; gap: 7px; color: var(--muted); min-height: 44px; font-size: 13px; } .plain-link:hover { color: var(--blue); } .plain-link .icon { width: 14px; } .book-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } .book { display: grid; grid-template-columns: 35px 1fr; gap: 14px; align-items: center; padding-right: 20px; min-height: 96px; } .book:not(:last-child) { border-right: 1px solid var(--line); } .book small { color: var(--muted); font-size: 12px; display: block; margin-bottom: 6px; } .book h3 { font: 600 15px/1.65 var(--ztc-font-sans); text-wrap: pretty; } @media (hover: hover) { .book:hover h3 { color: var(--blue); } } .book .read-label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 5px; margin-top: 5px; } .book-number { font: 500 13px/1 var(--ztc-font-sans); color: var(--blue); align-self: start; padding-top: 7px; } @media (hover: hover) { .book:hover .book-number { color: var(--ztc-action-hover); } } .site-footer { width: calc(100% - 96px); max-width: var(--page-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; font-size: 12px; color: var(--muted); } .site-footer > div { display: flex; align-items: center; gap: 24px; } .site-footer a, .site-footer button { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; } .site-footer a:hover, .site-footer button:hover { color: var(--blue); } .composer-dock { width: min(800px, calc(100% - 48px)); margin: auto; position: relative; z-index: 3; } .composer { position: relative; background: var(--paper); border: 1px solid var(--ztc-border-strong); border-radius: 24px; padding: 20px 18px 14px; box-shadow: 0 7px 24px color-mix(in srgb, var(--ztc-brand-navy) 5%, transparent); transition: border-color 0.2s, box-shadow 0.2s; } .composer:focus-within { border-color: var(--blue); box-shadow: 0 7px 28px color-mix(in srgb, var(--ztc-brand-navy) 9%, transparent); } textarea { display: block; width: 100%; padding: 0 6px; resize: none; min-height: 66px; max-height: 180px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 18px; line-height: 1.7; outline: none; } textarea::placeholder { color: var(--ztc-text-placeholder); opacity: 1; } .composer textarea:focus-visible { outline: none; } .composer-bottom { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .quota { font-size: 13px; color: var(--muted); padding-left: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 24px; } .quota-link { color: var(--blue); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; } .quota-link:hover { color: var(--ztc-action-hover); } .quota-meter { position: relative; flex: none; line-height: 1; } .quota-toggle { width: 44px; height: 44px; display: grid; place-items: center; position: relative; border-radius: 50%; color: var(--blue); } .quota-toggle svg { width: 36px; height: 36px; fill: none; stroke-width: 2.5; transform: rotate(-90deg); } .quota-track { stroke: var(--line); } .quota-arc { stroke: currentColor; stroke-linecap: round; } .quota-mark { position: absolute; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; color: var(--muted); } .quota-detail { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 8; width: 246px; max-width: calc(100vw - 70px); padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 6px 22px color-mix(in srgb, var(--ztc-brand-navy) 12%, transparent); line-height: 1.6; color: var(--ink); } .quota-detail strong, .quota-detail span { display: block; } .quota-detail strong { font-size: 13px; font-weight: 500; } .quota-detail span { margin-top: 4px; font-size: 12px; color: var(--muted); } .quota-detail::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; } .quota-detail.is-below { top: calc(100% + 8px); bottom: auto; } .quota-detail.is-below::after { top: auto; bottom: 100%; } .quota.is-near .quota-toggle, .quota.is-low .quota-toggle { color: var(--ztc-warning-ink); } .quota.is-out .quota-toggle { color: var(--muted); } @media (hover: hover) { .quota-toggle:hover { background: var(--soft); } } .send, .stop { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-left: auto; transition: transform 0.15s, background 0.15s; } .send { background: var(--blue); color: var(--ztc-action-ink); } @media (hover: hover) { .send:not(:disabled):hover { background: var(--ztc-action-hover); transform: translateY(-2px); } } .send:disabled { background: var(--ztc-surface-disabled); color: var(--ztc-text-muted); } .stop { background: var(--ink); color: var(--paper); } @media (hover: hover) { .stop:hover { background: var(--blue); } } .stop .icon { fill: currentColor; stroke: none; } .composer-hint { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; padding: 10px 9px 0; } .session-note { font-size: 13px; color: var(--muted); padding: 10px 6px; } .chat-mode .welcome, .chat-mode .suggestions, .chat-mode .reading, .chat-mode .site-footer { display: none; } .chat-mode .site-header { position: sticky; top: 0; z-index: 6; height: 72px; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); width: 100%; max-width: none; padding: 0 max(24px, calc((100% - var(--page-width)) / 2)); border-bottom: 1px solid var(--line); } .conversation { width: min(var(--column), calc(100% - 48px)); margin: 28px auto 0; } .turn { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--ztc-border-subtle); animation: arrive 0.3s ease-out; } .turn:last-child { border-bottom: 0; margin-bottom: 0; } .user-row { display: flex; justify-content: flex-end; margin-bottom: 18px; } .user-bubble { max-width: min(85%, 600px); background: var(--hover); border: 1px solid color-mix(in srgb, var(--blue) 14%, transparent); border-radius: 18px 18px 4px 18px; padding: 11px 18px; font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; } .assistant { min-width: 0; } .process { margin-bottom: 14px; } .process-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; font-size: 13px; color: var(--muted); border-radius: 18px; padding: 2px 12px 2px 4px; } @media (hover: hover) { .process-toggle:hover { color: var(--blue); background: var(--soft); } } .process-toggle > .icon { width: 14px; height: 14px; transition: transform 0.2s; } .process-toggle[aria-expanded="true"] > .icon { transform: rotate(90deg); } .process-icon { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; } .process-icon insight-eye-agent { width: 32px; height: 32px; display: block; } .process-icon insight-eye-agent:not(:defined) { display: none; } .process-eye-fallback { display: block; width: 32px; height: 32px; background: url("insight-eye-S1e-32-blue.svg") center/contain no-repeat; } .process-icon insight-eye-agent:defined + .process-eye-fallback { display: none; } .process-steps { list-style: none; margin: 8px 0 6px 12px; padding: 2px 0 2px 18px; border-left: 2px dotted color-mix(in srgb, var(--blue) 35%, var(--line)); font-size: 13px; color: var(--muted); } .process-steps > li { position: relative; padding: 4px 0; } .process-steps > li:before { content: ""; position: absolute; left: -23px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); } .process-steps > li.is-done:before { background: var(--blue); } .step-sources { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; gap: 2px; } .step-source { display: flex; align-items: baseline; gap: 8px; text-align: left; min-height: 32px; padding: 3px 8px; border-radius: 8px; color: var(--ink); font-size: 13px; line-height: 1.5; } @media (hover: hover) { .step-source:hover { background: var(--hover); color: var(--blue); } } .step-index { font: 600 11px/18px var(--ztc-font-sans); min-width: 18px; height: 18px; text-align: center; border-radius: 5px; background: var(--hover); color: var(--blue); } .step-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 6px 0 0; border-radius: 8px; color: inherit; font-size: 13px; } @media (hover: hover) { .step-toggle:hover { color: var(--blue); } } .step-toggle > .icon { width: 13px; height: 13px; transition: transform 0.2s; } .step-toggle[aria-expanded="true"] > .icon { transform: rotate(90deg); } .step-count { font: 600 11px/18px var(--ztc-font-sans); min-width: 18px; height: 18px; padding: 0 4px; text-align: center; border-radius: 5px; background: var(--hover); color: var(--blue); } .tool-steps { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 2px; } .tool-step { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; padding: 3px 0 3px 16px; line-height: 1.5; } .tool-step:before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--blue); background: var(--paper); } .tool-step.is-done:before { background: var(--blue); } .tool-step.is-failed:before { border-color: var(--ztc-error); background: var(--ztc-error); } .tool-step.is-stopped:before { border-color: var(--ztc-border-strong); } .tool-text { color: var(--ink); } .step-detail, .step-note { font-size: 12px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; } .tool-step.is-failed .step-note { color: var(--ztc-error-ink); } .thinking-text { margin: 4px 0 2px; padding: 10px 12px; max-height: 240px; overflow: auto; border-radius: 8px; background: var(--soft); font-size: 13px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; } .answer { font-size: 16px; line-height: 1.88; overflow-wrap: anywhere; } .answer > p { margin: 0 0 16px; } .answer > p:last-child { margin-bottom: 0; } .answer ul, .answer ol { margin: 10px 0 20px; padding-left: 1.45em; } .answer li { margin: 0 0 11px; padding-left: 2px; line-height: 1.84; } .answer li:last-child { margin-bottom: 0; } .answer li::marker { color: var(--blue); } .answer ol li::marker { font-weight: 600; } .answer strong { font-weight: 600; } .answer-heading { font-weight: 600; font-size: 17.5px; line-height: 1.48; letter-spacing: 0.01em; margin: 30px 0 14px; } .answer > .answer-heading:first-child { margin-top: 0; } .answer-table { margin: 14px 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; } .answer > .answer-table:last-child { margin-bottom: 0; } .answer-table:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; } .answer-table table { border-collapse: collapse; min-width: 100%; font-size: 15px; line-height: 1.7; } .answer-table th, .answer-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: break-word; } .answer-table th { font-weight: 600; white-space: nowrap; background: var(--soft); border-bottom-color: var(--ztc-border-strong); } .answer-table .is-center { text-align: center; } .answer-table .is-right { text-align: right; font-variant-numeric: tabular-nums; } .cite { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; margin: 0 2px; vertical-align: 2px; border-radius: 6px; font: 600 11px/1 var(--ztc-font-sans); color: var(--blue); background: var(--hover); border: 1px solid color-mix(in srgb, var(--blue) 26%, transparent); transition: background 0.15s, color 0.15s; } @media (hover: hover) { .cite:hover { background: var(--blue); color: var(--ztc-action-ink); } } .answer-notice { margin-top: 16px; padding: 13px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; line-height: 1.75; color: var(--ink); } .answer-notice.is-error { background: var(--ztc-tint-error-bg); border-color: color-mix(in srgb, var(--ztc-error) 30%, transparent); } .notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; } .sources { margin-top: 22px; } .sources-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .sources-head h3 { font: 600 13px/1.6 var(--ztc-font-sans); color: var(--ink); } .sources-count { font-size: 12px; color: var(--muted); } .source-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } .source-card { display: flex; flex-direction: column; gap: 5px; text-align: left; min-height: 44px; padding: 11px 13px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color 0.15s, background 0.15s, transform 0.15s; } .source-card.is-cited { background: var(--paper); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); } @media (hover: hover) { .source-card:hover { border-color: var(--blue); background: var(--paper); transform: translateY(-1px); } } .source-top { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); min-width: 0; } .source-index { font: 600 11px/18px var(--ztc-font-sans); min-width: 18px; height: 18px; text-align: center; border-radius: 5px; background: var(--hover); color: var(--blue); border: 1px solid color-mix(in srgb, var(--blue) 20%, transparent); } .source-collection { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .source-title { font-size: 14px; line-height: 1.5; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } @media (hover: hover) { .source-card:hover .source-title { color: var(--blue); } } .source-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .reader-passage mark.quote-mark { background: color-mix(in srgb, var(--blue) 15%, transparent); color: inherit; border-radius: 3px; padding: 1px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; } .answer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 14px; } .answer-related { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 13px; line-height: 1.6; } .answer-related .related-label { color: var(--muted); font-weight: 600; } .answer-related .related-items { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .answer-related .related-dot { color: var(--muted); } .answer-related .related-link { color: var(--blue); text-decoration: none; } .answer-related .related-link:hover, .answer-related .related-link:focus-visible { color: var(--ztc-action-hover); } .answer-related .related-consult { margin-left: auto; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--blue); color: var(--blue); text-decoration: none; font-weight: 600; white-space: nowrap; } .answer-related .related-consult:hover, .answer-related .related-consult:focus-visible { background: var(--blue); color: var(--paper); } @media (max-width: 520px) { .answer-related .related-consult { margin-left: 0; } } .text-action { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13px; color: var(--muted); } .text-action:hover { color: var(--blue); } .text-action .icon { width: 15px; height: 15px; } .action-note { font-size: 12px; color: var(--muted); } .ai-label { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; border-radius: 12px; background: var(--hover); color: var(--blue); font-size: 12px; font-weight: 600; } .primary-link { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 20px; min-height: 44px; background: var(--blue); color: var(--ztc-action-ink); border-radius: 12px; font-size: 14px; font-weight: 600; } @media (hover: hover) { .primary-link:hover { background: var(--ztc-action-hover); } } .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 20px; min-height: 44px; border: 1px solid var(--ztc-border-strong); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--blue); background: var(--paper); } @media (hover: hover) { .secondary-button:hover { border-color: var(--blue); } } .chat-mode .composer-dock { position: sticky; bottom: 0; width: min(var(--column), calc(100% - 48px)); padding: 24px 0 12px; background: linear-gradient( to top, var(--paper) 78%, color-mix(in srgb, var(--paper) 0%, transparent) ); } .chat-mode .composer { padding: 14px 16px 10px; border-radius: 20px; } .chat-mode textarea { font-size: 16px; min-height: 30px; height: 30px; } .chat-mode .composer-bottom { margin-top: 6px; } .chat-mode .composer-hint { padding-top: 7px; font-size: 12px; } .reader { border: 0; padding: 0; margin: 0; background: var(--paper); color: var(--ink); display: none; flex-direction: column; } .reader[open] { display: flex; } .reader:not(:modal) { position: fixed; inset: 0 0 0 auto; width: var(--reader); height: 100%; max-height: none; z-index: 8; border-left: 1px solid var(--line); box-shadow: -14px 0 40px color-mix(in srgb, var(--ztc-brand-navy) 7%, transparent); } .reader:modal { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: 92dvh; max-height: 92dvh; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px color-mix(in srgb, var(--ink) 14%, transparent); } .reader::backdrop { background: color-mix(in srgb, var(--ink) 30%, transparent); } .reader-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; } .reader-top .eyebrow { font-size: 11px; justify-content: flex-start; } .reader-content { flex: 1; overflow-y: auto; padding: 22px 24px 32px; overscroll-behavior: contain; } .reader-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; } .reader-content h2 { font: 600 21px/1.5 var(--ztc-font-serif); margin-bottom: 18px; outline: none; text-wrap: pretty; } .reader-heading { font: 600 15px/1.6 var(--ztc-font-sans); margin: 20px 0 8px; } .reader-page { font-size: 12px; color: var(--muted); margin: 14px 0 4px; font-variant-numeric: tabular-nums; } .reader-passage { margin: 0 0 6px; } .reader-passage p { font-size: 15px; line-height: 1.9; margin: 0 0 10px; overflow-wrap: anywhere; } .reader-passage.is-cited { background: var(--hover); border-left: 3px solid var(--ztc-accent-bar); border-radius: 0 10px 10px 0; padding: 10px 14px 2px; margin: 4px 0 12px; } .cited-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--blue); margin-bottom: 4px; } .reader-limited, .reader-loading, .reader-error, .reader-note { font-size: 14px; color: var(--muted); margin: 8px 0 14px; } .reader-error { color: var(--ztc-error-ink, var(--ink)); } .reader-footer { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; } .reader-footer .text-action { justify-content: center; } .icon-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); flex-shrink: 0; } .icon-button:hover { color: var(--blue); } .reader-open main, .reader-open .site-header { padding-right: var(--reader); } #panel { border: 1px solid var(--line); padding: 30px; border-radius: 24px; background: var(--paper); color: var(--ink); width: min(560px, calc(100% - 32px)); max-height: 85svh; overflow-y: auto; margin: auto; box-shadow: 0 20px 80px color-mix(in srgb, var(--ink) 12%, transparent); } #panel::backdrop { background: color-mix(in srgb, var(--ink) 25%, transparent); } .dialog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; } .dialog-top .eyebrow { font-size: 11px; } #panel h2 { font: 600 24px/1.5 var(--ztc-font-sans); margin-bottom: 16px; } #panel p { font-size: 15px; line-height: 1.85; margin-bottom: 16px; color: var(--muted); } #panel .primary-link { width: 100%; } #toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); color: var(--ztc-action-ink); background: var(--blue); border-radius: 12px; padding: 10px 18px; font-size: 14px; max-width: 90vw; z-index: 30; pointer-events: none; opacity: 0; transition: opacity 0.18s; } #toast.visible { opacity: 1; } @keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } @keyframes spin { to { transform: rotate(360deg); } } .site-header nav a, .new-chat, .brand-name, .logout-button { white-space: nowrap; } @media (max-width: 900px) { .site-header nav .company-link { display: none; } .new-chat { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; } .new-chat span { display: none; } } @media (min-width: 1600px) { .welcome { padding-top: 110px; } .reading { margin-top: 85px; } } @media (max-width: 1439px) { .reader-open main, .reader-open .site-header { padding-right: 0; } } @media (min-width: 701px) { .reader:modal { inset: 0 0 0 auto; width: min(var(--reader), 92vw); height: 100%; max-height: none; border-radius: 0; } } @media (max-width: 1050px) { .site-header, .site-footer { width: calc(100% - 48px); } .welcome { padding-top: 60px; } h1 { font-size: 40px; } .reading { width: calc(100% - 64px); } .book-list { gap: 20px; } .book { grid-template-columns: 30px 1fr; gap: 12px; padding-right: 14px; } .book h3 { font-size: 14px; } } @media (max-width: 700px) { .site-header { height: 72px; width: calc(100% - 32px); gap: 10px; } .identity { gap: 11px; } .identity img { width: 101px; } .brand-divider { height: 19px; margin: 0; } .brand-name { font-size: 20px; letter-spacing: 0; } .beta { font-size: 10px; padding: 4px 5px; margin-left: -6px; margin-top: -18px; } .site-header nav { gap: 6px; } .site-header nav .company-link { display: none; } .member-link { padding: 0; width: 44px; height: 44px; justify-content: center; } .member-link span { display: none; } .logout-button { padding: 0 4px; } .new-chat { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; } .new-chat span { display: none; } .chat-mode .site-header { height: 60px; padding: 0 16px; } .welcome { padding: 48px 20px 26px; } .eyebrow { font-size: 10px; letter-spacing: 1.4px; } h1 { font-size: 30px; line-height: 1.6; letter-spacing: 0; margin: 18px 0 10px; } .welcome h1 span { display: block; } .intro { font-size: 14px; letter-spacing: 0.5px; } .composer-dock { width: calc(100% - 32px); } .composer { border-radius: 20px; padding: 16px 12px 10px; } textarea { font-size: 16px; min-height: 64px; } .quota { font-size: 12px; padding-left: 4px; } .composer-hint { padding: 9px 5px 0; font-size: 12px; justify-content: center; text-align: center; } .key-hint { display: none; } .suggestions { width: calc(100% - 32px); margin-top: 26px; } .prompt-list { grid-template-columns: 1fr; } .prompt-list button { min-height: 46px; } .reading { width: calc(100% - 32px); margin: 37px auto 23px; padding-top: 15px; } .reading-heading { margin-bottom: 12px; } .reading h2 { font-size: 16px; } .book-list { grid-template-columns: 1fr; gap: 0; } .book { grid-template-columns: 30px 1fr; gap: 10px; min-height: 94px; padding: 13px 0; } .book:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); } .book small { margin-bottom: 2px; font-size: 11px; } .book .read-label { font-size: 11px; margin-top: 2px; } .site-footer { width: calc(100% - 32px); display: block; font-size: 11px; min-height: 82px; padding: 12px 0; } .site-footer > div { gap: 22px; } .conversation { width: calc(100% - 32px); margin-top: 18px; } .turn { padding-bottom: 26px; margin-bottom: 26px; } .user-row { margin-bottom: 14px; } .user-bubble { max-width: 90%; font-size: 16px; padding: 10px 15px; } .answer { font-size: 16px; line-height: 1.8; } .source-cards { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; } .source-cards::-webkit-scrollbar { display: none; } .source-card { flex: 0 0 72%; max-width: 260px; scroll-snap-align: start; } .chat-mode .composer-dock { width: 100%; padding: 16px 12px max(10px, env(safe-area-inset-bottom)); } .chat-mode .composer { padding: 11px 10px 8px; border-radius: 18px; } .chat-mode textarea { font-size: 16px; min-height: 28px; height: 28px; padding: 0 5px; } .chat-mode .composer-hint { font-size: 11px; padding-top: 5px; } .reader-top { padding: 10px 12px 10px 20px; } .reader-content { padding: 18px 20px 28px; } .reader-content h2 { font-size: 19px; } #panel { padding: 23px; } #panel h2 { font-size: 21px; } .dialog-top { margin-bottom: 16px; } } .history { position: fixed; inset: 0 auto 0 0; width: 288px; z-index: 8; display: flex; flex-direction: column; gap: 12px; padding: 18px 12px 14px; background: var(--soft); border-right: 1px solid var(--line); } .history-head { display: flex; align-items: center; gap: 6px; } .history-new { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 14px/1 var(--ztc-font-sans); cursor: pointer; transition: border-color 0.2s, color 0.2s; } @media (hover: hover) { .history-new:hover { border-color: var(--blue); color: var(--blue); } } .history-new .icon { width: 17px; height: 17px; } .history-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; } .history-group { margin: 16px 0 4px; padding: 0 10px; font-size: 12px; color: var(--muted); } .history-group:first-child { margin-top: 4px; } .history-row { display: flex; align-items: center; border-radius: 10px; transition: background 0.15s; } .history-row:hover, .history-row.is-active { background: var(--hover); } .history-item { flex: 1; min-width: 0; min-height: 40px; padding: 8px 10px; border: 0; background: none; color: var(--ink); font: 14px/1.4 var(--ztc-font-sans); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; } .history-row.is-active .history-item { color: var(--blue); font-weight: 600; } .history-tools { display: none; gap: 2px; padding-right: 4px; } .history-row:hover .history-tools, .history-row:focus-within .history-tools, .history-row.is-active .history-tools { display: flex; } .history-tool { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; } .history-tool:hover, .history-tool:focus-visible { background: var(--paper); color: var(--blue); } .history-tool .icon { width: 16px; height: 16px; } .history-rename { flex: 1; min-width: 0; margin: 4px; padding: 6px 8px; border: 1px solid var(--blue); border-radius: 8px; font: 14px/1.4 var(--ztc-font-sans); color: var(--ink); background: var(--paper); } .history-empty { padding: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); } .history-note { margin: 0; padding: 10px 10px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--muted); } .history-note:empty { display: none; } .history-note a { color: var(--blue); text-decoration: none; } .history-close, .history-toggle { display: none; } @media (min-width: 1100px) { body { padding-left: 288px; } } @media (max-width: 1099px) { .history { width: min(86vw, 320px); transform: translateX(-102%); transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1); visibility: hidden; } .history.is-open { transform: none; visibility: visible; box-shadow: 0 0 48px color-mix(in srgb, var(--ztc-brand-navy) 18%, transparent); } .history-close { display: grid; } .history-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; flex-shrink: 0; } .history-toggle .icon { width: 22px; height: 22px; } .site-header .identity { margin-right: auto; } .history-backdrop { position: fixed; inset: 0; z-index: 7; background: color-mix(in srgb, var(--ink) 30%, transparent); } .history-tools { display: flex; } .history-tool { width: 40px; height: 40px; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-iteration-count: 1 !important; animation-duration: 0.01ms !important; transition-property: color, background-color, border-color, opacity !important; } .send:not(:disabled):hover, .send:not(:disabled):active, .tool:active, .primary-link:active { transform: none; } } .history-items { list-style: none; margin: 0; padding: 0; } .history-more { display: block; width: 100%; min-height: 40px; margin: 8px 0 4px; border: 1px dashed var(--line); border-radius: 10px; background: none; color: var(--blue); font: 14px/1.4 var(--ztc-font-sans); cursor: pointer; } .history-confirm { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; } .history-confirm-text { flex: 1 1 100%; font-size: 13px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; } .history-confirm-yes, .history-confirm-no { min-height: 34px; padding: 0 12px; border-radius: 999px; font: 600 13px/1 var(--ztc-font-sans); cursor: pointer; } .history-confirm-yes { border: 1px solid var(--ztc-error-ink, #b3261e); background: var(--paper); color: var(--ztc-error-ink, #b3261e); } .history-confirm-no { border: 1px solid var(--line); background: var(--paper); color: var(--ink); } .history-note .history-confirm { padding: 0; } .history-link { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: none; } .history-links { display: flex; gap: 16px; margin-top: 6px; } .copy-buffer { position: fixed; left: -9999px; top: 0; opacity: 0; } .continue-link, .embed-close { display: none; } .is-embed .company-link, .is-embed .member-link, .is-embed .logout-button, .is-embed .reading { display: none; } .is-embed .continue-link:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; color: var(--blue); font-size: 14px; white-space: nowrap; text-decoration: none; } .is-embed .continue-link .icon { width: 15px; height: 15px; } .is-embed .embed-close:not([hidden]) { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; flex-shrink: 0; } .is-embed .embed-close .icon { width: 20px; height: 20px; } .is-embed .welcome { padding-top: 36px; } .is-embed .beta { font-size: 10px; padding: 3px 5px; margin-left: -6px; margin-top: -16px; } .is-embed.chat-mode .beta { display: none; } .is-embed .identity img { width: 88px; } .is-embed .brand-name { font-size: 18px; } @media (max-width: 420px) { .is-embed .continue-link span { display: none; } .is-embed .continue-link { padding: 0 10px; } } .contact-consent { border: 1px solid var(--line); padding: 24px; border-radius: 20px; background: var(--paper); color: var(--ink); width: min(400px, calc(100% - 32px)); margin: auto; box-shadow: 0 20px 80px color-mix(in srgb, var(--ink) 12%, transparent); } .contact-consent::backdrop { background: color-mix(in srgb, var(--ink) 25%, transparent); } .contact-consent h2 { font: 600 19px/1.5 var(--ztc-font-serif); margin: 0 0 10px; } .contact-consent p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; } .contact-consent-actions { display: flex; justify-content: flex-end; gap: 10px; } .primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 22px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: var(--paper); font-size: 14px; font-weight: 600; cursor: pointer; } @media (hover: hover) { .primary-button:hover { filter: brightness(0.95); } } .primary-button:disabled { opacity: 0.6; cursor: default; } .source-card.is-web .source-collection { color: var(--muted); } .sidebar-brand { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px 0 6px; } .sidebar-identity { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; } .sidebar-identity img { width: 96px; height: auto; object-fit: contain; } .sidebar-identity .brand-divider { height: 18px; margin: 0; } .sidebar-identity .brand-name { font-size: 18px; letter-spacing: 1px; } .sidebar-identity .beta { font-size: 10px; padding: 3px 5px; margin-left: -6px; margin-top: -16px; } .sidebar-collapse { display: none; } @media (min-width: 1100px) { .sidebar-collapse { display: grid; } body:not(.sidebar-folded) .site-header .identity { display: none; } body.sidebar-folded { padding-left: 0; } body.sidebar-folded .history { transform: translateX(-102%); visibility: hidden; } body.sidebar-folded .history-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; border-radius: 12px; color: var(--ink); } body.sidebar-folded .history-toggle .icon { width: 22px; height: 22px; } .history { transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1); } } .account { position: relative; margin: 0 -2px; padding-top: 10px; border-top: 1px solid var(--line); } .account-button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px; border-radius: 12px; text-align: left; color: var(--ink); transition: background 0.15s; } .account-button:hover, .account-button[aria-expanded="true"] { background: var(--hover); } .account-avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--ztc-action-ink); font: 600 14px/1 var(--ztc-font-sans); } .account-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; } .account-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .account-plan { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .account-button > .icon { width: 18px; height: 18px; color: var(--muted); } .account-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 9; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 14px 40px color-mix(in srgb, var(--ztc-brand-navy) 14%, transparent); animation: arrive 0.16s ease-out; } .account-menu-title { font-size: 14px; font-weight: 600; padding: 6px 10px 0; } .account-menu-plan { font-size: 12px; color: var(--muted); padding: 0 10px 8px; } .account-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 9px; font-size: 14px; color: var(--ink); text-align: left; } .account-item .icon { width: 17px; height: 17px; color: var(--muted); } .account-item:hover, .account-item:focus-visible { background: var(--hover); color: var(--blue); outline: none; } .account-menu:focus, .more-menu:focus { outline: none; } .account-item:hover .icon, .account-item:focus-visible .icon { color: var(--blue); } .account-item.is-primary { background: var(--blue); color: var(--ztc-action-ink); font-weight: 600; } .account-item.is-primary .icon { color: var(--ztc-action-ink); } .account-item.is-primary:hover { background: var(--ztc-action-hover); color: var(--ztc-action-ink); } .account-rule { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; } .is-embed .account { display: none; } .process-elapsed { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; } .process-elapsed:empty { display: none; } @media (min-width: 1440px) { .reader:not(:modal) { inset: 12px 12px 12px auto; height: auto; width: var(--reader); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px color-mix(in srgb, var(--ztc-brand-navy) 10%, transparent); } .reader-open main, .reader-open .site-header { padding-right: calc(var(--reader) + 24px); } } .chat-mode .composer { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); } .answer-related { flex-direction: column; align-items: stretch; gap: 6px; } .answer-related .related-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .answer-related .related-row .related-label { flex: 0 0 7.5em; } @media (max-width: 640px) { .answer-related .related-row { flex-direction: column; align-items: flex-start; gap: 2px; } .answer-related .related-row .related-label { flex: none; } } .reader-tabs { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; } .reader-tab { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-width: 38px; min-height: 38px; padding: 0; border-radius: 10px; border: 1px solid transparent; color: var(--muted); background: transparent; cursor: pointer; transition: background 150ms ease, color 150ms ease, border-color 150ms ease; } .reader-tab .icon { width: 18px; height: 18px; flex: none; } .reader-tab:hover { color: var(--blue); background: rgba(0, 102, 179, 0.06); } .reader-tab[aria-pressed="true"] { color: var(--blue); background: rgba(0, 102, 179, 0.10); border-color: rgba(0, 102, 179, 0.22); } .reader-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } .reader-tab[data-tip]::before { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-3px); padding: 5px 10px; border-radius: 7px; background: #0F172A; color: #FFFFFF; font: 500 12px/1.2 var(--ztc-font-sans); white-space: nowrap; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18); opacity: 0; pointer-events: none; z-index: 30; transition: opacity 130ms ease, transform 130ms ease; } .reader-tab[data-tip]:first-of-type::before { left: 0; transform: translateY(-3px); } .reader-tab[data-tip]:is(:hover, :focus-visible)::before { opacity: 1; transform: translateX(-50%) translateY(0); } .reader-tab[data-tip]:first-of-type:is(:hover, :focus-visible)::before { transform: translateY(0); } .reader-tab.has-new-diagram { color: var(--blue); border-color: rgba(0, 102, 179, 0.22); } .reader-tab.has-new-diagram::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); } @media (prefers-reduced-motion: no-preference) { .reader-tab.has-new-diagram { animation: diagram-ready 3.6s ease-in-out 4; } } @keyframes diagram-ready { 0%, 100% { background: transparent; border-color: var(--line); } 50% { background: var(--soft); border-color: var(--blue); } } .pub-list { display: flex; flex-direction: column; } .pub-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); } .pub-card:first-child { padding-top: 4px; } .pub-card:last-child { border-bottom: 0; } .pub-cover { width: 104px; aspect-ratio: 1/1; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); } .pub-cover-empty { display: flex; align-items: center; justify-content: center; font: 600 13px/1.5 var(--ztc-font-serif); color: var(--muted); text-align: center; padding: 8px; } .pub-kind { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; color: var(--blue); } .pub-title { font: 600 18px/1.55 var(--ztc-font-serif); margin: 4px 0 6px; text-wrap: pretty; } .pub-why { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; } .pub-summary { font-size: 14px; line-height: 1.85; margin: 0 0 12px; color: var(--ink); } .pub-actions { display: flex; flex-wrap: wrap; gap: 8px; } .pub-actions .primary-link, .pub-actions .secondary-button { min-height: 40px; padding: 7px 16px; } .pub-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 10px; } .pub-question { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; } .answer-publications { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } .answer-publications[hidden] { display: none; } .pub-inline { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); } .pub-inline img, .pub-inline .pub-inline-blank { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: var(--soft); flex: none; } .pub-inline-text { flex: 1; min-width: 0; } .pub-inline-meta { font-size: 12px; color: var(--muted); } .pub-inline-title { font-size: 14px; line-height: 1.5; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .pub-inline-actions { display: flex; align-items: center; gap: 6px; flex: none; } .pub-inline-actions a, .pub-inline-actions button { min-height: 40px; padding: 8px 14px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; } .pub-inline-actions .pub-open { border: 1px solid var(--line); color: var(--blue); background: var(--paper); } @media (hover: hover) { .pub-inline-actions .pub-open:hover { border-color: var(--blue); } } .pub-inline-actions .pub-read { background: var(--blue); color: var(--ztc-action-ink); } @media (hover: hover) { .pub-inline-actions .pub-read:hover { background: var(--ztc-action-hover); } } @media (max-width: 640px) { .pub-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; } .pub-cover { width: 76px; } .pub-title { font-size: 16px; } .pub-inline { flex-wrap: wrap; } .pub-inline-actions { width: 100%; justify-content: flex-end; } } a:hover, a:focus, p a, li a, td a { text-decoration: none; } .quota.is-near, .quota.is-low, .quota.is-out { color: var(--ztc-warning-ink); } .quota-link::after { content: "→"; margin-left: 3px; font-weight: 400; } @media (pointer: coarse) { .cite { position: relative; } .cite::after { content: ""; position: absolute; inset: -10px -2px; } .answer-related .related-link { display: inline-flex; align-items: center; min-height: 40px; } .quota-link { min-height: 40px; } .process-toggle { min-height: 40px; } .step-toggle { min-height: 40px; } .is-embed .continue-link { min-width: 44px; justify-content: center; } } @media (hover: none) { .prompt-list button:active:not(:disabled), .source-card:active, .book:active, .history-row:active, .step-source:active, .step-toggle:active { background: var(--hover); } .send:not(:disabled):active, .primary-link:active, .pub-inline-actions .pub-read:active, .pub-inline-actions .pub-open:active { transform: scale(0.97); } .cite:active { background: var(--blue); color: var(--ztc-action-ink); } } @media (max-width: 700px) { .book small, .book .read-label, .site-footer, .source-card .source-collection { font-size: 12px; } .eyebrow { font-size: 11px; } .source-cards { scroll-padding-inline: 16px; } .chat-mode .composer-hint { font-size: 12px; } } @media (max-width: 1099px) { .history { padding-bottom: max(14px, env(safe-area-inset-bottom)); } } @media (max-width: 700px) { .reader-content { padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px)); } } @media (prefers-reduced-motion: no-preference) { .reader:modal[open] { animation: sheet-up 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); } .reader:not(:modal)[open] { animation: sheet-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); } #panel[open] { animation: arrive 0.22s ease-out; } .reader::backdrop, #panel::backdrop, .history-backdrop:not([hidden]) { animation: fade-in 0.22s ease-out; } } @media (prefers-reduced-motion: no-preference) and (min-width: 701px) { .reader:modal[open] { animation-name: sheet-in; } } @keyframes sheet-up { from { transform: translateY(32px); opacity: 0.6; } } @keyframes sheet-in { from { transform: translateX(24px); opacity: 0.6; } } @keyframes fade-in { from { opacity: 0; } } .lang-toggle { min-width: 44px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font: 600 13px/1 var(--ztc-font-sans); color: var(--muted); letter-spacing: 0.04em; transition: color 0.2s, border-color 0.2s; } @media (hover: hover) { .lang-toggle:hover { color: var(--blue); border-color: var(--blue); } } .lang-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } .is-embed .lang-toggle { display: none; } .dna-mark { width: 46px; height: 10px; flex: none; overflow: visible; } .dna-mark line { stroke: var(--ztc-dna-stroke); stroke-width: var(--ztc-dna-w-md); stroke-dasharray: var(--ztc-dna-dash-sm); stroke-linecap: round; } .dna-mark circle { fill: var(--ztc-dna-stroke); } .welcome h1 { letter-spacing: 0.04em; } .welcome .intro { letter-spacing: 0.06em; } .composer { border-radius: 26px; box-shadow: 0 1px 2px color-mix(in srgb, var(--ztc-brand-navy) 4%, transparent), 0 12px 32px color-mix(in srgb, var(--ztc-brand-navy) 6%, transparent); } .composer:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 10%, transparent), 0 12px 32px color-mix(in srgb, var(--ztc-brand-navy) 8%, transparent); } .prompt-list button { flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 4px 12px; min-height: 84px; padding: 14px 16px; border-radius: 16px; background: var(--paper); } .prompt-topic { flex: 1 0 100%; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); } .prompt-text { flex: 1; font-size: 15px; line-height: 1.55; color: var(--ink); } .prompt-list button .icon { align-self: flex-end; } @media (max-width: 700px) { .prompt-list button { min-height: 0; padding: 12px 14px; } .prompt-text { font-size: 15px; } } .is-embed .welcome h1 { font-size: 28px; line-height: 1.45; margin: 0 0 6px; } .is-embed .welcome .intro { font-size: 14px; line-height: 1.65; } .is-embed .suggestions { margin-top: 16px; } .is-embed .suggestions > p { margin-bottom: 8px; } .is-embed .prompt-list button { gap: 2px 12px; padding: 10px 14px; border-radius: 14px; min-height: 44px; } .is-embed .prompt-text { font-size: 14px; line-height: 1.55; } @media (prefers-reduced-motion: no-preference) { body:not(.chat-mode) .welcome { animation: arrive 0.5s ease-out both; } body:not(.chat-mode) .composer-dock { animation: arrive 0.5s 0.08s ease-out both; } body:not(.chat-mode) .suggestions { animation: arrive 0.5s 0.16s ease-out both; } body:not(.chat-mode) .reading { animation: arrive 0.5s 0.24s ease-out both; } } html[lang="en"] .welcome h1, html[lang="en"] .welcome .intro { letter-spacing: 0; } html[lang="en"] .brand-name { letter-spacing: 0; font-size: 18px; white-space: nowrap; } .lang-toggle { white-space: nowrap; flex-shrink: 0; } @media (max-width: 430px) { html[lang="en"] .site-header .brand-name { font-size: 16px; } html[lang="en"] .site-header .brand-divider { margin: 0 8px; } } html[lang="en"] .sidebar-identity .brand-name { font-size: 14px; margin-right: 0; } html[lang="en"] .sidebar-identity { gap: 8px; } html[lang="en"] .sidebar-identity img { width: 88px; } html[lang="en"] .sidebar-identity .brand-divider { display: none; } @media (max-width: 430px) { .site-header .identity { gap: 8px; } .site-header .identity img { width: 88px; } .site-header .beta { margin-left: -4px; } html[lang="en"] .site-header .brand-divider { display: none; } html[lang="en"] .site-header .brand-name { font-size: 15px; } } @media (max-width: 360px) { .site-header .identity img { width: 76px; } html[lang="en"] .site-header .brand-name { font-size: 14px; } } @media (max-width: 340px) { html[lang="en"] .site-header .brand-name { display: none; } } .beta { pointer-events: none; } @media (max-width: 430px) { body.chat-mode .site-header .beta { display: none; } } @media (max-width: 340px) { body.chat-mode .site-header .brand-name, body.chat-mode .site-header .brand-divider { display: none; } } @media (max-width: 340px) { .is-embed .beta { display: none; } } :root { --head-h: 94px; } body.chat-mode { --head-h: 72px; } .site-header nav { margin-left: auto; } .head-tools { display: flex; align-items: center; gap: 2px; } .head-more { display: none; position: relative; } .site-header .head-tool { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 12px; color: var(--muted); background: none; transition: color 0.18s, background 0.18s; } .site-header .head-tool .icon { width: 19px; height: 19px; } .head-tools .lang-toggle { width: auto; min-width: 40px; padding: 0 9px; border: 0; border-radius: 12px; font: 600 13px/1 var(--ztc-font-sans); letter-spacing: 0.04em; } @media (hover: hover) { .site-header .head-tool:hover { color: var(--blue); background: var(--soft); } } .site-header .head-tool[aria-pressed="true"], .site-header .head-tool[aria-expanded="true"] { color: var(--blue); background: var(--hover); } .site-header .head-tool[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 500 12px/1.4 var(--ztc-font-sans); letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; z-index: 12; } .head-tools > .head-tool:last-child[data-tip]::after { left: auto; right: 0; transform: none; } @media (hover: hover) { .site-header .head-tool[data-tip]:hover::after { opacity: 1; visibility: visible; transition: opacity 0.15s 0.3s, visibility 0s 0.3s; } } .site-header .head-tool[data-tip]:focus-visible::after { opacity: 1; visibility: visible; } .more-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 12; min-width: 208px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 14px 40px color-mix(in srgb, var(--ztc-brand-navy) 14%, transparent); animation: arrive 0.16s ease-out; } @media (max-width: 700px) { .head-tools { display: none; } .head-more { display: block; } } .is-embed .head-tools, .is-embed .head-more { display: none !important; } @media (min-width: 1440px) { .reader:not(:modal) { top: calc(var(--head-h) + 4px); } .reader-open .site-header { padding-right: 0; } body.chat-mode.reader-open .site-header { padding-right: max(24px, calc((100% - var(--page-width)) / 2)); } body.chat-mode .site-header { z-index: 9; } } .overview-sources { margin-top: 4px; } .sources { margin-top: 18px; } .sources-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 2px 10px 2px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--muted); transition: color 0.15s, border-color 0.15s; } @media (hover: hover) { .sources-toggle:hover { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); } } .sources-toggle > .icon { width: 14px; height: 14px; transition: transform 0.2s; } .sources-toggle[aria-expanded="true"] { color: var(--ink); } .sources-toggle[aria-expanded="true"] > .icon { transform: rotate(90deg); } .sources .source-cards { margin-top: 10px; } .source-card.is-flash { border-color: var(--blue); background: var(--paper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 16%, transparent); } .suggestion { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 0 8px; padding: 8px 12px 8px 14px; border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line)); border-radius: 14px; background: var(--paper); text-align: left; font-size: 14px; line-height: 1.5; color: var(--ink); box-shadow: 0 4px 14px color-mix(in srgb, var(--ztc-brand-navy) 6%, transparent); } .suggestion-label { flex: none; font-size: 12px; font-weight: 600; color: var(--blue); } .suggestion-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .suggestion .icon { width: 16px; height: 16px; color: var(--blue); transform: rotate(90deg); } @media (hover: none) { .suggestion:active { background: var(--hover); } } .tab-hint { font-weight: 600; color: var(--blue); } .tab-hint::after { content: " · "; font-weight: 400; color: var(--muted); } .kept-label { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); } .thread-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin: -12px 0 8px; padding-top: 12px; border-top: 1px dashed var(--ztc-border-subtle); font-size: 13px; color: var(--muted); } .thread-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--muted); } .thread-tool .icon { width: 14px; height: 14px; } @media (hover: hover) { .thread-tool:hover { color: var(--blue); } } .thread-number { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; } .import-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--ink); } .import-note .import-text { flex: 1 1 220px; line-height: 1.6; } .import-yes, .import-no { min-height: 44px; font-size: 13px; } .import-yes { color: var(--blue); font-weight: 600; } .import-no { color: var(--muted); } .answer-learn { margin-top: 12px; } .learn-start { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; transition: border-color 0.2s, color 0.2s; } .learn-start .icon { width: 18px; height: 18px; color: var(--blue); } .learn-start-label { font-weight: 600; color: var(--blue); } .learn-start-topic { color: var(--muted); font-size: 13px; } @media (hover: hover) { .learn-start:hover { border-color: var(--blue); } } .answer-diagram { margin-top: 12px; } .diagram-start { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; transition: border-color 0.2s, color 0.2s; } .diagram-start .icon { flex: none; width: 18px; height: 18px; color: var(--blue); } .diagram-start-label { flex: none; font-weight: 600; color: var(--blue); } .diagram-start-topic { min-width: 0; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; } @media (hover: hover) { .diagram-start:hover { border-color: var(--blue); } } .diagram-host { margin-top: 12px; min-height: 120px; } .diagram-host[aria-busy="true"] { border-radius: 8px; background: var(--soft); } .diagram-host svg, .diagram-image { display: block; max-width: 100%; height: auto; margin: 0 auto; } .diagram-caption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; } .diagram-list { display: flex; flex-direction: column; gap: 10px; } .diagram-list-hint { margin: -10px 0 14px; color: var(--muted); font-size: 12.5px; } .diagram-item { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); } .diagram-item.is-open { border-color: var(--blue); } .diagram-item-head { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 10px; background: none; color: var(--ink); text-align: left; cursor: pointer; } .diagram-item-n { flex: none; margin-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; } .diagram-item-title { flex: 1; min-width: 0; font: 600 15.5px/1.45 var(--ztc-font-serif); } .diagram-item-head .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--muted); transition: transform 0.2s; } .diagram-item-head[aria-expanded="true"] .icon { transform: rotate(90deg); } @media (hover: hover) { .diagram-item-head:hover { background: var(--hover); } } .diagram-item-body { padding: 0 14px 14px; } .diagram-item-body .reader-meta { margin: 0; } .diagram-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; } .diagram-item-foot .diagram-caption { margin: 0; text-align: left; } .diagram-save { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--blue); font-size: 13px; white-space: nowrap; } .diagram-save .icon { width: 16px; height: 16px; } .diagram-save[disabled] { opacity: 0.6; cursor: progress; } @media (hover: hover) { .diagram-save:not([disabled]):hover { border-color: var(--blue); } } dialog.image-sheet { width: min(92vw, 560px); max-height: 92vh; padding: 44px 14px 14px; border: 0; border-radius: 12px; background: var(--paper); overflow: auto; } dialog.image-sheet::backdrop { background: rgba(45, 49, 66, 0.6); } .image-sheet img { display: block; width: 100%; height: auto; border: 1px solid var(--line); } .image-sheet-hint { margin: 0 0 10px; color: var(--muted); font-size: 13px; text-align: center; } .image-sheet-close { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); } .diagram-compare-note { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; } .diagram-compare-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .diagram-compare-side { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; } .diagram-compare-head { padding: 10px 12px; background: var(--blue); color: #fff; } .diagram-compare-head h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; } .diagram-compare-head p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); } .diagram-compare-items { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 10px; list-style: none; } .diagram-compare-items li { padding: 7px 10px; border-radius: 6px; background: var(--soft); color: var(--ink); font-size: 13.5px; line-height: 1.45; } @media (max-width: 340px) { .diagram-compare-cols { grid-template-columns: 1fr; } } .diagram-renderer { position: fixed; left: -10000px; top: 0; width: 560px; height: 720px; border: 0; visibility: hidden; pointer-events: none; } .learn { position: relative; } .learn-line { position: absolute; left: 0; top: 0; width: 100%; height: 14px; overflow: visible; pointer-events: none; } .learn-line line { stroke: var(--ztc-dna-stroke); stroke-width: var(--ztc-dna-w-md); stroke-dasharray: var(--ztc-dna-dash-sm); stroke-linecap: round; } .learn-progress { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); position: relative; } .learn-node { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 2px; color: var(--muted); } .learn-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ztc-dna-stroke); background: var(--paper); box-sizing: border-box; transition: background 0.2s, box-shadow 0.2s; } .learn-node-label { font-size: 12px; line-height: 1.4; text-align: center; text-wrap: balance; } .learn-progress .is-done .learn-dot { background: var(--ztc-dna-stroke); } .learn-progress .is-current .learn-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent); } .learn-progress .is-current .learn-node { color: var(--blue); font-weight: 600; } @media (hover: hover) { .learn-node:hover { color: var(--blue); } } .learn-card { padding: 18px 0 4px; border-top: 1px solid var(--line); } .learn-step { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; color: var(--blue); margin-bottom: 6px; } .learn-goal { font: 600 18px/1.55 var(--ztc-font-serif); margin-bottom: 12px; outline: none; text-wrap: pretty; } .learn-lead { font: 16px/1.8 var(--ztc-font-serif); color: var(--ink); margin-bottom: 10px; padding-left: 12px; border-left: 3px solid var(--ztc-accent-bar); } .learn-text { font-size: 15px; line-height: 1.9; color: var(--ink); margin-bottom: 16px; } .learn-quiz { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); margin-bottom: 16px; } .learn-quiz-label { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; color: var(--blue); margin-bottom: 4px; } .learn-quiz-question { font-size: 15px; line-height: 1.7; font-weight: 600; margin-bottom: 10px; } .learn-quiz-options { display: flex; flex-direction: column; gap: 8px; } .learn-option { min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); text-align: left; font-size: 14px; line-height: 1.6; transition: border-color 0.2s; } @media (hover: hover) { .learn-option:hover { border-color: var(--blue); } } .learn-option.is-right { border-color: var(--ztc-success); background: var(--ztc-tint-success-bg); color: var(--ztc-success-ink); } .learn-option.is-wrong { border-color: var(--ztc-error); background: var(--ztc-tint-error-bg); color: var(--ztc-error-ink); } .learn-quiz-result { font-size: 14px; line-height: 1.75; color: var(--ink); margin-top: 10px; } .learn-quiz-result:empty { display: none; } .learn-quiz-result strong { margin-right: 4px; } .learn-source { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; } .learn-source-label { display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 5px; background: var(--hover); color: var(--blue); font-size: 12px; font-weight: 600; } .learn-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; } .learn-tools .secondary-button { min-height: 40px; padding: 7px 16px; } .learn-tools .text-action { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 600; } .learn-tools .text-action .icon { width: 16px; height: 16px; } .learn-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); } .learn-nav .primary-link, .learn-nav .secondary-button { min-height: 40px; padding: 7px 20px; } .learn-nav .secondary-button:disabled { color: var(--ztc-text-muted); border-color: var(--line); cursor: default; } .learn-more { margin-top: 18px; } .learn-more h4 { font: 600 14px/1.6 var(--ztc-font-sans); margin: 0 0 6px; } .learn-more ul { margin: 0; padding-left: 18px; } .learn-more li { font-size: 14px; line-height: 1.7; margin: 4px 0; } .learn-more-link { color: var(--blue); } .learn-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 18px; } .chat-dock-dialog { box-sizing: border-box; position: fixed; inset: auto; right: max(20px, env(safe-area-inset-right)); top: var(--head-h, 80px); bottom: auto; width: min(320px, calc(100vw - 120px)); max-height: calc(100dvh - var(--dock-bottom, 160px) - 24px); margin: 0; padding: 16px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: var(--ztc-elevation-2); } .chat-dock-dialog::backdrop { background: color-mix(in srgb, var(--ztc-surface-inverse-deep, #15283a) 32%, transparent); } .chat-dock-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 6px; } .chat-dock-title { font: 600 16px/1.5 var(--ztc-font-sans); margin: 0; } .chat-dock-close { width: 44px; height: 44px; display: grid; place-items: center; margin: -8px -10px -8px 0; border-radius: 8px; color: var(--muted); } .chat-dock-close:hover { color: var(--blue); background: var(--hover); } .chat-dock-action { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-align: left; font-size: 15px; } .chat-dock-action:hover { color: var(--blue); background: var(--hover); } .chat-dock-action svg.icon { width: 18px; height: 18px; color: var(--muted); } .chat-dock-qr { display: flex; justify-content: center; padding: 8px 0; } .chat-dock-qr canvas { display: block; flex: none; width: 240px; height: auto; max-width: 100%; aspect-ratio: 1; } .chat-dock-note { margin: 12px 4px 4px; font-size: 13px; line-height: 1.8; color: var(--muted); } .chat-dock-status { margin: 10px 4px 0; font-size: 13px; line-height: 1.7; color: var(--blue); } .chat-dock-status:empty { display: none; } @media (max-width: 767px) { .chat-dock-dialog { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 48px); border-radius: 16px; } } .chat-dock-dialog.is-qr .chat-dock-note { text-align: center; margin: 12px 0 4px; } @media (min-width: 768px) { .chat-dock-dialog.is-qr { --qr-bottom: min(var(--dock-bottom, 160px), max(16px, calc(100dvh - var(--head-h, 94px) - 500px))); bottom: var(--qr-bottom); max-height: calc(100dvh - var(--qr-bottom) - var(--head-h, 94px) - 12px); } } .chat-print { display: none; } @page { size: A4; margin: 17mm 16mm 18mm; } @media print { .history, .history-backdrop, .history-toggle, .site-header nav, .composer-dock, .suggestions, .reading, .welcome, .site-footer, .chat-dock, .thread-tools, .process, .answer-actions, .answer-related, .answer-publications, .answer-learn, .answer-diagram, .diagram-renderer, .sources-toggle, #toast, dialog { display: none !important; } body { display: block; background: #fff; } main, .site-header { padding: 0 !important; width: auto; max-width: none; } .sources .source-cards { display: block !important; } .source-card { break-inside: avoid; } .turn { break-inside: auto; } body.has-chat-print { display: block !important; margin: 0 !important; padding: 0 !important; min-width: 0 !important; height: auto !important; overflow: visible !important; } body.has-chat-print > :not(.chat-print) { display: none !important; } body.has-chat-print > .chat-print { display: block !important; width: auto; max-width: none; margin: 0; padding: 0; color: #2d3142; background: #fff; font: 400 11pt/1.8 "PingFang SC", system-ui, sans-serif; overflow-wrap: anywhere; orphans: 3; widows: 3; } .chat-print * { box-sizing: border-box; box-shadow: none !important; animation: none !important; transform: none !important; } .chat-print-header { padding-bottom: 6mm; margin-bottom: 7mm; border-bottom: 0.6pt solid #d9dfe5; break-inside: avoid; } .chat-print-header img { display: block; width: 38mm; height: auto; margin-bottom: 3mm; } .chat-print h1 { font-size: 24pt; line-height: 1.4; margin: 0 0 3mm; color: #0a2b4c; } .chat-print .chat-print-meta { font-size: 9pt; color: #58595b; margin: 0; } .chat-print h2 { font-size: 15pt; line-height: 1.5; margin: 7mm 0 3mm; break-after: avoid; } .chat-print h3, .chat-print .answer-heading { font-size: 11pt; font-weight: 700; margin: 4mm 0 2mm; break-after: avoid; } .chat-print p, .chat-print ul, .chat-print ol { margin: 0 0 3mm; orphans: 3; widows: 3; } .chat-print ul, .chat-print ol { padding-left: 6mm; } .chat-print li { margin: 0 0 1.5mm; } .chat-print .answer-table { overflow: visible; border: 0; border-radius: 0; margin: 3mm 0; max-width: 100%; } .chat-print table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 10pt; } .chat-print th, .chat-print td { padding: 2mm; border: 0.6pt solid #d9dfe5; white-space: normal; background: none; vertical-align: top; } .chat-print thead { display: table-header-group; } .chat-print tr { break-inside: avoid; } .chat-print-cite { font-size: 9pt; color: #0067b4; } .chat-print .chat-print-sources { font-size: 9pt; line-height: 1.7; color: #58595b; white-space: pre-line; overflow-wrap: anywhere; } .chat-print-footer { margin-top: 8mm; padding-top: 4mm; border-top: 0.6pt solid #d9dfe5; font-size: 9pt; color: #58595b; } } .learn-ai { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; line-height: 1.6; color: var(--muted); vertical-align: 1px; } .contact-action { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; box-sizing: border-box; } .contact-action form { display: grid; gap: 14px; } .contact-action-field { display: grid; gap: 6px; } .contact-action label, .contact-action summary { font-size: 14px; line-height: 1.6; } .contact-action input:not([type="checkbox"]), .contact-action textarea { width: 100%; min-height: 44px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--paper); } .contact-action input:read-only, .contact-action textarea:read-only { background: var(--soft); } .contact-action input:focus-visible, .contact-action textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } .contact-action-details { display: grid; gap: 14px; border: 0; margin: 0; padding: 0; min-width: 0; } .contact-action [hidden] { display: none !important; } .contact-action .contact-action-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; } .contact-action-check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); } .contact-action .contact-action-error { color: var(--ztc-error-ink); margin: 0; } .contact-action .contact-action-note { margin: 0; font-size: 13px; } .contact-action a { font-size: 13px; color: var(--blue); min-height: 24px; text-decoration: underline; text-underline-offset: 3px; } .contact-action button { min-height: 44px; padding: 9px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); } .contact-action .primary-button { background: var(--blue); color: var(--ztc-action-ink); border-color: var(--blue); } .contact-action .secondary-button { background: var(--paper); color: var(--ink); } .contact-action button:disabled { opacity: 0.55; cursor: wait; } .contact-action-snapshot { display: grid; grid-template-columns: minmax(100px, auto) minmax(0, 1fr); gap: 8px 12px; padding: 14px; background: var(--soft); border-radius: 10px; font-size: 14px; line-height: 1.7; margin: 0; } .contact-action-snapshot dt { color: var(--muted); } .contact-action-snapshot dd { margin: 0; overflow-wrap: anywhere; } .contact-action .contact-consent-actions { flex-wrap: wrap; } .contact-action-usage p { margin: 8px 0 0; } .consultation-offer { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 14px; } .consultation-offer p { margin: 0 0 6px; } .consultation-offer button { min-height: 44px; } @media (max-width: 420px) { .contact-action { padding: 20px; } .contact-action-snapshot { grid-template-columns: 1fr; gap: 2px; } .contact-action-snapshot dd { margin-bottom: 8px; } .contact-action .contact-consent-actions { justify-content: stretch; } .contact-action .contact-consent-actions button { flex: 1; white-space: nowrap; } .contact-action .contact-consent-actions .primary-button { flex-basis: 100%; } } .contact-action textarea { height: 120px; min-height: 120px; max-height: 260px; resize: vertical; line-height: 1.7; } .consultation-draft-text { white-space: pre-wrap; overflow-wrap: anywhere; } .consultation-contact-text { overflow-wrap: anywhere; } .related .consultation-offer { padding: 0; border: 0; background: transparent; } .consultation-offer .consultation-contact-text { color: var(--muted); } .prompt-sets { display: grid; } .prompt-sets > .prompt-list { grid-area: 1/1; visibility: hidden; opacity: 0; transition: opacity 0.35s ease, visibility 0s linear 0.35s; } .prompt-sets.is-ready > .prompt-list.is-active { visibility: inherit; opacity: 1; transition: opacity 0.35s ease; } @media (prefers-reduced-motion: reduce) { .prompt-sets > .prompt-list, .prompt-sets.is-ready > .prompt-list.is-active { transition: none; } } html[lang="en"] #welcome-intro .no-wrap { white-space: normal; } @media (max-width: 700px) { main > .welcome:has(.insight-visual) { padding-top: clamp(24px, 5vh, 44px); } .is-embed main > .welcome:has(.insight-visual) { padding-top: clamp(16px, 3.5vh, 28px); } .welcome h1, .is-embed .welcome h1 { font-size: 22px; line-height: 1.5; letter-spacing: 0.08em; } html[lang="en"] .welcome h1 { letter-spacing: 0; } } .answer-actions { gap: 8px; margin-top: 16px; } .answer-actions .icon-action { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--muted); cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s; } .answer-actions .icon-action .icon { width: 16px; height: 16px; } .answer-actions .icon-action:hover, .answer-actions .icon-action:focus-visible { border-color: var(--blue); color: var(--blue); } .answer-actions .icon-action.answer-wecom { border-color: var(--blue); color: var(--blue); } .answer-actions .icon-action.answer-wecom:hover, .answer-actions .icon-action.answer-wecom:focus-visible { background: var(--blue); color: var(--paper); } .answer-actions .icon-action.is-kept { color: var(--blue); cursor: default; } .answer-actions .icon-action[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 500 12px/1.4 var(--ztc-font-sans); letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; z-index: 12; } @media (hover: hover) { .answer-actions .icon-action[data-tip]:hover::after { opacity: 1; visibility: visible; transition: opacity 0.15s 0.3s, visibility 0s 0.3s; } } .answer-actions .icon-action[data-tip]:focus-visible::after { opacity: 1; visibility: visible; } .answer-actions .icon-action:first-child[data-tip]::after { left: 0; transform: none; } .answer-actions .icon-action:last-child[data-tip]::after { left: auto; right: 0; transform: none; } @media (max-width: 700px) { .answer-actions .icon-action { width: 38px; height: 38px; } } .answer-actions { justify-content: space-between; } .answer-actions .ai-label { display: inline-flex; align-items: center; min-height: 0; margin: 0; padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 400; } .answer-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; } body:not(.is-embed) main > .welcome .insight-visual { width: 224px; height: 224px; } @media (max-width: 680px) { body:not(.is-embed) main > .welcome .insight-visual { width: 160px; height: 160px; } } .thread-feedback { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; } .thread-feedback .icon { width: 14px; height: 14px; } .reader-passage .passage-link { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; } @media (min-width: 701px) { body:not(.is-embed) .welcome h1 { font-size: 36px; } } @media (max-width: 640px) { .pub-inline { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; padding: 12px; } .pub-inline img, .pub-inline .pub-inline-blank { grid-row: 1 / span 2; align-self: start; width: 52px; height: 52px; } .pub-inline-text { grid-column: 2; } .pub-inline-actions { grid-column: 2; width: auto; justify-content: flex-start; } .pub-inline-actions a, .pub-inline-actions button { min-height: 34px; padding: 6px 12px; font-size: 13px; } } .answer-entries { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; } .answer-entries .answer-diagram { min-width: 0; max-width: 100%; } .answer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; } .advisor-lens-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 11.5px; line-height: 1.45; font-weight: 500; white-space: nowrap; } .answer-thread { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 14px; padding-left: 12px; border-left: 1px solid var(--line); } .answer-meta > .answer-thread:first-child { padding-left: 0; border-left: 0; } .answer-thread .thread-tool { min-height: 44px; font-size: 12px; } .answer-thread .thread-tool .icon { width: 13px; height: 13px; } @media (max-width: 700px) { .answer-meta { display: contents; } .answer-actions .ai-label { flex-basis: 100%; } .answer-thread { padding-left: 0; border-left: 0; } } .diagram-save { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%; gap: 0; } .diagram-save .icon { width: 16px; height: 16px; } .diagram-save[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); right: 0; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 500 12px/1.4 var(--ztc-font-sans); letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; z-index: 12; } @media (hover: hover) { .diagram-save[data-tip]:hover::after { opacity: 1; visibility: visible; transition: opacity 0.15s 0.3s, visibility 0s 0.3s; } } .diagram-save[data-tip]:focus-visible::after, .diagram-save[aria-busy="true"]::after { opacity: 1; visibility: visible; } @media (max-width: 700px) { .diagram-save { width: 38px; height: 38px; } } .knowledge-wordmark { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; } .knowledge-wordmark .brand-name { color: var(--blue); } .brand-eye { display: inline-block; position: relative; width: 30px; height: 30px; flex: none; line-height: 0; pointer-events: none; } .identity .brand-eye { transform: translateY(-1.25px); } .brand-eye insight-eye-agent { display: block; width: 100%; height: 100%; } .brand-eye insight-eye-agent:not(:defined) { display: none; } .brand-eye-fallback { display: block; width: 100%; height: 100%; background: url("insight-eye-S1e-32-blue.svg") center/contain no-repeat; } .brand-eye insight-eye-agent:defined + .brand-eye-fallback { display: none; } .sidebar-identity .knowledge-wordmark { padding-right: 28px; } .sidebar-identity .brand-eye { position: absolute; right: 2px; top: -7px; width: 22px; height: 22px; } @media (max-width: 767px) { .site-header .identity { gap: 7px; } .site-header .knowledge-wordmark { gap: 5px; } .site-header .brand-eye { width: 26px; height: 26px; } .site-header .knowledge-wordmark .brand-name { font-size: 18px; letter-spacing: 0; } } @media (max-width: 430px) { .site-header .identity > img { width: 78px; } } @media (max-width: 360px) { .site-header .identity > img { width: 66px; } .site-header .brand-eye { width: 22px; height: 22px; } .site-header .knowledge-wordmark .brand-name { font-size: 16px; } } @media (max-width: 340px) { body.chat-mode .site-header .knowledge-wordmark .brand-name { display: inline; } body.chat-mode .site-header .identity > img { width: 60px; } } @media (max-width: 340px) { html[lang="en"] body.chat-mode .site-header .identity { gap: 5px; } html[lang="en"] body.chat-mode .site-header .identity > img { width: 48px; } html[lang="en"] body.chat-mode .site-header .knowledge-wordmark { gap: 3px; } html[lang="en"] body.chat-mode .site-header .knowledge-wordmark .brand-name { font-size: 12px; } html[lang="en"] body.chat-mode .site-header .brand-eye { width: 20px; height: 20px; } } .source-cards.is-grouped { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; margin: 0; padding: 0; } .source-cards.is-grouped .source-card { flex: none; max-width: none; } .source-group { grid-column: 1/-1; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted, #5f6b7a); letter-spacing: 0.02em; } .source-group:first-child { margin-top: 0; } .pending-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; } .pending-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: 0.55; animation: pending-pulse 1.6s ease-in-out infinite; } @keyframes pending-pulse { 50% { opacity: 0.15; } } @media (prefers-reduced-motion: reduce) { .pending-note::before { animation: none; } } .history-busy { flex: none; margin: 0 6px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 10%, transparent); color: var(--blue); font-size: 11px; font-weight: 500; line-height: 1.6; white-space: nowrap; } .answer-memory { flex-basis: 100%; margin: 2px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); } .answer-memory > span:not(:first-child)::before { content: " · "; } .answer-memory .memory-link { margin-left: 8px; color: var(--blue); text-decoration: none; } .answer-memory .memory-link:hover, .answer-memory .memory-link:focus-visible { text-decoration: underline; } .composer-bottom { gap: 2px; justify-content: flex-start; } .composer-space { flex: 1 1 0; min-width: 4px; } .composer-bottom .send, .composer-bottom .stop { margin-left: 6px; } .composer-bottom .quota { flex: 0 1 auto; min-width: 0; } .tool-wrap { position: relative; flex: none; line-height: 1; } .tool { --tool-ink: color-mix(in srgb, var(--ztc-brand-navy) 45%, var(--ink)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--tool-ink); transition: background 0.15s, color 0.15s; } .tool > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; overflow: visible; } .tool[aria-disabled="true"] { color: var(--ztc-text-muted); cursor: default; } @media (hover: hover) { .tool:not([aria-disabled="true"]):hover { background: var(--soft); } } .mini-eye .me-pupil { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; transition: transform 0.2s; } .mini-eye .me-ring { transition: stroke 0.2s; } .mini-eye .me-arc { display: none; stroke: var(--ztc-brand-amber); transform-origin: 12px 13.6px; } .tool-think[aria-pressed="true"], .tool-think[aria-pressed="true"]:hover { background: var(--ztc-surface-selected); color: var(--ztc-brand-primary); } .tool-think[aria-pressed="true"] .me-ring { stroke: var(--ztc-brand-amber); } .tool-think[aria-pressed="true"] .me-pupil { transform: scale(1.16); } .tool-think.is-thinking { color: var(--ztc-brand-primary); } .tool-think.is-thinking .me-ring { stroke: color-mix(in srgb, var(--ztc-brand-primary) 25%, var(--paper)); } .tool-think.is-thinking .me-arc { display: block; animation: me-turn 1.4s linear infinite; } @keyframes me-turn { to { transform: rotate(360deg); } } .tool-hint { position: absolute; left: -6px; bottom: calc(100% + 8px); z-index: 8; width: max-content; max-width: min(248px, calc(100vw - 72px)); padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 6px 22px color-mix(in srgb, var(--ztc-brand-navy) 10%, transparent); font-size: 13px; line-height: 1.55; color: var(--ink); text-align: left; white-space: normal; } .tool-hint strong, .tool-hint span { display: block; } .tool-hint strong { font-weight: 500; } .tool-hint span { margin-top: 3px; font-size: 12px; color: var(--muted); } .tool-hint span:empty { display: none; } .tool-hint.is-above-composer { top: auto; bottom: var(--hint-offset); } .tool-hint.is-below { top: calc(100% + 8px); bottom: auto; } #voice-wrap .tool-hint { left: auto; right: -6px; } .tool-voice .voice-bars { display: none; } .tool-voice.is-listening, .tool-voice.is-listening:hover { background: var(--ztc-surface-selected); color: var(--ztc-brand-primary); } .tool-voice.is-listening .voice-mic { display: none; } .tool-voice.is-listening .voice-bars { display: block; } .voice-bars path { transform-box: fill-box; transform-origin: center; transform: scaleY(calc(0.42 + 0.58 * var(--level, 0))); transition: transform 0.1s linear; } .voice-bars path:nth-child(2), .voice-bars path:nth-child(4) { transform: scaleY(calc(0.5 + 0.5 * var(--level, 0))); } .voice-bars path:nth-child(1), .voice-bars path:nth-child(5) { transform: scaleY(calc(0.7 + 0.3 * var(--level, 0))); } @media (prefers-reduced-motion: reduce) { .tool-think.is-thinking .me-arc { animation: none; } } .tool-hint { pointer-events: none; } .tool-file.has-files { color: var(--ztc-brand-primary); } .composer.is-dropping { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent); } .file-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; } .file-card { display: flex; align-items: center; gap: 8px; max-width: min(100%, 280px); min-height: 44px; padding: 6px 6px 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); position: relative; overflow: hidden; } .file-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ztc-brand-primary) 22%, var(--paper)); border-top-color: var(--ztc-brand-primary); animation: file-turn 0.9s linear infinite; } .file-card.is-ready .file-mark, .file-card.is-failed .file-mark { animation: none; border: 0; display: grid; place-items: center; } .file-mark .icon { width: 16px; height: 16px; } .file-card.is-ready .file-mark { color: var(--ztc-brand-primary); } .file-card.is-failed { border-color: color-mix(in srgb, var(--ztc-error) 35%, var(--line)); } .file-card.is-failed .file-mark { color: var(--ztc-error); } .file-card.is-uploading::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ztc-brand-primary); transform-origin: left center; transform: scaleX(calc(var(--p, 0) / 100)); transition: transform 0.2s; } .file-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; } .file-name { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-state { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-card.is-failed .file-state { color: var(--ztc-error); white-space: normal; } .file-keep, .file-remove { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .file-keep .icon, .file-remove .icon { width: 16px; height: 16px; } .file-keep[aria-pressed="true"] { color: var(--ztc-brand-amber); } .file-keep[aria-pressed="true"] .icon { fill: currentColor; } @media (hover: hover) { .file-keep:hover, .file-remove:hover { background: var(--hover); color: var(--ink); } } @keyframes file-turn { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .file-mark { animation: none; } } .source-card.is-mine { border-color: color-mix(in srgb, var(--ztc-brand-amber) 45%, var(--line)); background: color-mix(in srgb, var(--ztc-brand-amber) 7%, var(--paper)); } .source-card.is-mine .source-index { color: color-mix(in srgb, var(--ztc-brand-amber) 70%, var(--ink)); border-color: color-mix(in srgb, var(--ztc-brand-amber) 40%, transparent); background: color-mix(in srgb, var(--ztc-brand-amber) 14%, var(--paper)); } .reader-body .mine-note { margin-top: 14px; font-size: 12px; color: var(--muted); } @media (max-width: 640px) { .file-cards { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; } .file-cards::-webkit-scrollbar { display: none; } .file-card { flex: 0 0 auto; max-width: 82%; } .file-card.is-failed { max-width: 92%; } } .scope-rings circle { stroke-dasharray: 0.01 2.932; } .tool-scope.has-mine .sc-mine, .tool-scope.has-team .sc-team { stroke-dasharray: none; stroke: var(--ztc-brand-primary); } .tool-scope.is-on, .tool-scope.is-on:hover { background: var(--ztc-surface-selected); } .scope-menu { position: absolute; left: -6px; bottom: calc(100% + 8px); z-index: 9; width: min(288px, calc(100vw - 48px)); padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 6px 22px color-mix(in srgb, var(--ztc-brand-navy) 10%, transparent); } .scope-menu.is-below { top: calc(100% + 8px); bottom: auto; } .scope-menu:not([hidden]) + .tool-hint { display: none; } .scope-row { display: grid; grid-template-columns: 28px 1fr 36px; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 10px; border-radius: 10px; text-align: left; color: var(--ink); } @media (hover: hover) { .scope-row:not([aria-disabled="true"]):hover { background: var(--soft); } } .scope-row:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; } .scope-row svg { width: 24px; height: 24px; fill: none; stroke: color-mix(in srgb, var(--ztc-brand-navy) 45%, var(--ink)); stroke-width: 1.75; stroke-linecap: round; } .scope-rings.is-mine .sc-mine, .scope-rings.is-team .sc-team { stroke-dasharray: none; } .scope-row[aria-checked="true"] .scope-rings.is-mine .sc-mine, .scope-row[aria-checked="true"] .scope-rings.is-team .sc-team { stroke: var(--ztc-brand-primary); } .scope-text strong { display: block; font-weight: 500; font-size: 14px; line-height: 1.5; } .scope-text small { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); } .scope-knob { position: relative; width: 36px; height: 20px; border-radius: 999px; background: color-mix(in srgb, var(--ztc-text-muted) 70%, var(--paper)); transition: background 0.15s; } .scope-knob::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform 0.15s; } .scope-row[aria-checked="true"] .scope-knob { background: var(--ztc-action); } .scope-row[aria-checked="true"] .scope-knob::after { transform: translateX(16px); } .scope-row[aria-disabled="true"] { color: var(--ztc-text-disabled); cursor: default; } .scope-row[aria-disabled="true"] small { color: var(--ztc-text-disabled); } .scope-row[aria-disabled="true"] svg { stroke: var(--ztc-text-disabled); } .scope-row[aria-disabled="true"] .scope-knob { opacity: 0.5; } .sources-scope { display: inline-grid; place-items: center; flex: none; width: 26px; height: 20px; } .sources-scope svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; } .sources-scope .is-used { stroke-dasharray: none; stroke: var(--ztc-brand-primary); } @media (prefers-reduced-motion: reduce) { .scope-knob, .scope-knob::after { transition: none; } } .history-group.is-sealed { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .history-group .history-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; color: var(--ink); } .history-clean { font-size: 12px; } .history-row.is-sealed .history-item { color: var(--muted); font-variant-numeric: tabular-nums; } .answer-notice .version-note { color: var(--muted); font-size: 13px; } .answer-notice .version-note + .version-note { margin-top: 4px; } .answer-notice.is-version { padding: 10px 14px; background: transparent; } .answer-actions .icon-action.is-rated { border-color: var(--blue); color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--paper)); } .answer-feedback-reasons { flex-basis: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted); } .feedback-reason-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font: 12px/1.3 var(--ztc-font-sans); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; } .feedback-reason-chip:hover, .feedback-reason-chip:focus-visible { border-color: var(--blue); color: var(--blue); } .feedback-reason-chip.is-picked { border-color: var(--blue); color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, var(--paper)); font-weight: 500; } @media (max-width: 700px) { .feedback-reason-chip { min-height: 34px; padding: 5px 12px; } } .ent-reader-edition { font-size: 12px; line-height: 1.6; color: var(--muted); padding: 8px 12px; border-radius: 8px; background: var(--soft); margin: 6px 0 12px; } .ent-reader-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); margin-bottom: 12px; } .ent-page-btn { min-height: 34px; padding: 4px 10px; border-radius: 8px; } .ent-page-btn:disabled { opacity: 0.4; pointer-events: none; } .ent-reader-status { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; } .ent-reader-stage { display: flex; justify-content: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); overflow-x: auto; } .ent-reader-page { display: block; max-width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 2px 10px color-mix(in srgb, var(--ink) 8%, transparent); } .ent-dl-btn { width: 100%; } .ent-dl-btn:disabled, .ent-quota-submit:disabled { opacity: 0.55; pointer-events: none; } .ent-dl-hint { font-size: 12px; color: var(--muted); text-align: center; margin: 0; } .ent-quota-alert { font-size: 13px; line-height: 1.65; color: var(--ink); padding: 10px 12px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: var(--hover); margin: 0; } .ent-quota-box { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); } .ent-quota-title { font-size: 13px; line-height: 1.6; color: var(--ink); margin: 0; } .ent-quota-row { display: flex; gap: 8px; flex-wrap: wrap; } .ent-quota-input { flex: 1 1 180px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; } .ent-quota-submit { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; font-size: 13px; } @media (max-width: 700px) { .ent-quota-submit { width: 100%; } } .ent-reader-stage.is-zoomed { display: block; overflow: auto; max-width: 100%; max-height: 64vh; max-height: 64dvh; overscroll-behavior: contain; } .ent-reader-stage.is-zoomed .ent-reader-page { width: max(100%, 1000px); max-width: none; display: block; margin: 0; } .ent-reader-stage [hidden] { display: none; } .ent-quota-label { display: grid; gap: 0.35rem; flex: 1; min-width: 0; font-size: 0.85rem; } .ent-reader-bar { flex-wrap: wrap; } #question { field-sizing: content; min-block-size: 64px; max-block-size: 180px; } .chat-mode #question { block-size: auto; min-block-size: 1.75em; } .quota-note { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 8px; color: var(--muted); font-size: 13px; } .quota-note:empty, .quota:empty { display: none; } .tool-state:empty { display: none; } .tool-state { white-space: nowrap; font-size: 12px; font-weight: var(--ztc-weight-medium); } .tool-think[aria-pressed="true"], .tool-scope.is-on { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: auto; padding-inline: 10px; border-radius: var(--ztc-radius-pill); background: var(--ztc-tint-info-bg); color: var(--ztc-info-ink); } #file-wrap:has([aria-disabled="true"]):has(+ #scope-wrap:not([hidden]) [aria-disabled="true"]) { display: none; } body:has(#think-toggle[aria-disabled="true"]) #voice-wrap:has([aria-disabled="true"]) { display: none; } @media (min-width: 701px) { .tool-scope:not(.is-on, [aria-disabled="true"])::after { content: "⌄"; position: absolute; inset-inline-end: 1px; font-size: 12px; } .head-more.has-conversation { display: block; } } .jump-bottom { position: absolute; inset-block-end: 100%; inset-inline-start: 50%; translate: -50% 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: var(--paper); } .jump-bottom svg { rotate: 180deg; } .reader-tabs { flex-wrap: nowrap; } @media (max-width: 640px) { .composer-bottom { flex-wrap: nowrap; align-items: center; gap: 2px; } .composer-bottom .quota { padding-inline-start: 0; flex: none; } .composer-bottom .send, .composer-bottom .stop { margin-inline-start: 0; } .tool-think[aria-pressed="true"] .mini-eye, .tool-scope.is-on .scope-rings { display: none; } .tool-think[aria-pressed="true"], .tool-scope.is-on { padding-inline: 5px; } .answer-actions .icon-action, .file-keep, .file-remove, .ent-page-btn, .site-header #more-toggle, .feedback-reason-chip { min-width: 44px; min-height: 44px; } .scroll-edge { position: relative; min-width: 0; } .scroll-edge:has(.source-cards:not(.is-grouped, [hidden]) > :nth-child(2))::after, .scroll-edge:has(.file-cards:not([hidden]) > :nth-child(2))::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 16px; background: linear-gradient(to right, transparent, var(--paper)); pointer-events: none; } .scroll-edge:focus-within::after { visibility: hidden; } .scroll-edge :is(.source-cards, .file-cards) { padding-block: 5px; } } #main { position: relative; isolation: isolate; } .welcome-field { display: none; } .composer { position: relative; isolation: isolate; border: 1px solid rgba(0, 142, 211, 0.24); background: transparent; box-shadow: 0 8px 24px -10px rgba(0, 80, 164, 0.10), 0 1px 3px rgba(15, 23, 42, 0.03); transition: border-color 220ms ease, box-shadow 220ms ease; } .composer::before { content: ""; position: absolute; inset: -5px; border-radius: 28px; background: linear-gradient(115deg, rgba(97, 204, 240, 0.30), rgba(0, 142, 211, 0.18), rgba(19, 122, 135, 0.14), rgba(97, 204, 240, 0.26)); filter: blur(13px); z-index: -2; pointer-events: none; animation: k85-composer-halo 6.5s ease-in-out infinite; } .composer::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--paper); z-index: -1; pointer-events: none; } .composer:focus-within { border-color: rgba(0, 142, 211, 0.56); box-shadow: 0 12px 30px -10px rgba(0, 142, 211, 0.18), 0 0 0 3px rgba(97, 204, 240, 0.14); } .composer:focus-within::before { opacity: 0.96; } @keyframes k85-composer-halo { 0%, 100% { opacity: 0.44; transform: scale(0.996); } 50% { opacity: 0.88; transform: scale(1.005); } } .is-embed .composer::before { animation: none; opacity: 0.35; } body.has-messages .composer::before { animation-play-state: paused; opacity: 0.38; } #welcome-title { display: grid; justify-items: center; white-space: normal; } #welcome-title .slogan-line { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; min-width: 0; max-width: 100%; grid-area: 1 / 1; margin: 0; white-space: normal; color: var(--ink); } #welcome-title .slogan-seg { display: inline-block; margin: 0; white-space: nowrap; color: inherit; } #welcome-title .slogan-seg + .slogan-seg { color: var(--blue); } html[lang="en"] #welcome-title .slogan-line { column-gap: 0.22em; } .slogan-entering { animation: slogan-in 520ms ease both; } .slogan-leaving { animation: slogan-out 520ms ease both; } @keyframes slogan-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } @keyframes slogan-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-5px); } } .prompt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; } #prompt-next { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); } #prompt-next .icon { width: 14px; height: 14px; } .prompt-sets > .prompt-list { min-width: 0; transition: none; } .prompt-sets > .prompt-list:not(.is-active) { pointer-events: none; } .prompt-sets.is-ready > .prompt-list.is-active { transition: none; } .prompt-list button { min-width: 0; min-height: 44px; text-wrap: pretty; transition: transform 200ms ease, border-color 200ms, box-shadow 200ms, background-color 200ms; } .prompt-sets.is-ready .is-active button { animation: prompt-arrive 430ms cubic-bezier(.16, 1, .3, 1) backwards; } .prompt-sets .is-active button:nth-child(2) { animation-delay: 55ms; } .prompt-sets .is-active button:nth-child(3) { animation-delay: 110ms; } @keyframes prompt-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media (hover: hover) { .prompt-list button .icon { opacity: 0; transform: translateX(-5px) rotate(90deg); transition: opacity 200ms, transform 200ms; } .prompt-list button:is(:hover, :focus-visible):not(:disabled) { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue) 36%, var(--line)); box-shadow: 0 0 0 1px rgba(0, 142, 211, 0.08), 0 4px 12px rgba(0, 80, 164, 0.06); } .prompt-list button:is(:hover, :focus-visible) .icon { opacity: 1; transform: translateX(0) rotate(90deg); } } .k82-block-enter { position: relative; animation: block-arrive 260ms ease-out backwards; } @keyframes block-arrive { from { opacity: 0; } to { opacity: 1; } } .k85-ink-seg { display: inline; animation: k85-ink-in 240ms ease-out both; } @keyframes k85-ink-in { from { opacity: 0; } to { opacity: 1; } } .turn.is-restored { animation: none; } .answer blockquote { margin: 12px 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--line); } .answer pre { overflow-x: auto; max-width: 100%; padding: 12px 16px; background: var(--soft); border-radius: 8px; } .k82-shimmer-text { color: var(--blue); } @supports (background-clip: text) or (-webkit-background-clip: text) { .k82-shimmer-text { background-image: linear-gradient(105deg, var(--ink) 35%, var(--blue) 44%, #137a87 50%, var(--blue) 56%, var(--ink) 65%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: process-sweep 2.4s linear infinite; } } @keyframes process-sweep { from { background-position: 120% 0; } to { background-position: -60% 0; } } .process-label.k82-shimmer-text::after { content: ""; display: inline-block; vertical-align: middle; width: 5px; height: 5px; margin-inline-start: 7px; border-radius: 50%; background: var(--blue); animation: process-pulse 2.4s ease-in-out infinite; } @keyframes process-pulse { 50% { opacity: 0.35; transform: scale(0.8); } } #feedforward-bar { position: static; margin: -4px 0 12px; padding: 0 0 10px; border-bottom: 1px solid rgba(0, 102, 179, 0.08); } .chat-mode #feedforward-bar { margin: -2px 0 10px; padding: 0 0 9px; } #feedforward-bar:not([hidden]) { animation: ff-tray-in 200ms cubic-bezier(0.22, 1, 0.36, 1) both; } @keyframes ff-tray-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } .feedforward-options { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; } .angle-chip { display: inline-flex; align-items: center; justify-content: center; height: 27px; min-height: 27px; max-width: 100%; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(0, 142, 211, 0.08); color: #0B5D9E; font: 500 12px/1 var(--ztc-font-sans); cursor: pointer; transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), background 150ms ease, color 150ms ease; } .blank-label select, .blank-follow { min-height: 44px; max-width: 100%; padding: 5px 13px; border: 1px solid rgba(0, 142, 211, 0.24); border-radius: 999px; background: var(--paper); color: var(--ztc-brand-navy, var(--blue)); font: 500 13px/1.45 var(--ztc-font-sans); cursor: pointer; } #feedforward-bar:not([hidden]) .angle-chip { animation: ff-chip-pop 240ms cubic-bezier(0.22, 1, 0.36, 1) backwards; } #feedforward-bar:not([hidden]) .angle-chip:nth-child(2) { animation-delay: 35ms; } #feedforward-bar:not([hidden]) .angle-chip:nth-child(3) { animation-delay: 70ms; } #feedforward-bar:not([hidden]) .angle-chip:nth-child(4) { animation-delay: 105ms; } @keyframes ff-chip-pop { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } .angle-chip:hover:not(:disabled) { transform: translateY(-1px); background: rgba(0, 142, 211, 0.14); color: #0050A4; box-shadow: 0 4px 12px rgba(0, 142, 211, 0.12); } .angle-chip[aria-pressed="true"] { background: var(--blue); color: var(--ztc-action-ink); box-shadow: 0 4px 12px rgba(0, 142, 211, 0.24); } .angle-chip:disabled { opacity: 0.55; cursor: default; } .k85-block-bar { position: sticky; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 6px 8px 2px; background: transparent; } .answer pre .k85-block-bar { padding: 0 0 6px; margin-bottom: 6px; border-bottom: 1px solid rgba(15, 23, 42, 0.06); } .k85-mini-btn { min-height: 28px; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font: 500 12px/1.2 var(--ztc-font-sans); cursor: pointer; transition: border-color 140ms ease, color 140ms ease, background 140ms ease; } .k85-mini-btn:hover, .k85-mini-btn:focus-visible { border-color: var(--blue); color: var(--blue); background: #F0F9FF; } .answer .k83-inline-figure, .answer .k83-inline-cards { margin: 22px 0 26px; animation: k85-media-reveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both; } .answer .k83-inline-cards { animation-delay: 110ms; } @keyframes k85-media-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } .k82-blank-slot:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 16px; padding: 10px 14px; border-inline-start: 2px solid var(--ztc-accent-bar); background: var(--soft); } .blank-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; } .inline-condition .k82-blank-slot:not([hidden]) { display: inline-flex; max-width: 100%; margin: 2px 4px; vertical-align: middle; } .blank-label select { padding-inline-end: 8px; } .blank-follow { border-color: transparent; background: transparent; } .blank-result { flex-basis: 100%; font-size: 14px; color: var(--ink); } .related-more { width: 100%; min-width: 0; font-size: 14px; } .related-more summary { width: fit-content; min-height: 44px; align-content: center; cursor: pointer; color: var(--muted); } .related-more summary:hover, .related-more summary:focus-visible { color: var(--blue); } .related-more ul { list-style: none; margin: 0; padding: 0 0 4px 1.25em; } .related-more[open] ul { animation: slogan-in 200ms ease-out; } .related-more a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; } @supports (interpolate-size: allow-keywords) and selector(details::details-content) { @media (prefers-reduced-motion: no-preference) { .related-more { interpolate-size: allow-keywords; } .related-more::details-content { block-size: 0; overflow: clip; transition: block-size 220ms ease, content-visibility 220ms allow-discrete; } .related-more[open]::details-content { block-size: auto; } } } @media (prefers-reduced-motion: reduce) { .diagram-lightbox-stage { scroll-behavior: auto; } .welcome, .prompt-list button, .prompt-list button .icon, .angle-chip, body.is-embed .embed-starter, body.is-embed .embed-starter .icon, body.is-embed .site-header nav [data-tip]::after { transition: none; } .composer::before, .slogan-entering, .slogan-leaving, .k82-block-enter, .k85-ink-seg, .answer .k83-inline-figure, .answer .k83-inline-cards, .process-label.k82-shimmer-text::after, #feedforward-bar:not([hidden]), #feedforward-bar:not([hidden]) .angle-chip, .related-more[open] ul, .prompt-sets.is-ready .is-active button { animation: none; } .slogan-leaving { visibility: hidden; } .prompt-list button:is(:hover, :focus-visible):not(:disabled) { transform: none; } .prompt-list button .icon, .prompt-list button:is(:hover, :focus-visible) .icon { transform: rotate(90deg); } .k82-shimmer-text { animation: none; background: none; color: var(--blue); -webkit-text-fill-color: currentColor; } } @media (forced-colors: active) { .k82-shimmer-text { animation: none; background: none; -webkit-text-fill-color: currentColor; } } .answer .k83-inline-figure, .answer .k83-card { min-width: 0; margin: 0; border: 1px solid #d9e5ed; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px rgb(21 62 94 / 6%); } .answer .k83-inline-figure { margin-block: 16px 24px; overflow: hidden; } .k83-image-frame { position: relative; background: #f4f8fb; } .k83-image-frame img { display: block; width: 100%; height: auto; } .k83-image-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: zoom-in; } .k83-zoom-hint { position: absolute; inset: 10px 10px auto auto; padding: 3px 10px; border: 1px solid #d2dee7; border-radius: 16px; background: rgb(255 255 255 / 95%); color: #284b65; font: 500 12px/1.6 var(--font-sans, sans-serif); } .k83-inline-figure figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 14px; padding: 0 14px; border-top: 1px solid #e6edf2; color: #354e60; font-size: .85rem; line-height: 1.6; } .k83-inline-figure figcaption span { padding-block: 8px; } .k83-inline-figure .k83-source, .k83-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; } .k83-inline-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 12px; margin-block: 14px 24px; } .answer .k83-card { padding: 16px 18px; } .k83-badge { font-size: .75rem; font-weight: 600; color: #285b7b; } .answer .k83-card h4 { margin: 5px 0; font-size: 1.05rem; line-height: 1.5; color: #1d364b; } .answer .k83-card p { margin: 0; color: #486274; font-size: .9rem; line-height: 1.65; } .k83-actions { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; } .k83-actions a { padding: 0 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; text-decoration: none; } .answer .k83-primary { color: white; background: #075c96; } .answer .k83-secondary { color: #184d70; background: #edf4f8; } .k83-image-open:focus-visible { outline: 3px solid #1479b0; outline-offset: -3px; } dialog.k83-lightbox { box-sizing: border-box; width: min(1180px, calc(100% - 28px)); max-width: none; max-height: 94vh; max-height: 94dvh; margin: auto; padding: 0; overflow: hidden; border: 1px solid #cfdee8; border-radius: 16px; color: #1d364b; background: #fff; } .k83-lightbox::backdrop { background: rgb(15 31 47 / 76%); } .k83-viewer { display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; } .k83-viewer header { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 8px 14px; } .k83-viewer h2 { flex: 1 1 125px; margin: 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; } .k83-viewer button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: #edf4f8; color: #184d70; cursor: pointer; } .k83-viewer [data-zoom] { width: 6em; } .k83-viewer [data-close] { width: 4em; } .k83-image-viewport { flex: 0 1 auto; min-height: 0; max-height: 78vh; max-height: 78dvh; overflow: auto; overscroll-behavior: contain; background: #f4f7fa; } .k83-image-viewport img { display: block; width: 100%; height: auto; max-height: 78vh; max-height: 78dvh; object-fit: contain; } .k83-actual-size .k83-image-viewport img { width: auto; max-width: none; max-height: none; margin-inline: auto; } @media (max-width: 520px) { .k83-inline-cards { grid-template-columns: minmax(0, 1fr); } .k83-viewer header { padding: 6px 10px; } } .answer-entries:has(> :not([hidden])) { margin-top: 12px; row-gap: 10px; } .answer-entries > .answer-learn, .answer-entries > .answer-diagram { margin-top: 0; } .answer-entries .answer-diagram:not([hidden]) { display: contents; } .diagram-inline-row { flex: 0 0 100%; min-width: 0; } .diagram-inline-card { display: flex; flex-direction: column; width: min(100%, 408px); max-height: 220px; box-sizing: border-box; margin: 0 0 4px; border: 1px solid #C4C9D4; border-radius: 8px; background: #FFFFFF; } .diagram-inline-head, .diagram-item-tools, .diagram-lightbox-tools, .diagram-lightbox-meta { display: flex; align-items: center; gap: 8px; } .diagram-inline-head { flex: none; padding: 8px; } .diagram-inline-head strong { flex: 1; min-width: 0; font-size: 14px; overflow-wrap: anywhere; } .diagram-type-badge { display: inline-block; flex: none; padding: 3px 8px; border-radius: 4px; color: #194975; background: #F2F8FD; font: 600 12px/1.4 var(--ztc-font-sans); } .diagram-inline-trigger, .diagram-surface { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: #F5F8FC; color: #58595B; text-align: left; cursor: zoom-in; } .diagram-inline-trigger { min-height: 0; max-height: 220px; border-radius: 0 0 8px 8px; } .diagram-inline-trigger.is-clipped { mask-image: linear-gradient(to bottom, #FFFFFF calc(100% - 12px), transparent); } .diagram-surface { margin-top: 12px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; } .diagram-surface > .icon { position: absolute; top: 32px; right: 6px; width: 28px; height: 28px; padding: 6px; border-radius: 4px; background: #FFFFFF; color: #0067B4; opacity: 0; } .diagram-surface:hover > .icon, .diagram-surface:focus-visible > .icon { opacity: 1; } .diagram-brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; background: #FFFFFF; border-bottom: 1px solid #F0F1F3; } .diagram-brand-bar.is-lightbox { padding: 10px 18px; } .diagram-brand-bar.is-compact { padding: 6px 10px; } .diagram-brand-mark { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; } .diagram-brand-co { height: 26px; width: auto; display: block; object-fit: contain; } .diagram-brand-sep { width: 1px; height: 18px; background: #E4E7EC; display: inline-block; flex: none; } .diagram-brand-wm { display: inline-flex; align-items: center; gap: 6px; flex: none; } .diagram-brand-eye { width: 20px; height: 20px; display: block; flex: none; } .diagram-brand-ai { font: 700 13.5px/1 var(--ztc-font-sans); color: #0067B4; letter-spacing: .02em; white-space: nowrap; } .diagram-brand-bar.is-lightbox .diagram-brand-mark { gap: 16px; } .diagram-brand-bar.is-lightbox .diagram-brand-co { width: 96px; height: auto; } .diagram-brand-bar.is-lightbox .diagram-brand-sep { height: 25px; } .diagram-brand-bar.is-lightbox .diagram-brand-wm { gap: 8px; } .diagram-brand-bar.is-lightbox .diagram-brand-eye { width: 24px; height: 24px; } .diagram-brand-bar.is-lightbox .diagram-brand-ai { font-size: 16px; letter-spacing: .02em; } .diagram-brand-bar.is-compact .diagram-brand-mark { gap: 9px; } .diagram-brand-bar.is-compact .diagram-brand-co { height: 20px; } .diagram-brand-bar.is-compact .diagram-brand-sep { height: 14px; } .diagram-brand-bar.is-compact .diagram-brand-wm { gap: 5px; } .diagram-brand-bar.is-compact .diagram-brand-eye { width: 16px; height: 16px; } .diagram-brand-bar.is-compact .diagram-brand-ai { font-size: 11.5px; letter-spacing: .02em; } .diagram-foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 16px; background: #FFFFFF; border-top: 1px solid #F0F1F3; } .diagram-foot-bar.is-compact { padding: 4px 10px; } .diagram-foot-url { font: 400 10.5px/1.2 var(--ztc-font-sans); color: #676D7B; letter-spacing: .02em; } .diagram-foot-ai { font: 400 10.5px/1.2 var(--ztc-font-sans); color: #676D7B; } .diagram-foot-bar.is-compact .diagram-foot-url { font-size: 9.5px; } .diagram-foot-bar.is-compact .diagram-foot-ai { font-size: 9.5px; } .diagram-host { display: block; min-height: 0; margin: 0; } .diagram-expand, .diagram-item-tools .diagram-save, .diagram-inline-head .diagram-save { display: inline-grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #C4C9D4; border-radius: 50%; background: #FFFFFF; color: #0067B4; cursor: pointer; } .diagram-expand .icon, .diagram-lightbox-tools .icon { width: 18px; height: 18px; } .diagram-inline-trigger:focus-visible, .diagram-surface:focus-visible, .diagram-expand:focus-visible, .diagram-lightbox :focus-visible { outline: 2px solid #0067B4; outline-offset: -2px; } @media (min-width: 1440px) { body.reader-open:not(.is-embed) .diagram-inline-row { display: none; } } dialog.diagram-lightbox { box-sizing: border-box; width: min(1240px, calc(100vw - 48px)); height: min(88vh, 860px); height: min(88dvh, 860px); max-width: none; max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid #C4C9D4; border-radius: 12px; background: #FFFFFF; color: #2D3142; } .diagram-lightbox::backdrop { background: rgba(29, 43, 62, 0.50); } .diagram-lightbox-shell { display: flex; flex-direction: column; height: 100%; } .diagram-lightbox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid #E4E7EC; } .diagram-lightbox-meta { flex: 1 1 240px; min-width: 0; } .diagram-lightbox-meta h2 { margin: 0; color: #1D2B3E; font: 600 20px/1.45 var(--ztc-font-serif); overflow-wrap: anywhere; } .diagram-lightbox-tools { flex-wrap: wrap; gap: 4px; } .diagram-lightbox-tools button, .diagram-lightbox-tools select { display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-width: 36px; min-height: 36px; padding: 0 8px; border: 1px solid #C4C9D4; border-radius: 6px; color: #2D3142; background: #FFFFFF; font: 500 14px/1.3 var(--ztc-font-sans); cursor: pointer; } .diagram-lightbox-tools [data-export] { color: #0067B4; } .diagram-lightbox-tools :disabled { opacity: .5; cursor: default; } .diagram-lightbox-stage { display: flex; flex: 1 1 0; min-width: 0; min-height: 0; padding: 16px; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; background: #FFFFFF; cursor: grab; user-select: none; } .diagram-lightbox-stage.is-panning { cursor: grabbing; } .diagram-lightbox-stage svg { display: block; flex: none; max-width: none; max-height: none; margin: auto; } .diagram-lightbox-hint { display: none; margin: 0; padding: 8px 16px; color: #58595B; font-size: 12px; } @media (max-width: 700px) { dialog.diagram-lightbox { width: calc(100vw - 16px); height: 92vh; height: 92dvh; } .diagram-inline-head, .diagram-lightbox-meta { gap: 4px; } .diagram-lightbox-head { padding: 8px; } .diagram-lightbox-meta h2 { font-size: 16px; } .diagram-expand, .diagram-item-tools .diagram-save, .diagram-inline-head .diagram-save, .diagram-lightbox-tools button, .diagram-lightbox-tools select { min-width: 44px; min-height: 44px; } } @media (max-width: 700px) and (orientation: portrait) { .diagram-lightbox-hint { display: block; } } @media print { .diagram-lightbox, .diagram-inline-head button, .diagram-item-tools { display: none; } } html:has(> body.is-embed), body.is-embed { background: transparent; } body.is-embed { min-width: 0; overflow-x: clip; } body.is-embed .reading { display: none; } body.is-embed .site-header { width: 100%; height: 54px; min-height: 54px; gap: 5px; padding: 0 10px 0 12px; background: rgba(255, 255, 255, 0.34); border-bottom: 1px solid rgba(0, 103, 180, 0.08); } body.is-embed.chat-mode .site-header { height: 54px; background: rgba(244, 249, 255, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: rgba(0, 103, 180, 0.10); } body.is-embed .site-header .identity { gap: 6px; min-width: 0; } body.is-embed .site-header .identity > img { width: 66px; height: auto; } body.is-embed .site-header .brand-divider { height: 14px; } body.is-embed .site-header .brand-eye { width: 22px; height: 22px; } body.is-embed .site-header .knowledge-wordmark .brand-name { font-size: 14px; } body.is-embed .site-header nav { display: flex; align-items: center; gap: 1px; margin-inline-start: auto; flex-shrink: 0; } body.is-embed .site-header nav :is(.new-chat, .embed-wide-toggle, .continue-link, .embed-close) { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; min-width: 34px; min-height: 34px; padding: 0; margin: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); transition: color 0.16s, background 0.16s; } body.is-embed .site-header nav :is(.new-chat, .embed-wide-toggle, .continue-link, .embed-close)[hidden] { display: none !important; } body.is-embed .site-header nav :is(.new-chat, .embed-wide-toggle, .continue-link, .embed-close) .icon { display: block; width: 17.5px; height: 17.5px; } body.is-embed .site-header nav :is(.new-chat, .embed-wide-toggle, .continue-link) span { display: none; } body.is-embed .site-header nav .embed-wide-toggle[aria-pressed="true"] { color: var(--blue); background: rgba(0, 103, 180, 0.11); } body.is-embed .continue-link[aria-disabled="true"] { color: var(--muted); opacity: .55; cursor: default; } @media (hover: hover) { body.is-embed .site-header nav :is(.new-chat, .embed-wide-toggle, .continue-link:not([aria-disabled="true"]), .embed-close):hover { color: var(--blue); background: rgba(0, 103, 180, 0.08); } } body.is-embed .site-header nav [data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 7px; background: var(--ink); color: var(--paper); font: 500 11.5px/1.35 var(--ztc-font-sans); letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; z-index: 30; box-shadow: 0 6px 16px rgba(7, 42, 82, 0.16); } body.is-embed .site-header nav .embed-close[data-tip]::after { left: auto; right: 0; transform: none; } @media (hover: hover) { body.is-embed .site-header nav [data-tip]:hover::after { opacity: 1; visibility: visible; transition: opacity 0.15s 0.22s, visibility 0s 0.22s; } } body.is-embed .site-header nav [data-tip]:focus-visible::after { opacity: 1; visibility: visible; } body.is-embed:not(.chat-mode) main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 0 0 2px; } body.is-embed:not(.chat-mode) main > .welcome:has(.insight-visual) { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(18px, 4.5vh, 48px) 20px clamp(14px, 2.5vh, 26px); } body.is-embed .welcome .insight-visual { width: clamp(124px, 16.5vh, 152px); height: auto; aspect-ratio: 1; margin: 0 auto 10px; } body.is-embed .welcome h1 { font-size: 25px; line-height: 1.4; margin: 0 0 6px; } body.is-embed .welcome .intro { font-size: 13.5px; line-height: 1.6; } body.is-embed:not(.chat-mode) .suggestions { order: 2; width: min(620px, calc(100% - 28px)); margin: 0 auto 12px; } body.is-embed:not(.chat-mode) .composer-dock { order: 3; width: min(620px, calc(100% - 28px)); margin: 0 auto; } body.is-embed .prompt-heading { margin-bottom: 4px; padding: 0 4px; font-size: 12px; color: rgba(31, 56, 82, 0.56); } body.is-embed .embed-page-context:not([hidden]) { display: flex; align-items: center; gap: 2px; width: fit-content; max-width: 100%; margin: 0 0 8px; padding: 0 2px 0 11px; min-height: 30px; border: 1px solid rgba(0, 103, 180, 0.14); border-radius: 24px; background: rgba(255, 255, 255, 0.84); color: var(--muted); font-size: 12px; } body.is-embed .embed-page-context span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } body.is-embed .embed-page-context button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 15px; cursor: pointer; } body.is-embed .composer { padding: 13px 13px 9px; border-radius: 20px; background: rgba(255, 255, 255, 0.94); border-color: rgba(0, 103, 180, 0.18); box-shadow: 0 8px 24px rgba(7, 42, 82, 0.07); } body.is-embed .composer textarea { font-size: 14.5px; min-height: 46px; line-height: 1.6; } body.is-embed .composer-bottom { margin-top: 6px; } body.is-embed .quota-note { margin-top: 7px; margin-bottom: 2px; font-size: 12px; text-align: center; } body.is-embed:not(.chat-mode) .composer-hint { display: none; } body.is-embed.chat-mode .composer-dock { background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 76%, rgba(255, 255, 255, 0)); } body.is-embed .embed-starters:not([hidden]) { display: flex; flex-direction: column; gap: 0; min-width: 0; } body.is-embed .embed-starter { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 38px; padding: 7px 6px 7px 4px; border: 0; border-bottom: 1px solid rgba(0, 103, 180, 0.09); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; line-height: 1.45; text-align: start; overflow-wrap: anywhere; cursor: pointer; transition: background 0.16s, color 0.16s, border-color 0.16s; } body.is-embed .embed-starter:last-child { border-bottom: 0; } body.is-embed .embed-starter::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 134, 209, 0.45); flex: none; margin-right: 2px; } body.is-embed .embed-starter-label { flex: 1; min-width: 0; } body.is-embed .embed-starter .icon { flex: none; width: 14px; height: 14px; color: rgba(0, 103, 180, 0.45); transform: rotate(90deg); transition: color 0.16s, transform 0.16s; } body.is-embed .embed-starter:is(:hover, :focus-visible) { background: rgba(0, 103, 180, 0.055); border-radius: 10px; border-bottom-color: transparent; color: var(--blue); } body.is-embed .embed-starter:is(:hover, :focus-visible) .icon { color: var(--blue); transform: translateX(2px) rotate(90deg); } body.is-embed .prompt-sets .prompt-list { grid-template-columns: 1fr; gap: 0; } body.is-embed .prompt-sets .prompt-list button { padding: 7px 6px 7px 4px; min-height: 38px; border: 0; border-bottom: 1px solid rgba(0, 103, 180, 0.09); border-radius: 0; background: transparent; box-shadow: none; } body.is-embed .prompt-sets .prompt-list button:last-child { border-bottom: 0; } body.is-embed .prompt-sets .prompt-list button:is(:hover, :focus-visible):not(:disabled) { transform: none; box-shadow: none; background: rgba(0, 103, 180, 0.055); border-radius: 10px; border-bottom-color: transparent; } body.is-embed .prompt-sets .prompt-topic { display: none; } body.is-embed .prompt-sets .prompt-text { font-size: 13.5px; line-height: 1.45; } body.is-embed :is(.embed-nav-result,.embed-related-pages) { display: grid; gap: 6px; min-width: 0; } body.is-embed .embed-related-pages { margin-top: 16px; } body.is-embed :is(.embed-nav-result,.embed-related-pages) h3 { margin: 0 0 3px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--muted); } body.is-embed .embed-page-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(0, 103, 180, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.86); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.55; text-align: start; overflow-wrap: anywhere; cursor: pointer; } body.is-embed .embed-page-card:is(:hover,:focus-visible) { color: var(--blue); border-color: var(--blue); background: var(--paper); } body.is-embed .embed-page-card .icon { flex: none; width: 15px; height: 15px; color: var(--blue); transform: rotate(90deg); } body.is-embed .embed-ask-instead { justify-self: start; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 13px; cursor: pointer; } body.is-embed .site-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; width: 100%; max-width: none; margin: 4px 0 0; padding: 0 16px; min-height: 38px; gap: 8px; font-size: 11.5px; background: transparent; border-top: 1px solid rgba(0, 103, 180, 0.08); } body.is-embed .site-footer > span { white-space: nowrap; flex: none; } body.is-embed .site-footer > div { display: flex; flex-direction: row; gap: 12px; flex: none; } body.is-embed .site-footer a, body.is-embed .site-footer button { min-height: 32px; font-size: 11.5px; white-space: nowrap; } body.is-embed :is(main,.conversation,.turns,.turn,.assistant,.answer,.answer-entries,.embed-navigation) { min-width: 0; max-width: 100%; } body.is-embed .answer { overflow-wrap: anywhere; } body.is-embed :is(.answer-table,.answer pre,.diagram-inline-row) { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; } body.is-embed .answer-table th, body.is-embed .answer-table td { min-width: 6em; padding: 6px 9px; } @media (max-width: 350px) { body.is-embed .site-header .identity > img, body.is-embed .site-header .brand-divider { display: none; } } @media (max-width: 760px), (hover: none) and (pointer: coarse) { body.is-embed .composer textarea, .ent-quota-input { font-size: 16px; } }
