@import url("/fonts.css");
:root {
  --paper: #f7f6f0;
  --ink: #233c35;
  --muted: #768078;
  --line: #dce0d4;
  --green: #386551;
  --lime: #dfe9b8;
  --white: #fffef9;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
}
* {
  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;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  padding: 13px 22px;
  border-radius: 5px;
  font-weight: 600;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b78843;
  outline-offset: 4px;
}
.sidebar {
  width: 248px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #eff0e7;
  border-right: 1px solid var(--line);
  padding: 41px 26px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-family: Georgia, serif;
  font-size: 29px;
  letter-spacing: 2px;
}
.brand span {
  display: block;
  font-family: sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 10px;
  color: var(--muted);
}
.nav-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 63px 12px 18px;
  display: flex;
  justify-content: space-between;
}
.nav-label span {
  color: #a5aca1;
}
nav a {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 5px;
  padding: 17px 13px;
  margin-bottom: 7px;
  border-radius: 5px;
  font-size: 13px;
}
nav a span {
  grid-row: span 2;
  font-size: 19px;
}
nav a small {
  font-family: Georgia, serif;
  color: var(--muted);
  font-size: 11px;
}
nav a.active {
  background: #dfe5d6;
  color: #254c3b;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 12px 0;
}
.sidebar-bottom p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
}
.sidebar-bottom small {
  font-size: 8px;
  letter-spacing: 1px;
  display: block;
  margin-top: 25px;
  color: var(--muted);
}
.seed-mark {
  font-size: 33px;
  color: #678567;
}
.text-button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 11px;
}
main {
  margin-left: 248px;
  padding: 0 54px;
  max-width: 1550px;
}
.topbar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.edition {
  font-size: 9px;
  letter-spacing: 1.6px;
}
#app {
  min-height: calc(100vh - 190px);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 21px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 35px;
  padding: 53px 0 45px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(29px, 3.3vw, 48px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}
.intro {
  color: #6b756a;
  line-height: 2.2;
  font-size: 12px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 25px;
}
.hero-note i {
  width: 23px;
  height: 1px;
  background: var(--muted);
}
.map-art {
  position: relative;
  aspect-ratio: 1.1;
  max-height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map-art svg {
  width: 100%;
  height: 100%;
}
.map-art span {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 2px;
  bottom: 12%;
  color: #73816a;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  margin: 0;
}
.section-heading small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.filters button {
  border-radius: 30px;
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  padding: 8px 17px;
  font-size: 11px;
}
.filters button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}
.practice-card:hover {
  transform: translateY(-3px);
}
.art {
  height: 148px;
  background: #e6ead9;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.art.scent {
  background: #e9e9d7;
}
.art.walk {
  background: #e1e7d9;
}
.art.touch {
  background: #eae0d2;
}
.art svg {
  height: 145px;
  width: 100%;
}
.card-content {
  padding: 23px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}
.card-content h3 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  margin: 17px 0 12px;
}
.card-content p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  min-height: 40px;
}
.card-content button {
  background: none;
  border: 0;
  color: var(--green);
  padding: 10px 0 0;
  font-size: 12px;
}
.wide-note {
  margin: 36px 0;
  padding: 25px 29px;
  background: #ecede3;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.wide-note h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 9px;
}
.wide-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.page-head {
  padding: 46px 0 22px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 17px;
}
.page-head p {
  line-height: 1.9;
  color: var(--muted);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 8px;
  margin: 20px 0;
}
.panel h2,
.panel h3 {
  font-family: var(--serif);
  font-weight: 500;
}
.panel p {
  line-height: 1.9;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.split > .panel {
  margin-top: 0;
}
label {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 17px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cdd3c6;
  border-radius: 4px;
  background: #fffefb;
  color: var(--ink);
  margin-top: 6px;
}
textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.9;
}
input[type="checkbox"] {
  width: auto;
  margin: 0 9px 0 0;
}
input[type="search"] {
  max-width: 430px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.secondary {
  background: transparent;
  color: var(--green);
  border-color: #b6c2b2;
}
.danger {
  background: transparent;
  color: #944938;
  border-color: #d8b6a8;
}
.badge {
  display: inline-block;
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 3px;
  margin: 0 5px 5px 0;
  color: var(--muted);
}
.private {
  color: var(--green);
  background: #eaf0e1;
}
.entry {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.entry:first-child {
  padding-top: 0;
}
.entry time {
  color: var(--muted);
  font-size: 11px;
}
.entry .body,
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 2;
  font-size: 13px;
}
.entry .actions button {
  padding: 7px 11px;
  font-size: 10px;
}
.empty {
  padding: 35px 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 2;
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.concept-grid button {
  text-align: left;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 22px;
  font-weight: 400;
}
.concept-grid h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 10px 0;
}
.concept-grid p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.locked {
  max-width: 680px;
  margin: 25px 0 70px;
  padding: 40px;
  background: #eeefe5;
  border-radius: 8px;
}
.locked h2 {
  font-family: var(--serif);
  font-weight: 400;
}
.locked p {
  line-height: 2;
  color: var(--muted);
}
.safety {
  font-size: 12px;
  padding: 15px;
  background: #f4efdf;
  line-height: 1.8;
  border-left: 2px solid #b5a16c;
}
.steps li {
  padding: 10px 0;
  line-height: 1.9;
}
.caption {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 35px;
  background: var(--paper);
  color: var(--ink);
  width: min(700px, calc(100% - 30px));
  max-height: 85vh;
  overflow: auto;
}
dialog::backdrop {
  background: #152c2470;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
dialog p {
  line-height: 1.9;
}
#notice:not(:empty) {
  position: sticky;
  top: 12px;
  z-index: 10;
  padding: 14px 20px;
  border-radius: 5px;
  background: #e1e9d7;
  box-shadow: 0 3px 15px #233c3510;
}
#notice.error {
  background: #f3e0d7;
  color: #833a2b;
}
#login-error {
  color: #833a2b;
}
footer {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 45px;
}
footer span {
  letter-spacing: 2px;
}
.row-select {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  align-items: start;
}
.row-select input {
  margin-top: 5px;
}
.row-select span {
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.result {
  border-left: 2px solid var(--green);
  padding: 20px;
  white-space: pre-wrap;
  line-height: 2;
}
.link {
  color: var(--green);
  text-decoration: underline;
}
.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.checklist {
  background: #f1f1e7;
  padding: 20px;
}
.checklist label {
  margin: 5px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 13px;
  white-space: nowrap;
}
@media (min-width: 1450px) {
  main {
    padding: 0 80px;
  }
  .hero {
    padding: 65px 0;
  }
  .art {
    height: 180px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 35px 18px;
  }
  main {
    margin-left: 205px;
    padding: 0 30px;
  }
  .cards {
    gap: 12px;
  }
  .card-content {
    padding: 18px;
  }
  .hero {
    gap: 0;
  }
  .concept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 20px 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    display: inline-block;
    margin-left: 15px;
    font-size: 9px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 18px;
    gap: 12px;
  }
  nav a {
    min-width: 90px;
    display: block;
    padding: 12px 4px;
    margin: 0;
    text-align: center;
    font-size: 11px;
    border-radius: 0;
  }
  nav a span,
  nav a small {
    display: none;
  }
  nav a.active {
    background: none;
    border-bottom: 2px solid var(--green);
  }
  main {
    margin: 0;
    padding: 0 23px;
  }
  .topbar {
    height: 60px;
  }
  .edition {
    font-size: 7px;
  }
  .hero {
    padding: 32px 0;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
    margin-bottom: 15px;
  }
  .map-art {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .practice-card {
    display: grid;
    grid-template-columns: 110px 1fr;
  }
  .art {
    height: 100%;
  }
  .art svg {
    width: 170px;
    height: 190px;
  }
  .card-content h3 {
    margin: 10px 0;
    font-size: 18px;
  }
  .card-content p {
    min-height: 0;
  }
  .concept-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .wide-note {
    align-items: start;
    flex-direction: column;
    padding: 23px;
  }
  .page-head h1 {
    font-size: 29px;
  }
  .panel {
    padding: 20px;
  }
  footer {
    flex-direction: column;
  }
  .locked {
    padding: 25px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading small {
    font-size: 8px;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 780px) {
  .topbar-actions .edition {
    display: none;
  }
}

.home-intro {
  color: var(--muted);
  line-height: 1.9;
  margin-top: 24px;
}
.activity-path {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.activity-path span {
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 24px;
  background: var(--white);
  font-family: var(--serif);
}
.activity-path i {
  font-style: normal;
  color: var(--muted);
}
@media (max-width: 480px) {
  .activity-path {
    gap: 8px;
  }
  .activity-path span {
    padding: 10px 14px;
  }
  .card-meta {
    letter-spacing: 0;
    font-size: 9px;
  }
}
