@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
/* ===========================================================
   Wedding OS · estilos base (marca Estela Aguilera)
   =========================================================== */
:root {
  --color-blush:    #F6DADF;
  --color-rose:     #D1B2A6;
  --color-charcoal: #3B404B;
  --color-ink:      #111111;
  --color-line:     #E5E5E5;
  --color-bg:       #FFFFFF;
  --color-muted:    #8A8F98;

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --shadow: 0 10px 40px rgba(59, 64, 75, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink); font-weight: 700; }

a { color: var(--color-charcoal); text-decoration: none; }

/* ---------- Botones ---------- */
.wos-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}
.wos-btn:active { transform: translateY(1px); }
.wos-btn--primary { background: var(--color-charcoal); color: #fff; }
.wos-btn--primary:hover { background: #2c313b; }
.wos-btn--ghost { background: transparent; color: var(--color-charcoal); border: 1px solid var(--color-line); }
.wos-btn--ghost:hover { background: #fafafa; }
.wos-btn--block { width: 100%; }

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--color-blush) 0%, rgba(246,218,223,0) 60%),
    var(--color-bg);
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 34px;
}
.login-brand { text-align: center; margin-bottom: 26px; }
.login-brand .eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--color-rose);
  margin: 0 0 6px;
}
.login-brand h1 { margin: 0; font-size: 26px; }
.login-brand .sub { color: var(--color-muted); font-size: 13px; margin-top: 6px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--color-muted); margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 12px 14px;
  font-family: var(--font-body); font-size: 15px;
  border: 1px solid var(--color-line); border-radius: 10px;
  outline: none; transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: var(--color-rose); box-shadow: 0 0 0 3px rgba(209,178,166,.25); }

.login-error {
  background: #fdecec; color: #b23b3b;
  border: 1px solid #f5c6c6; border-radius: 10px;
  padding: 10px 12px; font-size: 13px; margin-bottom: 16px; display: none;
}
.login-error.show { display: block; }

/* ---------- Header tipo página web (§13) ---------- */
.wos-header {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}
.wos-header .logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-ink); }
.wos-nav { display: flex; align-items: center; gap: 22px; margin-left: 6px; }
.wos-nav a { font-size: 14px; font-weight: 500; color: var(--color-charcoal); }
.wos-nav a:hover { color: var(--color-rose); }
.wos-header .spacer { flex: 1; }
.wos-account { display: flex; align-items: center; gap: 14px; }
.wos-account .who { font-size: 14px; color: var(--color-muted); }

/* dropdown de The Weddings (hover) */
.wos-drop { position: relative; display: inline-block; }
.wos-drop > a { display: inline-block; }
.wos-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; max-height: 340px; overflow-y: auto;
  background: #fff; border: 1px solid var(--color-line);
  border-radius: 10px; box-shadow: var(--shadow); padding: 8px; z-index: 40;
  display: none;
}
.wos-drop:hover .wos-drop-menu, .wos-drop.open .wos-drop-menu { display: block; }
.wos-drop-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--color-charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wos-drop-menu a:hover { background: #faf6f7; color: var(--color-rose); }
.wos-drop-menu .wos-drop-all { border-top: 1px solid var(--color-line); margin-top: 4px; padding-top: 10px; color: var(--color-rose); font-weight: 600; }
.wos-drop-menu .wos-drop-empty { display: block; padding: 8px 12px; color: var(--color-muted); font-size: 13px; }

/* búsqueda rápida en el header */
.wos-search { position: relative; margin-right: 10px; }
.wos-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--color-muted); font-size: 12px; pointer-events: none; }
.wos-search input { border: 1px solid var(--color-line); border-radius: 999px; padding: 8px 14px 8px 32px; font-family: var(--font-body); font-size: 13px; width: 175px; outline: none; background: #fff; transition: width .2s ease, border-color .2s ease; }
.wos-search input:focus { border-color: var(--color-rose); width: 225px; }
.wos-search-results { position: absolute; top: 112%; right: 0; min-width: 240px; background: #fff; border: 1px solid var(--color-line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; z-index: 45; display: none; }
.wos-search-results a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--color-charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wos-search-results a:hover { background: #faf6f7; color: var(--color-rose); }
.wos-search-results .wos-drop-empty { display: block; padding: 8px 12px; color: var(--color-muted); font-size: 13px; }
@media (max-width: 720px) { .wos-search { display: none; } }

/* ---------- Dashboard (Home Base) ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 26px 0 34px; }
.kpi {
  border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px;
  background: #fff; position: relative; overflow: hidden;
}
.kpi::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--color-rose); }
.kpi .num { font-family: var(--font-display); font-size: 34px; color: var(--color-ink); line-height: 1; }
.kpi .lbl { font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .6px; margin-top: 8px; }
.kpi.alert::before { background: #c0392b; }
.kpi.alert .num { color: #c0392b; }
.kpi.warn::before { background: #d99a2b; }
.kpi.clickable { cursor: pointer; transition: box-shadow .2s ease; }
.kpi.clickable:hover { box-shadow: var(--shadow); }

.dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.dash-card { border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: 22px; }
.dash-card .head { padding: 16px 20px; border-bottom: 1px solid var(--color-line); display: flex; align-items: center; justify-content: space-between; }
.dash-card .head h3 { margin: 0; font-size: 17px; }
.dash-card .head a { font-size: 13px; color: var(--color-rose); }
.dash-card .body { padding: 6px 20px 14px; }
.dash-empty { color: var(--color-muted); font-size: 14px; padding: 16px 0; }

.dash-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f4f4f4; cursor: pointer; }
.dash-item:last-child { border-bottom: none; }
.dash-item:hover .di-title { color: var(--color-rose); }
.di-main { flex: 1; min-width: 0; }
.di-title { font-size: 14px; color: var(--color-charcoal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.di-sub { font-size: 12px; color: var(--color-muted); margin-top: 2px; }
.di-sub .overdue { color: #c0392b; font-weight: 600; }
.di-right { text-align: right; white-space: nowrap; font-size: 12px; color: var(--color-muted); }

.mini-wed { padding: 14px 0; border-bottom: 1px solid #f4f4f4; cursor: pointer; }
.mini-wed:last-child { border-bottom: none; }
.mini-wed .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mini-wed .name { font-size: 15px; color: var(--color-ink); font-weight: 600; }
.mini-wed:hover .name { color: var(--color-rose); }
.mini-wed .count { font-size: 12px; color: var(--color-rose); font-weight: 600; white-space: nowrap; }
.mini-wed .sub { font-size: 12px; color: var(--color-muted); margin: 3px 0 8px; }

.feed-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f4f4f4; }
.feed-item:last-child { border-bottom: none; }
.feed-ic { width: 30px; height: 30px; border-radius: 50%; background: #faf6f7; display: grid; place-items: center; font-size: 14px; flex: 0 0 30px; }
.feed-txt { font-size: 13px; color: var(--color-charcoal); }
.feed-txt .when { color: var(--color-muted); font-size: 12px; }

@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr; } }

/* ---------- Form builder ---------- */
.field-row { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f2f2f2; }
.field-row:last-child { border-bottom: none; }
.field-move { display: flex; flex-direction: column; gap: 4px; }
.field-move .icon-btn { width: 26px; height: 26px; }

/* ---------- Form renderer (fill) ---------- */
.form-render { max-width: 640px; }
.form-section { font-family: var(--font-display); font-size: 18px; color: var(--color-ink); margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--color-line); }
.form-section:first-child { margin-top: 4px; }
.form-q { margin-bottom: 16px; }
.form-q > label { display: block; font-size: 13px; font-weight: 600; color: var(--color-charcoal); margin-bottom: 6px; }
.form-q .req { color: #c0392b; }
.form-q input[type=text], .form-q input[type=email], .form-q input[type=tel], .form-q input[type=number], .form-q input[type=date], .form-q textarea, .form-q select {
  width: 100%; padding: 11px 13px; font-family: var(--font-body); font-size: 15px; border: 1px solid var(--color-line); border-radius: 10px; outline: none; background: #fff;
}
.form-q textarea { min-height: 80px; resize: vertical; }
.form-q input:focus, .form-q textarea:focus, .form-q select:focus { border-color: var(--color-rose); box-shadow: 0 0 0 3px rgba(209,178,166,.25); }
.form-opt { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0; cursor: pointer; }
.form-opt input { width: auto; }

/* ---------- Moodboard ---------- */
.mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.mood-item { position: relative; border: 1px solid var(--color-line); border-radius: 12px; overflow: hidden; background: #faf6f7; }
.mood-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; cursor: zoom-in; }
.mood-cap { padding: 6px 8px; }
.mood-cap input { width: 100%; border: none; outline: none; font-family: var(--font-body); font-size: 12px; color: var(--color-charcoal); background: transparent; }
.mood-del { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.9); border: none; border-radius: 6px; width: 26px; height: 26px; cursor: pointer; font-size: 12px; }
.mood-del:hover { color: #c0392b; }
.mood-by { position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 600; background: rgba(255,255,255,.85); border-radius: 999px; padding: 1px 8px; color: var(--color-rose); }

.palette-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); position: relative; cursor: default; }
.swatch .x { position: absolute; top: -6px; right: -6px; background: #fff; border: 1px solid var(--color-line); border-radius: 50%; width: 18px; height: 18px; font-size: 11px; line-height: 16px; text-align: center; cursor: pointer; color: var(--color-muted); }
.swatch .hex { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--color-muted); white-space: nowrap; }

.lightbox { position: fixed; inset: 0; background: rgba(17,17,17,.88); display: grid; place-items: center; z-index: 100; padding: 20px; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.lightbox .close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }

/* ---------- Calendario ---------- */
.cal-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cal-toolbar h2 { margin: 0; font-size: 26px; min-width: 240px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 36px; height: 36px; border: 1px solid var(--color-line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 16px; color: var(--color-charcoal); }
.cal-nav button:hover { border-color: var(--color-rose); }
.cal-legend { margin-left: auto; display: flex; gap: 16px; font-size: 12px; color: var(--color-muted); align-items: center; }
.cal-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-dow { background: #faf6f7; padding: 10px 8px; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--color-muted); text-align: center; border-bottom: 1px solid var(--color-line); }
.cal-cell { min-height: 104px; border-right: 1px solid #f1eeef; border-bottom: 1px solid #f1eeef; padding: 6px 7px; cursor: pointer; position: relative; transition: background .12s ease; }
.cal-cell:hover { background: #fbf9fa; }
.cal-cell.other { background: #fcfbfb; }
.cal-cell.other .cal-daynum { color: #cfc9cb; }
.cal-daynum { font-size: 13px; color: var(--color-charcoal); font-weight: 600; }
.cal-cell.today .cal-daynum { background: var(--color-charcoal); color: #fff; border-radius: 50%; width: 24px; height: 24px; display: inline-grid; place-items: center; }
.cal-wed { margin-top: 5px; background: var(--color-blush); color: #7a4a55; border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-tasks { margin-top: 5px; font-size: 11px; color: var(--color-rose); font-weight: 600; }
.cal-tasks .overdue { color: #c0392b; }

.cal-day-list .dash-item { cursor: pointer; }
.cal-empty { color: var(--color-muted); padding: 10px 0; }

@media (max-width: 700px) { .cal-cell { min-height: 74px; } .cal-wed, .cal-tasks { font-size: 10px; } .cal-toolbar h2 { min-width: 0; font-size: 20px; } }

/* ---------- Contenido ---------- */
.wos-main { max-width: 1100px; margin: 0 auto; padding: 40px 28px; }
.wos-hello .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 11px;
  color: var(--color-rose); margin: 0 0 6px;
}
.wos-hello h2 { margin: 0 0 8px; font-size: 30px; }
.wos-hello p { color: var(--color-muted); margin: 0; }

.wos-placeholder {
  margin-top: 34px; padding: 34px;
  border: 1px dashed var(--color-line); border-radius: var(--radius);
  background: #fcfbfb; color: var(--color-muted); text-align: center;
}

/* ---------- Encabezado de sección ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 11px; color: var(--color-rose); margin: 0 0 6px; }
.section-head h2 { margin: 0; font-size: 30px; }

/* ---------- Grid de tarjetas de boda ---------- */
.wedding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.wedding-card {
  border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 22px; background: #fff; transition: box-shadow .2s ease, transform .05s ease;
  cursor: pointer; position: relative;
}
.wedding-card:hover { box-shadow: var(--shadow); }
.wedding-card h3 { margin: 0 0 4px; font-size: 20px; }
.wedding-card .meta { font-size: 13px; color: var(--color-muted); margin-bottom: 14px; }
.wedding-card .meta .dot { margin: 0 7px; color: var(--color-line); }

.badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .4px;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.badge--en_planificacion { background: #eef3f8; color: #3b6ea5; }
.badge--contratado       { background: #fff3e6; color: #b7791f; }
.badge--prospecto        { background: #f2f0f4; color: #7a6f86; }
.badge--en_ejecucion     { background: #e9f7ef; color: #2f8a55; }
.badge--cerrado          { background: #eeeeee; color: #666; }
.badge--archivado        { background: #eeeeee; color: #999; }

/* progreso */
.progress { height: 8px; background: var(--color-line); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.progress > span { display: block; height: 100%; background: var(--color-rose); border-radius: 999px; transition: width .3s ease; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-muted); margin-top: 7px; }

.card-actions { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; opacity: 0; transition: opacity .15s ease; }
.wedding-card:hover .card-actions { opacity: 1; }
.icon-btn {
  border: 1px solid var(--color-line); background: #fff; border-radius: 8px;
  width: 30px; height: 30px; cursor: pointer; font-size: 13px; color: var(--color-muted);
  display: grid; place-items: center;
}
.icon-btn:hover { color: var(--color-charcoal); border-color: var(--color-rose); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(59,64,75,.45);
  display: grid; place-items: center; padding: 20px; z-index: 50;
}
.modal {
  width: 100%; max-width: 560px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto;
}
.modal-head { padding: 22px 26px; border-bottom: 1px solid var(--color-line); }
.modal-head h3 { margin: 0; font-size: 22px; }
.modal-body { padding: 22px 26px; }
.modal-foot { padding: 18px 26px; border-top: 1px solid var(--color-line); display: flex; justify-content: flex-end; gap: 10px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  border: 1px solid var(--color-line); border-radius: 10px; outline: none; background: #fff;
}
.field select:focus, .field textarea:focus { border-color: var(--color-rose); box-shadow: 0 0 0 3px rgba(209,178,166,.25); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }
.empty-state h3 { color: var(--color-charcoal); margin-bottom: 8px; }

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Roadmap ---------- */
.back-link { font-size: 13px; color: var(--color-muted); display: inline-block; margin-bottom: 10px; }
.back-link:hover { color: var(--color-rose); }

.roadmap-head { margin-bottom: 22px; }
.roadmap-head h2 { margin: 0 0 6px; font-size: 30px; }
.roadmap-head .sub { color: var(--color-muted); font-size: 14px; }
.roadmap-progress { display: flex; align-items: center; gap: 14px; margin-top: 16px; max-width: 520px; }
.roadmap-progress .progress { flex: 1; margin-top: 0; }
.roadmap-progress .num { font-size: 14px; color: var(--color-charcoal); font-weight: 600; white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; align-items: center; }
.filter-chip {
  border: 1px solid var(--color-line); background: #fff; color: var(--color-charcoal);
  border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 500; cursor: pointer;
}
.filter-chip.active { background: var(--color-charcoal); color: #fff; border-color: var(--color-charcoal); }
.filters .sep { flex: 1; }

.phase { margin-bottom: 30px; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.phase-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: #faf6f7; border-bottom: 1px solid var(--color-line);
}
.phase-head h3 { margin: 0; font-size: 17px; }
.phase-head .count { font-size: 13px; color: var(--color-muted); }
.phase-head .mini-progress { width: 120px; height: 6px; background: var(--color-line); border-radius: 999px; overflow: hidden; margin-left: auto; }
.phase-head .mini-progress > span { display: block; height: 100%; background: var(--color-rose); }

.task-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 20px;
  border-bottom: 1px solid #f2f2f2;
}
.task-row:last-child { border-bottom: none; }
.task-row.done .task-name { text-decoration: line-through; color: var(--color-muted); }
.task-row.blocked { background: #fcfbfa; }
.task-row.blocked .task-name { color: var(--color-muted); }
.task-check.locked { border-color: #e0d3c9; background: #f7f0ea; cursor: not-allowed; font-size: 11px; }
.deps-hint { color: var(--color-muted); }
.deps-hint.blocked { color: #9a6a12; font-weight: 600; }

.task-check {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--color-line);
  cursor: pointer; flex-shrink: 0; display: grid; place-items: center; background: #fff;
  transition: all .15s ease;
}
.task-check.checked { background: var(--color-rose); border-color: var(--color-rose); color: #fff; }
.task-check:hover { border-color: var(--color-rose); }

.task-main { flex: 1; min-width: 0; }
.task-name { font-size: 15px; }
.task-sub { font-size: 12px; color: var(--color-muted); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.task-sub .overdue { color: #c0392b; font-weight: 600; }

.rbadge { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.rbadge--planner { background: #eef3f8; color: #3b6ea5; }
.rbadge--couple  { background: #fdeef1; color: #b5657f; }
.tag-opt { font-size: 11px; color: var(--color-muted); border: 1px solid var(--color-line); border-radius: 999px; padding: 1px 8px; }

.task-status {
  font-size: 13px; padding: 6px 10px; border: 1px solid var(--color-line);
  border-radius: 8px; background: #fff; font-family: var(--font-body); color: var(--color-charcoal);
}
.task-del { background: none; border: none; color: var(--color-line); cursor: pointer; font-size: 15px; }
.task-del:hover { color: #c0392b; }

.ev-indicator {
  border: 1px solid var(--color-line); background: #fff; border-radius: 8px;
  padding: 5px 9px; font-size: 12px; cursor: pointer; color: var(--color-muted); white-space: nowrap;
}
.ev-indicator:hover { border-color: var(--color-rose); color: var(--color-charcoal); }
.ev-indicator.pending { background: #fff7e6; border-color: #f0d9a8; color: #9a6a12; font-weight: 600; }
.ev-indicator.empty { border-color: transparent; opacity: .35; }
.task-row:hover .ev-indicator.empty { opacity: 1; border-color: var(--color-line); }

.ev-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; flex-wrap: wrap; }
.ev-item:last-child { border-bottom: none; }
.ev-file { font-size: 14px; color: var(--color-charcoal); text-decoration: none; word-break: break-all; }
.ev-file:hover { color: var(--color-rose); text-decoration: underline; }
.ev-badge { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.evb-en_revision { background: #fff7e6; color: #9a6a12; }
.evb-aprobada { background: #e9f7ef; color: #2f8a55; }
.evb-rechazada { background: #fdecec; color: #c0392b; }
.evb-subida { background: #eef3f8; color: #3b6ea5; }
.ev-item .wos-btn { padding: 6px 12px; font-size: 12px; }

@media (max-width: 640px) {
  .task-status { display: none; }
  .roadmap-progress { max-width: none; }
}
