:root {
  color-scheme: light;
  --canvas: #f6f7f3;
  --paper: #ffffff;
  --ink: #173431;
  --text: #263e3a;
  --muted: #667663;
  --line: #e4e9e2;
  --forest: #183b35;
  --forest-2: #224c42;
  --teal: #27715f;
  --mint: #eaf4ed;
  --mint-strong: #c9dfcf;
  --amber: #edc565;
  --amber-light: #fff5dd;
  --red: #ab4349;
  --red-light: #fff0ef;
  --radius: 19px;
  --shadow: 0 3px 13px rgb(30 58 43 / 3%);
  font-family: 'Inter', 'Aptos', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  font-weight: 400;
  background: var(--canvas);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-size: 14px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, input, select, textarea { color: inherit; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button a { color: inherit; }
svg { flex-shrink: 0; vertical-align: middle; }
img { display: block; max-width: 100%; }
form { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); }
h1 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.23; letter-spacing: -1.1px; font-weight: 730; margin-bottom: 9px; }
h2 { font-size: 19px; line-height: 1.35; font-weight: 680; letter-spacing: -.4px; margin-bottom: 12px; }
h3 { font-size: 16px; font-weight: 670; line-height: 1.4; letter-spacing: -.2px; margin-bottom: 8px; }
h4 { font-size: 14px; font-weight: 670; margin-bottom: 6px; }
p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }
small { font-size: 12px; }
strong { font-weight: 670; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 7px; }
:focus-visible { outline: 3px solid #bfa252; outline-offset: 4px; }
::selection { background: #d4e8cc; color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Application frame */
.app-shell { min-height: 100vh; }
.sidebar { width: 230px; position: fixed; top: 0; bottom: 0; left: 0; background: #163a33; color: #cfdfd3; display: flex; flex-direction: column; padding: 29px 17px 19px; z-index: 40; overflow-y: auto; }
.brand { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 23px; letter-spacing: -1px; font-weight: 720; text-decoration: none; padding: 0 11px; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand > svg, .brand-mark, .brand-icon { width: 35px; height: 39px; color: var(--amber); }
.brand small, .brand-subtitle { display: block; color: #98b6a5; font-size: 10px; line-height: 1.6; letter-spacing: 1.3px; text-transform: uppercase; margin-top: 6px; font-weight: 550; }
.brand span > span, .brand-x { color: var(--amber); }
.sidebar-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 37px; }
.nav-label, .nav-section { color: #90ac9a; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.5px; padding: 0 15px; margin: 21px 0 8px; }
.nav-label:first-child { margin-top: 0; }
.nav-item { border: 0; background: transparent; color: #b9d0bf; min-height: 45px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; text-align: left; font-size: 13px; font-weight: 520; width: 100%; position: relative; transition: background .15s, color .15s; text-decoration: none; }
.nav-item:hover { background: #21483d; color: #fff; text-decoration: none; }
.nav-item.active { background: #2d5143; color: #f3f8ed; }
.nav-item.active::before { content: ''; position: absolute; top: 13px; bottom: 13px; left: -17px; width: 3px; border-radius: 0 4px 4px 0; background: var(--amber); }
.nav-item.active svg { color: #f0d28a; }
.nav-item svg { width: 19px; height: 19px; color: #9fbcaa; }
.nav-count { font-size: 10px; min-width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #efd08d; color: #334a36; margin-left: auto; font-weight: 750; }
.sidebar-footer { margin-top: auto; padding-top: 35px; }
.sidebar-note { padding: 15px 13px; margin-bottom: 18px; border: 1px solid #32564a; border-radius: 12px; font-size: 11px; line-height: 1.7; color: #acc6b4; }
.sidebar-note svg { color: #dfc881; margin-bottom: 8px; }
.sidebar-note strong { display: block; font-size: 12px; color: #ebf2e8; margin-bottom: 5px; }
.sidebar-note p { margin-bottom: 0; }
.profile-card { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0; border-top: 1px solid #345348; padding: 17px 9px 0; text-align: left; }
.profile-card .avatar { background: #e9ce98; color: #3d4834; width: 35px; height: 35px; border-radius: 12px; font-size: 12px; }
.profile-copy { min-width: 0; flex: 1; }
.profile-copy strong { display: block; font-size: 12px; font-weight: 600; color: #eef2e8; }
.profile-copy span, .profile-copy small { color: #9ab8a5; font-size: 10px; }
.profile-card button { color: #b9cebd; border: 0; background: transparent; padding: 5px; border-radius: 5px; }
.sidebar-footer > .btn { color: #b9cebd; font-size: 11px; width: 100%; justify-content: flex-start; }
.main-shell { margin-left: 230px; min-height: 100vh; }
.topbar { min-height: 83px; background: rgb(255 255 255 / 67%); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 17px 35px; gap: 16px; }
.topbar-title, .topbar-breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.topbar-title strong, .topbar-breadcrumb strong { color: #40594e; font-weight: 600; }
.topbar-title svg, .topbar-breadcrumb svg { color: #a5b1a7; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-actions > .btn.ghost { padding: 8px; min-height: 34px; color: #65786c; }
.role-pill { display: inline-flex; align-items: center; gap: 7px; background: #eef1e9; color: #516a58; border: 1px solid #e2e7db; font-size: 11px; font-weight: 600; padding: 7px 11px; border-radius: 7px; white-space: nowrap; }
.connection-status { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; color: #66816b; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: #78a681; box-shadow: 0 0 0 3px #e8f0e6; }
.connection-status.offline .status-dot, .status-dot.offline { background: #cf9763; box-shadow: 0 0 0 3px #fbf0df; }
.page { width: 100%; max-width: 1450px; margin: 0 auto; padding: 32px 35px 45px; }
.page-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 26px; }
.page-heading > div { min-width: 0; }
.page-heading p { color: var(--muted); font-size: 13px; max-width: 670px; margin-bottom: 0; line-height: 1.7; }
.page-heading .badge { margin-bottom: 5px; }
.eyebrow { color: #7a8e77; font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; display: block; }
.muted { color: var(--muted); }
.btn.mobile-menu { display: none; }
.sidebar-backdrop { display: none; }
.prototype-banner { background: #faf3e2; border: 1px solid #eee2c5; border-radius: 9px; color: #7a6947; padding: 10px 14px; font-size: 11px; display: flex; align-items: flex-start; gap: 8px; margin-bottom: 23px; line-height: 1.7; }
.prototype-banner svg { width: 15px; height: 15px; margin-top: 2px; color: #b59751; }

/* Layout and shared components */
.grid-2, .grid-3, .grid-4, .metric-grid, .parent-metrics { display: grid; gap: 20px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4, .parent-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack.small { gap: 10px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.card p { font-size: 12px; line-height: 1.8; }
.card + .card, .grid-2 + .card, .grid-3 + .card, .grid-4 + .card, .card + .grid-2, .card + .grid-3, .card + .grid-4, .hero-card + .grid-2, .hero-card + .grid-3, .hero-card + .metric-grid, .metric-grid + .grid-2, .parent-metrics + .grid-2, .grid-2 + .grid-2 { margin-top: 22px; }
.stack > .card + .card { margin-top: 0; }
.grid-2 > .card + .card, .grid-3 > .card + .card, .grid-4 > .card + .card, .app-grid > .card + .card, .metric-grid > .card + .card, .parent-metrics > .card + .card { margin-top: 0; }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-header h2, .card-title { margin-bottom: 5px; font-size: 16px; }
.card-header p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 0; }
.card-header .btn { margin-top: -4px; }
.card-title { display: flex; gap: 9px; align-items: center; color: var(--ink); font-weight: 670; }
.card-title svg { color: #78937d; }
.card > .section-label:first-child { margin-top: 0; }
.section-label { display: flex; align-items: center; justify-content: space-between; color: #71846f; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; margin: 26px 0 12px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 21px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; min-height: 42px; font-size: 12px; line-height: 1.4; font-weight: 620; text-decoration: none; white-space: normal; text-align: center; transition: background .16s, border-color .16s, transform .16s, box-shadow .16s; background: #edf2eb; color: #45604c; }
.btn:hover { text-decoration: none; background: #e1eadf; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: #245b46; border-color: #245b46; color: #fff; box-shadow: 0 3px 5px rgb(36 91 70 / 8%); }
.btn.primary:hover { background: #194a38; border-color: #194a38; }
.btn.secondary { background: #fff; color: #425e4e; border-color: #dbe5d9; }
.btn.secondary:hover { background: #f0f6ed; border-color: #b9cdb7; }
.btn.ghost { background: transparent; border-color: transparent; color: #5f7a62; box-shadow: none; }
.btn.ghost:hover { background: #f1f5ee; }
.btn.danger { background: #fff1ef; border-color: #efceca; color: #9c4446; }
.btn.danger:hover { background: #ffe4e0; }
.btn.small { font-size: 11px; min-height: 32px; padding: 7px 10px; gap: 5px; border-radius: 7px; }
.btn.small svg { width: 15px; height: 15px; }
.btn.icon-only { padding: 10px; min-width: 40px; }
.btn.full, .btn.full-width { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border-radius: 6px; padding: 5px 8px; font-size: 10px; line-height: 1.3; font-weight: 650; color: #647761; background: #f0f3ed; white-space: nowrap; }
.badge.green, .badge.success, .badge.low { background: #edf5e9; color: #557d4d; }
.badge.amber, .badge.medium, .badge.pending { background: #fff4dc; color: #a17a28; }
.badge.red, .badge.high { background: #fcebe7; color: #b15f51; }
.badge.neutral, .badge.unknown { background: #f0f2ed; color: #758071; }
.badge svg { width: 12px; height: 12px; }
.notice { border: 1px solid #dce7db; background: #f3f8f0; color: #5d7556; border-radius: 10px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.7; }
.notice > svg { color: #7c9771; margin-top: 2px; width: 18px; height: 18px; }
.notice strong { color: #3b603c; }
.notice.amber { border-color: #ecdfc1; background: #fff9ec; color: #8a754c; }
.notice.amber > svg, .notice.amber strong { color: #9c7a36; }
.notice.red { border-color: #efdbd5; background: #fff4f0; color: #a66a5b; }
.notice.red > svg, .notice.red strong { color: #a35d4f; }
.notice.green { border-color: #dce8d5; background: #f1f8ed; }
.notice p { margin-bottom: 4px; }
.notice + .card, .notice + .grid-2 { margin-top: 20px; }
.privacy-note { font-size: 11px; color: #839079; display: flex; align-items: flex-start; gap: 7px; line-height: 1.7; padding-top: 12px; }
.privacy-note svg { width: 14px; height: 14px; color: #7a9572; margin-top: 2px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, label.field-label { font-size: 11px; font-weight: 650; color: #4e664f; margin-bottom: 7px; display: block; }
.field label small { font-size: 10px; color: #92a08c; margin-left: 3px; font-weight: 400; }
.field > small, .field .hint, .field-help { display: block; color: #8b9783; margin-top: 6px; font-size: 10px; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.input, .textarea, .select, input[type='text'], input[type='number'], input[type='date'], input[type='url'], input[type='email'], textarea, select { display: block; width: 100%; border: 1px solid #dde5d8; background: #fcfdfa; border-radius: 9px; padding: 11px 12px; font-size: 12px; color: #40573f; transition: border-color .16s, box-shadow .16s; outline-offset: 0; min-height: 42px; }
.input:focus, .textarea:focus, .select:focus, input:focus, textarea:focus, select:focus { border-color: #8eac80; box-shadow: 0 0 0 3px #edf3e7; outline: none; }
input::placeholder, textarea::placeholder { color: #a2ad99; }
textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
select { padding-right: 28px; }
input[type='checkbox'], input[type='radio'] { accent-color: #3d7249; width: 16px; height: 16px; vertical-align: middle; flex-shrink: 0; }
.checkbox, .check-label { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: #62765a; line-height: 1.6; }
.checkbox input, .check-label input { margin: 2px 0 0; }
.field-error { display: block; font-size: 11px; color: var(--red); margin-top: 6px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 20px; color: #8b9784; }
.empty-state > svg, .empty-illustration { width: 54px; height: 54px; padding: 14px; border-radius: 17px; color: #94ac87; background: #f1f5eb; margin-bottom: 15px; }
.empty-state h3 { font-size: 15px; margin-bottom: 7px; color: #647b5d; }
.empty-state p { font-size: 12px; max-width: 340px; line-height: 1.8; margin-bottom: 0; }
.empty-state .btn { margin-top: 18px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 13px; background: #e4eecf; color: #5f7a47; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef1e9; font-size: 12px; }
.list-item:last-child { border-bottom: none; padding-bottom: 0; }
.list-item strong { display: block; color: #52694b; font-size: 12px; }
.list-item .muted { font-size: 10px; }
.compact-list { display: flex; flex-direction: column; gap: 0; }
.compact-list .list-item { padding: 10px 0; }

/* Overview */
.hero-card, .parent-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #dce8d5; border-radius: 20px; background: #edf4e6; padding: 28px 30px; margin-bottom: 23px; min-height: 210px; }
.hero-copy { position: relative; z-index: 1; max-width: 68%; }
.hero-copy .eyebrow { color: #6d8b5e; }
.hero-card h2, .parent-hero h2 { font-size: 27px; line-height: 1.27; letter-spacing: -.8px; max-width: 450px; margin-bottom: 12px; color: #2e5133; }
.hero-card p, .parent-hero p { color: #7b8b6e; font-size: 12px; max-width: 445px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-actions .btn { font-size: 11px; padding: 10px 14px; min-height: 38px; }
.hero-visual { width: 180px; height: 160px; position: relative; display: flex; align-items: center; justify-content: center; margin-right: 17px; flex-shrink: 0; }
.hero-orbit { position: absolute; width: 150px; height: 150px; border: 1px solid #d1e0c4; border-radius: 50%; }
.hero-orbit::before { content: ''; position: absolute; width: 184px; height: 184px; left: -18px; top: -18px; border: 1px dashed #d6e2cc; border-radius: 50%; }
.hero-orbit::after { content: ''; position: absolute; width: 9px; height: 9px; top: 18px; right: 16px; border-radius: 50%; background: #e2c474; box-shadow: -103px 93px 0 1px #adc79c; }
.hero-shield { width: 91px; height: 103px; color: #6c9763; position: relative; z-index: 1; filter: drop-shadow(0 8px 10px rgb(62 107 58 / 12%)); }
.hero-shield svg { width: 100%; height: 100%; }
.hero-visual > svg { width: 89px; height: 101px; color: #5f8b55; }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.quick-action { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); color: #52684d; transition: background .15s, border-color .15s; min-width: 0; }
.quick-action:hover { background: #fcfdf8; border-color: #c9d9bf; }
.quick-action > svg:first-child { width: 35px; height: 35px; padding: 8px; border-radius: 10px; color: #7c9969; background: #f0f5e9; }
.quick-action > svg:last-child:not(:first-child) { margin-left: auto; width: 15px; color: #a3af96; }
.quick-action strong { display: block; font-size: 12px; margin-bottom: 3px; }
.quick-action small { display: block; font-size: 10px; color: #8a9980; font-weight: 400; }
.metric { padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: 15px; min-width: 0; }
.metric-icon { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; background: #f1f5e9; border-radius: 9px; color: #839f6d; margin-bottom: 13px; }
.metric-icon svg { width: 17px; height: 17px; }
.metric-value { font-size: 27px; font-weight: 700; letter-spacing: -.8px; color: #3b5738; line-height: 1.2; margin-bottom: 5px; }
.metric-value small { font-size: 12px; font-weight: 400; color: #91a184; letter-spacing: 0; }
.metric-label { font-size: 11px; color: #809177; margin-bottom: 7px; }
.metric-change { font-size: 10px; color: #7f9c6d; }
.metric > strong { display: block; font-size: 26px; letter-spacing: -.6px; line-height: 1.3; color: #3b5738; margin: 7px 0; }
.metric > .muted { font-size: 11px; }
.checklist { display: flex; flex-direction: column; gap: 15px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #75856a; }
.check-item > svg { width: 18px; height: 18px; color: #83a274; margin-top: 1px; }
.check-item strong { display: block; color: #526b49; font-size: 12px; margin-bottom: 3px; }
.check-item small { font-size: 10px; line-height: 1.7; }
.insight-list { display: flex; flex-direction: column; gap: 12px; }
.insight-list > div, .insight-list > li { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #7d8d71; }
.insight-list svg { width: 18px; height: 18px; color: #8ba178; margin-top: 1px; }

/* Apps and focus */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 23px; min-width: 0; }
.app-card .card-header { margin-bottom: 23px; }
.app-card h3 { margin-bottom: 3px; font-size: 15px; }
.app-card .muted { font-size: 10px; }
.app-icon { width: 39px; height: 39px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #f1f2ed; color: #71836a; font-size: 14px; font-weight: 750; flex-shrink: 0; }
.app-icon svg { width: 21px; height: 21px; }
.app-icon.instagram { background: #f9ecf0; color: #bb7a91; }
.app-icon.youtube { background: #fbecea; color: #cc8275; }
.app-icon.bgmi { background: #f7f0e2; color: #b69c5d; }
.app-icon.freefire { background: #eaf1f5; color: #819cab; }
.app-stats { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; color: #859278; margin-bottom: 9px; }
.app-stats strong { font-size: 20px; color: #4d6846; font-weight: 650; letter-spacing: -.6px; }
.app-stats strong small { font-size: 11px; font-weight: 400; letter-spacing: 0; color: #97a28d; }
.progress { height: 6px; background: #eef2e8; border-radius: 8px; overflow: hidden; margin: 10px 0; }
.progress > span, .progress > div { height: 100%; display: block; background: #96b589; border-radius: 8px; transition: width .35s; }
.progress.amber > span, .progress.amber > div { background: #d4b975; }
.progress.red > span, .progress.red > div { background: #cb9481; }
.app-actions { display: flex; gap: 8px; margin-top: 19px; flex-wrap: wrap; }
.app-actions .btn { flex: 1; font-size: 10px; padding: 8px 10px; min-height: 34px; }
.app-actions .btn svg { width: 14px; height: 14px; }
.app-remaining { display: flex; justify-content: space-between; font-size: 10px; color: #91a084; margin-top: 7px; }
.focus-summary { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.focus-clock { width: 120px; height: 120px; border-radius: 50%; border: 8px solid #e7efdf; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 10px; color: #94a583; }
.focus-clock strong { font-size: 25px; line-height: 1.2; color: #607f50; letter-spacing: -.8px; }
.mode-options { display: flex; gap: 9px; flex-wrap: wrap; }
.mode-option { display: flex; align-items: center; gap: 7px; border: 1px solid #e0e7d8; background: #fafcf7; padding: 10px 13px; color: #839276; border-radius: 9px; font-size: 11px; }
.mode-option.active { background: #eaf2e2; color: #577346; border-color: #bed2ad; }
.mode-option svg { width: 16px; height: 16px; }
.playground { border: 1px solid #d6e4cd; background: #f4f8ef; border-radius: 13px; padding: 25px; text-align: center; }
.playground .app-icon { width: 60px; height: 60px; border-radius: 17px; margin-bottom: 13px; }
.playground-timer { font-size: 42px; font-weight: 650; letter-spacing: -1.5px; color: #557b43; margin: 15px 0; font-variant-numeric: tabular-nums; }

/* Scam check and controlled sharing */
.scan-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 23px; align-items: start; }
.scan-composer, .scan-result { min-width: 0; }
.scan-composer textarea { min-height: 184px; font-size: 12px; }
.tabs { display: flex; gap: 5px; background: #f2f5ed; border-radius: 9px; padding: 4px; margin-bottom: 20px; }
.tab { flex: 1; border: 0; color: #8a9a7d; background: transparent; border-radius: 6px; padding: 9px 12px; font-size: 11px; font-weight: 550; display: flex; align-items: center; justify-content: center; gap: 7px; }
.tab.active { background: #fff; box-shadow: 0 2px 4px rgb(45 75 34 / 6%); color: #4e6d41; }
.tab svg { width: 15px; height: 15px; }
.upload-zone { border: 1.5px dashed #cfdbbf; border-radius: 12px; padding: 24px 18px; background: #fafcf7; text-align: center; color: #91a27f; font-size: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 126px; cursor: pointer; }
.upload-zone:hover, .upload-zone:focus-within { border-color: #95b17d; background: #f3f8eb; }
.upload-zone > svg { color: #9fb68a; width: 27px; height: 27px; margin-bottom: 4px; }
.upload-zone strong { color: #6f8a5c; font-size: 12px; }
.upload-zone input { max-width: 100%; font-size: 10px; margin-top: 6px; }
.upload-zone input::file-selector-button { border: 1px solid #d7e2ca; border-radius: 6px; padding: 6px 9px; background: #fff; color: #718661; font-size: 10px; margin-right: 9px; cursor: pointer; }
.screenshot-preview { max-height: 220px; max-width: 100%; margin: 12px auto; border: 1px solid #e1e7da; border-radius: 8px; object-fit: contain; }
.sample-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 11px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #819472; padding: 6px 9px; border: 1px solid #e0e8d8; border-radius: 6px; background: #fafcf7; cursor: pointer; }
.chip:hover { background: #edf4e4; border-color: #c6d9b5; }
.chip svg { width: 12px; height: 12px; }
.scan-result { position: relative; }
.scan-result > .card { min-height: 410px; }
.scan-result .empty-state { min-height: 340px; padding: 40px 24px; }
.result-header { display: flex; align-items: flex-start; gap: 13px; padding-bottom: 19px; margin-bottom: 18px; border-bottom: 1px solid #e8eddf; }
.result-icon { width: 43px; height: 43px; border-radius: 13px; background: #fcf3dc; color: #ba9d4e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.result-icon.high { background: #fff0e9; color: #bd8871; }
.result-icon.low { background: #eff5e7; color: #97ae7c; }
.result-header h2 { font-size: 17px; margin: 4px 0 6px; }
.result-header p { font-size: 11px; color: #8a987a; }
.signal-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 20px; }
.signal-item { border-left: 2px solid #e3c986; padding: 0 0 0 12px; font-size: 11px; color: #8c987d; line-height: 1.75; }
.signal-item strong { color: #6a7959; font-size: 11px; display: block; margin-bottom: 4px; }
.signal-item blockquote, .signal-item q { display: block; background: #fbf9ef; padding: 8px 10px; border-radius: 5px; color: #a19570; font-size: 11px; margin: 6px 0 0; font-style: normal; overflow-wrap: anywhere; }
.step-list { margin: 12px 0 20px; padding-left: 22px; font-size: 12px; color: #7d8d70; line-height: 1.8; }
.step-list li { padding-left: 3px; }
.step-list li::marker { color: #8ea477; font-weight: 650; font-size: 11px; }
.step-list li + li { margin-top: 9px; }
.share-preview, .disclosure-preview { background: #f8faf3; border: 1px solid #e5ebdc; border-radius: 10px; padding: 16px; font-size: 12px; color: #7a8b6b; line-height: 1.85; }
.share-preview strong, .disclosure-preview strong { color: #657e53; }
.share-preview .muted, .disclosure-preview .muted { font-size: 10px; }
.scan-disclaimer { font-size: 10px; color: #9ba68f; line-height: 1.8; padding-top: 12px; }
.quote { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Parent approvals, inbox, and guidance */
.parent-hero { min-height: 177px; background: #f5f0df; border-color: #e9e0c5; }
.parent-hero h2 { color: #6b6841; font-size: 25px; }
.parent-hero p { color: #a09a78; }
.parent-hero .eyebrow { color: #a39c6d; }
.parent-hero .hero-visual > svg { color: #c4b77d; }
.parent-metrics { gap: 16px; margin-bottom: 23px; }
.parent-metrics .metric { padding: 20px; }
.request-card, .approval-card { border: 1px solid #e3e9dc; border-radius: 13px; padding: 19px; background: #fff; margin-bottom: 12px; }
.request-card:last-child, .approval-card:last-child { margin-bottom: 0; }
.request-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.request-card h3, .approval-card h3 { font-size: 13px; margin-bottom: 4px; }
.request-card p, .approval-card p { font-size: 12px; color: #8c987b; line-height: 1.8; }
.request-card time, .approval-card time { font-size: 10px; color: #a0aa93; }
.request-reason { margin: 14px 0; padding: 10px 12px; border-radius: 7px; background: #f8faf4; font-size: 11px; color: #7d8e6b; }
.request-actions { display: flex; gap: 8px; margin-top: 15px; }
.request-actions .btn { flex: 1; }
.inbox-layout { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.inbox-list { display: flex; flex-direction: column; gap: 10px; }
.inbox-item, .inbox-card { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: left; width: 100%; min-width: 0; }
button.inbox-item:hover { border-color: #c7d7b8; background: #fcfdf9; }
.inbox-item.active { border-color: #abc79b; box-shadow: 0 0 0 2px #edf4e6; background: #fcfef9; }
.inbox-item h3, .inbox-card h3 { font-size: 13px; margin-bottom: 7px; }
.inbox-item p, .inbox-card p { font-size: 11px; color: #8b9a7b; line-height: 1.8; }
.inbox-item time { font-size: 10px; color: #a5af98; }
.inbox-detail { min-width: 0; }
.inbox-detail h2 { font-size: 18px; }
.coach-card { background: #f4f7ec; border: 1px solid #e3ead5; border-radius: 13px; padding: 20px; margin: 18px 0; }
.coach-card .eyebrow { color: #8c9d6f; font-size: 10px; }
.coach-card h3 { font-size: 13px; color: #6c8052; }
.coach-card p, .coach-card li { font-size: 12px; color: #879572; line-height: 1.9; }
.coach-quote, .coach-card blockquote { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-style: italic; line-height: 1.7; color: #60764a; margin: 15px 0 17px; padding-left: 15px; border-left: 2px solid #c3d3ac; }
.reply-bubble { padding: 13px 16px; border: 1px solid #d9e7d3; background: #edf6e8; color: #6e875b; border-radius: 12px 12px 12px 3px; font-size: 12px; line-height: 1.9; margin-top: 15px; }
.settings-form { display: flex; flex-direction: column; gap: 15px; }
.settings-form .field { margin-bottom: 0; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid #ebefdf; }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { display: block; font-size: 12px; color: #6c7f59; }
.setting-row small { display: block; font-size: 10px; color: #9aa68a; margin-top: 4px; }
.setting-row .input, .setting-row input[type='number'] { width: 80px; min-height: 35px; padding: 7px 9px; }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; color: #83956e; cursor: pointer; }
.toggle input { width: 34px; height: 19px; appearance: none; border-radius: 14px; background: #dfe6d5; transition: background .15s; position: relative; margin: 0; cursor: pointer; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(65 87 45 / 12%); transition: transform .15s; }
.toggle input:checked { background: #7f9f67; }
.toggle input:checked::after { transform: translateX(15px); }

/* Family agreements, web checks and SOS */
.pact-paper { background: #fcfbf5; border: 1px solid #e8e6d6; border-radius: 12px; padding: 26px; font-size: 13px; line-height: 2; color: #7e8666; position: relative; }
.pact-paper::before { content: ''; display: block; width: 27px; height: 3px; border-radius: 3px; background: #dac88b; margin-bottom: 18px; }
.pact-paper h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 400; color: #7c815b; margin-bottom: 12px; }
.pact-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.signature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 23px; }
.signature-card, .signature { padding: 17px 18px; border: 1px solid #e2e7d6; border-radius: 10px; background: #fff; }
.signature-card strong, .signature strong { color: #71845c; font-size: 12px; display: block; margin-bottom: 5px; }
.signature-card p, .signature p { color: #9aa58b; font-size: 10px; margin-bottom: 9px; }
.signature-card .badge, .signature .badge { font-size: 10px; }
.review-card { border: 1px solid #e4e9d9; border-radius: 13px; padding: 20px; background: #fafcf6; }
.web-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px; border-radius: 11px; background: #f1f7e9; border: 1px solid #e2ecd5; margin-bottom: 22px; }
.web-status strong { font-size: 13px; color: #6c8954; }
.category-list { display: flex; flex-direction: column; gap: 11px; }
.category-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #edf0e6; }
.category-item:last-child { border-bottom: none; }
.category-item > svg { width: 35px; height: 35px; padding: 9px; background: #f4f6ee; border-radius: 9px; color: #95a67f; }
.category-item strong { font-size: 12px; color: #71835d; display: block; }
.category-item small { font-size: 10px; color: #9ba68b; }
.category-item .badge, .category-item .toggle { margin-left: auto; }
.domain-result { margin-top: 20px; padding: 17px; background: #f4f8ed; border: 1px solid #e3ebd8; border-radius: 10px; }
.domain-result.blocked { background: #fff7e8; border-color: #ece0bf; }
.domain-result strong { font-size: 13px; display: block; margin-bottom: 7px; }
.domain-result p { color: #909a80; font-size: 11px; line-height: 1.8; }
.sos-card { border: 1px solid #ebded1; border-radius: 16px; padding: 24px; background: #fffbf4; }
.sos-card + .sos-card { margin-top: 15px; }
.sos-card h2, .sos-card h3 { color: #897047; }
.sos-card p { color: #a29379; font-size: 12px; line-height: 1.85; }
.sos-card.active { border-color: #e8c7ac; background: #fff8ee; }
.sos-card.safe { background: #f6faf1; border-color: #e0e9d5; }
.sos-card.expired { background: #fbfcf7; border-color: #e6eadf; }
.sos-icon { width: 57px; height: 57px; border-radius: 19px; background: #f9eed8; color: #c3a573; display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.sos-location { padding: 14px; background: #fff; border: 1px solid #e8e3d4; border-radius: 8px; font-size: 12px; color: #a08c69; margin: 15px 0; }
.countdown { font-variant-numeric: tabular-nums; font-size: 12px; color: #a18758; }

/* Shared log */
.log-list { position: relative; }
.log-entry { position: relative; display: flex; gap: 15px; padding: 0 0 25px; }
.log-entry:not(:last-child)::after { content: ''; position: absolute; width: 1px; top: 38px; left: 18px; bottom: 5px; background: #e4ebd9; }
.log-entry:last-child { padding-bottom: 0; }
.log-icon { width: 37px; height: 37px; border-radius: 12px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; background: #f0f5e8; color: #8ea779; }
.log-icon svg { width: 17px; height: 17px; }
.log-copy { flex: 1; min-width: 0; padding-top: 1px; }
.log-copy h3 { font-size: 12px; color: #647a54; margin-bottom: 5px; }
.log-copy p { font-size: 11px; color: #8f9b80; line-height: 1.8; margin-bottom: 5px; overflow-wrap: anywhere; }
.log-copy small { color: #a0ab90; font-size: 10px; }
.log-time { white-space: nowrap; text-align: right; color: #a2ad94; font-size: 10px; padding-top: 3px; }
.activity-list { display: flex; flex-direction: column; gap: 0; }
.activity-item { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf0e6; }
.activity-item:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-item:first-child { padding-top: 0; }
.activity-item > svg { color: #9aae88; width: 16px; height: 16px; margin-top: 2px; }
.activity-item strong { font-size: 11px; color: #72855f; display: block; margin-bottom: 3px; }
.activity-item p { color: #98a38b; font-size: 10px; line-height: 1.7; margin-bottom: 0; }
.activity-item time { color: #abb39c; font-size: 10px; margin-left: auto; white-space: nowrap; }

/* Login and local-demo entry */
.login-screen { min-height: 100vh; padding: 45px; display: flex; align-items: center; justify-content: center; background: #f5f7f1; position: relative; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); width: 100%; max-width: 1120px; min-height: 675px; background: #fff; border: 1px solid #dfe7d9; border-radius: 26px; overflow: hidden; box-shadow: 0 14px 55px rgb(36 61 25 / 4%); }
.login-story { background: #193e34; color: #c5d6bf; padding: 42px 44px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.login-story .brand { padding: 0; }
.login-story .eyebrow { color: #a3b495; margin-top: 65px; font-size: 10px; }
.login-story h1 { font-size: clamp(32px, 3.4vw, 43px); color: #f5f3e4; max-width: 380px; line-height: 1.17; letter-spacing: -1.8px; margin-bottom: 20px; }
.login-story h1 em { color: #dfcc8d; font-style: normal; }
.login-story > p { color: #9fba9c; line-height: 1.9; font-size: 13px; max-width: 370px; }
.login-story::after { content: ''; position: absolute; width: 320px; height: 320px; right: -130px; bottom: -145px; border: 1px solid #446441; border-radius: 50%; box-shadow: 0 0 0 35px #244735, 0 0 0 36px #3b5d3d, 0 0 0 75px #1f432f, 0 0 0 76px #36583a; pointer-events: none; opacity: .55; }
.login-hero-mark { align-self: center; margin: 35px 0; width: 105px; height: 118px; color: #a7b97c; position: relative; z-index: 1; }
.login-hero-mark svg { width: 100%; height: 100%; }
.feature-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; position: relative; z-index: 1; }
.feature-tags > span { color: #a7bf9f; background: #244b38; border: 1px solid #3c6043; border-radius: 6px; padding: 6px 9px; font-size: 10px; display: inline-flex; align-items: center; gap: 5px; }
.feature-tags svg { width: 12px; height: 12px; }
.login-footnote { font-size: 10px; color: #8da885; line-height: 1.8; margin-top: auto; padding-top: 25px; position: relative; z-index: 1; }
.login-panel { padding: 46px 38px 35px; display: flex; flex-direction: column; justify-content: center; }
.login-panel .eyebrow { color: #a6ac8d; }
.login-panel h2 { color: #4e6646; font-size: 26px; letter-spacing: -.75px; margin-bottom: 12px; }
.login-panel > p { font-size: 12px; color: #96a087; line-height: 1.9; margin-bottom: 27px; }
.login-card { border: 0; background: transparent; padding: 0; }
.role-option { display: flex; width: 100%; text-align: left; align-items: center; gap: 14px; padding: 17px; margin-bottom: 12px; background: #fff; border: 1px solid #e1e8d8; border-radius: 12px; color: #728565; transition: background .15s, border-color .15s, transform .15s; }
.role-option:hover { border-color: #b7cea1; background: #f9fcf3; transform: translateY(-1px); }
.role-option .role-icon, .role-option > svg:first-child { width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: #eef5e4; color: #90a777; }
.role-option:nth-child(2) .role-icon, .role-option:nth-child(2) > svg:first-child { color: #b3a06a; background: #faf3e2; }
.role-option:nth-child(3) .role-icon, .role-option:nth-child(3) > svg:first-child { color: #93a4ac; background: #f0f4f4; }
.role-copy { flex: 1; }
.role-option strong { display: block; font-size: 13px; font-weight: 650; margin-bottom: 4px; color: #5d7352; }
.role-option small { display: block; font-size: 10px; color: #9ba68d; }
.role-option > svg:last-child:not(:first-child) { width: 17px; height: 17px; margin-left: auto; color: #a9b59b; }
.login-panel .notice { font-size: 10px; padding: 11px 13px; margin-top: 15px; }
.login-panel .privacy-note { font-size: 10px; padding-top: 15px; }
.login-panel .btn.ghost { font-size: 10px; padding: 6px 0; justify-content: flex-start; }
.login-panel .divider { margin: 18px 0; }

/* Dialogs, feedback and utility */
.modal-dialog { width: min(540px, calc(100vw - 34px)); max-height: calc(100vh - 50px); border: 1px solid #dce6d2; border-radius: 20px; box-shadow: 0 25px 90px rgb(24 49 21 / 20%); padding: 0; color: var(--text); background: #fff; }
.modal-dialog::backdrop { background: rgb(21 45 32 / 45%); backdrop-filter: blur(3px); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 23px 25px 0; }
.modal-header h2 { font-size: 19px; color: #536e46; margin-top: 4px; }
.modal-header .btn { margin: -4px -8px 0 0; }
.modal-body { padding: 15px 25px 25px; font-size: 12px; color: #819373; line-height: 1.85; }
.modal-body h3 { font-size: 13px; color: #6c835c; margin: 18px 0 8px; }
.modal-body .notice { font-size: 11px; }
.modal-actions { display: flex; gap: 9px; justify-content: flex-end; border-top: 1px solid #e6ecdf; padding-top: 19px; margin-top: 20px; }
.modal-actions .btn { min-width: 105px; }
.modal-dialog .field:last-child { margin-bottom: 0; }
.toast-container { position: fixed; bottom: 23px; right: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; z-index: 200; max-width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 14px 17px; background: #274f38; color: #eff5e9; border: 1px solid #3a6447; box-shadow: 0 8px 28px rgb(38 61 24 / 13%); border-radius: 11px; font-size: 12px; line-height: 1.7; animation: toast-in .2s ease-out; }
.toast.error { background: #8d4b42; border-color: #a86254; }
.toast.info { background: #697c58; border-color: #80916e; }
.toast > svg { width: 17px; height: 17px; color: #c1d6a6; }
.toast.error > svg { color: #f2d4c5; }
.toast button { border: 0; padding: 3px; background: transparent; color: inherit; }
.loading-spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #c6d5b7; border-top-color: #648651; border-radius: 50%; animation: spin .8s linear infinite; }
.loading-state { min-height: 50vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; color: #8b9f7b; font-size: 12px; }
.loading-state .loading-spinner { width: 28px; height: 28px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-small { font-size: 11px; }
.text-success { color: #77955e; }
.text-danger { color: #b67b69; }
.nowrap { white-space: nowrap; }
.break-word { overflow-wrap: anywhere; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Shell integration */
.sidebar-subtitle { color: #90af99; font-size: 10px; line-height: 1.7; margin: 9px 0 0 57px; }
.sidebar > .nav-label { margin-top: 35px; margin-bottom: 12px; }
.sidebar > .sidebar-nav { margin-top: 0; }
.sidebar-promise { padding: 16px 13px; border: 1px solid #345747; border-radius: 12px; margin: 0 0 20px; }
.sidebar-promise > svg { color: #cabd83; width: 19px; height: 19px; margin-bottom: 10px; }
.sidebar-promise > strong { display: block; color: #d9e7d3; font-size: 11px; margin-bottom: 5px; }
.sidebar-promise p { font-size: 10px; color: #9eba9f; line-height: 1.8; margin-bottom: 10px; }
.sidebar-promise .btn { color: #b6cba8; min-height: 25px; font-size: 10px; padding: 0; justify-content: flex-start; }
.sidebar-promise .btn:hover { background: transparent; color: #e7edda; }
.profile-card > svg { color: #9db99e; width: 17px; height: 17px; }
.profile-card:hover .profile-copy strong { color: var(--amber); }
.demo-pill { color: #86967a; font-size: 9px; letter-spacing: .8px; padding-left: 5px; border-left: 1px solid #d4ddcb; margin-left: 1px; }
.btn.icon-button { padding: 8px; min-height: 32px; min-width: 32px; }
.app-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1450px; margin: 0 auto; color: #88967c; font-size: 10px; padding: 0 35px 20px; }
.log-search { margin: 0; width: 210px; }
.log-search input { min-height: 35px; font-size: 10px; padding: 8px 11px; }
.log-copy > strong { display: block; color: #647b52; font-size: 12px; margin-bottom: 4px; }
.login-story-copy { position: relative; z-index: 1; }
.login-story-copy > p { color: #acc4a3; line-height: 1.9; font-size: 12px; max-width: 370px; margin-bottom: 0; }
.login-story-footer { display: flex; flex-direction: column; gap: 3px; font-size: 10px; color: #9eb595; line-height: 1.7; margin-top: auto; position: relative; z-index: 1; }
.login-story-footer span:first-child { color: #c4c9a0; }
.login-hero-mark { position: relative; margin-top: 35px; margin-bottom: 35px; }
.login-hero-mark > svg { width: 100%; height: 100%; stroke-width: 1.1; }
.login-hero-mark > span { display: flex; position: absolute; width: 33px; height: 33px; right: -5px; bottom: 5px; border: 4px solid #193e34; background: #afbf87; color: #284d36; border-radius: 50%; align-items: center; justify-content: center; }
.login-hero-mark > span > svg { width: 16px; height: 16px; }
.login-card > .badge { font-size: 10px; margin-bottom: 15px; padding: 6px 8px; }
.login-card > p.muted { font-size: 12px; line-height: 1.8; margin-bottom: 25px; color: #7c8d70; }
.role-options { display: flex; flex-direction: column; }
.role-options .role-option .role-icon { padding: 10px; }
.role-option .role-icon > svg { width: 22px; height: 22px; }
.login-demo-tip { display: flex; align-items: flex-start; gap: 9px; padding: 13px; margin: 5px 0 13px; border-radius: 9px; background: #f7f8ed; border: 1px solid #e6e9d7; color: #919c75; }
.login-demo-tip > svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #abb58e; }
.login-demo-tip p { font-size: 10px; line-height: 1.8; margin: 0; }
.login-demo-tip strong { color: #7d8c61; }
.login-disclaimer { font-size: 10px !important; color: #8d997e; line-height: 1.9; }
.login-bottom-note { font-size: 10px; text-align: center; color: #9aa58b; line-height: 1.8; padding-top: 20px; margin: 0; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 23px 25px 0; }
.modal-heading h2 { font-size: 18px; color: #536e46; margin-top: 4px; }
.modal-heading .btn { margin: -4px -8px 0 0; }
.modal-dialog > form, .modal-dialog > .privacy-content { padding: 12px 25px 25px; font-size: 12px; color: #74866a; line-height: 1.85; }
.privacy-content { gap: 19px; }
.privacy-content h3 { font-size: 13px; color: #617d50; margin-bottom: 7px; }
.privacy-content p { font-size: 11px; line-height: 1.9; color: #7a8d6c; }
.privacy-content code { font-family: ui-monospace, monospace; font-size: 10px; padding: 2px 4px; background: #f0f4e9; border-radius: 4px; color: #698554; }

/* Parent workspace details */
.family-orbit { position: relative; width: 165px; height: 165px; border: 1px dashed #dfd7b5; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.family-orbit::before { content: ''; position: absolute; inset: 17px; border: 1px solid #e6debf; border-radius: 50%; }
.family-orbit > .avatar { width: 87px; height: 87px; border-radius: 50%; background: #ece3c2; color: #b0a268; box-shadow: 0 7px 13px rgb(128 121 66 / 5%); }
.family-orbit > .avatar svg { width: 40px; height: 40px; stroke-width: 1.2; }
.family-orbit > .badge { position: absolute; box-shadow: 0 2px 7px rgb(122 118 69 / 5%); font-size: 9px; padding: 6px 8px; border: 1px solid #e8e0c4; color: #9b946c; background: #fffdf5; }
.family-orbit > .badge:nth-child(2) { top: 10px; right: -12px; transform: rotate(4deg); }
.family-orbit > .badge:nth-child(3) { bottom: 19px; left: -22px; transform: rotate(-5deg); }
.metric-grid > .metric:last-child .metric-value { font-size: 20px; min-height: 32px; display: flex; align-items: center; }
.metric-grid { margin-bottom: 23px; }
.metric .metric-change { font-size: 10px; line-height: 1.7; }
.compact-list > .list-item { display: block; }
.compact-list > .list-item > .row { width: 100%; }
.compact-list > .list-item .badge { margin-left: auto; font-size: 9px; }
.compact-list > .list-item p { font-size: 10px; margin-bottom: 0; }
.compact-list > .list-item .app-icon { width: 33px; height: 33px; font-size: 11px; border-radius: 10px; }
.compact-list > .list-item .progress { width: 100%; height: 4px; margin: 10px 0 3px; }
.request-top strong { display: block; color: #6b8059; font-size: 12px; }
.request-top p { font-size: 10px; margin-bottom: 0; }
.request-card > .shared-detail { font-size: 11px; color: #8b9977; padding: 10px 12px; background: #fafbf5; border-radius: 7px; margin: 13px 0 0; }
.shared-detail { white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-card .coach-card { margin: 0; }
.inbox-card .coach-card > .row { flex-wrap: wrap; gap: 7px; }
.inbox-card .coach-card > .row h3 { margin: 0; }
.inbox-card .coach-card > .row .badge { margin-left: auto; font-size: 9px; }
.inbox-card .disclosure-preview > .row { margin-bottom: 12px; font-size: 11px; }
.inbox-card .disclosure-preview .section-label { margin-top: 0; font-size: 10px; }
.inbox-card .privacy-note { margin-bottom: 0; }
.reply-form { padding-top: 20px; margin-top: 22px; border-top: 1px solid #e6ecdc; }
.reply-form .field { margin-bottom: 0; }
.reply-form > .row { flex-wrap: wrap; }
.reply-form > .row > span { font-size: 10px; }
.signature-card > .avatar { width: 30px; height: 30px; border-radius: 10px; font-size: 10px; margin-bottom: 9px; }
.signature-card > .badge { margin: 3px 0 7px; }
.signature-card > small { display: block; font-size: 10px; }
.signature-card .btn { margin-top: 7px; font-size: 10px; }
.settings-form .field-row { row-gap: 12px; }
.settings-form .field-row > .field label { font-size: 10px; }
input.toggle { width: 34px; height: 20px; display: inline-block; appearance: none; -webkit-appearance: none; padding: 0; border: 1px solid #d9e2cf; background: #e0e8d6; border-radius: 14px; position: relative; margin: 0; flex-shrink: 0; cursor: pointer; transition: background .15s; }
input.toggle::after { content: ''; position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; background: #fff; box-shadow: 0 1px 2px rgb(65 87 45 / 12%); border-radius: 50%; transition: transform .15s; }
input.toggle:checked { background: #7f9f67; border-color: #7f9f67; }
input.toggle:checked::after { transform: translateX(14px); }
.settings-form > label.setting-row { padding: 11px 0; margin: 0; font-size: 11px; }
.demo-tools { justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.demo-tools > span { font-size: 10px; }
.activity-item > .metric-icon { width: 29px; height: 29px; border-radius: 9px; margin: 0; flex-shrink: 0; }
.activity-item > .metric-icon svg { width: 14px; height: 14px; }
.activity-item small { font-size: 10px; }
.empty-illustration { display: inline-flex; align-items: center; justify-content: center; }
.empty-illustration svg { width: 27px; height: 27px; }

/* Teen workspace details */
.grow { flex: 1; min-width: 0; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.small-print { display: block; font-size: 10px !important; line-height: 1.8; color: #7d8c73; margin-top: 8px; }
.small-print svg { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }
.form-error { font-size: 11px; color: #a4574d; background: #fff3ed; border-radius: 6px; padding: 8px 10px; margin: 10px 0; line-height: 1.7; }
.form-error:empty { display: none; }
.text-link { font-size: 10px; color: #64824f; display: inline-flex; gap: 5px; align-items: center; }
.metric-text { font-size: 21px !important; margin-top: 9px !important; }
.metric-note { color: #7c8b6f; font-size: 10px; }
.overview-metrics { margin-bottom: 22px; }
.overview-metrics .metric > .muted { display: block; }
.overview-metrics .metric-icon { margin-bottom: 10px; }
.overview-metrics .metric small { font-size: 11px; color: #829176; font-weight: 400; letter-spacing: 0; }
.overview-bottom > .card { min-height: 320px; }
.teen-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #eaf1e2; border: 1px solid #dde7d3; border-radius: 20px; padding: 29px 34px; overflow: hidden; position: relative; margin-bottom: 22px; min-height: 277px; }
.teen-hero-copy { width: 55%; max-width: 450px; position: relative; z-index: 2; }
.teen-hero-copy .eyebrow { color: #718c5c; font-size: 10px; margin-bottom: 12px; }
.teen-hero-copy h2 { color: #345a37; font-size: 38px; letter-spacing: -1.45px; line-height: 1.05; margin-bottom: 14px; font-weight: 720; }
.teen-hero-copy > p { color: #748665; font-size: 12px; line-height: 1.8; max-width: 350px; margin-bottom: 20px; }
.teen-hero-copy .btn { min-height: 39px; font-size: 11px; padding: 10px 15px; gap: 9px; }
.hero-footnote { display: flex; gap: 5px; align-items: center; font-size: 10px; color: #7f9370; margin-top: 12px; }
.guardian-illustration { flex-shrink: 0; width: 250px; height: 230px; position: relative; display: flex; align-items: center; justify-content: center; margin-right: 9px; }
.orbit { border-radius: 50%; position: absolute; border: 1px solid #d3dfc8; }
.orbit-one { width: 181px; height: 181px; }
.orbit-two { width: 232px; height: 232px; border-style: dashed; border-color: #d7e1ce; }
.orbit-dot { position: absolute; border-radius: 50%; z-index: 1; }
.dot-one { width: 7px; height: 7px; background: #b9cba8; left: 28px; top: 63px; }
.dot-two { width: 10px; height: 10px; background: #d6bb76; right: 45px; bottom: 32px; }
.guardian-emblem { position: relative; width: 108px; height: 119px; background: #d4e3c4; border-radius: 35% 35% 43% 43%; display: flex; align-items: center; justify-content: center; color: #709458; transform: rotate(-7deg); box-shadow: 0 12px 22px rgb(91 124 68 / 10%); }
.guardian-emblem > svg { width: 79px; height: 89px; stroke-width: 1.1; }
.emblem-check { position: absolute; display: flex; align-items: center; justify-content: center; right: -9px; bottom: 9px; width: 34px; height: 34px; border-radius: 50%; background: #78965e; color: #fff; border: 4px solid #eaf1e2; transform: rotate(7deg); }
.emblem-check svg { width: 16px; height: 16px; }
.float-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; color: #6a815a; font-size: 10px; padding: 8px 11px; border: 1px solid #dde7d0; background: #fbfdf7; border-radius: 7px; box-shadow: 0 3px 10px rgb(66 99 42 / 5%); white-space: nowrap; }
.float-label svg { color: #96af7f; width: 13px; height: 13px; }
.float-top { top: 27px; right: -9px; transform: rotate(5deg); }
.float-bottom { bottom: 34px; left: -6px; transform: rotate(-4deg); }
.hero-spark { position: absolute; color: #b7c89f; font-size: 22px; }
.spark-one { top: 43px; left: 48px; }
.spark-two { bottom: 65px; right: 17px; font-size: 15px; color: #c8b77b; }
.activity-row { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 15px; border-bottom: 1px solid #edf0e7; }
.activity-row:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-row strong { display: block; font-size: 11px; color: #5d7552; margin-bottom: 4px; }
.activity-row p { margin-bottom: 0; font-size: 10px; }
.activity-dot { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5e9; color: #93a780; border-radius: 9px; flex-shrink: 0; }
.activity-row .small-print { font-size: 10px !important; margin-top: 4px; }
.reassurance-strip { display: flex; align-items: center; gap: 13px; border: 1px solid #e5e8dc; background: #f1f4ea; border-radius: 13px; padding: 17px 20px; margin-top: 23px; }
.reassurance-strip > svg { color: #97ad81; width: 22px; height: 22px; }
.reassurance-strip > div { flex: 1; }
.reassurance-strip strong { display: block; font-size: 11px; color: #6f855d; margin-bottom: 4px; }
.reassurance-strip span { color: #8a987b; font-size: 10px; }
.app-usage { min-width: 0; }
.app-usage-heading { gap: 10px; align-items: center; }
.app-usage-name { flex: 1; min-width: 0; }
.app-usage-name strong { display: block; font-size: 12px; color: #59704f; margin-bottom: 3px; }
.app-usage-name > span { display: block; font-size: 10px; line-height: 1.6; }
.app-usage .badge { font-size: 10px; padding: 4px 6px; }
.app-usage .progress { margin-top: 13px; margin-bottom: 0; height: 5px; }
.app-usage-actions { flex-wrap: wrap; margin-top: 18px; gap: 7px; }
.app-usage-actions .btn { font-size: 10px; padding: 8px 9px; }
.app-usage-full .app-icon { width: 42px; height: 42px; font-size: 12px; border-radius: 12px; }
.app-icon.app-instagram { background: #f9ecf0; color: #af6f83; }
.app-icon.app-youtube { background: #fbecea; color: #bc7569; }
.app-icon.app-bgmi { background: #f7f0e2; color: #a68f51; }
.app-icon.app-freefire { background: #eaf1f5; color: #6c8c9d; }
.focus-running { margin-top: 20px; margin-bottom: 21px; background: #f3f8ed; border-color: #dce8d1; }
.focus-running h2 { margin-bottom: 5px; font-size: 17px; }
.focus-running p { font-size: 11px; margin-bottom: 0; }
.focus-running .eyebrow { margin-bottom: 5px; font-size: 10px; }
.focus-countdown { display: flex; flex-direction: column; align-items: center; padding: 25px 0 7px; }
.focus-countdown strong { font-size: 35px; line-height: 1.3; letter-spacing: -1.1px; color: #648a50; font-variant-numeric: tabular-nums; }
.focus-countdown > span { font-size: 10px; color: #8fa17e; margin-top: 6px; }
.shield-grid { align-items: start; }
.shield-editor > p { font-size: 11px; }
.shield-editor textarea { font-size: 12px; min-height: 170px; }
.sample-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 17px; }
.sample-row > .small-print { margin: 0 5px 0 0; font-size: 10px !important; }
.sample-chip { border: 1px solid #dfe7d6; background: #fafcf5; color: #7c916a; font-size: 10px; border-radius: 5px; padding: 5px 7px; }
.sample-chip:hover { background: #edf5e4; border-color: #c8d9b7; }
.screenshot-zone { background: #fafcf6; border: 1px dashed #d6e1c8; border-radius: 10px; padding: 16px; margin-bottom: 17px; }
.upload-label { display: flex; align-items: center; gap: 10px; color: #94a880; cursor: pointer; margin-bottom: 10px; }
.upload-label > svg { width: 29px; height: 29px; }
.upload-label strong { display: block; color: #71875d; font-size: 11px; }
.upload-label small { display: block; color: #8c9d7a; font-size: 10px; margin-top: 4px; line-height: 1.7; }
.screenshot-zone input[type='file'] { font-size: 10px; max-width: 100%; }
.screenshot-zone input::file-selector-button { border: 1px solid #d9e3ce; background: #fff; border-radius: 5px; padding: 6px 9px; font-size: 10px; color: #82976d; margin-right: 7px; cursor: pointer; }
.screenshot-zone .small-print { font-size: 10px !important; margin-bottom: 0; }
.image-preview { margin-top: 12px; }
.image-preview img { max-height: 200px; object-fit: contain; border-radius: 6px; margin: 0 auto 7px; border: 1px solid #e5eadd; }
.image-preview .btn { margin: 0 auto; display: flex; }
.ocr-progress { color: #748b60; font-size: 10px; padding-top: 10px; }
.shield-options { align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.shield-options > .field { margin-bottom: 0; min-width: 115px; }
.shield-options > .small-print { font-size: 10px !important; padding-bottom: 5px; max-width: 180px; }
.shield-options .check-label { font-size: 10px; max-width: 210px; padding-bottom: 5px; }
.shield-result { min-height: 460px; }
.result-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 45px 20px 25px; }
.result-emblem { width: 100px; height: 110px; display: flex; justify-content: center; align-items: center; color: #a9bd92; background: #f2f6eb; border-radius: 35% 35% 43% 43%; margin-bottom: 25px; }
.result-emblem svg { width: 48px; height: 56px; stroke-width: 1.25; }
.result-empty .eyebrow { font-size: 10px; color: #97a587; margin-bottom: 10px; }
.result-empty h2 { font-size: 20px; color: #69815a; margin-bottom: 12px; }
.result-empty > p { max-width: 280px; font-size: 11px; color: #8a997a; margin-bottom: 21px; }
.mini-promise { font-size: 10px; display: flex; align-items: center; gap: 7px; color: #8a9b76; margin-top: 10px; }
.mini-promise svg { width: 14px; height: 14px; color: #a4ba8d; }
.result-empty > .small-print { font-size: 10px !important; margin-top: 30px; }
.analysis-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.analysis-heading h2 { font-size: 21px; color: #637b54; line-height: 1.35; margin-bottom: 0; }
.analysis-icon { width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; color: #8da477; background: #eff5e8; border-radius: 14px; }
.analysis-icon.red { background: #fff1e9; color: #bd8b71; }
.analysis-icon.amber { background: #fff6df; color: #b9a05c; }
.analysis-summary { color: #7c8c6c; line-height: 1.9 !important; font-size: 12px !important; margin-bottom: 14px; }
.analysis-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e9eddf; }
.analysis-section > h3 { font-size: 12px; color: #7d8b69; margin-bottom: 14px; }
.analysis-section .signal-item { display: flex; gap: 8px; border-left: 0; padding-left: 0; margin-bottom: 15px; }
.signal-item > span { color: #b6a275; padding-top: 1px; }
.signal-item p { color: #8b987b; font-size: 10px; margin-bottom: 0; font-style: italic; overflow-wrap: anywhere; }
.next-steps { padding-left: 19px; color: #7d8c6b; font-size: 11px; line-height: 1.8; margin: 11px 0 18px; }
.next-steps li::marker { color: #8fa577; font-size: 10px; }
.analysis-footer { margin-top: 20px; padding-top: 15px; border-top: 1px solid #e8eddf; }
.analysis-footer .small-print { font-size: 10px !important; }
.shared-requests { margin-top: 23px; }
.disclosure-item { border-bottom: 1px solid #e9eddf; padding: 18px 0; }
.disclosure-item:first-of-type { padding-top: 0; }
.disclosure-item:last-child { border-bottom: none; padding-bottom: 0; }
.disclosure-item .row strong { font-size: 12px; color: #6b825b; }
.disclosure-item .small-print { margin-top: 3px; }
.disclosure-item > p { margin-top: 14px; font-size: 12px; color: #7c8d6c; }
.disclosure-item details { color: #7e9369; font-size: 10px; }
.disclosure-item details summary { cursor: pointer; }
.disclosure-item details p { font-size: 11px; margin-top: 9px; }
.coach-reply { display: flex; align-items: flex-start; gap: 8px; background: #f1f7eb; border: 1px solid #e2ecd7; border-radius: 9px; padding: 12px 13px; margin-top: 12px; }
.coach-reply > svg { color: #97b180; width: 16px; height: 16px; margin-top: 3px; }
.coach-reply > p { font-size: 11px; color: #7d936b; margin: 0; }
.empty-state.compact { padding: 18px 10px; }
.empty-state.compact > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; margin-bottom: 10px; }
.empty-state.compact p { font-size: 11px; }
.web-result { margin-top: 20px; }
.web-result h3 { color: inherit; font-size: 13px; margin: 7px 0; }
.web-result strong { overflow-wrap: anywhere; }
.category-icon { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; color: #9bae88; background: #f1f6e9; border-radius: 10px; }
.category-count { color: #7d9666; font-size: 20px; font-weight: 650; margin-left: auto; }
.pact-card .pact-text { margin-top: 20px; padding: 20px; background: #fbfaf2; border: 1px solid #ece8d9; border-radius: 10px; font-size: 12px; line-height: 1.95; color: #7a8263; }
.pact-review { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin: 17px 0 0; font-size: 10px; color: #9aa58a; }
.pact-review > span { display: flex; gap: 6px; align-items: center; }
.pact-review svg { width: 14px; height: 14px; color: #a9b798; }
.pact-review strong { color: #8b9879; font-size: 11px; }
.signature { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.signature .avatar { width: 31px; height: 31px; font-size: 10px; border-radius: 10px; margin-bottom: 5px; }
.signature.signed { background: #f6faf0; border-color: #dde9ce; }
.signature .small-print { font-size: 10px !important; margin: 0; }
.pact-card > .btn { margin-top: 21px; width: 100%; font-size: 11px; }
.review-item { padding: 12px 0; border-bottom: 1px solid #e9eddf; }
.review-item:last-child { border-bottom: 0; padding-bottom: 0; }
.review-item p { font-size: 11px; color: #859575; margin: 7px 0 0; }
.sos-heart { width: 61px; height: 61px; display: inline-flex; align-items: center; justify-content: center; background: #faf2df; color: #b9a16b; border-radius: 19px; margin-bottom: 18px; }
.sos-compose .card-title { font-size: 20px; margin-bottom: 23px; }
.location-choice { padding: 16px; background: #f8faf4; border: 1px solid #e4ebd9; border-radius: 10px; margin-bottom: 18px; }
.location-choice > .row { margin-bottom: 12px; }
.location-choice .row > svg { color: #a0b48a; width: 20px; height: 20px; }
.location-choice strong { display: block; color: #7c916a; font-size: 11px; }
.location-choice .small-print { margin-top: 4px; font-size: 10px !important; }
.location-choice .location-coordinates { color: #7d946a; font-size: 11px; margin-bottom: 7px; font-variant-numeric: tabular-nums; }
.location-choice .btn { font-size: 10px; }
.sos-item { background: #fffbf2; border: 1px solid #eee2c6; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.sos-item .row { justify-content: space-between; margin-bottom: 15px; }
.sos-item h3 { font-size: 14px; color: #9a8558; }
.sos-item p { font-size: 12px; color: #a39372; }
.sos-item .btn { font-size: 10px; margin-top: 5px; }
.support-card { margin-top: 23px; }
.support-card > .row > svg { width: 40px; height: 40px; padding: 10px; background: #f2f6eb; border-radius: 12px; color: #9ab185; }
.support-card .card-title { margin-bottom: 4px; }
.support-card .muted { font-size: 11px; margin-bottom: 0; }
.notice > div { flex: 1; }
.notice > div > svg { width: 15px; height: 15px; margin-right: 5px; vertical-align: -3px; }
.notice + .grid-2, .notice + .card { margin-top: 20px; }
.notice + .notice { margin-top: 15px; }
.notice + .stack, .notice + .metric-grid, .grid-2 + .notice, .card + .notice, .stack + .notice { margin-top: 20px; }
.notice .btn { flex-shrink: 0; }
.metric-icon.amber { background: #fcf2dc; color: #b69b5f; }
.metric-icon.green { background: #eef5e6; color: #87a36b; }

/* Keep supporting copy readable on the pale product surfaces. */
.main-shell .card p,
.main-shell .card .muted,
.main-shell .small-print,
.main-shell .metric-note,
.main-shell .metric-label,
.main-shell .metric-change,
.main-shell .mini-promise,
.main-shell .step-list,
.main-shell .next-steps,
.main-shell .privacy-note,
.main-shell .activity-item small,
.main-shell .log-time,
.main-shell .app-remaining,
.main-shell .focus-countdown > span,
.main-shell .signature-card > small,
.main-shell .reply-form > .row > span { color: #66765c; }
.main-shell .card .notice p,
.main-shell .card .notice .small-print { color: inherit; }
.main-shell .card .coach-card p,
.main-shell .coach-card .step-list { color: #5f744f; }
.main-shell .hero-card p,
.main-shell .teen-hero-copy > p,
.main-shell .hero-footnote { color: #5c7350; }
.main-shell .parent-hero p { color: #776f4b; }
.main-shell .reassurance-strip span,
.main-shell .pact-text,
.main-shell .pact-paper,
.main-shell .signal-item p { color: #657352; }
.main-shell .eyebrow { color: #617756; }
.main-shell .topbar-breadcrumb { color: #738268; }
.main-shell .app-footer { color: #6f7c63; }
.main-shell .app-icon.instagram,
.main-shell .app-icon.app-instagram { color: #95596e; }
.main-shell .app-icon.youtube,
.main-shell .app-icon.app-youtube { color: #a05d52; }
.main-shell .app-icon.bgmi,
.main-shell .app-icon.app-bgmi { color: #877239; }
.main-shell .app-icon.freefire,
.main-shell .app-icon.app-freefire { color: #587c8e; }
.login-panel .login-demo-tip p,
.login-panel .login-disclaimer,
.login-panel .login-bottom-note,
.login-panel .role-copy small,
.login-panel .small-print { color: #6d7b61; }
.login-story-copy .eyebrow { color: #a7bd99; }

/* Accounts, Android reports, and shared schedules */
.auth-tabs { display: flex; gap: 4px; background: #f0f4e9; padding: 4px; border: 1px solid #e5ebdd; border-radius: 10px; margin-bottom: 22px; }
.auth-tabs .btn { flex: 1; padding: 9px 11px; min-height: 36px; border-radius: 7px; font-size: 11px; }
.auth-tabs .btn[aria-pressed='true'] { border-color: #e2e8da; background: #fff; box-shadow: 0 2px 5px rgb(40 67 28 / 4%); color: #41613b; }
.auth-tabs .btn[aria-pressed='false'] { color: #738668; }
.login-panel form.stack { gap: 14px; }
.login-panel form.stack > .field { margin: 0; }
.login-panel form.stack > .btn { width: 100%; }
.login-panel form.stack > .form-error { margin: 0; }
.login-panel .login-card > section.card { padding: 20px; }
.login-panel .login-card > section.card h3 { font-size: 14px; margin-bottom: 15px; }
.login-panel .login-card > section.card + section.card { margin-top: 18px; }
.login-panel input[type='password'] { letter-spacing: .15px; }
.invite-code { font-family: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace; font-size: 13px !important; letter-spacing: 1px; background: #fff !important; color: #2e5b3d !important; }
.notice.stack { display: flex; align-items: stretch; gap: 10px; }
.notice.stack .section-label { margin: 0; }
.notice.stack .small-print { margin: 0; }
.main-shell code { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 11px; color: #4f7245; background: #f0f5e9; border: 1px solid #e3ebd9; border-radius: 4px; padding: 2px 5px; overflow-wrap: anywhere; }
.setting-row > span:first-child { flex: 1; min-width: 0; }
.setting-row > strong:last-child { max-width: 55%; overflow-wrap: anywhere; text-align: right; }
.device-status-card .card-header { gap: 15px; }
.device-status-card .card-header .badge { white-space: normal; text-align: right; }
.device-status-card .card-title { font-size: 16px; }
.device-status-card .permission-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 17px; }
.permission-chip { display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 3px 7px; align-items: center; border: 1px solid #e4e8d9; padding: 12px; border-radius: 10px; background: #f9faf4; color: #7b896b; font-size: 11px; }
.permission-chip > svg { grid-column: 1; grid-row: 1; width: 15px; height: 15px; color: #a49b75; }
.permission-chip > span { min-width: 0; overflow-wrap: anywhere; }
.permission-chip > strong { grid-column: 2; color: #8d7951; font-size: 10px; font-weight: 550; }
.permission-chip.enabled { border-color: #dce7d0; background: #f1f7e9; }
.permission-chip.enabled > svg { color: #7d9b60; }
.permission-chip.enabled > strong { color: #617f4c; }
.device-status-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 13px; }
.device-status-footer .small-print { flex: 1; margin: 0; }
.device-status-footer .btn { flex-shrink: 0; }
.weekly-summary > .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.weekly-stat { border-right: 1px solid #e6ecdc; padding-right: 12px; min-width: 0; }
.weekly-stat:last-child { border-right: 0; padding-right: 0; }
.weekly-stat .metric-value { display: block; margin-bottom: 7px; font-size: 25px; }
.weekly-stat .metric-label { display: block; font-size: 10px; line-height: 1.8; }
#focus-schedule fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid #e0e8d5; border-radius: 11px; background: #fbfcf7; gap: 15px; }
#focus-schedule legend { padding: 0 7px; color: #657d54; font-size: 12px; font-weight: 650; }
#focus-schedule fieldset > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
#focus-schedule .check-label { gap: 5px; align-items: center; font-size: 10px; }
#focus-schedule .check-label input { margin: 0; width: 15px; height: 15px; }
#focus-schedule fieldset .field-row { gap: 13px; }
#focus-schedule fieldset .field { margin: 0; }
#focus-schedule input[type='time'] { min-width: 0; max-width: 100%; padding-right: 8px; }
#device-status .setting-row { gap: 12px; }
#device-status .setting-row > span:first-child { font-size: 11px; }
#device-status .setting-row .badge { font-size: 10px; white-space: normal; text-align: right; max-width: 54%; }
#device-status .setting-row > strong { font-size: 11px; }

/* Persistent network status is also visible on compact phone layouts. */
.connection-banner { align-items: center; justify-content: space-between; margin-bottom: 20px; }
.connection-banner[hidden] { display: none; }
.connection-banner .btn { flex-shrink: 0; }
#android-server-address { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #9c762b; outline-offset: 3px; }

/* Responsive layouts */
@media (min-width: 1600px) {
  .page { padding-top: 40px; }
  .topbar { padding-left: max(35px, calc((100vw - 230px - 1380px) / 2)); padding-right: max(35px, calc((100vw - 230px - 1380px) / 2)); }
}
@media (max-width: 1250px) {
  .sidebar { width: 211px; padding-left: 14px; padding-right: 14px; }
  .main-shell { margin-left: 211px; }
  .brand { font-size: 21px; }
  .nav-item { font-size: 12px; gap: 10px; padding: 12px; }
  .nav-item.active::before { left: -14px; }
  .topbar { padding-left: 26px; padding-right: 26px; }
  .page { padding: 28px 26px 40px; }
  .card { padding: 21px; }
  .hero-card { padding: 25px; }
  .hero-card h2 { font-size: 25px; }
  .hero-visual { width: 145px; margin-right: 6px; }
  .hero-orbit { width: 127px; height: 127px; }
  .hero-orbit::before { width: 157px; height: 157px; left: -16px; top: -16px; }
  .hero-shield, .hero-visual > svg { width: 76px; height: 87px; }
  .metric-grid, .parent-metrics { gap: 12px; }
  .metric, .parent-metrics .metric { padding: 17px; }
  .quick-action { padding: 15px 12px; gap: 9px; }
  .quick-action > svg:first-child { width: 30px; height: 30px; padding: 7px; }
  .quick-action strong { font-size: 11px; }
  .quick-action small { font-size: 10px; }
  .grid-2, .grid-3, .app-grid { gap: 17px; }
}
@media (max-width: 1030px) {
  .device-status-card .permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid, .parent-metrics, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scan-layout { grid-template-columns: 1fr; }
  .scan-result > .card { min-height: auto; }
  .scan-result .empty-state { min-height: 220px; }
  .scan-composer textarea { min-height: 145px; }
  .inbox-layout { grid-template-columns: 1fr; }
  .inbox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .topbar-actions { gap: 9px; }
  .connection-status { font-size: 10px; }
  .topbar-breadcrumb > span:first-child { display: none; }
  .hero-copy { max-width: 71%; }
  .hero-card h2 { font-size: 23px; }
  .hero-card p { font-size: 11px; }
  .hero-visual { width: 115px; }
  .hero-orbit { width: 110px; height: 110px; }
  .hero-orbit::before { width: 140px; height: 140px; }
  .hero-shield, .hero-visual > svg { width: 66px; height: 78px; }
  .hero-actions .btn { font-size: 10px; padding: 9px 11px; }
  .quick-actions { gap: 9px; }
  .quick-action { gap: 8px; flex-wrap: wrap; }
  .quick-action > svg:last-child:not(:first-child) { display: none; }
  .page-heading .row { flex-wrap: wrap; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 20px; }
  .login-screen { padding: 25px; }
  .login-layout { min-height: 640px; }
  .login-story { padding: 37px 32px; }
  .login-panel { padding: 37px 29px; }
  .login-story h1 { font-size: 34px; }
  .login-story > p { font-size: 12px; }
  .teen-hero { padding: 27px; min-height: 260px; gap: 18px; }
  .teen-hero-copy h2 { font-size: 34px; }
  .guardian-illustration { width: 196px; height: 210px; margin-right: 0; }
  .orbit-one { width: 156px; height: 156px; }
  .orbit-two { width: 198px; height: 198px; }
  .guardian-emblem { width: 92px; height: 103px; }
  .guardian-emblem > svg { width: 69px; height: 79px; }
  .float-label { font-size: 9px; padding: 7px 9px; }
  .float-top { right: -5px; top: 24px; }
  .float-bottom { left: -3px; bottom: 27px; }
  .overview-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .overview-metrics .card { padding: 17px; }
  .overview-metrics .metric-text { font-size: 17px !important; }
  .metric-note { font-size: 10px; }
  .app-usage-actions .btn { font-size: 10px; padding: 7px 8px; }
  .shield-grid { grid-template-columns: 1fr; }
  .shield-result { min-height: auto; }
  .result-empty { padding-top: 25px; }
  .result-empty > .small-print { margin-top: 20px; }
  .result-emblem { width: 80px; height: 90px; margin-bottom: 20px; }
  .reassurance-strip { gap: 10px; padding: 15px 17px; }
  .reassurance-strip strong { font-size: 10px; }
  .reassurance-strip span { font-size: 10px; }
}
@media (max-width: 800px) {
  .sidebar { visibility: hidden; transform: translateX(-100%); transition: transform .22s ease; width: 245px; padding: 25px 18px 18px; }
  .sidebar.is-open { visibility: visible; transform: translateX(0); box-shadow: 12px 0 50px rgb(17 36 23 / 20%); }
  .sidebar-backdrop.is-open { display: block; position: fixed; inset: 0; z-index: 35; background: rgb(23 46 29 / 35%); backdrop-filter: blur(2px); }
  .main-shell { margin-left: 0; }
  .topbar { padding: 15px 23px; min-height: 72px; }
  .btn.mobile-menu { display: inline-flex; border: 1px solid #e1e8d9; background: #fff; border-radius: 8px; padding: 8px; color: #778e65; align-items: center; justify-content: center; }
  .mobile-menu svg { width: 19px; height: 19px; }
  .topbar-title { gap: 10px; }
  .topbar-breadcrumb { display: none; }
  .page { padding: 27px 23px 40px; }
  .grid-2 { gap: 17px; }
  .hero-visual { width: 170px; margin-right: 8px; }
  .hero-orbit { width: 140px; height: 140px; }
  .hero-orbit::before { width: 173px; height: 173px; left: -18px; top: -18px; }
  .hero-shield, .hero-visual > svg { width: 82px; height: 94px; }
  .hero-copy { max-width: 65%; }
  .hero-card h2 { font-size: 25px; }
  .hero-card p { font-size: 12px; }
  .hero-actions .btn { font-size: 11px; }
  .quick-action { flex-wrap: nowrap; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-layout { grid-template-columns: .92fr 1.08fr; }
  .login-story { padding: 33px 26px; }
  .login-story h1 { font-size: 30px; }
  .login-story .eyebrow { margin-top: 45px; }
  .login-story > p { font-size: 11px; }
  .login-panel { padding: 33px 25px; }
  .feature-tags > span { font-size: 10px; }
  .teen-hero { padding: 28px 30px; }
  .teen-hero-copy h2 { font-size: 36px; }
  .guardian-illustration { width: 230px; }
  .orbit-one { width: 174px; height: 174px; }
  .orbit-two { width: 220px; height: 220px; }
  .float-top { right: -2px; }
  .float-bottom { left: -5px; }
  .app-footer { padding-left: 23px; padding-right: 23px; }
}
@media (max-width: 620px) {
  .auth-tabs { margin-bottom: 19px; }
  .auth-tabs .btn { font-size: 11px; }
  .login-panel form.stack { gap: 13px; }
  .login-panel .login-card > section.card { padding: 17px; }
  .device-status-card .card-header { flex-wrap: wrap; gap: 10px; }
  .device-status-card .card-header .badge { text-align: left; }
  .device-status-card .permission-grid { gap: 9px; }
  .permission-chip { padding: 11px; font-size: 10px; gap: 3px 6px; }
  .permission-chip > strong { font-size: 10px; }
  .device-status-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .device-status-footer .small-print { flex: auto; }
  .weekly-summary > .grid-3 { gap: 9px; }
  .weekly-stat { padding-right: 9px; }
  .weekly-stat .metric-value { font-size: 23px; }
  .weekly-stat .metric-label { font-size: 10px; }
  #focus-schedule fieldset { padding: 14px; gap: 14px; }
  #focus-schedule fieldset .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  #focus-schedule fieldset .field label { font-size: 10px; }
  #focus-schedule input[type='time'] { font-size: 11px; padding: 9px; }
  #device-status .setting-row .badge { max-width: 51%; font-size: 9px; }
  .topbar-breadcrumb { max-width: 100%; overflow-wrap: anywhere; }
  .topbar { padding: 13px 18px; min-height: 65px; }
  .topbar-actions { gap: 7px; }
  .role-pill { font-size: 10px; padding: 6px 8px; }
  .role-pill svg { width: 13px; height: 13px; }
  .topbar-actions .connection-status { display: none; }
  .topbar-actions > .btn.ghost { padding: 6px; }
  .page { padding: 24px 18px 35px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .page-heading h1 { font-size: 26px; letter-spacing: -.8px; }
  .page-heading p { font-size: 12px; }
  .page-heading > .badge { align-self: flex-start; }
  .page-heading > .btn { min-height: 35px; padding: 8px 12px; font-size: 11px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .prototype-banner { font-size: 10px; padding: 9px 11px; margin-bottom: 19px; }
  .grid-2, .grid-3, .grid-4, .app-grid, .inbox-list { grid-template-columns: 1fr; }
  .metric-grid, .parent-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .metric, .parent-metrics .metric { padding: 16px; border-radius: 12px; }
  .metric-value { font-size: 24px; }
  .metric-label { font-size: 10px; }
  .metric-change { font-size: 10px; }
  .metric-icon { width: 29px; height: 29px; border-radius: 8px; margin-bottom: 11px; }
  .card { border-radius: 15px; padding: 20px; }
  .card-header { margin-bottom: 17px; }
  .card-title, .card-header h2 { font-size: 15px; }
  .hero-card, .parent-hero { border-radius: 16px; padding: 24px 22px; min-height: 220px; }
  .hero-copy { max-width: 100%; }
  .hero-card h2, .parent-hero h2 { font-size: 25px; max-width: 300px; }
  .hero-card p, .parent-hero p { max-width: 330px; font-size: 11px; }
  .hero-visual { display: none; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions .btn { font-size: 10px; min-height: 36px; padding: 9px 11px; }
  .quick-actions { grid-template-columns: 1fr; gap: 10px; margin-bottom: 21px; }
  .quick-action { padding: 14px 16px; gap: 12px; }
  .quick-action strong { font-size: 12px; }
  .quick-action small { font-size: 10px; }
  .quick-action > svg:last-child:not(:first-child) { display: block; }
  .quick-action > svg:first-child { width: 35px; height: 35px; padding: 8px; }
  .signature-grid { grid-template-columns: 1fr; gap: 11px; }
  .pact-paper { padding: 22px; font-size: 12px; }
  .pact-paper h2 { font-size: 21px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .row { gap: 9px; }
  .notice { font-size: 11px; padding: 12px 13px; }
  .app-card { padding: 20px; }
  .app-actions .btn { font-size: 10px; }
  .scan-layout { gap: 18px; }
  .tabs { gap: 3px; }
  .tab { font-size: 10px; padding: 8px 9px; }
  .mode-options { gap: 7px; }
  .mode-option { font-size: 10px; padding: 9px 10px; }
  .request-card, .approval-card { padding: 16px; }
  .request-actions .btn { font-size: 11px; }
  .coach-card { padding: 17px; }
  .coach-quote, .coach-card blockquote { font-size: 17px; }
  .sos-card { padding: 20px; border-radius: 14px; }
  .log-entry { gap: 11px; flex-wrap: wrap; padding-bottom: 22px; }
  .log-icon { width: 32px; height: 32px; border-radius: 10px; }
  .log-entry:not(:last-child)::after { left: 15px; top: 36px; }
  .log-copy { flex-basis: calc(100% - 44px); }
  .log-time { padding: 0 0 0 43px; margin-top: -4px; }
  .activity-item time { font-size: 9px; }
  .login-screen { padding: 18px; align-items: flex-start; }
  .login-layout { grid-template-columns: 1fr; min-height: auto; border-radius: 20px; max-width: 440px; }
  .login-story { padding: 29px 27px 27px; }
  .login-story .brand { font-size: 22px; }
  .login-story .eyebrow { margin-top: 35px; }
  .login-story h1 { max-width: 300px; font-size: 34px; letter-spacing: -1.2px; margin-bottom: 14px; }
  .login-story > p { max-width: 315px; font-size: 12px; margin-bottom: 0; }
  .login-hero-mark { display: none; }
  .login-story::after { width: 230px; height: 230px; right: -155px; bottom: -150px; }
  .feature-tags { margin-top: 22px; gap: 7px; }
  .feature-tags > span { font-size: 10px; padding: 5px 7px; }
  .login-footnote { display: none; }
  .login-panel { padding: 29px 25px 26px; }
  .login-panel h2 { font-size: 24px; }
  .login-panel > p { font-size: 11px; margin-bottom: 21px; }
  .role-option { padding: 15px; gap: 12px; }
  .role-option strong { font-size: 12px; }
  .role-option small { font-size: 10px; }
  .modal-dialog { width: calc(100vw - 26px); max-height: calc(100vh - 28px); border-radius: 16px; }
  .modal-header { padding: 20px 20px 0; }
  .modal-header h2 { font-size: 18px; }
  .modal-body { padding: 12px 20px 22px; }
  .modal-actions { gap: 7px; }
  .modal-actions .btn { min-width: 0; flex: 1; font-size: 11px; }
  .toast-container { bottom: 15px; right: 15px; left: 15px; max-width: none; align-items: stretch; }
  .toast { font-size: 11px; padding: 12px 14px; }
  .sidebar > .nav-label { margin-top: 32px; }
  .teen-hero { padding: 25px 24px; min-height: 245px; }
  .teen-hero-copy { width: 100%; max-width: 100%; }
  .teen-hero-copy h2 { font-size: 35px; }
  .teen-hero-copy > p { max-width: 300px; font-size: 11px; }
  .guardian-illustration { display: none; }
  .overview-metrics { grid-template-columns: 1fr; gap: 13px; }
  .overview-metrics .metric { display: grid; grid-template-columns: 35px 1fr auto; column-gap: 12px; align-items: center; }
  .overview-metrics .metric > .metric-icon { margin: 0; grid-column: 1; grid-row: 1 / 3; }
  .overview-metrics .metric > .muted { grid-column: 2; grid-row: 1; font-size: 11px; }
  .overview-metrics .metric > strong { grid-column: 3; grid-row: 1 / 3; margin: 0; font-size: 22px; white-space: nowrap; }
  .overview-metrics .metric > .metric-text { font-size: 17px !important; }
  .overview-metrics .metric > .metric-note, .overview-metrics .metric > .text-link { grid-column: 2; grid-row: 2; font-size: 9px; }
  .overview-metrics .metric > .text-link { margin-top: 2px; }
  .overview-metrics .metric small { font-size: 9px; }
  .overview-bottom > .card { min-height: auto; }
  .reassurance-strip { align-items: flex-start; flex-wrap: wrap; padding: 16px; gap: 9px; }
  .reassurance-strip > div { flex-basis: calc(100% - 35px); }
  .reassurance-strip .btn { padding: 4px 0; min-height: 24px; margin-left: 30px; }
  .reassurance-strip strong { font-size: 11px; }
  .reassurance-strip span { font-size: 10px; }
  .focus-running .row { flex-wrap: wrap; }
  .focus-running .row > .grow { flex-basis: calc(100% - 55px); }
  .focus-running .row > .btn { margin-left: 49px; font-size: 10px; }
  .focus-countdown { padding-top: 17px; }
  .focus-countdown strong { font-size: 31px; }
  .screenshot-zone { padding: 13px; }
  .shield-editor > p { font-size: 11px; }
  .shield-options { margin-bottom: 14px; }
  .shield-options > .small-print { max-width: 150px; font-size: 9px !important; }
  .sample-row { gap: 5px; }
  .sample-row > .small-print { flex-basis: 100%; margin-bottom: 3px; }
  .result-empty { padding-left: 10px; padding-right: 10px; }
  .analysis-heading h2 { font-size: 19px; }
  .disclosure-item > .row { flex-wrap: wrap; }
  .disclosure-item > .row .badge { font-size: 9px; }
  .notice > .btn { align-self: flex-start; }
  .notice:has(> .btn) { flex-wrap: wrap; }
  .notice:has(> .btn) > div { flex-basis: 100%; }
  .notice:has(> .btn) > .btn { margin-left: 0; }
  .notice.row > svg + div { flex-basis: calc(100% - 35px); }
  .notice.row > .btn { margin-left: 31px; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .metric-grid .metric { padding: 13px 11px; }
  .metric-grid .metric-value { font-size: 23px; }
  .metric-grid > .metric:last-child .metric-value { font-size: 15px; min-height: 28px; }
  .metric-grid .metric-label { font-size: 10px; min-height: 27px; }
  .metric-grid .metric-change { font-size: 9px; }
  .request-top { flex-wrap: wrap; gap: 8px; }
  .request-top .badge { font-size: 9px; }
  .inbox-card .coach-card > .row .badge { margin-left: 0; }
  .reply-form > .row > span { font-size: 10px; }
  .log-search { width: 100%; }
  .log-search input { width: 100%; }
  .card-header:has(.log-search) { flex-wrap: wrap; gap: 13px; }
  .app-footer { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 9px; padding: 0 18px 18px; }
  .modal-heading { padding: 20px 20px 0; }
  .modal-heading h2 { font-size: 17px; }
  .modal-dialog > form, .modal-dialog > .privacy-content { padding: 12px 20px 22px; }
  .login-story-copy > p { font-size: 11px; max-width: 310px; }
  .login-card > p.muted { font-size: 11px; margin-bottom: 21px; }
  .login-story-footer { display: none; }
  .login-bottom-note { padding-top: 15px; font-size: 9px; }
  .login-demo-tip { padding: 11px; gap: 8px; }
  .login-demo-tip p { font-size: 10px; }
  .login-disclaimer { font-size: 9px !important; }
}
@media (max-width: 370px) {
  .page { padding-left: 13px; padding-right: 13px; }
  .topbar { padding-left: 13px; padding-right: 13px; }
  .card { padding: 17px; }
  .btn { font-size: 11px; padding: 10px 13px; }
  .hero-card { padding: 22px 19px; }
  .hero-actions .btn { padding: 8px 9px; font-size: 10px; }
  .parent-metrics { gap: 9px; }
  .metric { padding: 14px; }
  .login-screen { padding: 12px; }
  .login-story { padding: 26px 23px; }
  .login-panel { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .topbar, .prototype-banner, .btn, .toast-container { display: none !important; }
  .main-shell { margin: 0; }
  .page { padding: 0; }
  .card { break-inside: avoid; box-shadow: none; }
  body { background: #fff; }
}
