:root { color-scheme: light; font-family: system-ui, sans-serif; color: #1d2939; background: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #15324f; color: white; display: flex; align-items: center; gap: 2rem; padding: 1rem 5%; }
header a { color: white; text-decoration: none; }
header .brand { font-weight: 700; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; flex: 1; }
main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; }
section { background: white; border: 1px solid #dde4ec; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards section { display: flex; flex-direction: column; gap: .5rem; }
.cards strong { font-size: 2rem; }
label { display: grid; gap: .3rem; font-size: .9rem; }
input, select, button { font: inherit; padding: .6rem .75rem; border: 1px solid #bbc8d6; border-radius: 5px; }
button { background: #205b89; color: white; border-color: #205b89; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary { color: #244661; background: white; border-color: #bbc8d6; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.table-wrap { overflow-x: auto; background: white; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: .8rem; text-align: left; border-bottom: 1px solid #e6ebf0; }
th { background: #eff4f8; }
.pagination { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.login { max-width: 420px; margin: 8vh auto; background: white; border: 1px solid #dde4ec; border-radius: 8px; padding: 2rem; }
.login form { display: grid; gap: 1rem; } .error { color: #a42828; } .notice { overflow-wrap: anywhere; font-weight: 600; }
@media (max-width: 620px) { header { flex-wrap: wrap; gap: .8rem; } nav { order: 3; flex-basis: 100%; } .cards { grid-template-columns: 1fr; gap: 0; } }
:root { font-family: system-ui, sans-serif; color: #263244; background: #f4f6f8; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display:flex; align-items:center; gap:20px; padding:18px 5%; background:#fff; border-bottom:1px solid #dce1e8; }
header strong { margin-right:auto; }
header #header-actions { display:flex; align-items:center; gap:10px; }
header #header-actions a { color:#244b83; text-decoration:none; padding:8px 12px; border:1px solid #bac4d1; border-radius:4px; white-space:nowrap; }
header #header-actions a:hover, header #header-actions a[aria-current] { background:#e7edf5; }
nav { padding:12px 5%; background:#e9edf3; display:flex; flex-wrap:wrap; gap:8px 24px; }
nav a { display:inline-block; color:#244b83; }
nav a[aria-current] { font-weight:700; }
main { max-width:1200px; margin:24px auto; padding:0 24px 40px; }
h1 { font-size:26px; } h2 { font-size:20px; }
button, input, select, textarea { font:inherit; padding:8px 12px; border:1px solid #bac4d1; border-radius:4px; }
button { background:#fff; cursor:pointer; } button:hover { background:#e7edf5; } button:disabled { opacity:.5; cursor:wait; }
input,select,textarea { background:#fff; max-width:100%; }
label { display:inline-flex; flex-direction:column; gap:4px; }
form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:18px 0; }
.login { max-width:430px; margin:70px auto; background:white; padding:26px; border:1px solid #dce1e8; }
.login form,.login label { display:flex; flex-direction:column; align-items:stretch; width:100%; }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.card { background:#fff; border:1px solid #dce1e8; padding:18px; } .card strong { display:block; font-size:30px; }
.table-wrap { overflow-x:auto; background:#fff; border:1px solid #dce1e8; }
table { border-collapse:collapse; width:100%; white-space:nowrap; } th,td { text-align:left; padding:12px; border-bottom:1px solid #e2e7ee; } th { background:#edf1f6; }
.badge { display:inline-block; border-radius:4px; padding:2px 8px; background:#e9edf3; }
.OFFLINE { color:#7a3040; background:#f8e4e9; } .STALE { color:#805400; background:#fff1cc; }
.DANGER,.HIGH,.CRITICAL,.NEW,.REQUEST { color:#912727; background:#ffe6e6; } .WARNING,.MEDIUM,.ACKNOWLEDGED { color:#805400; background:#fff1cc; } .NORMAL,.LOW,.RESOLVED { color:#24633b; background:#e1f4e7; }
.muted { color:#59677a; } .error { color:#912727; } .empty { padding:24px; text-align:center; }
.page-heading { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:16px; margin-bottom:20px; }
.page-heading h1 { margin:0; } .page-heading p { margin:4px 0; }
.eyebrow { color:#315f94; font-size:13px; font-weight:700; letter-spacing:.06em; }
.panel { margin-top:24px; } .panel h2 { margin:0 0 12px; }
.hint { margin-top:18px; padding:12px 16px; border-left:3px solid #8aa9cc; background:#eaf1f9; color:#405269; }
.text-link { color:#244b83; }
.settings-panel { background:#fff; border:1px solid #dce1e8; padding:20px; }
.inline-form { display:flex; flex-wrap:nowrap; gap:6px; margin:0; }
.inline-form select { min-width:120px; }
.report-note { display:block; max-width:240px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#notice { margin:12px 5%; min-height:26px; } .toolbar { display:flex; justify-content:space-between; gap:12px; align-items:center; }
dialog { width:min(620px,95vw); border:1px solid #bac4d1; border-radius:6px; padding:24px; } dialog::backdrop { background:#17253666; }
dl { display:grid; grid-template-columns:130px 1fr; gap:10px; } dd { margin:0; overflow-wrap:anywhere; } textarea { width:100%; }
[hidden] { display:none !important; } :focus-visible { outline:3px solid #3974b9; outline-offset:2px; }
@media(max-width:600px) { header { flex-wrap:wrap; gap:8px; } main { padding:0 12px; } dl { grid-template-columns:1fr; } }

/* 관제 대시보드 레이아웃 */
:root { font-family: system-ui, -apple-system, "Malgun Gothic", sans-serif; color:#17243b; background:#f4f7fb; line-height:1.5; }
body { min-width:320px; }
.app-shell { display:grid; grid-template-columns:224px minmax(0,1fr); min-height:100vh; }
.app-shell.logged-out { grid-template-columns:1fr; }
.workspace { min-width:0; }
.sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:24px 16px 18px; color:#eaf1fd; background:#12233f; }
.brand { display:flex; align-items:center; gap:11px; margin:0 8px 48px; color:#fff; text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:#3371ed; font-weight:800; box-shadow:0 6px 16px #07162b55; }
.brand strong,.brand small { display:block; line-height:1.25; }
.brand strong { font-size:16px; letter-spacing:-.02em; }
.brand small { margin-top:4px; color:#8fa4c4; font-size:11px; }
.nav-label { padding:0 14px; margin-bottom:10px; color:#7088ac; font-size:10px; font-weight:800; letter-spacing:.14em; }
.sidebar nav { display:flex; flex-direction:column; gap:5px; padding:0; background:transparent; }
.sidebar nav a { display:flex; align-items:center; gap:12px; min-height:43px; margin:0; padding:0 13px; color:#9fb2d0; text-decoration:none; font-size:13px; font-weight:600; border-radius:10px; transition:background .15s,color .15s; }
.sidebar nav a:hover,.sidebar nav a[aria-current] { color:#fff; background:#223e68; }
.sidebar nav a[aria-current] { box-shadow:inset 3px 0 #5b94ff; }
.nav-icon { display:grid; place-items:center; width:20px; font-size:16px; font-weight:700; color:#7fa1d8; }
.sidebar nav a[aria-current] .nav-icon { color:#9dc0ff; }
.sidebar-footer { display:flex; align-items:center; gap:10px; margin-top:auto; padding:15px 13px; border-top:1px solid #294265; color:#e6efff; }
.sidebar-footer strong,.sidebar-footer small { display:block; }
.sidebar-footer strong { font-size:12px; }.sidebar-footer small { margin-top:3px; font-size:10px; color:#8299bb; }
.site-dot { display:inline-block; flex:none; width:8px; height:8px; border-radius:50%; background:#22b881; box-shadow:0 0 0 3px #22b88122; }
.topbar { display:flex; justify-content:flex-end; align-items:center; gap:12px; min-height:72px; padding:12px 34px; background:#f4f7fb; border:0; }
.topbar .mobile-brand { display:none; margin-right:auto; }
.topbar #header-actions { gap:8px; }
.topbar #header-actions a { color:#415773; background:#fff; border:1px solid #e3e9f2; border-radius:9px; padding:9px 13px; font-size:12px; font-weight:700; box-shadow:0 2px 5px #18274408; }
.topbar #header-actions a:hover,.topbar #header-actions a[aria-current] { color:#2162ca; background:#eaf2ff; border-color:#bfd5fa; }
.topbar #logout { color:#415773; background:#fff; border-color:#e3e9f2; font-size:12px; font-weight:700; padding:9px 13px; border-radius:9px; }
main { max-width:1540px; margin:0 auto; padding:0 32px 56px; }
main > h1 { margin:4px 0 18px; }
h1 { font-size:25px; letter-spacing:-.035em; } h2 { font-size:16px; letter-spacing:-.02em; }
button,input,select,textarea { border-radius:8px; border-color:#dbe3ee; }
button { color:#234674; font-weight:650; }
button:hover { background:#edf4ff; }
input:focus,select:focus,textarea:focus { border-color:#68a0ed; outline:2px solid #d8e9ff; }
form { gap:10px; }
.cards { gap:16px; }
.card { border:1px solid #e5ebf3; border-radius:14px; padding:19px; box-shadow:0 5px 17px #20314d0a; }
.card strong { color:#17243b; }
.surface,.panel:has(> .table-wrap) { background:#fff; border:1px solid #e5ebf3; border-radius:14px; box-shadow:0 5px 18px #20314d0a; }
.surface { padding:20px; }
.table-wrap { border:0; border-radius:11px; overflow:auto; }
table { white-space:nowrap; }
th { padding:13px 15px; color:#71829a; background:#f5f8fc; font-size:11px; font-weight:750; }
td { padding:13px 15px; color:#35465e; font-size:12px; border-bottom:1px solid #edf1f6; }
tbody tr:hover { background:#fafcff; } tbody tr:last-child td { border-bottom:0; }
td a,.surface-head a { color:#2c69c8; font-weight:700; text-decoration:none; }
td a:hover,.surface-head a:hover { text-decoration:underline; }
.badge { border-radius:999px; font-size:11px; font-weight:750; padding:4px 10px; }
.DANGER,.HIGH,.CRITICAL,.NEW,.REQUEST { color:#db4b54; background:#fff0f0; }
.WARNING,.MEDIUM,.ACKNOWLEDGED,.STALE { color:#b97813; background:#fff5e3; }
.NORMAL,.LOW,.RESOLVED { color:#1e9d70; background:#e8f8f1; }
.OFFLINE { color:#9b5365; background:#f8e9ed; }
.eyebrow { margin:0 0 4px; color:#5782b7; font-size:10px; letter-spacing:.15em; }
.muted { color:#8190a7; font-size:12px; }
.hint { border-left-color:#73a3e6; background:#edf5ff; border-radius:0 8px 8px 0; }
.settings-panel { border-radius:14px; border-color:#e5ebf3; box-shadow:0 5px 18px #20314d0a; }
.page-heading { margin-top:2px; }
.page-heading h1 { margin:0; }
.page-heading p { margin:4px 0; }
#notice { margin:0 32px; min-height:0; font-size:13px; color:#315b91; }
#notice:empty { display:none; }
#live-status { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 0 20px; padding:12px 16px; border:1px solid #f0d7a8; border-radius:8px; background:#fff5e3; color:#805400; font-size:13px; }
#live-status > span { flex:1 1 240px; overflow-wrap:anywhere; }
#live-status > button { flex:none; background:#fff; color:#805400; border-color:#f0d7a8; font-size:12px; }
dialog { border:1px solid #dce5f0; border-radius:15px; box-shadow:0 24px 70px #12233f44; }
.login { margin:50px auto; border-radius:16px; border-color:#e1e9f3; box-shadow:0 12px 32px #1b2c480f; }
.login { width:100%; }
.login input, .login form > button, .login > button { width:100%; min-width:0; }
.login-actions { display:flex; flex-wrap:wrap; gap:10px; width:100%; }
.login-actions > button { flex:1 1 150px; min-width:0; }
.logged-out .topbar { justify-content:flex-start; }
.logged-out .topbar .mobile-brand { display:block; }

/* 대시보드 */
.dashboard-heading { display:flex; justify-content:space-between; align-items:start; gap:20px; margin:4px 0 20px; }
.dashboard-heading h1 { margin:0 0 4px; font-size:27px; }
.dashboard-heading p { margin:0; }
.live-pill { display:flex; align-items:center; gap:8px; color:#176e55; background:#e6f6ef; border:1px solid #d1eddf; border-radius:999px; padding:7px 12px; font-size:11px; font-weight:750; }
.priority-banner { display:flex; align-items:center; gap:14px; margin-bottom:20px; padding:14px 16px; color:#c6414a; background:#fff0f1; border:1px solid #ffe0e3; border-radius:13px; text-decoration:none; }
.priority-banner strong,.priority-banner small { display:block; }.priority-banner strong { font-size:13px; }.priority-banner small { margin-top:3px; color:#a86b70; font-size:11px; }
.priority-icon { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:9px; background:#e64e58; color:#fff; font-weight:900; }
.priority-action { margin-left:auto; color:#fff; background:#e64e58; border-radius:8px; padding:9px 13px; font-size:11px; font-weight:750; white-space:nowrap; }
.dashboard-cards { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:20px; }
.stat-card { display:flex; flex-direction:column; min-height:151px; }
.stat-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; font-weight:800; font-size:16px; }
.stat-icon.work { color:#4d84e5; background:#e9f2ff; }.stat-icon.risk { color:#e05b64; background:#fff0f1; }.stat-icon.check { color:#e4a32c; background:#fff6e7; }.stat-icon.sensor { color:#20a77e; background:#e9f8f1; }
.stat-label { margin-top:9px; color:#6d7f98; font-size:11px; font-weight:700; }
.stat-card strong { font-size:30px; line-height:1.2; }.stat-card strong small { margin-left:3px; font-size:15px; }
.stat-sub { margin-top:4px; color:#8090a5; font-size:10px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr); gap:20px; margin-bottom:20px; }
.surface-head { display:flex; justify-content:space-between; align-items:start; gap:12px; margin-bottom:14px; }
.surface-head h2 { margin:0 0 4px; }.surface-head p { margin:0; color:#9aa7b7; font-size:11px; }.surface-head a { flex:none; font-size:11px; }
.alert-list { display:flex; flex-direction:column; }
.alert-item { display:flex; align-items:center; gap:12px; width:100%; min-width:0; padding:12px 0; color:inherit; background:transparent; border:0; border-bottom:1px solid #edf1f6; border-radius:0; text-align:left; font-weight:400; }
.alert-item:last-child { border-bottom:0; }.alert-item:hover { background:#fafcff; }
.event-icon { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:9px; color:#d74f58; background:#fff0f1; font-size:12px; font-weight:850; }
.event-icon.MEDIUM,.event-icon.LOW { color:#c88a24; background:#fff5e4; }
.alert-copy { display:flex; flex-direction:column; min-width:0; flex:1; }.alert-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.alert-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8b99aa; font-size:10px; }
.alert-item time { color:#98a6b7; font-size:10px; white-space:nowrap; }.chevron { color:#9eaec2; font-size:19px; }
.zone-list { display:flex; flex-direction:column; gap:9px; padding:8px 0; }
.zone-row { display:flex; align-items:center; gap:12px; padding:13px 12px; background:#f4f7fb; border-radius:9px; color:#53657e; font-size:12px; }
.zone-row strong { margin-left:auto; color:#234674; font-size:13px; }.zone-symbol { display:grid; place-items:center; width:25px; height:25px; border-radius:7px; color:#4d84e5; background:#e5efff; }
.zone-note { margin:8px 0 0; color:#9ba8b8; font-size:10px; }
.worker-surface .table-wrap { margin:0 -4px -4px; }

@media(max-width:1100px) { .dashboard-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-grid { grid-template-columns:1fr; } }
@media(max-width:760px) { .app-shell { display:block; }.sidebar { position:static; height:auto; padding:15px; }.brand { margin:0 0 10px; }.nav-label,.sidebar-footer { display:none; }.sidebar nav { flex-direction:row; overflow-x:auto; gap:5px; }.sidebar nav a { flex:none; padding:0 10px; white-space:nowrap; }.topbar { min-height:58px; padding:10px 16px; }.topbar .mobile-brand { display:block; font-size:13px; }.topbar #header-actions a,.topbar #logout { padding:7px 9px; font-size:11px; } main { padding:12px 15px 40px; } #notice { margin:0 15px; }.dashboard-heading h1 { font-size:23px; } }
@media(max-width:520px) { .dashboard-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.stat-card { min-height:135px; padding:14px; }.stat-card strong { font-size:25px; }.priority-banner { flex-wrap:wrap; }.priority-action { margin-left:48px; }.alert-item time { display:none; }.topbar { flex-wrap:wrap; }.topbar .mobile-brand { width:100%; }.dashboard-heading { align-items:center; } }

/* 작업자 상세 · 현장 구역 · 날씨 */
.back-link { display:inline-block; margin:2px 0 14px; color:#477cbe; font-size:12px; font-weight:700; text-decoration:none; }
.worker-hero { display:flex; align-items:center; gap:15px; margin-bottom:18px; }
.worker-avatar { display:grid; place-items:center; flex:none; width:54px; height:54px; border-radius:50%; color:#3974d8; background:#eaf2ff; font-size:20px; font-weight:800; }
.worker-identity { min-width:0; flex:1; }.worker-identity h1 { margin:0; font-size:21px; }.worker-identity p { margin:2px 0 7px; color:#8291a7; font-size:11px; }
.danger-button { color:#fff; background:#e34d58; border-color:#e34d58; padding:10px 17px; font-size:12px; }.danger-button:hover { color:#fff; background:#ca3c48; }
.worker-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:18px; }
.worker-metrics .card { display:flex; flex-direction:column; gap:7px; min-width:0; }.worker-metrics .card>span { color:#7b8ca2; font-size:11px; font-weight:650; }.worker-metrics .card strong { font-size:22px; overflow-wrap:anywhere; }.worker-metrics .card strong.metric-date { font-size:14px; }.worker-metrics .card small { color:#96a3b4; font-size:10px; }
.worker-detail-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr); gap:18px; margin-bottom:18px; }.worker-detail-grid.lower { grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr); }
.chart-wrap svg { display:block; width:100%; height:auto; min-height:180px; }.chart-wrap svg line { stroke:#e9eef5; stroke-width:1; }.chart-wrap svg polyline { fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-width:3; }.chart-wrap .heart-line { stroke:#e95362; }.chart-wrap .spo2-line { stroke:#367deb; }
.chart-legend { display:flex; align-items:center; flex-wrap:wrap; gap:17px; color:#72839a; font-size:11px; }.chart-legend span::before { content:''; display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; vertical-align:1px; }.heart-dot::before { background:#e95362; }.spo2-dot::before { background:#367deb; }.chart-legend small { margin-left:auto; color:#9ba8b7; font-size:10px; }
.safety-state { padding:13px 15px; border-radius:10px; background:#fff7e9; }.safety-state strong { display:block; color:#d48a11; font-size:21px; }.safety-state span { color:#9c7d4b; font-size:11px; }.safety-panel dl,.worker-detail-grid.lower dl { grid-template-columns:110px minmax(0,1fr); margin:16px 0; font-size:11px; }.safety-panel dt,.worker-detail-grid.lower dt { color:#8594a8; }.safety-panel button { color:#fff; background:#eea112; border-color:#eea112; }.safety-panel button:hover { background:#d78c09; }.safety-panel .muted { margin:12px 0 0; font-size:10px; }
.proximity-indicator { display:flex; align-items:baseline; gap:10px; padding:17px; background:#eaf8f1; border-radius:10px; }.proximity-indicator.near { background:#fff0f1; }.proximity-indicator strong { font-size:29px; color:#1c9870; }.proximity-indicator.near strong { color:#d74d57; }.proximity-indicator span { color:#7f8da1; font-size:11px; }
.zone-cards { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); }.zone-card { display:flex; flex-direction:column; gap:8px; color:inherit; text-decoration:none; }.zone-card:hover { border-color:#afd0fa; box-shadow:0 8px 24px #234b841a; }.zone-card strong { font-size:16px; }.zone-card>span:not(.zone-symbol),.zone-card small { color:#8090a6; font-size:11px; }.zone-card .zone-symbol { flex:none; }
.weather-notice-panel { margin-bottom:18px; }.weather-notice-panel form { align-items:end; }.weather-notice-panel label { flex:1; min-width:240px; color:#64758b; font-size:12px; }.weather-notice-panel textarea { width:100%; min-height:78px; resize:vertical; }.weather-notice-panel .muted { margin-bottom:0; }
.weather-grid { display:grid; grid-template-columns:minmax(270px,1fr) minmax(0,1.3fr); gap:18px; }.weather-value { display:flex; align-items:baseline; gap:16px; margin:24px 0; }.weather-value strong { font-size:48px; line-height:1; }.weather-value span { color:#d49319; font-size:15px; font-weight:750; }.weather-facts { display:flex; gap:24px; }.weather-facts div { display:flex; flex-direction:column; gap:3px; }.weather-facts span { color:#94a2b4; font-size:11px; }.weather-facts strong { font-size:13px; }
@media(max-width:1100px) { .worker-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.worker-detail-grid,.worker-detail-grid.lower,.weather-grid { grid-template-columns:1fr; } }
@media(max-width:520px) { .worker-hero { flex-wrap:wrap; }.worker-hero .danger-button { width:100%; }.worker-metrics .card strong { font-size:19px; } }

/* 현장 전체지도와 제한구역 2단계 대응 */
.site-overview { margin-bottom:18px; }
.site-map { overflow:hidden; border:1px solid #dce7ef; border-radius:14px; background:#ecf3f6; }
.site-map svg { display:block; width:100%; height:auto; min-height:250px; }
.site-map text { fill:#597089; font:700 20px system-ui,sans-serif; }
.site-map text[fill] { fill:#c82f3b; }
.map-legend { display:flex; gap:22px; margin:12px 0 4px; color:#75859a; font-size:11px; }
.map-legend span { display:inline-flex; align-items:center; gap:7px; }
.map-key { display:inline-block; width:15px; height:15px; border-radius:4px; border:1px solid #cbd9e7; background:#fff; }
.map-key.restricted { border-color:#ea5a62; background:#ffe4e6; }
.restricted-flow { margin-top:18px; }
.flow-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 18px; }
.flow-steps>div { display:flex; flex-direction:column; gap:5px; padding:14px 16px; border:1px solid #e7edf4; border-radius:10px; background:#f8fafd; }
.flow-steps>div:first-child { border-color:#ffe1e3; background:#fff6f6; }
.flow-steps strong { font-size:12px; color:#304560; }.flow-steps span { color:#7c8ca0; font-size:11px; }
.restricted-response-form { display:flex; flex-wrap:nowrap; align-items:center; gap:6px; margin:0; }
.restricted-response-form input { min-width:180px; width:220px; font-size:11px; }
.restricted-response-form button { white-space:nowrap; font-size:11px; }
.table-note { display:block; margin-top:4px; color:#9aa8b7; font-size:10px; }
@media(max-width:720px) { .flow-steps { grid-template-columns:1fr; }.site-map svg { min-height:180px; } }

.topbar #header-actions .worker-create-link { color:#fff; background:#2767c8; border-color:#2767c8; }
.topbar #header-actions .worker-create-link:hover { color:#fff; background:#1c55aa; border-color:#1c55aa; }
.worker-create-form { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:0; }
.worker-create-form label { flex:1 1 170px; min-width:0; color:#53657e; font-size:12px; }
.worker-create-form input,.worker-create-form select { width:100%; }
.worker-created { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:0; }
.worker-created .button-link { color:#2767c8; font-weight:700; }
@media(max-width:520px) { .topbar #header-actions { flex:1 1 auto; flex-wrap:wrap; }.topbar #header-actions a { padding:6px 7px; font-size:10px; }.topbar form { margin:0; } }
