@font-face {
  font-family: "Nickel Gothic";
  src: url("fonts/NickelGothicV3-SemiWide.otf") format("opentype");
  font-display: swap;
}
:root {
  --bg: #e1e0da;
  --card: #f8f8f7;
  --ink: #22252a;
  --mute: #6a6c6f;
  --gold: #887857;
  --line: rgba(34, 37, 42, 0.18);
  --lime: #ddff2f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --warn: #b4441a;
  --ok: #2f7d4f;
  --tent: #8a6d1a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "PingFang SC",
    "Noto Sans CJK SC",
    sans-serif;
}
header {
  padding: 14px 16px 8px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
h1 {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 span {
  box-shadow: inset 0 -8px 0 var(--lime);
}
.bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  scrollbar-width: none;
}
.bar::-webkit-scrollbar {
  display: none;
}
.bar > * {
  flex: none;
}
button,
select {
  font: inherit;
  color: inherit;
}
select.chip {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 52%,
    calc(100% - 9px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
select.chip.small {
  padding-right: 30px;
}
select.chip.on {
  background-color: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  white-space: nowrap;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip.small {
  padding: 5px 10px;
  font-size: 13px;
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  padding: 6px 10px;
  min-width: 54px;
}
.day b {
  font-size: 17px;
}
.day small {
  font-size: 11px;
  color: inherit;
  opacity: 0.75;
}
.day.game:not([aria-pressed="true"]) {
  background: var(--lime);
  border-color: #b9d22a;
}
.sub {
  padding: 2px 16px 6px;
  color: var(--mute);
  font-size: 13px;
}
.sub b {
  color: var(--ink);
}
main {
  padding: 0 16px 80px;
}
.label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 10px 16px 0;
}
.row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  background: var(--card);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 0;
  border-left: 5px solid var(--c, #999);
  cursor: pointer;
}
.row .t {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
}
.row .t small {
  display: block;
  color: var(--mute);
  font-weight: 400;
}
.row h3 {
  margin: 0;
  font-size: 15px;
}
.row p {
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 13px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}
.tag {
  font-size: 11px;
  border-radius: 6px;
  padding: 2px 6px;
  background: #e3e1da;
}
.tag.closed {
  background: #20242b;
  color: #fff;
}
.tag.open {
  background: var(--lime);
}
.tag.review {
  background: #f6d9cc;
  color: var(--warn);
}
.tag.tent {
  background: #f1e6c0;
  color: var(--tent);
}
.free {
  background: transparent;
  border: 1px dashed var(--line);
  border-left: 5px solid #bbb;
}
.grid {
  display: grid;
  gap: 6px;
  overflow: auto;
  max-height: 100vh;
  max-height: 100dvh;
  align-items: start;
  overscroll-behavior: auto;
}
.col {
  min-width: 150px;
  position: relative;
  background: var(--card);
  border-radius: 10px;
}
.col h4 {
  box-shadow: 0 1px 0 var(--line);
  margin: 0;
  padding: 6px 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
  background: var(--card);
  border-radius: 10px 10px 0 0;
  z-index: 20;
}
.lane {
  position: relative;
}
.wk .col {
  min-width: 0;
}
.wk .col h4 {
  height: 46px;
  overflow: hidden;
}
.wk .col h4 span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blk {
  position: absolute;
  left: 3px;
  right: 3px;
  border-radius: 6px;
  padding: 2px 5px;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  background: var(--c);
  color: var(--f, #20242b);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.blk.freeb {
  background: repeating-linear-gradient(135deg, #eceae4, #eceae4 5px, #f6f5f1 5px, #f6f5f1 10px);
  color: var(--mute);
}
.blk.dim,
.crow.dim {
  opacity: 0.72;
  filter: saturate(0.55);
}
.blk.hit,
.crow.hit {
  box-shadow: 0 0 0 2px var(--ink);
}
.crow {
  background: var(--c);
  color: var(--f, #20242b);
  border-radius: 6px;
  padding: 4px 6px;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.crow span {
  display: block;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
  font-size: 10.5px;
}
.crow i {
  font-style: normal;
  opacity: 0.8;
}
.crow.freeb {
  background: repeating-linear-gradient(135deg, #eceae4, #eceae4 5px, #f6f5f1 5px, #f6f5f1 10px);
  color: var(--mute);
}
.crow.rev {
  outline: 2px solid var(--warn);
}
.blk.rev {
  outline: 2px solid var(--warn);
}
.hr {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid #e4e2db;
  font-size: 9px;
  color: #aaa;
  padding-left: 2px;
}
.ov {
  background: var(--card);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 0;
  cursor: pointer;
}
.ov h3 {
  margin: 0;
  font-size: 15px;
}
.ov p {
  margin: 2px 0;
  color: var(--mute);
  font-size: 13px;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  max-width: min(560px, 94vw);
  width: 100%;
  background: var(--card);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.dlg {
  padding: 18px;
}
.dlg h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.dlg dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 10px;
  margin: 12px 0;
  font-size: 14px;
}
.dlg dt {
  color: var(--mute);
}
.dlg dd {
  margin: 0;
}
.note {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  font-size: 14px;
}
.note h5 {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.flag {
  background: #f6d9cc;
  color: #7a2c0e;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  font-size: 14px;
}
.close {
  float: right;
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.count {
  color: var(--mute);
  font-size: 13px;
  margin: 8px 0;
}
@keyframes pbDraw {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  42% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  52% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes pbFill {
  0%,
  38% {
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes pbWord {
  0%,
  52% {
    opacity: 0;
    transform: translateY(26px);
  }
  66% {
    opacity: 1;
    transform: translateY(0);
  }
  86% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}
@keyframes pbBreathe {
  0%,
  52% {
    transform: scale(0.99);
  }
  70% {
    transform: scale(1.015);
  }
  86% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.99);
  }
}
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #22252a;
  color: #f8f8f7;
  display: grid;
  place-items: center;
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s;
}
#intro.done {
  opacity: 0;
  visibility: hidden;
}
#intro svg {
  width: min(300px, 62vw);
  height: auto;
  overflow: visible;
  animation: pbBreathe 2.6s ease-in-out infinite;
}
.pbfill {
  opacity: 0;
  animation: pbFill 2.6s ease-in-out infinite;
}
.pbseam {
  stroke: #ddff2f;
  stroke-width: 6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pbDraw 2.6s ease-in-out infinite;
}
.pbword {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: pbWord 2.6s ease-in-out infinite;
}
.brand {
  background: #22252a;
  color: #f8f8f7;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}
.brand .arc {
  width: 54px;
  height: auto;
  flex: none;
}
.brand .wm {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 300px;
  opacity: 0.07;
  pointer-events: none;
}
.brand h1 {
  font-family: "Nickel Gothic", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 6vw, 34px);
  line-height: 0.84;
  margin: 0;
}
.brand p {
  margin: 5px 0 0;
  font-family: Georgia, "Noto Serif", serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: #ddff2f;
}
.chip,
.row,
.ov,
.col,
dialog,
.note,
.flag,
.crow,
.blk {
  border-radius: 6px;
}
.day {
  border-radius: 6px;
}
.chip {
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.chip:hover {
  border-color: rgba(34, 37, 42, 0.6);
}
.chip:active {
  transform: scale(0.97);
}
.blk,
.crow {
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.blk:hover,
.crow:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(34, 37, 42, 0.25);
  z-index: 15;
}
.blk:active,
.crow:active {
  transform: scale(0.98);
}
.label {
  color: var(--gold);
}
.col {
  animation: rise 0.42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.row {
  animation: rise 0.36s var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
dialog[open] {
  animation: pop 0.3s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#login {
  min-height: 100vh;
  min-height: 100dvh;
  background: #22252a;
  color: #f8f8f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  gap: 22px;
}
#login[hidden],
#app[hidden] {
  display: none;
}
.lg-hero {
  text-align: center;
}
#loginmark svg {
  width: min(240px, 56vw);
  height: auto;
  overflow: visible;
  animation: pbBreathe 3.4s ease-in-out infinite;
}
#loginmark .pbfill,
#loginmark .pbseam,
#loginmark .pbword {
  animation-duration: 3.4s;
}
.lg-hero h1 {
  font-family: "Nickel Gothic", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 9vw, 56px);
  line-height: 0.84;
  margin: 6px 0 0;
}
.lg-hero p {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  color: #ddff2f;
}
.lg-card {
  width: min(380px, 100%);
  background: #f8f8f7;
  color: #22252a;
  border-radius: 6px;
  padding: 18px;
  display: grid;
  gap: 10px;
  animation: rise 0.42s var(--ease) both;
}
.lg-card[hidden] {
  display: none;
}
.lg-card .label {
  margin: 0;
}
.input {
  font: inherit;
  font-size: 17px;
  padding: 12px;
  border: 1px solid rgba(34, 37, 42, 0.6);
  border-radius: 6px;
  background: #fff;
  color: #22252a;
  width: 100%;
}
.input.code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.22em;
  text-align: center;
  font-size: 22px;
}
.btn {
  font: inherit;
  font-weight: 700;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: #22252a;
  color: #f8f8f7;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 #ddff2f;
  transition: transform 0.18s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled] {
  opacity: 0.55;
}
.link {
  font: inherit;
  font-size: 13px;
  background: none;
  border: 0;
  color: #887857;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}
#lg-msg {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
  text-align: center;
  max-width: 380px;
}
#lg-msg.flash {
  animation: flash 0.6s var(--ease);
}
@keyframes flash {
  from {
    color: #ddff2f;
  }
  to {
    color: inherit;
  }
}
::selection {
  background: #ddff2f;
  color: #22252a;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(221, 255, 47, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  #intro {
    display: none;
  }
}

/* ---- surfaces and type ---- */
body {
  font-size: 15px;
  line-height: 1.45;
  background: #e6e5df;
}
.brand {
  align-items: center;
}
.brand #mode {
  margin-left: auto;
  padding: 0;
  position: relative;
  z-index: 2;
}
.brand #mode .chip {
  background: transparent;
  color: #f8f8f7;
  border-color: rgba(248, 248, 247, 0.35);
}
.brand #mode .chip[aria-pressed="true"] {
  background: #f8f8f7;
  color: #22252a;
  border-color: #f8f8f7;
}
.chip {
  background: #f8f8f7;
  border-color: rgba(34, 37, 42, 0.14);
  padding: 8px 14px;
}
.chip.small {
  padding: 6px 12px;
}
.label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  margin-top: 14px;
}
.sub {
  font-size: 13.5px;
}
.blk,
.crow {
  background: var(--c);
  color: #22252a;
  border: 0;
  border-left: 4px solid var(--f);
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.06) inset;
}
.blk {
  font-size: 12px;
  line-height: 1.3;
  padding: 4px 7px;
}
.blk b,
.crow b {
  font-weight: 650;
}
.crow {
  font-size: 13px;
  padding: 7px 9px;
  margin-top: 5px;
}
.crow span {
  font-size: 11.5px;
}
.blk.freeb,
.crow.freeb {
  background: repeating-linear-gradient(135deg, #f3f2ee, #f3f2ee 6px, #faf9f6 6px, #faf9f6 12px);
  border-left-color: #d6d4cc;
  color: #8a8b88;
}
.blk.dim,
.crow.dim {
  opacity: 0.5;
  filter: saturate(0.4);
}
.blk.hit,
.crow.hit {
  box-shadow: 0 0 0 2px #22252a;
}
.blk.rev,
.crow.rev {
  outline: 2px solid #b55445;
  outline-offset: -1px;
}
.col {
  background: #f8f8f7;
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.07);
}
.col h4 {
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 10px;
  line-height: 1.3;
}
.hr {
  border-top-color: #eeede8;
  color: #b4b3ad;
  font-size: 10px;
}
.grid {
  gap: 10px;
  padding: 2px;
  scroll-padding-left: 16px;
}
.count {
  font-size: 13px;
  color: #6a6c6f;
}
.tag {
  font-size: 11.5px;
  padding: 3px 7px;
  border-radius: 5px;
}
.row {
  padding: 12px 14px;
  margin: 8px 0;
}
#legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 16px 0;
  font-size: 12px;
  color: #6a6c6f;
}
#legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#legend i {
  width: 16px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
dialog {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.dlg {
  padding: 22px;
}
.dlg dl {
  row-gap: 9px;
}
/* ---- desktop optimised ---- */
body.m-desktop #app {
  max-width: 1680px;
  margin: 0 auto;
}
body.m-desktop .bar {
  flex-wrap: wrap;
  overflow: visible;
}
body.m-desktop main {
  padding: 0 20px 80px;
}
body.m-desktop .brand {
  padding: 20px 24px;
}
body.m-desktop .brand h1 {
  font-size: 36px;
}
body.m-desktop .bar,
body.m-desktop .sub,
body.m-desktop .label,
body.m-desktop #legend {
  padding-left: 24px;
  padding-right: 24px;
}
body.m-desktop .label {
  margin-left: 0;
  margin-right: 0;
}
body.m-desktop .grid {
  max-height: calc(100dvh - 24px);
}
/* ---- mobile optimised ---- */
body.m-mobile .grid {
  scroll-snap-type: x mandatory;
  gap: 8px;
}
body.m-mobile .col {
  scroll-snap-align: start;
}
body.m-mobile .chip {
  padding: 10px 15px;
  font-size: 15px;
}
body.m-mobile .chip.small {
  padding: 8px 13px;
  font-size: 14px;
}
body.m-mobile .blk {
  font-size: 12.5px;
}
body.m-mobile #legend {
  display: none;
}
body.m-mobile .brand h1 {
  font-size: 24px;
}
body.m-mobile .brand {
  gap: 10px;
  padding: 12px 12px;
}
body.m-mobile .brand .arc {
  width: 40px;
}
body.m-mobile .brand h1 {
  font-size: 19px;
  white-space: nowrap;
}
body.m-mobile .brand p {
  font-size: 10px;
  margin-top: 4px;
}
body.m-mobile .brand #mode {
  gap: 4px;
}
body.m-mobile .brand #mode .chip,
body.m-desktop .brand #mode .chip {
  padding: 6px 9px;
  font-size: 12px;
}
body.m-mobile select.chip.small,
body.m-desktop select.chip.small {
  padding-right: 30px;
}

textarea {
  font: inherit;
  width: 100%;
  border: 1px solid rgba(34, 37, 42, 0.3);
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: #22252a;
  resize: vertical;
  min-height: 70px;
  line-height: 1.4;
}
.savebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.savebar .btn {
  padding: 10px 18px;
}
#n-msg {
  font-size: 13px;
  color: #6a6c6f;
}
#n-msg.flash {
  animation: flash 0.6s var(--ease);
}
.pre {
  white-space: pre-wrap;
  margin: 0;
}
.nb {
  font-weight: 700;
}

.evform {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.evform label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #887857;
}
.evform .input,
.evform textarea,
.evform select {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: #22252a;
  padding: 9px 10px;
}
.evform .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.evform fieldset {
  border: 1px solid rgba(34, 37, 42, 0.18);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 0;
}
.evform legend {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #887857;
  padding: 0 4px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.checks label {
  display: inline-flex;
  grid: none;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #22252a;
}
.seg {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.hint {
  font-size: 13px;
  color: #6a6c6f;
  margin: 6px 0 0;
}
.req {
  border-top: 1px solid rgba(34, 37, 42, 0.12);
  padding: 8px 0;
}
.req:first-of-type {
  border-top: 0;
}
.req .pre {
  margin-top: 4px;
}
.link.danger {
  color: #b55445;
}
.chip.add {
  border-style: dashed;
}
.nb.rq {
  color: #b55445;
}
.blk {
  touch-action: pan-x pan-y;
}
body.m-desktop.is-editor .lane .blk {
  cursor: grab;
}
dialog {
  max-height: 92dvh;
  overflow: auto;
}

#pvbar {
  background: #ddff2f;
  color: #22252a;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 40;
}
#pvbar[hidden] {
  display: none;
}
#pvbar .link {
  color: #22252a;
  font-size: 14px;
}
details.more {
  margin-top: 12px;
  border: 1px solid rgba(34, 37, 42, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
details.more summary {
  cursor: pointer;
  font-weight: 650;
}
#notesform {
  margin-top: 12px;
}

.op {
  background: #ddff2f;
  color: #22252a;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85em;
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.35);
}
.blk.isopen,
.crow.isopen {
  border-left-color: #22252a;
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.5) inset;
}
.blk.isopen.freeb,
.crow.isopen.freeb {
  background: #f7fbdc;
  color: #22252a;
}
.blk.isopen.hit,
.crow.isopen.hit {
  box-shadow:
    0 0 0 2px #22252a,
    0 0 0 5px #ddff2f;
  z-index: 12;
}
.tag.open {
  background: #ddff2f;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.35);
}

/* ---- control panels ---- */
#controls {
  display: grid;
  gap: 10px;
  padding: 14px 16px 4px;
}
.panel {
  background: #f8f8f7;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(34, 37, 42, 0.08);
  padding: 10px 12px 12px;
  min-width: 0;
}
.panel h6 {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #887857;
  font-weight: 600;
}
.panel h6 span {
  letter-spacing: 0.04em;
  text-transform: none;
  color: #9a9b97;
  font-weight: 400;
  margin-left: 4px;
}
#controls .bar {
  padding: 0;
  gap: 6px;
}
#controls .chip {
  background-color: #fff;
}
#controls .chip[aria-pressed="true"] {
  background-color: #22252a;
}
#controls select.chip.on {
  background-color: #22252a;
}
body.m-desktop #controls {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: start;
  padding: 18px 24px 6px;
}
body.m-desktop #controls .panel.wide {
  grid-column: span 2;
}
body.m-desktop #controls .bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0;
}
body.m-desktop #controls .panel.wide .bar {
  grid-template-columns: 1fr 1fr;
}
body.m-desktop #controls .chip {
  width: 100%;
  text-align: left;
  padding: 7px 12px;
  white-space: normal;
}
body.m-desktop #controls .chip.add {
  text-align: center;
}
body.m-desktop .sub#citysub {
  padding-top: 10px;
}
body.m-mobile #controls {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 12px 2px;
}
body.m-mobile .panel {
  padding: 8px 10px 10px;
}

#ctltoggle {
  display: none;
}
body.m-mobile #ctltoggle {
  display: block;
  justify-self: start;
  background-color: #f8f8f7;
}
body.m-mobile #controls:not(.showall) .panel.extra {
  display: none !important;
}

.pp {
  background: #fff;
  color: #22252a;
  border: 1.5px dashed #22252a;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.blk.prop,
.crow.prop {
  outline: 2px dashed #22252a;
  outline-offset: -2px;
}
.propbox {
  background: #fffbe6;
  box-shadow: 0 0 0 1.5px #22252a inset;
  border-radius: 6px;
}
.propbox ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 14px;
}
.fmsg {
  font-size: 13px;
  color: #6a6c6f;
}

/* ---- small pieces used by the calendar and list views ---- */
[hidden] {
  display: none !important;
}
.col h4.daylink {
  cursor: pointer;
}
.col h4.tall {
  height: 64px;
}
.wk .col h4 .daynote {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mute);
}
.wk .col h4 .subcols {
  display: grid;
  font-size: 10px;
}
.subcols i {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crows {
  padding: 0 4px 6px;
}
.citylabel {
  margin: 10px 0 0;
}
.row.plain {
  cursor: default;
}
footer.sub {
  padding: 0 16px 30px;
}
