@import 'tailwindcss'; @import 'tw-animate-css'; @import 'shadcn/tailwind.css'; @custom-variant dark (&:is(.dark *)); @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--foreground); --color-popover: var(--background); --color-popover-foreground: var(--foreground); --color-primary: var(--primary); --color-primary-foreground: #fff; --color-secondary: var(--muted); --color-secondary-foreground: var(--foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--primary); --color-destructive: #b74435; --color-border: var(--border); --color-input: var(--border); --color-ring: var(--primary); --color-sidebar: var(--sidebar); --color-sidebar-foreground: var(--foreground); --color-sidebar-primary: var(--primary); --color-sidebar-primary-foreground: #fff; --color-sidebar-accent: var(--accent); --color-sidebar-accent-foreground: var(--primary); --color-sidebar-border: var(--border); --color-sidebar-ring: var(--primary); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 12px; } :root { --background: #fff; --foreground: #242c2a; --card: #fff; --primary: #167457; --muted: #f4f6f5; --muted-foreground: #65716c; --accent: #eaf4ef; --border: #e4e9e6; --sidebar: #f7f9f8; --radius: 8px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 98px; } body { margin: 0; font-family: var(--font-geist-sans), 'Microsoft YaHei', 'PingFang SC', sans-serif; color: var(--foreground); background: var(--background); font-size: 16px; line-height: 1.75; } a { color: inherit; text-decoration: none; } button, input, select, textarea { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button:not(:disabled), summary { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: 0.5; } button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; } p { margin: 0 0 1em; } h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; } h1 { font-size: 44px; line-height: 1.3; margin: 13px 0 20px; } h2 { font-size: 24px; line-height: 1.45; margin: 0; } h3 { font-size: 17px; margin: 0 0 7px; line-height: 1.5; } h4 { font-size: 16px; margin: 0 0 5px; } code, pre, .mono { font-family: var(--font-geist-mono), Consolas, monospace; } p code, li code { font-size: 0.88em; padding: 2px 5px; background: var(--muted); border: 1px solid var(--border); border-radius: 4px; } section { scroll-margin-top: 85px; margin: 42px 0; } svg { flex-shrink: 0; } .brand { display: flex; align-items: center; gap: 12px; padding: 23px 16px 29px; font-size: 17px; font-weight: 650; line-height: 1.45; } .brand-symbol { width: 36px; height: 36px; border-radius: 8px; background: #245b47; color: #fff; display: grid; place-items: center; } .brand-sub { display: block; font-size: 12px; font-weight: 400; letter-spacing: 1px; color: #76817b; margin-top: 4px; } .nav-caption { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7d8981; padding: 6px 25px 16px; } .nav-caption span { font-family: var(--font-geist-mono); font-size: 10px; letter-spacing: 0.7px; } .module-nav { padding: 0 12px; } .module-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 13px; margin: 3px 0; border-radius: 6px; font-size: 14px; color: #626e66; text-align: left; background: transparent; border: 0; } .module-link:hover { background: #edf1ee; } .module-link.selected { background: #e5f0e9; color: #246248; font-weight: 600; } .module-link > span:nth-child(2) { flex: 1; } .nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); } .soon { font-size: 11px; color: #7d8882; font-weight: 400; } .sidebar-note { display: flex; gap: 11px; align-items: flex-start; color: #55665b; padding: 19px 15px; font-size: 13px; border-top: 1px solid var(--border); } .sidebar-note small { display: block; color: #89928d; margin-top: 4px; font-size: 12px; } .workspace { min-width: 0; flex: 1; } .topbar { height: 69px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 44px; position: sticky; top: 0; background: rgba(255, 255, 255, 0.96); z-index: 20; gap: 20px; } .breadcrumbs { display: flex; align-items: center; gap: 15px; font-size: 13px; color: #7b857e; min-width: 0; } .breadcrumbs strong { font-weight: 500; color: #45544a; } .quiet-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #67736b; white-space: nowrap; } .quiet-link:hover { color: var(--primary); } .document-grid { display: grid; grid-template-columns: minmax(0, 860px) 160px; gap: 55px; max-width: 1210px; margin: auto; padding: 49px 48px 70px; } .document-grid > main { min-width: 0; } .eyebrow { display: flex; align-items: center; gap: 11px; font-size: 11px; letter-spacing: 1.4px; color: #657b6b; font-family: var(--font-geist-mono), 'Microsoft YaHei', sans-serif; } .eyebrow span { width: 17px; height: 1px; background: #a1b2a8; } .title-dot { color: var(--primary); margin-left: 3px; } .lead { color: #657269; font-size: 17px; line-height: 1.9; margin-bottom: 22px; } .meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: #778178; } .meta-row > span { display: flex; align-items: center; gap: 6px; } .meta-row > span + span:before { content: ''; width: 3px; height: 3px; background: #adb6af; margin-right: 7px; border-radius: 50%; } .module-intro { display: flex; gap: 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; margin-top: 30px; } .module-intro p { font-size: 14px; color: #6e7a71; margin: 0; line-height: 1.85; } .section-index { white-space: nowrap; color: var(--primary); font-size: 13px; font-family: var(--font-geist-mono); padding-top: 2px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; } .section-heading > span { color: #89938c; font-size: 12px; } .path-row { display: flex; align-items: center; gap: 24px; padding: 21px 2px; border-bottom: 1px solid var(--border); } .path-row > div { flex: 1; } .path-row p { font-size: 14px; color: #78857b; margin: 0; } .path-row svg { color: #8d9c91; } .path-row:hover h3 { color: var(--primary); } .path-number { color: #7e9285; font-size: 13px; font-family: var(--font-geist-mono); } .toc { font-size: 13px; position: sticky; top: 111px; align-self: start; padding-top: 4px; color: #7a867d; } .toc > p { font-size: 12px; color: #3f5345; margin-bottom: 15px; } .toc > a { display: block; border-left: 1px solid var(--border); padding: 7px 0 7px 15px; } .toc > a:hover { color: var(--primary); border-color: var(--primary); } .toc-note { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12px; line-height: 2; } .toc-note p { margin-top: 12px; } .tiny-label { font-size: 11px; letter-spacing: 1px; color: #8b968e; } .code { font-size: 13px; line-height: 1.85; padding: 22px 24px; background: #f5f7f6; color: #2e493c; border: 1px solid var(--border); border-radius: 8px; overflow: auto; tab-size: 4; white-space: pre; margin: 15px 0 23px; } .code code { font: inherit; } @media (min-width: 1440px) { .document-grid { padding-top: 60px; gap: 70px; } .topbar { padding: 0 52px; } } @media (max-width: 1200px) { .toc { display: none; } .document-grid { grid-template-columns: minmax(0, 1fr); padding: 38px 38px 60px; max-width: 920px; } .topbar { padding: 0 32px; } } @media (max-width: 767px) { .document-grid { padding: 30px 23px 60px; } .topbar { padding: 0 17px; height: 60px; } .quiet-link { font-size: 12px; } .breadcrumbs { gap: 9px; font-size: 12px; } h1 { font-size: 33px; } h2 { font-size: 22px; } .lead { font-size: 16px; } .module-intro { gap: 16px; } .path-row { gap: 16px; } .section-heading { align-items: flex-start; } .section-heading > span { max-width: 125px; text-align: right; } .meta-row { font-size: 11px; gap: 8px 11px; } } .skip-link { position: fixed; top: -80px; left: 20px; padding: 10px 20px; background: var(--primary); color: white; z-index: 100; border-radius: 6px; } .skip-link:focus { top: 12px; } h1:focus { outline: none; } .topbar-actions { display: flex; align-items: center; gap: 23px; } .topbar-actions button { font-size: 12px; color: #5e7064; } .overview-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 27px; } .primary-link, .secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 6px; padding: 9px 15px; font-size: 13px; line-height: 1.6; transition: background 0.16s; } .primary-link { background: var(--primary); color: #fff; border: 1px solid var(--primary); } .primary-link:hover { background: #105b43; } .secondary-link { background: #fff; color: #596a60; border: 1px solid var(--border); } .secondary-link:hover { background: #f2f6f3; } .material-state { font-size: 11px; color: #89928d; margin-left: 3px; } .phase { margin: 23px 0 29px; } .phase-heading { display: flex; align-items: center; gap: 15px; padding: 13px 16px; background: #f4f7f5; border: 1px solid var(--border); border-radius: 7px; } .phase-heading > div { flex: 1; } .phase-heading h3 { font-size: 15px; margin: 0 0 3px; } .phase-heading p { font-size: 12px; color: #7a867d; margin: 0; } .phase-marker { font-size: 16px; color: #829c8d; font-family: var(--font-geist-mono); align-self: flex-start; line-height: 1.6; } .phase-range { font-size: 11px; color: #8d9891; white-space: nowrap; font-family: var(--font-geist-mono); } .lesson-rows { padding-left: 13px; } .lesson-row { display: flex; gap: 15px; align-items: center; padding: 17px 8px; border-bottom: 1px solid #edf0ee; } .lesson-row > div { flex: 1; min-width: 0; } .lesson-row strong { font-size: 14px; font-weight: 500; display: block; line-height: 1.6; } .lesson-row p { font-size: 12px; margin: 4px 0 0; color: #7d8880; line-height: 1.65; } .lesson-number { color: #94a297; font-family: var(--font-geist-mono); font-size: 12px; min-width: 22px; } .lesson-row:hover { background: #fbfdfb; } .lesson-row:hover strong { color: var(--primary); } .lesson-row > svg { color: #9ba99f; } .lesson-duration { font-size: 11px; white-space: nowrap; color: #87948b; } .interactive-badge { border: 1px solid #d8e7de; border-radius: 4px; background: #f7fbf8; color: #5d8d72; font-size: 10px; padding: 0 5px; white-space: nowrap; } .section-caption { font-size: 13px; color: #728176; line-height: 1.8; margin-top: 16px; } .api-table { margin: 22px 0; font-size: 13px; } .api-table th { color: #7d8d81; font-size: 12px; font-weight: 400; background: #f7f9f7; } .api-table td { padding: 13px 10px; white-space: normal; color: #56685b; font-size: 13px; line-height: 1.8; } .api-table th:last-child, .api-table td:last-child { white-space: nowrap; } .api-table code { font-size: 11px; color: #35694c; } .resource-strip { padding: 23px; display: flex; align-items: center; gap: 16px; background: #f7faf8; border: 1px solid var(--border); border-radius: 7px; margin-top: 20px; color: #56705e; } .resource-strip > div { flex: 1; } .resource-strip h3 { font-size: 15px; } .resource-strip p { font-size: 12px; margin: 0; color: #7b8b80; } .resource-strip a { white-space: nowrap; font-size: 12px; } .check-list { list-style: none; padding: 0; margin: 0; } .check-list li { display: flex; gap: 13px; padding: 10px 0; font-size: 15px; line-height: 1.85; } .check-list svg { margin-top: 6px; color: var(--primary); } .next-module { border-top: 1px solid var(--border); padding-top: 25px; margin-top: 35px; display: flex; gap: 14px; align-items: center; font-size: 13px; } .next-module > span:first-child { color: #819086; font-size: 12px; } .next-module strong { font-weight: 500; } .next-module .soon { margin-left: auto; } .page-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #8b968e; margin: 0 44px; padding: 21px 0; border-top: 1px solid var(--border); } .toc-download { display: flex !important; align-items: center; gap: 8px; border: 0 !important; padding-left: 0 !important; color: #527c60 !important; margin-top: 15px; } .pending-module { min-height: 67vh; padding: 20px 0; } .pending-module .status-label { display: inline-block; margin: 8px 0 25px; } .pending-module .lead { margin-bottom: 32px; } .status-label { font-size: 11px; color: #718275; background: #eef3ef; border: 1px solid #e2e9e4; padding: 3px 8px; border-radius: 4px; white-space: nowrap; } .lesson-nav { margin: 18px 0 10px; padding-top: 22px; border-top: 1px solid var(--border); } .lesson-nav .nav-caption { padding-bottom: 6px; } .lesson-nav-group { font-size: 11px; color: #8b998e; padding: 15px 24px 7px; margin: 0; } .lesson-nav-link { display: flex; gap: 9px; padding: 8px 15px 8px 24px; font-size: 12px; color: #6f7f73; line-height: 1.6; border-left: 2px solid transparent; } .lesson-nav-link span { font-family: var(--font-geist-mono); font-size: 10px; color: #a0aaa3; padding-top: 2px; } .lesson-nav-link.current { color: var(--primary); background: #edf4ef; border-left-color: var(--primary); } .lesson-nav-link:hover { color: var(--primary); background: #edf4ef; } .back-link { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #798b7d; margin-bottom: 26px; width: fit-content; } .back-link:hover { color: var(--primary); } .lesson-title { font-size: 35px; margin-top: 15px; line-height: 1.5; } .lesson-article > .lead { font-size: 16px; } .objectives { background: #f4f8f5; border-left: 3px solid #a7c5af; padding: 21px 23px; margin: 29px 0 18px; border-radius: 0 6px 6px 0; } .objectives h2 { font-size: 15px; margin-bottom: 12px; } .objectives ul { list-style: none; padding: 0; margin: 0; } .objectives li { display: flex; gap: 12px; font-size: 14px; line-height: 1.8; padding: 5px 0; } .objectives li span { color: #81a48d; font-size: 11px; font-family: var(--font-geist-mono); padding-top: 3px; } .video-section { margin: 18px 0 37px; } .video-pending { display: flex; align-items: center; gap: 15px; padding: 23px 20px; border: 1px solid var(--border); border-radius: 7px; color: #85958a; background: #fafcfb; } .video-pending > div { flex: 1; } .video-pending strong { display: block; font-weight: 500; font-size: 14px; color: #677d6e; } .video-pending div span { display: block; font-size: 12px; margin-top: 5px; color: #94a197; } .video-player video { width: 100%; aspect-ratio: 16/9; background: #18291f; border-radius: 8px; } .video-player > a { display: flex; align-items: center; gap: 7px; font-size: 12px; margin-top: 8px; color: var(--primary); } .concept { margin: 23px 0 26px; } .concept h3 { display: flex; gap: 9px; font-size: 17px; } .concept h3 > span { color: #90a394; font-size: 14px; padding-top: 2px; } .concept p, .practice-step > p { font-size: 15px; line-height: 1.95; color: #5e6e63; white-space: pre-line; overflow-wrap: anywhere; } .practice-step { margin: 26px 0 34px; } .practice-title { display: flex; align-items: flex-start; gap: 13px; margin: 15px 0 12px; } .practice-title > span { font-family: var(--font-geist-mono); font-size: 12px; width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #dce8df; background: #f5faf6; border-radius: 5px; color: #5f846c; } .practice-title h3 { margin: 0; padding-top: 1px; font-size: 17px; } .code-block { border: 1px solid #dfe7e1; background: #f7f9f7; border-radius: 8px; overflow: hidden; margin: 18px 0 25px; } .code-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-bottom: 1px solid #e5ece6; background: #f0f4f1; font-size: 12px; color: #718376; } .code-toolbar > span { display: flex; align-items: center; gap: 7px; font-family: var(--font-geist-mono); } .copy-button { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #6e8174; background: transparent; border: 0; padding: 0 4px; } .copy-button:hover { color: var(--primary); } .code-block pre { font-size: 12px; line-height: 1.9; overflow: auto; margin: 0; padding: 19px 21px 21px 0; color: #364d3d; tab-size: 4; } .code-line { white-space: pre; } .line-number { display: inline-block; min-width: 46px; padding: 0 13px 0 8px; text-align: right; user-select: none; pointer-events: none; color: #b0bbb3; font-size: 11px; } .syntax-string { color: #477856; } .syntax-keyword { color: #247081; font-weight: 500; } .syntax-comment { color: #93a398; } .pitfall { padding: 22px 0; border-bottom: 1px solid var(--border); } .pitfall:first-child { padding-top: 4px; } .pitfall h3 { font-size: 16px; margin-bottom: 12px; } .pitfall p { display: flex; gap: 13px; font-size: 14px; color: #708074; line-height: 1.9; margin-bottom: 7px; white-space: pre-line; } .pitfall p strong { font-size: 11px; font-weight: 400; background: #f0f4f1; padding: 2px 5px; color: #7b9282; flex-shrink: 0; align-self: flex-start; border-radius: 3px; } .exercise { padding: 26px; border: 1px solid #dce7df; border-radius: 8px; background: #fbfdfb; } .exercise h2 { font-size: 22px; } .exercise > p { font-size: 15px; line-height: 1.9; color: #586d5e; } .exercise details { border-top: 1px solid #e5ede7; padding-top: 15px; margin-top: 15px; font-size: 14px; } .exercise summary { display: flex; align-items: center; justify-content: space-between; list-style: none; color: #63886e; } .exercise summary::-webkit-details-marker { display: none; } .exercise details[open] summary svg { transform: rotate(90deg); } .exercise details p, .answer-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 17px 0 4px; font-size: 14px; line-height: 1.9; color: #647a6b; } .reference-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; } .reference-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #4f8662; border-bottom: 1px solid transparent; } .reference-links a:hover { border-color: #91b59c; } .lesson-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; margin-top: 44px; border-top: 1px solid var(--border); } .lesson-pagination a { padding: 4px 0; } .lesson-pagination span { display: flex; align-items: center; gap: 7px; color: #8a9b8e; font-size: 12px; margin-bottom: 9px; } .lesson-pagination strong { font-weight: 500; font-size: 14px; color: #56775f; line-height: 1.7; } .lesson-pagination a.next { text-align: right; } .lesson-pagination a.next span { justify-content: flex-end; } .presentation [data-slot='sidebar'], .presentation .toc, .presentation [data-slot='sidebar-trigger'] { display: none; } .presentation .document-grid { max-width: 1150px; grid-template-columns: minmax(0, 1fr); padding: 48px 65px; } .presentation .code-block pre { font-size: 16px; line-height: 1.9; } .presentation .concept p, .presentation .practice-step > p, .presentation .check-list li { font-size: 19px; line-height: 2; } .presentation .lesson-title { font-size: 44px; } .demo { border: 1px solid #dbe7df; border-radius: 9px; background: #fcfefd; overflow: hidden; padding: 21px 24px; margin: 22px 0; } .demo-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; } .demo-label { font-size: 13px; font-weight: 500; color: #3b684b; } .simulation { font-size: 10px; color: #8da494; } .protocol-tabs { padding: 4px !important; background: #eef4f0 !important; border: 1px solid #e6ede7 !important; height: auto !important; border-radius: 6px !important; gap: 3px !important; } .protocol-tabs button { font-size: 12px !important; min-height: 30px !important; padding: 5px 13px !important; border-radius: 4px !important; } .protocol-tabs button[data-active] { color: #276643 !important; box-shadow: 0 1px 3px #234e3c15 !important; background: #fff !important; } .demo-description { font-size: 13px; color: #6f8879; line-height: 1.9; margin: 18px 0; } .connection-scene { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 23px 15px 27px; } .endpoint { display: flex; align-items: center; flex-direction: column; min-width: 108px; gap: 5px; color: #7c9887; } .endpoint > svg { margin-bottom: 7px; } .endpoint strong { font-size: 13px; font-weight: 500; color: #426f51; } .endpoint span { font-family: var(--font-geist-mono); font-size: 10px; color: #94a89b; white-space: nowrap; } .connection-track { flex: 1; max-width: 280px; display: flex; align-items: center; flex-direction: column; gap: 9px; font-size: 11px; color: #819c8b; } .connection-track small { font-family: var(--font-geist-mono); font-size: 10px; color: #9aad9f; white-space: nowrap; } .wire { height: 22px; width: 100%; display: flex; align-items: center; justify-content: center; position: relative; } .wire::before { content: ''; border-top: 1px dashed #bacfc1; position: absolute; width: 100%; } .wire svg { background: #fcfefd; z-index: 1; width: 36px; color: #92b69e; } .active .wire::before { border-top: 1px solid #7ca88a; } .active .wire svg { color: #2d8450; } .return-arrow { transform: rotate(180deg); } .demo-result { display: flex; gap: 11px; align-items: flex-start; background: #eff6f1; border: 1px solid #e4eee6; border-radius: 5px; padding: 12px 14px; color: #698775; min-height: 50px; margin: 12px 0; } .demo-result p { font-size: 12px; line-height: 1.9; margin: 0; } .step-indicator { font-family: var(--font-geist-mono); font-size: 10px; white-space: nowrap; color: #548a66; margin-top: 2px; } .packet { background: #f4f8f5; border: 1px solid #e5ede7; border-radius: 5px; padding: 16px; font-size: 12px; line-height: 1.85; color: #5c7f66; overflow: auto; min-height: 116px; margin: 14px 0; white-space: pre-wrap; overflow-wrap: anywhere; } .demo-controls { display: flex; align-items: center; gap: 5px; margin-top: 17px; } .demo-controls button { font-size: 12px !important; gap: 5px !important; color: #4c7d5c; min-height: 33px; } .demo-controls button svg { width: 13px !important; height: 13px !important; } .step-dots { margin-left: auto; display: flex; gap: 5px; } .step-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d9e5dd; } .step-dots .on { background: #6aa37c; } .request-path { display: flex; gap: 6px; justify-content: space-between; margin: 26px 0; } .request-path > div { display: flex; align-items: center; gap: 6px; color: #9bab9f; } .request-path > div > span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #dbe7df; border-radius: 50%; font-size: 11px; } .request-path small { font-size: 11px; } .request-path .reached { color: var(--primary); } .request-path .reached > span { background: #e3f0e7; border-color: #a9c8b3; } .async-lanes { margin: 25px 0; } .async-lanes > div + div { margin-top: 23px; } .lane-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin-bottom: 12px; color: #5d7d69; } .lane-label strong { font-weight: 500; } .lane-label > span { font-size: 11px; color: #95a99c; } .timeline-row { display: flex; gap: 10px; align-items: center; margin: 7px 0; font-family: var(--font-geist-mono); font-size: 11px; color: #7d9687; } .timeline-row > span { width: 15px; } .timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; flex: 1; } .timeline i { height: 28px; background: #f0f5f1; border-radius: 3px; font-size: 9px; font-style: normal; display: grid; place-items: center; border: 1px solid #e5eee8; color: #91ab9c; } .timeline i.pending { border: 1px dashed #aac8b5; background: #f7fbf8; } .timeline i.elapsed { background: #a4cdb2; border-color: #91bda0; color: #356145; } .time-readout { margin-left: auto; font-family: var(--font-geist-mono); font-size: 12px; color: #6b8c77; white-space: nowrap; } .demo-footnote { font-size: 11px; color: #91a899; margin: 19px 0 0; border-top: 1px solid #e7eee9; padding-top: 15px; } @media (max-width: 1300px) { .material-state { display: none; } .topbar-actions { gap: 12px; } .document-grid { gap: 37px; } } @media (max-width: 1000px) { .docs-link { display: none; } .lesson-row p { display: none; } .demo { padding: 19px; } .simulation { font-size: 9px; } .phase-range { display: none; } .endpoint { min-width: 95px; } .connection-scene { gap: 12px; padding: 20px 0; } .resource-strip { flex-wrap: wrap; } .resource-strip > a { margin-left: 41px; } } @media (max-width: 767px) { .lesson-title { font-size: 28px; line-height: 1.6; } .lesson-nav-link { font-size: 14px; } .lesson-nav-group { font-size: 12px; } .module-link { font-size: 15px; } .topbar-actions button { font-size: 11px; padding: 0 5px; } .topbar-actions button svg { width: 14px !important; } .phase-heading { gap: 12px; } .phase-heading p { font-size: 11px; } .lesson-row { gap: 9px; padding: 16px 2px; } .lesson-row strong { font-size: 13px; } .lesson-duration { font-size: 10px; } .interactive-badge { font-size: 9px; } .lesson-rows { padding-left: 4px; } .primary-link, .secondary-link { font-size: 12px; } .overview-actions { gap: 9px; } .phase-marker { font-size: 14px; } .resource-strip { padding: 18px; } .next-module { flex-wrap: wrap; } .next-module .soon { margin-left: 0; } .objectives { padding: 18px; } .objectives li { font-size: 13px; } .video-pending { padding: 19px 15px; } .video-pending .status-label { display: none; } .concept p, .practice-step > p { font-size: 15px; } .exercise { padding: 22px 18px; } .code-block pre { font-size: 11px; } .line-number { min-width: 33px; padding: 0 8px 0 4px; } .lesson-pagination { gap: 16px; } .lesson-pagination strong { font-size: 13px; } .demo { padding: 16px; } .demo-top { align-items: flex-start; gap: 8px; } .demo-label { font-size: 12px; } .simulation { font-size: 9px; max-width: 120px; text-align: right; } .protocol-tabs { max-width: 100%; } .protocol-tabs button { font-size: 11px !important; padding: 4px 8px !important; } .endpoint { min-width: 65px; } .endpoint span { font-size: 8px; } .endpoint strong { font-size: 12px; } .connection-scene { gap: 9px; } .connection-track { font-size: 10px; } .connection-track small { font-size: 8px; white-space: normal; text-align: center; } .demo-result { padding: 10px; } .demo-result p { font-size: 11px; } .demo-controls { gap: 1px; } .demo-controls button { font-size: 11px !important; padding: 0 8px !important; } .packet { font-size: 11px; padding: 12px; } .request-path { gap: 3px; flex-wrap: wrap; } .request-path > div { gap: 4px; } .request-path small { font-size: 10px; } .request-path > div > svg { display: none; } .demo-footnote { font-size: 11px; } .page-footer { margin: 0 23px; font-size: 10px; flex-direction: column; gap: 3px; } .presentation .document-grid { padding: 30px 23px; } .presentation .lesson-title { font-size: 31px; } .presentation .code-block pre { font-size: 13px; } .presentation .concept p, .presentation .practice-step > p, .presentation .check-list li { font-size: 17px; } } @media print { [data-slot='sidebar'], .topbar, .toc, .page-footer, .demo-controls, .video-section, .lesson-pagination, .overview-actions, .copy-button, .back-link { display: none !important; } .document-grid, .presentation .document-grid { display: block; max-width: none; padding: 0; } .workspace { width: 100%; } .code-block pre { white-space: pre-wrap; overflow: visible; font-size: 10px; } .code-line { white-space: pre-wrap; } .code-block { break-inside: avoid; } .lesson-title { font-size: 27px; } .concept p, .practice-step > p { font-size: 12px; } .exercise details:not([open]) { display: none; } section { margin: 25px 0; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }