@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;800&family=IBM+Plex+Mono:wght@400;600&display=swap');

.pdc-app,
.pdc-app * { box-sizing: border-box; }

.pdc-app {
  background: #DCE2DB;
  color: #20281F;
  padding: 20px 14px 32px;
  border-radius: 12px;
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.45;
}

.pdc-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdc-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #20281F;
}
.pdc-title span { color: #D95B12; }

.pdc-intro {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6B7A6C;
  max-width: 640px;
}

.pdc-card {
  background: #FBFBF7;
  border: 2px solid #20281F;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 4px 4px 0 rgba(32, 40, 31, 0.13);
}
.pdc-card--svg { padding: 10px 8px 4px; }

.pdc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.pdc-field { display: flex; flex-direction: column; gap: 6px; }
.pdc-field > label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7A6C;
}
.pdc-field .pdc-inputrow { display: flex; align-items: center; gap: 8px; }
.pdc-app input[type="number"] {
  width: 90px;
  padding: 10px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: #20281F;
  background: #fff;
  border: 2px solid #20281F;
  border-radius: 6px;
  outline: none;
  margin: 0;
  line-height: 1.2;
}
.pdc-unit { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: #6B7A6C; }
.pdc-app input[type="range"] { accent-color: #D95B12; width: 100%; margin: 0; }
.pdc-app input:focus-visible { outline: 3px solid #D95B12; outline-offset: 2px; }

.pdc-hint { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #6B7A6C; }

.pdc-h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #20281F;
}

.pdc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #DCE2DB;
}
.pdc-row .k { font-size: 13.5px; color: #6B7A6C; }
.pdc-row .v {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14.5px;
  color: #20281F;
  white-space: nowrap;
}
.pdc-row .v.strong { font-size: 17px; font-weight: 600; color: #D95B12; }

.pdc-note { font-size: 12.5px; color: #6B7A6C; margin: 10px 0 0; }
.pdc-warn {
  font-size: 13px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #FBE8DC;
  border-left: 4px solid #D95B12;
  border-radius: 4px;
}
.pdc-error { border-color: #D95B12; color: #D95B12; font-weight: 700; }

.pdc-app svg { width: 100%; display: block; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .pdc-app * { transition: none !important; }
}
