.concept-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:14px;align-items:start}.concept-filter-panel{position:sticky;top:18px}.concept-filters{display:grid;gap:8px}.concept-filters .filter-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.025);color:var(--text);text-align:left}.concept-filters .filter-btn b{font-size:13px}.concept-filters .filter-btn span{color:var(--muted);font-size:12px}.concept-filters .filter-btn.active{background:var(--gold-soft);border-color:rgba(255,179,0,.26);color:#ffe0a0}.concept-hint{margin-top:10px;border:1px dashed var(--line);border-radius:13px;padding:10px;color:var(--muted);font-size:12px;line-height:1.45}.concept-task-list{display:grid;gap:12px}.concept-region{border:1px solid var(--line);border-radius:16px;background:rgba(5,7,13,.28);overflow:hidden}.concept-region-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:rgba(255,255,255,.025);border-bottom:1px solid var(--line)}.concept-region-head h3{margin:0;font-size:15px}.concept-task-head,.concept-task-row{display:grid;grid-template-columns:92px minmax(210px,1.1fr) minmax(180px,.95fr) minmax(140px,.75fr) 120px 126px;gap:12px;align-items:center}.concept-task-head{padding:9px 14px;color:var(--soft);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.12)}.concept-task-row{min-height:66px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.08);cursor:pointer;transition:.16s ease}.concept-task-row:last-child{border-bottom:0}.concept-task-row:hover{background:rgba(255,179,0,.055);box-shadow:inset 3px 0 0 rgba(255,179,0,.75)}.main-line b,.meta-line b{display:block;font-size:13px;color:#f1f6ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-line span,.meta-line span{display:block;color:var(--muted);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-id-cell{display:flex;align-items:center;gap:9px}.id-chip{min-width:42px;height:32px;border-radius:11px;display:grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(255,179,0,.25);color:#ffd777;font-weight:900;font-size:12px;cursor:pointer}.priority-line{position:relative;padding-left:10px}.priority-line:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:2px;background:var(--blue)}.priority-line.urgent:before{background:var(--red)}.priority-line.high:before{background:var(--gold)}.priority-line.long:before{background:var(--violet)}.concept-task-row.done{opacity:.62}.select-visible{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--muted);font-size:13px}.row-actions{display:flex;gap:7px;justify-content:flex-end}.empty-state{border:1px dashed var(--line);border-radius:14px;padding:18px;color:var(--muted);background:rgba(255,255,255,.02)}@media(max-width:1180px){.concept-task-head{display:none}.concept-task-row{grid-template-columns:70px 1fr auto}.concept-task-row>*:nth-child(n+4){grid-column:2/4}.concept-task-row .row-actions{grid-column:1/4;justify-content:flex-start}.concept-workspace{grid-template-columns:1fr}.concept-filter-panel{position:static}}@media(max-width:620px){.concept-task-row{grid-template-columns:1fr}.concept-task-row>*{grid-column:auto!important}.task-id-cell{align-items:flex-start}.concept-region-head{align-items:flex-start;flex-direction:column}.row-actions{justify-content:flex-start}}
/* concept drawer/form parity */
.drawer .card{height:100%;display:flex;flex-direction:column;border:0;background:#0c111a;box-shadow:none;overflow:hidden}.drawer .head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:13px 14px;background:#101823}.drawer .head h3{margin:0;font-size:15px}.drawer .head small{display:block;color:var(--muted);font-size:12px}.drawer .card-body{padding:14px;overflow:auto}.form{display:grid;gap:11px}.field label{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#080d16;color:var(--text);border-radius:12px;padding:10px 11px;outline:0}.field textarea{min-height:80px}.split{display:grid;grid-template-columns:1fr 1fr;gap:9px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.detail{display:grid;gap:12px}.detail-summary{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid rgba(255,255,255,.075);background:linear-gradient(180deg,rgba(255,179,0,.07),rgba(255,255,255,.02));border-radius:14px}.detail-summary .task-id{width:40px;height:40px;min-width:40px}.detail-summary-main{min-width:0}.detail-summary-main b{display:block;font-size:16px;line-height:1.2;color:#f1f6ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-summary-main span{display:block;margin-top:3px;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-section{display:grid;gap:7px}.detail-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:start;padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.055)}.detail-row:last-child{border-bottom:0}.detail-label{color:var(--soft);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding-top:2px}.detail-value{color:#dce8fb;font-size:13px;font-weight:650;line-height:1.35;min-width:0}.detail-note{padding:10px 11px;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.022);border-radius:12px;color:#dce8fb;font-size:13px;line-height:1.45;font-weight:600}.detail .actions{padding-top:8px;border-top:1px solid rgba(255,255,255,.06);margin-top:2px}.claim-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:30;display:grid;place-items:center;padding:18px}.claim-modal{width:min(420px,100%);border:1px solid var(--line);background:#080d16;border-radius:16px;box-shadow:var(--shadow);padding:14px}.claim-modal h3{margin:0 0 4px;font-size:16px}.claim-modal p{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.45}.claim-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.claim-id{border:1px solid rgba(255,179,0,.25);background:var(--gold-soft);color:#ffd777;border-radius:11px;padding:10px 8px;font-weight:900;cursor:pointer}.claim-id.all{grid-column:1/-1;background:linear-gradient(180deg,rgba(255,179,0,.24),rgba(255,179,0,.10));color:#ffe2a0}.edit-modal-form{display:grid;gap:10px}.edit-modal-form .split{display:grid;grid-template-columns:1fr 1fr;gap:9px}@media(max-width:620px){.split{grid-template-columns:1fr}.detail-row{grid-template-columns:1fr;gap:5px}.detail-label{padding-top:0}}

/* FIX: exact table selectors used by the Tasks concept markup */
.task-region{border:1px solid var(--line);border-radius:16px;background:rgba(5,7,13,.26);overflow:hidden;box-shadow:none}.region-top{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:rgba(255,255,255,.025);border-bottom:1px solid var(--line)}.region-top h3{margin:0;font-size:15px}.region-badge{display:inline-flex;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;border:1px solid rgba(83,211,141,.25);background:rgba(83,211,141,.12);color:#a4efc3}.task-table{width:100%;border-collapse:collapse;table-layout:fixed}.task-table th{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#7f8da7;text-align:left;font-weight:900;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.055)}.task-table td{padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.055);vertical-align:middle}.task-table tr:last-child td{border-bottom:0}.task-row{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer;transition:.15s}.task-row:hover,.task-row.selected{background:rgba(255,179,0,.06)!important}.task-row.done{opacity:.62}.col-id{width:92px}.col-task{width:28%}.col-route{width:23%}.col-meta{width:16%}.col-status{width:120px}.col-actions{width:132px;text-align:right}.task-code{display:flex;align-items:center;gap:9px}.task-id{min-width:42px;height:32px;border-radius:11px;display:inline-grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(255,179,0,.25);color:#ffd777;font-weight:900;font-size:12px;cursor:pointer}.task-id:hover{background:rgba(255,179,0,.2)}.task-main b,.route-main b,.meta-main b{display:block;font-size:13px;color:#f1f6ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-main span,.route-main span,.meta-main span{display:block;color:var(--muted);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-text{font-weight:800;font-size:12px}.status-open{color:#bdefff}.status-progress{color:#ffe0a3}.status-done{color:#a4efc3}.status-returned{color:#dac7ff}.mini{border:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--text);border-radius:10px;padding:7px 8px;font-size:11px;cursor:pointer}.mini:hover{border-color:rgba(255,179,0,.22)}.mini.done-btn{color:#a4efc3}.mini.return-btn{color:#dac7ff}.group-id{min-width:42px;background:rgba(56,201,255,.10);border-color:rgba(56,201,255,.24);color:#bdefff}.group-id:hover{background:rgba(56,201,255,.16)}.detail-ids{display:flex;flex-wrap:wrap;gap:6px}.detail-id-chip{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:9px;padding:5px 7px;color:#ffd777;font-size:12px;font-weight:800}
@media(max-width:1250px){.task-table,.task-table tbody,.task-table tr,.task-table td{display:block;width:100%}.task-table thead{display:none}.task-row{padding:10px 0}.task-table td{border-bottom:0;padding:6px 14px}.col-actions{text-align:left}.row-actions{justify-content:flex-start}.task-region{overflow:hidden}}

/* hard override: keep Tasks concept as real HTML table inside FLOX shell */
.tasks-concept-page .task-table { width:100% !important; border-collapse:collapse !important; table-layout:fixed !important; display:table !important; }
.tasks-concept-page .task-table thead { display:table-header-group !important; }
.tasks-concept-page .task-table tbody { display:table-row-group !important; }
.tasks-concept-page .task-table tr.task-row { display:table-row !important; min-height:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.tasks-concept-page .task-table tr.task-row:hover,
.tasks-concept-page .task-table tr.task-row.selected { background:rgba(255,179,0,.06) !important; }
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td { display:table-cell !important; vertical-align:middle !important; padding:13px 14px !important; border-bottom:1px solid rgba(255,255,255,.055) !important; width:auto !important; }
.tasks-concept-page .task-table th { padding:10px 14px !important; }
.tasks-concept-page .task-table tr:last-child td { border-bottom:0 !important; }
.tasks-concept-page .task-main,
.tasks-concept-page .route-main,
.tasks-concept-page .meta-main { min-width:0 !important; max-width:none !important; }
.tasks-concept-page .task-main b,
.tasks-concept-page .route-main b,
.tasks-concept-page .meta-main b { display:block !important; max-width:100% !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.tasks-concept-page .task-main span,
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main span { display:block !important; max-width:100% !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.tasks-concept-page .col-id{width:92px !important}.tasks-concept-page .col-task{width:28% !important}.tasks-concept-page .col-route{width:23% !important}.tasks-concept-page .col-meta{width:16% !important}.tasks-concept-page .col-status{width:120px !important}.tasks-concept-page .col-actions{width:132px !important;text-align:right !important}
.tasks-concept-page .task-code{display:flex !important;align-items:center !important;gap:9px !important}.tasks-concept-page .row-actions{display:flex !important;gap:7px !important;justify-content:flex-end !important;flex-wrap:wrap !important}
@media(max-width:1250px){.tasks-concept-page .task-table,.tasks-concept-page .task-table tbody,.tasks-concept-page .task-table tr.task-row,.tasks-concept-page .task-table td{display:block !important;width:100% !important}.tasks-concept-page .task-table thead{display:none !important}.tasks-concept-page .task-table tr.task-row{padding:10px 0 !important}.tasks-concept-page .task-table td{border-bottom:0 !important;padding:6px 14px !important}.tasks-concept-page .col-actions{text-align:left !important}.tasks-concept-page .row-actions{justify-content:flex-start !important}}


/* v185 smart new task form */
.smart-task-drawer{width:min(680px,calc(100vw - 22px))}.smart-task-drawer .card-body{padding:0;background:#080d16}.smart-task-form{gap:0}.task-form-section{padding:14px;border-bottom:1px solid rgba(255,255,255,.065);display:grid;gap:10px}.task-form-section:last-of-type{border-bottom:0}.task-form-section h4{margin:0;color:#f1f6ff;font-size:12px;text-transform:uppercase;letter-spacing:.09em}.task-form-section .split{align-items:start}.task-form-calc{display:grid;gap:3px;border:1px solid rgba(83,211,141,.18);background:rgba(83,211,141,.075);border-radius:14px;padding:10px 11px;color:#dfffea}.task-form-calc b{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#a4efc3}.task-form-calc span{font-size:12px;line-height:1.45;color:#e9fff2}.task-location-picker{display:grid;gap:8px}.task-location-picker.disabled{opacity:.55}.segmented.small{display:flex;gap:6px;flex-wrap:wrap}.segmented.small label{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:999px;padding:6px 9px;color:#cbd6ea;font-size:11px;font-weight:800;cursor:pointer}.segmented.small input{width:auto;margin:0;accent-color:#ffb300}.field small.field-hint{display:block;color:#7f8da7;font-size:11px;line-height:1.4;margin-top:5px}.task-form-loading{margin:14px;border:1px solid rgba(255,179,0,.18);background:rgba(255,179,0,.075);border-radius:14px;padding:10px 11px;color:#ffe2a0;font-size:12px;font-weight:800}.smart-task-form .actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(8,13,22,.72),#080d16 34%);padding:14px;border-top:1px solid rgba(255,255,255,.075);z-index:2}.smart-task-form input[list]::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.55}

/* v186 smart form polish: category cards + icon item picker */
.task-category-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.task-category-card{display:flex;align-items:flex-start;gap:12px;text-align:left;border:1px solid rgba(56,201,255,.28);background:rgba(56,201,255,.06);border-radius:15px;padding:12px;color:#eaf4ff;cursor:pointer;transition:.15s}.task-category-card:hover{transform:translateY(-1px);border-color:rgba(255,179,0,.34);background:rgba(255,179,0,.075)}.task-category-card.active{border-color:rgba(255,179,0,.55);background:linear-gradient(180deg,rgba(255,179,0,.17),rgba(56,201,255,.06));box-shadow:0 0 0 1px rgba(255,179,0,.08) inset}.task-category-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.055);font-size:18px;flex:0 0 auto}.task-category-card b{display:block;font-size:13px;color:#f5f8ff}.task-category-card small{display:block;margin-top:2px;color:#9aa9c2;font-size:11px;line-height:1.25}.task-category-card em{display:block;margin-top:5px;color:#80efa8;font-style:normal;font-size:10px;font-weight:900}.task-item-picker{position:relative;display:grid;gap:8px}.task-item-results{display:grid;gap:6px;max-height:292px;overflow:auto;padding:2px}.task-item-results.empty{border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:10px;color:#7f8da7;font-size:12px}.task-item-option{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.026);border-radius:12px;padding:8px 9px;color:#dce8fb;text-align:left;cursor:pointer}.task-item-option:hover{border-color:rgba(255,179,0,.32);background:rgba(255,179,0,.07)}.task-item-option img,.task-item-option>span:first-child{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.055);object-fit:contain;flex:0 0 auto}.task-item-option b{display:block;color:#f1f6ff;font-size:12px}.task-item-option small{display:block;color:#7f8da7;font-size:10px;margin-top:2px}.smart-task-drawer{scrollbar-gutter:stable}.smart-task-form select option{background:#080d16;color:#eaf4ff}@media(max-width:720px){.task-category-card-grid{grid-template-columns:1fr}}

/* v187 task form category card layout fix */
.task-category-card{align-items:center;min-height:58px;overflow:hidden}
.task-category-card .task-category-copy{display:grid;min-width:0;gap:2px}
.task-category-card b{line-height:1.16;white-space:normal;overflow:visible;text-overflow:clip}
.task-category-card small{line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
.task-category-card em{line-height:1.1}
.task-category-icon i{font-size:16px;color:#9ee9ff}
.task-category-card.active .task-category-icon i{color:#ffe2a0}
.task-item-picker input[data-task-item-input]{position:sticky;top:0;z-index:1}

/* v188: task form category cards + calculation polish */
.task-category-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.task-category-card{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:74px;padding:12px 14px;overflow:hidden}
.task-category-icon{width:42px;height:42px;border-radius:12px;font-size:17px}
.task-category-card .task-category-copy{min-width:0;display:grid;grid-template-columns:1fr;gap:3px}
.task-category-card b{font-size:14px;line-height:1.18;word-break:normal;hyphens:auto}
.task-category-card small{font-size:11px;line-height:1.25;color:#a9b8d2;max-width:100%}
.task-category-card em{margin-top:1px;font-size:10px;line-height:1.1;color:#83efaa}
.task-form-calc{padding:12px;background:linear-gradient(180deg,rgba(83,211,141,.085),rgba(83,211,141,.045))}
.task-form-calc>span{display:block}
.task-calc-grid{display:grid;gap:6px;margin-top:4px}
.task-calc-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:start;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.12);border-radius:10px;padding:7px 9px}
.task-calc-row span{color:#8fa0bb;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}
.task-calc-row b{color:#f4fff8;font-size:12px;line-height:1.35;word-break:break-word}
.task-calc-row.total{border-color:rgba(255,179,0,.22);background:rgba(255,179,0,.08)}
.task-calc-row.total b{color:#ffe2a0}
.task-xp-summary{margin-top:10px;border:1px solid rgba(255,179,0,.14);background:rgba(255,179,0,.045);border-radius:14px;padding:10px}
.task-xp-summary:empty{display:none}
.task-xp-grid{margin-top:0}
@media(max-width:720px){.task-category-card-grid{grid-template-columns:1fr}.task-calc-row{grid-template-columns:1fr;gap:3px}}

/* v188: location mode switches without drawer re-render/scroll jump */
.task-location-picker .task-location-custom{display:none}
.task-location-picker:has(input[value="custom"]:checked) .task-location-preset{display:none}
.task-location-picker:has(input[value="custom"]:checked) .task-location-custom{display:block}

/* v189: rebuilt task category picker cards */
.smart-task-form .task-category-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.smart-task-form .task-category-card{
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  column-gap:12px;
  min-height:76px;
  width:100%;
  padding:13px 14px;
  overflow:hidden;
  border:1px solid rgba(56,201,255,.24);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(56,201,255,.065),rgba(56,201,255,.035));
  color:#eaf4ff;
  text-align:left;
}
.smart-task-form .task-category-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:transparent;
}
.smart-task-form .task-category-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,179,0,.34);
  background:linear-gradient(180deg,rgba(255,179,0,.085),rgba(56,201,255,.045));
}
.smart-task-form .task-category-card.active{
  border-color:rgba(255,179,0,.68);
  background:linear-gradient(180deg,rgba(255,179,0,.17),rgba(56,201,255,.055));
  box-shadow:0 0 0 1px rgba(255,179,0,.11) inset,0 10px 28px rgba(0,0,0,.18);
}
.smart-task-form .task-category-card.active::before{
  background:#ffb300;
}
.smart-task-form .task-category-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  flex:none;
}
.smart-task-form .task-category-card.active .task-category-icon{
  background:rgba(255,179,0,.13);
}
.smart-task-form .task-category-icon i{
  font-size:18px;
  line-height:1;
  color:#9ee9ff;
}
.smart-task-form .task-category-card.active .task-category-icon i{
  color:#ffe2a0;
}
.smart-task-form .task-category-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.smart-task-form .task-category-title{
  display:block;
  color:#f5f8ff;
  font-size:14px;
  font-weight:900;
  line-height:1.18;
  letter-spacing:.01em;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  word-break:normal;
}
.smart-task-form .task-category-desc{
  display:block;
  color:#9fb0ca;
  font-size:11px;
  font-weight:600;
  line-height:1.25;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
.smart-task-form .task-category-state{
  align-self:center;
  justify-self:end;
  min-width:62px;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(128,239,168,.18);
  background:rgba(128,239,168,.07);
  color:#83efaa;
  font-size:10px;
  font-weight:900;
  line-height:1;
  text-align:center;
  white-space:nowrap;
}
.smart-task-form .task-category-card.active .task-category-state{
  border-color:rgba(255,179,0,.24);
  background:rgba(255,179,0,.12);
  color:#ffe2a0;
}
@media(max-width:820px){
  .smart-task-form .task-category-card-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .smart-task-form .task-category-card{grid-template-columns:42px minmax(0,1fr);}
  .smart-task-form .task-category-state{grid-column:2;justify-self:start;margin-top:4px;}
}

/* v190: cleaner task category cards without select chip */
.smart-task-form .task-category-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.smart-task-form .task-category-card{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  min-height:74px;
  padding:12px 14px;
  column-gap:12px;
}
.smart-task-form .task-category-state{display:none!important}
.smart-task-form .task-category-icon{
  width:44px;
  height:44px;
  border-radius:13px;
}
.smart-task-form .task-category-icon img{
  width:28px;
  height:28px;
  object-fit:contain;
  image-rendering:auto;
}
.smart-task-form .task-category-title{
  font-size:14px;
  line-height:1.18;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.smart-task-form .task-category-desc{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:11px;
  line-height:1.25;
}
.smart-task-form .task-category-card.active{
  border-color:rgba(255,179,0,.72);
  background:linear-gradient(180deg,rgba(255,179,0,.18),rgba(56,201,255,.05));
}
.smart-task-form .task-category-card.active::after{
  content:"";
  position:absolute;
  top:12px;
  right:12px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#ffb300;
  box-shadow:0 0 0 4px rgba(255,179,0,.13);
}
@media(max-width:720px){
  .smart-task-form .task-category-card-grid{grid-template-columns:1fr}
}


/* v191: task type picker rebuilt from scratch */
.smart-task-form .task-type-picker{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.smart-task-form .task-type-tile{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:74px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  color:#eef5ff;
  text-align:left;
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.smart-task-form .task-type-tile:hover{
  border-color:rgba(56,201,255,.38);
  background:linear-gradient(180deg,rgba(56,201,255,.09),rgba(56,201,255,.045));
  transform:translateY(-1px);
}
.smart-task-form .task-type-tile.active{
  border-color:rgba(255,179,0,.56);
  background:linear-gradient(180deg,rgba(255,179,0,.16),rgba(255,255,255,.04));
  box-shadow:0 0 0 1px rgba(255,179,0,.08) inset;
}
.smart-task-form .task-type-media{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(255,255,255,.06);
}
.smart-task-form .task-type-media i{
  font-size:18px;
  color:#dce9ff;
}
.smart-task-form .task-type-media img{
  width:24px;
  height:24px;
  object-fit:contain;
}
.smart-task-form .task-type-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.smart-task-form .task-type-title{
  display:block;
  color:#f5f8ff;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  white-space:normal;
}
.smart-task-form .task-type-desc{
  display:block;
  color:#a5b5cd;
  font-size:12px;
  line-height:1.25;
  white-space:normal;
}
@media(max-width:1180px){
  .smart-task-form .task-type-picker{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .smart-task-form .task-type-picker{grid-template-columns:1fr;}
}


/* v192: FLOXi style task type tiles */
.smart-task-form .task-type-picker{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
  align-items:stretch;
}
.smart-task-form .task-type-tile{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  align-items:center;
  gap:12px;
  min-height:72px;
  padding:13px 14px;
  border-radius:15px;
  border:1px solid rgba(44,171,214,.28);
  background:
    radial-gradient(circle at top left,rgba(56,201,255,.075),transparent 46%),
    linear-gradient(180deg,rgba(9,24,36,.88),rgba(7,15,26,.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.12);
  color:#eef5ff;
  text-align:left;
  overflow:hidden;
}
.smart-task-form .task-type-tile::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:rgba(56,201,255,.42);
  opacity:.75;
}
.smart-task-form .task-type-tile::after{
  content:"";
  position:absolute;
  right:12px;
  top:12px;
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(56,201,255,.35);
  box-shadow:0 0 0 4px rgba(56,201,255,.06);
  opacity:0;
  transition:opacity .16s ease,background .16s ease,box-shadow .16s ease;
}
.smart-task-form .task-type-tile:hover{
  transform:translateY(-1px);
  border-color:rgba(56,201,255,.55);
  background:
    radial-gradient(circle at top left,rgba(56,201,255,.13),transparent 48%),
    linear-gradient(180deg,rgba(10,31,46,.92),rgba(7,17,29,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 28px rgba(0,0,0,.18);
}
.smart-task-form .task-type-tile.active{
  border-color:rgba(255,179,0,.72);
  background:
    radial-gradient(circle at top left,rgba(255,179,0,.18),transparent 46%),
    linear-gradient(180deg,rgba(34,31,15,.94),rgba(9,18,28,.97));
  box-shadow:0 0 0 1px rgba(255,179,0,.08) inset,0 12px 30px rgba(0,0,0,.2);
}
.smart-task-form .task-type-tile.active::before{
  background:#ffb300;
  opacity:1;
}
.smart-task-form .task-type-tile.active::after{
  opacity:1;
  background:#ffb300;
  box-shadow:0 0 0 4px rgba(255,179,0,.14),0 0 18px rgba(255,179,0,.32);
}
.smart-task-form .task-type-media{
  width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.smart-task-form .task-type-tile.active .task-type-media{
  background:rgba(255,179,0,.105);
  border-color:rgba(255,179,0,.12);
}
.smart-task-form .task-type-media i{
  font-size:17px;
  color:#9ee9ff;
}
.smart-task-form .task-type-tile.active .task-type-media i{
  color:#ffe2a0;
}
.smart-task-form .task-type-media img{
  width:25px;
  height:25px;
  object-fit:contain;
}
.smart-task-form .task-type-copy{
  min-width:0;
  display:grid;
  gap:3px;
  padding-right:10px;
}
.smart-task-form .task-type-title{
  display:block;
  color:#f5f8ff;
  font-size:14px;
  font-weight:900;
  line-height:1.12;
  letter-spacing:.005em;
  overflow-wrap:anywhere;
}
.smart-task-form .task-type-desc{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#9fb0ca;
  font-size:11px;
  font-weight:650;
  line-height:1.22;
}
@media(max-width:760px){
  .smart-task-form .task-type-picker{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px){
  .smart-task-form .task-type-picker{grid-template-columns:1fr;}
}

/* v193: final rebuilt task type picker — FLOXi compact tiles */
.smart-task-drawer{
  width:min(960px,calc(100vw - 22px)) !important;
}
.smart-task-form .task-type-picker{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:stretch !important;
}
.smart-task-form .task-type-tile{
  position:relative !important;
  display:grid !important;
  grid-template-columns:38px minmax(0,1fr) !important;
  align-items:center !important;
  gap:11px !important;
  min-height:64px !important;
  width:100% !important;
  padding:10px 12px !important;
  overflow:hidden !important;
  border-radius:13px !important;
  border:1px solid rgba(255,255,255,.09) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.022)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 22px rgba(0,0,0,.14) !important;
  color:#edf5ff !important;
  text-align:left !important;
  cursor:pointer !important;
  transform:none !important;
}
.smart-task-form .task-type-tile:hover{
  border-color:rgba(56,201,255,.34) !important;
  background:linear-gradient(180deg,rgba(56,201,255,.08),rgba(255,255,255,.024)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 24px rgba(0,0,0,.18) !important;
}
.smart-task-form .task-type-tile.active{
  border-color:rgba(255,179,0,.58) !important;
  background:linear-gradient(180deg,rgba(255,179,0,.14),rgba(255,179,0,.055)) !important;
  box-shadow:inset 0 0 0 1px rgba(255,179,0,.07),0 10px 26px rgba(0,0,0,.2) !important;
}
.smart-task-form .task-type-tile.active::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:10px !important;
  bottom:10px !important;
  width:3px !important;
  border-radius:0 4px 4px 0 !important;
  background:#ffb300 !important;
}
.smart-task-form .task-type-tile::after{
  content:"" !important;
  position:absolute !important;
  inset:auto 10px 10px auto !important;
  width:6px !important;
  height:6px !important;
  border-radius:999px !important;
  background:rgba(56,201,255,.38) !important;
  opacity:.65 !important;
}
.smart-task-form .task-type-tile.active::after{
  background:#ffb300 !important;
  opacity:1 !important;
  box-shadow:0 0 0 4px rgba(255,179,0,.11) !important;
}
.smart-task-form .task-type-media{
  width:36px !important;
  height:36px !important;
  border-radius:10px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 36px !important;
  background:rgba(255,255,255,.055) !important;
}
.smart-task-form .task-type-tile.active .task-type-media{
  background:rgba(255,179,0,.13) !important;
}
.smart-task-form .task-type-media i{
  font-size:16px !important;
  line-height:1 !important;
  color:#9ee9ff !important;
}
.smart-task-form .task-type-tile.active .task-type-media i{
  color:#ffe2a0 !important;
}
.smart-task-form .task-type-media img{
  width:23px !important;
  height:23px !important;
  object-fit:contain !important;
}
.smart-task-form .task-type-copy{
  min-width:0 !important;
  display:block !important;
  padding:0 !important;
}
.smart-task-form .task-type-title{
  display:block !important;
  color:#f6f9ff !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  letter-spacing:.005em !important;
  white-space:normal !important;
  overflow:visible !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}
.smart-task-form .task-type-desc{
  display:block !important;
  margin-top:3px !important;
  color:#9fb0ca !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.22 !important;
  white-space:normal !important;
  overflow:hidden !important;
}
@media(max-width:900px){
  .smart-task-form .task-type-picker{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:560px){
  .smart-task-form .task-type-picker{grid-template-columns:1fr !important;}
}


/* v194: clean category picker, independent from older task-type/task-category styles */
.smart-task-drawer{
  width:min(1120px,calc(100vw - 24px)) !important;
}
.smart-task-form .task-kind-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  align-items:stretch;
}
.smart-task-form .task-kind-card{
  position:relative;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:12px;
  min-height:72px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.047),rgba(255,255,255,.024));
  color:#eef5ff;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.14);
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.smart-task-form .task-kind-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:rgba(56,201,255,.34);
  opacity:.42;
}
.smart-task-form .task-kind-card:hover{
  transform:translateY(-1px);
  border-color:rgba(56,201,255,.35);
  background:linear-gradient(180deg,rgba(56,201,255,.075),rgba(255,255,255,.026));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 26px rgba(0,0,0,.18);
}
.smart-task-form .task-kind-card.is-active{
  border-color:rgba(255,179,0,.58);
  background:linear-gradient(180deg,rgba(255,179,0,.14),rgba(255,179,0,.045));
  box-shadow:inset 0 0 0 1px rgba(255,179,0,.07),0 12px 28px rgba(0,0,0,.2);
}
.smart-task-form .task-kind-card.is-active::before{
  background:#ffb300;
  opacity:1;
}
.smart-task-form .task-kind-card.is-active::after{
  content:"";
  position:absolute;
  right:12px;
  top:12px;
  width:7px;
  height:7px;
  border-radius:999px;
  background:#ffb300;
  box-shadow:0 0 0 4px rgba(255,179,0,.12),0 0 18px rgba(255,179,0,.26);
}
.smart-task-form .task-kind-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.045);
}
.smart-task-form .task-kind-card.is-active .task-kind-icon{
  background:rgba(255,179,0,.105);
  border-color:rgba(255,179,0,.12);
}
.smart-task-form .task-kind-icon i{
  font-size:17px;
  color:#9ee9ff;
}
.smart-task-form .task-kind-card.is-active .task-kind-icon i{
  color:#ffe2a0;
}
.smart-task-form .task-kind-icon img{
  width:25px;
  height:25px;
  object-fit:contain;
}
.smart-task-form .task-kind-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.smart-task-form .task-kind-title{
  display:block;
  max-width:calc(100% - 12px);
  color:#f7faff;
  font-size:14px;
  font-weight:900;
  line-height:1.18;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
.smart-task-form .task-kind-desc{
  display:block;
  max-width:calc(100% - 8px);
  color:#9fb0ca;
  font-size:11px;
  font-weight:650;
  line-height:1.25;
}
@media(max-width:760px){
  .smart-task-form .task-kind-grid{grid-template-columns:1fr;}
}

/* v197: DB task list/detail polish */
.task-main span{display:block;margin-top:3px;color:#8fa0bb;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-detail-drawer .detail-section{display:grid;gap:8px}
.task-detail-drawer .detail-row{grid-template-columns:150px minmax(0,1fr)}
.status-scheduled{color:#80d8ff!important}
.status-cancelled{color:#ff6f7d!important}
.task-edit-modal{width:min(760px,calc(100vw - 28px))!important;max-width:760px!important}
.task-edit-modal .edit-modal-form{display:grid;gap:11px}
.task-edit-modal .split{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:680px){.task-edit-modal .split{grid-template-columns:1fr}.task-detail-drawer .detail-row{grid-template-columns:1fr}}


/* v198: task detail cleanup + materials */
.task-detail-item-inline{display:flex;align-items:center;gap:10px;min-width:0}
.task-detail-item-icon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.06);object-fit:contain;padding:4px;flex:0 0 auto}
.task-detail-item-inline span{min-width:0;display:grid;gap:2px}
.task-detail-item-inline b{display:block;color:#f3f7ff;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-detail-item-inline small{display:block;color:#8fa0bb;font-size:11px;line-height:1.25;white-space:normal}
.task-detail-materials{border:1px solid rgba(56,201,255,.13);background:linear-gradient(180deg,rgba(56,201,255,.055),rgba(255,255,255,.02));border-radius:15px;padding:12px;display:grid;gap:9px}
.task-detail-materials h4{margin:0;color:#dce8fb;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.task-detail-drawer .task-calc-grid{margin-top:0}
.task-detail-drawer .task-calc-row{grid-template-columns:140px minmax(0,1fr)}
@media(max-width:680px){.task-detail-drawer .task-calc-row{grid-template-columns:1fr}}

/* v200: fixed category order, richer task list and planned guard */
.task-region-title{display:inline-flex;align-items:center;gap:10px;min-width:0}
.task-region-title i{width:28px;height:28px;border-radius:9px;display:inline-grid;place-items:center;background:rgba(56,201,255,.08);border:1px solid rgba(56,201,255,.12);color:#9ee9ff;font-size:13px}
.task-region .region-top h3{display:flex;align-items:center;min-width:0}
.tasks-concept-page .col-id{width:92px!important}.tasks-concept-page .col-icon{width:54px!important}.tasks-concept-page .col-task{width:25%!important}.tasks-concept-page .col-route{width:22%!important}.tasks-concept-page .col-meta{width:14%!important}.tasks-concept-page .col-xp{width:82px!important}.tasks-concept-page .col-status{width:122px!important}.tasks-concept-page .col-actions{width:136px!important;text-align:right!important}
.task-row-item-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06)}
.task-row-item-icon .task-detail-item-icon{width:30px;height:30px;border:0;background:transparent;padding:3px;border-radius:8px}
.xp-chip{display:inline-flex;align-items:center;justify-content:center;min-width:54px;border-radius:999px;padding:5px 8px;border:1px solid rgba(255,179,0,.18);background:rgba(255,179,0,.075);color:#ffe2a0;font-size:11px;font-weight:900;white-space:nowrap}.xp-chip:empty{display:none}
.task-row.is-planned{background:linear-gradient(90deg,rgba(255,179,0,.055),transparent 52%)!important}.task-row.is-planned .task-id{border-color:rgba(255,179,0,.42);box-shadow:0 0 0 1px rgba(255,179,0,.08) inset}.status-scheduled{color:#ffdc8c}.planned-lock{display:block;margin-top:4px;color:#ffcf6d;font-size:10px;font-weight:900;letter-spacing:.035em}.mini:disabled,.btn:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.7)}
.task-planned-info{margin:10px 0 12px;border:1px solid rgba(255,179,0,.24);background:linear-gradient(180deg,rgba(255,179,0,.12),rgba(255,179,0,.055));border-radius:14px;padding:11px 12px;display:grid;gap:4px}.task-planned-info b{color:#ffe2a0;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.task-planned-info span{color:#cbbd98;font-size:12px;line-height:1.35}
.task-edit-modal-v2{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 44px);overflow:auto}.task-edit-modal-v2 .edit-modal-form{display:grid;gap:12px}.task-edit-modal-v2 .task-form-section{border:1px solid rgba(255,255,255,.075);background:rgba(8,13,22,.62);border-radius:16px;padding:12px}.task-edit-modal-v2 .task-form-section h4{margin:0 0 10px;color:#dce8fb;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.task-edit-modal-v2 textarea{min-height:88px}
@media(max-width:1250px){.tasks-concept-page .col-icon,.tasks-concept-page .col-xp{width:100%!important}.task-row-item-icon{margin-left:0}.planned-lock{display:inline-block;margin-left:8px}.task-edit-modal-v2{width:min(620px,calc(100vw - 24px))}}

/* v201: compact DB task list + detail actions polish */
.tasks-concept-page .task-table{
  table-layout:auto !important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:9px 10px !important;
}
.tasks-concept-page .task-row-item-icon{
  width:30px;
  height:30px;
  border-radius:9px;
}
.tasks-concept-page .task-row-item-icon .task-detail-item-icon{
  width:25px;
  height:25px;
  padding:2px;
}
.tasks-concept-page .col-id{width:74px!important;white-space:nowrap!important}
.tasks-concept-page .col-icon{width:42px!important;white-space:nowrap!important}
.tasks-concept-page .col-task{width:auto!important;min-width:210px!important}
.tasks-concept-page .col-route{width:1%!important;min-width:190px!important;max-width:270px!important}
.tasks-concept-page .col-meta{width:1%!important;min-width:120px!important;white-space:nowrap!important}
.tasks-concept-page .col-xp{width:74px!important;white-space:nowrap!important}
.tasks-concept-page .col-status{width:118px!important;white-space:nowrap!important}
.tasks-concept-page .col-actions{width:126px!important;white-space:nowrap!important;text-align:right!important}
.tasks-concept-page .task-id{min-width:38px;height:30px;font-size:11px}
.tasks-concept-page .row-actions{gap:5px;justify-content:flex-end}
.tasks-concept-page .mini{padding:6px 7px;border-radius:9px}
.tasks-concept-page .xp-chip{padding:5px 8px;font-size:10px}
.tasks-concept-page .task-main b,
.tasks-concept-page .route-main b,
.tasks-concept-page .meta-main b{font-size:12px}
.tasks-concept-page .task-main span,
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main span{font-size:10px;margin-top:2px}
.tasks-concept-page .task-region{margin-bottom:10px}
.tasks-concept-page .region-top{padding:10px 13px}
.planned-date{display:block;margin-top:2px;color:#b8a571;font-size:10px;font-weight:700;white-space:nowrap}
.task-planned-info strong{display:block;color:#fff0be;font-size:13px;line-height:1.25}
.task-detail-actions .btn{display:inline-flex;align-items:center;gap:7px}
.task-detail-actions .btn i{font-size:12px;opacity:.9}
@media(max-width:1250px){
  .tasks-concept-page .task-table,
  .tasks-concept-page .task-table tbody,
  .tasks-concept-page .task-table tr.task-row,
  .tasks-concept-page .task-table td{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
  .tasks-concept-page .task-table thead{display:none!important}
  .tasks-concept-page .task-table td{padding:6px 14px!important}
  .tasks-concept-page .col-actions{text-align:left!important}
  .tasks-concept-page .row-actions{justify-content:flex-start}
}


/* v202: compact rows + safe text clipping */
.tasks-concept-page .task-table{
  table-layout:fixed !important;
  width:100% !important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:8px 9px !important;
  vertical-align:middle !important;
}
.tasks-concept-page .col-id{width:84px!important}
.tasks-concept-page .col-icon{width:44px!important}
.tasks-concept-page .col-task{width:35%!important;min-width:0!important;max-width:none!important}
.tasks-concept-page .col-route{width:25%!important;min-width:0!important;max-width:none!important}
.tasks-concept-page .col-meta{width:14%!important;min-width:0!important}
.tasks-concept-page .col-xp{width:74px!important}
.tasks-concept-page .col-status{width:110px!important}
.tasks-concept-page .col-actions{width:122px!important}
.tasks-concept-page .task-main,
.tasks-concept-page .route-main,
.tasks-concept-page .meta-main{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.tasks-concept-page .task-main b,
.tasks-concept-page .task-main span,
.tasks-concept-page .route-main b,
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main b,
.tasks-concept-page .meta-main span{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tasks-concept-page .task-main span{
  display:block!important;
  max-width:100%!important;
}
.tasks-concept-page .task-row{height:auto!important;min-height:58px!important}
.tasks-concept-page .task-row-item-icon{width:28px!important;height:28px!important}
.tasks-concept-page .task-row-item-icon .task-detail-item-icon{width:23px!important;height:23px!important}
.tasks-concept-page .row-actions{gap:4px!important}.tasks-concept-page .mini{padding:5px 6px!important}
.task-detail-drawer .detail-row{grid-template-columns:155px minmax(0,1fr)!important}
@media(max-width:1250px){
  .tasks-concept-page .task-table,
  .tasks-concept-page .task-table tbody,
  .tasks-concept-page .task-table tr.task-row,
  .tasks-concept-page .task-table td{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
}


/* v203: readable task rows + icon integrated into task column */
.tasks-concept-page .task-table{
  table-layout:fixed !important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:11px 12px !important;
}
.tasks-concept-page .col-id{width:92px!important}
.tasks-concept-page .col-task{width:37%!important;min-width:0!important}
.tasks-concept-page .col-route{width:24%!important;min-width:0!important}
.tasks-concept-page .col-meta{width:13%!important;min-width:0!important}
.tasks-concept-page .col-xp{width:78px!important}
.tasks-concept-page .col-status{width:126px!important}
.tasks-concept-page .col-actions{width:128px!important}
.tasks-concept-page .col-icon{display:none!important;width:0!important;padding:0!important}
.tasks-concept-page .task-row{min-height:70px!important}
.tasks-concept-page .task-title-wrap{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
}
.tasks-concept-page .task-row-item-icon{
  width:32px!important;
  height:32px!important;
  margin:0!important;
}
.tasks-concept-page .task-row-item-icon .task-detail-item-icon{
  width:26px!important;
  height:26px!important;
}
.tasks-concept-page .task-main b{font-size:13px!important;line-height:1.2!important}
.tasks-concept-page .task-main span{
  display:block!important;
  max-width:100%!important;
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tasks-concept-page .route-main b,.tasks-concept-page .meta-main b{font-size:12px!important;line-height:1.2!important}
.tasks-concept-page .route-main span,.tasks-concept-page .meta-main span{font-size:10px!important;line-height:1.25!important}
.tasks-concept-page .planned-date{color:#ffe0a3!important;font-weight:900!important}
@media(max-width:1250px){
  .tasks-concept-page .task-title-wrap{grid-template-columns:30px minmax(0,1fr)}
}


/* v204: repair global task list table layout */
.tasks-concept-page .task-table{
  table-layout:fixed!important;
  width:100%!important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:10px 10px!important;
  vertical-align:middle!important;
}
.tasks-concept-page .col-id{width:86px!important;min-width:86px!important;white-space:nowrap!important}
.tasks-concept-page .col-task{width:34%!important;min-width:260px!important;max-width:none!important}
.tasks-concept-page .col-route{width:24%!important;min-width:180px!important;max-width:none!important}
.tasks-concept-page .col-meta{width:13%!important;min-width:118px!important;max-width:none!important}
.tasks-concept-page .col-xp{width:76px!important;min-width:76px!important;white-space:nowrap!important}
.tasks-concept-page .col-status{width:126px!important;min-width:126px!important;white-space:nowrap!important}
.tasks-concept-page .col-actions{width:124px!important;min-width:124px!important;white-space:nowrap!important;text-align:right!important}
.tasks-concept-page .task-row{min-height:68px!important}
.tasks-concept-page .task-title-wrap{
  display:grid!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
.tasks-concept-page .task-title-wrap.has-icon{grid-template-columns:32px minmax(0,1fr)!important}
.tasks-concept-page .task-title-wrap.no-icon{grid-template-columns:minmax(0,1fr)!important}
.tasks-concept-page .task-title-wrap.no-icon .task-main{grid-column:1!important}
.tasks-concept-page .task-row-item-icon{
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  margin:0!important;
}
.tasks-concept-page .task-row-item-icon .task-detail-item-icon{
  width:24px!important;
  height:24px!important;
  padding:2px!important;
}
.tasks-concept-page .task-main,
.tasks-concept-page .route-main,
.tasks-concept-page .meta-main{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tasks-concept-page .task-main b,
.tasks-concept-page .route-main b,
.tasks-concept-page .meta-main b{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:13px!important;
  line-height:1.25!important;
}
.tasks-concept-page .task-main span,
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main span{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:10px!important;
  line-height:1.25!important;
  margin-top:2px!important;
}
.tasks-concept-page .task-code{gap:8px!important}
.tasks-concept-page .task-id{min-width:38px!important;height:30px!important;font-size:11px!important}
.tasks-concept-page .row-actions{gap:4px!important;justify-content:flex-end!important}
.tasks-concept-page .mini{padding:5px 6px!important;border-radius:9px!important}
.tasks-concept-page .xp-chip{min-width:48px!important;padding:5px 7px!important;font-size:10px!important}
@media(max-width:1250px){
  .tasks-concept-page .task-table,
  .tasks-concept-page .task-table tbody,
  .tasks-concept-page .task-table tr.task-row,
  .tasks-concept-page .task-table td{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
  .tasks-concept-page .task-table thead{display:none!important}
  .tasks-concept-page .task-table td{padding:6px 14px!important}
  .tasks-concept-page .row-actions{justify-content:flex-start!important}
}

/* v206: task list spacing/readability + narrower ID, wider task column */
.tasks-concept-page .task-table{
  table-layout:fixed!important;
  width:100%!important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:12px 12px!important;
  vertical-align:middle!important;
}
.tasks-concept-page .col-id{
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
}
.tasks-concept-page .col-task{
  width:42%!important;
  min-width:320px!important;
}
.tasks-concept-page .col-route{
  width:23%!important;
  min-width:190px!important;
}
.tasks-concept-page .col-meta{
  width:13%!important;
  min-width:118px!important;
}
.tasks-concept-page .col-xp{
  width:72px!important;
  min-width:72px!important;
}
.tasks-concept-page .col-status{
  width:130px!important;
  min-width:130px!important;
}
.tasks-concept-page .col-actions{
  width:120px!important;
  min-width:120px!important;
}
.tasks-concept-page .task-row{
  min-height:82px!important;
}
.tasks-concept-page .task-code{
  gap:6px!important;
}
.tasks-concept-page .task-code .row-check{
  margin:0!important;
}
.tasks-concept-page .task-id{
  min-width:38px!important;
  height:30px!important;
}
.tasks-concept-page .task-title-wrap.has-icon{
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:12px!important;
}
.tasks-concept-page .task-title-wrap.no-icon{
  grid-template-columns:minmax(0,1fr)!important;
}
.tasks-concept-page .task-main b{
  font-size:14px!important;
  line-height:1.25!important;
}
.tasks-concept-page .task-main span{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.tasks-concept-page .route-main b,
.tasks-concept-page .meta-main b{
  font-size:13px!important;
  line-height:1.25!important;
}
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main span{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1.35!important;
}

/* v207: final hard task list layout override with stronger specificity */
.tasks-concept-page .task-table{
  table-layout:fixed!important;
  width:100%!important;
}
.tasks-concept-page .task-table th,
.tasks-concept-page .task-table td{
  padding:14px 12px!important;
  vertical-align:middle!important;
}
.tasks-concept-page .task-table th.col-id,
.tasks-concept-page .task-table td.col-id{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
  padding-left:12px!important;
  padding-right:8px!important;
  white-space:nowrap!important;
}
.tasks-concept-page .task-table th.col-task,
.tasks-concept-page .task-table td.col-task{
  width:34%!important;
  min-width:0!important;
  max-width:none!important;
}
.tasks-concept-page .task-table th.col-route,
.tasks-concept-page .task-table td.col-route{
  width:24%!important;
  min-width:0!important;
  max-width:none!important;
}
.tasks-concept-page .task-table th.col-meta,
.tasks-concept-page .task-table td.col-meta{
  width:13%!important;
  min-width:0!important;
  max-width:none!important;
}
.tasks-concept-page .task-table th.col-xp,
.tasks-concept-page .task-table td.col-xp{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
  white-space:nowrap!important;
}
.tasks-concept-page .task-table th.col-status,
.tasks-concept-page .task-table td.col-status{
  width:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  white-space:nowrap!important;
}
.tasks-concept-page .task-table th.col-actions,
.tasks-concept-page .task-table td.col-actions{
  width:122px!important;
  min-width:122px!important;
  max-width:122px!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.tasks-concept-page .task-code{
  gap:6px!important;
  justify-content:flex-start!important;
}
.tasks-concept-page .task-code .row-check{
  flex:0 0 auto!important;
  margin:0!important;
}
.tasks-concept-page .task-id{
  min-width:38px!important;
  width:38px!important;
  height:31px!important;
  font-size:11px!important;
}
.tasks-concept-page .task-title-wrap{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  align-items:center!important;
  gap:12px!important;
}
.tasks-concept-page .task-title-wrap.has-icon{
  grid-template-columns:42px minmax(0,1fr)!important;
}
.tasks-concept-page .task-title-wrap.no-icon{
  grid-template-columns:minmax(0,1fr)!important;
}
.tasks-concept-page .task-row-item-icon{
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  margin:0!important;
}
.tasks-concept-page .task-row-item-icon .task-detail-item-icon{
  width:34px!important;
  height:34px!important;
  padding:3px!important;
}
.tasks-concept-page .task-main,
.tasks-concept-page .route-main,
.tasks-concept-page .meta-main{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tasks-concept-page .task-main b{
  font-size:14px!important;
  line-height:1.28!important;
}
.tasks-concept-page .task-main span{
  font-size:11px!important;
  line-height:1.35!important;
  margin-top:4px!important;
}
.tasks-concept-page .route-main b,
.tasks-concept-page .meta-main b{
  font-size:13px!important;
  line-height:1.3!important;
}
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main span{
  font-size:11px!important;
  line-height:1.35!important;
  margin-top:4px!important;
}
.tasks-concept-page .task-main b,
.tasks-concept-page .task-main span,
.tasks-concept-page .route-main b,
.tasks-concept-page .route-main span,
.tasks-concept-page .meta-main b,
.tasks-concept-page .meta-main span{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.tasks-concept-page .task-row{
  min-height:82px!important;
}
@media(max-width:1250px){
  .tasks-concept-page .task-table,
  .tasks-concept-page .task-table tbody,
  .tasks-concept-page .task-table tr.task-row,
  .tasks-concept-page .task-table td{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
  .tasks-concept-page .task-table thead{display:none!important}
  .tasks-concept-page .task-table td{padding:7px 14px!important}
  .tasks-concept-page .task-title-wrap.has-icon{grid-template-columns:42px minmax(0,1fr)!important}
}

/* v208: expanded quick actions + permission disabled state */
.task-table .row-actions.task-quick-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:6px;
  max-width:116px;
}
.task-table .row-actions.task-quick-actions .mini{
  width:28px;
  height:28px;
  display:inline-grid;
  place-items:center;
  padding:0;
}
.task-table .row-actions.task-quick-actions .mini i{
  font-size:12px;
  line-height:1;
  pointer-events:none;
}
.task-table .row-actions .mini[disabled],
.task-detail-actions .btn[disabled]{
  opacity:.38;
  cursor:not-allowed;
  filter:saturate(.6);
}
.task-table .row-actions .mini.danger{
  border-color:rgba(255,117,117,.24);
  color:#ff9aa9;
}
.task-table .row-actions .mini.danger:hover:not([disabled]){
  background:rgba(255,117,117,.08);
  border-color:rgba(255,117,117,.38);
}

/* v209: completion review workflow */
.status-pending{color:#ffd98a!important}
.task-row:has(.status-pending){background:linear-gradient(90deg,rgba(255,179,0,.045),transparent 52%)!important}

/* v212: locked/review task actions */
.task-row.locked-task .task-main b,
.task-row.pending-review .task-main b{opacity:.92}
.task-row.locked-task .mini[disabled],
.task-row.pending-review .mini[disabled]{opacity:.38;cursor:not-allowed;filter:grayscale(.25)}
.task-row.pending-review{box-shadow:inset 3px 0 0 rgba(255,179,0,.55)}
.task-row.locked-task{opacity:.78}
.task-detail-actions .btn[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}


/* v215: task review reject uses FLOXi modal style */
.task-review-backdrop{z-index:170;}
.task-review-modal{width:min(570px,calc(100vw - 28px))!important;padding:24px!important;border-color:rgba(255,82,122,.34)!important;}
.task-review-head{position:relative;padding-left:58px;}
.task-review-icon{position:absolute;left:0;top:0;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(255,82,122,.32);background:rgba(255,82,122,.10);color:#ff8aa5;font-size:18px;}
.task-review-head .section-kicker{display:inline-flex;align-items:center;gap:8px;}
.task-review-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:11px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);color:#dce8fb;display:grid;place-items:center;cursor:pointer;}
.task-review-close:hover{border-color:rgba(255,82,122,.35);color:#fff;background:rgba(255,82,122,.10);}
.task-review-form textarea{min-height:104px;resize:vertical;}
.task-review-form .modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px;}
.concept-filters .filter-btn i{width:16px;text-align:center;color:#8feaff;margin-right:6px;}
.concept-filters .filter-btn.active i{color:#ffe2a0;}

/* v218: clear action status info for claim limits and locked tasks */
.task-status-info{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid rgba(255,179,0,.24);
  border-radius:13px;
  background:rgba(255,179,0,.07);
  color:#ffe4a8;
  font-size:12px;
  line-height:1.4;
  font-weight:800;
}
.task-status-info i{
  margin-top:2px;
  color:#ffca55;
  flex:0 0 auto;
}
.task-status-info span{min-width:0;}
.task-status-info.picker-status{margin:8px 0 10px;}

/* v219: FLOXi group picker rebuilt + visible claim status */
.task-claim-overview{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid rgba(56,201,255,.18);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(56,201,255,.085),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.task-claim-overview.locked{
  border-color:rgba(255,210,77,.28);
  background:linear-gradient(135deg,rgba(255,179,0,.12),rgba(255,255,255,.025));
}
.task-claim-overview-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:13px;
  color:#8ee9ff;
  background:rgba(56,201,255,.10);
  border:1px solid rgba(56,201,255,.18);
}
.task-claim-overview.locked .task-claim-overview-icon{
  color:#ffe2a0;
  background:rgba(255,179,0,.12);
  border-color:rgba(255,179,0,.22);
}
.task-claim-overview-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.task-claim-overview-copy b{
  color:#f3f8ff;
  font-size:13px;
}
.task-claim-overview-copy span{
  color:#9fb0ca;
  font-size:12px;
  line-height:1.35;
}
.task-claim-overview-count{
  margin-left:auto;
  min-width:74px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  border-radius:999px;
  border:1px solid rgba(128,239,168,.20);
  background:rgba(128,239,168,.075);
  color:#b9ffd0;
}
.task-claim-overview.locked .task-claim-overview-count{
  border-color:rgba(255,179,0,.24);
  background:rgba(255,179,0,.10);
  color:#ffe2a0;
}
.task-claim-overview-count b{
  font-size:15px;
  font-weight:950;
}
.task-claim-overview-count span{
  color:inherit;
  opacity:.75;
  font-size:12px;
  font-weight:800;
}
.task-group-picker-dialog .flox-dialog-icon i,
.task-group-picker-dialog .modal-close i{
  pointer-events:none;
}
.task-group-picker-dialog .flox-dialog-copy p{
  max-width:560px;
}
.group-picker-claim-state{
  display:flex;
  align-items:center;
  gap:9px;
}
.group-picker-claim-state i{
  color:#8ee9ff;
}
.group-picker-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.group-picker-all,
.group-picker-id{
  min-height:44px;
  border-radius:13px;
  border:1px solid rgba(255,179,0,.28);
  background:rgba(255,179,0,.12);
  color:#ffe4a6;
  font-weight:950;
  cursor:pointer;
  transition:.16s ease;
}
.group-picker-all{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:14px;
}
.group-picker-all span{
  opacity:.82;
}
.group-picker-id{
  font-size:15px;
}
.group-picker-all:hover,
.group-picker-id:hover{
  transform:translateY(-1px);
  border-color:rgba(56,201,255,.35);
  background:rgba(56,201,255,.10);
  color:#eaf7ff;
}
.group-picker-all:disabled,
.group-picker-id:disabled{
  cursor:not-allowed;
  opacity:.45;
  transform:none;
}
@media(max-width:640px){
  .task-claim-overview{align-items:flex-start;flex-wrap:wrap;}
  .task-claim-overview-count{margin-left:50px;}
  .group-picker-grid{grid-template-columns:1fr;}
}


/* v220: group picker click/close spacing polish */
.task-group-picker-dialog .modal-close{
  top:18px;
  right:18px;
}
.task-group-picker-dialog .flox-dialog-actions .btn,
.task-group-picker-dialog .group-picker-all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.task-group-picker-dialog .flox-dialog-actions{
  gap:12px;
}
.task-group-picker-dialog .flox-dialog-top{
  padding-right:52px;
}

/* v224: assign task to player */
.task-assign-banner{
  display:flex;
  align-items:center;
  gap:11px;
  border:1px solid rgba(255,179,0,.22);
  background:linear-gradient(180deg,rgba(255,179,0,.11),rgba(255,179,0,.045));
  color:#f4f8ff;
  border-radius:15px;
  padding:11px 12px;
  margin-bottom:2px;
}
.task-assign-banner>i{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(255,179,0,.12);color:#ffd777;flex:0 0 auto}.task-assign-banner b{display:block;font-size:13px}.task-assign-banner span{display:block;color:#aebad0;font-size:12px;margin-top:2px}.task-assign-modal{max-width:620px}.task-assign-results{display:grid;gap:7px;max-height:240px;overflow:auto;margin:8px 0 10px}.task-assign-member{display:flex;align-items:center;gap:10px;width:100%;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:13px;color:#edf5ff;text-align:left;padding:9px 10px;cursor:pointer}.task-assign-member:hover{border-color:rgba(255,179,0,.35);background:rgba(255,179,0,.07)}.task-assign-member>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(56,201,255,.09);color:#9ee9ff;flex:0 0 auto}.task-assign-member b{display:block;font-size:13px;color:#f6f9ff}.task-assign-member small{display:block;color:#8d9ab2;font-size:11px;margin-top:2px}.task-assign-empty{display:flex;align-items:center;gap:8px;border:1px dashed rgba(255,255,255,.1);border-radius:13px;color:#9dacbf;background:rgba(255,255,255,.025);font-size:12px;padding:10px}.task-toggle-row{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:13px;padding:10px;color:#edf5ff;cursor:pointer}.task-toggle-row input{margin-top:3px;accent-color:#ffb300}.task-toggle-row b{display:block;font-size:13px}.task-toggle-row small{display:block;color:#9ba9bf;font-size:11px;margin-top:2px;line-height:1.35}.panel-head .actions .btn i{margin-right:7px}


/* v226: assign modal click/spacing polish */
.task-assign-modal .modal-actions .btn,
.task-review-modal .modal-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.task-assign-modal .modal-actions .btn i,
.task-review-modal .modal-actions .btn i{
  margin-right:0 !important;
}
.task-assign-modal .modal-close i,
.task-review-modal .modal-close i{
  margin-right:0 !important;
}


/* v227: assign-player search stability + avatar results */
.task-assign-member .task-assign-avatar{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  flex:0 0 auto;
  background:rgba(56,201,255,.09);
  border:1px solid rgba(255,255,255,.08);
}
.task-assign-member>i{
  flex:0 0 34px;
}

/* v249: completion lock info + task auto refresh */
.task-completion-lock-info{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
  margin:12px 0;
  border:1px solid rgba(245,158,11,.28);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(245,158,11,.12),rgba(245,158,11,.045));
  color:#dfeafc;
}
.task-completion-lock-info i{
  color:#f59e0b;
  margin-top:2px;
}
.task-completion-lock-info b{
  display:block;
  color:#fff3d7;
  font-size:13px;
  margin-bottom:3px;
}
.task-completion-lock-info span{
  display:block;
  color:#c8d5e9;
  font-size:12px;
  line-height:1.45;
}
.task-refresh-status{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 8px 6px 10px;
  border-radius:14px;
  border:1px solid rgba(56,189,248,.18);
  background:rgba(15,23,42,.42);
  color:#c8d7ee;
}
.task-refresh-status>div{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  white-space:nowrap;
}
.task-refresh-status i{color:#38bdf8;}
.task-refresh-status b{
  color:#f8fafc;
  font-variant-numeric:tabular-nums;
}
.task-refresh-status .btn{
  min-height:30px;
  padding:6px 9px;
  font-size:12px;
  gap:6px;
}
@media(max-width:900px){
  .task-refresh-status{width:100%;justify-content:space-between;}
}


/* v350: Smart task drawer click/focus fix
   The form drawer must be interactive. Keep it above the backdrop and allow controls to receive clicks. */
.task-form-backdrop{z-index:80;}
.smart-task-drawer{z-index:81;pointer-events:auto;}
.smart-task-drawer input,
.smart-task-drawer textarea,
.smart-task-drawer select,
.smart-task-drawer button,
.smart-task-drawer label,
.smart-task-drawer [data-task-category-pick],
.smart-task-drawer [data-task-item-pick]{pointer-events:auto;}


/* v351: searchable task item picker click safety */
.smart-task-drawer .task-item-picker{position:relative;z-index:6;pointer-events:auto}
.smart-task-drawer .task-item-results{position:relative;z-index:7;pointer-events:auto}
.smart-task-drawer .task-item-option{pointer-events:auto;user-select:none;touch-action:manipulation}
.smart-task-drawer .task-item-option *{pointer-events:none}


/* FLOXi v448 - task assign close button should behave and look like a real button */
.task-assign-modal .modal-close{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  height:34px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.045) !important;
  color:#dce8ff !important;
  cursor:pointer !important;
  z-index:5 !important;
  font-size:14px !important;
  line-height:1 !important;
}
.task-assign-modal .modal-close:hover{
  border-color:rgba(255,179,0,.35) !important;
  background:rgba(255,179,0,.09) !important;
  color:#ffe0a0 !important;
}
.task-assign-modal .modal-close i{pointer-events:none !important;}
