/* WOT 약속잡기 */
.ap-layout { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.ap-side { display: grid; gap: 12px; }
.ap-who { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted, #5b6b7a); }
.ap-results { display: grid; gap: 6px; }
.ap-result { text-align: left; border: 1px solid var(--line, #dfe6ee); border-radius: 8px; background: #fff; padding: 8px 10px; cursor: pointer; display: grid; gap: 2px; }
.ap-result:hover, .ap-result:focus-visible { border-color: var(--wot-brand, #0b7a5c); }
.ap-result span { font-size: 12px; color: var(--muted, #5b6b7a); }
.ap-client { display: grid; gap: 10px; border: 1px solid var(--line, #dfe6ee); border-radius: 10px; padding: 12px; background: #f8fbfa; }
.ap-client > div:first-child { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ap-client > div:first-child span { font-size: 12px; color: var(--muted, #5b6b7a); }
.ap-check { display: flex; gap: 6px; align-items: center; font-size: 12.5px; }
.ap-travel { display: grid; gap: 2px; font-size: 12.5px; }
.ap-travel b { color: var(--wot-brand, #0b7a5c); }
.ap-book { display: grid; gap: 10px; border-top: 1px dashed var(--line, #dfe6ee); padding-top: 12px; }
.ap-book h3 { margin: 0; font-size: 14px; }
.ap-drops { display: grid; grid-template-columns: 1fr 96px; gap: 8px; }
.ap-sum { margin: 0; font-size: 13px; font-weight: 600; }
.ap-toolbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px 0; flex-wrap: wrap; }
.ap-placeholder { padding: 48px 16px; text-align: center; color: var(--muted, #5b6b7a); }
.ap-cal { overflow-x: auto; }
.ap-head, .ap-body { display: grid; grid-template-columns: 44px repeat(7, minmax(92px, 1fr)); min-width: 720px; }
.ap-body { grid-template-columns: 44px 1fr; position: relative; }
.ap-head { border-bottom: 1px solid var(--line, #dfe6ee); }
.ap-day { text-align: center; padding: 6px 0; display: grid; gap: 0; }
.ap-day small { color: var(--muted, #5b6b7a); }
.ap-day.today b { background: var(--wot-brand, #0b7a5c); color: #fff; border-radius: 12px; padding: 0 8px; justify-self: center; }
.ap-day.weekend { color: #9aa7b3; }
.ap-hours { position: relative; }
.ap-hour { position: absolute; right: 6px; transform: translateY(-7px); font-size: 11px; color: var(--muted, #5b6b7a); }
.ap-cols { position: relative; display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); min-width: 676px; }
.ap-lines { position: absolute; inset: 0; pointer-events: none; }
.ap-side input:not([type=checkbox]), .ap-side select { width: 100%; box-sizing: border-box; }
.ap-lines i { position: absolute; left: 0; right: 0; border-top: 1px solid #eef2f6; pointer-events: none; }
.ap-col { position: relative; border-left: 1px solid #eef2f6; }
.ap-col.weekend { background: repeating-linear-gradient(135deg, #f3f5f7, #f3f5f7 6px, #eceff2 6px, #eceff2 12px); }
.ap-slot { position: absolute; left: 2px; right: 2px; height: 20px; border-radius: 4px; font-size: 11px; line-height: 20px; text-align: left; padding: 0 6px; border: 0; box-sizing: border-box; }
.ap-slot.no { background: #f1f4f7; }
.ap-slot.ok { background: #d8f1e7; color: #0b5f47; cursor: pointer; border: 1px solid #9fd8c1; line-height: 18px; }
.ap-slot.ok:hover, .ap-slot.ok:focus-visible { background: #b9e6d3; }
.ap-slot.ok.picked { background: var(--wot-brand, #0b7a5c); color: #fff; }
.ap-busy { position: absolute; left: 2px; right: 2px; background: repeating-linear-gradient(135deg, #d9dee4, #d9dee4 5px, #cdd4db 5px, #cdd4db 10px); border-radius: 4px; font-size: 11px; color: #44525f; padding: 2px 6px; z-index: 2; overflow: hidden; pointer-events: none; }
.ap-busy.wot { background: repeating-linear-gradient(135deg, #cfe3f5, #cfe3f5 5px, #bfd8ee 5px, #bfd8ee 10px); }
.ap-span { position: absolute; left: 2px; right: 2px; z-index: 3; border-radius: 4px; font-size: 11px; padding: 2px 6px; box-sizing: border-box; overflow: hidden; pointer-events: none; }
.ap-span.meet { background: var(--wot-brand, #0b7a5c); color: #fff; }
.ap-span.travel { background: rgba(11, 122, 92, .18); border: 1px dashed var(--wot-brand, #0b7a5c); color: #0b5f47; }
.ap-chip { display: inline-flex; gap: 4px; align-items: center; border: 1px solid var(--line, #dfe6ee); border-radius: 14px; padding: 2px 4px 2px 10px; font-size: 12.5px; margin: 4px 6px 0 0; }
.ap-cal-list { margin-top: 8px; }
@media (max-width: 900px) { .ap-layout { grid-template-columns: 1fr; } }

.ap-busy.mine { pointer-events: auto; cursor: pointer; border: 1px solid #8fb7dc; text-align: left; font: inherit; font-size: 11px; line-height: 1.25; }
.ap-busy.mine:hover, .ap-busy.mine:focus-visible { outline: 2px solid var(--wot-brand, #0b7a5c); }
.ap-busy.mine small { color: #2c5d8a; }
.ap-travel { gap: 4px; }

.ap-holiday { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: #a33; }
.ap-holiday small { font-weight: 400; color: #7a5a5a; }

/* 실습 모드 */
.ap-missions { margin-bottom: 12px; }
.ap-m-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ap-m-head span { font-size: 13px; color: var(--muted, #5b6b7a); }
.ap-bar { flex: 1; min-width: 120px; height: 8px; border-radius: 4px; background: #e6ecf1; overflow: hidden; }
.ap-bar i { display: block; height: 100%; background: var(--wot-brand, #0b7a5c); transition: width .3s; }
.ap-m-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ap-m-list li { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line, #dfe6ee); border-radius: 8px; padding: 8px 10px; background: #fff; font-size: 13px; }
.ap-m-list li > b { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e6ecf1; color: #44525f; font-size: 12px; }
.ap-m-list li.done { background: #f1faf6; border-color: #b8e3d2; color: #44525f; }
.ap-m-list li.done > b { background: var(--wot-brand, #0b7a5c); color: #fff; }
.ap-m-list li.current { border-color: var(--wot-brand, #0b7a5c); box-shadow: 0 0 0 2px rgba(11, 122, 92, .15); grid-column: 1 / -1; }
.ap-m-list li.current > b { background: #f5b000; color: #3d2d00; }
.ap-m-list li p { margin: 4px 0 0; color: #3b4a58; line-height: 1.5; }
.ap-em { color: #d9480f; font-weight: 700; }
.ap-place { display: flex; gap: 6px; flex-wrap: wrap; }
