:root{font-family:'Heebo',Arial,sans-serif;color:#26344d;background:#f6f8fc;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#26344d;--muted:#8a95a8;--line:#e9edf4;--blue:#4d78ed;--pale:#f3f6ff}*{box-sizing:border-box}body{margin:0;min-width:360px;background:#f6f8fc}.app-shell{min-height:100vh}.sidebar{width:238px;position:fixed;inset:0 0 0 auto;background:#fff;border-left:1px solid #edf0f5;padding:29px 19px 19px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:800;letter-spacing:-.6px;color:#26344d;text-decoration:none;padding:0 7px}.brand-dot{color:#5c81ef}.brand-mark{width:37px;height:37px;border-radius:12px;background:#edf2ff;display:grid;place-items:center}.brand-mark svg{width:26px;fill:none;stroke:#5378e6;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.nav-label{font-size:11px;color:#a1aaba;font-weight:600;margin:48px 10px 12px}.main-nav{display:grid;gap:5px}.nav-item{height:45px;display:flex;align-items:center;gap:12px;padding:0 12px;border:0;background:transparent;text-align:right;font:500 14px inherit;color:#7e899d;border-radius:9px;text-decoration:none;cursor:pointer}.nav-item.active{background:#f0f4ff;color:#4b72df;font-weight:700}.nav-icon{width:20px;text-align:center;font-size:19px;line-height:1}.sidebar-bottom{margin-top:auto;background:#f4f7ff;border-radius:13px;padding:17px 16px 21px;position:relative;overflow:hidden}.side-heart{font-size:21px;color:#6f8beb}.sidebar-bottom p{font-size:13px;line-height:1.7;color:#53627b;margin:6px 0}.sidebar-bottom>span{font-size:10px;color:#8d9ab1}.side-wave{position:absolute;bottom:-20px;left:-10px;width:135px;height:35px;border:1px solid #d8e1fc;border-radius:50%;transform:rotate(-9deg)}.sidebar-foot{padding:17px 4px 0;color:#97a1b1;font-size:10px;display:flex;align-items:center;gap:8px}.pulse-dot{height:7px;width:7px;border-radius:50%;background:#57c7a3}.main-content{margin-right:238px;min-height:100vh}.topbar{height:67px;border-bottom:1px solid #e9edf3;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#98a2b1}.breadcrumb span{padding:0 9px;color:#c2c9d3}.breadcrumb strong{font-weight:600;color:#4d5b72}.top-actions{display:flex;align-items:center;gap:14px}.today-label{font-size:12px;color:#8390a3}.avatar{width:30px;height:30px;background:#eef2ff;border-radius:50%;display:grid;place-items:center;color:#5878d8;font-weight:700;font-size:13px}.content-wrap{max-width:1380px;margin:auto;padding:28px 38px 25px}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow,.section-kicker{font-size:11px;font-weight:600;color:#8a97ac;letter-spacing:.15px}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow-line{width:17px;height:2px;background:#7390eb;border-radius:4px}.welcome-row h1{font-size:26px;line-height:1.2;margin:8px 0 5px;font-weight:700;letter-spacing:-.5px}.welcome-row h1 span{color:#5478e6}.subheading{margin:0;color:#8c98aa;font-size:13px}.primary-btn{background:#5279e9;color:#fff;border:0;border-radius:8px;padding:11px 17px;font:600 13px 'Heebo',sans-serif;box-shadow:0 5px 12px #5279e92a;cursor:pointer;transition:.15s}.primary-btn:hover{background:#4168d6;transform:translateY(-1px)}.plus{font-size:16px;vertical-align:-1px;margin-left:4px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:17px}.stat-card,.chart-card,.insight-card,.recent-card{background:#fff;border:1px solid #edf0f5;border-radius:12px;box-shadow:0 3px 12px #27395405}.stat-card{padding:16px 18px 13px;min-height:125px}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-title{font-size:12px;color:#8290a4;font-weight:500}.stat-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:15px}.stat-icon.blue{background:#eef3ff;color:#6382e7}.stat-icon.mint{background:#eaf9f3;color:#48b68e}.stat-icon.lavender{background:#f3efff;color:#8970d7}.reading{display:flex;align-items:baseline;gap:5px;margin:9px 0 6px;color:#2e3b52}.reading strong{font-size:27px;line-height:1;font-weight:700;letter-spacing:-1px}.reading i{font-style:normal;color:#bac3d0;font-size:18px}.reading>span{font-size:11px;color:#9ba5b4;margin-right:1px}.stat-bottom{display:flex;align-items:center;gap:9px;color:#99a3b3;font-size:10px}.status-pill{font-size:10px;border-radius:20px;padding:3px 9px}.status-pill.good{background:#eaf8f1;color:#32916d}.status-pill.elevated{background:#fff6e7;color:#c4892b}.status-pill.high{background:#fff0ed;color:#ca6757}.status-pill.neutral{background:#f1f3f7;color:#8994a5}.muted-text{color:#a1aaba}.count-reading{display:flex;align-items:baseline;gap:8px;margin:8px 0 8px}.count-reading strong{font-size:29px;line-height:1;color:#2e3b52}.count-reading span{font-size:12px;color:#96a1b1}.chart-card{padding:19px 21px 12px;margin-bottom:16px}.section-head{display:flex;justify-content:space-between;align-items:flex-start}.section-head h2,.recent-head h2,.insight-heading h2{font-size:16px;margin:3px 0 1px;color:#303e55}.section-head p{font-size:11px;color:#9aa5b5;margin:0}.chart-controls{display:flex;align-items:center;gap:22px;margin-top:7px}.legend{display:flex;gap:14px}.legend span{display:flex;align-items:center;gap:6px;font-size:10px;color:#8591a4}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.systolic{background:#5d80ea}.legend-dot.diastolic{background:#4fc2a1}.chart-controls select{border:1px solid #e7ebf2;border-radius:6px;padding:6px 22px 6px 8px;background:white;color:#768398;font:11px 'Heebo',sans-serif}.chart-wrap{display:flex;gap:13px;height:162px;margin:13px 5px 0 0}.y-labels{width:24px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:0 0 17px;font-size:9px;color:#a5afbd}.chart-area{position:relative;flex:1;margin-bottom:17px}.grid-lines{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{display:block;border-top:1px dashed #edf0f5}.chart-area svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.chart-labels{position:absolute;top:calc(100% + 5px);inset-inline:0;display:flex;justify-content:space-between;color:#a0aaba;font-size:9px}.chart-empty{display:none;text-align:center;padding:34px;color:#a1aaba;font-size:12px}.lower-grid{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(460px,1.6fr);gap:16px}.insight-card,.recent-card{padding:17px 19px;min-height:186px}.insight-heading{display:flex;align-items:center;gap:10px}.insight-icon{width:32px;height:32px;border-radius:10px;background:#f3f0ff;color:#8a75df;display:grid;place-items:center;font-size:17px}.insight-heading h2{margin:1px 0 0}.insight-content{padding-top:12px}.empty-insight{display:flex;align-items:center;gap:9px;color:#a0aaba;font-size:11px}.empty-insight span{color:#b4a8eb;font-size:20px}.empty-insight p{margin:0}.insight-item{display:flex;align-items:flex-start;gap:9px;padding:7px 0;color:#64728a;font-size:11px;line-height:1.55}.insight-bullet{width:19px;height:19px;flex:0 0 19px;border-radius:6px;background:#eff3ff;color:#6381e2;display:grid;place-items:center;font-size:10px}.insight-note{margin-top:9px;border-top:1px solid #f0f2f6;padding-top:9px;color:#b0b8c4;font-size:9px}.recent-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.text-btn{border:0;background:transparent;color:#6482df;font:500 10px 'Heebo',sans-serif;cursor:pointer}.text-btn span{font-size:14px;margin-right:4px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th{font-size:9px;font-weight:500;color:#a2acba;padding:0 5px 7px;border-bottom:1px solid #f0f2f6}td{font-size:10px;color:#68768a;padding:8px 5px;border-bottom:1px solid #f4f5f8}tbody tr:last-child td{border:0}.table-reading{font-weight:700;color:#394760}.table-reading small{font-weight:400;color:#a5aebb}.table-status{font-size:9px;padding:2px 7px;border-radius:14px}.row-actions{display:flex;gap:3px}.icon-btn{border:0;background:transparent;color:#a0aabb;cursor:pointer;padding:3px 5px;font-size:13px;border-radius:5px}.icon-btn:hover{background:#f1f4fb;color:#5279e9}.table-empty{text-align:center;padding:20px 0;color:#a5adbb;font-size:10px}.disclaimer{margin-top:16px;display:flex;align-items:center;gap:7px;color:#9ba5b5;font-size:10px}.disclaimer span{font-size:14px;color:#9eacc4}dialog{width:min(480px,calc(100% - 30px));border:1px solid #e8ecf3;border-radius:15px;padding:0;box-shadow:0 24px 80px #1b2a4433;color:var(--ink)}dialog::backdrop{background:#17233d66;backdrop-filter:blur(2px)}#reading-form{padding:23px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:19px}.modal-head h2{font-size:20px;margin:4px 0}.close-btn{border:0;background:#f4f6fa;border-radius:8px;width:30px;height:30px;color:#758198;font-size:21px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:12px;font-weight:600;color:#526078;display:flex;flex-direction:column;gap:6px}.form-grid .unit{font-size:10px;font-weight:400;color:#a0aaba;margin-right:4px}.form-grid input,.form-grid textarea{width:100%;border:1px solid #e4e9f1;border-radius:7px;padding:10px 11px;color:#344259;background:#fff;font:13px 'Heebo',sans-serif;outline:none}.form-grid input:focus,.form-grid textarea:focus{border-color:#7f9aef;box-shadow:0 0 0 3px #edf2ff}.full-width{grid-column:1/-1}.form-grid textarea{resize:vertical}.modal-actions{display:flex;gap:12px;align-items:center;margin-top:20px}.modal-actions .primary-btn{padding:10px 20px}.cancel-btn{border:0;background:transparent;color:#8b96a7;font:12px 'Heebo',sans-serif;cursor:pointer}.form-error{color:#c95d4c;font-size:11px;margin-top:9px;min-height:14px}.toast{position:fixed;bottom:22px;left:24px;background:#273750;color:white;padding:10px 16px;border-radius:9px;box-shadow:0 8px 24px #14203930;font-size:12px;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;z-index:5}.toast.show{opacity:1;transform:translateY(0)}
.welcome-actions{display:flex;align-items:center;gap:8px}.secondary-btn{background:#fff;border:1px solid #e4e9f2;color:#66748a;border-radius:8px;padding:10px 12px;font:500 12px 'Heebo',sans-serif;cursor:pointer}.secondary-btn:hover{border-color:#aabaf0;color:#4e72dc}@media(max-width:1050px){.sidebar{width:205px;padding-inline:14px}.main-content{margin-right:205px}.content-wrap{padding:24px 24px}.topbar{padding:0 24px}.lower-grid{grid-template-columns:1fr}.insight-card{min-height:145px}.recent-card{min-height:180px}}
@media(max-width:700px){body{min-width:360px}.sidebar{width:58px;padding:18px 7px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav-label,.nav-item:not(.active),.nav-item.active{font-size:0}.main-nav{margin-top:38px}.nav-item{justify-content:center;padding:0;height:43px}.nav-icon{font-size:20px}.sidebar-bottom,.sidebar-foot{display:none}.main-content{margin-right:58px}.topbar{height:56px;padding:0 14px}.content-wrap{padding:21px 14px}.today-label{display:none}.welcome-row{align-items:flex-start;gap:9px}.welcome-row h1{font-size:21px}.subheading{font-size:11px;max-width:220px}.welcome-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px}.secondary-btn{padding:8px;font-size:10px}.welcome-row .primary-btn{padding:9px 10px;font-size:11px;white-space:nowrap;margin-top:23px}.stats-grid{grid-template-columns:1fr;gap:9px}.stat-card{min-height:101px;padding:12px 15px}.reading{margin:6px 0}.chart-card{padding:15px 12px 10px}.section-head{gap:8px}.chart-controls{flex-direction:column-reverse;align-items:flex-end;gap:7px}.chart-wrap{height:145px}.lower-grid{gap:10px}.recent-card,.insight-card{padding:14px 12px}.recent-head h2,.insight-heading h2,.section-head h2{font-size:14px}.text-btn{font-size:9px}.disclaimer{font-size:9px;align-items:flex-start}}

:root{--surface:#fff;--chart-grid:#edf0f5;--chart-text:#9aa5b5}
.theme-toggle{display:flex;align-items:center;gap:7px;border:1px solid #e7ebf2;background:#fff;color:#68768b;border-radius:8px;padding:6px 10px;font:500 11px 'Heebo',sans-serif;cursor:pointer}.theme-toggle:hover{border-color:#aabaf0;color:#4e72dc}.theme-toggle span:first-child{font-size:16px;line-height:1}.top-actions{gap:11px}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.mini-chart-card{min-width:0;padding:17px 18px 10px}.mini-chart-card .section-head{align-items:center}.mini-chart-card .legend{gap:9px}.mini-chart-card .legend span,.pulse-chart-key{font-size:10px;color:#8591a4}.mini-chart-wrap{height:194px;margin-top:8px}.mini-chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-axis-line{stroke:var(--chart-grid);stroke-dasharray:4 5;stroke-width:1}.chart-axis-text{fill:var(--chart-text);font:10px 'Heebo',sans-serif}.pulse-chart-key{display:flex;align-items:center;gap:6px}.legend-dot.pulse-series{background:#8c76dc}
body[data-theme="dark"]{--ink:#e4eaf4;--muted:#9ba9bd;--line:#2d3a4f;--surface:#182335;--chart-grid:#344158;--chart-text:#a4b0c2;background:#101724;color:#e4eaf4;color-scheme:dark}
body[data-theme="dark"] .sidebar,body[data-theme="dark"] .topbar,body[data-theme="dark"] .stat-card,body[data-theme="dark"] .chart-card,body[data-theme="dark"] .insight-card,body[data-theme="dark"] .recent-card{background:#182335;border-color:#29364b;box-shadow:0 3px 12px #00000014}
body[data-theme="dark"] .sidebar{border-left-color:#29364b}body[data-theme="dark"] .main-content{background:#101724}body[data-theme="dark"] .brand,body[data-theme="dark"] .welcome-row h1,body[data-theme="dark"] .section-head h2,body[data-theme="dark"] .recent-head h2,body[data-theme="dark"] .insight-heading h2,body[data-theme="dark"] .reading,body[data-theme="dark"] .count-reading strong{color:#e4eaf4}
body[data-theme="dark"] .nav-item{color:#a5b1c4}body[data-theme="dark"] .nav-item.active{background:#26334b;color:#a9bbff}body[data-theme="dark"] .sidebar-bottom{background:#202d42}body[data-theme="dark"] .sidebar-bottom p{color:#c2ccda}body[data-theme="dark"] .side-wave{border-color:#34445f}
body[data-theme="dark"] .breadcrumb,body[data-theme="dark"] .today-label,body[data-theme="dark"] .subheading,body[data-theme="dark"] .section-head p,body[data-theme="dark"] .stat-title,body[data-theme="dark"] .stat-bottom,body[data-theme="dark"] .legend span,body[data-theme="dark"] .pulse-chart-key,body[data-theme="dark"] .disclaimer,body[data-theme="dark"] .insight-item,body[data-theme="dark"] .empty-insight,body[data-theme="dark"] .chart-empty{color:#a5b1c4}
body[data-theme="dark"] .theme-toggle,body[data-theme="dark"] .secondary-btn,body[data-theme="dark"] .chart-controls select{background:#202d42;border-color:#344158;color:#d5deeb}body[data-theme="dark"] .avatar{background:#293752;color:#b9c8ff}
body[data-theme="dark"] .grid-lines i{border-color:#344158}body[data-theme="dark"] th{color:#a0aec2;border-color:#344158}body[data-theme="dark"] td{color:#c2ccda;border-color:#2c394e}body[data-theme="dark"] .table-reading{color:#edf2f9}body[data-theme="dark"] .icon-btn{color:#a5b1c4}body[data-theme="dark"] .table-status.good{background:#173c35;color:#72d4b3}body[data-theme="dark"] .table-status.elevated{background:#453820;color:#e8c077}body[data-theme="dark"] .table-status.high{background:#482d32;color:#f09b8d}
body[data-theme="dark"] dialog{background:#182335;color:#e4eaf4;border-color:#344158}body[data-theme="dark"] .form-grid label{color:#c4cede}body[data-theme="dark"] .form-grid input,body[data-theme="dark"] .form-grid textarea{background:#101a29;color:#e4eaf4;border-color:#344158}body[data-theme="dark"] .close-btn{background:#26334a;color:#d4deed}body[data-theme="dark"] .cancel-btn{color:#a5b1c4}
@media(max-width:900px){.analytics-grid{grid-template-columns:1fr}.mini-chart-card{min-height:240px}}
@media(max-width:700px){.theme-toggle{padding:6px 7px}.theme-toggle span:last-child{display:none}.analytics-grid{gap:10px}.mini-chart-card{padding:14px 11px}.mini-chart-wrap{height:170px}.mini-chart-card .section-head{gap:5px}.mini-chart-card .legend{gap:6px}.mini-chart-card .legend span{font-size:9px}}
.reading{direction:rtl;justify-content:flex-start}.reading-values{direction:ltr;unicode-bidi:isolate;display:inline-flex;align-items:baseline;gap:5px}.reading-unit{direction:rtl;unicode-bidi:isolate}.table-reading{direction:rtl;text-align:right}.table-reading>span{direction:ltr;unicode-bidi:isolate;display:inline-block}

.calendar-card{margin:0 0 16px;padding:20px}.calendar-header{display:flex;justify-content:space-between;align-items:center;gap:14px}.calendar-header h2{font-size:17px;margin:3px 0;color:#303e55}.calendar-header p{font-size:11px;color:#9aa5b5;margin:0}.calendar-controls{display:flex;align-items:center;gap:6px}.calendar-arrow,.calendar-today{height:31px;border:1px solid #e6eaf1;background:#fff;color:#65738a;border-radius:7px;font:500 12px 'Heebo',sans-serif;cursor:pointer}.calendar-arrow{width:31px;font-size:21px;line-height:1}.calendar-today{padding:0 12px}.calendar-arrow:hover,.calendar-today:hover{border-color:#9cb0ef;color:#4d72df}.calendar-month-title{text-align:center;font-size:14px;font-weight:700;color:#46546c;margin:12px 0 9px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;direction:rtl}.calendar-weekdays{margin-bottom:6px}.calendar-weekdays span{text-align:center;color:#98a3b3;font-size:10px;padding:4px}.calendar-day{position:relative;min-width:0;min-height:72px;border:1px solid #edf0f5;border-radius:8px;background:#fff;color:#46546b;text-align:right;padding:7px 8px;font:500 12px 'Heebo',sans-serif;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.calendar-day:hover{border-color:#9eb1ef;background:#f8faff}.calendar-day.outside-month{color:#bcc4d0;background:#fafbfc}.calendar-day.today .calendar-day-number{color:#5279e9;font-weight:800}.calendar-day.selected{border-color:#6484eb;box-shadow:inset 0 0 0 1px #6484eb;background:#f3f6ff}.calendar-day.has-readings{background:#f9fbff}.calendar-count{position:absolute;top:6px;left:7px;min-width:17px;height:17px;border-radius:20px;background:#eaf0ff;color:#5477dd;text-align:center;line-height:17px;font-size:9px}.calendar-average{font-size:10px;font-weight:700;color:#586a86;white-space:nowrap}.calendar-details{margin-top:14px;border-top:1px solid #edf0f5;padding-top:11px}.calendar-details h3{font-size:13px;margin:0 0 6px;color:#45536a}.calendar-hint{margin:0;color:#9aa5b5;font-size:11px}.calendar-measurement{display:flex;align-items:center;gap:14px;padding:8px 2px;border-bottom:1px solid #f0f2f6;font-size:11px;color:#637189}.calendar-measurement:last-child{border-bottom:0}.calendar-time{font-weight:700;color:#4f5e75}.calendar-reading{font-weight:700;color:#34435b}.calendar-pulse{color:#8b97a9}.calendar-measurement .row-actions{margin-inline-start:auto}
body[data-theme="dark"] .calendar-header h2,body[data-theme="dark"] .calendar-month-title,body[data-theme="dark"] .calendar-details h3,body[data-theme="dark"] .calendar-time,body[data-theme="dark"] .calendar-reading{color:#e2e9f4}body[data-theme="dark"] .calendar-header p,body[data-theme="dark"] .calendar-weekdays span,body[data-theme="dark"] .calendar-hint,body[data-theme="dark"] .calendar-measurement{color:#a5b1c4}body[data-theme="dark"] .calendar-arrow,body[data-theme="dark"] .calendar-today{background:#202d42;border-color:#344158;color:#d5deeb}body[data-theme="dark"] .calendar-day{background:#182335;border-color:#344158;color:#d5deeb}body[data-theme="dark"] .calendar-day.outside-month{background:#141e2d;color:#75839a}body[data-theme="dark"] .calendar-day.has-readings{background:#1d2c43}body[data-theme="dark"] .calendar-day.selected{background:#263653;border-color:#7894ee}body[data-theme="dark"] .calendar-count{background:#34456c;color:#c2d0ff}body[data-theme="dark"] .calendar-details{border-color:#344158}body[data-theme="dark"] .calendar-measurement{border-color:#2c394e}
@media(max-width:700px){.calendar-card{padding:13px 10px}.calendar-weekdays,.calendar-grid{gap:3px}.calendar-day{min-height:55px;padding:5px 4px;font-size:10px}.calendar-count{top:4px;left:3px;min-width:15px;height:15px;line-height:15px;font-size:8px}.calendar-average{font-size:8px}.calendar-measurement{gap:8px;flex-wrap:wrap}.calendar-measurement .row-actions{margin-inline-start:auto}}
.calendar-day.no-readings:not(.outside-month):not(.selected){background:#fff2ef;border-color:#f3ddd8}.calendar-day.no-readings.outside-month:not(.selected){background:#fff8f6;border-color:#f7ece9}.calendar-day.no-readings:hover{background:#ffeae6}.calendar-pulse-average{font-size:9px;font-weight:600;color:#4ba98f;white-space:nowrap}.calendar-day.selected.no-readings{background:#f3f6ff}
body[data-theme="dark"] .calendar-day.no-readings:not(.selected){background:#30252b;border-color:#4c3a42}body[data-theme="dark"] .calendar-day.no-readings:hover{background:#3c2c34}body[data-theme="dark"] .calendar-day.selected.no-readings{background:#263653}body[data-theme="dark"] .calendar-pulse-average{color:#72d4b3}
@media(max-width:700px){.calendar-day{min-height:67px}.calendar-average,.calendar-pulse-average{font-size:8px}}

.language-toggle{min-width:38px;height:31px;border:1px solid #e7ebf2;background:#fff;color:#5274db;border-radius:8px;padding:0 9px;font:700 11px 'Heebo',sans-serif;cursor:pointer}.language-toggle:hover{border-color:#aabaf0;background:#f7f9ff}body[data-theme="dark"] .language-toggle{background:#202d42;border-color:#344158;color:#c3d0ff}
body[data-lang="en"] .sidebar{inset:0 auto 0 0;border-left:0;border-right:1px solid #edf0f5}body[data-theme="dark"][data-lang="en"] .sidebar{border-right-color:#29364b}body[data-lang="en"] .main-content{margin-right:0;margin-left:238px}body[data-lang="en"] .topbar,body[data-lang="en"] .content-wrap{direction:ltr}body[data-lang="en"] .breadcrumb,body[data-lang="en"] .nav-item,body[data-lang="en"] table{text-align:left}body[data-lang="en"] .nav-item{justify-content:flex-start}body[data-lang="en"] .calendar-weekdays,body[data-lang="en"] .calendar-grid{direction:ltr}body[data-lang="en"] .reading{direction:ltr;justify-content:flex-start}body[data-lang="en"] .table-reading{direction:ltr;text-align:left}body[data-lang="en"] .table-reading>span{direction:ltr}body[data-lang="en"] .calendar-day{text-align:left;align-items:flex-start}body[data-lang="en"] .calendar-count{left:auto;right:7px}body[data-lang="en"] .stat-bottom,body[data-lang="en"] .insight-item{direction:ltr}
body[data-lang="en"] .row-actions{direction:ltr}
@media(max-width:1050px){body[data-lang="en"] .main-content{margin-left:205px;margin-right:0}}
@media(max-width:700px){body[data-lang="en"] .sidebar{inset:0 auto 0 0}body[data-lang="en"] .main-content{margin-left:58px;margin-right:0}body[data-lang="en"] .calendar-count{right:3px}}
.measurement-checklist{margin:-4px 0 15px;padding:10px 12px;border:1px solid #e8edf5;border-radius:8px;background:#fafbfe;color:#65738a;font-size:11px}.measurement-checklist summary{cursor:pointer;color:#566681;font-weight:600}.measurement-checklist ul{margin:8px 0 0;padding-inline-start:20px;line-height:1.8}.form-grid select{width:100%;border:1px solid #e4e9f1;border-radius:7px;padding:10px 11px;color:#344259;background:#fff;font:13px 'Heebo',sans-serif;outline:none}.form-grid select:focus{border-color:#7f9aef;box-shadow:0 0 0 3px #edf2ff}.reading-meta{display:block;margin-top:3px;max-width:175px;overflow:hidden;text-overflow:ellipsis;color:#98a4b5;font-weight:400}.calendar-context{color:#8b97a9;font-size:10px}.toast{display:flex;align-items:center;gap:12px}.toast button{border:1px solid #7384aa;background:#354766;color:#fff;border-radius:6px;padding:5px 8px;font:500 11px 'Heebo',sans-serif;cursor:pointer;white-space:nowrap}.toast button:hover{background:#415778}.import-dialog-body{padding:22px}.import-dialog-body>p{font-size:12px;line-height:1.6;color:#66758a}.import-preview-list{max-height:230px;overflow:auto;border:1px solid #edf0f5;border-radius:8px;padding:5px 11px}.import-preview-row{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:10px;align-items:center;padding:8px 2px;border-bottom:1px solid #f0f2f6;font-size:11px;color:#58677e}.import-preview-row:last-of-type{border-bottom:0}.import-preview-row span:nth-child(2){font-weight:700}.modal-actions button:disabled{opacity:.5;cursor:not-allowed}
body[data-theme="dark"] .measurement-checklist{background:#202d42;border-color:#344158;color:#b5c1d2}body[data-theme="dark"] .measurement-checklist summary{color:#d5deeb}body[data-theme="dark"] .form-grid select{background:#101a29;color:#e4eaf4;border-color:#344158}body[data-theme="dark"] .reading-meta,body[data-theme="dark"] .calendar-context{color:#9caac0}body[data-theme="dark"] .import-dialog-body>p{color:#b5c1d2}body[data-theme="dark"] .import-preview-list{border-color:#344158}body[data-theme="dark"] .import-preview-row{color:#d0d9e6;border-color:#344158}
@media(max-width:700px){.import-dialog-body{padding:17px}.import-preview-row{grid-template-columns:1fr 1fr}.import-preview-row span:last-child{grid-column:2}.calendar-context{width:100%}}
.measurement-checklist ul{list-style:none;padding-inline-start:0}.measurement-checklist li{display:flex;align-items:flex-start;gap:8px;margin:5px 0}.measurement-checklist li input{margin:3px 0 0;accent-color:#5279e9}.measurement-checklist li span{flex:1}

.more-details{margin-top:16px;border-top:1px solid #edf0f5;padding-top:11px}.more-details>summary{cursor:pointer;color:#65758e;font-size:12px;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px}.more-details>summary::-webkit-details-marker{display:none}.more-details>summary::before{content:'＋';display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#f0f4ff;color:#5b7be0;font-size:13px}.more-details[open]>summary::before{content:'−'}.more-form-grid{margin-top:13px}body[data-theme="dark"] .more-details{border-color:#344158}body[data-theme="dark"] .more-details>summary{color:#c3cede}body[data-theme="dark"] .more-details>summary::before{background:#263653;color:#bdcaff}
.field-label{display:block}.form-grid .unit{display:inline;font-weight:400;white-space:nowrap}
