.team-page { background: #f1f0e9; color: #202d26; }
.team-hero { isolation: isolate; position: relative; display: grid; align-items: end; min-height: clamp(300px, 39vw, 470px); color: #fcfaf3; background: #202b24; }
.team-hero picture, .team-hero picture img, .team-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.team-hero picture { z-index: -2; }
.team-hero img { object-fit: cover; object-position: 65% center; }
.team-hero::after { content: ""; background: linear-gradient(90deg,#101912ed 0%,#101912a6 42%,#10191222 100%), linear-gradient(0deg,#1019128f,transparent 58%); z-index: -1; }
.team-hero .pk-wrap { padding-block: clamp(34px, 7vw, 84px); }
.team-hero h1 { max-width: 13ch; font: 500 clamp(3rem, 6.5vw, 6.1rem)/.95 Georgia, serif; letter-spacing: -.055em; text-wrap: balance; margin: 0 0 16px; }
.team-hero p { max-width: 51ch; color: #f2efdf; font-size: clamp(1rem, 1.5vw, 1.17rem); margin: 0; }
.team-workspace { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); gap: clamp(16px, 4vw, 52px); padding-block: clamp(28px, 5vw, 60px); align-items: start; scroll-margin-top: 12px; }
.team-heading { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; border-top: 2px solid #344a3c; padding-block: 13px; }
.team-heading h2 { margin: 0; font: 500 clamp(1.65rem, 3vw, 2.5rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
.team-heading span { color: #46564a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.team-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; margin: 7px 0 15px; }
.team-add label { grid-column: 1 / -1; font-size: .86rem; font-weight: 650; }
.team-add input, .team-add button { min-height: 44px; border-radius: 4px; }
.team-add input { min-width: 0; color: #23352a; background: #fffefa; border: 1px solid #718173; padding: 8px 10px; }
.team-add button { background: #274636; color: #fff; border: 1px solid #274636; padding-inline: 16px; }
.team-error { color: #8c3124; font-size: .9rem; }
.team-slots { list-style: none; padding: 0; margin: 6px 0 14px; border-top: 1px solid #c9cec2; }
.team-slots li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 58px; padding: 6px 0; border-bottom: 1px solid #c9cec2; }
.team-slot-number { color: #536258; font-variant-numeric: tabular-nums; padding-left: 6px; }
.team-member { font-weight: 700; color: #263a2b; overflow-wrap: anywhere; }
.team-empty-slot { color: #546156; font-size: .9rem; }
.team-remove { display: grid; width: 44px; height: 44px; place-items: center; text-decoration: none; color: #263a2b; font-size: 1.5rem; }
.team-remove:hover { background: #e4e5da; }
.team-action { display: inline-flex; align-items: center; min-height: 44px; color: #1e513b; font-weight: 650; }
.team-empty-analysis { padding: 23px; background: #e5e7dc; border-left: 3px solid #879784; margin: 6px 0 12px; }
.team-gaps { padding: 10px 12px; background: #f6e6d9; border-left: 3px solid #a46546; margin-bottom: 12px; }
.team-gaps strong { display: block; margin-bottom: 5px; }
.team-scroll { overflow: auto; max-width: 100%; border: 1px solid #c9cec2; background: #fffefa; }
.team-scroll table { border-collapse: separate; border-spacing: 0; font-size: .83rem; width: 100%; white-space: nowrap; }
.team-scroll th, .team-scroll td { padding: 6px 9px; border-bottom: 1px solid #e0e3da; text-align: center; }
.team-scroll th:first-child { position: sticky; left: 0; background: #fffefa; text-align: left; z-index: 1; }
.team-scroll thead th, .team-scroll thead th:first-child { background: #e4e9e0; }
.team-weak { background: #f8e6db; color: #83331f; font-weight: 750; }
.team-safe { background: #e7eedf; color: #2d5739; }
.team-note { color: #516054; font-size: .86rem; margin: 10px 0 0; }
.pk-team-story { position: relative; min-height: 132px; margin-top: 16px; isolation: isolate; display: flex; align-items: end; padding: 22px; border-radius: 9px; overflow: hidden; text-decoration: none; color: #fbf9ed; background: #26352a; }
.pk-team-story img, .pk-team-story::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-team-story img { object-fit: cover; object-position: 64% 60%; z-index: -2; }
.pk-team-story::after { content: ""; background: linear-gradient(90deg,#15231af5,#15231a88 64%,#15231a22); z-index: -1; }
.pk-team-story strong, .pk-team-story span { display: block; }
.pk-team-story strong { font: 500 clamp(1.7rem, 4vw, 2.9rem)/1.05 Georgia, serif; letter-spacing: -.035em; margin-bottom: 6px; }
.pk-team-story:hover strong { text-decoration: underline; }
@media (max-width: 680px) {
    .team-workspace { grid-template-columns: minmax(0, 1fr); }
    .team-hero { min-height: 320px; }
    .team-hero img { object-position: 63% center; }
    .team-hero::after { background: linear-gradient(0deg,#101912ee,#10191250 89%); }
}
