/* Verwaltungsbereich: dieselbe Gestaltung wie der Partnerarbeitsplatz. */
.admin-sidebar nav a{text-decoration:none;margin-bottom:5px}.admin-sidebar .sidebar-bottom{margin-top:auto}.admin-sidebar .partner-avatar .icon{width:17px;height:17px}.admin-sidebar-note{padding:30px 12px;color:var(--muted);font-size:.85rem;line-height:1.6}.admin-sidebar-note .category{color:var(--blue);font-weight:550}.admin-main{overflow-y:auto;padding:32px 40px 45px;flex:1;min-height:0;background:#fafcfd}.admin-crumb{color:#415e74;margin-left:9px}.admin-notice{padding:13px 17px;border:1px solid #c7dfce;background:#eff7f1;color:#2e6040;border-radius:8px;margin-bottom:22px;font-size:.9rem;line-height:1.6}.admin-notice.is-empty{display:none}.admin-notice.is-error{border-color:#e4c6b7;background:#fff5ef;color:#8f3c21}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:4px 0 30px}.admin-heading .greeting{font-size:.86rem;margin-bottom:12px}.admin-heading h1{font-size:clamp(1.7rem,2.5vw,2.5rem);line-height:1.18;letter-spacing:-.04em;max-width:650px}.admin-heading p:last-child{color:var(--muted);font-size:.93rem;max-width:670px;margin-top:15px;line-height:1.65}.admin-heading>.button{white-space:nowrap;align-self:flex-end;flex-shrink:0;margin-bottom:3px}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.admin-stat{border-top:2px solid #9ab2c3;background:#edf3f7;text-decoration:none;padding:20px 23px;color:var(--navy);border-radius:2px 2px 9px 9px;display:flex;flex-direction:column;gap:8px}.admin-stat:first-child{border-top-color:var(--orange)}.admin-stat:hover{background:#e5eef4}.admin-stat strong{font-size:2.1rem;line-height:1.15;font-weight:500;letter-spacing:-.045em}.admin-stat span{font-size:.85rem;color:#4c687d}.admin-card{background:white;border:1px solid var(--line);border-radius:11px;min-width:0}.admin-card-heading{padding:23px 25px 19px;display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-card h2{font-size:1.05rem;letter-spacing:-.015em;font-weight:550;line-height:1.4}.admin-card-heading>a{color:var(--blue);font-size:.82rem;text-underline-offset:3px}.admin-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-bottom:26px}.admin-summary-row{display:flex;align-items:center;gap:12px;padding:17px 24px;text-decoration:none;color:var(--navy);border-top:1px solid #edf1f4}.admin-summary-row:hover{background:#f7fafc}.admin-summary-row>span:nth-child(2){min-width:0;flex:1}.admin-summary-row strong{font-size:.9rem;font-weight:550;display:block;overflow-wrap:anywhere}.admin-summary-row small{display:block;font-size:.78rem;color:var(--muted);margin-top:5px}.admin-badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;font-size:.72rem;padding:5px 9px;line-height:1.4;white-space:nowrap;flex-shrink:0}.admin-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.admin-badge.enabled{background:#edf5ef;color:#326242}.admin-badge.disabled{background:#f5ede7;color:#8c4a2f}.admin-start-note{padding:25px 27px}.admin-start-note .category{color:var(--orange);font-size:.76rem;margin-bottom:11px}.admin-start-note h2{font-size:1.2rem}.admin-start-note ol{list-style:none;counter-reset:steps;padding:0;margin:23px 0 0}.admin-start-note li{counter-increment:steps;position:relative;padding-left:35px;margin-top:19px;font-size:.85rem}.admin-start-note li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:1px;font-size:.78rem;color:var(--blue);font-weight:550}.admin-start-note li strong{display:block;font-weight:550}.admin-start-note li span{display:block;color:var(--muted);margin-top:5px;font-size:.82rem;line-height:1.5}.admin-table-wrap{overflow:auto}.admin-table-wrap table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:.82rem}.admin-table-wrap th{color:var(--muted);background:#f9fbfc;font-size:.75rem;font-weight:500;padding:12px 24px}.admin-table-wrap td{padding:15px 24px;border-top:1px solid #edf1f4;color:#3c576d}.admin-table-wrap td:nth-child(3){max-width:250px;overflow:hidden;text-overflow:ellipsis}.admin-table-wrap td:first-child{font-variant-numeric:tabular-nums}.admin-empty{padding:22px 25px 28px;color:var(--muted);font-size:.9rem;line-height:1.6}.admin-editor-layout{display:grid;grid-template-columns:minmax(225px,.75fr) minmax(0,1.6fr);gap:23px;align-items:start}.admin-list{overflow:hidden}.admin-list-heading{padding:22px 20px 18px}.admin-list-heading h2{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.admin-list-heading h2 span{font-size:.75rem;font-weight:400;background:#eef3f6;border-radius:20px;padding:3px 8px;color:var(--muted)}.admin-list-heading input{padding:10px 11px;font-size:.83rem;min-height:40px}.admin-list-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;border-top:1px solid #edf1f4;text-decoration:none;color:var(--navy);border-left:3px solid transparent}.admin-list-row:hover{background:#f7fafc}.admin-list-row.selected{background:#edf3f7;border-left-color:var(--orange)}.admin-list-row>span:first-child{min-width:0}.admin-list-row strong{font-size:.87rem;display:block;font-weight:550;overflow-wrap:anywhere}.admin-list-row small{display:block;margin-top:6px;line-height:1.5;color:var(--muted);font-size:.75rem;overflow-wrap:anywhere}.admin-list-row[hidden]{display:none}.admin-editor{padding:27px 28px}.admin-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.admin-editor-heading h2{font-size:1.35rem;letter-spacing:-.025em;overflow-wrap:anywhere}.admin-editor-heading .category{font-size:.76rem;margin-bottom:7px}.admin-editor fieldset{border:0;border-top:1px solid #e5ecf1;padding:23px 0 25px;margin:0;min-width:0}.admin-editor legend{font-size:.9rem;font-weight:550;padding-right:12px}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.admin-field{min-width:0;margin:0 0 18px}.admin-field label{font-size:.82rem;margin:0 0 8px;font-weight:500;display:block}.admin-field input,.admin-field select{width:100%;min-height:44px;font-size:.89rem;padding:11px 12px;border:1px solid #c7d6e1;border-radius:7px;background:#fff;color:var(--ink);font-family:var(--font)}.admin-field input[readonly],.admin-field select:disabled{background:#f3f6f8;color:#5c7182}.admin-field small{display:block;font-size:.75rem;line-height:1.6;margin-top:7px;color:var(--muted)}.admin-field select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.admin-check{display:flex;align-items:flex-start;gap:11px;margin:16px 0 0;cursor:pointer}.admin-check input[type=checkbox]{width:17px;height:17px;min-height:0;padding:0;margin:2px 0 0;accent-color:var(--blue);flex-shrink:0}.admin-check span{display:block}.admin-check strong{font-size:.85rem;font-weight:500;line-height:1.55;display:block}.admin-check small{font-size:.76rem;line-height:1.6;color:var(--muted);margin-top:3px;display:block}.admin-help{font-size:.81rem;line-height:1.65;color:var(--muted);margin-bottom:14px}.admin-mode-note{padding:13px 15px;background:#f3f7fa;color:#49667e;border-radius:7px;font-size:.81rem;line-height:1.65}.admin-advanced{margin-top:21px;font-size:.8rem;color:#48677d}.admin-advanced summary{cursor:pointer}.admin-advanced .admin-check{padding-bottom:5px}.admin-connection{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}.admin-connection>div{min-width:0}.admin-connection strong{display:block;font-size:.82rem;font-weight:500}.admin-connection .connection-status{display:block;font-size:.78rem;line-height:1.6;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.admin-connection button{white-space:nowrap;flex-shrink:0;font-size:.8rem;min-height:39px;padding:9px 12px}.admin-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding-top:5px}.admin-form-actions .button{font-size:.84rem}.admin-select-empty{padding:50px 15px;text-align:center;color:var(--muted)}.admin-select-empty>.icon{width:36px;height:36px;color:#7893a7;margin-bottom:22px}.admin-select-empty h2{color:var(--navy);font-size:1.25rem}.admin-select-empty p{font-size:.89rem;line-height:1.65;max-width:350px;margin:13px auto 0}.admin-select-empty .button{margin-top:24px}.admin-password-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0 0 22px}.admin-password-row .button{font-size:.8rem;min-height:39px}.admin-password-dialog h2{margin-top:10px}.admin-password-dialog>p{margin-bottom:23px}.admin-password-dialog .admin-help{font-size:.78rem;margin-top:15px}.admin-editor [data-form-error]{margin-bottom:25px}.preview-login-actions{display:flex;gap:9px;flex-wrap:wrap}.preview-login-actions .button{flex:1;white-space:nowrap;font-size:.78rem;padding:9px 10px}.admin-audit .small-text{font-size:.75rem}
@media(min-width:1700px){.admin-main{padding:40px 60px 50px}.admin-editor-layout{grid-template-columns:minmax(275px,.65fr) minmax(0,1.6fr)}.admin-heading{margin-bottom:38px}.admin-editor{padding:31px 35px}}
@media(max-width:1150px){.admin-main{padding:27px 27px 35px}.admin-heading{align-items:flex-start;flex-direction:column;gap:18px}.admin-heading>.button{align-self:flex-start}.admin-overview-grid{grid-template-columns:1fr}.admin-editor-layout{grid-template-columns:minmax(185px,.65fr) minmax(0,1.6fr);gap:17px}.admin-editor{padding:23px 21px}.admin-list-row{padding:16px 13px;flex-wrap:wrap}.admin-form-grid{grid-template-columns:1fr}.admin-stats{gap:10px}.admin-stat{padding:18px 16px}.admin-stat span{font-size:.78rem}.admin-list-heading{padding:20px 15px 16px}}
@media(max-width:900px){.admin-editor-layout{grid-template-columns:1fr}.admin-list{max-height:310px;overflow:auto}.admin-list-heading{position:sticky;top:0;z-index:1;background:white}.admin-list-row{flex-wrap:nowrap;padding:15px 19px}.admin-form-grid{grid-template-columns:1fr 1fr}.admin-heading h1{font-size:1.9rem}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stat strong{font-size:1.9rem}}
@media(max-width:640px){.admin-main{padding:24px 18px 28px}.admin-heading{margin-top:0;margin-bottom:24px;gap:18px}.admin-heading h1{font-size:1.85rem}.admin-heading p:last-child{font-size:.87rem;margin-top:13px}.admin-heading .greeting{font-size:.8rem;margin-bottom:10px}.admin-heading>.button{font-size:.84rem}.admin-stat{padding:17px 18px;gap:6px}.admin-stat strong{font-size:1.9rem}.admin-stat span{font-size:.78rem}.admin-stats{gap:12px;margin-bottom:22px}.admin-card-heading{padding:20px 19px 17px}.admin-summary-row{padding:17px 18px;gap:10px}.admin-summary-row strong{font-size:.83rem}.admin-summary-row small{font-size:.75rem}.admin-summary-row .partner-avatar{width:29px;height:32px;flex-shrink:0}.admin-start-note{padding:22px 20px}.admin-start-note h2{font-size:1.12rem}.admin-audit .admin-card-heading{flex-wrap:wrap;gap:10px}.admin-table-wrap th,.admin-table-wrap td{padding-left:19px;padding-right:19px}.admin-sidebar-note{padding-top:35px}.admin-crumb{margin-left:5px}.admin-editor{padding:24px 20px}.admin-editor-heading h2{font-size:1.25rem}.admin-form-grid{grid-template-columns:1fr}.admin-field input,.admin-field select{font-size:16px}.admin-editor fieldset{padding-top:22px;padding-bottom:25px}.admin-connection{align-items:flex-start;flex-direction:column;gap:12px}.admin-check strong{font-size:.82rem}.admin-form-actions{align-items:stretch}.admin-form-actions .primary{width:100%}.admin-list{max-height:280px}.admin-select-empty{padding:32px 5px}.admin-sidebar .sidebar-bottom{margin-top:auto}.admin-password-dialog .admin-field input{font-size:16px}}
.admin-field textarea{width:100%;min-height:145px;resize:vertical;font:inherit;font-size:.89rem;line-height:1.6;padding:11px 12px;border:1px solid #c7d6e1;border-radius:7px;color:var(--ink)}
.schedule-history-card{margin-top:24px}.schedule-run{padding:21px 25px;border-top:1px solid var(--line);overflow-wrap:anywhere}.schedule-run-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.schedule-run-heading>div{flex:1;min-width:160px}.schedule-run-heading strong{font-size:.9rem}.schedule-run-heading small{display:block;color:var(--muted);font-size:.76rem;line-height:1.6;margin-top:5px}.schedule-run details{margin-top:13px;font-size:.83rem}.schedule-run summary{cursor:pointer;color:var(--blue)}.schedule-run pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-family:inherit;background:#f6f8fa;border-radius:7px;padding:14px}.schedule-error{color:#8c4a2f;font-size:.83rem;line-height:1.6;margin-top:12px}.schedule-run-heading .button{min-height:44px}.schedule-run .admin-help{margin-top:12px}
@media(max-width:640px){.admin-field textarea{font-size:16px}.schedule-run{padding:18px}.schedule-run-heading .admin-badge{white-space:normal}.schedule-run-heading .button{width:100%}}
.schedule-label{font-size:.82rem;font-weight:500;display:block;margin-bottom:8px}.schedule-day-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.schedule-day-shortcuts .button{min-height:44px;padding:8px 12px;font-size:.8rem}.schedule-weekdays{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.admin-field .schedule-weekday{display:flex;align-items:center;margin:0;gap:9px;padding:11px 12px;min-height:46px;border:1px solid #c7d6e1;border-radius:7px;cursor:pointer;font-size:.85rem}.schedule-weekday:has(input:checked){background:#edf3f7;border-color:#7893a7}.schedule-weekday:has(input:disabled){opacity:.55;cursor:default}.schedule-weekday input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0;padding:0;flex-shrink:0;accent-color:var(--blue)}.schedule-weekday:focus-within{outline:2px solid var(--blue);outline-offset:2px}.schedule-timing-advanced{margin-bottom:20px}.schedule-timing-advanced>.admin-field{margin-top:20px}.schedule-timing-advanced #schedule-cron-field{margin-top:18px}#schedule-timing-summary{margin:0 0 18px;line-height:1.6}
.schedule-server-clock{padding:16px;border:1px solid var(--line);border-radius:8px;background:#f7fafc;margin-bottom:22px}.schedule-server-clock .button{min-height:44px;max-width:100%;margin-bottom:12px}.schedule-clock-status{font-size:.85rem;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.schedule-clock-status>span{display:block}.schedule-clock-status>span[hidden]{display:none}.schedule-clock-status>span+span{margin-top:5px;color:var(--muted)}.schedule-clock-status .is-error{color:#8f3c21}.schedule-server-clock .admin-help{margin:10px 0 0;font-size:.75rem}
.comlog-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:24px;border-bottom:1px solid var(--line)}
.comlog-filters .admin-field{flex:1;min-width:160px;margin:0}.comlog-filters .admin-field:first-child{flex:2;min-width:240px}
.comlog-note{padding:0 24px 16px;margin:0}.comlog-table{min-width:1080px;table-layout:fixed}.comlog-table td{vertical-align:top;white-space:normal;overflow-wrap:anywhere}.comlog-table th,.comlog-table td{padding:16px 14px}
.comlog-table td small,.comlog-table td strong{display:block}.comlog-table td small{margin-top:5px;color:var(--muted);font-size:.75rem;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.comlog-table th:nth-child(1){width:14%}.comlog-table th:nth-child(2){width:17%}.comlog-table th:nth-child(3){width:18%}.comlog-table th:nth-child(4){width:16%}.comlog-table th:nth-child(5){width:22%}.comlog-table th:nth-child(6){width:13%}.comlog-table .admin-badge{white-space:normal}
.comlog-table td .category{display:block;margin-bottom:6px}.comlog-table td .schedule-error{color:#a73535}.comlog-table td a,.comlog-table summary{font-size:.76rem;margin-top:8px}
.comlog-pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:22px}.comlog-pagination .admin-help{margin:0}
@media(max-width:640px){.comlog-filters{padding:20px;gap:12px}.comlog-filters .admin-field,.comlog-filters .admin-field:first-child{flex-basis:100%;min-width:0}.comlog-note{padding-left:20px;padding-right:20px}.comlog-pagination{gap:10px;padding:18px}}
