/* assets/css/glucolab.css — SANAL ANYTIME LABORATUVARI (kurumsal 179)
   Konsol (gl-*), sahne (SVG sınıfları), glikoz grafiği (glc-*), telefon uygulaması (ph-*), Follow (fl-*), AnytimeView (av-*).
   Renkler storefront.css belirteçlerinden: taraf Anytime 5 → mavi, Anytime CT3 → yeşil. Logo yok, görseller kendi çizimimiz. */

.gl { --acc: var(--at5, #3B8FD4); --acc-dark: var(--at5-dark, #1E6FB0); --acc-deep: var(--at5-deep, #0F3A66); --acc-ice: var(--at5-ice, #EAF3FC); --acc-mid: var(--at5-mid, #BFDCF7);
      --ink: var(--sf-ink, #17211B); --muted: var(--sf-muted, #5E6A63); --line: var(--sf-line, #E6ECE8); --paper: #FFFFFF; --bg: #F3F7F5;
      --ok: #2E9E5B; --ok-ice: #E4F5EA; --lo: #E04848; --lo-ice: #FDE8E8; --urg: #9E1B1B; --hi: #E8951A; --hi-ice: #FDF1DC; --vhi: #B5600A; --warn: #D97706;
      --shadow: 0 18px 50px rgba(15, 40, 60, .14), 0 2px 6px rgba(15, 40, 60, .06);
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); line-height: 1.45; -webkit-font-smoothing: antialiased; }
.gl[data-side="ct3"] { --acc: var(--ct3, #5CB85C); --acc-dark: var(--ct3-dark, #3D9140); --acc-deep: #245B2A; --acc-ice: var(--ct3-ice, #EEF8EE); --acc-mid: var(--ct3-mid, #C4E8C4); }
.gl *, .gl *::before, .gl *::after { box-sizing: border-box; }
.gl button { font: inherit; color: inherit; cursor: pointer; }
.gl button:disabled { cursor: default; opacity: .5; }
.gl [hidden] { display: none !important; }
.gl b, .gl strong { font-weight: 800; }
.gl .tn, .gl .ph-ring-v, .gl .glc text, .gl .av-table, .gl .ph-table, .gl .gl-clock, .gl .ph-status, .gl .gl-rep-kpis b { font-variant-numeric: tabular-nums; }
.gl :focus-visible { outline: 3px solid color-mix(in srgb, var(--acc) 55%, transparent); outline-offset: 2px; }

/* ═════════ kabuk ═════════ */
.gl { scroll-margin-top: 84px; }
.gl-app { position: relative; background: linear-gradient(160deg, #0E2F4A 0%, #114A5E 48%, #1F6B4A 100%); border-radius: 26px; padding: 14px; box-shadow: var(--shadow); overflow: hidden; min-height: 420px; }
.gl-app::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 420px at 15% -10%, rgba(135, 195, 245, .35), transparent 60%), radial-gradient(700px 400px at 95% 110%, rgba(92, 184, 92, .35), transparent 60%); pointer-events: none; }
.gl-app > * { position: relative; }
.gl-poster { display: flex; gap: 20px; align-items: flex-end; justify-content: center; padding: 30px; }
.gl-poster img { max-height: 320px; width: auto; border-radius: 18px; background: #fff; object-fit: contain; }
.gl-on .gl-poster, .gl-noscript { display: none; }
.gl-noscript { color: #fff; }

/* üst çubuk */
.gl-bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px 6px 12px; color: #fff; }
.gl-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gl-brand-mark { width: 34px; height: 34px; border-radius: 11px; background: conic-gradient(from 210deg, var(--at5, #3B8FD4), var(--ct3, #5CB85C), var(--at5, #3B8FD4)); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .92), 0 4px 12px rgba(0, 0, 0, .25); flex: none; }
.gl-brand b { display: block; font-size: 1rem; letter-spacing: -.01em; line-height: 1.1; }
.gl-brand small { display: block; font-size: .72rem; opacity: .75; }
.gl-sideseg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); }
.gl-sideseg button { border: 0; background: transparent; color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .84rem; opacity: .8; transition: background .2s, opacity .2s; }
.gl-sideseg button.on { opacity: 1; background: #fff; color: var(--acc-deep); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.gl-sideseg button[data-side="at5"].on { color: var(--at5-deep, #0F3A66); }
.gl-sideseg button[data-side="ct3"].on { color: #245B2A; }
.gl-scbtn { display: flex; align-items: center; gap: 10px; min-width: 0; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); color: #fff; border-radius: 14px; padding: 7px 12px; text-align: left; }
.gl-scbtn:hover { background: rgba(255, 255, 255, .2); }
.gl-sc-k { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .75; flex: none; }
.gl-sc-t { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gl-sc-g { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.gl-sc-g i { width: 64px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.gl-sc-g i::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: #9BE39B; transition: width .4s; }
.gl-sc-g em { font-style: normal; font-size: .8rem; font-weight: 800; }
.gl-timebox { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 5px 8px; }
.gl-play { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; color: var(--acc-deep); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.gl-play.paused { background: #9BE39B; color: #0B2E14; }
.gl-play svg { width: 22px; height: 22px; }
.gl-clock { line-height: 1; padding: 0 4px; min-width: 64px; }
.gl-clock-t { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.gl-clock-d { display: block; font-size: .66rem; opacity: .75; margin-top: 3px; white-space: nowrap; }
.gl-speeds { display: inline-flex; gap: 3px; }
.gl-speeds button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 9px; padding: 6px 8px; font-size: .78rem; font-weight: 700; }
.gl-speeds button.on { background: #fff; color: var(--acc-deep); }
.gl-skip { border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 9px; padding: 6px 9px; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.gl-skip svg { width: 16px; height: 16px; }
.gl-tools { display: inline-flex; gap: 6px; }
.gl-ib { width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.gl-ib svg { width: 20px; height: 20px; }
.gl-ib[aria-pressed="true"] { background: #fff; color: var(--acc-deep); }

/* ana ızgara */
.gl-main { display: grid; grid-template-columns: minmax(0, 1.3fr) 332px minmax(0, .95fr); gap: 14px; align-items: start; }
.gl-col { min-width: 0; }
.gl-col-stage { display: grid; gap: 10px; }
.gl-stage { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.gl-scene { display: block; width: 100%; height: auto; background: #F6F2EA; }
.gl-coach { display: grid; gap: 8px; }
.gl-coach-msg { background: #FFF4D6; color: #6B4A00; border-radius: 12px; padding: 9px 12px; font-size: .86rem; font-weight: 700; }
.gl-coach-msg.is-alert { background: #FDE8E8; color: #8A1C1C; animation: gl-pulse 1.4s ease-in-out infinite; }
.gl-coach-goal { background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 10px 14px; display: grid; gap: 2px; }
.gl-coach-goal small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--acc-dark); font-weight: 800; }
.gl-coach-goal b { font-size: .95rem; }
.gl-coach-goal span { font-size: .8rem; color: var(--muted); }
@keyframes gl-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 72, 72, .0); } 50% { box-shadow: 0 0 0 6px rgba(224, 72, 72, .25); } }

/* eylem çubuğu */
.gl-dock { position: relative; display: flex; gap: 6px; flex-wrap: wrap; background: rgba(255, 255, 255, .92); border-radius: 16px; padding: 8px; }
.gl-dock-b { flex: 1 1 auto; min-width: 86px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 6px; display: grid; justify-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--ink); }
.gl-dock-b svg { width: 22px; height: 22px; color: var(--acc-dark); }
.gl-dock-b:hover, .gl-dock-b.on { background: var(--acc-ice); border-color: var(--acc-mid); }
.gl-dock-b.treat svg { color: var(--lo); }
.gl-pop { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 5; width: min(420px, 100%); max-height: 380px; overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 16px 44px rgba(0, 0, 0, .25); padding: 10px 12px 12px; }
.gl-pop[hidden] { display: none; }
.gl-pop-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 8px; font-size: .9rem; }
.gl-check { font-size: .76rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.gl-pop-g { display: grid; gap: 6px; padding-bottom: 8px; }
.gl-pop-g > small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; padding-top: 4px; }
.gl-pop-b { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; }
.gl-pop-b:hover { background: var(--acc-ice); border-color: var(--acc-mid); }
.gl-pop-b svg { width: 20px; height: 20px; color: var(--acc-dark); flex: none; }
.gl-pop-b b { display: block; font-size: .85rem; }
.gl-pop-b span { display: block; font-size: .72rem; color: var(--muted); }
.gl-pop-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .84rem; }
.gl-pop-row > span:first-child { flex: 1; font-weight: 700; }
.gl-step { display: inline-flex; align-items: center; gap: 4px; }
.gl-step button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.gl-step b { min-width: 28px; text-align: center; }
.gl-pop-hint { font-size: .74rem; color: var(--muted); margin: 0; }
.gl-pop-img { height: 84px; width: auto; max-width: 100%; object-fit: contain; align-self: center; border-radius: 10px; background: #fff; }
.gl-chip-q { border: 1px solid var(--acc-mid); background: var(--acc-ice); color: var(--acc-deep); border-radius: 999px; padding: 2px 9px; font-size: .68rem; font-weight: 800; }

/* cihaz sütunları */
.gl-devlab { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font-size: .78rem; padding: 0 4px 8px; }
.gl-devlab-t { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.gl-devlab-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-devlab-t svg { width: 16px; height: 16px; opacity: .8; flex: none; }
.gl-devlab-b { display: inline-flex; gap: 5px; flex: none; }
.gl-mini { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.gl-mini svg { width: 14px; height: 14px; }
.gl-mini.primary { background: #fff; color: var(--acc-deep); border-color: #fff; }
.gl-phone-wrap, .gl-follow-wrap, .gl-laptop-wrap { position: relative; overflow: hidden; }
.gl-follow-wrap { max-width: 186px; margin: 0 auto; }
.gl-phone-frame { width: 390px; height: 844px; transform: scale(var(--k, 1)); transform-origin: 0 0; background: #0B0F14; border-radius: 52px; padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4), inset 0 0 0 2px #2a313a; position: relative; }
.gl-phone-frame::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; border-radius: 20px; background: #0B0F14; z-index: 3; }
.gl-phone-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .08) 100%); }
.gl-laptop-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 9; background: linear-gradient(112deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, 0) 50%); }
.gl-phone-frame.shake { animation: gl-shake .6s ease-in-out; }
@keyframes gl-shake { 0%, 100% { transform: scale(var(--k, 1)) translateX(0); } 20% { transform: scale(var(--k, 1)) translateX(-6px); } 40% { transform: scale(var(--k, 1)) translateX(6px); } 60% { transform: scale(var(--k, 1)) translateX(-4px); } 80% { transform: scale(var(--k, 1)) translateX(4px); } }
.gl-phone-screen { width: 366px; height: 820px; border-radius: 40px; overflow: hidden; background: #F6F8FA; position: relative; font-size: 15px; line-height: 1.35; color: #1A2330; display: flex; flex-direction: column; }
.gl-eco-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 10px; margin-bottom: 12px; }
.gl-laptop { width: 1120px; height: 740px; transform: scale(var(--k, 1)); transform-origin: 0 0; position: relative; }
.gl-laptop-screen { width: 1120px; height: 700px; background: #fff; border-radius: 22px 22px 6px 6px; border: 14px solid #1C232B; border-bottom-width: 22px; overflow: hidden; position: relative; font-size: 14px; color: #1A2330; display: flex; flex-direction: column; }
.gl-laptop-base { height: 40px; margin: 0 -30px; background: linear-gradient(#3b444e, #222a32); border-radius: 0 0 26px 26px; }
.gl-laptop-base::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 160px; height: 8px; border-radius: 0 0 8px 8px; background: #11161c; }

/* alt: çizelge + günlük */
.gl-foot { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; margin-top: 14px; align-items: start; }
.gl-timeline { position: relative; height: 62px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; }
.gl-tl-track { position: absolute; left: 12px; right: 12px; top: 26px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); }
.gl-tl-marks { position: absolute; left: 12px; right: 12px; top: 8px; height: 40px; }
.gl-tl-marks i { position: absolute; top: 0; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--acc-deep); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.gl-tl-marks i svg { width: 12px; height: 12px; }
.gl-tl-marks i.m-alert { top: 30px; background: #FDE8E8; color: var(--lo); }
.gl-tl-marks i.m-alert.lv-alarm { background: var(--lo); color: #fff; }
.gl-tl-marks i.m-exercise { color: #B45309; }
.gl-tl-marks i.m-bolus, .gl-tl-marks i.m-basal { color: #6D28D9; }
.gl-tl-now { position: absolute; top: 22px; width: 3px; height: 14px; left: calc(12px + var(--p, 0) * (100% - 24px)); background: #fff; border-radius: 2px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); transform: translateX(-50%); transition: left .3s linear; }
.gl-tl-hours { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 14px; color: rgba(255, 255, 255, .7); font-size: .64rem; font-weight: 700; }
.gl-tl-hours span { position: absolute; transform: translateX(-50%); }
.gl-log { max-height: 62px; overflow: auto; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 6px 10px; color: #fff; font-size: .74rem; }
.gl-log-r { display: flex; gap: 8px; padding: 2px 0; }
.gl-log-r b { flex: none; opacity: .8; }
.gl-log-r.lv-warn span { color: #FFD9A8; } .gl-log-r.lv-alarm span { color: #FFB3B3; font-weight: 700; } .gl-log-r.lv-story span { color: #BFE9FF; }

/* bildirimler */
.gl-toasts { position: absolute; top: 72px; right: 16px; z-index: 35; display: grid; gap: 8px; width: min(440px, 34%); pointer-events: none; }
.gl-toast { display: flex; gap: 10px; align-items: flex-start; background: rgba(12, 24, 36, .92); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: .86rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: gl-in .3s ease-out; backdrop-filter: blur(6px); }
.gl-toast svg { width: 20px; height: 20px; flex: none; color: #9BE39B; margin-top: 1px; }
.gl-toast.is-good { background: rgba(26, 110, 60, .95); }
.gl-toast.out { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; }
@keyframes gl-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* büyütme + örtü + iletişim */
.gl-zoom { position: absolute; inset: 10px; z-index: 30; background: rgba(8, 18, 28, .96); border-radius: 22px; display: flex; flex-direction: column; padding: 10px; }
.gl-zoom[hidden] { display: none; }
.gl-zoom-bar { display: flex; align-items: center; justify-content: space-between; color: #fff; padding: 2px 6px 10px; font-size: .9rem; }
.gl-zoom-body { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; overflow: auto; -webkit-overflow-scrolling: touch; }
.gl-zoom-body > * { flex: none; }
.gl-tour { position: absolute; inset: 0; z-index: 38; pointer-events: none; }
.gl-tour[hidden] { display: none; }
.gl-tour-spot { position: absolute; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(8, 18, 28, .62); transition: all .35s ease; pointer-events: auto; }
.gl-tour-card { position: absolute; width: min(340px, calc(100% - 20px)); background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); pointer-events: auto; transition: top .35s ease, left .35s ease; }
.gl-tour-card h3 { margin: 2px 0 6px; font-size: 1.1rem; } .gl-tour-card p { margin: 0; font-size: .88rem; color: #3A4650; } .gl-tour-card .gl-dialog-btns { margin-top: 12px; }
.gl-rep-finger { background: var(--bg); border-radius: 12px; padding: 8px 12px; font-size: .86rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.gl-rep-finger svg { width: 18px; height: 18px; color: var(--acc-dark); }
.gl-overlay { position: absolute; inset: 0; z-index: 40; background: rgba(8, 18, 28, .72); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; overflow: auto; padding: 24px 14px; border-radius: 26px; }
.gl-overlay[hidden] { display: none; }
.gl-dialog { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 24px 26px; width: min(640px, 100%); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: gl-in .3s ease-out; }
.gl-dialog h3 { margin: 4px 0 8px; font-size: 1.3rem; letter-spacing: -.02em; text-wrap: balance; }
.gl-dialog h4 { margin: 16px 0 6px; font-size: .95rem; }
.gl-dialog p { margin: 0 0 10px; font-size: .92rem; }
.gl-dialog-x { position: absolute; top: 12px; right: 12px; background: var(--bg); color: var(--ink); border-color: var(--line); }
.gl-dialog-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.gl-eyebrow { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--acc-dark); }
.gl-hint { color: var(--muted); font-size: .8rem !important; }
.gl-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 16px; font-weight: 800; font-size: .88rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.gl-btn.primary { background: var(--acc-dark); border-color: var(--acc-dark); color: #fff; }
.gl-btn.ghost { background: transparent; }
.gl-btn.big { padding: 14px 22px; font-size: 1rem; width: 100%; justify-content: center; }
.gl-btn.small { padding: 5px 10px; font-size: .76rem; border-radius: 9px; }
.gl-btn svg { width: 18px; height: 18px; }
.gl-goal-list { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; }
.gl-goal-list li { font-size: .9rem; }
.gl-goal-list li b { display: block; }
.gl-goal-list li span { display: block; font-size: .8rem; color: var(--muted); }
.gl-goal-list li small { color: var(--ok); font-weight: 800; }
.gl-goal-list li.done { color: var(--muted); }
.gl-goal-list li.done b { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .3); }
.gl-what p { font-size: .95rem; line-height: 1.6; }

/* giriş */
.gl-intro { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px 28px 30px; width: min(1040px, 100%); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: gl-in .35s ease-out; }
.gl-intro-head h2 { margin: 6px 0 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.gl-intro-head h2 em { font-style: normal; background: linear-gradient(90deg, var(--at5, #3B8FD4), var(--ct3, #5CB85C)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-intro-head p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 72ch; }
.gl-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 22px; }
.gl-intro-col h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.gl-sc-list { display: grid; gap: 8px; }
.gl-sc-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px; transition: border-color .2s, background .2s, transform .2s; }
.gl-sc-card:hover { transform: translateY(-1px); border-color: var(--acc-mid); }
.gl-sc-card[aria-pressed="true"] { border-color: var(--acc-dark); background: var(--acc-ice); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); }
.gl-sc-card svg { width: 26px; height: 26px; color: var(--acc-dark); flex: none; margin-top: 2px; }
.gl-sc-card b { display: block; font-size: .95rem; }
.gl-sc-card b em { font-style: normal; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; background: var(--acc-dark); color: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.gl-sc-card span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.gl-side-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gl-side-card { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px; display: grid; justify-items: center; gap: 4px; text-align: center; transition: border-color .2s, background .2s; }
.gl-side-card img { height: 92px; width: auto; object-fit: contain; }
.gl-side-card b { font-size: .95rem; }
.gl-side-card span { font-size: .74rem; color: var(--muted); }
.gl-side-card.at5.on { border-color: var(--at5-dark, #1E6FB0); background: var(--at5-ice, #EAF3FC); box-shadow: 0 0 0 3px rgba(59, 143, 212, .25); }
.gl-side-card.ct3.on { border-color: var(--ct3-dark, #3D9140); background: var(--ct3-ice, #EEF8EE); box-shadow: 0 0 0 3px rgba(92, 184, 92, .3); }
.gl-person-pick { margin-top: 14px; display: grid; gap: 8px; }
.gl-person-pick[hidden] { display: none; }
.gl-person-b { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.gl-person-b.on { border-color: var(--acc-dark); background: var(--acc-ice); }
.gl-person-b span { font-size: .78rem; color: var(--acc-dark); font-weight: 700; }
.gl-person-b small { font-size: .76rem; color: var(--muted); }
.gl-intro-sum { margin-top: 14px; background: var(--bg); border-radius: 14px; padding: 10px 14px; }
.gl-intro-sum p { margin: 0; font-size: .9rem; }
.gl-intro-sum small { color: var(--muted); font-size: .76rem; }
.gl-ack { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 12px; font-size: .84rem; color: var(--muted); }
.gl-ack input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--acc-dark); flex: none; }
.gl-ack a { color: var(--acc-dark); }

/* gün raporu */
.gl-report { width: min(820px, 100%); }
.gl-rep-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 12px 0; }
.gl-rep-kpis > div { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.gl-rep-kpis small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.gl-rep-kpis b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.gl-rep-kpis b i { font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 600; }
.gl-rep-chart .glc { width: 100%; height: auto; }
.gl-take { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; }
.gl-rep-tir { margin-top: 10px; }

/* ═════════ sahne: hologram arenası (kurumsal 180) ═════════ */
.gl-stage { background: #0B2744; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.gl-arena { position: relative; aspect-ratio: 640 / 440; overflow: hidden; background: #0B2744; isolation: isolate; }   /* min-height yok: aspect-ratio ile birleşince genişliğe aktarılır ve dar ekranda taşar */
.gl-holo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.gl-holo:active { cursor: grabbing; }
.gl-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.gl-ov [data-gl-stage] { pointer-events: auto; cursor: pointer; }
.gl-sky { transition: transform .4s ease-out; }
.gl-stars circle { fill: #fff; animation: gl-twinkle 3s ease-in-out infinite; }
@keyframes gl-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.gl-sun { fill: #FFD56A; transition: opacity .6s; } .gl-sunglow { transition: opacity .6s; }
.gl-moon { fill: #E8EEFF; transition: opacity .6s; } .gl-moonglow { transition: opacity .6s; }
.gl-link { stroke: url(#gl-linkg); stroke-width: 6; opacity: .35; filter: url(#gl-glow); }
.gl-link-core { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 6 8; opacity: .9; animation: gl-dash 1.1s linear infinite; }
.gl[data-side="ct3"] .gl-link-core { stroke: #CFF5CF; }
.gl-link.is-off { stroke: #FF6B6B; opacity: .35; filter: none; } .gl-link-core.is-off { stroke: #FF6B6B; stroke-dasharray: 2 8; animation: none; opacity: .8; }
.gl-link.is-idle, .gl-link-core.is-idle { opacity: .08; animation: none; }
@keyframes gl-dash { to { stroke-dashoffset: -28; } }
.gl-pk { fill: #fff; filter: url(#gl-glow); }
.gl-node-halo { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.gl-ph-body { fill: #0F1A26; stroke: rgba(255, 255, 255, .35); stroke-width: 1; } .gl-ph-scr { fill: #1E6FB0; opacity: .9; } .gl-ph-dot { fill: #fff; }
.gl[data-side="ct3"] .gl-ph-scr { fill: #3D9140; }
.gl-node-lab, .gl-far-lab, .gl-stand-lab { font-size: 10px; font-weight: 800; fill: rgba(255, 255, 255, .85); }
.gl-door { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .3); } .gl-door-knob { fill: rgba(255, 255, 255, .6); }
.gl-phone-near, .gl-phone-far { transition: opacity .4s; }
.gl-stand-base { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .35); } .gl-stand-tx { fill: #6C8A6C; transition: opacity .4s; } .gl-stand-led { fill: #5CB85C; animation: gl-blink 1.6s ease-in-out infinite; }
@keyframes gl-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.gl-sens-hit { fill: transparent; }
.gl-warm-ring { fill: none; stroke: #F0A020; stroke-width: 3.5; stroke-linecap: round; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset .4s; filter: url(#gl-glow); }
.gl-sens-x circle { fill: #E04848; } .gl-sens-x path { stroke: #fff; stroke-width: 2; }
.gl-sens-lab { font-size: 10.5px; font-weight: 800; fill: rgba(255, 255, 255, .9); paint-order: stroke; stroke: rgba(11, 39, 68, .8); stroke-width: 3px; }
.gl-drops path { stroke: #8CC8F5; stroke-width: 2.5; fill: none; } .gl-drops .gl-showerhead { fill: #B9C4CE; stroke: none; } .gl-drops { transition: opacity .4s; }
.gl-badge rect { fill: rgba(255, 255, 255, .92); stroke: none; } .gl-badge text { font-size: 10px; font-weight: 800; fill: #1E6FB0; }
.gl[data-side="ct3"] .gl-badge text { fill: #3D9140; } .gl-badge.is-off text { fill: #E04848; } .gl-badge { transition: opacity .4s; pointer-events: none; }
.gl-hud { position: absolute; z-index: 3; color: #fff; }
.gl-hud-clock { left: 14px; top: 12px; line-height: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.gl-hud-clock b { display: block; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .gl-hud-clock small { display: block; font-size: .66rem; opacity: .8; margin-top: 3px; }
.gl-hud-state { left: 50%; bottom: 12px; transform: translateX(-50%); }
.gl-badge-state { display: inline-flex; align-items: center; gap: 7px; background: rgba(8, 18, 28, .78); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .74rem; font-weight: 800; opacity: 0; transition: opacity .3s; backdrop-filter: blur(6px); }
.gl-badge-state.on { opacity: 1; } .gl-badge-state i { width: 7px; height: 7px; border-radius: 50%; background: #9BE39B; } .gl-badge-state.is-bad i { background: #FF6B6B; animation: gl-blink 1s ease-in-out infinite; }
.gl-hint { right: 14px; top: 12px; font-size: .64rem; opacity: .6; text-align: right; max-width: 150px; line-height: 1.3; }
.gl-mag { left: 14px; bottom: 12px; width: 150px; border-radius: 50% 50% 18px 18px; overflow: hidden; background: #F5DDC6; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 14px 34px rgba(0, 0, 0, .45); }
.gl-mag-cv { display: block; width: 150px; height: 150px; }
.gl-mag-lab { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(8, 18, 28, .78); color: #fff; font-size: .62rem; font-weight: 800; padding: 4px 8px; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.gl-mag-lab .gl-chip-q { padding: 1px 7px; font-size: .58rem; }
.gl-arena.is-urgent::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 20px rgba(224, 50, 50, .45); animation: gl-pulse 1.1s ease-in-out infinite; }

/* glikoz nehri (koyu cam panel) */
.gl-river { padding: 8px 12px 10px; background: linear-gradient(180deg, #0F3A66, #0B2744); color: #fff; }
.gl[data-side="ct3"] .gl-river { background: linear-gradient(180deg, #1D4A2A, #0E2A17); }
.gl-river .glc-band { fill: rgba(92, 184, 92, .16); } .gl-river .glc-grid { stroke: rgba(255, 255, 255, .1); } .gl-river .glc-ylab, .gl-river .glc-xlab { fill: rgba(255, 255, 255, .6); }
.gl-river .glc-line.blood { stroke: #fff; opacity: .95; } .gl-river .glc-line.sens { stroke: #87C3F5; filter: url(#gl-glow); } .gl[data-side="ct3"] .gl-river .glc-line.sens { stroke: #9BE39B; }
.gl-river .glc-dot { fill: #87C3F5; } .gl[data-side="ct3"] .gl-river .glc-dot.z-ok { fill: #9BE39B; } .gl-river .glc-dot.z-lo, .gl-river .glc-dot.z-urgent { fill: #FF6B6B; } .gl-river .glc-dot.z-hi { fill: #FFC43C; }
.gl-river-key { color: rgba(255, 255, 255, .7) !important; } .gl-river-key .k-blood { background: #fff; } .gl-river-key .k-sens { background: #87C3F5; }
.gl-river-vals small { color: rgba(255, 255, 255, .6); } .rv-sens b { color: #87C3F5; } .gl[data-side="ct3"] .rv-sens b { color: #9BE39B; } .rv-lag { color: rgba(255, 255, 255, .55); } .rv-diff b.big { color: #FFC43C; }
.gl-river .gl-chip-q { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.gl-river-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .78rem; flex-wrap: wrap; }
.gl-river-key { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.gl-river-key i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.gl-river-key .k-sens { height: 6px; width: 6px; border-radius: 50%; }
.gl-river-svg .glc { display: block; width: 100%; height: auto; }
.gl-river-vals { display: flex; gap: 14px; align-items: center; font-size: .78rem; margin-top: 4px; flex-wrap: wrap; }
.gl-river-vals small { color: var(--muted); margin-right: 4px; }
.gl-river-vals b { font-size: 1rem; }
.rv-sens b { color: var(--acc-dark); }
.rv-lag { margin-left: auto; color: var(--muted); font-size: .7rem; }

/* ═════════ grafik (glc) ═════════ */
.glc { display: block; max-width: 100%; height: auto; font-family: inherit; }
.glc-band { fill: #E4F5EA; }
.glc-grid { stroke: #E6ECE8; stroke-width: 1; } .glc-grid.v { stroke-dasharray: 2 4; }
.glc-ylab, .glc-xlab { font-size: 10px; font-weight: 700; fill: #7A8794; }
.glc-ylab.hi { fill: #E8951A; } .glc-ylab.lo { fill: #E04848; }
.glc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.glc-line.blood { stroke: #17211B; stroke-width: 1.8; opacity: .9; }
.glc-line.sens { stroke: var(--acc, #3B8FD4); stroke-width: 2.2; }
.gl[data-side="ct3"] .glc-line.sens, [data-skin="ct3"] .glc-line.sens { stroke: #3D9140; }
.glc-line.thin { stroke: var(--acc, #3B8FD4); stroke-width: 1; opacity: .35; }
.glc-dot { fill: var(--acc, #3B8FD4); }
.glc-dot.z-lo, .glc-dot.z-urgent { fill: #E04848; } .glc-dot.z-hi { fill: #E8951A; }
[data-skin="ct3"] .glc-dot.z-ok, .gl[data-side="ct3"] .glc-dot.z-ok { fill: #3D9140; }
.glc-agp.outer { fill: var(--acc, #3B8FD4); opacity: .18; } .glc-agp.inner { fill: var(--acc, #3B8FD4); opacity: .32; }
.glc-median { fill: none; stroke: var(--acc-dark, #1E6FB0); stroke-width: 2.4; }
.glc-overlay .glc-median { stroke: #17211B; }
.glc-ev line { stroke: #7A8794; stroke-width: 1.5; } .glc-ev text { font-size: 9px; font-weight: 800; fill: #3A4650; }
.glc-ev.ev-meal line, .glc-ev.ev-meal text { stroke: #B45309; fill: #B45309; } .glc-ev.ev-meal line { stroke: #B45309; }
.glc-ev.ev-bolus line, .glc-ev.ev-basal line { stroke: #6D28D9; } .glc-ev.ev-bolus text, .glc-ev.ev-basal text { fill: #6D28D9; }
.glc-ev.ev-exercise line { stroke: #0F766E; } .glc-ev.ev-exercise text { fill: #0F766E; }
.glc-now { stroke: #E04848; stroke-width: 1.5; stroke-dasharray: 3 3; }
.ph-agp-key, .gl-river-key { font-size: .72rem; color: #5E6A63; display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.ph-agp-key i { display: inline-block; width: 14px; height: 8px; border-radius: 2px; }
.ph-agp-key .k-outer { background: var(--ph, #3B8FD4); opacity: .2; } .ph-agp-key .k-inner { background: var(--ph, #3B8FD4); opacity: .4; } .ph-agp-key .k-med { background: var(--ph-dark, #1E6FB0); height: 3px; }

/* eğilim oku */
.gl-arrow { width: 28px; height: 28px; vertical-align: middle; }
.gl-arrow.big { width: 44px; height: 44px; } .gl-arrow.sm { width: 16px; height: 16px; }
.gl-arrow.a-down2low, .gl-arrow.a-down2 { color: #E04848; } .gl-arrow.a-up2 { color: #E8951A; }

/* ═════════ telefon (ph) ═════════ */
.gl-phone-screen[data-skin="at5"] { --ph: var(--at5, #3B8FD4); --ph-dark: var(--at5-dark, #1E6FB0); --ph-ice: var(--at5-ice, #EAF3FC); --ph-mid: var(--at5-mid, #BFDCF7); }
.gl-phone-screen[data-skin="ct3"] { --ph: var(--ct3, #5CB85C); --ph-dark: var(--ct3-dark, #3D9140); --ph-ice: var(--ct3-ice, #EEF8EE); --ph-mid: var(--ct3-mid, #C4E8C4); }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; font-size: 13px; font-weight: 700; height: 44px; flex: none; }
.ph-st-r { display: inline-flex; gap: 8px; align-items: center; }
.ph-bt svg { width: 14px; height: 14px; opacity: .3; } .ph-bt.on svg { opacity: 1; color: var(--ph-dark); }
.ph-bat { width: 24px; height: 11px; border: 1.5px solid #1A2330; border-radius: 3px; display: inline-block; position: relative; }
.ph-bat b { position: absolute; left: 1px; top: 1px; bottom: 1px; background: #1A2330; border-radius: 1px; }
.ph-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.ph-nav { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #E6ECE8; background: #fff; padding: 8px 6px 18px; }
.ph-nav-b { border: 0; background: none; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #7A8794; padding: 4px; }
.ph-nav-b svg { width: 24px; height: 24px; }
.ph-nav-b.on { color: var(--ph-dark); }
.ph-head { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 2px 10px; min-height: 48px; background: #fff; border-bottom: 1px solid #E6ECE8; }
.ph-head h2 { margin: 0; text-align: center; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ph-head-r { display: flex; justify-content: flex-end; gap: 2px; }
.ph-head.ct3 { background: var(--ph); color: #fff; border: 0; padding-bottom: 6px; grid-template-columns: 44px 1fr 84px; }
.ph-head.ct3 .ph-ib { color: #fff; }
.ph-head.fl { background: var(--ph-dark); color: #fff; border: 0; }
.ph-head.fl .ph-ib { color: #fff; }
.ph-ib { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; border-radius: 12px; color: #1A2330; }
.ph-ib svg { width: 24px; height: 24px; }
.ph-ib.ph-plus { background: #fff; color: var(--ph-dark); border-radius: 50%; width: 32px; height: 32px; margin-left: 4px; }
.ph-ib.ph-plus svg { width: 20px; height: 20px; }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 8px 18px 4px; }
.ph-top.prof { padding: 16px 18px 10px; background: #fff; }
.ph-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--ph), var(--ph-dark)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; flex: none; }
.ph-avatar.big { width: 56px; height: 56px; font-size: 24px; }
.ph-who { min-width: 0; line-height: 1.25; }
.ph-who b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-who span { display: block; font-size: 12px; color: #7A8794; }
.ph-remind { margin: 4px 18px 0; border: 0; background: var(--ph-ice); color: #3A4650; border-radius: 12px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; width: calc(100% - 36px); text-align: left; }
.ph-remind svg { width: 20px; height: 20px; color: var(--ph-dark); }
.ph-ring-wrap { display: grid; justify-items: center; gap: 6px; padding: 14px 18px 4px; }
.ph-ring { position: relative; width: 196px; height: 196px; border-radius: 50%; background: conic-gradient(var(--ph) 0 100%); display: grid; place-items: center; }
.ph-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.ph-ring.warm { background: conic-gradient(#F0A020 calc(var(--k, 0) * 100%), #F3E5CC 0); }
.ph-ring.none { background: #DDE3E7; } .ph-ring.nolink { background: #CBD3DA; } .ph-ring-v.dim { color: #7A8794; }
.z-lo .ph-ring, .z-urgent .ph-ring { background: #E04848; } .z-hi .ph-ring { background: #E8951A; }
.ph-ring-in { position: relative; display: grid; justify-items: center; line-height: 1; }
.ph-ring-t { font-size: 13px; color: #7A8794; font-weight: 700; margin-bottom: 4px; }
.ph-ring-v { font-size: 54px; font-weight: 900; letter-spacing: -.04em; color: #1A2330; }
.ph-ring-v.small { font-size: 20px; letter-spacing: 0; text-align: center; padding: 0 20px; }
.ph-ring-u { font-size: 13px; color: #7A8794; font-weight: 700; margin-top: 4px; }
.ph-days { position: absolute; top: 14px; right: -2px; background: var(--ph-dark); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.ph-trend { position: absolute; bottom: 14px; right: 2px; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); color: var(--ph-dark); }
.ph-trend .gl-arrow { width: 28px; height: 28px; }
.ph-tir-row { display: flex; align-items: center; gap: 12px; }
.ph-tir { border: 0; background: var(--ph-ice); color: var(--ph-dark); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 15px; }
.ph-fab { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ph-dark); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ph-fab svg { width: 24px; height: 24px; }
.ph-note, .ph-hint { font-size: 12.5px; color: #5E6A63; margin: 6px 0 0; text-align: center; }
.ph-hint { text-align: left; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 36px); margin: 10px 18px 0; border: 1px solid #E6ECE8; background: #fff; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 15px; }
.ph-btn.primary { background: var(--ph-dark); color: #fff; border-color: var(--ph-dark); }
.ph-btn.ghost { background: transparent; }
.ph-btn.danger { color: #B42318; border-color: #F5C2C2; }
.ph-btn svg { width: 20px; height: 20px; }
.ph-scroll .ph-btn { width: 100%; margin: 10px 0 0; }
.ph-tabs { display: flex; gap: 6px; padding: 10px 18px 0; }
.ph-tab { flex: 1; border: 0; background: #E9EEF2; border-radius: 999px; padding: 6px; font-size: 13px; font-weight: 700; color: #3A4650; }
.ph-tab.on { background: var(--ph-dark); color: #fff; }
.ph-chart { padding: 6px 4px 0 2px; }
.ph-chart .glc { width: 100%; height: auto; }
.ph-pills { display: flex; justify-content: flex-end; gap: 6px; padding: 0 18px; margin-top: -4px; }
.pill { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; color: #fff; }
.pill.hi { background: #E8951A; } .pill.lo { background: #E04848; }
.ph-warnline { margin: 8px 18px 0; background: #FDE8E8; color: #8A1C1C; border-radius: 10px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.ph-warnline svg { width: 16px; height: 16px; }
.ph-banner { margin: 8px 18px 0; background: var(--ph-ice); border: 1px solid var(--ph-mid); border-radius: 12px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.ph-banner > span svg { width: 22px; height: 22px; color: var(--ph-dark); }
.ph-banner div { flex: 1; min-width: 0; } .ph-banner div b { display: block; } .ph-banner div span { color: #5E6A63; }
.ph-mini { border: 1px solid #E6ECE8; background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; }
.ph-mini.primary { background: var(--ph-dark); color: #fff; border-color: var(--ph-dark); }
.ph-seg { display: flex; margin: 10px 18px 0; background: #E9EEF2; border-radius: 12px; padding: 3px; flex: none; }
.ph-seg button { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 7px; font-size: 13px; font-weight: 700; color: #3A4650; position: relative; }
.ph-seg button.on { background: #fff; color: var(--ph-dark); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.ph-seg.small { margin: 0; }
.ph-scroll { flex: 1; min-height: 0; overflow: auto; padding: 10px 18px 24px; -webkit-overflow-scrolling: touch; }
.ph-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-chip { border: 1px solid #E6ECE8; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; }
.ph-chip.on { background: var(--ph-dark); color: #fff; border-color: var(--ph-dark); }
.ph-cal { margin-top: 10px; }
.ph-cal-row { display: flex; gap: 4px; }
.ph-cal-d { flex: 1; border: 1px solid #E6ECE8; background: #fff; border-radius: 10px; padding: 6px 2px; display: grid; justify-items: center; gap: 1px; font-size: 12px; }
.ph-cal-d small { color: #7A8794; font-size: 10px; } .ph-cal-d b { font-size: 14px; }
.ph-cal-d i { width: 6px; height: 6px; border-radius: 50%; background: #2E9E5B; } .ph-cal-d i.z-mid { background: #E8951A; } .ph-cal-d i.z-bad { background: #E04848; }
.ph-cal-d.on { border-color: var(--ph-dark); background: var(--ph-ice); }
.ph-cal-d.empty { opacity: .5; }
.ph-cal-lab { font-size: 12px; color: #7A8794; margin: 6px 0 0; }
.ph-card { background: #fff; border-radius: 16px; padding: 12px 14px; margin-top: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.ph-card h3 { margin: 0 0 8px; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ph-card h3 small { font-size: 10px; color: #7A8794; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ph-card h3 svg { width: 18px; height: 18px; color: var(--ph-dark); }
.ph-card.ai { background: linear-gradient(135deg, var(--ph-ice), #fff); border: 1px solid var(--ph-mid); }
.ph-card.ai p { margin: 0; font-size: 13px; line-height: 1.5; }
.ph-card > b { display: block; } .ph-card > span { display: block; color: #5E6A63; font-size: 13px; } .ph-card > small { color: #7A8794; font-size: 12px; }
.ph-doc-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 12px; color: #5E6A63; border-bottom: 1px solid #E6ECE8; padding-bottom: 8px; margin-bottom: 8px; }
.ph-doc-head b { font-size: 15px; color: #1A2330; }
.ph-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px; }
.ph-kv span { color: #7A8794; }
.ph-tirbar { display: grid; gap: 8px; }
.tb { display: flex; height: 22px; border-radius: 8px; overflow: hidden; gap: 2px; }
.tb-seg { min-width: 2px; position: relative; display: grid; place-items: center; }
.tb-seg span { font-size: 10px; font-weight: 800; color: #fff; }
.tb-seg.sm span { display: none; }
.s-vhigh { background: #B5600A; } .s-high { background: #E8951A; } .s-ok { background: #2E9E5B; } .s-low { background: #E04848; } .s-vlow { background: #9E1B1B; }
.tb-row { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 8px; align-items: center; font-size: 12.5px; }
.tb-row i { width: 10px; height: 10px; border-radius: 3px; }
.tb-lab small { display: block; color: #7A8794; font-size: 11px; }
.tb-tg { color: #7A8794; font-size: 11px; }
.ph-list { display: grid; gap: 4px; }
.ph-row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; text-align: left; border: 0; width: 100%; }
.ph-row > span { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ph-row > span small { display: block; width: 100%; color: #7A8794; font-size: 11.5px; }
.ph-row > small { color: #7A8794; font-size: 12px; }
.ph-row > b { white-space: nowrap; }
.ph-row > svg { width: 22px; height: 22px; color: var(--ph-dark); flex: none; }
.ph-row > svg:last-child { color: #B9C4CE; }
.ph-row.col { display: grid; gap: 2px; } .ph-row.col span { color: #5E6A63; font-size: 12px; } .ph-row.col em { font-style: normal; color: var(--ph-dark); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.ph-row.tog em { font-style: normal; font-size: 11px; color: #7A8794; text-transform: uppercase; letter-spacing: .06em; }
.ph-list.menu .ph-row { padding: 13px 12px; }
.ph-metrics .ph-row { padding: 7px 0; background: none; border-bottom: 1px solid #EEF2F4; border-radius: 0; }
.ph-q { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ph-mid, #BFDCF7); background: var(--ph-ice, #EAF3FC); color: var(--ph-dark, #1E6FB0); font-size: 11px; font-weight: 900; display: inline-grid; place-items: center; padding: 0; vertical-align: middle; }
.ph-switch { width: 46px; height: 28px; border-radius: 999px; border: 0; background: #CBD3DA; position: relative; flex: none; transition: background .2s; }
.ph-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.ph-switch.on { background: var(--ph-dark); } .ph-switch.on i { left: 21px; }
.ph-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ph-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; padding: 4px 6px; border-bottom: 1px solid #E6ECE8; }
.ph-table td { padding: 6px; border-bottom: 1px solid #EEF2F4; }
.ph-table td.hi { color: #B45309; font-weight: 800; }
.ph-empty { color: #7A8794; font-size: 13px; text-align: center; padding: 14px 6px; margin: 0; }
.ph-h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7A8794; margin: 14px 0 6px; }
.ph-version { text-align: center; color: #7A8794; font-size: 12px; margin: 18px 0 0; }
.ph-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-thumb small { display: block; font-size: 11px; color: #5E6A63; font-weight: 700; }
.ph-thumb .glc { width: 100%; height: auto; }
.ph-sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); z-index: 5; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 26px 26px 0 0; padding: 8px 18px 28px; z-index: 6; animation: ph-up .25s ease-out; }
@keyframes ph-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.ph-sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: #CBD3DA; margin: 0 auto 10px; }
.ph-sheet h3 { margin: 0 0 12px; font-size: 16px; text-align: center; }
.ph-sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-sheet-grid button { border: 1px solid #E6ECE8; background: #F6F8FA; border-radius: 14px; padding: 12px 6px; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.ph-sheet-grid button svg { width: 24px; height: 24px; color: var(--ph-dark); }
.ph-form { position: absolute; inset: 44px 0 0; background: #F6F8FA; z-index: 7; display: flex; flex-direction: column; animation: ph-up .25s ease-out; }
.ph-form .ph-head { background: #fff; }
.ph-form-body { flex: 1; }
.ph-form-foot { padding: 10px 18px 26px; background: #fff; border-top: 1px solid #E6ECE8; }
.ph-form-foot .ph-btn { width: 100%; margin: 0; }
.ph-field { background: #fff; border-radius: 14px; padding: 10px 14px; margin-top: 10px; }
.ph-field label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; font-weight: 800; margin-bottom: 6px; }
.ph-field > b { font-size: 15px; } .ph-field > b.big { font-size: 28px; display: block; text-align: center; padding: 8px 0; }
.ph-input { width: 100%; border: 1px solid #E6ECE8; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; color: inherit; }
.ph-stepper { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ph-stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E6ECE8; background: #F6F8FA; display: grid; place-items: center; }
.ph-stepper button svg { width: 22px; height: 22px; }
.ph-stepper b { font-size: 30px; min-width: 90px; text-align: center; letter-spacing: -.02em; }
.ph-photo { margin-top: 10px; border: 2px dashed #CBD3DA; border-radius: 14px; padding: 16px; display: grid; justify-items: center; gap: 6px; color: #7A8794; font-size: 13px; font-weight: 700; }
.ph-photo svg { width: 28px; height: 28px; } .ph-photo small { font-weight: 600; }
.ph-foods { display: grid; gap: 6px; max-height: 250px; overflow: auto; }
.ph-food { text-align: left; border: 1px solid #E6ECE8; background: #fff; border-radius: 10px; padding: 8px 10px; display: grid; }
.ph-food b { font-size: 13.5px; } .ph-food small { color: #7A8794; font-size: 11.5px; }
.ph-food.on { border-color: var(--ph-dark); background: var(--ph-ice); }
.ph-radio { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-radio.col { flex-direction: column; }
.ph-radio button { border: 1px solid #E6ECE8; background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.ph-radio button small { color: #7A8794; font-weight: 600; font-size: 12px; }
.ph-radio button.on { border-color: var(--ph-dark); background: var(--ph-ice); color: var(--ph-dark); }
.ph-radio.big { padding: 0 0; } .ph-radio.big button { padding: 14px 16px; font-size: 16px; }
.ph-voice { display: grid; justify-items: center; gap: 12px; padding: 30px 10px; text-align: center; }
.ph-voice-ring { width: 110px; height: 110px; border-radius: 50%; background: var(--ph-ice); display: grid; place-items: center; color: var(--ph-dark); }
.ph-voice-ring svg { width: 48px; height: 48px; }
.ph-voice-ring.on { animation: ph-listen 1s ease-in-out infinite; background: var(--ph-mid); }
@keyframes ph-listen { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 143, 212, .35); } 50% { box-shadow: 0 0 0 18px rgba(59, 143, 212, 0); } }
.ph-voice p { margin: 0; font-weight: 800; } .ph-voice small { color: #7A8794; font-size: 12.5px; }
.ph-voice-txt { font-size: 16px !important; font-style: italic; font-weight: 600 !important; color: #3A4650; }
.ph-voice-card { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; width: 100%; text-align: left; }
.ph-voice-card svg { width: 26px; height: 26px; color: var(--ph-dark); } .ph-voice-card b { display: block; } .ph-voice-card span { font-size: 12.5px; color: #7A8794; }
.ph-drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 290px; background: #fff; z-index: 8; padding: 50px 0 20px; overflow: auto; animation: ph-slide .25s ease-out; display: grid; align-content: start; }
@keyframes ph-slide { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.ph-drawer-head { padding: 0 18px 14px; display: grid; gap: 2px; justify-items: start; }
.ph-drawer-head b { font-size: 15px; } .ph-drawer-head span { font-size: 12px; color: #7A8794; }
.ph-drawer button { border: 0; background: none; display: flex; align-items: center; gap: 12px; padding: 11px 18px; text-align: left; font-size: 14px; font-weight: 600; }
.ph-drawer button svg { width: 22px; height: 22px; color: var(--ph-dark); }
.ph-drawer hr { border: 0; border-top: 1px solid #EEF2F4; margin: 4px 18px; }
.ph-drawer-tog { display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; font-size: 14px; font-weight: 600; }
.ph-drawer-tog > span { display: flex; align-items: center; gap: 12px; } .ph-drawer-tog svg { width: 22px; height: 22px; color: var(--ph-dark); }
.ph-drawer-tog em { font-style: normal; font-size: 11px; color: #7A8794; text-transform: uppercase; }
.ph-ns .ph-card b { font-size: 15px; }
.ph-scan { display: grid; justify-items: center; gap: 10px; padding: 20px 0; text-align: center; }
.ph-scan-box { width: 180px; height: 180px; border-radius: 18px; border: 3px solid var(--ph-dark); position: relative; overflow: hidden; background: #0B0F14; }
.ph-scan-box span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ph); box-shadow: 0 0 12px var(--ph); animation: ph-scan 1.6s ease-in-out infinite alternate; }
@keyframes ph-scan { from { top: 12px; } to { top: 160px; } }
.ph-scan p { margin: 0; font-size: 13px; color: #5E6A63; } .ph-scan b { font-size: 16px; letter-spacing: .04em; }
.ph-alert { position: absolute; inset: 0; z-index: 9; background: rgba(10, 20, 30, .55); display: grid; place-items: center; padding: 24px; }
.ph-alert-card { background: #fff; border-radius: 22px; padding: 22px 20px 18px; width: 100%; display: grid; justify-items: center; gap: 6px; text-align: center; animation: ph-up .25s ease-out; border-top: 6px solid #E8951A; }
.ph-alert.lv-alarm .ph-alert-card { border-top-color: #E04848; }
.ph-alert.c-high .ph-alert-card, .ph-alert.c-predhigh .ph-alert-card, .ph-alert.c-rise .ph-alert-card { border-top-color: #E8951A; }
.ph-alert.c-low .ph-alert-card, .ph-alert.c-predlow .ph-alert-card, .ph-alert.c-fall .ph-alert-card, .ph-alert.c-urgent .ph-alert-card { border-top-color: #E04848; }
.ph-alert.c-bt .ph-alert-card { border-top-color: #3B8FD4; }
.ph-alert-ic { width: 54px; height: 54px; border-radius: 50%; background: #FDE8E8; color: #E04848; display: grid; place-items: center; }
.ph-alert.c-high .ph-alert-ic, .ph-alert.c-rise .ph-alert-ic, .ph-alert.c-predhigh .ph-alert-ic { background: #FDF1DC; color: #E8951A; }
.ph-alert.c-bt .ph-alert-ic { background: #EAF3FC; color: #1E6FB0; }
.ph-alert-ic svg { width: 28px; height: 28px; }
.ph-alert.lv-alarm .ph-alert-ic { animation: gl-pulse 1s ease-in-out infinite; }
.ph-alert-card b { font-size: 17px; }
.ph-alert-v { font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.ph-alert-v small { font-size: 13px; color: #7A8794; font-weight: 700; }
.ph-alert-card p { margin: 0; font-size: 13.5px; color: #3A4650; }
.ph-alert-card small { color: #7A8794; font-size: 12px; }
.ph-alert-card .ph-btn { width: 100%; margin: 8px 0 0; }
.ph-alert.follow .ph-alert-card small:first-of-type { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ph-dark); font-weight: 800; }
.gl-phone-screen.is-locked { background: linear-gradient(170deg, #0F2E4F, #164A6B 55%, #1B6B5A); color: #fff; }
.is-locked .ph-status { color: #fff; } .is-locked .ph-bat { border-color: #fff; } .is-locked .ph-bat b { background: #fff; }
.ph-lock { flex: 1; display: grid; align-content: start; justify-items: center; gap: 6px; padding: 60px 18px 0; text-align: center; }
.ph-lock-time { font-size: 74px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.ph-lock-date { font-size: 15px; opacity: .85; }
.ph-notif { margin-top: 30px; width: 100%; border: 0; background: rgba(255, 255, 255, .92); color: #1A2330; border-radius: 18px; padding: 12px 14px; text-align: left; display: grid; gap: 3px; animation: ph-up .3s ease-out; }
.ph-notif-app { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #5E6A63; display: flex; align-items: center; gap: 6px; font-weight: 800; }
.ph-notif-app svg { width: 16px; height: 16px; color: var(--ph-dark); }
.ph-notif b { font-size: 14.5px; } .ph-notif small { font-size: 12px; color: #7A8794; }
.ph-unlock { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .15); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.ph-unlock svg { width: 18px; height: 18px; }
.ph-toast { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); background: rgba(26, 35, 48, .92); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700; z-index: 10; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; animation: gl-in .25s ease-out; }
.ph-help p { font-size: 14px; }

/* ═════════ Follow (fl) ═════════ */
.fl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E04848; margin-left: 4px; vertical-align: middle; }
.fl-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 50px 14px; color: #5E6A63; }
.fl-empty svg { width: 48px; height: 48px; color: #B9C4CE; } .fl-empty p { margin: 0; font-weight: 800; color: #1A2330; } .fl-empty small { font-size: 12.5px; }
.fl-person { width: 100%; border: 0; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; text-align: left; }
.fl-p-who { flex: 1; min-width: 0; } .fl-p-who b { display: block; font-size: 15px; } .fl-p-who span { font-size: 12px; color: #7A8794; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-p-val { display: grid; justify-items: end; line-height: 1; } .fl-p-val b { font-size: 26px; font-weight: 900; } .fl-p-val .gl-arrow { width: 22px; height: 22px; } .fl-p-val small { font-size: 11px; color: #7A8794; }
.fl-p-val.z-lo b, .fl-p-val.z-urgent b { color: #E04848; } .fl-p-val.z-hi b { color: #E8951A; } .fl-p-val.z-ok b { color: #2E9E5B; }
.fl-person > svg { width: 22px; height: 22px; color: #B9C4CE; }
.fl-invite { background: #fff; border-radius: 16px; padding: 16px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.fl-invite b { font-size: 15px; } .fl-invite span { font-size: 12.5px; color: #7A8794; } .fl-invite p { margin: 4px 0; font-size: 13px; font-style: italic; } .fl-invite small { font-size: 11px; color: #7A8794; }
.fl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 8px; }
.fl-btns .ph-btn { width: 100%; margin: 0; }
.fl-live { display: grid; justify-items: center; gap: 2px; padding: 24px 0 8px; line-height: 1; }
.fl-live b { font-size: 72px; font-weight: 900; letter-spacing: -.04em; }
.fl-live-u { font-size: 14px; color: #7A8794; font-weight: 700; }
.fl-live small { font-size: 12px; color: #7A8794; margin-top: 6px; }
.fl-live.z-lo b, .fl-live.z-urgent b { color: #E04848; } .fl-live.z-hi b { color: #E8951A; } .fl-live.z-ok b { color: #2E9E5B; }
.fl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.fl-grid small { display: block; font-size: 10.5px; color: #7A8794; text-transform: uppercase; letter-spacing: .05em; } .fl-grid b { font-size: 17px; }

/* ═════════ AnytimeView (av) ═════════ */
.gl-laptop-screen[data-skin="at5"] { --ph: var(--at5, #3B8FD4); --ph-dark: var(--at5-dark, #1E6FB0); --ph-ice: var(--at5-ice, #EAF3FC); --ph-mid: var(--at5-mid, #BFDCF7); }
.gl-laptop-screen[data-skin="ct3"] { --ph: var(--ct3, #5CB85C); --ph-dark: var(--ct3-dark, #3D9140); --ph-ice: var(--ct3-ice, #EEF8EE); --ph-mid: var(--ct3-mid, #C4E8C4); }
.av-url { flex: none; display: flex; align-items: center; gap: 12px; background: #E9EEF2; padding: 6px 12px; font-size: 12px; color: #3A4650; }
.av-dots { display: inline-flex; gap: 5px; } .av-dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DA; }
.av-addr { background: #fff; border-radius: 8px; padding: 4px 10px; flex: 1; display: flex; align-items: center; gap: 6px; }
.av-addr svg { width: 12px; height: 12px; color: #2E9E5B; }
.av-login { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.av-login-dark { background: radial-gradient(600px 400px at 20% 20%, rgba(135, 195, 245, .25), transparent 60%), linear-gradient(160deg, #0E2F4A, #163B55 60%, #1F6B4A); color: #fff; padding: 60px 48px; display: grid; align-content: center; gap: 12px; }
.av-login-dark b { font-size: 34px; letter-spacing: -.02em; } .av-login-dark p { margin: 0; font-size: 16px; opacity: .9; max-width: 40ch; line-height: 1.5; } .av-login-dark small { opacity: .7; }
.av-login-form { padding: 60px 70px; display: grid; gap: 14px; align-content: center; }
.av-login-form h3 { margin: 0 0 6px; font-size: 24px; }
.av-login-form label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; font-weight: 800; }
.av-login-form input { border: 1px solid #DDE3E7; border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; color: #1A2330; background: #fff; }
.av-captcha { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.av-captcha-img { height: 42px; width: 110px; background: #F3F7F5; border-radius: 8px; }
.av-captcha-img text { font-size: 20px; font-weight: 900; fill: #3A4650; letter-spacing: 4px; font-style: italic; }
.av-captcha-img path { stroke-width: 1.5; }
.av-links { font-size: 13px; color: #7A8794; margin: 0; text-align: center; }
.av-btn { border: 1px solid #DDE3E7; background: #fff; color: #1A2330; border-radius: 10px; padding: 9px 14px; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.av-btn.primary { background: var(--ph-dark); color: #fff; border-color: var(--ph-dark); }
.av-btn.small { padding: 5px 10px; font-size: 12px; }
.av-btn svg { width: 16px; height: 16px; }
.av-lnk { border: 0; background: none; color: var(--ph-dark); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.av-lnk svg { width: 16px; height: 16px; }
.av-app { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #F3F6F8; }
.av-top { flex: none; display: flex; align-items: center; gap: 22px; padding: 0 18px; height: 54px; background: #15202B; color: #fff; }
.av-brand { font-size: 17px; letter-spacing: -.01em; } .av-brand small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; margin-left: 6px; }
.av-nav { display: flex; gap: 4px; flex: 1; }
.av-nav button { border: 0; background: none; color: rgba(255, 255, 255, .75); padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.av-nav button svg { width: 18px; height: 18px; }
.av-nav button.on { background: rgba(255, 255, 255, .14); color: #fff; }
.av-top-r { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; }
.av-top .av-lnk { color: rgba(255, 255, 255, .85); }
.av-user { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px 12px; font-weight: 700; }
.av-user svg { width: 16px; height: 16px; }
.av-main { flex: 1; min-height: 0; overflow: auto; padding: 18px 22px 30px; }
.av-h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.01em; }
.av-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.av-row.sub { margin: 4px 0 10px; }
.av-row-r { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.av-search { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #DDE3E7; border-radius: 10px; padding: 6px 10px; }
.av-search svg { width: 16px; height: 16px; color: #7A8794; }
.av-search input { border: 0; font: inherit; font-size: 13px; width: 180px; color: inherit; background: transparent; }
.av-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.av-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); margin-bottom: 14px; min-width: 0; }
.av-cards .av-card { margin-bottom: 0; }
.av-card h3 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.av-card h3 small { color: #7A8794; font-weight: 600; font-size: 11.5px; }
.av-card.kpi small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; font-weight: 800; }
.av-card.kpi b { display: block; font-size: 28px; letter-spacing: -.02em; margin-top: 4px; }
.av-card.kpi b small { display: inline; font-size: 12px; text-transform: none; letter-spacing: 0; }
.av-card.kpi.warn { box-shadow: inset 0 0 0 1.5px #F0C36D; }
.av-card.scroll { max-height: 420px; overflow: auto; }
.av-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.av-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.av-grid2.wide { grid-template-columns: 380px 1fr; }
.av-grid2 .av-card, .av-grid3 .av-card { margin-bottom: 14px; }
.av-bars { display: grid; gap: 8px; }
.av-bar { display: grid; grid-template-columns: 70px 1fr 24px; align-items: center; gap: 8px; font-size: 12.5px; }
.av-bar i { display: block; height: 12px; border-radius: 6px; background: var(--ph); min-width: 2px; }
.av-bars.type .av-bar { grid-template-columns: 110px 1fr 24px; }
.av-donut { display: flex; gap: 16px; align-items: center; }
.av-donut svg { width: 110px; height: 110px; }
.av-donut circle { fill: none; stroke-width: 7; } .av-donut .d-m { stroke: var(--ph-mid); } .av-donut .d-f { stroke: var(--ph-dark); }
.av-donut-key { display: grid; gap: 6px; font-size: 13px; }
.av-donut-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.av-donut-key .d-m { background: var(--ph-mid); } .av-donut-key .d-f { background: var(--ph-dark); }
.av-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.av-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; padding: 8px 10px; border-bottom: 1px solid #E6ECE8; white-space: nowrap; }
.av-table td { padding: 9px 10px; border-bottom: 1px solid #EEF2F4; vertical-align: middle; }
.av-table td small { color: #7A8794; }
.av-table.small td, .av-table.small th { padding: 5px 8px; font-size: 12.5px; }
.av-table td.bad { color: #B42318; font-weight: 800; } .av-table td.good { color: #1E7A43; font-weight: 700; }
.av-table td.z-lo b, .av-table td.z-urgent b { color: #E04848; } .av-table td.z-hi b { color: #E8951A; } .av-table td.z-ok b { color: #2E9E5B; }
.av-table.hourly td:first-child { font-weight: 700; }
.av-mini-bar { display: block; width: 80px; height: 8px; border-radius: 4px; background: #EEF2F4; overflow: hidden; }
.av-mini-bar b { display: block; height: 100%; background: #2E9E5B; }
.av-notice { display: flex; align-items: center; gap: 8px; background: #FFF4D6; color: #6B4A00; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 12px; }
.av-notice svg { width: 18px; height: 18px; flex: none; }
.av-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.av-kv span { color: #7A8794; } .av-kv.wide { grid-template-columns: 1fr auto; } .av-kv.wide b { text-align: right; }
.av-phead { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; }
.av-phead-who b { display: block; font-size: 18px; } .av-phead-who span { display: block; font-size: 12.5px; color: #5E6A63; }
.av-phead-live { display: grid; justify-items: center; line-height: 1; text-align: center; }
.av-phead-live b { font-size: 34px; font-weight: 900; } .av-phead-live small { font-size: 11px; color: #7A8794; margin-top: 2px; }
.av-phead-live.z-lo b, .av-phead-live.z-urgent b { color: #E04848; } .av-phead-live.z-hi b { color: #E8951A; } .av-phead-live.z-ok b { color: #2E9E5B; }
.av-phead-sn { display: grid; text-align: right; } .av-phead-sn small { font-size: 11px; color: #7A8794; } .av-phead-sn b { font-size: 13px; }
.av-tabs { display: flex; gap: 4px; border-bottom: 2px solid #E6ECE8; margin-bottom: 12px; }
.av-tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; font-size: 13.5px; color: #5E6A63; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.av-tabs button.on { color: var(--ph-dark); border-bottom-color: var(--ph-dark); }
.av-subtabs { display: inline-flex; gap: 4px; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 4px; }
.av-subtabs button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; font-weight: 700; font-size: 12.5px; color: #3A4650; }
.av-subtabs button.on { background: var(--ph-dark); color: #fff; }
.av-period { display: inline-flex; gap: 2px; background: #fff; border-radius: 10px; padding: 3px; }
.av-period button { border: 0; background: none; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.av-period button.on { background: #E9EEF2; }
.av-range { color: #7A8794; font-size: 12px; }
.av-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.av-thumb { background: #F8FAFB; border-radius: 10px; padding: 6px; }
.av-thumb small { display: block; font-size: 11px; font-weight: 700; color: #3A4650; margin-bottom: 2px; }
.av-thumb .glc { width: 100%; height: auto; }
.av-thumb.empty p { margin: 0; font-size: 11px; color: #7A8794; padding: 24px 0; text-align: center; }
.av-day .glc { width: 100%; height: auto; }
.av-day-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.av-day-head span { color: #5E6A63; }
.av-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.av-cal-h { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; font-weight: 800; text-align: center; padding: 4px 0; }
.av-cal-c { min-height: 74px; border-radius: 10px; background: #F8FAFB; padding: 6px 8px; display: grid; align-content: start; gap: 1px; font-size: 11px; color: #3A4650; }
.av-cal-c b { font-size: 13px; }
.av-cal-c small { color: #7A8794; display: inline-flex; align-items: center; gap: 3px; } .av-cal-c small svg { width: 11px; height: 11px; }
.av-cal-c.empty { background: transparent; }
.av-cal-c.has.z-ok { background: #E4F5EA; } .av-cal-c.has.z-mid { background: #FDF1DC; } .av-cal-c.has.z-bad { background: #FDE8E8; }
.av-cal-c.today { box-shadow: inset 0 0 0 2px var(--ph-dark); }
.av-radio { display: grid; gap: 6px; margin: 10px 0; }
.av-radio button { border: 1px solid #DDE3E7; background: #fff; border-radius: 10px; padding: 9px 12px; text-align: left; font-weight: 700; font-size: 13px; }
.av-radio button.on { border-color: var(--ph-dark); background: var(--ph-ice); color: var(--ph-dark); }
.av-stepper { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.av-stepper > span { flex: 1; color: #5E6A63; } .av-stepper b { min-width: 110px; text-align: center; }
.av-sensors { font-size: 12px; color: #5E6A63; margin: -4px 0 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.av-sensors svg { width: 14px; height: 14px; } .av-sensors b { color: #1A2330; }
.av-table tr.av-wkh td { background: #F3F6F8; font-weight: 800; font-size: 12px; color: #3A4650; }
.av-table tr.av-wk td { background: #EAF3FC; font-weight: 800; }
.av-modal-bg { position: absolute; inset: 0; background: rgba(10, 20, 30, .45); z-index: 5; }
.av-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 18px; padding: 22px 24px; width: 440px; z-index: 6; display: grid; gap: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.av-modal h3 { margin: 0; font-size: 18px; }
.av-modal label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7A8794; font-weight: 800; }
.av-modal input { border: 1px solid #DDE3E7; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; color: #1A2330; }
.av-modal-btns { display: flex; justify-content: flex-end; gap: 8px; }
.av-toast { bottom: 24px; }
.av-main .ph-q { border-color: var(--ph-mid); background: var(--ph-ice); color: var(--ph-dark); }
.av-main .ph-tirbar.av { grid-template-columns: 1fr; }
.tb.vert { height: 26px; }

/* ═════════ yasal ═════════ */
.gl-legal { margin-top: 18px; color: var(--muted); font-size: .84rem; }
.gl-legal-short { margin: 0 0 8px; }
.gl-legal-full summary { cursor: pointer; font-weight: 700; color: var(--acc-dark); }
.gl-legal-full p { margin: 8px 0; line-height: 1.6; }

/* ═════════ duyarlı ═════════ */
@media (max-width: 1240px) {
  .gl-bar { display: flex; flex-wrap: wrap; }
  .gl-scbtn { flex: 1 1 240px; }
  .gl-main { grid-template-columns: minmax(0, 1fr) 300px; }
  .gl-col-eco { grid-column: 1 / -1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; }
  .gl-eco-card { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .gl-bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand tools" "side side" "sc sc" "time time"; gap: 8px; }
  .gl-brand { grid-area: brand; } .gl-tools { grid-area: tools; justify-self: end; }
  .gl-sideseg { grid-area: side; display: flex; } .gl-sideseg button { flex: 1; }
  .gl-scbtn { grid-area: sc; }
  .gl-timebox { grid-area: time; flex-wrap: wrap; justify-content: center; }
  .gl-speeds { flex-wrap: wrap; justify-content: center; }
  .gl-toasts { position: fixed; top: auto; bottom: 14px; left: 10px; right: 10px; width: auto; z-index: 60; }
  .gl-overlay { position: fixed; inset: 0; border-radius: 0; z-index: 10070; padding: 12px 10px; }
  .gl-zoom { position: fixed; inset: 0; border-radius: 0; z-index: 10065; }
  .gl-main { grid-template-columns: 1fr; }
  .gl-col-phone { max-width: 400px; margin: 0 auto; width: 100%; }
  .gl-col-eco { grid-template-columns: 1fr; }
  .gl-foot { grid-template-columns: 1fr; }
  .gl-intro-grid { grid-template-columns: 1fr; }
  .av-grid3, .av-grid2, .av-grid2.wide { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gl-arena { aspect-ratio: 1 / 1; }
  .gl-mag { width: 112px; bottom: 10px; left: 10px; }
  .gl-mag-cv { width: 112px; height: 112px; }
  .gl-mag-lab { font-size: .56rem; padding: 3px 6px; }
  .gl-hud-clock b { font-size: 1.1rem; }
  .gl-arena .gl-hint { display: none; }
  .gl-app { padding: 10px; border-radius: 18px; }
  .gl-brand small { display: none; }
  .gl-speeds button { padding: 6px 6px; }
  .gl-dock-b { min-width: 70px; font-size: .68rem; }
  .gl-side-cards { grid-template-columns: 1fr 1fr; }
  .gl-dialog, .gl-intro { padding: 18px 16px; }
  .gl-rep-kpis { grid-template-columns: 1fr 1fr; }
  .gl-zoom { inset: 4px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl *, .gl *::before, .gl *::after { animation: none !important; transition: none !important; }
}
