@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&family=Unbounded:wght@600;700;800&display=swap");

:root {
  --sportvolna-blue: #08328D;
  --sportvolna-deep-blue: #061A4E;
  --sportvolna-orange: #FF7A00;
  --sportvolna-cream: #FFF4E6;
  --sportvolna-white: #FFFFFF;
  --sportvolna-ink: #2C2F33;
  --sportvolna-muted: #687284;
  --sportvolna-line: #D9E2F0;
  --sportvolna-pale-blue: #EEF4FF;
  --sportvolna-success: #198754;
  --sportvolna-danger: #D83A2E;
  --font-body: 15px;
  --font-control: 14px;
  --font-heading: "Unbounded", "Arial Black", sans-serif;
  --font-ui: "Google Sans", "Onest", "Segoe UI", Arial, sans-serif;
  --radius-card: 22px;
  --radius-control: 14px;
  --shadow-card: 0 12px 32px rgba(6,26,78,.08);
}

* { box-sizing: border-box; }
html { font-size: var(--font-body); }
body {
  background: var(--sportvolna-cream) !important;
  color: var(--sportvolna-ink) !important;
  font-family: var(--font-ui) !important;
  font-size: var(--font-body) !important;
  line-height: 1.45;
}
button, input, select, textarea, a { font: inherit; }
button, select, input, textarea { font-size: var(--font-control) !important; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(255,122,0,.65) !important; }
[hidden] { display: none !important; }

.sidebar {
  background: var(--sportvolna-deep-blue) !important;
  border-right: 0 !important;
  color: var(--sportvolna-white) !important;
}
.brand { min-height: 76px !important; padding: 0 8px 18px !important; gap: 12px !important; overflow: hidden; }
.brand img { flex: 0 0 64px; width: 64px !important; height: 64px !important; object-fit: contain; }
.brand > div { min-width: 0; }
.brand strong { font-size: 13px !important; letter-spacing: .12em !important; }
.brand small { max-width: 126px !important; font-size: 10px !important; line-height: 1.3 !important; letter-spacing: .08em !important; }
.workspace-switch {
  --workspace-track: #0a1d48;
  --workspace-border: #38517d;
  --workspace-text: #b4c6ee;
  --workspace-accent: #d9e8ff;
  --workspace-accent-ink: #152b50;
  display: flex;
  align-self: flex-start;
  align-items: stretch;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-left: 4px;
  padding: 3px;
  border: 1px solid var(--workspace-border);
  border-radius: 11px;
  background: var(--workspace-track);
}
.workspace-modes {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  flex: 0 1 126px;
  width: 126px;
  min-width: 0;
}
.workspace-modes::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc((100% - 2px) / 2);
  border-radius: 7px;
  background: var(--workspace-accent);
  transition: transform 170ms ease, background-color 170ms ease;
  pointer-events: none;
}
.workspace-switch :is(button, a) {
  min-height: 35px;
  font: 700 12px/1.15 var(--font-ui) !important;
  white-space: nowrap;
}
.workspace-modes button,
.workspace-modes button.active {
  position: relative;
  min-width: 0;
  padding: 4px 3px;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}
.workspace-modes button { color: var(--workspace-text); }
.workspace-modes button.active { color: var(--workspace-accent-ink); }
.workspace-modes button:not(.active):hover,
.workspace-external-link:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
}
.workspace-external-link {
  display: grid;
  place-items: center;
  padding: 4px;
  border-inline-start: 1px solid var(--workspace-border);
  border-radius: 0 7px 7px 0;
  color: var(--workspace-text);
  text-decoration: none;
}
.partner-mode #siteSidebar { background: #102c3a !important; }
.partner-mode .workspace-switch {
  --workspace-track: #0b232e;
  --workspace-border: #3a5b65;
  --workspace-text: #b7d0d6;
  --workspace-accent: #c6efdf;
  --workspace-accent-ink: #11382e;
}
.partner-mode .workspace-modes::before { transform: translateX(calc(100% + 2px)); }
#partnerNavigation .nav-item > span { color: #a0dbc6 !important; }
#partnerNavigation .nav-item.active {
  background: rgba(160,219,198,.16) !important;
  color: #e6fff5 !important;
}
@media (pointer: coarse), (max-width: 760px) {
  .workspace-switch :is(button, a) { min-height: 44px; }
}
.partner-mobile-title { display: none; }
@media (max-width: 760px) {
  .partner-mode .topbar {
    display: flex;
    height: 50px !important;
    min-height: 50px !important;
  }
  .partner-mode .topbar .breadcrumbs,
  .partner-mode .topbar .top-actions { display: none; }
  .partner-mode .partner-mobile-title {
    display: block;
    color: #102c3a;
    font-weight: 750;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-modes::before { transition: none; }
}
.nav { gap: 4px !important; padding: 6px 4px !important; }
.nav-item {
  min-height: 46px !important;
  border-radius: 13px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
.nav-item > span { color: var(--sportvolna-orange) !important; }
.nav-item:hover, .nav-item.active, .nav-item.open,
.nav-section:has(.nav-submenu:not([hidden]) > button.active:not(.social-account-button)) > .nav-item {
  background: rgba(255,255,255,.12) !important;
  color: var(--sportvolna-white) !important;
}
.nav-submenu { border-left: 2px solid rgba(255,122,0,.55) !important; margin-left: 23px !important; }
.nav-submenu button, .nav-submenu a {
  min-height: 42px !important;
  border-radius: 12px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
}
.nav-submenu button.active, .nav-submenu a.active { background: var(--sportvolna-orange) !important; color: white !important; }
.nav-item em { background: rgba(255,255,255,.14) !important; color: white !important; }
.sidebar-bottom { border-top-color: rgba(255,255,255,.14) !important; }
.sync-pill {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 16px !important;
  color: white !important;
}
.sync-pill i { background: var(--sportvolna-orange) !important; box-shadow: 0 0 0 6px rgba(255,122,0,.15) !important; }
.sync-pill small, .user small { color: rgba(255,255,255,.62) !important; font-size: 12px !important; }
.user { color: white !important; }
.user > span { background: var(--sportvolna-orange) !important; color: white !important; }

.main { background: var(--sportvolna-cream) !important; }
.topbar {
  min-height: 70px !important;
  height: 70px !important;
  background: rgba(255,244,230,.94) !important;
  border-bottom: 1px solid rgba(8,50,141,.10) !important;
  backdrop-filter: blur(16px);
}
.breadcrumbs { color: var(--sportvolna-muted) !important; font-size: 14px !important; }
.breadcrumbs b { color: var(--sportvolna-deep-blue) !important; }
.view { padding: 24px 28px 52px !important; }

h1, h2, h3, .stat-value, .team-home-stats b, .birthday-stat b { color: var(--sportvolna-deep-blue); }
.page-title h1, .team-home-hero h1, .hero h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(30px,3.5vw,44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  color: var(--sportvolna-deep-blue) !important;
  max-width: 22ch;
}
.page-title { gap: 12px 20px; margin-bottom: 20px; }
.page-title h1 {
  margin: 6px 0 6px;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  overflow-wrap: anywhere;
}
.page-title p { margin: 0; }
.page-actions { flex-wrap: wrap; }
.page-title h2, .panel-head h2, .team-reminder-panel h2, .team-home-shortcuts h2,
.team-home-calendar h2, .team-home-calls h2, .team-home-personal h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(20px,2vw,28px) !important;
  line-height: 1.18 !important;
}
.page-title p, .team-home-hero p, .hero p { color: var(--sportvolna-muted) !important; font-size: 14px !important; }
.section-kicker, .eyebrow {
  color: var(--sportvolna-orange) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

.primary-button, .ghost-button, .icon-button, .text-button, .filter, .add-row,
.file-button, .modal-close, .task-detail-complete, .task-detail-delete {
  min-height: 44px !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
}
.primary-button {
  background: var(--sportvolna-orange) !important;
  border-color: var(--sportvolna-orange) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(255,122,0,.20) !important;
}
.primary-button:hover { background: #E86F00 !important; transform: translateY(-1px); }
.ghost-button, .icon-button, .text-button, .filter, .file-button, .add-row {
  background: white !important;
  border: 1px solid var(--sportvolna-line) !important;
  color: var(--sportvolna-blue) !important;
}
.ghost-button:hover, .icon-button:hover, .filter:hover, .filter.active { border-color: var(--sportvolna-orange) !important; color: var(--sportvolna-orange) !important; }
.icon-button { min-width: 44px !important; padding: 0 !important; }
input, select, textarea, .search {
  min-height: 44px !important;
  border: 1px solid var(--sportvolna-line) !important;
  border-radius: var(--radius-control) !important;
  background: white !important;
  color: var(--sportvolna-ink) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--sportvolna-orange) !important; box-shadow: 0 0 0 4px rgba(255,122,0,.12) !important; }
.search:focus-within {
  border-color: var(--sportvolna-orange) !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,.12);
}
.search > input {
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.search > input::placeholder { color: #637089; opacity: 1; font-weight: 400; }
label { color: var(--sportvolna-deep-blue) !important; font-size: 14px !important; font-weight: 700 !important; }

.panel, .workspace-placeholder, .integration-card, .links-hero, .personal-notebook,
.birthday-section, .birthday-post-panel, .team-reminder-panel, .team-home-shortcuts,
.team-home-calendar, .team-home-personal, .team-home-calls, .completed-task-archive,
.team-structure-card, .talent-card, .football-card, .idea-card {
  background: white !important;
  border: 1px solid rgba(8,50,141,.12) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-card) !important;
}

.team-home-hero {
  min-height: 132px !important;
  margin: -24px -28px 14px !important;
  padding: 22px 30px !important;
  background: linear-gradient(120deg,var(--sportvolna-deep-blue),var(--sportvolna-blue)) !important;
  border-radius: 0 0 24px 24px !important;
  overflow: hidden;
}
.team-home-hero h1 { margin: 7px 0 6px !important; color: white !important; font-size: clamp(28px,3.2vw,42px) !important; line-height: 1.02 !important; }
.team-home-hero p { color: rgba(255,255,255,.78) !important; font-size: 14px !important; }
.team-home-wave i { border-color: rgba(255,255,255,.10) !important; }
.team-home-wave { right: -40px !important; bottom: -50px !important; width: 260px !important; height: 180px !important; }
.team-home-wave i { border-width: 13px !important; }
.team-home-wave i:nth-child(2) { inset: 32px !important; }
.team-home-wave i:nth-child(3) { inset: 64px !important; }
.team-home-stats { gap: 12px !important; margin-bottom: 14px !important; }
.team-home-stats > * {
  min-height: 78px !important;
  padding: 12px 16px !important;
  background: white !important;
  border: 1px solid rgba(8,50,141,.12) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-card) !important;
}
.team-home-stats b { margin: 4px 0 2px !important; font-family: var(--font-heading) !important; font-size: 24px !important; }
.team-home-stats span { font-size: 10px !important; }
.team-home-stats small { font-size: 11px !important; }
.team-home-grid { gap: 14px !important; }
.team-reminder-list > *, .team-home-personal-list > * {
  border-radius: 16px !important;
  border-color: var(--sportvolna-line) !important;
  background: #FFFCF7 !important;
  font-size: 15px !important;
}
.team-home-calls > header span, .team-home-personal > header span, .team-home-calendar > header span { font-size: 12px !important; }
.team-home-calls > header p, .team-home-personal > header p, .team-home-calendar > header p { font-size: 13px !important; }
.team-home-personal-row { border-radius: 16px !important; min-height: 72px !important; }
.team-home-call-copy { color: var(--sportvolna-ink); font-size: 15px; font-weight: 650; line-height: 1.3; }
.team-home-personal-copy b { font-size: 15px !important; line-height: 1.35 !important; }
.team-home-personal-copy small { font-size: 12px !important; line-height: 1.35 !important; }
.team-home-personal-row > span { font-size: 12px !important; }
.team-home-calls-empty, .team-home-personal-empty { font-size: 13px !important; }
.team-home-calls-empty b, .team-home-personal-empty b { font-size: 15px !important; }
.team-calendar-time b { font-size: 13px; font-variant-numeric: tabular-nums; }
.team-calendar-time span { font-size: 10px; }
#team-home .team-calendar-copy h3 { font-size: 15px; line-height: 1.25; }
.team-calendar-copy p { font-size: 12px; line-height: 1.3; }
.team-calendar-row > a { font-size: 13px; }
.team-calendar-range button { font-size: 13px !important; }
.team-calendar-state { font-size: 13px !important; }
.team-calendar-state b { font-size: 16px !important; }

.hero {
  background: linear-gradient(120deg,var(--sportvolna-deep-blue),var(--sportvolna-blue)) !important;
  color: white !important;
  border-radius: 28px !important;
}
.hero h1 { color: white !important; }
.hero p { color: rgba(255,255,255,.75) !important; }
#overview > * { min-width: 0; }
#overview .hero > div:first-child { min-width: 0; }
#overview .hero-actions { flex-wrap: wrap; justify-content: flex-end; }
.stats-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) !important; }
.stats-grid > *, .content-grid > * { min-width: 0; }
.content-grid { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr) !important; }
.stat-card {
  border-radius: 20px !important;
  background: white !important;
  border: 1px solid rgba(8,50,141,.12) !important;
  box-shadow: var(--shadow-card) !important;
}
.progress b { background: var(--sportvolna-orange) !important; }

.task-project-tabs, .task-summary, .task-toolbar, .social-toolbar, .birthday-toolbar,
.talent-toolbar, .content-toolbar { gap: 10px !important; }
.task-project-tabs button, .task-summary button, .personal-notes-tabs button,
.builder-tabs button, .football-event-tabs button, .football-section-tabs button {
  min-height: 44px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}
.task-project-tabs button.active, .task-summary button.active, .personal-notes-tabs button.active,
.builder-tabs button.active, .football-event-tabs button.active, .football-section-tabs button.active {
  background: var(--sportvolna-blue) !important;
  color: white !important;
}
.task-summary button {
  background: white !important;
  border: 1px solid rgba(8,50,141,.12) !important;
  min-height: 100px !important;
}
.task-summary button b { font-family: var(--font-heading) !important; font-size: 30px !important; }
.task-board { gap: 16px !important; }
.task-column {
  background: var(--sportvolna-pale-blue) !important;
  border-radius: 20px !important;
  padding: 16px !important;
}
.task-column[data-task-status="review"] { background: #FFF0E3 !important; }
.task-column[data-task-status="done"] { background: #EAF7EF !important; }
.task-column > header { min-height: 46px !important; font-size: 14px !important; color: var(--sportvolna-deep-blue) !important; }
.task-card {
  background: white !important;
  border: 1px solid rgba(8,50,141,.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(6,26,78,.06) !important;
  color: var(--sportvolna-ink) !important;
}
.task-card h3, .task-card b { color: var(--sportvolna-deep-blue) !important; font-size: 15px !important; line-height: 1.35 !important; overflow-wrap: anywhere; }
.task-card p, .task-card small { font-size: 13px !important; color: var(--sportvolna-muted) !important; }
.task-detail-complete { background: var(--sportvolna-success) !important; color: white !important; border: 0 !important; }
#tasks .task-project-tabs {
  gap: 4px !important;
  margin-bottom: 10px;
  padding: 3px 3px 6px;
}
#tasks .task-project-tabs button {
  min-height: 36px !important;
  padding: 5px 9px;
  border-radius: 8px !important;
  border-color: transparent;
  background: transparent;
  color: var(--sportvolna-deep-blue);
  font-size: 13px !important;
  font-weight: 650 !important;
}
#tasks .task-project-tabs button:hover { background: var(--sportvolna-pale-blue); }
#tasks .task-project-tabs button.active {
  background: var(--sportvolna-blue) !important;
  border-color: var(--sportvolna-blue);
  color: #fff;
}
#tasks .task-project-tabs button > b {
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0 4px;
  font-size: 11px;
}
#tasks .task-project-tabs button.active > b {
  background: rgba(255,255,255,.17);
  color: #fff;
}
#tasks .task-toolbar {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(215px,2fr) repeat(3,minmax(136px,1fr));
  gap: 8px !important;
  margin-bottom: 14px;
}
#tasks.is-completed-view .task-toolbar {
  grid-template-columns: minmax(215px,2fr) repeat(2,minmax(136px,1fr));
}
#tasks .task-toolbar .search,
#tasks .task-toolbar select {
  box-sizing: border-box;
  min-height: 40px !important;
  height: 40px;
  width: 100%;
  min-width: 0;
  border-radius: 9px !important;
  font-weight: 550;
}
#tasks .task-toolbar .search {
  padding: 0 12px;
  gap: 9px;
}
#tasks .task-toolbar .search input { font-weight: 500; }
#tasks .task-toolbar .search > span {
  font: 600 18px/1 var(--font-ui);
  color: var(--sportvolna-blue);
}
#tasks .task-toolbar select {
  appearance: none;
  padding: 0 29px 0 11px;
  background-image:
    linear-gradient(45deg, transparent 50%, #62718c 50%),
    linear-gradient(135deg, #62718c 50%, transparent 50%) !important;
  background-position: right 15px center, right 11px center !important;
  background-size: 4px 4px !important;
  background-repeat: no-repeat !important;
  text-overflow: ellipsis;
}
#tasks .task-toolbar #taskProjectPill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  background: transparent;
  color: var(--sportvolna-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}
#tasks .task-summary { margin-bottom: 14px; }
#tasks .task-summary button { min-height: 74px !important; }
#tasks .task-summary button b { font-size: 25px !important; }
#tasks .task-summary button.active small { color: #e0ebff; }

.completed-task-archive {
  overflow: clip;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.completed-task-archive > header {
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 11px 16px;
}
.completed-task-archive > header b { font-size: 15px; color: var(--sportvolna-deep-blue); }
.completed-task-archive > header span { font-size: 12px; color: var(--sportvolna-muted); }
.completed-task-table {
  width: 100%;
  border-spacing: 0;
  table-layout: fixed;
  text-align: left;
}
.completed-task-table-head,
.completed-task-row { display: revert; }
.completed-task-table-head {
  background: #f3f6fb;
  color: #536383;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.completed-task-table th,
.completed-task-table td {
  padding: 8px 11px;
  vertical-align: middle;
}
.completed-task-table th:first-child,
.completed-task-table td:first-child { padding-left: 16px; }
.completed-task-table th:last-child,
.completed-task-table td:last-child { padding-right: 16px; }
.completed-task-table th:nth-child(2) { width: 20%; }
.completed-task-table th:nth-child(3) { width: 128px; }
.completed-task-table th:nth-child(4) { width: 15%; }
.completed-task-table th:nth-child(5) { width: 148px; }
.completed-task-row:nth-child(even) { background: #fafbfd; }
.completed-task-row:hover,
.completed-task-row:focus-within { background: #f1f5fe; }
.completed-task-table td { border-top: 1px solid #e7ecf5; }
.completed-task-row time { font-size: 12px; font-weight: 550; color: #536383; white-space: nowrap; }
.completed-task-title button,
.completed-task-action button {
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--sportvolna-blue);
  text-align: left;
  font: 700 14px/1.3 var(--font-ui);
  cursor: pointer;
}
.completed-task-title button {
  min-height: 24px;
  color: var(--sportvolna-deep-blue);
  overflow-wrap: anywhere;
}
.completed-task-title button:hover,
.completed-task-action button:hover { text-decoration: underline; }
.completed-task-title small {
  overflow: hidden;
  color: #536383;
  font-size: 12px;
  margin-top: 2px;
}
.completed-task-person { gap: 7px; }
.completed-task-person i {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  font-size: 10px;
}
.completed-task-person b {
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.completed-task-person.unknown b { color: #536383; font-weight: 500; }
.completed-task-project {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: #edf2fb;
  color: #315482;
  font-size: 11px;
  font-weight: 650;
}
.completed-task-action button {
  min-height: 34px;
  font-size: 12px !important;
  font-weight: 650;
}
.completed-task-empty { margin: 0; padding: 24px 16px; font-size: 14px; color: #536383; }
@media (max-width: 1170px) {
  #tasks .task-toolbar,
  #tasks.is-completed-view .task-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #tasks .task-toolbar .search { grid-column: 1 / -1; }
  .completed-task-table th:nth-child(2) { width: 22%; }
  .completed-task-table th:nth-child(3) { width: 116px; }
  .completed-task-table th:nth-child(5) { width: 131px; }
  .completed-task-table th,
  .completed-task-table td { padding-inline: 8px; }
}
@media (max-width: 900px) {
  .completed-task-table,
  .completed-task-table tbody { display: block; }
  .completed-task-table-head { display: none !important; }
  .completed-task-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "title title" "person date" "project action";
    align-items: center;
    gap: 4px 10px;
    border-top: 1px solid #e7ecf5;
    padding: 10px 14px 6px;
  }
  .completed-task-table .completed-task-row > td { border: 0; padding: 0; }
  .completed-task-title { grid-area: title; min-width: 0; padding-bottom: 2px !important; }
  .completed-task-performer { grid-area: person; min-width: 0; }
  .completed-task-date { grid-area: date; text-align: right; }
  .completed-task-category { grid-area: project; }
  .completed-task-action { grid-area: action; text-align: right; }
  .completed-task-action button { min-height: 44px; }
}
@media (max-width: 760px) {
  #tasks .task-project-tabs button { min-height: 44px !important; }
  #tasks .task-toolbar { overflow-x: visible; padding-bottom: 0; }
  #tasks .task-toolbar .search,
  #tasks .task-toolbar select { height: 44px; min-height: 44px !important; }
}

.content-calendar-scroll { padding-bottom: 12px; }
.content-calendar { gap: 12px !important; min-width: 1100px; }
.calendar-day {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(8,50,141,.13) !important;
  border-radius: 20px !important;
  min-width: 0;
}
.calendar-day.today { border: 2px solid var(--sportvolna-orange) !important; }
.calendar-day > header, .calendar-day-head { padding: 16px !important; }
.calendar-day-head span { font-size: 12px !important; }
.calendar-day-head b { font-family: var(--font-heading) !important; font-size: 24px !important; }
.calendar-post {
  border-radius: 16px !important;
  border: 1px solid rgba(8,50,141,.11) !important;
  border-left: 5px solid var(--sportvolna-orange) !important;
  background: white !important;
  padding: 14px !important;
  overflow: hidden;
}
.calendar-post.status-published { background: #EAF7EF !important; border-left-color: var(--sportvolna-success) !important; }
.calendar-post>b { font-size: 15px !important; line-height: 1.35 !important; overflow-wrap: anywhere; }
.calendar-post small { font-size: 12px !important; line-height: 1.4 !important; }
.calendar-post-time { font-size: 12px !important; }
.calendar-post-top > i { font-size: 10px !important; }
.channel-badge, .format-badge { min-height: 26px !important; border-radius: 999px !important; font-size: 11px !important; }
.channel-badge i, .format-badge i { font-size: 11px !important; }
.day-schedule > header span, .day-schedule-list > header span { font-size: 11px !important; }
.day-schedule > header h2 { font-family: var(--font-heading) !important; font-size: 26px !important; }
.day-schedule > header > b { font-size: 13px !important; }
.day-format span { font-size: 12px !important; }
.day-format small { font-size: 11px !important; }
.day-schedule-list > header h3 { font-size: 20px !important; }
.calendar-empty-day { font-size: 13px !important; }

.team-wave-banner {
  background: linear-gradient(120deg,var(--sportvolna-deep-blue),var(--sportvolna-blue)) !important;
  border-radius: 24px !important;
  color: white !important;
}
.team-wave-banner h2, .team-wave-banner p { color: white !important; }
.team-structure-grid { gap: 18px !important; }
.team-structure-card { padding: 22px !important; }
.team-structure-card h3 { font-size: 19px !important; color: var(--sportvolna-deep-blue) !important; }
.team-structure-card p, .team-structure-card small { font-size: 14px !important; color: var(--sportvolna-muted) !important; }
.birthday-dashboard { gap: 14px !important; }
.birthday-stat { border-radius: 20px !important; background: white !important; border: 1px solid rgba(8,50,141,.12) !important; }
.birthday-stat.today { border-color: var(--sportvolna-orange) !important; }
.birthday-stat b { font-family: var(--font-heading) !important; font-size: 36px !important; }
.birthday-section { padding: 24px !important; }
.birthday-section h2 { font-family: var(--font-heading) !important; font-size: 22px !important; }
.birthday-person { border-radius: 16px !important; font-size: 15px !important; }
.personal-notebook { border-left: 5px solid var(--sportvolna-orange) !important; }
.personal-note-row { border-radius: 16px !important; border-color: var(--sportvolna-line) !important; font-size: 15px !important; }
.idea-card, .talent-card, .football-card, .link-card, .integration-card { padding: 22px !important; }
.idea-card h3, .talent-card h3, .football-card h3, .link-card h3, .integration-card h2 { font-size: 19px !important; color: var(--sportvolna-deep-blue) !important; }
.workspace-empty, .workspace-placeholder p, .overview-empty { color: var(--sportvolna-muted) !important; font-size: 15px !important; }

.modal { backdrop-filter: blur(10px); }
.modal-backdrop { background: rgba(6,26,78,.62) !important; }
.modal-card {
  background: white !important;
  border-radius: 26px !important;
  box-shadow: 0 30px 80px rgba(6,26,78,.28) !important;
  color: var(--sportvolna-ink) !important;
}
.modal-card h2, .task-detail-form h2 { font-family: var(--font-heading) !important; color: var(--sportvolna-deep-blue) !important; }
.task-detail-topbar { background: var(--sportvolna-pale-blue) !important; border-bottom: 1px solid var(--sportvolna-line) !important; }
.task-detail-badge { background: white !important; color: var(--sportvolna-blue) !important; border-radius: 999px !important; }
.task-form label { font-size: 14px !important; }
.task-form input, .task-form select, .task-form textarea { font-size: 16px !important; }
.task-history-item { border-radius: 16px !important; border-color: var(--sportvolna-line) !important; font-size: 15px !important; }
.team-login { background: linear-gradient(135deg,var(--sportvolna-deep-blue),var(--sportvolna-blue)) !important; }
.team-login-card { border-radius: 28px !important; background: var(--sportvolna-cream) !important; box-shadow: 0 30px 80px rgba(0,0,0,.25) !important; }
.team-login-card h1 { font-family: var(--font-heading) !important; color: var(--sportvolna-deep-blue) !important; }

/* Star CRM directory */
.star-directory-shell {
  display: grid;
  grid-template-columns: minmax(260px,330px) minmax(0,1fr);
  gap: 22px;
  align-items: start;
}
.star-directory-list, .star-profile {
  background: white;
  border: 1px solid rgba(8,50,141,.12);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.star-directory-list { padding: 16px; position: sticky; top: 104px; }
.star-directory-search { width: 100%; margin-bottom: 12px; padding: 0 14px; }
.star-directory-items { display: grid; gap: 8px; max-height: calc(100vh - 235px); overflow: auto; padding-right: 4px; }
.star-list-button {
  width: 100%; min-height: 76px; padding: 10px; display: grid; grid-template-columns: 54px minmax(0,1fr);
  gap: 12px; align-items: center; text-align: left; border: 1px solid transparent; border-radius: 16px;
  background: transparent; color: var(--sportvolna-ink); cursor: pointer;
}
.star-list-button:hover, .star-list-button.active { background: var(--sportvolna-pale-blue); border-color: rgba(8,50,141,.15); }
.star-list-button.active { box-shadow: inset 4px 0 0 var(--sportvolna-orange); }
.star-list-button img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--sportvolna-pale-blue); }
.star-list-button b { display: block; color: var(--sportvolna-deep-blue); font-size: 15px; }
.star-list-button small { display: block; color: var(--sportvolna-muted); font-size: 12px; margin-top: 3px; }
.star-profile { overflow: hidden; }
.star-profile-hero {
  min-height: 330px; padding: 38px; display: grid; grid-template-columns: minmax(210px,290px) minmax(0,1fr);
  gap: 34px; align-items: center; background: linear-gradient(135deg,var(--sportvolna-deep-blue),var(--sportvolna-blue)); color: white;
}
.star-profile-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 44% 56% 50% 45% / 46% 42% 58% 54%; background: white; box-shadow: 0 18px 42px rgba(0,0,0,.25); }
.star-profile-hero h2 { font-family: var(--font-heading); color: white; font-size: clamp(28px,3vw,46px); line-height: 1.08; margin: 10px 0 14px; }
.star-profile-role { color: rgba(255,255,255,.82); font-size: 17px; max-width: 58ch; }
.star-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.star-profile-tags span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.star-profile-body { padding: 28px 34px 34px; display: grid; gap: 22px; }
.star-profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.star-profile-fact { padding: 16px; background: var(--sportvolna-cream); border-radius: 16px; }
.star-profile-fact small { display: block; color: var(--sportvolna-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.star-profile-fact b { display: block; margin-top: 6px; color: var(--sportvolna-deep-blue); font-size: 16px; }
.star-profile-sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.star-profile-section { border: 1px solid var(--sportvolna-line); border-radius: 18px; padding: 20px; min-width: 0; }
.star-profile-section h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 12px; }
.star-profile-section p, .star-profile-section li { font-size: 15px; color: var(--sportvolna-ink); }
.star-profile-section ul { margin: 0; padding-left: 20px; }
.star-crm-note { border: 1px dashed rgba(8,50,141,.32); background: var(--sportvolna-pale-blue); color: var(--sportvolna-blue); border-radius: 16px; padding: 16px; font-size: 14px; }
.star-profile-sources { display: flex; flex-wrap: wrap; gap: 10px; }
.star-profile-sources a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--sportvolna-line); border-radius: 999px; color: var(--sportvolna-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.star-profile-sources a:hover { border-color: var(--sportvolna-orange); color: var(--sportvolna-orange); }

@media (max-width:1180px) {
  .view { padding: 24px 24px 52px !important; }
  .team-home-hero { margin-left: -24px !important; margin-right: -24px !important; }
  #overview .hero { flex-wrap: wrap; gap: 18px; }
  #overview .hero-actions { width: 100%; justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .stats-grid .stat-card:last-child { grid-column: 1 / -1 !important; }
  .content-grid { grid-template-columns: 1fr !important; }
  .content-calendar { min-width: 980px; }
  .task-board { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .team-home-grid { grid-template-columns: 1fr !important; }
  .star-profile-hero { grid-template-columns: 220px minmax(0,1fr); }
}

@media (max-width:760px) {
  input:not([type="checkbox"]):not([type="radio"]), textarea { font-size: 16px !important; }
  .view { padding: 22px 16px 48px !important; }
  .topbar { min-height: 68px !important; padding: 10px 14px !important; }
  .team-home-hero h1, .hero h1 { font-size: 30px !important; }
  .team-home-hero { min-height: 140px !important; margin: -22px -16px 14px !important; padding: 20px 18px !important; border-radius: 0 0 20px 20px !important; }
  .team-home-stats, .team-home-grid, .birthday-layout, .birthday-upcoming-grid { grid-template-columns: 1fr !important; }
  .team-home-stats > * { min-height: 96px !important; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .stats-grid .stat-card:last-child { grid-column: auto !important; }
  .task-board { grid-template-columns: 1fr !important; }
  .task-project-tabs, .task-toolbar, .social-toolbar, .birthday-toolbar { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 8px; }
  .content-calendar { min-width: 920px; }
  .modal-card { width: calc(100vw - 20px) !important; max-height: calc(100vh - 20px) !important; border-radius: 20px !important; }
  .task-detail-layout { grid-template-columns: 1fr !important; }
  .star-directory-shell { grid-template-columns: 1fr; }
  .star-directory-list { position: static; }
  .star-directory-items { grid-auto-flow: column; grid-auto-columns: minmax(230px,80vw); overflow-x: auto; overflow-y: hidden; max-height: none; }
  .star-profile-hero { grid-template-columns: 1fr; padding: 24px; }
  .star-profile-photo { max-width: 240px; margin: 0 auto; }
  .star-profile-facts, .star-profile-sections { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
/* Festival guests CRM */
.festival-guests-title{align-items:center}
.festival-guest-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:-4px 0 18px}
.festival-guest-summary article{background:#fff;border:1px solid #d6e0f2;border-radius:18px;padding:18px 20px;box-shadow:0 10px 30px rgba(16,42,115,.04)}
.festival-guest-summary span,.festival-guest-summary b{display:block}.festival-guest-summary span{color:#7b879d;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.festival-guest-summary b{margin-top:8px;color:#102a73;font-size:30px;line-height:1}
.festival-guest-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:18px}.festival-guest-toolbar .search{flex:1;min-width:300px}.festival-guest-toolbar select{min-width:220px;border:1px solid #d2def1;border-radius:12px;background:#fff;padding:13px 14px;color:#102a73;font-weight:750}
.festival-tourist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.festival-tourist-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:15px;min-height:210px;text-align:left;border:1px solid #d7e1f2;border-radius:20px;background:#fff;padding:17px;cursor:pointer;color:#102a73;box-shadow:0 10px 30px rgba(16,42,115,.04);transition:.18s ease}
.festival-tourist-card:hover{transform:translateY(-3px);border-color:#ff7a18;box-shadow:0 16px 38px rgba(16,42,115,.1)}
.festival-tourist-photo{position:relative;width:84px;height:98px;border-radius:16px;background:linear-gradient(145deg,#e8efff,#fff0e3);display:grid;place-items:center;overflow:visible}.festival-tourist-photo img{width:100%;height:100%;object-fit:cover;border-radius:16px}.festival-tourist-photo>span{font-size:25px;font-weight:900}.festival-tourist-photo i{position:absolute;right:-7px;bottom:-7px;min-width:28px;height:28px;padding:0 6px;display:grid;place-items:center;border-radius:99px;background:#ff7a18;color:#fff;border:3px solid #fff;font-size:10px;font-style:normal;font-weight:900}
.festival-tourist-copy{min-width:0;display:flex;flex-direction:column}.festival-tourist-copy h3{font-size:17px;line-height:1.15;margin:2px 0 7px}.festival-tourist-copy p{font-size:11px;line-height:1.45;color:#77839a;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.festival-tourist-events{display:flex;gap:5px;flex-wrap:wrap;margin:13px 0}.festival-tourist-events span,.festival-tourist-events em{padding:5px 7px;border-radius:8px;background:#eef3ff;color:#3158a4;font-size:9px;font-style:normal;font-weight:800}.festival-tourist-events em{background:#fff0e3;color:#c15c13}.festival-tourist-copy footer{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:auto;border-top:1px solid #edf0f6;padding-top:10px;font-size:9px}.festival-tourist-copy footer span{color:#7e899d}.festival-tourist-copy footer b{color:#ff6f00}
.festival-crm-sync-state{margin:-6px 0 14px;padding:11px 14px;border:1px solid #d6e0f2;border-radius:12px;background:#f6f8fd;color:#68758c;font-size:12px;font-weight:750}.festival-crm-sync-state.ready{border-color:#b9dfc8;background:#f0faf4;color:#267044}.festival-crm-sync-state.warning{border-color:#f0d3b5;background:#fff7ef;color:#a95920}
.festival-tourist-table-wrap{overflow:auto;border:1px solid #d6e0f2;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(16,42,115,.04)}
.festival-tourist-table{width:100%;min-width:1050px;border-collapse:collapse;color:#102a73}.festival-tourist-table th{position:sticky;top:0;z-index:1;padding:0;background:#f2f6fe;border-bottom:1px solid #d6e0f2;text-align:left}.festival-tourist-table th button{width:100%;padding:14px 16px;border:0;background:transparent;color:#65738b;font-size:11px;font-weight:900;letter-spacing:.05em;text-align:left;text-transform:uppercase;cursor:pointer}.festival-tourist-table th button:hover{color:#ff6f00}.festival-tourist-table td{padding:14px 16px;border-bottom:1px solid #e7edf7;vertical-align:middle;font-size:13px}.festival-tourist-table tbody tr:last-child td{border-bottom:0}.festival-tourist-table tbody tr[data-festival-guest]{cursor:pointer;transition:background .15s ease}.festival-tourist-table tbody tr[data-festival-guest]:hover{background:#fff8f1}
.festival-table-person{display:flex;align-items:center;gap:12px;min-width:230px}.festival-table-person>span{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,#e8efff,#fff0e3);color:#102a73;font-weight:900}.festival-table-person img{width:100%;height:100%;object-fit:cover}.festival-table-person b{display:block;font-size:14px}.festival-table-person small{display:block;margin-top:3px;color:#8590a4;font-size:10px}.festival-table-contact{display:grid;gap:3px;min-width:180px}.festival-table-contact a{color:#2559b5;font-size:12px;font-weight:750;text-decoration:none}.festival-table-contact span{color:#8792a4;font-size:11px}.festival-trip-count{display:inline-grid;min-width:34px;height:30px;padding:0 9px;place-items:center;border-radius:10px;background:#eef3ff;color:#2559b5;font-size:13px;font-weight:900}.festival-last-event{display:grid;gap:3px;min-width:170px}.festival-last-event b{font-size:12px}.festival-last-event small{color:#8590a4;font-size:10px}.festival-table-tags{display:flex;max-width:260px;gap:5px;flex-wrap:wrap}.festival-table-tags span{padding:5px 7px;border-radius:8px;background:#f1f4fa;color:#5e6c82;font-size:9px;font-weight:800}.festival-profile-state{min-width:120px;border:1px solid #d2def1;border-radius:10px;background:#fff;padding:9px 11px;color:#2559b5;font-size:11px;font-weight:850;cursor:pointer}.festival-profile-state.ready{border-color:#b9dfc8;background:#f0faf4;color:#267044}.festival-profile-state:hover{border-color:#ff7a18;color:#c15c13}
.client-materials-editor{border:1px solid #d7e1f2;border-radius:16px;background:#fff;padding:16px}.client-materials-editor>div:first-child{display:flex;flex-direction:column;margin-bottom:10px}.client-materials-editor small{color:#7e899b;margin-top:3px}.client-materials-editor>.file-button{display:inline-flex;width:max-content}.client-materials-editor textarea[hidden]{display:none}.client-materials-editor #clientMaterialList{display:grid;gap:7px;margin-top:11px}.client-materials-editor #clientMaterialList>p{margin:0;padding:13px;border:1px dashed #cbd7eb;border-radius:10px;color:#8490a4;font-size:10px}.client-materials-editor #clientMaterialList article{display:grid;grid-template-columns:30px 1fr auto 28px;gap:8px;align-items:center;padding:8px;background:#f4f7fc;border-radius:10px}.client-materials-editor #clientMaterialList article>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#e6edff}.client-materials-editor #clientMaterialList b,.client-materials-editor #clientMaterialList small{display:block}.client-materials-editor #clientMaterialList b{font-size:10px}.client-materials-editor #clientMaterialList small{font-size:8px}.client-materials-editor #clientMaterialList a{font-size:9px;color:#2559b5;font-weight:800}.client-materials-editor #clientMaterialList button{border:0;background:#fff;color:#bf543c;border-radius:7px;height:28px}.client-materials-editor #clientMaterialList article.pending{grid-template-columns:30px 1fr;opacity:.75}
@media(max-width:1180px){.festival-tourist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.festival-guest-summary{grid-template-columns:1fr}.festival-guest-toolbar{align-items:stretch;flex-direction:column}.festival-guest-toolbar .search,.festival-guest-toolbar select{width:100%;min-width:0}.festival-tourist-grid{grid-template-columns:1fr}.festival-tourist-card{grid-template-columns:70px minmax(0,1fr)}.festival-tourist-photo{width:70px;height:82px}}

/* Task navigation and workspace layout */
#taskNavigation {
  gap: 14px !important;
  margin-top: 14px;
  padding: 0 2px 14px !important;
}
#taskNavigation .nav-group {
  display: grid;
  gap: 3px;
  min-width: 0;
}
#taskNavigation .nav-group + .nav-group {
  border-top: 1px solid rgba(255,255,255,.17);
  padding-top: 13px;
}
#taskNavigation .nav-item {
  gap: 9px;
  padding: 9px 10px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}
#taskNavigation .nav-item > span { flex: 0 0 22px; }
#taskNavigation .nav-item > i,
#taskNavigation .nav-item > em { flex-shrink: 0; }
#taskNavigation .nav-submenu {
  margin-left: 20px !important;
  padding-left: 9px;
}
#taskNavigation .nav-submenu > button > span { flex-shrink: 0; }
#taskNavigation .nav-submenu > button.active {
  background: #ffa253 !important;
  color: var(--sportvolna-deep-blue) !important;
}
#taskNavigation .nav-item.active {
  background: #ffa253 !important;
  color: var(--sportvolna-deep-blue) !important;
}
#taskNavigation .nav-item.active > span,
#taskNavigation .nav-submenu > button.active > span { color: inherit !important; }
#taskNavigation button:focus-visible,
#taskNavigation select:focus-visible {
  outline: 2px solid #ffc18a;
  outline-offset: -2px;
}
.sidebar-backdrop { display: none; }

.main, .topbar .breadcrumbs { min-width: 0; }
.topbar .breadcrumbs { flex: 1 1 auto; }
.topbar .breadcrumbs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .top-actions { flex-shrink: 0; }

#team-home .team-home-hero {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  min-height: 108px !important;
  margin: 0 0 15px !important;
  padding: 20px 25px !important;
  border-radius: 22px !important;
}
#team-home .team-home-hero h1 {
  max-width: none;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem) !important;
  overflow-wrap: anywhere;
}
#team-home .team-home-copy { position: relative; z-index: 1; min-width: 0; }
#team-home .team-home-stats > button {
  appearance: none;
  text-align: left;
  cursor: pointer;
}
#team-home .team-home-stats > button:hover {
  border-color: #7798dc !important;
  background: #f7faff !important;
}
#team-home .team-home-stats > button:nth-child(2):hover {
  border-color: #e1925f !important;
  background: #fff8f2 !important;
}
#team-home .team-home-stats > button {
  min-width: 0;
  min-height: 75px !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
}
#team-home .team-home-stats span,
#team-home .team-home-stats small { font-size: .75rem !important; }
#team-home .team-home-stats b { font-size: 1.3rem !important; }
#team-home .team-reminder-task b {
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.35;
}
#team-home .team-reminder-task small,
#team-home .team-reminder-task em { font-size: .75rem; }
.team-home-summary-link {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.team-home-summary-link:hover { background: rgba(255,255,255,.18); }
#team-home .team-home-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr) !important;
  align-items: start;
}
.team-home-left {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}
#team-home :is(.team-home-calls, .team-home-personal, .team-home-calendar) {
  min-width: 0;
  margin: 0;
  padding: 16px 18px 18px;
}
#team-home :is(.team-reminder-panel, .team-home-calls, .team-home-personal, .team-home-calendar) > header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
#team-home .team-reminder-panel > header { padding: 14px 18px; }
#team-home .team-home-grid h2 {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 24px) !important;
}
.team-home-task-actions, #team-home .team-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#team-home .team-home-grid header .ghost-button,
#team-home .team-home-grid form .primary-button {
  width: auto;
  min-height: 36px !important;
  padding: 5px 10px;
  border-radius: 9px !important;
  font-size: 13px !important;
}
#team-home [data-home-action="new-task"] { min-width: 36px; font-size: 18px !important; }
#team-home .team-home-complete { min-height: 72px; }
#team-home .team-home-calls { padding: 12px 14px 8px; }
#team-home .team-home-calls form .primary-button { min-width: 44px; font-size: 20px !important; }
.personal-notebook .personal-note-quick-fields,
#team-home .personal-note-quick-fields {
  display: grid;
  grid-template-columns: minmax(0,76px) minmax(0,160px) minmax(max-content,1fr);
  align-items: end;
  justify-content: start;
  gap: 6px 8px;
}
.personal-note-quick-title { grid-column: 1 / -1; }
.personal-note-quick-fields > label {
  display: grid;
  gap: 3px;
  min-width: 0;
  font-size: 12px !important;
}
.personal-note-quick-fields :is(input,select) {
  width: 100%;
  min-width: 0;
  padding-inline: 7px;
}
#team-home .personal-note-quick-fields .primary-button { min-height: 44px !important; }
.personal-note-quick-fields .primary-button { justify-self: end; width: auto; }
@media (max-width: 380px) {
  .personal-notebook .personal-note-quick-fields,
  #team-home .personal-note-quick-fields {
    grid-template-columns: minmax(0,68px) minmax(0,1fr) auto;
    column-gap: 5px;
  }
}
#team-home .team-home-personal-list { grid-template-columns: minmax(0,1fr); }
#team-home .team-home-personal-copy b {
  white-space: normal;
  overflow-wrap: anywhere;
}

#team-home .team-home-calendar { padding: 12px 14px; }
#team-home .team-home-calendar > header { margin-bottom: 8px; }
#team-home .team-calendar-actions { display: flex; }
#team-home .team-calendar-actions #teamCalendarRefresh { min-width: 36px; font-size: 17px !important; }
#team-home .team-calendar-navigation {
  grid-template-columns: 36px 36px minmax(0,1fr);
  gap: 4px;
  margin-bottom: 7px;
}
#team-home .team-calendar-week-arrow { width: 100%; }
#team-home .team-calendar-week-arrow,
#team-home .team-calendar-view-actions button { min-height: 36px; border-radius: 9px; }
#team-home .team-calendar-view-actions {
  grid-column: auto;
  grid-template-columns: auto auto;
  justify-self: end;
  gap: 4px;
}
#team-home .team-calendar-view-actions button { min-width: 0; padding: 0 9px; }
#team-home .team-calendar-days {
  grid-column: 1 / -1;
  gap: 3px;
  padding: 2px 1px 4px;
}
#team-home .team-calendar-day {
  flex: 1 0 32px;
  display: grid;
  place-content: center;
  gap: 1px;
  min-width: 32px;
  min-height: 44px;
  padding: 3px 1px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.15;
}
#team-home .team-calendar-day b { font-size: 12px; font-variant-numeric: tabular-nums; }
#team-home .team-calendar-day.active { box-shadow: none; }
#team-home .team-calendar-events.day-mode,
#team-home .team-calendar-week-groups { grid-template-columns: minmax(0,1fr); gap: 4px; }
#team-home .team-calendar-day-group { padding: 8px; border-radius: 10px; }
#team-home .team-calendar-day-group > header { margin-bottom: 5px; }
#team-home .team-calendar-day-group > div { gap: 4px; }
#team-home .team-calendar-day-group > div > p { padding: 5px; }
#team-home .team-calendar-row {
  grid-template-columns: minmax(78px,auto) minmax(0,1fr) auto;
  gap: 7px;
  min-height: 49px;
  padding: 3px 5px 3px 8px;
  border-radius: 9px;
}
#team-home .team-calendar-row .team-calendar-time {
  display: grid;
  min-height: 0;
  gap: 1px;
  padding: 0;
  background: transparent;
  color: var(--sportvolna-blue);
  box-shadow: none;
}
#team-home .team-calendar-row.is-current .team-calendar-time span { color: #ab4a00; }
#team-home .team-calendar-row.is-past { opacity: .82; }
#team-home .team-calendar-copy h3,
#team-home .team-calendar-copy p { overflow-wrap: anywhere; white-space: normal; }
#team-home .team-calendar-copy p { margin-top: 2px; }
#team-home .team-calendar-row > a {
  display: grid;
  min-height: 36px;
  min-width: 36px;
  place-items: center;
  padding: 0 5px;
  border-radius: 7px;
}
#team-home .team-calendar-join-icon { display: none; }
@media (max-width: 1050px) {
  #team-home .team-home-grid { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 760px) {
  .team-home-summary-link,
  #team-home .team-home-grid header .ghost-button,
  #team-home .team-calendar-week-arrow,
  #team-home .team-calendar-view-actions button { min-height: 44px !important; }
  #team-home .team-calendar-navigation { grid-template-columns: 44px 44px minmax(0,1fr); }
  #team-home .team-calendar-row > a { min-width: 44px; min-height: 44px; }
  #team-home .team-calendar-join-label { display: none; }
  #team-home .team-calendar-join-icon { display: inline; }
}
@media (max-width: 360px) {
  #team-home .team-calendar-row {
    grid-template: "time link" "copy link" / minmax(0,1fr) auto;
    align-content: center;
    gap: 2px 6px;
  }
  #team-home .team-calendar-time { grid-area: time; }
  #team-home .team-calendar-copy { grid-area: copy; }
  #team-home .team-calendar-row > a { grid-area: link; }
}

.useful-links-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(32px, 6vw, 72px) 20px;
  border: 1px dashed var(--sportvolna-line);
  border-radius: 20px;
  background: white;
  text-align: center;
}
.useful-links-empty > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sportvolna-pale-blue);
  color: var(--sportvolna-blue);
}
.useful-links-empty h2 { margin: 0; font-size: 1rem; }

#event-copy .event-copy-layout {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
#event-copy .event-copy-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
#event-copy .event-copy-form label { min-width: 0; font-size: .875rem; }
#event-copy .event-copy-form input,
#event-copy .event-copy-form textarea,
#event-copy .event-copy-result textarea { font-size: 1rem; }
#event-copy .event-copy-form header span,
#event-copy .event-copy-form header p,
#event-copy .event-copy-result header span,
#event-copy .event-copy-result footer small { font-size: .8125rem; }
#event-copy .event-copy-result > header,
#event-copy .event-copy-result > footer,
#event-copy .event-copy-result > footer > div { flex-wrap: wrap; }

@media (max-width: 1060px) {
  #event-copy .event-copy-layout { grid-template-columns: minmax(0,1fr); }
  #event-copy .event-copy-result { position: static; }
}

@media (max-width: 760px) {
  .sidebar { visibility: hidden; }
  .sidebar.open { visibility: visible; }
  .sidebar.open + .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    border: 0;
    background: rgba(5,17,48,.52);
  }
  #mobileMenu { flex: 0 0 42px; margin-right: 6px; }
  .topbar .breadcrumbs > span,
  .topbar .breadcrumbs > i { display: none; }
  .topbar #topTaskSearch { display: grid; place-items: center; }
  #team-home .team-home-hero { margin-top: 0 !important; padding: 18px !important; }
  #team-home .team-home-stats { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 7px !important; }
  #team-home .team-home-stats > button { padding: 9px 7px !important; }
  #team-home .team-home-stats span { letter-spacing: 0 !important; overflow-wrap: anywhere; }
  #team-home .team-reminder-task { gap: 8px; }
  #event-copy .event-copy-pair { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 430px) {
  .topbar .top-actions { gap: 4px; }
  .topbar .top-actions > .icon-button { min-width: 34px; width: 34px; padding-inline: 0; }
  .topbar #quickAdd { min-width: 0; padding-inline: 9px !important; white-space: nowrap; }
}

#taskNavigation .event-nav-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 3px;
  padding: 9px 10px;
  color: #fff;
  font: 750 .9375rem/1.24 var(--font-ui);
}
#taskNavigation .event-nav-heading > span {
  flex: 0 0 22px;
  color: #ffad67;
  text-align: center;
}
#taskNavigation .event-nav-list {
  margin: 0 0 5px 20px;
  padding: 0 0 0 9px;
  border-left: 1px solid rgba(255,255,255,.19);
  list-style: none;
}
#taskNavigation .event-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #e1e9fb;
  font: 650 .875rem/1.25 var(--font-ui);
  text-align: left;
  cursor: pointer;
}
#taskNavigation .event-nav-toggle > i {
  flex: none;
  color: #a8b9dc;
  font: 600 1.2rem/1 sans-serif;
}
#taskNavigation .event-nav-toggle[aria-expanded="true"] > i { transform: rotate(90deg); }
#taskNavigation .event-nav-toggle:hover,
#taskNavigation .event-nav-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,.10);
  color: #fff;
}
#taskNavigation .is-current > .event-nav-toggle { color: #ffbf87; }
#taskNavigation .event-nav-panel {
  margin: 2px 0 6px 10px !important;
  padding-left: 8px;
}
#taskNavigation .event-nav-panel > button {
  padding-inline: 7px;
  font-size: .8125rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
#taskNavigation .event-nav-panel[hidden] { display: none; }

.festival-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(225px, 1fr);
  align-items: start;
  gap: 18px;
}
.festival-calendar-list, .festival-calendar-resources {
  background: #fff;
  border: 1px solid var(--sportvolna-line,#dce5f8);
  border-radius: 18px;
  margin: 0;
}
.festival-calendar-list { list-style: none; padding: 0 18px; }
.festival-calendar-event {
  display: grid;
  grid-template-columns: minmax(126px, 1fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.festival-calendar-event + .festival-calendar-event { border-top: 1px solid #e4eaf5; }
.festival-calendar-event h2, .festival-calendar-resources h2 {
  margin: 0;
  color: var(--sportvolna-deep-blue,#0d2256);
  font: 750 1.125rem/1.2 var(--font-ui);
}
.festival-calendar-event p { color: #536381; margin: 4px 0 0; }
.festival-calendar-event .festival-calendar-date {
  margin: 0;
  color: var(--sportvolna-deep-blue,#0d2256);
  font-weight: 700;
}
.festival-calendar-event .ghost-button { min-height: 44px; white-space: nowrap; }
.festival-calendar-resources { padding: 16px; }
.festival-calendar-resources h2 { margin-bottom: 8px; }
.festival-calendar-resources button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--sportvolna-deep-blue,#0d2256);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.festival-calendar-resources button + button { border-top: 1px solid #e4eaf5; }
.festival-calendar-resources button:hover { text-decoration: underline; }
@media (max-width: 1040px) {
  .festival-calendar-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  #taskNavigation .event-nav-toggle { min-height: 44px; }
}
@media (max-width: 500px) {
  .festival-calendar-list { padding-inline: 12px; }
  .festival-calendar-event { grid-template-columns: minmax(0,1fr) auto; gap: 5px 9px; }
  .festival-calendar-event .festival-calendar-date { grid-column: 1 / -1; }
  .festival-calendar-event .ghost-button { padding-inline: 10px !important; }
}

.completion-notice {
  position: fixed;
  inset: auto 18px max(18px, env(safe-area-inset-bottom)) auto;
  z-index: 110;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 11px;
  width: min(370px, calc(100% - 36px));
  padding: 13px 14px;
  border: 1px solid #b9d9c8;
  border-radius: 14px;
  background: #fff;
  color: var(--sportvolna-deep-blue);
  box-shadow: 0 10px 32px rgba(6,26,78,.18);
}
.completion-notice-mark, .personal-note-done-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e6f5ec;
  color: #206844;
  font-weight: 800;
}
.completion-notice-mark { width: 32px; height: 32px; }
.completion-notice-content strong { color: #206844; }
.completion-notice-content p { margin: 2px 0 0; overflow-wrap: anywhere; }
#completionNoticeError:empty { display: none; }
#completionNoticeError { color: #9d332a; font-size: 13px; }
.completion-notice-actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.completion-notice-actions button,
.completion-notice-close,
.personal-note-restore {
  min-height: 34px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--sportvolna-blue);
  font-weight: 700;
  cursor: pointer;
}
#completionUndo { border-color: #b9d9c8; background: #e6f5ec; color: #185c3a; }
#completionUndo:disabled { opacity: .6; cursor: wait; }
.completion-notice-close { min-width: 34px; font-size: 18px !important; }
.completion-notice-actions button:hover:not(:disabled),
.completion-notice-close:hover,
.personal-note-restore:hover { text-decoration: underline; }
.personal-note-restore { min-height: 30px; padding: 2px 7px; font-size: 13px !important; }
@media (max-width: 760px) {
  .completion-notice-actions button, .completion-notice-close { min-height: 44px; }
  .completion-notice-close { min-width: 44px; }
}

.task-activity-panel,
.task-activity-feed {
  margin-bottom: 14px;
  border: 1px solid var(--sportvolna-line);
  border-radius: 14px;
  background: #fff;
}
#task-activity .page-actions select { padding-inline: 12px; }
.task-activity-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px 16px;
}
.task-activity-metrics p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 0;
  padding-inline: 0 14px;
  color: var(--sportvolna-deep-blue);
  font-weight: 650;
}
.task-activity-metrics p + p {
  border-inline-start: 1px solid var(--sportvolna-line);
  padding-inline: 14px 0;
}
.task-activity-metrics p > span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-end: 6px;
  border-radius: 3px;
  background: #527bcb;
}
.task-activity-metrics p + p > span::before { background: #32976f; }
.task-activity-metrics strong { font: 700 21px/1.25 var(--font-heading); }
.task-activity-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(56px,1fr);
  gap: 6px;
  overflow-x: auto;
  padding: 2px 16px 12px;
}
.task-activity-column {
  display: grid;
  grid-template-rows: 64px auto;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.task-activity-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  border-bottom: 1px solid var(--sportvolna-line);
}
.task-activity-bars i {
  width: min(18px, 24%);
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  background: #527bcb;
}
.task-activity-bars i.completed { background: #32976f; }
.task-activity-column small { color: #536383; font-size: 11px; white-space: nowrap; }
.task-activity-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 15px;
}
.task-activity-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.task-activity-filters button {
  min-height: 35px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--sportvolna-blue);
  font-weight: 650;
  cursor: pointer;
}
.task-activity-filters button:hover { border-color: var(--sportvolna-line); }
.task-activity-filters button[aria-pressed="true"] { background: var(--sportvolna-pale-blue); }
#taskActivityCount { color: #536383; font-size: 12px; }
.task-activity-timeline { list-style: none; margin: 0; padding: 0; }
.task-activity-row {
  display: grid;
  grid-template-columns: minmax(114px,.67fr) 105px minmax(0,2fr) minmax(128px,1fr);
  gap: 8px 14px;
  align-items: center;
  min-width: 0;
  padding: 8px 15px;
  border-top: 1px solid #e8edf6;
}
.task-activity-row:nth-child(even) { background: #fafbfd; }
.task-activity-row time { color: #536383; font-size: 12px; }
.task-activity-type {
  justify-self: start;
  padding: 3px 6px;
  border-radius: 6px;
  background: #edf3ff;
  color: #254885;
  font-size: 11px;
  font-weight: 700;
}
.task-activity-type.completed { background: #e6f5ee; color: #1e6348; }
.task-activity-summary button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--sportvolna-deep-blue);
  text-align: left;
  font-weight: 710;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.task-activity-summary button:hover { text-decoration: underline; }
.task-activity-summary small { display: block; color: #536383; font-size: 12px; }
.task-activity-actor {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #283951;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.task-activity-actor i {
  display: grid;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e8eef9;
  color: #315582;
  font: 700 9px/1 var(--font-ui);
}
.task-activity-empty { margin: 0; padding: 20px 15px; color: #536383; }
#taskActivityMore { margin: 10px 15px; }
@media (max-width: 900px) {
  .task-activity-row {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "summary summary" "actor type" "time time";
  }
  .task-activity-row time { grid-area: time; }
  .task-activity-summary { grid-area: summary; }
  .task-activity-actor { grid-area: actor; }
  .task-activity-type { grid-area: type; }
}
@media (max-width: 760px) {
  .task-activity-filters button { min-height: 44px; }
}
