/* =========================================================
   LandingClick Proyectos v1.2.0
   Adaptación Interface / LC OS2
   Reglas:
   - NO define head propio.
   - NO modifica .lc-os2-head.
   - Interface controla shell, head, tabs, cards, botones y responsive base.
   ========================================================= */

.lcproy-interface-app{
  --lcproy-orange:var(--lc-os2-orange,#ff6a00);
  --lcproy-orange-dark:var(--lc-os2-orange-dark,#e65f00);
  --lcproy-text:var(--lc-os2-text,#111827);
  --lcproy-muted:var(--lc-os2-muted,#6b7280);
  --lcproy-border:var(--lc-os2-border,#e6e8ee);
  --lcproy-soft:#fff7ed;
}

.lcproy-interface-app .lcproy-os2-content{
  width:100%;
  max-width:100%;
  min-width:0;
  padding:0 0 16px;
}

.lcproy-interface-app .lc-os2-card{
  overflow:visible!important;
}

.lcproy-interface-app label{
  display:block;
  margin-bottom:5px;
  color:var(--lcproy-muted);
  font-size:13px;
  font-weight:700;
}

.lcproy-interface-app input[type="text"],
.lcproy-interface-app input[type="search"],
.lcproy-interface-app input[type="date"],
.lcproy-interface-app select,
.lcproy-interface-app textarea{
  width:100%;
  max-width:100%;
  min-width:0;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--lcproy-border);
  background:#fff;
  color:var(--lcproy-text);
  font-size:14px;
  line-height:1.4;
  box-sizing:border-box;
  outline:none;
}

.lcproy-interface-app textarea{min-height:90px;resize:vertical;}
.lcproy-interface-app input:focus,
.lcproy-interface-app select:focus,
.lcproy-interface-app textarea:focus{
  border-color:var(--lcproy-orange);
  box-shadow:0 0 0 3px rgba(255,106,0,.10);
}

.lcproy-notice{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  color:#166534;
  border-radius:14px;
  padding:12px 14px;
  margin:16px;
  font-weight:800;
}
.lcproy-notice-error{background:#fef2f2;border-color:#fecaca;color:#991b1b;}

.lcproy-empty{
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:16px;
  padding:18px;
  color:var(--lcproy-muted);
}
.lcproy-empty.small{padding:12px;font-size:14px;margin-top:12px;}

.lcproy-list{display:grid;gap:12px;padding:0;margin:0;}
.lcproy-card{
  background:#fff;
  border:1px solid var(--lcproy-border);
  border-radius:18px;
  padding:14px;
  box-shadow:0 6px 18px rgba(17,24,39,.05);
}
.lcproy-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px;}
.lcproy-title{margin:0;font-size:1.02rem;line-height:1.25;font-weight:900;color:var(--lcproy-text);}

.lcproy-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap;}
.lcproy-badge-activo{background:#fff0e8;color:#d5641c;}
.lcproy-badge-pausado{background:#fff7db;color:#9a7400;}
.lcproy-badge-terminado{background:#eaf8ee;color:#15803d;}
.lcproy-badge-cancelado{background:#fdecec;color:#b42318;}
.lcproy-badge-neutral{background:#f3f4f6;color:#4b5563;}

.lcproy-flow-pills{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0;}
.lcproy-flow-pill{display:inline-flex;border-radius:999px;padding:6px 10px;background:var(--lcproy-soft);color:var(--lcproy-orange-dark);font-weight:800;font-size:12px;}
.lcproy-flow-pill-soft{background:#f3f4f6;color:#475569;}
.lcproy-observation,.lcproy-project-note{margin:8px 0 10px;color:#475569;font-size:14px;line-height:1.4;}

.lcproy-progress-wrap{margin:10px 0 12px;}
.lcproy-progress-wrap.compact{margin:8px 0 10px;}
.lcproy-progress-bar{width:100%;height:10px;background:#eef2f7;border-radius:999px;overflow:hidden;}
.lcproy-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--lcproy-orange),#fb923c);border-radius:999px;}
.lcproy-progress-text{font-size:12px;color:var(--lcproy-muted);margin-top:6px;font-weight:700;}

.lcproy-card-actions-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;}
.lcproy-stage-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.lcproy-stage-top h2{margin:0;font-size:2.2rem;line-height:1;color:var(--lcproy-orange-dark);}
.lcproy-os2-label{display:block;color:var(--lcproy-orange-dark);font-size:12px;letter-spacing:.06em;font-weight:900;text-transform:uppercase;margin:0 0 5px;}

.lcproy-task-inline-row{display:grid;grid-template-columns:1fr 150px auto;gap:8px;align-items:end;}
.lcproy-clean-task-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px;}
.lcproy-clean-task{background:#fff;border:1px solid #edf0f4;border-radius:14px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;}
.lcproy-clean-task.is-done{background:#f0fdf4;border-color:#bbf7d0;}
.lcproy-clean-task strong{display:block;color:var(--lcproy-text);}
.lcproy-clean-task span{display:block;color:var(--lcproy-muted);font-size:13px;margin-top:3px;}
.lcproy-task-actions-row{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;}
.lcproy-chip-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;background:#f3f4f6;color:#374151!important;text-decoration:none!important;font-weight:800;font-size:12px;}
.lcproy-chip-primary{background:var(--lcproy-orange);color:#fff!important;}

.lcproy-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))!important;}

@media(max-width:900px){
  .lcproy-task-inline-row{grid-template-columns:1fr;}
  .lcproy-card-actions-row{grid-template-columns:1fr 1fr;}
}

@media(max-width:768px){
  .lcproy-interface-app .lcproy-os2-content{padding-bottom:18px;}
  .lcproy-notice{margin:12px 10px;}
  .lcproy-card{padding:14px;border-radius:16px;}
  .lcproy-filter-form{grid-template-columns:1fr!important;}
  .lcproy-clean-task{grid-template-columns:1fr;}
  .lcproy-task-actions-row{justify-content:flex-start;}
  .lcproy-card-actions-row{grid-template-columns:1fr;}
  .lcproy-interface-app .lc-os2-btn{width:100%;}
  .lcproy-stage-top{align-items:flex-start;}
}
