@font-face {
  font-family: Jakarta;
  src: url("/media/jakarta-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url("/media/jakarta-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url("/media/jakarta-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url("/media/jakarta.woff2") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --brand: #111;
  --accent: #2e6f40;
  --ink: #141714;
}
body {
  color: var(--ink);
  background: #f8f9fa;
}
html {
  scroll-padding-top: 64px;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}
.primary,
.compact {
  background: var(--brand);
  color: white;
}
.compact {
  border-radius: 8px;
  padding: 12px 16px;
  white-space: nowrap;
}
.pagelead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
}
.pagelead h1 {
  margin: 8px 0;
  font-size: 28px;
}
.pagelead p,
.rolemark {
  color: #515b54;
}
.rolemark {
  font-size: 14px;
}
.panel {
  padding: 18px;
}
.panel .cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 20px 0 10px;
}
.item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #e5e8e5;
  padding: 12px 0;
  gap: 12px;
}
.item b,
.item small,
.invsum small {
  display: block;
}
.item b {
  font-weight: 700;
}
.item small {
  margin-top: 3px;
  font-weight: 400;
}
.item i {
  font-size: 17px;
  color: #647168;
}
.shortcuts h2 {
  margin-bottom: 10px;
}
.shortcuts .primary {
  margin-top: 24px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pair > * {
  min-width: 0;
}
.invsum,
.retryline {
  display: flex;
  gap: 12px;
  align-items: center;
}
.invsum img,
.retryline img {
  width: 56px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}
.invsum small {
  margin-top: 4px;
}
.shareurl {
  margin-top: 14px;
}
.anchor {
  display: grid;
  place-items: center;
  color: #171a17;
  text-decoration: none;
  font-weight: 650;
}
.textbtn {
  padding: 6px 10px;
  background: transparent;
}
html[data-role="guest"] main {
  padding-bottom: 32px;
}
#mobile-nav {
  display: none;
}
@media (max-width: 759px) {
  html:not([data-role="guest"]) main {
    padding-bottom: 86px;
  }
  html:not([data-role="guest"]) #mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 5px 4px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid #e7eae7;
    z-index: 2;
  }
  #mobile-nav button {
    display: grid;
    place-items: center;
    gap: 2px;
    font-size: 12px;
    min-width: 54px;
    background: white;
    color: #56625a;
  }
  #mobile-nav button.navon {
    color: #151b16;
    font-weight: 700;
  }
  #toast:not(:empty) {
    bottom: 78px;
  }
  .feature .panel {
    margin-top: 8px;
  }
}
@media (min-width: 760px) {
  html:not([data-role="guest"]) header {
    display: none;
  }
  html:not([data-role="guest"]) .shell {
    max-width: none;
    min-height: 100vh;
    grid-template-columns: 222px minmax(0, 1fr);
    gap: 0;
  }
  html:not([data-role="guest"]) main {
    max-width: 1310px;
    padding: 35px clamp(24px, 3vw, 56px) 52px;
  }
  html:not([data-role="guest"]) aside {
    position: sticky;
    top: 0;
    background: white;
    padding: 30px 14px 24px;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .wordmark {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.08em;
    padding-left: 15px;
  }
  .brandname {
    padding: 2px 0 0 16px;
  }
  aside nav {
    margin-top: 56px;
  }
  aside nav button {
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    min-height: 46px;
    margin-bottom: 8px;
    text-align: left;
  }
  aside nav button.navon {
    background: #f1f4f1;
  }
  aside nav i {
    font-size: 20px;
  }
  .sidefoot {
    margin-top: auto;
    padding: 10px 12px;
    font-size: 14px;
  }
  .pagelead {
    margin: 0 0 32px;
  }
  .pagelead h1 {
    font-size: 36px;
    margin: 12px 0;
  }
  .pagelead p {
    font-size: 16px;
  }
  html:not([data-role="guest"]) .dashboard.feature {
    grid-template-columns: minmax(0, 1.37fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  .feature .panel {
    padding: 22px;
    margin: 8px 0;
    min-height: 430px;
  }
  .schedule .cover {
    height: clamp(160px, 17vw, 260px);
    margin: 26px 0 12px;
  }
  .feature .shortcuts {
    display: flex;
    flex-direction: column;
  }
  .shortcuts .primary {
    margin-top: auto;
    margin-bottom: 0;
  }
  .feature .item {
    min-height: 56px;
  }
}
#main:has(.shareurl) .panel {
  overflow-wrap: anywhere;
}
input[type="color"] {
  max-width: 108px;
  height: 42px;
}
.hint {
  border-left: 3px solid #2e6f40;
  padding: 9px 12px;
  margin: 12px 0;
  background: #ecf3ed;
}

.cover-empty {
  margin: 20px 0;
  padding: 32px 12px;
  background: #f3f5f3;
  border-radius: 8px;
  color: #48504a;
}
.plan button:nth-of-type(n) {
  border: 0;
}
.tone4,
.tone8,
.tone12 {
  background: #d8dfed;
}
.tone5,
.tone9,
.tone13 {
  background: #ebdcd5;
}
.tone6,
.tone10,
.tone14 {
  background: #d2e6e4;
}
.tone7,
.tone11,
.tone15 {
  background: #e4e1c7;
}

.nav-symbol {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.no-reference {
  min-height: 112px;
  background: #f1f3f2;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #58615b;
  border-radius: 8px;
}

.datedetails {
  margin: 12px 0;
}
.datedetails summary {
  cursor: pointer;
  font-weight: 600;
}

.instruction { border-bottom: 1px solid #e8ebe8; padding: 14px 0; }
.instruction:last-child { border-bottom: 0; }
.instruction summary { cursor: pointer; }
.instruction summary small { margin-left: 10px; color: #58615b; }
.instruction p, .preserve-lines { white-space: pre-line; }
.item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.item-actions button { min-width: 44px; min-height: 44px; padding: 8px 12px; }
.report-item { padding: 14px 0; border-bottom: 1px solid #e8ebe8; }
.report-item:last-child { border: 0; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; }
.check-item input { flex: 0 0 22px; width: 22px; height: 22px; }
.check-item small { display: block; color: #58615b; margin-top: 4px; }

input[type="checkbox"] { accent-color: #2d5a3f; }

/* Shared reading order: title, current state, then the primary action. */
main{font-size:16px;line-height:1.65}main h1{margin-bottom:20px;letter-spacing:-.045em}main h2{font-size:20px}main h3{font-size:16px}main .panel{margin:16px 0;padding:20px;border-radius:16px}main .panel>h2,main .panel>h3{margin-bottom:12px}main .panel>p+p{margin-top:10px}main .note{font-size:14px;line-height:1.65}main .row,main .item{min-height:52px;padding:16px 0;gap:16px}main .row>span,main .row>b{flex:1;min-width:0}main .row>small{max-width:45%;font-weight:400;text-align:right}main label{margin:16px 0;font-size:14px;font-weight:600}main label>input:not([type=checkbox]),main label>select,main label>textarea{display:block;margin-top:7px;font-size:16px;font-weight:400;min-height:48px;padding:12px;border-radius:10px}main label>textarea{min-height:96px}main .primary,main .secondary{min-height:52px;border-radius:11px;margin:14px 0}main .tabs button{min-height:44px;padding:10px 15px}main .meta{align-items:flex-start;margin:8px 0}main .meta h2{font-size:18px;line-height:1.5}main .pill{flex-shrink:0;margin-top:3px}.booking-period{display:block;font-size:14px;line-height:1.6;color:#59645c;margin-bottom:18px}.access-timing{padding:13px 16px;border-radius:11px;background:#edf4e9;color:#2c5236;font-size:14px;font-weight:600;margin:12px 0 16px}.compact.quiet{background:white;color:#202821;border:1px solid #d4dbd4}.datedetails{padding:16px 0;border-top:1px solid #e5eae5;border-bottom:1px solid #e5eae5}.datedetails summary{font-size:14px}.datedetails summary>span{display:block;margin-top:4px;color:#667168;font-weight:400;font-size:13px}main details>summary{min-height:30px}main input:focus-visible,main select:focus-visible,main textarea:focus-visible{outline:3px solid #3a684c;outline-offset:2px}.check-item{min-height:48px}.report-item{padding:18px 0}.photo footer{font-size:14px;line-height:1.5;padding:12px 16px}.photo-count{font-size:14px;color:#2d5a3f;background:#edf4e9;padding:4px 10px;border-radius:7px;font-weight:700}
@media(max-width:759px){main{padding:18px 20px 40px}main .panel{padding:18px}.pagelead{align-items:flex-start}.pagelead h1{font-size:28px}.pagelead .compact{font-size:13px;padding:12px}.meta{flex-wrap:wrap}main .row>small{max-width:42%;font-size:12px}}
