/* Resource detail: a quiet reading canvas with one compact utility rail. */
.resource-detail-body{background:#fff}
.resource-detail-body .site-header,.resource-detail-body .portal-footer{background:#fff}
.resource-detail-page{--resource-ink:#20304a;--resource-muted:#758197;--resource-border:#e8ecf2;max-width:1400px;width:calc(100% - 176px);padding:26px 0 56px;color:var(--resource-ink)}
.resource-detail-location{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-bottom:20px;font-size:13px;line-height:20px;color:var(--resource-muted)}
.resource-detail-back{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;color:#53627b}
.resource-detail-back .bi{font-size:16px}
.resource-detail-location a:hover{color:var(--red)}
.resource-detail .panel{border:1px solid var(--resource-border);border-radius:12px;box-shadow:none}
.resource-detail .resource-detail-hero{display:flex;align-items:center;gap:24px;min-height:148px;padding:28px 32px;background:#fff;margin-bottom:24px;border-color:transparent;border-bottom-color:#e1e7ef;border-radius:10px}
.resource-detail-logo{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;background:#f4f6f9;border:1px solid #edf0f4;border-radius:16px;color:#52739f;font-size:32px;overflow:hidden}
.resource-detail-logo img{width:100%;height:100%;padding:6px;object-fit:contain;border-radius:14px}
.resource-detail-title{flex:1;min-width:0}
.resource-detail-name{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-bottom:8px}
.resource-detail-name h1{margin:0;font-size:30px;line-height:1.3;font-weight:700;letter-spacing:-.5px;overflow-wrap:anywhere}
.resource-detail-name .tag{padding:4px 9px;background:#fff0f1;color:#d92530;border-radius:4px;font-size:12px;line-height:18px;overflow-wrap:anywhere;max-width:100%}
.resource-detail-title>p{margin:0;color:var(--resource-muted);font-size:14px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.resource-detail-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin-top:12px;font-size:13px;line-height:20px;color:#718099;font-variant-numeric:tabular-nums}
.resource-detail-metrics button,.resource-detail-views{display:inline-flex;align-items:center;gap:7px}
.resource-detail-metrics button{border:0;background:none;border-radius:4px;padding:0;color:inherit;font-size:inherit;line-height:inherit;transition:color .15s}
.resource-detail-metrics .bi{font-size:16px;line-height:1}
.resource-detail-metrics button:hover,.resource-detail-metrics button.active{color:var(--red)}
.resource-detail-metrics button:disabled{cursor:default;opacity:.65}
.resource-detail-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;padding-left:16px}
.resource-detail-actions:empty{display:none}
.resource-detail-actions .button{min-height:46px;padding:12px 20px;border-color:#d4dce7;border-radius:7px;font-size:14px;font-weight:600;white-space:nowrap}
.resource-detail-actions .button.primary{border-color:var(--red);box-shadow:0 3px 8px #ed272912}
.resource-detail-actions .button .bi{font-size:16px;font-weight:400}
.resource-detail-actions .button:not(.primary):hover{border-color:var(--red);background:#fffafb}
.resource-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 304px;align-items:start;gap:24px}
.resource-detail .resource-detail-content{min-width:0;min-height:400px;padding:0 30px 30px}
.resource-detail-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.resource-detail-tabs{display:flex;align-items:center;gap:34px;border-bottom:1px solid var(--resource-border);margin:0}
.resource-detail-tabs a{display:flex;align-items:center;justify-content:center;position:relative;min-height:64px;padding:18px 4px;font-size:16px;line-height:26px;font-weight:600;color:#7a8699}
.resource-detail-tabs a.active{color:var(--red)}
.resource-detail-tabs a.active:after{position:absolute;content:"";height:3px;bottom:-1px;left:0;right:0;background:var(--red);border-radius:2px 2px 0 0}
.resource-detail-tabs a:hover{color:var(--red)}
.resource-tab-content{padding-top:26px;scroll-margin-top:100px;overflow-wrap:anywhere}
.resource-detail-prose[data-resource-markdown]{color:#3d4d65;font-size:16px;line-height:1.9}
.resource-detail-prose p,.resource-detail-prose .md-editor-preview p{font-size:16px;line-height:1.9;margin:0 0 20px}
.resource-detail-prose [data-markdown-fallback]>:first-child,.resource-detail-prose .md-editor-preview>:first-child{margin-top:0}
.resource-detail-prose h2,.resource-detail-prose .md-editor-preview h2{font-size:24px;line-height:1.5;margin:32px 0 16px;color:var(--resource-ink)}
.resource-detail-prose h3,.resource-detail-prose .md-editor-preview h3{font-size:20px;line-height:1.5;margin:28px 0 14px;color:var(--resource-ink)}
.resource-detail-prose ol,.resource-detail-prose ul{padding-left:26px;margin:0 0 20px;line-height:1.9}
.resource-detail-prose pre{max-width:100%;overflow:auto;border-radius:8px}
.resource-detail-prose img{border-radius:6px}
.resource-detail-prose video{max-height:520px;border-radius:8px}
.resource-detail-prose .resource-detail-media{position:relative;min-width:0;margin:0 0 24px;line-height:0}
.resource-detail-prose .resource-detail-media--fit{display:flex;align-items:center;justify-content:center;padding:18px;background:#f5f7fa;border-radius:8px}
.resource-detail-prose .resource-detail-media--fit img{display:block;width:auto;max-width:100%;height:auto;max-height:clamp(240px,calc(100vh - 460px),560px);object-fit:contain;margin:0 auto;border-radius:5px}
.resource-detail-prose .resource-detail-media img{cursor:zoom-in}
.resource-detail-image-zoom{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #ffffff80;border-radius:6px;background:#23334bc9;color:#fff;font:500 12px/18px Arial,"Microsoft YaHei",sans-serif;transition:background .15s}
.resource-detail-image-zoom:hover{background:#20304a}
.resource-detail-rail{display:flex;flex-direction:column;align-self:stretch;gap:16px;min-width:0}
.resource-detail .resource-detail-sidebar{min-width:0;padding:22px 20px}
.resource-detail-recommendations{position:sticky;top:24px;display:grid;flex:none;gap:24px;min-width:0;max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dce0e6 transparent}
.resource-detail .resource-recent-events{min-width:0}
.resource-rail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.resource-rail-heading h2{position:relative;margin:0;padding-left:12px;font-size:17px;line-height:26px;font-weight:600;letter-spacing:.1px}
.resource-rail-heading h2:before{content:"";position:absolute;top:5px;bottom:5px;left:0;width:3px;background:var(--red);border-radius:2px}
.resource-rail-heading>a{display:inline-flex;align-items:center;gap:5px;color:#7a8494;font-size:12px;line-height:20px;white-space:nowrap;transition:color .16s}
.resource-rail-heading>a:hover{color:var(--red)}
.resource-recent-events .resource-rail-heading h2{padding-left:0;font-size:18px}
.resource-recent-events .resource-rail-heading h2:before{display:none}
.resource-recent-event-list{display:grid;margin:0;padding:0;list-style:none}
.resource-recent-event{display:block;min-width:0;overflow:hidden;border:1px solid #e8eaf0;border-radius:9px;background:#fff;transition:border-color .16s}
.resource-recent-event-cover{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#f5f7fa}
.resource-recent-event-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.resource-recent-event-copy{min-width:0;padding:18px}
.resource-recent-event-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.resource-recent-event-label,.resource-recent-event-state{display:inline-block;max-width:100%;padding:3px 7px;border-radius:4px;background:#fff0f1;color:#d92530;font-size:11px;line-height:16px;overflow-wrap:anywhere}
.resource-recent-event-state{background:#f4f6f9;color:#758197}
.resource-recent-event-copy h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:10px 0;color:#20304a;font-size:18px;font-weight:600;line-height:27px;overflow-wrap:anywhere}
.resource-recent-event-meta{display:flex;align-items:center;gap:7px;min-width:0;color:#738094;font-size:12px;line-height:22px}
.resource-recent-event-meta>.bi{flex-shrink:0;font-size:12px;line-height:1}
.resource-recent-event-meta>time{flex-shrink:0;font-variant-numeric:tabular-nums}
.resource-recent-event-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.resource-recent-event-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;margin-top:16px;padding:9px 14px;border-radius:6px;background:#fff1f2;color:#d92530;font-size:13px;font-weight:600;line-height:20px;transition:background .16s}
.resource-recent-event:hover,.resource-recent-event:focus-visible{border-color:#efabb0}
.resource-recent-event:hover .resource-recent-event-action,.resource-recent-event:focus-visible .resource-recent-event-action{background:#ffe5e8}
.resource-detail .resource-recent-event:focus-visible{outline-color:var(--red);outline-offset:2px}
.resource-recent-events-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:96px;border:1px dashed #e1e5eb;border-radius:6px;background:#fafbfc}
.resource-recent-events-empty>.bi{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#b1bac7;font-size:20px;line-height:1}
.resource-recent-events-empty>p{margin:0;color:#929bab;font-size:12px;line-height:20px}
.resource-detail .resource-detail-discovery{min-width:0;padding:24px 20px 16px;background:#fff;border-color:#e6e9ee;border-radius:10px}
.resource-detail-discovery .resource-rail-heading{margin-bottom:12px}
.resource-discovery-links{display:grid}
.resource-discovery-link{display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 0;border:0;border-bottom:1px solid #f0f2f5;background:#fff;transition:background .16s}
.resource-discovery-link:last-child{border-bottom:0}
.resource-discovery-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:#fff3f3;color:#d92530;font-size:19px;line-height:1}
.resource-discovery-copy{display:grid;gap:2px;flex:1;min-width:0}
.resource-discovery-copy strong{color:#334058;font-size:14px;line-height:21px;font-weight:600;transition:color .16s}
.resource-discovery-copy>span{color:#8792a3;font-size:12px;line-height:18px;white-space:nowrap}
.resource-discovery-arrow{flex-shrink:0;color:#a8b0bd;font-size:12px;line-height:1;transition:color .16s,transform .16s}
.resource-discovery-link:hover,.resource-discovery-link:focus-visible{background:#fff8f8}
.resource-discovery-link:hover strong,.resource-discovery-link:focus-visible strong,.resource-discovery-link:hover .resource-discovery-arrow,.resource-discovery-link:focus-visible .resource-discovery-arrow{color:#d92530}
.resource-discovery-link:hover .resource-discovery-arrow{transform:translateX(3px)}
.resource-detail .resource-discovery-link:focus-visible{outline-color:var(--red);outline-offset:2px}
.resource-detail-entries,.resource-detail-info{min-width:0}
.resource-detail-entries h2,.resource-detail-info h2{display:flex;align-items:center;gap:10px;margin:0;font-size:18px;line-height:26px;font-weight:600}
.resource-detail-entries h2 .bi,.resource-detail-info h2 .bi{font-size:20px;line-height:1;font-weight:400;flex-shrink:0;color:#566b8a}
.resource-detail-entries>p{margin:8px 0 20px 30px;color:var(--resource-muted);font-size:12px;line-height:20px}
.resource-detail-entry-list{display:grid;gap:10px}
.resource-detail-entry{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;border:1px solid #e9edf3;border-radius:7px;padding:12px 14px;color:#4c5e78;background:#f8f9fb;font-size:14px;line-height:24px;text-align:left;transition:background .15s,border-color .15s,color .15s}
.resource-detail-entry>span{min-width:0;flex:1;overflow-wrap:anywhere}
.resource-detail-entry .bi{flex-shrink:0;font-size:16px;line-height:1}
.resource-detail-entry .bi:last-child{font-size:14px;color:#8894a6}
.resource-detail-entry:first-child{background:#fff5f5;border-color:#f8dadc;color:#d92530}
.resource-detail-entry:first-child .bi:last-child{color:#d92530}
.resource-detail-entry:hover{background:#ffebed;border-color:#f2b8bf;color:#d92530}
.resource-detail-entry:disabled{cursor:default;opacity:.65}
.resource-detail-entries+.resource-detail-info{margin-top:28px;padding-top:26px;border-top:1px solid var(--resource-border)}
.resource-detail-facts{display:grid;margin:18px 0 0}
.resource-detail-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--resource-border);font-size:13px;line-height:22px}
.resource-detail-facts>div:last-child{border-bottom:0;padding-bottom:0}
.resource-detail-facts dt{color:var(--resource-muted);flex-shrink:0}
.resource-detail-facts dd{margin:0;color:#4c5e78;text-align:right;overflow-wrap:anywhere}
.resource-detail-facts time{font-variant-numeric:tabular-nums}
.resource-related-list{display:grid}
.resource-related-list>a{display:flex;align-items:center;gap:18px;padding:22px 8px;border-bottom:1px solid var(--resource-border);border-radius:6px;transition:background .15s}
.resource-related-list>a:first-child{padding-top:8px}
.resource-related-list>a:last-child{border-bottom:0}
.resource-related-list>a:hover{background:#f8fafc}
.resource-related-list img,.resource-related-logo{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;object-fit:contain;border-radius:10px;background:#f3f6fa;color:#718099;font-size:22px}
.resource-related-list>a>div{flex:1;min-width:0}
.resource-related-list strong{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.resource-related-list p{font-size:13px;line-height:1.8;color:var(--resource-muted);margin:5px 0 0;overflow-wrap:anywhere}
.resource-related-list>a>.bi{font-size:18px;color:#8b98ab;flex-shrink:0}
.resource-related-list>a:hover strong,.resource-related-list>a:hover>.bi{color:var(--red)}
.resource-muted{color:var(--resource-muted);font-size:14px;line-height:1.8;margin:12px 0}
.resource-preview-notice{border:1px solid #f3d595;border-radius:10px;background:#fff8e8;padding:14px 20px;margin-bottom:20px;font-size:14px;line-height:1.8}
.resource-preview-notice a{color:var(--blue);margin-left:18px}
.resource-detail :is(a,button):focus-visible,.resource-image-dialog :is(a,button):focus-visible{outline:2px solid #235cb0;outline-offset:4px}
.resource-detail-body .contact-dock{flex-direction:column;right:max(12px,calc((100% - 1400px)/2 - 76px));top:50%;bottom:auto;transform:translateY(-50%);width:60px;padding:4px;border-radius:10px}
.resource-detail-body .contact-dock button{flex-direction:column;gap:4px;min-height:58px;padding:9px 2px;font-size:10px;text-align:center;line-height:1.5}
.resource-detail-body .contact-dock .contact-dock-service{margin:3px 0 0}
.resource-image-open{overflow:hidden}
.resource-image-dialog{width:min(1120px,90vw);max-width:none;max-height:90vh;padding:0;border:0;border-radius:12px;color:#20304a;background:#f4f6f9;box-shadow:0 24px 80px #101d3440}
.resource-image-dialog::backdrop{background:#111c30bd}
.resource-image-toolbar{display:flex;align-items:center;gap:24px;position:sticky;top:0;z-index:1;height:64px;padding:0 24px;border-bottom:1px solid #e1e7ef;background:#fff}
.resource-image-toolbar h2{flex:1;margin:0;font-size:16px;font-weight:600}
.resource-image-toolbar a{display:inline-flex;align-items:center;gap:8px;color:#5b6c83;font-size:13px}
.resource-image-toolbar button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:6px;background:#f0f3f7;color:#435670;font-size:16px}
.resource-image-toolbar button:hover{color:var(--red);background:#fff0f1}
.resource-image-stage{display:flex;justify-content:center;padding:24px;min-height:200px;max-height:calc(90vh - 64px);overflow:auto}
.resource-image-stage img{display:block;max-width:100%;max-height:calc(90vh - 112px);width:auto;height:auto;object-fit:contain;align-self:flex-start}
@media(min-width:1680px){.resource-detail-body #contact-dock{right:max(12px,calc((100% - 1400px)/2 - 104px))}}
@media(min-width:1800px){.resource-detail-page{max-width:1480px}.resource-detail-columns{grid-template-columns:minmax(0,1fr) 320px;gap:28px}.resource-detail-body .contact-dock{right:max(12px,calc((100% - 1480px)/2 - 76px))}.resource-detail-body #contact-dock{right:max(12px,calc((100% - 1480px)/2 - 104px))}}
@media(max-width:1250px){.resource-detail-page{width:calc(100% - 160px)}.resource-detail .resource-detail-hero{padding:24px;gap:20px}.resource-detail-logo{width:72px;height:72px}.resource-detail-actions{gap:10px;padding-left:0}.resource-detail-actions .button{padding:11px 14px}.resource-detail-columns{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.resource-detail .resource-detail-content{padding-right:24px;padding-left:24px}.resource-detail .resource-detail-sidebar{padding:24px 20px}}
@media(max-width:1679px){.resource-detail-recommendations{max-height:calc(100dvh - 128px)}}
@media(max-height:940px){.resource-detail-recommendations{display:contents}.resource-detail .resource-detail-discovery{position:sticky;top:24px;flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.resource-detail-entry,.resource-related-list>a,.resource-detail-metrics button,.resource-detail-image-zoom,.resource-recent-event,.resource-recent-event-action,.resource-discovery-link,.resource-discovery-copy strong,.resource-discovery-arrow{transition:none}.resource-discovery-link:hover .resource-discovery-arrow{transform:none}}
