/* EiD Office HF4 – faithful compact three-price-list layout in EiD brand colours. */
#servicesView{--svc-rose:#DBCFCF;--svc-beige:#F0ECE8;--svc-mint:#C8E5DE;--svc-greige:#C0A999;--svc-border:#e6e0da;--svc-ink:#3e3c3b; color:var(--svc-ink)}
#servicesView .svc-intro{padding:0 2px 18px}#servicesView .svc-intro h1{margin:0 0 6px;font-size:1.55rem;line-height:1.2}#servicesView .svc-intro p{margin:0;color:#706d69;font-size:.92rem}
#servicesView .svc-note{border:1px solid #e1e4e4;background:#f7faf9;padding:13px 16px;border-radius:11px;color:#686562;font-size:.81rem;margin-bottom:19px;line-height:1.55}
#servicesView .svc-page{background:#fff;border:1px solid var(--svc-border);border-radius:14px;padding:20px 22px 24px;box-shadow:0 3px 18px #6c564b0a;min-width:0}
#servicesView .svc-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}#servicesView .svc-tab{border:1px solid var(--svc-border);background:#fff;color:#62605e;border-radius:30px;padding:8px 13px;font-size:.82rem;cursor:pointer;min-height:38px}#servicesView .svc-tab[aria-selected="true"]{background:#e5f3ee;color:#44736a;border-color:#c8e5de;font-weight:700}#servicesView .svc-tab:focus-visible,#servicesView button:focus-visible{outline:3px solid #a6d5c7;outline-offset:2px}#servicesView .svc-count{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;min-width:21px;padding:1px 5px;background:#f0eeee;font-weight:700;margin-left:5px;font-size:.71rem}
#servicesView .svc-section-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}#servicesView .svc-section-top h2{font-size:1.02rem;margin:0 0 5px}#servicesView .svc-section-top p{font-size:.78rem;color:#797571;margin:0}#servicesView .svc-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;border-radius:8px;border:1px solid #d0c2bb;color:#5a4f4c;background:#fff;min-height:34px;padding:6px 12px;cursor:pointer;font-weight:650;font-size:.82rem}#servicesView .svc-button.primary{color:#fff;background:#aa887e;border-color:#aa887e}#servicesView .svc-button:hover{filter:brightness(.96)}#servicesView .svc-icon-btn{border:1px solid #b7d8c7;background:#eff9f2;color:#528776;width:31px;height:29px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem}#servicesView .svc-actions{white-space:nowrap;display:flex;align-items:center;gap:5px;justify-content:flex-end}
#servicesView .svc-trip{background:#f8faf9;border:1px solid #e2e9e7;padding:15px;border-radius:12px;margin-bottom:18px}#servicesView .svc-trip-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}#servicesView .svc-trip-heading b{font-size:.86rem}#servicesView .svc-trip-heading p{margin:4px 0 0;color:#7a7771;font-size:.75rem}#servicesView .svc-table-wrap{overflow:auto;width:100%;border:1px solid #e6e3e0;border-radius:10px}#servicesView .svc-table{border-collapse:collapse;width:100%;min-width:670px}#servicesView .svc-table th{font-size:.77rem;text-align:left;line-height:1.4;font-weight:750;background:#f8f6f4;color:#66635e;border-bottom:1px solid #dad5d1;padding:11px 12px}#servicesView .svc-table td{border-bottom:1px solid #ece8e6;padding:13px 12px;vertical-align:middle;font-size:.86rem}#servicesView .svc-table tr:last-child td{border-bottom:0}#servicesView .svc-table th:not(:first-child),#servicesView .svc-table td.svc-money{text-align:center}#servicesView .svc-table .svc-name{font-weight:700}#servicesView .svc-table td small{display:block;color:#8a837d;margin-top:3px;font-size:.72rem;line-height:1.45}#servicesView .svc-price{font-variant-numeric:tabular-nums;font-weight:680}#servicesView .svc-muted{color:#96918d}#servicesView .svc-kind{font-size:.7rem;display:inline-block;border-radius:10px;background:#f0e9e7;padding:2px 7px;margin-top:4px}#servicesView .svc-status{display:inline-block;border-radius:9px;background:#e2f3ea;padding:3px 9px;color:#376b59;font-size:.73rem}#servicesView .svc-status.off{color:#725c58;background:#f2e5e3}#servicesView .svc-empty{text-align:center;padding:29px 12px;color:#76716d;font-size:.9rem}
#servicesView .svc-help{font-size:.75rem;color:#78716d;line-height:1.5;margin-top:11px}#servicesView .svc-hidden{display:none!important}
#svcModalOverlay{position:fixed;inset:0;z-index:5000;background:#241e1c80;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}#svcModalOverlay[hidden]{display:none!important}#svcModal{max-height:min(95vh,990px);overflow:auto;width:min(1020px,100%);background:#fff;border-radius:14px;box-shadow:0 20px 65px #2c232450;color:#413d39;display:flex;flex-direction:column}#svcModal .svc-modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7e3df;padding:15px 20px}#svcModal h2{font-size:1.18rem;margin:0}#svcModal .svc-close{border:0;background:transparent;color:#777;font-size:1.65rem;cursor:pointer;line-height:1;padding:3px 8px}#svcModal .svc-modal-body{padding:20px;overflow:auto}#svcModal .svc-modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:13px 20px;border-top:1px solid #e7e3df;background:#fdfbfa}#svcModal label{display:block;font-size:.86rem;color:#595652;font-weight:600;margin:0 0 9px}#svcModal input,#svcModal textarea,#svcModal select{box-sizing:border-box;font:inherit;width:100%;background:#fff;border:1px solid #c9c5c1;border-radius:6px;padding:10px 11px;min-height:40px;color:#333}#svcModal textarea{resize:vertical;min-height:88px}#svcModal input:focus,#svcModal textarea:focus,#svcModal select:focus{outline:2px solid #c8e5de;outline-offset:1px}#svcModal .svc-field{margin-bottom:17px}#svcModal .svc-hint{font-size:.75rem;line-height:1.45;color:#777;margin-top:5px}#svcModal .svc-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}#svcModal .svc-price-card{border:1px solid #e3ddd8;padding:15px;border-radius:8px;min-width:0}#svcModal .svc-price-card h3{font-size:.95rem;margin:0}#svcModal .svc-price-card>small{display:block;margin:4px 0 16px;color:#887e7b;font-size:.74rem}#svcModal .svc-price-card label{font-size:.8rem;margin-top:12px}#svcModal .svc-input-suffix{display:flex}#svcModal .svc-input-suffix input{border-radius:6px 0 0 6px;min-width:0}#svcModal .svc-input-suffix span{display:flex;align-items:center;justify-content:center;padding:8px 10px;border:1px solid #d1ccc9;border-left:0;border-radius:0 6px 6px 0;background:#f1efed;font-size:.79rem}#svcModal .svc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}#svcModal .svc-inline-error{background:#fdf0ee;color:#9b3c32;border-radius:6px;padding:10px;margin:7px 0}#svcModal .svc-secondary-btn{border:1px solid #cfc6c0;padding:9px 13px;border-radius:6px;background:#fff;cursor:pointer}#svcModal .svc-primary-btn{border:1px solid #aa887e;padding:9px 14px;border-radius:6px;background:#aa887e;color:#fff;cursor:pointer}#svcModal button:disabled{opacity:.5;cursor:not-allowed}#svcModal .svc-alert{border-left:3px solid #c0a999;background:#faf7f3;padding:10px 12px;font-size:.78rem;color:#615956;margin:9px 0}#svcModal .svc-revenue-total{font-size:1.35rem;color:#467b6f;font-weight:750}#svcModal .svc-revenue-list{margin-top:14px;max-height:250px;overflow:auto}#svcModal .svc-special-row{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:9px 0}
@media(max-width:760px){#servicesView .svc-page{padding:14px 11px}#servicesView .svc-section-top{align-items:flex-start;flex-direction:column}#servicesView .svc-table{min-width:610px}#servicesView .svc-note{font-size:.76rem}#svcModalOverlay{padding:8px;align-items:flex-start}#svcModal{max-height:95dvh;margin:auto}#svcModal .svc-price-grid{grid-template-columns:1fr}#svcModal .svc-two-col{grid-template-columns:1fr}#svcModal .svc-modal-body{padding:13px}#svcModal .svc-modal-footer{position:sticky;bottom:0}#servicesView .svc-tab{padding:8px 10px}}
#servicesView .svc-table th small{display:block;font-weight:500;color:#918984;margin-top:3px;font-size:.7rem}
/* On phones show fully readable price cards rather than a five-column scrolling table. */
@media(max-width:760px){
 #servicesView .svc-table-wrap{overflow-x:visible}
 #servicesView .svc-table{min-width:0;width:100%}
 #servicesView .svc-table thead{display:none}
 #servicesView #serviceRows .svc-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #e4deda;padding:9px 5px}
 #servicesView #serviceRows .svc-table tbody tr:last-child{border-bottom:0}
 #servicesView #serviceRows .svc-table tbody td{display:block;border:0;min-width:0;padding:7px 3px;overflow-wrap:anywhere;font-size:.77rem}
 #servicesView #serviceRows .svc-table tbody td:first-child{grid-column:1/-1;padding:8px 5px 10px;font-size:.9rem}
 #servicesView #serviceRows .svc-table tbody td.svc-money{border-top:1px solid #eee8e5;background:#fdfbfa;padding:10px 3px}
 #servicesView #serviceRows .svc-table tbody td.svc-money::before{display:block;min-height:28px;color:#8e7e77;font-size:.63rem;font-weight:600;line-height:1.35}
 #servicesView #serviceRows .svc-table tbody td:nth-child(2)::before{content:'Privat / Gewerbe'}
 #servicesView #serviceRows .svc-table tbody td:nth-child(3)::before{content:'Pflegekasse'}
 #servicesView #serviceRows .svc-table tbody td:nth-child(4)::before{content:'Preisliste 3'}
 #servicesView #serviceRows .svc-table tbody td:last-child{grid-column:1/-1;padding:8px 5px 2px}
 #servicesView .svc-table .svc-name{font-size:.9rem}
 #servicesView .svc-table td small{font-size:.68rem}
 #servicesView .svc-trip .svc-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 #servicesView .svc-trip .svc-table td{display:block;min-width:0;border:0;padding:9px 4px;font-size:.75rem}
 #servicesView .svc-trip .svc-table td:first-child{grid-column:1/-1;padding:7px;border-bottom:1px solid #e6e1dc;font-weight:700}
 #servicesView .svc-trip .svc-table td.svc-money::before{display:block;color:#8e7e77;font-size:.63rem;font-weight:600;line-height:1.3;margin-bottom:5px}
 #servicesView .svc-trip .svc-table td:nth-child(2)::before{content:'Privat / Gewerbe'}
 #servicesView .svc-trip .svc-table td:nth-child(3)::before{content:'Pflegekasse'}
 #servicesView .svc-trip .svc-table td:nth-child(4)::before{content:'Preisliste 3'}
 #servicesView .svc-actions{justify-content:flex-end}
 #servicesView #svcSecondary .svc-table-wrap{overflow-x:auto}
 #servicesView #svcSecondary .svc-table{min-width:580px}
 #servicesView #svcSecondary .svc-table thead{display:table-header-group}
}
