:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #252820;
  background: #faf9f6;
  --green: #2c5c3e;
  --ink: #252820;
  --muted: #6e7167;
  --line: #e5e6dd;
  --soft: #eff3eb;
  --paper: #fff;
  --radius: 20px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #628b48;
  outline-offset: 4px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
input,
select {
  max-width: 100%;
}
.dashboard-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 14px;
}
.skip-link:focus {
  top: 15px;
}
.topnav {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  background: #faf9f6;
}
.brand {
  font:
    700 37px Georgia,
    serif;
  letter-spacing: -1.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: var(--green);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-self: stretch;
  align-items: stretch;
  margin-left: 22px;
}
.nav-links a {
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nav-links a[aria-current] {
  color: var(--green);
  border-color: var(--green);
  font-weight: 650;
}
.account-link {
  margin-left: auto;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-link span {
  color: var(--muted);
}
main {
  max-width: 1256px;
  margin: 0 auto;
  padding: 32px 28px 0;
}
.page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 32px;
  gap: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin: 0;
}
.quiet {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.small-label {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #558057;
  flex-shrink: 0;
}
.live-dot.stale {
  background: #b68443;
}
.welcome-copy {
  padding: 25px 0 40px;
  max-width: 790px;
}
.welcome h1 {
  font:
    normal clamp(40px, 5.3vw, 68px) / 1.07 Georgia,
    serif;
  letter-spacing: -2.4px;
  margin: 21px 0 23px;
}
.welcome h1 em {
  color: var(--green);
  font-weight: normal;
}
.welcome-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 670px;
}
.start-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 12px 0 18px;
  justify-content: space-between;
}
.start-heading h2 {
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.3px;
  margin: 0;
}
.start-heading > span {
  font-size: 13px;
  color: var(--muted);
}
.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.starter {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px 28px;
  min-height: 260px;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.starter:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 24px #2c5c3e09;
  border-color: #a5b497;
}
.sage {
  background: #eaf0e5;
}
.peach {
  background: #f7eae0;
}
.sand {
  background: #f0ede4;
}
.starter-art {
  height: 68px;
  display: flex;
  align-items: flex-start;
  color: var(--green);
}
.starter-art svg {
  height: 43px;
  width: 43px;
  stroke-width: 1.1;
}
.peach .starter-art {
  color: #976746;
}
.starter strong {
  font:
    normal 28px Georgia,
    serif;
  letter-spacing: -0.5px;
  margin-bottom: 9px;
}
.starter > span:not(.starter-art) {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
  color: #5d6557;
}
.starter b {
  font-size: 13px;
  font-weight: 650;
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--green);
}
.starter b span {
  font-size: 20px;
}
.welcome-storage {
  margin: 23px 0 0;
  font-size: 12px;
  color: var(--muted);
}
/* The reading view stays quiet. Editing and management are explicit tasks. */
.management-bar { margin: 0 0 16px; }
.management-bar button { color: var(--muted); font-size: 13px; padding: 6px 0; }
.storage-details { font-size: 12px; color: var(--muted); margin: 10px 0 16px; }
.manager-dialog { width: min(660px,calc(100vw - 32px)); }
.manager-list { display: block; margin: 18px 0 26px; }
.manager-card { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-width: 0; }
.manager-card-info { min-width: 0; }
.manager-card h3 { font-size: 17px; margin: 0 0 7px; font-weight: 650; overflow-wrap: anywhere; }
.manager-card .quiet { font-size: 12px; }
.manager-state { display: block; font-size: 11px; color: #8c6331; margin-bottom: 7px; }
.manager-card-actions { flex-shrink: 0; display: flex; align-items: flex-start; gap: 16px; }
.manager-card-actions > button { font-weight: 600; padding: 5px 0; min-height: 36px; }
.manager-options { font-size: 13px; }
.manager-options summary { cursor: pointer; color: var(--muted); padding: 8px 0; }
.manager-option-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 0; }
.manager-option-buttons button { padding: 9px 0; font-size: 12px; text-align: left; }
.editor-choices { display: flex; flex-direction: column; }
.editor-choices button { border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; text-align: left; background: none; display: flex; flex-direction: column; gap: 6px; }
.editor-choices strong { font-size: 15px; color: var(--green); }
.editor-choices span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.editor-extra { margin-top: 20px; font-size: 12px; color: var(--muted); }
.editor-extra summary { cursor: pointer; }
.editor-extra label { margin: 16px 0; }
#personal-places { padding: 0; border: 0; background: none; margin: 12px 0; }
.place-form-section { border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 16px; }
.place-form-section > summary { padding: 18px 0; cursor: pointer; display: flex; flex-direction: column; gap: 7px; }
.place-form-section > summary strong { font-size: 15px; color: var(--green); }
.place-form-section > summary span { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.place-form-section:not([open]) { padding-bottom: 0; }
.place-form-section[open] > summary { margin-bottom: 5px; }
.first-guide > summary { font-size: 13px; cursor: pointer; color: var(--green); }
@media(max-width:760px) {
  .manager-dialog { padding: 22px; }
  .manager-card { gap: 12px; }
  .manager-card-actions { gap: 12px; }
  .manager-card h3 { font-size: 16px; }
  .manager-card-info { flex: 1; }
  .manager-dialog .dialog-footer { flex-wrap: wrap; gap: 12px; }
  .manager-card-actions:has(.manager-options[open]) { flex-direction: column; }
}
.first-guide {
  padding: 24px;
  border: 1px solid #d3decd;
  border-radius: var(--radius);
  background: #eff3eb;
  margin: 0 0 28px;
}
.first-guide h2 {
  font:
    normal 26px/1.3 Georgia,
    serif;
  margin: 8px 0 20px;
}
.first-guide ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.first-guide li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.first-guide li > strong {
  font-size: 14px;
}
.first-guide li > span {
  color: #52604e;
  font-size: 13px;
  line-height: 1.6;
}
.first-guide li > button {
  margin-top: auto;
}
.refresh-explanation,
.storage-help {
  font-size: 12px;
  line-height: 1.7;
  color: #596153;
  max-width: 850px;
}
.storage-help a {
  display: inline-block;
  padding: 8px 0;
}
.data-guide {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 32px 0;
  background: #fff;
}
.data-guide summary {
  font-weight: 650;
  color: var(--green);
  cursor: pointer;
}
.data-guide dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin: 20px 0 0;
}
.data-guide dt {
  font-weight: 650;
  font-size: 14px;
}
.data-guide dd {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #596153;
}
.card-time {
  font-size: 12px;
  color: #596153;
  margin: 8px 0;
}
.personal-places {
  margin: 12px 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f7f0;
}
.personal-places > summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 650;
  font-size: 14px;
  color: var(--green);
}
.personal-settings {
  border: 0;
  padding: 16px 0 0;
  margin: 0;
  min-width: 0;
}
.personal-settings legend {
  font-size: 12px;
  color: #596153;
  padding-top: 16px;
}
.personal-settings label {
  display: block;
  margin: 18px 0 8px;
}
.personal-settings input,
.personal-settings select {
  width: 100%;
  min-height: 44px;
}
.personal-settings select {
  white-space: normal;
}
.stop-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.stop-search-row input {
  min-width: 0;
  flex: 1;
}
.personal-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.personal-data-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.personal-data-list li:first-child {
  border-top: 0;
}
.personal-data-list strong {
  font-size: 15px;
}
.personal-data-list p {
  margin: 6px 0 0;
  font-size: 13px;
}
.table-wrap:focus-visible,
#board-panel:focus-visible,
#board-title:focus-visible {
  outline: 3px solid #628b48;
  outline-offset: 4px;
}
.table-wrap table {
  min-width: 360px;
}
.table-wrap table caption {
  text-align: left;
}
.tile button,
.tile summary,
.tile select,
.data-guide summary,
.toast button,
.first-guide button {
  min-height: 44px;
}
.board-navigation {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.board-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: thin;
}
.board-tabs button {
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--muted);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-tabs button[aria-selected='true'] {
  background: #eaf0e5;
  color: var(--green);
  font-weight: 650;
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 27px;
}
.board-heading > div:first-child {
  min-width: 0;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.title-row h1 {
  font:
    normal clamp(30px, 3.8vw, 48px) / 1.14 Georgia,
    serif;
  letter-spacing: -1.4px;
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}
.title-row .icon-button {
  margin-top: -7px;
  flex-shrink: 0;
}
.primary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 2px 2px #2c5c3e0b;
}
.primary:hover {
  background: #234c32;
}
.secondary:hover {
  background: #f3f5ef;
}
.secondary[aria-pressed='true'] {
  background: #eaf0e5;
  border-color: #becbb7;
  color: var(--green);
}
.secondary svg {
  width: 17px;
  height: 17px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 9px 2px;
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
}
.icon-button,
.refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 26px;
}
.icon-button:hover,
.refresh-button:hover {
  background: var(--soft);
  color: var(--green);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.freshness {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
.refresh-button {
  min-width: 32px;
  min-height: 32px;
}
.refresh-button svg {
  width: 16px;
  height: 16px;
}
.auto-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}
.auto-refresh input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.save-note {
  font-size: 12px;
  color: var(--muted);
  min-height: 24px;
  padding: 4px 0;
  margin-bottom: 13px;
}
.save-note.dirty {
  color: #946b35;
}
.save-note.error {
  color: #a13e2b;
}
.conflict-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.edit-note {
  font-size: 13px;
  padding: 13px 16px;
  background: #eaf0e5;
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 20px;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px 25px;
  min-width: 0;
  box-shadow: 0 3px 12px #323b2703;
  position: relative;
}
.tile[data-view='map'] {
  grid-column: 1/-1;
}
.tile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tile-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: #edf2e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.tile[data-kind='food'] .tile-icon,
.tile[data-kind='culture'] .tile-icon {
  background: #f8ece2;
  color: #94683f;
}
.tile[data-kind='weather'],
.tile[data-kind='station-weather'] {
  background: linear-gradient(120deg, #f2f6ed, #fdfefa);
}
.tile h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.25px;
  margin: 0;
  line-height: 1.3;
}
.scope-label {
  font-size: 10px;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #6c7165;
  display: block;
  margin-top: 5px;
}
.tile-content {
  min-width: 0;
}
.tile-content .dataset-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 9px 0 0;
}
.tile-controls {
  display: flex;
  gap: 4px;
  align-items: center;
  border-bottom: 1px dashed #d4dbcc;
  padding: 0 0 14px;
  margin: 0 0 17px;
  flex-wrap: wrap;
}
.tile-controls label {
  font-size: 11px;
  color: var(--muted);
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tile-controls select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 12px;
}
.tile-controls button {
  background: #f4f6f0;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  border-radius: 7px;
  color: var(--green);
  font-size: 16px;
}
.tile-controls button[data-remove] {
  margin-left: 4px;
  color: #a75841;
}
.tile.dragging {
  opacity: 0.4;
}
.tile.drag-over {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
}
.editing .tile-head {
  cursor: grab;
}
.empty-widget {
  padding: 22px 4px 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.empty-widget > span {
  display: block;
  color: #91a184;
  font-size: 29px;
  margin-bottom: 12px;
}
.empty-widget p {
  margin: 0;
}
.expired-message {
  font-size: 12px;
  background: #fff6e7;
  color: #855c24;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.skeleton {
  height: 170px;
  border-radius: 10px;
  background: linear-gradient(110deg, #f3f4ef 30%, #fafbf8 50%, #f3f4ef 70%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.add-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 85px;
  width: 100%;
  background: transparent;
  border: 1px dashed #c7cfbe;
  border-radius: var(--radius);
  color: var(--green);
  margin-top: 22px;
  transition: background 0.15s;
}
.add-widget:hover {
  background: #f1f5eb;
}
.add-widget > span:first-child {
  font-size: 25px;
  font-weight: 300;
}
.add-widget strong {
  font-size: 14px;
  font-weight: 650;
}
.add-widget > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.weather-now .temperature {
  font:
    normal 78px/0.95 Georgia,
    serif;
  letter-spacing: -5px;
  color: var(--green);
  margin: 5px 0 10px;
}
.weather-location {
  font-size: 13px;
  color: var(--muted);
}
.weather-now .temperature.missing {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.weather-facts {
  display: flex;
  gap: 60px;
  border-top: 1px solid #e1e8d9;
  padding-top: 22px;
  margin-top: 24px;
  margin-bottom: 20px;
}
.weather-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.weather-facts.station-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.weather-facts strong {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.weather-facts span {
  font-size: 11px;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  padding: 9px 7px 12px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 550;
}
td {
  padding: 12px 7px;
  border-top: 1px solid #edf0e7;
  vertical-align: top;
  line-height: 1.55;
}
td:first-child {
  font-weight: 520;
}
td.numeric {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--green);
  font-weight: 650;
}
.table-wrap table td:nth-child(4) {
  color: var(--muted);
  font-size: 11px;
}
.map {
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3ec;
  z-index: 0;
}
.chart-wrap {
  height: 245px;
  position: relative;
  min-width: 0;
}
.source,
.source-details,
.data-table {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.source-details {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid #edf0e7;
}
.source p {
  margin: 5px 0;
}
.source a {
  display: inline-block;
  margin: 5px 8px 5px 0;
}
.source span {
  display: inline;
}
.source summary,
.source-details summary,
.data-table summary {
  cursor: pointer;
  color: var(--muted);
  min-height: 44px;
  padding: 5px 0;
}
.data-table {
  margin-top: 12px;
}
.cards {
  display: flex;
  flex-direction: column;
}
.place-card {
  padding: 17px 0;
  border-bottom: 1px solid #edf0e7;
}
.place-card:first-child {
  padding-top: 0;
}
.place-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.badge {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #697461;
}
.place-card h3 {
  font:
    normal 22px/1.25 Georgia,
    serif;
  letter-spacing: -0.4px;
  margin: 7px 0 9px;
}
.card-summary {
  font-size: 12px;
  line-height: 1.8;
  color: #6c7267;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.place-card .opening {
  font-size: 11px;
  color: #52684b;
  background: #f2f6ed;
  border-radius: 6px;
  padding: 8px 10px;
  line-height: 1.65;
  margin: 10px 0;
}
.place-card .secondary {
  font-size: 11px;
  min-height: 36px;
  padding: 7px 11px;
  background: transparent;
  border-color: #dce3d5;
  margin-top: 8px;
  color: var(--green);
}
.place-card details:not(.source) {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.place-card details:not(.source) summary {
  cursor: pointer;
  padding: 5px 0;
}
.place-card .source > span {
  display: block;
}
.ask-banner {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 28px 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ask-banner h2 {
  font:
    normal 23px Georgia,
    serif;
  margin: 0 0 7px;
  letter-spacing: -0.3px;
}
.ask-banner p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.ask-banner > .secondary {
  margin-left: auto;
}
.ask-symbol {
  height: 47px;
  width: 47px;
  border-radius: 50%;
  background: #eef2e7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.ask-symbol svg {
  width: 25px;
  height: 25px;
}
footer {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 26px 0 30px;
  color: var(--muted);
  font-size: 11px;
}
.brand.small {
  font-size: 26px;
}
footer p {
  margin: 0;
}
footer > div {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
footer a:not(.brand) {
  font-size: 11px;
  color: var(--muted);
}
footer .text-button {
  font-size: 11px;
  color: var(--muted);
}
.import-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: #f1eee4;
  border-radius: 12px;
  margin-top: 28px;
}
.import-note strong {
  font-size: 13px;
}
.import-note p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.notice {
  padding: 15px 19px;
  border-radius: 12px;
  background: #fff2dd;
  color: #745b30;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fafbf7;
  color: var(--ink);
  box-shadow: 0 30px 100px #15281e30;
  padding: 28px;
  max-height: 90dvh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #1d302b66;
  backdrop-filter: blur(3px);
}
.library-dialog {
  width: min(680px, calc(100vw - 32px));
}
.small-dialog {
  width: min(490px, calc(100vw - 32px));
  background: white;
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 21px;
}
.dialog-heading h2,
dialog > h2 {
  font:
    normal 30px/1.14 Georgia,
    serif;
  letter-spacing: -0.8px;
  margin: 8px 0 9px;
}
.dialog-heading p:not(.eyebrow),
.small-dialog > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.dialog-heading .icon-button {
  flex-shrink: 0;
  margin: -8px -7px 0 0;
}
.library-search {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid #dbe2d3;
  border-radius: 10px;
  background: white;
  margin-bottom: 15px;
  color: var(--muted);
}
.library-search input {
  border: 0;
  background: none;
  width: 100%;
  font-size: 14px;
  min-height: 28px;
  outline-offset: 2px;
}
.library-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.library-filters button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 12px;
  min-height: 36px;
}
.library-filters button[aria-pressed='true'] {
  background: #e5eddc;
  color: var(--green);
  border-color: #d2dfc6;
}
.library-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.library-item {
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-height: 180px;
}
.library-item[aria-pressed='true'] {
  background: #eef4e7;
  border-color: #78906a;
  box-shadow: inset 0 0 0 1px #78906a;
}
.library-item .selection-mark {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 20px;
  color: #849877;
}
.library-item[aria-pressed='true'] .selection-mark {
  color: var(--green);
}
.library-item strong {
  font-size: 14px;
  font-weight: 650;
}
.library-item > span:last-child {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.library-dialog .dialog-footer {
  position: sticky;
  bottom: -28px;
  background: #fafbf7;
  padding-bottom: 12px;
  z-index: 1;
}
.small-dialog label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 20px 0 8px;
}
.small-dialog input,
.small-dialog select {
  display: block;
  width: 100%;
  padding: 13px 12px;
  border: 1px solid #d7dfce;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 15px;
}
.field-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 0;
}
.danger-link {
  background: transparent;
  border: 0;
  font-size: 12px;
  color: #a25441;
  min-height: 44px;
  padding: 5px 0;
}
.preset-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 23px;
}
.preset-list button {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
}
.preset-list span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.toast {
  display: flex;
  align-items: center;
  gap: 18px;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(620px, calc(100vw - 32px));
  padding: 14px 19px;
  background: #283c2c;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 7px 30px #18221b22;
  z-index: 20;
  font-size: 13px;
}
.toast button {
  border: 0;
  background: none;
  color: #e4efdc;
  font-size: 12px;
  min-height: 44px;
  white-space: nowrap;
}
.toast button#undo {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.toast button#toast-close {
  font-size: 21px;
}
@media (max-width: 800px) {
  .topnav {
    padding: 0 22px;
    gap: 15px;
  }
  .nav-links {
    margin-left: 10px;
    gap: 20px;
  }
  .board-grid {
    gap: 15px;
  }
  .tile {
    padding: 20px;
  }
  .starter {
    padding: 22px;
    min-height: 270px;
  }
  .starter strong {
    font-size: 25px;
  }
  .page-topline {
    margin-bottom: 20px;
  }
  .add-widget > span:last-child {
    display: none;
  }
  .board-heading {
    align-items: flex-start;
  }
  .primary-actions {
    gap: 6px;
  }
  .primary-actions .secondary,
  .primary-actions .primary {
    padding: 10px 12px;
  }
  .weather-facts {
    gap: 28px;
  }
  .start-heading > span {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .first-guide {
    padding: 20px;
  }
  .first-guide ol,
  .data-guide dl {
    grid-template-columns: 1fr;
  }
  .first-guide li + li {
    border-top: 1px solid #d3decd;
    padding-top: 18px;
  }
  .topnav {
    height: 70px;
    padding: 0 20px;
  }
  .brand {
    font-size: 32px;
  }
  .nav-links {
    margin: 0;
    gap: 0;
  }
  .nav-links a:first-child {
    display: none;
  }
  .nav-links a {
    font-size: 12px;
  }
  .account-link {
    font-size: 12px;
    gap: 5px;
  }
  main {
    padding: 23px 20px 0;
  }
  .page-topline {
    gap: 8px;
    margin-bottom: 20px;
  }
  .page-topline .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .page-topline .quiet {
    font-size: 10px;
  }
  .welcome-copy {
    padding: 12px 0 27px;
  }
  .small-label {
    font-size: 10px;
  }
  .welcome h1 {
    font-size: 43px;
    letter-spacing: -1.6px;
    margin: 20px 0;
  }
  .welcome-copy > p {
    font-size: 14px;
    line-height: 1.8;
  }
  .desktop-break {
    display: none;
  }
  .start-heading {
    display: block;
    margin-bottom: 16px;
  }
  .start-heading h2 {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .starter-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .starter {
    min-height: 0;
    padding: 21px 23px;
    position: relative;
  }
  .starter-art {
    height: 43px;
  }
  .starter-art svg {
    width: 32px;
    height: 32px;
  }
  .starter strong {
    font-size: 26px;
  }
  .starter > span:not(.starter-art) {
    max-width: 100%;
    font-size: 13px;
  }
  .starter b {
    padding-top: 16px;
    font-size: 12px;
  }
  .welcome-storage {
    font-size: 11px;
    line-height: 1.7;
  }
  .board-navigation {
    gap: 8px;
    margin-bottom: 26px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 12px;
  }
  .board-tabs {
    max-width: 100%;
    width: 100%;
  }
  .board-tabs button {
    font-size: 13px;
    padding: 10px 12px;
    max-width: 220px;
  }
  .board-navigation > .text-button {
    font-size: 12px;
    padding-left: 3px;
  }
  .board-heading {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  .title-row h1 {
    font-size: 37px;
    letter-spacing: -1px;
  }
  .board-heading .quiet {
    font-size: 12px;
  }
  .primary-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .primary-actions button {
    min-height: 44px;
  }
  .primary-actions #edit-board {
    margin-right: auto;
  }
  .board-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 0;
  }
  .freshness {
    font-size: 11px;
  }
  .auto-refresh {
    font-size: 11px;
    min-height: 44px;
  }
  .board-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .tile,
  .tile[data-view='map'] {
    grid-column: auto;
    padding: 21px;
  }
  .tile h2 {
    font-size: 16px;
  }
  .tile-head {
    margin-bottom: 20px;
  }
  .save-note {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .add-widget {
    min-height: 74px;
  }
  .weather-now .temperature {
    font-size: 75px;
  }
  .weather-facts {
    gap: 60px;
  }
  .ask-banner {
    margin-top: 32px;
    padding: 26px 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }
  .ask-symbol {
    width: 39px;
    height: 39px;
  }
  .ask-banner h2 {
    font-size: 22px;
    line-height: 1.2;
  }
  .ask-banner p {
    font-size: 12px;
  }
  .ask-banner > .secondary {
    grid-column: 2;
    margin: 0;
    justify-self: start;
  }
  .map {
    height: 300px;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
    padding: 23px 0 30px;
  }
  footer .brand {
    font-size: 25px;
  }
  footer p {
    font-size: 10px;
  }
  footer > div {
    margin: 0;
    width: 100%;
    gap: 20px;
  }
  .library-items {
    grid-template-columns: 1fr;
  }
  .library-item {
    min-height: 140px;
  }
  .library-dialog {
    padding: 23px 20px;
    width: calc(100vw - 20px);
    max-height: 95dvh;
  }
  .dialog-heading h2 {
    font-size: 29px;
  }
  .dialog-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .dialog-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  .library-dialog .dialog-footer {
    bottom: -23px;
  }
  .small-dialog {
    padding: 24px;
  }
  .small-dialog .dialog-footer {
    flex-wrap: wrap;
  }
  .import-note {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .toast {
    bottom: 15px;
    padding: 12px 15px;
    gap: 10px;
    font-size: 12px;
  }
  .toast span {
    min-width: 0;
  }
  .tile-controls {
    gap: 5px;
  }
  .tile-controls label {
    font-size: 10px;
  }
  .tile-controls select {
    max-width: 125px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .first-guide,
  .storage-help {
    display: none !important;
  }
  body {
    background: white;
  }
  .topnav,
  .board-navigation,
  .primary-actions,
  .board-toolbar,
  .save-note,
  .add-widget,
  .ask-banner,
  .tile-controls,
  .title-row > .icon-button,
  footer,
  .page-topline,
  .import-note,
  .toast,
  dialog,
  .conflict-actions,
  .edit-note {
    display: none !important;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .board-grid {
    display: block;
  }
  .tile {
    break-inside: avoid;
    margin-bottom: 20px;
    box-shadow: none;
  }
  .place-card .secondary {
    display: none;
  }
  .map,
  .chart-wrap {
    display: none;
  }
  .data-table {
    display: block;
  }
  .data-table > table,
  .data-table > .table-wrap {
    display: block;
  }
  .board-heading h1 {
    font-size: 30px;
  }
  .card-summary {
    display: block;
    overflow: visible;
  }
  .source,
  .source-details {
    color: #333;
  }
}
.place-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.place-card h3 a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
