/* 작가 모집 · 희망 기간 달력 (prefix oc-). Figma 03 Website → 07 작가 모집 form card + 희망 기간 · 상태 board. */
.oc-hope { --tint: #DCE6DE; --bk: #ECEBE5; --bk-t: #646864; --dis: #B3B5B3; gap: 8px; }
/* one status area under the label: status line + small rule note */
.oc-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 400 15px/22px var(--sans); color: #4A4F4B; }
.oc-status b { font-weight: 500; color: #000; }
.oc-note { font: 400 13px/20px var(--sans); color: var(--grey); margin-top: -4px; }
.oc-cal { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--white); border: 1.5px solid var(--grey); border-radius: 16px; }
.oc-ms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.oc-m { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.oc-mt { height: 40px; display: flex; align-items: center; justify-content: center; font: 600 16px/24px var(--sans); }
.oc-g { display: flex; flex-direction: column; gap: 4px; }
.oc-wd, .oc-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.oc-wd span { height: 24px; display: flex; align-items: center; justify-content: center; font: 400 12px/16px var(--sans); color: var(--grey); }
.oc-c { height: 44px; display: flex; align-items: center; justify-content: center; }
.oc-c button { width: 40px; height: 40px; border-radius: 50%; font: 400 15px/20px var(--sans); color: #000; display: inline-flex; align-items: center; justify-content: center; }
.oc-c button:not([aria-disabled]):hover { box-shadow: inset 0 0 0 1.5px var(--grey); }
.oc-c.is-dis button { color: var(--dis); cursor: default; }
.oc-c.is-today button { box-shadow: inset 0 0 0 1.5px var(--deep); }
.oc-c.is-can button { font-weight: 500; }
.oc-c.is-in, .oc-c.is-start:not(.is-solo), .oc-c.is-end { background: var(--tint); }
.oc-c.is-start:not(.is-solo) { border-radius: 22px 0 0 22px; }
.oc-c.is-end { border-radius: 0 22px 22px 0; }
.oc-c.is-start button, .oc-c.is-end button { background: var(--deep); color: var(--paper); font-weight: 500; box-shadow: none; }
.oc-c.is-booked { background: var(--bk); }
.oc-c.is-booked.run-s { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.oc-c.is-booked.run-e { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.oc-c.is-booked button { color: var(--bk-t); text-decoration: line-through; cursor: default; }
.oc-lab { display: flex; margin: -2px 0 2px; font: 500 12px/18px var(--sans); color: var(--bk-t); }
.oc-lab i { flex: 0 1 calc(var(--c) * 100% / 7); }
.oc-lab span { flex: none; white-space: nowrap; padding-left: 4px; }
.oc-nav { position: absolute; inset: 20px 20px auto 20px; display: flex; justify-content: space-between; pointer-events: none; }
.oc-nb { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--deep); color: var(--deep); font: 400 22px/1 var(--sans); display: inline-flex; align-items: center; justify-content: center; }
.oc-nb:disabled { border-color: var(--dis); color: var(--dis); cursor: default; }
.oc-legend { display: flex; gap: 20px; font: 400 12px/16px var(--sans); color: var(--grey); }
.oc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.oc-legend i { width: 14px; height: 14px; border-radius: 50%; }
.oc-legend .lg-sel { background: var(--deep); }
.oc-legend .lg-bk { background: var(--bk); border-radius: 3px; }
.oc-legend .lg-td { box-shadow: inset 0 0 0 1.5px var(--deep); }

.oc-reset { min-height: 24px; font: 500 14px/20px var(--sans); color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.oc-bar { position: fixed; inset: auto 0 0 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--deep); color: var(--paper); }
.oc-bar p { display: flex; flex-direction: column; gap: 2px; }
.oc-bar p span { font: 400 12px/16px var(--sans); opacity: .8; }
.oc-bar p b { font: 500 16px/24px var(--sans); }
.oc-bar-reset { flex: none; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--paper); border-radius: 999px; font: 500 14px/20px var(--sans); color: var(--paper); }
.oc-bar :focus-visible { outline-color: var(--paper); box-shadow: none; }

@media (max-width: 899px) {
  .oc-cal { padding: 14px; }
  .oc-ms { grid-template-columns: minmax(0, 1fr); gap: 28px; max-height: min(600px, 72vh); overflow-y: auto; overscroll-behavior: contain; }
  .oc-c { height: 40px; }
  .oc-c button { width: 36px; height: 36px; font-size: 14px; }
  .oc-c.is-start:not(.is-solo) { border-radius: 20px 0 0 20px; }
  .oc-c.is-end { border-radius: 0 20px 20px 0; }
  .oc-legend { gap: 14px; }
}
