:root {
  --pc-bg: #f5f5f7;
  --pc-bg-grad-a: #ffffff;
  --pc-bg-grad-b: #eef2f7;
  --pc-surface: rgba(255, 255, 255, 0.92);
  --pc-surface-strong: #ffffff;
  --pc-border: rgba(15, 23, 42, 0.08);
  --pc-text: #1d1d1f;
  --pc-subtle: #6e6e73;
  --pc-primary: #0071e3;
  --pc-primary-hover: #0062c4;
  --pc-success: #34c759;
  --pc-danger: #ff3b30;
  --pc-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  --pc-radius-xl: 22px;
  --pc-radius-lg: 16px;
  --pc-radius-md: 12px;
}

.pc-wrap,
.pc-room {
  color: var(--pc-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
}

.pc-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.pc-head { margin-bottom: 16px; }
.pc-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pc-head p {
  margin: 8px 0 0;
  color: var(--pc-subtle);
}

.pc-wrap > .pc-head {
  margin-bottom: 0;
}

.pc-wrap > .pc-introduction,
.pc-wrap > .pc-box {
  margin-top: 0;
}

.pc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: var(--pc-radius-xl);
  border: 1px solid var(--pc-border);
  background:
    radial-gradient(140% 110% at 0% 0%, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: var(--pc-shadow);
}

.pc-hero-main {
  min-width: 0;
}

.pc-hero .pc-hero-eyebrow {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #0058b0;
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.pc-hero .pc-hero-lead {
  margin: 9px 0 0;
  color: #3f3f46;
  font-size: .93rem;
  line-height: 1.6;
}

.pc-hero-chips {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pc-hero-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: #2f2f36;
  font-size: .74rem;
  font-weight: 700;
}

.pc-hero-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-hero-aside {
  border-radius: var(--pc-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px;
}

.pc-hero-aside h2 {
  margin: 0;
  font-size: .94rem;
  letter-spacing: -0.01em;
}

.pc-hero-aside ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #444453;
  font-size: .82rem;
  line-height: 1.6;
}

.pc-box-head {
  margin-bottom: 10px;
}

.pc-box-head h2 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.pc-box-head p {
  margin: 5px 0 0;
  color: var(--pc-subtle);
  font-size: .82rem;
}

.pc-box,
.pc-panel,
.pc-card,
.pc-candidate,
.pc-availability,
.pc-focus,
.pc-modal-card,
.pc-seg-detail,
.pc-stat {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  box-shadow: var(--pc-shadow);
  backdrop-filter: saturate(160%) blur(14px);
}

.pc-box {
  border-radius: var(--pc-radius-xl);
  padding: 16px;
}

.pc-mobile-tabs { display: none; margin: 12px 0 10px; gap: 8px; }
.pc-mobile-tab,
.pc-room-tab {
  border: 1px solid var(--pc-border);
  background: rgba(255, 255, 255, 0.8);
  color: #444;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .22s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pc-mobile-tab:hover,
.pc-room-tab:hover { transform: translateY(-1px); }
.pc-mobile-tab.active,
.pc-room-tab.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.22);
}

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.pc-card {
  border-radius: var(--pc-radius-lg);
  padding: 14px;
}
.pc-card h2 { margin: 0 0 8px; font-size: 1.02rem; letter-spacing: -0.01em; }
.pc-card p { margin: 0 0 10px; color: var(--pc-subtle); font-size: .92rem; }

.pc-input {
  width: 100%;
  border: 1px solid var(--pc-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--pc-text);
}
.pc-input:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.44);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}

.pc-btn {
  border: 0;
  background: var(--pc-primary);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  transition: .18s ease;
}
.pc-btn:hover { background: var(--pc-primary-hover); }
.pc-btn.ghost,
.pc-btn.muted {
  background: #fff;
  color: #2e2e31;
  border: 1px solid var(--pc-border);
}
.pc-btn.danger {
  background: #fff5f5;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.28);
}
.pc-btn.ghost:hover,
.pc-btn.muted:hover { background: #f4f4f6; }
.pc-btn.danger:hover { background: #ffe9e8; }
.pc-btn.small { font-size: .74rem; padding: 6px 10px; border-radius: 999px; }

.pc-nickname {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--pc-border);
  color: #38383d;
  background: rgba(255, 255, 255, 0.65);
}
.pc-error { margin-top: 8px; color: var(--pc-danger); min-height: 1.2rem; font-size: .78rem; }

.pc-recent {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pc-border);
}

.pc-recent-head h2 {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
}

.pc-recent-head p {
  margin: 5px 0 0;
  font-size: .8rem;
  color: var(--pc-subtle);
}

.pc-recent-empty {
  margin-top: 8px;
  font-size: .82rem;
  color: var(--pc-subtle);
}

.pc-recent-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.pc-recent-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--pc-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.pc-recent-title {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--pc-text);
  line-height: 1.4;
}

.pc-recent-meta {
  margin: 2px 0 0;
  font-size: .74rem;
  color: var(--pc-subtle);
}

.pc-recent-actions {
  display: flex;
  gap: 6px;
}

.pc-introduction {
  margin-top: 0;
}

.pc-introduction-head h2 {
  margin: 0;
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  letter-spacing: -0.01em;
}

.pc-introduction-head p {
  margin: 6px 0 0;
  color: var(--pc-subtle);
  font-size: .86rem;
}

.pc-introduction-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pc-introduction-card {
  overflow: hidden;
  border: 1px solid var(--pc-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--pc-shadow);
}

.pc-introduction-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--pc-border);
  background: #f3f4f6;
}

.pc-introduction-body {
  padding: 10px 11px 12px;
}

.pc-introduction-body h3 {
  margin: 0;
  font-size: .98rem;
  letter-spacing: -0.01em;
}

.pc-introduction-body p {
  margin: 6px 0 0;
  color: #535360;
  font-size: .8rem;
  line-height: 1.55;
}

.pc-room {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px;
  font-size: 14px;
  background: linear-gradient(168deg, var(--pc-bg-grad-a) 0%, var(--pc-bg-grad-b) 100%);
  border-radius: 24px;
}
.pc-top { display: flex; justify-content: space-between; gap: 10px; align-items: end; margin-bottom: 12px; }
.pc-top h1 { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -0.015em; }
.pc-top .meta { color: var(--pc-subtle); font-size: .72rem; }
.pc-room-tabs { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }

.pc-panels { display: block; }
.pc-panel {
  display: none;
  border-radius: var(--pc-radius-xl);
  padding: 12px;
}
.pc-panel.active { display: block; }

@keyframes pcPanelFadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pc-panel.active:not(#roomTabInput) {
  animation: pcPanelFadeSlide 220ms cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 781px) {
  .pc-input-stage-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 14, 20, 0.12);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 2500;
  }
  .pc-room.pc-input-stage-open .pc-input-stage-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  #roomTabInput {
    display: block !important;
    position: fixed;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: min(clamp(360px, 38vw, 520px), calc(100vw - 24px));
    overflow: auto;
    z-index: 2600;
    transform: translate3d(-104%, 10px, 0) scale(0.994);
    opacity: 0;
    filter: blur(.2px);
    pointer-events: none;
    transition: transform 240ms cubic-bezier(.22, .61, .36, 1), opacity 210ms ease, filter 210ms ease;
  }
  .pc-room.pc-input-stage-open #roomTabInput.active {
    display: block;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
  }
}

body.pc-stage-scroll-lock {
  overflow: hidden;
}

.pc-label { display: block; color: var(--pc-subtle); font-size: .79rem; margin-bottom: 5px; }
.pc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 12px;
  cursor: pointer;
  user-select: none;
  width: 300px;
  max-width: 100%;
}
.pc-toggle-text { color: #47474d; font-size: .8rem; }
.pc-toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pc-toggle {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #d0d0d6;
  transition: background-color .2s ease;
  flex: 0 0 auto;
}
.pc-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .25);
  transition: transform .2s ease;
}
.pc-toggle-input:checked + .pc-toggle { background: var(--pc-success); }
.pc-toggle-input:checked + .pc-toggle::after { transform: translateX(18px); }
.pc-toggle-input:focus-visible + .pc-toggle { box-shadow: 0 0 0 3px rgba(52, 199, 89, .25); }

.pc-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 12px; }
.pc-stat {
  border-radius: var(--pc-radius-md);
  padding: 10px;
}
.pc-stat .k { color: var(--pc-subtle); font-size: .66rem; letter-spacing: .02em; }
.pc-stat .v { color: var(--pc-text); font-weight: 700; font-size: 1.06rem; margin-top: 2px; }

.pc-candidate,
.pc-availability,
.pc-focus,
.pc-seg-detail {
  border-radius: var(--pc-radius-md);
  padding: 10px;
  margin-bottom: 10px;
}
.pc-candidate-title { color: #52525a; font-size: .76rem; font-weight: 700; margin-bottom: 6px; }
.pc-candidate-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chip {
  border: 1px solid rgba(0, 113, 227, 0.25);
  background: rgba(0, 113, 227, 0.08);
  color: #0058b0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: .72rem;
}
.pc-chip.pick { cursor: pointer; }

.pc-availability-title {
  width: 100%;
  border: 0;
  background: transparent;
  color: #52525a;
  font-size: .76rem;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.pc-availability-title::after { content: " ▾"; color: var(--pc-subtle); }
.pc-availability.open .pc-availability-title::after { content: " ▴"; }
.pc-availability-body { display: none; margin-top: 8px; }
.pc-availability.open .pc-availability-body { display: block; }
.pc-availability-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; }
.pc-avail-day {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: #fff;
  min-height: 74px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pc-avail-day.active { border-color: rgba(0, 113, 227, 0.55); box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.4); }
.pc-avail-bar { border-radius: 6px; background: linear-gradient(180deg, #8fc9ff 0%, #0071e3 100%); min-height: 6px; width: 100%; }
.pc-avail-meta { margin-top: 4px; color: #4f4f56; font-size: .64rem; display: flex; justify-content: space-between; }

.pc-focus { overflow: hidden; }
.pc-focus-head {
  background: #f8f8fa;
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  padding: 7px 9px;
  font-size: .75rem;
  color: #57575e;
  display: flex;
  justify-content: space-between;
}
.pc-focus-head strong { color: var(--pc-text); font-size: .86rem; }
.pc-focus-body { max-height: 240px; overflow: auto; padding: 8px 2px 4px; display: grid; gap: 8px; }

.pc-shift {
  border: 1px solid var(--pc-border);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  overflow-x: auto;
}
.pc-shift-inner { min-width: 980px; }
.pc-shift-axis { display: grid; grid-template-columns: repeat(13, 1fr); color: #74747c; font-size: .64rem; margin-bottom: 6px; }
.pc-shift-lane {
  display: flex;
  min-height: 64px;
  border: 1px solid var(--pc-border);
  border-radius: 0;
  overflow: hidden;
}
.pc-seg {
  min-width: 54px;
  padding: 4px 5px;
  border: 0;
  border-right: 1px solid rgba(0,0,0,.06);
  border-radius: 0;
  font-size: .68rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.pc-seg:last-child { border-right: 0; }
.pc-seg.free { background: #f6f7fa; color: #585861; }
.pc-seg.busy { background: #deecfa; color: #0c4a8d; }
.pc-seg.overlap { background: #ffe1de; color: #99261f; }
.pc-seg-time { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .61rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-seg-label { margin-top: 2px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
.pc-shift-note { margin-top: 6px; color: #6a6a72; font-size: .7rem; }

.pc-seg-detail { margin-top: 8px; }
.pc-seg-detail-head { color: #57575e; font-size: .72rem; margin-bottom: 6px; }
.pc-seg-detail-list { display: grid; gap: 6px; }
.pc-seg-detail-item {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: #fff;
  padding: 7px;
  font-size: .82rem;
}
.pc-md-preview { font-size: .8rem; line-height: 1.55; color: #4b5563; }
.pc-md-preview p { margin: 0 0 8px; }
.pc-md-preview h1,
.pc-md-preview h2,
.pc-md-preview h3 { margin: 8px 0 6px; font-size: .95em; line-height: 1.35; }
.pc-md-preview ul,
.pc-md-preview ol { margin: 0 0 8px; padding-left: 18px; }
.pc-md-preview pre {
  margin: 0 0 8px;
  background: #10121a;
  color: #e7e7ea;
  border-radius: 8px;
  padding: 8px;
  overflow: auto;
}
.pc-md-preview code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f2f3f5;
  border: 1px solid #e7e8ec;
  border-radius: 5px;
  padding: 1px 4px;
  font-size: .84em;
}
.pc-md-preview pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.pc-md-preview a { color: #0062c4; text-decoration: underline; word-break: break-all; }
.pc-tl-empty { color: #66666f; font-size: .78rem; padding: 10px 2px; }

.pc-table-wrap {
  overflow: auto;
  border: 1px solid var(--pc-border);
  border-radius: 16px;
  background: #fff;
}
.pc-table { width: 100%; min-width: 780px; border-collapse: collapse; table-layout: fixed; }
.pc-table th, .pc-table td { border: 1px solid rgba(15, 23, 42, 0.06); vertical-align: top; }
.pc-table th { background: #fafafc; padding: 7px; font-size: .76rem; color: #5e5e66; }
.pc-cell { min-height: 128px; padding: 6px; }
.pc-day-td-select .pc-cell { height: 100%; box-sizing: border-box; }
.pc-day-cell-select { cursor: pointer; }
.pc-cell.free,
.pc-cell.low,
.pc-cell.mid,
.pc-cell.high { background: #fff; }
.pc-day-cell-select.is-selected {
  background: #eaf3ff;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.45);
}
.pc-day-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pc-day { font-weight: 700; font-size: .78rem; }
.pc-day.active {
  background: #0071e3;
  color: #fff;
  border-color: #0071e3;
}
.pc-count {
  color: #0957a8;
  font-size: .66rem;
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 999px;
  padding: 1px 6px;
}
.pc-events { display: grid; gap: 5px; }
.pc-event {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
  font-size: .72rem;
}
.pc-event-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.pc-event-time { color: #0b4f96; font-weight: 700; }
.pc-event-by { color: #71717a; font-size: .68rem; }
.pc-event-title { font-weight: 700; margin-bottom: 2px; word-break: break-word; font-size: .74rem; }
.pc-event-detail { color: #66666f; white-space: pre-wrap; word-break: break-word; font-size: .68rem; }
.pc-event-detail-snippet {
  color: #66666f;
  font-size: .72rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-event-detail-snippet a { color: #0058b0; text-decoration: underline; }
.pc-event-detail-snippet code {
  font-size: .74em;
  background: #f2f3f5;
  border: 1px solid #e7e8ec;
  border-radius: 4px;
  padding: 1px 4px;
}
.pc-tag-group {
  display: inline-block;
  margin-left: 6px;
  color: #0b4f96;
  border: 1px solid rgba(0, 113, 227, 0.22);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 999px;
  font-size: .62rem;
  padding: 1px 5px;
  vertical-align: middle;
}

.pc-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.pc-controls-bar { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pc-controls #monthInput {
  font-weight: 700;
  color: #202024;
  text-align: center;
  margin-bottom: 0;
  min-width: 165px;
}
.pc-controls #prevMonthBtn,
.pc-controls #nextMonthBtn {
  min-width: 38px;
  font-weight: 700;
}

.pc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 15, 18, .42);
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.pc-modal.open { display: flex; }
.pc-modal-card {
  width: min(680px, 96vw);
  max-height: 84vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--pc-border);
  background: rgba(250, 250, 252, 0.92);
}
.pc-modal-body { overflow: auto; padding: 10px; }

.pc-sheet {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: none;
}
.pc-sheet.open { display: block; }
.pc-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity .22s ease;
}
.pc-sheet.open .pc-sheet-backdrop { opacity: 1; }
.pc-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: min(760px, 100vw);
  height: min(52vh, 680px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--pc-border);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.14);
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  flex-direction: column;
}
.pc-sheet.open .pc-sheet-panel { transform: translateY(0); }
.pc-sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #c7c7cc;
  margin: 8px auto 6px;
}
.pc-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px 4px;
}
.pc-sheet-title {
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.3rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.pc-sheet-meta {
  color: #52525a;
  font-size: .86rem;
  border-top: 1px solid var(--pc-border);
  border-bottom: 1px solid var(--pc-border);
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}
.pc-sheet-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-sheet-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d6d6db;
  background: #f5f5f7;
  color: #3f3f46;
  padding: 4px 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.pc-sheet-badge.date {
  background: #eef6ff;
  border-color: #b7d6ff;
  color: #0058b0;
}
.pc-sheet-badge.time {
  background: #eefbf1;
  border-color: #bfe9c8;
  color: #1d7a31;
}
.pc-sheet-badge.group {
  background: #fff2eb;
  border-color: #ffd3c0;
  color: #b94a1e;
}
.pc-sheet-author {
  color: #62626b;
  font-size: .8rem;
}
.pc-sheet-markdown {
  padding: 12px 12px 18px;
  overflow: auto;
  font-size: .92rem;
  line-height: 1.6;
}
.pc-sheet-markdown h1,
.pc-sheet-markdown h2,
.pc-sheet-markdown h3 { margin: 10px 0 6px; line-height: 1.35; }
.pc-sheet-markdown p { margin: 0 0 10px; }
.pc-sheet-markdown ul,
.pc-sheet-markdown ol { margin: 0 0 10px; padding-left: 20px; }
.pc-sheet-markdown code {
  background: #f2f3f5;
  border: 1px solid #e7e8ec;
  border-radius: 6px;
  padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82em;
}
.pc-sheet-markdown pre {
  background: #10121a;
  color: #e7e7ea;
  border-radius: 10px;
  padding: 10px;
  overflow: auto;
}
.pc-sheet-markdown pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.pc-sheet-markdown a { color: #0062c4; text-decoration: underline; word-break: break-all; }

@media (max-width: 980px) {
  .pc-hero {
    grid-template-columns: 1fr;
  }
  .pc-room { border-radius: 0; padding: 12px; }
  .pc-summary { grid-template-columns: 1fr; }
  .pc-availability-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pc-focus-body { max-height: 210px; }
  .pc-introduction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .pc-hero {
    padding: 12px;
  }
  .pc-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pc-hero-actions .pc-btn {
    width: 100%;
  }
  .pc-mobile-tabs { display: flex; }
  .pc-grid .pc-card { display: none; }
  .pc-grid .pc-card.active { display: block; }
  .pc-grid .pc-card.active {
    animation: pcPanelFadeSlide 220ms cubic-bezier(.22, .61, .36, 1);
  }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-introduction-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pc-wrap {
    padding: 12px;
    gap: 12px;
  }
  .pc-hero-aside ul { margin-top: 6px; }
  .pc-room { padding: 10px; }
  .pc-top { flex-direction: column; align-items: start; }
  .pc-panel { padding: 10px; }
  .pc-availability-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-focus-body { max-height: 170px; }
  .pc-controls-bar { width: 100%; }
  .pc-controls #monthInput { flex: 1 1 auto; min-width: 120px; }
  .pc-sheet-panel { height: min(64vh, 680px); }
  .pc-sheet-title { font-size: clamp(1.5rem, 8vw, 2rem); }
}
