.rec-page {
  --rec-ink: #2e2925;
  --rec-muted: #645b54;
  --rec-accent: #a94313;
  --rec-line: #e5dfd9;
  width: min(100%, 724px);
  margin: 0 auto;
  padding: 25px 18px 42px;
  color: var(--rec-ink);
  font-size: 1rem;
  text-align: left;
}
.rec-page *, .rec-page { box-sizing: border-box; }
.rec-page [hidden] { display: none !important; }
.rec-page a { color: inherit; text-decoration: none; }
.rec-page button { font: inherit; cursor: pointer; }
.rec-page a:focus-visible, .rec-page button:focus-visible { outline: 3px solid #97501b; outline-offset: 3px; }
.rec-page button:disabled { cursor: wait; opacity: .65; }
.rec-page h1, .rec-page h2, .rec-page p, .rec-page dl, .rec-page dd, .rec-page ol { margin: 0; }
.rec-page p { color: var(--rec-muted); line-height: 1.65; }
.rec-page h1 { font-size: clamp(1.55rem, 4.5vw, 2.35rem); line-height: 1.32; letter-spacing: -.035em; }
.rec-page h2 { font-size: 1.16rem; line-height: 1.45; }
.rec-page svg { flex: none; }
.rec-back, .rec-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.rec-back { color: var(--rec-muted) !important; margin: -4px 0 14px; font-size: .94rem; }
.rec-text-link { color: var(--rec-accent) !important; font-weight: 650; border: 0; background: transparent; }
.rec-text-link:hover, .rec-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.rec-page-head, .rec-detail-title { margin-bottom: 22px; }
.rec-page-head p { margin-top: 7px; }
.rec-panel, .rec-list-card { background: #fff; border: 1px solid var(--rec-line); border-radius: 10px; }
.rec-panel { padding: clamp(19px, 4vw, 30px); margin-bottom: 14px; }
.rec-panel h2 { display: flex; gap: 8px; align-items: center; }
.rec-panel dl { margin-top: 14px; }
.rec-data-row { display: grid; grid-template-columns: minmax(5.1em, 27%) 1fr; gap: 8px; padding: 10px 0; line-height: 1.55; }
.rec-data-row + .rec-data-row { border-top: 1px solid #f0ece8; }
.rec-data-row dt { color: var(--rec-muted); }
.rec-data-row dd { font-weight: 550; overflow-wrap: anywhere; min-width: 0; }
.rec-note { white-space: pre-wrap; }
.rec-code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .89em; letter-spacing: .025em; align-self: center; }
.rec-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 10px 18px; line-height: 1.4; border: 1px solid transparent; border-radius: 8px; font-weight: 700 !important; text-align: center; }
.rec-button.rec-primary { background: var(--rec-accent); color: #fff; }
.rec-button.rec-primary:hover { background: #88340e; }
.rec-outline { color: var(--rec-accent); background: #fff; border-color: #c0977f; }
.rec-outline:hover { background: #fff3e6; }
.rec-success { text-align: center; padding: clamp(25px, 6vw, 44px) clamp(18px, 5vw, 45px) 20px; }
.rec-success h1 { margin: 18px auto 9px; }
.rec-success > p { max-width: 28em; margin: auto; }
.rec-stamp, .rec-empty-icon { display: grid; place-items: center; margin: auto; border-radius: 50%; color: #2e644b; background: #e7f2e9; }
.rec-stamp { width: 64px; height: 64px; }
.rec-stamp svg { stroke-width: 2.5; }
.rec-empty-icon { width: 62px; height: 62px; color: var(--rec-accent); background: #fff3e6; }
.rec-slip { background: #faf8f5; border: 1px solid #e9e2da; border-radius: 8px; padding: 16px 19px 8px; margin: 23px 0; text-align: left; }
.rec-slip-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 13px; border-bottom: 1px dashed #d8cfc6; }
.rec-slip-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.rec-slip dl { margin-top: 3px; }
.rec-slip .rec-data-row + .rec-data-row { border: 0; }
.rec-success .rec-primary, .rec-success .rec-text-link { display: flex; width: 100%; }
.rec-success .rec-text-link { margin: 2px auto 3px; }
.rec-demo-line { color: var(--rec-muted); font-size: .8rem; }
.rec-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; font-size: .87rem; font-weight: 650; border-radius: 50px; padding: 5px 9px; line-height: 1.4; }
.rec-wait { color: #805e27; background: #f8efd9; }
.rec-done { color: #235944; background: #e1efdf; }
.rec-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; }
.rec-filter-btn { color: var(--rec-muted); background: #fff; border: 1px solid var(--rec-line); border-radius: 7px; padding: 6px 15px; min-height: 44px; font-weight: 600 !important; }
.rec-filter-btn[aria-pressed="true"] { background: var(--rec-accent); border-color: var(--rec-accent); color: #fff; }
.rec-list { display: grid; gap: 12px; }
.rec-list-card { display: block; padding: 17px 19px 12px; }
.rec-list-card:hover { border-color: #b18b74; }
.rec-list-head { display: flex; align-items: flex-start; gap: 12px; }
.rec-list-name { flex: 1; min-width: 0; }
.rec-list-name > span, .rec-detail-title > div > span { display: block; font-size: .85rem; color: var(--rec-muted); margin-bottom: 4px; }
.rec-list-name h2 { overflow-wrap: anywhere; }
.rec-kind-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 8px; flex: none; }
.rec-kind-booking { background: #fff0da; color: var(--rec-accent); }
.rec-kind-suggestion { background: #f7ead3; color: #87601f; }
.rec-kind-issue { background: #e5edf5; color: #39677b; }
.rec-card-info { display: grid; gap: 5px; margin: 14px 0 11px; color: var(--rec-muted); font-size: .91rem; }
.rec-card-info > span, .rec-list-action { display: flex; align-items: center; gap: 7px; }
.rec-list-action { justify-content: flex-end; border-top: 1px solid #efe9e3; padding-top: 9px; color: var(--rec-accent); font-weight: 650; font-size: .9rem; }
.rec-empty { text-align: center; padding: 38px 20px; }
.rec-empty h2 { justify-content: center; margin: 11px 0 6px; }
.rec-empty p { margin: 8px auto 17px; max-width: 25em; }
.rec-empty .rec-button { min-width: min(100%, 175px); }
.rec-detail-title { display: flex; align-items: center; gap: 13px; }
.rec-detail-title h1 { overflow-wrap: anywhere; }
.rec-detail-title .rec-kind-icon { height: 52px; width: 52px; border-radius: 9px; }
.rec-state { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fff3e6; border-left: 4px solid var(--rec-accent); color: var(--rec-ink); padding: 21px 25px; margin-bottom: 14px; border-radius: 8px; }
.rec-state > svg { color: var(--rec-accent); }
.rec-state:has(+ .rec-confirmed) { background: #eaf4ed; border-color: #377150; }
.rec-state:has(+ .rec-confirmed) > svg { color: #377150; }
.rec-state h2 { font-size: 1.45rem; margin-top: 4px; }
.rec-overline { color: var(--rec-muted); font-size: .9rem; }
.rec-confirmed { background: #f3f8f1; border-color: #cfded1; }
.rec-small-label { display: inline-block; margin-top: 6px; color: var(--rec-muted); font-size: .86rem; }
.rec-confirmed p { margin-top: 12px; }
.rec-timeline { list-style: none; padding: 17px 0 0; }
.rec-timeline li { position: relative; padding: 0 0 18px 27px; line-height: 1.5; }
.rec-timeline li:last-child { padding-bottom: 0; }
.rec-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -7px; width: 2px; background: #cddfd2; }
.rec-timeline li::after { content: ""; position: absolute; width: 12px; height: 12px; top: 6px; left: 1px; border-radius: 50%; background: #447b61; border: 2px solid #fff; box-shadow: 0 0 0 1px #99b5a3; box-sizing: border-box; }
.rec-step-waiting::after { background: #f4e3bf !important; box-shadow: 0 0 0 1px #b49453 !important; }
.rec-timeline strong, .rec-timeline time, .rec-timeline li > span { display: block; }
.rec-timeline time, .rec-timeline li > span { color: var(--rec-muted); font-size: .9rem; margin-top: 2px; }
.rec-voice { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 4px 12px; background: #fff3e6; color: var(--rec-accent); border: 1px solid #e9cfb8; border-radius: 8px; font-weight: 650 !important; }
.rec-audio-msg { display: block; font-size: .85rem; font-weight: 400; }
.rec-demo-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border: 1px solid var(--rec-line); border-radius: 8px; background: #f8f6f2; }
.rec-demo-box p { font-size: .93rem; margin-top: 3px; }
.rec-demo-box [data-demo-error]:empty { display: none; }
.rec-demo-box [data-demo-error]:not(:empty) { flex-basis: 100%; color: #88421a; }
.rec-archive { margin-top: 1rem; padding: 1rem; border: 1px solid var(--rec-line); border-radius: 8px; }
.rec-archive summary { cursor: pointer; color: var(--rec-muted); font-weight: 650; }
.rec-archive p { margin: .75rem 0; }
.prototype-note a { color: #81411a; text-decoration: underline; text-underline-offset: .2em; }
.notice-story .notice-paragraph { margin: .85rem 0; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 500px) {
  .rec-page { padding: 10px 15px 30px; }
  .rec-back { margin-bottom: 8px; }
  .rec-list-card { padding: 15px; }
  .rec-list-head { gap: 8px; }
  .rec-kind-icon { width: 37px; height: 37px; border-radius: 10px; }
  .rec-pill { font-size: .82rem; }
  .rec-demo-box { align-items: stretch; flex-direction: column; }
  .rec-demo-box .rec-button { align-self: stretch; }
}
@media (max-width: 350px) {
  .rec-list-head { flex-wrap: wrap; }
  .rec-list-head .rec-pill { margin-left: 45px; }
  .rec-filter { gap: 4px; }
  .rec-filter-btn { padding: 5px 11px; }
}
