.brand, .back-link { text-decoration: none; color: var(--ink); }
.back-link { font-size: 12px; }
.course-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 32px 0; list-style: none; }
.course-flow li { padding: 16px 12px; border: 1px solid var(--line); font-size: 13px; line-height: 1.65; }
.course-flow span { display: block; font-size: 10px; color: var(--deep); margin-bottom: 8px; }
.state-note { background: #eff8df; padding: 14px; font-size: 13px; line-height: 1.7; }
.admin-bar { margin-top: 16px; }
.track-section { border-top: 1px solid var(--line); padding: 26px 0; }
.track-section h2 { margin: 8px 0 14px; font-size: 21px; }
.track-section form { max-width: none; }
#track-place-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin: 24px 0 32px; }
.place-row { min-width: 0; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.place-select { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 9px 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; text-align: left; }
.place-select[aria-pressed=true] { border-color: var(--deep); background: #eff8df; }
.place-select:disabled { opacity: .7; cursor: default; }
.place-name { font-size: 14px; font-weight: 750; }
.place-status { font-size: 10px; white-space: nowrap; color: var(--muted); }
.place-status[data-assigned=true] { color: var(--deep); }
.place-row label { min-width: 0; font-size: 11px; }
.place-row input { max-width: 90px; margin-bottom: 8px; font-size: 16px; }
.selected-place-note { font-size: 13px; line-height: 1.7; color: var(--deep); margin-bottom: 12px; word-break: keep-all; }
.location-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.location-actions .button { padding: 12px 9px; font-size: 12px; min-height: 48px; }
#track-current-gps { margin-top: 14px; font-size: 14px; }
#track-map { height: 320px; border-radius: 5px; position: relative; z-index: 0; }
#track-reference-preview { display: block; width: 100%; max-height: 260px; object-fit: contain; background: #f3f5ef; margin-top: 14px; }
.spatial-settings { padding: 20px 0; margin-top: 18px; }
.spatial-settings summary { cursor: pointer; min-height: 44px; font-size: 14px; }
.track-section a { color: var(--deep); font-size: 13px; }
.domain-note { font-size: 11px; overflow-wrap: anywhere; margin: 14px 0; }
#track-room-result a { text-decoration: none; color: var(--ink); }
#track-room-url { font-size: 12px; }
dialog { width: min(440px, calc(100vw - 36px)); border: 1px solid var(--ink); border-radius: 6px; padding: 24px; }
dialog::backdrop { background: #171b1666; }
@media(max-width:350px) { .course-flow { gap: 8px; } .course-flow li { padding: 12px 9px; } }

.map-point-label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #171b16; background: #fff; border: 1px solid #386319; border-radius: 4px; font: 700 11px Pretendard, sans-serif; white-space: nowrap; }
.map-point-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #386319; }
.map-point-mine::before { background: #171b16; }

.mapping-section { padding: 0 0 26px; }
.mapping-section h2 { font-size: 21px; margin: 0 0 16px; }
.mapping-scroll { overflow-x: auto; }
.mapping-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.mapping-table th, .mapping-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; word-break: keep-all; }
.mapping-table thead th { font-size: 11px; color: var(--deep); background: #eff8df; }
.mapping-table tbody th { width: 25%; font-weight: 750; }
.mapping-table td:nth-child(2) { width: 32%; }
.place-role { font-size: 11px; color: var(--muted); margin: 8px 0 14px; min-height: 36px; word-break: keep-all; }
.spatial-scan-next { margin-top: 10px; }
