.pt-ped-calculator{
  --ped-blue:#009EE3;--ped-dark:#173240;--ped-text:#1f2a33;--ped-muted:#687782;--ped-border:#d8e1e8;--ped-soft:#f4f8fb;
  --ped-green-bg:#e9fbf3;--ped-green-border:#a9e8ca;--ped-green-text:#0a6b42;
  --ped-yellow-bg:#fff6da;--ped-yellow-border:#efd078;--ped-yellow-text:#805200;
  --ped-red-bg:#fff0f0;--ped-red-border:#efb3b3;--ped-red-text:#8a1f1f;
  font-family:"Segoe UI",Tahoma,sans-serif;width:100%;max-width:420px;margin:0 auto;background:#fff;color:var(--ped-text);
  border-radius:12px;padding:22px;box-shadow:0 8px 24px rgba(0,0,0,.08);box-sizing:border-box
}
.pt-ped-calculator *{box-sizing:border-box}.pt-ped-header{text-align:center;margin-bottom:18px}.pt-ped-kicker{font-size:13px;color:var(--ped-blue);font-weight:700;letter-spacing:.02em;margin-bottom:4px}.pt-ped-title{font-size:19px;font-weight:700;line-height:1.25;color:var(--ped-dark)}.pt-ped-subtitle{font-size:12px;line-height:1.4;color:var(--ped-muted);margin-top:5px}.pt-ped-field{margin-bottom:12px}.pt-ped-field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.pt-ped-field input,.pt-ped-field select{width:100%;height:42px;border:1px solid var(--ped-border);border-radius:6px;background:#fff;padding:8px 10px;font:14px "Segoe UI",Tahoma,sans-serif;color:var(--ped-text)}.pt-ped-field input:focus,.pt-ped-field select:focus{outline:none;border-color:var(--ped-blue);box-shadow:0 0 0 2px rgba(0,158,227,.12)}.pt-ped-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pt-ped-help{display:block;font-size:12px;line-height:1.35;color:var(--ped-muted);margin-top:5px}.pt-ped-btn{width:100%;height:44px;border:0;border-radius:6px;background:var(--ped-blue);color:#fff;font-size:15px;font-weight:700;cursor:pointer;margin:4px 0 16px}.pt-ped-btn:hover{filter:brightness(.96)}.pt-ped-result h3{font-size:16px;margin:0 0 12px}.pt-ped-summary{border-radius:7px;padding:13px 14px;font-size:16px;line-height:1.4;font-weight:700;margin-bottom:12px}.pt-ped-status-green{background:var(--ped-green-bg);border:1px solid var(--ped-green-border);color:var(--ped-green-text)}.pt-ped-status-yellow{background:var(--ped-yellow-bg);border:1px solid var(--ped-yellow-border);color:var(--ped-yellow-text)}.pt-ped-status-red{background:var(--ped-red-bg);border:1px solid var(--ped-red-border);color:var(--ped-red-text)}.pt-ped-checks{display:grid;gap:8px}.pt-ped-check{border-radius:7px;padding:10px 12px;display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:start}.pt-ped-dot{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;background:rgba(255,255,255,.75)}.pt-ped-check-title{font-size:13px;font-weight:700}.pt-ped-check-text{font-size:12px;line-height:1.4;margin-top:2px}.pt-ped-basis{margin-top:14px;background:var(--ped-soft);border:1px solid var(--ped-border);border-radius:7px;padding:12px 14px}.pt-ped-basis h4{font-size:14px;margin:0 0 8px}.pt-ped-basis-row{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;line-height:1.4;padding:5px 0;border-bottom:1px solid rgba(0,0,0,.06)}.pt-ped-basis-row:last-child{border-bottom:0}.pt-ped-basis-value{font-weight:700;text-align:right}.pt-ped-note{font-size:11.5px;line-height:1.45;color:var(--ped-muted);margin:14px 0 0}@media(max-width:480px){.pt-ped-calculator{padding:18px}.pt-ped-grid-2{grid-template-columns:1fr}}
.pt-ped-field input[readonly],.pt-ped-field select:disabled,.pt-ped-locked{background:#eef2f5!important;color:#667680!important;border-color:#d9e0e5!important;cursor:not-allowed;opacity:1}.pt-ped-classification.pt-ped-auto select{background:#eef2f5;color:#667680}.pt-ped-summary-sub{font-size:12px;font-weight:600;margin-top:4px}.pt-ped-classification{transition:opacity .15s ease}

/* v0.3 UX: Eingabe klar weiss, automatisch/read-only klar grau */
.pt-ped-field input:not([readonly]):not(:disabled),
.pt-ped-field select:not(:disabled){
  background:#fff!important;
  border-color:#b9c7d1;
  color:var(--ped-text);
}
.pt-ped-field input[readonly],
.pt-ped-field input:disabled,
.pt-ped-field select:disabled,
.pt-ped-field .pt-ped-locked{
  background:#e2e7eb!important;
  color:#59666f!important;
  border-color:#c6ced4!important;
  cursor:not-allowed;
  opacity:1;
}
.pt-ped-validation{
  margin:-6px 0 15px;
  padding:10px 12px;
  border:1px solid var(--ped-yellow-border);
  background:var(--ped-yellow-bg);
  color:var(--ped-yellow-text);
  border-radius:7px;
  font-size:12px;
  line-height:1.4;
}
.pt-ped-validation[hidden],.pt-ped-result[hidden]{display:none!important}
.pt-ped-validation ul{margin:5px 0 0 18px;padding:0}
.pt-ped-validation li{margin:2px 0}


/* v0.4: Headergrafik und saubere Ausrichtung zweispaltiger Eingaben */
.pt-ped-hero{
  margin:-6px -6px 18px;
  text-align:center;
}
.pt-ped-hero img{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:7px;
}
.pt-ped-grid-2>.pt-ped-field{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.pt-ped-grid-2>.pt-ped-field>label{
  min-height:36px;
  display:flex;
  align-items:flex-end;
  line-height:1.25;
}
.pt-ped-grid-2>.pt-ped-field>input,
.pt-ped-grid-2>.pt-ped-field>select{
  flex:0 0 auto;
}
@media(max-width:480px){
  .pt-ped-grid-2>.pt-ped-field>label{min-height:0;display:block}
  .pt-ped-hero{margin:-4px -4px 16px}
}
