/* 읽기·누르기 최소 기준 보정 (Claude 담당, 마지막에 로드)
   기준: 글자 12px 이상 · 대비 4.5:1 이상 · 폰에서 누르는 영역 44px 근처 · 서로 다른 스킨(ios.css / site-modern.css)이 덮어쓰지 못하게 !important 로 '바닥'만 고정 */

/* 2026-10-28: 근본 원인 — site-modern.css 의 'html body:not(.bare)' 가 타입 셀렉터 하나(html)를 더 써서 특이도가 더 높아지는 바람에,
   --primary 변수가 거의 모든 부모 화면에서 의도한 네이비/틸(#173f4b) 대신 그 파랑(#315fd4)으로 풀렸음(저장·추가 등 기본 버튼, 요일 칩, 알림 종류 칩 등 전부 영향).
   그동안 한 요소씩(.subtabs a.on, 알림 '오늘' 등) 증상만 고쳐 왔는데, 변수 자체를 더 높은 특이도로 되돌려 한 번에 고침 */
html body.parent-workspace:not(.bare){--primary:#173f4b!important;--primary-dark:#102e37!important;--primary-soft:#eaf5f0!important;--primary-text:#236b5c!important}
/* 크롬으로 직접 눌러 보니 위 변수 수정으로는 안 고쳐지는 곳이 더 있었음 — site-modern.css 가 변수를 안 쓰고 파랑(#315fd4)을 직접 박아 둔 세 곳 */
html body.parent-workspace:not(.bare) .btn.primary,html body.parent-workspace:not(.bare) button.primary{background:#173f4b!important;border-color:#173f4b!important;color:#fff!important}
html body.parent-workspace:not(.bare) .btn.primary:hover,html body.parent-workspace:not(.bare) button.primary:hover{background:#0f2e35!important;border-color:#0f2e35!important}
html body.parent-workspace:not(.bare) .kc-ask{background:linear-gradient(135deg,#27467a,#172b4d)!important;color:#fff!important}
html body.parent-workspace:not(.bare) .kc-ask .console-icon{color:#dbaa62!important}
html body.parent-workspace:not(.bare) .kc-tab.on{color:#172b4d!important}
html body.parent-workspace:not(.bare) .kc-tab.on .console-icon{color:#4b7ac4!important}

/* ---- 보조 글자: 연한 청회색 → 4.5:1 이상 ---- */
html body:not(.bare) :is(.muted,.console-help,.hint,small.muted,span.muted,p.muted,div.muted,.stp-note,.stp-lbl,.notif-n,.krm-n,.kr-status,.lt-note,.lt-sub,.page-head p,.console-heading p):not(.dm-hero *):not(.lh-hero *){color:#55647c!important}
html body:not(.bare) :is(.card,.console-panel,.stat-card,.msg-side,.msg-chat) small:not(.dm-hero *):not(.lh-hero *):not(.btn small):not(button small):not(.primary small){color:#55647c}
html body:not(.bare) .stp-note b{color:#4a5870!important}

/* ---- 12px 미만 글자 올리기 ---- */
html body:not(.bare) small{font-size:max(12px,.75rem)!important}
html body:not(.bare) :is(.nt-state,.kr-badge,.lt-batt,.dv-b,.kt-c,.notif-n,.krm-n){font-size:12px!important}
html body:not(.bare) .kd-in em{font-size:11.5px!important}
html body:not(.bare) .loc-ib span,html body:not(.bare) .loc-ib{font-size:12px!important}
html body:not(.bare) .nmap-ov .nmap-btn{width:46px}
html body:not(.bare) .nmap-ov .nmap-btn .nmap-lbl{font-size:12px!important}

/* ---- 색 대비 ---- */
html body:not(.bare) .dv-b{color:#0b57c7!important}
html body:not(.bare) .dv-b.off{color:#b3261e!important}
html body:not(.bare) :is(button,a).loc-now{background:#0a5fd0}
html body:not(.bare) .lt-batt{color:#0b7447!important}
html body:not(.bare) .kt-c.time,html body:not(.bare) .kt-c.time b{color:#7a5410!important}
html body:not(.bare) .kr-badge{color:#17693f!important}
html body:not(.bare) .gnav a[aria-current="page"],html body:not(.bare) .gnav a[aria-current="page"] .console-icon{color:#0a5fd0!important}
html body:not(.bare) .gnav a{color:#5b6472!important}
html body:not(.bare) .gnav .dot{font-size:.68rem}
html body:not(.bare) .stp-lbl{color:#55647c!important}

/* ---- 누르는 영역 (폰/태블릿) ---- */
@media (max-width:900px){
  html body:not(.bare) :is(.card,.console-panel) details>summary{padding-top:12px;padding-bottom:12px}
  html body:not(.bare) .dv-chip{min-height:36px}
  html body:not(.bare) :is(button,a).loc-now{min-height:40px}
  html body:not(.bare) table a{display:inline-block;padding:11px 6px;margin:-11px -6px}
  html body:not(.bare) .stat-card a,html body:not(.bare) .admin-cron a{display:inline-block;padding:12px 8px;margin:-12px -8px}
  html body:not(.bare) .lt-home{min-width:40px;min-height:40px}
  html body:not(.bare) .lt-reg{min-height:40px;padding:0 12px}
}

/* ---- 2차 보정 (운영 측정 후) ---- */
html body:not(.bare) :is(.loc-ib,.loc-ib span){color:#0a5fd0!important}
html body:not(.bare) :is(.kpi-split em,.kpi span,.kd-txt small,.kmenu summary span,.krm-tabs button,.loc-stat small,.cc-tab em,.live-item em,.kr-donut small,.summary small){color:#55647c!important}
html body:not(.bare) .live-warn{color:#8a4b00!important}
html body:not(.bare) :is(button,a).loc-now,html body:not(.bare) .loc-glance .loc-now,html body:not(.bare) .lt-ask .loc-now{background:#0a5fd0!important;color:#fff!important}
html body:not(.bare) .nmap-ov .nmap-lbl{font-size:12px!important}
html body:not(.bare) .nmap-ov .lt-expand{width:46px}
html body:not(.bare) .kc-menu em{font-size:12px!important}
@media (max-width:900px){
  html body:not(.bare) .kd-set{min-width:36px;min-height:36px}
  html body:not(.bare) .cc-tab{min-width:56px;min-height:44px}
}

/* ---- P2-B: 폰/태블릿(≤900px) 아이 카드 순서 = 프로필 → 남은 시간 → 오늘 할 일 → 지도·기기 → 빠른 작업 ----
   (프로필 영역 안의 지도·기기 탭이 위쪽에 와서 급한 정보를 밀어내던 것을 아래로. 마크업은 그대로, display:contents + 격자 배치) */
@media (max-width:900px){
  html body.dashboard-modern .kid-row{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;grid-template-areas:none!important;gap:0!important}
  html body.dashboard-modern .kid-row>.kr-who,html body.dashboard-modern .kid-row>.kr-who>.kr-id{display:contents!important}
  html body.dashboard-modern .kid-row>.kr-who>.kr-av{grid-column:1!important;grid-row:1/3!important;align-self:start;margin:18px 0 0 16px;border:0}
  html body.dashboard-modern .kr-id>.kr-name{grid-column:2!important;grid-row:1!important;padding:20px 16px 0 4px;border:0}
  html body.dashboard-modern .kr-id>.kr-status{grid-column:2!important;grid-row:2!important;padding:2px 16px 0 4px}
  html body.dashboard-modern .kr-id>.kr-chips{grid-column:1/-1!important;grid-row:3!important;padding:10px 16px 16px}
  html body.dashboard-modern .kid-row>.krm-tabs{grid-column:1/-1!important;grid-row:4!important;margin:0 16px 12px!important}
  html body.dashboard-modern .kid-row>.kr-mid{grid-column:1/-1!important;grid-row:5!important;border-top:1px solid #e8edf4}
  html body.dashboard-modern .kid-row>.kr-dv{grid-column:1/-1!important;grid-row:5!important;margin:0!important;padding:16px;border-top:1px solid #e8edf4}
  html body.dashboard-modern .kid-row>.kr-acts{grid-column:1/-1!important;grid-row:6!important}
}

/* ---- 3차: 관리자 회색 알약 · 알림 묶음 안 글자 ---- */
html body[data-page="admin"] span.pill:not([class*="ok"]):not([class*="warn"]):not([class*="bad"]):not([class*="err"]){color:#4a5870!important}
html body[data-page="notifications"] :is(details>summary,details li,.al-dc li){color:#4a5870}
/* 2026-10-28: 위 규칙이 '오늘' 묶음(.al-dc.today, 짙은 남색 배경 + 흰 글자)의 summary 글자까지 어둡게 덮어써서 '오늘' 글자가 거의 안 보였음 → 흰 글자로 되돌림 */
html body[data-page="notifications"] .al-dc.today>summary,html body[data-page="notifications"] .al-dc.today>summary *{color:#fff!important}

/* ---- 4차: 내 정보(account) 폰 가로 넘침 · 알림 '확인 전' 배지 대비 ---- */
html body:not(.bare) .rule-list>li{flex-wrap:wrap;gap:8px}
html body:not(.bare) .rule-list>li>*{min-width:0;max-width:100%}
html body:not(.bare) .rule-list form.row{flex-wrap:wrap}
html body:not(.bare) .nt-state{color:#fff}

/* ---- B7 접근성 구조: 화면 낭독용 숨김 제목 · 건너뛰기 링크 ---- */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;left:12px;top:-60px;z-index:20000;padding:12px 18px;border-radius:12px;background:#1b2c49;color:#fff!important;font-weight:700;text-decoration:none;transition:top .15s}
.skip-link:focus{top:12px;outline:3px solid #8fb1f3;outline-offset:2px}
html body:not(.bare) main:focus{outline:0}

/* ---- B5: 저장/오류 알림(토스트) 통일 — 하단 탭에 가려지던 것을 위로, 밝은 카드 + 색 아이콘 ---- */
html body .toasts{z-index:10001;width:min(calc(100vw - 24px),380px);gap:10px}
html body .toast{align-items:flex-start;gap:12px;padding:13px 14px;border-radius:16px;background:#fff;color:#1b2c49;font-size:.92rem;font-weight:600;line-height:1.45;box-shadow:0 0 0 1px rgba(27,44,73,.08),0 16px 36px -14px rgba(27,44,73,.35)}
html body .toast .ic,html body .toast>svg{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:#e7f6ee;color:#17693f;margin-top:1px}
html body .toast-err{background:#fff;color:#7a1a14;box-shadow:0 0 0 1px rgba(179,38,30,.25),0 16px 36px -14px rgba(179,38,30,.35)}
html body .toast-err .ic,html body .toast-err>svg{background:#fdecea;color:#b3261e}
html body .toast-info{background:#fff;color:#1b2c49}
html body .toast-info .ic,html body .toast-info>svg{background:#e8efff;color:#315fd4}
html body .toast small{color:#55647c;font-weight:500}
html body .toast .toast-x{margin-left:auto;color:#55647c;background:transparent;border:0;font-size:1.3rem;line-height:1;min-width:32px;min-height:32px}
html body .toast-timed::after{background:rgba(49,95,212,.35)}
@media (max-width:900px){
  html body .toasts{left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:auto}
}

/* ---- B6: 로딩(지도 뼈대 화면) · 인터넷 끊김 안내 ---- */
@keyframes sk-shimmer{0%{background-position:120% 0}100%{background-position:-120% 0}}
html body:not(.bare) :is(.nmap-root,.loc-mini,.fmap-map,.console-map){background:linear-gradient(100deg,#e9eef6 30%,#f6f8fc 50%,#e9eef6 70%) 0 0/220% 100%;animation:sk-shimmer 1.6s linear 6}
@media (prefers-reduced-motion:reduce){html body:not(.bare) :is(.nmap-root,.loc-mini,.fmap-map,.console-map){animation:none}}
.sk-offline{position:fixed;left:12px;right:12px;margin:0 auto;width:max-content;top:64px;z-index:10002;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:11px 16px;border-radius:14px;background:#fff7e6;color:#6a3d00;font-size:.9rem;font-weight:700;line-height:1.4;box-shadow:0 0 0 1px rgba(160,90,0,.25),0 14px 30px -14px rgba(160,90,0,.45)}
.sk-offline.ok{background:#e9f7ed;color:#17693f;box-shadow:0 0 0 1px rgba(23,105,63,.25),0 14px 30px -14px rgba(23,105,63,.4)}
.sk-offline-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#e08a00}
.sk-offline.ok .sk-offline-dot{background:#17a673}

/* ---- 5차: 상태 알약(온라인/오프라인/최신 아님)·위험 단추·기기 화면 보조 글자 대비 ---- */
html body:not(.bare) .pill.green{color:#0b6b46!important}
html body:not(.bare) .pill.amber{color:#8a5a00!important}
html body:not(.bare) .pill.red{color:#b3261e!important}
html body:not(.bare) .pill.xs:not(.green):not(.amber):not(.red){color:#55647c!important}
html body:not(.bare) .btn.s.danger,html body:not(.bare) .btn.danger{color:#c4271d}
html body[data-page="devices"] :is(p,b,code):not(.btn *){color:#4a5870}

/* ---- 6차: 내 정보 화면 알림 분류·칩·빨간 점 대비 ---- */
html body:not(.bare) .notify-group-title,html body:not(.bare) .nchip{color:#55647c!important}
html body:not(.bare) .notify-count{color:#3f5963!important}
html body:not(.bare) i.dot{background:#d70015!important}
html body[data-page="account"] small{color:#55647c}
html body[data-page="account"] :is(small,.nchip,.notify-count,.notify-group-title){font-size:max(12px,1em)}
html body[data-page="account"] :is(.pill,.toc-picker-action,i.dot){font-size:max(12px,1em)}

/* ---- 8차: 홈(태블릿 768px) 12px 미만 글자·옅은 보조 글자 ---- */
html body.dashboard-modern :is(.dv-chip b,.kd-in b,.kd-in em,.kpi-split em,.lt-est,.dm-eyebrow,.nmap-lbl,.kr-chips b,.kr-empty,i.loc-why){font-size:max(12px,1em)}
html body.dashboard-modern :is(.kd-in em,.kpi-split em,.kr-empty,i.loc-why){color:#55647c}
html body.dashboard-modern .alert.tip a{display:inline-block;padding:6px 2px;min-height:32px}
html body:not(.bare) :is(.muted,.console-help,.page-head p,.console-heading p,.stp-hero p){color:#55647c}
html body:not(.bare) :is(.console-presets>span,.history-explainer p,.history-explainer li,.console-presets label){color:#4a5f6a}
html body:not(.bare) .empty :is(p,small,span){color:#55647c}

/* ---- 12차: 더보기 보조 문구·홈 '무제한'·모바일 +30분 단추 대비 ---- */
html body:not(.bare) .mr-t small{color:#55647c}
html body.dashboard-modern .kd-in b{color:#55647c}
html body.dashboard-modern .btn.ch-main.phone{color:#176a86}
html body:not(.bare) .mr-out a{color:#c4271d}

/* ---- 14차: 아이 화면 머리·탭·상태 글자 대비 ---- */
html body:not(.bare) .kc-who small{color:#55647c}
html body:not(.bare) em.on{color:#245aa8}
html body:not(.bare) :is(.kc-tab span,.kc-seg:not(.on):not(.active)){color:#4a5870}
html body:not(.bare) :is(.kid-status,.live-main){color:#475f69}
html body:not(.bare) .kd-in em{color:#55647c}
html body:not(.bare) a.on em{color:#245aa8}
html body:not(.bare) .kc-seg>a:not(.on){color:#4a5870}
html body:not(.bare) .live-main b{color:#475f69}
html body:not(.bare) .live-main,html body:not(.bare) .live-main b{color:#475f69!important}

/* ---- 16차: PC 사이드바 글자·배지 대비 ---- */
html body:not(.bare) .workspace-sidebar summary>span{color:#55647c!important}
html body:not(.bare) .workspace-search-button span{color:#4a5870!important}
html body:not(.bare) .ws-add .workspace-initial{color:#8a5a00!important}
html body:not(.bare) .workspace-sidebar em.ws-un{background:#c4271d!important;font-size:12px}

/* ---- 17차: 지도 화면 보조 글자 대비 ---- */
html body:not(.bare) .fm-title i{color:#55647c!important}
html body:not(.bare) .fmap-state small{color:#55647c!important}
html body:not(.bare) .fmap-go,html body:not(.bare) .fmap-go span{color:#0062cc}

/* ---- 18차: 태블릿(≤1100px) 접이식 줄 누르는 영역 ---- */
@media (max-width:1100px){html body:not(.bare) main details>summary{padding-top:6px;padding-bottom:6px}}

/* ---- 19차: 사용자 지적 3건 ---- */
/* (1) 홈 '오늘 할 일' 카드 아래 회색 줄(진행 막대)은 밑줄처럼 보여서 숨김 — 숫자(0 / 9)로 충분 */
html body.dashboard-modern .kpi-todo .kpi-bar{display:none!important}
/* (2) 지도 위 '전체 아이의 안심 장소' 안내: 파란 배경 위에 어두운 글자가 겹치던 것을 흰 바탕+진한 글자, '설정 ›' 만 알약 */
html body:not(.bare) .fmap-cap .fmap-capgo{background:transparent!important;border-radius:0}
html body:not(.bare) .fmap-cap .fmap-capgo span{color:#1c1c1e!important;font-weight:800}
html body:not(.bare) .fmap-cap .fmap-capgo i{background:#8a5a00!important;color:#fff!important}
/* (3) 보호자 앱 안에서는 앱 자체 하단 메뉴가 있으므로 웹 하단 탭은 숨김(아래 polish.js 가 html.sk-in-app 을 붙임) */
html.sk-in-app .gnav{display:none!important}
html.sk-in-app body.parent-workspace:has(.gnav){padding-bottom:0!important}

/* ---- 20차: 사용자 지적 6건 (2026-10-27 폰 화면) ---- */
/* (a) 프로필 탭을 눌러도 다른 아이 카드가 안 사라지던 문제: 내가 넣은 display:grid!important 가 [hidden] 을 덮어썼음 */
html body.dashboard-modern .kid-row[hidden]{display:none!important}
/* (b) 아이별 현황 탭: 한 줄 + 좌우 스크롤 */
html body.dashboard-modern .kid-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;overscroll-behavior-x:contain;touch-action:pan-x}
html body.dashboard-modern .kid-tabs .kid-tab{flex:0 0 auto!important;scroll-snap-align:start;white-space:nowrap}
/* (c) 차트 색과 범례 점 색 일치 (컴퓨터=파랑, 모바일=청록, 부족하면 빨강 / 남은 칸 = 연한 트랙색) */
html body.dashboard-modern .kr-donut .kd-dot.used{background:#5e85df!important}
html body.dashboard-modern .kr-donut .kd-dot.left{background:#dae4f5!important;box-shadow:inset 0 0 0 1px #b4c4e0}
html body.dashboard-modern .kr-donut:nth-child(2) .kd-dot.used{background:#45a6c8!important}
html body.dashboard-modern .kr-donut:nth-child(2) .kd-dot.left{background:#d6eaf2!important;box-shadow:inset 0 0 0 1px #a5cfe0}
html body.dashboard-modern .kr-donut.danger .kd-dot.used{background:#e2796c!important}
html body.dashboard-modern .kr-donut.danger .kd-dot.left{background:#f6dcd9!important;box-shadow:inset 0 0 0 1px #e8b3ad}
/* (d) 기기 업데이트·연결 상태 줄은 '오늘 남은 시간' 아래 */
html body.dashboard-modern .kr-devchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html body.dashboard-modern .kr-devchips:empty{display:none}
@media (max-width:900px){
  /* (e) 알림 토스트: 화면 중간에 뜨던 것을 맨 위(상단 바 바로 아래)로 */
  html body .toasts{top:calc(76px + env(safe-area-inset-top))!important;bottom:auto!important}
  /* (f) 상단 바: 로고·메뉴·검색·알림·프로필을 모두 44px 로 통일 */
  html body:not(.bare) .topbar :is(.workspace-menu-toggle,.workspace-search-button){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:12px!important;display:inline-grid!important;place-items:center}
  html body:not(.bare) .topbar .brand{width:44px;height:44px;flex:none}
  html body:not(.bare) .topbar .brand img{width:44px!important;height:44px!important;border-radius:12px}
  html body:not(.bare) .topbar .nav>a.bell{position:relative;width:44px!important;height:44px!important;min-width:44px;padding:0!important;display:inline-grid!important;place-items:center;border-radius:12px}
  html body:not(.bare) .topbar .nav>a.bell>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html body:not(.bare) .topbar .nav>a.bell .dot{position:absolute;top:-4px;right:-4px}
  html body:not(.bare) .topbar .nav-profile>summary{width:44px!important;height:44px!important;min-width:44px;padding:0!important;display:grid!important;place-items:center;border-radius:12px!important}
  html body:not(.bare) .topbar .nav-profile>summary .avatar{width:44px!important;height:44px!important;border-radius:12px!important}
  html body:not(.bare) .topbar .nav-profile .np-name,html body:not(.bare) .topbar .nav-profile .np-caret{display:none!important}
}
@media (max-width:900px){html body:not(.bare) .topbar .nav>a.bell{height:44px!important;min-height:44px!important;max-height:44px;line-height:0}html body:not(.bare) .topbar .nav>a.bell>svg{width:26px;height:26px}}
/* 21차: 보호자 앱(웹 하단 탭 없음)에서는 채팅 창이 아래 빈칸 없이 화면 끝까지 */
html.sk-in-app body[data-page="messages"] .msg-chat{height:clamp(320px,calc(100dvh - 150px),900px)!important}
html body.dashboard-modern .cq[hidden]{display:none!important}

/* ---- 22차: 아이 카드 탭 = [시간·할일] [기기] [지도] (탭은 카드 바로 아래, 내용은 탭별로 하나만) ---- */
html body.dashboard-modern .kid-row .kr-mid[hidden],html body.dashboard-modern .kid-row .krm-pane[hidden]{display:none!important}
html body.dashboard-modern .kid-row>.kr-dv:not(:has(.krm-pane:not([hidden]))){display:none!important}
html body.dashboard-modern .kid-row>.krm-tabs{display:flex;gap:3px;width:max-content;max-width:calc(100% - 32px);padding:4px;border-radius:12px;background:#edf1f7;overflow-x:auto;scrollbar-width:none}
html body.dashboard-modern .kid-row>.krm-tabs button{flex:0 0 auto;min-width:0;min-height:40px;padding:8px 14px;border:0;border-radius:9px;background:transparent;color:#4a5870;font-weight:700;white-space:nowrap}
html body.dashboard-modern .kid-row>.krm-tabs button.on{background:#fff;color:#204a9b;box-shadow:0 1px 5px rgba(25,49,87,.11)}
@media (min-width:901px){
  html body.dashboard-modern .kid-row{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"who" "tabs" "mid" "dv" "acts"!important}
  html body.dashboard-modern .kid-row>.kr-who{border-right:0!important;border-bottom:0!important;padding-bottom:6px}
  html body.dashboard-modern .kid-row>.krm-tabs{grid-area:tabs;margin:0 26px 8px}
  html body.dashboard-modern .kid-row>.kr-mid{grid-area:mid}
  html body.dashboard-modern .kid-row>.kr-dv{grid-area:dv}
}

/* 23차: 아이 카드 '자세히 ›' (아이 상세 화면으로 가는 눈에 띄는 입구) */
html body.dashboard-modern .kr-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
html body.dashboard-modern .kr-detail{margin-left:auto;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:#eaf0ff;color:#1e4cae;font-weight:800;font-size:.86rem;text-decoration:none;white-space:nowrap}
/* 24차: 빠른 작업은 아이 카드의 네 번째 탭 */
html body.dashboard-modern .kid-row>.kr-acts[hidden]{display:none!important}
@media (max-width:480px){html body.dashboard-modern .kid-row>.krm-tabs{width:auto;max-width:none;margin-left:12px!important;margin-right:12px!important}html body.dashboard-modern .kid-row>.krm-tabs button{flex:1 1 auto;padding:8px 8px;font-size:.82rem}}

/* 26차: 아이 카드 탭 = 아이콘(위) + 글자(아래) 로 시인성 향상 */
html body.dashboard-modern .kid-row>.krm-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:7px 10px;line-height:1.15}
html body.dashboard-modern .kid-row>.krm-tabs button .console-icon{display:block!important;width:22px;height:22px;color:#7a8aa6}
html body.dashboard-modern .kid-row>.krm-tabs button.on .console-icon{color:#2a5bc7}
html body.dashboard-modern .kid-row>.krm-tabs button{font-size:.78rem}
html body.dashboard-modern .kid-row>.krm-tabs button .krm-n{font-size:.7rem;color:inherit;opacity:.85}
@media (min-width:481px){html body.dashboard-modern .kid-row>.krm-tabs button{flex-direction:row;gap:7px;min-height:44px;padding:8px 16px;font-size:.9rem}html body.dashboard-modern .kid-row>.krm-tabs button .console-icon{width:19px;height:19px}}
/* 27차: 설정/기타 탭 안의 안내·추가 카드 */
#dash-misc[hidden]{display:none!important}
html body.dashboard-modern .kid-row>#dash-misc{grid-column:1/-1;padding:4px 16px 18px;border-top:1px solid #e8edf4}
@media (max-width:900px){html body.dashboard-modern .kid-row>#dash-misc{grid-row:7}}

/* ---- 28차: 홈 = 가족 요약 + 아이 목록(눌러서 아이 화면으로). 예전 큰 카드는 ?cards=1 로만 ---- */
html body.dashboard-modern .kid-list{display:grid;gap:12px;margin:0 0 20px}
html body.dashboard-modern .kl-row{display:flex;align-items:center;gap:14px;padding:16px 16px 16px 14px;border:1px solid #e1e7f1;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(28,51,91,.06);color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
html body.dashboard-modern .kl-row:hover{transform:translateY(-1px);border-color:#b9cef5;box-shadow:0 12px 26px rgba(28,51,91,.1)}
html body.dashboard-modern .kl-row:focus-visible{outline:3px solid #335ed1;outline-offset:2px}
html body.dashboard-modern .kl-av{position:relative;flex:none;width:60px;height:60px}
html body.dashboard-modern .kl-av .avatar,html body.dashboard-modern .kl-av img{width:60px;height:60px;border-radius:18px;object-fit:cover}
html body.dashboard-modern .kl-av::after{content:"";position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border-radius:50%;background:#b6c0d0;border:3px solid #fff}
html body.dashboard-modern .kl-av.on::after{background:#17a673}
html body.dashboard-modern .kl-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
html body.dashboard-modern .kl-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
html body.dashboard-modern .kl-name b{font-size:1.18rem;font-weight:800;color:#1b2c49}
html body.dashboard-modern .kl-req{padding:2px 9px;border-radius:999px;background:#fff1d6;color:#8a5a00;font-size:.78rem;font-weight:800}
html body.dashboard-modern .kl-status{color:#55647c;font-size:.86rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.dashboard-modern .kl-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
html body.dashboard-modern .kl-chips em{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:#f1f5fb;color:#4a5870;font-style:normal;font-size:.8rem}
html body.dashboard-modern .kl-chips em .console-icon{width:15px;height:15px;color:#6a7f9b}
html body.dashboard-modern .kl-chips em b{color:#1b2c49;font-weight:800}
html body.dashboard-modern .kl-go{flex:none;font-size:1.8rem;line-height:1;color:#98a6bd}
@media (min-width:901px){html body.dashboard-modern .kid-list{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}}
html body.dashboard-modern details.home-misc{margin:8px 0 28px;border:1px solid #e1e7f1;border-radius:18px;background:#fff}
html body.dashboard-modern details.home-misc>summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:800;color:#1b2c49;min-height:48px;display:flex;align-items:center;gap:8px}
html body.dashboard-modern details.home-misc>summary::-webkit-details-marker{display:none}
html body.dashboard-modern details.home-misc>summary::after{content:"▾";margin-left:auto;color:#6a7f9b}
html body.dashboard-modern details.home-misc[open]>summary::after{content:"▴"}
html body.dashboard-modern details.home-misc>summary small{color:#55647c;font-weight:600}
html body.dashboard-modern details.home-misc>#dash-misc{padding:0 12px 14px}

/* 29차: 아이 화면 '빠른 작업' (홈 카드에서 옮겨 옴) */
html body .kq{margin:16px 0 4px;padding:14px;border:1px solid #e1e7f1;border-radius:18px;background:#f8faff}
html body .kq-h{font-weight:800;color:#1b2c49;margin:0 2px 10px}
html body .kq-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .kq-row+.kq-row{margin-top:8px}
html body .kq-btn{min-height:48px;font-weight:800}
html body .kq-btn.pc{background:#e8f0ff;color:#1e4cae;border-color:#cfdcf7}
html body .kq-btn.phone{background:#e4f5fb;color:#176a86;border-color:#c6e6f1}
html body .kq-lock .btn{min-height:44px}

/* B8: 넓은 PC 홈에서 남은 시간과 오늘 할 일을 한눈에 비교 */
@media (min-width:1101px){
  html body.dashboard-modern .kid-row>.kr-mid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:max-content 1fr;column-gap:26px;row-gap:16px;align-items:start}
  html body.dashboard-modern .kid-row>.kr-mid>.kr-time{grid-column:1;grid-row:1}
  html body.dashboard-modern .kid-row>.kr-mid>.kr-devchips{grid-column:1;grid-row:2;margin-top:0}
  html body.dashboard-modern .kid-row>.kr-mid>.kr-todo{grid-column:2;grid-row:1 / span 2;padding-left:26px;border-left:1px solid #e8edf4}
}

/* 30차: 홈 카드 '이동기록' 탭 (오늘 머문 곳·이동 타임라인) */
html body .trail{padding:2px 2px 6px}
html body .trail-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
html body .trail-head b{display:inline-flex;align-items:center;gap:6px;font-size:1rem;color:#1b2c49}
html body .trail-head b .console-icon{width:18px;height:18px;color:#4b7ac4}
html body .trail-head small{color:#55647c;font-size:.82rem}
html body .trail-list{list-style:none;margin:0;padding:0 0 0 4px;position:relative}
html body .trail-list::before{content:"";position:absolute;left:11px;top:10px;bottom:10px;width:2px;background:#dbe4f2;border-radius:2px}
html body .trail-stay{position:relative;display:flex;gap:14px;padding:6px 0}
html body .trail-dot{flex:none;position:relative;z-index:1;width:16px;height:16px;margin:3px 0 0 3px;border-radius:50%;background:#fff;border:3px solid #98a9c4}
html body .trail-stay.place .trail-dot{border-color:#2a7ab8}
html body .trail-stay.now .trail-dot{border-color:#17a673;box-shadow:0 0 0 4px rgba(23,166,115,.18)}
html body .trail-stay b{color:#1b2c49;font-size:.98rem}
html body .trail-stay small{display:block;color:#55647c;font-size:.82rem;margin-top:2px}
html body .trail-now{margin-left:8px;padding:1px 8px;border-radius:999px;background:#e5f8ef;color:#0f6a46;font-style:normal;font-size:.74rem;font-weight:800}
html body .trail-move{position:relative;margin:2px 0 2px 34px;padding:2px 0}
html body .trail-move span{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#f1f5fb;color:#4a5870;font-size:.78rem}
html body .trail-move .console-icon{width:14px;height:14px}
html body .trail-more,html body .trail-empty{color:#55647c;font-size:.84rem;margin:0 0 8px 34px}
html body .trail-go{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;border-radius:12px;background:#eaf0ff;color:#1e4cae;font-weight:800;text-decoration:none}

/* 31차: 지도 아래 시트의 선택한 아이 카드를 작게 — 이동 경로·로드뷰·메시지 = 위 아이콘/아래 글자 단추 한 줄 */
html body .fm-sheet .fmap-card.sel .fmap-acts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important;padding-top:10px!important}
html body .fm-sheet .fmap-card.sel .fmap-acts>.btn,html body .fm-sheet .fmap-card.sel .fmap-acts>a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;padding:6px 4px!important;font-size:.76rem!important;font-weight:700;line-height:1.1;text-align:center}
html body .fm-sheet .fmap-card.sel .fmap-acts .console-icon{width:22px!important;height:22px!important}
html body .fm-sheet .fmap-card.sel{padding:12px 14px 12px!important}
html body .fm-sheet .fmap-card.sel .fmap-av{width:48px!important;height:48px!important}
html body .fm-sheet .fmap-card.sel .fmap-acts>*,html body .fm-sheet .fmap-card.sel .fmap-acts .btn.primary,html body .fm-sheet .fmap-card.sel .fmap-acts>.btn:first-child{grid-column:auto!important;min-height:56px!important;background:#f1f5fb!important;color:#1b2c49!important;box-shadow:none!important;border:1px solid #dfe6f1!important;font-size:.76rem!important}

/* 33차: 폰·태블릿 시간 도넛 — 차트 가운데·더 크게, 컴퓨터/모바일 글자도 가운데 */
@media (max-width:900px){
  html body.dashboard-modern .kr-mid .kr-donut{justify-items:center!important;text-align:center;padding:16px 10px 14px!important}
  html body.dashboard-modern .kr-mid .kr-donut .kd-ring{width:92px!important;height:92px!important;margin:0 auto}
  html body.dashboard-modern .kr-mid .kr-donut .kd-in{width:70px!important;height:70px!important}
  html body.dashboard-modern .kr-mid .kr-donut .kd-in b{font-size:.84rem!important}
  html body.dashboard-modern .kr-mid .kr-donut .kd-in em{font-size:.68rem!important}
  html body.dashboard-modern .kr-mid .kr-donut .kd-txt{align-items:center;text-align:center;width:100%}
  html body.dashboard-modern .kr-mid .kr-donut .kd-lbl{justify-content:center;font-size:.95rem!important}
  html body.dashboard-modern .kr-mid .kr-donut .kd-row{justify-content:center}
}
@media (max-width:900px){html body.dashboard-modern .kr-mid .kr-donut .kd-lbl,html body.dashboard-modern .kr-mid .kr-donut .kd-row,html body.dashboard-modern .kr-mid .kr-donut .kd-txt>small{display:flex!important;width:100%!important;justify-content:center!important;align-self:center!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}}
/* 35차: 링크·단추에 마우스를 올려도 밑줄을 넣지 않아요 (키보드 초점은 윤곽선으로 구분) */
html body a:hover,html body a:active,html body a:focus,html body a:focus-visible,html body summary:hover,html body button:hover{text-decoration:none!important}
html body a:hover *,html body a:focus *{text-decoration:none!important}
/* 36차: 지도 전체화면은 상단 바·하단 탭 위로 덮어서 범례(이동한 시각)·버튼이 잘리지 않게 */
html body .leaflet-container.map-big,html body .map-big{z-index:20000!important}

/* 37차: 카드 안 '이동기록' 탭 — 겹친 테두리 하나 없애고 가로를 꽉 채워요 (부모 창 좌우 여백만 조금) */
html body.dashboard-modern .kid-row>.kr-dv:has(.trail-embed){padding:6px 10px 14px!important}
html body .trail-body .console-layout{display:block!important;margin:0!important;padding:0!important}
html body .trail-body .console-panel{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;border-radius:0!important}
html body .trail-body .lt-head{padding-left:2px;padding-right:2px}

/* 38차: 이동한 시각 범례 — 접으면 한 줄+얇은 색 띠, [▾]로 펼치기 (지도를 덜 가려요) */
html body .lt-legend{min-width:0!important;max-width:min(236px,62vw)!important;padding:6px 9px 7px!important;max-height:none!important;overflow:visible!important}
html body .lt-legend .lt-lg-h{all:unset;box-sizing:border-box;display:flex!important;align-items:center;gap:8px;width:100%;min-height:24px;cursor:pointer;font-size:.72rem;color:#173f4b}
html body .lt-legend .lt-lg-h b{display:inline!important;margin:0!important;font-weight:800}
html body .lt-legend .lt-lg-h .lt-lg-r{font-style:normal;color:#5b7480;font-weight:700;margin-left:auto;white-space:nowrap}
html body .lt-legend .lt-lg-h .lt-lg-c{width:7px;height:7px;border-right:2px solid #5b7480;border-bottom:2px solid #5b7480;transform:rotate(45deg) translateY(-2px);flex:none;transition:transform .15s}
html body .lt-legend.open .lt-lg-h .lt-lg-c{transform:rotate(-135deg) translateY(-1px)}
html body .lt-legend .lt-lg-h:focus-visible{outline:2px solid #2f6fdc;outline-offset:2px;border-radius:6px}
html body .lt-legend .lt-bar2{margin:4px 4px 0!important;height:6px!important}
html body .lt-legend .lt-lg-more{display:none}
html body .lt-legend.open .lt-lg-more{display:block}
html body .lt-legend.open .lt-bar2-t{margin-top:2px}

/* 홈 이동기록은 별도 화면으로 바로 이동하는 링크입니다. */
html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab{box-sizing:border-box;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:#4a5870;font-size:.78rem;font-weight:700;line-height:1.15;white-space:nowrap;text-decoration:none!important}
html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab .console-icon{display:block!important;width:22px;height:22px;color:#7a8aa6}
html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab:focus-visible{outline:2px solid #2f6fdc;outline-offset:2px}
@media(max-width:480px){html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab{flex:1 1 auto;padding:7px 8px}}
@media(min-width:481px){html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab{flex-direction:row;gap:7px;min-height:44px;padding:8px 16px;font-size:.9rem}html body.dashboard-modern .kid-row>.krm-tabs .krm-page-tab .console-icon{width:19px;height:19px}}

/* 아이별 현황: 선택 탭·상세 카드·목록의 아이 프로필을 모두 원형으로 통일합니다. */
html body.dashboard-modern .kid-tab .kt-av,
html body.dashboard-modern .kid-tab .kt-all,
html body.dashboard-modern .kid-tab .avatar,
html body.dashboard-modern .kid-row .kr-av,
html body.dashboard-modern .kid-row .kr-av .avatar,
html body.dashboard-modern .kl-av .avatar{border-radius:50%}
html body.dashboard-modern .kid-tab .avatar,
html body.dashboard-modern .kid-row .kr-av .avatar,
html body.dashboard-modern .kl-av .avatar{overflow:hidden}
html body.dashboard-modern .kid-tab .avatar img,
html body.dashboard-modern .kid-row .kr-av .avatar img,
html body.dashboard-modern .kl-av .avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}

/* 41차: 홈 카드 '이동기록' 탭 안의 하루 이동 흐름 (서버에서 직접 그린 것) */
html body .kr-trail-pane{display:block;padding:0 4px}
html body .kr-trail-pane[hidden]{display:none!important}
html body .kr-trail-pane .kr-trail-full{display:flex;justify-content:flex-end;align-items:center;min-height:36px;padding:0 6px;font-size:.84rem;font-weight:700;color:#2f6fdc}
html body .kr-trail-pane .trail-embed{display:block!important;margin:0!important;padding:0!important}
html body .kr-trail-pane .trail-embed .console-panel{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important}
html body .kr-trail-pane .lt-primary-set{display:none!important}

/* 2026-10-28: 왼쪽 햄버거 메뉴가 열리면 상단 바(topbar, ios.css 가 z-index:2000 으로 올려 둠)보다 위에 보이게 */
html body.workspace-open .workspace-sidebar{z-index:2200!important}
html body.workspace-open .workspace-scrim{z-index:2199!important}
/* 메뉴 닫기: '메뉴 닫기' 글자 대신, 사이드 메뉴 오른쪽 경계에 반쯤 걸치는 동그란 '<' 버튼으로 */
@media(max-width:1100px){
  html body .workspace-sidebar{overflow:visible!important}
  html body .ws-scroll{flex:1;min-height:0;overflow:auto}
  html body .workspace-drawer-close{position:absolute!important;top:72px;right:-16px;margin:0!important;width:32px;height:32px;padding:0;border-radius:50%;background:var(--card,#fff);border:1px solid var(--line,#dde4d5);box-shadow:0 2px 10px rgba(20,30,20,.22);display:grid!important;place-items:center;cursor:pointer;color:var(--text,#23493b)}
  html body .workspace-drawer-close .console-icon{width:16px;height:16px;margin:0}
}

/* 2026-10-28: 아이 화면(지금·기록·규칙·안전) 탭 = 아이콘(위, 크게) + 글자(아래) 로 시인성 향상. 홈 카드 탭(26차)과 같은 방식 */
@media(max-width:720px){
  html body .kc-tab{flex-direction:column;gap:4px;min-height:58px;padding:8px 6px 10px;line-height:1.15}
  html body .kc-tab .console-icon{width:24px;height:24px}
  html body .kc-tab span{font-size:.78rem}
  html body .kc-tab .dot{top:2px;right:6px}
}

/* 2026-10-28: 탭 선택 색이 site-modern.css 의 --primary(쨍한 파랑 #315fd4, html body:not(.bare) 라 특이도가 더 높아 이겨 버림)를 그대로 써서
   앱의 나머지 화면(네이비/틸)과 따로 놀았어요. .tabs/.subtabs 선택 탭은 앱 기본 네이비로 고정 */
html body:not(.bare) .tabs a.on,html body:not(.bare) .subtabs a.on{background:#172b4d!important;border-color:#172b4d!important;color:#fff!important}

/* 2026-10-28: 데스크탑 부모 화면 — 왼쪽 메뉴(.workspace-sidebar, 왼쪽 0~244px 세로 전체)가 상단 바와 같은 자리(위쪽 0~78px)를 차지해 상단 바 로고가 들어갈 자리가 없었음.
   상단 바를 전체 폭(왼쪽 메뉴 자리까지)으로 넓혀 로고가 보이게 하고, 왼쪽 메뉴는 그 아래부터 시작하게 */
@media(min-width:1101px){
  html body.parent-workspace .topbar{margin-left:-244px!important;width:calc(100% + 244px)!important}
  html body.parent-workspace .topbar .brand{display:flex!important;order:-1!important;margin-right:24px!important}
  html body.parent-workspace .workspace-sidebar{top:78px!important}
  /* parent-console.css 의 body[data-role="parent"] .topbar-in{max-width:1304px} 가 특이도(속성선택자)로
     이 폭의 .parent-workspace .topbar-in{max-width:none} 를 이겨서 로고가 가운데로 밀려 보였음 — 전체 폭으로 강제 */
  html body.parent-workspace .topbar-in{max-width:none!important;margin-left:0!important;margin-right:0!important}
}

/* 2026-10-29: 가족 지도 '이동 경로' 단추 — 눌러서 켜져 있는 동안은 눌린 상태로 보이게 */
html body .fmap-acts .btn.s.is-on{background:#1f7a8c!important;border-color:#1f7a8c!important;color:#fff!important}
html body .fmap-acts .btn.s.is-on .console-icon{color:#fff!important}
html body .fmap-cap .fmap-capbtn{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:#1f7a8c;color:#fff!important;font-weight:700;font-size:.82rem;border:0}

/* ===== VIS (2026-10-31): 보호자 화면 시인성 정리 — 마지막에 로드되는 파일이라 여기서 덮어써요 ===== */
html body:not(.bare){word-break:keep-all;overflow-wrap:break-word}
html body.parent-workspace:not(.bare){font-size:15px}
/* 사이드바: 15px 진한 글자, 지금 위치는 꽉 찬 색 */
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a){font-size:15px!important;font-weight:750;color:#1b2c49!important;min-height:44px}
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a)[aria-current]{background:#e3ebfb!important;color:#1e47ad!important;box-shadow:inset 3px 0 0 #315fd4}
html body.parent-workspace:not(.bare) .workspace-children>a{font-size:15px!important;color:#1b2c49!important;min-height:48px}
html body.parent-workspace:not(.bare) .workspace-children>a small{font-size:12.5px!important;color:#55647c!important;margin-top:2px}
html body.parent-workspace:not(.bare) .workspace-children>a[aria-current]{background:#e3ebfb!important;color:#1e47ad!important;border-radius:12px;box-shadow:inset 3px 0 0 #315fd4!important}
html body.parent-workspace:not(.bare) .workspace-children>a[aria-current] small{color:#3b4b66!important}
html body.parent-workspace:not(.bare) .ws-group>summary{font-size:13.5px!important;color:#55647c!important}
html body.parent-workspace:not(.bare) .workspace-search-button{font-size:14px!important;color:#55647c;min-height:44px}
html body.parent-workspace:not(.bare) .workspace-search-button span{font-size:14px!important}
/* 아이 화면 탭·항목 칩: 14px, 선택은 진한 파랑 */
html body.parent-workspace:not(.bare) .kc-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
html body.parent-workspace:not(.bare) .kc-tab{font-size:15px!important;font-weight:750;color:#3b4b66;white-space:nowrap;min-height:44px}
html body.parent-workspace:not(.bare) .kc-tab.on{color:#315fd4}
html body.parent-workspace:not(.bare) .kc-tab.on::after{background:#315fd4;height:3px}
html body.parent-workspace:not(.bare) .kc-chip{height:auto!important;min-height:40px;font-size:14px!important;color:#1b2c49!important;background:#fff!important;border:1px solid #cdd8e8!important;font-weight:700}
html body.parent-workspace:not(.bare) .kc-chip.on{background:#315fd4!important;border-color:#315fd4!important;color:#fff!important}
html body.parent-workspace:not(.bare) .kc-chip.on .console-icon{color:#fff}
html body.parent-workspace:not(.bare) .child-card.v2 .cc-tab{font-size:14px!important;color:#3b4b66;min-height:40px}
html body.parent-workspace:not(.bare) .child-card.v2 .cc-tab.on{color:#315fd4;font-weight:800;box-shadow:inset 0 -3px 0 #315fd4}
html body.parent-workspace:not(.bare) .subtabs a{font-size:14px!important;min-height:40px;color:#1b2c49}
html body.parent-workspace:not(.bare) .subtabs a.on{background:#315fd4!important;color:#fff!important;border-color:#315fd4!important}
/* 버튼: 주 버튼은 꽉 찬 파랑, 나머지는 흰 바탕 */
html body.parent-workspace:not(.bare) main .btn.primary:not(.dm-hero-actions .btn){background:#315fd4!important;border-color:#315fd4!important;color:#fff!important}
html body.parent-workspace:not(.bare) main .btn.primary .console-icon,html body.parent-workspace:not(.bare) main .btn.primary .ic{color:#fff}
html body.parent-workspace:not(.bare) main .btn:not(.primary):not(.danger):not(.ghost){background:#fff;border-color:#cdd8e8;color:#1b2c49}
html body.parent-workspace:not(.bare) main .btn{min-height:40px;font-size:14px}
html body.parent-workspace:not(.bare) main .btn.s{min-height:36px;font-size:13.5px}
/* 제목 통일 */
html body.parent-workspace:not(.bare) main :is(.page-head h1,.console-heading h1,.mr h1){font-size:clamp(22px,2.2vw,24px)!important;font-weight:800;color:#1b2c49;letter-spacing:-.02em}
html body.parent-workspace:not(.bare) main :is(.page-head p,.console-heading p){font-size:14.5px;color:#55647c}
html body.parent-workspace:not(.bare) main :is(.card,.console-panel,section)>h2,html body.parent-workspace:not(.bare) main .section-head h2{font-size:18px!important;font-weight:700;color:#1b2c49}
html body.parent-workspace:not(.bare) main :is(small,.small,.muted){font-size:max(12.5px,.8em)}
/* 진행 막대 보이게 */
html body.parent-workspace:not(.bare) .bar{height:10px;background:#e3e9f3;border-radius:99px;overflow:hidden}
html body.parent-workspace:not(.bare) .bar>span{background:#315fd4;border-radius:99px}
/* 모바일: 위 56px·아래 64px로 줄이기 */
@media(max-width:900px){
  html body.parent-workspace:not(.bare) .topbar-in{padding:6px 12px!important;min-height:56px;gap:8px}
  html body.parent-workspace:not(.bare) .topbar .brand-text{font-size:16px}
  html body.parent-workspace:not(.bare) .topbar .nav-profile summary{max-width:48px;overflow:hidden}
  html body.parent-workspace:not(.bare) .topbar .np-name,html body.parent-workspace:not(.bare) .topbar .np-caret{display:none}
  html body.parent-workspace:not(.bare) .workspace-search-button{display:none}
  html body.parent-workspace:not(.bare) .gnav{padding:4px 6px calc(4px + env(safe-area-inset-bottom))!important;min-height:64px}
  html body.parent-workspace:not(.bare) .gnav a{padding:6px 0 4px!important;font-size:12.5px!important;gap:2px;min-height:52px;justify-content:center}
  html body.parent-workspace:not(.bare) .gnav a .console-icon{width:22px;height:22px}
  html body.parent-workspace:not(.bare) .gnav a[aria-current="page"]{background:#315fd4!important;color:#fff!important}
  html body.parent-workspace:not(.bare) .gnav a[aria-current="page"] .console-icon{color:#fff!important}
  html body.parent-workspace:not(.bare) .scope-mini{padding:6px 12px!important;gap:8px}
  html body.parent-workspace:not(.bare) .scope-mini-links a span{font-size:12.5px}
  html body.parent-workspace:not(.bare) .kc-tab{min-height:48px!important;padding:6px 4px!important;font-size:13.5px!important;flex-direction:row!important;gap:4px!important}
}
/* 비상 코드 가리기 */
.code-sheet.masked .code-list code:not(.code-hidden){filter:blur(6px);user-select:none}
@media print{.code-sheet.masked .code-list code{filter:none!important}}
/* VIS 2: 화면별 */
html body.parent-workspace:not(.bare) .today-quick .btn{min-height:44px;min-width:64px;font-size:15px;font-weight:800;background:#fff;border:1.5px solid #315fd4;color:#315fd4}
html body.parent-workspace:not(.bare) [data-copy-day]{font-size:13.5px!important;min-height:40px}
html body.parent-workspace:not(.bare) .day-head span,html body.parent-workspace:not(.bare) .day-row .field>span{font-size:13.5px;color:#3b4b66;font-weight:700}
html body.parent-workspace:not(.bare) .stat-card small{font-size:13.5px!important;color:#55647c}
html body.parent-workspace:not(.bare) .stat-card b{font-size:22px}
html body.parent-workspace:not(.bare) .period-pick input,html body.parent-workspace:not(.bare) .period-tabs a{color:#1b2c49;border-color:#b9c7dc}
html body.parent-workspace:not(.bare) .mr-g>b{font-size:15px!important;color:#1b2c49!important}
html body.parent-workspace:not(.bare) .mr-ic{color:#315fd4!important;background:#eaf0fc!important}
html body.parent-workspace:not(.bare) .mr-t small{font-size:13px;color:#55647c}
html body.parent-workspace:not(.bare) .mr-out a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 18px;white-space:nowrap}
html body.parent-workspace:not(.bare) .msg-chip{min-height:40px;font-size:14px;color:#1b2c49;background:#fff;border:1px solid #cdd8e8}
html body.parent-workspace:not(.bare) :is(.msg-date,.msg-day,.msg-sep){color:#3b4b66;font-size:13px;font-weight:700}
html body.parent-workspace:not(.bare) .msg-read{color:#315fd4;font-size:12px;font-weight:700}
html body.parent-workspace:not(.bare) .msg-compose textarea::placeholder{font-size:14px;color:#55647c}
html body.parent-workspace:not(.bare) :is(.console-field,.console-presets>span){font-size:14px;color:#1b2c49;font-weight:700}
html body.parent-workspace:not(.bare) .history-explainer{background:linear-gradient(160deg,#f4f6fb,#eaf0fc);border-color:#d6e1f3}
html body.parent-workspace:not(.bare) .nt-day>summary{color:#1b2c49}
html body.parent-workspace:not(.bare) .nt-day .al-dc-d b{font-size:15px;color:#1b2c49}
html body.parent-workspace:not(.bare) .nt-un{background:#315fd4;color:#fff;font-size:12.5px;font-style:normal;padding:2px 9px;border-radius:99px}
html body.parent-workspace:not(.bare) .nt-legend{font-size:12.5px;color:#55647c}
html body.parent-workspace:not(.bare) .pcr-menu,html body.parent-workspace:not(.bare) .kmenu{justify-self:end!important}
html body.parent-workspace:not(.bare) .workspace-filter label{font-size:14px;color:#1b2c49;font-weight:700}
html body.parent-workspace:not(.bare) :is(.console-empty,.empty){border:1px solid #dfe6f0!important;border-style:solid!important;background:#f4f6fb;border-radius:18px;color:#3b4b66}
/* 지도 */
html body.parent-workspace:not(.bare) .nmap-ov .nmap-btn{min-width:44px;min-height:44px}
html body.parent-workspace:not(.bare) :is(.lt-est,.fm-pin .lt-est){font-size:12px!important;padding:2px 6px}
html body.parent-workspace:not(.bare) :is(.fm-places-pill,.fmap-places,[data-places-pill]){font-size:13.5px!important;min-height:36px}
#fm-sheet.fm-folded .fm-chips{display:flex!important}
@media(max-width:899px){html body.parent-workspace:not(.bare) .fm-sheet{--sh-vis:170px}}
/* 아이 한눈에 */
html body.parent-workspace:not(.bare) .ch-dock a{background:#fff;border:1px solid #d6e1f3;color:#1b2c49;font-size:14px;font-weight:700;min-height:64px;border-radius:16px}
html body.parent-workspace:not(.bare) .ch-dock a .console-icon{color:#315fd4}
html body.parent-workspace:not(.bare) .kr-donut{background:linear-gradient(160deg,#fff,#f4f6fb);border:1px solid #d6e1f3;border-radius:20px}
html body.parent-workspace:not(.bare) .kid-status{font-size:14.5px;color:#1b2c49;font-weight:700}
/* 할 일 */
html body.parent-workspace:not(.bare) :is(.tr-btn,.kmenu>summary){min-width:40px;min-height:40px;color:#315fd4}
/* 걸음·학습 */
html body.parent-workspace:not(.bare) :is(.lr-stat small,.st-stat small,.learn-stat small){font-size:13px!important;color:#55647c}
html body.parent-workspace:not(.bare) .kid-filter{flex-wrap:wrap;overflow:visible}

/* ===== VIS 3 (2026-10-31): 실제 렌더 결과로 다시 맞춤 — 페이지 안 <style>·ios.css 보다 이기도록 !important ===== */
/* 사이드바: 밝은 배경이라 글자는 진하게, 선택은 브랜드 파랑 옅은 채움 */
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a) span,html body.parent-workspace:not(.bare) .workspace-children>a>span:not(.workspace-initial){color:inherit!important;opacity:1!important}
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a) .console-icon{color:#55647c!important}
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a)[aria-current] .console-icon{color:#315fd4!important}
html body.parent-workspace:not(.bare) .workspace-sidebar :is(.ws-global a,nav a):hover,html body.parent-workspace:not(.bare) .workspace-children>a:hover{background:#eef3fc!important}
html body.parent-workspace:not(.bare) .workspace-children .ws-add{color:#315fd4!important;font-size:14.5px!important;font-weight:700}
html body.parent-workspace:not(.bare) .workspace-children>a[aria-current] small{color:#3b4b66!important}
/* 아이 화면 탭 5개: ios.css 의 4칸 grid 때문에 '아이 정보'가 둘째 줄로 내려갔어요 → 한 줄 flex */
html body.parent-workspace:not(.bare) .kc-tabs{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important}
html body.parent-workspace:not(.bare) .kc-tabs>.kc-tab{flex:1 1 0!important;min-width:0!important}
html body.parent-workspace:not(.bare) .kc-tab.on{background:#fff!important;color:#1e47ad!important;font-weight:800!important;box-shadow:0 2px 8px rgba(31,60,105,.14)!important}
/* 하위 칩(요약·폰 현황·컴퓨터 현황·컴퓨터별 사용): 옅은 파랑 채움 + 선택은 진한 파랑 */
html body.parent-workspace:not(.bare) .kc-chip:not(.on){background:#eef3fc!important;border:1px solid #d3def3!important;color:#1b2c49!important}
html body.parent-workspace:not(.bare) .kc-chip:not(.on) .console-icon{color:#315fd4!important}
html body.parent-workspace:not(.bare) .kc-chip:not(.on):hover{background:#e0e9fa!important}
html body.parent-workspace:not(.bare) .kc-chip{border-radius:12px!important;padding:0 16px!important;min-height:42px!important}
/* 시간 탭: 오늘만 +15/+30/+60 은 44px 파란 테두리 버튼, −15 는 회색 */
html body.parent-workspace:not(.bare) main .today-quick .btn{min-height:44px!important;min-width:72px;padding:0 16px!important;font-size:15px!important;font-weight:800!important;border-radius:12px!important;background:#fff!important;border:1.5px solid #315fd4!important;color:#315fd4!important}
html body.parent-workspace:not(.bare) main .today-quick .btn.ghost{border-color:#b9c7dc!important;color:#55647c!important}
html body.parent-workspace:not(.bare) main .today-quick>small{font-size:14px!important;color:#1b2c49!important;font-weight:700}
html body.parent-workspace:not(.bare) main .pc-actions-label{font-size:14px!important;color:#3b4b66!important}
html body.parent-workspace:not(.bare) main :is(label.field.inline>span,.with-unit em){font-size:13.5px!important;color:#55647c!important}
/* 학교: 학교 바꾸기 버튼 */
html body.parent-workspace:not(.bare) main a.btn[href="#school-setup"]{min-height:40px!important;gap:6px;font-weight:700}
/* 컴퓨터별 사용: 위 요약 라벨·조회 필터 */
html body.parent-workspace:not(.bare) main .console-stat .stat-label{font-size:14px!important;color:#3b4b66!important;font-weight:700}
html body.parent-workspace:not(.bare) main .console-stat small{font-size:13px!important;color:#55647c!important}
html body.parent-workspace:not(.bare) main .workspace-filter label{font-size:15px!important;color:#1b2c49!important;font-weight:700!important;gap:6px}
html body.parent-workspace:not(.bare) main .workspace-filter :is(select,input){min-height:44px!important;font-size:15px!important;color:#1b2c49!important;border-color:#b9c7dc!important}
/* 더보기: 그룹 제목·설명 */
html body.parent-workspace:not(.bare) .mr .mr-g>b{font-size:16px!important;color:#1b2c49!important;font-weight:800!important;margin:0 0 12px 2px!important;padding-left:10px;border-left:3px solid #315fd4;line-height:1.2}
html body.parent-workspace:not(.bare) .mr .mr-g.mr-danger>b{border-left-color:#c4271d}
html body.parent-workspace:not(.bare) .mr .mr-t b{font-size:16px!important}
html body.parent-workspace:not(.bare) .mr .mr-t small{font-size:13.5px!important;color:#55647c!important}
/* 학습 기록: 라벨 크게, 아이·기간 칩이 잘리지 않게 줄바꿈 */
html body.parent-workspace:not(.bare) .lh-controls{flex-wrap:wrap!important;gap:16px!important}
html body.parent-workspace:not(.bare) .lh-controls>div{min-width:0!important;max-width:100%!important;flex:0 1 auto!important}
html body.parent-workspace:not(.bare) .lh-pills{flex-wrap:wrap!important;overflow:visible!important;width:auto!important;max-width:100%!important}
html body.parent-workspace:not(.bare) .lh-pills a{font-size:14px!important;flex:none!important}
html body.parent-workspace:not(.bare) .lh-control-label{font-size:14px!important;color:#1b2c49!important;font-weight:700!important}
html body.parent-workspace:not(.bare) .lh-stat em{font-size:14px!important;color:#3b4b66!important;font-weight:700!important}
html body.parent-workspace:not(.bare) .lh-stat-sub{font-size:13px!important;color:#55647c!important}
html body.parent-workspace:not(.bare) :is(.lh-cnt,.lh-avg,.lh-sub,.lh-detail,.lh-sg-s,.lh-day-count,.lh-daybonus){font-size:13px!important}
html body.parent-workspace:not(.bare) .lh-open{font-size:13.5px!important;color:#315fd4!important;font-weight:700}
/* 걸음 수: 기록 없는 날도 보이게, 막대 진하게, 목표 라벨 크게 */
html body.parent-workspace:not(.bare) .stp-bar{background:#315fd4!important;max-width:30px!important;min-height:4px!important}
html body.parent-workspace:not(.bare) .stp-bar.hit{background:#128a5e!important}
html body.parent-workspace:not(.bare) .stp-bar.none{background:repeating-linear-gradient(45deg,#c9d4e4,#c9d4e4 3px,#eef2f8 3px,#eef2f8 6px)!important;min-height:14px!important;border:1px dashed #9aabc4}
html body.parent-workspace:not(.bare) .stp-goal{border-top-color:#b7791f!important}
html body.parent-workspace:not(.bare) .stp-goal span{font-size:13.5px!important;top:-22px!important;color:#7a4b0f!important;font-weight:800}
html body.parent-workspace:not(.bare) .stp-xl span{font-size:12px!important;color:#3b4b66!important}
html body.parent-workspace:not(.bare) .stp-wd div{font-size:13px!important;color:#3b4b66!important}
html body.parent-workspace:not(.bare) .stp-wd b{font-size:13px!important}
html body.parent-workspace:not(.bare) .stp-wd i{background:#7f9fd6!important}
html body.parent-workspace:not(.bare) :is(.stp-lbl,.stp-tile em){font-size:13.5px!important;color:#3b4b66!important;font-weight:700}
/* 지도: 접기·아이 칩·바로가기 버튼 크게 */
html body.parent-workspace:not(.bare) .fm-fold{min-height:44px!important;padding:6px 16px!important;font-size:14.5px!important;border-radius:12px!important}
html body.parent-workspace:not(.bare) .fm-chip{min-height:44px!important;font-size:14.5px!important;padding:6px 14px!important}
html body.parent-workspace:not(.bare) .fm-chip small{font-size:12.5px!important}
html body.parent-workspace:not(.bare) .fmap-go{min-height:40px!important;font-size:14px!important;padding:8px 14px!important}
html body.parent-workspace:not(.bare) .fmap-capbtn{min-height:44px!important;min-width:44px!important;font-size:14px!important}
html body.parent-workspace:not(.bare) .fm-title b{font-size:17px!important}
html body.parent-workspace:not(.bare) .fm-title :is(em,i){font-size:13px!important}
html body.parent-workspace:not(.bare) .fmap-acts .btn.s{min-height:44px!important;font-size:14px!important}
/* 처음 설정: '일부 연결' 단계, 완료 단계 */
html body.parent-workspace:not(.bare) .wz-steps li.part i{background:#fff4e0!important;color:#8a4b00!important;border:2px solid #f0a52b!important}
html body.parent-workspace:not(.bare) .wz-steps li.part small{color:#8a4b00!important}
html body.parent-workspace:not(.bare) .wz-steps li small{font-size:12.5px!important}
/* 홈(통합): 아래쪽 요약 */
.ds-sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.ds-card{background:#fff;border:1px solid #e0e8f4;border-radius:20px;padding:18px 18px 10px;box-shadow:0 8px 22px rgba(24,49,91,.045)}
.ds-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.ds-h h3{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;font-weight:800;color:#1b2c49}
.ds-h h3 .console-icon{width:20px;height:20px;color:#315fd4}
.ds-h a{font-size:14px;font-weight:700;color:#315fd4;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.ds-list{list-style:none;margin:0;padding:0}
.ds-list li+li{border-top:1px solid #edf1f7}
.ds-list a{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 4px;color:#1b2c49;text-decoration:none;word-break:keep-all}
.ds-list a:hover{background:#f4f6fb;border-radius:12px}
.ds-who{flex:none;font-size:14px;font-weight:800;color:#1e47ad;background:#eaf0fc;border-radius:99px;padding:3px 10px}
.ds-who.read{color:#55647c;background:#f0f3f8}
.ds-txt{flex:1;min-width:0;font-size:14.5px;color:#1b2c49;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-num{flex:none;font-size:15px;color:#1b2c49}
.ds-time{flex:none;font-size:12.5px;color:#55647c}
.ds-empty{font-size:14.5px;color:#55647c;margin:8px 0 12px}
@media(max-width:900px){.ds-sum{grid-template-columns:1fr}}
html body.parent-workspace:not(.bare) .lh-controls>div:first-child{flex:1 1 auto!important}
.ds-sum{align-items:start}
html body.parent-workspace:not(.bare) .kpi-strip .kpi small{font-size:13.5px!important;color:#3b4b66!important;font-weight:700}
html body.parent-workspace:not(.bare) .kpi-strip .kpi span{font-size:13px!important;color:#55647c}
html body.parent-workspace:not(.bare) .lh-controls>div:last-child{flex:none!important}
html body.parent-workspace:not(.bare) .lh-controls>div:last-child .lh-pills{flex-wrap:nowrap!important}
