:root{--bg:#f2f5f9;--surface:#fff;--surface-2:#f6f8fb;--text:#0f141a;--text-secondary:#3b4350;--text-muted:#69717d;--border:#c7d0db;--primary:#1d5fb8;--primary-strong:#154a92;--primary-soft:#e3edfb;--on-primary:#fff;--danger:#b42318;--danger-soft:#fdecea;--whatsapp:#0f7a43;--grid:#e3e8ee;--band:#0ca30c21;--series-1:#2a78d6;--tooltip-bg:#0f141a;--tooltip-text:#fff;--shadow:0 1px 2px #0f141a0f, 0 4px 14px #0f141a0d;--st-good:#0ca30c;--st-warning:#fab219;--st-serious:#ec835a;--st-critical:#d03b3b;--st-good-text:#0a6a0a;--st-warning-text:#7f5200;--st-serious-text:#a13d14;--st-critical-text:#b01f1f;--st-good-soft:#e5f5e5;--st-warning-soft:#fff3d1;--st-serious-soft:#fde8de;--st-critical-soft:#fde3e3;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;--radius:18px;--nav-h:78px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#111317;--surface:#1b1e23;--surface-2:#23272d;--text:#f1f2f4;--text-secondary:#c9cdd3;--text-muted:#9aa1ab;--border:#3a4049;--primary:#4b8fe6;--primary-strong:#6aa3ec;--primary-soft:#1d2d45;--on-primary:#0b1420;--danger:#f07167;--danger-soft:#3a1d1b;--whatsapp:#25a35a;--grid:#2c3138;--band:#0ca30c33;--series-1:#3987e5;--tooltip-bg:#f1f2f4;--tooltip-text:#0f141a;--shadow:none;--st-good-text:#5fd35f;--st-warning-text:#ffc94d;--st-serious-text:#f4a382;--st-critical-text:#ff8a8a;--st-good-soft:#15301a;--st-warning-soft:#352a0d;--st-serious-soft:#3a2218;--st-critical-soft:#3c1a1a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#111317;--surface:#1b1e23;--surface-2:#23272d;--text:#f1f2f4;--text-secondary:#c9cdd3;--text-muted:#9aa1ab;--border:#3a4049;--primary:#4b8fe6;--primary-strong:#6aa3ec;--primary-soft:#1d2d45;--on-primary:#0b1420;--grid:#2c3138;--series-1:#3987e5;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html{-webkit-text-size-adjust:100%;font-size:20px}html[data-text-size=normal]{font-size:18px}html[data-text-size=large]{font-size:20px}html[data-text-size=xl]{font-size:23px}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-tap-highlight-color:transparent;margin:0;line-height:1.5}html[lang=ur] body{font-family:"Noto Nastaliq Urdu", var(--font);line-height:2.1}html[lang=ur] input,html[lang=ur] textarea,html[lang=ur] select,html[lang=ur] button{font-family:inherit}.num,.tile-value,.last-value,.value-input input,bdi{font-family:var(--font)}h1{margin:0;font-size:1.6rem;line-height:1.25}h2{margin:0 0 .6rem;font-size:1.2rem;line-height:1.3}h3{margin:0 0 .6rem;font-size:1.05rem}html[lang=ur] h1,html[lang=ur] h2,html[lang=ur] h3{line-height:1.9}p{margin:0}a{color:var(--primary)}.lead{color:var(--text-secondary);font-size:1.1rem}.muted{color:var(--text-muted)}.small{font-size:.85rem}.block{display:block}.center{text-align:center}.hint{color:var(--text-secondary);margin-top:.35rem;font-size:.88rem}.error-text{color:var(--danger);margin-top:.35rem;font-weight:600}.success-text{color:var(--st-good-text);font-weight:700}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.print-only{display:none!important}:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.app-shell,.shared-page{min-height:100dvh}.topbar{z-index:10;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{color:var(--primary-strong);align-items:center;gap:10px;min-width:0;font-size:1.05rem;font-weight:800;display:flex}.brand span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.person-pill{background:var(--primary-soft);color:var(--primary-strong);border-radius:999px;align-items:center;gap:6px;max-width:50%;min-height:44px;padding:6px 12px;font-weight:700;display:inline-flex}.person-pill span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.person-select select{appearance:none;color:inherit;font:inherit;cursor:pointer;background-color:#0000;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 9px) 55%,calc(100% - 4px) 55%;background-repeat:no-repeat;background-size:5px 5px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:0;max-width:9em;padding-inline-end:20px;font-weight:700}.content{max-width:680px;padding:16px 16px calc(var(--nav-h) + 32px + env(safe-area-inset-bottom));margin:0 auto}.shared-page .content{max-width:860px;padding-bottom:40px}.setup-screen{padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:40px}.page{padding-top:4px}.stack{flex-direction:column;gap:16px;display:flex}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.row-between{justify-content:space-between;align-items:center;gap:12px;display:flex}.center-screen{flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:16px;display:flex}.bottom-nav{inset-inline:0;z-index:20;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:6px 6px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;box-shadow:0 -2px 12px #0000000d}.bottom-nav a{color:var(--text-secondary);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;margin:2px;font-size:.82rem;font-weight:700;text-decoration:none;display:flex}html[lang=ur] .bottom-nav a{line-height:1.6}.bottom-nav a.active{color:var(--primary-strong);background:var(--primary-soft)}@media (width>=720px){.bottom-nav{border-inline:1px solid var(--border);border-radius:18px 18px 0 0;max-width:680px;margin:0 auto}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;margin:0;padding:18px}fieldset.card{min-inline-size:0}fieldset.card>legend{float:left;width:100%;padding:0}fieldset.card>legend+*{clear:both}.card.empty{text-align:center;color:var(--text-secondary);padding:28px 18px;font-size:1.05rem}.btn{min-height:56px;font:inherit;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;border:2px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:10px 18px;font-size:1rem;font-weight:700;line-height:1.25;text-decoration:none;transition:transform 60ms,background .15s;display:inline-flex}html[lang=ur] .btn{line-height:1.8}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--primary);color:var(--on-primary)}.btn-primary:hover{background:var(--primary-strong)}.btn-secondary{background:var(--surface);color:var(--primary-strong);border-color:var(--primary)}.btn-secondary:hover{background:var(--primary-soft)}.btn-link{color:var(--primary-strong);text-underline-offset:3px;background:0 0;min-height:48px;padding:6px 4px;text-decoration:underline}.btn-danger{background:var(--danger);color:#fff}.btn-danger-outline{background:var(--surface);color:var(--danger);border-color:var(--danger)}.btn-whatsapp{background:var(--whatsapp);color:#fff}.btn-lg{min-height:60px;font-size:1.02rem}.btn-stacked{flex-direction:column;gap:4px;min-height:84px;padding:10px 8px}.btn-xl{width:100%;min-height:66px;font-size:1.18rem}.btn-hero{border-radius:22px;flex-direction:row;width:100%;min-height:104px;font-size:1.4rem;box-shadow:0 6px 18px #1d5fb84d}.btn-icon{background:var(--primary-soft);width:60px;min-height:60px;color:var(--primary-strong);border-radius:50%;padding:0}.back-link{align-self:flex-start;text-decoration:none}html[dir=rtl] .back-link .icon{transform:scaleX(-1)}.chip{border:2px dashed var(--primary);background:var(--primary-soft);min-height:48px;color:var(--primary-strong);font:inherit;cursor:pointer;border-radius:999px;align-self:flex-start;padding:8px 16px;font-weight:700}.icon{flex:none}.field{border:0;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.field>label,.field>legend,.field>span{padding:0;font-size:1rem;font-weight:700}.field legend{margin-bottom:8px}.field-input{display:flex;position:relative}input,textarea,select{font:inherit;color:var(--text)}.field input,.field textarea,.datetime,.custom-range input{background:var(--surface);border:2px solid var(--border);border-radius:12px;width:100%;min-height:58px;padding:12px 14px;font-size:1.1rem}.field textarea{resize:vertical;min-height:96px}.field input:focus,.field textarea:focus,.datetime:focus{border-color:var(--primary);outline:3px solid var(--primary-soft)}.pw-toggle{inset-inline-end:6px;background:var(--primary-soft);min-height:46px;color:var(--primary-strong);font:inherit;cursor:pointer;border:0;border-radius:10px;padding:0 12px;font-weight:700;position:absolute;top:50%;transform:translateY(-50%)}.field-input input[type=password],.field-input input[autocomplete$=password]{padding-inline-end:96px}.choices{gap:10px;display:grid}.choice{border:2px solid var(--border);background:var(--surface);min-height:58px;color:var(--text);font:inherit;text-align:start;cursor:pointer;border-radius:12px;padding:10px 14px;font-weight:600;position:relative}.choice.selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong);font-weight:800}.choice.selected:after{content:"✓";inset-inline-end:12px;font-weight:900;position:absolute;top:50%;transform:translateY(-50%)}.choices[style*=repeat\(2] .choice,.choices[style*=repeat\(3] .choice{text-align:center}.error-box{background:var(--danger-soft);color:var(--danger);border:2px solid var(--danger);border-radius:12px;padding:12px 14px;font-weight:700}.welcome{max-width:520px;padding:calc(16px + env(safe-area-inset-top)) 16px 32px;flex-direction:column;gap:20px;margin:0 auto;display:flex}.welcome-hero{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:12px 0;display:flex}.welcome-hero h1{color:var(--primary-strong);font-size:2rem}.lang-toggle{background:var(--surface);border:1px solid var(--border);border-radius:14px;grid-template-columns:1fr 1fr;align-self:center;gap:6px;padding:5px;display:inline-grid}.lang-toggle button{min-width:110px;min-height:48px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:1rem;font-weight:700}.lang-toggle button[lang=ur]{font-family:"Noto Nastaliq Urdu", var(--font)}.topbar .lang-toggle button{min-width:64px;min-height:44px;font-size:.9rem}.lang-toggle button.selected{background:var(--primary);color:var(--on-primary)}.disclaimer{margin-top:8px}.greeting{color:var(--text-secondary);font-size:1.1rem}.last-card{border-inline-start:10px solid var(--st-good);text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.last-very_low,.last-very_high{border-inline-start-color:var(--st-critical)}.last-low{border-inline-start-color:var(--st-serious)}.last-high{border-inline-start-color:var(--st-warning)}.last-label{color:var(--text-secondary);font-weight:700}.last-value{direction:ltr;justify-content:center;align-items:baseline;gap:8px;display:flex}.last-value .num{font-size:3.6rem;font-weight:800;line-height:1}.unit{color:var(--text-secondary);font-size:1rem;font-weight:700}.last-meta{color:var(--text-secondary)}.advice{text-align:start;border-radius:12px;width:100%;padding:12px 14px;font-weight:600}.advice-very_low,.advice-very_high{background:var(--st-critical-soft);color:var(--st-critical-text);border:2px solid var(--st-critical)}.advice-low{background:var(--st-serious-soft);color:var(--st-serious-text)}.advice-high{background:var(--st-warning-soft);color:var(--st-warning-text)}.advice-normal{background:var(--st-good-soft);color:var(--st-good-text)}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:.82rem;font-weight:800;line-height:1.6;display:inline-flex}html[lang=ur] .badge{line-height:1.9}.badge-big{padding:4px 16px;font-size:1.05rem}.target-hint{color:var(--text-secondary);white-space:nowrap;font-size:.75rem;font-weight:600}.target-hint-big{font-size:.95rem}.preview{flex-direction:column;align-items:center;gap:6px;display:flex}.badge-normal{background:var(--st-good-soft);color:var(--st-good-text)}.badge-high{background:var(--st-warning-soft);color:var(--st-warning-text)}.badge-low{background:var(--st-serious-soft);color:var(--st-serious-text)}.badge-very_low,.badge-very_high{background:var(--st-critical);color:#fff}.tiles{gap:10px;display:grid}.tiles-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tiles-4{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width>=560px){.tiles-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.tile{background:var(--surface-2);border-radius:14px;min-width:0;padding:12px}.tile-strong{background:var(--primary-soft)}.tile-label{color:var(--text-secondary);font-size:.85rem;font-weight:700;line-height:1.3}html[lang=ur] .tile-label{line-height:1.8}.tile-value{margin-top:4px;font-size:1.7rem;font-weight:800;line-height:1.2}.tile-unit{color:var(--text-secondary);font-size:.8rem;font-weight:700}.tile-sub{color:var(--text-muted);font-size:.8rem}.reading-list{flex-direction:column;gap:8px;display:flex}.reading-row{background:var(--surface-2);width:100%;min-height:70px;color:var(--text);font:inherit;text-align:start;cursor:pointer;border:1px solid #0000;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.reading-row:hover{border-color:var(--border)}div.reading-row{cursor:default}.reading-ctx-icon{font-size:1.6rem}.reading-main{flex-direction:column;min-width:0;display:flex}.reading-ctx{text-overflow:ellipsis;font-weight:700;overflow:hidden}.reading-time{color:var(--text-secondary);font-size:.88rem}.reading-value{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.reading-value .num{font-size:1.6rem;font-weight:800;line-height:1.1}.day-heading{color:var(--text-secondary);font-size:1.05rem}.big-label{margin-bottom:10px;padding:0;font-size:1.15rem;font-weight:800;display:block}.value-input{border:3px solid var(--border);background:var(--surface);direction:ltr;border-radius:18px;align-items:center;gap:10px;padding:6px 18px;display:flex}.value-input:focus-within{border-color:var(--primary);outline:4px solid var(--primary-soft)}.value-input input{text-align:center;letter-spacing:.02em;background:0 0;border:0;outline:0;flex:1;width:100%;min-width:0;padding:6px 0;font-size:3.4rem;font-weight:800}.value-input input::placeholder{color:var(--border);font-weight:400}.value-input .unit{font-size:1.1rem}.value-high{border-color:var(--st-warning)}.value-low{border-color:var(--st-serious)}.value-very_low,.value-very_high{border-color:var(--st-critical)}.value-normal{border-color:var(--st-good)}.preview{text-align:center;margin-top:10px}.ctx-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ctx-tile{border:2px solid var(--border);background:var(--surface);min-height:100px;color:var(--text);font:inherit;text-align:center;cursor:pointer;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 4px;font-size:.85rem;font-weight:700;line-height:1.25;display:flex;position:relative}html[lang=ur] .ctx-tile{font-size:.8rem;line-height:1.7}.ctx-emoji{font-size:1.9rem;line-height:1.2}.ctx-tile.selected{border:3px solid var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.ctx-tile.selected:after{content:"✓";top:4px;background:var(--primary);width:24px;height:24px;color:var(--on-primary);text-align:center;border-radius:50%;font-size:.8rem;line-height:24px;position:absolute;inset-inline-end:6px}.time-display{font-size:1.1rem;font-weight:600}.datetime{margin-top:12px}.more-toggle{padding:0;font-size:1.05rem;text-decoration:none}.sticky-save{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);z-index:5;padding-top:8px;position:sticky}.sticky-save .btn{box-shadow:0 6px 18px #0000002e}.result-card{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:28px 18px;display:flex}.result-check{background:var(--st-good);color:#fff;border-radius:50%;width:72px;height:72px;font-size:2.4rem;font-weight:900;line-height:72px}.period-picker{flex-direction:column;gap:12px;display:flex}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;display:grid}.segmented button{min-height:52px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:4px 6px;font-size:.95rem;font-weight:700}.segmented button:last-child{grid-column:1/-1;min-height:46px}.segmented button.selected{background:var(--primary);color:var(--on-primary)}.period-nav{justify-content:space-between;align-items:center;gap:10px;display:flex}.period-label{text-align:center;flex:1;font-size:1.12rem;font-weight:800}.custom-range .field{gap:4px}.report-header h2{color:var(--primary-strong)}.meta-list{gap:6px;margin:0;display:grid}.meta-list div{gap:0;display:grid}.meta-list dt{color:var(--text-secondary);font-size:.82rem;font-weight:700}@media (width>=560px){.meta-list div{grid-template-columns:11em 1fr;gap:10px}.meta-list dt{font-size:1rem}}.meta-list dd{margin:0;font-weight:600}.split-bar{background:var(--grid);border-radius:8px;gap:2px;height:24px;display:flex;overflow:hidden}.seg{min-width:4px;display:block}.seg-normal,.dot-normal{background:var(--st-good)}.seg-high,.dot-high{background:var(--st-warning)}.seg-low,.dot-low{background:var(--st-serious)}.seg-very_low,.seg-very_high,.dot-very_low,.dot-very_high{background:var(--st-critical)}.split-legend{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.split-legend li{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.dot{color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;font-size:.8rem;font-weight:900;display:grid}.dot-high{color:#3d2a00}.split-count{color:var(--text-secondary);font-weight:700}.chart-box{direction:ltr;width:100%;height:290px;position:relative}.chart-legend{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:10px;font-size:.85rem;display:flex}.lg-item{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.lg-mark{font-size:1.1em}.lg-normal{color:var(--st-good)}.lg-high{color:var(--st-warning)}.lg-low{color:var(--st-serious)}.legend-band{background:var(--band);border:1px solid var(--st-good);border-radius:3px;width:22px;height:12px;display:inline-block}.legend-dash{border-top:2px dashed var(--text-muted);width:22px;display:inline-block}.table-scroll{margin-inline:-6px;padding-inline:6px;overflow-x:auto}.logbook{border-collapse:separate;border-spacing:0;width:100%;font-size:.92rem}.logbook th,.logbook td{border-bottom:1px solid var(--grid);text-align:center;vertical-align:top;white-space:nowrap;padding:8px}.logbook thead th{color:var(--text-secondary);white-space:normal;vertical-align:bottom;min-width:4.6em;font-size:.78rem}.logbook tbody th,.logbook tfoot th{text-align:start;background:var(--surface);font-weight:700;position:sticky;inset-inline-start:0}.logbook thead th:first-child{background:var(--surface);position:sticky;inset-inline-start:0}.logbook tfoot td,.logbook tfoot th{border-top:2px solid var(--border);border-bottom:0;font-weight:800}.lv{border-radius:6px;padding:1px 4px;font-weight:700;display:block}.lv+.lv{margin-top:3px}.lv-normal{color:var(--st-good-text)}.lv-high{color:var(--st-warning-text);background:var(--st-warning-soft)}.lv-low{color:var(--st-serious-text);background:var(--st-serious-soft)}.lv-very_low,.lv-very_high{color:#fff;background:var(--st-critical)}.lv-icon{margin-inline-start:2px}.lv-flag{opacity:.8;margin-inline-start:3px;font-size:.75em}.notes-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.notes-list li{background:var(--surface-2);border-radius:12px;padding:10px 12px}.note-meta{color:var(--text-secondary);font-size:.85rem}.sheet{background:var(--surface);width:100%;max-width:560px;color:var(--text);border:0;border-radius:24px 24px 0 0;max-height:92dvh;margin:auto auto 0;padding:0}@media (width>=600px){.sheet{border-radius:24px;margin:auto}}.sheet::backdrop{background:#0a0e148c}.sheet-body{padding:22px 18px calc(18px + env(safe-area-inset-bottom))}.sheet-btn{justify-content:flex-start;width:100%}.steps{counter-reset:step;gap:12px;margin:0;padding:0;list-style:none;display:grid}.steps li{grid-template-columns:52px 1fr;align-items:center;gap:12px;font-weight:600;display:grid}.step-icon{background:var(--primary-soft);border-radius:50%;place-items:center;width:52px;height:52px;font-size:1.5rem;display:grid}.why-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.why-list li{grid-template-columns:32px 1fr;align-items:start;gap:10px;display:grid}.why-list li>span:first-child{font-size:1.3rem}.reminder{color:var(--text);border:2px dashed var(--primary);background:var(--primary-soft);align-items:center;gap:12px;font-weight:600;text-decoration:none;display:flex}.reminder>span:first-child{font-size:1.6rem}.recovery-box{border:3px solid var(--primary)}.recovery-code{letter-spacing:.04em;white-space:nowrap;text-align:center;background:var(--surface-2);border:2px dashed var(--border);-webkit-user-select:all;user-select:all;border-radius:14px;padding:16px 8px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:clamp(1.15rem,6.5vw,1.7rem);font-weight:800}[id]{scroll-margin-top:84px}.danger-zone{border-top:2px solid var(--danger-soft);padding-top:12px}.guide-link{width:100%}.guide-key{gap:10px;margin:0;padding:0;list-style:none;display:grid}.guide-key li{grid-template-columns:7.5em 1fr;align-items:center;gap:10px;display:grid}.guide-key .badge{justify-self:start}.guide-table{border-collapse:collapse;table-layout:fixed;width:100%;margin-bottom:12px;font-size:.88rem}.guide-table th:first-child{width:36%}.guide-table th,.guide-table td{border-bottom:1px solid var(--grid);text-align:center;vertical-align:middle;padding:10px 5px}.guide-table thead th{font-size:.82rem}.guide-table tbody th{text-align:start;font-weight:700;line-height:1.3}html[lang=ur] .guide-table tbody th{line-height:1.8}.guide-table td{white-space:nowrap;font-weight:800}.gh-low,.gc-low{color:var(--st-serious-text)}.gh-normal,.gc-normal{color:var(--st-good-text)}.gh-high,.gc-high{color:var(--st-warning-text)}.gc-normal{background:var(--st-good-soft)}.guide-section-title{margin:8px 0 -4px}.guide-ctx h3{align-items:center;gap:8px;font-size:1.15rem;display:flex}.guide-ctx p+.guide-ref,.guide-ctx .guide-ref{margin-top:10px}.guide-ref{gap:6px;margin:0;display:grid}.guide-ref div{background:var(--surface-2);border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:8px 12px;display:grid}.guide-ref dt{color:var(--text-secondary);font-weight:600}.guide-ref dd{text-align:end;max-width:13em;margin:0;font-weight:800}.guide-ref .ref-mine{background:var(--primary-soft);outline:2px solid var(--primary)}.guide-ref .ref-mine dt{color:var(--primary-strong)}.guide-alert ol{counter-reset:step;gap:10px;margin:12px 0;padding:0;list-style:none;display:grid}.guide-alert li{counter-increment:step;grid-template-columns:2em 1fr;align-items:start;gap:10px;display:grid}.guide-alert li:before{content:counter(step);background:var(--surface-2);border:2px solid var(--border);width:2em;height:2em;font-family:var(--font);border-radius:50%;place-items:center;font-size:.9rem;font-weight:800;line-height:1;display:grid}.guide-alert-low{border-inline-start:8px solid var(--st-serious)}.guide-alert-high{border-inline-start:8px solid var(--st-warning)}.guide-danger{background:var(--st-critical-soft);color:var(--st-critical-text);border-radius:10px;padding:10px 12px;font-weight:700}.person-list{flex-direction:column;gap:8px;display:flex}.person-item{background:var(--surface-2);border:2px solid #0000;border-radius:14px;align-items:center;gap:10px;padding:6px 8px;display:flex}.person-item.current{border-color:var(--primary)}.person-name{text-align:start;min-height:56px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;flex:1;padding:6px;font-weight:700;display:block}.person-name .icon{vertical-align:middle}.check{color:var(--primary-strong)}.share-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.share-list .btn{white-space:nowrap}.share-list li{background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.spinner-wrap{color:var(--text-secondary);justify-content:center;align-items:center;gap:12px;padding:32px;font-weight:600;display:flex}.spinner{border:4px solid var(--primary-soft);border-top-color:var(--primary);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.5s}.btn{transition:none}}@media print{@page{margin:12mm}html,html[data-text-size]{font-size:11pt}:root{--bg:#fff;--surface:#fff;--surface-2:#f5f5f5;--shadow:none}body{color:#000;background:#fff}.no-print,.topbar,.bottom-nav,.sheet{display:none!important}.print-only{display:grid!important}.content,.shared-page .content{max-width:none;padding:0}.card{box-shadow:none;break-inside:avoid;border:1px solid #bbb;padding:10px 12px}.logbook-card{break-inside:auto}.stack{gap:10px}.tiles-4{grid-template-columns:repeat(4,1fr)}.meta-list div{grid-template-columns:11em 1fr;gap:10px}.meta-list dt{font-size:1rem}.tile-value{font-size:1.3rem}.chart-box{height:240px}.table-scroll{overflow:visible}.logbook{font-size:9pt}.logbook th,.logbook td{padding:4px}.logbook tr{break-inside:avoid}.lv-very_low,.lv-very_high,.badge-very_low,.badge-very_high,.seg,.dot,.lv{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
