/* 在原有品牌样式上改善阅读和操作体验。 */
:root { --side: 280px; --muted: #5c7167; font-size: 15px; }
body { line-height: 1.65; }
button, input, select, textarea { line-height: 1.5; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ae853d; outline-offset: 3px;
}
.grow { min-width: 0; }
.nav-item { font-size: 14px; padding: 11px 12px; gap: 10px; }
.nav-section-title { font-size: 12px; letter-spacing: .1em; color: #62766a; }
.nav-code, .brand-en, .brand-label, .side-footer { font-size: 11px; }
.side-brand { padding: 20px; gap: 10px; height: 103px; }
.brand-name { font-size: 18px; }
.side-plan p, .side-plan small { font-size: 12px; }
.side-plan button { font-size: 13px; }
.page-desc, .hero p, .ai-intro, .ai-answer, .notice, .timeline-item p,
.feature p, .product-card p, .price-desc { font-size: 15px; line-height: 1.85; }
.page-desc, .feature p, .product-card p, .price-desc { color: #5a7066; }
.panel-header h3, .line-title { font-size: 17px; }
.panel-header small, .table-sub, .muted-caption, .timeline-item small,
.detail-field label, .task-row small, .evidence-detail, .ai-header small,
.mini-product small, .kanban-card small, .step-node small { font-size: 13px; line-height: 1.65; color: #60766a; }
.btn, .click-link, .link-action, .role-select, .tab, .pill, .field-label,
.input, .select, .textarea, .quick-action, .table-name, .task-row strong,
.feature strong, .kanban-card strong, .kanban-title, .step-node strong,
.compare-table, .data-table, .detail-field div, .ai-input-row textarea { font-size: 14px; }
.btn { min-height: 42px; }
.btn.sm { min-height: 36px; font-size: 13px; }
.input, .select { min-height: 44px; }
.textarea { min-height: 112px; line-height: 1.8; }
.field-label { color: #476454; font-weight: 650; }
.data-table td { padding: 15px 17px; }
.data-table th { font-size: 13px; color: #466351; padding: 14px 17px; }
.data-table td { color: #345647; }
.data-table .table-sub { white-space: normal; min-width: 160px; max-width: 280px; }
.inline-actions { gap: 13px; }
.link-action { min-height: 32px; }
.compare-table { line-height: 1.7; }
.metric-caption { font-size: 14px; color: #587363; }
.metric-trend, .metric small, .task-date { font-size: 12px; }
.metric { min-height: 138px; }
.metric-value { margin-bottom: 16px; }
.metric-trend { position: static; margin-top: 4px; }
.scope-chip, .tag, .fake-label, .micro, .tiny, .ai-warning, .footer-note,
.kanban-meta, .kanban-count, .evidence-link, .section-eyebrow, .eyebrow { font-size: 12px; }
.scope-chip, .fake-label { line-height: 1.6; }
.tiny-badge { font-size: 12px; }
.hero p { color: #d6e5db; }
.hero .btn { font-size: 14px; }
.hero-copy .eyebrow { font-size: 12px; }
.hero-stamp small { font-size: 11px; }
.product-card .product-cat, .bar-group label, .bar .value { font-size: 12px; }
.step-node { min-width: 160px; }
.suggestions button { font-size: 13px; padding: 10px 13px; }
.evidence-title { font-size: 15px; }
.ai-warning { color: #6b654e; line-height: 1.8; }
.ai-header small { color: #c4d8ca; }
.quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quick-action { min-width: 0; flex-direction: column; gap: 9px; text-align: center; white-space: normal; word-break: keep-all; }
.main-content[data-page="dashboard"] .grid-main > div { align-content: start; }
.main-content[data-page="dashboard"] .timeline-item p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.main-content[data-page="dashboard"] .step-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main-content[data-page="dashboard"] .step-arrow { display: none; }
.main-content[data-page="dashboard"] .step-node { min-width: 0; }
.modal { width: min(860px, 96vw); }
.modal-head p { font-size: 13px; color: #60766a; }
.modal-close { width: 38px; height: 38px; flex-shrink: 0; }
.modal-body { line-height: 1.75; }
.modal.narrow { width: min(690px, 96vw); }
.modal:has(.inbox-body) { width: min(880px, 96vw); }
.toast { font-size: 14px; line-height: 1.7; }
.topbar { padding: 12px 26px; min-height: 78px; height: auto; gap: 16px; }
.top-right { gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.crumb { font-size: 12px; white-space: nowrap; }
.top-search { width: 225px; }
.top-search input { font-size: 13px; }
.reading-toggle { border: 1px solid #dce5dc; background: white; color: #315b49; padding: 8px 10px; border-radius: 7px; font-size: 13px; white-space: nowrap; min-height: 38px; }
.reading-toggle svg { margin-right: 4px; }
.top-avatar { display: none; }
.large-reading .page-desc, .large-reading .notice, .large-reading .data-table,
.large-reading .detail-field div, .large-reading .timeline-item p, .large-reading .ai-intro,
.large-reading .feature p, .large-reading .ai-answer, .large-reading .textarea { font-size: 17px; }
.large-reading .table-name, .large-reading .field-label, .large-reading .btn,
.large-reading .input, .large-reading .select, .large-reading .tab { font-size: 16px; }
.inbox-scene { display: flex; justify-content: space-between; gap: 25px; padding: 28px 30px; border: 1px solid #cbdccf; border-radius: 15px; background: linear-gradient(115deg, #eef5ef, #fffdf7); margin-bottom: 24px; }
.scene-kicker { color: #5f765e; font-size: 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.scene-dot { width: 7px; height: 7px; background: #9c7939; border-radius: 50%; }
.inbox-scene h2 { font-size: 23px; color: var(--pine); margin: 9px 0; }
.inbox-scene p { color: #546c60; font-size: 14px; margin: 0 0 15px; max-width: 650px; }
.scene-meta, .login-chips, .tour-benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-meta span { color: #536d5b; font-size: 12px; border: 1px solid #dce5d9; padding: 3px 9px; border-radius: 5px; background: #ffffff80; }
.scene-action { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; flex-shrink: 0; }
.scene-action small { color: #6c7768; font-size: 12px; }
.mail-paper { background: #f7f9f5; border: 1px solid #dfe7dc; padding: 22px; border-radius: 12px; }
.mail-paper pre { font: 14px/1.85 Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; color: #315244; margin: 15px 0; }
.mail-translation { border-top: 1px solid #dde5db; padding-top: 15px; color: #627264; font-size: 14px; margin-bottom: 0; }
.inbox-body h3 { font-size: 17px; margin: 22px 0 13px; color: var(--pine); }
.inbox-evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.inbox-evidence button { display: flex; flex-direction: column; gap: 8px; align-items: start; text-align: left; background: white; border: 1px solid #dce5d9; border-radius: 9px; padding: 15px; color: #345b45; }
.inbox-evidence span { font-size: 12px; color: #627366; line-height: 1.65; }
.draft-heading { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.reply-draft { min-height: 285px; font-size: 14px; }
.password-field { position: relative; }
.password-field input { padding-right: 65px; }
.password-field button { position: absolute; right: 9px; top: 8px; border: 0; border-radius: 5px; background: #f0f4ed; color: #4b6d57; font-size: 13px; padding: 5px 9px; }
.login-page { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100dvh; }
.login-story { position: relative; padding: 45px 8%; color: #fff; background: linear-gradient(90deg, #073a31f2, #073a31bf), url('/assets/chemical-textile-hero.jpg') center / cover; display: flex; flex-direction: column; justify-content: space-between; }
.login-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: Georgia, serif; font-size: 23px; }
.login-brand img { width: 47px; height: 47px; border-radius: 50%; background: #fff; padding: 6px; }
.login-brand small { display: block; font: 11px/1.8 Arial, sans-serif; letter-spacing: .18em; color: #d6be89; }
.login-story-copy { padding: 60px 0; }
.login-story h1 { font: 500 clamp(32px, 3.2vw, 53px)/1.45 Georgia, 'Microsoft YaHei', serif; letter-spacing: -.02em; margin: 23px 0; }
.login-story .eyebrow { color: #d8bf8d; }
.login-story p { color: #cbded2; font-size: 17px; line-height: 1.9; }
.login-chips span { font-size: 13px; border: 1px solid #b8d4be55; padding: 6px 12px; border-radius: 20px; color: #d1e2d5; }
.login-foot { color: #bbcfbf; font-size: 13px; padding-bottom: 12px; }
.login-panel { background: #fbfcf9; display: grid; place-items: center; padding: 42px; }
.login-form-wrap { width: min(425px, 100%); }
.login-form-wrap h2 { font-size: 30px; color: var(--pine); margin: 26px 0 12px; line-height: 1.5; }
.login-intro { color: #637769; font-size: 15px; margin-bottom: 28px; line-height: 1.9; }
.login-form-wrap .field { margin-bottom: 19px; display: block; }
.login-form-wrap .field-label { display: block; margin-bottom: 9px; }
.login-form-wrap .input { min-height: 51px; font-size: 16px; width: 100%; }
.login-error { color: #a33e34; font-size: 14px; min-height: 24px; margin-bottom: 12px; }
.login-help { font-size: 13px; color: #617968; line-height: 1.9; margin-top: 23px; }
.login-boundary { display: flex; align-items: start; gap: 8px; color: #70806d; border-top: 1px solid #e1e6dc; padding-top: 20px; margin-top: 27px; font-size: 12px; line-height: 1.9; }
.login-boundary svg { margin-top: 4px; }
#tour-root { position: relative; z-index: 220; }
.tour-welcome-backdrop { position: fixed; inset: 0; background: #042b24b0; backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.tour-welcome { display: grid; grid-template-columns: .7fr 1.3fr; width: min(850px, 95vw); border-radius: 20px; overflow: auto; max-height: 90dvh; background: #fffdf8; box-shadow: 0 30px 100px #001d2666; }
.tour-welcome-art { background: linear-gradient(0deg, #073a31e8, #073a3177), url('/assets/product-fabric.jpg') center / cover; color: #ecdfb8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 30px; font-size: 15px; }
.tour-welcome-art svg { width: 76px; height: 76px; stroke-width: 1; }
.tour-welcome-copy { padding: 42px 38px; }
.tour-welcome h2 { font-size: 29px; line-height: 1.5; color: var(--pine); margin: 20px 0; }
.tour-welcome p { color: #627466; font-size: 15px; line-height: 1.9; }
.tour-benefits { margin: 20px 0 27px; }
.tour-benefits span { font-size: 12px; color: #7c6a45; border: 1px solid #e5d9bd; padding: 4px 8px; border-radius: 4px; }
.tour-welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tour-welcome p.tour-note { font-size: 12px; margin: 19px 0 0; }
.tour-focus { position: fixed; pointer-events: none; border: 3px solid #bb9758; border-radius: 12px; box-shadow: 0 0 0 9999px #032b241f; transition: width .15s, height .15s; }
.tour-card { position: fixed; right: 22px; bottom: 22px; width: min(390px, calc(100vw - 28px)); max-height: min(380px, 55dvh); overflow-y: auto; border-radius: 14px; background: #fffef9; border: 1px solid #d9c89f; padding: 19px 22px 21px; box-shadow: 0 16px 60px #073a3140; }
.tour-card-left { right: auto; left: max(18px, calc(var(--side) + 18px)); }
.tour-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #8d743e; }
.tour-card-top button { width: 28px; height: 28px; border: 0; background: #f0f3e9; font-size: 20px; color: #5d735a; border-radius: 5px; }
.tour-card progress { width: 100%; height: 5px; accent-color: #9d7d42; margin: 11px 0; }
.tour-card h2 { font-size: 19px; color: var(--pine); margin: 5px 0 9px; }
.tour-card p { font-size: 14px; line-height: 1.8; color: #5d7262; margin: 0 0 12px; }
.tour-status { font-size: 12px; color: #89754e; background: #f7f2e6; padding: 7px 10px; border-radius: 5px; }
.tour-status.done { background: #edf5ea; color: #3c6b45; }
.tour-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.tour-skip { border: 0; color: #6b7968; background: transparent; font-size: 13px; padding: 8px; }
.tour-complete { padding: 40px; border-radius: 18px; background: #fffdf7; width: min(520px, 95vw); text-align: center; }
.tour-complete h2 { color: var(--pine); font-size: 25px; }
.tour-complete p { color: #617566; font-size: 15px; line-height: 1.9; }
.complete-check { width: 70px; height: 70px; border-radius: 50%; background: #e7f1e4; color: #4e7953; font-size: 37px; margin: 0 auto 22px; }
@media (max-width: 1550px) { .top-search { display: none; } .crumb { display: none; } .topbar { gap: 5px; } }
@media (max-width: 1200px) { .main-content { padding: 25px 24px 40px; } .inbox-scene { flex-direction: column; } .scene-action { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; } .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiny-badge { display: none; } }
@media (max-width: 760px) {
  :root { --side: 278px; }
  .topbar { padding: 9px 13px; min-height: 68px; }
  .top-right { gap: 5px; flex: 1; }
  .role-select { max-width: 130px; font-size: 12px; padding: 9px 7px; }
  .reading-toggle { padding: 8px; font-size: 12px; }
  .reading-toggle span { display: none; }
  .main-content { padding: 23px 15px 35px; }
  .three-col, .inbox-evidence { grid-template-columns: 1fr; }
  .inbox-scene { padding: 21px; }
  .inbox-scene h2 { font-size: 21px; }
  .scene-action { flex-direction: column; align-items: stretch; }
  .login-page { grid-template-columns: 1fr; }
  .login-story { padding: 23px 26px; }
  .login-story-copy { padding: 20px 0 6px; }
  .login-story h1 { font-size: 28px; margin: 13px 0; }
  .login-story-copy p, .login-foot, .login-chips, .login-story-copy .eyebrow { display: none; }
  .login-panel { padding: 30px 25px 40px; }
  .login-form-wrap h2 { font-size: 25px; margin-top: 20px; }
  .tour-welcome { grid-template-columns: 1fr; }
  .tour-welcome-art { display: none; }
  .tour-welcome-copy { padding: 28px 24px; }
  .tour-welcome h2 { font-size: 26px; }
  .tour-card, .tour-card-left { left: 14px; right: 14px; bottom: 14px; width: auto; max-height: 36dvh; padding: 14px 18px; }
  .tour-card p { font-size: 13px; line-height: 1.6; }
  .tour-status { display: none; }
  .tour-card h2 { font-size: 17px; }
  .tour-complete { padding: 30px 24px; }
  .modal { max-height: 92dvh; }
  .metric-caption { font-size: 13px; }
  .data-table td, .data-table th { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
