@import "tailwindcss"; @plugin "@tailwindcss/typography"; @theme { --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; } :root { color-scheme: light; --ink: #232927; --muted: #68736b; --line: #e8ece9; --green: #20785e; --soft: #f6f8f6; } * { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 96px; } body { margin: 0; background: #fff; color: var(--ink); -webkit-font-smoothing: antialiased; } button, a, input, summary { -webkit-tap-highlight-color: transparent; } button, summary { cursor: pointer; } a { text-decoration: none; } button, input { font: inherit; } button { color: inherit; } ::selection { background: #d5eee2; } :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; } .site-header { height: 68px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 32px; gap: 34px; position: sticky; top: 0; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); z-index: 30; } .brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 15px; letter-spacing: -0.4px; } .brand strong { font-weight: 600; } .brand-divider { margin: 0 7px; color: #c8ceca; } .docs-badge { font-size: 10px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); letter-spacing: 0; } .brand-mark { width: 23px; height: 27px; display: flex; gap: 3px; align-items: center; transform: skewY(-18deg); } .brand-mark i { width: 5px; background: var(--green); height: 23px; border-radius: 1px; } .brand-mark i:nth-child(2) { height: 17px; } .brand-mark i:nth-child(3) { height: 11px; } .top-nav { display: flex; gap: 25px; margin-left: auto; font-size: 13px; color: #626b66; } .top-nav a:hover { color: var(--green); } .search-trigger { display: flex; gap: 9px; align-items: center; border: 1px solid #e2e7e3; background: #fafbf9; border-radius: 7px; padding: 7px 10px; width: 205px; font-size: 12px; color: #89918b; } .search-trigger > span:first-child { font-size: 23px; line-height: 16px; color: #707b73; } .search-trigger kbd { margin-left: auto; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; font-size: 10px; background: white; } .skip-link { position: fixed; top: -70px; left: 20px; background: white; padding: 12px; z-index: 100; } .skip-link:focus { top: 10px; } .home-layout, .reading-layout { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 238px minmax(0, 1fr); } .sidebar { border-right: 1px solid var(--line); padding: 32px 22px; height: calc(100dvh - 68px); position: sticky; top: 68px; overflow-y: auto; font-size: 13px; } .nav-home { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 5px; color: #6a756e; } .nav-home.selected { background: #f0f5f1; color: var(--green); font-weight: 600; } .nav-group { margin-top: 30px; } .nav-group > p { font-weight: 600; font-size: 11px; color: #363f39; margin: 0 10px 10px; } .nav-item { display: flex; align-items: center; gap: 7px; padding: 9px 10px; line-height: 1.6; color: #637066; border-left: 1px solid var(--line); margin-left: 10px; } .nav-item:hover { color: var(--green); background: #fafbf9; } .nav-item[aria-current="page"] { border-left-color: var(--green); color: var(--green); font-weight: 550; background: #f4f8f5; } .tiny-dot { width: 5px; height: 5px; border-radius: 50%; background: #c2a56e; flex-shrink: 0; } .nav-note { border-top: 1px solid var(--line); margin: 45px 10px 0; padding-top: 20px; font-size: 10px; color: #78847b; line-height: 1.8; } .nav-note p { color: #a0a8a1; margin-top: 4px; font-size: 10px; } .status-dot { display: inline-block; width: 5px; height: 5px; background: #378467; border-radius: 50%; margin-right: 7px; vertical-align: middle; } .home-main { min-width: 0; padding: 0 48px; } .home-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 28px; padding: 66px 0 58px; border-bottom: 1px solid var(--line); } .eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 1.8px; color: #849087; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; margin: 0; } .hero-copy h1 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.28; letter-spacing: -2px; font-weight: 550; margin: 25px 0 19px; } .hero-description { font-size: 15px; line-height: 2; color: #637066; } .hero-description strong { font-weight: 500; color: #4e5f54; } .hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 26px; } .primary-button { display: flex; gap: 26px; align-items: center; color: white; background: #2c7057; border: 1px solid #24644d; box-shadow: 0 2px 3px #204d5010; border-radius: 6px; padding: 10px 15px; font-size: 12px; } .primary-button:hover { background: #235c47; } .text-link { color: #5b6d60; font-size: 12px; display: inline-flex; align-items: center; gap: 12px; } .text-link:hover { color: var(--green); } .hero-footnote { color: #a3aba4; font-size: 9px; margin-top: 34px; letter-spacing: 0.6px; } .hero-footnote span { border-left: 1px solid #dce3dc; margin-left: 12px; padding-left: 12px; } .archive-visual { height: 300px; position: relative; background: radial-gradient(ellipse, #edf3eb 0, transparent 70%); overflow: hidden; } .archive-grid { position: absolute; inset: 0; background-image: linear-gradient(#d8e1d530 1px, transparent 1px), linear-gradient(90deg, #d8e1d530 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse, black, transparent 75%); } .archive-caption { position: absolute; top: 1px; left: 12px; font: 8px ui-monospace, monospace; letter-spacing: 2px; color: #9aab99; } .archive-sheet { position: absolute; width: 170px; height: 205px; left: calc(50% - 85px); top: 52px; border: 1px solid #d1dbcd; border-radius: 5px; background: #fff; box-shadow: 0 12px 25px #6073550c; padding: 20px; } .sheet-back { transform: translate(35px, -16px) rotate(12deg); background: #edf1e8; color: #a7b19e; } .sheet-middle { transform: translate(16px, -5px) rotate(5deg); background: #f6f8f0; color: #9ba890; } .archive-sheet > span:first-child { font: 8px ui-monospace, monospace; letter-spacing: 1px; } .archive-sheet i { display: block; width: 80%; height: 1px; background: #d5decf; margin: 15px 0; } .sheet-front { transform: rotate(-7deg); background: linear-gradient(140deg, #fffef8, #f4f6eb); } .sheet-label { color: #839679; } .sheet-emblem { font-size: 65px; font-family: Georgia, serif; color: #56764b; line-height: 1.2; margin: 12px 0; } .sheet-emblem span { font: 28px ui-sans-serif, system-ui; vertical-align: top; margin-left: 14px; color: #9aaa8c; } .sheet-rule { height: 1px; background: #d9e0d0; margin-bottom: 13px; } .archive-sheet b { font: 12px Georgia, serif; color: #637759; } .archive-sheet small { display: block; color: #a1ad96; font-size: 8px; margin-top: 5px; } .archive-coordinate { position: absolute; bottom: 2px; left: 15px; right: 10px; font-size: 8px; color: #9aaa98; letter-spacing: 1px; display: flex; justify-content: space-between; } .explore-section { padding: 35px 0; scroll-margin-top: 90px; } .section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; } .section-heading h2, .quickstart h2 { margin: 10px 0 0; font-size: 20px; font-weight: 550; letter-spacing: -0.6px; } .section-count { font: 10px ui-monospace, monospace; color: #9ca59d; } .doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; } .doc-card { border: 1px solid var(--line); border-radius: 8px; padding: 21px; display: flex; flex-direction: column; background: linear-gradient(#fff, #fcfdfb); transition: border-color 0.2s, transform 0.2s; } .doc-card:hover { border-color: #a5bdac; transform: translateY(-3px); } .card-top { display: flex; align-items: center; justify-content: space-between; } .card-icon { width: 31px; height: 31px; display: grid; place-items: center; font-size: 18px; background: #eef4ef; border: 1px solid #e2eae1; border-radius: 7px; color: #587d5d; } .icon-1 { color: #8b7e60; background: #f6f3ec; border-color: #eee8dd; } .icon-2 { color: #6f8291; background: #eff3f6; border-color: #e5eaf0; } .card-number { font: 9px ui-monospace, monospace; color: #b1b8b1; } .card-group { font-size: 11px; color: #73816f; margin: 22px 0 6px; } .doc-card h3 { font-size: 16px; font-weight: 550; letter-spacing: -0.3px; margin: 0; display: flex; justify-content: space-between; gap: 8px; } .doc-card h3 > span { color: #a0aaa1; font-size: 13px; } .card-description { color: #69766b; font-size: 13px; line-height: 1.9; margin: 10px 0 22px; flex: 1; } .card-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #a1aaa1; border-top: 1px solid #eef1ed; padding-top: 14px; } .draft-badge { color: #9a7c40; background: #faf6e9; border: 1px solid #eee4c9; border-radius: 4px; padding: 2px 6px; font-size: 9px; white-space: nowrap; } .quickstart { border-top: 1px solid var(--line); padding: 35px 0 42px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 35px; align-items: center; } .quickstart p:not(.eyebrow) { font-size: 12px; color: #6d796d; line-height: 1.9; margin: 13px 0 20px; } .site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; padding: 24px 0; color: #a1aaa1; font-size: 9px; } .site-footer strong { font-weight: 500; color: #7b877c; } .reading-layout { grid-template-columns: 238px minmax(0, 1fr) 210px; } .reading-main { min-width: 0; max-width: 820px; width: 100%; margin: auto; padding: 34px 48px 0; } .breadcrumb { display: flex; gap: 12px; font-size: 11px; color: #8e978f; margin-bottom: 35px; } .breadcrumb a:hover { color: var(--green); } .breadcrumb > span:nth-child(2) { color: #c6cec7; } .article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; } .article-meta .eyebrow { font-size: 10px; color: var(--green); letter-spacing: 1px; } .prose { font-size: 16px; line-height: 1.95; color: #606b63; overflow-wrap: anywhere; --tw-prose-body: #606b63; --tw-prose-headings: #252e28; --tw-prose-bold: #414e44; --tw-prose-links: #287358; --tw-prose-counters: #919d93; --tw-prose-bullets: #a7b2a8; } .prose h1 { font-size: 34px; letter-spacing: -1.2px; font-weight: 550; line-height: 1.45; margin: 0 0 20px; } .prose > p:first-of-type { font-size: 16px; color: #6a766b; line-height: 1.9; margin-bottom: 34px; } .prose h2 { font-size: 21px; font-weight: 550; margin: 44px 0 20px; padding-top: 10px; letter-spacing: -0.4px; } .prose h3 { font-size: 18px; font-weight: 550; margin: 30px 0 12px; } .prose .heading-anchor { color: inherit; text-decoration: none; font-weight: inherit; } .heading-anchor > span { margin-left: 10px; color: #bac8bc; font-weight: 400; opacity: 0; } .heading-anchor:hover > span, .heading-anchor:focus > span { opacity: 1; } .prose a { text-decoration-color: #b1cdbb; text-underline-offset: 4px; } .prose code:not(pre code) { font: 0.85em ui-monospace, SFMono-Regular, Consolas, monospace; border: 1px solid #e7ece7; background: #f6f8f5; border-radius: 4px; padding: 2px 5px; font-weight: 400; color: #4c6655; } .prose code::before, .prose code::after { content: none; } .prose li { padding-left: 3px; } .prose table { display: table; width: 100%; min-width: 360px; margin: 0; font-size: 13px; border: 1px solid var(--line); border-radius: 7px; } .prose thead { background: #f7f9f5; } .prose th, .prose td { padding: 12px 15px; white-space: normal; min-width: 100px; } .prose img { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fafbf8; width: 100%; } .callout { display: flex; gap: 12px; border: 1px solid #e2e9e0; padding: 15px 18px; border-radius: 7px; background: #f8faf6; font-size: 13px; font-weight: 400; font-style: normal; color: #6f7f6c; } .callout-draft { border-color: #ebe3d0; background: #fcfaf3; color: #927f54; } .callout p { margin: 0; } .callout p::before, .callout p::after { content: none; } .callout-icon { flex-shrink: 0; font-size: 16px; } .code-block { border: 1px solid #e1e7e0; border-radius: 8px; overflow: hidden; background: #f9fbf7; margin: 24px 0; min-width: 0; } .code-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-bottom: 1px solid #e7ece4; color: #879781; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; background: #f5f8f2; } .code-toolbar button { padding: 2px 6px; border: 1px solid #dce5d6; border-radius: 4px; font-size: 11px; min-height: 28px; min-width: 44px; background: #fff; color: #607553; } .code-toolbar button:hover { border-color: #95ac8d; } .code-block pre, .prose .code-block pre { margin: 0; background: transparent; color: #5b6f55; font: 11px/2.2 ui-monospace, SFMono-Regular, Consolas, monospace; padding: 16px 15px; overflow-x: auto; border-radius: 0; } .code-block code { font: inherit; color: inherit; } .code-line { display: flex; min-width: max-content; } .line-number { width: 25px; flex-shrink: 0; color: #b3bfb0; user-select: none; } .code-command { color: #337c57; font-weight: 600; } .quickstart .code-block { margin: 0; } .toc { padding: 47px 25px 30px 5px; position: sticky; top: 68px; height: calc(100dvh - 68px); overflow: auto; font-size: 13px; } .toc > .eyebrow { letter-spacing: 1px; font-size: 9px; margin-bottom: 18px; } .toc nav { border-left: 1px solid var(--line); } .toc nav a { display: block; padding: 7px 0 7px 15px; margin-left: -1px; border-left: 1px solid transparent; color: #69766b; line-height: 1.6; } .toc nav a:hover, .toc nav a.active { color: var(--green); border-left-color: var(--green); } .toc nav a.toc-nested { padding-left: 25px; } .toc-note { font-size: 10px; margin-top: 35px; color: #83947f; border-top: 1px solid var(--line); padding-top: 20px; line-height: 1.9; } .toc-note p { font-size: 10px; color: #a5aea3; margin-top: 7px; } .article-end { display: flex; gap: 15px; justify-content: space-between; border-top: 1px solid var(--line); padding: 25px 0; margin-top: 45px; font-size: 10px; color: #9ba59b; } .article-end a { color: #688169; } .pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 10px 0 45px; } .pagination > a { border: 1px solid var(--line); padding: 18px; border-radius: 7px; } .pagination > a:hover { border-color: #afc3b1; } .pagination small { display: block; font-size: 10px; color: #9aa79a; margin-bottom: 7px; } .pagination strong { font-size: 12px; font-weight: 500; color: #526c55; } .next-page { text-align: right; } .article-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 24px 0; color: #a7b0a5; font: 8px ui-monospace, monospace; letter-spacing: 1px; } .article-footer span { letter-spacing: 0; } .search-dialog { padding: 0; border: 1px solid var(--line); border-radius: 12px; width: min(570px, calc(100vw - 32px)); max-height: 80dvh; margin: 14vh auto auto; box-shadow: 0 24px 80px #14281b26; color: var(--ink); } .search-dialog::backdrop { background: #293b304d; backdrop-filter: blur(3px); } .search-input-row { display: flex; align-items: center; gap: 13px; padding: 17px; border-bottom: 1px solid var(--line); } .search-input-row > span { font-size: 25px; color: #879786; } .search-input-row input { width: 100%; min-width: 0; outline: none; font-size: 14px; } .search-input-row button { font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; } .search-results { padding: 15px; max-height: 50dvh; overflow-y: auto; } .search-results > .eyebrow { margin: 0 8px 12px; } .search-result { display: block; border: 1px solid transparent; padding: 13px; border-radius: 7px; } .search-result.selected, .search-result:hover { background: #f3f7f1; border-color: #e3ebdf; } .search-result > span { color: #92a18c; font-size: 10px; } .search-result strong { display: block; font-size: 14px; font-weight: 500; margin: 5px 0; } .search-result strong span { float: right; color: #91aa85; } .search-result small { font-size: 11px; color: #69765f; } .empty-search { font-size: 13px; padding: 25px 8px; color: #66735f; } .search-footer { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 10px; color: #9da797; display: flex; justify-content: space-between; } .mobile-bar, .mobile-navigation, .mobile-toc { display: none; } @media (min-width: 1450px) { .home-main { padding: 0 70px; } .home-hero { padding: 85px 0 70px; } .reading-layout { grid-template-columns: 250px minmax(0, 1fr) 235px; } } @media (max-width: 1150px) { .top-nav { gap: 15px; } .reading-layout { grid-template-columns: 220px minmax(0, 1fr); } .toc { display: none; } .home-layout { grid-template-columns: 220px minmax(0, 1fr); } .home-main { padding: 0 30px; } .reading-main { padding: 30px 40px 0; } .home-hero { gap: 10px; } .archive-sheet { width: 145px; height: 190px; left: calc(50% - 72px); } .hero-copy h1 { font-size: 38px; } .doc-card { padding: 16px; } .card-description { font-size: 13px; } .top-nav a:nth-child(2) { display: none; } .mobile-toc { display: block; margin: 18px 0; border: 1px solid var(--line); border-radius: 6px; padding: 10px 15px; font-size: 12px; color: #7d8a7d; } .mobile-toc nav { display: grid; gap: 10px; padding-top: 15px; } .mobile-toc a { padding: 3px 0; } .mobile-toc .active { color: var(--green); } } @media (max-width: 850px) { .site-header { padding: 0 20px; gap: 20px; height: 62px; } .top-nav { display: none; } .search-trigger { margin-left: auto; } .home-layout, .reading-layout { grid-template-columns: 1fr; } .sidebar { display: none; } .mobile-bar { display: block; position: sticky; top: 62px; z-index: 25; background: #fff; border-bottom: 1px solid var(--line); } .mobile-bar button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 12px 22px; font-size: 11px; color: #7b897c; } .mobile-bar button span:last-child { margin-left: auto; } .mobile-navigation { display: block; padding: 15px 22px; border-bottom: 1px solid var(--line); max-height: 65dvh; overflow: auto; } .mobile-navigation .nav-group { margin-top: 15px; } .mobile-navigation .nav-note { display: none; } .home-main { padding: 0 30px; } .home-hero { padding: 45px 0; grid-template-columns: 1.2fr 1fr; } .hero-copy h1 { font-size: 42px; } .reading-main { max-width: 800px; padding: 28px 35px 0; } .breadcrumb { margin-bottom: 28px; } html { scroll-padding-top: 120px; } } @media (max-width: 560px) { .brand { font-size: 13px; gap: 9px; } .brand-divider { margin: 0 4px; } .docs-badge { display: none; } .site-header { padding: 0 18px; gap: 12px; } .search-trigger { width: 34px; height: 32px; justify-content: center; padding: 5px; } .search-trigger span:nth-child(2), .search-trigger kbd { display: none; } .home-main { padding: 0 22px; } .home-hero { grid-template-columns: 1fr; gap: 26px; padding: 35px 0 30px; } .hero-copy h1 { font-size: 42px; letter-spacing: -1.5px; margin: 23px 0 18px; } .hero-description { font-size: 14px; } .hero-actions { margin-top: 23px; } .hero-footnote { margin-top: 24px; } .archive-visual { height: 240px; margin: 0 10px; } .archive-sheet { top: 30px; height: 180px; } .sheet-emblem { font-size: 52px; margin: 8px 0; } .archive-coordinate { bottom: 0; } .section-heading h2, .quickstart h2 { font-size: 19px; } .doc-cards { grid-template-columns: 1fr; gap: 12px; } .doc-card { padding: 20px; } .card-group { margin-top: 14px; } .card-description { font-size: 12px; margin-bottom: 17px; } .doc-card h3 { font-size: 17px; } .quickstart { grid-template-columns: 1fr; gap: 23px; padding: 30px 0; } .quickstart p:not(.eyebrow) br { display: none; } .quickstart p:not(.eyebrow) { font-size: 12px; } .site-footer { flex-wrap: wrap; font-size: 9px; gap: 12px; } .site-footer > span:nth-child(2) { display: none; } .reading-main { padding: 25px 22px 0; } .prose { font-size: 15px; line-height: 1.95; } .prose h1 { font-size: 28px; letter-spacing: -0.8px; } .prose > p:first-of-type { font-size: 15px; } .prose h2 { font-size: 20px; } .article-meta { margin-bottom: 14px; } .pagination { gap: 10px; } .pagination > a { padding: 13px; } .pagination strong { font-size: 11px; } .article-end { flex-wrap: wrap; font-size: 10px; } .code-block pre, .prose .code-block pre { font-size: 12px; padding: 14px 11px; } .line-number { width: 20px; } .callout { padding: 13px; font-size: 13px; } .article-footer { font-size: 7px; } .eyebrow { font-size: 9px; } .search-dialog { margin-top: 8vh; } .search-result small { line-height: 1.7; display: block; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } } .prose .mobile-toc { font-size: 12px; font-weight: 400; line-height: 1.6; } .prose .mobile-toc a { text-decoration: none; font-weight: 400; } .mobile-toc summary { padding: 4px 0; } .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; margin: 24px 0; } .prose .table-scroll table { border: 0; border-radius: 0; } /* The topology stays a reproducible SVG; React only supplies the viewer. */ .architecture-figure { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 28px 0; } .figure-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #f5f8f3; font: 11px ui-monospace, monospace; color: #6c806f; } .figure-toolbar button { color: var(--green); border: 1px solid #d7e3d4; padding: 5px 10px; border-radius: 5px; background: white; } .figure-preview { display: block; width: 100%; background: #fcfdfb; cursor: zoom-in; } .prose .figure-preview img { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; } .figure-caption { display: block; padding: 10px 16px; font-size: 11px; color: #758576; border-top: 1px solid var(--line); } .figure-dialog { padding: 0; width: 96vw; max-width: 1900px; height: 94dvh; max-height: 94dvh; border: 1px solid #dce5d9; border-radius: 12px; margin: auto; overflow: hidden; background: #fcfdfb; box-shadow: 0 20px 100px #18312530; } .figure-dialog::backdrop { background: #1e322e66; backdrop-filter: blur(4px); } .figure-dialog[open] { display: flex; flex-direction: column; } .figure-viewer-toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--line); align-items: center; } .figure-viewer-toolbar strong { font-size: 14px; font-weight: 600; color: var(--ink); } .figure-viewer-toolbar small { color: #a68b52; font-size: 11px; margin-left: 5px; } .figure-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #647c67; } .figure-controls button, .figure-controls a { min-height: 32px; min-width: 32px; padding: 4px 9px; border: 1px solid #dae4d6; border-radius: 5px; background: #fff; font-weight: 400; text-decoration: none; } .figure-controls button:disabled { opacity: 0.35; cursor: default; } .figure-controls > span { min-width: 62px; text-align: center; } .figure-pan { overflow: auto; flex: 1; min-height: 0; overscroll-behavior: contain; padding: 8px; } .prose .figure-pan img { display: block; max-width: none; height: auto; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: #fcfdfb; } .figure-viewer-hint { margin: 0 !important; padding: 10px 18px; border-top: 1px solid var(--line); background: #fff; color: #798d79; font-size: 10px !important; line-height: 1.7 !important; } @media (max-width: 560px) { .figure-viewer-toolbar { padding: 10px; gap: 8px; } .figure-controls { gap: 5px; } .figure-controls button, .figure-controls a { min-height: 36px; } .figure-toolbar { padding: 10px; font-size: 10px; } .figure-caption { font-size: 10px; padding: 10px; } }