/* Supplemental control styling, kept separate for easy visual refinement. */
.todo-card{overflow:clip}
.todo-card li input{appearance:none;-webkit-appearance:none;border:1.7px solid #b6afe4;border-radius:50%;background:#fbf9ff88;display:grid;place-items:center;cursor:pointer}
.todo-card li input:checked{background:#818bfb;border-color:#818bfb}
.todo-card li input:checked:after{content:"✓";font-size:11px;line-height:1;color:white;font-weight:700}
.todo-card li{margin:5px 0}
.todo-card ul{--todo-scroll-thumb:rgba(116,120,207,.34);--todo-scroll-hover:rgba(116,120,207,.58);margin-top:12px;max-height:126px;padding-right:7px;scrollbar-width:thin;scrollbar-color:var(--todo-scroll-thumb) transparent;scrollbar-gutter:stable;overscroll-behavior:contain}
[data-theme=dark] .todo-card ul{--todo-scroll-thumb:rgba(185,178,239,.3);--todo-scroll-hover:rgba(185,178,239,.55)}
@supports selector(::-webkit-scrollbar){
  .todo-card ul{scrollbar-width:auto;scrollbar-color:auto}
  .todo-card ul::-webkit-scrollbar{width:5px}
  .todo-card ul::-webkit-scrollbar-track{background:transparent}
  .todo-card ul::-webkit-scrollbar-thumb{background:var(--todo-scroll-thumb);border-radius:10px}
  .todo-card ul::-webkit-scrollbar-thumb:hover{background:var(--todo-scroll-hover)}
  .todo-card ul::-webkit-scrollbar-button{display:none;width:0;height:0}
  .todo-card ul::-webkit-scrollbar-corner{background:transparent}
}
.progress-row input{appearance:none;-webkit-appearance:none;background:#c7bff0;border-radius:8px}
.progress-row input::-webkit-slider-thumb{appearance:none;width:9px;height:9px;background:white;border-radius:50%;box-shadow:0 0 3px #8e85cd55}
.progress-row input::-moz-range-thumb{width:9px;height:9px;background:white;border:0;border-radius:50%}

/* Frosted rims keep the content sharp while letting the background soften at the edges. */
:root{
  --rim-width:6px;
  --rim-tint:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,.08) 35%,rgba(164,172,255,.1) 68%,rgba(255,239,255,.23));
  --rim-line:rgba(255,255,255,.42);
  --rim-top:rgba(255,255,255,.6);
  --rim-bottom:rgba(170,155,222,.2);
  --rim-shadow:rgba(76,66,136,.15);
}
[data-theme=dark]{
  --rim-tint:linear-gradient(135deg,rgba(225,223,255,.22),rgba(198,194,255,.04) 36%,rgba(147,163,255,.06) 68%,rgba(216,191,255,.16));
  --rim-line:rgba(220,216,255,.24);
  --rim-top:rgba(235,229,255,.3);
  --rim-bottom:rgba(156,136,214,.15);
  --rim-shadow:rgba(14,15,43,.27);
}
.glass{
  isolation:isolate;
  border-color:var(--rim-line);
  box-shadow:inset 0 1px 0 var(--rim-top),inset 0 -1px 0 var(--rim-bottom),0 10px 28px var(--rim-shadow),0 0 0 1px rgba(234,227,255,.07);
}
:where(.glass:not(dialog)){position:relative}
.glass.icon-button{--rim-width:3px}
.clock-card,.mini-player{--rim-width:4px}
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)){
  .glass::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    padding:var(--rim-width);
    border-radius:inherit;
    background:var(--rim-tint);
    -webkit-backdrop-filter:blur(10px) saturate(140%);
    backdrop-filter:blur(10px) saturate(140%);
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
  }
}
.stats>div,.quick-link,.category-button,.resource-item,.settings-grid>div{
  box-shadow:inset 0 1px 0 var(--rim-top),inset 0 -1px 0 var(--rim-bottom),0 3px 10px rgba(86,72,143,.035);
}
@media(max-width:700px){
  :root{--rim-width:4px}
  .glass::before{-webkit-backdrop-filter:blur(7px) saturate(125%);backdrop-filter:blur(7px) saturate(125%)}
}

/* Keep the daily search task visible without competing with the illustration. */
.hero{padding-top:42px}
.hero-right{margin-top:-14px}
.greeting{min-width:0}
.hero-search.glass{--rim-width:3px;display:flex;align-items:center;gap:8px;width:440px;max-width:100%;min-height:54px;margin-top:17px;padding:6px 8px 6px 10px;border-radius:20px;background:rgba(246,242,255,.85);color:var(--ink);text-shadow:none}
.hero-search input,.hero-search select{background:transparent!important;color:var(--ink)!important;border:0!important;border-radius:8px;box-shadow:none;min-width:0;margin:0}
.hero-search select{width:74px;padding:8px 3px;font-size:12px;flex-shrink:0;cursor:pointer}
.hero-search input{flex:1;width:100%;font-size:13px;padding:8px 4px}
.hero-search input::placeholder{color:var(--muted);opacity:.85}
.hero-search input:focus-visible{outline:0}
.hero-search .search-submit{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:13px;background:linear-gradient(135deg,#939bfc,#827ac7);color:white;box-shadow:0 3px 9px rgba(97,86,172,.18)}
.search-submit svg{width:20px;height:20px}
.hero-search:focus-within{border-color:rgba(223,223,255,.95);box-shadow:inset 0 1px 0 var(--rim-top),0 0 0 3px rgba(164,167,255,.18),0 8px 22px rgba(78,68,135,.15)}
.hero-search-meta{display:flex;align-items:center;justify-content:space-between;width:440px;max-width:100%;margin-top:9px;color:rgba(255,255,255,.9);font-size:10px}
.hero-more{display:inline-flex;align-items:center;gap:7px;padding:3px 0;color:inherit;font-size:12px;letter-spacing:.5px;text-shadow:0 1px 7px rgba(55,61,110,.45)}
.hero-more svg{width:15px;height:15px}
.hero-search-meta>span{display:flex;align-items:center;gap:6px;opacity:.8}
.hero-search-meta kbd{font:inherit;border:1px solid rgba(255,255,255,.45);border-radius:5px;min-width:17px;line-height:18px;text-align:center;background:rgba(255,255,255,.1)}
[data-theme=dark] .hero-search.glass{background:rgba(48,45,81,.84)}
[data-theme=dark] .hero-search select option{background:#35304f;color:#eee7ff}
.todo-decoration{position:absolute;right:15px;bottom:10px;width:103px;height:91px;pointer-events:none;color:#b6ade4;opacity:.48;transform:rotate(-12deg)}
.todo-decoration .paw{position:absolute;right:6px;bottom:0;width:78px;height:78px;fill:currentColor;stroke:none}
.paw-star{position:absolute;left:2px;top:5px;color:#eac798;font-size:26px;line-height:1}
.paw-star.small{left:auto;right:0;top:-4px;font-size:17px;color:#a89dd8}
[data-theme=dark] .todo-decoration{color:#b4a9e3;opacity:.36}
@media(max-width:1020px) and (min-width:701px){
  .hero-search.glass{min-height:49px;padding:5px 7px}
  .hero-search select{width:67px}
  .hero-search input{font-size:12px}
  .hero-search .search-submit{width:34px;height:34px;border-radius:12px}
}
@media(max-width:700px){
  .hero{height:auto;min-height:360px;padding-top:64px;padding-bottom:30px}
  .greeting{width:100%}
  .hello .cat-doodle{font-size:20px;letter-spacing:-3px}
  .hero-right{margin-top:0}
  .clock-card{top:48px;right:3px;min-width:112px}
  .hero-search.glass{width:100%;min-height:50px;margin-top:18px;padding:5px 7px;border-radius:18px}
  .hero-search select{width:65px;font-size:11px}
  .hero-search input{font-size:12px}
  .hero-search .search-submit{width:35px;height:35px;border-radius:12px}
  .hero-search-meta{width:100%;margin-top:8px}
  .hero-search-meta>span{display:none}
  .hero-more{font-size:11px}
  .todo-decoration{right:16px;bottom:14px;width:94px;height:82px}
  .todo-decoration .paw{width:70px;height:70px}
}
@media(max-width:360px){.hello .cat-doodle{display:none}}
