/* Chinese archive only; shared header, footer and article detail styles stay native. */
body:is(.amd-resource-archive,.amd-resource-detail){--resource-blue:#183c70;--resource-line:#e2d9cf;--resource-muted:var(--brand-muted,#6a5d53);--resource-orange:var(--brand-orange,#f37021)}
:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading{padding:34px 0 38px;background:#f5f4f1;border-bottom:1px solid var(--resource-line)}
:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading .breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--resource-muted);margin-bottom:17px}
:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading h1{font-family:inherit;font-size:36px;line-height:1.4;font-weight:600;color:var(--resource-blue);margin:0 0 12px}
:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading p{color:var(--resource-muted);font-size:16px;line-height:1.9;max-width:860px;margin:0}
.resource-archive-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:36px;align-items:start;padding-top:36px;padding-bottom:76px}
.resource-sidebar,.resource-results{min-width:0}
.resource-category-picker{border:1px solid var(--resource-line);background:#fff;border-radius:3px;overflow:hidden}
.resource-sidebar-title{list-style:none;background:var(--resource-blue);color:#fff;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer}
.resource-sidebar-title::-webkit-details-marker,.resource-category-group>summary::-webkit-details-marker{display:none}
.resource-sidebar-title strong{display:block;font-size:21px;font-weight:600;line-height:1.5}
.resource-sidebar-title small{display:block;font-size:13px;line-height:1.6;color:#dbe4f1;margin-top:4px}
.resource-sidebar-title>svg,.resource-category-group>summary>svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .18s}
.resource-category-picker[open]>.resource-sidebar-title>svg,.resource-category-group[open]>summary>svg{transform:rotate(180deg)}
.resource-category-list,.resource-category-list ul{list-style:none;padding:0;margin:0}
.resource-category-list>li+li{border-top:1px solid #eee8e0}
.resource-category-link{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 20px;border-left:3px solid transparent;color:var(--resource-blue);font-size:15px;line-height:1.7;transition:background .18s,color .18s}
.resource-category-link span{min-width:0;overflow-wrap:anywhere}
.resource-category-link small{font-size:12px;color:var(--resource-muted);font-weight:400}
.resource-category-link:hover{background:#f9f5f0;color:#b94708}
.resource-category-link.is-current{border-left-color:var(--resource-orange);background:#fff0e3;color:#b94708;font-weight:600}
.resource-category-group>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px 13px 23px;color:var(--resource-blue);font-size:15px;font-weight:500;list-style:none;cursor:pointer}
.resource-category-group>summary:hover{background:#f9f5f0}
.resource-category-group>ul{padding:0 0 8px;background:#fffdfa}
.resource-category-group>ul .resource-category-link{padding:9px 18px 9px 34px;font-size:14px;font-weight:400}
.resource-category-group>ul>li:first-child .resource-category-link{font-size:13px;color:var(--resource-muted)}
.resource-support{margin-top:24px;padding:22px 20px;border:1px solid var(--resource-line);border-radius:3px;background:#fff}
:is(.amd-resource-archive,.amd-resource-detail) .resource-support h2{font-family:inherit;font-weight:600;font-size:19px;line-height:1.6;color:var(--resource-blue);margin:0 0 8px}
.resource-support>p{font-size:13px;line-height:1.8;margin:0 0 16px;color:var(--resource-muted)}
.resource-support-phone{display:flex;align-items:center;gap:8px;white-space:nowrap;font-family:inherit;font-size:18px;font-weight:600;color:var(--resource-blue);margin-bottom:20px;letter-spacing:-.3px}
.resource-support-phone svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
.resource-support-button{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 14px;background:#c6500b;color:#fff9f1;font-size:14px;border-radius:2px}
.resource-support-button:hover{background:#a63e04;color:#fff}
.resource-support-button span{font-size:20px}
.resource-results{scroll-margin-top:28px}
.resource-list-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:20px;min-height:44px}
.resource-list-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
:is(.amd-resource-archive,.amd-resource-detail) .resource-list-heading h2{font-family:inherit;font-size:25px;line-height:1.5;font-weight:600;color:var(--resource-blue);margin:0}
.resource-list-heading p{font-size:14px;color:var(--resource-muted);margin:0}
.resource-search{position:relative;display:flex;align-items:center;width:280px;max-width:100%;border:1px solid #c9c4be;border-radius:3px;background:#fff}
.resource-search:focus-within{outline:2px solid var(--resource-blue);outline-offset:2px}
.resource-search input{min-width:0;width:100%;height:44px;border:0;background:transparent;padding:9px 8px 9px 15px;font-size:14px;color:var(--brand-ink,#29241f);outline:none}
.resource-search button{display:flex;align-items:center;justify-content:center;align-self:stretch;padding:0 14px;border:0;background:transparent;color:var(--resource-muted)}
.resource-search button:hover{color:var(--resource-blue);background:#f4f4f2}
.resource-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.resource-search-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0 18px;font-size:14px;overflow-wrap:anywhere}
.resource-search-summary p{margin:0;color:var(--resource-muted)}
.resource-search-summary a{color:var(--resource-blue);white-space:nowrap}
.resource-article-list{display:grid;gap:14px}
.resource-article-row{position:relative;padding:18px 54px 20px 22px;background:#fff;border:1px solid var(--resource-line);border-radius:3px;min-width:0;transition:background .18s,border-color .18s}
.resource-article-row:hover,.resource-article-row:focus-within{background:#f2f5f9;border-color:#c5d1e0}
.resource-article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 7px;color:var(--resource-muted);font-size:12px;line-height:1.7}
.resource-article-meta>span[aria-hidden]{color:#bcb2a7}
:is(.amd-resource-archive,.amd-resource-detail) .resource-article-row h3{font-family:inherit;font-size:20px;font-weight:500;line-height:1.6;margin:0 0 8px;color:var(--resource-blue);overflow-wrap:anywhere}
.resource-article-row h3 a{display:block}
.resource-article-row h3 a:hover{color:#b94708}
.resource-article-arrow{position:absolute;right:22px;top:50%;transform:translateY(-50%);color:#cc5b16;font-size:23px;font-weight:400}
.resource-article-row>p{font-size:14px;line-height:1.9;color:var(--resource-muted);margin:0;overflow-wrap:anywhere}
.resource-list-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding-top:28px;color:var(--resource-muted);font-size:13px}
.resource-list-footer>p{margin:0}
.resource-pagination{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.resource-pagination>a,.resource-pagination>span:not(.pagination-gap){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:38px;min-height:40px;padding:8px 12px;border:1px solid #cdc6bd;border-radius:3px;background:#fff;color:var(--resource-blue);font-size:14px;line-height:1.5}
.resource-pagination>a:hover{border-color:var(--resource-blue);background:#f0f4f9}
.resource-pagination>.is-current{background:var(--resource-blue)!important;border-color:var(--resource-blue)!important;color:#fff!important}
.resource-pagination>.is-disabled{background:#f3f1ee!important;color:#99918a!important;border-color:#e6e1da!important}
.resource-pagination>.pagination-gap{padding:0 3px}
.resource-empty{padding:50px 24px;border:1px solid var(--resource-line);background:#fff;text-align:center}
.resource-empty h3{font-size:21px;color:var(--resource-blue);margin-bottom:12px}
.resource-empty p{font-size:15px;color:var(--resource-muted);margin-bottom:18px}
.resource-empty a{color:var(--resource-blue);font-size:15px}
@media(min-width:821px){.resource-sidebar-title>svg{display:none}}
@media(max-width:1100px){.resource-archive-layout{grid-template-columns:230px minmax(0,1fr);gap:26px}.resource-support{padding:20px 16px}.resource-support-phone{font-size:17px}.resource-search{width:245px}.resource-list-toolbar{align-items:flex-start}}
@media(max-width:820px){.resource-archive-layout{grid-template-columns:minmax(0,1fr);gap:26px;padding-top:24px;padding-bottom:44px}.resource-support{display:none}.resource-sidebar-title{padding:15px 18px}.resource-sidebar-title strong{font-size:18px}.resource-sidebar-title small{font-size:12px}.resource-category-list>li+li{border-top-color:#eee8e0}.resource-list-toolbar{gap:16px}.resource-list-heading h2{font-size:23px!important}.resource-search{width:100%}:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading{padding:25px 0 28px}:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading h1{font-size:30px}:is(.amd-resource-archive,.amd-resource-detail) .resource-archive-heading p{font-size:14px}.resource-article-row{padding:17px 38px 18px 17px}:is(.amd-resource-archive,.amd-resource-detail) .resource-article-row h3{font-size:18px}.resource-article-arrow{right:14px;font-size:20px}.resource-article-row>p{font-size:14px;line-height:1.9}.resource-article-meta{font-size:11px;gap:8px}.resource-list-footer{gap:15px;padding-top:24px}.resource-pagination{order:3;width:100%;justify-content:center}.resource-pagination>a,.resource-pagination>span:not(.pagination-gap){min-height:44px;min-width:42px;padding:9px 13px}.resource-page-position{margin-left:auto!important}}
@media(prefers-reduced-motion:reduce){.resource-archive-layout *{transition:none!important}}

/* Article reading uses the same left navigation and a full-width content column. */
.amd-resource-detail .resource-detail-heading h1{font-size:clamp(27px,3vw,36px);max-width:30em;line-height:1.55}
.resource-detail-content{min-width:0}
.amd-resource-detail .entry-layout{display:block}
.amd-resource-detail .entry-content{width:100%;min-width:0}
.amd-resource-detail .entry-aside{width:100%;max-width:none;margin-top:36px;padding:26px 0 0;border-top:1px solid var(--resource-line);background:transparent}
.amd-resource-detail .entry-aside h2{font-family:inherit;font-weight:500;font-size:23px;color:var(--resource-blue)}
.amd-resource-detail .entry-content img{max-width:100%}
@media(min-width:821px){.resource-detail-layout>.resource-sidebar{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto;scrollbar-width:thin}}
@media(max-width:820px){.amd-resource-detail .resource-detail-heading h1{font-size:26px}.amd-resource-detail .resource-detail-layout{gap:28px}}
