:root {
  --paper: #f4f2e9;
  --ink: #173f3c;
  --muted: #697571;
  --line: #d8dcd1;
  --orange: #bd5739;
  --white: #fffefa;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2,
h3 {
  font-family: var(--serif);
}
[hidden] {
  display: none !important;
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}
.text-button {
  border: 0;
  padding: 8px 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--ink);
  color: var(--white);
}
.primary:hover {
  background: #28534e;
}
.secondary {
  border-color: var(--line);
  background: transparent;
}
.secondary:hover {
  background: #e7e9de;
}
.light {
  background: var(--paper);
  color: var(--ink);
}
.full-width {
  width: 100%;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  background: var(--paper);
  padding: 10px;
  z-index: 5;
}
.skip-link:focus {
  top: 10px;
}
.site-header,
main,
footer {
  max-width: 1220px;
  margin: auto;
  padding-left: 60px;
  padding-right: 60px;
}
.site-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  letter-spacing: -7px;
  font-weight: 400;
  width: 44px;
}
.brand-mark span {
  color: var(--orange);
}
.brand-sub {
  display: block;
  font-weight: 400;
  letter-spacing: 0.15px;
  font-size: 10px;
  margin-top: 6px;
}
.edition {
  font-size: 9px;
  letter-spacing: 1.7px;
}
.edition span {
  color: var(--orange);
  margin: 0 10px;
}
.intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  padding: 62px 0 50px;
  gap: 50px;
}
.intro .eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
}
.small-line {
  width: 23px;
  height: 1px;
  background: var(--orange);
}
h1 {
  font-size: clamp(43px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
h1 em {
  color: #647e70;
}
.intro-copy {
  font-size: 13px;
  max-width: 355px;
  margin-bottom: 0;
  color: var(--muted);
}
.river-art {
  color: #94a99a;
  padding: 0 10px;
  max-width: 400px;
  width: 100%;
  justify-self: end;
}
.river-art svg {
  width: 100%;
  display: block;
  transform: rotate(-8deg);
}
.river-art span {
  display: block;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 10px;
}
.setup-grid {
  border-top: 1px solid var(--line);
  padding-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}
.setup-note {
  padding-top: 12px;
}
.setup-note h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.setup-note > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 290px;
}
.privacy-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 22px 0 8px;
}
.privacy-note > span {
  color: var(--orange);
  font-size: 22px;
}
.privacy-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 28px;
}
.setup-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.setup-form label span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
input,
textarea,
select {
  border: 1px solid #ccd3c9;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  min-width: 0;
}
input,
textarea {
  width: 100%;
  font-size: 13px;
}
textarea {
  resize: vertical;
  line-height: 1.9;
}
::placeholder {
  color: #98a299;
  opacity: 1;
}
.roster-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.notice {
  border: 1px solid #acbdad;
  background: #e8eee1;
  padding: 15px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  white-space: pre-line;
}
.notice.error {
  border-color: #ce9f84;
  background: #f5e4d8;
  color: #7c3623;
}
.trip-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.trip-heading-row .eyebrow {
  margin-bottom: 10px;
}
.trip-heading-row h2 {
  font-size: 32px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.trip-heading-row p {
  font-size: 12px;
  margin-bottom: 0;
}
.trip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trip-actions .text-button {
  margin-left: 8px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  margin: 28px 0 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.stats > div {
  padding: 23px 27px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats > div + div {
  border-left: 1px solid var(--line);
}
.stat-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.stats strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}
.stats .storage-stat {
  font-size: 23px;
  padding-top: 8px;
  padding-bottom: 3px;
}
.stats .small {
  font-size: 10px;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 16px 0;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs button[aria-current] {
  border-bottom-color: var(--orange);
  color: var(--ink);
  font-weight: 600;
}
.tabs span {
  font-size: 9px;
  background: #e2e7db;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.today-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.panel-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.panel-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.panel-heading h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.panel-heading .text-button {
  font-size: 10px;
  white-space: nowrap;
}
.pairing-panel > p {
  font-size: 11px;
}
.pair-row {
  display: grid;
  grid-template-columns: 38px 1fr 14px 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #e8ebe2;
}
.boat-number {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.6px;
}
.pair-row select {
  width: 100%;
  padding: 10px 5px;
  font-size: 12px;
  height: 42px;
}
.pair-plus {
  text-align: center;
  font-size: 12px;
  color: #99a392;
}
#pairs-form > .button {
  margin-top: 19px;
}
.results-panel {
  background: var(--ink);
  border-radius: 4px;
  padding: 30px;
  color: var(--paper);
  min-height: 400px;
}
.results-panel .eyebrow {
  color: #c1cdb6;
  font-size: 9px;
}
.compass {
  font-size: 44px;
  color: #b6c7a3;
  display: block;
  margin-bottom: 20px;
}
.results-panel h3 {
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.results-panel h3 em {
  color: #b6c7a3;
}
.results-panel p {
  font-size: 12px;
  color: #c6d2c6;
  max-width: 300px;
}
.how-it-works {
  font-size: 10px;
  line-height: 2.8;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid #47706a;
  color: #cad6c7;
}
.how-it-works span {
  color: #b6c7a3;
  margin-right: 14px;
}
.result-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.result-title h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.new-count {
  font-size: 9px;
  border: 1px solid #6f9181;
  border-radius: 20px;
  padding: 6px 10px;
  white-space: nowrap;
  align-self: start;
}
.assignment {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #47706a;
  font-size: 12px;
}
.assignment-names {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-wrap: anywhere;
}
.person-new {
  display: inline-block;
  color: #c6d9ae;
  font-size: 8px;
  letter-spacing: 0.7px;
  margin-left: 6px;
  text-transform: uppercase;
}
.person-repeat {
  color: #bdcebd;
  font-size: 9px;
  margin-left: 6px;
}
.assigned-guide {
  font-family: var(--serif);
  font-size: 19px;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 140px;
}
.guide-label {
  display: block;
  font-family: Arial, sans-serif;
  color: #a7c0af;
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.result-note {
  font-size: 10px !important;
  line-height: 1.7;
  margin: 16px 0;
}
.result-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.result-actions .text-button {
  color: var(--paper);
  font-size: 10px;
}
.section-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0 18px;
}
.section-title h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.section-title p {
  margin-bottom: 0;
}
.log-day {
  margin-bottom: 14px;
  padding: 22px;
}
.log-day h4 {
  font-size: 13px;
  margin: 0 0 15px;
}
.log-assignment {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #e4e8dd;
  padding: 10px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.log-assignment span:last-child {
  font-family: var(--serif);
  font-size: 17px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: center;
}
th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid #e4e8dd;
  white-space: nowrap;
}
thead th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  background: #ecede4;
}
tbody th {
  text-align: left;
  font-weight: 400;
}
tr:last-child td,
tr:last-child th {
  border-bottom: 0;
}
.count-chip {
  display: inline-block;
  background: #dee8d6;
  border-radius: 50%;
  width: 25px;
  line-height: 25px;
}
.zero-count {
  color: #a6b0a2;
}
.empty-state {
  padding: 45px;
  text-align: center;
  border: 1px dashed #b8c4b6;
  font-size: 13px;
  color: var(--muted);
}
footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
footer > span:last-child {
  letter-spacing: 0.2px;
  font-size: 10px;
}
.footer-dot {
  color: var(--orange);
  margin: 0 7px;
}
@media (min-width: 1450px) {
  .intro {
    padding-top: 75px;
    padding-bottom: 60px;
  }
}
@media (max-width: 900px) {
  .site-header,
  main,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .setup-grid {
    gap: 30px;
    grid-template-columns: 0.9fr 1.2fr;
  }
  .today-grid {
    gap: 16px;
  }
  .panel,
  .results-panel {
    padding: 22px;
  }
  .pair-row {
    grid-template-columns: 26px 1fr 10px 1fr;
    gap: 4px;
  }
  .trip-heading-row {
    align-items: start;
  }
  .trip-actions {
    max-width: 240px;
    justify-content: flex-end;
  }
  .stats > div {
    padding: 20px;
  }
  .form-bottom {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header {
    height: 85px;
  }
  .edition {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .edition span {
    margin: 0 4px;
  }
  .brand {
    font-size: 9px;
    gap: 7px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .brand-mark {
    font-size: 31px;
    width: 36px;
  }
  .intro {
    padding: 38px 0 30px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  h1 {
    font-size: 48px;
  }
  .intro-copy {
    max-width: 310px;
  }
  .river-art {
    display: none;
  }
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 25px;
  }
  .setup-note {
    padding: 0;
  }
  .setup-note h2 {
    font-size: 29px;
    margin-bottom: 14px;
  }
  .setup-note > p:not(.eyebrow) {
    max-width: 100%;
  }
  .privacy-note {
    margin-top: 16px;
  }
  .setup-form {
    padding: 22px;
  }
  .roster-fields {
    gap: 13px;
  }
  .form-bottom {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .form-bottom .small {
    font-size: 10px;
  }
  .button {
    padding-left: 14px;
    padding-right: 14px;
    gap: 12px;
  }
  .trip-heading-row {
    flex-direction: column;
    padding-top: 25px;
    gap: 16px;
  }
  .trip-heading-row h2 {
    font-size: 29px;
  }
  .trip-actions {
    max-width: none;
    justify-content: start;
    gap: 8px;
  }
  .trip-actions .button {
    font-size: 11px;
    min-height: 40px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }
  .stats > div {
    padding: 18px;
  }
  .stats > div:last-child {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
  }
  .stats > div:last-child .stat-label {
    grid-column: 1;
  }
  .stats > div:last-child .storage-stat {
    font-size: 18px;
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    text-align: right;
  }
  .stats > div:last-child .small {
    grid-column: 1/-1;
  }
  .stat-label {
    font-size: 8px;
  }
  .tabs {
    gap: 22px;
  }
  .tabs button {
    font-size: 11px;
  }
  .today-grid {
    grid-template-columns: 1fr;
  }
  .panel-heading h3 {
    font-size: 24px;
  }
  .pair-row {
    grid-template-columns: 30px 1fr 12px 1fr;
    gap: 5px;
  }
  .results-panel {
    min-height: 340px;
    padding: 25px;
  }
  .results-panel p {
    max-width: none;
  }
  .section-title h3 {
    font-size: 23px;
  }
  .section-title .text-button {
    font-size: 10px;
    white-space: nowrap;
  }
  footer {
    margin-top: 35px;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .empty-state {
    padding: 30px 20px;
  }
  th,
  td {
    padding: 14px;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .site-header,
  .intro,
  .notice,
  .trip-actions,
  .stats,
  .tabs,
  .pairing-panel,
  .result-actions,
  footer,
  .result-note,
  .skip-link,
  #setup {
    display: none !important;
  }
  main {
    padding: 0;
  }
  #workspace,
  #today-view,
  #result-content {
    display: block !important;
  }
  #result-empty,
  #log-view,
  #coverage-view {
    display: none !important;
  }
  .trip-heading-row {
    border: 0;
    padding: 0;
  }
  .results-panel {
    background: white;
    color: black;
    padding: 0;
    min-height: 0;
  }
  .results-panel .eyebrow,
  .person-new,
  .person-repeat,
  .guide-label,
  .results-panel p {
    color: #444;
  }
  .assignment {
    border-color: #aaa;
    break-inside: avoid;
  }
  .new-count {
    color: black;
    border-color: #aaa;
  }
  .trip-heading-row p {
    margin-bottom: 20px;
  }
}
