:root {
    --navy: #091735;
    --navy-2: #132957;
    --blue: #2563eb;
    --blue-soft: #eaf2ff;
    --teal: #0f9f8f;
    --amber: #d98b17;
    --ink: #172033;
    --muted: #667085;
    --line: #e0e7f0;
    --surface: #ffffff;
    --background: #f3f6fa;
    --danger: #b42318;
    --danger-bg: #fff1f0;
    --warning: #9a5b00;
    --warning-bg: #fff7e6;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
}

button, input, select, textarea { font: inherit; }

.muted { color: var(--muted); }

.eyebrow {
    margin: 0 0 12px;
    color: #9fb7eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.eyebrow.blue { color: var(--blue); }

.brand-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 30px;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 17px;
    box-shadow: 0 15px 32px rgba(37, 99, 235, .35);
    font-size: 28px;
    font-weight: 900;
}

.brand-mark.small {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 10px;
    font-size: 17px;
    box-shadow: none;
}

.login-page {
    background: #eef2f8;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(420px, 1.1fr) minmax(420px, .9fr);
}

.login-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 8vw, 110px);
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(47, 104, 232, .35), transparent 34%),
        linear-gradient(145deg, #07132e 0%, #102752 58%, #15366c 100%);
}

.login-brand-panel h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.22;
    letter-spacing: -.04em;
}

.brand-copy {
    max-width: 650px;
    margin: 26px 0 40px;
    color: #c4d1eb;
    font-size: 16px;
    line-height: 1.8;
}

.brand-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-metrics span {
    padding: 10px 13px;
    color: #cfdbf3;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    font-size: 12px;
}

.brand-metrics strong {
    margin-right: 7px;
    color: #77a3ff;
}

.login-form-panel {
    display: grid;
    padding: 40px;
    place-items: center;
    background: #fff;
}

.login-box { width: min(100%, 430px); }

.login-box h2 {
    margin: 16px 0 8px;
    font-size: 34px;
    letter-spacing: -.04em;
}

.status-badge {
    display: inline-flex;
    padding: 6px 10px;
    color: #1746a2;
    background: var(--blue-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
}

.login-box form { margin-top: 30px; }

.login-box label {
    display: block;
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 800;
}

.input-wrap { position: relative; }

.input-symbol {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #7b879d;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 900;
}

.input-wrap input {
    width: 100%;
    padding: 13px 14px 13px 47px;
    color: var(--ink);
    background: #fbfcfe;
    border: 1px solid #cfd8e5;
    border-radius: 9px;
}

.input-wrap input:focus {
    outline: 3px solid rgba(37, 99, 235, .13);
    border-color: var(--blue);
    background: #fff;
}

.btn-primary {
    width: 100%;
    margin-top: 25px;
    padding: 14px 18px;
    color: #fff;
    background: var(--blue);
    border: 0;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

.btn-primary:hover { background: #1d4ed8; }

.security-note {
    margin-top: 20px;
    color: #8a94a5;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}

.alert {
    margin: 18px 0;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.55;
}

.alert.danger {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid #ffccc7;
}

.alert.warning {
    color: var(--warning);
    background: var(--warning-bg);
    border: 1px solid #ffe0a3;
}

.alert.success {
    color: #087f5b;
    background: #e9fff6;
    border: 1px solid #a8efd2;
}

.alert.info {
    color: #2453a6;
    background: #eef4ff;
    border: 1px solid #c9d9fa;
}

.admin-body { min-height: 100vh; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    width: 252px;
    flex-direction: column;
    color: #fff;
    background: var(--navy);
    z-index: 10;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 68px;
    padding: 0 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-weight: 900;
    text-decoration: none;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 14px;
    padding: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
}

.avatar {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    color: #fff;
    background: #315aa9;
    border-radius: 50%;
    font-weight: 900;
}

.user-panel strong, .user-panel span { display: block; }
.user-panel strong { font-size: 13px; }
.user-panel span { margin-top: 4px; color: #9fb0d0; font-size: 11px; }

.sidebar-nav {
    display: flex;
    padding: 5px 10px;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    color: #b7c4dc;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

.sidebar-nav a span { width: 19px; color: #7fa4ee; text-align: center; }
.sidebar-nav a.active { color: #fff; background: var(--blue); }
.sidebar-nav a.disabled { cursor: default; }
.sidebar-nav em { margin-left: auto; color: #71809c; font-size: 9px; font-style: normal; }
.sidebar-foot { margin-top: auto; padding: 18px; color: #647594; font-size: 10px; text-align: center; }

.admin-main { min-height: 100vh; margin-left: 252px; }

.admin-topbar {
    display: flex;
    height: 68px;
    padding: 0 27px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-topbar strong, .admin-topbar span { display: block; }
.admin-topbar strong { font-size: 13px; }
.admin-topbar span { margin-top: 3px; color: var(--muted); font-size: 10px; }

.btn-logout {
    padding: 8px 12px;
    color: #46556d;
    background: #fff;
    border: 1px solid #d3dbe7;
    border-radius: 7px;
    font-size: 12px;
    cursor: pointer;
}

.content { width: min(100% - 44px, 1500px); margin: 0 auto; padding: 30px 0 50px; }

.page-heading {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-end;
    justify-content: space-between;
}

.page-heading h1 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.035em; }
.page-heading p { margin-bottom: 0; }

.date-chip {
    padding: 8px 11px;
    color: #536079;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 11px;
}

.info-grid {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-box {
    display: flex;
    min-height: 112px;
    padding: 18px;
    align-items: center;
    gap: 15px;
    color: #fff;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(20, 35, 70, .1);
}

.info-box.navy { background: #162b58; }
.info-box.blue { background: #2563eb; }
.info-box.teal { background: #128f83; }
.info-box.amber { background: #c77d13; }

.info-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    background: rgba(255,255,255,.14);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.info-box small, .info-box strong, .info-box div > span { display: block; }
.info-box small { color: rgba(255,255,255,.76); font-size: 11px; }
.info-box strong { margin: 3px 0; font-size: 27px; }
.info-box div > span { color: rgba(255,255,255,.68); font-size: 10px; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 5px 18px rgba(18, 35, 69, .045);
}

.span-2 { grid-column: span 2; }

.card-head {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.card h2 { margin: 0; font-size: 16px; }
.card-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.score-list { display: flex; flex-direction: column; }

.score-row {
    display: grid;
    padding: 15px 0;
    grid-template-columns: minmax(190px, .9fr) minmax(180px, 1fr) 38px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #edf1f6;
}

.score-row:last-child { border-bottom: 0; }
.score-row strong, .score-row span { display: block; }
.score-row strong { font-size: 13px; }
.score-row span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.score-row b { color: #25468c; font-size: 18px; text-align: right; }

.progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e8eef7;
    border: 0;
    border-radius: 999px;
    appearance: none;
}

.progress::-webkit-progress-bar {
    background: #e8eef7;
    border-radius: 999px;
}

.progress::-webkit-progress-value {
    background: linear-gradient(90deg, #2563eb, #4b8cf8);
    border-radius: 999px;
}

.progress::-moz-progress-bar {
    background: linear-gradient(90deg, #2563eb, #4b8cf8);
    border-radius: 999px;
}

.calculation-note { margin: 13px 0 0; color: #8590a3; font-size: 10px; }

.stat-stack {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}

.stat-stack div {
    display: flex;
    padding: 16px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.stat-stack div:last-child { border-bottom: 0; }
.stat-stack span { color: var(--muted); font-size: 12px; }
.stat-stack strong { font-size: 20px; }

.task-list { margin: 0; padding: 0; list-style: none; }

.task-list li {
    display: flex;
    padding: 13px 0;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #edf1f6;
}

.task-list li:last-child { border-bottom: 0; }
.task-list > li > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.task-list strong, .task-list small { display: block; }
.task-list strong { font-size: 12px; }
.task-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.empty-card {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, #fbfdff, #f1f6ff);
    border-style: dashed;
}

.empty-card h2 { margin: 0 0 6px; }
.empty-card p { max-width: 630px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.empty-icon { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 25px; }

.btn-secondary {
    flex: 0 0 auto;
    padding: 11px 15px;
    color: #8390a5;
    background: #e8edf5;
    border: 0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.btn-link-primary,
.btn-link-secondary,
.btn-save,
.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.btn-link-primary,
.btn-save {
    padding: 11px 16px;
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
}

.btn-link-primary:hover,
.btn-save:hover { background: #1d4ed8; }

.btn-link-secondary {
    padding: 10px 15px;
    color: #48566e;
    background: #fff;
    border: 1px solid #cfd8e5;
}

.small-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.compact-grid .info-box { min-height: 96px; }

.table-card { padding: 0; overflow: hidden; }
.table-card .card-head { margin: 0; padding: 20px; }
.table-scroll { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.data-table th {
    padding: 11px 15px;
    color: #68758a;
    background: #f7f9fc;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    text-align: left;
}

.data-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #edf1f6;
    color: #3d4b62;
    font-size: 12px;
}

.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdff; }
.data-table td > strong, .data-table td > small { display: block; }
.data-table td > small { margin-top: 4px; color: #8b96a8; font-size: 9px; }
.align-right { text-align: right; }

.table-action {
    padding: 7px 10px;
    color: #2455b2;
    background: var(--blue-soft);
    border: 1px solid #cfe0ff;
}

.grade-badge {
    display: inline-flex;
    min-width: 48px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.grade-s { color: #7739a7; background: #f4eaff; }
.grade-b { color: #1754ad; background: #e9f2ff; }
.grade-c { color: #087768; background: #e4faf5; }
.grade-none { color: #69758a; background: #edf1f5; }

.empty-state {
    padding: 55px 20px;
    color: #647086;
    text-align: center;
    border-top: 1px solid var(--line);
}

.empty-state strong { display: block; color: var(--ink); font-size: 15px; }
.empty-state p { margin: 8px 0 20px; font-size: 11px; }

.policy-note {
    display: flex;
    margin-top: 16px;
    padding: 14px 17px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #526079;
    background: #eef4ff;
    border: 1px solid #d5e3ff;
    border-radius: 10px;
    font-size: 11px;
}

.policy-note strong { color: #1f4b9d; }
.policy-note span { padding-right: 14px; border-right: 1px solid #c9d9f5; }
.policy-note p { width: 100%; margin: 0; color: #71809a; }

.form-layout { display: flex; flex-direction: column; gap: 17px; }
.form-card { padding: 23px; }
.step-chip {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.span-form-2 { grid-column: span 2; }
.field { display: block; }
.field > span { display: block; margin-bottom: 7px; color: #445169; font-size: 11px; font-weight: 800; }
.field > span b { color: var(--danger); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    color: var(--ink);
    background: #fbfcfe;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
}

.field textarea { line-height: 1.55; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid rgba(37, 99, 235, .12);
    border-color: var(--blue);
    background: #fff;
}

.grade-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grade-choice-card {
    padding: 17px;
    border: 1px solid var(--line);
    border-top-width: 4px;
    border-radius: 10px;
}

.grade-card-s { border-top-color: #8e53bb; }
.grade-card-b { border-top-color: #2d6dcc; }
.grade-card-c { border-top-color: #159180; }
.grade-choice-card > div { min-height: 68px; }
.grade-choice-card > div > strong { font-size: 14px; }
.grade-choice-card > div > p { margin: 6px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.score-choice {
    display: flex;
    margin-top: 7px;
    padding: 9px 10px;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e3e9f1;
    border-radius: 7px;
    cursor: pointer;
    font-size: 10px;
}

.score-choice:has(input:checked) {
    color: #194eaa;
    background: #edf4ff;
    border-color: #92b8ff;
    font-weight: 800;
}

.score-choice input { accent-color: var(--blue); }
.full-field { margin-top: 17px; }

.capacity-entry {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: end;
    gap: 16px;
}

.number-unit { position: relative; }
.number-unit input { padding-right: 48px; font-size: 19px; font-weight: 900; }
.number-unit em { position: absolute; top: 50%; right: 14px; color: #647086; transform: translateY(-50%); font-size: 11px; font-style: normal; }

.capacity-warning,
.capacity-alert {
    display: flex;
    margin-top: 14px;
    padding: 12px 14px;
    align-items: center;
    gap: 11px;
    color: #87520b;
    background: #fff7e8;
    border: 1px solid #f2d49e;
    border-radius: 8px;
    font-size: 10px;
}

.capacity-warning span, .capacity-alert span { color: #89652e; }
.capacity-alert { margin: 0 0 18px; font-size: 11px; }
.capacity-alert a { margin-left: auto; color: #87520b; font-weight: 900; }

.form-actions {
    display: flex;
    padding: 4px 0 20px;
    justify-content: flex-end;
    gap: 9px;
}

.btn-save { min-width: 130px; cursor: pointer; }
.error-list { margin: 8px 0 0; padding-left: 18px; }
.error-list li { margin-top: 4px; }

.grade-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.grade-summary > div {
    padding: 14px 8px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e7ecf3;
    border-radius: 9px;
}

.grade-summary strong, .grade-summary small { display: block; }
.grade-summary strong { margin: 10px 0 3px; font-size: 17px; }
.grade-summary small { color: var(--muted); font-size: 9px; }

.action-card {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, #fbfdff, #f1f6ff);
    border-style: dashed;
}

.action-card h2 { margin: 0 0 6px; }
.action-card p { max-width: 700px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 1100px) {
    .info-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .span-2 { grid-column: span 2; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .grade-choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-brand-panel { min-height: 420px; padding: 45px 28px; }
    .login-form-panel { padding: 45px 24px; }
    .sidebar { position: static; width: 100%; }
    .sidebar-nav, .sidebar-foot { display: none; }
    .sidebar-brand { height: 60px; }
    .user-panel { margin: 10px 14px; }
    .admin-main { margin-left: 0; }
    .admin-topbar { height: 62px; padding: 0 17px; }
    .content { width: min(100% - 28px, 1500px); padding-top: 22px; }
    .page-heading { align-items: flex-start; }
    .date-chip { display: none; }
    .info-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .score-row { grid-template-columns: 1fr 42px; }
    .score-row .progress { grid-column: 1 / -1; grid-row: 2; }
    .empty-card { align-items: flex-start; flex-direction: column; }
    .page-heading { gap: 16px; }
    .page-heading .btn-link-primary { flex: 0 0 auto; }
    .form-grid, .capacity-entry { grid-template-columns: 1fr; }
    .span-form-2 { grid-column: auto; }
    .action-card { align-items: flex-start; flex-direction: column; }
    .policy-note span { border-right: 0; }
    .capacity-alert { align-items: flex-start; flex-direction: column; }
    .capacity-alert a { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   v0.5 responsive polish
   -------------------------------------------------------------------------- */

body { overflow-x: hidden; }

.topbar-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-identity > div > strong,
.topbar-identity > div > span { display: block; }

.mobile-brand,
.mobile-nav { display: none; }

.form-layout {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.form-guide {
    display: flex;
    padding: 15px 17px;
    align-items: center;
    gap: 12px;
    color: #294a88;
    background: linear-gradient(120deg, #edf5ff, #f7faff);
    border: 1px solid #cfe0ff;
    border-radius: 12px;
}

.form-guide-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 10px;
    font-weight: 900;
}

.form-guide strong,
.form-guide span { display: block; }
.form-guide strong { font-size: 12px; }
.form-guide span { margin-top: 3px; color: #71809b; font-size: 10px; }

.form-card {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 38, 76, .05);
}

.form-card .card-head {
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f7;
}

.field input,
.field select,
.field textarea {
    min-height: 44px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.field textarea { min-height: 94px; }

.field-hint {
    display: block;
    margin-top: 7px;
    color: #8994a7;
    font-size: 10px;
    line-height: 1.5;
}

.grade-choice-card {
    position: relative;
    background: #fff;
    box-shadow: 0 5px 15px rgba(28, 43, 73, .035);
}

.grade-card-s { background: linear-gradient(180deg, #fcf8ff 0, #fff 84px); }
.grade-card-b { background: linear-gradient(180deg, #f7fbff 0, #fff 84px); }
.grade-card-c { background: linear-gradient(180deg, #f5fffc 0, #fff 84px); }

.score-choice {
    min-height: 44px;
    padding: 10px 12px;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.score-choice:hover {
    border-color: #b8c9e4;
    transform: translateY(-1px);
}

.score-choice input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.number-unit input { min-height: 50px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .grade-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grade-choice-card { padding: 14px; }
    .score-choice { padding: 9px; }
}

@media (max-width: 760px) {
    body.admin-body { background: #f4f7fb; }

    .sidebar { display: none; }
    .admin-main { margin-left: 0; }

    .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 30;
        height: 58px;
        padding: 0 14px;
        box-shadow: 0 1px 10px rgba(18, 35, 69, .06);
    }

    .mobile-brand {
        display: grid;
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        place-items: center;
        color: #fff !important;
        background: var(--blue);
        border-radius: 9px;
        font-size: 15px !important;
        font-weight: 900;
    }

    .topbar-identity > div > strong {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
    }

    .topbar-identity > div > span { font-size: 9px; }
    .btn-logout { min-height: 36px; padding: 7px 10px; }

    .mobile-nav {
        position: sticky;
        top: 58px;
        z-index: 25;
        display: flex;
        height: 48px;
        padding: 6px 12px;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        background: rgba(255,255,255,.97);
        border-bottom: 1px solid var(--line);
        scrollbar-width: none;
    }

    .mobile-nav::-webkit-scrollbar { display: none; }

    .mobile-nav a {
        display: inline-flex;
        min-height: 35px;
        padding: 0 12px;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        color: #647086;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-nav a.active { color: #fff; background: var(--blue); }
    .mobile-nav-next { margin-left: 4px; color: #9aa4b4; font-size: 9px; white-space: nowrap; }

    .content {
        width: min(100% - 24px, 1500px);
        padding: 18px 0 88px;
    }

    .page-heading {
        margin-bottom: 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .page-heading .eyebrow { margin-bottom: 7px; font-size: 9px; }
    .page-heading h1 { margin-bottom: 5px; font-size: 22px; }
    .page-heading p { font-size: 11px; line-height: 1.55; }
    .page-heading > .btn-link-primary,
    .page-heading > .btn-link-secondary { width: 100%; min-height: 44px; }

    .info-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .info-box,
    .compact-grid .info-box {
        min-width: 0;
        min-height: 104px;
        padding: 13px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        border-radius: 12px;
    }

    .info-icon {
        width: 34px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 8px;
        font-size: 9px;
    }

    .info-box strong { font-size: 22px; }
    .info-box small { font-size: 9px; }
    .info-box div > span { font-size: 9px; }

    .dashboard-grid { gap: 12px; }
    .card { padding: 16px; border-radius: 13px; }
    .card-head { margin-bottom: 14px; }
    .card h2 { font-size: 15px; }
    .card-head p { line-height: 1.5; }

    .form-layout { gap: 12px; }
    .form-guide { padding: 13px; align-items: flex-start; }
    .form-guide span { line-height: 1.5; }
    .form-card { padding: 16px; }
    .form-card .card-head { align-items: center; }
    .step-chip { width: 27px; height: 27px; flex: 0 0 27px; }
    .form-grid { gap: 13px; }

    .field > span { margin-bottom: 6px; font-size: 12px; }
    .field input,
    .field select,
    .field textarea {
        min-height: 47px;
        padding: 12px 13px;
        border-radius: 10px;
        font-size: 16px;
    }

    .field textarea { min-height: 105px; font-size: 15px; }
    .field-hint { font-size: 10px; }
    .full-field { margin-top: 14px; }

    .grade-choice-grid { gap: 11px; }
    .grade-choice-card { padding: 15px; border-radius: 12px; }
    .grade-choice-card > div { min-height: auto; }
    .grade-choice-card > div > strong { font-size: 15px; }
    .grade-choice-card > div > p { margin-bottom: 11px; font-size: 11px; }
    .score-choice { min-height: 48px; margin-top: 8px; padding: 11px 12px; font-size: 12px; }
    .score-choice:hover { transform: none; }

    .capacity-entry { gap: 13px; }
    .capacity-number { max-width: none; }
    .number-unit input { min-height: 56px; font-size: 22px; }
    .capacity-warning { align-items: flex-start; flex-direction: column; line-height: 1.55; }

    .form-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin: 0 -12px;
        padding: 10px 12px max(10px, env(safe-area-inset-bottom));
        gap: 8px;
        background: rgba(255,255,255,.97);
        border-top: 1px solid #dfe6f0;
        box-shadow: 0 -7px 20px rgba(20, 35, 70, .08);
    }

    .form-actions .btn-link-secondary,
    .form-actions .btn-save { min-height: 46px; flex: 1; }
    .form-actions .btn-save { min-width: 0; }

    .table-card { padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
    .table-card .card-head { margin-bottom: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
    .table-scroll { overflow: visible; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table { white-space: normal; }
    .data-table thead { display: none; }

    .data-table tr {
        margin-bottom: 10px;
        padding: 6px 14px 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 13px;
        box-shadow: 0 4px 14px rgba(18, 35, 69, .035);
    }

    .data-table td {
        display: grid;
        min-height: 38px;
        padding: 9px 0;
        grid-template-columns: 128px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #eef2f6;
        font-size: 12px;
        text-align: right;
    }

    .data-table td::before {
        content: attr(data-label);
        color: #8490a3;
        font-size: 10px;
        font-weight: 700;
        text-align: left;
    }

    .data-table td:first-child { padding-top: 12px; }
    .data-table td:first-child > strong,
    .data-table td:first-child > small { text-align: right; }
    .data-table td:last-child { display: block; padding: 11px 0 0; border-bottom: 0; }
    .data-table td:last-child::before { display: none; }
    .table-action { width: 100%; min-height: 42px; }
    .grade-badge { min-height: 28px; }

    .policy-note { align-items: flex-start; flex-direction: column; line-height: 1.5; }
    .policy-note span { padding-right: 0; }
    .grade-summary { gap: 6px; }
    .action-card .btn-link-primary { width: 100%; min-height: 44px; }
}

@media (max-width: 380px) {
    .content { width: min(100% - 18px, 1500px); }
    .info-grid, .compact-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .info-box, .compact-grid .info-box { padding: 11px; }
    .topbar-identity > div > strong { max-width: 135px; }
    .mobile-nav a { padding: 0 9px; }
}

/* v0.5 dual metrics: 동시 직접 관리 성도 / 연간 침례 최고기록 */
.info-box.violet { background: #6f56b5; }
.info-grid.five-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.capacity-pair-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.capacity-panel {
    display: flex;
    padding: 18px;
    flex-direction: column;
    gap: 14px;
    background: #fbfcfe;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
}

.care-panel { border-top: 4px solid #159180; }
.baptism-panel { border-top: 4px solid #6f56b5; }

.capacity-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.capacity-panel-head > span {
    display: grid;
    min-width: 49px;
    height: 32px;
    padding: 0 8px;
    place-items: center;
    color: #fff;
    background: #159180;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
}

.baptism-panel .capacity-panel-head > span { background: #6f56b5; }
.capacity-panel-head strong,
.capacity-panel-head small { display: block; }
.capacity-panel-head strong { font-size: 13px; }
.capacity-panel-head small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.capacity-panel .capacity-number { max-width: 190px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .info-grid.five-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .info-grid.five-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .capacity-pair-grid { grid-template-columns: 1fr; gap: 10px; }
    .capacity-panel { padding: 15px; gap: 12px; }
    .capacity-panel .capacity-number { max-width: none; }
    .capacity-panel-head { align-items: flex-start; }
    .capacity-panel-head strong { font-size: 14px; }
    .capacity-panel-head small { font-size: 10px; }
}

/* v0.6 선교 지원요청 */
.request-heading .btn-link-primary { min-width: 142px; }

.request-readiness-grid,
.request-evaluation-strip {
    display: grid;
    margin-bottom: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.readiness-card {
    position: relative;
    min-height: 118px;
    padding: 18px 19px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(18, 35, 69, .035);
}

.readiness-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 68px;
    height: 5px;
    content: '';
    background: #159180;
    border-radius: 0 0 0 5px;
}

.readiness-card.baptism::before { background: #6f56b5; }
.readiness-card.grades::before { background: #2563eb; }
.readiness-card small, .readiness-card span { display: block; color: var(--muted); }
.readiness-card small { font-size: 10px; font-weight: 800; }
.readiness-card strong { display: block; margin: 7px 0 4px; color: var(--ink); font-size: 22px; }
.readiness-card span { font-size: 10px; line-height: 1.45; }

.request-rule-banner {
    display: flex;
    margin: 2px 0 18px;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #effaf6;
    border: 1px solid #c8eadf;
    border-radius: 11px;
}

.request-rule-banner > div { display: flex; min-width: 0; align-items: center; gap: 11px; }
.rule-mark { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; color: #fff; background: #159180; border-radius: 50%; font-size: 12px; font-weight: 900; }
.request-rule-banner strong, .request-rule-banner p { display: block; }
.request-rule-banner strong { color: #125f54; font-size: 11px; }
.request-rule-banner p { margin: 2px 0 0; color: #56716c; font-size: 10px; line-height: 1.5; }
.request-rule-banner a { flex: 0 0 auto; color: #126c60; font-size: 10px; font-weight: 900; text-decoration: none; }

.request-list-card { padding: 0; overflow: hidden; }
.request-list-head { margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.request-state-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.request-state-mini span { padding: 5px 8px; color: #7b8798; background: #f4f6f9; border-radius: 6px; font-size: 9px; }
.request-state-mini b { margin-left: 3px; color: var(--ink); }
.request-empty { padding: 48px 20px 52px; text-align: center; }
.request-empty > span { display: grid; width: 48px; height: 48px; margin: 0 auto 12px; place-items: center; color: #5b76a9; background: #eef3fb; border-radius: 50%; font-size: 20px; }
.request-empty h3 { margin: 0; font-size: 15px; }
.request-empty p { max-width: 480px; margin: 7px auto 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.request-empty .btn-link-primary { display: inline-flex; }

.request-row {
    display: grid;
    padding: 17px 20px;
    grid-template-columns: minmax(260px, 1.5fr) minmax(270px, .85fr) auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #edf0f4;
}
.request-row:last-child { border-bottom: 0; }
.request-row-top { display: flex; margin-bottom: 7px; align-items: center; gap: 6px; }
.request-type-pill { padding: 4px 7px; color: #5d6a7e; background: #f1f4f8; border-radius: 5px; font-size: 8px; font-weight: 800; }
.request-status { display: inline-flex; min-height: 23px; padding: 3px 8px; align-items: center; justify-content: center; color: #58667a; background: #edf1f6; border-radius: 999px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.status-submitted, .status-reviewing { color: #1746a2; background: #e8f0ff; }
.status-matched, .status-approved { color: #08685a; background: #e4f7f2; }
.status-rejected { color: #a04b12; background: #fff0e3; }
.request-row h3 { margin: 0 0 5px; color: var(--ink); font-size: 13px; }
.request-row-main > p { margin: 0; color: var(--muted); font-size: 9px; }
.request-row-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.request-row-numbers div { padding-left: 10px; border-left: 1px solid #e5e9ef; }
.request-row-numbers small, .request-row-numbers strong { display: block; }
.request-row-numbers small { color: var(--muted); font-size: 8px; }
.request-row-numbers strong { margin-top: 3px; color: var(--ink); font-size: 11px; }
.request-row-action { color: #245bc7; font-size: 10px; font-weight: 900; text-decoration: none; white-space: nowrap; }

.back-link { display: inline-block; margin-bottom: 8px; color: #66768d; font-size: 10px; font-weight: 800; text-decoration: none; }
.request-evaluation-strip { margin-top: -3px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.request-evaluation-strip > div { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.request-evaluation-strip small, .request-evaluation-strip strong { display: block; }
.request-evaluation-strip small { color: var(--muted); font-size: 9px; }
.request-evaluation-strip strong { margin-top: 4px; color: var(--ink); font-size: 14px; }
.request-evaluation-strip .danger-number { background: #fff7f4; border-color: #f2c8ba; }
.request-evaluation-strip .danger-number strong { color: #ba3f20; }

.request-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.request-form fieldset[disabled] { opacity: .9; }
.form-section-card { margin-bottom: 14px; padding: 20px; }
.form-section-title { display: flex; margin-bottom: 18px; align-items: flex-start; gap: 11px; }
.form-section-title > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: #fff; background: #1e4eaa; border-radius: 7px; font-size: 10px; font-weight: 900; }
.form-section-title h2 { margin: 0; font-size: 14px; }
.form-section-title p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.request-type-grid { display: grid; margin-bottom: 17px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.request-type-option { display: flex; min-height: 77px; padding: 13px; align-items: center; gap: 11px; background: #fbfcfe; border: 1px solid #dfe5ee; border-radius: 11px; cursor: pointer; }
.request-type-option:has(input:checked) { background: #f1f6ff; border-color: #7fa5ed; box-shadow: inset 0 0 0 1px #7fa5ed; }
.request-type-option input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--blue); }
.request-type-option strong, .request-type-option small { display: block; }
.request-type-option strong { color: var(--ink); font-size: 12px; }
.request-type-option small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }

.form-field { display: block; min-width: 0; }
.form-field > span { display: block; margin-bottom: 7px; color: #445169; font-size: 10px; font-weight: 800; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 12px;
    color: var(--ink);
    background: #fbfcfe;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(37, 99, 235, .12); border-color: var(--blue); background: #fff; }
.request-form .form-field > span b { color: #da533b; }
.request-basic-grid, .three-col-form { gap: 13px; }
.three-col-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.three-col-form .full, .request-basic-grid .full { grid-column: 1 / -1; }
.request-form textarea { resize: vertical; }
.request-form input[type="date"], .request-form input[type="number"] { min-height: 43px; }
.number-with-unit { position: relative; }
.number-with-unit input { width: 100%; padding-right: 38px !important; }
.number-with-unit > span { position: absolute; top: 50%; right: 13px; color: #8994a5; transform: translateY(-50%); font-size: 10px; font-weight: 800; }
.field-hint { display: block; margin-top: 5px; color: #8b95a4; font-size: 8px; line-height: 1.45; }

.capacity-rule-card { display: flex; margin-top: 15px; padding: 12px 14px; align-items: flex-start; gap: 10px; background: #f0faf6; border: 1px solid #ccebe0; border-radius: 9px; }
.capacity-rule-card > span { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; color: #fff; background: #159180; border-radius: 50%; font-size: 10px; font-weight: 900; }
.capacity-rule-card strong { color: #17675c; font-size: 10px; }
.capacity-rule-card p { margin: 3px 0 0; color: #5d756f; font-size: 9px; line-height: 1.55; }
.capacity-rule-card.over { background: #fff5f2; border-color: #f1c8bb; }
.capacity-rule-card.over > span { background: #c95335; }
.capacity-rule-card.over strong { color: #a84128; }

.required-grade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.required-grade { display: flex; min-height: 106px; padding: 13px; align-items: center; justify-content: space-between; gap: 12px; background: #fbfcfe; border: 1px solid #e0e5ed; border-radius: 11px; }
.required-grade > div:first-child > span { display: grid; width: 27px; height: 27px; margin-bottom: 7px; place-items: center; color: #fff; background: #1f4f9e; border-radius: 7px; font-size: 10px; font-weight: 900; }
.required-grade.b > div:first-child > span { background: #a66b13; }
.required-grade.c > div:first-child > span { background: #17816f; }
.required-grade strong, .required-grade small { display: block; }
.required-grade strong { font-size: 10px; }
.required-grade small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.required-grade .number-with-unit { width: 92px; flex: 0 0 92px; }

.request-save-bar { position: sticky; z-index: 12; bottom: 0; display: flex; margin-top: 10px; padding: 12px 15px; align-items: center; justify-content: space-between; gap: 15px; background: rgba(255, 255, 255, .97); border: 1px solid #dbe2ec; border-radius: 11px 11px 0 0; box-shadow: 0 -8px 25px rgba(25, 43, 75, .07); backdrop-filter: blur(7px); }
.request-save-bar > div:first-child strong, .request-save-bar > div:first-child span { display: block; }
.request-save-bar > div:first-child strong { font-size: 10px; }
.request-save-bar > div:first-child span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.request-save-actions { display: flex; align-items: center; gap: 7px; }
.request-save-actions .btn-primary, .request-save-actions .btn-secondary { width: auto; min-height: 39px; margin: 0; padding: 9px 14px; }
.request-save-actions .btn-secondary { color: #334258; background: #eef1f5; border: 1px solid #dbe1e9; border-radius: 8px; font-weight: 800; cursor: pointer; }
.btn-secondary-link { padding: 8px 5px; color: #748094; font-size: 10px; font-weight: 800; text-decoration: none; }
.readonly-bar .btn-link-primary { flex: 0 0 auto; }

@media (min-width: 761px) and (max-width: 1100px) {
    .request-row { grid-template-columns: minmax(220px, 1fr) minmax(250px, .9fr); }
    .request-row-action { grid-column: 1 / -1; justify-self: end; }
    .required-grade-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .request-heading { gap: 12px; }
    .request-heading .btn-link-primary { width: 100%; min-height: 44px; }
    .request-readiness-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .readiness-card { min-height: 103px; padding: 13px; }
    .readiness-card.grades { grid-column: 1 / -1; }
    .readiness-card strong { font-size: 17px; }
    .readiness-card span { font-size: 9px; }
    .request-rule-banner { align-items: flex-start; flex-direction: column; }
    .request-rule-banner a { margin-left: 41px; }
    .request-list-head { align-items: flex-start; flex-direction: column; gap: 11px; }
    .request-row { padding: 15px; grid-template-columns: 1fr; gap: 13px; }
    .request-row-numbers { padding: 11px 0; background: #f8fafc; border-radius: 8px; }
    .request-row-numbers div { padding: 0 9px; }
    .request-row-action { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; color: #245bc7; background: #eef4ff; border-radius: 8px; }
    .request-evaluation-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .request-evaluation-strip > div { min-height: 72px; padding: 10px; }
    .request-evaluation-strip small { min-height: 26px; line-height: 1.4; }
    .request-evaluation-strip strong { font-size: 13px; }
    .form-section-card { padding: 15px; }
    .form-section-title { margin-bottom: 15px; }
    .form-section-title h2 { font-size: 14px; }
    .form-section-title p { font-size: 9px; }
    .request-type-grid, .three-col-form, .required-grade-grid { grid-template-columns: 1fr; }
    .request-type-option { min-height: 70px; }
    .request-form input, .request-form select, .request-form textarea { font-size: 16px; }
    .request-form input[type="text"], .request-form input[type="date"], .request-form input[type="number"] { min-height: 48px; }
    .request-form textarea { min-height: 96px; }
    .required-grade { min-height: 88px; }
    .required-grade .number-with-unit { width: 105px; flex-basis: 105px; }
    .request-save-bar { margin: 8px -12px 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); align-items: stretch; flex-direction: column; border-right: 0; border-left: 0; border-radius: 0; }
    .request-save-bar > div:first-child { display: none; }
    .request-save-actions { width: 100%; }
    .request-save-actions > * { flex: 1 1 0; text-align: center; }
    .request-save-actions .btn-primary, .request-save-actions .btn-secondary { min-height: 46px; padding: 9px 8px; }
    .readonly-bar .btn-link-primary { width: 100%; min-height: 45px; }
}

/* v0.7 다중 대상 조직·요청별 현지 일꾼 배정 */
.target-org-grid {
    display: grid;
    margin-bottom: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.target-org-option {
    display: flex;
    min-height: 92px;
    padding: 13px;
    align-items: flex-start;
    gap: 10px;
    background: #fbfcfe;
    border: 1px solid #dfe5ee;
    border-radius: 11px;
    cursor: pointer;
}

.target-org-option:has(input:checked) {
    background: #f0f6ff;
    border-color: #729ce9;
    box-shadow: inset 0 0 0 1px #729ce9;
}

.target-org-option.new-site:has(input:checked) { background: #f2faf7; border-color: #66b9a8; box-shadow: inset 0 0 0 1px #66b9a8; }
.target-org-option input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 17px; accent-color: var(--blue); }
.target-org-option span { min-width: 0; }
.target-org-option b, .target-org-option strong, .target-org-option small { display: block; }
.target-org-option b { width: fit-content; margin-bottom: 6px; padding: 3px 6px; color: #315d9f; background: #e8f0ff; border-radius: 5px; font-size: 8px; }
.target-org-option.new-site b { color: #147060; background: #ddf4ed; }
.target-org-option strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.target-org-option small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.target-org-option small.target-capability { margin-top: 7px; padding-top: 6px; color: #42648f; border-top: 1px solid #e2e8f1; font-weight: 800; }
.target-site-name { margin-top: 4px; }
.four-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.target-org-pill {
    padding: 4px 7px;
    color: #126a5e;
    background: #e6f7f2;
    border-radius: 5px;
    font-size: 8px;
    font-weight: 900;
}

.allocation-list { overflow: hidden; border: 1px solid #e0e5ed; border-radius: 10px; }
.allocation-head,
.allocation-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.5fr) 75px 120px 120px 130px;
    align-items: center;
    gap: 9px;
}
.allocation-head { min-height: 36px; padding: 0 12px; color: #7d8899; background: #f3f6fa; font-size: 8px; font-weight: 800; }
.allocation-row { min-height: 68px; padding: 10px 12px; background: #fff; border-top: 1px solid #edf0f4; }
.allocation-row > div > strong, .allocation-row > div > small { display: block; }
.allocation-row > div > strong { color: var(--ink); font-size: 10px; }
.allocation-row > div > small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.allocation-input { position: relative; display: block; }
.allocation-input input { width: 100%; min-height: 39px; padding: 8px 32px 8px 10px; color: var(--ink); background: #fbfcfe; border: 1px solid #ccd6e3; border-radius: 7px; }
.allocation-input input:focus { outline: 3px solid rgba(37, 99, 235, .12); border-color: var(--blue); background: #fff; }
.allocation-input > span { position: absolute; top: 50%; right: 10px; color: #8a95a5; transform: translateY(-50%); font-size: 9px; font-weight: 800; }
.allocation-summary { display: grid; margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.allocation-summary > div { padding: 10px 12px; background: #f7f9fc; border-radius: 8px; }
.allocation-summary small, .allocation-summary strong { display: block; }
.allocation-summary small { color: var(--muted); font-size: 8px; }
.allocation-summary strong { margin-top: 4px; color: var(--ink); font-size: 13px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .target-org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .four-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .allocation-head, .allocation-row { grid-template-columns: minmax(140px, 1.4fr) 65px 100px 100px 115px; }
}

@media (max-width: 760px) {
    .target-org-grid { grid-template-columns: 1fr; gap: 7px; }
    .target-org-option { min-height: 75px; padding: 12px; }
    .target-org-option strong { font-size: 12px; }
    .target-org-option small { font-size: 9px; }
    .four-types { grid-template-columns: 1fr; }
    .allocation-list { overflow: visible; border: 0; }
    .allocation-head { display: none; }
    .allocation-row { display: grid; min-height: 0; margin-bottom: 9px; padding: 13px; grid-template-columns: 1fr 1fr; gap: 10px 12px; background: #fbfcfe; border: 1px solid #e0e5ed; border-radius: 10px; }
    .allocation-row > div, .allocation-input { display: block; min-width: 0; }
    .allocation-row > div:first-child { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid #e8ecf2; }
    .allocation-row > div::before, .allocation-input::before { display: block; margin-bottom: 4px; content: attr(data-label); color: #8a95a6; font-size: 8px; font-weight: 700; }
    .allocation-row > div:first-child::before { display: none; }
    .allocation-input { grid-column: 1 / -1; }
    .allocation-input input { min-height: 48px; font-size: 16px; }
    .allocation-input > span { top: calc(50% + 7px); }
    .allocation-summary { grid-template-columns: 1fr; gap: 6px; }
    .allocation-summary > div { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 12px; }
    .allocation-summary strong { margin-top: 0; }
    .request-row-top { flex-wrap: wrap; }
}

/* v0.8 일꾼 주 소속 사이트 */
.site-filter-bar {
    display: flex;
    margin: 0 0 15px;
    padding: 7px;
    gap: 6px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    scrollbar-width: none;
}
.site-filter-bar::-webkit-scrollbar { display: none; }
.site-filter-bar a {
    display: block;
    min-width: 120px;
    padding: 8px 11px;
    color: #5e6b7f;
    background: #f7f9fc;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}
.site-filter-bar a span, .site-filter-bar a small { display: block; }
.site-filter-bar a span { max-width: 170px; overflow: hidden; font-size: 10px; font-weight: 900; text-overflow: ellipsis; }
.site-filter-bar a small { margin-top: 3px; color: #8b95a5; font-size: 8px; }
.site-filter-bar a.active { color: #fff; background: #2457ba; border-color: #2457ba; }
.site-filter-bar a.active small { color: #dbe7ff; }

.worker-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.worker-site-option {
    display: flex;
    min-height: 86px;
    padding: 12px;
    align-items: flex-start;
    gap: 10px;
    background: #fbfcfe;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    cursor: pointer;
}
.worker-site-option:has(input:checked) { background: #f0f6ff; border-color: #719ae6; box-shadow: inset 0 0 0 1px #719ae6; }
.worker-site-option input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 17px; accent-color: var(--blue); }
.worker-site-option span { min-width: 0; }
.worker-site-option b, .worker-site-option strong, .worker-site-option small { display: block; }
.worker-site-option b { width: fit-content; margin-bottom: 6px; padding: 3px 6px; color: #315d9f; background: #e7effd; border-radius: 5px; font-size: 8px; }
.worker-site-option strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.worker-site-option small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.site-assignment-note { display: flex; margin-top: 11px; padding: 10px 12px; align-items: center; gap: 10px; background: #f1f8f6; border: 1px solid #d6ebe5; border-radius: 8px; }
.site-assignment-note strong { flex: 0 0 auto; color: #147060; font-size: 9px; }
.site-assignment-note span { color: #667b75; font-size: 9px; line-height: 1.5; }

@media (min-width: 761px) and (max-width: 1100px) {
    .worker-site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .site-filter-bar { margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; border-right: 0; border-left: 0; border-radius: 0; }
    .site-filter-bar a { min-width: 124px; min-height: 48px; }
    .worker-site-grid { grid-template-columns: 1fr; gap: 7px; }
    .worker-site-option { min-height: 72px; }
    .worker-site-option strong { font-size: 12px; }
    .worker-site-option small { font-size: 9px; }
    .site-assignment-note { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* v0.9 사이트 관리·일꾼 소속 이동 */
.site-policy-note {
    display: flex;
    margin: 0 0 16px;
    padding: 11px 14px;
    align-items: center;
    gap: 9px;
    color: #607084;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 9px;
}
.site-policy-note > span { padding: 4px 7px; color: #2454a7; background: #eaf1ff; border-radius: 5px; font-weight: 900; }
.site-policy-note strong { color: var(--ink); font-size: 10px; }
.site-policy-note b { color: #9aa4b2; }
.site-policy-note p { margin: 0 0 0 auto; }

.site-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.site-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid #6f87ad; border-radius: 12px; box-shadow: 0 5px 18px rgba(18, 35, 69, .035); }
.site-card.main-site { border-top-color: #2457ba; }
.site-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.site-card-head h2 { margin: 7px 0 3px; color: var(--ink); font-size: 15px; }
.site-card-head p { margin: 0; color: var(--muted); font-size: 8px; }
.site-card-head > a { flex: 0 0 auto; color: #2e60bc; font-size: 9px; font-weight: 900; text-decoration: none; }
.site-type-badge { display: inline-flex; min-height: 22px; padding: 3px 7px; align-items: center; color: #365c94; background: #e9f0fb; border-radius: 5px; font-size: 8px; font-weight: 900; }
.site-type-badge.type-local_council { color: #194eaa; background: #e7efff; }
.site-type-badge.type-branch_church { color: #0f7767; background: #e4f7f1; }
.site-type-badge.type-worship_place { color: #9b6619; background: #fff3dc; }
.site-location { display: flex; min-height: 34px; margin: 13px 0; padding: 8px 10px; align-items: center; gap: 7px; color: #728096; background: #f7f9fc; border-radius: 7px; }
.site-location p { margin: 0; font-size: 9px; }
.site-threshold { margin-left: auto; padding: 3px 6px; color: #5c6f87; background: #e8edf4; border-radius: 5px; font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }
.site-threshold.warning { color: #9a5c18; background: #fff0d8; }
.site-threshold.promotion { color: #0c7665; background: #dff5ee; }
.site-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e6eaf0; border-radius: 8px; overflow: hidden; }
.site-kpi-grid div { padding: 10px; border-right: 1px solid #e6eaf0; }
.site-kpi-grid div:last-child { border-right: 0; }
.site-kpi-grid small, .site-kpi-grid strong { display: block; }
.site-kpi-grid small { min-height: 22px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.site-kpi-grid strong { margin-top: 3px; color: var(--ink); font-size: 12px; }
.site-grade-line { display: flex; margin-top: 10px; align-items: center; gap: 6px; }
.site-grade-line em { margin-left: auto; color: #758397; font-size: 8px; font-style: normal; }
.site-card-actions { display: grid; margin-top: 13px; grid-template-columns: 1fr 1fr; gap: 7px; }
.site-card-actions a { display: flex; min-height: 36px; align-items: center; justify-content: center; color: #355c9e; background: #f0f5fd; border-radius: 7px; font-size: 9px; font-weight: 900; text-decoration: none; }
.site-card-actions a:last-child { color: #117061; background: #eaf8f4; }

.site-type-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.site-type-choice label { display: flex; min-height: 79px; padding: 13px; align-items: center; gap: 10px; background: #fbfcfe; border: 1px solid #dfe5ee; border-radius: 10px; cursor: pointer; }
.site-type-choice label:has(input:checked) { background: #f0f6ff; border-color: #719ae6; box-shadow: inset 0 0 0 1px #719ae6; }
.site-type-choice input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--blue); }
.site-type-choice strong, .site-type-choice small { display: block; }
.site-type-choice strong { color: var(--ink); font-size: 11px; }
.site-type-choice small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.locked-site-type { padding: 14px; background: #f5f8fd; border: 1px solid #dae4f2; border-radius: 9px; }
.locked-site-type span { display: inline-block; margin-right: 8px; padding: 3px 6px; color: #2859ac; background: #e5eeff; border-radius: 4px; font-size: 8px; font-weight: 900; }
.locked-site-type strong { color: var(--ink); font-size: 12px; }
.locked-site-type small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }

.table-action-group { display: flex; justify-content: flex-end; gap: 5px; }
.table-action.move-action { color: #117062; background: #edf8f5; border-color: #cce9e1; }
.current-worker-site { display: flex; padding: 14px; align-items: center; justify-content: space-between; gap: 14px; background: #f7f9fc; border: 1px solid #e0e6ee; border-radius: 10px; }
.current-worker-site > div > strong, .current-worker-site > div > small { display: block; }
.current-worker-site > div > strong { margin-top: 7px; color: var(--ink); font-size: 13px; }
.current-worker-site > div > small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.worker-move-flow { display: grid; margin-bottom: 14px; grid-template-columns: 1fr 44px 1fr; align-items: stretch; gap: 8px; }
.move-person-card, .move-current-card { display: flex; min-height: 105px; padding: 16px; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.avatar.large { width: 44px; height: 44px; flex: 0 0 44px; }
.move-person-card small, .move-person-card h2, .move-person-card p, .move-current-card small, .move-current-card h2 { display: block; margin: 0; }
.move-person-card small, .move-current-card > small { color: var(--muted); font-size: 8px; }
.move-person-card h2, .move-current-card h2 { margin-top: 5px; color: var(--ink); font-size: 13px; }
.move-person-card p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.move-current-card { display: block; }
.move-current-card .site-type-badge { margin-top: 9px; }
.move-arrow { display: grid; place-items: center; color: #7890b5; font-size: 18px; }
.current-site-option { opacity: .55; cursor: default; }
.movement-warning { display: flex; margin-top: 12px; padding: 10px 12px; align-items: flex-start; gap: 9px; background: #fff9ed; border: 1px solid #f3dfb5; border-radius: 8px; }
.movement-warning strong { flex: 0 0 auto; color: #8e6119; font-size: 9px; }
.movement-warning span { color: #78694d; font-size: 9px; line-height: 1.5; }
.movement-history-card { margin-top: 15px; }
.movement-history-list > div { display: grid; min-height: 54px; padding: 11px 0; grid-template-columns: 125px minmax(180px, .8fr) 1fr; align-items: center; gap: 12px; border-top: 1px solid #edf0f4; }
.movement-history-list > div:first-child { border-top: 0; }
.movement-history-list span { color: var(--muted); font-size: 8px; }
.movement-history-list strong { color: var(--ink); font-size: 10px; }
.movement-history-list small { color: #6e7a8c; font-size: 9px; line-height: 1.45; }

@media (max-width: 900px) {
    .site-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .site-policy-note { align-items: flex-start; flex-wrap: wrap; }
    .site-policy-note p { width: 100%; margin: 4px 0 0; line-height: 1.5; }
    .site-card { padding: 14px; }
    .site-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-kpi-grid div { border-bottom: 1px solid #e6eaf0; }
    .site-kpi-grid div:nth-child(2) { border-right: 0; }
    .site-kpi-grid div:nth-child(3), .site-kpi-grid div:nth-child(4) { border-bottom: 0; }
    .site-type-choice { grid-template-columns: 1fr; }
    .table-action-group { width: 100%; }
    .table-action-group .table-action { flex: 1 1 0; }
    .current-worker-site { align-items: stretch; flex-direction: column; }
    .current-worker-site .btn-link-secondary { width: 100%; min-height: 43px; }
    .worker-move-flow { grid-template-columns: 1fr; }
    .move-arrow { min-height: 25px; transform: rotate(90deg); }
    .movement-warning { flex-direction: column; gap: 4px; }
    .movement-history-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* v0.10 전도 활동 관리 */
.evangelism-summary-grid { margin-bottom: 14px; }
.baptism-auto-rule {
    display: flex;
    margin: 0 0 14px;
    padding: 14px 16px;
    align-items: center;
    gap: 13px;
    color: #5e6d82;
    background: linear-gradient(135deg, #eff8f5, #f7fbff);
    border: 1px solid #cfe9e1;
    border-radius: 11px;
}
.baptism-auto-rule > span { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: #fff; background: #12816e; border-radius: 50%; font-size: 15px; font-weight: 950; }
.baptism-auto-rule strong, .baptism-auto-rule p { display: block; margin: 0; }
.baptism-auto-rule strong { color: #164f47; font-size: 11px; }
.baptism-auto-rule p { margin-top: 4px; font-size: 9px; line-height: 1.55; }
.baptism-auto-rule b { color: #0c7563; }

.evangelism-filter-card { margin-bottom: 14px; padding: 11px 13px; }
.evangelism-filters { display: flex; align-items: flex-end; gap: 8px; }
.evangelism-filters label { min-width: 170px; }
.evangelism-filters label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 800; }
.evangelism-filters select { width: 100%; min-height: 36px; padding: 7px 31px 7px 9px; color: var(--ink); background: #fff; border: 1px solid #dce2ea; border-radius: 7px; font: inherit; font-size: 9px; }
.evangelism-filters button, .evangelism-filters > a { display: inline-flex; min-height: 36px; padding: 7px 13px; align-items: center; justify-content: center; border-radius: 7px; font-size: 9px; font-weight: 900; text-decoration: none; }
.evangelism-filters button { color: #fff; background: #295cbb; border: 0; cursor: pointer; }
.evangelism-filters > a { color: #66758a; background: #f3f5f8; }

.stage-badge { display: inline-flex; min-height: 24px; padding: 4px 8px; align-items: center; justify-content: center; color: #46617e; background: #edf2f7; border-radius: 999px; font-size: 8px; font-weight: 900; white-space: nowrap; }
.stage-interested { color: #855e12; background: #fff3d8; }
.stage-studying { color: #2457aa; background: #e8f0ff; }
.stage-baptized { color: #5b43a7; background: #eee9ff; }
.stage-baptized_followup { color: #0d7462; background: #e2f7f0; }
.stage-first_attendance { color: #0f7255; background: #def6e9; }
.stage-settled { color: #136641; background: #e4f6e9; }

.privacy-check, .baptism-plus-option { display: flex; margin-top: 13px; padding: 12px 14px; align-items: flex-start; gap: 11px; border-radius: 10px; cursor: pointer; }
.privacy-check { background: #f7f9fc; border: 1px solid #e1e6ed; }
.privacy-check input, .baptism-plus-option input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; accent-color: #16806d; }
.privacy-check strong, .privacy-check small, .baptism-plus-option strong, .baptism-plus-option small { display: block; }
.privacy-check strong { color: var(--ink); font-size: 10px; }
.privacy-check small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.45; }

.activity-type-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.activity-type-option { display: block; cursor: pointer; }
.activity-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.activity-type-option span { display: flex; min-height: 48px; padding: 8px; align-items: center; justify-content: center; color: #607089; background: #f7f9fc; border: 1px solid #dfe5ed; border-radius: 9px; font-size: 9px; font-weight: 900; text-align: center; }
.activity-type-option input:checked + span { color: #2054a9; background: #edf4ff; border-color: #6f99e9; box-shadow: inset 0 0 0 1px #6f99e9; }
.activity-type-option.type-baptism input:checked + span { color: #0b725f; background: #e9f8f3; border-color: #65b9a8; box-shadow: inset 0 0 0 1px #65b9a8; }
.conditional-card { border-left: 3px solid #7b95c5; }
.conditional-card[hidden] { display: none; }
.baptism-conditional { border-left-color: #1b8b75; }
.conditional-chip { padding: 4px 7px; color: #416699; background: #e9f0fa; border-radius: 5px; font-size: 8px; font-weight: 950; }
.conditional-chip.baptism { color: #08705d; background: #e1f5ef; }
.baptism-plus-option { align-items: center; background: #eff9f6; border: 1px solid #cbe8e0; }
.baptism-plus-option .plus-mark { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: #fff; background: #12816e; border-radius: 50%; font-size: 13px; font-weight: 950; }
.baptism-plus-option strong { color: #115f52; font-size: 11px; }
.baptism-plus-option small { margin-top: 4px; color: #56746e; font-size: 8px; line-height: 1.5; }
.baptism-fact-note { margin: 7px 4px 0; color: #758397; font-size: 8px; }
.baptism-fact-card, .handoff-notice { display: flex; margin-top: 12px; padding: 12px 14px; align-items: center; gap: 11px; border-radius: 10px; }
.baptism-fact-card { color: #155e51; background: #ecf8f4; border: 1px solid #cbe8df; }
.baptism-fact-card > span, .handoff-notice > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: #fff; background: #14806c; border-radius: 50%; font-size: 12px; font-weight: 950; }
.baptism-fact-card strong, .baptism-fact-card small, .handoff-notice strong, .handoff-notice small { display: block; }
.baptism-fact-card strong, .handoff-notice strong { font-size: 10px; }
.baptism-fact-card small, .handoff-notice small { margin-top: 4px; color: #627b75; font-size: 8px; line-height: 1.5; }
.attendance-conditional { border-left-color: #25865f; }
.conditional-chip.attendance { color: #126a4d; background: #e3f5e9; }
.handoff-notice { color: #235c46; background: #f0f8f2; border: 1px solid #d4ead9; }
.handoff-notice > span { background: #34835e; }

.evangelism-flow-note { display: flex; min-height: 48px; margin: 0 0 14px; padding: 9px 13px; align-items: center; gap: 8px; color: #647388; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.evangelism-flow-note > span { padding: 4px 7px; color: #285aa9; background: #eaf1ff; border-radius: 5px; font-size: 8px; font-weight: 950; }
.evangelism-flow-note strong { color: #43546b; font-size: 9px; }
.evangelism-flow-note b { color: #a4afbc; font-size: 9px; }
.evangelism-flow-note em { padding: 5px 8px; color: #0d6c50; background: #e7f6ec; border-radius: 6px; font-size: 9px; font-style: normal; font-weight: 950; }
.wide-filters label { flex: 1 1 170px; }

.activity-history-card { margin-bottom: 14px; }
.activity-record-list { border-top: 1px solid #e8ecf1; }
.activity-record-row { display: grid; min-height: 74px; padding: 11px 14px; grid-template-columns: 58px minmax(135px, .75fr) 105px minmax(190px, 1.6fr) 100px; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f4; }
.activity-record-row:last-child { border-bottom: 0; }
.activity-record-row:hover { background: #fbfcfe; }
.activity-record-date strong, .activity-record-date small, .activity-record-person small, .activity-record-type small { display: block; }
.activity-record-date strong { color: var(--ink); font-size: 10px; }
.activity-record-date small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.activity-record-person { min-width: 0; }
.activity-record-person > a { display: block; overflow: hidden; color: #274f91; font-size: 10px; font-weight: 950; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.activity-record-person small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.activity-record-type > span { display: inline-flex; min-height: 23px; padding: 4px 7px; align-items: center; color: #4c6585; background: #edf2f8; border-radius: 6px; font-size: 8px; font-weight: 900; }
.activity-record-row.type-bible_study .activity-record-type > span { color: #265aaa; background: #eaf1ff; }
.activity-record-row.type-baptism .activity-record-type > span { color: #5d45a1; background: #eeeaff; }
.activity-record-row.type-first_attendance .activity-record-type > span { color: #0d6d50; background: #e5f6eb; }
.activity-record-type small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.activity-record-summary { min-width: 0; }
.activity-record-summary p { display: -webkit-box; margin: 0; overflow: hidden; color: #536277; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.activity-record-summary small { display: block; margin-top: 3px; overflow: hidden; color: #8390a0; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.activity-record-action { display: flex; justify-content: flex-end; }
.activity-record-action > a { display: inline-flex; min-height: 32px; padding: 6px 9px; align-items: center; justify-content: center; color: #1f5cad; background: #edf4ff; border: 1px solid #d3e1f7; border-radius: 6px; font-size: 8px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.handoff-chip { display: inline-flex; min-height: 30px; padding: 5px 8px; align-items: center; justify-content: center; color: #0b6b4d; background: #e6f6eb; border: 1px solid #c9e7d3; border-radius: 6px; font-size: 8px; font-weight: 900; white-space: nowrap; }
.next-module-button { display: inline-flex; min-height: 39px; padding: 8px 13px; align-items: center; justify-content: center; color: #0a6d4d; background: #e8f6ed; border: 1px solid #cce7d5; border-radius: 7px; font-size: 9px; font-weight: 950; }
.next-module-button { text-decoration: none; }
.nurturing-handoff-banner { display: flex; margin: 0 0 14px; padding: 13px 15px; align-items: center; gap: 12px; color: #446655; background: linear-gradient(135deg, #ecf8f0, #f8fcf9); border: 1px solid #cce8d5; border-radius: 10px; }
.nurturing-handoff-banner > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: #fff; background: #29805a; border-radius: 50%; font-size: 12px; font-weight: 950; }
.nurturing-handoff-banner strong, .nurturing-handoff-banner p { display: block; margin: 0; }
.nurturing-handoff-banner strong { color: #1d5d42; font-size: 10px; }
.nurturing-handoff-banner p { margin-top: 3px; font-size: 9px; line-height: 1.5; }
.nurturing-handoff-banner b { color: #0d6b4c; }
.nurturing-handoff-banner > a { margin-left: auto; padding: 7px 10px; flex: 0 0 auto; color: #0d6b4c; background: #fff; border: 1px solid #c8e2d1; border-radius: 6px; font-size: 8px; font-weight: 950; text-decoration: none; }

/* v0.12 전도 대상자 주·부 담당 구성 */
.manager-count-note { display: flex; min-height: 42px; padding: 7px 9px; align-items: center; gap: 9px; background: #f4f7fb; border: 1px solid #e0e6ef; border-radius: 7px; }
.manager-count-note strong { color: #2859a8; font-size: 12px; }
.manager-count-note small { color: #728095; font-size: 8px; }
.manager-assignment-panel { margin-top: 14px; padding: 14px; background: #f8fafc; border: 1px solid #dfe5ed; border-radius: 10px; }
.manager-assignment-head { display: flex; margin-bottom: 11px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.manager-assignment-head strong, .manager-assignment-head small { display: block; }
.manager-assignment-head strong { color: var(--ink); font-size: 10px; }
.manager-assignment-head small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.manager-assignment-head > span, .manager-keep-chip { flex: 0 0 auto; padding: 5px 8px; color: #2859a8; background: #e8f0ff; border-radius: 6px; font-size: 8px; font-weight: 950; }
.manager-select-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.manager-select-grid .field { margin: 0; padding: 11px; background: #fff; border: 1px solid #e0e5ec; border-radius: 9px; }
.manager-select-grid .field.manager-primary { background: #f1f6ff; border-color: #cddcf7; }
.manager-select-grid .field > small { display: block; margin-top: 5px; color: #7b8799; font-size: 7px; line-height: 1.4; }
.manager-form-card { border-top: 3px solid #456fae; }
.manager-form-card .manager-select-grid { margin-top: 2px; }
.manager-history-note { display: flex; margin-top: 10px; padding: 9px 11px; align-items: flex-start; gap: 9px; color: #6d7888; background: #f7f9fc; border-radius: 7px; }
.manager-history-note > span { flex: 0 0 auto; padding: 3px 5px; color: #345d9c; background: #e8eff9; border-radius: 4px; font-size: 7px; font-weight: 950; }
.manager-history-note p { margin: 0; font-size: 8px; line-height: 1.5; }
.contact-meta-list.manager-meta-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.contact-overview-grid { display: grid; margin-bottom: 14px; grid-template-columns: 1.1fr .9fr; gap: 13px; }
.contact-profile-card, .baptism-status-card { padding: 17px; }
.contact-name-row { display: flex; align-items: center; gap: 12px; }
.contact-avatar { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: #fff; background: linear-gradient(135deg, #2c5fbb, #274784); border-radius: 13px; font-size: 17px; font-weight: 950; }
.contact-name-row h2, .contact-name-row p { margin: 0; }
.contact-name-row h2 { margin-top: 5px; color: var(--ink); font-size: 15px; }
.contact-name-row p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.contact-meta-list { display: grid; margin: 14px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e7ebf0; }
.contact-meta-list > div { min-width: 0; padding: 11px 9px 0 0; }
.contact-meta-list dt, .contact-meta-list dd { display: block; margin: 0; }
.contact-meta-list dt { color: var(--muted); font-size: 8px; }
.contact-meta-list dd { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: 10px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.baptism-status-card { border-top: 3px solid #aab4c3; }
.baptism-status-card.is-baptized { border-top-color: #16806d; }
.baptism-status-icon { display: grid; min-width: 37px; height: 37px; padding: 0 8px; place-items: center; color: #77869b; background: #eef1f5; border-radius: 50%; font-size: 12px; font-weight: 950; }
.is-baptized .baptism-status-icon { color: #fff; background: #16806d; }
.baptism-result-line, .followup-result-line { display: flex; min-height: 42px; margin-top: 8px; padding: 9px 11px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 8px; }
.baptism-result-line { color: #28528c; background: #edf4ff; }
.followup-result-line.added { color: #0c725f; background: #e9f8f3; }
.followup-result-line.not-added { color: #86631e; background: #fff6e3; }
.baptism-result-line strong, .followup-result-line strong { font-size: 9px; }
.baptism-result-line span, .followup-result-line span { font-size: 8px; }
.baptism-empty { padding: 17px 5px 6px; color: #738095; }
.baptism-empty strong { color: var(--ink); font-size: 10px; }
.baptism-empty p { margin: 5px 0 0; font-size: 8px; line-height: 1.5; }

.settlement-card { margin-bottom: 14px; padding: 16px; }
.settlement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.settlement-item { position: relative; padding: 12px; background: #fff9ed; border: 1px solid #f2e2c0; border-radius: 9px; }
.settlement-item.done { background: #ecf8f2; border-color: #cee9dc; }
.settlement-item span, .settlement-item strong, .settlement-item small { display: block; }
.settlement-item span { color: #946519; font-size: 8px; font-weight: 900; }
.settlement-item.done span { color: #14705e; }
.settlement-item strong { margin-top: 5px; color: var(--ink); font-size: 10px; }
.settlement-item small { margin-top: 3px; color: var(--muted); font-size: 8px; }

.contact-detail-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 13px; }
.contact-timeline-card, .study-history-card { padding: 16px; }
.activity-timeline { margin-top: 4px; }
.timeline-entry { position: relative; display: grid; padding: 13px 0 13px 25px; grid-template-columns: 1fr; border-bottom: 1px solid #edf0f4; }
.timeline-entry:last-child { border-bottom: 0; }
.timeline-entry::before { position: absolute; top: 0; bottom: 0; left: 6px; width: 1px; content: ''; background: #dfe5ee; }
.timeline-entry:first-child::before { top: 20px; }
.timeline-entry:last-child::before { bottom: calc(100% - 20px); }
.timeline-dot { position: absolute; top: 18px; left: 2px; width: 9px; height: 9px; background: #6d89b4; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #bfcadb; }
.timeline-entry.type-baptism .timeline-dot { background: #16806d; box-shadow: 0 0 0 1px #6fbaab; }
.timeline-entry.type-bible_study .timeline-dot { background: #2f65c1; box-shadow: 0 0 0 1px #85a5de; }
.timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timeline-top strong { color: var(--ink); font-size: 10px; }
.timeline-top time { color: var(--muted); font-size: 8px; }
.timeline-content > p { margin: 6px 0; color: #5f6e83; font-size: 9px; line-height: 1.55; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.timeline-tags span { padding: 3px 6px; color: #5c6f88; background: #f1f4f8; border-radius: 5px; font-size: 7px; }
.study-list article { display: grid; min-height: 58px; padding: 9px 0; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #edf0f4; }
.study-list article:last-child { border-bottom: 0; }
.study-list article > span { display: grid; width: 25px; height: 25px; place-items: center; color: #285bb2; background: #eaf1ff; border-radius: 50%; font-size: 8px; font-weight: 950; }
.study-list strong, .study-list small { display: block; }
.study-list strong { color: var(--ink); font-size: 9px; }
.study-list small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.study-list em { color: #2d5ba4; font-size: 9px; font-style: normal; font-weight: 900; }
.empty-state.compact { padding: 24px 8px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .activity-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-detail-columns { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .evangelism-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .evangelism-summary-grid .info-box:last-child { grid-column: 1 / -1; }
    .baptism-auto-rule { padding: 12px; align-items: flex-start; }
    .evangelism-filters { align-items: stretch; flex-direction: column; }
    .evangelism-filters label { width: 100%; min-width: 0; }
    .evangelism-filters select, .evangelism-filters button, .evangelism-filters > a { min-height: 44px; font-size: 11px; }
    .activity-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .activity-type-option span { min-height: 52px; font-size: 10px; }
    .privacy-check, .baptism-plus-option { padding: 12px; }
    .baptism-plus-option { display: grid; grid-template-columns: 20px 38px 1fr; }
    .baptism-plus-option strong { font-size: 11px; }
    .contact-overview-grid, .contact-detail-columns { grid-template-columns: 1fr; }
    .contact-meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-meta-list > div:nth-child(3), .contact-meta-list > div:nth-child(4) { margin-top: 8px; border-top: 1px solid #edf0f4; }
    .baptism-result-line, .followup-result-line { align-items: flex-start; flex-direction: column; gap: 4px; }
    .settlement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline-top { align-items: flex-start; flex-direction: column; gap: 3px; }
    .timeline-content > p { font-size: 10px; }
    .evangelism-detail-heading .btn-link-primary { width: 100%; min-height: 45px; }
    .evangelism-flow-note { padding: 10px; flex-wrap: wrap; gap: 6px; }
    .evangelism-flow-note > span { width: 100%; }
    .evangelism-flow-note strong, .evangelism-flow-note em { flex: 1 1 auto; text-align: center; }
    .activity-record-row { margin: 0 10px 9px; padding: 13px; grid-template-columns: 52px 1fr; gap: 9px 10px; background: #fff; border: 1px solid #e1e6ed; border-radius: 10px; }
    .activity-record-row:first-child { margin-top: 10px; }
    .activity-record-person { align-self: center; }
    .activity-record-person > a { font-size: 11px; }
    .activity-record-type { grid-column: 1 / -1; }
    .activity-record-summary { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid #edf0f4; }
    .activity-record-summary p { font-size: 10px; -webkit-line-clamp: 3; }
    .activity-record-action { grid-column: 1 / -1; }
    .activity-record-action > a, .activity-record-action .handoff-chip { width: 100%; min-height: 42px; font-size: 10px; }
    .next-module-button { width: 100%; min-height: 44px; }
    .nurturing-handoff-banner { align-items: flex-start; }
    .nurturing-handoff-banner { flex-wrap: wrap; }
    .nurturing-handoff-banner > div { flex: 1 1 calc(100% - 50px); }
    .nurturing-handoff-banner > a { width: 100%; min-height: 40px; margin-left: 0; text-align: center; }
    .manager-assignment-panel { padding: 12px; }
    .manager-assignment-head { flex-direction: column; }
    .manager-select-grid { grid-template-columns: 1fr; }
    .manager-select-grid .field { padding: 12px; }
    .manager-select-grid select { min-height: 46px; font-size: 16px; }
    .manager-history-note { flex-direction: column; gap: 5px; }
    .contact-meta-list.manager-meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-meta-list.manager-meta-list > div:last-child { grid-column: 1 / -1; }
}

/* v0.13 성도양육 */
.eyebrow.green { color: #187255; }
.nurturing-summary-grid { margin-bottom: 14px; }
.nurturing-entry-note { display: flex; margin: 0 0 14px; padding: 13px 15px; align-items: center; gap: 11px; color: #527060; background: linear-gradient(135deg, #edf8f1, #f8fcf9); border: 1px solid #cee8d7; border-radius: 10px; }
.nurturing-entry-note > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #fff; background: #2a805a; border-radius: 50%; font-weight: 950; }
.nurturing-entry-note strong, .nurturing-entry-note p { display: block; margin: 0; }
.nurturing-entry-note strong { color: #1e6044; font-size: 10px; }
.nurturing-entry-note p { margin-top: 4px; font-size: 8px; line-height: 1.5; }

.nurturing-people-card { margin-bottom: 14px; }
.nurturing-person-grid { display: grid; padding: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; background: #f8fafc; border-top: 1px solid #e8ecf1; }
.nurturing-person-card { padding: 15px; background: #fff; border: 1px solid #dfe5ec; border-top: 3px solid #3c8c6a; border-radius: 11px; box-shadow: 0 4px 12px rgba(21, 43, 34, .035); }
.nurturing-person-card.overdue { border-top-color: #c47b19; }
.nurturing-person-head { display: flex; align-items: center; gap: 10px; }
.contact-avatar.small-avatar { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; font-size: 13px; }
.nurturing-person-head h3, .nurturing-person-head p { margin: 0; }
.nurturing-person-head h3 { margin-top: 5px; color: var(--ink); font-size: 12px; }
.nurturing-person-head p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.nurturing-stage { display: inline-flex; min-height: 21px; padding: 3px 6px; align-items: center; color: #315f50; background: #e8f5ed; border-radius: 999px; font-size: 7px; font-weight: 950; }
.nurturing-stage.stage-new_member { color: #345d9c; background: #e9f1ff; }
.nurturing-stage.stage-growing { color: #0f7254; background: #e2f6ec; }
.nurturing-stage.stage-stable { color: #286a3f; background: #e4f5e8; }
.nurturing-stage.stage-paused { color: #7b661f; background: #fff4da; }
.nurturing-person-meta { display: grid; margin: 13px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e9edf2; }
.nurturing-person-meta > div { min-width: 0; padding: 9px 8px 0 0; }
.nurturing-person-meta dt, .nurturing-person-meta dd { margin: 0; }
.nurturing-person-meta dt { color: var(--muted); font-size: 7px; }
.nurturing-person-meta dd { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: 9px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.danger-text { color: #b46b15 !important; }
.nurturing-person-actions { display: grid; margin-top: 12px; grid-template-columns: 1fr 1fr; gap: 7px; }
.nurturing-person-actions a { display: flex; min-height: 35px; align-items: center; justify-content: center; color: #17694f; background: #edf8f2; border-radius: 7px; font-size: 8px; font-weight: 950; text-decoration: none; }
.nurturing-person-actions a:last-child { color: #425d85; background: #f0f4fa; }

.nurturing-recent-card { margin-bottom: 14px; }
.nurturing-recent-list { border-top: 1px solid #e8ecf1; }
.nurturing-recent-list article { display: grid; min-height: 62px; padding: 10px 14px; grid-template-columns: 110px 140px 90px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f4; }
.nurturing-recent-list article:last-child { border-bottom: 0; }
.nurturing-recent-list time { color: var(--muted); font-size: 8px; }
.nurturing-recent-list a { color: #285593; font-size: 9px; font-weight: 950; text-decoration: none; }
.nurturing-recent-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }
.nurturing-recent-list article > span { width: fit-content; padding: 4px 6px; color: #176a50; background: #eaf6ef; border-radius: 5px; font-size: 7px; font-weight: 900; }
.nurturing-recent-list p { margin: 0; overflow: hidden; color: #5e6c7f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.nurturing-type-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.nurturing-type-option { cursor: pointer; }
.nurturing-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.nurturing-type-option span { display: flex; min-height: 48px; padding: 8px; align-items: center; justify-content: center; color: #596c80; background: #f7f9fc; border: 1px solid #dfe5ed; border-radius: 9px; font-size: 9px; font-weight: 950; text-align: center; }
.nurturing-type-option input:checked + span { color: #14684e; background: #eaf7ef; border-color: #71b493; box-shadow: inset 0 0 0 1px #71b493; }
[data-nurturing-conditional][hidden] { display: none; }
.attendance-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.attendance-choice-grid label { cursor: pointer; }
.attendance-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.attendance-choice-grid span { display: flex; min-height: 43px; align-items: center; justify-content: center; color: #627186; background: #f7f9fc; border: 1px solid #dfe5ed; border-radius: 8px; font-size: 9px; font-weight: 900; }
.attendance-choice-grid input:checked + span { color: #12654c; background: #e8f6ed; border-color: #72b392; }

.nurturing-overview-grid { display: grid; margin-bottom: 14px; grid-template-columns: 1.1fr .9fr; gap: 13px; }
.nurturing-profile-card, .nurturing-count-card { padding: 16px; }
.nurturing-profile-head { display: flex; align-items: center; gap: 11px; }
.nurturing-profile-head h2, .nurturing-profile-head p { margin: 0; }
.nurturing-profile-head h2 { margin-top: 5px; color: var(--ink); font-size: 14px; }
.nurturing-profile-head p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.nurturing-profile-meta { display: grid; margin: 14px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e8ecf1; }
.nurturing-profile-meta > div { min-width: 0; padding: 10px 8px 0 0; }
.nurturing-profile-meta dt, .nurturing-profile-meta dd { margin: 0; }
.nurturing-profile-meta dt { color: var(--muted); font-size: 7px; }
.nurturing-profile-meta dd { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.nurturing-count-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.nurturing-count-grid div { padding: 10px 7px; text-align: center; background: #f6f9f7; border-radius: 8px; }
.nurturing-count-grid span, .nurturing-count-grid strong { display: block; }
.nurturing-count-grid span { min-height: 20px; color: #6c7d74; font-size: 7px; line-height: 1.3; }
.nurturing-count-grid strong { margin-top: 3px; color: #17664d; font-size: 14px; }
.nurturing-overdue-banner { display: flex; min-height: 48px; margin-bottom: 14px; padding: 10px 13px; align-items: center; gap: 10px; color: #775d2d; background: #fff8e9; border: 1px solid #efdfbb; border-radius: 9px; }
.nurturing-overdue-banner strong { color: #965e12; font-size: 9px; }
.nurturing-overdue-banner span { flex: 1 1 auto; font-size: 8px; }
.nurturing-overdue-banner a { padding: 6px 9px; color: #8a5b15; background: #fff; border-radius: 6px; font-size: 8px; font-weight: 900; text-decoration: none; }

.nurturing-timeline-card { padding: 16px; }
.nurturing-timeline { margin-top: 4px; }
.nurturing-timeline-entry { position: relative; padding: 13px 0 13px 25px; border-bottom: 1px solid #edf0f4; }
.nurturing-timeline-entry:last-child { border-bottom: 0; }
.nurturing-timeline-entry::before { position: absolute; top: 0; bottom: 0; left: 6px; width: 1px; content: ''; background: #dfe7e2; }
.nurturing-timeline-entry:first-child::before { top: 19px; }
.nurturing-timeline-entry:last-child::before { bottom: calc(100% - 19px); }
.nurturing-timeline-mark { position: absolute; top: 17px; left: 2px; width: 9px; height: 9px; background: #37835f; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #9ac5ae; }
.nurturing-timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nurturing-timeline-top > span { color: #185f49; font-size: 10px; font-weight: 950; }
.nurturing-timeline-top time { color: var(--muted); font-size: 8px; }
.nurturing-timeline-tags { display: flex; margin-top: 5px; flex-wrap: wrap; gap: 5px; }
.nurturing-timeline-tags span { padding: 3px 6px; color: #557064; background: #edf5f0; border-radius: 5px; font-size: 7px; }
.nurturing-timeline-content > p { margin: 7px 0; color: #566678; font-size: 9px; line-height: 1.55; }
.nurturing-next-action { display: flex; padding: 7px 9px; align-items: flex-start; gap: 7px; color: #687483; background: #f6f8fb; border-radius: 6px; }
.nurturing-next-action strong { flex: 0 0 auto; color: #385d8d; font-size: 7px; }
.nurturing-next-action span { font-size: 8px; line-height: 1.45; }

@media (min-width: 761px) and (max-width: 1100px) {
    .nurturing-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nurturing-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nurturing-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nurturing-summary-grid .info-box:last-child { grid-column: 1 / -1; }
    .nurturing-entry-note { align-items: flex-start; }
    .nurturing-person-grid { padding: 10px; grid-template-columns: 1fr; }
    .nurturing-person-card { padding: 13px; }
    .nurturing-person-actions a { min-height: 43px; font-size: 10px; }
    .nurturing-recent-list article { margin: 0 10px; padding: 11px 0; grid-template-columns: 1fr auto; gap: 6px 10px; }
    .nurturing-recent-list time { grid-column: 1 / -1; }
    .nurturing-recent-list article > span { align-self: start; }
    .nurturing-recent-list p { grid-column: 1 / -1; white-space: normal; line-height: 1.45; }
    .nurturing-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nurturing-type-option span { min-height: 52px; font-size: 10px; }
    .attendance-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .attendance-choice-grid span { min-height: 47px; font-size: 10px; }
    .nurturing-overview-grid { grid-template-columns: 1fr; }
    .nurturing-profile-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nurturing-count-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nurturing-overdue-banner { align-items: flex-start; flex-direction: column; }
    .nurturing-overdue-banner a { width: 100%; min-height: 40px; text-align: center; }
    .nurturing-timeline-top { align-items: flex-start; flex-direction: column; gap: 3px; }
    .nurturing-timeline-content > p { font-size: 10px; }
    .nurturing-detail-heading .btn-link-primary { width: 100%; min-height: 45px; }
}

/* v0.14 성도양육 직접 등록 */
.member-registration-modes { display: grid; margin-bottom: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.member-registration-modes label { cursor: pointer; }
.member-registration-modes input { position: absolute; opacity: 0; pointer-events: none; }
.member-registration-modes span { display: flex; min-height: 68px; padding: 12px 14px; flex-direction: column; justify-content: center; color: #566b61; background: #f7faf8; border: 1px solid #dce8e1; border-radius: 10px; }
.member-registration-modes strong, .member-registration-modes small { display: block; }
.member-registration-modes strong { color: #294f40; font-size: 10px; }
.member-registration-modes small { margin-top: 4px; color: #78877f; font-size: 8px; }
.member-registration-modes input:checked + span { background: #eaf7ef; border-color: #65aa88; box-shadow: inset 0 0 0 1px #65aa88; }
.member-registration-modes input:checked + span strong { color: #11684b; }
.existing-member-picker, .new-member-fields { padding: 14px; background: #f9fbfc; border: 1px solid #e4e9ef; border-radius: 10px; }
.existing-member-picker[hidden], .new-member-fields[hidden] { display: none !important; }
.existing-member-picker .field { margin: 0; }
.new-member-fields .privacy-check { margin-top: 12px; }
.nurturing-start-grid { margin-top: 14px; }

@media (max-width: 760px) {
    .nurturing-register-heading .btn-link-primary { width: 100%; min-height: 45px; }
    .member-registration-modes { grid-template-columns: 1fr; }
    .member-registration-modes span { min-height: 62px; }
    .existing-member-picker, .new-member-fields { padding: 11px; }
}

/* v0.15 회의·보고 기록 */
.meeting-summary-grid { margin-bottom: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.meeting-purpose-banner, .meeting-version-rule { display: flex; margin-bottom: 14px; padding: 13px 15px; align-items: center; gap: 11px; color: #5c6373; background: linear-gradient(135deg, #f4f1fb, #faf9fd); border: 1px solid #dfd7ef; border-radius: 10px; }
.meeting-purpose-banner > span, .meeting-version-rule > span { display: grid; min-width: 36px; min-height: 36px; padding: 0 7px; place-items: center; color: #fff; background: #6a51a3; border-radius: 9px; font-size: 8px; font-weight: 950; }
.meeting-purpose-banner strong, .meeting-version-rule strong { color: #4a3a75; font-size: 10px; }
.meeting-purpose-banner p, .meeting-version-rule p { margin: 4px 0 0; font-size: 8px; line-height: 1.5; }
.meeting-list { border-top: 1px solid #e8ecf1; }
.meeting-row { display: grid; min-height: 82px; padding: 12px 15px; grid-template-columns: 58px 1fr 250px 92px; align-items: center; gap: 12px; border-bottom: 1px solid #edf0f4; }
.meeting-date { text-align: center; }
.meeting-date strong, .meeting-date span { display: block; }
.meeting-date strong { color: #4e6290; font-size: 15px; }
.meeting-date span { margin-top: 2px; color: var(--muted); font-size: 7px; }
.meeting-main h3, .meeting-main p { margin: 0; }
.meeting-main h3 { margin-top: 6px; color: var(--ink); font-size: 11px; }
.meeting-main p { margin-top: 4px; color: var(--muted); font-size: 8px; }
.meeting-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.meeting-tags span, .meeting-status, .minutes-version-badge { padding: 3px 6px; color: #5a6381; background: #f0f2f8; border-radius: 999px; font-size: 7px; font-weight: 900; font-style: normal; }
.meeting-status.status-completed { color: #17664d; background: #e7f5ec; }
.meeting-status.status-scheduled { color: #315c9a; background: #eaf1fd; }
.meeting-status.status-cancelled { color: #8a5d5d; background: #f8eaea; }
.meeting-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.meeting-stats span { padding: 8px 7px; color: #7a8492; background: #f8f9fb; border-radius: 7px; font-size: 7px; text-align: center; }
.meeting-stats b { display: block; margin-top: 3px; color: #394d69; font-size: 9px; }
.meeting-open { display: flex; min-height: 34px; align-items: center; justify-content: center; color: #405e91; background: #f0f4fa; border-radius: 7px; font-size: 8px; font-weight: 900; text-decoration: none; }
.meeting-base-grid { margin-top: 14px; }
.meeting-participant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.meeting-participant-grid label { cursor: pointer; }
.meeting-participant-grid input { position: absolute; opacity: 0; pointer-events: none; }
.meeting-participant-grid span { display: block; min-height: 54px; padding: 10px 11px; background: #f8fafc; border: 1px solid #dfe5ec; border-radius: 8px; }
.meeting-participant-grid strong, .meeting-participant-grid small { display: block; }
.meeting-participant-grid strong { color: #40506a; font-size: 9px; }
.meeting-participant-grid small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.meeting-participant-grid input:checked + span { background: #eef5ff; border-color: #7598d0; box-shadow: inset 0 0 0 1px #7598d0; }
.minutes-status-choice { display: grid; margin-top: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.minutes-status-choice label { cursor: pointer; }
.minutes-status-choice input { position: absolute; opacity: 0; pointer-events: none; }
.minutes-status-choice span { display: block; padding: 10px 12px; background: #f8f9fb; border: 1px solid #e0e5eb; border-radius: 8px; }
.minutes-status-choice strong, .minutes-status-choice small { display: block; }
.minutes-status-choice strong { color: #43536b; font-size: 9px; }
.minutes-status-choice small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.minutes-status-choice input:checked + span { background: #edf7f2; border-color: #6da88d; box-shadow: inset 0 0 0 1px #6da88d; }
.meeting-action-form-list { display: grid; gap: 10px; }
.meeting-action-form-row { position: relative; padding: 13px 13px 13px 48px; background: #f9fafc; border: 1px solid #e4e8ee; border-radius: 9px; }
.meeting-action-form-row .action-number { position: absolute; top: 13px; left: 13px; display: grid; width: 25px; height: 25px; place-items: center; color: #fff; background: #647aa1; border-radius: 50%; font-size: 8px; font-weight: 950; }
.meeting-detail-grid { display: grid; margin-bottom: 14px; grid-template-columns: 1.15fr .85fr; gap: 13px; }
.meeting-fact-card, .meeting-participant-card { padding: 15px; }
.meeting-fact-list { display: grid; margin: 10px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.meeting-fact-list > div { min-width: 0; padding: 9px 8px 9px 0; border-top: 1px solid #edf0f4; }
.meeting-fact-list dt, .meeting-fact-list dd { margin: 0; }
.meeting-fact-list dt { color: var(--muted); font-size: 7px; }
.meeting-fact-list dd { margin-top: 4px; color: var(--ink); font-size: 9px; font-weight: 850; line-height: 1.45; }
.meeting-participant-list { display: grid; margin-top: 9px; gap: 6px; }
.meeting-participant-list > div { display: flex; padding: 7px 8px; align-items: center; gap: 8px; background: #f8fafb; border-radius: 7px; }
.meeting-participant-list > div > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: #fff; background: #6c83a9; border-radius: 50%; font-size: 8px; font-weight: 950; }
.meeting-participant-list strong, .meeting-participant-list small { display: block; }
.meeting-participant-list strong { color: #435067; font-size: 9px; }
.meeting-participant-list small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.meeting-minutes-card, .meeting-actions-card, .minutes-history-card { margin-bottom: 14px; padding: 15px; }
.minutes-version-badge { color: #5d467e; background: #f1ecf8; }
.minutes-columns { display: grid; margin-top: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.minutes-columns article { min-height: 140px; padding: 14px; background: #f9fafc; border: 1px solid #e5e8ed; border-radius: 9px; }
.minutes-columns article > span { color: #7e6aa3; font-size: 7px; font-weight: 950; letter-spacing: .06em; }
.minutes-columns h3 { margin: 5px 0 8px; color: #3f4d62; font-size: 10px; }
.minutes-columns p { margin: 0; color: #5d6878; font-size: 9px; line-height: 1.65; }
.minutes-meta { margin-top: 9px; color: var(--muted); font-size: 7px; text-align: right; }
.meeting-action-list { margin-top: 8px; }
.meeting-action-list article { display: grid; padding: 10px 0; grid-template-columns: 46px 1fr 76px; align-items: center; gap: 10px; border-top: 1px solid #edf0f4; }
.meeting-action-list .action-state { padding: 5px 6px; color: #8a661c; background: #fff4dc; border-radius: 5px; font-size: 7px; font-weight: 900; text-align: center; }
.meeting-action-list article.completed .action-state { color: #267054; background: #e8f5ed; }
.meeting-action-list article.overdue .action-state { color: #a35324; background: #fdebdc; }
.meeting-action-list h3, .meeting-action-list p { margin: 0; }
.meeting-action-list h3 { color: #3d4c61; font-size: 9px; }
.meeting-action-list p { margin-top: 3px; color: #687487; font-size: 8px; }
.meeting-action-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 7px; }
.meeting-action-list button { min-height: 32px; padding: 5px 7px; color: #47628b; background: #eef3fa; border: 0; border-radius: 6px; font-size: 7px; font-weight: 900; cursor: pointer; }
.minutes-history-list { border-top: 1px solid #edf0f4; }
.minutes-history-list > div { display: grid; padding: 8px 4px; grid-template-columns: 60px 70px 1fr 120px; gap: 8px; color: #697486; border-bottom: 1px solid #edf0f4; font-size: 8px; }
.minutes-history-list strong { color: #4c6082; }

@media (min-width: 761px) and (max-width: 1100px) {
    .meeting-row { grid-template-columns: 50px 1fr 210px; }
    .meeting-open { grid-column: 2 / -1; }
    .meeting-participant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .meeting-heading .btn-link-primary, .meeting-detail-heading .btn-link-primary { width: 100%; min-height: 45px; }
    .meeting-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .meeting-purpose-banner, .meeting-version-rule { align-items: flex-start; }
    .meeting-row { margin: 10px; padding: 12px; grid-template-columns: 46px 1fr; gap: 9px; background: #fff; border: 1px solid #e2e7ed; border-radius: 10px; }
    .meeting-stats { grid-column: 1 / -1; }
    .meeting-open { grid-column: 1 / -1; min-height: 42px; font-size: 10px; }
    .meeting-participant-grid { grid-template-columns: 1fr; }
    .meeting-participant-grid span { min-height: 58px; }
    .minutes-status-choice { grid-template-columns: 1fr; }
    .meeting-action-form-row { padding: 12px; }
    .meeting-action-form-row .action-number { position: static; margin-bottom: 8px; }
    .meeting-detail-grid, .minutes-columns { grid-template-columns: 1fr; }
    .meeting-fact-list { grid-template-columns: 1fr; }
    .meeting-action-list article { grid-template-columns: 44px 1fr; }
    .meeting-action-list form { grid-column: 1 / -1; }
    .meeting-action-list button { width: 100%; min-height: 40px; }
    .minutes-history-list > div { grid-template-columns: 48px 55px 1fr; }
    .minutes-history-list time { grid-column: 1 / -1; }
}

/* v0.16 총회 분석 대시보드 */
.hq-body { --hq-navy: #17243a; --hq-blue: #315f9e; --hq-cyan: #3f8ea0; --hq-violet: #69569c; }
.hq-sidebar { background: linear-gradient(180deg, #142238 0%, #172a47 62%, #132238 100%); }
.hq-sidebar .brand-mark.small, .hq-topbar .mobile-brand { background: #315f9e; }
.hq-nav a.active { color: #fff; background: rgba(77, 128, 194, .28); border-left-color: #71a4e5; }
.hq-eyebrow { color: #315f9e; }
.hq-date-chip { color: #345a8b; background: #edf3fb; border-color: #d7e3f2; }
.hq-command-grid { display: grid; margin-bottom: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hq-command-card { position: relative; min-height: 108px; padding: 14px; overflow: hidden; background: #fff; border: 1px solid #e0e5eb; border-top: 3px solid #56729a; border-radius: 10px; box-shadow: 0 5px 15px rgba(27, 42, 64, .04); }
.hq-command-card > span { position: absolute; top: 11px; right: 11px; display: grid; width: 25px; height: 25px; place-items: center; color: #71819a; background: #f0f3f7; border-radius: 7px; font-size: 7px; font-weight: 950; }
.hq-command-card small, .hq-command-card strong, .hq-command-card p { display: block; }
.hq-command-card small { color: #718095; font-size: 8px; font-weight: 900; }
.hq-command-card strong { margin-top: 10px; color: #263951; font-size: 23px; line-height: 1; }
.hq-command-card p { margin: 7px 0 0; color: #8993a2; font-size: 7px; }
.hq-command-card.primary { border-top-color: #315f9e; }
.hq-command-card.review { border-top-color: #67569a; }
.hq-command-card.risk { border-top-color: #c37731; }
.hq-command-card.risk > span { color: #a35d24; background: #fff0e2; }
.hq-command-card.project { border-top-color: #37806f; }
.hq-command-card.action { border-top-color: #8c6071; }
.hq-alert-strip { display: flex; min-height: 60px; margin-bottom: 14px; padding: 11px 14px; align-items: center; gap: 11px; color: #506f62; background: #eef8f3; border: 1px solid #d2e9dd; border-radius: 9px; }
.hq-alert-strip > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: #fff; background: #38806b; border-radius: 50%; font-weight: 950; }
.hq-alert-strip strong { color: #2c6454; font-size: 9px; }
.hq-alert-strip p { margin: 3px 0 0; font-size: 8px; line-height: 1.45; }
.hq-alert-strip.has-risk { color: #805c37; background: #fff6e8; border-color: #ecd9b8; }
.hq-alert-strip.has-risk > span { background: #bd7532; }
.hq-alert-strip.has-risk strong { color: #8f5827; }
.hq-main-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hq-main-grid > .span-2 { grid-column: 1 / -1; }
.hq-review-queue, .hq-country-card, .hq-matching-readiness, .hq-project-card, .hq-coaching-card, .hq-action-card { padding: 15px; }
.hq-count-badge, .hq-phase { padding: 4px 7px; color: #405f89; background: #edf3fb; border-radius: 999px; font-size: 7px; font-weight: 950; }
.hq-request-list { margin-top: 9px; border-top: 1px solid #e7ebf0; }
.hq-request-row { display: grid; min-height: 92px; padding: 11px 4px; grid-template-columns: 78px minmax(210px, 1fr) 295px 145px; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f4; }
.hq-priority { padding: 8px 7px; color: #6c7482; background: #f6f7f9; border-radius: 7px; text-align: center; }
.hq-priority strong, .hq-priority span { display: block; }
.hq-priority strong { font-size: 8px; }
.hq-priority span { margin-top: 3px; font-size: 7px; }
.priority-urgent .hq-priority { color: #9c5527; background: #fff0e4; }
.priority-high .hq-priority { color: #715c29; background: #fff7e5; }
.hq-request-main h3, .hq-request-main p { margin: 0; }
.hq-request-main h3 { margin-top: 5px; color: #2f4057; font-size: 10px; }
.hq-request-main p { margin-top: 4px; color: #7f8997; font-size: 7px; }
.hq-request-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.hq-request-tags span, .hq-request-tags em { padding: 3px 5px; color: #526986; background: #f0f4f9; border-radius: 4px; font-size: 6px; font-style: normal; font-weight: 850; }
.hq-request-tags em { color: #5a4f7d; background: #f1eef7; }
.hq-request-numbers { display: grid; grid-template-columns: 75px 75px 1fr; gap: 5px; }
.hq-request-numbers > div { min-width: 0; padding: 7px 6px; background: #f8f9fb; border-radius: 6px; text-align: center; }
.hq-request-numbers small, .hq-request-numbers strong { display: block; }
.hq-request-numbers small { color: #8a94a2; font-size: 6px; }
.hq-request-numbers strong { margin-top: 3px; color: #40516a; font-size: 8px; white-space: nowrap; }
.hq-request-numbers .safe { background: #eef8f3; }
.hq-request-numbers .safe strong { color: #27705a; }
.hq-request-numbers .danger { background: #fff0e6; }
.hq-request-numbers .danger strong { color: #a65d2b; }
.hq-match-state span, .hq-match-state strong, .hq-match-state small { display: block; }
.hq-match-state span { color: #8892a1; font-size: 6px; }
.hq-match-state strong { margin-top: 4px; color: #5a6780; font-size: 7px; }
.hq-match-state small { margin-top: 5px; color: #8b94a0; font-size: 6px; }
.hq-formula-note { margin: 10px 0 0; color: #8a93a0; font-size: 7px; line-height: 1.45; }
.hq-country-list { display: grid; margin-top: 10px; gap: 9px; }
.hq-country-list > div { display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 8px; }
.hq-country-list span { color: #516785; font-size: 8px; font-weight: 950; }
.hq-country-list > div > div { height: 7px; overflow: hidden; background: #eef1f5; border-radius: 999px; }
.hq-country-list i { display: block; height: 100%; background: linear-gradient(90deg, #496f9f, #6c91bc); border-radius: 999px; }
.hq-country-list strong { color: #5d6b7e; font-size: 8px; text-align: right; }
.hq-readiness-stack { display: grid; margin-top: 10px; gap: 7px; }
.hq-readiness-stack > div { display: grid; padding: 9px; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; background: #f8f9fb; border: 1px solid #e7eaee; border-radius: 8px; }
.hq-readiness-stack > div > span { display: grid; width: 27px; height: 27px; place-items: center; color: #fff; background: #70809a; border-radius: 7px; font-size: 8px; font-weight: 950; }
.hq-readiness-stack .done > span { background: #377a68; }
.hq-readiness-stack .waiting > span { background: #a17742; }
.hq-readiness-stack strong, .hq-readiness-stack small { display: block; }
.hq-readiness-stack strong { color: #425069; font-size: 8px; }
.hq-readiness-stack small { margin-top: 2px; color: #89929e; font-size: 6px; }
.hq-readiness-stack b { color: #65748a; font-size: 7px; }
.hq-matching-readiness > p { margin: 10px 0 0; color: #7a8594; font-size: 7px; line-height: 1.5; }
.hq-project-list { margin-top: 8px; border-top: 1px solid #e9edf2; }
.hq-project-list article { display: grid; min-height: 71px; padding: 9px 3px; grid-template-columns: 1fr 260px 90px; align-items: center; gap: 12px; border-bottom: 1px solid #edf0f4; }
.hq-project-list h3, .hq-project-list p { margin: 0; }
.hq-project-list h3 { display: inline; margin-left: 6px; color: #35465c; font-size: 9px; }
.hq-project-list p { margin-top: 4px; color: #87909c; font-size: 7px; }
.hq-project-status { padding: 3px 5px; color: #476987; background: #edf3f8; border-radius: 4px; font-size: 6px; font-weight: 900; }
.hq-project-status.status-active { color: #1f6a54; background: #e9f6ef; }
.hq-project-progress > div { height: 8px; overflow: hidden; background: #eef1f4; border-radius: 999px; }
.hq-project-progress i { display: block; height: 100%; background: linear-gradient(90deg, #3a7a68, #62a087); border-radius: 999px; }
.hq-project-progress span { display: block; margin-top: 4px; color: #748091; font-size: 7px; text-align: center; }
.hq-project-stat { padding: 7px; background: #f7f9fb; border-radius: 7px; text-align: center; }
.hq-project-stat small, .hq-project-stat strong { display: block; }
.hq-project-stat small { color: #8993a0; font-size: 6px; }
.hq-project-stat strong { margin-top: 3px; color: #435673; font-size: 10px; }
.hq-coaching-list, .hq-action-list { margin-top: 8px; }
.hq-coaching-list > div { display: grid; padding: 8px 3px; grid-template-columns: 74px 1fr 48px; align-items: center; gap: 8px; border-top: 1px solid #edf0f4; }
.hq-coaching-list time { color: #7d8794; font-size: 7px; }
.hq-coaching-list strong, .hq-coaching-list small { display: block; }
.hq-coaching-list strong { color: #415067; font-size: 8px; }
.hq-coaching-list small { margin-top: 3px; color: #8a939f; font-size: 6px; }
.hq-coaching-list > div > span { color: #6d5e8d; font-size: 7px; text-align: right; }
.hq-action-list > div { display: flex; padding: 8px 3px; align-items: center; gap: 8px; border-top: 1px solid #edf0f4; }
.hq-action-list > div > span { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; color: #6d7a8d; background: #eef1f5; border-radius: 50%; font-size: 8px; font-weight: 950; }
.hq-action-list > div.overdue > span { color: #fff; background: #b56d33; }
.hq-action-list strong, .hq-action-list small { display: block; }
.hq-action-list strong { color: #455268; font-size: 8px; }
.hq-action-list small { margin-top: 3px; color: #8c949f; font-size: 6px; }

@media (min-width: 761px) and (max-width: 1180px) {
    .hq-command-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hq-request-row { grid-template-columns: 70px 1fr 250px; }
    .hq-match-state { grid-column: 2 / -1; }
    .hq-project-list article { grid-template-columns: 1fr 220px; }
    .hq-project-stat { grid-column: 2; }
}

@media (max-width: 760px) {
    .hq-command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hq-command-card { min-height: 104px; }
    .hq-command-card:last-child { grid-column: 1 / -1; }
    .hq-alert-strip { align-items: flex-start; }
    .hq-main-grid { grid-template-columns: 1fr; }
    .hq-main-grid > .span-2 { grid-column: auto; }
    .hq-request-row { margin: 10px 0; padding: 12px; grid-template-columns: 70px 1fr; gap: 9px; background: #fff; border: 1px solid #e3e7ed; border-radius: 9px; }
    .hq-request-numbers, .hq-match-state { grid-column: 1 / -1; }
    .hq-request-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hq-request-numbers > div { min-height: 48px; }
    .hq-project-list article { grid-template-columns: 1fr; }
    .hq-project-progress, .hq-project-stat { grid-column: auto; }
    .hq-coaching-list > div { grid-template-columns: 66px 1fr; }
    .hq-coaching-list > div > span { grid-column: 2; text-align: left; }
}

/* v0.17 총회 연합회·지방회 교회밀도 */
.hq-strategy-section { margin-bottom: 18px; }
.hq-section-title { display: flex; margin: 2px 0 12px; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hq-section-title span { color: #5173a1; font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.hq-section-title h2, .hq-section-title p { margin: 0; }
.hq-section-title h2 { margin-top: 4px; color: #253b58; font-size: 15px; }
.hq-section-title p { margin-top: 4px; color: #7e8998; font-size: 8px; }
.hq-policy-chip { padding: 7px 10px; color: #315f9e; background: #edf3fb; border: 1px solid #d8e4f3; border-radius: 7px; font-size: 8px; font-weight: 950; white-space: nowrap; }
.operations-title { margin-top: 20px; padding-top: 5px; border-top: 1px solid #e4e8ee; }
.operations-title > div { padding-top: 12px; }
.hq-strategy-summary-grid { display: grid; margin-bottom: 11px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.hq-strategy-summary-grid article { min-height: 90px; padding: 13px; background: #fff; border: 1px solid #e0e5eb; border-radius: 9px; box-shadow: 0 4px 12px rgba(27, 42, 64, .035); }
.hq-strategy-summary-grid small, .hq-strategy-summary-grid strong, .hq-strategy-summary-grid span { display: block; }
.hq-strategy-summary-grid small { color: #738197; font-size: 7px; font-weight: 900; }
.hq-strategy-summary-grid strong { margin-top: 8px; color: #2d4667; font-size: 20px; }
.hq-strategy-summary-grid span { margin-top: 5px; color: #8a94a1; font-size: 7px; }
.hq-strategy-summary-grid article.standard { background: #f1f8f5; border-color: #d6e9e1; }
.hq-strategy-summary-grid article.standard strong { color: #2a735c; }
.hq-strategy-summary-grid article.gap { background: #fff7eb; border-color: #eee0c8; }
.hq-strategy-summary-grid article.gap strong { color: #a76827; }
.hq-expansion-policy { display: flex; margin-bottom: 11px; padding: 12px 14px; align-items: center; gap: 11px; color: #536d61; background: linear-gradient(135deg, #edf8f3, #f9fcfa); border: 1px solid #d0e8dc; border-radius: 9px; }
.hq-expansion-policy > span { padding: 6px 8px; color: #fff; background: #377861; border-radius: 6px; font-size: 7px; font-weight: 950; }
.hq-expansion-policy strong { color: #2a644f; font-size: 9px; }
.hq-expansion-policy p { margin: 3px 0 0; font-size: 8px; line-height: 1.45; }
.hq-association-table-card, .hq-conference-table-card { margin-bottom: 11px; padding: 14px; }
.hq-org-table-wrap { margin-top: 9px; overflow-x: auto; border: 1px solid #e7eaf0; border-radius: 8px; }
.hq-org-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.hq-org-table th { padding: 8px 7px; color: #718097; background: #f5f7fa; border-bottom: 1px solid #e2e7ed; font-size: 6px; font-weight: 950; text-align: left; white-space: nowrap; }
.hq-org-table td { padding: 9px 7px; color: #5d6878; border-bottom: 1px solid #edf0f3; font-size: 7px; vertical-align: middle; }
.hq-org-table tbody tr:last-child td { border-bottom: 0; }
.hq-org-table tbody tr:hover { background: #fbfcfd; }
.hq-org-table td strong, .hq-org-table td small { display: block; }
.hq-org-table td > strong { color: #3d4d65; font-size: 8px; }
.hq-org-table td small { margin-top: 3px; color: #8b94a0; font-size: 6px; }
.country-code-box { display: inline-flex; min-width: 28px; min-height: 22px; align-items: center; justify-content: center; color: #3e618e; background: #edf3fb; border-radius: 5px; font-size: 7px; font-weight: 950; }
.need-input { display: inline-flex; padding: 3px 5px; color: #9b6528; background: #fff3df; border-radius: 4px; font-size: 6px; font-weight: 900; }
.standard-count { color: #217056 !important; }
.gap-count { color: #a55c27 !important; }
.density-progress { display: grid; min-width: 92px; grid-template-columns: 1fr 30px; align-items: center; gap: 5px; }
.density-progress > div { height: 6px; overflow: hidden; background: #edf0f4; border-radius: 999px; }
.density-progress i { display: block; height: 100%; background: linear-gradient(90deg, #397c68, #6baa91); border-radius: 999px; }
.density-progress span { color: #5c6b7d; font-size: 6px; text-align: right; }
.expansion-policy, .conference-state { display: inline-flex; padding: 4px 6px; border-radius: 5px; font-size: 6px; font-weight: 950; white-space: nowrap; }
.expansion-policy.policy-planting { color: #725c92; background: #f0ebf7; }
.expansion-policy.policy-expansion { color: #286b56; background: #e9f6ef; }
.expansion-policy.policy-mature { color: #345f91; background: #eaf2fb; }
.conference-state.state-under { color: #956027; background: #fff3df; }
.conference-state.state-standard { color: #246b52; background: #e7f5ed; }
.conference-state.state-over { color: #755d8f; background: #f0ecf6; }
.org-stat-edit { display: inline-flex; min-height: 27px; padding: 5px 7px; align-items: center; justify-content: center; color: #46658f; background: #eff4fa; border-radius: 5px; font-size: 6px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.hq-population-rule { display: flex; margin-bottom: 14px; padding: 13px 15px; align-items: center; gap: 11px; color: #53677d; background: #f0f5fb; border: 1px solid #d8e4f1; border-radius: 9px; }
.hq-population-rule > span { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: #fff; background: #3f6596; border-radius: 9px; font-size: 8px; font-weight: 950; }
.hq-population-rule strong { color: #34557f; font-size: 9px; }
.hq-population-rule p { margin: 4px 0 0; font-size: 8px; line-height: 1.5; }
.hq-population-preview { display: flex; min-height: 70px; padding: 10px 12px; flex-direction: column; justify-content: center; background: #f3f8f5; border: 1px solid #d9e9e0; border-radius: 8px; }
.hq-population-preview small, .hq-population-preview strong, .hq-population-preview span { display: block; }
.hq-population-preview small { color: #75867e; font-size: 7px; }
.hq-population-preview strong { margin-top: 4px; color: #276d55; font-size: 13px; }
.hq-population-preview span { margin-top: 3px; color: #89948f; font-size: 7px; }

@media (min-width: 761px) and (max-width: 1180px) {
    .hq-strategy-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .hq-section-title { align-items: flex-start; flex-direction: column; }
    .hq-strategy-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hq-expansion-policy { align-items: flex-start; flex-direction: column; }
    .hq-org-table-wrap { overflow: visible; border: 0; }
    .hq-org-table { min-width: 0; }
    .hq-org-table thead { display: none; }
    .hq-org-table, .hq-org-table tbody, .hq-org-table tr, .hq-org-table td { display: block; width: 100%; }
    .hq-org-table tr { margin-bottom: 10px; padding: 10px; background: #fff; border: 1px solid #e1e6ed; border-radius: 9px; }
    .hq-org-table td { display: grid; min-height: 34px; padding: 6px 3px; grid-template-columns: 105px 1fr; align-items: center; border-bottom: 1px solid #edf0f4; font-size: 9px; }
    .hq-org-table td:last-child { border-bottom: 0; }
    .hq-org-table td::before { content: attr(data-label); color: #84909f; font-size: 8px; font-weight: 850; }
    .hq-org-table td small { font-size: 7px; }
    .density-progress { min-width: 0; }
    .org-stat-edit { min-height: 38px; font-size: 9px; }
    .hq-population-rule { align-items: flex-start; }
}
