.fml-manager-profile {
  color-scheme:light;--ink:#11141b;--muted:#505664;--paper:#fff;--cream:#f5f3ee;
  --gold:#f7ce4d;--wash:#fff5d9;--line:#dbdce0;--win:#1b664b;--draw:#596379;--loss:#a63d4b;--trend:#865c00;
  background:var(--paper);color:var(--ink);font:500 1rem/1.45 system-ui,sans-serif;
}
.fml-manager-profile * {box-sizing:border-box}
.fml-manager-profile [hidden] {display:none!important}
.fml-manager-profile :is(h1,h2,h3,h4,p,ol,ul,dl,dd) {margin:0}
.fml-manager-profile :is(ol,ul) {list-style:none;padding:0}
.fml-manager-profile a {color:inherit;text-decoration:none}
.fml-manager-profile a:hover {text-decoration:underline;text-underline-offset:.15em}
.fml-manager-profile :is(a,button,summary):focus-visible {outline:2px solid #a02a3c;outline-offset:2px}
.fml-manager-profile .profile-body {padding:0 clamp(10px,3vw,26px) clamp(12px,3vw,25px)}
.fml-manager-profile .breadcrumb a {display:inline-flex;align-items:center;min-height:44px;font-size:.82rem;font-weight:720}
.fml-manager-profile .hero {
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(11px,3vw,25px);padding:clamp(15px,4vw,36px);
  background:var(--gold);border-radius:15px;position:relative;isolation:isolate;overflow:hidden
}
.fml-manager-profile .hero h1 {font:860 clamp(2.4rem,7.5vw,4.9rem)/1 system-ui,sans-serif;letter-spacing:-.075em;margin:4px 0}
.fml-manager-profile .hero .meta {color:var(--ink)}
.fml-manager-profile .hero a {font-weight:760;font-size:clamp(.85rem,2vw,1.12rem);display:inline-block;padding:4px 0}
.fml-manager-profile .hero-crest {
  display:grid;place-items:center;width:clamp(56px,10vw,105px);aspect-ratio:1;border-radius:13px;background:var(--paper)
}
.fml-manager-profile .hero-crest img {display:block;width:74%;height:74%;object-fit:contain}
.fml-manager-profile .pitch {
  position:absolute;z-index:-1;width:clamp(170px,35vw,380px);height:205px;border:2px solid currentColor;opacity:.17;
  top:-28px;right:-45px;transform:rotate(-22deg);pointer-events:none;
  background:linear-gradient(90deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px))
}
.fml-manager-profile .pitch::before {
  content:"";position:absolute;width:70px;height:70px;border:2px solid;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)
}
.fml-manager-profile .pitch::after {
  content:"";position:absolute;width:52px;height:92px;border:2px solid;border-right:0;right:0;top:50%;transform:translateY(-50%)
}
.fml-manager-profile .headline-stats {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:10px;
  background:var(--line);border:1px solid var(--line);border-radius:11px;overflow:hidden
}
.fml-manager-profile .headline-stats > div {min-width:0;padding:clamp(9px,1.6vw,16px);background:var(--cream)}
.fml-manager-profile .headline-stats > div:nth-child(3) {background:var(--wash)}
.fml-manager-profile dt,.fml-manager-profile .meta {font-size:.75rem;font-weight:670;color:var(--muted)}
.fml-manager-profile .headline-stats dd {font:840 clamp(1.24rem,3.1vw,1.95rem)/1.15 system-ui,sans-serif;letter-spacing:-.04em;overflow-wrap:anywhere}
.fml-manager-profile .tabs {display:flex;gap:4px;flex-wrap:wrap;padding:4px;background:var(--cream);border:1px solid var(--line);border-radius:10px;margin:12px 0}
.fml-manager-profile .tabs a {border:0;background:transparent;color:var(--ink);font:750 .82rem/1.2 system-ui,sans-serif;border-radius:7px;min-height:44px;padding:7px 12px}
.fml-manager-profile .tabs a {flex:1;display:grid;place-items:center;text-align:center}
.fml-manager-profile .tabs a:hover {background:var(--paper)}
.fml-manager-profile .tabs a[aria-selected=true] {background:var(--gold)}
.fml-manager-profile .columns {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;align-items:start}
.fml-manager-profile .columns.overview {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.fml-manager-profile .surface {min-width:0;padding:clamp(10px,1.7vw,17px);border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.fml-manager-profile .surface + .surface {margin-top:12px}
.fml-manager-profile .section-head {display:flex;align-items:center;justify-content:space-between;gap:5px 9px;min-height:34px;margin-bottom:9px}
.fml-manager-profile .section-head h2 {font:830 clamp(1.05rem,2.6vw,1.34rem)/1.16 system-ui,sans-serif;letter-spacing:-.025em}
.fml-manager-profile .section-head .panel-link {padding-inline:6px;white-space:nowrap}
.fml-manager-profile .section-head .meta {text-align:right}
.fml-manager-profile .record-bar {height:8px;overflow:hidden;display:grid;grid-template-columns:var(--record-cols);border-radius:5px;gap:2px;margin:5px 0 8px}
.fml-manager-profile .record-bar span:nth-child(1) {background:var(--win)}
.fml-manager-profile .record-bar span:nth-child(2) {background:var(--draw)}
.fml-manager-profile .record-bar span:nth-child(3) {background:var(--loss)}
.fml-manager-profile .record-values {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.fml-manager-profile .record-values dd {font-size:1.18rem;font-weight:810;font-variant-numeric:tabular-nums}
.fml-manager-profile .match-list {border:1px solid var(--line);border-radius:9px}
.fml-manager-profile .match-list > li+li {border-top:1px solid var(--line)}
.fml-manager-profile .match-list .match-link {display:grid;gap:5px;padding:7px 9px;min-height:53px}
.fml-manager-profile .match-list a.match-link:hover {background:var(--cream);text-decoration:none}
.fml-manager-profile .match-list .match-link:focus-visible {outline-offset:-2px}
.fml-manager-profile .scoreline {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;font-weight:720;font-size:.8rem;line-height:1.3}
.fml-manager-profile .scoreline strong {background:var(--ink);color:var(--gold);padding:4px 7px;border-radius:6px;font-size:.98rem;white-space:nowrap}
.fml-manager-profile .fixture .scoreline strong {background:var(--cream);color:var(--ink);font-size:.76rem}
.fml-manager-profile .score-team {display:flex;align-items:center;gap:4px;min-width:0;overflow-wrap:anywhere}
.fml-manager-profile .score-team.away {flex-direction:row-reverse;text-align:right}
.fml-manager-profile .score-team img {width:22px;height:22px;display:block;object-fit:contain;flex:none}
.fml-manager-profile .timeline {display:grid;gap:8px}
.fml-manager-profile .timeline li {border-left:3px solid var(--line);padding:5px 9px 6px}
.fml-manager-profile .timeline li.is-current {border-color:var(--gold);background:var(--wash);border-radius:0 8px 8px 0}
.fml-manager-profile .timeline strong {display:block;font-size:.94rem}
.fml-manager-profile .milestone {display:flex;align-items:center;gap:10px;padding:10px;background:var(--wash);border-radius:8px}
.fml-manager-profile .milestone strong {display:block;font-size:1rem}
.fml-manager-profile .chart {background:var(--cream);border-radius:9px;padding:9px 8px}
.fml-manager-profile .chart canvas {display:block;width:100%;height:140px}
.fml-manager-profile .chart-labels {display:flex;justify-content:space-between;padding:0 9px 0 35px;color:var(--muted);font-size:.71rem}
.fml-manager-profile .data-rows > div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:7px 0;border-bottom:1px solid var(--line)}
.fml-manager-profile .data-rows > div:last-child {border-bottom:0}
.fml-manager-profile .data-rows dd {text-align:right;font-size:.84rem;font-weight:750;overflow-wrap:anywhere}
.fml-manager-profile details {border-top:1px solid var(--line);margin-top:8px}
.fml-manager-profile summary {font-size:.84rem;font-weight:760;min-height:44px;padding:10px 3px}
.fml-manager-profile .rating-row {border-top:1px solid var(--line);padding:8px 0}
.fml-manager-profile .rating-row h3 {font-size:.87rem}
.fml-manager-profile .rating-row .data-rows {margin:4px 0}
.fml-manager-profile .career-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fml-manager-profile .career-card {min-width:0;padding:11px;border:1px solid var(--line);border-radius:9px}
.fml-manager-profile .career-card.is-current {border-top:3px solid var(--gold);background:var(--cream)}
.fml-manager-profile .career-card h3 {font-size:1.06rem}
.fml-manager-profile .career-card .data-rows {margin-top:7px}
.fml-manager-profile :is(.awards, .profile-records ul) > li {padding:8px 1px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.fml-manager-profile .awards li:last-child {border:0}
.fml-manager-profile .awards .meta {display:block}

.site-main > .page-header:has(+ .page-content [data-fml-manager-profile]) {display:none}
.fml-manager-profile .hero.no-crest {grid-template-columns:minmax(0,1fr)}
.fml-manager-profile .hero h1 {overflow-wrap:anywhere}
.fml-manager-profile nav.tabs {margin-inline:0}
.fml-manager-profile .panel {scroll-margin-top:6rem}
.fml-manager-profile:not(.has-tabs) .panel + .panel {margin-top:16px}
.fml-manager-profile .panel-link {display:inline-flex;align-items:center;min-height:44px;font-size:.82rem;font-weight:750}
.fml-manager-profile .timeline .meta,.fml-manager-profile .milestone .meta {display:block}
.fml-manager-profile .milestone a,.fml-manager-profile .awards li a,.fml-manager-profile .profile-records li a {text-decoration:underline;text-underline-offset:.15em}
.fml-manager-profile .fixture-details {padding:0 9px 8px}
.fml-manager-profile .fixture-details > details {margin-top:0}
.fml-manager-profile .profile-analysis p {font-size:.9rem;color:var(--muted)}
.fml-manager-profile .profile-records .fml-public-section {margin:0;padding:0;border:0;background:transparent}
.fml-manager-profile .profile-evidence p {font-size:.85rem;margin-bottom:7px}
.fml-manager-profile .record-bar .empty-segment {visibility:hidden}

@media(max-width:650px) {
  .fml-manager-profile .columns,.fml-manager-profile .columns.overview {grid-template-columns:minmax(0,1fr)}
  .fml-manager-profile .pitch {right:-95px}
}
@media(max-width:430px) {
  .fml-manager-profile .headline-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .fml-manager-profile .tabs a {flex:1 0 29%;padding-inline:5px}
  .fml-manager-profile .career-cards {grid-template-columns:minmax(0,1fr)}
}

.site-main .fml-manager-profile :is(.breadcrumb a, .tabs a, a.match-link, .panel-link, .timeline a, .career-card h3 a) {
    color: var(--ink) !important;
    text-decoration: none !important;
}
.site-main .fml-manager-profile :is(.breadcrumb a, .panel-link, .timeline a, .career-card h3 a):is(:hover, :focus-visible),
.site-main .fml-manager-profile a.match-link:is(:hover, :focus-visible) .score-team > span {
    text-decoration: underline !important;
    text-underline-offset: .15em;
}

.fml-manager-profile .scout-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:12px;
    margin-top:12px;
}
.fml-manager-profile .scout-grid > .surface {margin-top:0}
.fml-manager-profile .scout-wide {grid-column:1/-1}
.fml-manager-profile .scout-grid + .surface {margin-top:12px}
.fml-manager-profile .scout-controls {display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.fml-manager-profile .scout-controls a {
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    min-height:44px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--cream);
    color:var(--ink);
    font-size:.82rem;
    font-weight:750;
}
.fml-manager-profile .scout-controls a[aria-current=true] {background:var(--gold)}
.fml-manager-profile .scout-controls a:hover {text-decoration:underline}
.fml-manager-profile .scout-notes {
    display:grid;
    gap:8px;
    color:var(--ink);
    font-size:.9rem;
    line-height:1.5;
}
.fml-manager-profile .scout-notes li {border-inline-start:3px solid var(--line);padding-inline-start:10px}
.fml-manager-profile .scout-notes + .scout-table {margin-top:12px}
.fml-manager-profile .scout-table {max-width:100%;overflow:auto}
.fml-manager-profile .scout-table table {margin:0}
.fml-manager-profile .scout-method {margin-top:12px}
@media(max-width:650px) {
    .fml-manager-profile .scout-grid {grid-template-columns:minmax(0,1fr)}
}

.fml-manager-profile .manager-story-stack:not(:empty) {margin-top:12px}
.fml-manager-profile .manager-analysis-story header .meta {margin-bottom:5px}
.fml-manager-profile .manager-analysis-story h2 {
    max-width:27ch;
    font:820 clamp(1.55rem,4vw,2.35rem)/1.1 system-ui,sans-serif;
    letter-spacing:-.045em;
}
.fml-manager-profile .manager-story-figures {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,128px),1fr));
    gap:8px;
    margin-top:14px;
}
.fml-manager-profile .manager-story-figures > div {padding:8px 10px;background:var(--cream);border-radius:8px}
.fml-manager-profile .manager-story-figures dd {font-size:1.12rem;font-weight:820}
.fml-manager-profile .manager-story-copy {max-width:75ch;margin-top:13px}
.fml-manager-profile .manager-story-copy p {margin-bottom:9px;line-height:1.52}
.fml-manager-profile .manager-analysis-story .fml-public-wrap {max-width:100%;overflow:auto}

.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-stat-records {
    margin:8px 0 0;
    padding:0;
    list-style:none;
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
    background:var(--paper);
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-stat-records > li {
    display:grid;
    grid-template-columns:minmax(115px,1fr) minmax(0,3.5fr);
    align-items:start;
    gap:10px 14px;
    padding:10px 12px;
    margin:0;
    border-bottom:1px solid var(--line);
    color:var(--ink);
    background:var(--paper);
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-stat-records > li:last-child {border-bottom:0}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-stat-records > li:hover {background:var(--cream)}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-record-name {
    color:var(--ink);
    font-size:.9rem;
    line-height:1.28;
    font-weight:790;
    overflow-wrap:anywhere;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-record-name a {
    color:var(--ink)!important;
    text-decoration-color:var(--gold);
    text-decoration-thickness:2px;
    text-underline-offset:3px;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-record-name a:hover {text-decoration:underline!important}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-record-values {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));
    gap:7px 12px;
    margin:0;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-record-values dd {
    margin:2px 0 0;
    font-size:.82rem;
    line-height:1.35;
    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details {
    padding:0;
    border:1px solid var(--line);
    border-radius:9px;
    background:var(--paper);
    color:var(--ink);
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details > summary {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 11px;
    gap:10px;
    list-style:none;
    cursor:pointer;
    background:var(--cream)!important;
    color:var(--ink)!important;
    text-align:start;
    border:0;
    border-radius:8px;
    font-size:.85rem;
    line-height:1.25;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details > summary::marker {content:""}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details > summary::-webkit-details-marker {display:none}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details > summary::after {
    content:"+";
    display:grid;
    place-items:center;
    flex:0 0 21px;
    height:21px;
    border-radius:5px;
    background:var(--gold);
    font-size:1em;
}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details[open] > summary::after {content:"−"}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details[open] > summary {border-radius:8px 8px 0 0}
.site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) details > :not(summary) {margin:9px 10px}
.site-main .fml-manager-profile .manager-story-data h3 {font-size:.96rem;font-weight:810}
@media(max-width:640px) {
    .site-main .fml-manager-profile :is(.scout-panel,.manager-story-stack) .manager-stat-records > li {grid-template-columns:minmax(0,1fr);gap:6px}
}
