.bbd-native-wrap{max-width:820px;margin:0 auto;font-family:inherit;color:#1f2937}
.bbd-native-panel{box-sizing:border-box;width:100%;border:2px solid #61c47b;border-radius:2px;background:#fff;padding:18px 26px}
.bbd-native-form{box-sizing:border-box;width:100%;border:0;background:transparent;padding:0;margin:0}
.bbd-native-grid{display:grid;grid-template-columns:1fr;gap:0}
.bbd-native-field{box-sizing:border-box;width:100%;margin:0 0 14px}
.bbd-native-field[hidden]{display:none!important}
.bbd-native-field--full,.bbd-native-field--half{grid-column:1/-1}
.bbd-native-field label{display:block;margin:0 0 6px;color:#61c47b;font-size:13px;line-height:1.4;font-weight:400}
.bbd-native-required{margin-left:3px;color:#61c47b}
.bbd-native-control{position:relative}
.bbd-native-control-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;color:#111827;opacity:.95;pointer-events:none;z-index:2}
.bbd-native-control--icon input[type=text],
.bbd-native-control--icon input[type=password],
.bbd-native-control--icon input[type=date],
.bbd-native-control--icon input[type=time],
.bbd-native-control--icon input[type=number],
.bbd-native-control--icon select,
.bbd-native-control--icon textarea,
.bbd-native-control--icon input[type=file]{padding-left:42px !important}
.bbd-native-field input[type=text],.bbd-native-field input[type=password],.bbd-native-field input[type=date],.bbd-native-field input[type=time],.bbd-native-field input[type=number],.bbd-native-field select,.bbd-native-field textarea{box-sizing:border-box;width:100%;min-height:40px;margin:0;border:1px solid #edf0f2;border-radius:2px;background:#fff;color:#333;font:inherit;font-size:13px;line-height:1.4;padding:8px 12px;box-shadow:none}
.bbd-native-field select{cursor:pointer;padding-right:34px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}
.bbd-native-field textarea{min-height:108px;resize:vertical;padding-top:10px}
.bbd-native-field input[type=file]{box-sizing:border-box;width:100%;font-size:13px;padding:8px 12px;border:1px solid #edf0f2;background:#fff;min-height:40px}
.bbd-native-field input:focus,.bbd-native-field select:focus,.bbd-native-field textarea:focus{outline:1px solid #61c47b;border-color:#61c47b;box-shadow:none}
.bbd-native-radio-group{display:flex;flex-direction:column;gap:6px;padding:4px 0}
.bbd-native-radio{display:inline-flex!important;align-items:center;gap:6px!important;margin:0!important;color:#222!important;font-size:13px!important;cursor:pointer}
.bbd-native-radio input{margin:0}
.bbd-native-helptext{margin-top:4px;color:#697386;font-size:11px;line-height:1.35}
.bbd-native-actions{margin-top:8px}
.bbd-native-button{display:inline-block;min-height:36px;border:0;border-radius:2px;padding:8px 18px;background:#61c47b;color:#fff;font:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer}
.bbd-native-button:hover{background:#4fb36a;color:#fff}
.bbd-native-button-secondary{background:#eef2f4;color:#344054}
.bbd-native-logout{margin-top:12px;text-align:right}
.bbd-native-logout .bbd-native-button{font-size:11px;min-height:30px;padding:5px 10px}
.bbd-native-notice{box-sizing:border-box;width:100%;margin:0 0 12px;padding:10px 12px;border:1px solid;border-radius:2px;font-size:12px}
.bbd-native-notice-success{background:#f0faf3;border-color:#61c47b;color:#245b33}
.bbd-native-notice-error{background:#fff4f3;border-color:#e79b94;color:#842019}
.bbd-native-gate{box-sizing:border-box;width:100%;border:2px solid #61c47b;border-radius:2px;background:#fff;padding:18px 26px}
.bbd-native-gate h2{margin:0 0 12px;color:#222;font-size:21px;font-weight:500}
.bbd-native-gate p{font-size:13px;line-height:1.5}
.bbd-native-intro{margin:0 0 16px;text-align:center}
.bbd-native-intro-title{color:#61c47b;font-size:21px;line-height:1.25}
.bbd-native-intro-text{margin-top:7px;font-size:12px;line-height:1.45}
.bbd-native-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.bbd-native-button:disabled,.bbd-native-button[aria-disabled="true"]{opacity:.68;cursor:wait;filter:none}
@media(max-width:600px){.bbd-native-wrap{max-width:none;width:100%}.bbd-native-panel,.bbd-native-gate{padding:14px 16px}.bbd-native-field label{font-size:13px}.bbd-native-button{width:auto}}

.bbd-native-photo-preview{margin-top:10px;padding:10px;border:1px solid #edf0f2;background:#fafbfc}
.bbd-native-photo-preview[hidden]{display:none!important}
.bbd-native-photo-preview-label{margin:0 0 7px;color:#344054;font-size:12px;font-weight:600}
.bbd-native-photo-preview img{display:block;max-width:100%;max-height:320px;width:auto;height:auto;border-radius:2px;object-fit:contain;background:#fff}
.bbd-native-photo-preview-meta{margin-top:7px;color:#697386;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.bbd-native-photo-clear{margin-top:8px;border:0;background:transparent;color:#344054;text-decoration:underline;font:inherit;font-size:11px;cursor:pointer;padding:0}

/* Soll-Ist-Führung */
.bbd-native-explainer{display:grid;gap:4px;margin:0 0 18px;padding:13px 15px;border-left:4px solid #61c47b;background:#f3faf5;color:#25352a;font-size:12px;line-height:1.5}
.bbd-native-explainer strong{font-size:14px;color:#245b33}
.bbd-native-booking-picker{margin:0 0 20px;padding:16px;border:1px solid #dfe8e2;border-radius:4px;background:#fbfdfb}
.bbd-native-booking-picker__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}
.bbd-native-booking-picker__head h3{margin:0 0 5px;font-size:17px;line-height:1.3;color:#25352a}
.bbd-native-booking-picker__head p{margin:0;color:#5d6b62;font-size:11px;line-height:1.45}
.bbd-native-booking-tools{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:8px;min-width:250px}
.bbd-native-booking-tools label{display:grid;gap:4px;color:#4b5b50;font-size:11px;font-weight:600}
.bbd-native-booking-tools input[type=date]{min-height:36px;border:1px solid #d6e1da;border-radius:3px;background:#fff;padding:6px 8px;font:inherit;color:#25352a}
.bbd-native-booking-cards{display:grid;gap:10px}
.bbd-native-booking-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid #d8e5dc;border-radius:4px;background:#fff}
.bbd-native-booking-card>div{display:grid;gap:3px;min-width:0}
.bbd-native-booking-card strong{font-size:13px;color:#25352a}
.bbd-native-booking-card span{font-size:11px;line-height:1.4;color:#627067;overflow-wrap:anywhere}
.bbd-native-booking-card.is-recorded{background:#f5f6f5;opacity:.85}
.bbd-native-booking-recorded{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e8ece9;color:#55635a;font-size:10px;font-weight:600;white-space:nowrap}
.bbd-native-empty-state{padding:12px;border:1px dashed #cbd9d0;background:#fff;color:#5d6b62;font-size:12px;line-height:1.5}
.bbd-native-selected-booking{display:grid;gap:3px;margin:0 0 12px;padding:11px 13px;border:1px solid #61c47b;border-radius:3px;background:#f0faf3;color:#245b33;font-size:12px}
.bbd-native-selected-booking[hidden]{display:none!important}
.bbd-native-selected-booking strong{font-size:13px}
.bbd-native-actual-status{display:grid;gap:8px;margin:0 0 16px;padding:13px 15px;border:1px solid #dfe8e2;background:#fff}
.bbd-native-actual-status[hidden]{display:none!important}
.bbd-native-actual-status legend{padding:0 5px;color:#25352a;font-size:13px;font-weight:700}
.bbd-native-actual-status>label:not(.bbd-native-deviation-note){display:flex;align-items:center;gap:7px;color:#34463a;font-size:12px;cursor:pointer}
.bbd-native-deviation-note{display:grid;gap:6px;margin-top:4px;color:#34463a;font-size:12px;font-weight:600}
.bbd-native-deviation-note[hidden]{display:none!important}
.bbd-native-deviation-note textarea{width:100%;box-sizing:border-box;border:1px solid #d6e1da;border-radius:3px;padding:9px 10px;font:inherit;font-weight:400;resize:vertical}
.bbd-native-field input:disabled,.bbd-native-field select:disabled,.bbd-native-field textarea:disabled{background:#f3f4f3;color:#6d756f;cursor:not-allowed}
@media(max-width:720px){
  .bbd-native-booking-picker__head,.bbd-native-booking-card{align-items:stretch;flex-direction:column}
  .bbd-native-booking-tools{justify-content:flex-start;min-width:0;width:100%}
  .bbd-native-booking-tools .bbd-native-button,.bbd-native-booking-card .bbd-native-button{width:100%}
  .bbd-native-booking-tools label{width:100%}
  .bbd-native-booking-tools input[type=date]{width:100%;box-sizing:border-box}
}

/* Server/client validation share the same accessible field error. */
.bbd-native-wrap .bbd-native-field-error { color: #9b1c1c; font-weight: 600; margin-top: .45rem; }
.bbd-native-wrap [aria-invalid="true"] { border-color: #9b1c1c; }

/* Auftrag B: only the organization selector/free-name region. */
.bbd-native-form [data-bbd-organization-select] { width:100%; max-width:100%; min-width:0; }
.bbd-native-organization-current { overflow-wrap:anywhere; margin-top:.4rem; font-size:.95em; }
.bbd-native-organization-current:empty { display:none; }
.bbd-native-organization-other { margin-top:.8rem; }
.bbd-native-organization-other label { display:block; margin-bottom:.4rem; }
.bbd-native-organization-other input { box-sizing:border-box; width:100%; min-width:0; max-width:100%; }
.bbd-native-organization-other[hidden] { display:none!important; }

/* readable group identification; hide only JS-confirmed complete Soll fields. */
.bbd-native-form .bbd-native-compact { display:none !important; }
.bbd-native-booking-card strong, .bbd-native-booking-card span, .bbd-native-selected-booking strong, .bbd-native-selected-booking span { display:block; overflow-wrap:anywhere; white-space:normal; }
.bbd-native-booking-card strong, .bbd-native-selected-booking strong { font-size:1.05em; line-height:1.45; }
.bbd-native-booking-card span, .bbd-native-selected-booking span { line-height:1.5; }
.bbd-native-late-entry{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:12px 14px;border:1px solid #dfe8e2;border-radius:4px;background:#fbfdfb;color:#25352a}
.bbd-native-late-entry h3{margin:0;color:#25352a;font-size:15px;font-weight:700;line-height:1.35}
.bbd-native-late-entry p{margin:3px 0 0;color:#5d6b62;font-size:12px;line-height:1.45}
.bbd-native-late-entry__content{min-width:0}
.bbd-native-late-entry__link{flex:0 0 auto;color:#245b33;font-size:12px;font-weight:600;line-height:1.4;text-decoration:underline;text-underline-offset:2px}
.bbd-native-late-entry__link:hover{color:#173f23}
.bbd-native-late-entry__link:focus-visible{outline:2px solid #245b33;outline-offset:3px;border-radius:2px}
.bbd-native-late-entry[data-bbd-late-state="active"]{display:block;padding:14px 16px;border-color:#d39a36;border-left:5px solid #a86100;background:#fff8e8;color:#3f2b0d}
.bbd-native-late-entry[data-bbd-late-state="active"] h3{margin-top:6px;color:#3f2b0d;font-size:17px}
.bbd-native-late-entry__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.bbd-native-late-entry__badge{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid #a86100;border-radius:999px;background:#fff;color:#734400;font-size:11px;line-height:1.35}
.bbd-native-late-entry__badge span{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#a86100;color:#fff;font-weight:800}
.bbd-native-late-entry__explanation{max-width:670px;margin-top:9px!important;color:#4e3a1d!important}
.bbd-native-late-entry__reason{display:block;margin:13px 0 6px;color:#3f2b0d;font-size:13px;font-weight:700;line-height:1.4}
.bbd-native-late-entry__required{font-size:11px;font-weight:600}
.bbd-native-late-entry textarea{box-sizing:border-box;width:100%;min-height:74px;margin:0;border:1px solid #c78a25;border-radius:3px;background:#fff;color:#333;font:inherit;font-size:13px;line-height:1.4;padding:9px 11px;resize:vertical}
.bbd-native-late-entry textarea:focus{outline:2px solid #734400;outline-offset:1px;border-color:#734400}
.bbd-native-late-entry__help{margin-top:6px!important;color:#5e4b2d!important;font-size:11px!important}
@media (max-width:600px) { .bbd-native-booking-card { display:block; } .bbd-native-booking-card .bbd-native-button { margin-top:0.7em; width:100%; } }
@media (max-width:600px){.bbd-native-late-entry,.bbd-native-late-entry__header{align-items:stretch;flex-direction:column}.bbd-native-late-entry__link{align-self:flex-start}.bbd-native-late-entry[data-bbd-late-state="active"]{padding:13px 14px}}

/* Access renewal stays small and separate from actual-usage fields. */
.bbd-native-access-panel{padding:12px;margin:0 0 18px;border:1px solid #d9e3dd;border-radius:4px;overflow-wrap:anywhere}
.bbd-native-access-panel p{margin:6px 0;line-height:1.5}
.bbd-native-access-warning{border-left:4px solid #ac740b;background:#fffbef}
.bbd-native-access-panel details{margin-top:10px}
.bbd-native-access-panel summary{cursor:pointer;font-weight:600;padding:5px 0}
.bbd-native-access-panel label{display:block;margin:8px 0}
.bbd-native-access-panel input:not([type=hidden]){display:block;box-sizing:border-box;max-width:100%;width:100%;padding:9px}
.bbd-native-access-panel button{white-space:normal;margin:4px 4px 4px 0}
.bbd-native-access-panel [data-bbd-access-message]:empty{display:none}
.bbd-native-access-panel [data-bbd-access-message]{margin-bottom:10px;font-weight:600}
.bbd-native-access-error{color:#952122}
[data-bbd-password-target]{cursor:pointer;padding:6px 9px;min-height:36px}
[data-bbd-password-target]:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.bbd-native-notice-notice{background:#f0f5f2;border-left:3px solid #417757}

/* Access maintenance is secondary to actual usage. */
.bbd-native-access-quiet{padding:6px 0!important;border:0!important;background:transparent!important;font-size:.9em;}
.bbd-native-access-quiet .bbd-native-access-validity{margin:4px 0;color:#48535a;font-weight:normal;}
.bbd-native-access-quiet details[data-bbd-access-settings]>summary{font-size:.95em;cursor:pointer;}
.bbd-native-access-panel details{margin:.6em 0}.bbd-native-access-panel [data-bbd-access-message]:empty{display:none;}
