.stack{display:flex;flex-direction:column;gap:16px}.loading-state{margin:0;color:var(--muted)}.list-index{display:flex;flex-direction:column;gap:14px}.list-index-header{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}.list-index-header p{margin:0;color:var(--muted);font-size:.9rem;font-weight:700}.new-list-button{min-height:40px;display:flex;align-items:center;gap:6px;padding:0 12px;border:0;border-radius:8px;background:var(--leaf);color:white;font-weight:800;transition:background-color .14s ease,transform .14s ease}.empty-state{padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);box-shadow:0 8px 22px var(--shadow-soft)}.empty-state h3{margin:0;font-size:1.05rem}.empty-state p{margin:8px 0 0;color:var(--muted);line-height:1.48}.add-button{min-height:44px;border:0;border-radius:8px;color:white;font-weight:800}.cards,.items{display:flex;flex-direction:column;gap:10px}.items{gap:8px}.items-block{display:grid;grid-gap:8px;gap:8px}.items-actions{min-height:32px;display:flex;justify-content:flex-end}.clear-checked-button{min-height:32px;display:flex;align-items:center;gap:5px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:.78rem;font-weight:800}.clear-checked-button:active{background:var(--leaf-soft);color:var(--foreground)}.card-row{position:relative;min-height:78px;overflow:hidden;border-radius:8px}.card-row.deleting{pointer-events:none;animation:list-card-delete .3s cubic-bezier(.22,1,.36,1) both}@keyframes list-card-delete{0%{max-height:78px;opacity:1}to{min-height:0;max-height:0;margin-bottom:-10px;opacity:0;transform:translateX(-24px)}}.card{position:relative;z-index:1;width:100%;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);color:var(--foreground);text-align:left;touch-action:pan-y;transition:background-color .14s ease,transform .18s ease}.card:active{background:var(--pressed);transform:none}.delete-revealed .card,.delete-revealed .card:active{transform:translateX(-86px)}.card span{min-width:0;display:flex;flex-direction:column;gap:4px}.card strong{overflow-wrap:anywhere}.card small{color:var(--muted)}.card em{flex:0 0 auto;color:var(--blue);font-style:normal;font-weight:800}.delete-list-button{position:absolute;inset:0 0 0 auto;width:86px;display:grid;place-items:center;padding:0;border:0;background:var(--danger);color:white;font-weight:800}@media (prefers-reduced-motion:reduce){.card-row.deleting{animation:none}}.list-header-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,46%);grid-gap:8px}.list-header-row,.list-title{min-width:0;align-items:center;gap:8px}.list-title{max-width:100%;display:flex}.list-title h1{min-width:0;margin:2px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.28rem;line-height:1.1}.list-title-edit{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;padding:0;border:0;background:transparent;color:var(--muted);transition:background-color .14s ease,transform .14s ease}.list-title-edit:active{background:var(--leaf-soft)}.list-title-input{min-height:36px;margin-top:2px;padding:4px 8px;border:1px solid var(--leaf);border-radius:6px;font-size:1.28rem;font-weight:700;line-height:1.1}.input,.list-title-input{width:100%;background:var(--surface);color:var(--foreground)}.input{min-height:48px;padding:0 13px;border:1px solid var(--line);border-radius:8px;font-size:1rem}.header-progress{--progress-value:0%;height:5px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--leaf-dark) 15%,transparent);animation:header-progress-reveal .35s ease-out}.header-progress span{width:var(--progress-value);height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--leaf),var(--blue));transform-origin:left;animation:header-progress-first-fill .35s ease-out;transition:width .18s ease}.header-progress-exiting{animation:header-progress-hide .35s ease-in both}.header-progress-exiting span{width:0;animation:none;transition-duration:.35s}@keyframes header-progress-reveal{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes header-progress-first-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes header-progress-hide{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.header-progress,.header-progress span{animation:none;transition:none}}.add-form{display:grid;grid-template-columns:1fr 72px;grid-gap:8px;gap:8px}.add-button{background:var(--blue);transition:background-color .14s ease,transform .14s ease}.items{margin:0;padding:0;list-style:none}@media (min-width:760px){.list-index{gap:18px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stack{max-width:640px}}