/* Focus thread: the strip at the top of the workbench. */
.focus-flow{margin:0 0 28px;padding:24px 26px 26px;background:#fff;border:1px solid #d8e1e7;border-radius:18px;box-shadow:0 6px 24px rgba(20,60,90,.06);--ff-green:#3d924d;--ff-orange:#db8609;--ff-grey:#8a97a3}
.ff-title{margin:0 0 4px;font-size:22px;color:#1b3a52}
.ff-lead{margin:0 0 18px;color:#4b5b68;font-size:15px;line-height:1.5;max-width:70ch}
.ff-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ff-card{border:2px solid var(--ff-grey);border-radius:12px;padding:16px 18px;background:#fff}
.ff-card[data-status=unmet]{border-color:var(--ff-orange)}
.ff-card[data-status=met]{border-color:var(--ff-green)}
.ff-card-head{display:flex;align-items:flex-start;gap:12px}
.ff-card-title{flex:1;min-width:0}
.ff-card-title strong{display:block;color:#1b3a52;line-height:1.4;font-size:17px}
.ff-card-title small{display:block;margin-top:2px;color:#5f6b76}
.ff-toggle,.ff-remove{flex:none;min-height:40px;border-radius:999px;border:1px solid #cfd8de;background:#fff;color:#1b3a52;font:inherit;font-size:14px;font-weight:700;cursor:pointer;padding:6px 14px;box-shadow:none;transform:none}
.ff-toggle{width:40px;padding:0;display:grid;place-items:center}
.ff-chevron{width:10px;height:10px;border-right:2px solid #8a97a3;border-bottom:2px solid #8a97a3;transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.ff-card.is-open .ff-chevron{transform:rotate(-135deg) translate(-2px,-2px);border-color:#006da8}
.ff-toggle:focus-visible,.ff-remove:focus-visible,.ff-link:focus-visible,.ff-add:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.ff-steps{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ff-step{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:#f7fafc}
.ff-dot{grid-row:1/3;width:28px;height:28px;border-radius:50%;box-sizing:border-box;display:grid;place-items:center;font-size:15px;font-weight:800;line-height:1;border:2px solid var(--ff-grey);color:var(--ff-grey);background:#fff}
.ff-dot.is-done{border-color:var(--ff-green);color:var(--ff-green)}
.ff-dot.is-done::before{width:16px;height:16px}
.ff-dot.is-wait{border-color:var(--ff-orange)}
.ff-dot.is-wait::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--ff-orange)}
.ff-dot.is-todo{border-style:dashed}
.ff-step-label{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#5f6b76}
.ff-step-hint{grid-column:2;color:#33495a;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.ff-step.is-todo .ff-step-hint{color:#5f6b76}
.ff-body{margin-top:16px;padding-top:16px;border-top:1px solid #e1e8ed;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ff-block h3{margin:0 0 8px;font-size:15px;color:#006da8}
.ff-block p{margin:0 0 10px;font-size:14px;line-height:1.5;color:#33495a}
.ff-muted{color:#6b7886!important}
.ff-chips{display:flex;flex-wrap:wrap;gap:6px}
.ff-chip{padding:4px 10px;border:1.5px solid var(--ff-green);color:#2f7a3d;border-radius:999px;font-size:13px;font-weight:700;background:#fff}
.ff-practice{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #eef2f5}
.ff-practice strong{display:block;font-size:14px;color:#1b3a52;line-height:1.35}
.ff-practice small{color:#5f6b76}
.ff-link,.ff-add{min-height:44px;padding:4px 12px;border-radius:999px;border:1px solid #cfd8de;background:#fff;color:#006da8;font:inherit;font-size:13px;font-weight:700;cursor:pointer;box-shadow:none;transform:none}
.ff-add{color:#1b3a52}
.ff-add:disabled{opacity:.6;cursor:default}
.ff-empty{grid-column:1/-1;margin:0;padding:6px 2px;color:#4b5b68;font-size:15px}
.ff-ghost{border:2px dashed #cfd8de;background:#fafcfd}
.ff-ghost-bars{margin-bottom:6px}
.ff-ghost-bar{display:block;height:12px;border-radius:6px;background:#e5ebf0;margin:8px 0}
.ff-ghost-bar.short{width:45%}
.ff-ghost .ff-step{background:transparent}
@media(max-width:1000px){.ff-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-body{grid-template-columns:1fr}}
@media(max-width:600px){.focus-flow{padding:18px 16px 20px}.ff-steps{grid-template-columns:1fr}.ff-card-head{flex-wrap:wrap}.ff-practice{grid-template-columns:1fr auto}.ff-practice .ff-add{grid-column:1/-1;justify-self:start}}
@media(prefers-reduced-motion:reduce){.ff-chevron{transition:none}}
@media print{.focus-flow{display:none!important}}

/* One place for the area overview: the cards live in the panel under the decision bar, not again in the first board. */
.wb-pane .insight-grid:not(.ao-grid){display:none}
.wb-pane .wb-section-title.is-duplicate{display:none}

.ff-cost{color:#33495a!important;font-weight:700}
.ff-prefill{grid-column:1/-1;margin:-4px 0 4px;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.ff-prefill small{color:#5f6b76;font-size:13px;line-height:1.45}

/* Skip link: visible only while it has keyboard focus. */
.ff-skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
.ff-skip:focus{position:static;width:max-content!important;max-width:100%;height:auto;min-height:44px;clip:auto;overflow:visible;margin:0 0 12px;padding:8px 16px;border-radius:999px;border:1px solid #006da8;background:#fff;color:#006da8;font:inherit;font-weight:700;display:inline-block}
.focus-flow:focus{outline:none}
.focus-flow:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}

/* Feedback when a mõõdik is added to the focus. */
.ff-count{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 9px;margin-left:6px;border-radius:999px;background:#2f7a3d;color:#fff;font-size:16px;font-weight:800;vertical-align:middle}
.ff-toast{position:fixed;left:50%;bottom:24px;z-index:70;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;width:min(640px,calc(100% - 24px));box-sizing:border-box;padding:14px 12px 16px 16px;background:#fff;border:1px solid #cfe3d3;border-radius:20px;box-shadow:0 18px 50px rgba(8,28,44,.32),0 0 0 4px rgba(61,146,77,.14);color:#1b3a52;overflow:hidden;transform:translate(-50%,24px);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.ff-toast.is-open{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.ff-toast-icon{width:44px;height:44px;border-radius:50%;background:#e6f3e9;border:2.5px solid #3d924d;color:#2f7a3d;display:grid;place-items:center}
.ff-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ff-toast-body{display:grid;gap:2px;min-width:0}
.ff-toast-title{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#2f7a3d}
.ff-toast-name{font-size:17px;font-weight:800;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ff-toast-count{font-size:13px;color:#5f6b76}
.ff-toast-go{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px 8px 18px;border-radius:999px;border:0;background:#2f7a3d;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:none;white-space:nowrap}
.ff-toast-go .ff-ico{width:18px;height:18px;stroke-width:2.8}
.ff-toast-go:hover{background:#27663a}
.ff-toast-x{width:44px;height:44px;border-radius:50%;border:1.5px solid #cfd8de;background:#fff;color:#1b3a52;cursor:pointer;padding:0;box-shadow:none;display:grid;place-items:center}
.ff-toast-x .ff-ico{width:18px;height:18px;stroke-width:2.6}
.ff-toast button:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.ff-toast-bar{position:absolute;left:0;bottom:0;height:5px;width:100%;background:#3d924d;transform-origin:left;opacity:.85}
.ff-toast.is-open .ff-toast-bar{animation:ff-toast-timer 9s linear forwards}
.ff-toast.is-paused .ff-toast-bar{animation-play-state:paused}
@keyframes ff-toast-timer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.ff-fly{position:fixed;z-index:71;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#3d924d;color:#fff;font-size:22px;font-weight:800;box-shadow:0 6px 18px rgba(8,28,44,.4);pointer-events:none}
.ff-card.is-new{animation:ff-new 2.8s ease-out}
@keyframes ff-new{0%,40%{box-shadow:0 0 0 6px rgba(61,146,77,.55)}100%{box-shadow:0 0 0 0 rgba(61,146,77,0)}}
@media(max-width:600px){.ff-toast{left:8px;right:8px;bottom:8px;width:auto;transform:translate(0,24px);grid-template-columns:auto minmax(0,1fr) auto;gap:10px 12px}.ff-toast.is-open{transform:translate(0,0)}.ff-toast-go{grid-column:2/3;justify-content:center}.ff-toast-x{grid-column:3;grid-row:1}}
@media(prefers-reduced-motion:reduce){.ff-toast{transition:none}.ff-toast.is-open .ff-toast-bar{animation:none;transform:scaleX(.5)}.ff-card.is-new{animation:none;box-shadow:0 0 0 6px rgba(61,146,77,.55)}}
@media print{.ff-toast,.ff-fly{display:none!important}}
