.startup-page { max-width: 1260px; margin: 0 auto; padding: 34px 38px 60px; color: #18372f; }
.startup-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 25px 0 30px; }
.startup-heading p, .startup-card-header p { margin: 0 0 10px; color: #087b63; font-size: .64rem; font-weight: 900; letter-spacing: .14em; }
.startup-heading h1 { margin: 0 0 9px; font-size: clamp(1.7rem,3vw,2.5rem); letter-spacing: -.04em; }
.startup-heading span, .startup-card-header span { color: #71817a; font-size: .77rem; }
.startup-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.startup-summary div { padding: 17px 20px; background: #fff; border: 1px solid #e0eae5; border-radius: 12px; box-shadow: 0 8px 24px #153d2a0b; }
.startup-summary strong, .startup-summary span { display: block; }
.startup-summary strong { color: #087b63; font-size: 1.55rem; }
.startup-summary span { margin-top: 3px; color: #71817a; font-size: .68rem; }
.startup-list { display: grid; gap: 18px; }
.startup-card { overflow: hidden; background: #fff; border: 1px solid #dfe9e4; border-radius: 14px; box-shadow: 0 12px 32px #153d2a0b; }
.startup-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 15px; }
.startup-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.startup-download-button { min-height: 34px; padding: 7px 11px; color: #087b63; background: #f5faf7; border: 1px solid #cfe1d8; border-radius: 8px; font: inherit; font-size: .62rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.startup-download-button:hover { background: #e8f6ef; }
.startup-download-button:disabled { opacity: .55; cursor: wait; }
.startup-card-header h2 { margin: 0 0 7px; font-size: 1.12rem; }
.startup-status, .startup-document-status { display: inline-flex; align-items: center; padding: 5px 9px; color: #7d6a43; background: #fff8e9; border-radius: 999px; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.startup-status.active, .status-firmado { color: #087b63; background: #e8f7f0; }
.startup-progress-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin: 0 24px 16px; padding: 15px 17px; background: #f4faf7; border-radius: 10px; }
.startup-progress-copy strong, .startup-progress-copy span { display: block; }
.startup-progress-copy strong { color: #087b63; font-size: 1.3rem; }
.startup-progress-copy span { color: #71817a; font-size: .64rem; }
.startup-progress-track i { display: block; height: 8px; overflow: hidden; background: #d9e8e0; border-radius: 999px; }
.startup-progress-track b { display: block; height: 100%; background: #07875e; border-radius: inherit; }
.startup-progress-track small { display: block; margin-top: 7px; color: #71817a; font-size: .62rem; }
.startup-document-table { border-top: 1px solid #e5ede9; }
.startup-document-head, .startup-document-row { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(125px,.7fr) 120px minmax(190px,auto); gap: 14px; align-items: center; padding: 12px 24px; }
.startup-document-head { color: #7a8a82; background: #fafcfb; font-size: .57rem; font-weight: 900; letter-spacing: .08em; }
.startup-document-row { border-top: 1px solid #edf2ef; }
.startup-document-row > div:first-child, .startup-worker-detail span { min-width: 0; }
.startup-document-row strong, .startup-document-row small, .startup-worker-detail strong, .startup-worker-detail small { display: block; }
.startup-document-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; }
.startup-document-row small, .startup-worker-detail small { margin-top: 4px; color: #71817a; font-size: .61rem; }
.startup-document-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.startup-document-row > div:nth-child(2) strong { color: #355a4c; font-size: .7rem; }
.startup-document-status.status-pendiente, .status-sin-documento { color: #9b6d25; background: #fff8e9; }
.startup-document-status.status-desactivado { color: #7a8580; background: #eef2f0; }
.startup-detail-button { min-height: 31px; padding: 6px 8px; color: #396253; background: #fff; border: 1px solid #d5e2db; border-radius: 7px; font-size: .6rem; font-weight: 700; cursor: pointer; }
.startup-worker-detail { display: grid; gap: 7px; padding: 10px 24px 14px 50px; background: #fafcfb; border-top: 1px dashed #dfe9e4; }
.startup-worker-detail > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; background: #fff; border: 1px solid #e7efeb; border-radius: 7px; }
.startup-worker-detail strong { font-size: .65rem; }
.startup-worker-status { color: #9b6d25; font-size: .6rem; }
.startup-worker-status.signed { color: #087b63; }
.startup-empty { padding: 34px; text-align: center; background: #fff; border: 1px dashed #cfddd6; border-radius: 14px; color: #71817a; }
.startup-empty strong { display: block; color: #355a4c; font-size: 1rem; }
.startup-empty p { margin: 8px 0 18px; font-size: .75rem; }
.startup-empty.compact { margin: 0 24px 18px; padding: 20px; font-size: .7rem; }
.startup-empty a { display: inline-flex; text-decoration: none; }
.startup-firmantes-modal { width: min(100%, 760px); }
.startup-firmantes-mode { display: grid; gap: 6px; margin-bottom: 14px; color: #71817a; font-size: .6rem; font-weight: 900; letter-spacing: .08em; }
.startup-firmantes-mode select { min-height: 40px; padding: 8px 10px; color: #355a4c; background: #fff; border: 1px solid #d5e2db; border-radius: 8px; font: inherit; font-size: .72rem; letter-spacing: normal; }
.startup-firmantes-note { padding: 14px; color: #396253; background: #f4faf7; border: 1px solid #dfece5; border-radius: 8px; font-size: .72rem; }
.startup-firmantes-summary { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; color: #355a4c; font-size: .72rem; }
.startup-firmantes-summary small { color: #71817a; font-size: .62rem; }
.startup-firmantes-list { display: grid; gap: 7px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.startup-firmante-row { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; color: #355a4c; background: #fff; border: 1px solid #e2ece7; border-radius: 8px; cursor: pointer; }
.startup-firmante-row:hover { background: #f8fcfa; border-color: #cfe1d8; }
.startup-firmante-row.is-locked { background: #f4faf7; cursor: not-allowed; }
.startup-firmante-row input { accent-color: #07875e; }
.startup-firmante-row span { min-width: 0; }
.startup-firmante-row strong, .startup-firmante-row small { display: block; }
.startup-firmante-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; }
.startup-firmante-row small { margin-top: 3px; color: #71817a; font-size: .62rem; }
.startup-firmante-row b { color: #9b6d25; font-size: .57rem; white-space: nowrap; }
.startup-firmante-row b.signed { color: #087b63; }

@media (max-width: 760px) {
    .startup-page { padding: 24px 16px 40px; }
    .startup-heading { align-items: flex-start; flex-direction: column; }
    .startup-card-header { flex-direction: column; }
    .startup-card-actions { width: 100%; justify-content: space-between; }
    .startup-summary { grid-template-columns: 1fr; }
    .startup-progress-row { grid-template-columns: 1fr; }
    .startup-document-head { display: none; }
    .startup-document-row { grid-template-columns: 1fr auto; gap: 9px; padding: 14px 16px; }
    .startup-document-row > div:nth-child(2), .startup-document-row > span, .startup-document-row > .startup-document-actions { grid-column: 2; }
    .startup-document-row > div:nth-child(2) { grid-row: 1; }
    .startup-document-row > span { grid-row: 2; justify-self: start; }
    .startup-document-actions { grid-row: 2; }
    .startup-worker-detail { padding-left: 16px; padding-right: 16px; }
    .startup-firmantes-summary { align-items: flex-start; flex-direction: column; }
    .startup-firmante-row { grid-template-columns: 20px minmax(0,1fr); }
    .startup-firmante-row b { grid-column: 2; }
}
