@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/product/assets/inter-400.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/product/assets/inter-500.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/product/assets/inter-600.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/product/assets/inter-700.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/product/assets/inter-800.ttf") format("truetype");
}
:root {
  --ink: #192c2a;
  --muted: #60736e;
  --green: #155e4b;
  --green-dark: #104636;
  --green-light: #edf5f0;
  --line: #dae3dc;
  --paper: #f5f7f3;
  --white: #fff;
  --amber: #8b5a15;
  --amber-bg: #fff5df;
  --red: #a43e35;
  --red-bg: #fff0ed;
  --blue: #24566f;
  --radius: 13px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #89b5a5;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
small,
.muted {
  color: var(--muted);
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.6;
  background: #f3f6f3;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  max-height: 500px;
  overflow: auto;
}
.skip-link {
  position: fixed;
  top: -50px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 10px;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 7px;
}
.brand {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
}
.brand-logo {
  display: block;
  width: min(100%, 168px);
  height: auto;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #edf2ed;
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  padding: 0 10px 28px;
}
.nav-label {
  padding: 14px 13px 7px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  color: #51665f;
  background: transparent;
  border-radius: 9px;
  text-align: left;
  padding: 12px 13px;
  margin: 4px 0;
  font-size: 13px;
  font-weight: 550;
}
.nav-item:hover {
  background: #e2eae2;
}
.nav-item.active {
  color: var(--green-dark);
  background: white;
  box-shadow: 0 1px 4px #183e2110;
}
.nav-icon {
  font-size: 18px;
  line-height: 1;
  width: 22px;
  text-align: center;
}
.nav-caption {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 19px 10px 0;
}
.local-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}
.dot {
  width: 6px;
  height: 6px;
  background: #278760;
  border-radius: 50%;
  display: inline-block;
}
.sidebar-bottom p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 70px;
  padding: 0 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #ffffffb8;
  gap: 15px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 550;
}
.user-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  background: #e4ede5;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.user-name {
  font-size: 12px;
  font-weight: 600;
}
.role-label {
  font-size: 10px;
  color: var(--muted);
  display: block;
  text-transform: capitalize;
}
.main {
  padding: 35px;
  max-width: 1550px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 26px;
}
.page-heading p.description {
  margin-top: 11px;
  color: var(--muted);
  max-width: 660px;
  font-size: 13px;
}
.button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  min-height: 38px;
}
.button:hover {
  border-color: #91ad9d;
  background: #f8fbf8;
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.button.primary:hover {
  background: var(--green-dark);
}
.button.danger {
  color: var(--red);
  border-color: #e4b5ae;
  background: var(--red-bg);
}
.button.small {
  min-height: 30px;
  font-size: 11px;
  padding: 5px 10px;
}
.button.text {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.icon-button {
  border: 0;
  background: transparent;
  font-size: 25px;
  color: var(--muted);
  padding: 0 7px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.metric .label {
  color: var(--muted);
  font-size: 11px;
}
.metric .value {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 10px 0 7px;
  font-weight: 650;
}
.metric .note {
  font-size: 10px;
  color: var(--muted);
}
.metric.warning {
  background: #fffcf5;
}
.metric.warning .value {
  color: var(--amber);
}
.section-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 22px;
  overflow: auto;
}
.section-tab {
  white-space: nowrap;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 12px 1px;
  font-weight: 600;
}
.section-tab.active {
  color: var(--green);
  border-color: var(--green);
}
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.card-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.card-body {
  padding: 22px;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}
.notice {
  border: 1px solid #e8d6af;
  background: var(--amber-bg);
  color: #785c2e;
  border-radius: 9px;
  padding: 13px 16px;
  font-size: 12px;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice.info {
  color: var(--blue);
  border-color: #cbdce5;
  background: #eff6fa;
}
.notice.error {
  background: var(--red-bg);
  border-color: #eec8c0;
  color: var(--red);
}
.notice.success {
  background: var(--green-light);
  border-color: #c9dfd0;
  color: var(--green);
}
.notice strong {
  display: block;
  margin-bottom: 3px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: #f5f7f4;
  color: var(--muted);
}
.badge.good {
  background: var(--green-light);
  border-color: #d0e3d6;
  color: var(--green);
}
.badge.warn {
  background: var(--amber-bg);
  border-color: #eadbb8;
  color: var(--amber);
}
.badge.bad {
  background: var(--red-bg);
  border-color: #edccc6;
  color: var(--red);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field > label {
  font-size: 11px;
  font-weight: 650;
}
.field small {
  font-size: 10px;
  line-height: 1.45;
}
.field input,
.field select,
.field textarea,
.search {
  width: 100%;
  border: 1px solid #cbd8cf;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  padding: 9px 11px;
  font-size: 12px;
  min-height: 38px;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.field textarea.json {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  min-height: 190px;
  background: #fafcf9;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
}
.field.checkbox {
  flex-direction: row;
  align-items: flex-start;
}
.field.checkbox input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--green);
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
}
.form-footer .muted {
  margin-right: auto;
  font-size: 10px;
  max-width: 60%;
}
.form-error {
  margin-top: 15px;
}
.form-error:empty {
  display: none;
}
.upload-zone {
  border: 1px dashed #9cb7a5;
  background: #f8fbf7;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  margin: 18px 0;
}
.upload-zone input {
  font-size: 12px;
  max-width: 100%;
  margin-top: 13px;
}
.upload-zone strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}
.upload-zone p {
  font-size: 11px;
  color: var(--muted);
}
.upload-symbol {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 13px;
  font-size: 22px;
  color: var(--green);
}
.table-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.search {
  max-width: 300px;
  background: #fafcf9;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
th {
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  text-align: left;
  background: #f7f9f5;
  white-space: nowrap;
}
th,
td {
  padding: 12px 17px;
  border-bottom: 1px solid #e9eee7;
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcf9;
}
.cell-primary {
  font-weight: 600;
  max-width: 280px;
  overflow-wrap: anywhere;
}
.cell-number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table-empty {
  padding: 48px 25px;
  text-align: center;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #79958a;
  border-radius: 12px;
  height: 48px;
  width: 48px;
  font-size: 22px;
  margin-bottom: 12px;
}
.table-empty h3 {
  font-size: 15px;
}
.table-empty p {
  font-size: 12px;
  max-width: 470px;
  margin: 7px auto 16px;
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
.step-list li {
  padding: 0 0 20px 33px;
  position: relative;
  font-size: 12px;
}
.step-list li:before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  background: #edf4ee;
  color: var(--green);
  height: 23px;
  width: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.step-list li:last-child {
  padding-bottom: 0;
}
.step-list strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.step-list span {
  color: var(--muted);
  font-size: 11px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.module-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  text-align: left;
  display: block;
  width: 100%;
  color: var(--ink);
}
.module-card:hover {
  border-color: #98b2a1;
  box-shadow: 0 5px 22px #193e2410;
}
.module-card .module-number {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 18px;
  display: block;
}
.module-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.module-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 360px;
  min-height: 40px;
}
.module-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
  font-size: 11px;
  color: var(--green);
}
.audit-note {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.result-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.result-fact {
  padding: 12px 15px;
  background: #f6f9f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 120px;
}
.result-fact strong {
  display: block;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.result-fact span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: capitalize;
}
.detail-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 9px 15px;
  margin: 0;
  font-size: 12px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
details > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  padding: 9vw 7vw;
  background: #153f32;
  color: #f1f6ed;
  display: flex;
  flex-direction: column;
}
.login-story .brand-logo {
  width: min(100%, 208px);
  border-radius: 6px;
  background: white;
  padding: 0.55rem;
}
.login-story .brand small {
  color: #b7cbbb;
}
.login-story h1 {
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin-top: 95px;
}
.login-story .subtitle {
  font-size: 14px;
  color: #b9cfc1;
  max-width: 350px;
  margin-top: 24px;
}
.login-story footer {
  margin-top: auto;
  padding-top: 60px;
  font-size: 11px;
  color: #a9c5b4;
}
.login-panel {
  padding: 60px 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfcf8;
}
.login-form {
  width: 100%;
  max-width: 350px;
}
.login-form h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
}
.login-form > p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 28px;
}
.login-form .field {
  margin-bottom: 18px;
}
.login-form .button {
  width: 100%;
  margin-top: 10px;
}
.login-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.loading-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.loading-shell h1 {
  font-size: 24px;
}
.loading-shell p {
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #153f32;
  color: white;
  border-radius: 10px;
  padding: 13px 20px;
  box-shadow: 0 8px 28px #0002;
  z-index: 200;
  font-size: 12px;
  max-width: 400px;
}
.toast.error {
  background: #913b30;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  max-width: 850px;
  width: 90vw;
  max-height: 90vh;
  box-shadow: 0 25px 80px #1234;
}
dialog::backdrop {
  background: #173d324d;
}
.dialog-head {
  position: sticky;
  top: 0;
  background: white;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#dialog-body {
  padding: 25px;
  max-height: 70vh;
  overflow: auto;
}
.mobile-menu {
  display: none;
}
.pill-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.config-hint {
  font-size: 11px;
  color: var(--muted);
  padding: 11px 14px;
  background: #f6f8f3;
  border-radius: 8px;
  margin-bottom: 18px;
}
.table-caption {
  caption-side: bottom;
  text-align: left;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 10px;
}
.inline-code {
  overflow-wrap: anywhere;
}
.print-only {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .main {
    padding: 45px;
  }
  .topbar {
    padding: 0 45px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 12px;
  }
  .main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .page-heading {
    gap: 15px;
  }
  .page-heading .actions {
    max-width: 200px;
    justify-content: flex-end;
  }
  .login-story {
    padding: 55px 40px;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 40;
    width: 240px;
    box-shadow: 10px 0 50px #2343;
  }
  .sidebar.open {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 60px;
    padding: 0 17px;
  }
  .breadcrumb {
    display: none;
  }
  .main {
    padding: 24px 16px;
  }
  .page-heading {
    display: block;
  }
  .page-heading .actions {
    max-width: none;
    justify-content: flex-start;
    margin-top: 16px;
  }
  .section-tabs {
    gap: 20px;
  }
  .metric-grid {
    gap: 9px;
  }
  .metric {
    padding: 15px;
  }
  .metric .value {
    font-size: 23px;
  }
  .module-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .card-head,
  .card-body {
    padding: 17px;
  }
  .table-tools {
    padding: 13px 16px;
    flex-wrap: wrap;
  }
  .search {
    max-width: none;
  }
  .login-shell {
    display: block;
  }
  .login-story {
    padding: 30px;
  }
  .login-story h1 {
    font-size: 32px;
    margin-top: 32px;
  }
  .login-story footer,
  .login-story .subtitle {
    display: none;
  }
  .login-panel {
    padding: 35px 24px;
  }
  .user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .detail-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .detail-list dd {
    margin-bottom: 10px;
  }
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  .form-footer {
    align-items: flex-start;
  }
  .form-footer .muted {
    max-width: 50%;
  }
}
@media print {
  .sidebar,
  .topbar,
  .actions,
  .section-tabs,
  .button,
  .toast {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .main {
    padding: 0;
  }
  .card {
    break-inside: avoid;
  }
  .print-only {
    display: block;
  }
  .table-scroll {
    overflow: visible;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.block {
  display: block;
}
.record-actions {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
#config-kind {
  margin-bottom: 18px;
}
.mapping-editor table {
  min-width: 700px;
}
.mapping-editor td {
  padding: 7px;
}
.mapping-editor input,
.mapping-editor select {
  font-size: 11px;
  min-width: 90px;
}
.mapping-editor td:first-child input,
.mapping-editor td:nth-child(2) input {
  min-width: 180px;
}
.mapping-editor > .actions {
  margin-top: 10px;
}
.summary-details {
  border-top: 1px solid var(--line);
}
.summary-details > summary {
  padding: 14px 22px;
}

/* Pyramid Technoplast official website accents. Keep dark text for contrast. */
.movement-review {
  --pyramid-lime: #90bd0e;
  --pyramid-blue: #20a0ef;
  --pyramid-pale-blue: #edf7ff;
  color: #2b2b2d;
  border-top: 4px solid var(--pyramid-blue);
}
.movement-review #movement-review-title:focus-visible {
  outline: 2px solid #24566f;
  outline-offset: 3px;
}
.movement-receipt {
  border-inline-start: 4px solid var(--pyramid-lime);
  background: var(--pyramid-pale-blue);
  padding: 0.65rem 0.8rem;
  overflow-wrap: anywhere;
}
.movement-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  list-style: none;
  gap: 0.75rem;
  padding: 0;
}
.movement-sources li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
}
.movement-sources li .button {
  margin-block: 0.2rem;
}

.executive-close .close-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin: 0;
}
.executive-close .close-facts > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
}
.executive-close dt {
  font-weight: 650;
}
.executive-close dd {
  margin: 0.25rem 0 0;
}
.executive-close .close-next {
  background: #edf7ff;
  border-inline-start: 4px solid #90bd0e;
  padding: 0.75rem;
}

.converter {
  max-width: 960px;
  margin: 0 auto;
}
.converter-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.converter-source + .converter-source {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.converter-source h3 {
  margin-top: 0;
}
.converter-upload {
  margin-top: 20px;
}
.converter-download {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.converter-download details {
  margin-top: 20px;
}
.converter-advanced {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.converter-advanced summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 640px) {
  .converter-sources {
    grid-template-columns: 1fr;
  }
  .converter-source + .converter-source {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
}

/* Keep source names and native iPhone date controls within the converter cards. */
.converter,
.converter .card,
.converter .card-body,
.converter .field,
.converter-source {
  min-width: 0;
  max-width: 100%;
}
.converter-filename,
.converter details p {
  overflow-wrap: anywhere;
}
.converter .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.converter input,
.converter select {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.converter input[type="date"] {
  display: block;
  width: 100%;
  min-inline-size: 0;
  appearance: none;
}
.converter-review {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
}
.converter-review input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0;
}
.converter-review span {
  min-width: 0;
}
#converter-range {
  margin: 16px 0 24px;
}
@media (max-width: 600px) {
  .converter .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .converter .button {
    white-space: normal;
  }
}

.skip-link:not(:focus) {
  clip-path: inset(100%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
