/* Foundry 4.213 — design pass. Same palette, quieter surfaces.
   Idea: the bus stop and the printed timetable. Pages read like timetable sheets (flat panels, one forest
   rule where content is a timetable), route numbers are stop-flag plates, and live services are shown on
   destination-blind displays. Everything else stays calm. Colours come from the existing theme tokens, so
   Default, Light, Dark and Halloween themes, and company appearance presets, keep working. */

/* 1. Retune the shared reskin tokens: flat surfaces, crisper edges, no drifting gradients. */
html body[data-foundry-reskin],
html[data-theme] body[data-foundry-reskin]{
  --ui-a:var(--site-surface);--ui-b:var(--site-surface);--ui-c:var(--site-surface);
  --ui-edge:var(--site-line);--ui-radius:10px;--ui-shadow:none;
  --ui-action-b:var(--ui-action-a);
  --tf-plate-radius:6px;--tf-control-radius:8px;--tf-sheet-radius:10px;
}
body[data-foundry-reskin] :is(.tf-ui-surface,.tf-ui-hero,.tf-ui-action,.tf-site-header,.footer-support-centre){animation:none!important}
html body[data-foundry-reskin] :is(.tf-ui-surface.tf-ui-surface,.tf-ui-hero.tf-ui-hero){background-image:none!important;box-shadow:none!important}

/* 2. Type: one family, tighter headings, figures that line up. */
body[data-foundry-reskin]{font-feature-settings:"kern" 1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body[data-foundry-reskin] :is(h1,h2,h3){letter-spacing:-.022em;text-wrap:balance}
body[data-foundry-reskin] h1{font-weight:800;line-height:1.02}
body[data-foundry-reskin] :is(p,li){text-wrap:pretty}
body[data-foundry-reskin] :is(table,time,.op-live-vehicle,.op-reg,.us-text,.directory-copy small){font-variant-numeric:tabular-nums}

/* Labels: sentence case, no tracking, no pill. Redundant ones are removed. */
html body[data-foundry-reskin] .eyebrow,
html body[data-foundry-reskin][data-foundry-reskin=full] :is(.eyebrow,.tools-heading .eyebrow,.support-hero .eyebrow){
  display:block;padding:0;border:0;background:none;box-shadow:none;border-radius:0;
  text-transform:lowercase;letter-spacing:0;font-size:14px;font-weight:600;color:var(--site-muted)}
html body[data-foundry-reskin] .eyebrow::first-letter{text-transform:uppercase}
html body[data-foundry-reskin] #dashboard .welcome-copy>.eyebrow,
html body[data-foundry-reskin] .company-hero .eyebrow,
html body[data-foundry-reskin] .company-hero .company-page-label{display:none!important}

/* 3. Site header: a plain bar, not a floating gradient capsule. */
html body[data-foundry-reskin] .tf-site-header.nav{background:var(--site-surface)!important;border:1px solid var(--site-line);border-radius:12px;box-shadow:none!important}
html body[data-foundry-reskin] .tf-site-header :is(nav,.nav-links,.site-links)>a[aria-current=page]{box-shadow:inset 0 -2px var(--site-brand)}

/* 4. Controls: one radius per role. Buttons 8px, plates 6px, sheets 10px; only tags are pills. */
html body[data-foundry-reskin] :is(button,.button,a.button,input[type=submit]){border-radius:var(--tf-control-radius)}
html body[data-foundry-reskin] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:var(--tf-control-radius)}
html body[data-foundry-reskin] :is(button.secondary,.button.secondary,a.button.secondary){background:var(--site-surface)!important;color:var(--site-brand);border:1px solid var(--site-line);box-shadow:none!important}
html body[data-foundry-reskin] :is(button.secondary,.button.secondary):hover{background:var(--site-soft)!important;border-color:var(--site-brand)}
html body[data-foundry-reskin] :is(main,dialog,.tf-site-header,.site-footer) .tf-ui-action.tf-ui-action:not(:disabled){box-shadow:none!important}
html body[data-foundry-reskin] :is(button,.button):focus-visible{outline:3px solid var(--site-focus);outline-offset:2px}
html body[data-foundry-reskin] [class*=card]:hover{transform:none!important}
html body[data-foundry-reskin] dialog{border-radius:12px}

/* 5. Homepage: the hero sits on the page; the live board is the one bold object. */
html body[data-foundry-reskin] #dashboard .welcome-home{background:none!important;border:0!important;padding-inline:4px;gap:48px;align-items:start}
html body[data-foundry-reskin] #dashboard .welcome-home h1{font-size:clamp(44px,6.4vw,84px);letter-spacing:-.035em;margin:8px 0 18px}
html body[data-foundry-reskin] #dashboard .welcome-home h1 .home-accent{color:inherit}
html body[data-foundry-reskin] #dashboard .welcome-copy>p{max-width:34em;font-size:18px}
html body[data-foundry-reskin] #dashboard .home-live-preview{background:#20322e!important;color:#f6f4ec;border:0!important;border-radius:14px;padding:20px 20px 16px;box-shadow:0 1px 0 #0000000d,0 18px 40px -24px #20322e99!important}
html body[data-foundry-reskin] #dashboard .home-live-preview .preview-top{border-bottom:1px solid #f6f4ec26;padding-bottom:12px;color:#a8c9ae}
html body[data-foundry-reskin] #dashboard .home-live-preview .preview-top span{text-transform:none;letter-spacing:0;font-size:15px;font-weight:700;color:#f6f4ec}
html body[data-foundry-reskin] #dashboard .home-live-preview .preview-top a{color:#a8c9ae}
html body[data-foundry-reskin] #dashboard .home-live-preview .preview-footer{color:#a8c9ae;opacity:.8;font-size:13px;border-top:1px solid #f6f4ec1f;padding-top:10px}
html body[data-foundry-reskin] #dashboard .home-live-preview .muted{color:#a8c9ae}

/* 6. Destination-blind live rows (homepage, operator overview, route pages). */
html body[data-foundry-reskin] .op-live-row{background:#20322e;color:#f6f4ec;border:0;border-radius:8px;padding:12px 14px;gap:16px}
html body[data-foundry-reskin] .op-live-row:hover{background:#26403a}
html body[data-foundry-reskin] .op-live-row:focus-visible{outline:3px solid #a8c9ae;outline-offset:2px}
html body[data-foundry-reskin] .op-live-row .op-badge{background:#a8c9ae;color:#20322e;box-shadow:none;min-width:48px;min-height:40px;font-size:20px}
html body[data-foundry-reskin] .op-live-copy strong{font-size:18px;font-weight:700;letter-spacing:.005em;color:#f6f4ec}
html body[data-foundry-reskin] .op-live-copy small,html body[data-foundry-reskin] .op-live-vehicle small{color:#a8c9ae}
html body[data-foundry-reskin] .op-live-vehicle{color:#f6f4ec}
html body[data-foundry-reskin] .op-live-row.is-layover{opacity:1}
html body[data-foundry-reskin] .op-live-row.is-layover .op-badge{background:transparent;color:#a8c9ae;box-shadow:inset 0 0 0 2px #a8c9ae}
html body[data-foundry-reskin] .home-live-preview .op-live-row{background:#ffffff0a}
html body[data-foundry-reskin] .home-live-preview .op-live-row:hover{background:#ffffff14}
html body[data-foundry-reskin] .op-more{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* 7. Route numbers as stop-flag plates: solid colour, a white keyline, square-ish corners. */
html body[data-foundry-reskin] :is(.company-route-number,.op-badge){border-radius:var(--tf-plate-radius);box-shadow:inset 0 0 0 2px #ffffffd9,0 0 0 1px var(--cp-accent,var(--site-brand));font-weight:800;letter-spacing:-.02em}
html body[data-foundry-reskin] .op-badge-sm{box-shadow:inset 0 0 0 1.5px #ffffffd9}

/* 8. Timetable sheets: forest header band, hairline rows, timing points in bold. */
html body[data-foundry-reskin] .company-timetable-section{border-top:3px solid var(--cp-accent,var(--site-brand));padding-top:12px;margin-top:22px}
html body[data-foundry-reskin] .company-timetable-section h4{margin:0 0 10px;font-size:17px}
html body[data-foundry-reskin] .company-timetable-scroll{border:1px solid var(--site-line);border-radius:var(--tf-sheet-radius);background:var(--site-surface);box-shadow:none}
html body[data-foundry-reskin] .company-timetable-scroll table{border-collapse:collapse;width:100%}
html body[data-foundry-reskin] .company-timetable-scroll thead th{background:var(--cp-accent,var(--site-brand));color:var(--company-onAccent,var(--site-on-brand,#fff));font-weight:700;padding:9px 12px;text-align:right;border:0}
html body[data-foundry-reskin] .company-timetable-scroll thead th:first-child{text-align:left}
html body[data-foundry-reskin] .company-timetable-scroll tbody th{font-weight:650;text-align:left;padding:8px 12px;white-space:nowrap}
html body[data-foundry-reskin] .company-timetable-scroll tbody td{text-align:right;padding:8px 12px}
html body[data-foundry-reskin] .company-timetable-scroll tbody tr+tr :is(th,td){border-top:1px solid var(--site-line)}
html body[data-foundry-reskin] .company-timetable-scroll tbody tr:first-child th,html body[data-foundry-reskin] .company-timetable-scroll tbody tr:last-child th{font-weight:800}
html body[data-foundry-reskin] .company-timetable-scroll tbody tr:hover{background:var(--site-soft)}

/* 9. Stop line on route pages: a drawn route, not a list of circles. */
html body[data-foundry-reskin] .company-stop-line .company-stop-dot{border-radius:50%;border-width:3px;font-size:0;width:16px;height:16px;min-width:16px}
html body[data-foundry-reskin] .company-stop-line li:first-child .company-stop-dot,html body[data-foundry-reskin] .company-stop-line li:last-child .company-stop-dot{background:var(--cp-accent,var(--site-brand))}

/* 10. Operator page: the tab bar is a rule with a marker, not a row of pills. */
html body[data-foundry-reskin] .company-page-tabs{border-radius:10px;background:var(--site-surface)!important;backdrop-filter:none}
html body[data-foundry-reskin] .company-page-tabs .company-page-card[aria-current=page]{background:transparent!important;color:var(--cp-accent,var(--site-brand))!important;box-shadow:inset 0 -3px var(--cp-accent,var(--site-brand))!important;border-radius:0!important}
html body[data-foundry-reskin] .op-table-scroll{border-radius:var(--tf-sheet-radius)}
html body[data-foundry-reskin] .op-vehicle-table th{text-transform:none;letter-spacing:0;font-size:13px;font-weight:700;color:var(--site-fg)}
html body[data-foundry-reskin] .op-reg{border-radius:3px;box-shadow:inset 0 0 0 1px #0000002e}

/* 11. Search box and footer help panel follow the same calm surfaces. */
html body[data-foundry-reskin] .us-form{border-radius:12px;box-shadow:none;border-width:2px}
html body[data-foundry-reskin] .us-results{border-radius:12px}
html body[data-foundry-reskin] .us-kind{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}
html body[data-foundry-reskin] .footer-support-centre{background:var(--site-surface)!important;box-shadow:none!important;border-radius:var(--tf-sheet-radius)}

/* 12. Dashboard workflow strip: the steps really are a sequence, so they keep their numbers. */
html body[data-foundry-reskin] .ops-workflow li{background:var(--site-surface);border-radius:8px}
html body[data-foundry-reskin] .ops-step-number{border-radius:6px;box-shadow:inset 0 0 0 2px #ffffffd9}

@media (prefers-reduced-motion:reduce){html body[data-foundry-reskin] *{scroll-behavior:auto!important}}
@media (max-width:700px){html body[data-foundry-reskin] #dashboard .welcome-home{gap:28px;padding-inline:0}html body[data-foundry-reskin] #dashboard .welcome-home h1{font-size:clamp(40px,12vw,56px)}}
/* Decorative glow layers behind the hero are removed. */
html body[data-foundry-reskin] #dashboard .welcome-home::before,html body[data-foundry-reskin] #dashboard .welcome-home::after{display:none!important}
html body[data-foundry-reskin] .company-stop-line .company-stop-dot{box-sizing:border-box;width:16px!important;height:16px!important;min-height:16px;aspect-ratio:1;padding:0;line-height:0;flex:0 0 16px}
html body[data-foundry-reskin] :is(button.secondary,.button.secondary,a.button.secondary){color:var(--site-brand)!important}
html body[data-foundry-reskin] .tf-site-header .nav-workspace.button{background:var(--site-brand)!important;color:var(--site-on-brand,#fff)!important;border-color:var(--site-brand)!important}
/* Company pages read --site-ink, which the Dark and Halloween themes never defined (text fell back to dark green). */
html body[data-foundry-reskin],html[data-theme] body[data-foundry-reskin]{--site-ink:var(--site-fg)}
/* Dark themes: the accent becomes the theme's light brand colour with dark ink on it.
   Company appearance presets set their own values on the company page and still win. */
html[data-theme=dark] body[data-foundry-reskin],html[data-theme=halloween] body[data-foundry-reskin]{--site-accent:var(--site-brand);--company-onAccent:var(--site-on-brand)}
/* Tools page: cards follow the sheet radius; platform tags read as plain words. */
html body[data-foundry-reskin] .tool-card{border-radius:var(--tf-sheet-radius)!important}
html body[data-foundry-reskin] .tool-platform{font-family:inherit!important;text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:600;color:var(--site-muted)}

/* ===================== 4.214 overhaul ===================== */
/* A three-colour route band across the top of every page: the one signature mark of the new look. */
html body[data-foundry-reskin]::before{content:'';display:block;height:5px;background:linear-gradient(90deg,var(--site-brand) 0 74%,var(--site-focus) 74% 90%,#a8c9ae 90% 100%)}
html[data-theme=dark] body[data-foundry-reskin]::before,html[data-theme=halloween] body[data-foundry-reskin]::before{background:linear-gradient(90deg,var(--site-brand) 0 74%,var(--site-focus) 74% 90%,var(--site-line) 90% 100%)}

/* Header: full width, plain, sticky. */
html body[data-foundry-reskin]>.tf-site-header.nav{position:sticky;top:0;z-index:60;margin:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;border:0!important;border-bottom:1px solid var(--site-line)!important;border-radius:0!important;background:color-mix(in srgb,var(--site-bg) 92%,transparent)!important;backdrop-filter:saturate(1.2) blur(10px);padding:10px max(18px,calc((100vw - 1240px)/2))!important;min-height:64px;box-shadow:none!important}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse{border:0!important;background:none!important;padding:0!important;gap:2px!important;box-shadow:none!important}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a,html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px!important;border-radius:6px!important;font-size:15px!important;font-weight:600;color:var(--site-fg);background:none!important;box-shadow:none!important;text-decoration:none;cursor:pointer;list-style:none;white-space:nowrap}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary::-webkit-details-marker{display:none}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary::after{content:'';width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);opacity:.6}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a:hover,html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary:hover{background:var(--site-soft)!important}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a[aria-current=page],html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary[data-current]{color:var(--site-brand);box-shadow:inset 0 -2px var(--site-brand)!important;border-radius:0!important}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group{position:relative}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:270px;display:grid;gap:2px;padding:6px;background:var(--site-surface);border:1px solid var(--site-line);border-radius:10px;box-shadow:0 18px 40px -18px #20322e66;z-index:70}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a{display:grid;gap:1px;padding:9px 12px;border-radius:6px;color:var(--site-fg);font-weight:600;font-size:15px;text-decoration:none}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a small{font-weight:400;font-size:13px;color:var(--site-muted)}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a:hover,html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a:focus-visible{background:var(--site-soft);outline:0}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a[aria-current=page]{color:var(--site-brand);box-shadow:inset 3px 0 var(--site-brand)}
html body[data-foundry-reskin]>.tf-site-header.nav .nav-account-menu .nav-menu-label{text-transform:none!important;letter-spacing:0!important;font-size:13px!important}
@media (max-width:1100px){
 html body[data-foundry-reskin]>.tf-site-header.nav{padding:10px 16px!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu{position:static;box-shadow:none;border:0;padding:0 0 6px 12px;min-width:0;background:none}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse{flex-direction:column;align-items:stretch!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary{width:100%;justify-content:space-between}
}

/* Page mastheads: every page hero gets the same structure, sitting on the page rather than in a box. */
html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero:not(.welcome-home){background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:30px 0 22px!important;margin-bottom:8px;border-bottom:1px solid var(--site-line)!important}
html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero:not(.welcome-home) h1{font-size:clamp(32px,4.2vw,52px);letter-spacing:-.03em;margin:4px 0 8px}
html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero:not(.welcome-home)>p,html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero:not(.welcome-home) p:not([class]){max-width:42em;font-size:17px;color:var(--site-muted)}
html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero::before,html body[data-foundry-reskin] .tf-ui-hero.tf-ui-hero::after{display:none!important}

/* Footer: quieter, smaller. */
html body[data-foundry-reskin] .site-footer{border-top:1px solid var(--site-line);margin-top:56px}

/* Company management bar: the same strip on every management page. */
html body[data-foundry-reskin] .company-manage-bar{position:sticky;top:64px;z-index:40;margin:0 0 18px;border:1px solid var(--site-line);border-radius:10px;background:var(--site-surface)}
html body[data-foundry-reskin] .cmb-inner{display:flex;align-items:center;gap:6px;padding:6px 8px}
html body[data-foundry-reskin] .cmb-company{display:flex;align-items:center;gap:10px;padding:4px 14px 4px 4px;margin-right:4px;border-right:1px solid var(--site-line);color:var(--site-fg);text-decoration:none;flex:0 0 auto;max-width:240px}
html body[data-foundry-reskin] .cmb-company img,html body[data-foundry-reskin] .cmb-initial{width:34px;height:34px;border-radius:6px;object-fit:cover;flex:0 0 34px}
html body[data-foundry-reskin] .cmb-initial{display:grid;place-items:center;background:var(--site-brand);color:var(--site-on-brand,#fff);font-weight:800;font-size:13px;box-shadow:inset 0 0 0 2px #ffffffd9}
html body[data-foundry-reskin] .cmb-company span{display:grid;min-width:0;line-height:1.15}
html body[data-foundry-reskin] .cmb-company small{font-size:12px;color:var(--site-muted)}
html body[data-foundry-reskin] .cmb-company strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body[data-foundry-reskin] .cmb-links{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;flex:1 1 auto;min-width:0}
html body[data-foundry-reskin] .cmb-links::-webkit-scrollbar{display:none}
html body[data-foundry-reskin] .cmb-links a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:40px;padding:8px 12px;border-radius:6px;color:var(--site-fg);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
html body[data-foundry-reskin] .cmb-links a:hover{background:var(--site-soft)}
html body[data-foundry-reskin] .cmb-links a[aria-current=page]{color:var(--site-brand);box-shadow:inset 0 -3px var(--site-brand);border-radius:0}
html body[data-foundry-reskin] .cmb-links a.is-locked{color:var(--site-muted)}
html body[data-foundry-reskin] .cmb-plus{font-size:11px;font-weight:700;padding:2px 6px;border-radius:4px;background:var(--site-soft);color:var(--site-brand);border:1px solid var(--site-line)}
html body[data-foundry-reskin] .cmb-new{position:relative;flex:0 0 auto}
html body[data-foundry-reskin] .cmb-new>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border-radius:8px;background:var(--site-brand);color:var(--site-on-brand,#fff);font-weight:700}
html body[data-foundry-reskin] .cmb-new>summary::-webkit-details-marker{display:none}
html body[data-foundry-reskin] .cmb-new>summary::before{content:'+';font-size:18px;line-height:1}
html body[data-foundry-reskin] .cmb-new>div{position:absolute;right:0;top:calc(100% + 6px);display:grid;min-width:180px;padding:6px;background:var(--site-surface);border:1px solid var(--site-line);border-radius:10px;box-shadow:0 18px 40px -18px #20322e66;z-index:45}
html body[data-foundry-reskin] .cmb-new>div a{padding:9px 12px;border-radius:6px;color:var(--site-fg);font-weight:600;text-decoration:none}
html body[data-foundry-reskin] .cmb-new>div a:hover{background:var(--site-soft)}
html body[data-foundry-reskin].has-company-manage-bar :is(.company-staff-shortcuts,.company-quick-access){display:none!important}
html body[data-foundry-reskin].has-company-manage-bar #companyDashboardHost .ops-heading,html body[data-foundry-reskin].has-company-manage-bar .company-dashboard-back{display:none!important}
html body[data-foundry-reskin] .tf-ui-hero .eyebrow{display:none!important}
@media (max-width:760px){html body[data-foundry-reskin] .company-manage-bar{top:58px}html body[data-foundry-reskin] .cmb-company small{display:none}html body[data-foundry-reskin] .cmb-company{max-width:140px;padding-right:8px}html body[data-foundry-reskin] .cmb-new>summary{padding:8px 10px}}
html body[data-foundry-reskin] .company-manage-wrap{position:sticky;top:64px;z-index:40;box-sizing:border-box;width:100%;max-width:1240px;margin:16px auto 0;padding:0 18px}
html body[data-foundry-reskin] .company-manage-wrap .company-manage-bar{position:static;margin:0}
@media (max-width:760px){html body[data-foundry-reskin] .company-manage-wrap{top:58px;padding:0 10px}}
/* Workspace company cards */
html body[data-foundry-reskin] .workspace-company-card{display:flex;flex-direction:column;gap:10px}
html body[data-foundry-reskin] .ws-card-actions{display:flex;gap:8px;margin-top:auto}
html body[data-foundry-reskin] .ws-card-actions .button{flex:1;justify-content:center;text-align:center}
html body[data-foundry-reskin] .ws-card-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;border-top:1px solid var(--site-line);padding-top:8px}
html body[data-foundry-reskin] .ws-card-links a{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:6px;color:var(--site-fg);font-weight:600;font-size:14px;text-decoration:none}
html body[data-foundry-reskin] .ws-card-links a:hover{background:var(--site-soft)}
html body[data-foundry-reskin] .ws-card-links a.is-locked{color:var(--site-muted)}
@media (max-width:1100px){
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%;gap:2px!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a,html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>details{width:100%!important;grid-column:auto!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a,html body[data-foundry-reskin]>.tf-site-header.nav .nav-group>summary{justify-content:space-between;font-size:17px!important;min-height:48px;border-radius:8px!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-browse>a[aria-current=page]{box-shadow:inset 3px 0 var(--site-brand)!important;border-radius:0!important}
 html body[data-foundry-reskin]>.tf-site-header.nav .nav-group-menu a{background:none!important;font-size:16px}
}
@media (max-width:480px){html body[data-foundry-reskin] .cmb-company>span:not(.cmb-initial){display:none}html body[data-foundry-reskin] .cmb-company{padding-right:8px;margin-right:2px}}
