/* Squadito is the application identity. --club-* and the older --yellow
   aliases remain the association's identity in team cards and parent exports. */
@font-face { font-family: "Squadito Text"; src: url("fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Squadito Text"; src: url("fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Squadito Display"; src: url("fonts/Exo2-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Squadito Display"; src: url("fonts/Exo2-Italic-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
    --squadito-mint: #48e0a4;
    --squadito-deep: #075c3c;
    --squadito-soft: #e8faf2;
    --squadito-coral: #ff6248;
    --ink: #15171c;
    --muted: #59636a;
    --line: #dde3e1;
    --background: #f4f6f2;
    --paper: #fff;
    --radius: 16px;
    --shadow: 0 6px 22px #15171c08;
}
html { font-family: "Squadito Text", ui-sans-serif, system-ui, sans-serif; line-height: 1.5; }
h1, h2, h3 { font-family: "Squadito Display", "Squadito Text", sans-serif; }
h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
h2 { font-weight: 750; line-height: 1.25; }
h3 { font-weight: 700; line-height: 1.3; }
input, textarea, select, .task-icon-choice { accent-color: var(--squadito-deep); }
a { text-decoration-color: #59636a80; }
:focus-visible { outline: 3px solid var(--squadito-deep); outline-offset: 4px; }
.page { padding-block: 32px 64px; }
.site-header { background: var(--ink); box-shadow: none; }
.header-row { min-height: 94px; height: auto; gap: 26px; padding-block: 15px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand .squadito-wordmark { font: italic 900 36px/1 "Squadito Display", sans-serif; letter-spacing: -.045em; color: #fff; }
.brand small { font-size: 11px; color: #b9c6c0; margin-top: 6px; letter-spacing: .02em; }
.squadito-mark { display: block; width: 52px; height: 40px; flex-shrink: 0; }
.header-team { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; }
.header-team strong, .header-team small { display: block; }
.header-team strong { font-size: 15px; line-height: 1.3; }
.header-team small { color: #bac4c2; font-size: 12px; margin-top: 4px; }
.club-symbol, .brand-mark { display: grid; place-items: center; flex-shrink: 0; background: var(--club-soft); color: var(--ink); border: 1px solid #ffffff18; border-radius: 10px; font-weight: 800; transform: none; }
.club-symbol { width: 40px; height: 40px; border-bottom: 3px solid var(--club-primary); }
.club-symbol .club-logo { width: 30px; height: 30px; }
.quiet-button, .quiet-link { color: #dce4e1; }
.quiet-button:hover { color: var(--squadito-mint); }
.team-switcher summary { font-size: 14px; }
.header-actions { margin-left: auto; flex-shrink: 0; }
.site-header :focus-visible { outline-color: var(--squadito-mint); }
.team-menu :focus-visible { outline-color: var(--squadito-deep); }
.team-menu { top: calc(100% + 8px); padding: 8px; box-shadow: 0 12px 40px #15171c25; }
.team-menu a:hover, .team-menu a[aria-current] { background: var(--squadito-soft); }
.team-nav { border-top-color: #ffffff14; }
.team-nav .nav-scroll { gap: 14px; padding-block: 0; }
.team-nav a { color: #c5cecc; padding: 15px 12px; border-radius: 0; font-size: 14px; border-bottom: 3px solid transparent; }
.team-nav a:hover { background: #ffffff06; color: #fff; }
.team-nav a.nav-active { color: var(--squadito-mint); background: transparent; box-shadow: none; border-bottom-color: var(--squadito-mint); }
.eyebrow { color: var(--squadito-deep); line-height: 1.35; letter-spacing: .12em; }
.button { font-size: 14px; font-weight: 700; border-radius: 10px; gap: 8px; padding: 11px 17px; transition: background .12s, border-color .12s; }
.button-primary, .callout .button { color: var(--ink); background: var(--squadito-mint); border-color: var(--squadito-mint); }
.button-primary:hover, .callout .button:hover { background: #76e9bc; border-color: #76e9bc; }
.button-light:hover { background: #f1f6f3; border-color: #a9b7b1; }
.button-dark:hover { background: #30363b; }
.panel, .table-card, .panel-list, .roster-card { box-shadow: var(--shadow); }
.panel { padding: 26px; }
.data-table th { background: #f1f5f2; color: #46514c; }
.data-table th .task-label { font-size: inherit; }
.data-table input, .data-table select { font-size: 14px; }
.settings-tabs { border-color: var(--line); gap: 6px; }
.settings-tabs a { padding: 10px 13px; font-size: 14px; border-color: var(--line); font-weight: 600; }
.settings-tabs a[aria-current="page"], .calendar-tabs a[aria-current="page"] { background: var(--squadito-soft); color: var(--squadito-deep); border-color: #b2dac8; box-shadow: inset 0 -3px var(--squadito-deep); }
.settings-tabs a:hover { background: var(--squadito-soft); }
.date-tile { background: var(--club-soft); }
a.fixture-row:hover { outline: 2px solid var(--squadito-deep); outline-offset: 1px; }
.fixture-row { padding: 18px; }
.fixture-row + .fixture-row { margin-top: 8px; }
.fixture-main strong { font-size: 16px; }
.next-match, a.next-match { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--club-primary); color: var(--ink); border-radius: 18px; padding: 26px 30px; align-items: center; }
.next-match::after { display: none; }
.next-match h2 { font-size: clamp(25px, 3vw, 34px); margin-block: 10px 8px; }
.next-match .status-chip { color: var(--squadito-deep); background: var(--squadito-soft); font-size: 11px; }
.next-match p { color: var(--muted); font-size: 14px; }
.next-match .match-day { margin-top: 12px; color: var(--ink); font-weight: 600; }
.hero-times { display: flex; gap: 26px; padding: 17px 0 4px; flex-wrap: wrap; }
.hero-times > span + span { border-left: 1px solid var(--line); padding-left: 26px; }
.hero-times small, .hero-times strong { display: block; }
.hero-times small { color: var(--muted); font-size: 12px; }
.hero-times strong { font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.3; }
.hero-open { display: flex; align-items: center; gap: 8px; color: var(--squadito-deep); font-size: 14px; font-weight: 700; white-space: nowrap; }
.team-card { border-top: 3px solid var(--club-primary, var(--squadito-mint)); }
.team-card:hover { border-color: var(--squadito-deep); }
.team-card .club-logo { width: 32px; height: 32px; }
.callout { background: var(--ink); }
.callout .step { background: var(--squadito-mint); }
.distribution-stats > div { background: #f0f7f3; }
.roster-card header span:first-child, .location-strip small, .absence-card header span, .job-row em { color: var(--squadito-deep); }
.match-meta, .location-strip { background: #f5f8f5; }
.roster-card footer { align-items: center; flex-wrap: wrap; line-height: 1.5; }
.roster-card h2 { margin-bottom: 0; }
.job-row { align-items: flex-start; }
.job-icon, .leader-row .job-icon { color: var(--squadito-deep); background: var(--squadito-soft); width: 40px; height: 40px; }
.job-row small { line-height: 1.5; }
.job-row strong { line-height: 1.4; }
.assignment-description { display: flex; align-items: center; gap: 12px; min-width: 0; }
.assignment-description .job-icon { align-self: flex-start; }
.task-icon { width: 22px; height: 22px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.task-label { display: inline-flex; align-items: center; gap: 9px; }
.task-setting-heading { display: flex; align-items: center; gap: 14px; }
.task-setting-heading > div { min-width: 0; }
.task-setting-row p { line-height: 1.6; }
.icon-library { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.icon-library summary { color: var(--squadito-deep); font-weight: 700; }
.icon-library h3 { margin: 24px 0 12px; font-size: 17px; }
.icon-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.icon-library-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; background: #f5f8f5; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 12px; }
.icon-library-item .task-icon { width: 28px; height: 28px; color: var(--squadito-deep); }
.task-icon-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.task-icon-choice { position: relative; display: block; cursor: pointer; margin: 0; }
.task-icon-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.task-icon-choice-content { min-height: 98px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 7px; background: #fff; border: 2px solid var(--line); border-radius: 10px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.35; }
.task-icon-choice-content .task-icon { width: 26px; height: 26px; }
.task-icon-choice input:checked + span { border-color: var(--squadito-deep); background: var(--squadito-soft); color: var(--squadito-deep); font-weight: 700; box-shadow: inset 0 -3px var(--squadito-deep); }
.task-icon-choice input:focus-visible + span { outline: 3px solid var(--squadito-deep); outline-offset: 3px; }
.task-icon-choice:hover .task-icon-choice-content { border-color: #96b6a8; }
.task-icon-choice input:disabled + span { opacity: .6; cursor: default; }
.icon-picker-section { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #f8fbf8; }
.icon-picker-section summary { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.icon-picker-section summary::after { content: 'Kies pictogram'; color: var(--squadito-deep); font-size: 12px; margin-left: auto; }
.icon-picker-section .helptext { display: block; margin: 8px 0 16px; }
.share-parent-task { display: inline-flex; justify-content: center; align-items: center; gap: 5px; }
.share-parent-task .task-icon { width: 14px; height: 14px; }
.share-parent-task > span { min-width: 0; }
.share-jobs .task-label { font-size: 11px; }
.share-jobs .task-icon { width: 18px; height: 18px; }
.share-title .eyebrow { color: inherit; }
.form-stack label { line-height: 1.45; }
.form-stack .helptext { font-size: 13px; line-height: 1.55; }
.form-stack input[type="text"], .form-stack input[type="email"], .form-stack input[type="password"], .form-stack input[type="number"], .form-stack select, .form-stack textarea { border-color: #bac7c0; border-radius: 9px; }
.form-stack input[type="checkbox"] { accent-color: var(--squadito-deep); }
.check-cell input:checked + span { color: var(--ink); background: var(--squadito-mint); border-color: var(--squadito-deep); }
.auth-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; min-height: 70vh; padding-block: 10px 24px; }
.auth-story { position: relative; padding: 44px; background: var(--ink); color: #fff; border-radius: 24px; overflow: hidden; }
.auth-story::after { content: ''; position: absolute; width: 260px; height: 200px; background: url('squadito/mark-mint.svg') no-repeat center / contain; right: -100px; top: 50px; opacity: .05; pointer-events: none; }
.auth-mark { width: 104px; height: 80px; margin-bottom: 38px; }
.auth-story .eyebrow { color: #b9c7c0; font-size: 10px; }
.auth-story h2 { font: italic 850 clamp(32px, 4vw, 48px)/1.1 'Squadito Display', sans-serif; letter-spacing: -.035em; margin: 18px 0 24px; }
.auth-story h2 span { color: var(--squadito-mint); }
.auth-story > p { color: #c4d0ca; max-width: 360px; line-height: 1.7; }
.auth-features { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.auth-features span { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.auth-features .task-icon { width: 19px; height: 19px; color: var(--squadito-mint); }
.auth-card { width: 100%; padding: 32px 0; background: transparent; border-radius: 0; box-shadow: none; }
.auth-card h1 { font-size: 34px; }
.auth-card form { margin-top: 26px; }
.auth-card input { background: #fff; }
.auth-card .helper { text-align: left; line-height: 1.65; }
.footer { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.footer small { margin-left: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.footer-brand strong { font: italic 850 18px 'Squadito Display', sans-serif; letter-spacing: -.03em; }

@media (max-width: 960px) {
    .header-row { gap: 16px; flex-wrap: wrap; }
    .header-team { order: 3; width: 100%; padding-top: 12px; border-top: 1px solid #ffffff14; }
    .header-team .club-symbol { width: 32px; height: 32px; }
    .header-team .club-logo { width: 25px; height: 25px; }
    .auth-layout { gap: 28px; grid-template-columns: 1fr 1fr; }
    .auth-story { padding: 30px; }
}
@media (max-width: 760px) {
    .shell { width: calc(100% - 28px); }
    .page { padding-top: 24px; }
    .header-row { align-items: center; padding-block: 13px; gap: 12px; }
    .brand .squadito-wordmark { font-size: 29px; }
    .brand .squadito-mark { width: 40px; height: 32px; }
    .brand { gap: 9px; }
    .brand small { font-size: 10px; }
    .header-actions .quiet-button, .team-switcher summary { padding: 8px 5px; font-size: 12px; }
    .header-team strong { font-size: 14px; }
    .header-team small { font-size: 11px; }
    .team-nav .nav-scroll { gap: 4px; padding: 6px 0 12px; }
    .team-nav a { padding: 10px 12px; border-radius: 6px; }
    .mobile-menu-row .quiet-button { padding: 9px 0 12px; font-size: 13px; }
    .next-match, a.next-match { padding: 22px; align-items: flex-start; flex-direction: column; gap: 20px; }
    .hero-times { gap: 20px; }
    .hero-times strong { font-size: 26px; }
    .hero-times > span + span { padding-left: 20px; }
    .auth-layout { display: flex; flex-direction: column; gap: 24px; align-items: stretch; padding-block: 0; min-height: auto; }
    .auth-story { padding: 28px; }
    .auth-story h2 { font-size: 34px; margin-block: 12px 18px; }
    .auth-mark { width: 56px; height: 43px; margin-bottom: 18px; }
    .auth-features { margin-top: 20px; gap: 12px; }
    .auth-card { padding: 0 4px; order: -1; }
    .auth-card h1 { font-size: 30px; }
    .footer { flex-wrap: wrap; gap: 10px 18px; }
    .footer small { width: 100%; margin: 0; }
    .panel { padding: 20px; }
    .task-setting-heading { align-items: flex-start; }
    .task-icon-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .task-icon-choice-content { min-height: 108px; font-size: 11px; }
    .icon-picker-section { padding: 12px; }
    .icon-picker-section summary { align-items: flex-start; flex-wrap: wrap; }
    .icon-picker-section summary::after { margin-left: 0; }
}
@media (max-width: 400px) {
    .brand small { display: none; }
    .brand .squadito-wordmark { font-size: 27px; }
    .brand .squadito-mark { width: 33px; height: 27px; }
    .header-actions { gap: 1px; }
    .task-icon-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
