/* Shared interior theme based on the guardian registration page. */
:root{--guardian-navy:#172b4d;--guardian-ink:#1b2940;--guardian-gold:#dbaa62;--guardian-soft:#f4f7fb;--guardian-line:#dfe6f0}
body:not(.bare){--bg:#f3f5f9;--card:#fff;--text:#1b2940;--muted:#697a91;--line:#dfe6ef;--soft:#f1f5fa;--primary:#172b4d;--primary-dark:#101d34;--primary-soft:#e9eff8;--primary-text:#274773;--shadow:0 8px 30px rgba(17,37,69,.055);color-scheme:light;background:radial-gradient(circle at 90% 0%,#eaf0f8 0,transparent 32%),#f3f5f9;color:var(--text)}
body:not(.bare) .topbar{background:#fff;border-bottom:1px solid #e2e8f1;box-shadow:0 4px 18px rgba(19,42,77,.035)}
body:not(.bare) .brand{color:var(--guardian-navy)}
body:not(.bare) .container{max-width:1450px}
body:not(.bare) .page-head,body:not(.bare) .console-heading{position:relative;isolation:isolate;min-height:116px;align-items:center;margin:0 0 24px;padding:21px 28px;border:1px solid #e0e7f1;border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(23,43,77,.055);overflow:hidden}
body:not(.bare) .page-head:after,body:not(.bare) .console-heading:after{content:"";position:absolute;z-index:-1;right:-26px;top:-48px;width:198px;height:198px;border:1px solid rgba(219,170,98,.32);border-radius:50%;box-shadow:0 0 0 32px rgba(219,170,98,.045),0 0 0 68px rgba(219,170,98,.03);pointer-events:none}
body:not(.bare) .page-head h1,body:not(.bare) .console-heading h1{color:var(--guardian-navy);font-size:clamp(25px,2.1vw,34px);letter-spacing:-.045em}
body:not(.bare) .page-head p,body:not(.bare) .console-heading p{color:#55647c}
body:not(.bare) .card,body:not(.bare) .console-panel,body:not(.bare) .computer-card,body:not(.bare) .kid-row{border:1px solid var(--guardian-line);border-radius:20px;background:#fff;box-shadow:0 9px 30px rgba(17,37,69,.045)}
body:not(.bare) .card h2,body:not(.bare) .console-panel h2,body:not(.bare) .section-head h2{color:var(--guardian-navy)}
body:not(.bare) .btn,body:not(.bare) button:not(.unstyled),body:not(.bare) .console-action{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
body:not(.bare) .btn:hover,body:not(.bare) .console-action:hover{transform:translateY(-1px)}
body:not(.bare) .btn.primary,body:not(.bare) .console-tabs a.active,body:not(.bare) .tabs.console-pc-tabs a.on,body:not(.bare) .cc-tab.on{background:#172b4d;border-color:#172b4d;color:#fff;box-shadow:0 8px 19px rgba(23,43,77,.16)}
body:not(.bare) .btn.primary:hover{background:#284574;border-color:#284574}
body:not(.bare) input:focus-visible,body:not(.bare) select:focus-visible,body:not(.bare) textarea:focus-visible,body:not(.bare) a:focus-visible,body:not(.bare) button:focus-visible{outline:3px solid #d9ae6e;outline-offset:3px}
body:not(.bare) input:not([type=radio]):not([type=checkbox]),body:not(.bare) select,body:not(.bare) textarea{border-color:#d9e2ed;border-radius:12px;background:#fbfcfe}
body:not(.bare) input:not([type=radio]):not([type=checkbox]):focus,body:not(.bare) select:focus,body:not(.bare) textarea:focus{border-color:#718caf;box-shadow:0 0 0 3px #e8eff9}
body:not(.bare) .pill,body:not(.bare) .console-status{border-radius:999px}
body:not(.bare) .alert-info,body:not(.bare) .console-note{background:#edf3fa;color:#3b587c}
body:not(.bare) .console-eyebrow,body:not(.bare) .lh-section-title span{color:#a67639}
body:not(.bare) .console-eyebrow:before{content:"";display:inline-block;width:15px;height:15px;margin-right:6px;vertical-align:-3px;background:url('illustrations/guardian-spark.svg') center/contain no-repeat}
body:not(.bare) .console-hero,body:not(.bare) .workspace-banner{position:relative;overflow:hidden;border:1px solid #223e66;border-radius:24px;background:radial-gradient(circle at 75% 70%,#344d75,transparent 45%),linear-gradient(140deg,#172b4d,#101d34);color:#fff;box-shadow:0 18px 38px rgba(23,43,77,.13)}
body:not(.bare) .console-hero{background-image:url('illustrations/guardian-orbit.svg'),radial-gradient(circle at 75% 70%,#344d75,transparent 45%),linear-gradient(140deg,#172b4d,#101d34);background-repeat:no-repeat;background-position:right center,center,center;background-size:auto 105%,cover,cover}
body:not(.bare) .workspace-banner h2,body:not(.bare) .console-hero h2{color:#fff}
body:not(.bare) .workspace-banner p,body:not(.bare) .console-hero p{color:#c1cee1}
body:not(.bare) .workspace-banner img{filter:drop-shadow(0 14px 18px rgba(5,13,30,.2))}
body:not(.bare) .console-stat.featured{background:#172b4d;border-color:#172b4d;color:#fff}
body:not(.bare) .console-stat.featured .stat-label,body:not(.bare) .console-stat.featured small{color:#bdcde2}
body:not(.bare) .console-action>.console-icon:first-child,body:not(.bare) .computer-symbol,body:not(.bare) .activity-icon{background:#edf2f9;color:#36577e}
body:not(.bare) .console-action:hover,body:not(.bare) .device-option.selected,body:not(.bare) .computer-card.selected{border-color:#cba05e;background:#fffcf7;box-shadow:0 0 0 2px #f5ead8}
body:not(.bare) .console-tabs a.active,body:not(.bare) .tabs.console-pc-tabs a.on{border-radius:11px}
body:not(.bare) .console-tabs a:not(.active),body:not(.bare) .tabs.console-pc-tabs a:not(.on){border-color:#d5e0ec;color:#345575}
body:not(.bare) .kid-tab.on,body:not(.bare) .home-switch a.on{background:#172b4d;border-color:#172b4d;color:#fff;box-shadow:0 5px 15px rgba(23,43,77,.2)}
body:not(.bare) .kid-tab:not(.on),body:not(.bare) .home-switch{background:#edf2f8;border-color:#d9e3ee}
body:not(.bare) .cc-tab:not(.on){border-color:#d5e0ec;color:#294d71}
body:not(.bare) .console-status.ready{background:#e6f4ed;color:#23694b}
body:not(.bare) .site-notice{background:#fff4df;border-color:#ebd5a8;color:#76532d}
body.parent-workspace .workspace-sidebar{background:linear-gradient(170deg,#192f53 0%,#101d34 100%);border-right:1px solid #2b4268;box-shadow:12px 0 35px rgba(12,28,56,.08)}
body.parent-workspace .workspace-brand{color:#fff}
body.parent-workspace .workspace-brand small,body.parent-workspace .workspace-nav-label,body.parent-workspace .workspace-children small{color:#55647c}
body.parent-workspace .workspace-sidebar nav a,body.parent-workspace .workspace-sidebar nav a .console-icon,body.parent-workspace .workspace-children>a{color:#d1dced}
body.parent-workspace .workspace-sidebar nav a:hover{background:#2b446e;color:#fff}
body.parent-workspace .workspace-sidebar nav a[aria-current]{background:#f3c77d;color:#172b4d;font-weight:800;box-shadow:0 5px 15px rgba(0,0,0,.13)}
body.parent-workspace .workspace-sidebar nav a[aria-current] .console-icon{color:#172b4d}
body.parent-workspace .ws-group>summary,body.parent-workspace .ws-group>summary .console-icon{color:#d7e2f2}
body.parent-workspace .ws-group>summary:hover{background:#29436c;color:#fff}
body.parent-workspace .ws-group>summary:hover .console-icon{color:#fff}
body.parent-workspace .ws-group>summary em{background:#3b537a;color:#f5d9aa}
body.parent-workspace .ws-group>summary::after{border-color:#b6c8e3}
body.parent-workspace .ws-group nav{border-left-color:#526987}
body.parent-workspace .ws-group nav a,body.parent-workspace .ws-group nav a .console-icon{color:#c5d4e9}
body.parent-workspace .ws-group nav a:hover{background:#2e4973;color:#fff}
body.parent-workspace .ws-group nav a[aria-current]{background:#f3c77d;color:#172b4d}
body.parent-workspace .ws-group nav a[aria-current] .console-icon{color:#172b4d}
body.parent-workspace .workspace-help,body.parent-workspace .workspace-initial{background:#283f64;border-color:#3e5680;color:#e9f0fa}
body.parent-workspace .workspace-search-button{background:#f5f7fb;border-color:#dfe6ef;color:#55647c}
body.parent-workspace .workspace-command{border-color:#dce4f0;color:#1b2940}
body.parent-workspace .workspace-command::backdrop{background:#101d3470}
body.parent-workspace .command-results>a{color:#365475}
body.parent-workspace .command-results>a:hover{background:#edf3fa}
body.parent-workspace .console-context a,body.parent-workspace .console-panel-header a{color:#365f91}
body.parent-workspace .console-tabs a.active,body.parent-workspace .tabs.console-pc-tabs a.on{background:#172b4d;border-color:#172b4d;color:#fff}
body.parent-workspace .console-toggle input[type=checkbox]{accent-color:#2d507d}
@media(max-width:1100px){body.parent-workspace .workspace-sidebar{box-shadow:16px 0 55px #0e1c3560}body.parent-workspace .workspace-open .workspace-scrim{background:#101d3480}}
@media(max-width:680px){body:not(.bare) .page-head,body:not(.bare) .console-heading{padding:20px 18px;min-height:95px}body:not(.bare) .page-head:after,body:not(.bare) .console-heading:after{right:-105px}body:not(.bare) .console-hero{background-size:auto 70%,cover,cover;background-position:right bottom,center,center}body:not(.bare) .console-hero>div{max-width:68%}body:not(.bare) .workspace-banner{padding:22px}body:not(.bare) .workspace-banner h2{font-size:22px}}
@media(max-width:440px){body:not(.bare) .console-hero{background-image:linear-gradient(140deg,#172b4d,#101d34);min-height:auto}body:not(.bare) .console-hero>div{max-width:100%}body:not(.bare) .workspace-banner>img{opacity:.28}}
body.bare:not(:has(.reg-page,.lp,.connection-page)){--bg:#f3f5f9;--text:#1b2940;--muted:#697a91;--line:#dfe6ef;--primary:#172b4d;--primary-soft:#e9eff8;--primary-text:#274773;background:radial-gradient(circle at 5% 9%,#e6edf8,transparent 32%),#f3f5f9;color:#1b2940;color-scheme:light}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-wrap{max-width:1100px;gap:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;border-radius:28px;background:#fff;box-shadow:0 25px 70px rgba(17,37,69,.12)}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-wrap:not(:has(.auth-hero)){display:block;max-width:640px}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-hero{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:560px;padding:50px;background:#172b4d url('illustrations/guardian-orbit.svg') center bottom 30px/90% auto no-repeat;color:#fff}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-hero h1,body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-hero h2{color:#fff}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-hero p{color:#c2d0e4}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-card{align-self:stretch;display:flex;flex-direction:column;justify-content:center;border:0;border-radius:0;box-shadow:none;padding:clamp(30px,5vw,58px)}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-card h2{color:#172b4d}
body.bare:not(:has(.reg-page,.lp,.connection-page)) .btn.primary{background:#172b4d;border-color:#172b4d;color:#fff}
body.bare:not(:has(.reg-page,.lp,.connection-page)) input:focus-visible{outline:3px solid #d9ae6e;outline-offset:2px;box-shadow:0 0 0 3px #e9eff8}
@media(max-width:760px){body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-wrap{grid-template-columns:1fr}body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-hero{min-height:220px;padding:28px;background-size:auto 180px;background-position:right bottom}body.bare:not(:has(.reg-page,.lp,.connection-page)) .auth-card{padding:30px}}
body:not(.bare) .lh-hero{border-color:#2b426a;background:radial-gradient(circle at 78% 75%,#344e79 0,transparent 44%),linear-gradient(135deg,#172b4d,#101d34);box-shadow:0 17px 35px rgba(23,43,77,.14);color:#fff}
body:not(.bare) .lh-hero h1{color:#fff}
body:not(.bare) .lh-hero small{color:#f2ca86}
body:not(.bare) .lh-hero p,body:not(.bare) .lh-faces{color:#bfcee4}
body:not(.bare) .lh-faces .avatar{box-shadow:0 0 0 2px #243b62}
body:not(.bare) .lh-controls,body:not(.bare) .lh-stat,body:not(.bare) .lh-day{border-color:#dfe6f0;box-shadow:0 8px 26px rgba(17,37,69,.05)}
body:not(.bare) .lh-pills a{background:#f8fafd;border-color:#dce5f0;color:#365575}
body:not(.bare) .lh-pills a:hover{border-color:#cba05e;background:#fffaf0}
body:not(.bare) .lh-pills a.on{background:#172b4d;border-color:#172b4d;color:#fff;box-shadow:0 6px 16px rgba(23,43,77,.18)}
body:not(.bare) .lh-stat b,body:not(.bare) .lh-section-title h2,body:not(.bare) .lh-date b,body:not(.bare) .lh-site-h b,body:not(.bare) .lh-main strong{color:#172b4d}
body:not(.bare) .lh-stat.bonus{background:#fffaf1;border-color:#f0dfbe}
body:not(.bare) .lh-day[open]>.lh-day-h,body:not(.bare) .lh-site[open]>.lh-site-h{background:#f7f9fd;border-bottom-color:#e2e8f1}
body:not(.bare) .lh-day-arrow,body:not(.bare) .lh-cnt{background:#edf2f9;color:#345b8a}
body:not(.bare) .lh-site-body>.lh-list,body:not(.bare) .lh-site-body>.lh-todos,body:not(.bare) .lh-site-body>.lh-zero{border-left-color:#d8c19a}
body:not(.bare) .lh-kid{background:#f7f9fd;border-color:#e1e8f2}
body:not(.bare) .lh-note,body:not(.bare) .lh-zero{background:#f7f9fd;border-color:#e2e8f1}
body:not(.bare) .msg-chat{border-color:#dfe6ef;box-shadow:0 18px 46px rgba(17,37,69,.085)}
body:not(.bare) .msg-chat .msg-head{background:#f7f9fd;border-bottom-color:#e0e8f2}
body:not(.bare) .msg-chat .msg-scroll,body:not(.bare) .mobile-msg-chat .msg-scroll{background:#f4f7fb url('illustrations/chat-pattern.svg') repeat}
body:not(.bare) .msg-chat .msg-compose{background:#fff}
body:not(.bare) .msg-chat .msg-bubble{box-shadow:0 5px 14px rgba(17,37,69,.06)}
body:not(.bare) .msg-row.mine .msg-bubble,body:not(.bare) .mobile-msg-chat .msg-row.mine .msg-bubble{background:#172b4d;border-color:#172b4d;color:#fff}
body:not(.bare) .msg-thread.on{background:#e9eff8}
body:not(.bare) .msg-chip{background:#f7f9fd;border-color:#dce5ef;color:#344f73}
body:not(.bare) .msg-chip:hover{background:#fff9ed;border-color:#d6aa69;color:#755428}
body:not(.bare) .msg-attach{background:#edf2f9;color:#365b88}
body:not(.bare) .msg-form textarea{background:#fafcff;border-color:#dce5ef}
/* Design audit: give the main content room, and keep navigation readable. */
body:not(.bare) .page-head,body:not(.bare) .console-heading{min-height:82px;margin-bottom:16px;padding:15px 22px}
body:not(.bare) .page-head h1,body:not(.bare) .console-heading h1{font-size:clamp(24px,1.9vw,30px)}
body:not(.bare) .toc-top .toc-picker{position:sticky;top:72px;z-index:6;margin-bottom:18px}
body:not(.bare) .toc-top .toc-picker>summary{display:flex;align-items:center;gap:12px;min-height:62px;padding:10px 17px;border:1px solid #dce5f0;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(23,43,77,.06);cursor:pointer;list-style:none}
body:not(.bare) .toc-top .toc-picker>summary::-webkit-details-marker{display:none}
body:not(.bare) .toc-top .toc-picker[open]>summary{border-color:#b9cbe1;border-radius:15px 15px 10px 10px;box-shadow:0 9px 24px rgba(23,43,77,.1)}
body:not(.bare) .toc-picker-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#eaf0f9;color:#294b79;font-size:23px;line-height:1}
body:not(.bare) .toc-picker-copy{display:grid;gap:1px;min-width:0}
body:not(.bare) .toc-picker-copy small{color:#55647c;font-size:11px;font-weight:700}
body:not(.bare) .toc-picker-copy strong{color:#172b4d;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.bare) .toc-picker-action{display:flex;align-items:center;gap:12px;margin-left:auto;padding:8px 12px;border:1px solid #dce5f0;border-radius:9px;color:#395a82;font-size:12px;font-weight:800;white-space:nowrap}
body:not(.bare) .toc-picker-action span{font-size:18px;line-height:12px;transition:transform .2s}
body:not(.bare) .toc-picker[open] .toc-picker-action span{transform:rotate(180deg)}
body:not(.bare) .toc-top .toc-picker .toc{position:absolute;top:calc(100% + 7px);left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;padding:11px;border:1px solid #dce5f0;border-radius:14px;background:#fff;box-shadow:0 20px 38px rgba(23,43,77,.16);overflow:visible}
body:not(.bare) .toc-top .toc-picker .toc a{display:flex;align-items:center;min-height:42px;padding:9px 12px!important;border-radius:9px;font-size:.88rem!important;white-space:normal;overflow:visible;text-overflow:clip}
body:not(.bare) .toc-top .toc-picker .toc a.on{background:#eaf0f9;color:#172b4d;box-shadow:inset 3px 0 0 #d7a55d}
body:not(.bare) .toc-top .toc-body>section.card{scroll-margin-top:150px}
@media(max-width:700px){body:not(.bare) .toc-top .toc-picker{top:58px;margin-bottom:14px}body:not(.bare) .toc-top .toc-picker>summary{min-height:56px;padding:8px 12px}body:not(.bare) .toc-picker-icon{width:34px;height:34px}body:not(.bare) .toc-picker-action{padding:7px 9px;font-size:11px}body:not(.bare) .toc-top .toc-picker .toc{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:8px}body:not(.bare) .toc-top .toc-picker .toc a{min-height:42px;padding:8px!important;font-size:.78rem!important}body:not(.bare) .toc-top .toc-body>section.card{scroll-margin-top:125px}}
body:not(.bare) .tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
body:not(.bare) .tabs::-webkit-scrollbar{display:none}
body:not(.bare) .tabs a{flex:none;min-height:40px;display:inline-flex;align-items:center}
body:not(.bare) .kr-donut{--c:#416a9b;--cu:#dbaa62}
body:not(.bare) .kr-donut.free .kd-ring{background:#e5eaf2}
body:not(.bare) .kd-in b,body:not(.bare) .kd-lbl,body:not(.bare) .kd-row{color:#172b4d}
body:not(.bare) .kd-dot.used{background:#dbaa62}
body:not(.bare) .kd-dot.left{background:#416a9b}
body:not(.bare) .kd-lbl i{background:#e9eff8;color:#355b87}
body:not(.bare) .nt-kid .notif-list>li.unread{background:#eef3fb;box-shadow:inset 3px 0 0 #c89850}
body:not(.bare) .nt-state.new{background:#172b4d}
body:not(.bare) .act-filter a{background:#f7f9fd;border-color:#dce5f0;color:#355575}
body:not(.bare) .act-filter a.on{background:#172b4d;border-color:#172b4d;color:#fff}
body:not(.bare) .al-dc.today{border-color:#2d456d}
body:not(.bare) .al-dc.today>summary{background:#172b4d}
body:not(.bare) .scope-crumb a,body:not(.bare) .scope-crumb strong,body:not(.bare) .scope-title h1{color:#172b4d}
body:not(.bare) .scope-l1 a,body:not(.bare) .scope-l3 .scope-group a{background:#f7f9fd;border-color:#dce5f0;color:#365575}
body:not(.bare) .scope-l1 a.on,body:not(.bare) .scope-l3 .scope-group a.on{background:#172b4d;border-color:#172b4d;color:#fff}
body:not(.bare) .scope-l2 a.on{border-color:#dbaa62;background:#fffaf1;box-shadow:inset 0 0 0 1px #dbaa62}
body:not(.bare) .lh-hero{padding:16px 22px;margin-bottom:11px;border-radius:20px}
body:not(.bare) .lh-controls{padding:12px 16px;margin-bottom:11px}
body:not(.bare) .lh-stats{gap:10px;margin-bottom:2px}
body:not(.bare) .lh-stat{padding:12px 14px;border-radius:16px}
body:not(.bare) .lh-stat b{font-size:1.45rem}
@media(max-width:680px){body:not(.bare) .page-head,body:not(.bare) .console-heading{min-height:0;padding:15px 16px;margin-bottom:13px}body:not(.bare) .toc-top .toc{margin-bottom:13px}body:not(.bare) .lh-hero{padding:16px}body:not(.bare) .lh-stat{padding:11px}}
/* Calm, scannable family navigation. */
body.parent-workspace .workspace-sidebar{padding:21px 12px 18px;background:#f8fafc;border-right:1px solid #dce5f0;box-shadow:8px 0 24px rgba(24,43,73,.04)}
body.parent-workspace .workspace-brand{display:flex;gap:10px;margin:0 5px 20px;padding:8px 6px 17px;border-bottom:1px solid #e1e8f1;color:#172b4d;font-size:21px}
body.parent-workspace .workspace-brand img{width:38px;height:38px}
body.parent-workspace .workspace-brand small{color:#55647c;letter-spacing:2px}
body.parent-workspace .workspace-sidebar nav.ws-primary{gap:3px;margin:0 0 12px}
body.parent-workspace .workspace-sidebar nav a{min-height:42px;padding:10px 12px;border-radius:11px;color:#405572;font-size:13px;font-weight:720}
body.parent-workspace .workspace-sidebar nav a .console-icon{width:18px;height:18px;color:#55647c}
body.parent-workspace .workspace-sidebar nav a:hover{background:#eef2f8;color:#172b4d}
body.parent-workspace .workspace-sidebar nav a[aria-current]{background:#e9eff9;color:#172b4d;box-shadow:inset 3px 0 0 #d7a55d}
body.parent-workspace .workspace-sidebar nav a[aria-current] .console-icon{color:#294b79}
body.parent-workspace .ws-group{margin:5px 0;border-top:0}
body.parent-workspace .ws-group>summary{min-height:38px;padding:9px 12px;border-radius:9px;color:#55647c;font-size:11px;font-weight:800;letter-spacing:.04em}
body.parent-workspace .ws-group>summary .console-icon{width:16px;height:16px;margin-right:9px;color:#55647c}
body.parent-workspace .ws-group>summary:hover{background:#edf2f9;color:#172b4d}
body.parent-workspace .ws-group>summary:hover .console-icon{color:#294b79}
body.parent-workspace .ws-group>summary::after{border-color:#8c9bb0}
body.parent-workspace .ws-group>summary em{background:#e7edf6;color:#34506f}
body.parent-workspace .ws-group nav{margin:1px 0 8px;padding:0 0 0 13px;border-left:0}
body.parent-workspace .ws-group nav a{min-height:38px;padding:8px 10px;color:#55647c;font-size:12.5px}
body.parent-workspace .ws-group nav a .console-icon{width:16px;height:16px;color:#55647c}
body.parent-workspace .ws-group nav a:hover{background:#edf2f9;color:#172b4d}
body.parent-workspace .ws-group nav a[aria-current]{background:#e9eff9;color:#172b4d}
body.parent-workspace .ws-group nav a[aria-current] .console-icon{color:#294b79}
body.parent-workspace .workspace-children{gap:4px;margin:3px 0 5px;padding:0 2px}
body.parent-workspace .workspace-children>a{min-height:51px;padding:7px 8px;border-radius:11px;color:#263e60;font-size:12.5px;font-weight:800}
body.parent-workspace .workspace-children>a:hover{background:#edf2f9;color:#172b4d}
body.parent-workspace .workspace-children>a[aria-current]{background:#e9eff9;box-shadow:inset 3px 0 0 #d7a55d}
body.parent-workspace .workspace-children small{margin-top:3px;color:#55647c;font-size:10.5px;font-weight:600;white-space:nowrap}
body.parent-workspace .workspace-children .workspace-initial{flex:none;width:32px;height:32px;border-radius:10px;background:#e8eef7;border:1px solid #d9e4f0;color:#294b79}
body.parent-workspace .workspace-children .workspace-initial img{border-radius:9px;object-fit:cover}
body.parent-workspace .workspace-children>a>.console-icon{width:14px;height:14px;color:#55647c}
body.parent-workspace .workspace-children .ws-add{min-height:40px;color:#416189}
body.parent-workspace .workspace-children .ws-add .workspace-initial{width:28px;height:28px;background:#fff4df;border-color:#ead4ae;color:#956825}
body.parent-workspace .workspace-sidebar nav a>em.ws-un{background:#d44854;color:#fff}
body.parent-workspace .workspace-sidebar .ws-un{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d44854;color:#fff;font-size:11px;font-style:normal;font-weight:800;line-height:1;letter-spacing:0}
.admin-vector-icon{display:inline-block;width:17px;height:17px;margin:0 2px;vertical-align:-3px;object-fit:contain}
.ti .admin-vector-icon{width:22px;height:22px;margin:0;vertical-align:middle}
.admin-search-icon{padding-left:34px!important;background-image:url('ui-icons/search.svg')!important;background-repeat:no-repeat!important;background-size:17px 17px!important;background-position:12px center!important}
body.parent-workspace .workspace-sidebar nav a{font-size:13.5px}
body.parent-workspace .ws-group>summary{font-size:12px}
body.parent-workspace .ws-group nav a{font-size:13px}
body:not(.bare) .scope-swipe-hint{display:none}
@media(max-width:900px){body:not(.bare) .scope-swipe-hint{display:block;text-align:right;margin:-5px 3px 8px;color:#55647c;font-size:11px;font-weight:700}body:not(.bare) .scope-l1,body:not(.bare) .scope-side,body:not(.bare) .scope-main>.scope-pm{scrollbar-width:none}}
body:not(.bare) .device-install-links{position:relative;flex:none}
body:not(.bare) .device-install-links>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px;min-height:42px}
body:not(.bare) .device-install-links>summary::-webkit-details-marker{display:none}
body:not(.bare) .device-install-links>div{position:absolute;right:0;top:calc(100% + 8px);z-index:12;display:grid;gap:6px;min-width:180px;padding:8px;border:1px solid #dce5f0;border-radius:14px;background:#fff;box-shadow:0 16px 35px rgba(23,43,77,.14)}
body:not(.bare) .device-install-links>div .btn{justify-content:flex-start;white-space:nowrap}
body:not(.bare) .device-help-note{margin:-4px 0 14px;color:#55647c;font-size:.84rem}
body:not(.bare) .device-help-note>summary{display:inline-block;cursor:pointer;color:#3d618a;font-weight:750}
body:not(.bare) .device-help-note p{margin:8px 0 0;max-width:780px;line-height:1.55}
body:not(.bare) .mobile-time-help{margin:-7px 0 13px;padding:9px 12px;border:1px solid #dce5f0;border-radius:11px;background:#f8fafd}
body:not(.bare) .mobile-time-help>summary{cursor:pointer;color:#3d618a;font-size:.84rem;font-weight:750}
body:not(.bare) .mobile-time-help .console-bullets{margin:10px 0 2px}
@media(max-width:600px){body:not(.bare) .device-install-links{width:100%}body:not(.bare) .device-install-links>summary{width:100%;justify-content:center}body:not(.bare) .device-install-links>div{left:0;right:0}}
body:not(.bare) .stat-card>small .console-icon{width:16px;height:16px;vertical-align:-3px;color:#486991}
body:not(.bare) .fmap-card{border-left-color:#7492b9}
body:not(.bare) .fmap-card.moving{border-left-color:#dbaa62}
body:not(.bare) .fmap-card.still{border-left-color:#416a9b}
body:not(.bare) .fmap-card.sel,body:not(.bare) .fmap-card:focus-visible{box-shadow:0 0 0 3px rgba(219,170,98,.25)}
body:not(.bare) .fmap-card.sel{background:#f8fafd}
body:not(.bare) .notif-list>li.unread strong{color:#172b4d}
body:not(.bare) .notif-list>li.urgent{box-shadow:inset 3px 0 0 #d34e55}
@media(max-width:700px){body:not(.bare) .admin-users-table,body:not(.bare) .admin-users-table tbody,body:not(.bare) .admin-users-table tr,body:not(.bare) .admin-users-table td{display:block;width:100%}body:not(.bare) .admin-users-table thead{display:none}body:not(.bare) .admin-users-table tr{margin:0 0 10px;padding:10px 13px;border:1px solid #dce5f0;border-radius:13px;background:#fff}body:not(.bare) .admin-users-table td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:9px;padding:6px 0;border:0;overflow-wrap:anywhere}body:not(.bare) .admin-users-table td:first-child{display:block;padding-bottom:9px;border-bottom:1px solid #e4eaf2}body:not(.bare) .admin-users-table td:not(:first-child)::before{content:attr(data-label);color:#55647c;font-size:.76rem;font-weight:700}body:not(.bare) .admin-users-table td[colspan]{display:block}}
@media(max-width:600px){body:not(.bare) .fmap-acts{display:grid;grid-template-columns:1fr 1fr}body:not(.bare) .fmap-acts>.btn{justify-content:center;min-width:0}body:not(.bare) .fmap-acts>.btn:first-child{grid-column:1/-1}}
body:not(.bare) .scope-more{margin-top:6px}
body:not(.bare) .scope-more>summary{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 11px;border:1px solid #dce5f0;border-radius:9px;background:#f8fafd;color:#456487;font-size:.82rem;font-weight:750;cursor:pointer;list-style:none}
body:not(.bare) .scope-more>summary::-webkit-details-marker{display:none}
body:not(.bare) .scope-more>summary::before{content:"▸";color:#b48343}
body:not(.bare) .scope-more[open]>summary::before{content:"▾"}
body:not(.bare) .scope-more .scope-l1{margin-top:7px}
/* 새 기기 설치 메뉴가 머리 카드 밖으로 나와야 하므로 이 머리 카드만 잘라내지 않아요 (장식 원은 뺌) */
body:not(.bare) .console-heading:has(.device-install-links){overflow:visible;z-index:5}
body:not(.bare) .console-heading:has(.device-install-links):after{display:none}
/* 사이드바 '우리 아이' 아래 아이 계정: 제목보다 안쪽으로 들여쓰고 왼쪽 세로선은 없앰 */
body.parent-workspace .ws-group .workspace-children{margin:3px 0 5px 20px;padding:0 2px 0 0;border-left:0}
/* 가족 지도 머리: 한 줄로 납작하게 (지도가 첫 화면에 크게 보이도록) + [지도|카드] 전환 버튼이 옆으로 길게 늘어나지 않게 */
.home-switch{display:inline-flex;width:fit-content;max-width:100%;flex:none;align-self:center}
body:not(.bare) .console-heading.cmp{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:0;margin:0 0 10px;padding:8px 14px;border-radius:16px}
body:not(.bare) .console-heading.cmp:after{display:none}
body:not(.bare) .console-heading.cmp .console-eyebrow,body:not(.bare) .console-heading.cmp p{display:none}
body:not(.bare) .console-heading.cmp h1{margin:0;font-size:1.1rem;letter-spacing:-.02em}
body:not(.bare) .console-heading.cmp .home-switch a{padding:6px 16px;min-width:56px;text-align:center}
@media(max-width:680px){body:not(.bare) .console-heading.cmp{padding:6px 12px;margin-bottom:8px}}
/* 보호자 첫 화면 머리(지도·카드 공통): 아이콘 + 제목 + [지도|카드] 탭 */
.hh{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:10px 14px;border:1px solid #e0e7f1;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f5f8fd 100%);box-shadow:0 8px 24px rgba(17,37,69,.05)}
.hh-ic{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#fff4df,#f6dcab);color:#8a5a14;border:1px solid #ecd2a0;box-shadow:0 6px 14px -8px #b9852f}
.hh-ic .console-icon{width:22px;height:22px}
.hh-t{flex:1 1 200px;min-width:0}
.hh-t h1{margin:0;font-size:1.18rem;font-weight:900;color:#172b4d;letter-spacing:-.02em;line-height:1.25}
.hh-t p{margin:2px 0 0;font-size:.8rem;color:#55647c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-tabs{display:inline-flex;flex:none;gap:3px;padding:3px;border-radius:14px;background:#edf2f8;border:1px solid #d9e3ee}
.hh-tabs a{display:inline-flex;align-items:center;gap:6px;padding:7px 15px;border-radius:11px;color:#456181;font-weight:800;font-size:.88rem;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.hh-tabs a .console-icon{width:16px;height:16px}
.hh-tabs a:not(.on):hover{background:#e0e8f3}
.hh-tabs a.on{background:#172b4d;color:#fff;box-shadow:0 5px 14px rgba(23,43,77,.22)}
.hh-act{display:flex;gap:8px;flex:none}
@media(max-width:620px){.hh{padding:8px 10px;gap:8px;border-radius:15px}.hh-ic{width:36px;height:36px;border-radius:12px}.hh-ic .console-icon{width:19px;height:19px}.hh-t p{display:none}.hh-t h1{font-size:1.02rem}.hh-tabs a{padding:6px 12px}.hh-act{flex:1 1 100%}.hh-act .btn{width:100%;justify-content:center}}
/* 가족 지도 시트: guardian-theme 의 body:not(.bare) 규칙이 parent-console 의 .fm-sheet 규칙을 덮어써서(우선순위) 같은 규칙을 우선순위를 올려 다시 선언 */
body:not(.bare) .fm-sheet .fmap-card{padding:9px 12px;border-radius:14px}
body:not(.bare) .fm-sheet .fmap-av{width:42px;height:42px}
body:not(.bare) .fm-sheet .fmap-who>b{font-size:.98rem}
body:not(.bare) .fm-sheet .fmap-state b{font-size:.84rem}
body:not(.bare) .fm-sheet .fmap-acts{display:none}
body:not(.bare) .fm-sheet .fmap-top{position:relative;padding-right:64px}
body:not(.bare) .fm-sheet .fmap-card{position:relative;border:1px solid #e3eaf3;border-left:1px solid #e3eaf3;border-radius:16px;background:#fff;box-shadow:none;transition:box-shadow .2s,background .2s,transform .2s}
body:not(.bare) .fm-sheet .fmap-list{display:flex;flex-direction:column;gap:10px}
body:not(.bare) .fm-sheet .fmap-card{flex:none}
@media(max-width:600px){body:not(.bare) .fm-sheet .fmap-acts{display:none}body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts{display:grid;grid-template-columns:1fr 1fr}}
/* 선택 안 된 시트 행은 이름+상태 한 줄만(두 줄 높이), 자세한 시각·배터리·정확도는 선택했을 때 */
body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-state small{display:none}
body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-state b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-who{min-width:0;flex:1 1 auto}
body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-top{align-items:center}
body:not(.bare) .fm-sheet .fmap-card:not(.sel) .loc-why{display:none}   /* 한 줄 행에서는 ⓘ 가 다음 줄로 밀리지 않게 (설명은 카드를 선택하면) */
/* 가족 지도 프로필 목록: 상태 링·점, 둥근 알약 '카드' 버튼, (넓은 화면) 반투명 패널 + 제목줄 */
body:not(.bare) .fm-sheet .fmap-av{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px #b9c6d6;border:0}
body:not(.bare) .fm-sheet .fmap-card.moving .fmap-av{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px #17a673}
body:not(.bare) .fm-sheet .fmap-card.still .fmap-av{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px #1f7a8c}
body:not(.bare) .fm-sheet .fmap-card.old .fmap-av{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px #d1ae66}
body:not(.bare) .fm-sheet .fmap-card .fmap-state>b::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#b9c6d6;vertical-align:1px}
body:not(.bare) .fm-sheet .fmap-card.moving .fmap-state>b::before{background:#17a673;box-shadow:0 0 0 3px rgba(23,166,115,.18)}
body:not(.bare) .fm-sheet .fmap-card.still .fmap-state>b::before{background:#1f7a8c;box-shadow:0 0 0 3px rgba(31,122,140,.16)}
body:not(.bare) .fm-sheet .fmap-card.old .fmap-state>b::before{background:#d1ae66;box-shadow:0 0 0 3px rgba(209,174,102,.2)}
body:not(.bare) .fm-sheet .fmap-go{gap:5px;padding:7px 13px;border-radius:999px;background:#fff;border:1px solid #d5dfed;color:#2e527e;font-weight:800;transition:background .15s,border-color .15s}
body:not(.bare) .fm-sheet .fmap-go:hover{background:#eef3fb;border-color:#b9c9e2}
.fm-title{display:none}
@media(min-width:900px){
  body:not(.bare) .fm-stage .fm-sheet{background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.8);border-radius:24px;box-shadow:0 22px 50px -18px rgba(17,37,69,.38),0 2px 8px rgba(17,37,69,.08);padding-bottom:6px}
  body:not(.bare) .fm-sheet .fm-title{display:flex;align-items:center;gap:8px;padding:16px 20px 6px}
  .fm-title b{font-size:1.02rem;font-weight:900;letter-spacing:-.02em;color:#172b4d}
  .fm-title em{font-style:normal;padding:2px 9px;border-radius:999px;background:#eef3fb;color:#2e527e;font-size:.72rem;font-weight:800}
  .fm-title i{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-style:normal;font-size:.7rem;font-weight:700;color:#55647c}
  .fm-title i::before{content:"";width:7px;height:7px;border-radius:50%;background:#17a673;box-shadow:0 0 0 3px rgba(23,166,115,.18)}
  body:not(.bare) .fm-sheet .fmap-list{padding:4px 10px 8px;gap:2px}
  body:not(.bare) .fm-sheet .fmap-card:not(.sel){background:transparent;border-color:transparent;border-radius:18px;padding:10px 10px}
  body:not(.bare) .fm-sheet .fmap-card:not(.sel):hover{background-color:#f3f7fc}
  body:not(.bare) .fm-sheet .fmap-card:not(.sel)+.fmap-card:not(.sel){background-image:linear-gradient(#edf1f6,#edf1f6);background-size:calc(100% - 24px) 1px;background-position:center top;background-repeat:no-repeat}
  body:not(.bare) .fm-sheet .fmap-av{width:48px;height:48px}
  body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-state small{display:block;margin-top:2px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;color:#55647c}
  body:not(.bare) .fm-sheet .fmap-card:not(.sel) .fmap-state .loc-why{display:none}
}
/* 위치 화면(하루 이동 흐름) 위쪽: 제목줄 + 날짜 이동줄 */
body:not(.bare) .lt-head{display:flex;align-items:center;gap:12px;margin:0 0 12px}
body:not(.bare) .lt-head-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#172b4d,#2e527e);color:#fff;box-shadow:0 8px 18px -8px rgba(23,43,77,.55)}
body:not(.bare) .lt-head-ic .console-icon{width:21px;height:21px}
body:not(.bare) .lt-head-t{min-width:0;flex:1}
body:not(.bare) .lt-head-t h2{margin:0;font-size:1.18rem;font-weight:900;letter-spacing:-.03em;color:#172b4d}
body:not(.bare) .lt-head-t small{display:block;margin-top:2px;font-size:.76rem;color:#55647c}
body:not(.bare) .lt-head-n{flex:none;padding:5px 11px;border-radius:999px;background:#eef3fb;color:#2e527e;font-size:.74rem;font-weight:700;white-space:nowrap}
body:not(.bare) .lt-head-n b{font-weight:900;margin-right:2px}
body:not(.bare) .lt-datebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:6px;border:1px solid #e1e8f1;border-radius:18px;background:linear-gradient(180deg,#f8faff,#f1f5fb)}
body:not(.bare) .lt-dnav{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff;border:1px solid #dbe4ef;color:#2e527e;text-decoration:none;box-shadow:0 2px 6px -3px rgba(23,43,77,.25);transition:background .15s,transform .1s}
body:not(.bare) .lt-dnav:hover{background:#eef3fb}
body:not(.bare) .lt-dnav:active{transform:scale(.95)}
body:not(.bare) .lt-dnav .console-icon{width:18px;height:18px}
body:not(.bare) .lt-dnav.off{opacity:.35;pointer-events:none;box-shadow:none}
body:not(.bare) .lt-dpick{position:relative;flex:1 1 auto;min-width:0;display:block;height:40px;margin:0;cursor:pointer}
body:not(.bare) .lt-dtxt{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border-radius:13px;background:#fff;border:1px solid #dbe4ef;color:#172b4d;white-space:nowrap;box-shadow:0 2px 6px -3px rgba(23,43,77,.25)}
body:not(.bare) .lt-dtxt .console-icon{width:17px;height:17px;color:#2e527e;flex:none}
body:not(.bare) .lt-dtxt b{font-size:.98rem;font-weight:900;letter-spacing:-.02em}
body:not(.bare) .lt-dtxt em{font-style:normal;font-size:.78rem;font-weight:700;color:#55647c}
body:not(.bare) .lt-dpick input[type=date]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0;min-height:0}
body:not(.bare) .lt-dtoday{flex:none;display:inline-flex;align-items:center;height:40px;padding:0 15px;border-radius:13px;background:#172b4d;color:#fff;font-size:.82rem;font-weight:800;text-decoration:none;box-shadow:0 8px 16px -8px rgba(23,43,77,.6)}
body:not(.bare) .lt-datebar .lt-devs{flex:1 0 100%;display:flex;gap:6px;flex-wrap:wrap;padding:2px 2px 0}
@media(max-width:420px){body:not(.bare) .lt-dtxt em{display:none}}
/* 선택한 프로필 카드(4차): 밝은 카드 + 상태색 윗선·사진 링, 남색 '카드 보기' 버튼과 연한 2열 단추 */
body:not(.bare) .fm-sheet .fmap-card{--st:#b9c6d6;user-select:none;-webkit-user-select:none}
body:not(.bare) .fm-sheet .fmap-card.moving{--st:#17a673}
body:not(.bare) .fm-sheet .fmap-card.still{--st:#1f7a8c}
body:not(.bare) .fm-sheet .fmap-card.old{--st:#d1ae66}
body:not(.bare) .fm-sheet .fmap-card.sel{position:relative;overflow:hidden;transform:none;border:1px solid #c5d6ee;border-radius:22px;padding:18px 16px 14px;background:linear-gradient(180deg,#eef4ff 0%,#fff 62%);color:#172b4d;box-shadow:0 0 0 4px rgba(75,122,196,.12),0 24px 44px -24px rgba(23,43,77,.55)}
body:not(.bare) .fm-sheet .fmap-card.sel::before{content:"";position:absolute;inset:auto;left:22px;right:22px;top:0;bottom:auto;width:auto;height:4px;border-radius:0 0 6px 6px;background:var(--st);opacity:.9;pointer-events:none}
body:not(.bare) .fm-sheet .fmap-card.sel::after{content:none}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-top{padding:0 78px 0 0;position:relative;z-index:1}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-av{width:60px;height:60px;box-shadow:0 0 0 3px #fff,0 0 0 5.5px var(--st),0 12px 20px -10px rgba(23,43,77,.55)}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-who>b{color:#172b4d;font-size:1.14rem;font-weight:900;letter-spacing:-.02em}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-state>b{color:#33506f;font-weight:800}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-state small{display:block;margin-top:3px;color:#55647c;white-space:normal;line-height:1.45;max-width:none;overflow:visible}
body:not(.bare) .fm-sheet .fmap-card.sel .loc-why{color:#4b7ac4}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-go{background:#fff;color:#2e527e;border:1px solid #d5dfed;box-shadow:0 4px 10px -6px rgba(23,43,77,.4)}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px dashed #d4dfee}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.s{justify-content:center;gap:7px;min-height:42px;border:1px solid #dbe5f3;border-radius:14px;background:#fff;color:#2e527e;font-weight:800;box-shadow:0 4px 10px -8px rgba(23,43,77,.5)}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.s:hover{background:#f1f6fd;border-color:#c3d3ea}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.s:active{background:#e6eefb}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.s .console-icon{width:17px;height:17px;color:#4b7ac4}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.primary{grid-column:1/-1;min-height:46px;border:0;background:linear-gradient(135deg,#27467a 0%,#172b4d 100%);color:#fff;font-size:.95rem;box-shadow:0 14px 24px -14px rgba(23,43,77,.85)}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.primary:hover{background:linear-gradient(135deg,#2f538f 0%,#1b3358 100%)}
body:not(.bare) .fm-sheet .fmap-card.sel .fmap-acts .btn.primary .console-icon{color:#fff}
/* 위치 화면 달력 팝업 (기록 있는 날만 선택) */
body:not(.bare) .lt-datebar{position:relative}
body:not(.bare) button.lt-dpick{padding:0;border:0;background:none;font:inherit;text-align:center;-webkit-appearance:none;appearance:none}
body:not(.bare) .lt-dtxt .lt-dcaret{font-style:normal;color:#55647c;font-size:.7rem;margin-left:2px}
body:not(.bare) .lt-dpick[aria-expanded="true"] .lt-dtxt{border-color:#4b7ac4;box-shadow:0 0 0 3px rgba(75,122,196,.18)}
body:not(.bare) .lt-cal{position:absolute;z-index:40;left:6px;right:6px;top:calc(100% + 8px);max-width:340px;margin:0 auto;padding:14px 14px 10px;border:1px solid #d3deee;border-radius:20px;background:#fff;box-shadow:0 24px 48px -20px rgba(23,43,77,.5),0 2px 8px rgba(23,43,77,.08)}
body:not(.bare) .lt-cal[hidden]{display:none}
.lc-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.lc-top b{font-size:1rem;font-weight:900;letter-spacing:-.02em;color:#172b4d}
.lc-nav{width:34px;height:34px;border-radius:11px;border:1px solid #dbe4ef;background:#fff;color:#2e527e;font-size:1.2rem;font-weight:800;line-height:1;cursor:pointer}
.lc-nav:disabled{opacity:.35;cursor:default}
.lc-nav:not(:disabled):hover{background:#eef3fb}
.lc-dow,.lc-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.lc-dow span{font-size:.72rem;font-weight:800;color:#55647c;padding:2px 0 6px}
.lc-dow .sun{color:#d4727a}
.lc-grid i{display:block}
.lc-d{display:grid;place-items:center;position:relative;height:38px;border-radius:12px;font-size:.88rem;font-weight:700;text-decoration:none}
.lc-d.off{color:#55647c;cursor:default}
.lc-d.has{color:#172b4d;background:#f1f6fd;transition:background .12s}
.lc-d.has:hover{background:#dce8f9}
.lc-d.has::after{content:"";position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:#4b7ac4}
.lc-d.sel{background:linear-gradient(135deg,#27467a,#172b4d);color:#fff;box-shadow:0 8px 14px -8px rgba(23,43,77,.8)}
.lc-d.sel::after{background:#dbaa62}
.lc-d.today:not(.sel){box-shadow:inset 0 0 0 1.5px #dbaa62}
.lc-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px dashed #dbe4ef;font-size:.76rem;font-weight:700;color:#55647c}
.lc-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#4b7ac4;vertical-align:1px}
.lc-foot a{padding:4px 12px;border-radius:999px;background:#172b4d;color:#fff;text-decoration:none;font-weight:800}
/* 아이 화면 머리(메뉴 재구성 2차 디자인): 이름·지금 상태 + 행동 단추 / 밑줄 탭 + 기기 필터 / 항목 칩 */
body:not(.bare) .scope-shell{display:block}
.kc{position:relative;margin:0 0 16px;padding:16px 18px 12px;border:1px solid #e1e8f1;border-radius:24px;background:linear-gradient(180deg,#f4f8ff 0%,#fff 62%);box-shadow:0 16px 36px -28px rgba(23,43,77,.5)}
.kc .console-icon{width:17px;height:17px;flex:none}
.kc .dot{font-style:normal;background:#e5484d;color:#fff;border-radius:999px;font-size:.68rem;padding:1px 6px;font-weight:800;line-height:1.3}
.kc-id{display:flex;align-items:center;gap:12px}
.kc-switch{position:relative;flex:1;min-width:0}
.kc-switch>summary{list-style:none;display:flex;align-items:center;gap:14px;cursor:pointer;padding:2px;border-radius:18px;-webkit-tap-highlight-color:transparent}
.kc-switch>summary::-webkit-details-marker{display:none}
.kc-switch .avatar{flex:none;width:56px;height:56px;box-shadow:0 0 0 3px #fff,0 0 0 5px #dbe4ef,0 12px 20px -12px rgba(23,43,77,.55)}
.kc-who{min-width:0}
.kc-who b{display:flex;align-items:center;gap:8px;font-size:1.32rem;font-weight:900;letter-spacing:-.03em;color:#172b4d}
.kc-caret{flex:none;position:relative;width:22px;height:22px;border-radius:50%;background:#e8eff9;transition:transform .2s}
.kc-caret::after{content:"";position:absolute;left:7px;top:5px;width:6px;height:6px;border-right:2px solid #2e527e;border-bottom:2px solid #2e527e;transform:rotate(45deg)}
.kc-switch[open] .kc-caret{transform:rotate(180deg)}
.kc-who small{display:flex;align-items:center;gap:7px;margin-top:3px;font-size:.84rem;font-weight:700;color:#55647c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kc-who small::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#b9c6d6}
.kc-who small.moving::before{background:#17a673;box-shadow:0 0 0 3px rgba(23,166,115,.18)}
.kc-who small.still::before{background:#1f7a8c;box-shadow:0 0 0 3px rgba(31,122,140,.16)}
.kc-who small.old::before{background:#d1ae66;box-shadow:0 0 0 3px rgba(209,174,102,.2)}
.kc-menu{position:absolute;z-index:50;left:0;top:calc(100% + 8px);min-width:240px;padding:8px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;box-shadow:0 26px 50px -20px rgba(23,43,77,.55)}
.kc-menu a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;color:#172b4d;font-weight:800;text-decoration:none}
.kc-menu a:hover{background:#f1f6fd}
.kc-menu a.on{background:#eef4ff}
.kc-menu .avatar{width:34px;height:34px;font-size:.8rem}
.kc-menu em{margin-left:auto;font-style:normal;font-size:.7rem;font-weight:800;color:#4b7ac4}
.kc-acts{flex:none;display:flex;align-items:center;gap:8px}
.kc-ask{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:44px;padding:0 18px;border:0;border-radius:999px;background:linear-gradient(135deg,#27467a,#172b4d);color:#fff;font:inherit;font-weight:800;font-size:.9rem;cursor:pointer;box-shadow:0 14px 24px -14px rgba(23,43,77,.9);transition:transform .1s}
.kc-ask:active{transform:scale(.97)}
.kc-ask .console-icon{color:#dbaa62}
.kc-ico{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid #dbe4ef;color:#2e527e;box-shadow:0 6px 12px -10px rgba(23,43,77,.6);transition:background .15s}
.kc-ico:hover{background:#eef3fb}
.kc-ico.on{background:#172b4d;border-color:#172b4d;color:#fff}
.kc-ico .dot{position:absolute;top:-3px;right:-3px}
.kc-nav{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:14px;border-bottom:1px solid #e6edf6}
.kc-tabs{display:flex;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none}
.kc-tabs::-webkit-scrollbar{display:none}
.kc-tab{position:relative;display:inline-flex;align-items:center;gap:7px;padding:10px 16px 12px;color:#55647c;font-weight:800;font-size:.96rem;text-decoration:none;white-space:nowrap;transition:color .15s}
.kc-tab:hover{color:#172b4d}
.kc-tab.on{color:#172b4d}
.kc-tab.on .console-icon{color:#4b7ac4}
.kc-tab.on::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#27467a,#4b7ac4)}
.kc-tab .dot{position:absolute;top:4px;right:2px}
.kc-seg{flex:none;display:flex;gap:2px;padding:3px;margin-bottom:7px;border-radius:999px;background:#eef2f8}
.kc-seg a{padding:5px 12px;border-radius:999px;color:#55647c;font-size:.76rem;font-weight:800;text-decoration:none}
.kc-seg a.on{background:#fff;color:#172b4d;box-shadow:0 2px 6px -2px rgba(23,43,77,.35)}
.kc-sub{display:flex;gap:8px;overflow-x:auto;margin-top:12px;padding-bottom:2px;scrollbar-width:none}
.kc-sub::-webkit-scrollbar{display:none}
.kc-chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;background:#f0f4fa;color:#4a6481;font-size:.85rem;font-weight:750;text-decoration:none;white-space:nowrap;transition:background .15s}
.kc-chip:hover{background:#e3ecf8}
.kc-chip.on{background:#172b4d;color:#fff}
.kc-chip .console-icon{width:15px;height:15px;color:#55647c}
.kc-chip.on .console-icon{color:#dbaa62}
@media(max-width:720px){
  .kc{padding:14px 14px 10px;border-radius:20px}
  .kc-id{flex-wrap:wrap;gap:12px}
  .kc-switch{flex:1 1 100%}
  .kc-switch .avatar{width:50px;height:50px}
  .kc-who b{font-size:1.2rem}
  .kc-acts{flex:1 1 100%}
  .kc-ask{flex:1}
  .kc-nav{flex-direction:column;align-items:stretch;gap:0;border-bottom:0}
  .kc-tabs{border-bottom:1px solid #e6edf6}
  .kc-tab{flex:1;justify-content:center;padding:10px 8px 12px}
  .kc-seg{align-self:flex-start;margin:10px 0 0}
}
/* 위치 화면 오른쪽 안심 장소·귀가 알림·폰 찾기 탭은 위 '안전' 탭의 항목과 같아서 중복이라 숨김(항목 전환은 위 메뉴에서) */
body:not(.bare) .loc-tabs-col>.loc-tabs{display:none}
/* 메뉴 재구성 3단계: 사이드바 전역 5개 · 상단 프로필 메뉴 · 모바일 웹 하단 탭 */
.ws-setup{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:10px 12px;border-radius:14px;background:#fff7e8;border:1px solid #f0dcb0;color:#7a5410;text-decoration:none}
.ws-setup .console-icon{width:18px;height:18px;flex:none}
.ws-setup b{display:block;font-size:.86rem}
.ws-setup small{display:block;margin-top:1px;font-size:.74rem;color:#9a7a3a}
body:not(.bare) .ws-global a{font-size:.95rem;font-weight:800}
.nav-profile{position:relative}
.nav-profile>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:3px 12px 3px 3px;border-radius:999px;border:1px solid #dbe4ef;background:#fff;-webkit-tap-highlight-color:transparent}
.nav-profile>summary::-webkit-details-marker{display:none}
.nav-profile .avatar{width:32px;height:32px;font-size:.78rem}
.np-name{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800;font-size:.86rem;color:#172b4d}
.np-caret{width:7px;height:7px;border-right:2px solid #5d7392;border-bottom:2px solid #5d7392;transform:rotate(45deg);margin:-3px 0 0}
.nav-profile[open] .np-caret{transform:rotate(225deg);margin-top:3px}
.np-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:236px;padding:8px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;box-shadow:0 26px 50px -20px rgba(23,43,77,.55)}
body.parent-workspace .topbar .nav .np-menu a{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:0;padding:10px 12px;border-radius:12px;background:none;color:#172b4d;font-size:.9rem;font-weight:750;box-shadow:none}
body.parent-workspace .topbar .nav .np-menu a svg,body.parent-workspace .topbar .nav .np-menu a .icon{width:18px;height:18px;color:#6b86a8}
body.parent-workspace .topbar .nav .np-menu a span{display:block;font-size:.9rem}
body.parent-workspace .topbar .nav .np-menu a:hover{background:#f1f6fd}
body.parent-workspace .topbar .nav .np-menu a .dot{position:static;margin-left:auto}
body.parent-workspace .topbar .nav .np-menu .np-out{margin-top:6px;border-top:1px solid #edf1f6;border-radius:0 0 12px 12px;color:#b4232a}
body.parent-workspace .topbar .nav .np-menu .np-out svg{color:#b4232a}
@media(max-width:700px){.np-name,.np-caret{display:none}.nav-profile>summary{padding:3px}}
.gnav{display:none}
@media(max-width:900px){
  body.parent-workspace .gnav{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #dbe4ef;box-shadow:0 -12px 30px -22px rgba(23,43,77,.5)}
  .gnav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 0 6px;border-radius:14px;color:#55647c;font-size:.7rem;font-weight:800;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .gnav a .console-icon{width:22px;height:22px}
  .gnav a[aria-current="page"]{color:#172b4d;background:#eef3fb}
  .gnav a[aria-current="page"] .console-icon{color:#4b7ac4}
  .gnav .dot{position:absolute;top:1px;left:calc(50% + 6px);font-style:normal;background:#e5484d;color:#fff;border-radius:999px;font-size:.62rem;font-weight:800;padding:1px 5px;line-height:1.3}
  body.parent-workspace:has(.gnav){padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  body.parent-workspace.fm-page:has(.gnav){padding-bottom:0}
}
