@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;1,6..96,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --ground: #FBFAF8;
  --ink: #2E2C2A;
  --soft: #55504A;
  --muted: #6E6860;
  --rule: #E4E0D9;
  --can: var(--ink);
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: Montserrat, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-text-size-adjust: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.page { max-width: 460px; margin: 0 auto; padding: 0 24px 64px; }
.wide { max-width: 1120px; }
.club { text-align: center; padding-top: 26px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--soft); }
.hero { text-align: center; padding: 52px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kicker, .label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; }
h2.label { margin: 0 0 12px; text-align: center; }
.sub { font-size: 14px; font-weight: 300; color: var(--soft); line-height: 1.7; margin: 0; }
.serif { font-family: var(--serif); }
em.note, .note { font-family: var(--serif); font-style: italic; color: var(--soft); }

.links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.link {
  border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 14px 0 5px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--ink);
}
.small-link { border: 0; background: none; padding: 6px 0; font-size: 12px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.small-link.strong { color: var(--ink); font-weight: 500; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px;
  border: 1px solid var(--ink); background: transparent; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--ink);
}
.btn.solid { background: var(--ink); color: var(--ground); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

.rows { border-bottom: 1px solid var(--rule); }
.row { display: flex; align-items: baseline; gap: 18px; padding: 15px 0; border-top: 1px solid var(--rule); }
.row .date { font-family: var(--serif); font-size: 17px; width: 70px; flex-shrink: 0; }
.row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 300; }
.row .actions { display: flex; gap: 18px; flex-wrap: wrap; }
.quiet { color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.field label { font-size: 12px; font-weight: 300; color: var(--soft); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0; font-size: 16px; border-radius: 0;
}
.field textarea { font-family: var(--serif); font-size: 17px; resize: vertical; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(420px, calc(100% - 32px));
  background: var(--ink); color: var(--ground); padding: 14px 16px; font-size: 13px; font-weight: 300; line-height: 1.5; display: none; z-index: 10;
}
.toast.show { display: block; }
.panel { margin: 10px 0 4px; padding: 6px 0 14px; }
.hidden { display: none !important; }
.center { text-align: center; }
.spacer { height: 36px; }

/* availability circles */
.month { padding: 18px 0; border-top: 1px solid var(--rule); }
.month h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.day { height: 52px; border-radius: 26px; font-family: var(--serif); font-size: 18px; border: 1px solid var(--ink); background: transparent; }
.day.Y { background: var(--can); border-color: var(--can); color: #fff; }
.day.M { background: transparent; border: 2px solid var(--can); }
.day.N { border-color: var(--rule); color: var(--ink); }
.legend { display: flex; justify-content: center; gap: 22px; font-size: 12px; font-weight: 300; color: var(--soft); padding-bottom: 20px; flex-wrap: wrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 5px; vertical-align: middle; margin-right: 8px; }
.dot.Y { background: var(--can); }
.dot.M { border: 2px solid var(--can); box-sizing: border-box; }

/* organizer */
.tabs { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.tab { border: 0; background: none; padding: 16px 0 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 10px 8px; text-align: left; border-top: 1px solid var(--rule); vertical-align: middle; }
th { font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
td.name { font-family: var(--serif); font-size: 16px; white-space: nowrap; }
.scroll { overflow-x: auto; }
.grid td.cell { text-align: center; min-width: 46px; }
.pip { display: inline-block; width: 9px; height: 9px; border-radius: 5px; background: var(--ink); }
.pip.o { background: transparent; border: 1px solid var(--ink); }
.open-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.cols > * { flex: 1 1 380px; min-width: 0; }
.inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline .field { flex: 1 1 140px; }
.msg { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 13px; font-weight: 300; line-height: 1.5; white-space: pre-wrap; }
.msg .meta { font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.msg.in { padding-left: 18px; border-left: 2px solid var(--ink); }
.banner { border: 1px solid var(--ink); padding: 14px 16px; font-size: 13px; font-weight: 300; line-height: 1.6; margin: 24px 0; }
.big { font-family: var(--serif); font-size: 34px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 24px 0; }
.stats > div { padding: 24px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
section { margin-top: 48px; }

.field input[type="password"] { font-size: 22px; letter-spacing: .3em; }

/* guided season setup */
.stepper { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.step { border: 0; background: none; padding: 10px 0; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.step .num { width: 26px; height: 26px; border-radius: 13px; border: 1px solid var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0; }
.step.on { color: var(--ink); }
.step.on .num { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.stepbody { max-width: 720px; margin: 0 auto; padding-top: 12px; }
.q { margin: 32px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 21px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { min-width: 56px; height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; font-size: 13px; letter-spacing: .06em; }
.choice.on { background: var(--ink); color: var(--ground); }
.summary { margin: 26px 0 0; padding: 14px 16px; border-left: 2px solid var(--ink); font-size: 15px; font-weight: 300; line-height: 1.6; }
.summary strong { font-weight: 500; }
.datechips { display: flex; flex-wrap: wrap; gap: 8px; }
.datechip { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--ink); background: transparent; font-family: var(--serif); font-size: 15px; }
.datechip.hol { border-style: dashed; }
.datechip.off { border-color: var(--rule); color: var(--muted); text-decoration: line-through; }

/* player list */
.links-row { display: flex; flex-wrap: wrap; gap: 18px; }
.tick { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 300; color: var(--soft); }
.tick input { accent-color: var(--ink); width: 16px; height: 16px; }
.flag { display: block; margin-top: 4px; font-size: 12.5px; font-style: italic; color: #8A6A3A; }


/* the season sheet: quiet, like a printed club roster. No grid lines; a hairline under each row. */
.stepbody.widebody { max-width: 1120px; }
.sheetwrap { overflow-x: auto; margin-top: 8px; }
.sheet { border-collapse: collapse; width: max-content; min-width: 100%; font-size: 13px; }
.sheet th, .sheet td { border: 0; padding: 0 10px; height: 46px; white-space: nowrap; background: transparent; }
.sheet td { border-bottom: 1px solid #EFECE6; }
.sheet th { height: 52px; vertical-align: bottom; padding-bottom: 10px; font-size: 10px; font-weight: 400; letter-spacing: .14em; line-height: 1.4; color: var(--muted); border-bottom: 1px solid var(--ink); }
.sheet th.c { text-align: center; min-width: 38px; letter-spacing: .08em; }
.sheet td.c { text-align: center; padding: 0 4px; }
.sheet .nm { position: sticky; left: 0; background: var(--ground); z-index: 1; min-width: 180px; padding-left: 0; }
.sheet input, .sheet select { border: 0; border-bottom: 1px solid transparent; background: transparent; font: inherit; font-size: 13px; font-weight: 300; color: var(--ink); padding: 4px 0; width: 100%; min-width: 0; outline: none; transition: border-color .15s; }
.sheet input:hover, .sheet select:hover { border-bottom-color: var(--rule); }
.sheet input:focus, .sheet select:focus { border-bottom-color: var(--ink); }
.sheet select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.sheet .nm input { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.sheet input::placeholder { color: transparent; }
.sheet input[type=tel] { width: 118px; } .sheet input[type=email] { width: 190px; } .sheet select { width: 140px; }
.sheet .ct { color: var(--muted); text-align: center; min-width: 48px; font-size: 12px; }
.sheet .more { padding: 0 6px; }
.sheet .more .small-link { font-size: 11px; color: var(--muted); text-decoration: none; letter-spacing: .04em; }
.sheet .more .small-link:hover { color: var(--ink); text-decoration: underline; }
.sheet tr.grp td { height: 52px; vertical-align: bottom; padding-bottom: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 0; }
.sheet tr.newrow td { border-bottom: 0; }
.sheet tr.newrow input::placeholder { color: var(--muted); }
.sheet tr.newrow .nm input::placeholder { font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--ink); letter-spacing: .02em; }
.sheet tr.morerow td { height: auto; padding: 4px 0 16px; position: sticky; left: 0; }
.sheet tr.tot td { color: var(--muted); font-size: 12px; border-bottom: 0; border-top: 1px solid var(--rule); }
.sheet tr.tot td.short { color: var(--ink); font-weight: 500; }
.sheet tr.stopped td { opacity: .45; }
.sheet .flag { white-space: normal; margin: -2px 0 6px; max-width: 230px; font-size: 11.5px; }
.sheet .mk { color: var(--muted); }
.sheet .now { background: #F4F1EB; }
.sheet th.now { color: var(--ink); background: #F4F1EB; }
.sheet .colbtn { margin-left: 12px; font-size: 10px; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.subname { font-family: var(--serif); font-size: 13px; color: var(--soft); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 12px; color: var(--soft); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }

/* this week's column on Home */
.grid .now { background: #F3F1EC; }
.grid th.now { color: var(--ink); }
.ok { font-size: 11px; margin-left: 4px; color: var(--soft); }

/* compose: round + in the corner */
.fab { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 28px; border: 0; background: var(--ink); color: var(--ground); font-size: 28px; font-weight: 200; line-height: 1; box-shadow: 0 6px 18px rgba(46,44,42,.18); cursor: pointer; z-index: 20; }
.compose { position: fixed; right: 24px; bottom: 24px; width: min(400px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(46,44,42,.16); padding: 16px 20px 20px; z-index: 20; }
.compose-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 18px; }
@media (max-width: 760px) { .fab { right: 16px; bottom: 16px; } .compose { right: 16px; bottom: 16px; } }

.sheet th.ct { font-size: 10px; color: var(--muted); }

/* player names open her details */
.sheet .pname { border: 0; background: none; padding: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); cursor: pointer; text-align: left; text-underline-offset: 4px; }
.sheet .pname:hover, .sheet tr.open .pname { text-decoration: underline; text-decoration-thickness: 1px; }
.sheet tr.open td { border-bottom: 0; }
.sheet tr.morerow td { padding: 0 0 18px; border-bottom: 1px solid #EFECE6; }
.sheet .card { position: sticky; left: 0; width: min(720px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 20px; align-items: end; white-space: normal; }
.sheet .card .field { margin-top: 6px; }
.sheet .card .field label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sheet .card input:not([type=checkbox]), .sheet .card select { border-bottom: 1px solid var(--rule); font-size: 14px; width: 100%; }
.sheet .card select { appearance: auto; -webkit-appearance: auto; }
.sheet .card .wide { grid-column: 1 / -1; margin-top: 12px; }
@media (max-width: 760px) { .sheet .card { grid-template-columns: 1fr 1fr; } }
.sheet .card .tick { display: inline-flex; gap: 10px; align-items: center; justify-self: start; }
.sheet .card .tick input { width: 16px; height: 16px; flex: none; }

/* Texts tab */
.texthead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.texthead > span { display: flex; gap: 18px; align-items: baseline; }
.practice { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.prow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.prow .plabel { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prow select, .prow input { border: 0; border-bottom: 1px solid var(--rule); background: transparent; font: inherit; font-size: 13px; padding: 6px 0; }
.prow input#st { width: 150px; }
.prow .btn { height: 34px; padding: 0 16px; }
.msg:first-of-type { border-top: 0; }

/* Settings: plain sentences */
.settings { max-width: 980px; margin: 40px auto 0; }
.settings section { margin: 0; padding: 28px 0; border-top: 1px solid #EFECE6; }
.settings section:first-child { border-top: 0; padding-top: 0; }
.settings .label { text-align: left; margin: 0 0 14px; }
.settings .sentence { font-size: 16px; font-weight: 300; line-height: 2.1; margin: 0; color: var(--ink); }
.settings .tick.sentence { display: flex; gap: 12px; font-size: 16px; color: var(--ink); }
.settings select.inl { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: inherit; font-weight: 400; padding: 0 2px 1px; appearance: none; -webkit-appearance: none; cursor: pointer; text-align: center; }
.settings .sfield { display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 16px; padding: 8px 0; }
.settings .sfield label { font-size: 12px; color: var(--soft); font-weight: 300; }
.settings .sfield input { border: 0; border-bottom: 1px solid var(--rule); background: transparent; font: inherit; font-size: 16px; font-weight: 300; padding: 6px 0; width: 100%; }
.settings .sfield input:focus { outline: none; border-bottom-color: var(--ink); }
.settings .quiet { font-size: 13px; }
.settings .erase { text-align: center; padding-top: 36px; }
.settings .erase .small-link { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .settings .sfield { grid-template-columns: 1fr; gap: 2px; } }
.settings .hint { margin: 6px 0 0; font-size: 12px; font-weight: 300; color: var(--muted); }
.settings .sfield input::placeholder { color: #B9B3AA; }

/* sample texts on Settings sit beside each setting, kept short so each section stays a few lines tall */
.settings section { padding: 22px 0; }
.settings section.two { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 36px; align-items: start; }
.settings .samples { display: flex; gap: 14px; align-items: flex-start; }
.settings .sample { flex: 1 1 0; min-width: 0; }
.settings .sample .cap { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.settings .bubble { padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #EFECE6; font-size: 12px; font-weight: 300; line-height: 1.45; color: var(--ink); }
.settings section:not(.two) { max-width: 560px; }
.settings .sentence { line-height: 1.9; font-size: 15px; }
.settings .tick.sentence { font-size: 15px; }
@media (max-width: 1000px) { .settings section.two { grid-template-columns: 1fr; gap: 12px; } }

/* Settings: name and description on the left, one compact line per setting on the right */
.settings2 { max-width: 1000px; margin: 12px auto 0; font-size: 13px; }
.settings2 .ssec { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid #EFECE6; }
.settings2 .shead h3 { margin: 0 0 4px; font-size: 13px; font-weight: 500; }
.settings2 .shead p { margin: 0; font-size: 12px; font-weight: 300; color: var(--soft); line-height: 1.5; }
.settings2 .speeks { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; }
.settings2 .speeks .small-link { font-size: 11.5px; color: var(--muted); }
.settings2 .sbody { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.settings2 .srow { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 16px; }
.settings2 .slabel { font-size: 13px; }
.settings2 .sctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--soft); font-weight: 300; }
.settings2 .box { height: 34px; border: 1px solid #DDD8D0; border-radius: 6px; background: #fff; padding: 0 10px; font-size: 13px; color: var(--ink); outline: none; }
.settings2 .box:focus { border-color: var(--ink); }
.settings2 select.box.num { width: 64px; }
.settings2 select.box.time { width: 110px; }
.settings2 .box.wide { width: min(320px, 100%); }
.settings2 .box.mid { width: 170px; }
.settings2 .switch { position: relative; width: 38px; height: 22px; flex: none; }
.settings2 .switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.settings2 .switch span { position: absolute; inset: 0; border-radius: 11px; background: #DDD8D0; transition: background .15s; }
.settings2 .switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.settings2 .switch input:checked + span { background: var(--ink); }
.settings2 .switch input:checked + span::after { transform: translateX(16px); }
.settings2 .speek { margin: 4px 0 0; padding: 10px 12px; background: #F4F1EB; border-radius: 6px; font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--soft); }
.settings2 .serase { padding: 20px 0; text-align: right; }
.settings2 .serase .small-link { font-size: 11.5px; color: var(--muted); }
@media (max-width: 760px) { .settings2 .ssec { grid-template-columns: 1fr; gap: 12px; } .settings2 .srow { grid-template-columns: 1fr; gap: 6px; } }
.settings2 section.ssec { margin: 0; }
.settings2 .speeks .small-link { padding: 0; margin: 0; line-height: 1.6; }
.settings2 .fixed { font-weight: 500; color: var(--ink); }

/* Organizer header: one slim bar instead of a title, tabs and a banner stacked up */
.tabs.bar { justify-content: space-between; align-items: center; gap: 16px; padding-top: 6px; }
.tabs.bar .brandname { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.tabs.bar .tablist { display: flex; gap: 24px; flex-wrap: wrap; }
.tabs.bar .tab { padding: 14px 0 10px; }
.pill { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--soft); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 9px; cursor: help; }
#body .hero { padding: 26px 0 18px; gap: 6px; }
#body .hero h1 { font-size: 26px; }
#body .hero .sub { font-size: 13px; }
@media (max-width: 640px) { .tabs.bar { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 14px; } .tabs.bar .tablist { gap: 18px; } }

/* Texts: conversations like iMessage */
.threads { max-width: 1000px; margin: 12px auto 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid #EFECE6; border-radius: 10px; height: min(640px, calc(100vh - 220px)); min-height: 420px; overflow: hidden; background: #fff; }
.tlist { border-right: 1px solid #EFECE6; overflow-y: auto; padding: 10px; }
.tsearch { width: 100%; height: 34px; border: 1px solid #E4E0D9; border-radius: 8px; padding: 0 12px; font-size: 13px; background: var(--ground); margin-bottom: 6px; outline: none; }
.tsearch:focus { border-color: var(--ink); }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 10px; border-radius: 8px; }
.trow:hover { background: #F7F5F1; }
.trow.on { background: #EFECE6; }
.trow .tname { font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .ttime { font-size: 11px; color: var(--muted); }
.trow .tprev { grid-column: 1 / -1; font-size: 12px; font-weight: 300; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread { width: 7px; height: 7px; border-radius: 50%; background: #3B6FD8; flex: none; }
.tpane { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tpane.empty { align-items: center; justify-content: center; }
.tpane-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #EFECE6; font-size: 14px; }
.tpane-head .quiet { font-size: 12px; }
.tback { display: none; }
.bubbles { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.tstamp { align-self: center; font-size: 10.5px; color: var(--muted); margin: 10px 0 4px; }
.bub { max-width: 72%; padding: 8px 12px; border-radius: 16px; font-size: 13px; font-weight: 300; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.bub.us { align-self: flex-end; background: #2E2C2A; color: #fff; border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: #EFECE6; color: var(--ink); border-bottom-left-radius: 4px; }
.bub.hit { box-shadow: 0 0 0 2px #E8C35A; }
.bub .via, .bub .fail { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.bub .fail { margin: 4px 0 0; color: #F2B8A0; }
.compose-row { display: flex; gap: 10px; align-items: flex-end; padding: 10px 14px; border-top: 1px solid #EFECE6; }
.compose-row textarea { flex: 1; resize: none; border: 1px solid #E4E0D9; border-radius: 18px; padding: 8px 14px; font-size: 13px; line-height: 1.4; max-height: 120px; outline: none; }
.compose-row textarea:focus { border-color: var(--ink); }
.compose-row .btn { height: 36px; padding: 0 18px; border-radius: 18px; }
@media (max-width: 760px) {
  .threads { grid-template-columns: 1fr; height: auto; min-height: 0; border: 0; }
  .threads.reading .tlist { display: none; }
  .threads:not(.reading) .tpane { display: none; }
  .tlist { border-right: 0; padding: 0; }
  .tback { display: inline; }
  .bubbles { max-height: 60vh; }
}
/* tighter group labels (Share players / Subs / Pro) and rows */
.sheet tr.grp td { height: 30px; padding-bottom: 4px; }
.sheet th, .sheet td { height: 40px; }
.sheet th { height: 46px; }

/* adding people from the Mac Contacts app */
.contacts-help { margin: 10px 0 4px; padding: 14px 16px; background: #F4F1EB; border-radius: 8px; font-size: 13px; font-weight: 300; line-height: 1.55; max-width: 620px; }
.contacts-help strong { font-weight: 500; }
.contacts-help ol { margin: 8px 0; padding-left: 20px; }
.contacts-help p { margin: 0; }
body.dropping::after { content: 'Drop to add these players'; position: fixed; inset: 12px; border: 2px dashed var(--ink); border-radius: 14px; background: rgba(251,250,248,.85); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; z-index: 50; pointer-events: none; }

/* Season setup in the same compact style as Settings */
.setup2 { margin-top: 0; max-width: none; }
.setup2 .ssec:last-child { border-bottom: 0; }
.setup2 input[type=date].box, .setup2 input[type=time].box { width: auto; }
.setup2 .note2 { margin: 2px 0 0; font-size: 12px; font-weight: 300; color: var(--soft); }
.setup2 .datechips { gap: 6px; }
.setup2 .datechip { height: 30px; padding: 0 11px; border-radius: 15px; font-size: 12.5px; font-family: var(--sans); font-weight: 300; border-color: #CFC9C0; }
.setup2 .datechip.hol { border-color: var(--ink); }
.stepbody { max-width: 1000px; }
.stepbody .btn { height: 38px; padding: 0 20px; font-size: 11px; }

/* Season step, laid out like Google Calendar's appointment setup */
.gflow { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 0; border: 1px solid #EFECE6; border-radius: 10px; background: #fff; overflow: hidden; margin-top: 8px; }
.gform { border-right: 1px solid #EFECE6; padding: 8px 0 16px; }
.gsec { border-bottom: 1px solid #EFECE6; }
.ghead { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; border: 0; background: none; padding: 14px 20px; text-align: left; }
.ghead span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ghead strong { font-size: 13.5px; font-weight: 500; }
.ghead em { font-style: normal; font-size: 12px; font-weight: 300; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghead i { font-style: normal; color: var(--muted); font-size: 14px; }
.gsec.open .ghead { padding-bottom: 6px; }
.gbody { padding: 4px 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.grow { display: flex; align-items: center; gap: 8px; color: var(--soft); flex-wrap: wrap; }
.gflow .box { height: 34px; border: 1px solid #DDD8D0; border-radius: 6px; background: #fff; padding: 0 10px; font-size: 13px; color: var(--ink); outline: none; }
.gflow .box:focus { border-color: var(--ink); }
.gline { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 300; padding: 2px 0; }
.ghint { margin: 6px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ghint:last-child { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 300; }
.gnext { padding: 6px 20px 0; }
.gnext > div { margin-top: 10px !important; }
.gcal { padding: 18px 22px 22px; min-width: 0; }
.gcal-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; font-size: 13px; color: var(--soft); font-weight: 300; }
.gcal-head strong { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); }
.glegend { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; }
.glegend .cd { width: 14px; height: 14px; display: inline-block; margin-left: 8px; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 22px; }
.mname { font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.mgrid b { font-size: 10px; font-weight: 400; color: var(--muted); padding-bottom: 2px; }
.cd { height: 24px; line-height: 24px; font-size: 11.5px; font-weight: 300; color: #B5AFA6; border-radius: 50%; border: 0; background: none; padding: 0; }
button.cd { cursor: pointer; }
.cd.play { background: var(--ink); color: #fff; font-weight: 400; }
.cd.play.hol { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); outline: 1px dashed var(--ink); outline-offset: 1px; box-shadow: none; }
.cd.off { background: #EFECE6; color: var(--muted); text-decoration: line-through; }
.cd.play:hover { opacity: .8; }
@media (max-width: 860px) { .gflow { grid-template-columns: 1fr; } .gform { border-right: 0; border-bottom: 1px solid #EFECE6; } }
.mgrid .cd { width: 24px; margin: 0 auto; }

/* Season step: one sentence, then the season as a calendar */
.gsimple { max-width: 1000px; margin-top: 10px; }
.gsentence { font-size: 17px; font-weight: 300; line-height: 2.2; margin: 0 0 4px; }
.gsentence .inl { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: inherit; font-weight: 400; color: var(--ink); padding: 0 2px 1px; outline: none; }
.gsentence select.inl { appearance: none; -webkit-appearance: none; cursor: pointer; }
.gsentence .inl.court { width: 90px; }
.gsentence input[type=date].inl { width: 150px; }
.gsentence input[type=time].inl { width: 112px; }
.gtip { margin: 0 0 18px; font-size: 12.5px; font-weight: 300; color: var(--soft); }
.gfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #EFECE6; font-size: 14px; font-weight: 300; }
.gfoot strong { font-weight: 500; }
.gfoot > div { margin-top: 0 !important; }

/* Season step, refined: the sentence reads like an invitation, the calendar like a printed card */
.gsimple { max-width: 880px; margin: 18px auto 0; }
.gsentence { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 2; text-align: center; margin: 0 auto 6px; max-width: 760px; }
.gsentence .inl { font-family: var(--serif); font-size: 22px; border-bottom: 1px solid #CFC9C0; padding: 0 1px; transition: border-color .15s; }
.gsentence .inl:hover, .gsentence .inl:focus { border-bottom-color: var(--ink); }
.gsentence .inl.court { width: 100px; }
.gsentence input[type=date].inl { width: 178px; }
.gsentence input[type=time].inl { width: 128px; }
.gsentence input::-webkit-calendar-picker-indicator { opacity: .35; }
.gtip { text-align: center; font-size: 12px; margin-bottom: 30px; }
.gsimple .months { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 36px; }
.gmonth .mname { font-family: var(--serif); font-size: 16px; font-weight: 400; margin-bottom: 10px; text-align: center; }
.gmonth .mgrid b { font-size: 9px; letter-spacing: .12em; }
.gmonth .cd { width: 26px; height: 26px; line-height: 26px; font-size: 12px; color: #C9C3BA; }
.gmonth .cd.play { background: transparent; color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--ink); outline: 0; }
.gmonth .cd.play.hol { box-shadow: none; outline: 1px dashed var(--ink); outline-offset: -1px; }
.gmonth .cd.off { background: transparent; color: #B9B3AA; text-decoration: line-through; box-shadow: inset 0 0 0 1px #E4E0D9; }
.gmonth .cd.play:hover { background: #F4F1EB; opacity: 1; }
.gfoot { max-width: 880px; font-family: var(--serif); font-size: 17px; }
.gfoot strong { font-weight: 400; }
@media (max-width: 640px) { .gsentence, .gsentence .inl { font-size: 18px; } .gsentence { text-align: left; } }
.gsimple .months { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 22px; }
.gmonth .cd { width: 22px; height: 22px; line-height: 22px; font-size: 11px; }
.gsentence input::-webkit-calendar-picker-indicator { opacity: .2; }
@media (max-width: 640px) { .gsimple .months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .gmonth .cd { width: 20px; height: 20px; line-height: 20px; font-size: 10px; } .gfoot { font-size: 15px; } }
.gcap { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 26px 0 18px; padding-top: 22px; border-top: 1px solid #EFECE6; text-align: center; }
.gcap span:last-child { font-size: 12px; font-weight: 300; color: var(--soft); }

/* Season step: one row of labeled boxes above the calendar */
.gfields { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.gfield { display: flex; flex-direction: column; gap: 6px; }
.gfield label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gfield > div { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.gfields .box { height: 34px; border: 1px solid #DDD8D0; border-radius: 6px; background: #fff; padding: 0 10px; font-size: 13px; color: var(--ink); outline: none; }
.gfields .box:focus { border-color: var(--ink); }
.gfields .box.court { width: 96px; }
.gfields input[type=time].box { width: 112px; }
.gfields input[type=date].box { width: 140px; }
@media (max-width: 640px) { .gfields { justify-content: flex-start; } }
.gsimple { max-width: 1000px; } .gfields { gap: 14px 20px; } .gfoot { max-width: none; }

/* Season step, inspired by a flight search card */
.fcard { position: relative; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(46,44,42,.08), 0 6px 20px rgba(46,44,42,.07); padding: 16px 22px 40px; margin: 6px auto 0; max-width: 980px; }
.ftop { display: flex; gap: 22px; margin-bottom: 12px; }
.fdrop { position: relative; display: inline-flex; align-items: center; }
.fdrop select { appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); padding: 4px 22px 4px 2px; cursor: pointer; outline: none; }
.fdrop::after { content: ''; position: absolute; right: 4px; top: 50%; margin-top: -2px; border: 5px solid transparent; border-top-color: var(--soft); pointer-events: none; }
.frow { display: grid; grid-template-columns: 1.15fr .9fr 1.45fr; gap: 14px; }
.fbox { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border: 1px solid #DDD8D0; border-radius: 6px; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.fbox:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fbox svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fbox input { border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; min-width: 0; width: 100%; }
.fbox input[type=time] { width: 112px; }
.fbox .dash { color: var(--muted); }
.fbox input::-webkit-calendar-picker-indicator { opacity: .25; }
.fdates label { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fdates small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fdates input { font-size: 14px; }
.fdates i { width: 1px; align-self: stretch; margin: 12px 4px; background: #E4E0D9; }
.fgo { position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%); height: 42px; padding: 0 28px; border: 0; border-radius: 21px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .06em; box-shadow: 0 3px 10px rgba(46,44,42,.25); white-space: nowrap; }
.fgo:hover { background: #45413D; }
.gsimple .gcap { margin-top: 48px; border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .frow { grid-template-columns: 1fr; } .fcard { padding: 14px 14px 38px; } }
.frow { grid-template-columns: 1.3fr .8fr 1.4fr; }
.fbox input[type=time] { width: auto; flex: 1; min-width: 92px; }
.fbox input[type=time]::-webkit-calendar-picker-indicator { display: none; }
@media (max-width: 760px) { .frow { grid-template-columns: 1fr; } }
.fgo { border-radius: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .2em; padding: 0 30px; }
.ghint2 { margin: 44px 0 16px; text-align: center; font-size: 12px; font-weight: 300; color: var(--muted); }
.fcard { padding-bottom: 20px; }
.ghint2 { margin-top: 30px; }
.fnext { display: flex; justify-content: flex-end; margin-top: 26px; padding-top: 18px; border-top: 1px solid #EFECE6; }
/* give the season dates room to show in full */
.frow { grid-template-columns: minmax(240px, 1.1fr) minmax(130px, .7fr) minmax(330px, 1.6fr); }
.fdates input[type=date] { min-width: 124px; font-size: 14px; }
.fdates input::-webkit-calendar-picker-indicator { margin-left: 2px; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; } }
/* each box only as wide as what's in it */
.frow { display: flex; flex-wrap: wrap; gap: 12px; }
.fbox { flex: none; }
.fbox input[type=time] { flex: none; width: 98px; min-width: 0; }
.fbox input[data-save="court"] { width: 110px; }
.fdates label { flex: none; }
.fdates input[type=date] { width: 132px; min-width: 0; }
@media (max-width: 900px) { .frow { display: flex; } }
.fbox input[type=time] { width: 82px; } .fbox .dash { margin: 0 2px; }
/* balanced row: time and dates sized to fit, the court box takes up the rest so the row ends evenly */
.frow { display: grid; grid-template-columns: auto minmax(140px, 1fr) auto; gap: 12px; }
.fbox { flex: initial; }
.fbox input[data-save="court"] { width: 100%; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; } .fbox input[type=time] { width: 90px; } }
@media (max-width: 900px) { .fdates label { flex: 1; min-width: 0; } .fdates input[type=date] { width: 100%; } }

/* Season card, like Google Flights: plain values in the boxes; clicking one opens the picker */
.frow { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 14px; }
.fbox { height: 56px; padding: 0 16px; gap: 12px; }
.fval { position: relative; font-size: 16px; color: var(--ink); cursor: pointer; white-space: nowrap; padding: 6px 2px; border-radius: 4px; }
.fval:hover { background: #F6F3EE; }
.fval em { font-style: normal; color: #A9A39A; }
.fval input.ghost { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; }
.fplain { font-size: 16px !important; }
.fplain::placeholder { color: #A9A39A; }
.fdates { gap: 0; }
.fdates svg { margin-right: 12px; }
.fdates .fval { flex: 1; }
.fdates i { width: 1px; align-self: stretch; margin: 12px 16px; background: #E4E0D9; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; } }
/* closer to the Flights proportions: roomier card, taller boxes, larger text */
.fcard { padding: 20px 26px 26px; border-radius: 10px; }
.ftop { margin-bottom: 16px; gap: 30px; }
.fdrop select { font-size: 15px; }
.frow { gap: 16px; }
.fbox { height: 62px; padding: 0 20px; border-radius: 6px; }
.fval, .fplain { font-size: 17px !important; }
.fbox svg { width: 22px; height: 22px; }
.frow { grid-template-columns: 1.15fr .85fr 1.5fr; } @media (max-width: 900px) { .frow { grid-template-columns: 1fr; } }
/* keep the Flights layout at medium widths: three across when there's room, two-then-one in between, stacked only on phones */
@media (max-width: 900px) { .frow { grid-template-columns: 1fr 1fr; } .frow .fdates { grid-column: 1 / -1; } }
@media (min-width: 901px) { .frow { grid-template-columns: minmax(250px, 1.15fr) minmax(150px, .85fr) minmax(300px, 1.5fr); } }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
/* scaled down to sit comfortably with the calendar */
.fcard { padding: 14px 20px 18px; }
.ftop { margin-bottom: 10px; gap: 22px; }
.fdrop select { font-size: 13px; }
.frow { gap: 10px; }
.fbox { height: 44px; padding: 0 14px; gap: 8px; }
.fval, .fplain { font-size: 13.5px !important; padding: 4px 2px; }
.fbox svg { width: 17px; height: 17px; }
.fdates svg { margin-right: 8px; }
.fdates i { margin: 10px 12px; }
/* clicking anywhere on a time or date opens the browser's own picker (works inside frames, where showPicker is blocked) */
.fval input.ghost { z-index: 1; }
.fval input.ghost::-webkit-calendar-picker-indicator { display: block !important; position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
/* Apple-style menus: frosted white panel, soft shadow, a check beside the current choice */
.fdrop { border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); padding: 4px 22px 4px 2px; position: relative; cursor: pointer; }
.fdrop::after { content: ''; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid var(--soft); border-bottom: 1.5px solid var(--soft); transform: rotate(45deg); }
button.fval { border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; padding: 4px 6px; border-radius: 6px; text-align: left; }
button.fval:hover { background: #F4F1EB; }
.popmenu { position: absolute; z-index: 60; min-width: 170px; padding: 5px; border-radius: 12px; background: rgba(252, 251, 249, .9); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border: 1px solid rgba(46, 44, 42, .1); box-shadow: 0 12px 32px rgba(46, 44, 42, .18), 0 2px 6px rgba(46, 44, 42, .08); font-family: var(--sans); animation: popin .12s ease-out; }
@keyframes popin { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.pmi { display: flex; align-items: center; width: 100%; border: 0; background: none; padding: 6px 12px 6px 6px; border-radius: 7px; font-size: 13px; color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap; }
.pmi .ck { width: 20px; flex: none; text-align: center; font-size: 12px; }
.pmi:hover { background: var(--ink); color: #fff; }
.pscroll { max-height: 260px; overflow-y: auto; }
.popmenu.is-cal { width: 250px; padding: 12px 12px 10px; }
.pcal-head { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 8px; font-size: 13px; }
.pcal-head strong { font-weight: 500; }
.pnav { border: 0; background: none; width: 26px; height: 26px; border-radius: 6px; font-size: 18px; line-height: 1; color: var(--soft); cursor: pointer; }
.pnav:hover { background: #EFECE6; color: var(--ink); }
.pcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.pcal b { font-size: 10px; font-weight: 500; color: var(--muted); padding-bottom: 4px; }
.pday { border: 0; background: none; height: 30px; width: 30px; margin: 0 auto; border-radius: 50%; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.pday:hover { background: #EFECE6; }
.pday.today { color: #B0412E; font-weight: 500; }
.pday.on { background: var(--ink); color: #fff; font-weight: 500; }
.fdrop::after { border: 0; border-right: 1.5px solid var(--soft); border-bottom: 1.5px solid var(--soft); width: 6px; height: 6px; margin-top: -5px; right: 6px; }
.fbox:has(button:focus):not(:has(input:focus)) { box-shadow: none; border-color: #DDD8D0; }

/* a clear box to drop contacts into */
.dropzone { margin: 12px 0 6px; padding: 26px 20px; border: 1.5px dashed #CFC9C0; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: border-color .15s, background .15s; }
.dropzone svg { width: 30px; height: 30px; fill: none; stroke: var(--soft); stroke-width: 1.5; stroke-linecap: round; margin-bottom: 4px; }
.dropzone strong { font-size: 14px; font-weight: 500; }
.dropzone span { font-size: 12px; font-weight: 300; color: var(--soft); max-width: 520px; line-height: 1.5; }
body.dropping-zone .dropzone { border-color: var(--ink); background: #F4F1EB; }
.setup2 .sctl .btn { height: 32px; padding: 0 16px; font-size: 10.5px; margin-left: 6px; }

/* Their dates: three plain steps in one card */
.tcard { padding: 18px 22px 20px; }
.tlead { margin: 0 0 14px; font-size: 13px; font-weight: 300; color: var(--soft); }
.tsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tstep { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #DDD8D0; border-radius: 6px; padding: 12px 14px; min-height: 64px; }
.tstep > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.tstep small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tn { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.tstep .btn { height: 30px; padding: 0 14px; font-size: 10.5px; }
.tstep .fval { padding: 2px 4px; margin-left: -4px; font-size: 13.5px; }
.tdone { font-size: 13.5px; }
.tcount { font-size: 13.5px; }
.tbar { display: block; width: 120px; height: 4px; border-radius: 2px; background: #EFECE6; overflow: hidden; margin-top: 2px; }
.tbar i { display: block; height: 100%; background: var(--ink); }
@media (max-width: 760px) { .tsteps { grid-template-columns: 1fr; } }
/* reminders by text or email, on the player's dates page */
.prefs { border-top: 1px solid var(--rule); padding: 26px 0 28px; }
.prefrow { display: flex; gap: 10px; margin-top: 12px; }
.pref { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid #CFC9C0; border-radius: 23px; font-size: 14px; cursor: pointer; }
.pref input { position: absolute; opacity: 0; pointer-events: none; }
.pref.on { border-color: var(--ink); background: var(--ink); color: #fff; }

/* adding players: a clear first step above the sheet */
.dropzone.big { position: relative; margin: 6px 0 18px; padding: 28px 24px 22px; border-width: 1.5px; }
.dropzone.big strong { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.dropzone.big > span { font-size: 13px; }
.dzbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 8px 0 2px; }
.dzbtns .btn, .addbtns .btn { height: 36px; padding: 0 18px; font-size: 11px; }
.dzsmall { font-size: 11.5px !important; color: var(--muted) !important; }
.dzclose { position: absolute; top: 12px; right: 14px; font-size: 11.5px; color: var(--muted); }
.addbtns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.pastebox { margin: 0 0 18px; }
.dropzone span, .dropzone .btn { font-family: var(--sans); }
/* slim drop bar once the list is filled in: still the main way to add */
.dropzone.slim { flex-direction: row; justify-content: center; gap: 14px; padding: 14px 18px; margin: 4px 0 16px; flex-wrap: wrap; }
.dropzone.slim svg { width: 22px; height: 22px; margin: 0; }
.dropzone.slim strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.dropzone.slim .dzlinks { display: inline-flex; gap: 16px; }
.dropzone.slim .dzlinks .small-link { font-size: 12px; }

/* One look for availability everywhere: green dot = can play, green ring = if needed, dash = can’t */
.sheet .dot, .legend > span > .dot { margin-right: 0; }

/* Room below the step names so switching steps never shifts them */
#season-setup .stepbody { min-height: calc(100vh - 120px); }

/* Text / email choice on the availability form */
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 14px; line-height: 1.5; font-weight: 300; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.consent strong { font-weight: 500; }

/* Text terms page */
.terms h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 32px 0 8px; }
.terms p, .terms li { font-size: 15px; line-height: 1.6; font-weight: 300; }
.terms .sample { border: 1px solid var(--rule); padding: 16px; font-size: 14px; line-height: 1.55; }

/* the messages plan: a spreadsheet of dates and topics, edited in place */
.sheet.plan td { white-space: nowrap; }
.sheet.plan .tp { min-width: 260px; width: 100%; white-space: normal; }
.sheet.plan .tp input { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.sheet.plan input::placeholder { color: var(--muted); }
.sheet.plan input[type=date] { width: 128px; }
.sheet.plan select { width: auto; min-width: 70px; padding-right: 6px; }
.sheet.plan .fill { font-size: 11px; color: var(--muted); }
.sheet.plan .pill { cursor: default; }
.sheet.plan .act { text-align: right; padding-right: 0; }
.sheet.plan .act .small-link { font-size: 11px; padding-top: 0; }
.sheet.plan .xdel { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; padding: 4px 2px 4px 12px; cursor: pointer; }
.sheet.plan .xdel:hover { color: #9A3412; }
.sheet.plan tr.sentrow td { color: var(--muted); }
.sheet.plan tr.sentrow .tp { font-family: var(--serif); font-size: 16px; }

/* the organizer's pages: plain white and neutral greys, quieter to work on than the members' cream */
body.work { --ground: #FFFFFF; --rule: #E6E6E6; }
html:has(> body.work) { background: #FFFFFF; }
body.work .sheet td, body.work .sheet tr.morerow td, body.work .settings section, body.work .settings2 .ssec,
body.work .threads, body.work .tlist, body.work .tpane-head, body.work .compose-row, body.work .gflow, body.work .gform,
body.work .gsec, body.work .gfoot { border-color: #EEEEEE; }
body.work .sheet .now, body.work .sheet th.now, body.work .grid .now, body.work .settings2 .speek,
body.work .contacts-help, body.work button.fval:hover, body.work .trow:hover { background: #F6F6F6; }
body.work .settings .bubble, body.work .trow.on, body.work .bub.them, body.work .cd.off { background: #EFEFEF; }
body.work .popmenu { background: rgba(255, 255, 255, .92); }

/* the messages page, pared back */
.planhead { max-width: 1000px; margin: 28px auto 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.planhead h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.planbar { display: flex; gap: 8px; flex-wrap: wrap; }
.planbar button { border: 1px solid #D9D9D9; background: #fff; border-radius: 6px; padding: 7px 12px; font-size: 13px; color: var(--ink); cursor: pointer; }
.planbar button:hover { border-color: var(--ink); }
.planbar button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.planhint { max-width: 1000px; margin: 0 auto 6px; font-size: 13px; color: var(--muted); font-weight: 300; }
.planfoot { max-width: 1000px; margin: 10px auto 0; display: flex; gap: 20px; flex-wrap: wrap; }
.sheet.plan .st { font-size: 12px; color: var(--muted); }
.sheet.plan .st.ready { color: var(--ink); font-weight: 500; }
.sheet.plan .st.late { color: #9A3412; }
.sheet.plan th { border-bottom-color: #CFCFCF; }
.pastebox.plain { max-width: 1000px; margin: 8px auto 24px; padding: 16px 18px; border: 1px solid #E6E6E6; border-radius: 8px; }
.pastebox.plain textarea { font-family: var(--sans); font-size: 14px; border: 1px solid #E0E0E0; border-radius: 6px; padding: 10px; }

/* more than one group: the name in the top bar becomes a menu, and the owner's Groups tab */
.groupswitch { font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink); border: 1px solid #D9D9D9; border-radius: 6px; background: #fff; padding: 6px 26px 6px 10px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%); background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%; background-size: 4px 4px; background-repeat: no-repeat; max-width: 60vw; }
.gwrap { max-width: 1000px; margin: 16px auto 0; display: grid; gap: 14px; }
.gcard { border: 1px solid #E6E6E6; border-radius: 8px; padding: 16px 18px; }
.gcard h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0; display: flex; align-items: center; gap: 10px; }
.gtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.glabel { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.gorg { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 14px; padding: 4px 0; }
.gorg .small-link { padding: 0; font-size: 12px; }
.gadd { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.gadd input { flex: 1 1 180px; border: 1px solid #DCDCDC; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 14px; background: #fff; }
.sheet.plan.ev .tp { min-width: 0; width: auto; } .sheet.plan.ev .tp input { width: 180px; }
.sheet.plan.ev th, .sheet.plan.ev td { padding-left: 7px; padding-right: 7px; }
.sheet.plan.ev input[type=checkbox] { accent-color: var(--ink); width: 16px; height: 16px; }
/* the Website tab's photos */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 12px; }
.pcard { border: 1px solid #E6E6E6; border-radius: 8px; overflow: hidden; background: #fff; }
.pcard.cover { border-color: var(--ink); }
.pcard img { display: block; width: 100%; height: 130px; object-fit: cover; background: #F3F3F3; }
.pcard input { width: 100%; border: 0; border-bottom: 1px solid #EEE; padding: 8px 10px; font: inherit; font-size: 13px; }
.pcard .pact { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 4px 10px; font-size: 12px; }
.pcard .pact .small-link { padding: 0; font-size: 12px; }
.pcard .st.ready { font-size: 12px; font-weight: 500; }
.pcard .xdel { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; padding: 2px 5px; cursor: pointer; } .pcard .xdel:hover { color: var(--ink); }
.pcard .prow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #EEE; }
.pcard .prow select { flex: 1; min-width: 0; border: 1px solid #DCDCDC; border-radius: 6px; padding: 5px 6px; font: inherit; font-size: 12.5px; background: #fff; }
.pcard.off img { opacity: .35; filter: grayscale(1); }
.pcard .switch , .secrow .switch { position: relative; width: 34px; height: 20px; flex: none; }
.pcard .switch input , .secrow .switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.pcard .switch span , .secrow .switch span { position: absolute; inset: 0; border-radius: 10px; background: #DDD; transition: background .15s; }
.pcard .switch span::after , .secrow .switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.pcard .switch input:checked + span , .secrow .switch input:checked + span { background: var(--ink); }
.pcard .switch input:checked + span::after , .secrow .switch input:checked + span::after { transform: translateX(14px); }
.gcard.req.done { opacity: .55; } .gcard.req .gorg a { color: var(--ink); }
.interested { max-width: 1000px; margin: 28px auto 8px; padding-bottom: 24px; border-bottom: 1px solid #EEEEEE; }
.sharesel { border: 1px solid #DCDCDC; border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 13px; background: #fff; margin-top: 4px; }
.secrow { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
