.mobile-profile{display:none}.wipe-selector{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:22px;display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.wipe-select-main{flex:1;min-width:200px}.wipe-select-main label{display:flex;gap:8px;align-items:center;color:#768669;font-size:11px}.wipe-select-main label .icon{width:15px;height:15px}.wipe-select-main select{font-size:13px}.wipe-context{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;color:#7b896f}.wipe-context p{width:100%;white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere;max-height:150px;overflow:auto}.wipe-stage{padding:5px 9px;font-size:10px;border-radius:6px;background:#f6efdf;color:#917134;display:inline-block}.wipe-stage.live{color:#617e4e;background:#edf3e6}.wipe-stage.finished{background:#edf0e7;color:#829074}.wipe-intro{display:flex;align-items:flex-start;gap:12px;max-width:720px;margin-bottom:26px;color:#7c8f6e;font-size:13px}.wipe-intro .icon{margin-top:4px;width:20px;height:20px}.wipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wipe-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:25px;min-width:0}.wipe-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.wipe-card h2{font-size:23px;overflow-wrap:anywhere}.wipe-description{color:#718069;font-size:12px;line-height:1.9;white-space:pre-wrap;margin:12px 0 20px;max-height:150px;overflow:auto;overflow-wrap:anywhere}.wipe-dates{display:flex;align-items:center;gap:8px;font-size:11px;color:#7b896f;margin:10px 0}.wipe-dates .icon{width:15px;height:15px}.wipe-progress{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-top:24px;color:#718069}.wipe-progress strong{font-weight:550}.wipe-card progress{width:100%;height:7px;display:block;margin-top:10px;border:0;border-radius:10px;overflow:hidden;accent-color:#7f996c;background:#e7ecdf}.wipe-card progress::-webkit-progress-bar{background:#e7ecdf;border-radius:10px}.wipe-card progress::-webkit-progress-value{background:#839d70;border-radius:10px}.wipe-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.wipe-card-actions .btn{font-size:11px;padding:10px 12px}.past-wipes-title{margin:30px 0 18px;font-size:17px;color:#8b9a7d}.global-tasks-card{margin-top:28px;border:1px dashed #cdd7bf;border-radius:12px;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.global-tasks-card h2{font-size:17px}.global-tasks-card p{margin-top:7px}.theme-section .small{margin-top:10px}.theme-options{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.theme-option{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;align-items:center;gap:9px;font-size:12px;flex:1;min-width:130px;white-space:nowrap}.theme-option.selected{border-color:#82986c;background:#edf2e7;box-shadow:0 0 0 1px #82986c}.theme-swatch{width:23px;height:23px;display:block;border:1px solid #a3af95;border-radius:50%}.theme-swatch.light{background:#faf9f1}.theme-swatch.dark{background:#26372e}.theme-swatch.system{background:linear-gradient(90deg,#faf9f1 50%,#26372e 50%)}.task-wipe-label{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carryover-list{margin:20px 0;max-height:40vh;overflow:auto;border:1px solid var(--line);border-radius:8px}.carryover-item,.carryover-select-all{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;margin:0;border-bottom:1px solid var(--line);cursor:pointer}.carryover-item:last-child{border-bottom:0}.carryover-item strong{display:block;font-size:12px;font-weight:500;line-height:1.7}.carryover-item .small{display:block;margin-top:5px;font-size:10px}.carryover-item input,.carryover-select-all input{width:17px;height:17px;flex-shrink:0;margin:3px 0;accent-color:#688453}.carryover-select-all{background:#f0f4e9;font-size:12px}.carryover-list>p{padding:15px}.field.full{grid-column:1/-1}
html[data-theme=dark]{color-scheme:dark;--bg:#151c18;--surface:#202a23;--ink:#e0e7d8;--muted:#a1b097;--line:#354032;--forest:#586f49;--sidebar:#111a14;background:var(--bg);color:var(--ink)}
html[data-theme=dark] body{background:var(--bg)}
html[data-theme=dark] :is(.topbar,.list-card,.stat,.profile-panel,.team-help,.member-card,.activity-item,.wipe-card,.wipe-selector){background:var(--surface);border-color:var(--line)}
html[data-theme=dark] :is(.modal,.drawer){background:#202a23;border-color:var(--line)}
html[data-theme=dark] :is(input,textarea,select){background:#18211b;color:#e0e7d8;border-color:#43513b}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#83967a}
html[data-theme=dark] :is(.filterbar,.table-head,.list-toolbar,.modal-head,.drawer-top,.list-foot,.profile-divider,.drawer-tabs){border-color:var(--line)}
html[data-theme=dark] :is(.filterbar,.table-head){background:#1d271f}
html[data-theme=dark] .task-row{background:#202a23;border-color:#303d2e}
html[data-theme=dark] .task-row:hover{background:#283628}
html[data-theme=dark] :is(.task-row.completed,.group-head,.quick-add,.modal-foot,.comment-compose){background:#1b281e;border-color:var(--line)}
html[data-theme=dark] :is(.task-title,.drawer-title,.member-info h3,.profile-top h2,.list-title,.page-heading h1,.theme-section h2,.team-help h2,.wipe-card h2,.global-tasks-card h2){color:#e0e8d7}
html[data-theme=dark] .task-row.completed .task-title{color:#a0b594}
html[data-theme=dark] :is(.small,.subtitle,.task-meta,.assignee,.priority,.list-foot,.filter-right,.table-head,.comment p,.drawer-description,.text-value,.activity-copy,.profile-top p,.member-info p,.wipe-description,.wipe-dates,.wipe-progress,.wipe-context,.wipe-intro,.theme-section .small){color:#a7b59c}
html[data-theme=dark] .breadcrumb strong{color:#c0cdae}
html[data-theme=dark] .breadcrumb{color:#9ba991}
html[data-theme=dark] :is(.welcome-banner,.drawer-description){background:#293728;border-color:#3a4c32}
html[data-theme=dark] .banner-copy h2{color:#d0debd}
html[data-theme=dark] .banner-copy p{color:#acbf98}
html[data-theme=dark] .banner-art{opacity:.4}
html[data-theme=dark] .status-toggle{background:#1a251c;border-color:#67765c}
html[data-theme=dark] .status-toggle.done{background:#6f8b5e;border-color:#6f8b5e}
html[data-theme=dark] :is(.category,.list-title .pill,.status-badge.todo){background:#303d2d;color:#bdc9af}
html[data-theme=dark] :is(.status-badge.doing,.stat-icon.doing,.wipe-stage.preparing){background:#493f28;color:#ddc180}
html[data-theme=dark] :is(.status-badge.review,.stat-icon.review){background:#393347;color:#beb0d4}
html[data-theme=dark] :is(.status-badge.done,.stat-icon.done,.wipe-stage.live){background:#2f432c;color:#b3cd9b}
html[data-theme=dark] :is(.stat-icon.todo,.wipe-stage.finished){background:#344030;color:#b7c3a8}
html[data-theme=dark] .stat-caption{color:#adb9a2}
html[data-theme=dark] .tab{color:#a4b197}
html[data-theme=dark] .tab.active{color:#d0ddb9;border-color:#9cb17e}
html[data-theme=dark] .btn.secondary{background:#2a362a;border-color:#46543e;color:#d5e1c7}
html[data-theme=dark] .btn.secondary:hover{background:#354332}
html[data-theme=dark] .btn.primary{background:#617e4e;color:#fff}
html[data-theme=dark] .icon-btn{color:#b0be9e}
html[data-theme=dark] .icon-btn:hover{background:#354232}
html[data-theme=dark] :is(.theme-option.selected,.carryover-select-all){background:#30432b;color:#d4e3bd}
html[data-theme=dark] .theme-option{border-color:#49553f}
html[data-theme=dark] :is(.status-toggle.doing,.status-toggle.review){background:#283325}
html[data-theme=dark] .btn.danger{background:#432c26;border-color:#794d3d;color:#edb9a4}
html[data-theme=dark] .team-help p{color:#a3b594}
html[data-theme=dark] :is(.foot-note,.activity-task,.link-text,.empty p){color:#a8bc94}
html[data-theme=dark] .empty h3{color:#c0d0ae}
html[data-theme=dark] .history-row{border-color:var(--line);color:#b0c09e}
html[data-theme=dark] .comment-head strong{color:#cad9b8}
html[data-theme=dark] :is(.profile-divider,.comment-compose,.history-row,.carryover-item){border-color:var(--line)}
html[data-theme=dark] .login-right{background:#202a23}
html[data-theme=dark] .login-card h2{color:#e1e8d7}
html[data-theme=dark] .auth-btn{background:#2a3529;color:#dde6d2;border-color:#3f4d35}
html[data-theme=dark] .auth-btn.steam{background:#526d43;color:#fff}
html[data-theme=dark] :is(.login-card>p,.login-note,.provider-hint,.legal-links){color:#a4b595}
html[data-theme=dark] .login-divider{background:#3d4a35}
@media(max-width:1050px){.wipe-grid{grid-template-columns:1fr}.wipe-card-actions .btn{font-size:12px}}
@media(max-width:800px){.mobile-profile{display:inline-flex}.mobile-profile .avatar{width:29px;height:29px}}
html[data-theme=dark] .wipe-card progress::-webkit-progress-bar{background:#3a4932}
.linked-options{display:grid;gap:10px;margin-top:18px}.linked-provider{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.linked-provider>span:first-child{display:flex;align-items:center;gap:10px}.linked-check{font-size:11px;color:#7e9769}.linked-provider .btn{font-size:11px;padding:8px 13px;min-height:36px}.linked-accounts>.small{margin-top:10px}
html .task-row[data-priority]{background:var(--priority-bg);box-shadow:inset 4px 0 var(--priority-stripe)}
html .task-row[data-priority]:hover{background:var(--priority-hover)}
html .task-row[data-priority].completed{background:#f6f8f2;box-shadow:inset 3px 0 var(--priority-stripe)}
html[data-theme=dark] .task-row[data-priority].completed{background:#1b281e}
.task-row[data-priority] .priority,.task-priority-mobile{color:var(--priority-text);background:var(--priority-badge);border-radius:5px;padding:5px 8px;width:max-content;font-size:10px;line-height:1.3}
.task-row[data-priority] .priority .icon{width:13px;height:13px}
.task-row.completed .priority,.task-row.completed .task-priority-mobile{opacity:.75}
.task-priority-mobile{display:none}
@media(max-width:1050px){.task-priority-mobile{display:inline-flex}}
@media(max-width:570px){.wipe-selector{padding:17px;gap:12px}.wipe-selector>.btn{font-size:11px;padding:10px 12px}.wipe-select-main{width:100%;min-width:0;flex-basis:100%}.wipe-grid{gap:14px}.wipe-card{padding:21px}.wipe-card h2{font-size:21px}.global-tasks-card{padding:20px;flex-direction:column;align-items:flex-start}.theme-option{min-width:0;font-size:12px;white-space:normal}.theme-options{display:grid;grid-template-columns:1fr;gap:8px}.theme-swatch{flex-shrink:0}.carryover-item{padding:12px}.carryover-item strong{font-size:11px}.wipe-intro{font-size:12px}.wipe-context{font-size:10px}.task-wipe-label{max-width:115px}}
html .label-chip{background:var(--label-bg,#edf0e7);color:var(--label-text,#61734e);border-radius:5px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.45;overflow-wrap:anywhere;max-width:100%;white-space:normal}
.category-stack{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.category-stack .category{font-size:9px;padding:4px 6px}
.tag-picker{border:0;padding:0;margin:0;min-width:0}.tag-picker legend{font-size:12px;font-weight:600;margin-bottom:12px}.tag-picker .small{margin-top:10px}
.tag-choices{display:flex;flex-wrap:wrap;gap:8px}.tag-choice{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;cursor:pointer;font-size:12px;margin:0;overflow-wrap:anywhere;max-width:100%;background:var(--surface)}
.tag-choice input{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:var(--label-color);box-shadow:none}
.tag-choice:has(input:checked){background:var(--label-bg);color:var(--label-text);border-color:var(--label-color)}
.options-intro{margin-bottom:25px;max-width:900px}.options-grid{display:grid;grid-template-columns:1fr;gap:20px}.options-panel{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:24px}.options-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.option-row{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:12px 0}.option-row>.label-chip{font-size:12px}.option-info{font-size:11px;color:var(--muted);margin-left:auto}.option-actions{display:flex;gap:4px;flex-shrink:0}.option-archived{opacity:.6}.option-row .icon-btn{width:34px;height:34px}#option-color{height:48px;padding:5px;cursor:pointer}#option-form .small{margin-top:8px}.tabs{overflow-x:auto}.tabs .tab{white-space:nowrap}.tabs .tab.active.option-color-1{color:var(--label-text)}.tabs .tab[class*=option-color].active{color:var(--label-text);border-color:var(--label-color)}
.task-tag-mobile{display:none!important}.task-row[data-priority] .priority{width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere}.task-row .priority-text{font-size:9px}.task-row .priority .icon{display:none}.drawer-badges{flex-wrap:wrap}
@media(max-width:1050px){.task-tag-mobile{display:inline-flex!important}.task-row .col-category,.task-row .col-priority{display:none}}
@media(max-width:570px){.tag-choice{font-size:12px;padding:10px}.tag-picker legend{font-size:12px}.options-panel{padding:18px}.option-row{flex-wrap:wrap;gap:8px}.option-info{margin-left:0;flex:1;font-size:10px}.option-actions{margin-left:auto}.options-heading h2{font-size:18px}.options-heading .btn{font-size:11px;padding:9px 11px}.task-tag-mobile{font-size:8px!important;padding:3px 5px!important}.task-meta{gap:6px}.label-chip.status-badge{font-size:8px;padding:4px 6px}}

html[data-theme=dark] .label-chip{background:var(--label-bg,#303d2d);color:var(--label-text,#bdc9af)}
html .category.label-chip,html .status-badge.label-chip,html .priority.label-chip{background:var(--label-bg);color:var(--label-text)}
html[data-theme=dark] .category.label-chip,html[data-theme=dark] .status-badge.label-chip,html[data-theme=dark] .priority.label-chip{background:var(--label-bg);color:var(--label-text)}
.tag-choice{background:color-mix(in srgb,var(--label-color) 7%,var(--surface));color:var(--label-text)}.tag-choice:has(input:checked){box-shadow:inset 0 0 0 1px var(--label-color)}
@media(min-width:1051px){.table-head,.task-row{grid-template-columns:minmax(200px,1fr) 130px 125px 95px 105px}.task-row .priority-text{display:inline}.task-row .col-priority{white-space:normal}}
.personal-selector,.admin-permissions{padding:22px 24px;border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:22px}.personal-selector select{max-width:460px}.personal-selector .small,.admin-permissions .small{margin-top:10px}.admin-permissions h2{font-size:20px}.admin-notice{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:14px 17px;font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 20px}.admin-filter{display:flex;align-items:center;gap:20px;margin:20px 0}.admin-filter label{margin:0;white-space:nowrap}.admin-filter select{max-width:310px}.admin-users{display:grid;gap:14px}.admin-user-card{display:flex;align-items:flex-start;gap:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:24px}.admin-user-card>.avatar{width:46px;height:46px;font-size:15px}.admin-user-info{flex:1;min-width:0}.admin-user-info h2{font-size:19px;overflow-wrap:anywhere}.admin-user-info p{margin-top:7px}.admin-role{display:inline-block;border-radius:5px;padding:4px 8px;background:var(--bg);color:var(--muted);font-size:10px;margin:8px 0 2px}.admin-role.owner{color:#997534;background:#f4ead2}.admin-user-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:350px}.admin-role-help{margin:18px 0 12px}.admin-audit{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:24px;margin-top:25px}.admin-audit>p{margin:10px 0 20px}.admin-audit-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;padding:12px 0;border-top:1px solid var(--line)}.admin-audit-row time{margin-left:auto;color:var(--muted);font-size:10px}.history-restore{display:flex;gap:15px;align-items:center;justify-content:space-between}.sidebar{overflow-y:auto}.sidebar-foot{padding-top:15px}.nav-spacer{height:18px;flex-shrink:0}.drawer .admin-notice{margin-bottom:18px}html[data-theme=dark] .admin-role.owner{background:#493f28;color:#ddc180}.admin-user-info .small,.admin-permissions .small{overflow-wrap:anywhere}
@media(max-width:700px){.admin-user-card{padding:18px;gap:12px;flex-wrap:wrap}.admin-user-info{flex-basis:calc(100% - 65px)}.admin-user-actions{width:100%;max-width:none;justify-content:flex-start;margin-top:8px}.admin-user-actions .btn{font-size:12px}.admin-filter{display:block}.admin-filter label{margin-bottom:9px}.admin-filter select{max-width:none}.personal-selector,.admin-permissions,.admin-audit{padding:18px}.history-restore{flex-direction:column;align-items:flex-start}.admin-audit-row time{margin-left:0}.admin-user-info h2{font-size:18px}}
.order-grip{width:30px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:6px;color:var(--muted);cursor:grab;touch-action:none;user-select:none}.order-grip svg{width:14px;height:22px}.order-grip:hover{background:var(--bg);color:var(--ink)}.ordering-options,.ordering-options *{cursor:grabbing!important;user-select:none!important}.option-row.option-dragging{background:var(--bg);box-shadow:inset 3px 0 #9aa981;outline:1px dashed #9aa981;border-radius:7px;opacity:.85}.option-order-saving{opacity:.65;pointer-events:none}.option-row{scroll-margin:80px}.options-list[data-option-kind]{position:relative}.option-row .order-grip:focus-visible{outline:2px solid #a68c53;outline-offset:2px}
@media(max-width:570px){.order-grip{width:32px;height:40px}.option-row .order-grip{align-self:center}.option-info{min-width:0}.option-row .option-actions{margin-left:auto}}
.activity-record-actions{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.history-delete{width:36px;height:36px;color:var(--muted)}.history-delete:hover{background:#faeee8;color:#a9523f}html[data-theme=dark] .history-delete:hover{background:#432c26;color:#edb9a4}.activity-copy{min-width:0}.activity-copy .activity-task{overflow-wrap:anywhere}
@media(max-width:570px){.activity-record-actions{gap:0}.history-delete{width:40px;height:40px}.activity-item{gap:9px}.activity-record-actions .activity-time{display:none}}
.task-delete-button{color:#ae6d59}.task-delete-button:hover{background:#faeee8;color:#a9523f}.task-delete-shortcut{display:inline-flex;gap:4px;align-items:center;font-size:10px;color:#ac6855;padding:3px 5px;border-radius:5px}.task-delete-shortcut .icon{width:13px;height:13px}.task-delete-shortcut:hover{background:#fae7df;color:#9b4632}html[data-theme=dark] .task-delete-button,html[data-theme=dark] .task-delete-shortcut{color:#dba590}html[data-theme=dark] .task-delete-button:hover,html[data-theme=dark] .task-delete-shortcut:hover{background:#432c26;color:#edb9a4}
@media(max-width:570px){.task-delete-shortcut{font-size:10px;min-height:28px;padding:5px 7px}.drawer-actions{gap:2px}.drawer-actions .icon-btn{width:34px;height:38px}.drawer-top{gap:8px}.drawer-top-label{min-width:0}}
