*{box-sizing:border-box}body{margin:0;background:#ffffff;color:#0f172a;font:16px/1.7 system-ui}a{color:#0b57d0}header,main,footer{max-width:1160px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:18px;align-items:center}.brand{font-weight:800;text-decoration:none;font-size:22px}nav{display:flex;gap:18px;flex-wrap:wrap}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:36px;align-items:center;padding:30px 0 50px}h1{font-size:clamp(34px,5vw,56px);line-height:1.25;margin:14px 0}h2{font-size:28px;margin:0 0 12px}p{color:#64748b}.hero img{width:100%;height:auto;max-width:380px;border-radius:28px}.eyebrow{font-weight:700;letter-spacing:.08em;color:#475569}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;min-height:48px;background:#0b57d0;color:white;border-radius:12px;text-decoration:none;font-weight:700}.secondary{background:#f1f5f9;color:#0b57d0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:24px;background:white;border:1px solid #e2e8f0;border-radius:20px;margin-bottom:20px}.card h3{margin:0 0 8px;font-size:20px}.note{padding:18px;background:#f1f5f9;border-radius:14px;color:#465f50;font-size:14px}section{scroll-margin-top:20px;margin-bottom:36px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pill{display:inline-block;background:#f1f5f9;border-radius:30px;padding:6px 12px;font-size:13px}.download{display:grid;grid-template-columns:1fr 1fr;gap:18px}.disabled{color:#64748b;background:#f1f5f9;padding:12px;border-radius:12px;display:inline-block}.fine{font-size:13px;overflow-wrap:anywhere}a:focus-visible{outline:3px solid #ba8c40;outline-offset:4px}footer{border-top:1px solid #e2e8f0;color:#64748b;font-size:14px}@media(max-width:700px){header{align-items:flex-start;flex-direction:column;gap:10px}.brand{white-space:nowrap}header,main,footer{padding:18px}.hero{grid-template-columns:1fr;padding-top:14px;gap:22px}.hero img{max-width:180px;justify-self:center}.grid,.steps,.download{grid-template-columns:1fr}nav{gap:12px;font-size:14px}}
nav a[aria-current=page]{font-weight:800;border-bottom:2px solid #0b57d0}.portalnav{max-width:1160px;margin:0 auto 16px;padding:12px 24px;display:flex;gap:18px;flex-wrap:wrap;border-block:1px solid #e2e8f0}.lead{max-width:780px}.sectionhead{display:flex;justify-content:space-between;gap:18px;align-items:center}.list{display:grid;gap:12px}.row{padding:18px;background:white;border:1px solid #e2e8f0;border-radius:14px}.row a{font-weight:700}.row p{margin:6px 0}.filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}label{display:grid;gap:6px;font-weight:600}input,select,textarea{font:inherit;padding:12px;border:1px solid #cbd5e1;border-radius:10px;max-width:100%;background:white;color:#0f172a}textarea{width:100%;min-height:180px}button{font:inherit;cursor:pointer;border:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ba8c40;outline-offset:3px}.status{font-size:14px;color:#526a5b}.hidden,[hidden]{display:none!important}.featurelink{display:block;text-decoration:none}.featurelink:hover{border-color:#0b57d0;background:#f1f5f9}.featurelink p{font-weight:400}.number{font-size:32px;color:#b1813d;font-weight:800}.checklist label{display:flex;align-items:flex-start;margin:12px 0;font-weight:400}.checklist input{margin-top:8px}.hero-small h1{font-size:clamp(30px,4vw,44px)}.hero-small{padding:20px 0 32px}.footerlinks{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0}summary{cursor:pointer;font-weight:700}details p{margin-bottom:0}article,section{min-width:0}main{overflow-wrap:anywhere}.news-date{display:block;font-size:13px;color:#64748b;margin-top:6px}.label{color:#8a632b;font-size:13px}.output{white-space:pre-wrap}.wide{grid-column:1/-1}@media(max-width:700px){.portalnav{padding:12px 18px;gap:12px;font-size:14px}.sectionhead{align-items:flex-start;flex-direction:column}.filters>*{width:100%}}

.lesson ol{padding-left:24px}.lesson li{margin:14px 0}.lesson li label{display:flex;align-items:flex-start;gap:10px;font-weight:400}.lesson-step{width:20px;height:20px;flex-shrink:0;margin:4px 0 0;accent-color:#0b57d0}.lesson li:has(input:checked) span{color:#64748b;text-decoration:line-through}

/* Original editorial photo heroes, 2026-10-07 */
body{font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif}.hero{grid-template-columns:1.05fr 1fr;gap:32px}.hero-photo{margin:0;min-width:0;align-self:center}.hero .hero-photo img,.photo-hero .hero-photo img{display:block;width:100%;max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:24px;box-shadow:0 12px 36px #0f172a14}.hero-photo figcaption{font-size:12px;color:#64748b;margin-top:10px;text-align:right}.photo-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center;padding:24px 0 38px}.photo-hero h1{margin:12px 0 16px}.photo-hero .lead{margin-bottom:0}.card{box-shadow:0 3px 14px #0f172a04}.portalnav a{text-decoration:none;padding:3px 0}.portalnav a:hover{color:#0f172a}header .brand{letter-spacing:-.025em}.hero-copy{min-width:0}
@media(max-width:700px){.hero,.photo-hero{grid-template-columns:1fr;gap:20px;padding:12px 0 28px}.hero-photo{order:-1}.hero .hero-photo img,.photo-hero .hero-photo img{max-width:none;border-radius:18px}.hero-photo figcaption{font-size:11px;margin-top:6px}.hero h1{font-size:36px;margin-top:10px}.photo-hero h1{font-size:30px}.hero .eyebrow,.hero-small .eyebrow{font-size:13px}.hero-copy p{font-size:15px}}

header nav a{text-decoration:none;color:#426558}header nav a:hover{color:#0f172a;text-decoration:underline}.hero .actions{gap:10px}.hero .actions .button{padding-inline:16px}

.skip-link{position:absolute;left:18px;top:-100px;z-index:100;background:#0f172a;color:white;padding:12px 18px;border-radius:8px}.skip-link:focus{top:12px}.portalnav a,header nav a{display:inline-flex;min-height:44px;align-items:center}.portalnav{gap:6px 18px}.portalnav a:focus-visible{outline:3px solid #ba8c40;outline-offset:3px}#main-content:focus{outline:none}@media(max-width:700px){.portalnav{gap:4px 14px;padding-block:6px}header nav{gap:4px 14px}}

.print-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:24px}
@media print{
 @page{margin:16mm}body{background:white;color:#111;font-size:11pt;line-height:1.5}header,.portalnav,.skip-link,.hero-photo,footer,.print-actions,.filters,button{display:none!important}main{max-width:none;margin:0;padding:0}.hero-small,.photo-hero{display:block;padding:0 0 14px}.hero-small h1{font-size:24pt}.hero-small p{color:#333}.grid,.steps{display:block}.card,.row,.note{box-shadow:none;border:1px solid #aaa;border-radius:0;padding:14px;margin-bottom:14px;break-inside:avoid}.card h3{font-size:15pt}.lesson li:has(input:checked) span{text-decoration:none;color:#333}.lesson-step{appearance:auto;print-color-adjust:exact}.lesson-progress{color:#111}.resource[hidden]{display:none!important}a{color:#111;text-decoration:none}a[href^="https://"]::after{content:" (" attr(href) ")";display:block;font-size:9pt;overflow-wrap:anywhere}.button{display:none!important}.footerlinks{display:block}.footerlinks a{display:block;margin:8px 0}section{margin-bottom:18px}
}

/* 手机端：栏目导航单行横向滑动，避免占用三行高度 */
@media(max-width:700px){.portalnav{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px 16px;gap:4px 14px;scrollbar-width:thin}.portalnav a{flex:none;white-space:nowrap}}

/* 统一视觉：字体、字号与蓝色主色，与 richtexteditor.com 一致 */
body{font-family:"Google Sans","Google Sans Text",Roboto,"Segoe UI",system-ui,Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;color:#334155;background:#fff}
h1,h2,h3,h4{color:#0f172a}
a{color:#0b57d0}a:hover{color:#0842a0}
button,.button,.btn,input[type=submit]{background:#0b57d0;color:#fff;border-color:#0b57d0}button:hover,.button:hover,.btn:hover,input[type=submit]:hover{background:#0842a0;border-color:#0842a0}

/* 主题：参照 gethostlogic.com（浅蓝背景、白色卡片、Google 蓝主色、胶囊按钮） */
body{background:#f8fafd;color:#444746;font-family:"Google Sans","Google Sans Text",Roboto,"Segoe UI",system-ui,-apple-system,Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px}
h1,h2,h3,h4{color:#1f1f1f}
a{color:#0b57d0}a:hover{color:#0842a0}
header{background:transparent}.portalnav{border-color:#dde3ea}nav a[aria-current=page]{border-bottom-color:#0b57d0;color:#1f1f1f}
.card{background:#fff;border-color:#dde3ea}
.button,button,.btn,input[type=submit]{border-radius:999px;background:#0b57d0;color:#fff;border:1px solid #0b57d0}
.button:hover,button:hover,.btn:hover,input[type=submit]:hover{background:#0842a0;border-color:#0842a0;color:#fff}
.button.secondary{background:#fff;color:#0b57d0;border:1px solid #c4c7c5}.button.secondary:hover{background:#f0f4f9;color:#0842a0;border-color:#c4c7c5}
.eyebrow{color:#0b57d0}
