body {
  --skills-font-body: "Times New Roman", Times, serif;
  --skills-font-ui: Arial, Helvetica, sans-serif;
  font-family: var(--skills-font-body); line-height: 1.5; color: var(--black);
}
@media (max-width: 540px) {
  .skills-page .nav-brand { flex-shrink: 1; min-width: 0; gap: 12px; }
  .skills-page .nav-title { white-space: normal; font-size: 12px; line-height: 1.2; }
}
.catalogue-empty { grid-column: 1 / -1; padding: 28px; border: 1px solid var(--border); background: var(--light-grey); }
.catalogue-empty h2 { font-size: 28px; }
.catalogue-empty p { margin: 10px 0 18px; font-size: 17px; }
.preview-note a { text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 8px; }
.preview-bar, .demo-header, .eyebrow, label, input, button, .filter-label, .results,
.card-meta, .card-details summary, .card-details h4, .card-actions, .card-credit strong,
.using-steps strong, .button, .light-link, .demo-footer {
  font-family: var(--skills-font-ui);
  font-weight: 700;
}
.preview-bar { padding: 7px 20px; background: var(--light-grey); color: var(--black); font-size: 11px; text-align: center; border-bottom: 1px solid var(--border-light); }
.preview-bar span { color: var(--arup-red); margin: 0 7px; }
.demo-header { border-bottom: 1px solid var(--border); }
.demo-header-inner, .demo-container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.demo-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-brand { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.demo-brand img { width: 82px; height: auto; }
.brand-divider { color: var(--arup-red); padding: 0 3px; }
.header-links { display: flex; gap: 24px; font-size: 12px; align-items: center; }
.header-links button { border: 0; background: none; color: inherit; font-size: inherit; padding: 0; cursor: pointer; }
.header-links button:hover { text-decoration: underline; }
.header-links a:last-child { padding-left: 24px; border-left: 1px solid var(--border); }
.header-links a:hover, .help-link:hover, .light-link:hover { text-decoration: underline; }
.library-section { padding: 36px 0 64px; }
.eyebrow { font-size: 10px; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 20px; height: 2px; background: var(--arup-red); }
.library-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
h1, h2, h3 { font-family: var(--skills-font-heading, var(--skills-font-body)); font-weight: var(--skills-heading-weight, 400); }
h1 { font-size: clamp(38px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 10px; }
h1 span { color: var(--arup-red); }
.library-intro p { font-size: 18px; }
.help-link { font-family: var(--skills-font-ui); font-size: 12px; font-weight: 700; white-space: nowrap; padding: 11px 15px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--black); cursor: pointer; }
.help-link span { color: var(--arup-red); }
.preview-note { border-left: 2px solid var(--arup-red); padding: 2px 12px; margin-top: 18px; font-size: 14px; }
.library-note { margin-top: 12px; font-size: 14px; }
.library-note summary { width: fit-content; cursor: pointer; }
.library-note summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.library-note summary:focus-visible { outline: 2px solid var(--arup-red); outline-offset: 3px; }
.library-note p { max-width: 85ch; margin: 8px 0 0 18px; }
.library-note a { text-decoration: underline; text-underline-offset: 3px; }
.contributor-name, .contributor-count, .contributor-badge { font-family: var(--skills-font-ui); font-size: 12px; font-weight: 700; }
.contributor-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; background: var(--light-grey); font-size: 10px; }
.contributor-name { overflow-wrap: anywhere; }
.contributor-count { margin-left: auto; white-space: nowrap; }
.credits-status { font-size: 14px; margin-top: 10px; }
.credits-status:empty { display: none; }
.discovery-panel { margin-top: 26px; padding: 22px; background: var(--light-grey); border-radius: var(--radius-lg); }
.search-wrap { margin-top: 0; }
label, .filter-label { display: block; font-size: 12px; margin-bottom: 8px; }
.search-field { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.search-field:focus-within { outline: 3px solid var(--arup-red); outline-offset: 2px; }
.search-field svg { width: 20px; height: 20px; flex: none; margin-left: 16px; }
input { width: 100%; min-height: 50px; border: 0; border-radius: 0; background: transparent; padding: 12px; color: var(--black); font-size: 14px; }
input:focus { outline: none; }
.category-section { margin-top: 19px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.category-button { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 9px 12px; font-size: 11px; cursor: pointer; }
.category-button:hover { border-color: var(--black); }
.category-button.active { background: var(--black); color: var(--white); border-color: var(--black); }
.category-button span { margin-left: 6px; padding-left: 6px; border-left: 1px solid var(--border); }
.category-button.active span { border-color: rgba(255,255,255,.5); }
.results-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 22px 0 14px; }
.results { font-size: 12px; }
.results-actions { display: flex; align-items: center; gap: 16px; }
.view-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.view-switch button { display: inline-flex; align-items: center; gap: 7px; background: var(--white); color: var(--black); border: 0; border-radius: var(--radius); padding: 7px 12px; cursor: pointer; font-size: 12px; }
.view-switch svg { width: 17px; height: 17px; }
.view-switch button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.skill-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.skill-table { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; text-align: left; }
.skill-table caption { text-align: left; font-size: 14px; padding: 12px 20px; border-bottom: 1px solid var(--border-light); }
.skill-table th, .skill-table td { padding: 17px 20px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.skill-table thead th { background: var(--light-grey); font-family: var(--skills-font-ui); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.skill-table thead th:first-child { width: 44%; }
.skill-table thead th:nth-child(2) { width: 20%; }
.skill-table thead th:nth-child(3) { width: 16%; }
.skill-table thead th:last-child { width: 20%; }
.skills-page .skill-table thead th:nth-child(3), .skills-page .table-feedback { text-align: center; }
.table-feedback .skill-feedback { justify-content: center; }
.skill-table-row { cursor: pointer; }
.skill-table-row:hover, .skill-table-row.is-expanded { background: var(--light-grey); }
.skill-table-row.is-expanded th { box-shadow: inset 3px 0 var(--arup-red); }
.skill-table-row th { font-weight: 400; }
.skill-table-row .skill-name { border: 0; background: none; color: var(--black); text-align: left; font-size: 13px; line-height: 1.5; cursor: pointer; }
.skill-table-row .skill-name::before { content: "+"; display: inline-block; width: 18px; line-height: 18px; text-align: center; color: var(--arup-red); margin-right: 9px; border: 1px solid var(--border); border-radius: 3px; }
.skill-table-row .skill-name[aria-expanded="true"]::before { content: "\2212"; }
.table-summary { font-size: 15px; line-height: 1.4; margin-top: 5px; padding-left: 29px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.table-category { display: inline-block; font-size: 14px; line-height: 1.35; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--skills-font-ui); font-size: 10px; font-weight: 700; }
.status-chip::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--black); border-radius: 50%; flex: none; }
.status-chip[data-status="published"]::before { background: var(--black); }
.status-chip[data-status="draft"]::before { border-style: dashed; }
.skill-table td { font-size: 14px; }
.skill-table .download-link { font-family: var(--skills-font-ui); font-size: 11px; font-weight: 700; white-space: nowrap; gap: 0; background: var(--white); color: var(--black); border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 11px; }
.skill-table .download-link:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.skill-table-detail td { padding: 0; }
.table-detail-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding: 8px 28px 24px; border-left: 3px solid var(--arup-red); background: var(--light-grey); }
.table-detail-content .card-credit, .table-detail-content .source-link { grid-column: 1 / -1; }
.table-detail-content h4 { font-family: var(--skills-font-ui); font-weight: 700; font-size: 12px; margin: 16px 0 6px; }
.table-detail-content p, .table-detail-content li { font-size: 16px; }
.table-detail-content ul { padding-left: 20px; }
.clear-filters { padding: 3px; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 11px; }
.skill-grid-demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.skill-card-demo { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; min-width: 0; box-shadow: var(--shadow-sm); }
.skill-card-demo:hover { border-color: var(--black); }
.card-meta { display: flex; justify-content: space-between; gap: 10px; align-items: start; font-size: 10px; letter-spacing: .04em; }
.card-meta span:first-child { color: var(--arup-red); }
.card-meta .status-chip { padding: 3px 0; letter-spacing: 0; }
.skill-card-demo h3 { font-size: 23px; line-height: 1.15; margin: 17px 0 8px; }
.card-summary { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-details { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 12px; }
.card-details summary { font-size: 12px; cursor: pointer; }
.card-details h4 { font-size: 11px; margin: 16px 0 6px; }
.card-details p, .card-details li { font-size: 15px; }
.card-details ul { padding-left: 19px; }
.card-credit { margin-top: 16px; font-size: 14px; }
.card-credit strong { font-size: 11px; }
.source-link { display: inline-block; margin-top: 12px; font-family: var(--skills-font-ui); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.card-actions { margin-top: auto; padding-top: 18px; font-size: 12px; }
.skills-page .card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.download-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--black); color: var(--white); padding: 11px 13px; border-radius: var(--radius); }
.download-link:hover { background: var(--arup-red); color: var(--black); }
.card-error { font-size: 12px; }
.skill-feedback { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 14px; cursor: default; }
.skill-feedback-notice { margin-top: 12px; font-size: 14px; }
.skill-feedback-notice button { border: 0; background: none; color: var(--black); font-size: 12px; text-decoration: underline; cursor: pointer; }
.skill-feedback button { display: inline-flex; gap: 4px; align-items: center; justify-content: center; padding: 4px; min-width: 32px; min-height: 32px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--black); font-size: 13px; cursor: pointer; }
.skill-feedback button:hover { border-color: var(--border); background: var(--light-grey); }
.skill-feedback button[aria-pressed="true"] { border-color: var(--black); background: var(--light-grey); }
.skill-feedback button:disabled { opacity: .6; cursor: wait; }
.skill-feedback-status { flex-basis: 100%; font-size: 14px; font-weight: 400; letter-spacing: normal; overflow-wrap: anywhere; }
.skill-feedback-status:not(.is-error) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skill-feedback :focus-visible, .skill-feedback-dialog :focus-visible { outline: 2px solid var(--arup-red); outline-offset: 2px; }
.usage-dialog.skill-feedback-dialog { max-width: 480px; background: var(--white); }
.skill-feedback-dialog h2 { font-size: 24px; margin: 0; }
.skill-feedback-form { padding: 20px; }
.skill-feedback-form p { margin-bottom: 16px; font-size: 16px; }
.skill-feedback-form textarea { display: block; width: 100%; margin-top: 8px; padding: 8px; resize: vertical; border: 1px solid var(--border); background: var(--white); color: var(--black); font: 400 16px var(--skills-font-body); }
.skill-feedback-form button:disabled { opacity: .6; cursor: wait; }
.skill-feedback-form [role="status"] { margin: 12px 0 0; }
.empty-state { grid-column: 1 / -1; padding: 26px; background: var(--light-grey); font-size: 17px; }
.more-wrap { text-align: center; margin-top: 24px; }
.show-more { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 12px 24px; cursor: pointer; font-size: 12px; }
.show-more:hover { background: var(--light-grey); }
.dialog-open { overflow: hidden; }
.usage-dialog { width: calc(100% - 48px); max-width: 1080px; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--black); background: var(--light-grey); box-shadow: var(--shadow-xl); }
.usage-dialog::backdrop { background: rgba(0,0,0,.65); }
.usage-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; border-bottom: 1px solid var(--border); background: var(--white); }
.usage-dialog-bar > span { font-family: var(--skills-font-ui); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.usage-close { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--black); padding: 8px 10px; font-size: 12px; cursor: pointer; }
.usage-close:hover { background: var(--light-grey); }
.usage-close svg { width: 18px; height: 18px; }
.setup-dialog { max-width: 1000px; background: var(--white); }
.setup-dialog .usage-dialog-bar { display: block; padding: 22px 28px 0; }
.setup-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.setup-kicker { font-family: var(--skills-font-ui); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.setup-heading h2 { font-size: 32px; line-height: 1.15; margin: 6px 0 0; }
.setup-heading .usage-close { min-height: 40px; flex-shrink: 0; }
.setup-tabs { display: flex; gap: 24px; margin-top: 16px; }
.setup-tabs button { min-height: 44px; padding: 10px 2px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--black); font-size: 12px; cursor: pointer; }
.setup-tabs button[aria-selected="true"] { border-bottom-color: var(--arup-red); }
.setup-tabs button:hover { background: var(--light-grey); }
.setup-requirements { padding: 11px 14px; margin-bottom: 22px; background: var(--light-grey); border-left: 2px solid var(--arup-red); border-radius: var(--radius); }
.setup-requirements summary { font-family: var(--skills-font-ui); font-size: 11px; font-weight: 700; cursor: pointer; }
.setup-requirements summary::marker { color: var(--arup-red); }
.setup-requirements summary > span { margin-left: 10px; font-family: var(--skills-font-body); font-size: 14px; font-weight: 400; }
.skill-contributors-dialog { max-width: 560px; background: var(--white); }
.skill-contributors-dialog h2 { font-size: 24px; margin: 0; }
.skill-contributors-content { padding: 24px 28px; }
.skill-contributors-content > p { font-size: 14px; }
.skill-contributors-list { list-style: none; margin-top: 16px; }
.skill-contributors-list > li { border-top: 1px solid var(--border-light); }
.skill-contributors-list summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; }
.skill-contributors-dialog[open] .skill-contributors-list summary::after { content: "+"; font-family: var(--skills-font-ui); font-weight: 700; }
.skill-contributors-dialog[open] .skill-contributors-list details[open] > summary::after { content: "-"; }
.contributed-skills { padding-left: 20px; margin: 0 0 16px 38px; font-size: 15px; }
.contributed-skills li + li { margin-top: 5px; }
.using-layout { padding: 22px 28px 28px; }
h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; margin: 13px 0 12px; }
.contribute-layout p { font-size: 17px; }
.using-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 22px; }
.using-steps li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.setup-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; font-family: var(--skills-font-ui); font-size: 11px; font-weight: 700; }
.using-steps strong { font-size: 12px; }
.using-steps p { font-size: 14px; line-height: 1.45; margin-top: 4px; }
.using-steps a, .using-caution a { text-decoration: underline; text-underline-offset: 3px; }
.using-layout .using-caution { font-size: 14px; margin-top: 12px; }
.skill-resources { min-width: 0; }
.resource-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
.resource-guides { min-width: 0; }
.resource-guides h3 { font-size: 24px; line-height: 1.2; margin-bottom: 4px; }
.skill-resources ul { list-style: none; }
.skill-resources li { padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.skill-resources a { font-family: var(--skills-font-ui); font-weight: 700; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.skill-resources p { font-size: 14px; margin-top: 4px; }
.skill-resources .resource-note { margin-top: 16px; }
.skill-video { width: 100%; max-width: 360px; margin: 0; }
.skill-video.is-expanded { max-width: none; }
.skill-video.is-expanded, .skill-video.is-expanded + .resource-guides { grid-column: 1 / -1; }
.video-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.video-heading h3 { font-size: 20px; line-height: 1.2; }
.video-size-toggle { padding: 8px 10px; white-space: nowrap; }
.skill-video-player { width: 100%; aspect-ratio: 16 / 9; min-height: 200px; background: var(--black); }
.skill-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.skill-video figcaption { margin-top: 8px; font-size: 14px; }
.skill-walkthrough { min-width: 0; padding: 16px; background: var(--light-grey); border-radius: var(--radius-lg); }
.walkthrough-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.walkthrough-heading h3 { font-size: 22px; line-height: 1.2; }
.walkthrough-heading .show-more { min-height: 40px; padding: 10px 14px; background: var(--black); color: var(--white); border-color: var(--black); }
.walkthrough-heading .show-more:hover { background: var(--white); color: var(--black); }
.skill-walkthrough img { display: block; width: auto; max-width: 100%; height: auto; max-height: 40dvh; margin: 0 auto; }
.skill-walkthrough figcaption, #walkthrough-status { font-size: 14px; margin-top: 12px; }
.skill-walkthrough figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; }
.skill-walkthrough figcaption span { flex: 1; min-width: 200px; }
#walkthrough-status:empty { display: none; }
.skill-walkthrough figcaption a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.contribute-section { background: var(--black); color: var(--white); padding: 45px 0; }
.contribute-layout { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contribute-layout p { max-width: 620px; }
.contribute-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; background: var(--white); color: var(--black); padding: 13px 16px; font-size: 12px; }
.contribute-options { max-width: 440px; }
.contribute-actions button { border: 0; cursor: pointer; }
.contribute-actions .contribution-email { border: 1px solid var(--white); background: transparent; color: var(--white); }
.contribute-layout .contribute-contact-note { margin-top: 14px; font-size: 14px; }
.contribute-contact-note span { overflow-wrap: anywhere; }
.contribution-dialog { max-width: 1000px; background: var(--white); }
.contribution-dialog h2 { margin: 0; font-size: 28px; }
.contribution-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 28px; }
.contribution-content h3, .contribution-checklist legend { font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.contribution-pack p, .contribution-pack li { font-size: 16px; }
.contribution-pack ul { padding-left: 20px; margin-top: 16px; }
.contribution-pack li + li { margin-top: 12px; }
.contribution-pack .contribution-format-note { margin-top: 20px; font-size: 14px; }
.contribution-format-note a { text-decoration: underline; text-underline-offset: 3px; }
.contribution-checklist { border: 0; padding: 0; min-width: 0; }
.contribution-checklist > p { font-size: 14px; margin-bottom: 8px; }
.contribution-checklist label { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; margin: 0; font-family: var(--skills-font-body); font-size: 14px; font-weight: 400; cursor: pointer; }
.contribution-checklist label + label { border-top: 1px solid var(--border-light); }
.contribution-checklist input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--arup-red); }
.contribution-checklist input:focus-visible { outline: 3px solid var(--arup-red); outline-offset: 3px; }
.contribution-checklist strong { display: block; margin-bottom: 4px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; }
.contribution-checklist label > span > span { display: block; }
.contribution-dialog-footer { padding: 20px 28px; border-top: 1px solid var(--border); background: var(--light-grey); }
.contribution-dialog-footer .button { border: 1px solid var(--black); }
.contribution-dialog-footer .contribution-github { background: var(--black); color: var(--white); }
.contribution-dialog-footer p { margin-top: 14px; font-size: 14px; }
.light-link { color: var(--white); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.demo-footer { padding: 22px 0; font-size: 10px; }
.footer-meta { display: flex; justify-content: space-between; gap: 15px; }
.demo-footer strong { color: var(--arup-red); }
.footer-contributors { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.footer-contributors h2 { font-family: var(--skills-font-ui); font-size: 11px; font-weight: 700; margin: 0; }
.footer-contributors .credits-status { flex-basis: 100%; margin-top: 0; }
.contributor-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.playbook-contributor { display: flex; align-items: center; gap: 7px; }
.playbook-contributor .contributor-name { font-size: 11px; }
.footer-links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.footer-link { border: 0; background: none; color: var(--black); padding: 0; font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.contributor-note { margin-top: 18px; }
.skills-page {
  --skills-font-body: var(--font-body);
  --skills-font-ui: var(--font-body);
  --skills-font-heading: var(--font-display);
  --skills-heading-weight: 700;
  line-height: 1.7;
}
.skills-page .demo-container { padding-left: 24px; padding-right: 24px; }
.skills-page .skip-link { z-index: 300; }
.skills-page #library, .skills-page #contribute { scroll-margin-top: 58px; }
.skills-page .sub-hero { padding-top: 52px; }
.skills-page .sub-hero h1 { margin-top: 0; }
.skills-hero-panel { position: relative; min-width: 0; }
.skills-hero-panel h2 { font-size: 20px; margin: 0 0 16px; }
.skills-hero-note { max-width: 400px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.skills-catalogue-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 12px; border: 1px solid var(--border-light); border-radius: 20px; background: var(--white); font-size: 12px; font-weight: 600; }
.skills-catalogue-status::before, .catalogue-review-label::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--red); }
.skills-catalogue-status:hover { border-color: var(--red); }
.skills-starting-points { display: grid; gap: 14px; }
.skills-start-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 16px; width: 100%; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); color: var(--navy); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.skills-start-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.skills-start-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--bg-alt); color: var(--red); }
.skills-start-icon svg { width: 23px; height: 23px; }
.skills-start-copy { display: grid; gap: 6px; }
.skills-start-copy strong { font-family: var(--font-display); font-size: 19px; line-height: 1.25; }
.skills-start-copy > span { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.skills-start-arrow { font-size: 20px; color: var(--red); }
.skills-retirement-notice { margin-top: 58px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.skills-retirement-inner { display: flex; align-items: flex-start; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.skills-retirement-inner svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--red); }
.skills-retirement-inner p { font-size: 12px; line-height: 1.5; color: var(--navy); }
.skills-retirement-inner a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.skills-retirement-inner a:hover { color: var(--red); }
.skills-retirement-inner time { font-weight: 700; color: var(--navy); }
.skills-page .library-section { padding: 56px 24px; }
.skills-page .preview-note { font-size: 13px; color: var(--muted); }
.skills-page .results { color: var(--muted); }
.skills-page .catalogue-empty { padding: 32px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.skills-page .catalogue-empty h2 { margin-top: 0; font-size: 22px; }
.skills-page .catalogue-empty p { font-size: 14px; color: var(--muted); }
.catalogue-empty-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.catalogue-review-label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: var(--radius); background: var(--bg-alt); font-size: 11px; font-weight: 600; }
.skills-page .catalogue-empty h3 { font-size: 26px; line-height: 1.2; margin: 14px 0 12px; }
.catalogue-empty-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.catalogue-review-guide { padding: 22px; border: 1px solid var(--border-light); border-radius: var(--radius); background: var(--bg-alt); }
.catalogue-review-guide h4 { font-family: var(--font-display); font-size: 16px; line-height: 1.4; margin-bottom: 12px; }
.catalogue-review-guide ul { padding-left: 18px; font-size: 13px; color: var(--muted); }
.catalogue-review-guide li + li { margin-top: 9px; }
.skills-page .discovery-panel { background: var(--white); border: 1px solid var(--border); }
.skills-page .skill-card-demo { background: var(--white); }
.skills-page .skill-card-demo h3 { font-size: 20px; }
.skills-page .table-summary, .skills-page .card-summary { font-size: 14px; color: var(--muted); }
.skills-page .button { align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid var(--red); border-radius: var(--radius); background: var(--red); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.skills-page .button:hover { box-shadow: var(--shadow-sm); }
.skills-page .button.button-secondary { border-color: var(--border); background: var(--white); color: var(--navy); }
.skills-page .button.button-secondary:hover { border-color: var(--red); }
.skills-page .contribute-section { padding: 56px 24px; background: var(--white); color: var(--navy); }
.skills-page .contribute-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.skills-page .contribute-layout p { font-size: 14px; color: var(--muted); }
.skills-contribution-steps { display: grid; gap: 20px; list-style: none; margin-top: 28px; }
.skills-contribution-steps li { display: flex; align-items: start; gap: 14px; }
.skills-contribution-steps .setup-step-number { width: 32px; height: 32px; background: var(--bg-alt); color: var(--red); border-color: var(--border-light); }
.skills-contribution-steps h3 { font-size: 17px; line-height: 1.4; margin: 3px 0 5px; }
.skills-page .skills-contribution-steps p { font-size: 13px; }
.skills-page .contribute-options { max-width: none; padding: 28px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-alt); }
.skills-page .contribute-options > h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.skills-page .contribute-actions { margin-top: 20px; }
.skills-contact-route { padding: 20px 0; margin: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.skills-contact-route > strong { display: block; font-size: 14px; margin-bottom: 8px; }
.skills-contact-route .contribution-email { margin-top: 14px; }
.skills-page .contribution-email { border-color: var(--border); background: var(--white); color: var(--navy); }
.skills-page .light-link { color: var(--red); }
.skills-page .contribute-layout .contribute-contact-note { font-size: 12px; }
.skills-page .demo-footer { text-align: left; }
.skills-page .footer-meta { font-size: 12px; }
.skills-page .contribution-content h3, .skills-page .contribution-checklist legend { font-weight: 700; }
@media (max-width: 800px) {
  .catalogue-empty-layout, .skills-page .contribute-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 550px) {
  .skills-page .sub-hero { padding-bottom: 36px; }
  .skills-start-card { grid-template-columns: 36px minmax(0, 1fr) 16px; padding: 18px; gap: 12px; }
  .skills-start-icon { width: 36px; height: 36px; }
  .skills-start-copy strong { font-size: 17px; }
  .skills-page .library-section, .skills-page .contribute-section { padding: 40px 0; }
  .skills-page .catalogue-empty { padding: 24px; }
  .skills-page .contribute-options { padding: 24px; }
  .skills-page .footer-links { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .skills-start-card { transition: none; }
  .skills-start-card:hover { transform: none; }
}
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--arup-red); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .skill-grid-demo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-layout { grid-template-columns: minmax(0, 1fr); }
  .contribute-layout { align-items: flex-start; flex-direction: column; }
  .contribution-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 550px) {
  .demo-header-inner, .demo-container { padding-left: 20px; padding-right: 20px; }
  .demo-header-inner { min-height: 62px; align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 13px; padding-bottom: 13px; }
  .demo-brand { gap: 12px; }
  .demo-brand img { width: 70px; }
  .header-links { gap: 18px; font-size: 11px; flex-wrap: wrap; }
  .header-links a:last-child { border: 0; padding-left: 0; }
  .library-section { padding: 30px 0 45px; }
  .library-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .results-row { align-items: flex-start; flex-wrap: wrap; }
  .results-actions { flex-wrap: wrap; }
  .discovery-panel { padding: 16px; }
  .skill-table caption { font-size: 13px; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .category-button { flex: 0 0 auto; }
  .skill-grid-demo { grid-template-columns: 1fr; }
  .contribute-section { padding: 40px 0; }
  .usage-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .usage-dialog-bar { padding: 12px 16px; }
  .using-layout { padding: 20px 16px; }
  .setup-dialog .usage-dialog-bar { padding: 18px 16px 0; }
  .setup-heading { gap: 12px; }
  .setup-heading h2 { font-size: 26px; }
  .setup-tabs { gap: 20px; margin-top: 12px; }
  .setup-requirements summary > span { display: block; margin: 4px 0 0 14px; }
  .using-steps { grid-template-columns: 1fr; gap: 14px; }
  .walkthrough-heading { align-items: flex-start; flex-direction: column; }
  .skill-walkthrough { padding: 16px; }
  .skill-contributors-content { padding: 20px 16px; }
  .contribution-content, .contribution-dialog-footer { padding: 20px 16px; }
  .footer-links { margin-left: 0; }
  .footer-meta { flex-direction: column; }
}
