/* v80: My EUTECNIQ */
.me { min-width: 0; max-width: 100%; }
.me-tabs { max-width: 100%; }
.me-line { max-width: 900px; }
.me { --p0: #0072B2; --p1: #C77700; --p2: #008F68; --p3: #B4528C; --p4: #3A93C9; --p5: #C4501B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .me { --p0: #5AB0F0; --p1: #F5B841; --p2: #2BD4A4; --p3: #E59AC8; --p4: #8CCFF2; --p5: #FF8A4C; } }
:root[data-theme="dark"] .me { --p0: #5AB0F0; --p1: #F5B841; --p2: #2BD4A4; --p3: #E59AC8; --p4: #8CCFF2; --p5: #FF8A4C; }
.me .p0 { --c: var(--p0); } .me .p1 { --c: var(--p1); } .me .p2 { --c: var(--p2); } .me .p3 { --c: var(--p3); } .me .p4 { --c: var(--p4); } .me .p5 { --c: var(--p5); }
.me h3 { font-size: 1.12rem; margin: 0 0 6px; }
.me h4 { font-size: 1rem; margin: 14px 0 6px; }
.me-note { font-size: .86rem; color: var(--u-muted, var(--muted)); margin: 6px 0 10px; max-width: 80ch; }
.me-strip { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.me-strip li { border: 1px solid var(--u-rule, var(--rule)); border-radius: 10px; background: var(--u-bg, var(--bg)); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.me-strip b { font-size: 1.15rem; color: var(--u-ink, var(--ink)); }
.me-strip span { font-size: .82rem; color: var(--u-muted, var(--muted)); }
.me-strip li.fl { padding-left: 46px; }
.me-strip li.fl svg { position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; }
.me-strip li.fl path { fill: var(--u-gold, #B26B00); stroke: var(--u-ink, #0B1724); stroke-width: 1.5; stroke-linejoin: round; }
.me-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--u-rule, var(--rule)); margin: 0 0 16px; scrollbar-width: thin; }
.me-tabs button { font: inherit; font-size: .95rem; font-weight: 600; white-space: nowrap; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--u-ink-2, var(--ink-2)); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.me-tabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.me-tabs button[aria-selected="true"] { color: var(--u-ink, var(--ink)); border-bottom-color: var(--u-acc, #00787A); }
.me-tabs button:focus-visible { outline: 3px solid var(--u-acc, #00787A); outline-offset: -3px; }
.me-p { min-height: 200px; }
.me-card { border: 1px solid var(--u-rule, var(--rule)); border-radius: 12px; background: var(--u-bg, var(--bg)); padding: 16px 18px; margin-bottom: 14px; min-width: 0; }
.me-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.me-empty { border: 2px dashed var(--u-rule, var(--rule)); border-radius: 12px; padding: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.me-empty p { margin: 0; max-width: 60ch; }
.me .btn.primary { background: var(--u-acc, #00787A); color: var(--u-on-fill, #fff); border-color: transparent; }
/* today */
.me-dayh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.me-dayh b { font-size: 1.2rem; min-width: 12ch; text-align: center; }
.me-nav { font: inherit; font-size: 1.3rem; line-height: 1; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--u-rule, var(--rule)); background: var(--u-bg, var(--bg)); color: var(--u-ink, var(--ink)); cursor: pointer; }
.me-nav[disabled] { opacity: .35; cursor: default; }
.me-tg { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.me-ring { position: relative; width: 150px; height: 150px; }
.me-ring svg { width: 150px; height: 150px; }
.me-ring .tr { fill: none; stroke: var(--u-surface-2, #E2F0EF); stroke-width: 12; }
.me-ring .va { fill: none; stroke: var(--u-acc, #00787A); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.me-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.me-ring b { font-size: 1.7rem; line-height: 1; color: var(--u-ink, var(--ink)); }
.me-ring span { font-size: .82rem; color: var(--u-muted, var(--muted)); }
.me-chk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.me-chk li { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 10px; align-items: center; }
.me-tk { font: inherit; text-align: left; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 30px; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--u-rule, var(--rule)); background: var(--u-bg, var(--bg)); color: var(--u-ink, var(--ink)); cursor: pointer; transition: border-color .15s, background .15s; }
.me-tk .sw, .me .sw { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; }
.me-tk .nm { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.me-tk .sv { font-size: .82rem; color: var(--u-muted, var(--muted)); }
.me-tk .ck { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--u-rule, var(--rule)); padding: 3px; box-sizing: border-box; }
.me-tk .ck path { fill: none; stroke: transparent; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.me-chk li.on .me-tk { border-color: var(--u-acc, #00787A); background: var(--u-acc-wash, #DDF4F2); }
.me-chk li.on .ck { background: var(--u-acc, #00787A); border-color: var(--u-acc, #00787A); }
.me-chk li.on .ck path { stroke: var(--u-on-fill, #fff); }
.me-tk:focus-visible { outline: 3px solid var(--u-acc, #00787A); outline-offset: 2px; }
.me-sv { display: flex; flex-direction: column; font-size: .76rem; color: var(--u-muted, var(--muted)); gap: 2px; }
.me input, .me select, .me textarea { font: inherit; font-size: .95rem; padding: 7px 9px; border-radius: 6px; border: 1px solid var(--u-rule, var(--rule)); background: var(--u-bg, var(--bg)); color: var(--u-ink, var(--ink)); min-width: 0; box-sizing: border-box; }
.me-sv input { width: 100%; }
#me-cheer { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
#me-cheer i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 5px; opacity: 0; }
#me-cheer.go i { animation: mefall 1.6s ease-in forwards; }
@keyframes mefall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(80vh) rotate(540deg); } }
.me-sc { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.me-sc legend { font-weight: 600; font-size: .92rem; margin-bottom: 4px; width: 100%; }
.me-sc label { position: relative; }
.me-sc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.me-sc span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--u-rule, var(--rule)); font-weight: 700; color: var(--u-ink-2, var(--ink-2)); }
.me-sc input:checked + span { background: var(--u-ink, #0B1724); color: var(--u-bg, #fff); border-color: var(--u-ink, #0B1724); }
.me-sc input:focus-visible + span { outline: 3px solid var(--u-acc, #00787A); outline-offset: 2px; }
.me-sc small { color: var(--u-muted, var(--muted)); font-size: .78rem; margin-left: 6px; }
.me-nt { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; color: var(--u-muted, var(--muted)); }
.me-nt textarea { width: 100%; resize: vertical; }
.me-bars, .me-wl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.me-bars li, .me-wl li { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr) minmax(0, 150px); gap: 10px; align-items: center; font-size: .9rem; }
.me-bars .tr, .me-wl .tr { position: relative; height: 14px; background: var(--u-surface-2, #E2F0EF); border-radius: 7px; }
.me-bars .va { position: absolute; left: 0; top: 0; bottom: 0; background: var(--u-acc, #00787A); border-radius: 7px; }
.me-bars li.ov .va { background: var(--u-gold, #B26B00); }
.me-bars .ul, .me-wl .cap { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; background: var(--u-ink, #0B1724); }
.me-bars .rd { position: absolute; top: -2px; bottom: -2px; width: 0; border-left: 2px dashed var(--u-ink-2, #33475A); }
.me-bars .v, .me-wl .v { font-variant-numeric: tabular-nums; font-size: .86rem; }
.me-bars em { font-style: normal; font-weight: 700; color: var(--u-ink, var(--ink)); }
.me-wl .win { position: absolute; top: 3px; height: 8px; background: color-mix(in srgb, var(--u-acc, #00787A) 45%, transparent); border-radius: 3px; }
.me-wl .rd { position: absolute; top: 1px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--u-bg, #fff); border: 2px solid var(--u-ink, #0B1724); box-sizing: border-box; }
.me-wl .me-dot { position: absolute; top: -3px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--u-acc, #00787A); border: 2.5px solid var(--u-ink, #0B1724); box-sizing: border-box; }
.me-wl li.ov .me-dot { background: var(--u-gold, #B26B00); }
.me-k { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--u-muted, var(--muted)); margin: 8px 0 0; }
.me-k span { display: inline-flex; align-items: center; gap: 5px; }
.me-k i { display: inline-block; }
.me-k .k-va { width: 16px; height: 8px; background: var(--u-acc, #00787A); border-radius: 3px; }
.me-k .k-ul { width: 3px; height: 14px; background: var(--u-ink, #0B1724); }
.me-k .k-rd { width: 0; height: 14px; border-left: 2px dashed var(--u-ink-2, #33475A); }
/* x-ray */
.me-xr-wrap { overflow-x: auto; }
.me-sk { display: block; width: 100%; min-width: 620px; height: auto; }
.me-sk .fl { fill: none; stroke: var(--c); stroke-opacity: .55; transition: stroke-opacity .15s; }
#me-xr.hl .fl { stroke-opacity: .15; } #me-xr.hl .fl.on { stroke-opacity: .85; }
.me-sk .nd { fill: var(--c); }
.me-sk .nr { fill: var(--u-acc, #00787A); } .me-sk .nr.ov { fill: var(--u-gold, #B26B00); }
.me-sk text { font: 500 13px/1 var(--f-body, Inter, system-ui, sans-serif); fill: var(--u-ink, #0B1724); }
.me-sk .lt { text-anchor: end; }
.me-sk .rt.ov { font-weight: 700; }
.me-sk .hd { font-weight: 700; font-size: 12px; fill: var(--u-muted, #5A6B78); letter-spacing: .04em; }
/* trends */
.me-hmap { width: 100%; max-width: 460px; height: auto; display: block; }
.me-hmap text { font: 600 8px/1 var(--f-body, Inter, system-ui, sans-serif); fill: var(--u-muted, #5A6B78); }
.me-hmap .hc { cursor: pointer; stroke: var(--u-rule, #C9D3DB); stroke-width: .6; }
.hc.l0, .hk.l0 { fill: var(--u-surface-2, #E2F0EF); background: var(--u-surface-2, #E2F0EF); }
.hc.l1, .hk.l1 { fill: color-mix(in srgb, var(--u-acc, #00787A) 35%, var(--u-bg, #fff)); background: color-mix(in srgb, var(--u-acc, #00787A) 35%, var(--u-bg, #fff)); }
.hc.l2, .hk.l2 { fill: color-mix(in srgb, var(--u-acc, #00787A) 65%, var(--u-bg, #fff)); background: color-mix(in srgb, var(--u-acc, #00787A) 65%, var(--u-bg, #fff)); }
.hc.l3, .hk.l3 { fill: var(--u-acc, #00787A); background: var(--u-acc, #00787A); }
.me-k .hk { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--u-rule, #C9D3DB); }
.me-line { width: 100%; height: auto; display: block; }
.me-line text, .me-sm svg text { font: 500 12px/1 var(--f-body, Inter, system-ui, sans-serif); fill: var(--u-muted, #5A6B78); }
.me-line .lb { fill: var(--u-ink, #0B1724); font-weight: 600; paint-order: stroke; stroke: var(--u-bg, #fff); stroke-width: 4px; }
.me-line .gl, .me-sm .gl { stroke: var(--u-rule-2, var(--u-rule, #D5DEE5)); stroke-width: 1; }
.me-line .ulL { stroke: var(--u-ink, #0B1724); stroke-width: 2; }
.me-line .rdL { stroke: var(--u-ink-2, #33475A); stroke-width: 1.6; stroke-dasharray: 5 4; }
.me-line .ln, .me-sm .ln { fill: none; stroke: var(--u-acc, #00787A); stroke-width: 2.4; stroke-linejoin: round; }
.me-line .pt, .me-sm .pt { fill: var(--u-acc, #00787A); stroke: var(--u-bg, #fff); stroke-width: 1.5; }
.me-sel { display: inline-flex; flex-direction: column; gap: 3px; font-size: .84rem; color: var(--u-muted, var(--muted)); margin-bottom: 8px; }
.me-sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.me-sm figure { margin: 0; border: 1px solid var(--u-rule, var(--rule)); border-radius: 8px; padding: 8px 10px; }
.me-sm figcaption { font-weight: 600; font-size: .9rem; }
.me-sm svg { width: 100%; height: auto; display: block; }
.me-sm small { font-size: .76rem; color: var(--u-muted, var(--muted)); }
/* profile */
.me-fg { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 10px; }
.me-fg label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; color: var(--u-muted, var(--muted)); min-width: 140px; flex: 1 1 140px; }
.me-ck2 { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.me-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.me-facts li { border: 1px solid var(--u-rule, var(--rule)); border-radius: 12px; background: var(--u-bg, var(--bg)); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.me-facts .h { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--u-muted, var(--muted)); }
.me-facts b { font-size: 1.6rem; line-height: 1.1; color: var(--u-ink, var(--ink)); }
.me-facts b small { font-size: .85rem; font-weight: 500; color: var(--u-ink-2, var(--ink-2)); }
.me-facts p { margin: 0; font-size: .88rem; color: var(--u-ink-2, var(--ink-2)); max-width: none !important; }
.me-facts .s { font-size: .8rem; margin-top: auto; }
.me-bmi { position: relative; height: 34px; margin: 2px 0 2px; }
.me-bmi .z { position: absolute; top: 4px; height: 10px; }
.me-bmi .z1 { background: color-mix(in srgb, var(--u-d2, #1C5FC2) 35%, var(--u-bg, #fff)); border-radius: 5px 0 0 5px; }
.me-bmi .z2 { background: color-mix(in srgb, var(--u-acc, #00787A) 55%, var(--u-bg, #fff)); }
.me-bmi .z3 { background: color-mix(in srgb, var(--u-gold, #B26B00) 40%, var(--u-bg, #fff)); }
.me-bmi .z4 { background: color-mix(in srgb, var(--u-gold, #B26B00) 75%, var(--u-bg, #fff)); border-radius: 0 5px 5px 0; }
.me-bmi .mk { position: absolute; top: 0; width: 4px; height: 18px; margin-left: -2px; background: var(--u-ink, #0B1724); border-radius: 2px; }
.me-bmi span { position: absolute; top: 19px; transform: translateX(-50%); font-size: .72rem; color: var(--u-muted, var(--muted)); }
/* medicines */
.me-mpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; max-height: 360px; overflow: auto; padding: 4px; border: 1px solid var(--u-rule, var(--rule)); border-radius: 8px; margin: 8px 0 14px; }
.me-mc { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; line-height: 1.3; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.me-mc:hover { background: var(--u-surface-2, #E2F0EF); }
.me-mc input { margin-top: 2px; accent-color: var(--u-acc, #00787A); }
.me-ix { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.me-ix li { border: 1px solid var(--u-rule, var(--rule)); border-left: 4px solid var(--u-gold, #B26B00); border-radius: 8px; padding: 10px 12px; }
.me-ix p { margin: 4px 0; font-size: .92rem; max-width: none !important; }
.me-ix a { font-size: .82rem; }
.me-warn { border: 1px solid var(--u-rule, var(--rule)); border-left: 4px solid var(--u-ink, #0B1724); border-radius: 8px; padding: 10px 12px; font-size: .9rem; background: var(--u-surface, var(--u-bg)); max-width: none !important; }
#me-mq { width: 100%; max-width: 360px; }
/* refills */
.me-rl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.me-rl > li { border: 1px solid var(--u-rule, var(--rule)); border-radius: 12px; padding: 14px; min-width: 0; }
.me-rl .h { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.me-bottle { display: flex; gap: 12px; align-items: center; }
.me-bottle svg { width: 44px; height: 62px; flex: none; }
.me-bottle .bo { fill: var(--u-bg, #fff); stroke: var(--u-ink, #0B1724); stroke-width: 2.2; }
.me-bottle .cap { fill: var(--u-acc, #00787A); stroke: var(--u-ink, #0B1724); stroke-width: 2; }
.me-bottle .lq { fill: color-mix(in srgb, var(--u-acc, #00787A) 50%, transparent); }
.me-bottle p { margin: 0; font-size: .9rem; }
.me-bottle em { font-style: normal; font-weight: 700; }
.me-times { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 6px 0 12px; }
.me-times label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; color: var(--u-muted, var(--muted)); }
.me-data { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.me-data label.btn { cursor: pointer; }
.me-data input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.me-confirm { border: 1px solid var(--u-ink, #0B1724); border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.me-acct { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; }
.me-acct svg { width: 54px; height: 54px; }
.me-acct .d { fill: var(--u-surface-2, #E2F0EF); } .me-acct .s { fill: none; stroke: var(--u-ink, #0B1724); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.me:not(.me-js) .me-tabs, .me:not(.me-js) .me-p, .me:not(.me-js) .me-strip { display: none; }
@media (max-width: 860px) { .me-two { grid-template-columns: minmax(0, 1fr); } .me-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .me-tg { grid-template-columns: minmax(0, 1fr); justify-items: center; } .me-chk { width: 100%; }
  .me-chk li { grid-template-columns: minmax(0, 1fr) 80px; }
  .me-bars li, .me-wl li { grid-template-columns: minmax(0, 96px) minmax(0, 1fr) minmax(0, 92px); gap: 6px; font-size: .84rem; }
  .me-sm { grid-template-columns: minmax(0, 1fr); }
  .me-tk { grid-template-columns: 12px minmax(0, 1fr) 30px; } .me-tk .sv { display: none; }
}
@media (prefers-reduced-motion: reduce) { .me-ring .va, .me-tk { transition: none; } }
