.task-quota{margin:10px 0 0;color:#64748b;font-size:12px;line-height:1.65;letter-spacing:.02em}
.task-quota.is-low{color:#b45309}
.task-quota.is-unlocked{color:#087f6a}
.task-unlock-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 15px;margin-left:8px;border:1px solid #d6e2f3;border-radius:20px;background:#edf4ff;color:#285392;font-size:12px;cursor:pointer;white-space:nowrap;transition:background .2s,box-shadow .2s}
.task-unlock-button:hover{background:#dfebff;box-shadow:0 3px 12px #3263aa18}
.task-unlock-button:disabled{color:#087f6a;background:#e8f8f1;border-color:#bde8d8;cursor:default}
.task-unlock-button[hidden]{display:none}
.task-guard-dialog input{box-sizing:border-box;width:100%;height:44px;padding:10px 12px;border:1px solid #cedbec;border-radius:10px;font:inherit;margin:0 0 12px}
.task-guard-dialog .unlock-feedback{color:#b45309;font-size:13px;min-height:20px}
.task-guard-dialog form button+button{margin-left:10px}
.task-batch-panel{margin-top:12px;padding:12px 15px;border:1px solid #d7e5f2;border-radius:12px;background:#f5f9ff;color:#365372}
.task-batch-panel p{margin:0 0 5px;font-size:13px;line-height:1.7}
.task-batch-panel small{display:block;font-size:12px;line-height:1.6;color:#6c8098}
.task-batch-panel button{margin:8px 8px 0 0;padding:5px 12px;border:1px solid #cadbf0;border-radius:8px;color:#315780;background:white;cursor:pointer}
.task-guard-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-sizing:border-box;border:1px solid #dce6f2;border-radius:18px;padding:24px;background:#fff;color:#25354c;box-shadow:0 24px 80px #12294333;overflow:auto}
.task-guard-dialog::backdrop{background:#10233b66;backdrop-filter:blur(4px)}
.task-guard-dialog h3{font-size:18px;line-height:1.5;margin:0 0 12px}
.task-guard-dialog p{font-size:14px;line-height:1.9;margin:0 0 18px;overflow-wrap:anywhere}
.task-guard-dialog button{min-height:40px;cursor:pointer;padding:8px 20px;border-radius:10px}
.task-guard-widget{min-height:65px;margin-bottom:18px}
.task-guard-dialog[open]{animation:task-guard-enter .22s ease-out}
@keyframes task-guard-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.task-guard-dialog[open]{animation:none}}
