/* TaskForge UI - sticky header, scroll line, cookie consent. Remove taskforge-ui.* to roll back. */
header.wp-block-template-part{position:sticky;top:0;z-index:60;transition:box-shadow .25s}
.admin-bar header.wp-block-template-part{top:32px}
@media (max-width:782px){.admin-bar header.wp-block-template-part{top:46px}}
body.tf-scrolled header.wp-block-template-part{box-shadow:0 8px 28px rgba(8,14,24,.30)}
.tf-progress{position:fixed;left:0;top:0;height:2px;width:100%;z-index:100000;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,#FF9900,#2DD4BF);pointer-events:none}
.admin-bar .tf-progress{top:32px}
.tfc{position:fixed;left:20px;bottom:20px;z-index:99999;width:min(440px,calc(100vw - 32px));background:#0F1826;color:#DCE6F1;border:1px solid rgba(255,255,255,.12);border-top:3px solid #FF9900;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.45);padding:20px;opacity:0;transform:translateY(24px);transition:opacity .3s,transform .3s;font-size:.93rem;line-height:1.5}
.tfc.tfc-show{opacity:1;transform:none}
.tfc .tfc-title{display:block;font-size:1.05rem;color:#fff;margin-bottom:6px}
.tfc .tfc-text{margin:0 0 14px;color:#B9C7D8}
.tfc a.tfc-link{color:#FF9900;text-decoration:underline;text-underline-offset:3px}
.tfc-acts{display:flex;flex-wrap:wrap;gap:8px}
.tfc .tfc-b{font:inherit;font-weight:800;border-radius:10px;padding:.65em 1.05em;cursor:pointer;border:2px solid transparent;transition:background .15s,border-color .15s,color .15s;line-height:1.2}
.tfc .tfc-b1{background:#FF9900;color:#16202F;border-color:#FF9900}
.tfc .tfc-b1:hover{background:#FFB84D;border-color:#FFB84D}
.tfc .tfc-b2{background:#E8EEF5;color:#16202F;border-color:#E8EEF5}
.tfc .tfc-b2:hover{background:#fff;border-color:#fff}
.tfc .tfc-b3{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.tfc .tfc-b3:hover{border-color:#2DD4BF;color:#2DD4BF}
.tfc-panel{display:none;margin-top:16px;border-top:1px solid rgba(255,255,255,.1);padding-top:8px}
.tfc.tfc-open .tfc-panel{display:block}
.tfc-row{display:flex;align-items:center;gap:14px;padding:10px 0;cursor:pointer;position:relative}
.tfc-rt{flex:1;display:block}
.tfc-rt strong{display:block;color:#fff}
.tfc-rt small{display:block;color:#93A4B8;font-size:.82rem}
.tfc-row input{position:absolute;opacity:0;width:44px;height:24px;right:0;margin:0}
.tfc-sw{flex:0 0 44px;height:24px;border-radius:999px;background:#33425A;position:relative;transition:background .2s}
.tfc-sw::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}
.tfc-row input:checked + .tfc-sw{background:#2DD4BF}
.tfc-row input:checked + .tfc-sw::after{transform:translateX(20px)}
.tfc-row input:disabled + .tfc-sw{opacity:.6}
.tfc-row input:focus-visible + .tfc-sw{outline:2px solid #FF9900;outline-offset:2px}
.tfc .tfc-save{margin-top:10px;width:100%}
.tf-legal .tf-cookie-link{color:#fff;text-decoration:underline;margin-left:.4em}
@media (max-width:520px){.tfc{left:10px;right:10px;bottom:10px;width:auto}}
@media (prefers-reduced-motion:reduce){.tfc,.tfc-sw,.tfc-sw::after{transition:none}}
