@charset "UTF-8";
:root {
  --ink: #13233e; --muted: #5e6f87; --line: #e4eaf2; --bg: #f3f6fb;
  --white: #fff; --blue: #2358d6; --blue-dark: #1743af; --mint: #087c71;
  --soft-blue: #ebf2ff; --radius: 16px; --shadow: 0 2px 5px #182d4910;
  font: 16px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(1.9rem, 3vw, 2.55rem); font-weight: 730; }
h2 { font-size: 1.23rem; font-weight: 700; }
h3 { font-size: 1.08rem; }
p + p { margin-top: .55rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #459dff; outline-offset: 3px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.spaced { margin-top: 1.6rem; }
.narrow { max-width: 720px; }
.app { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column;
  padding: 30px 18px 24px; background: #fff; border-right: 1px solid var(--line); z-index: 15;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); width: fit-content; font-size: 1.25rem; font-weight: 740; letter-spacing: -.035em; }
.sidebar .brand { margin: 0 7px; }
.brand-mark { position: relative; display: inline-grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; background: #255bdd; border-radius: 10px; box-shadow: 0 4px 10px #2358d632; }
.brand-mark::before,.brand-mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.brand-mark::before { width: 16px; height: 5px; }
.brand-mark::after { width: 5px; height: 16px; }
.sidebar-role { font-size: .79rem; color: var(--muted); margin: 30px 9px 12px; }
.menu { display: grid; gap: 5px; }
.menu a { display: flex; gap: 11px; align-items: center; color: #415570; padding: 11px 10px; font-size: .91rem; font-weight: 570; border-radius: 10px; }
.menu a:hover { background: #f4f7fc; color: var(--blue); }
.menu a.selected { background: var(--soft-blue); color: var(--blue); font-weight: 700; }
.counter { margin-left: auto; border-radius: 20px; padding: 0 6px; min-width: 21px; font-size: .76rem; color: white; background: var(--blue); text-align: center; }
.sidebar-bottom { margin-top: auto; display: grid; padding: 16px 9px 0; gap: 12px; border-top: 1px solid var(--line); font-size: .86rem; }
.sidebar-bottom a,.text-button { color: var(--muted); }
.sidebar-bottom a:hover,.text-button:hover { color: var(--blue); }
.text-button { background: none; padding: 0; border: 0; }
.demo-label { font-size: .83rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.demo-label > span { width: 7px; height: 7px; background: #069981; border-radius: 50%; flex: 0 0 7px; }
.workspace { min-width: 0; }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 74px; padding: 0 max(30px, (100% - 1340px) / 2); background: #fff; border-bottom: 1px solid var(--line); }
.top-caption { color: var(--muted); font-size: .92rem; }
.top-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.top-bell { color: #4f6584; border-radius: 10px; padding: 8px; position: relative; display: grid; }
.top-bell:hover { background: var(--soft-blue); }
.top-bell i { width: 7px; height: 7px; border-radius: 50%; background: #2358d6; position: absolute; right: 7px; top: 6px; }
.top-divider { height: 29px; border-left: 1px solid var(--line); }
.profile-name { font-size: .86rem; font-weight: 650; }
.menu-toggle { display: none; background: #eef3fd; border: 0; border-radius: 8px; color: var(--blue); width: 38px; height: 38px; }
.menu-toggle span,.menu-toggle span::before,.menu-toggle span::after { width: 16px; height: 2px; background: currentColor; position: relative; display: block; margin: auto; border-radius: 1px; }
.menu-toggle span::before,.menu-toggle span::after { content: ""; position: absolute; top: -5px; }
.menu-toggle span::after { top: 5px; }
.content { max-width: 1400px; margin: 0 auto; padding: 34px 30px 55px; min-width: 0; }
.page-heading,.subheading,.section-heading,.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.page-heading { align-items: flex-end; margin-bottom: 24px; }
.page-heading p,.subheading p,.panel-head p { margin-top: 5px; }
.date-caption { display: flex; align-items: center; color: var(--muted); gap: 8px; font-size: .88rem; margin-bottom: 9px; }
.page-heading .button { flex-shrink: 0; }
.eyebrow { color: var(--blue); font-size: .72rem; font-weight: 750; letter-spacing: .105em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 9px; font-size: .9rem; font-weight: 670; line-height: 1.28; text-align: center; gap: 6px; }
.primary { background: var(--blue); color: #fff; box-shadow: 0 3px 8px #2358d627; }
.primary:hover { background: var(--blue-dark); color: #fff; }
.secondary { background: #fff; border-color: #dbe4f0; color: #284c81; }
.secondary:hover,.quiet:hover { background: #edf4ff; border-color: #e3edfb; }
.quiet { background: transparent; color: var(--blue); }
.danger { color: #9e293e; }
.white { background: #fff; color: #1744af; }
.white:hover { background: #edf4ff; }
.glass { border-color: #c5d9ff; color: #fff; background: #ffffff15; }
.glass:hover { background: #ffffff29; color: #fff; }
.small-button { min-height: 35px; padding: 6px 11px; font-size: .83rem; }
.stretch { width: 100%; }
.plus { font-size: 1.2em; line-height: 1; font-weight: 500; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.stat { display: grid; padding: 17px; gap: 4px; color: var(--ink); align-content: start; }
.stat:hover { border-color: #bdcff3; color: var(--ink); box-shadow: 0 4px 13px #2358d616; }
.stat > span:nth-child(2) { font-size: .88rem; color: #4c6080; font-weight: 600; margin-top: 9px; }
.stat strong { font-size: 2rem; font-weight: 730; line-height: 1.11; letter-spacing: -.04em; }
.stat small { color: var(--muted); font-size: .78rem; }
.stat-icon { width: 37px; height: 37px; min-width: 37px; display: inline-grid; place-items: center; border-radius: 10px; }
.tint-blue { color: #2358d6; background: #edf3ff; }
.tint-orange { color: #995321; background: #fff2e3; }
.tint-violet { color: #6942b4; background: #f2ecfd; }
.tint-teal { color: #087b70; background: #e5f7f4; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(245px, 1fr); gap: 18px; align-items: start; }
.dashboard-side { display: grid; gap: 14px; min-width: 0; }
.panel-head { padding: 17px 19px; }
.panel-head p { font-size: .86rem; }
.soft-chip { color: #274fbb; background: #edf3ff; padding: 3px 9px; font-size: .84rem; font-weight: 680; border-radius: 7px; white-space: nowrap; }
.filters { display: flex; gap: 9px; align-items: end; flex-wrap: wrap; }
.patients .filters { padding: 0 18px 14px; }
.search { display: flex; align-items: center; min-width: 150px; flex: 1 1 180px; gap: 8px; padding-left: 9px; color: var(--muted); border: 1px solid #dce4ef; border-radius: 8px; min-height: 42px; }
.search input { border: 0; min-width: 0; width: 100%; }
.search:focus-within { outline: 2px solid #6aa6ff; }
.search input:focus-visible { outline: 0; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { background: #f7f9fd; color: #596e8b; font-size: .79rem; font-weight: 660; }
td,th { padding: 11px 14px; white-space: nowrap; }
td:first-child,th:first-child { padding-left: 18px; }
td { font-size: .87rem; border-top: 1px solid #edf1f6; }
tr:hover td { background: #fbfcff; }
.panel-foot { padding: 12px 18px; font-size: .84rem; }
.person { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.person strong,.mini-row strong { font-size: .89rem; font-weight: 670; }
.person small,.mini-row small { display: block; color: var(--muted); font-size: .77rem; margin-top: 2px; }
.avatar { background: #eaf1ff; color: #2b58c7; width: 35px; height: 35px; display: inline-grid; flex: 0 0 35px; place-items: center; border-radius: 50%; font-size: 1rem; font-weight: 690; }
tr:nth-child(3n + 2) .avatar,.mini-row:nth-child(3n + 2) .avatar { background: #e5f6f2; color: #10796d; }
tr:nth-child(3n + 3) .avatar,.mini-row:nth-child(3n + 3) .avatar { background: #f2eafa; color: #6c4dad; }
.avatar.small { width: 31px; height: 31px; flex-basis: 31px; font-size: .84rem; }
.avatar.large { width: 62px; height: 62px; flex-basis: 62px; font-size: 1.65rem; margin-right: 5px; }
.badge { background: #edf1f6; color: #566780; border-radius: 18px; padding: 4px 9px; font-size: .77rem; font-weight: 640; line-height: 1.4; display: inline-flex; white-space: nowrap; }
.badge.active { background: #e4f7ee; color: #126b50; }
.badge.attention { background: #fff0df; color: #8f4c20; }
.row-link { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; font-size: 1.35rem; line-height: 1; color: #536987; }
.row-link:hover { background: var(--soft-blue); }
.mini-list { padding: 0 17px 8px; }
.mini-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #edf1f6; color: var(--ink); }
.mini-row:hover { color: var(--blue); }
.mini-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.date-tile { background: #edf3ff; color: #2c57bf; padding: 3px 7px; min-width: 37px; text-align: center; border-radius: 8px; display: grid; }
.date-tile small { color: #3f61a5; margin-top: 0; }
.empty { padding: 19px; color: var(--muted); font-size: .92rem; }
.mini-list .empty { padding: 5px 0 12px; }
.back-link { color: #415d91; font-weight: 600; font-size: .87rem; display: inline-block; margin-bottom: 12px; }
.chart-heading { align-items: center; margin-bottom: 15px; }
.chart-heading h1 { margin: 4px 0 8px; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; border-bottom: 1px solid #dbe4f0; margin: 0 0 22px; }
.tabs a { color: var(--muted); padding: 10px 12px; font-size: .88rem; border-bottom: 2px solid transparent; }
.tabs a[aria-current=page] { color: var(--blue); border-color: var(--blue); font-weight: 690; }
.subheading { margin-bottom: 13px; }
.stack-card { padding: 19px; overflow-wrap: anywhere; }
.stack-card .section-heading { margin-bottom: 12px; }
.stack-card > p + a,.stack-card > p + form { margin-top: 10px; display: inline-block; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.key-values { margin: 0; display: grid; gap: 0; }
.key-values > div { display: grid; grid-template-columns: minmax(105px, .85fr) minmax(0,1.15fr); gap: 10px; padding: 8px 0; border-top: 1px solid #edf1f6; }
.key-values dt { color: var(--muted); font-size: .86rem; }
.key-values dd { margin: 0; font-size: .91rem; overflow-wrap: anywhere; }
.record-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #edf1f6; padding: 12px 0; }
.record-line p { margin: 3px 0 0; }
.soft-note { background: #f1f7ff; border-radius: 8px; padding: 10px 12px; margin-top: 10px; color: #334e75; }
.treatment .actions { margin-top: 12px; }
.patient-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 27px 30px; color: #fff; background: linear-gradient(116deg,#1c49ba 5%,#245bd8 55%,#086f9f); border-radius: var(--radius); margin-bottom: 16px; box-shadow: 0 7px 19px #2358d626; }
.patient-hero .eyebrow { color: #dce9ff; }
.patient-hero h2 { color: #fff; font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 8px 0; }
.patient-hero p { color: #e9f0ff; }
.patient-hero .actions { margin-top: 17px; }
.hero-decoration { width: 135px; height: 135px; display: grid; place-items: center; margin-right: 12px; border: 1px solid #ffffff51; border-radius: 50%; color: #e4f0ff; background: #ffffff0d; }
.hero-decoration > span { scale: 4; }
.patient-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.score { font-size: 1.5rem; }
.narrow > h1 { margin-bottom: 8px; }
.form-panel { margin-top: 15px; padding: clamp(16px, 3vw, 26px); }
.field { display: grid; gap: 5px; margin: 0 0 14px; }
.field label { display: inline-block; color: #304681; font-size: .88rem; font-weight: 640; }
.field-check { grid-template-columns: min-content 1fr; gap: 8px; align-items: start; }
.field-check input { margin-top: 4px; }
.field-check .errorlist { grid-column: 1 / -1; }
input:not([type=checkbox]),select,textarea { padding: 9px 10px; border-radius: 8px; border: 1px solid #d7e0ee; background: #fff; color: var(--ink); max-width: 100%; font-size: .92rem; }
select { min-height: 41px; padding-right: 25px; }
textarea { resize: vertical; }
.help { font-size: .76rem; color: var(--muted); }
.help ul { margin: 5px 0; padding-left: 18px; }
.errorlist,.form-errors { color: #a3273c; font-size: .86rem; padding-left: 19px; margin: 1px 0; }
.form-errors { background: #fff0f2; padding: 8px; border-radius: 8px; margin-bottom: 12px; }
.flash-list { margin-bottom: 15px; display: grid; gap: 5px; }
.flash { border-radius: 8px; background: #e7f7f0; color: #155b49; padding: 9px 12px; }
.flash.error { background: #fff0f2; color: #a3273c; }
.chart-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; }
.pills { display: flex; gap: 4px; border-radius: 9px; padding: 4px; background: #f1f5fb; }
.pills a { padding: 6px 10px; border-radius: 6px; color: var(--muted); font-size: .85rem; }
.pills a.on { background: #fff; color: var(--blue); font-weight: 690; box-shadow: var(--shadow); }
.dates label { display: grid; gap: 3px; }
.dates label span { font-size: .77rem; color: var(--muted); }
.dates input,.dates select { padding: 6px 8px; min-height: 35px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 17px; }
.colored { display: flex; align-items: center; gap: 7px; font-size: .83rem; }
.colored::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color); }
.c-blue { --color: #2358d6; }.c-purple { --color: #7951b5; }.c-teal { --color: #0b8b7c; }.c-orange { --color: #b35b32; }
.canvas-wrap { width: 100%; min-width: 0; height: 224px; margin: 12px 0; }
.canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.compare { border: 1px solid var(--line); border-radius: 8px; }
.report-list { margin-top: 12px; }
.report + .report { border-top: 1px solid var(--line); }
.report summary { display: flex; justify-content: space-between; gap: 12px; padding: 13px 17px; align-items: center; cursor: pointer; }
.report summary small { display: block; color: var(--muted); }
.report[open] summary { background: #f8faff; }
.report-body { padding: 10px 17px 16px; }
.report-body .actions { margin-top: 12px; }
.chat { max-width: 900px; }
.chat .panel-head { border-bottom: 1px solid var(--line); }
.chat-pages { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 16px 0; font-size: .83rem; }
.chat-log { min-height: 220px; max-height: 450px; overflow: auto; display: flex; gap: 9px; flex-direction: column; padding: 16px; background: #f7f9fc; }
.bubble { background: #fff; padding: 9px 12px; border: 1px solid #e7edf7; border-radius: 12px 12px 12px 3px; align-self: flex-start; max-width: 84%; overflow-wrap: anywhere; }
.bubble.own { background: #e9f1ff; align-self: flex-end; border-radius: 12px 12px 3px 12px; }
.bubble p { white-space: pre-wrap; }
.bubble time { display: block; margin-top: 4px; font-size: .72rem; color: var(--muted); }
.attachment { margin-top: 5px; display: block; font-size: .88rem; text-decoration: underline; }
.chat-form { padding: 15px 17px; border-top: 1px solid var(--line); }
.chat-form textarea { min-height: 63px; }
.note-list { display: grid; gap: 11px; }
.note-list time,.timeline time { font-size: .8rem; color: var(--muted); }
.note-text { font-size: .96rem; }
.timeline { margin-top: 19px; }
.timeline-row { position: relative; display: grid; grid-template-columns: 15px minmax(0,1fr); gap: 10px; padding-bottom: 17px; }
.timeline-row:not(:last-child)::before { position: absolute; content: ""; width: 1px; background: #d9e4f5; top: 9px; bottom: -6px; left: 5px; }
.timeline-dot { display: block; width: 11px; height: 11px; border-radius: 50%; background: #386be2; margin-top: 6px; position: relative; }
.timeline-row h3 { margin: 3px 0; }
.timeline-row p { color: var(--muted); font-size: .89rem; }
.snapshot { margin-top: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; }
.snapshot summary { color: var(--blue); cursor: pointer; font-size: .86rem; }
.snapshot .two-cols { margin-top: 8px; }
.pagination { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: .86rem; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 17px; flex-wrap: wrap; }
.notice + .notice { border-top: 1px solid var(--line); }
.notice.unread { background: #f4f8ff; }
.notice:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.notice:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.notice-text { flex: 1; min-width: 120px; overflow-wrap: anywhere; }
.notice-text p,.notice-text small { color: var(--muted); font-size: .84rem; margin: 2px 0; }
.public { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at top left,#e5efff,#f5f8fd 55%); }
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); width: min(100%, 970px); min-height: 570px; border: 1px solid #e2ebf9; border-radius: 23px; overflow: hidden; box-shadow: 0 22px 70px #1735621b; background: #fff; }
.login-panel { padding: 30px clamp(25px, 6vw, 66px) 25px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.login-panel .brand { margin-left: -3px; }
.login-form h1 { margin: 6px 0 8px; }
.login-form form { margin: 20px 0 13px; }
.login-help { color: var(--muted); font-size: .87rem; }
.login-art { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 5%,#3b77ed,#265bd0 53%,#163d9d); color: #fff; display: flex; align-items: flex-end; padding: clamp(22px, 4vw, 45px); isolation: isolate; }
.art-orbit { width: 320px; aspect-ratio: 1; position: absolute; top: 3%; left: 15%; border-radius: 50%; border: 1px solid #e2efff60; z-index: -1; }
.orbit-two { scale: 1.31; border-color: #ddeaff3b; }
.art-cross { position: absolute; width: 123px; height: 123px; border-radius: 31px; top: 24%; left: calc(50% - 62px); display: grid; place-items: center; rotate: -12deg; background: #ffffff21; border: 1px solid #ffffff68; box-shadow: 0 21px 42px #091d6138; }
.art-cross span { position: absolute; display: block; width: 57px; height: 16px; border-radius: 5px; background: #e9f4ff; }
.art-cross span + span { rotate: 90deg; }
.art-caption p { font-size: clamp(1.7rem, 4vw, 2.65rem); font-weight: 720; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 12px; }
.art-caption span { color: #dce9ff; line-height: 1.5; display: block; max-width: 28ch; }
.public-card { background: #fff; width: min(100%, 490px); padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.public-card h1 { margin: 19px 0 6px; }
.terms { font-size: .9rem; background: #f2f7fe; color: #365277; padding: 11px 13px; border-radius: 8px; margin: 12px 0; }
.nav-icon { width: 17px; height: 17px; display: inline-block; position: relative; flex: 0 0 17px; font-size: 17px; color: inherit; }
.nav-icon::before,.nav-icon::after { content: ""; position: absolute; }
.i-home::before { width: 12px; height: 10px; border: 1.6px solid; bottom: 1px; left: 2px; border-top: 0; border-radius: 2px; }
.i-home::after { width: 9px; height: 9px; left: 4px; top: 2px; border-top: 1.6px solid; border-left: 1.6px solid; rotate: 45deg; border-radius: 1px; }
.i-people::before { width: 5px; height: 5px; left: 5px; top: 0; border: 1.5px solid; border-radius: 50%; }
.i-people::after { width: 13px; height: 6px; left: 1px; bottom: 0; border: 1.5px solid; border-radius: 7px 7px 2px 2px; }
.i-calendar::before { inset: 2px 0 1px; border: 1.6px solid; border-radius: 3px; }
.i-calendar::after { left: 2px; right: 2px; top: 7px; border-top: 1.5px solid; }
.i-therapy::before { inset: 1px 2px; border: 1.5px solid; border-radius: 3px; }
.i-therapy::after { content: "+"; inset: -4px 0 0; text-align: center; line-height: 22px; }
.i-pulse::before { content: "⌁"; width: 17px; height: 17px; top: -9px; left: 0; font-size: 23px; font-weight: 750; }
.i-chat::before { inset: 1px 0 3px; border: 1.6px solid; border-radius: 4px; }
.i-chat::after { width: 5px; height: 4px; bottom: 1px; left: 4px; rotate: -28deg; border-left: 1.5px solid; }
.i-history::before { inset: 0; border-radius: 50%; border: 1.5px solid; }
.i-history::after { width: 4px; height: 5px; border-left: 1.5px solid; border-bottom: 1.5px solid; top: 3px; left: 8px; }
.i-bell::before { left: 3px; top: 1px; width: 10px; height: 10px; border: 1.5px solid; border-radius: 8px 8px 3px 3px; }
.i-bell::after { border-bottom: 1.5px solid; border-radius: 50%; width: 5px; height: 3px; bottom: 0; left: 6px; }
.i-search::before { border: 1.5px solid; width: 8px; height: 8px; top: 1px; left: 1px; border-radius: 50%; }
.i-search::after { border-top: 1.5px solid; width: 6px; rotate: 45deg; top: 12px; left: 10px; }
.i-lock::before { inset: 7px 2px 1px; border: 1.5px solid; border-radius: 2px; }
.i-lock::after { top: 1px; left: 5px; width: 5px; height: 6px; border: 1.5px solid; border-bottom: 0; border-radius: 5px 5px 0 0; }
@media (max-width: 1110px) {
  .app { grid-template-columns: 206px minmax(0,1fr); }
  .sidebar { padding-inline: 13px; }
  .content { padding-inline: 20px; }
  .top-bar { padding-inline: 20px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; position: fixed; inset: 57px 0 auto; top: 57px; height: auto; max-height: calc(100dvh - 57px); overflow-y: auto; border-bottom: 1px solid var(--line); box-shadow: 0 13px 20px #17356224; padding: 13px 16px 18px; }
  .sidebar.open { display: flex; }.sidebar .brand { display: none; }.sidebar-role { margin: 4px 10px 6px; }
  .sidebar-bottom { margin-top: 10px; }
  .menu-toggle { display: block; flex: 0 0 38px; }
  .top-bar { min-height: 57px; padding-inline: 14px; }
  .content { padding: 22px 15px 38px; }
  .profile-name { display: none; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
}
@media (max-width: 550px) {
  .page-heading,.subheading { align-items: start; flex-direction: column; }
  .chart-heading .person { align-items: start; }
  .chart-heading .avatar { width: 47px; height: 47px; flex-basis: 47px; }
  .dashboard-side,.patient-grid,.two-cols { grid-template-columns: 1fr; }
  .stack-card,.panel-head { padding-inline: 14px; }
  .patient-hero { grid-template-columns: 1fr; padding: 20px 16px; }
  .hero-decoration { display: none; }
  .profile-name,.top-divider { display: none; }
  .record-line { align-items: flex-start; flex-direction: column; }
  .tabs a { padding: 8px 9px; }
  .public { padding: 12px; }
  .login-shell { grid-template-columns: 1fr; min-height: auto; }
  .login-panel { padding: 22px 18px; }
  .login-art { display: none; }
  .public-card { padding: 17px; }
  .notice > .actions { width: 100%; }
}
