.list-options{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;margin:0 0 8px;min-width:0}
.list-options[hidden]{display:none}
.list-layout-switch{display:flex;gap:2px;padding:3px;background:#eee9f6;border-radius:12px;flex-shrink:0}
.list-layout-switch button{display:grid;place-items:center;width:35px;min-height:32px;padding:6px;border-radius:9px}
.list-layout-switch button[aria-pressed=true]{background:#fff;color:#6651d8;box-shadow:0 1px 4px #6651d81a}
.list-layout-switch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.quick-access-tag{display:flex;align-items:center;gap:6px;min-width:0;max-width:70%;min-height:36px;padding:6px 12px;border-radius:12px;background:var(--tag-soft,#eee9f6);color:var(--tag-ink,#574774);border:1px solid var(--tag-edge,#ded5ec);font-size:13px}
.quick-access-tag span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.quick-access-tag .ui-icon{width:16px;height:16px}
.quick-access-tag[aria-pressed=true]{box-shadow:inset 0 0 0 2px #6958f5}
#settingsPage>.list-layout-settings{padding:14px;margin:0 0 14px;border:1px solid #e3deea;border-radius:18px;background:#fff}
.list-layout-settings h2{font-size:18px;margin:0 0 12px}.list-layout-settings label{font-size:13px}.list-layout-settings select{width:100%;min-height:42px;padding:9px 12px;border-radius:14px;border:1px solid #d7cfe4;background:#faf9fc;font-size:14px}.list-layout-settings p,#tagQuickAccessHelp{font-size:11px;line-height:1.4;color:#776a8b;margin:7px 0}
#tagForm .tag-quick-access{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:10px}#tagQuickAccess{width:19px;height:19px;min-height:19px;accent-color:#6958f5}
.compact-task-layout .swipe-task>.row{display:block!important;padding:8px 12px!important;min-height:36px;border-radius:10px}
.compact-task-layout .swipe-task>.row>input,.compact-task-layout .swipe-task>.row>.critical-toggle,.compact-task-layout .swipe-task .chips,.compact-task-layout .swipe-task .date{display:none!important}
.compact-task-layout .swipe-task .taskbody{display:block;min-width:0}
.compact-task-layout .swipe-task .title{font-size:14px!important;line-height:20px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.compact-task-layout .swipe-task{margin-bottom:2px;border-radius:10px}
.compact-task-layout .task-section{padding-bottom:5px}
/* Quiet tools above the task heading. */
.list-options{margin-bottom:5px;gap:8px}
.list-layout-switch{padding:2px;border-radius:10px;background:#eee9f6}
.list-layout-switch button{width:31px;min-height:28px;padding:5px;border-radius:8px}
.list-layout-switch svg{width:18px;height:18px}
.quick-access-tag{min-height:31px;padding:4px 9px;border-radius:10px;font-size:12px;border:0}
.quick-access-tag .ui-icon{width:14px;height:14px}
.quick-access-tag[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px #9987d4}
/* Compact rows need horizontal swipe actions instead of stacked labels. */
.compact-task-layout .swipe-delete button,.compact-task-layout .swipe-complete{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;min-height:0;padding:0 5px;font-size:11px;line-height:1.2;border-radius:10px}
.compact-task-layout .swipe-delete button{height:100%;width:100%}
.compact-task-layout .swipe-delete .ui-icon,.compact-task-layout .swipe-complete .ui-icon{width:15px;height:15px;flex-shrink:0}
.compact-task-layout .swipe-delete span,.compact-task-layout .swipe-complete span{white-space:nowrap}
/* Compact rows retain direct access to task completion. */
.compact-task-layout .swipe-task>.row{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center;gap:9px;padding:7px 10px!important;min-height:36px}
.compact-task-layout .swipe-task>.row>input[type=checkbox]{display:block!important;width:20px;height:20px;min-width:20px;min-height:20px;margin:0;border-radius:50%;background-size:14px}
