/* Consistent spacing for Java page cards, forms and tables. */
.app-content {
  max-width: 1600px;
  padding: 36px clamp(20px, 3vw, 44px) 56px;
}
.app-content .panel {
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 16px;
}
.app-content .panel > h2 {
  margin: 0 0 20px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
}
.app-content .panel > p { margin-bottom: 20px; line-height: 1.6; }
.app-content .panel > :last-child { margin-bottom: 0; }
.app-content .panel-heading {
  padding: 0 0 18px;
  margin-bottom: 20px;
  align-items: center;
  gap: 16px;
}
.app-content .panel-heading h2 { line-height: 1.35; }
.app-content .java-panel { margin-top: 24px; }
.app-content .java-tabs { gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.app-content .java-tabs:empty { display: none; }

/* Search controls sit inside the card instead of touching its top border. */
.app-content .java-search {
  display: grid;
  grid-template-columns: minmax(160px, 360px) auto 1fr;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 24px;
}
.app-content .java-search > label {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  color: var(--sb-muted);
}
.app-content .java-search > input { width: 100%; min-width: 0; max-width: none; }
.app-content .java-search > button { min-height: 44px; }
.app-content .java-search > a { justify-self: start; font-size: 13px; }

/* Wide tables scroll within their card. IDs and codes keep readable widths. */
.app-content .java-table-wrap {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--sb-border);
  border-radius: 12px;
  overflow: auto;
  overscroll-behavior-x: contain;
}
.app-content .java-table-wrap table { min-width: 800px; margin: 0; }
.app-content .java-table-wrap[data-columns="4"] table,
.app-content .java-table-wrap[data-columns="3"] table { min-width: 560px; }
.app-content .java-table-wrap[data-columns="10"] table,
.app-content .java-table-wrap[data-columns="11"] table { min-width: 1200px; }
.app-content .java-table-wrap th {
  padding: 15px 18px;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.5;
}
.app-content .java-table-wrap td {
  padding: 16px 18px;
  min-width: 96px;
  max-width: 360px;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.6;
}
.app-content .java-table-wrap[data-id-column="true"] td:first-child {
  min-width: 62px;
  width: 62px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.app-content .java-table-wrap[data-id-column="true"] td:nth-child(2) {
  min-width: 116px;
  white-space: nowrap;
}
.app-content .java-table-wrap tbody tr:last-child td { border-bottom: 0; }
.app-content .java-pagination { padding: 22px 0 0; gap: 24px; margin: 0; }
.app-content .java-table-wrap .java-empty { padding: 32px 20px; }

/* Forms use the available space evenly and preserve comfortable control sizes. */
.app-content .java-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  align-items: end;
  gap: 20px;
}
.app-content .java-filters label,
.app-content .java-form label { min-width: 0; gap: 9px; line-height: 1.5; }
.app-content .java-filters input,
.app-content .java-filters select,
.app-content .java-form input:not([type="checkbox"]),
.app-content .java-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}
.app-content .java-filters .java-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  max-width: none;
  min-height: 44px;
}
.app-content .java-check input { flex: 0 0 18px; width: 18px; min-height: 18px; margin-top: 2px; }
.app-content .java-filters > button { min-height: 44px; }
.app-content .java-form { gap: 22px; }
.app-content .java-edit { max-width: none; padding: 0; }
.app-content .panel:has(> .java-edit) { max-width: 1040px; margin-inline: auto; }
.app-content .java-report-form > button { grid-column: 1 / -1; justify-self: start; min-width: 180px; }
.app-content .java-details { margin: 24px 0 0; row-gap: 16px; line-height: 1.6; }
.app-content details.panel > summary { cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.5; }
.app-content details.panel[open] > summary { margin-bottom: 22px; }
.app-content .java-chart { margin-bottom: 20px; }
.app-content .java-plant-grid { gap: 20px; }
.app-content .metric-card { border-radius: 16px; }
.admin-api-card, .admin-api-activity { border-radius: 16px; }

@media (max-width: 760px) {
  .app-content { padding: 26px 16px 40px; }
  .app-content .panel { padding: 18px; border-radius: 14px; }
  .app-content .panel > h2 { font-size: 19px; margin-bottom: 18px; }
  .app-content .panel-heading { align-items: flex-start; flex-wrap: wrap; }
  .app-content .java-search { grid-template-columns: 1fr auto; }
  .app-content .java-search > input { grid-column: 1 / -1; }
  .app-content .java-search > button { grid-column: 1; justify-self: start; }
  .app-content .java-search > a { grid-column: 2; }
  .app-content .java-filters { grid-template-columns: 1fr; gap: 18px; }
  .app-content .java-details { grid-template-columns: 100px minmax(0, 1fr); }
  .app-content .java-details dd { overflow-wrap: anywhere; }
  .app-content .java-report-form > button { justify-self: stretch; min-width: 0; }
}
.api-test-popup[open] {
  position: fixed;
  inset: 0;
  z-index: 1100;
  margin: auto;
  width: min(660px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #c5d4bc;
  border-radius: 18px;
  background: #f6f8f3;
  color: #193e33;
  box-shadow: 0 0 0 100vmax #103d3073, 0 20px 70px #103d3033;
}
.api-test-popup h2 { margin: 12px 0; font-size: 25px; }
.api-test-popup p { overflow-wrap: anywhere; }
.api-test-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 22px 0 14px; }
.api-test-metrics > div { padding: 13px; border: 1px solid #d7e3cf; border-radius: 10px; background: #fff; min-width: 0; }
.api-test-metrics span { display: block; font-size: 11px; color: #67806f; margin-bottom: 6px; }
.api-test-metrics strong { font-size: 17px; overflow-wrap: anywhere; }
.api-test-type { font-size: 11px; color: #67806f; margin: 10px 0; }
.api-test-response { margin-top: 16px; border: 1px solid #d7e3cf; border-radius: 10px; padding: 13px; background: #fff; }
.api-test-response summary { cursor: pointer; font-size: 14px; font-weight: 650; color: #245b40; }
.api-test-response pre { margin: 14px 0 0; padding: 15px; max-height: 280px; overflow: auto; border-radius: 7px; background: #112e26; color: #e2f1df; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-test-response code { color: inherit; }
@media (max-width: 480px) { .api-test-metrics { grid-template-columns: minmax(0,1fr); } }
.api-test-popup form { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.plant-api-list { min-width: 0; display: grid; gap: 5px; }
.app-content .plant-api-dataset-button { width: 100%; padding: 5px 7px; border: 1px solid #d7e4d1; border-radius: 6px; background: #f1f7eb; color: #356347; font-size: 11px; line-height: 1.4; font-weight: 600; white-space: normal; text-align: left; cursor: pointer; }
.app-content .plant-api-dataset-button:hover { background: #e1efd5; }
.app-content .plant-inline-api-test { margin: 0; }
.app-content .plant-inline-api-test button { min-height: 32px; padding: 7px 10px; border: 1px solid #c9dbca; border-radius: 7px; background: #edf5e5; color: #245b40; font-size: 11px; white-space: nowrap; }
.app-content .plant-api-count-button { padding: 8px 12px; border: 1px solid #c9dbca; border-radius: 8px; background: #edf5e5; color: #245b40; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plant-api-popup:popover-open { position: fixed; inset: 0; margin: auto; width: min(800px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 0; border: 1px solid #dce5df; border-radius: 20px; background: #fff; color: #193e33; box-shadow: 0 28px 100px #103d3040; white-space: normal; }
.plant-api-popup::backdrop { background: #123d3059; backdrop-filter: blur(3px); }
.plant-api-popup-header { display: flex; align-items: center; gap: 16px; padding: 26px 28px; background: #f2f7ef; border-bottom: 1px solid #dce7d8; }
.plant-api-popup-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #dceccf; color: #245b40; font-size: 26px; }
.plant-api-eyebrow { margin: 0 0 5px; font-size: 10px; letter-spacing: .15em; font-weight: 700; color: #6a826e; }
.plant-api-popup h2 { margin: 0; font-size: 24px; font-weight: 700; }
.plant-api-popup-name { margin: 7px 0 0; color: #617669; font-size: 13px; }
.app-content .plant-api-popup-dismiss { margin-left: auto; align-self: flex-start; min-height: 32px; width: 32px; padding: 0; border: 1px solid #d6e2d2; border-radius: 50%; background: #fff; color: #486653; font-size: 23px; line-height: 1; cursor: pointer; }
.plant-api-popup-toolbar { padding: 20px 28px 16px; }
.plant-api-total { display: inline-block; padding: 6px 11px; border-radius: 30px; color: #356347; background: #edf5e7; font-size: 11px; font-weight: 700; }
.plant-api-popup .plant-api-heading { margin: 0 28px; padding: 10px 14px; border: 0; background: #f5f7f3; border-radius: 8px 8px 0 0; }
.plant-api-popup :is(.plant-api-heading, .plant-api-item) { grid-template-columns: 135px minmax(0,1fr) 82px; gap: 16px; }
.plant-api-popup .plant-api-scroll { max-height: min(420px, 45dvh); margin: 0 28px; padding: 0; }
.plant-api-popup .plant-api-item { padding: 15px 14px; }
.plant-api-popup .plant-api-item:nth-child(even) { background: #fafcf8; }
.plant-api-popup .plant-api-item strong { font-size: 12px; }
.plant-api-popup .plant-api-item span { font-size: 12px; color: #4d6258; }
.plant-api-popup-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; margin-top: 14px; border-top: 1px solid #e5ebe1; background: #fcfdfa; }
.plant-api-popup-footer > span { color: #7a8b7c; font-size: 11px; }
.app-content .plant-api-popup-footer button { min-width: 96px; min-height: 40px; border: 0; border-radius: 9px; background: #184f3c; color: #fff; padding: 10px 20px; font-size: 13px; font-weight: 700; }
@media (max-width: 600px) {
  .plant-api-popup-header { padding: 20px; gap: 12px; }
  .plant-api-popup-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 22px; }
  .plant-api-popup h2 { font-size: 21px; }
  .plant-api-popup-toolbar { padding: 16px 20px; }
  .plant-api-popup .plant-api-heading { display: none; }
  .plant-api-popup .plant-api-scroll { margin: 0 20px; }
  .plant-api-popup .plant-api-item { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 14px 0; }
  .plant-api-popup-footer { padding: 16px 20px; }
}
.app-content .java-table-wrap[data-plant-table="true"] table { width: 100%; min-width: 960px; table-layout: fixed; }
.app-content .java-table-wrap[data-plant-table="true"] :is(th, td) { padding-left: 8px; padding-right: 8px; min-width: 0; overflow-wrap: anywhere; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(1) { width: 5%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(2) { width: 7%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(3) { width: 14%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(4) { width: 10%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(5) { width: 10%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(6) { width: 38%; }
.app-content .java-table-wrap[data-plant-table="true"] th:nth-child(7) { width: 16%; }
.java-table-wrap[data-plant-table="true"] .plant-row-actions { min-width: 0; }
.plant-api-heading, .plant-api-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
.plant-api-heading { padding: 0 12px 10px 0; border-bottom: 1px solid #cad8cb; color: #6a7b70; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plant-api-scroll { max-height: 220px; overflow-y: auto; padding-right: 10px; overscroll-behavior: contain; scrollbar-width: thin; }
.plant-api-scroll:focus-visible { outline: 2px solid #7ba987; outline-offset: 4px; }
.plant-api-item { align-items: start; min-width: 0; padding: 12px 0; border-bottom: 1px solid #e4eae1; }
.plant-api-item:last-child { border-bottom: 0; }
.plant-api-item strong { font-size: 11px; line-height: 1.6; color: #315c45; font-weight: 600; }
.plant-api-item span { overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 11px; line-height: 1.6; color: #526a5d; }
.plant-api-empty { color: #6a7b70; }
.plant-status { display: inline-flex; border-radius: 30px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.plant-active { background: #e0efce; color: #205637; }
.plant-inactive { background: #fde5e3; color: #a12424; }
.plant-row-actions { display: grid; gap: 10px; min-width: 165px; }
.plant-row-actions > a { text-align: center; }
.app-content .plant-test-form { display: grid; gap: 8px; margin: 0; }
.app-content .plant-test-form select { width: 100%; min-width: 0; font-size: 12px; padding: 9px; }
.app-content .plant-row-actions :is(button, .secondary-action) { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.app-content .plant-status-toggle { margin: 0; }
.app-content .plant-status-toggle button { border: 1px solid transparent; min-height: 38px; padding: 8px 14px; cursor: pointer; box-shadow: none; }
.app-content .plant-status-toggle .plant-active { background: #e0efce; color: #205637; }
.app-content .plant-status-toggle .plant-inactive { background: #fde5e3; color: #a12424; }
.app-content .plant-status-toggle button:hover { filter: brightness(.95); }
.app-content .plant-status-toggle button:focus-visible { outline: 3px solid #7ba987; outline-offset: 3px; }
.app-content .plant-delete-button { display: block; width: 100%; padding: 9px 14px; border: 1px solid #edc5c2; border-radius: 9px; background: #fff1ef; color: #a12424; font-size: 12px; font-weight: 700; }
.app-content .plant-delete-button:hover { background: #fbdedb; }
.plant-delete-popup:popover-open { position: fixed; inset: 0; margin: auto; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 28px; border: 1px solid #dce5df; border-radius: 18px; background: #fff; color: #193e33; box-shadow: 0 20px 70px #103d3033; white-space: normal; text-align: left; }
.plant-delete-popup::backdrop { background: #103d3073; }
.plant-delete-popup h2 { margin: 0 0 16px; font-size: 24px; }
.plant-delete-popup p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.plant-delete-name { display: block; overflow-wrap: anywhere; }
.app-content .plant-delete-confirmation { display: flex; justify-content: flex-end; gap: 12px; margin: 24px 0 0; }
.app-content .plant-delete-confirmation button { width: auto; min-width: 96px; }
.schedule-row-actions { display: grid; gap: 10px; min-width: 100px; }
.schedule-row-actions > a { text-align: center; padding: 6px; }
.plant-status-feedback { display: block; min-height: 14px; margin-top: 4px; font-size: 10px; line-height: 1.4; color: #64786c; }
.plant-status-feedback.has-error { color: #a12424; }
.app-content .plant-status-toggle button:disabled { opacity: .6; cursor: progress; }
.profile-page { max-width: 1160px; margin-inline: auto; }
.profile-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 24px; align-items: start; }
.profile-summary { text-align: center; }
.profile-avatar { display: grid; place-items: center; width: 76px; height: 76px; margin: 4px auto 18px; border-radius: 50%; background: #e0efce; color: #245b40; font-size: 30px; font-weight: 700; }
.app-content .profile-summary h2 { margin: 0 0 8px; font-size: 21px; overflow-wrap: anywhere; }
.profile-email { color: #718172; font-size: 12px; overflow-wrap: anywhere; }
.profile-role { display: inline-block; padding: 5px 12px; border-radius: 30px; background: #edf5e5; color: #356347; font-size: 11px; font-weight: 700; margin: 4px 0 24px; }
.profile-summary dl { text-align: left; margin: 0; padding-top: 20px; border-top: 1px solid #e1e8dc; }
.profile-summary dt { color: #7a8b7c; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.profile-summary dd { margin: 0 0 18px; font-size: 13px; overflow-wrap: anywhere; }
.profile-edit-form { margin: 0; }
.profile-form-heading { margin-bottom: 26px; }
.profile-form-heading h2 { margin: 0 0 7px; font-size: 21px; }
.profile-form-heading p, .profile-form-note { color: #718172; font-size: 12px; line-height: 1.6; }
.profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 20px; }
.profile-fields label { display: grid; gap: 8px; font-size: 12px; font-weight: 650; color: #486451; }
.app-content .profile-fields input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #cfddc9; border-radius: 9px; padding: 11px 12px; background: #fcfdfa; font-size: 14px; color: #193e33; }
.profile-fields input:focus { outline: 3px solid #8ab27a26; border-color: #7ba987; }
.profile-fields input[readonly] { background: #f0f3ed; color: #6a7b70; }
.profile-form-note { margin: 18px 0 0; }
.profile-form-footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 22px; margin-top: 26px; border-top: 1px solid #e1e8dc; }
.profile-error { padding: 12px 14px; background: #fff0ed; color: #a12424; border-radius: 8px; font-size: 13px; }
@media (max-width: 1050px) { .profile-layout { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .profile-fields { grid-template-columns: minmax(0,1fr); } .profile-form-footer { flex-wrap: wrap; } }

.plant-api-table-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.plant-table-api-test { margin: 0; }
.plant-api-name-result { display: grid; gap: 4px; min-width: 0; }
.plant-api-controls { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.app-content .plant-api-controls a, .app-content .plant-api-controls button { min-height: 30px; padding: 5px 8px; font-size: 11px; border-radius: 6px; }
.api-last-result { display: inline-block; justify-self: start; padding: 3px 7px; border-radius: 16px; font-size: 10px; font-weight: 650; line-height: 1.3; }
.api-test-success { background: #e2efd4; color: #245b40; }
.api-test-failed { background: #ffebea; color: #ae2929; }
.api-test-untested { background: #edf0ea; color: #6a776b; }
.api-history-note { color: #67806f; font-size: 13px; margin-bottom: 20px; }
.api-retest-form { margin: 0; }
.api-failed-retest { margin-top: 10px; }
.app-content .api-failed-retest button { min-height: 34px; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
.api-retest-progress { width: 100%; height: 14px; margin: 0 0 24px; accent-color: #245b40; }
.anomaly-navigation { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.anomaly-report { margin-bottom: 24px; }
.anomaly-report-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.anomaly-report-heading h2 { margin: 6px 0 10px; }
.anomaly-report-heading p, .anomaly-note { color: #67806f; font-size: 13px; line-height: 1.6; }
.anomaly-result { border-radius: 24px; padding: 9px 15px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.anomaly-clear { background: #e2efd4; color: #245b40; }
.anomaly-warning { background: #fff0de; color: #8b5015; }
.anomaly-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 20px; }
.anomaly-summary > div { padding: 19px; background: #f1f6ec; border: 1px solid #dae5d3; border-radius: 12px; }
.anomaly-summary span { display: block; color: #67806f; font-size: 12px; margin-bottom: 8px; }
.anomaly-summary strong { font-size: 28px; color: #193e33; }
.anomaly-notice { padding: 14px; background: #fff5e8; color: #8b5015; border-radius: 10px; font-size: 13px; }
@media (max-width: 600px) { .anomaly-report-heading { flex-direction: column; } .anomaly-summary { gap: 7px; } .anomaly-summary > div { padding: 12px; } }
.api-loading { width: min(400px, calc(100vw - 40px)); padding: 36px 28px; border: 1px solid #d7e4d1; border-radius: 18px; background: #fff; color: #193e33; text-align: center; box-shadow: 0 24px 80px #123d3260; }
.api-loading::backdrop { background: #123d3270; backdrop-filter: blur(5px); }
.api-loading h2 { margin: 18px 0 10px; font-size: 23px; }
.api-loading p { margin: 0; color: #667d6e; font-size: 14px; line-height: 1.6; }
.api-loading-spinner { display: inline-block; width: 38px; height: 38px; border: 4px solid #e3eddc; border-top-color: #19513e; border-radius: 50%; animation: api-loading-spin .8s linear infinite; }
@keyframes api-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .api-loading-spinner { animation: none; } }
.app-content .plant-table-api-test button { min-height: 34px; padding: 5px 12px; border-radius: 7px; font-size: 12px; white-space: nowrap; }

.analytics-available-data { grid-column: 1 / -1; margin: 0; }
.app-content .java-filters > .analytics-filter-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin: 0;
  gap: 12px;
}
.analytics-filter-actions > :is(button, a) { flex: 0 0 auto; white-space: nowrap; }

.analytics-empty-help { padding: 28px 0; }
.analytics-empty-help h3 { font-size: 20px; margin: 0 0 12px; }
.analytics-empty-help p { max-width: 780px; margin-bottom: 20px; }
.app-content .java-pagination { gap: 12px; align-items: center; flex-wrap: wrap; }
.app-content .java-pagination > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 42px; padding: 10px 18px; border: 1px solid #cbdccf;
  border-radius: 10px; background: #fff; color: #19513e;
  font-size: 14px; font-weight: 650; text-decoration: none;
  box-shadow: 0 2px 5px #123d2f06; transition: background .15s, border-color .15s;
}
.app-content .java-pagination > a:hover { background: #edf5e5; border-color: #94b682; color: #123d2f; }
.app-content .java-pagination > a:focus-visible { outline: 3px solid #9fbc77; outline-offset: 3px; }
.app-content .java-pagination > a[rel="next"] { background: #19513e; border-color: #19513e; color: #fff; }
.app-content .java-pagination > a[rel="next"]:hover { background: #123d2f; }
.app-content .java-pagination > a[rel="prev"]::before { content: "←"; }
.app-content .java-pagination > a[rel="next"]::after { content: "→"; }
.app-content .java-pagination > span { padding: 8px 13px; border-radius: 8px; background: #f0f5eb; color: #526b5b; font-size: 13px; font-weight: 600; }

.analytics-download { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.analytics-download > a { min-height: 40px; padding: 9px 15px; font-size: 13px; }
