.jornada-layout { width: 100%; padding: 0; }
.gjf-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 22px 28px; color: #f8fafc; background: #163c47; border-bottom: 4px solid #e5a934; }
.gjf-header span { display: block; color: #9fd7d1; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.gjf-header h1 { margin: 4px 0 0; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: 0; }
.gjf-header-status { text-align: right; }
.gjf-header-status strong { display: block; margin-top: 5px; font-size: .9rem; }
.gjf-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 70vh; background: #eef2f3; }
.gjf-nav { display: flex; flex-direction: column; padding: 14px 10px; background: #fff; border-right: 1px solid #d6dee0; max-height: calc(100vh - 145px); overflow-y: auto; }
.gjf-nav button { width: 100%; min-height: 38px; padding: 8px 11px; border: 0; border-left: 3px solid transparent; background: transparent; color: #34464b; text-align: left; font: inherit; font-size: .84rem; cursor: pointer; }
.gjf-nav button:hover { background: #edf6f5; }
.gjf-nav button.active { color: #145d58; border-left-color: #16847b; background: #e4f3f1; font-weight: 800; }
.gjf-workspace { min-width: 0; padding: 24px 28px 40px; }
.gjf-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gjf-panel-heading span { color: #64777c; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.gjf-panel-heading h2 { margin: 3px 0 0; color: #17353d; font-size: 1.45rem; letter-spacing: 0; }
.gjf-view-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.gjf-view-modes .active { border-color: #16847b; background: #e4f3f1; color: #145d58; }
.gjf-kpis { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 10px; }
.gjf-kpis article { min-height: 100px; padding: 16px; background: #fff; border: 1px solid #d6dee0; border-radius: 6px; }
.gjf-kpis article:nth-child(2) { border-top: 3px solid #16847b; }
.gjf-kpis article:nth-child(3) { border-top: 3px solid #c1483e; }
.gjf-kpis article:nth-child(4) { border-top: 3px solid #e5a934; }
.gjf-kpis span { display: block; min-height: 34px; color: #617277; font-size: .78rem; }
.gjf-kpis strong { display: block; color: #17353d; font-size: 1.5rem; }
.gjf-kpis-compact { margin: 12px 0 16px; grid-template-columns: repeat(3, minmax(120px, 1fr)); }
.gjf-kpis-compact article { min-height: 84px; }
.gjf-band { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 18px 20px; background: #fff; border: 1px solid #d6dee0; }
.gjf-band h3 { margin: 0; font-size: 1rem; }
.gjf-band div { display: flex; flex-wrap: wrap; gap: 8px; }
.gjf-info-card { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #d7e4e5; border-left: 4px solid #16847b; border-radius: 6px; background: linear-gradient(135deg, #fff, #f4fbfa 55%, #edf7fb); }
.gjf-info-card strong { display: block; margin-bottom: 4px; color: #163c47; font-size: .92rem; }
.gjf-info-card p { margin: 0; color: #587076; line-height: 1.5; }
.gjf-inline-support { display: grid; gap: 10px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #d7e4e5; border-radius: 6px; background: #fff; }
.gjf-inline-support strong { color: #163c47; font-size: .9rem; }
.gjf-form { margin-bottom: 18px; padding: 18px; background: #fff; border: 1px solid #d6dee0; border-radius: 6px; }
.gjf-form-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; }
.gjf-form label, .gjf-punch-form label { display: grid; gap: 5px; color: #40545a; font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.gjf-field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.gjf-inline-action { font-size: .72rem; white-space: nowrap; }
.gjf-form input, .gjf-form select, .gjf-punch-form select { width: 100%; min-height: 39px; border: 1px solid #b8c6c9; border-radius: 4px; background: #fff; color: #20353b; }
.gjf-inline { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.gjf-inline label { min-width: 160px; flex: 1; }
.gjf-inline .message { width: 100%; }
.gjf-table-wrap { overflow: auto; border: 1px solid #d6dee0; background: #fff; }
.gjf-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.gjf-table th { padding: 10px 12px; color: #51676d; background: #f5f7f7; border-bottom: 1px solid #ccd6d8; text-align: left; white-space: nowrap; }
.gjf-table td { padding: 10px 12px; color: #273d43; border-bottom: 1px solid #e3e8e9; white-space: normal; }
.gjf-table tr:last-child td { border-bottom: 0; }
.gjf-empty { padding: 28px; color: #687b80; background: #fff; border: 1px solid #d6dee0; text-align: center; }
.gjf-empty.error, #gjfMessage.error { color: #a22f29; }
.gjf-code { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; background: #edf4f5; color: #40545a; font-size: .72rem; font-weight: 800; }
.gjf-punch-quick { max-width: 980px; margin: 0 auto 18px; }
.gjf-punch-form { margin-bottom: 18px; padding: 24px; background: #fff; border: 1px solid #d6dee0; }
.gjf-punch-simple { display: grid; gap: 18px; padding: 26px; border-radius: 8px; box-shadow: 0 14px 38px rgba(22, 60, 71, .08); }
.gjf-punch-form > label { max-width: 520px; }
.gjf-punch-simple > label { max-width: none; }
.gjf-punch-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 4px; }
.gjf-punch-hero span { display: block; color: #16847b; font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.gjf-punch-hero strong { display: block; margin-top: 4px; color: #163c47; font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.05; }
.gjf-punch-hero small { display: block; margin-top: 8px; color: #60757b; font-size: .88rem; line-height: 1.45; }
.gjf-segmented { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 1px; margin-top: 18px; background: #b9c9cc; border: 1px solid #b9c9cc; }
.gjf-segmented button { min-height: 54px; border: 0; background: #f8fbfb; color: #165d58; font-weight: 800; cursor: pointer; }
.gjf-segmented button:hover { background: #dff0ee; }
.gjf-punch-actions { gap: 10px; margin-top: 0; border: 0; background: transparent; }
.gjf-punch-actions button { min-height: 88px; border: 1px solid #bed1d4; border-radius: 8px; background: linear-gradient(135deg, #f7fbfb, #edf7f5); color: #0f5c56; font-size: 1.05rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85); }
.gjf-punch-actions button:first-child { background: linear-gradient(135deg, #16847b, #0f9a8d); border-color: #16847b; color: #fff; }
.gjf-punch-actions button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(22, 60, 71, .12); }
.gjf-point-tools { margin-top: 18px; border: 1px solid #d6dee0; border-radius: 8px; background: #fff; }
.gjf-point-tools summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 18px; color: #163c47; cursor: pointer; list-style: none; }
.gjf-point-tools summary::-webkit-details-marker { display: none; }
.gjf-point-tools summary::after { content: "+"; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #edf6f5; color: #145d58; font-size: 1.2rem; font-weight: 900; flex: 0 0 auto; }
.gjf-point-tools[open] summary::after { content: "-"; }
.gjf-point-tools summary span { display: block; font-weight: 900; }
.gjf-point-tools summary small { display: block; margin-top: 3px; color: #60757b; font-size: .78rem; line-height: 1.35; }
.gjf-point-tools-body { padding: 0 18px 18px; }
.gjf-link { border: 0; padding: 0; background: transparent; color: #116d66; font-weight: 800; cursor: pointer; }
.gjf-danger-link { color: #a2332d; }
.gjf-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 150px; }
.gjf-status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid #c7d7d9; border-radius: 999px; background: #f3faf9; color: #185c58; font-size: .73rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.gjf-map-link { color: #116d66; font-weight: 800; text-decoration: none; }
.gjf-map-link:hover { text-decoration: underline; }
.gjf-geo-card { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px; border: 1px solid #d2e0e2; border-radius: 6px; background: linear-gradient(135deg, #f8fbfb, #eef8f6); }
.gjf-geo-card div { display: grid; gap: 2px; min-width: 220px; flex: 1; }
.gjf-geo-card strong { color: #163c47; font-size: .86rem; }
.gjf-geo-card span { color: #60757b; font-size: .78rem; }
.gjf-report { display: grid; gap: 14px; margin-top: 18px; }
.gjf-report-cover { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid #d6dee0; border-radius: 6px; background: linear-gradient(135deg, #fff, #eff9f6 55%, #edf7fb); }
.gjf-report-cover span { color: #16847b; font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.gjf-report-cover h3 { margin: 4px 0; color: #163c47; font-size: 1.18rem; letter-spacing: 0; }
.gjf-report-cover p { margin: 0; color: #587076; line-height: 1.45; }
.gjf-report-cover-note { display: grid; gap: 4px; max-width: 240px; text-align: right; }
.gjf-report-cover-note strong { color: #163c47; font-size: .84rem; }
.gjf-report-cover-note small { color: #60757b; font-size: .76rem; line-height: 1.45; }
.gjf-report-kpis { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; }
.gjf-report-kpis article { min-height: 82px; padding: 12px; border: 1px solid #d6dee0; border-radius: 6px; background: #fff; }
.gjf-report-kpis span { display: block; min-height: 28px; color: #617277; font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.gjf-report-kpis strong { display: block; color: #163c47; font-size: 1.35rem; }
.gjf-report-person { overflow: hidden; border: 1px solid #d6dee0; border-radius: 6px; background: #fff; }
.gjf-report-person header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 14px; background: #163c47; color: #fff; }
.gjf-report-person header > div { min-width: 150px; flex: 1; }
.gjf-report-person header > div:first-child { flex: 1.5; }
.gjf-report-person header span { display: block; color: #9fd7d1; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.gjf-report-person header strong { display: block; margin-top: 3px; font-size: .95rem; }
.gjf-print-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.gjf-print-table th { padding: 9px 10px; background: #f0f6f5; border-bottom: 1px solid #cfdbdd; color: #40545a; text-align: left; white-space: nowrap; }
.gjf-print-table td { padding: 9px 10px; border-bottom: 1px solid #e3e8e9; color: #273d43; vertical-align: top; }
.gjf-signatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; padding: 24px 18px 16px; }
.gjf-signatures span { border-top: 1px solid #86979b; padding-top: 7px; color: #52686e; text-align: center; font-size: .78rem; }
.gjf-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gjf-two-columns > section { min-width: 0; }
.gjf-catalog-quick-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.gjf-catalog-shortcut { white-space: nowrap; }
.gjf-catalog-section { scroll-margin-top: 24px; transition: box-shadow .2s ease, border-color .2s ease; }
.gjf-catalog-section.gjf-section-focus { box-shadow: 0 0 0 2px rgba(22, 132, 123, .18); border-radius: 6px; }
.gjf-two-columns section > h3 { margin: 0; padding: 14px 16px; background: #263f47; color: #fff; font-size: .9rem; }
.gjf-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gjf-help-grid section { padding: 18px; background: #fff; border-left: 4px solid #16847b; }
.gjf-help-grid section:nth-child(even) { border-left-color: #e5a934; }
.gjf-help-grid h3 { margin: 0 0 8px; color: #17353d; font-size: 1rem; }
.gjf-help-grid p { margin: 0; color: #586b70; line-height: 1.55; }
:root[data-theme="dark"] .gjf-shell { background: #0f1c22; }
:root[data-theme="dark"] .gjf-workspace { background: #0f1c22; }
:root[data-theme="dark"] .gjf-punch-form,
:root[data-theme="dark"] .gjf-point-tools,
:root[data-theme="dark"] .gjf-form,
:root[data-theme="dark"] .gjf-table-wrap,
:root[data-theme="dark"] .gjf-empty {
  border-color: rgba(155, 185, 190, .22);
  background: #13262d;
  color: #ecf4f3;
}
:root[data-theme="dark"] .gjf-punch-hero strong,
:root[data-theme="dark"] .gjf-point-tools summary,
:root[data-theme="dark"] .gjf-geo-card strong,
:root[data-theme="dark"] .gjf-info-card strong,
:root[data-theme="dark"] .gjf-panel-heading h2 {
  color: #ecf4f3;
}
:root[data-theme="dark"] .gjf-punch-hero small,
:root[data-theme="dark"] .gjf-point-tools summary small,
:root[data-theme="dark"] .gjf-geo-card span,
:root[data-theme="dark"] .gjf-info-card p,
:root[data-theme="dark"] .gjf-form label,
:root[data-theme="dark"] .gjf-punch-form label {
  color: #a8bdc2;
}
:root[data-theme="dark"] .gjf-geo-card,
:root[data-theme="dark"] .gjf-info-card {
  border-color: rgba(155, 185, 190, .2);
  background: #102129;
}
:root[data-theme="dark"] .gjf-punch-actions button {
  border-color: rgba(159, 215, 209, .28);
  background: #18323a;
  color: #9fd7d1;
}
:root[data-theme="dark"] .gjf-punch-actions button:first-child {
  border-color: #24a39a;
  background: linear-gradient(135deg, #17877f, #139e91);
  color: #fff;
}
:root[data-theme="dark"] .gjf-table th,
:root[data-theme="dark"] .gjf-print-table th {
  border-color: rgba(155, 185, 190, .18);
  background: #18323a;
  color: #bfd0d3;
}
:root[data-theme="dark"] .gjf-table td,
:root[data-theme="dark"] .gjf-print-table td {
  border-color: rgba(155, 185, 190, .14);
  color: #e2eeee;
}
:root[data-theme="dark"] .gjf-table tr:hover td {
  background: rgba(159, 215, 209, .06);
}
:root[data-theme="dark"] .gjf-status,
:root[data-theme="dark"] .gjf-code {
  border-color: rgba(159, 215, 209, .26);
  background: #18323a;
  color: #9fd7d1;
}
:root[data-theme="dark"] .gjf-form input,
:root[data-theme="dark"] .gjf-form select,
:root[data-theme="dark"] .gjf-punch-form select {
  border-color: rgba(155, 185, 190, .28);
  background: #0f1c22;
  color: #ecf4f3;
}
:root[data-theme="dark"] .gjf-point-tools summary::after {
  background: #18323a;
  color: #9fd7d1;
}
@media (max-width: 1100px) { .gjf-kpis { grid-template-columns: repeat(3, 1fr); } .gjf-form-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .gjf-header { align-items: flex-start; padding: 18px; } .gjf-header-status { display: none; }
  .gjf-panel-heading { align-items: flex-start; flex-direction: column; }
  .gjf-shell { display: block; } .gjf-nav { position: sticky; top: 0; z-index: 4; flex-direction: row; max-height: none; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #d6dee0; }
  .gjf-nav button { width: auto; min-width: max-content; border-left: 0; border-bottom: 3px solid transparent; }
  .gjf-nav button.active { border-bottom-color: #16847b; } .gjf-workspace { padding: 18px 12px 32px; }
  .gjf-kpis, .gjf-kpis-compact, .gjf-form-grid, .gjf-two-columns, .gjf-help-grid { grid-template-columns: 1fr; }
  .gjf-report-kpis, .gjf-signatures { grid-template-columns: 1fr; }
  .gjf-report-person header { flex-direction: column; }
  .gjf-segmented { grid-template-columns: repeat(2, 1fr); } .gjf-band { align-items: flex-start; flex-direction: column; }
  .gjf-punch-simple { padding: 18px; }
  .gjf-punch-actions { grid-template-columns: 1fr; }
  .gjf-punch-actions button { min-height: 68px; }
  .gjf-point-tools summary { align-items: flex-start; }
}
