/* system-care: page rules only; shared rules live in svc-base.css */

/* ===== System care (yq-) page, 14 Nov: every window is a screen of "Neeko System Care" ===== */
.aqsl{font-size:9px;font-weight:800;color:var(--muted)}
.yqst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0}
.yqsc{display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:#fff;border:1px solid #e6eaf1;box-shadow:0 1px 2px rgba(16,24,40,.04);min-width:0}
.yqsh{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.yqsh>span{display:grid}.yqsh b{font-size:12px;color:#0f172a}.yqsh small{font-size:9.5px;color:var(--muted)}
.yqut{display:grid;grid-template-columns:repeat(30,1fr);gap:2px;height:28px}.yqut i{border-radius:2px;background:#86efac}.yqut i.a{background:#fbbf24}
.yqsf{display:flex;justify-content:space-between;align-items:baseline}.yqsf small{font-size:9px;color:var(--muted)}.yqsf b{font-size:13px;color:#0f172a}
@media (prefers-reduced-motion:no-preference){.yqsc .yqut i{animation:yqut 8s ease infinite}.yqsc .yqut i:nth-child(3n){animation-delay:.2s}.yqsc .yqut i:nth-child(3n+1){animation-delay:.4s}}
@keyframes yqut{0%{opacity:.3}15%,100%{opacity:1}}
.yqph{position:relative;flex:0 0 230px;border-radius:10px;overflow:hidden;background:#eef2f8}.yqph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.yqtl{position:relative;display:flex;flex-direction:column;justify-content:space-between;flex:1 1 auto;padding-left:16px;min-height:0}
.yqtl::before{content:"";position:absolute;left:4px;top:8px;bottom:8px;border-left:2px solid #e6eaf1}
.yqtl p{position:relative;display:flex;gap:10px;margin:0!important;padding:4px 0!important;font-size:10.5px!important;line-height:1.3!important}
.yqtl p::before{content:"";position:absolute;left:-16px;top:8px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #9bb5ff;box-sizing:border-box}
.yqtl p.d::before{background:#16a34a;border-color:#16a34a}
.yqtl time{flex:none;width:34px;font-size:9.5px;font-weight:800;color:#1f5bff}.yqtl p>span{display:grid}.yqtl b{font-size:10.5px;color:#0f172a}.yqtl small{font-size:9.5px;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){.yqtl p{animation:igem 9s ease infinite}.yqtl p:nth-child(2){animation-delay:.6s}.yqtl p:nth-child(3){animation-delay:1.2s}.yqtl p:nth-child(4){animation-delay:1.8s}}
/* queue */
.yqq{display:flex;flex-direction:column;gap:6px;justify-content:center;min-height:0}
.yqq p{display:flex;align-items:center;gap:9px;margin:0!important;padding:8px 10px!important;border-radius:10px;background:#fff;border:1px solid #e6eaf1;font-size:10.5px!important;line-height:1.25!important}
.yqq p>u{flex:none;width:24px;height:24px;border-radius:7px;background:#eef2f8;color:#475569;display:grid;place-items:center;text-decoration:none;font-size:11px;font-weight:800}
.yqq p>span{display:grid;min-width:0}.yqq b{font-size:10.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yqq small{font-size:9.5px;color:var(--muted)}
.yqq p.me{border-color:#9bb5ff;background:#f5f8ff}.yqq p.me>u{background:#1f5bff;color:#fff}
.yqq p:not(.me){opacity:.7}
@media (prefers-reduced-motion:no-preference){.yqq p.me{animation:yqup 8s ease infinite}}
@keyframes yqup{0%,48%{transform:translateY(0)}52%,100%{transform:translateY(0)}}
/* patches */
.yqpc{display:grid;gap:5px}.yqpc>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:9px;background:#f0fdf4;border:1px solid #bbf7d0}
.yqpc b{font-size:10.5px;color:#0f172a}.yqpc small{font-size:9.5px;font-weight:700;color:#147a3d;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
/* heatmap */
.yqrv{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;min-height:0}
.yqhm{display:grid;grid-template-columns:minmax(0,1.2fr) repeat(5,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:1fr;gap:5px;align-content:stretch;padding:10px;border-radius:10px;border:1px solid #eef1f5}
.yqhm>small{font-size:8.5px;font-weight:800;color:var(--muted);text-align:center;align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yqhm>.h{font-size:10px;font-weight:700;color:#0f172a;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yqhm>i{border-radius:7px;background:#bbf7d0;min-height:26px}.yqhm>i.a{background:#fde68a}
@media (prefers-reduced-motion:no-preference){.yqhm>i.nqhm{animation:yqhm 8s steps(1) infinite}}
@keyframes yqhm{0%,55%{background:#fde68a}56%,100%{background:#bbf7d0}}
.yqnt{display:grid;gap:2px;padding:9px 10px;border-radius:9px;background:#fffbeb;border:1px solid #fde68a;flex:1 1 auto;align-content:center}
.yqnt b{font-size:10.5px;color:#0f172a}.yqnt small{font-size:9.5px;line-height:1.35;color:#92400e}
.yqnt.g{background:#f0fdf4;border-color:#bbf7d0}.yqnt.g small{color:#147a3d}
/* line chart */
.yqln{position:relative;flex:1 1 auto;min-height:70px;border-radius:9px;background:linear-gradient(#eef1f5 1px,transparent 1px) 0 0/100% 25%}
.yqln svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.yqln polyline{fill:none;stroke:#1f5bff;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.yqln line{stroke:#16a34a;stroke-width:1.5;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.yqlb{position:absolute;left:50%;top:4px;transform:translateX(6px);font-size:9px;font-weight:800;padding:2px 7px;border-radius:99px;background:#dcfce7;color:#147a3d}
/* map */
.yqmp{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);grid-template-rows:1fr 1fr;gap:12px 0;align-items:center;padding:12px;border-radius:10px;background:#fbfcfe radial-gradient(#e3e8f1 1px,transparent 1.2px) 0 0/14px 14px;border:1px solid #eef1f5;min-height:0}
.yqmp>.n{display:grid;justify-items:center;gap:3px;padding:10px 6px;border-radius:10px;background:#fff;border:1px solid #e6eaf1;text-align:center}
.yqmp>.n b{font-size:10.5px;color:#0f172a}.yqmp>.n small{font-size:9px;color:var(--muted)}
.yqmp>.n.k{border-color:#9bb5ff;box-shadow:0 0 0 3px #e8efff}.yqmp>.n.x{border-style:dashed;background:transparent;opacity:.7}
.yqmp>.ar{text-align:center;color:#94a3b8;font-size:13px}
.yqmp>.r2:nth-of-type(4){grid-column:1}.yqmp>.r2{grid-row:2}
.yqmp>span:nth-of-type(4){grid-column:1}.yqmp>span:nth-of-type(5){grid-column:3}.yqmp>span:nth-of-type(6){grid-column:5}
/* slots + baseline */
.yqsl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;flex:1 1 auto}
.yqsl>span{display:grid;place-content:center;justify-items:center;gap:2px;border-radius:10px;border:1.5px dashed #cbd5e1}
.yqsl>span.on{border:1px solid #9bb5ff;background:#f5f8ff}.yqsl b{font-size:9px;font-weight:800;color:var(--muted)}.yqsl small{font-size:11px;font-weight:700;color:#0f172a}
@media (prefers-reduced-motion:no-preference){.pjd:not([hidden]) .yqsl>span{animation:igem 8s ease infinite}.pjd:not([hidden]) .yqsl>span:nth-child(2){animation-delay:.4s}.pjd:not([hidden]) .yqsl>span:nth-child(3){animation-delay:.8s}}
.yqbs{justify-content:space-around}.yqbs .nqbig b{font-size:17px}.yqa{color:#b45309!important}
/* log */
.yqlog{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:10px 12px;border-radius:10px;background:#f7f8fb;font:500 10px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;color:#334155;min-height:0}
.yqlog p{display:flex;gap:10px;margin:0!important;padding:2px 6px!important;border-radius:5px;font-size:10px!important;white-space:nowrap;overflow:hidden}
.yqlog time{color:#94a3b8;flex:none}.yqlog u{text-decoration:none;flex:none;width:44px;color:#1f5bff;font-weight:700}
.yqlog .e{background:#fef2f2;color:#b91c1c}.yqlog .e u{color:#b91c1c}.yqlog .f{background:#f0fdf4;color:#147a3d}.yqlog .f u{color:#147a3d}.yqlog .igsw{display:inline-grid!important}
/* phone alert */
.mqlk2{background:linear-gradient(180deg,#eef4ff,#fff)}
.yqal{display:flex;gap:6px;align-items:flex-start;padding:7px;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.08)}
.yqal>span:last-child{display:grid;min-width:0}.yqal b{font-size:9px;color:#0f172a}.yqal small{font-size:8.5px;line-height:1.3;color:#334155}
.mqai2{width:20px;height:20px;border-radius:6px;background:#1f5bff;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:800;flex:none}.mqai2.w{background:#25d366}.mqai2 svg{width:11px;height:11px}
.mqlk2 .yqal:first-of-type{margin-top:auto}.mqlk2 .yqal:last-child{margin-bottom:auto;opacity:.75}
/* diff */
.yqdf{display:flex;flex-direction:column;justify-content:center;gap:3px;flex:1 1 auto;padding:10px;border-radius:9px;background:#f7f8fb;font:500 10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.yqdf p{margin:0!important;padding:2px 7px!important;border-radius:5px;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yqdf .m{background:#fef2f2;color:#b91c1c}.yqdf .p{background:#f0fdf4;color:#147a3d}
/* week */
.yqwk{display:flex;flex-direction:column;gap:6px;min-height:0}
.yqwh{display:grid;grid-template-columns:44px repeat(5,minmax(0,1fr));gap:6px}.yqwh small{font-size:9px;font-weight:800;color:var(--muted);text-align:center}
.yqwg{flex:1 1 auto;display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px;min-height:0}
.yqwt{display:flex;flex-direction:column;justify-content:space-between}.yqwt small{font-size:9px;color:var(--muted)}
.yqwc{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(3,1fr);gap:6px;background:linear-gradient(#eef1f5 1px,transparent 1px) 0 0/100% 33.33%;border-radius:8px}
.yqb{grid-column:var(--d);grid-row:1/span var(--t);display:flex;align-items:flex-start;padding:7px;border-radius:8px;background:#e8efff;color:#1f5bff;font-size:9.5px;font-weight:800;line-height:1.25}
.yqb.k{background:#1f5bff;color:#fff}.yqb.g{background:#dcfce7;color:#147a3d}
.yqrc{justify-content:space-between}
@media (max-width:640px){.yqst{grid-template-columns:minmax(0,1fr)}.yqst>.yqsc:nth-child(n+2) .yqut{height:16px}
.yqrv{grid-template-columns:minmax(0,1fr)}.yqmp{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr)}.yqmp>.n small{display:none}
.yqlog p{font-size:9px!important}.yqlog time{display:none}}
/* yq marker 14nov */
.yqtl{justify-content:flex-start;gap:6px}.yqtl p{flex:1 1 auto;max-height:62px;align-items:center;padding:6px 9px!important;border-radius:8px;background:#f7f8fb}
.yqtl p::before{top:50%;margin-top:-5px}.yqtl::before{top:14px;bottom:14px}
.yqrc .yqnt{flex:0 0 auto}
@media (max-width:640px){.yqst>.yqsc:nth-child(3){display:none}}
@media (max-width:640px){.yqph{flex-basis:160px}}@media (max-width:360px){.yqmp{padding:8px}.yqmp>.n{padding:8px 3px}.yqmp>.n b{font-size:9px;overflow-wrap:anywhere}}
/* status page */
.yqsp{display:flex;flex-direction:column;gap:5px;padding:10px}
.yqbn{padding:8px 10px;border-radius:8px;font-size:10.5px;font-weight:800;background:#dcfce7;color:#147a3d}.yqbn .igsw{display:grid!important}
@media (prefers-reduced-motion:no-preference){.pjd:not([hidden]) .yqbn{animation:yqbn 8s steps(1) infinite}.pjd:not([hidden]) .yqsp .nw i{animation:yqbi 8s steps(1) infinite}}
@keyframes yqbn{0%,50%{background:#fef3c7;color:#92400e}51%,100%{background:#dcfce7;color:#147a3d}}
@keyframes yqbi{0%,50%{background:#f59e0b}51%,100%{background:#16a34a}}
.yqsp p{display:flex;align-items:center;justify-content:space-between;margin:0!important;padding:7px 10px!important;border-radius:8px;border:1px solid #eef1f5;font-size:10.5px!important}
.yqsp p b{color:#0f172a}.yqsp p i{width:9px;height:9px;border-radius:50%;background:#16a34a}
/* restore test */
.yqrt{justify-content:space-between}.yqrk{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.yqrk b{color:#0f172a}
/* pdf report */
.yqpdf{position:relative;display:flex;justify-content:center;align-items:flex-start;padding:12px 0 0;background:#f1f5f9;border-radius:10px;overflow:hidden;min-height:0}
.yqpg{position:relative;z-index:1;width:min(330px,88%);display:flex;flex-direction:column;gap:9px;padding:16px 18px 18px;background:#fff;border-radius:6px 6px 0 0;box-shadow:0 4px 16px rgba(16,24,40,.1);min-height:110%}
.yqpg2{position:absolute;z-index:0;top:22px;left:50%;transform:translateX(-46%) rotate(3deg);opacity:.7}
.yqph2{display:grid;border-bottom:2px solid #1f5bff;padding-bottom:6px}.yqph2 b{font-size:11.5px;color:#0f172a}.yqph2 small{font-size:9px;color:var(--muted)}
.yqpk{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.yqpk span{display:grid;padding:6px;border-radius:6px;background:#f7f8fb}.yqpk small{font-size:8.5px;color:var(--muted)}.yqpk b{font-size:13px;color:#0f172a}
.yqpt{display:flex;flex-direction:column}.yqpt p{display:grid;grid-template-columns:1.4fr .6fr .8fr;margin:0!important;padding:4px 0!important;font-size:9.5px!important;border-bottom:1px solid #f1f5f9}
.yqpt p.h{font-weight:800;color:var(--muted);font-size:8.5px!important}.yqpt .g{color:#147a3d;font-weight:700}.yqpt .a{color:#b45309;font-weight:700}
/* dark:auto (tools/build_dark.py) */
@keyframes yqhm-dk{0%,55%{background:#433a14}56%,100%{background:#144324}}
@keyframes yqbn-dk{0%,50%{background:#433a14;color:#f3a97d}51%,100%{background:#144324;color:#85ebae}}
@media (prefers-reduced-motion:no-preference){:where(:root[data-theme="dark"]) .yqhm>i.nqhm{animation:yqhm-dk 8s steps(1) infinite}:where(:root[data-theme="dark"]) .pjd:not([hidden]) .yqbn{animation:yqbn-dk 8s steps(1) infinite}}
:where(:root[data-theme="dark"]) .yqsc{background:#131824;border:1px solid #374762}:where(:root[data-theme="dark"]) .yqsh b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqut i{background:#144325}:where(:root[data-theme="dark"]) .yqsf b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqph{background:#19283d}:where(:root[data-theme="dark"]) .yqtl::before{border-left:2px solid #374762}:where(:root[data-theme="dark"]) .yqtl p::before{background:#131824}:where(:root[data-theme="dark"]) .yqtl time{color:#7b9bf4}:where(:root[data-theme="dark"]) .yqtl b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqq p{background:#131824;border:1px solid #374762}:where(:root[data-theme="dark"]) .yqq p>u{background:#19283d;color:#c6cdd8}:where(:root[data-theme="dark"]) .yqq b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqq p.me{background:#142243}:where(:root[data-theme="dark"]) .yqpc>span{background:#144322;border:1px solid #267341}:where(:root[data-theme="dark"]) .yqpc b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqpc small{color:#85ebae}:where(:root[data-theme="dark"]) .yqhm{border:1px solid #394a60}:where(:root[data-theme="dark"]) .yqhm>.h{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqhm>i{background:#144324}:where(:root[data-theme="dark"]) .yqhm>i.a{background:#433a14}:where(:root[data-theme="dark"]) .yqnt{background:#433a14;border:1px solid #736326}:where(:root[data-theme="dark"]) .yqnt b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqnt small{color:#f3a97d}:where(:root[data-theme="dark"]) .yqnt.g{background:#144322;border-color:#267341}:where(:root[data-theme="dark"]) .yqnt.g small{color:#85ebae}:where(:root[data-theme="dark"]) .yqln{background:linear-gradient(#202a37 1px,transparent 1px) 0 0/100% 25%}:where(:root[data-theme="dark"]) .yqlb{background:#144324;color:#85ebae}:where(:root[data-theme="dark"]) .yqmp{background:#131824 radial-gradient(#1d273a 1px,transparent 1.2px) 0 0/14px 14px;border:1px solid #394a60}:where(:root[data-theme="dark"]) .yqmp>.n{background:#131824;border:1px solid #374762}:where(:root[data-theme="dark"]) .yqmp>.n b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqsl>span{border:1.5px dashed #384b61}:where(:root[data-theme="dark"]) .yqsl>span.on{background:#142243}:where(:root[data-theme="dark"]) .yqsl small{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqa{color:#f4af7b !important}:where(:root[data-theme="dark"]) .yqlog{background:#1d243a;color:#c6cdd8}:where(:root[data-theme="dark"]) .yqlog u{color:#7b9bf4}:where(:root[data-theme="dark"]) .yqlog .e{background:#431414;color:#ec8383}:where(:root[data-theme="dark"]) .yqlog .e u{color:#ec8383}:where(:root[data-theme="dark"]) .yqlog .f{background:#144322;color:#85ebae}:where(:root[data-theme="dark"]) .yqlog .f u{color:#85ebae}:where(:root[data-theme="dark"]) .mqlk2{background:linear-gradient(180deg,#142443,#131824)}:where(:root[data-theme="dark"]) .yqal{background:#131824}:where(:root[data-theme="dark"]) .yqal b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqal small{color:#c6cdd8}:where(:root[data-theme="dark"]) .yqdf{background:#1d243a}:where(:root[data-theme="dark"]) .yqdf .m{background:#431414;color:#ec8383}:where(:root[data-theme="dark"]) .yqdf .p{background:#144322;color:#85ebae}:where(:root[data-theme="dark"]) .yqwc{background:linear-gradient(#202a37 1px,transparent 1px) 0 0/100% 33.33%}:where(:root[data-theme="dark"]) .yqb{background:#142243;color:#7b9bf4}:where(:root[data-theme="dark"]) .yqb.g{background:#144324;color:#85ebae}:where(:root[data-theme="dark"]) .yqtl p{background:#1d243a}:where(:root[data-theme="dark"]) .yqbn{background:#144324;color:#85ebae}:where(:root[data-theme="dark"]) .yqsp p{border:1px solid #394a60}:where(:root[data-theme="dark"]) .yqsp p b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqrk b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqpdf{background:#1a2b3d}:where(:root[data-theme="dark"]) .yqpg{background:#131824}:where(:root[data-theme="dark"]) .yqph2 b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqpk span{background:#1d243a}:where(:root[data-theme="dark"]) .yqpk b{color:#d5ddf0}:where(:root[data-theme="dark"]) .yqpt p{border-bottom:1px solid #2e4d6b}:where(:root[data-theme="dark"]) .yqpt .g{color:#85ebae}:where(:root[data-theme="dark"]) .yqpt .a{color:#f4af7b}
/* /dark:auto */
