/* sin zoom y sin arrastre lateral */
html{overflow-x:hidden}
body{overflow-x:clip;overflow-y:visible}
html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* franja roja fija al scrollear */
header.top{position:sticky;top:0;z-index:15}
#sheet,#sheet .panel{touch-action:pan-y}
#sheet .sh-body{overflow-x:hidden;touch-action:pan-y}
.list>.row{touch-action:pan-y}

/* tilde de tarea hecha: aro verde, fondo menta y tilde que se dibuja */
.row.done .chk span{background:#d9f5e6;border:2.5px solid #1f8a5b;box-shadow:0 0 0 4px rgba(31,138,91,.12)}
.row.done .chk svg{stroke:#157347;stroke-width:4;width:16px;height:16px}
:root[data-theme="dark"] .row.done .chk span{background:rgba(52,211,153,.2);border-color:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.14)}
:root[data-theme="dark"] .row.done .chk svg{stroke:#6ee7b7}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .row.done .chk span{background:rgba(52,211,153,.2);border-color:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.14)}:root:not([data-theme="light"]) .row.done .chk svg{stroke:#6ee7b7}}
.chk span.pbpop svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:pbdraw .4s .12s ease-out forwards}
@keyframes pbdraw{to{stroke-dashoffset:0}}

/* barra inferior: más angosta y más abajo (esquinas redondeadas del móvil) */
.tabs{bottom:max(8px,calc(env(safe-area-inset-bottom,0px) - 24px));width:calc(100% - 64px);max-width:420px}

/* ayuda de contraseña */
.pwhint{margin:2px 0 8px;padding:12px 14px;border-radius:14px;background:var(--soft);color:var(--muted);font-size:13px;line-height:1.4;text-align:left}
.pwhint b{display:block;margin-bottom:6px;color:var(--ink);font-size:13px;font-weight:700}
.pwhint ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.pwhint li{position:relative;padding-left:20px}
.pwhint li::before{content:"";position:absolute;left:2px;top:.5em;width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45}
.pwhint li.ok{color:#157347}
.pwhint li.ok::before{content:"\2713";left:0;top:0;width:auto;height:auto;border-radius:0;background:none;opacity:1;font-weight:700;font-size:13px}

/* asignada a: una sola fila que se desliza hacia el costado */
#sheet .whopick{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;padding:4px 6px 16px;margin:0 -6px -8px;gap:8px}
#sheet .whopick::-webkit-scrollbar{display:none}
#sheet .whopick .whop{flex:0 0 auto}
