* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 18px/1.45 var(--bode-font-body);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--bode-font-heading);
  letter-spacing: -0.7px;
}
h1 {
  font-size: 43px;
  line-height: 1.13;
  max-width: 900px;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
}
h3 {
  font-size: 21px;
}
p {
  margin-top: 10px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
a {
  color: inherit;
}
.private-bar {
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  gap: 20px;
  font-size: 13px;
  min-height: 36px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 34px;
  background: white;
  border-bottom: 1px solid var(--border);
  min-height: 103px;
  gap: 30px;
}
.header img {
  height: 64px;
  width: auto;
  display: block;
}
.header nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 23px;
  font-size: 15px;
  flex-wrap: wrap;
}
.header nav a {
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header nav a:hover {
  text-decoration: underline;
}
.role-label {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--background);
}
.link-button {
  background: none;
  border: 0;
  text-decoration: underline;
  min-height: 44px;
  padding: 4px;
  color: var(--ink);
}
#app {
  max-width: 1350px;
  margin: auto;
  padding: 32px 36px 45px;
  min-height: calc(100vh - 220px);
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 19px;
  max-width: 800px;
  margin-top: 13px;
}
.button {
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background var(--bode-motion);
}
.primary {
  background: var(--primary);
  color: #fff;
}
.primary:hover {
  background: var(--primary-hover);
}
.secondary {
  background: #fff;
  border-color: var(--border);
}
.secondary:hover {
  background: var(--bode-blue-soft);
}
.dark {
  background: var(--ink);
  color: #fff;
}
.launchers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.launcher {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 38% 62%;
  text-align: left;
  color: var(--ink);
  min-height: 310px;
  box-shadow: var(--bode-shadow);
}
.launcher-visual {
  background: #e6ebf4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--primary);
}
.launcher-visual svg {
  width: 120%;
  max-width: 300px;
  flex-shrink: 0;
}
.launcher > div:last-child {
  padding: 30px 27px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.launcher > div > span {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.launcher h2 {
  font-size: 32px;
  letter-spacing: -1px;
}
.launcher p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 17px;
}
.launcher b {
  font-size: 16px;
  margin-top: auto;
  padding-top: 23px;
  color: var(--primary);
}
.launcher.return .launcher-visual {
  background: #e8edf1;
}
.search-launcher {
  margin-top: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px 30px;
  text-align: left;
  min-height: 119px;
  color: var(--ink);
}
.search-launcher > span {
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
  font-weight: 400;
}
.search-launcher h2 {
  font-size: 27px;
}
.search-launcher p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 7px;
}
.search-launcher > b {
  margin-left: auto;
  font-size: 28px;
  color: var(--primary);
}
.home-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
}
.home-note p {
  margin: 0;
}
.search-field {
  display: block;
  margin: 0 0 24px;
}
.search-field input {
  width: 100%;
  min-height: 56px;
  padding: 13px 19px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.machine-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.machine-art {
  height: 165px;
  background: #e7ebf0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-art svg {
  height: 95%;
  max-width: 90%;
}
.machine-art > span {
  position: absolute;
  bottom: 8px;
  left: 17px;
  color: var(--muted);
  font-size: 12px;
}
.machine-body {
  padding: 20px;
}
.machine-body h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
}
.machine-body > p {
  min-height: 51px;
  color: var(--muted);
  font-size: 16px;
}
.machine-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
}
.machine-action .button {
  padding: 12px 17px;
}
.price {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
}
.price small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}
.selection-bar {
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.selection-bar p {
  font-size: 15px;
  color: #d9dee5;
  margin: 5px 0 0;
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 26px;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}
.narrow {
  max-width: 780px;
}
.field {
  display: block;
  font-weight: 700;
  margin-bottom: 21px;
  font-size: 17px;
}
.field input,
.field select,
.field textarea,
.unit-row input,
.unit-row select {
  display: block;
  width: 100%;
  border: 1px solid #9faab7;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  min-height: 56px;
  padding: 12px 14px;
  margin-top: 8px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.field small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.help {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 18px;
}
.dark-panel {
  background: var(--ink);
  color: white;
  border-radius: 22px;
  padding: 32px;
  align-self: start;
}
.dark-panel h2 {
  font-size: 32px;
}
.dark-panel p,
.dark-panel li {
  color: #e0e5eb;
  font-size: 19px;
}
.dark-panel p {
  margin-top: 23px;
}
.dark-panel ul {
  padding-left: 22px;
  margin: 25px 0;
}
.dark-panel li {
  margin-bottom: 13px;
}
.dark-panel .help {
  font-size: 15px;
  color: #d9dee5;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.notice {
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  background: var(--bode-blue-soft);
  margin: 20px 0;
}
.notice p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}
.inline-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.error {
  color: var(--bode-danger);
  font-weight: 700;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
#global-alert {
  max-width: 1278px;
  margin: 20px auto 0;
  background: #fff2dc;
  border-left: 4px solid #88510e;
  padding: 16px 22px;
  color: var(--ink);
}
.team-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.record-list {
  margin-top: 18px;
}
.record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: white;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--ink);
}
.record-row > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.record-row > div:nth-child(2) {
  margin-left: auto;
  align-items: end;
}
.record-row span {
  font-size: 16px;
  color: var(--muted);
}
.record-row small {
  font-size: 14px;
  color: var(--muted);
}
.record-row > b {
  color: var(--primary);
  font-size: 16px;
}
.state {
  font-size: 14px !important;
  border-radius: 22px;
  padding: 7px 12px;
  background: var(--bode-blue-soft);
  color: var(--primary) !important;
  display: inline-block;
}
.empty {
  padding: 30px 0;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.admin-row p {
  font-size: 15px;
  color: var(--muted);
}
.unit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.unit-row > b,
.unit-row > small,
.unit-row > input {
  grid-column: 1/-1;
}
.unit-row small {
  font-size: 14px;
  color: var(--muted);
}
.unit-row input,
.unit-row select {
  font-size: 16px;
  margin: 0;
}
.unit-row .button {
  font-size: 16px;
  padding: 10px;
}
.mini-form {
  margin-top: 30px;
}
.mini-form h3 {
  margin-bottom: 20px;
}
.customer {
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.customer p {
  color: var(--muted);
  line-height: 1.6;
}
.stack-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}
.stack-actions .button {
  width: 100%;
}
.period {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 22px 0;
  color: var(--muted);
  font-size: 17px;
}
.period b {
  color: var(--ink);
}
.kit-summary {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.kit-summary p {
  color: var(--muted);
  font-size: 15px;
}
.kit-summary ul {
  padding: 0;
  list-style: none;
  margin: 15px 0 0;
}
.kit-summary li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 10px 0;
  gap: 20px;
  font-size: 16px;
}
.document-actions {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 7px;
}
.document-actions .button {
  margin-top: 10px;
}
.checklist-panel {
  margin-bottom: 22px;
}
.check-machine {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 15px;
}
.check-machine svg {
  width: 125px;
  height: 95px;
  background: var(--background);
  border-radius: 13px;
}
.check-machine p {
  font-size: 15px;
  color: var(--muted);
}
.check-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.check-row .field {
  margin: 0;
  font-size: 15px;
}
.check-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-name input[type="checkbox"],
.check-confirm input {
  width: 25px;
  height: 25px;
  accent-color: var(--primary);
  flex: none;
}
.check-name small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.check-note {
  grid-column: 2/-1;
}
.summary-panel {
  max-width: 1050px;
}
.summary-object {
  margin: 0;
}
.summary-object > div {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.summary-object dt {
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.summary-object dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
}
.summary-array {
  padding-left: 18px;
  margin: 0;
}
.summary-array > li {
  padding: 10px 0;
}
.summary-array > li:first-child {
  padding-top: 0;
}
.summary-array .summary-object > div {
  grid-template-columns: 120px minmax(0, 1fr);
}
.hash {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.signature-panel {
  max-width: 1100px;
}
.signature-panel details {
  padding: 15px 0 25px;
}
.signature-panel summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
}
.signature-panel .field {
  margin-top: 15px;
}
.signature-panel canvas {
  display: block;
  width: 100%;
  height: 230px;
  background: white;
  border: 2px solid #9faab7;
  border-radius: 14px;
  touch-action: none;
}
.signature-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 15px;
}
.signature-tools .button {
  min-height: 48px;
  padding: 10px 17px;
}
.check-confirm {
  display: flex;
  align-items: start;
  gap: 13px;
  cursor: pointer;
  margin: 20px 0;
}
.check-confirm span {
  font-size: 17px;
}
.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 38px;
  display: grid;
  place-items: center;
  margin: 0 0 24px;
}
.reference {
  margin: 25px 0;
  font-size: 34px;
  overflow-wrap: anywhere;
}
.panel.narrow > .button {
  margin-top: 25px;
}
.panel.narrow > canvas {
  display: block;
  margin: 25px 0;
}
footer {
  padding: 20px 34px;
  border-top: 1px solid var(--border);
  background: white;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 30px;
  padding: 15px 24px;
  font-size: 16px;
  max-width: 90vw;
  z-index: 40;
  text-align: center;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 1000px;
  width: calc(100% - 35px);
  padding: 25px;
  color: var(--ink);
}
dialog::backdrop {
  background: #262b318c;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pdf-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}
#pdf-frame {
  display: block;
  width: 100%;
  height: 60vh;
  border: 1px solid var(--border);
  background: var(--background);
}
body[data-busy="true"] button[type="submit"] {
  opacity: 0.55;
  cursor: progress;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#app h1:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  #app {
    padding-top: 45px;
  }
  .launchers .launcher {
    min-height: 350px;
  }
  .machine-art {
    height: 195px;
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 20px;
    padding: 18px 26px;
  }
  .header nav {
    gap: 16px;
  }
  .header img {
    height: 57px;
  }
  #app {
    padding: 29px 26px 40px;
  }
  h1 {
    font-size: 39px;
  }
  .launcher {
    grid-template-columns: 1fr;
    min-height: 420px;
  }
  .launcher-visual {
    height: 155px;
  }
  .launcher-visual svg {
    height: 150px;
  }
  .launcher > div:last-child {
    padding: 24px;
  }
  .launcher h2 {
    font-size: 32px;
  }
  .launcher p br {
    display: none;
  }
  .machine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-columns {
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
  }
  .panel {
    padding: 24px;
  }
  .field-pair {
    grid-template-columns: 1fr;
  }
  .check-row {
    grid-template-columns: 1fr 1fr;
  }
  .check-name {
    grid-column: 1/-1;
  }
  .check-note {
    grid-column: 1/-1;
  }
  .summary-object > div {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .private-bar {
    font-size: 11px;
    padding: 8px 16px;
    gap: 15px;
  }
  .header {
    padding: 16px 20px;
    min-height: 93px;
    gap: 15px;
  }
  .header img {
    height: 46px;
  }
  .header nav {
    gap: 8px 13px;
    font-size: 13px;
    max-width: 58%;
  }
  .header nav a {
    min-height: 34px;
  }
  .role-label {
    font-size: 12px;
  }
  .header .link-button {
    font-size: 13px;
  }
  #app {
    padding: 25px 20px 35px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 23px;
  }
  .page-heading p {
    font-size: 17px;
  }
  .launchers {
    gap: 18px;
  }
  .launcher {
    min-height: 410px;
  }
  .launcher > div:last-child {
    padding: 20px;
  }
  .launcher h2 {
    font-size: 28px;
  }
  .launcher p {
    font-size: 16px;
  }
  .launcher b {
    font-size: 15px;
  }
  .launcher > div > span {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .search-launcher {
    padding: 20px;
    gap: 17px;
    margin-top: 18px;
  }
  .search-launcher h2 {
    font-size: 25px;
  }
  .search-launcher p {
    font-size: 15px;
  }
  .home-note {
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
  }
  .two-columns,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .dark-panel {
    padding: 26px;
  }
  .dark-panel h2 {
    font-size: 29px;
  }
  .dark-panel p,
  .dark-panel li {
    font-size: 18px;
  }
  .machine-body {
    padding: 18px;
  }
  .machine-body h2 {
    font-size: 23px;
  }
  .machine-action {
    flex-wrap: wrap;
  }
  .machine-action .button {
    width: 100%;
  }
  .selection-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }
  .selection-bar p {
    font-size: 14px;
  }
  .field-pair {
    gap: 0;
  }
  .panel {
    padding: 22px;
  }
  .record-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .record-row > b {
    font-size: 14px;
  }
  .record-row > div:first-child {
    max-width: 100%;
  }
  .record-row > div:nth-child(2) {
    align-items: start;
    margin: 0;
  }
  .record-row > div > b {
    overflow-wrap: anywhere;
  }
  .period {
    flex-wrap: wrap;
  }
  .summary-object > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .summary-array .summary-object > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .summary-array {
    padding-left: 14px;
  }
  .check-row {
    gap: 15px;
  }
  .check-machine {
    gap: 17px;
  }
  .check-machine h2 {
    font-size: 25px;
  }
  .check-machine svg {
    width: 90px;
    height: 80px;
  }
  .actions {
    align-items: stretch;
  }
  .actions .button {
    flex: 1;
  }
  .signature-tools {
    font-size: 13px;
  }
  .signature-panel canvas {
    height: 220px;
  }
  .check-confirm span {
    font-size: 16px;
  }
  .team-tabs .button {
    font-size: 15px;
    padding: 11px 16px;
  }
  .reference {
    font-size: 28px;
  }
  .dialog-head h2 {
    font-size: 25px;
  }
  footer {
    padding: 19px 20px;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .header nav .role-label {
    display: none;
  }
}
@media (max-width: 480px) {
  .header nav {
    max-width: 49%;
  }
  .header img {
    height: 39px;
  }
  .header {
    padding: 16px;
  }
  .private-bar > span {
    max-width: 53%;
  }
  #app {
    padding: 24px 17px;
  }
  .launchers {
    grid-template-columns: 1fr;
  }
  .launcher {
    grid-template-columns: 34% 66%;
    min-height: 255px;
  }
  .launcher-visual {
    height: auto;
  }
  .launcher-visual svg {
    height: auto;
    width: 175px;
    max-width: 145%;
  }
  .launcher > div:last-child {
    padding: 22px 18px;
  }
  .launcher h2 {
    font-size: 27px;
  }
  .launcher p {
    font-size: 15px;
  }
  .launcher b {
    font-size: 14px;
    padding-top: 19px;
  }
  .launcher > div > span {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .search-launcher {
    padding: 19px 17px;
    gap: 13px;
  }
  .search-launcher h2 {
    font-size: 23px;
  }
  .search-launcher > span {
    font-size: 44px;
  }
  .search-launcher > b {
    font-size: 24px;
  }
  .machine-grid {
    gap: 14px;
  }
  .machine-body {
    padding: 13px;
  }
  .machine-body h2 {
    font-size: 19px;
  }
  .machine-body > p {
    font-size: 14px;
    min-height: 65px;
  }
  .machine-art {
    height: 120px;
  }
  .machine-art > span {
    font-size: 10px;
    left: 10px;
    max-width: 90%;
  }
  .price {
    font-size: 25px;
  }
  .price small {
    font-size: 11px;
  }
  .machine-action .button {
    font-size: 15px;
    padding: 11px;
    min-height: 52px;
  }
  .panel {
    padding: 20px;
  }
  .check-row {
    grid-template-columns: 1fr;
  }
  .check-note {
    grid-column: auto;
  }
  .check-name {
    grid-column: auto;
  }
  .check-machine {
    align-items: start;
    gap: 13px;
  }
  .check-machine svg {
    width: 70px;
    height: 70px;
  }
  .check-machine h2 {
    font-size: 22px;
  }
  .button {
    padding: 13px 18px;
    font-size: 16px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .state {
    font-size: 12px !important;
  }
  .unit-row {
    grid-template-columns: 1fr;
  }
  .unit-row > b,
  .unit-row > small,
  .unit-row > input {
    grid-column: auto;
  }
  .actions {
    flex-direction: column;
  }
  .actions .button {
    width: 100%;
  }
  .dialog-head {
    align-items: start;
  }
  .dialog-head h2 {
    font-size: 22px;
  }
  .pdf-actions .button {
    width: 100%;
  }
  .signature-tools .button {
    font-size: 14px;
  }
  .notice {
    padding: 13px 15px;
  }
  .notice p {
    font-size: 15px;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body:after {
    display: block;
    content: "Utilisez le bon PDF signé obtenu depuis le dossier. Aucun bon de location ne peut être imprimé depuis cet écran.";
    font: 18px sans-serif;
    color: #262b31;
    padding: 30px;
  }
}
.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.summary-customer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.summary-customer > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
}
.signed-machine {
  border-top: 1px solid var(--border);
  padding: 23px 0;
}
.kit-table {
  margin-top: 18px;
}
.kit-table > div {
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.kit-table .kit-table-head {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 10px;
}
.summary-panel > .notice p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .summary-customer {
    flex-direction: column;
    gap: 0;
  }
  .summary-customer > p {
    margin: 0 0 20px;
  }
  .summary-top {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .kit-table > div {
    grid-template-columns: 1fr 85px 1fr;
    gap: 10px;
    font-size: 14px;
  }
  .kit-table .kit-table-head {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .kit-table > div {
    grid-template-columns: 1.1fr 65px 1fr;
    font-size: 13px;
  }
  .kit-table .kit-table-head {
    font-size: 11px;
  }
}
.scan-controls {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.scan-controls label {
  cursor: pointer;
}
#scan-video {
  display: block;
  width: 100%;
  max-height: 60vh;
  background: #262b31;
  margin-top: 20px;
  border-radius: 14px;
  object-fit: contain;
}
.panel,
.dark-panel,
.two-columns > * {
  min-width: 0;
}
h1,
h2,
h3,
.summary-top > b,
.record-row b,
.help,
.notice p {
  overflow-wrap: anywhere;
}
.check-name {
  min-height: 56px;
}
.check-name span {
  min-width: 0;
}
.calendar-filters {
  display: flex;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.calendar-filters .field {
  margin: 0;
}
.calendar-unit {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
}
.calendar-unit h3 {
  font-size: 20px;
}
.calendar-unit p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 15px;
}
.calendar-event {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  background: var(--bode-blue-soft);
  padding: 17px;
  text-align: left;
  margin-bottom: 12px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.calendar-event span {
  font-size: 15px;
}
.calendar-event small {
  font-size: 13px;
}
@media (max-width: 760px) {
  .calendar-unit {
    grid-template-columns: 1fr;
  }
  .calendar-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .calendar-event {
    font-size: 16px;
  }
}

.global-return {
  max-width: 860px;
}
.global-return .field {
  max-width: 350px;
}
.global-return .button {
  margin-top: 12px;
}
.return-details {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.return-details summary {
  cursor: pointer;
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.return-details-body {
  padding: 0 24px 8px;
}
@media (max-width: 600px) {
  .global-return .button {
    width: 100%;
  }
  .return-details-body {
    padding: 0 10px;
  }
}

.pin-panel {
  max-width: 560px;
}
.pin-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.pin-panel input[name="pin"] {
  font-size: 32px;
  text-align: center;
  letter-spacing: 18px;
  min-height: 62px;
}
.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.pin-keypad .button {
  min-height: 66px;
  font-size: 25px;
  padding: 12px;
}
.pin-keypad [data-pin-key="clear"] {
  font-size: 15px;
}

.workflow-next {
  border-left: 4px solid var(--primary);
  background: var(--bode-blue-soft);
  padding: 18px 22px;
  margin: 0 0 24px;
  font-weight: 600;
}

.record-filters {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}
.record-filters .field {
  flex: 1 1 250px;
  margin: 0;
}
.record-filters .button {
  min-height: 54px;
}
.cancel-reason {
  padding: 16px;
  background: var(--background);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .record-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .record-filters .field {
    flex: auto;
  }
}

.device-row {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  overflow-wrap: anywhere;
}
#pairing-code-result {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
#new-pairing-code {
  font-family: monospace;
  font-size: 18px;
}
