@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  color-scheme:dark;
  --bg:#0b0f0e;
  --surface:#111715;
  --raised:#18201d;
  --line:#2b3530;
  --muted:#a5b4ab;
  --text:#eef3ee;
  --accent:#c5e6ac;
  --green:#b4df9f;
  --amber:#e5c98d;
  --red:#e5a6a0;
  font-family:'DM Sans',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:15px
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,textarea,select {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:not-allowed
}
button,a,input,select,textarea {
  outline-offset:4px
}
:focus-visible {
  outline:2px solid var(--accent)
}
[hidden] {
  display:none!important
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--accent)
}
.shell {
  width:min(1180px,calc(100% - 80px));
  margin-inline:auto
}
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--line);
  gap:24px
}
.identity {
  font-family:Manrope,system-ui,sans-serif;
  font-size:19px;
  font-weight:700;
  letter-spacing:-.7px
}
.identity span {
  display:block;
  color:var(--muted);
  font-family:'DM Sans',system-ui,sans-serif;
  font-size:11px;
  font-weight:400;
  letter-spacing:.6px;
  margin-top:6px
}
.site-header nav {
  display:flex;
  gap:30px;
  align-items:center;
  font-size:13px;
  color:var(--muted)
}
.site-header nav a[aria-current] {
  padding:9px 16px;
  border:1px solid #526448;
  border-radius:6px;
  color:var(--accent);
  background:#1a2518
}
.skip-link {
  position:absolute;
  top:-100px;
  left:20px;
  z-index:10;
  background:var(--accent);
  color:var(--bg);
  padding:15px
}
.skip-link:focus {
  top:10px
}
.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
  padding:64px 0 50px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  font-weight:600;
  color:var(--accent);
  margin:0 0 19px
}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  margin-right:8px;
  vertical-align:1px
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  font-family:Manrope,system-ui,sans-serif
}
h1 {
  font-size:clamp(44px,5.1vw,65px);
  font-weight:500;
  line-height:1.11;
  letter-spacing:-3px;
  margin-bottom:22px
}
h1 em {
  font-style:normal;
  color:var(--accent)
}
.lede {
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  margin:0
}
.intro-note {
  display:grid;
  gap:23px;
  min-width:230px;
  padding-left:34px;
  border-left:1px solid var(--line);
  color:#69806e;
  font-size:11px;
  letter-spacing:1px
}
.intro-note b {
  color:#c5cfc7;
  font-weight:400;
  font-size:13px;
  letter-spacing:0;
  margin-left:15px
}
.workspace-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:16px
}
.workspace-tabs {
  display:flex;
  gap:28px
}
.tab {
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  color:var(--muted);
  padding:16px 0;
  font-size:13px
}
.tab.active {
  color:var(--accent);
  border-bottom-color:var(--accent)
}
#poll-count {
  font-size:10px;
  padding:3px 6px;
  border-radius:4px;
  background:var(--raised);
  margin-left:6px
}
.mode-badge {
  font-size:10px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:20px;
  padding:6px 10px;
  white-space:nowrap
}
.mode-badge.online {
  color:var(--green);
  border-color:#476139
}
.storage-note {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin:16px 0 26px;
  max-width:850px
}
.create-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:28px;
  align-items:start
}
.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:30px
}
.panel-heading {
  display:flex;
  gap:13px;
  align-items:flex-start;
  margin-bottom:24px
}
.step-number {
  display:grid;
  place-items:center;
  flex:0 0 28px;
  height:28px;
  border:1px solid #3b4a3b;
  border-radius:50%;
  color:var(--accent);
  font-size:10px
}
.panel-heading h2 {
  font-size:18px;
  letter-spacing:-.5px;
  margin:2px 0 7px;
  font-weight:600
}
.panel-heading p,.section-title p {
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  margin-bottom:0
}
label {
  display:block;
  color:#cbd4cd;
  font-size:12px;
  margin-bottom:9px
}
.required {
  color:var(--accent)
}
.optional {
  color:#829188;
  font-size:10px;
  margin-left:6px
}
input,select,textarea {
  width:100%;
  border:1px solid #344039;
  background:#0d1310;
  border-radius:6px;
  padding:12px;
  color:var(--text);
  font-size:13px;
  min-height:43px
}
input::placeholder,textarea::placeholder {
  color:#78877d
}
textarea {
  resize:vertical;
  min-height:90px
}
select {
  padding-right:26px
}
input:focus,textarea:focus,select:focus {
  border-color:var(--accent)
}
.field-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:20px 0
}
.section-divider {
  height:1px;
  background:var(--line);
  margin:30px 0
}
.slot-entry {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
  margin:20px 0 16px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  border-radius:6px;
  padding:12px 16px;
  font-size:12px;
  font-weight:600;
  border:1px solid transparent;
  min-height:43px;
  text-align:center
}
.primary {
  background:var(--accent);
  color:#172014;
  border-color:var(--accent)
}
.primary:hover {
  background:#d7efc6
}
.secondary {
  background:#1b241e;
  color:var(--text);
  border-color:#3c4c40
}
.secondary:hover {
  background:#29362b
}
.slot-entry .button {
  white-space:nowrap
}
.proposed-slots {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px
}
.proposed-slots li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  background:#1a241c;
  border:1px solid #354530;
  border-radius:6px;
  font-size:12px;
  gap:12px
}
.proposed-slots small {
  display:block;
  color:var(--muted);
  margin-top:4px
}
.remove-slot {
  background:none;
  border:0;
  font-size:19px;
  color:var(--muted);
  min-width:34px;
  min-height:34px
}
.remove-slot:hover {
  color:var(--red)
}
.empty-slots {
  border:1px dashed #344039;
  padding:22px;
  text-align:center;
  font-size:12px;
  color:#849389;
  border-radius:6px
}
.form-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-top:28px
}
.form-footer>span {
  font-size:10px;
  color:var(--muted);
  line-height:1.7;
  max-width:340px
}
.note-card {
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(145deg,#1c291d,#101713 75%);
  padding:30px 25px
}
.calendar-icon {
  color:var(--accent);
  font-size:43px;
  line-height:1;
  margin-bottom:40px
}
.note-card .eyebrow {
  font-size:9px;
  letter-spacing:1.5px
}
.note-card h2 {
  font-size:23px;
  font-weight:500;
  letter-spacing:-.8px;
  line-height:1.4;
  margin-bottom:16px
}
.note-card p:not(.eyebrow) {
  font-size:12px;
  line-height:1.85;
  color:var(--muted);
  margin-bottom:25px
}
.legend {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:10px
}
.legend span {
  padding:6px 8px;
  border-radius:4px
}
.yes {
  color:var(--green);
  background:#21311f
}
.maybe {
  color:var(--amber);
  background:#30291c
}
.no {
  color:var(--red);
  background:#30211f
}
.unanswered {
  color:var(--muted)
}
.small-note {
  display:flex;
  gap:14px;
  margin:27px 10px
}
.small-note>span {
  color:var(--accent);
  font-size:22px
}
.small-note h3 {
  font-size:12px;
  font-weight:500;
  margin:0 0 8px
}
.small-note p {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin:0
}
.text-button {
  border:0;
  background:none;
  color:var(--accent);
  font-size:12px;
  padding:9px 0;
  min-height:36px;
  text-align:left
}
.text-button:hover {
  text-decoration:underline
}
.side-notes>.text-button {
  margin-left:10px
}
.site-footer {
  border-top:1px solid var(--line);
  margin-top:65px;
  padding:25px 0 35px;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
  gap:18px
}
.message {
  padding:14px 18px;
  border:1px solid #4c6543;
  background:#1c2b1b;
  color:#d0e9c2;
  border-radius:7px;
  font-size:13px;
  line-height:1.7;
  margin-bottom:22px;
  overflow-wrap:anywhere
}
.message.error {
  border-color:#79504a;
  background:#2e1c1b;
  color:#f0c0bb
}
.message input {
  margin-top:10px
}
.field-error {
  color:var(--red);
  font-size:12px;
  line-height:1.7
}
.section-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:30px 0
}
.section-title h2 {
  font-size:23px;
  letter-spacing:-.5px;
  margin-bottom:10px
}
.saved-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.saved-card {
  padding:25px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:start;
  overflow-wrap:anywhere
}
.saved-card h3 {
  margin:0;
  font-size:19px;
  letter-spacing:-.4px
}
.saved-card p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.8
}
.saved-card .eyebrow {
  font-size:9px
}
.saved-empty {
  text-align:center;
  grid-column:1/-1;
  border:1px dashed var(--line);
  padding:50px;
  border-radius:10px;
  color:var(--muted);
  line-height:1.8
}
.back-button {
  margin-bottom:15px
}
.poll-panel {
  padding:35px
}
.poll-heading {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:25px
}
.poll-heading h2 {
  font-size:32px;
  font-weight:500;
  letter-spacing:-1.1px;
  margin:0 0 12px;
  overflow-wrap:anywhere
}
.poll-heading .eyebrow {
  margin-bottom:12px
}
.poll-meta {
  font-size:12px;
  color:var(--muted);
  line-height:1.8
}
.poll-description,.poll-location {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:13px;
  line-height:1.8;
  color:#cbd4cd
}
.poll-location a {
  color:var(--accent);
  text-decoration:underline
}
.callout {
  padding:13px 17px;
  border:1px solid #655a38;
  background:#262318;
  border-radius:6px;
  color:var(--amber);
  font-size:12px;
  line-height:1.8;
  margin:20px 0
}
.callout a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
}
.results-toolbar {
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:end;
  margin:32px 0 17px
}
.results-toolbar h3 {
  font-size:16px;
  margin-bottom:8px
}
.results-toolbar p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
.results-toolbar>div:last-child {
  width:260px
}
.results-toolbar label {
  font-size:10px
}
.results-toolbar select {
  font-size:12px
}
.results-legend {
  margin-bottom:14px
}
.table-scroll {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:8px;
  max-height:520px
}
table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:12px
}
th,td {
  padding:15px 16px;
  text-align:center;
  border-bottom:1px solid var(--line);
  min-width:165px
}
th {
  font-weight:500;
  background:#18221b;
  vertical-align:top
}
th:first-child,td:first-child {
  text-align:left;
  position:sticky;
  left:0;
  background:#141c16;
  z-index:1;
  min-width:155px;
  max-width:220px;
  overflow-wrap:anywhere
}
thead th {
  position:sticky;
  top:0;
  z-index:2
}
thead th:first-child {
  z-index:3
}
th small {
  display:block;
  color:var(--muted);
  font-size:10px;
  font-weight:400;
  line-height:1.7;
  margin-top:6px
}
.best-tag {
  display:block;
  color:var(--accent);
  font-size:9px;
  margin-top:9px;
  letter-spacing:.3px
}
.vote-cell span {
  display:inline-block;
  min-width:28px;
  padding:6px;
  border-radius:4px
}
.totals td {
  border-bottom:0;
  color:var(--accent);
  font-size:11px
}
.totals small {
  display:block;
  color:var(--muted);
  margin-top:7px;
  font-size:10px
}
.table-empty td {
  color:var(--muted);
  text-align:left;
  font-size:12px
}
.results-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:12px 0 28px;
  font-size:10px;
  color:var(--muted)
}
.results-actions>div {
  display:flex;
  gap:22px
}
.results-actions button {
  font-size:11px
}
.vote-form {
  padding-top:28px;
  border-top:1px solid var(--line)
}
.vote-form h3 {
  font-size:17px;
  margin:2px 0 7px
}
.vote-form input {
  max-width:380px
}
.vote-tools {
  display:flex;
  gap:18px;
  align-items:center;
  margin:20px 0 12px;
  font-size:11px;
  color:var(--muted);
  flex-wrap:wrap
}
.vote-tools button {
  font-size:11px
}
.vote-tools>span {
  margin-right:auto
}
.vote-options {
  display:grid;
  gap:8px
}
.vote-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:15px;
  background:#0e1510;
  border:1px solid var(--line);
  border-radius:6px;
  min-width:0;
  margin:0
}
.vote-row legend {
  float:left;
  font-size:12px;
  line-height:1.7;
  max-width:50%
}
.vote-row legend small {
  display:block;
  font-size:11px;
  color:var(--muted)
}
.answer-buttons {
  display:flex;
  gap:6px;
  flex-shrink:0
}
.answer-buttons label {
  margin:0;
  position:relative
}
.answer-buttons input {
  position:absolute;
  width:1px;
  height:1px;
  min-height:0;
  padding:0;
  opacity:0
}
.answer-buttons span {
  display:block;
  border:1px solid #3b473e;
  border-radius:5px;
  padding:9px 12px;
  font-size:11px;
  cursor:pointer;
  color:var(--muted);
  white-space:nowrap
}
.answer-buttons input:checked+span {
  border-color:currentColor;
  box-shadow:inset 0 0 0 1px currentColor
}
.answer-buttons input:checked+span.yes {
  color:var(--green);
  background:#243b20
}
.answer-buttons input:checked+span.maybe {
  color:var(--amber);
  background:#38301e
}
.answer-buttons input:checked+span.no {
  color:var(--red);
  background:#3b2421
}
.answer-buttons input:focus-visible+span {
  outline:2px solid var(--accent);
  outline-offset:3px
}
.organizer-tools {
  margin-top:30px;
  padding-top:28px;
  border-top:1px solid var(--line)
}
.organizer-tools h3 {
  font-size:18px
}
.organizer-tools p {
  font-size:12px;
  line-height:1.8;
  color:var(--muted)
}
.organizer-tools .eyebrow {
  font-size:9px;
  color:var(--accent);
  margin-bottom:10px
}
.finalize-controls {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}
.finalize-controls label {
  margin:0
}
.finalize-controls select {
  width:auto;
  max-width:100%
}
.fine-print {
  font-size:10px!important
}
.organizer-tools>.text-button {
  margin-top:12px
}
.final-result {
  background:#21351d;
  border:1px solid #4b6c3a;
  border-radius:8px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin:25px 0
}
.final-result h3 {
  font-size:18px;
  color:var(--accent);
  margin-bottom:8px
}
.final-result p {
  font-size:12px;
  margin:0;
  line-height:1.8
}
.final-result .button {
  flex-shrink:0
}
.poll-heading .button {
  flex-shrink:0
}
@media(min-width:1500px) {
  .intro {
    padding:80px 0 65px
  }
}
@media(max-width:1000px) {
  .shell {
    width:calc(100% - 48px)
  }
  .create-grid {
    grid-template-columns:minmax(0,1fr) 240px;
    gap:20px
  }
  .panel {
    padding:24px
  }
  .slot-entry {
    grid-template-columns:1fr 1fr
  }
  .slot-entry .button {
    grid-column:1/-1
  }
  .note-card {
    padding:25px 20px
  }
  .legend {
    gap:6px
  }
  .legend span {
    padding:6px
  }
  .intro-note {
    min-width:210px;
    padding-left:24px
  }
  .poll-panel {
    padding:25px
  }
}
@media(max-width:760px) {
  .intro-note {
    display:none
  }
  .intro {
    padding:40px 0 32px
  }
  .create-grid {
    grid-template-columns:1fr
  }
  .side-notes {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
  }
  .note-card {
    grid-row:span 2
  }
  .small-note {
    margin:0;
    align-self:center
  }
  .side-notes>.text-button {
    margin:0
  }
  .calendar-icon {
    margin-bottom:25px
  }
  .saved-list {
    grid-template-columns:1fr
  }
  .poll-heading {
    flex-direction:column;
    gap:10px
  }
  .poll-heading h2 {
    font-size:28px
  }
  .results-toolbar {
    align-items:start;
    flex-direction:column;
    gap:15px
  }
  .results-toolbar>div:last-child {
    width:100%;
    max-width:350px
  }
  .vote-row {
    flex-direction:column;
    align-items:stretch;
    gap:12px
  }
  .vote-row legend {
    max-width:none;
    float:none
  }
  .answer-buttons label {
    flex:1
  }
  .answer-buttons span {
    text-align:center
  }
  .final-result {
    align-items:start;
    flex-direction:column
  }
  .results-actions {
    align-items:start
  }
  .results-actions>div {
    flex-direction:column;
    gap:0
  }
  .finalize-controls {
    align-items:stretch;
    flex-direction:column
  }
  .finalize-controls select {
    width:100%
  }
  .site-header nav {
    gap:16px
  }
  .desktop-break {
    display:none
  }
}
@media(max-width:480px) {
  .shell {
    width:calc(100% - 32px)
  }
  .site-header {
    align-items:start;
    flex-direction:column;
    gap:24px;
    padding:24px 0
  }
  .site-header nav {
    width:100%;
    justify-content:space-between;
    gap:12px;
    font-size:12px
  }
  .identity span {
    font-size:10px
  }
  .intro {
    padding-top:34px
  }
  h1 {
    font-size:43px;
    letter-spacing:-2px
  }
  .lede {
    font-size:13px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.4px
  }
  .workspace-tabs {
    gap:20px
  }
  .mode-badge {
    font-size:9px;
    padding:5px 8px
  }
  .tab {
    font-size:12px
  }
  .panel {
    padding:20px 17px
  }
  .panel-heading h2 {
    font-size:16px
  }
  .field-pair {
    grid-template-columns:1fr;
    gap:18px
  }
  .form-footer {
    align-items:stretch;
    flex-direction:column;
    gap:14px
  }
  .form-footer .button {
    width:100%
  }
  .side-notes {
    grid-template-columns:1fr
  }
  .note-card {
    grid-row:auto
  }
  .calendar-icon {
    margin-bottom:20px
  }
  .small-note {
    margin:8px
  }
  .site-footer {
    flex-direction:column;
    margin-top:40px;
    padding-bottom:25px;
    gap:12px
  }
  .results-actions {
    font-size:9px
  }
  .poll-heading h2 {
    font-size:25px
  }
  .poll-heading .button {
    width:100%
  }
  .vote-tools {
    gap:12px
  }
  .vote-tools>span {
    width:100%
  }
  .answer-buttons span {
    padding:10px 7px
  }
  .saved-empty {
    padding:32px 20px
  }
  .section-title h2 {
    font-size:21px
  }
  .section-title {
    align-items:start;
    flex-direction:column
  }
}
@media(prefers-reduced-motion:no-preference) {
  button,a {
    transition:background .15s,color .15s,border-color .15s
  }
}
@media print {
  .site-header,.intro,.workspace-bar,.storage-note,.site-footer,.back-button,#share-button,.vote-form,.organizer-tools,.results-actions,.results-toolbar>div:last-child,.final-result button {
    display:none!important
  }
  :root {
    color-scheme:light;
    --bg:#fff;
    --surface:#fff;
    --raised:#eee;
    --line:#bbb;
    --muted:#555;
    --text:#111;
    --accent:#335b27
  }
  .shell {
    width:100%
  }
  .panel {
    padding:10px
  }
  .table-scroll {
    overflow:visible;
    max-height:none
  }
  th,td,th:first-child,td:first-child {
    background:#fff;
    color:#111;
    min-width:0;
    font-size:9px;
    padding:8px
  }
  .final-result {
    background:#eee
  }
  a {
    color:#111
  }
}
