.sr-list {
  display: grid;
  gap: 10px;
}
.sr-card {
  --sr-ink: #282322;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 32px;
  gap: 19px;
  align-items: start;
  position: relative;
  padding: 18px 20px 18px 0;
  border: 1px solid #e2dcd7;
  border-radius: 12px;
  background: #fffefd;
  color: var(--sr-ink);
  text-align: left;
  transition: border-color .16s, box-shadow .16s;
}
.sr-card:hover {
  border-color: #cbb7b9;
  box-shadow: 0 3px 12px #3d222108;
}
.sr-card:has(.sr-open:focus-visible) { outline: 2px solid #a9243e; outline-offset: 2px; }
.sr-when {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2px 0 2px 17px;
  font-variant-numeric: tabular-nums;
  border-right: 1px solid #e8e2dd;
}
.sr-hour { display: flex; gap: 3px; align-items: baseline; white-space: nowrap; }
.sr-hour > span:first-child { font-size: 18px; font-weight: 710; letter-spacing: -.7px; line-height: 1.3; }
.sr-period { color: #635c58; font-weight: 650; font-size: 9px; letter-spacing: .02em; }
.sr-day { font-size: 10px; color: #69615d; margin-top: 3px; line-height: 1.4; }
.sr-card-content { align-self: center; min-width: 0; }
.sr-tags, .sr-meta, .sr-meta > span { display: flex; align-items: center; }
.sr-tags { flex-wrap: wrap; gap: 6px 8px; line-height: 1.25; }
.sr-code { font: 650 10.5px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .045em; color: #a62339; }
.sr-tag { display: inline-block; padding: 3px 7px; border-radius: 4px; font-size: 10px; font-weight: 620; }
.sr-tag-warm { background: #f7eadb; color: #744a20; }
.sr-tag-olive { background: #eaf0e5; color: #485c3b; }
.sr-tag-rose { background: #f6e7e9; color: #853d4b; }
.sr-tag-slate { background: #e9edf1; color: #455a6a; }
.sr-level { font-size: 10.5px; color: #6a615c; }
.sr-card h3 { margin: 7px 0 8px; line-height: 1.28; font-size: 17px; font-weight: 680; letter-spacing: -.023em; }
.sr-card .sr-open {
  display: inline;
  appearance: none;
  color: inherit;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
}
.sr-open::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.sr-open:focus { outline: none; }
.sr-meta { gap: 5px 14px; flex-wrap: wrap; font-size: 11.5px; line-height: 1.4; color: #635d58; }
.sr-meta > span { gap: 4px; }
.sr-meta .sr-live { color: #356448; background: #e8f0e8; border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 650; }
.sr-meta .sr-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sr-meta .sr-live[hidden] { display: none; }
.sr-empty h3 + .sr-utility { margin-top: 12px; }
.sr-meta svg { width: 13px; height: 13px; color: #82756e; }
.sr-card .sr-bookmark, .sr-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #746c65;
  background: transparent;
  cursor: pointer;
}
.sr-card .sr-bookmark { position: relative; z-index: 1; margin: -4px -3px 0 0; justify-self: end; }
.sr-card .sr-bookmark:hover, .sr-close:hover { background: #f6efed; color: #9b253b; border-color: #e5d0d1; }
.sr-bookmark[aria-pressed="true"] { color: #a62339; }
.sr-bookmark[aria-pressed="true"] svg, .sr-detail-save[aria-pressed="true"] svg { fill: currentColor; }
.sr-bookmark:focus-visible, .sr-close:focus-visible, .sr-detail-save:focus-visible, .sr-utility:focus-visible { outline: 2px solid #a9243e; outline-offset: 2px; }
.sr-load-wrap { display: flex; justify-content: center; margin-top: 20px; }
.sr-utility {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  background: #fffefd;
  border: 1px solid #d8cec8;
  border-radius: 8px;
  color: #423633;
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  cursor: pointer;
}
.sr-utility svg { width: 14px; height: 14px; }
.sr-utility:hover { border-color: #a62339; color: #a62339; }
.sr-empty { padding: 42px 20px; text-align: center; border: 1px dashed #d4c9c2; border-radius: 12px; }
.sr-empty-symbol {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #a62339;
  background: #f7e9e8;
  border-radius: 12px;
}
.sr-empty h3 { font-size: 20px; margin: 14px 0 4px; }
.sr-empty p { color: #6b615c; margin: 0 0 16px; font-size: 14px; }

dialog.sr-dialog {
  box-sizing: border-box;
  inset: 0 0 0 auto;
  width: min(100%, 498px);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fffcf9;
  color: #2c2523;
  border: 0;
  box-shadow: -14px 0 44px #2f1b1d20;
}
.sr-dialog::backdrop { background-color: #23161966; }
.sr-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}
.sr-panel-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px clamp(20px, 4vw, 30px);
  border-bottom: 1px solid #e7dfda;
}
.sr-panel-tools > span { color: #746a64; text-transform: uppercase; font-size: 10.5px; letter-spacing: .13em; font-weight: 700; }
.sr-panel-scroll { overflow: auto; overscroll-behavior: contain; padding: 27px clamp(20px, 4vw, 30px); }
.sr-panel h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.14; letter-spacing: -.045em; margin: 13px 0 22px; }
.sr-logistics { background: #f5f0eb; border-radius: 10px; padding: 15px; display: grid; gap: 10px; }
.sr-logistics > div { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.4; }
.sr-logistics svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: #875052; }
.sr-logistics strong { font-weight: 640; }
.sr-room { display: block; font-size: 12px; color: #6a625c; margin-top: 2px; }
.sr-logistics-sub { color: #6a625c; }
.sr-desc { margin: 24px 0 0; }
.sr-desc h3 { font-size: 15px; letter-spacing: -.015em; margin: 0 0 8px; }
.sr-desc p { font-size: 14px; line-height: 1.65; color: #514741; margin: 0; white-space: pre-line; }
.sr-attributes { margin: 24px 0 0; display: grid; gap: 13px; }
.sr-attributes > div { display: grid; grid-template-columns: 105px 1fr; gap: 8px; border-top: 1px solid #e8dfd9; padding-top: 13px; font-size: 12px; line-height: 1.5; }
.sr-attributes dt { color: #70655e; }
.sr-attributes dd { color: #3c3531; margin: 0; }
.sr-attributes dd span:not(:last-child)::after { content: ' · '; color: #988982; }
.sr-panel-footer { border-top: 1px solid #e7dfda; padding: 16px clamp(20px, 4vw, 30px) max(env(safe-area-inset-bottom), 16px); }
.sr-detail-save { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 650; width: 100%; min-height: 43px; color: #fffaf5; background: #a72339; border: 1px solid #a72339; border-radius: 8px; cursor: pointer; }
.sr-detail-save[aria-pressed="true"] { color: #94223a; border-color: #dfbbb9; background: #f7e9e8; }
@media (max-width: 610px) {
  .sr-card { grid-template-columns: minmax(0, 1fr) 32px; gap: 10px; padding: 13px 15px 15px; }
  .sr-when { grid-row: 1; grid-column: 1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 7px; padding: 0; border: 0; }
  .sr-hour > span:first-child { font-size: 16px; }
  .sr-day { font-size: 11px; margin: 0; }
  .sr-card-content { grid-row: 2; grid-column: 1/-1; }
  .sr-card .sr-bookmark { grid-row: 1; grid-column: 2; margin: -5px -5px -7px 0; }
  .sr-card h3 { font-size: 16px; line-height: 1.32; margin: 6px 0 8px; }
}
.sr-other { margin-top: 21px; }
.sr-other h3 { margin: 0 0 8px; font-size: 15px; }
.sr-other > div { display: grid; gap: 6px; }
.sr-other button { position: relative; display: grid; gap: 3px; padding: 9px 30px 9px 12px; border: 1px solid #dfd3cb; border-radius: 8px; background: #fffdfa; color: #342b28; font: inherit; line-height: 1.4; text-align: left; cursor: pointer; }
.sr-other button:hover { border-color: #a62339; background: #fcf4f2; }
.sr-other button:focus-visible { outline: 2px solid #a9243e; outline-offset: 2px; }
.sr-other button strong { font-weight: 640; font-size: 12px; }
.sr-other button > span { font-size: 11px; color: #6a615c; }
.sr-other button .sr-chevron { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-size: 22px; color: #a62339; }
