:root {
  --green-900: #173f20;
  --green-700: #2f6d2b;
  --green-500: #68a832;
  --mint-100: #e8f3e5;
  --ink: #172017;
  --muted: #637064;
  --line: #dce5dc;
  --surface: #ffffff;
  --page: #f6f8f3;
  --amber: #b46b16;
  --blue: #2463a6;
  --shadow: 0 16px 44px rgba(23, 63, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.login-view {
  display: grid;
  align-content: center;
  gap: 34px;
  min-height: 100vh;
  padding: 42px clamp(18px, 5vw, 72px);
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 980px;
}

.brand-logo {
  width: 116px;
  height: 82px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 420px));
  gap: 20px;
}

.login-card,
.time-box,
.timeline,
.kanban-column,
.report-summary article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.admin-card {
  border-color: rgba(47, 109, 43, 0.32);
}

.role-badge {
  width: fit-content;
  padding: 6px 10px;
  color: var(--green-900);
  background: var(--mint-100);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 6px;
}

textarea {
  min-height: 78px;
  resize: vertical;
}

.login-card button,
.punch-actions button,
.primary-small {
  min-height: 46px;
  padding: 0 16px;
  color: white;
  background: var(--green-700);
  border-radius: 6px;
  font-weight: 800;
}

.dashboard {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 42px);
  background: rgba(246, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.topbar-brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px;
}

.topbar-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tab-button,
.ghost-button {
  min-height: 40px;
  padding: 0 13px;
  color: var(--green-900);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.tab-button.active {
  color: white;
  background: var(--green-900);
  border-color: var(--green-900);
}

.tab-panel {
  display: none;
  padding: 30px clamp(16px, 4vw, 42px) 48px;
}

.tab-panel.active {
  display: block;
}

.dashboard:has(:is(#equipamentosPanel,#intervencoesPanel).active) { display:flex; flex-direction:column; height:100dvh; }
:is(#equipamentosPanel,#intervencoesPanel).active { display:flex; flex:1; min-height:0; padding:0; }
:is(#equipamentosPanel,#intervencoesPanel) iframe { width:100%; min-height:0; border:0; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.clock {
  color: var(--green-900);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
}

.punch-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 20px;
}

.admin-ponto-note {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  margin-bottom: 20px;
  color: var(--green-900);
  background: var(--mint-100);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-ponto-note span {
  color: var(--muted);
  font-weight: 700;
}

.time-box,
.timeline {
  padding: 22px;
}

.time-box span {
  color: var(--muted);
  font-weight: 800;
}

.time-box strong {
  display: block;
  margin: 12px 0 10px;
  font-size: clamp(1.75rem, 4vw, 3.3rem);
  line-height: 1;
}

.time-box p {
  color: var(--muted);
}

.punch-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.punch-actions button:nth-child(2) {
  background: var(--amber);
}

.punch-actions button:nth-child(3) {
  background: var(--blue);
}

.punch-actions button:nth-child(4) {
  background: var(--green-900);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.timeline-header span {
  color: var(--muted);
  font-weight: 700;
}

#punchList {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

#punchList li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2ed;
}

#punchList strong {
  color: var(--green-900);
}

.ponto-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.user-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.user-password-form {
  max-width: 520px;
  margin-bottom: 20px;
}

.maintenance-card {
  max-width: 620px;
  margin-bottom: 20px;
}

.maintenance-card p {
  color: var(--muted);
  line-height: 1.45;
}

.maintenance-card span {
  color: var(--green-900);
  font-weight: 800;
}

.ponto-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ponto-form h3 {
  color: var(--green-900);
}

.ponto-form button {
  min-height: 44px;
  color: white;
  background: var(--green-700);
  border-radius: 6px;
  font-weight: 800;
}

.compact-heading {
  margin-top: 28px;
}

.kanban-board {
  display: grid;
  grid-auto-columns: minmax(280px, 320px);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-gutter: stable;
}

.kanban-column {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 14px;
}

.column-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}

.column-title-input {
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--green-900);
  background: transparent;
  border-color: transparent;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.column-title-input:focus {
  background: #fbfcfa;
  border-color: var(--line);
  outline: 2px solid rgba(104, 168, 50, 0.2);
}

.column-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
}

.icon-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--green-900);
  background: var(--mint-100);
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.icon-button.add {
  color: var(--green-900);
  background: transparent;
  border: 1px solid transparent;
  font-size: 1.45rem;
}

.icon-button.drag-handle {
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: grab;
  font-size: 1.1rem;
}

.icon-button.drag-handle:active {
  cursor: grabbing;
}

.icon-button.add:hover,
.icon-button.drag-handle:hover {
  background: var(--mint-100);
  border-color: var(--line);
}

.icon-button.danger {
  color: #8f2f20;
  background: #fae9e5;
}

.count {
  min-width: 30px;
  padding: 5px 8px;
  text-align: center;
  color: var(--green-900);
  background: var(--mint-100);
  border-radius: 999px;
  font-weight: 800;
}

.task-list {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 80px;
}

.task-card {
  padding: 13px;
  color: var(--task-text, var(--ink));
  background: var(--task-bg, #fbfcfa);
  border: 1px solid var(--line);
  border-left: 5px solid var(--task-accent, var(--green-500));
  border-radius: 8px;
  cursor: grab;
}

.task-card:active {
  cursor: grabbing;
}

.task-card input,
.task-card textarea,
.task-card select {
  cursor: text;
  user-select: text;
}

.task-card select {
  cursor: pointer;
}

.task-reference-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
}

.task-reference-row span {
  min-width: 0;
  padding: 6px 8px;
  color: var(--task-text, var(--green-900));
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(23, 32, 23, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-reference-row small {
  display: block;
  margin-bottom: 2px;
  color: var(--task-muted, var(--muted));
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.task-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.task-card strong {
  display: block;
  color: var(--task-text, var(--ink));
}

.task-card p {
  margin-bottom: 10px;
  color: var(--task-muted, var(--muted));
  font-size: 0.9rem;
  line-height: 1.45;
}

.task-card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.task-icon-button {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--task-text, var(--green-900));
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(23, 32, 23, 0.14);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: zoom-in;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 18, 12, 0.82);
}

.photo-modal img {
  max-width: min(94vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.photo-modal button {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.attachment-list {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.attachment-list strong {
  color: var(--task-text, var(--ink));
  font-size: 0.78rem;
}

.attachment-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 8px;
  color: var(--task-text, var(--green-900));
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(23, 32, 23, 0.12);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-list a span {
  padding: 3px 5px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-size: 0.66rem;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-meta span {
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--task-text, var(--green-900));
  font-size: 0.76rem;
  font-weight: 800;
}

.task-form,
.edit-task-form {
  display: none;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.task-form.open {
  display: grid;
}

.edit-task-form {
  display: grid;
  border-color: rgba(23, 32, 23, 0.16);
}

.task-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 8px;
}

.task-reference-fields {
  display: grid;
  grid-template-columns: minmax(90px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
}

.file-picker {
  gap: 6px;
}

.file-picker input {
  min-height: auto;
  padding: 9px;
  font-size: 0.82rem;
}

.photo-dropzone {
  padding: 10px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px dashed rgba(47, 109, 43, 0.42);
  border-radius: 8px;
}

.photo-dropzone.dragging {
  background: var(--mint-100);
  border-color: var(--green-700);
}

.photo-dropzone span {
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 800;
}

.task-form button,
.edit-actions button:first-child {
  min-height: 42px;
  color: white;
  background: var(--green-700);
  border-radius: 6px;
  font-weight: 800;
}

.create-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.create-actions button:last-child {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 32, 23, 0.16);
}

.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-picker label {
  display: block;
}

.color-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.color-picker span {
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.color-picker input:checked + span {
  outline: 3px solid rgba(23, 63, 32, 0.24);
  outline-offset: 2px;
}

.remove-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
}

.remove-list legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--task-text, var(--ink));
  font-size: 0.78rem;
  font-weight: 800;
}

.remove-list label {
  position: relative;
  display: grid;
  gap: 5px;
  color: var(--task-text, var(--ink));
  font-size: 0.72rem;
}

.remove-list input {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  min-height: 18px;
  accent-color: #8f2f20;
}

.remove-list img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(23, 32, 23, 0.16);
  border-radius: 6px;
}

.remove-list input:checked ~ img,
.remove-list input:checked ~ strong {
  opacity: 0.45;
}

.remove-list.files {
  grid-template-columns: 1fr;
}

.remove-list.files label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  padding: 7px 8px 7px 32px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(23, 32, 23, 0.12);
  border-radius: 6px;
}

.remove-list.files label > span {
  padding: 3px 5px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 800;
}

.remove-list.files strong {
  overflow: hidden;
  color: var(--task-text, var(--ink));
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.edit-actions button:last-child {
  grid-column: 1 / -1;
  min-height: 42px;
  color: #8f2f20;
  background: #fae9e5;
  border: 1px solid rgba(143, 47, 32, 0.24);
  border-radius: 6px;
  font-weight: 800;
}

.edit-actions button:nth-child(2) {
  min-height: 42px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 32, 23, 0.16);
  border-radius: 6px;
  font-weight: 800;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.report-summary article {
  padding: 16px;
}

.report-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.report-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--green-900);
  font-size: 1.8rem;
}

.month-picker {
  min-width: 180px;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--green-900);
  background: var(--mint-100);
  font-size: 0.8rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-weight: 600;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.table-action {
  min-height: 34px;
  padding: 0 10px;
  color: var(--green-900);
  background: var(--mint-100);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.table-action.danger {
  color: #8f2f20;
  background: #fae9e5;
  border-color: rgba(143, 47, 32, 0.24);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-edit-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
  gap: 12px;
  padding: 14px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ponto-edit-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  padding: 14px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-day-form {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(160px, 220px) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ponto-edit-form .wide-field {
  grid-column: span 2;
}

.ponto-edit-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  gap: 8px;
}

.ponto-edit-actions button {
  min-height: 42px;
  border-radius: 6px;
  font-weight: 800;
}

.ponto-edit-actions button:first-child {
  color: white;
  background: var(--green-700);
}

.ponto-edit-actions button:last-child {
  color: white;
  background: #b3261e;
  border: 1px solid #b3261e;
}

.ponto-edit-actions button:nth-child(2) {
  color: var(--green-900);
  background: white;
  border: 1px solid var(--line);
}

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

  .tabs {
    justify-content: flex-start;
  }

  .punch-layout,
  .login-grid,
  .ponto-forms,
  .user-layout,
  .report-day-form,
  .ponto-edit-form {
    grid-template-columns: 1fr;
  }

  .ponto-edit-form .wide-field {
    grid-column: auto;
  }

  .user-edit-form {
    grid-template-columns: 1fr;
  }

  .kanban-board {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .report-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .login-view {
    padding: 24px 14px;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 98px;
    height: 70px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .table-wrap {
    overflow-x: visible;
    border-radius: 6px;
  }

  table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.68rem;
  }

  th,
  td {
    padding: 7px 4px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  th {
    font-size: 0.58rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .table-action {
    min-height: 30px;
    padding: 0 6px;
    font-size: 0.68rem;
  }

  .punch-actions,
  .report-summary {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding-inline: 14px;
  }

  .kanban-board {
    grid-auto-columns: calc(100vw - 28px);
    scroll-snap-type: x proximity;
  }

  .kanban-column {
    scroll-snap-align: start;
  }

  .tab-button,
  .ghost-button {
    flex: 1 1 auto;
  }
}

#feriasPanel { max-width: 52rem; }
#vacationSummary { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 1rem 0; }
#vacationSummary > * { margin: 0; padding: .5rem .75rem; border-bottom: 1px solid var(--line); }
#vacationSummary dd { text-align: right; font-weight: 700; }
#feriasPanel h3 { margin: 1.25rem 0 .5rem; }
#feriasPanel table { min-width: 0; font-size: .9rem; }
#feriasPanel th, #feriasPanel td { padding: .6rem .75rem; }
#feriasPanel th:last-child, #feriasPanel td:nth-child(2) { width: 4rem; text-align: right; }

#reportSummary { display: block; margin-bottom: 12px; }
#reportSummary h3 { margin: 10px 0 4px; font-size: .9rem; color: var(--green-900); }
#reportSummary dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 11rem),1fr)); margin: 0; gap: 2px 14px; }
#reportSummary dl div { display:flex; justify-content:space-between; align-items:baseline; gap:6px; border-bottom:1px solid var(--line); padding:4px 0; font-size:.8rem; }
#reportSummary dd { margin:0; font-weight:700; text-align:right; }
.report-details { margin:8px 0; }
.report-details summary { cursor:pointer; font-weight:700; padding:6px 0; }
#multiplierForm { max-width:35rem; margin-bottom:12px; }
#multiplierForm table { width:100%; min-width:0; table-layout:fixed; margin-bottom:8px; }
#multiplierForm tr > :nth-child(2), #multiplierForm tr > :nth-child(3) { width:28%; }
#multiplierForm td, #multiplierForm th { padding:4px 8px; }
#multiplierForm input { min-width:0; width:100%; max-width:6rem; }
#multiplierInputs input { box-sizing:border-box; padding-inline:3px; appearance:textfield; font-variant-numeric:tabular-nums; }
#multiplierInputs input::-webkit-inner-spin-button,
#multiplierInputs input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
@media (max-width:600px) {
  #multiplierForm td, #multiplierForm th { padding-inline:3px; }
}
