/* EiD Office 0.4.2.36 – Firmeneinstellungen mit horizontalen Reitern wie in der Kundenakte. */
.eid-settings-app{box-sizing:border-box;display:block;width:100%;min-width:0;border:1px solid #e6dcd7;border-radius:13px;overflow:hidden;background:#fff;margin-bottom:18px}
/* Einheitliche, einzeilige Reiterleiste – auf schmalen Bildschirmen horizontal scrollbar. */
.eid-settings-tabs{box-sizing:border-box;display:flex;align-items:stretch;flex-wrap:nowrap;gap:3px;min-width:0;width:100%;padding:0 12px;background:#f8f5f3;border-bottom:1px solid #ddd9d6;border-right:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#d6c5be transparent;scroll-padding-inline:12px;-webkit-overflow-scrolling:touch}
.eid-settings-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;width:auto;min-height:50px;white-space:nowrap;padding:13px 14px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;background:transparent;color:#786f6a;font:inherit;font-size:12px;font-weight:500;line-height:1.3;text-align:center;cursor:pointer;transition:background-color .12s,color .12s}
.eid-settings-tabs button.active{background:#fff;color:#7a534c;font-weight:750;border-color:#e5dfda;box-shadow:0 1px #fff}
.eid-settings-tabs button:hover:not(.active){background:#fff9f7;color:#885f58}
.eid-settings-tabs button:focus-visible{outline:2px solid #94766d;outline-offset:-3px}
.eid-settings-tab-icon{font-size:15px;width:17px;text-align:center;flex:none;color:#8f6f68;line-height:1}
.eid-settings-content{box-sizing:border-box;padding:22px 23px;min-width:0;width:100%}
.eid-settings-title{font-size:20px;color:#4e413e;margin:0 0 5px}.eid-settings-description{font-size:12px;color:#8b7d77;margin-bottom:17px}
.eid-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.eid-settings-field{display:grid;gap:5px;font-size:12px;color:#5c514b;font-weight:650;min-width:0}
.eid-settings-field.wide{grid-column:1/-1}.eid-settings-field input:not([type=checkbox]),.eid-settings-field textarea,.eid-settings-field select{min-width:0;width:100%;border:1px solid #ded4ce;border-radius:9px;background:#fff;padding:9px 11px;font:inherit;font-weight:400;color:#332b27;min-height:39px}
.eid-settings-field textarea{min-height:82px;resize:vertical}.eid-settings-field.check{grid-column:1/-1;display:flex;align-items:center;gap:9px;line-height:1.5}
.eid-settings-supplement{border:1px solid #e9ded9;border-radius:11px;padding:14px;margin-top:16px}.eid-settings-supplement h3{font-size:15px;color:#6b5049;margin:0 0 4px}.eid-settings-supplement p{font-size:11px;color:#83766e;margin:0 0 14px}
.eid-settings-row{display:grid;grid-template-columns:repeat(var(--eid-cols,2),minmax(0,1fr)) minmax(118px,auto);gap:10px;padding:12px;border-top:1px solid #ece4df;align-items:start}
.eid-settings-row:first-of-type{border-top:0}
.eid-settings-row .eid-settings-field.wide{grid-column:auto}
.eid-settings-row.readonly{background:#fff}
.eid-settings-row.editing{background:#fcfaf8}
.eid-settings-row-actions{display:flex;flex-direction:column;gap:8px;align-self:stretch;justify-content:flex-start}
.eid-settings-row-actions .btn{width:100%;justify-content:center}
.eid-settings-display{border:1px solid #ded4ce;border-radius:9px;background:#fff;padding:9px 11px;min-height:64px;display:grid;gap:6px;align-content:start}
.eid-settings-display-label{font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#8b7d77;font-weight:700}
.eid-settings-display-value{font-size:13px;color:#332b27;line-height:1.4;word-break:break-word}
.eid-settings-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700}
.eid-settings-badge.yes{background:#e4f2eb;color:#2d775d}.eid-settings-badge.no{background:#f4eeeb;color:#8c7f77}
.eid-settings-add{margin:10px 0 0}.eid-settings-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:18px}
.eid-settings-alert{padding:11px 13px;background:#f0f6f1;color:#55765c;border:1px solid #d6e7d7;border-radius:9px;font-size:12px;line-height:1.5;margin:0 0 14px}.eid-settings-alert.warning{background:#fcf8f4;border-color:#ebdcd2;color:#86695c}
.eid-settings-status{min-height:18px;font-size:12px;color:#837970;margin-top:13px}
.eid-settings-unknown{font-size:11px;color:#867b75;padding:8px 0}
.eid-settings-route-link{padding:12px;border-radius:8px;border:1px solid #e4d6cf;background:#faf6f3;color:#715e56;font-size:12px;margin:10px 0;display:flex;justify-content:space-between;gap:9px;align-items:center;flex-wrap:wrap}
@media(max-width:960px){.eid-settings-content{padding:18px 16px}}
@media(max-width:640px){.eid-settings-tabs{padding:0 8px}.eid-settings-tabs button{padding:12px 11px;min-height:46px;font-size:11px}.eid-settings-content{padding:15px 12px}}
@media(max-width:740px){.eid-settings-row{grid-template-columns:1fr}.eid-settings-row-actions{flex-direction:row}.eid-settings-row-actions .btn{width:auto;flex:1}}
@media(max-width:640px){.eid-settings-fields{grid-template-columns:1fr}}

/* 0.4.2.32 – employee templates by position + employment type */
.eid-staff-default-list{display:grid;gap:14px}.eid-staff-default-item{border:1px solid #e5d8d3;background:#fbf9f7;border-radius:12px;padding:16px}.eid-staff-default-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:#674e47}.eid-staff-default-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.eid-staff-default-item p{font-size:11px;color:#83766e;margin:13px 0 0}@media(max-width:960px){.eid-staff-default-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.eid-staff-default-fields{grid-template-columns:1fr}}

/* v0.4.2.42 – zwei unmissverständliche, getrennte Arbeits- und Speicherbereiche. */
.eid-settings-save-hint{margin:12px 0 15px;line-height:1.55}
.eid-settings-rights-section{margin-top:24px;padding-top:20px;border-top:2px solid #eee5df;min-width:0}
.eid-settings-rights-section>h3{font-size:16px;color:#654b45;margin:0 0 10px;font-weight:750}
.eid-settings-rights-section .eid-settings-route-link{margin-bottom:16px}

/* EiD Office 0.4.2.52 – Schnittstellen als kompakte Karten, Markenfarben. */
.eid-int-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.eid-int-head .eid-settings-title{margin:0 0 4px}.eid-int-head .eid-settings-description{margin:0}
.eid-int-head-marker{white-space:nowrap;color:#7b665d;font-size:11px;font-weight:700;background:#f0ece8;border:1px solid #e7ddda;border-radius:999px;padding:8px 12px}
.eid-int-alert{display:flex;align-items:flex-start;gap:12px;background:#f4f0ed;border:1px solid #dbcfcf;border-radius:12px;padding:15px 17px;margin-bottom:18px;color:#655249}
.eid-int-alert-symbol{display:grid;place-items:center;background:#c8e5de;border-radius:9px;width:32px;height:32px;flex:none;font-size:17px;color:#456b63}
.eid-int-alert p{margin:0;display:grid;gap:4px;line-height:1.5;font-size:12px}.eid-int-alert p strong{font-size:13px;color:#59453f}
.eid-int-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.eid-int-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:9px;cursor:pointer;padding:19px 19px 16px;border:1px solid #dbcfcf;border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(81,63,55,.035);transition:border-color .15s,box-shadow .15s}
.eid-int-card:hover{border-color:#c0a999;box-shadow:0 6px 18px rgba(81,63,55,.07)}
.eid-int-card:focus-within{outline:2px solid #a58478;outline-offset:2px}
.eid-int-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eid-int-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #e6d9d8;border-radius:10px;background:#f0ece8;color:#836a61;font-size:20px}
.eid-int-state{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:750;background:#c8e5de;color:#47645d}
.eid-int-card-title{font-size:15px;font-weight:760;line-height:1.4;color:#443b36}
.eid-int-card-description{font-size:12px;line-height:1.6;color:#857770;min-height:39px}
.eid-int-card-bottom{display:flex;align-items:center;border-top:1px solid #f0e9e6;padding-top:13px;margin-top:auto}
.eid-int-switch-line{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:#74655c;font-weight:600}
.eid-int-switch-line input{position:absolute;opacity:0;width:1px;height:1px;margin:0;clip-path:inset(50%)}
.eid-int-switch{width:38px;height:22px;flex:none;background:#d7d1ce;border-radius:999px;position:relative;transition:background .16s}
.eid-int-switch::before{content:"";position:absolute;width:16px;height:16px;background:white;top:3px;left:3px;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .16s}
.eid-int-switch-line input:checked+.eid-int-switch{background:#b49a8e}.eid-int-switch-line input:checked+.eid-int-switch::before{transform:translateX(16px)}
.eid-int-actions{border-top:1px solid #eee4e0;margin-top:20px;padding-top:16px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.eid-int-actions-hint{font-size:12px;color:#8d7e77}.eid-int-buttons{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap}
@media(max-width:780px){.eid-int-grid{grid-template-columns:1fr}.eid-int-card-description{min-height:0}}
@media(max-width:530px){.eid-int-head{align-items:flex-start}.eid-int-head-marker{display:none}.eid-int-card{padding:15px}.eid-int-actions{align-items:stretch}.eid-int-buttons{width:100%}.eid-int-buttons .btn{flex:1;justify-content:center}}


