| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766 |
- @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;
- }
- }
|