/* Team KPI Tracker - soft scoreboard theme.
   :is(#fcase-tracker-root,#ft-layer) is expanded at build time to the two scoped roots (page app + slide-out panel). */
html.kt-scroll-lock{overflow:hidden;}

:is(#fcase-tracker-root,#ft-layer){
  color-scheme:light;
  --bg:#ECE8E2;
  --raise:10px 10px 24px rgba(160,146,128,.34),-10px -10px 24px rgba(255,255,255,.92);
  --raise-sm:5px 5px 12px rgba(160,146,128,.32),-5px -5px 12px rgba(255,255,255,.9);
  --press:inset 3px 3px 7px rgba(160,146,128,.36),inset -3px -3px 7px rgba(255,255,255,.88);
  --text:#2A2723; --text-2:#5C564E; --muted:#8B847A; --line:rgba(117,104,89,.16);
  --accent:#4C51DA; --accent-2:#3C41C6; --on-accent:#FFFFFF; --accent-glow:rgba(76,81,218,.28);
  --hi:#0E7A55; --hi-bg:#DAEEE2; --band-hi:rgba(203,232,214,.66);
  --mid:#94690C; --mid-bg:#F4ECC4; --band-mid:rgba(246,236,188,.72); --dot-mid:#D8A52C;
  --lo:#BD3A2C; --lo-bg:#F5DCD6; --band-lo:rgba(243,214,207,.74);
  --dot-line:rgba(117,104,89,.28);
  --row-hover:rgba(76,81,218,.05); --row-open:rgba(76,81,218,.10);
  --overlay:rgba(48,40,32,.26); --live:#16A06A; --sun:#D9962B;
  --fcase:#4C51DA; --fcase-bg:rgba(76,81,218,.12); --dfs:#0F6E8C; --dfs-bg:rgba(15,110,140,.12);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  font-size:14px; line-height:1.5; color:var(--text);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
@media (prefers-color-scheme:dark){
  :is(#fcase-tracker-root,#ft-layer):not([data-theme="light"]){
    color-scheme:dark;
    --bg:#24262C;
    --raise:10px 10px 24px rgba(0,0,0,.42),-8px -8px 22px rgba(255,255,255,.035);
    --raise-sm:5px 5px 12px rgba(0,0,0,.40),-4px -4px 10px rgba(255,255,255,.035);
    --press:inset 3px 3px 7px rgba(0,0,0,.48),inset -3px -3px 7px rgba(255,255,255,.04);
    --text:#EDE9E3; --text-2:#BDB6AC; --muted:#8C867D; --line:rgba(255,255,255,.08);
    --accent:#8286F4; --accent-2:#9A9EF7; --on-accent:#15161B; --accent-glow:rgba(130,134,244,.25);
    --hi:#55C796; --hi-bg:rgba(85,199,150,.15); --band-hi:rgba(85,199,150,.10);
    --mid:#E7BE55; --mid-bg:rgba(231,190,85,.15); --band-mid:rgba(231,190,85,.09); --dot-mid:#E7BE55;
    --lo:#F08274; --lo-bg:rgba(240,130,116,.15); --band-lo:rgba(240,130,116,.09);
    --dot-line:rgba(255,255,255,.16);
    --row-hover:rgba(130,134,244,.07); --row-open:rgba(130,134,244,.14);
    --overlay:rgba(0,0,0,.5); --live:#4CC98E; --sun:#E7BE55;
    --fcase:#9396F6; --fcase-bg:rgba(147,150,246,.15); --dfs:#62C3E0; --dfs-bg:rgba(98,195,224,.14);
  }
}
:is(#fcase-tracker-root,#ft-layer)[data-theme="dark"]{
  color-scheme:dark;
  --bg:#24262C;
  --raise:10px 10px 24px rgba(0,0,0,.42),-8px -8px 22px rgba(255,255,255,.035);
  --raise-sm:5px 5px 12px rgba(0,0,0,.40),-4px -4px 10px rgba(255,255,255,.035);
  --press:inset 3px 3px 7px rgba(0,0,0,.48),inset -3px -3px 7px rgba(255,255,255,.04);
  --text:#EDE9E3; --text-2:#BDB6AC; --muted:#8C867D; --line:rgba(255,255,255,.08);
  --accent:#8286F4; --accent-2:#9A9EF7; --on-accent:#15161B; --accent-glow:rgba(130,134,244,.25);
  --hi:#55C796; --hi-bg:rgba(85,199,150,.15); --band-hi:rgba(85,199,150,.10);
  --mid:#E7BE55; --mid-bg:rgba(231,190,85,.15); --band-mid:rgba(231,190,85,.09); --dot-mid:#E7BE55;
  --lo:#F08274; --lo-bg:rgba(240,130,116,.15); --band-lo:rgba(240,130,116,.09);
  --dot-line:rgba(255,255,255,.16);
  --row-hover:rgba(130,134,244,.07); --row-open:rgba(130,134,244,.14);
  --overlay:rgba(0,0,0,.5); --live:#4CC98E; --sun:#E7BE55;
    --fcase:#9396F6; --fcase-bg:rgba(147,150,246,.15); --dfs:#62C3E0; --dfs-bg:rgba(98,195,224,.14);
}

/* ---- resets that guard against theme / page-builder styles ---- */
:is(#fcase-tracker-root,#ft-layer) *,:is(#fcase-tracker-root,#ft-layer) *::before,:is(#fcase-tracker-root,#ft-layer) *::after{box-sizing:border-box;}
:is(#fcase-tracker-root,#ft-layer) h1,:is(#fcase-tracker-root,#ft-layer) h2,:is(#fcase-tracker-root,#ft-layer) h3,:is(#fcase-tracker-root,#ft-layer) p,:is(#fcase-tracker-root,#ft-layer) dl,:is(#fcase-tracker-root,#ft-layer) dt,:is(#fcase-tracker-root,#ft-layer) dd{margin:0;padding:0;font-family:inherit;color:inherit;text-transform:none;letter-spacing:normal;line-height:inherit;font-size:inherit;font-weight:inherit;}
:is(#fcase-tracker-root,#ft-layer) button{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer;text-transform:none;letter-spacing:normal;line-height:inherit;box-shadow:none;border-radius:0;min-height:0;width:auto;height:auto;text-align:inherit;}
:is(#fcase-tracker-root,#ft-layer) button:disabled{cursor:default;}
:is(#fcase-tracker-root,#ft-layer) input,:is(#fcase-tracker-root,#ft-layer) select{font:inherit;color:inherit;margin:0;letter-spacing:normal;text-transform:none;min-height:0;max-width:100%;}
:is(#fcase-tracker-root,#ft-layer) table{border-collapse:collapse;border-spacing:0;border:0;margin:0;width:100%;background:none;}
:is(#fcase-tracker-root,#ft-layer) th,:is(#fcase-tracker-root,#ft-layer) td{border:0;background:none;text-align:left;vertical-align:middle;}
:is(#fcase-tracker-root,#ft-layer) a{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) svg{display:inline-block;vertical-align:middle;flex:none;}
:is(#fcase-tracker-root,#ft-layer) [hidden]{display:none !important;}
:is(#fcase-tracker-root,#ft-layer) :focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ---- page frame ---- */
#fcase-tracker-root{box-sizing:border-box;background:var(--bg);border-radius:28px;padding:clamp(18px,3vw,40px);max-width:1480px;margin:0 auto;}
/* Full layout (the default): edge to edge, content capped at a readable width on very wide screens */
#fcase-tracker-root.kt-full{border-radius:0;max-width:none;
  padding-left:max(clamp(18px,3vw,40px), calc((var(--kt-w,100vw) - 1760px) / 2));
  padding-right:max(clamp(18px,3vw,40px), calc((var(--kt-w,100vw) - 1760px) / 2));}
html.kt-page,html.kt-page body{background-color:var(--kt-page-bg,#ECE8E2) !important;transition:background-color .2s ease;}
html.kt-page-dark{color-scheme:dark;}
.kt-bleed-parent{background-color:transparent !important;background-image:none !important;}

/* ---- tone helpers ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-tone-hi{color:var(--hi);} :is(#fcase-tracker-root,#ft-layer) .kt-tone-mid{color:var(--mid);} :is(#fcase-tracker-root,#ft-layer) .kt-tone-lo{color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .kt-tint-hi{background:var(--hi-bg);color:var(--hi);} :is(#fcase-tracker-root,#ft-layer) .kt-tint-mid{background:var(--mid-bg);color:var(--mid);} :is(#fcase-tracker-root,#ft-layer) .kt-tint-lo{background:var(--lo-bg);color:var(--lo);}

/* ---- header ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px 24px;margin-bottom:26px;}
:is(#fcase-tracker-root,#ft-layer) .kt-title{font-size:clamp(22px,2.4vw,28px);font-weight:400;letter-spacing:.24em;text-transform:uppercase;line-height:1.15;}
:is(#fcase-tracker-root,#ft-layer) .kt-slash{color:var(--accent);margin:0 .08em;}
:is(#fcase-tracker-root,#ft-layer) .kt-meta{margin-top:9px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-live{display:inline-flex;align-items:center;gap:7px;letter-spacing:normal;text-transform:none;font-weight:500;font-size:12.5px;margin-left:6px;}
:is(#fcase-tracker-root,#ft-layer) .kt-live i{width:7px;height:7px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px var(--hi-bg);}
:is(#fcase-tracker-root,#ft-layer) .kt-live.is-saving i{background:var(--dot-mid);box-shadow:0 0 0 3px var(--mid-bg);}
:is(#fcase-tracker-root,#ft-layer) .kt-live.is-error{color:var(--lo);} :is(#fcase-tracker-root,#ft-layer) .kt-live.is-error i{background:var(--lo);box-shadow:0 0 0 3px var(--lo-bg);}
:is(#fcase-tracker-root,#ft-layer) .kt-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;}
:is(#fcase-tracker-root,#ft-layer) .kt-period{display:flex;align-items:center;gap:2px;padding:5px;border-radius:999px;background:var(--bg);box-shadow:var(--raise-sm);}
:is(#fcase-tracker-root,#ft-layer) .kt-period-btn{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-period-btn:hover:not(:disabled){color:var(--accent);box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-period-btn:disabled{opacity:.3;}
:is(#fcase-tracker-root,#ft-layer) .kt-period-pick{position:relative;display:block;min-width:156px;padding:0 8px;text-align:center;font-weight:600;font-size:14.5px;cursor:pointer;}
:is(#fcase-tracker-root,#ft-layer) .kt-period-pick select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;appearance:none;-webkit-appearance:none;border:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-period-pick:focus-within{outline:2px solid var(--accent);outline-offset:6px;border-radius:10px;}
:is(#fcase-tracker-root,#ft-layer) .kt-pill-btn{display:inline-flex;align-items:center;gap:9px;height:46px;padding:0 20px;border-radius:999px;background:var(--bg);box-shadow:var(--raise-sm);font-weight:600;font-size:14px;}
:is(#fcase-tracker-root,#ft-layer) .kt-pill-btn:hover{color:var(--accent);} :is(#fcase-tracker-root,#ft-layer) .kt-pill-btn:active{box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-theme{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 15px;border-radius:999px;background:var(--bg);box-shadow:var(--raise-sm);color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-theme .kt-sun{color:var(--sun);display:inline-flex;}
:is(#fcase-tracker-root,#ft-layer) .kt-theme .kt-moon{display:inline-flex;}
:is(#fcase-tracker-root,#ft-layer) .kt-theme[aria-checked="true"] .kt-sun{color:var(--muted);} :is(#fcase-tracker-root,#ft-layer) .kt-theme[aria-checked="true"] .kt-moon{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-switch{position:relative;width:42px;height:24px;border-radius:999px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-knob{position:absolute;top:4px;left:4px;width:16px;height:16px;border-radius:50%;background:var(--bg);box-shadow:var(--raise-sm);transition:transform .2s ease,background .2s ease;}
:is(#fcase-tracker-root,#ft-layer) .kt-theme[aria-checked="true"] .kt-knob{transform:translateX(18px);background:var(--accent);}

:is(#fcase-tracker-root,#ft-layer) .kt-banner{margin:-6px 0 22px;padding:11px 16px;border-radius:14px;font-size:13.5px;box-shadow:var(--press);color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-banner.is-ok{color:var(--hi);} :is(#fcase-tracker-root,#ft-layer) .kt-banner.is-warn{color:var(--lo);}

/* ---- layout ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-grid{display:grid;grid-template-columns:minmax(250px,292px) minmax(0,1fr);gap:28px;align-items:start;}
:is(#fcase-tracker-root,#ft-layer) .kt-side{display:flex;flex-direction:column;gap:24px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board-card{grid-column:1 / -1;}
:is(#fcase-tracker-root,#ft-layer) .kt-main{display:flex;flex-direction:column;gap:24px;min-width:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-card{background:var(--bg);border-radius:26px;box-shadow:var(--raise);padding:24px 26px 26px;min-width:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;}
:is(#fcase-tracker-root,#ft-layer) .kt-card-title{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;}
:is(#fcase-tracker-root,#ft-layer) .kt-card-note{margin-top:10px;color:var(--text-2);font-size:13px;max-width:72ch;}
:is(#fcase-tracker-root,#ft-layer) .kt-empty{padding:28px 8px;text-align:center;color:var(--text-2);font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .kt-hint{margin-top:12px;font-size:12.5px;color:var(--muted);line-height:1.55;max-width:70ch;}

/* ---- legend ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;}
:is(#fcase-tracker-root,#ft-layer) .kt-legend-lead{font-size:12.5px;font-weight:600;color:var(--text-2);margin-right:4px;}
:is(#fcase-tracker-root,#ft-layer) .kt-legend-pill{padding:5px 12px;border-radius:999px;font-size:12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-legend-pill b{font-weight:600;}

/* ---- summary cards ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
:is(#fcase-tracker-root,#ft-layer) .kt-stat{background:var(--bg);border-radius:22px;box-shadow:var(--raise);padding:20px 22px 22px;min-height:132px;display:flex;flex-direction:column;}
:is(#fcase-tracker-root,#ft-layer) .kt-stat-label{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-stat-value{margin:12px 0 8px;font-size:32px;line-height:1.05;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-stat-value small{font-size:15px;font-weight:600;color:var(--muted);letter-spacing:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-stat-value.is-muted{color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-stat-sub{font-size:13px;color:var(--text-2);line-height:1.45;}
:is(#fcase-tracker-root,#ft-layer) .kt-tag{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:600;}

/* ---- charts ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-seg{display:inline-flex;flex-wrap:wrap;gap:3px;padding:4px;border-radius:14px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-seg button{padding:6px 11px;border-radius:10px;font-size:12.5px;font-weight:600;color:var(--text-2);white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .kt-seg button:hover{color:var(--text);}
:is(#fcase-tracker-root,#ft-layer) .kt-seg button[aria-selected="true"],:is(#fcase-tracker-root,#ft-layer) .kt-seg button[aria-pressed="true"]{background:var(--bg);box-shadow:var(--raise-sm);color:var(--accent);}

:is(#fcase-tracker-root,#ft-layer) .kt-dot{--name-w:196px;margin-top:18px;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-head{display:grid;grid-template-columns:var(--name-w) minmax(0,1fr);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-axis{position:relative;height:24px;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-axis span{position:absolute;top:2px;transform:translateX(-50%);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-body{position:relative;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-bands{position:absolute;top:0;bottom:0;left:var(--name-w);right:0;pointer-events:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-bands i{position:absolute;top:0;bottom:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-band-lo{background:var(--band-lo);fill:var(--band-lo);}
:is(#fcase-tracker-root,#ft-layer) .kt-band-mid{background:var(--band-mid);fill:var(--band-mid);}
:is(#fcase-tracker-root,#ft-layer) .kt-band-hi{background:var(--band-hi);fill:var(--band-hi);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-row{position:relative;display:grid;grid-template-columns:var(--name-w) minmax(0,1fr);align-items:center;width:100%;min-height:30px;text-align:left;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-name{padding-right:14px;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-row:hover .kt-dot-name{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-row:focus-visible{outline-offset:0;border-radius:8px;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-track{position:relative;height:30px;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-line{position:absolute;left:0;top:50%;height:1px;background:var(--dot-line);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-pt{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-hi{background:var(--hi);} :is(#fcase-tracker-root,#ft-layer) .kt-dot-mid{background:var(--dot-mid);} :is(#fcase-tracker-root,#ft-layer) .kt-dot-lo{background:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-row:hover .kt-dot-pt{box-shadow:0 0 0 4px var(--accent-glow);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-val{position:absolute;top:50%;transform:translate(11px,-50%);font-size:12.5px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-val.is-left{transform:translate(calc(-100% - 11px),-50%);}
:is(#fcase-tracker-root,#ft-layer) .kt-dot-none{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--muted);font-style:italic;}

:is(#fcase-tracker-root,#ft-layer) .kt-trend-card{margin-bottom:26px;padding:24px 28px 18px;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-head{align-items:flex-start;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-head .kt-card-note{margin-top:6px;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-key{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-metric{display:inline-flex;align-items:center;gap:8px;margin-right:6px;font-size:13px;font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-metric i{width:18px;height:3px;border-radius:2px;background:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-trend{position:relative;margin-top:12px;border-radius:14px;min-height:120px;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend:focus-visible{outline-offset:6px;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y;}
:is(#fcase-tracker-root,#ft-layer) .kt-axis-x{font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-area{fill:url(#kt-area-grad);stroke:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-guide{stroke:var(--accent);stroke-width:1;stroke-dasharray:3 4;opacity:.7;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-pt.is-active{fill:var(--bg);stroke:var(--accent);stroke-width:3;}
:is(#fcase-tracker-root,#ft-layer) .kt-tip{position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,calc(-100% - 16px));display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 13px 10px;border-radius:14px;background:var(--bg);box-shadow:var(--raise-sm);font-size:12px;white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .kt-tip span{color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-tip b{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-tip em{font-style:normal;font-size:11px;font-weight:600;padding:1px 8px;border-radius:999px;}

:is(#fcase-tracker-root,#ft-layer) .kt-avg{margin-bottom:30px;}
:is(#fcase-tracker-root,#ft-layer) .kt-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin:0 4px 16px;}
:is(#fcase-tracker-root,#ft-layer) .kt-section-head .kt-card-note{margin-top:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:18px 20px 22px;border-radius:22px;background:var(--bg);box-shadow:var(--raise);text-align:left;transition:box-shadow .2s ease;}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-tile:hover .kt-avg-label{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-tile.is-on{box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-tile.is-on::after{content:"";position:absolute;left:20px;bottom:11px;width:28px;height:3px;border-radius:3px;background:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-label{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-tile.is-on .kt-avg-label{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-value{margin-top:2px;font-size:30px;line-height:1.08;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-value.is-muted{color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-height:20px;}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-meta .kt-tag{margin-left:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-delta{font-size:12px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-delta.is-good{color:var(--hi);} :is(#fcase-tracker-root,#ft-layer) .kt-delta.is-bad{color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .kt-avg-sub{font-size:12.5px;line-height:1.4;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-axis{fill:var(--muted);font-size:11px;font-family:inherit;}
:is(#fcase-tracker-root,#ft-layer) .kt-grid-line{stroke:var(--line);stroke-width:1;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-line{stroke:var(--accent);stroke-width:2.25;fill:none;stroke-linejoin:round;stroke-linecap:round;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-pt{fill:var(--accent);stroke:var(--bg);stroke-width:2.5;}
:is(#fcase-tracker-root,#ft-layer) .kt-trend-val{fill:var(--text);font-size:12.5px;font-weight:600;font-family:inherit;}

/* ---- leaderboard ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-search{position:relative;display:block;}
:is(#fcase-tracker-root,#ft-layer) .kt-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-search .kt-input{padding-left:36px;width:230px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board-hint{margin-top:8px;font-size:12.5px;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-board-wrap{margin:14px -8px 0;overflow-x:auto;}
:is(#fcase-tracker-root,#ft-layer) table.kt-board{min-width:1080px;font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board th{padding:10px 8px;border-bottom:1px solid var(--line);white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .kt-board th[rowspan] .kt-sort-btn{white-space:normal;text-align:left;max-width:92px;line-height:1.35;}
:is(#fcase-tracker-root,#ft-layer) .kt-sort-btn{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-sort-btn:hover,:is(#fcase-tracker-root,#ft-layer) .kt-board th[aria-sort] .kt-sort-btn{color:var(--text);}
:is(#fcase-tracker-root,#ft-layer) .kt-sort-arrow{font-size:11px;min-width:8px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board td{padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-board tbody tr{cursor:pointer;}
:is(#fcase-tracker-root,#ft-layer) .kt-board tbody tr:hover td{background:var(--row-hover);}
:is(#fcase-tracker-root,#ft-layer) .kt-board tbody tr.is-open td{background:var(--row-open);}
:is(#fcase-tracker-root,#ft-layer) .kt-board tbody tr td:first-child{border-radius:12px 0 0 12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board tbody tr td:last-child{border-radius:0 12px 12px 0;}
:is(#fcase-tracker-root,#ft-layer) .kt-board tr.is-dragging{opacity:.35;}
:is(#fcase-tracker-root,#ft-layer) .kt-board tr.drop-before td{box-shadow:inset 0 2px 0 var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-board tr.drop-after td{box-shadow:inset 0 -2px 0 var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-c-grip{width:26px;padding-right:0 !important;}
:is(#fcase-tracker-root,#ft-layer) .kt-grip{cursor:grab;color:var(--muted);user-select:none;font-size:15px;padding:2px 4px;}
:is(#fcase-tracker-root,#ft-layer) .kt-name-btn{font-weight:600;text-align:left;}
:is(#fcase-tracker-root,#ft-layer) .kt-name-btn:hover{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-flag{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lo);margin-left:8px;vertical-align:middle;}
:is(#fcase-tracker-root,#ft-layer) .kt-chip{display:inline-block;padding:3px 8px;border-radius:8px;font-weight:600;font-size:12.5px;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-chip.is-none{color:var(--muted);font-weight:500;padding-left:9px;}
:is(#fcase-tracker-root,#ft-layer) .kt-cell-sub{display:block;margin-top:3px;padding-left:9px;font-size:10.5px;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-board th[rowspan]{vertical-align:bottom;}
:is(#fcase-tracker-root,#ft-layer) .kt-board th.kt-group{padding:8px 10px 6px;text-align:center;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-2);border-bottom:1px solid var(--line);}
:is(#fcase-tracker-root,#ft-layer) .kt-board th.kt-sub-th{padding-top:6px;}
:is(#fcase-tracker-root,#ft-layer) .kt-board .kt-c-blended{border-left:1px solid var(--line);padding-left:16px;}
:is(#fcase-tracker-root,#ft-layer) .kt-score{display:inline-block;font-weight:600;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-score.is-none{color:var(--muted);font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .kt-score + .kt-cell-sub{padding-left:0;}

/* ---- CSAT surveys in the case log ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-sv-add{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:14px;padding:14px 16px;border-radius:16px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-add-label{font-size:12.5px;font-weight:600;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-types button{min-width:64px;text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-types button[aria-checked="true"]{background:var(--bg);box-shadow:var(--raise-sm);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-types button[data-sv-type="fcase"][aria-checked="true"]{color:var(--fcase);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-types button[data-sv-type="dfs"][aria-checked="true"]{color:var(--dfs);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-scores{display:flex;flex-wrap:wrap;gap:8px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;height:48px;border-radius:12px;background:var(--bg);box-shadow:var(--raise-sm);line-height:1.15;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn b{font-size:16px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn small{font-size:10.5px;font-weight:600;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn.is-half{width:50px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn.is-half b{font-size:14.5px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn:hover{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score-btn:active{box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-sum{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-sum-label{font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-sum b{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-sum span:last-child{font-size:11.5px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-surveys tr.is-fcase td:first-child{box-shadow:inset 3px 0 0 var(--fcase);}
:is(#fcase-tracker-root,#ft-layer) .kt-surveys tr.is-dfs td:first-child{box-shadow:inset 3px 0 0 var(--dfs);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-num{width:32px;padding-left:12px !important;color:var(--muted);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-select{width:96px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-select.is-fcase{color:var(--fcase);} :is(#fcase-tracker-root,#ft-layer) .kt-sv-select.is-dfs{color:var(--dfs);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-score{width:84px;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-pct{display:inline-block;min-width:44px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-type{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-type.is-fcase{background:var(--fcase-bg);color:var(--fcase);} :is(#fcase-tracker-root,#ft-layer) .kt-sv-type.is-dfs{background:var(--dfs-bg);color:var(--dfs);}
:is(#fcase-tracker-root,#ft-layer) .kt-sv-legacy{color:var(--mid);}

/* ---- side column ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-side-card{padding:22px 22px 24px;}
:is(#fcase-tracker-root,#ft-layer) .kt-form-block{margin-top:18px;display:flex;flex-direction:column;gap:9px;}
:is(#fcase-tracker-root,#ft-layer) .kt-label{font-size:13px;font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .kt-inline{display:flex;gap:8px;}
:is(#fcase-tracker-root,#ft-layer) .kt-inline .kt-input{flex:1;min-width:0;}
:is(#fcase-tracker-root,#ft-layer) .kt-check{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);cursor:pointer;}
:is(#fcase-tracker-root,#ft-layer) .kt-form-foot{padding-top:16px;border-top:1px solid var(--line);gap:12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-link-row{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13.5px;text-decoration:none;color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-link-row:hover{text-decoration:underline;}
:is(#fcase-tracker-root,#ft-layer) .kt-guide{margin-top:16px;display:flex;flex-direction:column;gap:13px;}
:is(#fcase-tracker-root,#ft-layer) .kt-guide dt{font-weight:600;font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .kt-guide dd{margin-top:5px;display:flex;flex-wrap:wrap;gap:5px;}
:is(#fcase-tracker-root,#ft-layer) .kt-guide dd span{font-size:11.5px;padding:2px 8px;border-radius:999px;font-variant-numeric:tabular-nums;}

/* ---- controls ---- */
:is(#fcase-tracker-root,#ft-layer) .kt-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 18px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:13.5px;box-shadow:0 6px 14px var(--accent-glow);}
:is(#fcase-tracker-root,#ft-layer) .kt-btn:hover{background:var(--accent-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-btn-soft,:is(#fcase-tracker-root,#ft-layer) .kt-btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 16px;border-radius:12px;background:var(--bg);box-shadow:var(--raise-sm);font-weight:600;font-size:13.5px;text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .kt-btn-soft:hover{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-btn-soft:active,:is(#fcase-tracker-root,#ft-layer) .kt-btn-danger:active{box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-btn-danger{color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .kt-btn-danger.is-confirming{background:var(--lo-bg);box-shadow:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-btn:disabled,:is(#fcase-tracker-root,#ft-layer) .kt-btn-soft:disabled,:is(#fcase-tracker-root,#ft-layer) .kt-btn-danger:disabled{opacity:.5;}
:is(#fcase-tracker-root,#ft-layer) .kt-block{width:100%;}
:is(#fcase-tracker-root,#ft-layer) .kt-icon-btn{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;background:var(--bg);box-shadow:var(--raise-sm);color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-icon-btn:hover:not(:disabled){color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-icon-btn:disabled{opacity:.3;}
:is(#fcase-tracker-root,#ft-layer) .kt-icon-btn.is-quiet{width:30px;height:30px;box-shadow:none;background:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-icon-btn.is-quiet:hover{color:var(--lo);box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .kt-input{display:block;width:100%;height:40px;padding:0 13px;border:0;border-radius:12px;background:var(--bg);box-shadow:var(--press);font-size:14px;color:var(--text);outline:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-input::placeholder{color:var(--muted);opacity:1;}
:is(#fcase-tracker-root,#ft-layer) .kt-input:focus{box-shadow:var(--press),0 0 0 2px var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-input.is-sm{height:32px;padding:0 9px;border-radius:9px;font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) input[type="number"].kt-input{font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) input[type="search"].kt-input::-webkit-search-decoration{-webkit-appearance:none;}
:is(#fcase-tracker-root,#ft-layer) input[type="checkbox"]{width:17px;height:17px;accent-color:var(--accent);cursor:pointer;vertical-align:middle;}

/* ---- slide-out case log ---- */
#ft-layer{position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none;transition:visibility 0s linear .3s;}
#ft-layer.is-open{visibility:visible;pointer-events:auto;transition-delay:0s;}
:is(#fcase-tracker-root,#ft-layer) .kt-overlay{position:absolute;inset:0;background:var(--overlay);opacity:0;transition:opacity .25s ease;}
#ft-layer.is-open .kt-overlay{opacity:1;}
:is(#fcase-tracker-root,#ft-layer) .kt-drawer{position:absolute;top:var(--wp-admin--admin-bar--height,0px);right:0;bottom:0;width:min(660px,100vw);display:flex;flex-direction:column;background:var(--bg);border-radius:28px 0 0 28px;box-shadow:-24px 0 48px rgba(0,0,0,.18);transform:translateX(104%);transition:transform .3s cubic-bezier(.22,.8,.24,1);outline:none;}
#ft-layer.is-open .kt-drawer{transform:none;}
:is(#fcase-tracker-root,#ft-layer) .kt-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);}
:is(#fcase-tracker-root,#ft-layer) .kt-drawer-nav{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--text-2);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-drawer-body{flex:1;overflow-y:auto;padding:24px 28px 48px;overscroll-behavior:contain;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-name{display:block;width:100%;font-size:23px;font-weight:700;letter-spacing:-.01em;line-height:1.25;}
:is(#fcase-tracker-root,#ft-layer) input.kt-d-name{height:auto;padding:2px 0 4px;border:0;border-bottom:1px dashed transparent;background:none;box-shadow:none;outline:none;color:var(--text);}
:is(#fcase-tracker-root,#ft-layer) input.kt-d-name:hover{border-bottom-color:var(--line);}
:is(#fcase-tracker-root,#ft-layer) input.kt-d-name:focus{border-bottom-color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .kt-d-sub{margin-top:3px;color:var(--muted);font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-kpis{margin-top:20px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-kpi{padding:12px 8px 11px;border-radius:14px;box-shadow:var(--press);text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-kpi b{display:block;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-kpi span{display:block;margin-top:3px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-d-sec{margin-top:30px;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-sec-head h3{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-count{font-size:12.5px;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .kt-table-scroll{overflow-x:auto;}
:is(#fcase-tracker-root,#ft-layer) table.kt-cases{font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases th{padding:0 6px 8px;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases td{padding:4px 6px;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases .is-center{text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases .kt-input.is-num{width:78px;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases .kt-input.is-id{min-width:130px;}
:is(#fcase-tracker-root,#ft-layer) .kt-cases .kt-view{font-variant-numeric:tabular-nums;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-add-case{margin-top:12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
:is(#fcase-tracker-root,#ft-layer) .kt-fields-sat{grid-template-columns:repeat(5,minmax(0,1fr));}
:is(#fcase-tracker-root,#ft-layer) .kt-field{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;font-size:12px;font-weight:500;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .kt-field-view strong{font-size:15px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .kt-d-danger{margin-top:34px;padding-top:20px;border-top:1px solid var(--line);}

/* ---- responsive ---- */
@media (max-width:1000px){
  :is(#fcase-tracker-root,#ft-layer) .kt-grid{grid-template-columns:minmax(0,1fr);}
  :is(#fcase-tracker-root,#ft-layer) .kt-main{order:1;} :is(#fcase-tracker-root,#ft-layer) .kt-board-card{order:2;}
  :is(#fcase-tracker-root,#ft-layer) .kt-side{order:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
}
@media (max-width:1240px){ :is(#fcase-tracker-root,#ft-layer) .kt-avg-grid{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:760px){ :is(#fcase-tracker-root,#ft-layer) .kt-avg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;} :is(#fcase-tracker-root,#ft-layer) .kt-avg-value{font-size:26px;} }
@media (max-width:640px){
  #fcase-tracker-root{border-radius:0;padding:16px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-top-actions{width:100%;}
  :is(#fcase-tracker-root,#ft-layer) .kt-period{flex:1 1 100%;justify-content:space-between;}
  :is(#fcase-tracker-root,#ft-layer) .kt-pill-btn{flex:1 1 auto;justify-content:center;padding:0 14px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-theme{padding:0 12px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-card{padding:20px;border-radius:22px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-trend-card{padding:20px 16px 14px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-trend-head .kt-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;}
  :is(#fcase-tracker-root,#ft-layer) .kt-trend-head .kt-seg button{padding:6px 2px;font-size:12px;text-align:center;}
  :is(#fcase-tracker-root,#ft-layer) .kt-trend-key .kt-legend-pill{font-size:11.5px;padding:4px 10px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-avg-tile{padding:16px 16px 20px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-stats{gap:14px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-dot{--name-w:118px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-search,:is(#fcase-tracker-root,#ft-layer) .kt-search .kt-input{width:100%;}
  :is(#fcase-tracker-root,#ft-layer) .kt-drawer{border-radius:0;width:100vw;}
  :is(#fcase-tracker-root,#ft-layer) .kt-drawer-body{padding:20px 18px 40px;}
  :is(#fcase-tracker-root,#ft-layer) .kt-d-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
  :is(#fcase-tracker-root,#ft-layer) .kt-fields,:is(#fcase-tracker-root,#ft-layer) .kt-fields-sat{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:420px){ :is(#fcase-tracker-root,#ft-layer) .kt-stats{grid-template-columns:minmax(0,1fr);} :is(#fcase-tracker-root,#ft-layer) .kt-avg-grid{grid-template-columns:minmax(0,1fr);} }
@media (prefers-reduced-motion:reduce){
  html.kt-page,html.kt-page body{transition:none !important;}
  :is(#fcase-tracker-root,#ft-layer) *,#ft-layer{transition:none !important;animation:none !important;}
}

/* ====================== Daily FCASE Tracker additions ====================== */
:is(#fcase-tracker-root,#ft-layer){ --bh:#2F6BD8; --bh-bg:rgba(47,107,216,.12); --hg:#B4691A; --hg-bg:rgba(180,105,26,.13); --qc:#0F6E8C; --qc-bg:rgba(15,110,140,.12); }
@media (prefers-color-scheme:dark){ :is(#fcase-tracker-root,#ft-layer):not([data-theme="light"]){ --bh:#7FA8F2; --bh-bg:rgba(127,168,242,.15); --hg:#F0A95A; --hg-bg:rgba(240,169,90,.14); --qc:#62C3E0; --qc-bg:rgba(98,195,224,.14); } }
:is(#fcase-tracker-root,#ft-layer)[data-theme="dark"]{ --bh:#7FA8F2; --bh-bg:rgba(127,168,242,.15); --hg:#F0A95A; --hg-bg:rgba(240,169,90,.14); --qc:#62C3E0; --qc-bg:rgba(98,195,224,.14); }

:is(#fcase-tracker-root,#ft-layer) .ft-upload-btn{background:var(--accent);color:var(--on-accent);box-shadow:0 6px 14px var(--accent-glow);}
:is(#fcase-tracker-root,#ft-layer) .ft-upload-btn:hover{background:var(--accent-2);color:var(--on-accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-upload-btn:disabled{opacity:.6;}

/* dashboard */
:is(#fcase-tracker-root,#ft-layer) .ft-dash{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:24px;margin-bottom:24px;align-items:stretch;}
:is(#fcase-tracker-root,#ft-layer) .ft-primary{display:flex;flex-direction:column;gap:24px;}
:is(#fcase-tracker-root,#ft-layer) .ft-primary .kt-stat{flex:1;justify-content:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-hero-value{margin:10px 0 8px;font-size:clamp(40px,4.4vw,56px);line-height:1;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-hero-value.is-accent{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-chart-card{display:flex;flex-direction:column;min-width:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-chart-body{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px;margin-top:14px;flex:1;}
:is(#fcase-tracker-root,#ft-layer) .ft-bars{position:relative;min-height:220px;}
:is(#fcase-tracker-root,#ft-layer) .ft-bars svg{display:block;width:100%;height:auto;overflow:visible;}
:is(#fcase-tracker-root,#ft-layer) .ft-bar{fill:var(--accent);opacity:.32;transition:opacity .15s ease;}
:is(#fcase-tracker-root,#ft-layer) .ft-bar.is-current{opacity:1;}
:is(#fcase-tracker-root,#ft-layer) .ft-bar-val{fill:var(--text);font-size:12.5px;font-weight:700;font-family:inherit;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-bar-val.is-zero{fill:var(--muted);font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .ft-months{display:flex;flex-direction:column;min-width:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-months h3{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--text-2);margin-bottom:10px;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list{list-style:none;margin:0;padding:6px 4px;border-radius:14px;box-shadow:var(--press);max-height:250px;overflow-y:auto;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:7px 10px;font-size:13px;border-radius:10px;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list li.is-current{color:var(--accent);font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list b{font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list i{grid-column:1 / -1;display:block;height:3px;border-radius:3px;background:var(--accent);opacity:.35;}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list li.is-current i{opacity:1;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin-bottom:28px;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini .kt-stat{min-height:0;padding:16px 18px 18px;border-radius:20px;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini .kt-stat-value{font-size:26px;margin:8px 0 4px;}

/* tabs + tools */
:is(#fcase-tracker-root,#ft-layer) .ft-cases-head{align-items:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-tabs button{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .ft-count{display:inline-block;min-width:24px;padding:1px 8px;border-radius:999px;background:var(--line);color:var(--text-2);font-size:11.5px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-tabs button[aria-selected="true"] .ft-count{background:var(--accent);color:var(--on-accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
:is(#fcase-tracker-root,#ft-layer) .ft-tools .kt-search .kt-input{width:220px;}
:is(#fcase-tracker-root,#ft-layer) select.ft-select{width:auto;min-width:130px;height:40px;padding:0 34px 0 12px;font-size:13.5px;cursor:pointer;}
:is(#fcase-tracker-root,#ft-layer) .ft-subbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;margin-top:12px;font-size:12.5px;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-key{display:inline-flex;align-items:center;gap:8px;}
:is(#fcase-tracker-root,#ft-layer) .ft-key i{display:inline-block;width:26px;height:16px;border-radius:6px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .ft-completed-note{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--hi-bg);color:var(--hi);font-size:13px;font-weight:500;}

/* table */
:is(#fcase-tracker-root,#ft-layer) .ft-table-wrap{position:relative;margin-top:14px;max-height:min(72vh,900px);overflow:auto;border-radius:16px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) table.ft-table{min-width:1760px;font-size:13px;border-collapse:separate;border-spacing:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-table th{position:sticky;top:0;z-index:2;padding:12px 10px 10px;background:var(--bg);border-bottom:1px solid var(--line);white-space:nowrap;text-align:left;vertical-align:bottom;}
:is(#fcase-tracker-root,#ft-layer) .ft-table td{padding:7px 10px;border-bottom:1px solid var(--line);white-space:nowrap;vertical-align:middle;background:var(--bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tbody tr:hover td{background:var(--row-hover);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tbody tr:last-child td{border-bottom:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-table .ft-c-done{position:sticky;right:0;z-index:1;box-shadow:-10px 0 14px -12px rgba(0,0,0,.35);text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-table th.ft-c-done{z-index:3;}
:is(#fcase-tracker-root,#ft-layer) .ft-table th.is-edit .kt-sort-btn::after{content:"";display:inline-block;width:7px;height:7px;margin-left:6px;border-radius:2px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .ft-brand{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-brand.is-bh{background:var(--bh-bg);color:var(--bh);} :is(#fcase-tracker-root,#ft-layer) .ft-brand.is-hg{background:var(--hg-bg);color:var(--hg);}
:is(#fcase-tracker-root,#ft-layer) .ft-case b{display:block;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-case .ft-tags{display:flex;gap:5px;margin-top:3px;}
:is(#fcase-tracker-root,#ft-layer) .ft-stage{display:inline-block;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-stage.is-design{background:var(--fcase-bg,rgba(76,81,218,.12));color:var(--accent);} :is(#fcase-tracker-root,#ft-layer) .ft-stage.is-qc{background:var(--qc-bg);color:var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-stale{display:inline-block;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:600;background:var(--mid-bg);color:var(--mid);}
:is(#fcase-tracker-root,#ft-layer) .ft-name,:is(#fcase-tracker-root,#ft-layer) .ft-prod{max-width:220px;overflow:hidden;text-overflow:ellipsis;}
:is(#fcase-tracker-root,#ft-layer) .ft-prod{max-width:240px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-date{color:var(--text-2);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-sla{font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-sla small{display:block;font-size:10.5px;font-weight:500;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-edit{background:var(--bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-edit:hover{box-shadow:var(--press),0 0 0 1px var(--line);}
:is(#fcase-tracker-root,#ft-layer) input.ft-page{width:78px;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dateinput{width:150px;}
:is(#fcase-tracker-root,#ft-layer) .ft-edit.is-invalid{box-shadow:var(--press),0 0 0 2px var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .ft-complete-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:12.5px;box-shadow:0 4px 10px var(--accent-glow);white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .ft-complete-btn:hover{background:var(--accent-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-done{display:inline-flex;flex-direction:column;align-items:center;gap:2px;}
:is(#fcase-tracker-root,#ft-layer) .ft-done-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:var(--hi-bg);color:var(--hi);font-weight:700;font-size:12px;}
:is(#fcase-tracker-root,#ft-layer) .ft-reopen{font-size:11.5px;color:var(--muted);text-decoration:underline;text-underline-offset:2px;}
:is(#fcase-tracker-root,#ft-layer) .ft-reopen:hover{color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-muted{color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-more{display:flex;margin:16px auto 0;}
:is(#fcase-tracker-root,#ft-layer) .ft-drop{position:fixed;inset:0;z-index:99990;display:grid;place-items:center;background:var(--overlay);color:#fff;font-size:20px;font-weight:600;pointer-events:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-drop span{padding:22px 30px;border-radius:22px;background:var(--bg);color:var(--text);box-shadow:var(--raise);}

/* dialogs and toast (rendered in #ft-layer) */
#ft-layer .ft-modal-wrap{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;}
#ft-layer .ft-modal-wrap[hidden]{display:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-scrim{position:absolute;inset:0;background:var(--overlay);}
:is(#fcase-tracker-root,#ft-layer) .ft-modal{position:relative;width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:26px 28px 24px;border-radius:26px;background:var(--bg);box-shadow:0 30px 70px rgba(0,0,0,.28);outline:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-modal h2{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;}
:is(#fcase-tracker-root,#ft-layer) .ft-modal-q{margin-top:14px;font-size:18px;font-weight:600;line-height:1.35;}
:is(#fcase-tracker-root,#ft-layer) .ft-case-card{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:14px;padding:12px 14px;border-radius:14px;box-shadow:var(--press);font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .ft-case-card b{font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;}
:is(#fcase-tracker-root,#ft-layer) .ft-file{margin-top:8px;font-size:13px;color:var(--text-2);word-break:break-all;}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-hero{display:flex;align-items:baseline;gap:10px;margin-top:16px;}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-hero b{font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums;color:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-grid div{padding:12px 14px;border-radius:14px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-grid b{display:block;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-sum-grid span{font-size:12px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-rules{margin-top:12px;font-size:12.5px;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-modal details{margin-top:14px;padding:12px 14px;border-radius:14px;box-shadow:var(--press);font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .ft-modal summary{cursor:pointer;font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .ft-modal details ul{margin:10px 0 0;padding-left:18px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:8px 12px;align-items:center;margin-top:12px;}
:is(#fcase-tracker-root,#ft-layer) .ft-map label{font-size:12.5px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-map label.is-req::after{content:" *";color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .ft-map select{height:36px;font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .ft-warn{margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--lo-bg);color:var(--lo);font-size:13px;font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .ft-note{margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--mid-bg);color:var(--mid);font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .ft-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:100001;display:flex;align-items:center;gap:14px;max-width:min(560px,calc(100vw - 32px));padding:12px 14px 12px 18px;border-radius:16px;background:var(--bg);color:var(--text);box-shadow:0 18px 40px rgba(0,0,0,.22);font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .ft-toast[hidden]{display:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-toast .kt-btn-soft{min-height:34px;padding:6px 12px;}

@media (max-width:1100px){
  :is(#fcase-tracker-root,#ft-layer) .ft-dash{grid-template-columns:minmax(0,1fr);}
  :is(#fcase-tracker-root,#ft-layer) .ft-primary{flex-direction:row;} :is(#fcase-tracker-root,#ft-layer) .ft-primary .kt-stat{flex:1 1 0;}
  :is(#fcase-tracker-root,#ft-layer) .ft-mini{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:760px){
  :is(#fcase-tracker-root,#ft-layer) .ft-chart-body{grid-template-columns:minmax(0,1fr);}
  :is(#fcase-tracker-root,#ft-layer) .ft-mini{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  :is(#fcase-tracker-root,#ft-layer) .ft-primary{flex-direction:column;}
  :is(#fcase-tracker-root,#ft-layer) .ft-tools,:is(#fcase-tracker-root,#ft-layer) .ft-tools .kt-search,:is(#fcase-tracker-root,#ft-layer) .ft-tools .kt-search .kt-input{width:100%;}
  :is(#fcase-tracker-root,#ft-layer) select.ft-select{flex:1 1 140px;}
  :is(#fcase-tracker-root,#ft-layer) .ft-sum-grid{grid-template-columns:minmax(0,1fr);}
}
/* The KPI tracker hides its slide-out panel host until opened; the FCASE layer only holds dialogs and toasts, so it stays live. */
#ft-layer{position:static;inset:auto;z-index:auto;visibility:visible;pointer-events:auto;transition:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-table th.ft-c-done{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-chart-card .kt-card-head{align-items:flex-start;}
:is(#fcase-tracker-root,#ft-layer) .ft-chart-card .kt-card-head > div:first-child{flex:1 1 280px;min-width:0;}

/* ---- status colours: blue = being worked on, yellow = Design QC, green = completed, neutral = no assignee ---- */
:is(#fcase-tracker-root,#ft-layer){ --st-working:#3B7BE0; --st-working-bg:rgba(59,123,224,.10); --st-working-chip:rgba(59,123,224,.16);
    --st-qc:#A87B10; --st-qc-line:#E0B43A; --st-qc-bg:rgba(236,190,60,.19); --st-qc-chip:rgba(236,190,60,.30);
    --st-done:#12825A; --st-done-line:#2FAE7A; --st-done-bg:rgba(47,174,122,.12); --st-done-chip:rgba(47,174,122,.20);
    --st-none:#8B847A; --st-none-chip:rgba(117,104,89,.12); --flag:#B2442F; --flag-bg:rgba(189,58,44,.10); }
@media (prefers-color-scheme:dark){ :is(#fcase-tracker-root,#ft-layer):not([data-theme="light"]){
    --st-working:#8DB4F5; --st-working-bg:rgba(127,168,242,.10); --st-working-chip:rgba(127,168,242,.18);
    --st-qc:#EBC663; --st-qc-line:#E7BE55; --st-qc-bg:rgba(231,190,85,.11); --st-qc-chip:rgba(231,190,85,.20);
    --st-done:#6BD3A4; --st-done-line:#55C796; --st-done-bg:rgba(85,199,150,.10); --st-done-chip:rgba(85,199,150,.18);
    --st-none:#9A948B; --st-none-chip:rgba(255,255,255,.08); --flag:#F2917F; --flag-bg:rgba(240,130,116,.14); } }
:is(#fcase-tracker-root,#ft-layer)[data-theme="dark"]{
    --st-working:#8DB4F5; --st-working-bg:rgba(127,168,242,.10); --st-working-chip:rgba(127,168,242,.18);
    --st-qc:#EBC663; --st-qc-line:#E7BE55; --st-qc-bg:rgba(231,190,85,.11); --st-qc-chip:rgba(231,190,85,.20);
    --st-done:#6BD3A4; --st-done-line:#55C796; --st-done-bg:rgba(85,199,150,.10); --st-done-chip:rgba(85,199,150,.18);
    --st-none:#9A948B; --st-none-chip:rgba(255,255,255,.08); --flag:#F2917F; --flag-bg:rgba(240,130,116,.14); }

/* rows: a light tint across the row (sticky cells included) plus a colour edge on the first cell */
:is(#fcase-tracker-root,#ft-layer) .ft-table td{background:linear-gradient(var(--ft-tint,transparent),var(--ft-tint,transparent)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tbody tr:hover td{background:linear-gradient(var(--row-hover),var(--row-hover)),linear-gradient(var(--ft-tint,transparent),var(--ft-tint,transparent)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-working{--ft-tint:var(--st-working-bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-qc{--ft-tint:var(--st-qc-bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-done{--ft-tint:var(--st-done-bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-working td:first-child{box-shadow:inset 4px 0 0 var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-qc td:first-child{box-shadow:inset 4px 0 0 var(--st-qc-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-done td:first-child{box-shadow:inset 4px 0 0 var(--st-done-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-none td:first-child{box-shadow:inset 4px 0 0 transparent;}

/* status badge under the Case ID (says the status in words, so colour is never the only cue) */
:is(#fcase-tracker-root,#ft-layer) .ft-st{display:inline-block;padding:1px 8px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .ft-st.st-working{background:var(--st-working-chip);color:var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-st.st-qc{background:var(--st-qc-chip);color:var(--st-qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-st.st-done{background:var(--st-done-chip);color:var(--st-done);}
:is(#fcase-tracker-root,#ft-layer) .ft-st.st-none{background:var(--st-none-chip);color:var(--st-none);}

/* legend near the top of the dashboard */
:is(#fcase-tracker-root,#ft-layer) .ft-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:-6px 0 22px;}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 8px;border-radius:999px;font-size:12.5px;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item b{font-weight:700;color:var(--text);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item i{width:14px;height:14px;border-radius:5px;flex:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-working{background:var(--st-working-bg);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-working i{background:var(--st-working-chip);box-shadow:inset 3px 0 0 var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-qc{background:var(--st-qc-bg);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-qc i{background:var(--st-qc-chip);box-shadow:inset 3px 0 0 var(--st-qc-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-done{background:var(--st-done-bg);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-done i{background:var(--st-done-chip);box-shadow:inset 3px 0 0 var(--st-done-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-none{box-shadow:var(--press);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-none i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);}
:is(#fcase-tracker-root,#ft-layer) .ft-dot{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:3px;vertical-align:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-dot.st-working{background:var(--st-working);} :is(#fcase-tracker-root,#ft-layer) .ft-dot.st-qc{background:var(--st-qc-line);}

/* names: flags and notes */
:is(#fcase-tracker-root,#ft-layer) .ft-name-raw{font-style:italic;}
:is(#fcase-tracker-root,#ft-layer) .ft-check{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:1px 7px;border-radius:999px;background:var(--flag-bg);color:var(--flag);font-size:10.5px;font-weight:700;font-style:normal;vertical-align:1px;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag-note{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--flag-bg);color:var(--flag);font-size:13px;font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag-note svg{flex:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag-note span{flex:1 1 280px;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag-note.is-inline{margin-top:12px;}
:is(#fcase-tracker-root,#ft-layer) .ft-names-note{margin:-8px 0 22px;padding:10px 14px;border-radius:12px;box-shadow:var(--press);color:var(--text-2);font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .ft-linkbtn{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:2px;margin-left:4px;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag-note .ft-linkbtn{color:inherit;}
:is(#fcase-tracker-root,#ft-layer) .ft-stale{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--text-2);}

/* designer names dialog */
:is(#fcase-tracker-root,#ft-layer) .ft-modal:has(.ft-dn-list){width:min(760px,100%);}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 32px;gap:8px;margin-top:16px;padding:0 2px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-list{display:flex;flex-direction:column;gap:8px;margin-top:8px;max-height:46vh;overflow-y:auto;padding:4px 2px;}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 32px;gap:8px;align-items:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-row .kt-input{height:38px;font-size:13.5px;}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:12.5px;}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-paste textarea{display:block;width:100%;height:auto;min-height:120px;margin:8px 0 10px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.5;resize:vertical;}
:is(#fcase-tracker-root,#ft-layer) .ft-dn-paste code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;}
@media (max-width:640px){ :is(#fcase-tracker-root,#ft-layer) .ft-dn-head{display:none;} :is(#fcase-tracker-root,#ft-layer) .ft-dn-row{grid-template-columns:minmax(0,1fr) 32px;} :is(#fcase-tracker-root,#ft-layer) .ft-dn-alias{grid-column:1 / 2;} }

/* ---- 1.2: add-ons, pends, automatic Date to QC, designer activity ---- */
:is(#fcase-tracker-root,#ft-layer){ --addon:#B9611A; --addon-bg:rgba(240,140,50,.15); --addon-line:#EE9A4B; }
@media (prefers-color-scheme:dark){ :is(#fcase-tracker-root,#ft-layer):not([data-theme="light"]){ --addon:#F4AE70; --addon-bg:rgba(244,174,112,.13); --addon-line:#F4AE70; } }
:is(#fcase-tracker-root,#ft-layer)[data-theme="dark"]{ --addon:#F4AE70; --addon-bg:rgba(244,174,112,.13); --addon-line:#F4AE70; }
:is(#fcase-tracker-root,#ft-layer) .ft-addon-tag{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--addon-bg);color:var(--addon);font-size:10.5px;font-weight:700;box-shadow:inset 0 0 0 1px var(--addon-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-table td.ft-prod.is-addon{background:linear-gradient(var(--addon-bg),var(--addon-bg)),linear-gradient(var(--ft-tint,transparent),var(--ft-tint,transparent)),var(--bg);color:var(--addon);font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.is-addon{background:var(--addon-bg);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.is-addon i{background:var(--addon-bg);box-shadow:inset 0 0 0 1.5px var(--addon-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-pends{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--line);color:var(--text-2);font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-pends.is-many{background:var(--flag-bg);color:var(--flag);}
:is(#fcase-tracker-root,#ft-layer) .ft-case .ft-tags{flex-wrap:wrap;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dtinput{width:196px;}
:is(#fcase-tracker-root,#ft-layer) .ft-auto{display:block;margin-top:3px;font-size:10.5px;color:var(--muted);white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .ft-auto .ft-linkbtn{margin-left:0;font-size:10.5px;}
:is(#fcase-tracker-root,#ft-layer) table.ft-table{min-width:2020px;}

:is(#fcase-tracker-root,#ft-layer) .ft-activity{margin-bottom:24px;}
:is(#fcase-tracker-root,#ft-layer) .ft-act-wrap{margin-top:14px;overflow-x:auto;border-radius:16px;box-shadow:var(--press);}
:is(#fcase-tracker-root,#ft-layer) table.ft-act{min-width:860px;font-size:13px;border-collapse:separate;border-spacing:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-act th,:is(#fcase-tracker-root,#ft-layer) .ft-act td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap;}
:is(#fcase-tracker-root,#ft-layer) .ft-act thead th{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-act tbody th{font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-act tbody tr:last-child th,:is(#fcase-tracker-root,#ft-layer) .ft-act tbody tr:last-child td{border-bottom:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-act tr.is-active th:first-child{box-shadow:inset 4px 0 0 var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-act tr.is-idle{color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-act small{display:block;margin-top:2px;font-size:10.5px;color:var(--muted);font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .ft-act-st{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-act-st.is-active{background:var(--st-working-chip);color:var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-act-st.is-idle{background:var(--st-none-chip);color:var(--st-none);}
:is(#fcase-tracker-root,#ft-layer) .ft-act-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;}
:is(#fcase-tracker-root,#ft-layer) .ft-act-since b{font-weight:700;font-variant-numeric:tabular-nums;}

:is(#fcase-tracker-root,#ft-layer) .ft-tz{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px;font-size:13px;}
:is(#fcase-tracker-root,#ft-layer) .ft-tz label{font-weight:600;}
:is(#fcase-tracker-root,#ft-layer) .ft-tz select{min-width:220px;}
:is(#fcase-tracker-root,#ft-layer) .ft-tz .ft-muted{flex:1 1 100%;font-size:12px;}

/* ---- light red: Design pend (status "Open-Design Pend") ---- */
:is(#fcase-tracker-root,#ft-layer){ --st-pend:#B8382B; --st-pend-line:#E06A5C; --st-pend-bg:rgba(214,69,54,.10); --st-pend-chip:rgba(214,69,54,.16); }
@media (prefers-color-scheme:dark){ :is(#fcase-tracker-root,#ft-layer):not([data-theme="light"]){ --st-pend:#F4988C; --st-pend-line:#F08274; --st-pend-bg:rgba(240,130,116,.11); --st-pend-chip:rgba(240,130,116,.20); } }
:is(#fcase-tracker-root,#ft-layer)[data-theme="dark"]{ --st-pend:#F4988C; --st-pend-line:#F08274; --st-pend-bg:rgba(240,130,116,.11); --st-pend-chip:rgba(240,130,116,.20); }
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-pend{--ft-tint:var(--st-pend-bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-table tr.st-pend td:first-child{box-shadow:inset 4px 0 0 var(--st-pend-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-st.st-pend{background:var(--st-pend-chip);color:var(--st-pend);}
:is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-pend{background:var(--st-pend-bg);} :is(#fcase-tracker-root,#ft-layer) .ft-legend-item.st-pend i{background:var(--st-pend-chip);box-shadow:inset 3px 0 0 var(--st-pend-line);}
:is(#fcase-tracker-root,#ft-layer) .ft-act-pend{color:var(--st-pend);font-weight:600;}

/* ---- 1.3: DFS cases ---- */
:is(#fcase-tracker-root,#ft-layer) .ft-tabs .ft-tab-split{margin-left:14px;position:relative;}
:is(#fcase-tracker-root,#ft-layer) .ft-tabs .ft-tab-split::before{content:"";position:absolute;left:-9px;top:20%;bottom:20%;width:1px;background:var(--line);}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-status{width:auto;min-width:128px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-status.st-working{color:var(--st-working);background:linear-gradient(var(--st-working-chip),var(--st-working-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-status.st-pend{color:var(--st-pend);background:linear-gradient(var(--st-pend-chip),var(--st-pend-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-status.st-qc{color:var(--st-qc);background:linear-gradient(var(--st-qc-chip),var(--st-qc-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) input.ft-dfs-id{width:120px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dfs-brand{width:130px;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dfs-name{width:180px;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dfs-step{width:150px;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey{display:inline-flex;gap:6px;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey label{display:flex;flex-direction:column;gap:2px;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey small,:is(#fcase-tracker-root,#ft-layer) .ft-survey-view small{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-survey select{width:64px;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey-view{display:inline-flex;gap:14px;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey-view span{display:flex;flex-direction:column;}
:is(#fcase-tracker-root,#ft-layer) .ft-survey-view b{font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-done .ft-dfs-del{color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-done .ft-dfs-del:hover{color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .ft-dfs-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin-top:16px;}
:is(#fcase-tracker-root,#ft-layer) .ft-field-row{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--text-2);}
:is(#fcase-tracker-root,#ft-layer) .ft-field-row em{font-style:normal;font-weight:500;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-field-row small{font-weight:500;}
:is(#fcase-tracker-root,#ft-layer) .ft-btn-danger-solid{background:var(--lo);box-shadow:none;}
:is(#fcase-tracker-root,#ft-layer) .ft-btn-danger-solid:hover{background:var(--lo);filter:brightness(.92);}
@media (max-width:640px){ :is(#fcase-tracker-root,#ft-layer) .ft-dfs-form{grid-template-columns:minmax(0,1fr);} }
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-designer{width:auto;min-width:170px;}
:is(#fcase-tracker-root,#ft-layer) .ft-act-dfs{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:var(--line);color:var(--text-2);font-size:10.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-step{width:auto;min-width:150px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-step.st-working{color:var(--st-working);background:linear-gradient(var(--st-working-chip),var(--st-working-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-step.st-pend{color:var(--st-pend);background:linear-gradient(var(--st-pend-chip),var(--st-pend-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) select.ft-dfs-step.st-qc{color:var(--st-qc);background:linear-gradient(var(--st-qc-chip),var(--st-qc-chip)),var(--bg);}
:is(#fcase-tracker-root,#ft-layer) input.ft-dfs-note{width:230px;}
:is(#fcase-tracker-root,#ft-layer) .ft-chart-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;}
:is(#fcase-tracker-root,#ft-layer) .ft-bar-dfs{fill:var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-bar-val.is-small{font-size:11px;}
:is(#fcase-tracker-root,#ft-layer) .ft-split{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:-2px 0 8px;font-size:12.5px;font-weight:600;color:var(--text-2);font-variant-numeric:tabular-nums;}
:is(#fcase-tracker-root,#ft-layer) .ft-split i{display:inline-block;width:9px;height:9px;border-radius:2px;}
:is(#fcase-tracker-root,#ft-layer) .ft-split i.ft-key-dfs{margin-left:8px;}
:is(#fcase-tracker-root,#ft-layer) .ft-key-fcase{background:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-key-dfs{background:var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list li small{display:block;font-size:10.5px;font-weight:500;color:var(--muted);}
:is(#fcase-tracker-root,#ft-layer) .ft-month-list i.ft-mbar-dfs{background:var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-mini:has(+ .ft-mini-dfs){margin-bottom:18px;}
:is(#fcase-tracker-root,#ft-layer) .ft-dfs-tile{box-shadow:var(--raise),inset 0 3px 0 var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-tile-tag{display:inline-block;margin-right:7px;padding:0 6px;border-radius:999px;background:var(--qc);color:#fff;font-size:9.5px;letter-spacing:.08em;vertical-align:1px;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini-wrap{margin-bottom:28px;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini-wrap .ft-mini{margin-bottom:0;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 4px 14px;}
:is(#fcase-tracker-root,#ft-layer) .ft-mini.is-dfs{grid-template-columns:repeat(4,minmax(0,1fr));}
:is(#fcase-tracker-root,#ft-layer) .ft-mini.is-dfs .kt-stat{box-shadow:var(--raise),inset 0 3px 0 var(--qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-dot.st-none{background:transparent;box-shadow:inset 0 0 0 1.5px var(--muted);}
@media (max-width:1100px){ :is(#fcase-tracker-root,#ft-layer) .ft-mini.is-dfs{grid-template-columns:repeat(2,minmax(0,1fr));} }
:is(#fcase-tracker-root,#ft-layer) .ft-qcst{display:inline-block;padding:1px 8px;border-radius:999px;font-size:10.5px;font-weight:700;}
:is(#fcase-tracker-root,#ft-layer) .ft-qcst.is-waiting{background:transparent;box-shadow:inset 0 0 0 1px var(--st-qc-line);color:var(--st-qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-qcst.is-editor{background:var(--st-qc-line);color:#2A2723;}
:is(#fcase-tracker-root,#ft-layer) .ft-clock button{white-space:nowrap;}
@media (max-width:760px){ :is(#fcase-tracker-root,#ft-layer) .ft-clock{order:-1;} }
:is(#fcase-tracker-root,#ft-layer) .ft-qc-wrap{display:inline-flex;align-items:center;gap:6px;}
:is(#fcase-tracker-root,#ft-layer) input.ft-dtinput.is-auto{color:var(--muted);font-style:italic;}
:is(#fcase-tracker-root,#ft-layer) .ft-qc-reset{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;color:var(--accent);font-size:15px;font-weight:700;box-shadow:var(--raise);background:var(--bg);}
:is(#fcase-tracker-root,#ft-layer) .ft-qc-reset:hover{color:var(--on-accent);background:var(--accent);}
:is(#fcase-tracker-root,#ft-layer) .ft-clock button{display:inline-flex;align-items:center;gap:7px;}
:is(#fcase-tracker-root,#ft-layer) .ft-flag{width:20px;height:12px;flex:none;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);}
:is(#fcase-tracker-root,#ft-layer) .ft-clock button:not([aria-pressed="true"]) .ft-flag{opacity:.72;}
:is(#fcase-tracker-root,#ft-layer) .ft-tools .ft-clock-board{margin-left:auto;}
:is(#fcase-tracker-root,#ft-layer) .ft-cases-head{flex-wrap:wrap;align-items:center;}
:is(#fcase-tracker-root,#ft-layer) .ft-cases-head .ft-clock-board{margin-left:auto;}
:is(#fcase-tracker-root,#ft-layer) .ft-cases-tools{margin-top:14px;}
:is(#fcase-tracker-root,#ft-layer) .ft-assignee{max-width:220px;}
:is(#fcase-tracker-root,#ft-layer) .ft-as-name{display:block;overflow:hidden;text-overflow:ellipsis;}
:is(#fcase-tracker-root,#ft-layer) .ft-role{display:inline-block;margin-top:3px;margin-right:6px;padding:0 7px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.02em;}
:is(#fcase-tracker-root,#ft-layer) .ft-role.is-designer{background:var(--st-working-chip);color:var(--st-working);}
:is(#fcase-tracker-root,#ft-layer) .ft-role.is-editor{background:var(--st-qc-line);color:#2A2723;}
:is(#fcase-tracker-root,#ft-layer) .ft-role.is-queue{box-shadow:inset 0 0 0 1px var(--st-qc-line);color:var(--st-qc);}
:is(#fcase-tracker-root,#ft-layer) .ft-assignee .ft-check{margin-left:0;}
:is(#fcase-tracker-root,#ft-layer) table.ft-table{min-width:2180px;}
:is(#fcase-tracker-root,#ft-layer) .ft-pick-wrap{display:inline-flex;align-items:center;gap:6px;}
:is(#fcase-tracker-root,#ft-layer) select.ft-pick{width:auto;min-width:170px;}
:is(#fcase-tracker-root,#ft-layer) input.ft-as-input{width:170px;}
:is(#fcase-tracker-root,#ft-layer) .ft-pick.is-auto{color:var(--muted);font-style:italic;}
:is(#fcase-tracker-root,#ft-layer) .ft-assignee .ft-role{margin-top:4px;}
:is(#fcase-tracker-root,#ft-layer) .ft-assignee{max-width:none;}
:is(#fcase-tracker-root,#ft-layer) table.ft-table{min-width:2300px;}
:is(#fcase-tracker-root,#ft-layer) .ft-act .ft-ahead{color:var(--lo);}
:is(#fcase-tracker-root,#ft-layer) input.ft-dtinput.is-ahead{box-shadow:var(--press),0 0 0 2px var(--lo);}
:is(#fcase-tracker-root,#ft-layer) .ft-hold{display:inline-flex;align-items:center;gap:5px;margin:3px 0 1px;padding:2px 9px;border-radius:999px;background:#5B3FA0;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.02em;box-shadow:0 2px 6px rgba(91,63,160,.35);}
