.swa-screen-time{--swa-ink:#263841;--swa-teal:#17695f;--swa-cream:#f9f8f4;
  font:inherit;color:var(--swa-ink);border:1px solid #d6e4df;border-radius:20px;overflow:hidden;
  box-shadow:0 18px 50px rgba(23,49,42,.08);background:#fff;margin:28px 0 36px}
.swa-screen-time *, .swa-screen-time *::before,.swa-screen-time *::after{box-sizing:border-box}
.swa-screen-time [hidden]{display:none!important}
.swa-screen-time__hero{padding:clamp(22px,4vw,38px);background:linear-gradient(135deg,#e4f4ed 0%,#f8f4e9 100%)}
.swa-screen-time__eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.12em;color:#17695f}
.swa-screen-time__hero h2{margin:.6rem 0 .8rem;color:#203d38;font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.2}
.swa-screen-time__hero p{max-width:720px;line-height:1.65;margin:.4rem 0 1.4rem;color:#38534e}
.swa-screen-time__stats{display:flex;gap:10px;flex-wrap:wrap}
.swa-screen-time__stats span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;
  background:rgba(255,255,255,.75);border:1px solid #d2e5dc;border-radius:999px;
  font-size:.79rem;color:#38534e}
.swa-screen-time__stats strong{color:#17695f;font-weight:800}
.swa-screen-time__body{padding:clamp(15px,3vw,28px)}
.swa-screen-time__filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
  padding:18px;background:var(--swa-cream);border:1px solid #e6e8df;border-radius:15px}
.swa-screen-time__filters label{display:flex;flex-direction:column;gap:7px;font-size:.82rem;
  font-weight:700;color:#374941;min-width:0}
.swa-screen-time__filters input[type="search"],.swa-screen-time__filters select{
  width:100%;min-height:43px;border:1px solid #a7bfb6;border-radius:9px;background:#fff;
  padding:9px 12px;color:#263841;font:inherit;font-weight:500}
.swa-screen-time__filters input:focus-visible,.swa-screen-time__filters select:focus-visible,
.swa-screen-time button:focus-visible,.swa-screen-time a:focus-visible{outline:3px solid #3f9588;outline-offset:3px}
.swa-screen-time__filters .swa-screen-time__source{display:flex;flex-direction:row;
  align-items:center;gap:9px;font-weight:600;line-height:1.45}
.swa-screen-time__source input{width:17px;height:17px;flex:none;accent-color:#17695f}
.swa-screen-time__reset{align-self:center;justify-self:end;border:1px solid #b6ccc3;
  border-radius:8px;background:#fff;padding:10px 15px;color:#17695f;font-weight:750;cursor:pointer}
.swa-screen-time__toolbar{display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:10px;padding:16px 2px 14px;border-bottom:1px solid #e8edea}
.swa-screen-time__toolbar p{margin:0;font-size:.93rem}
.swa-screen-time__toolbar strong{color:#17695f}
.swa-screen-time__toolbar span{font-size:.74rem;color:#576860}
.swa-screen-time__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  padding:18px 0}
.swa-screen-time__card{display:flex;flex-direction:column;gap:9px;min-width:0;padding:17px;
  border:1px solid #dae6df;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.swa-screen-time__card-header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;
  font-size:.68rem;font-weight:750;color:#45635b}
.swa-screen-time__linked{color:#186a55}
.swa-screen-time__pending{color:#806733}
.swa-screen-time__card h3{margin:0;font-size:1.08rem;line-height:1.32;color:#233e36}
.swa-screen-time__card p{margin:0;line-height:1.48;font-size:.85rem;color:#42544d;flex:1}
.swa-screen-time__metadata{display:flex;flex-wrap:wrap;gap:6px}
.swa-screen-time__metadata span{padding:5px 8px;border-radius:7px;background:#f0f4f0;
  color:#435b50;font-size:.71rem;font-weight:650}
.swa-screen-time__card a{display:inline-flex;width:max-content;max-width:100%;
  color:#146b60!important;text-decoration:underline!important;font-size:.83rem;font-weight:750}
.swa-screen-time__card small{color:#756146;line-height:1.4}
.swa-screen-time__more{display:block;margin:2px auto 16px;border:0;border-radius:10px;
  color:white;background:#17695f;padding:12px 22px;font-weight:750;cursor:pointer}
.swa-screen-time__empty{padding:20px;border:1px dashed #9dafa6;border-radius:9px;color:#40594b}
.swa-screen-time__disclaimer{font-size:.78rem;line-height:1.6;color:#55645c;
  border-top:1px solid #e4ebe5;margin:12px 0 0;padding-top:17px}
@media(max-width:640px){
  .swa-screen-time{border-radius:14px;margin:18px 0 25px}
  .swa-screen-time__filters,.swa-screen-time__grid{grid-template-columns:1fr}
  .swa-screen-time__filters{padding:13px;gap:12px}
  .swa-screen-time__stats span{font-size:.73rem}
  .swa-screen-time__reset{justify-self:stretch}
  .swa-screen-time__toolbar{align-items:flex-start}
}
