.screen{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:var(--shadow);
}

.screen-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

/* View title of the style guide: 20px, weight 600. */
.screen-head h1{
  margin:0;
  font-size:20px;
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.3;
  color:var(--text);
}

.screen-head p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:var(--fs-copy-sm);
  line-height:1.45;
}

.toolbar{
  display:flex;
  gap:10px;
  margin-bottom:16px;
  flex-wrap:wrap;
  align-items:center;
}

.filter-menu{
  position:relative;
}

.filter-trigger{
  min-width:220px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
}

.filter-trigger span{
  color:var(--muted);
  font-weight:600;
}

.filter-trigger strong{
  color:var(--text);
  font-weight:700;
  max-width:110px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.filter-trigger.active{
  border-color:rgba(204,78,0,.28);
  box-shadow:0 0 0 4px rgba(204,78,0,.08);
}

.filter-popover{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  width:280px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 40px rgba(38,38,38,.12);
  z-index:20;
}

.filter-popover-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
  font-size:var(--fs-label);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--muted);
}

.filter-options{
  max-height:240px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.filter-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  font-size:var(--fs-copy-sm);
  color:var(--text);
}

.filter-option:hover{
  background:rgba(204,78,0,.05);
}

.filter-option input{
  accent-color:var(--highlight);
  flex:0 0 auto;
}

.table-wrap{
  overflow:auto;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:12px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:var(--fs-copy-sm);
}

.cell-title{
  font-weight:500;
}

.cell-sub{
  font-size:var(--fs-copy-sm);
  color:var(--muted);
  margin-top:2px;
}

.link{
  color:var(--accent);
  font-weight:700;
}

.empty{
  text-align:center;
  color:var(--muted);
  padding:24px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.field-label{
  display:block;
  margin-bottom:6px;
  font-size:var(--fs-label);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--text);
}

.footer-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:24px;
}

.info-box{
  margin-top:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel-soft);
  color:var(--muted);
  font-size:14px;
}

.info-box.success{
  background:rgba(112,0,189,.06);
  border-color:rgba(112,0,189,.16);
  color:var(--text);
}

.config-section{
  margin-top:20px;
}

.config-section h4{
  margin:0 0 12px;
  font-size:var(--fs-label);
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
}

.config-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#fff;
  margin-bottom:12px;
}

.config-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.config-title{
  font-weight:500;
  color:var(--text);
}

.config-sub{
  margin-top:2px;
  font-size:var(--fs-copy-sm);
  color:var(--muted);
}

@media (max-width: 900px){
  .form-grid{
    grid-template-columns:1fr;
  }
}

.row-selected td{
  background: rgba(204,78,0,.06);
}

.head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ===== Matrix v2 (claridad + jerarquía) ===== */
.mx-table{
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

/* Header más potente */
.mx-head th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel-soft);
  border-bottom: 2px solid var(--line);
}

.mx-head-left{
  z-index: 3; /* por encima del resto al ser sticky */
}

/* Columna izquierda fija */
.mx-left{
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  border-right: 2px solid var(--line);
  width: 320px;
}

/* Cuando está en header */
.mx-head-left{
  background: var(--panel-soft) !important;
}

/* Cabecera por línea */
.mx-head-line{
  background: var(--panel-soft);
}

.mx-lineHead{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.mx-lineTitle{
  font-weight: 600;
  color: var(--text);
}

.mx-lineSub{
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Sección separadora */
.mx-section-row td{
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Bloque feature */
.mx-feature-title{
  font-weight: 600;
  color: var(--text);
}

.mx-feature-sub{
  margin-top:6px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.mx-id{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
}

.mx-diff-pill{
  font-size: 12px;
  font-weight: 600;
  color: #7c2d12;
  background: rgba(255,135,8,.14);
  border: 1px solid rgba(255,135,8,.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.mx-same-pill{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(107,114,128,.08);
  border: 1px solid rgba(107,114,128,.18);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Celdas como mini-cards */
.mx-cell{
  padding: 10px;
  vertical-align: top;
}

.mx-cell-box{
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

/* Celdas diferentes */
.mx-cell-diff{
  border-color: rgba(255,135,8,.45);
  box-shadow: 0 0 0 3px rgba(255,135,8,.10);
}

/* Meta dentro de celda */
.mx-cell-meta{
  margin-top: 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.mx-comment{
  font-size: 12px;
  color: var(--muted);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mx-comment-empty{
  opacity: 0; /* mantiene layout consistente */
}

/* Fila con diferencias (muy suave para no ensuciar) */
.mx-row-has-diff td{
  background: rgba(255,135,8,.03);
}

/* Ajuste: para que sticky left no se mezcle con el fondo de fila */
.mx-row-has-diff td.mx-left{
  background: #fff;
}

/* ===== Matrix v3 (Excel-like editor) ===== */
.mx-layout{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap:14px;
  margin-top:14px;
}
@media(max-width: 1100px){
  .mx-layout{ grid-template-columns: 1fr; }
  .mx-sidePanel{ order:2; }
}

.mx-summary{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.mx-kpi{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  min-width:120px;
}
.mx-kpiN{ font-size:18px; font-weight:700; line-height:1; }
.mx-kpiT{ font-size:12px; color:var(--muted); margin-top:4px; font-weight:600; }

.mx-controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel-soft);
}

.mx-search{ width: 320px; }
.mx-select{ min-width: 180px; }

.mx-chips{ display:flex; gap:8px; }
.mx-chipBtn{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  font-size:13px;
}
.mx-chipBtn.active{
  border-color: rgba(255,135,8,.35);
  background: rgba(255,135,8,.12);
}

.mx-inline{ display:flex; align-items:center; gap:8px; }
.mx-inlineLabel{ font-size:12px; color:var(--muted); font-weight:700; }

.mx-linesPicker{
  margin-top:10px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:12px;
}
.mx-linesTitle{ font-weight:700; margin-bottom:10px; }
.mx-check{
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 8px;
  border-radius:10px;
}
.mx-check:hover{ background:var(--panel-soft); }
.mx-linesActions{ margin-top:10px; display:flex; justify-content:flex-end; }

.mx-wrap{ margin-top:12px; }

/* Table tighter */
.mx-grid th, .mx-grid td{
  font-size:13px;
  padding:10px;
  vertical-align:top;
}
.mx-head th{
  background:var(--panel-soft);
  border-bottom:2px solid var(--line);
}
.mx-colFeature{ width: 340px; }
.mx-colLine{ min-width: 220px; }

.mx-lineHead{ display:flex; flex-direction:column; gap:4px; }
.mx-lineTitle{ font-weight:700; }
.mx-lineSub{ font-size:12px; color:var(--muted); font-weight:600; }

.mx-sectionRow td{
  background:#f3f4f6;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:8px 10px;
}
.mx-secBtn{
  width:100%;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  border:none;
  background:transparent;
  cursor:pointer;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.mx-secArrow{ width:16px; display:inline-block; }
.mx-secMeta{ margin-left:auto; font-size:12px; color:var(--muted); font-weight:700; }

.mx-featureCell{
  background:#fff;
}
.mx-featureTitle{ font-weight:700; }
.mx-featureSub{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:6px;
  flex-wrap:wrap;
}
.mx-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:2px 8px;
  border-radius:999px;
  background:#fff;
}
.mx-pillDiff{
  font-size:12px;
  font-weight:700;
  color:#7c2d12;
  background:rgba(255,135,8,.14);
  border:1px solid rgba(255,135,8,.25);
  padding:2px 8px;
  border-radius:999px;
}
.mx-pillSame{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  background:rgba(107,114,128,.08);
  border:1px solid rgba(107,114,128,.18);
  padding:2px 8px;
  border-radius:999px;
}
.mx-rowDiff td{ background: rgba(255,135,8,.03); }
.mx-rowDiff td.mx-featureCell{ background:#fff; }

/* Compact cell display */
.mx-dataCell{ background:#fff; }
.mx-cellVal, .mx-cellEdit{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px;
  cursor:pointer;
}
.mx-cellEdit{ cursor:default; }
.mx-valTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.mx-valText{ font-weight:600; color:var(--text); }
.mx-valFlag{ font-size:12px; color:var(--muted); font-weight:700; }

.mx-valMeta{
  margin-top:6px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.mx-mini{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(107,114,128,.18);
  background: rgba(107,114,128,.06);
  padding:2px 8px;
  border-radius:999px;
  font-weight:600;
}
.mx-mini-warn{
  border-color: rgba(245,158,11,.25);
  background: rgba(245,158,11,.10);
  color: #7c2d12;
}

.mx-inlineSelect{ width:100%; }

/* Highlighting */
.mx-cell-diff{
  border-color: rgba(255,135,8,.45);
  box-shadow: 0 0 0 3px rgba(255,135,8,.10);
}
.mx-cell-critical{
  border-left: 4px solid rgba(245,158,11,.55);
}
.mx-cell-missing{
  border-left: 4px solid rgba(239,68,68,.55);
}

/* Side panel */
.mx-sidePanel{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:14px;
  height: fit-content;
  position: sticky;
  top: 92px;
}
@media(max-width: 1100px){
  .mx-sidePanel{ position: static; }
}

.mx-side-title{ font-size:14px; font-weight:700; }
.mx-side-sub{ margin-top:4px; font-size:12px; color:var(--muted); font-weight:700; }
.mx-side-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mx-side-block{ margin-top:14px; }
.mx-side-label{ font-size:12px; color:var(--muted); font-weight:600; }
.mx-side-value{ margin-top:6px; }

.mx-chip{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
  margin-left:8px;
}
.mx-std{ border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.08); }
.mx-opt{ border-color: rgba(107,114,128,.18); background: rgba(107,114,128,.06); }
.mx-lt{  border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.10); color:#7c2d12; }
.mx-sp{  border-color: rgba(255,135,8,.30); background: rgba(255,135,8,.12); color:#7c2d12; }

.mx-side-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mx-side-empty{
  color: var(--muted);
}

/* ===== Pipeline 100% ===== */
.pipeline-toolbar-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.pipeline-pill{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-size:12px;
  font-weight:600;
}

.pipeline-pill-soft{
  color:var(--muted);
  background:var(--panel-soft);
}

.pipeline-tableWrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.pipeline-table{
  min-width:3400px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:auto;
}

.pipeline-table thead th{
  position:sticky;
  top:0;
  z-index:4;
  background:var(--panel-soft);
  border-bottom:1px solid var(--line);
  padding:14px 12px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
  white-space:normal;
}

.pipeline-countCol{
  min-width:84px;
  width:84px;
}

.pipeline-riskCol{
  min-width:108px;
  width:108px;
}

.pipeline-codeCol{
  min-width:156px;
  width:156px;
}

.pipeline-detailBtnCol,
.pipeline-openBtnCol{
  min-width:96px;
  width:96px;
}

.pipeline-table thead .pipeline-sticky{
  z-index:7;
  background:var(--panel-soft);
}

.pipeline-table tbody td{
  padding:12px;
  border-bottom:1px solid rgba(38,38,38,.08);
  background:#fff;
  vertical-align:middle;
}

.pipeline-row:hover td{
  background:rgba(204,78,0,.025);
}

.pipeline-row-expanded td{
  background:#fff9f3;
}

.pipeline-sticky{
  position:sticky;
  z-index:3;
  background:#fff;
}

.pipeline-row:hover .pipeline-sticky{
  background:#fffdfb;
}

.pipeline-row-expanded .pipeline-sticky{
  background:#fff9f3;
}

.pipeline-sticky-1{ left:0; width:140px; min-width:140px; max-width:140px; }
.pipeline-sticky-2{ left:140px; width:240px; min-width:240px; max-width:240px; }
.pipeline-sticky-3{ left:380px; width:160px; min-width:160px; max-width:160px; }
.pipeline-sticky-4{ left:540px; width:70px; min-width:70px; max-width:70px; }
.pipeline-sticky-5{ left:610px; width:80px; min-width:80px; max-width:80px; }
.pipeline-sticky-6{ left:690px; width:220px; min-width:220px; max-width:220px; }

.pipeline-sticky-divider{
  box-shadow:8px 0 14px rgba(38,38,38,.04);
}

.pipeline-table thead .pipeline-sticky-divider{
  box-shadow:8px 0 14px rgba(38,38,38,.06);
}

.pipeline-divider-col{
  border-right:1px solid rgba(38,38,38,.08);
}

.pipeline-projectCell .cell-title{
  font-weight:700;
}

.pipeline-dateCell,
.pipeline-compactCell{
  color:var(--text);
  font-weight:600;
}

.pipeline-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--panel-soft);
  border:1px solid rgba(38,38,38,.08);
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

.pipeline-count-standard{
  background:rgba(34,197,94,.08);
  border-color:rgba(34,197,94,.2);
  color:#2f6d3b;
}

.pipeline-count-optional{
  background:rgba(59,130,246,.08);
  border-color:rgba(59,130,246,.18);
  color:#1d4ed8;
}

.pipeline-count-longterm{
  background:rgba(245,158,11,.10);
  border-color:rgba(245,158,11,.24);
  color:#9a6700;
}

.pipeline-count-special{
  background:rgba(239,68,68,.08);
  border-color:rgba(239,68,68,.18);
  color:#b42318;
}

.pipeline-count-custom{
  background:rgba(112,0,189,.08);
  border-color:rgba(112,0,189,.18);
  color:#7000bd;
}

.pipeline-risk{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  border:1px solid var(--line);
}

.pipeline-risk-high{
  background:rgba(112,0,189,.10);
  border-color:rgba(112,0,189,.22);
  color:#7000bd;
}

.pipeline-risk-medium{
  background:rgba(241,107,8,.12);
  border-color:rgba(241,107,8,.22);
  color:#b45309;
}

.pipeline-risk-watch{
  background:rgba(59,130,246,.08);
  border-color:rgba(59,130,246,.18);
  color:#1d4ed8;
}

.pipeline-risk-standard{
  background:rgba(107,114,128,.06);
  border-color:rgba(107,114,128,.16);
  color:var(--muted);
}

.pipeline-codeCell{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:138px;
  padding:6px 8px;
  border-radius:10px;
  background:#fbfbfc;
  border:1px solid rgba(38,38,38,.08);
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  font-weight:700;
  color:#1f2937;
  white-space:nowrap;
}

.pipeline-actionsCell{
  text-align:right;
}

.pipeline-detailRow td{
  background:#fff9f3;
}

.pipeline-detailCell{
  padding:16px 18px;
  border-top:1px solid #f3e1d2;
}

.pipeline-detailGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.pipeline-detailCard{
  border:1px solid #f0e0d5;
  border-radius:14px;
  padding:14px;
  background:#fff;
}

.pipeline-detailTitle{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.pipeline-detailTitle-special{ color:#b45309; }
.pipeline-detailTitle-longterm{ color:#92400e; }
.pipeline-detailTitle-custom{ color:#7c3aed; }

.pipeline-detailList{
  margin-top:10px;
  display:grid;
  gap:10px;
}

.pipeline-detailItem{
  padding-bottom:10px;
  border-bottom:1px solid #f5ede7;
}

.pipeline-detailItem:last-child{
  padding-bottom:0;
  border-bottom:none;
}

.pipeline-detailName{
  font-size:13px;
  font-weight:600;
  color:var(--text);
}

.pipeline-detailValue{
  margin-top:4px;
  font-size:12px;
  color:var(--muted-mid);
}

.pipeline-detailComment{
  margin-top:4px;
  font-size:12px;
}

.pipeline-detailComment-special{ color:#a16207; }
.pipeline-detailComment-longterm{ color:#a16207; }
.pipeline-detailComment-custom{ color:#6d28d9; }

.pipeline-detailEmpty{
  font-size:12px;
  color:var(--muted-soft);
}

@media (max-width: 1100px){
  .pipeline-detailGrid{
    grid-template-columns:1fr;
  }
}

/* Projects list (filter bar of VISUAL_STYLE_GUIDE.md) ------------------------ */
.projects-page{ max-width:1440px; margin:0 auto; display:grid; gap:14px; }
.projects-page .screen-head{ margin-bottom:2px; align-items:flex-end; }

.filter-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:12px 14px;
  padding:12px 16px 14px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-panel);
}
.filter-field{ display:grid; gap:6px; min-width:0; }
.filter-field.search{ flex:1 1 260px; max-width:340px; }
.filter-label{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.filter-control{
  height:34px;
  min-width:124px;
  padding:0 10px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-control);
  background:var(--panel);
  font:inherit;
  font-size:13px;
  color:var(--text);
}
.filter-field.search .filter-control{ width:100%; }
.filter-control::placeholder{ color:var(--muted-soft); }
.filter-control:focus{ outline:none; border-color:var(--highlight); box-shadow:0 0 0 3px rgba(204,78,0,.12); }
.filter-field.is-active .filter-label{ color:var(--highlight-hover); }
.filter-field.is-active .filter-control{
  border-color:var(--highlight);
  background:var(--highlight-soft);
  color:var(--highlight-hover);
  font-weight:600;
}
.filter-control option{ background:var(--panel); color:var(--text); font-weight:400; }
.filter-end{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.filter-count{ font-size:12px; color:var(--muted); white-space:nowrap; }

.projects-table{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-panel); overflow:hidden; }
.row-link{ cursor:pointer; }
.row-link:hover td{ background:rgba(204,78,0,.05); }
.row-link:focus-visible{ outline:2px solid var(--highlight); outline-offset:-2px; }

.projects-note{ margin:0; font-size:12px; color:var(--muted); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.link-btn{ border:0; background:none; padding:0; font:inherit; color:var(--accent); font-weight:700; cursor:pointer; }
.link-btn:hover{ text-decoration:underline; }

@media (max-width: 720px){
  .filter-field{ flex:1 1 140px; }
  .filter-field.search{ flex-basis:100%; max-width:none; }
  .filter-control,
  .filter-bar .btn{ height:40px; }
  .filter-end{ width:100%; margin-left:0; justify-content:space-between; }
}
