@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-500.ttf');
  font-weight: 500;
}
@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-700.ttf');
  font-weight: 700;
}
:root {
  font-family: Manrope, sans-serif;
  color: #193633;
  background: #f1f7f6;
  font-synthesis: none;
  --muted: #4d6961;
  --line: #cddfd7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 100% 0,#ceeae1,transparent 65%),#f1f7f6;
  min-height: 100vh;
}
button, a { -webkit-tap-highlight-color: transparent; }
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transform: scale(var(--press-scale,1));
}
button:focus-visible, a:focus-visible {
  outline: 3px solid #166658;
  outline-offset: 3px;
}
button, dialog { border: 0; }
button { background: transparent; }
button:hover { filter: brightness(.97); }
::selection { background: #81d8d0; color: #193633; }
h1,h2,h3,p { margin: 0; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
[data-category="men"] {
  --color: #315d92;
  --tint: #e3edf8;
  --deep: #203f68;
}
[data-category="women"] {
  --color: #99486c;
  --tint: #f6e5ed;
  --deep: #70314c;
}
[data-category="kids"] {
  --color: #946321;
  --tint: #f8ebcd;
  --deep: #654415;
}
[data-category="junior"] {
  --color: #2c796a;
  --tint: #dbf0e5;
  --deep: #20574c;
}
.site-header {
  height: 76px;
  padding: 0 max(28px,calc((100vw - 1384px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfffcce;
  border-bottom: 1px solid #c9ded7;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 25px; font-weight: 700; letter-spacing: -.035em; }
.brand img { width: 35px; height: 39px; }
.prototype-label { color: var(--muted); font-size: 12px; }
main { max-width: 1440px; margin: auto; padding: 25px 28px 40px; }
.view-options {
  display: flex;
  padding: 5px;
  gap: 4px;
  width: fit-content;
  border-radius: 14px;
  background: #daeae3;
  margin-bottom: 28px;
}
.view-options button { padding: 11px 20px; font-size: 13px; border-radius: 10px; }
.view-options button[aria-pressed="true"] { background: #fff; box-shadow: 0 4px 10px #1b403118; font-weight: 700; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 23px; }
h1 { font-size: 36px; letter-spacing: -.035em; line-height: 1.2; }
.page-heading > span { font-size: 12px; color: var(--muted); }
.categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.categories button { display: flex; align-items: center; gap: 7px; min-height: 36px; border-radius: 10px; background: #ffffff8c; padding: 8px 13px; font-size: 12px; }
.categories button i { width: 10px; height: 15px; background: var(--color); clip-path: polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); }
.categories button[aria-pressed="true"] { background: var(--color,#193633); color: #fff; }
.categories button[aria-pressed="true"] i { background: #fff; }
.layout { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: 26px; align-items: start; }
.surface {
  background: linear-gradient(115deg,#ffffffee,#f6fffae0 65%,#e4f3ecd9);
  border: 1px solid #fff;
  box-shadow: 0 4px 0 #b4cfc852,0 17px 34px #1936330c;
  border-radius: 22px;
}
.calendar { overflow: hidden; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px; gap: 8px; }
h2 { font-size: 23px; letter-spacing: -.025em; }
.date-controls { display: flex; gap: 6px; align-items: center; }
.date-controls button { border-radius: 9px; height: 35px; min-width: 34px; background: #e2efe8; font-size: 25px; }
.date-controls #today { padding: 0 13px; margin-right: 4px; font-size: 12px; }
.week-labels,.month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.week-labels { padding-bottom: 12px; text-align: center; color: var(--muted); font-size: 11px; }
.day-cell { min-height: 95px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 6px; min-width: 0; }
.day-cell:nth-child(7n) { border-right: 0; }
.day-cell.outside { background: #e9f2ed7a; }
.day-cell.outside .date-button { color: #62776e; }
.day-cell.selected { background: #d8eee3; box-shadow: inset 0 0 0 2px #4f9f87; }
.date-button { min-width: 27px; height: 27px; padding: 0 5px; border-radius: 7px; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.date-button[aria-current="date"] { background: #193633; color: white; }
.event-band {
  display: flex;
  align-items: flex-start;
  width: 100%;
  background: var(--tint);
  color: var(--deep);
  gap: 6px;
  text-align: left;
  border-radius: 7px;
  padding: 7px 6px;
  margin-bottom: 5px;
  box-shadow: inset 0 0 0 1px #ffffffa8,0 2px 4px #243e3110;
}
.event-band .band-icon { display: grid; place-items: center; width: 22px; height: 25px; flex-shrink: 0; color: #fff; background: var(--color); border-radius: 5px; }
.band-icon svg { width: 15px; height: 15px; }
.band-text { display: grid; gap: 3px; min-width: 0; }
.band-time { font-size: 11px; }
.band-title { font-size: 12px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.mobile-band { display: none; }
.calendar-foot { display: flex; justify-content: space-between; gap: 10px; padding: 15px 20px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.more-button { font-size: 11px; min-height: 28px; padding: 0 3px; text-align: left; color: #254f42; }
.agenda-heading { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 17px; }
.agenda-heading span { font-size: 12px; color: var(--muted); }
.detail-card { margin-bottom: 15px; overflow: hidden; }
.card-top { display: flex; justify-content: space-between; gap: 10px; padding: 15px 18px; background: var(--tint); color: var(--deep); border-bottom: 1px solid #ffffffcf; align-items: center; }
.category-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.card-top time { font-size: 13px; font-weight: 700; }
.card-copy { padding: 18px; }
.card-copy h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 9px; }
.card-copy p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-specs { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 16px 0; font-size: 12px; }
.lp { color: #654f81; background: #eee7f5; font-size: 11px; padding: 4px 6px; border-radius: 5px; }
.mine { color: #276e4b; font-size: 12px; font-weight: 700; margin: 15px 0; }
.primary { display: flex; justify-content: space-between; width: 100%; align-items: center; padding: 12px; min-height: 44px; border-radius: 10px; background: #81d8d0; font-size: 12px; font-weight: 700; }
.empty { padding: 25px 18px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.study-note { font-size: 12px; color: var(--muted); margin-top: 24px; }

/* Week mode gives full titles their own space. */
[data-view-mode="week"] .layout { display: block; }
[data-view-mode="week"] #agenda { display: none; }
.week-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.week-column { border-right: 1px solid var(--line); min-height: 400px; padding: 0 9px 16px; }
.week-column:last-child { border-right: 0; }
.week-date { display: flex; align-items: baseline; justify-content: space-between; width: 100%; color: #4d6961; padding: 13px 5px 17px; border-top: 1px solid var(--line); }
.week-date b { font-size: 27px; font-weight: 700; letter-spacing: -.03em; }
.week-date small { font-size: 11px; }
.week-column.today .week-date { color: #176254; }
.week-card { display:block; width: 100%; text-align: left; background: var(--tint); color: var(--deep); border-radius: 12px; overflow: hidden; margin: 0 0 13px; padding: 0; box-shadow: 0 4px 10px #284c3512; }
.week-card-head { display: flex; justify-content: space-between; gap: 6px; align-items: center; padding: 10px; background: var(--color); color: #fff; font-size: 12px; }
.week-card-copy { display: grid; gap: 10px; padding: 13px 10px 16px; }
.week-card-copy strong { font-size: 17px; letter-spacing: -.02em; line-height: 1.3; }
.week-card-copy small { font-size: 11px; }
.week-card-copy .category-name { font-weight: 700; }
.week-card-copy .week-mine { font-size: 11px; font-weight: 700; }
.week-empty { padding: 15px 5px; color: var(--muted); font-size: 12px; }
.week-strip { display: none; }
@media(max-width:1100px) {
  .layout { grid-template-columns: minmax(0,1fr) 250px; gap: 18px; }
  .band-icon { display: none !important; }
  .week-card-copy strong { font-size: 15px; }
}
@media(max-width:800px) {
  .site-header { height: 65px; padding: 0 18px; }
  .brand { font-size: 23px; }
  .brand img { width: 30px; }
  .prototype-label { font-size: 11px; }
  main { padding: 16px 14px 32px; }
  .view-options { width: 100%; gap: 2px; padding: 4px; margin-bottom: 24px; }
  .view-options button { flex: 1; font-size: 11px; line-height: 1.4; padding: 9px 5px; }
  .page-heading { display: block; margin-bottom: 18px; }
  h1 { font-size: 28px; }
  .page-heading > span { display: block; margin-top: 8px; font-size: 11px; }
  .categories { gap: 6px; margin-bottom: 20px; }
  .categories button { font-size: 11px; padding: 6px 9px; gap: 5px; min-height: 33px; }
  .categories button i { width: 8px; height: 13px; }
  .layout { display: block; }
  .calendar { border-radius: 18px; }
  .calendar-heading { padding: 18px 12px; }
  .calendar-heading h2 { font-size: 20px; }
  .date-controls { gap: 3px; }
  .date-controls button { min-width: 28px; height: 31px; }
  .date-controls #today { font-size: 11px; padding: 0 7px; margin-right: 0; }
  .day-cell { min-height: 67px; padding: 4px 2px; }
  .date-button { font-size: 12px; height: 25px; margin: 0 auto 4px; display: block; }
  .event-band { padding: 4px 1px; display: block; text-align: center; margin-bottom: 3px; border-radius: 4px; }
  .band-text { display: none; }
  .mobile-band { display: block; font-size: 11px; line-height: 1.4; font-weight: 700; }
  .calendar-foot { padding: 12px; font-size: 12px; line-height: 1.6; }
  .calendar-foot > span:first-child { max-width: 67%; }
  .more-button { display: block; width: 100%; text-align: center; min-height: 24px; font-size: 11px; }
  #agenda { margin-top: 25px; }
  .agenda-heading { margin: 0 3px 15px; }
  .agenda-heading h2 { font-size: 22px; }
  .card-copy h3 { font-size: 24px; }
  .card-copy p,.card-specs { font-size: 13px; }
  .event-emblem { flex-basis: 100%; padding: 5px 1px; border-radius: 5px; }
  .week-strip { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); padding: 0 7px 14px; gap: 3px; }
  .week-strip button { border-radius: 9px; padding: 8px 0; background: #e8f3ed; display: grid; gap: 5px; min-height: 75px; }
  .week-strip button[aria-pressed="true"] { background: #193633; color: #fff; }
  .week-strip b { font-size: 18px; }
  .week-strip small { font-size: 11px; }
  .week-strip em { height: 4px; background: #6bb99f; width: 17px; border-radius: 2px; margin: auto; }
  .week-grid { display: block; padding: 0 14px; }
  .week-column { border: 0; min-height: 0; padding: 0 0 7px; scroll-margin-top: 20px; }
  .week-column.no-events { display: none; }
  .week-date { padding: 13px 0; justify-content: flex-start; gap: 9px; }
  .week-date b { font-size: 23px; }
  .week-date small { font-size: 12px; }
  .week-card { display: flex; border-radius: 12px; margin-bottom: 9px; }
  .week-card-head { display: flex; flex-direction: column; justify-content: flex-start; gap: 9px; padding: 16px 12px; width: 62px; flex-shrink: 0; font-size: 12px; }
  .week-card-head svg { width: 23px; height: 23px; }
  .week-card-copy { padding: 15px; gap: 7px; }
  .week-card-copy strong { font-size: 20px; }
  .week-card-copy small { font-size: 12px; }
  .week-card-copy .category-name { font-size: 11px; }
  .week-empty { display: none; }
  dialog { margin: auto 0 0; max-width: 100%; width: 100%; border-radius: 24px 24px 0 0; }
}

[data-category="mixed"] { --color:#725c90; --tint:#eee6f7; --deep:#513d6c; }
[data-category="other"] { --color:#576871; --tint:#e6ecee; --deep:#354851; }
[hidden] { display:none !important; }
.calendar-app a { color:inherit; text-decoration:none; }
.calendar-app .event-band,.calendar-app .week-card { cursor:pointer; }
.calendar-toolbar { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:20px; }
.calendar-toolbar .view-options { margin:0; }
.calendar-toolbar input { font:inherit; font-size:14px; padding:12px; border:1px solid #bad4cd; border-radius:12px; min-width:0; width:min(320px,100%); background:#fff; color:#193633; }
.calendar-toolbar input:focus-visible { outline:3px solid #166658; outline-offset:2px; }
.calendar-toolbar > button { min-height:44px; padding:10px; border-radius:10px; background:#e2efe8; }
.calendar-message { padding:16px 0; line-height:1.6; }
.calendar-message:empty { display:none; }
.calendar-app a.primary { display:flex; font-size:14px; }
.band-title,.week-card-copy strong,.card-copy h3 { overflow-wrap:anywhere; }
.band-category { font-size:11px; line-height:1.4; }
.card-status { font-size:13px; color:var(--deep); }
.week-card-copy small { overflow-wrap:anywhere; }
.week-date { scroll-margin-top:100px; }
.week-column[data-picked="true"] { display:block; }
.calendar-note { margin:12px 0; color:var(--muted); font-size:13px; line-height:1.6; }
.date-button { min-height:32px; min-width:32px; }
.event-band { min-height:32px; }
@media(max-width:800px){ .calendar-toolbar { gap:8px; } .calendar-toolbar input { flex:1; width:180px; } .calendar-toolbar .view-options { width:100%; } .band-category { display:none; } .calendar-heading { flex-wrap:wrap; } .calendar-heading h2 { font-size:20px; } .calendar-app .week-column.no-events[data-picked="true"] { display:block; } }
.calendar-app button { border:0; }
.calendar-app a.event-band,.calendar-app a.week-card { color:var(--deep); }
@media(max-width:800px){.week-column[data-picked="true"] .week-empty{display:block;}}

.week-column { scroll-margin-top:110px; }



/* Week-local lanes keep multi-day bars continuous without growing day cells. */
[data-view-mode="month"] .month-grid { display:block; }
.month-week { position:relative; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); grid-template-rows:28px repeat(3,26px) 26px; height:144px; padding:6px 0; }
[data-view-mode="month"] .day-cell { grid-row:1 / -1; height:144px; min-height:0; margin-top:-6px; padding:6px 4px; display:block; min-width:0; border-top:1px solid var(--line); border-right:1px solid var(--line); }
[data-view-mode="month"] .date-button { height:24px; min-height:24px; min-width:24px; margin:0; position:relative; z-index:1; }
.calendar-app a.calendar-strip { z-index:2; display:flex; align-items:center; gap:4px; min-width:0; height:24px; margin:1px 3px; padding:2px 4px; border-radius:5px; background:var(--tint); color:var(--deep); box-shadow:inset 0 1px #ffffffcc,0 1px 3px #19363312; }
.strip-icon { display:grid; place-items:center; flex-shrink:0; width:18px; height:18px; border-radius:4px; background:var(--color); color:#fff; }
.strip-icon svg { width:14px; height:14px; }
.strip-title { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:700; line-height:18px; }
.calendar-strip time { margin-left:auto; font-size:11px; flex-shrink:0; }
.strip-continuation { margin-left:auto; font-size:18px; line-height:16px; }
.calendar-app .calendar-strip.continues-before { border-top-left-radius:0; border-bottom-left-radius:0; }
.calendar-app .calendar-strip.continues-after { border-top-right-radius:0; border-bottom-right-radius:0; }
[data-view-mode="month"] .month-more { grid-row:-2 / -1; z-index:2; min-height:22px; height:22px; align-self:end; justify-self:start; margin-left:4px; padding:0; font-size:11px; text-align:left; }
.lane-1 { grid-row:2; }.lane-2 { grid-row:3; }.lane-3 { grid-row:4; }
.col-1 { grid-column-start:1; }
.col-2 { grid-column-start:2; }
.col-3 { grid-column-start:3; }
.col-4 { grid-column-start:4; }
.col-5 { grid-column-start:5; }
.col-6 { grid-column-start:6; }
.col-7 { grid-column-start:7; }
.to-2 { grid-column-end:2; }
.to-3 { grid-column-end:3; }
.to-4 { grid-column-end:4; }
.to-5 { grid-column-end:5; }
.to-6 { grid-column-end:6; }
.to-7 { grid-column-end:7; }
.to-8 { grid-column-end:8; }

@media(max-width:800px) {
  .month-week { height:104px; padding:3px 0; grid-template-rows:24px repeat(2,28px) 18px; }
  [data-view-mode="month"] .day-cell { height:104px; padding:3px 2px; margin-top:-3px; }
  [data-view-mode="month"] .date-button { margin:auto; }
  .calendar-app a.calendar-strip { gap:2px; margin:2px 1px; padding:2px; }
  .strip-icon { width:14px; height:16px; }
  .strip-icon svg { width:12px; height:12px; }
  .strip-title { font-size:11px; }
  .calendar-strip time { display:none; }
  [data-view-mode="month"] .month-more { min-height:18px; height:18px; line-height:18px; margin-left:3px; }
  .more-label { display:none; }.month-more::before { content:'+'; }
}
