:root{--srs-orange:#E56B25;--srs-blue:#08a9c8;--srs-dark:#343434;--srs-bg:#f5f7f9;--srs-card:#fff;--srs-border:#e5e7eb;--srs-radius:22px;--srs-shadow:0 18px 50px rgba(0,0,0,.10)}
.fcsrs-shell{max-width:1180px;margin:0 auto;padding:clamp(16px,3vw,36px);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--srs-dark)}
.fcsrs-hero{display:flex;gap:22px;align-items:center;justify-content:space-between;margin-bottom:22px;padding:24px;border-radius:var(--srs-radius);background:linear-gradient(135deg,#fff 0%,#f4fbfd 48%,#fff1e9 100%);box-shadow:var(--srs-shadow);border:1px solid var(--srs-border)}
.fcsrs-logo{max-width:260px;width:42vw;height:auto}.fcsrs-hero h1{margin:.1rem 0;font-size:clamp(1.6rem,4vw,3rem);line-height:1.05}.fcsrs-hero p{margin:0;color:#666;font-size:clamp(.95rem,2vw,1.1rem)}
.fcsrs-card{background:var(--srs-card);border:1px solid var(--srs-border);border-radius:var(--srs-radius);box-shadow:var(--srs-shadow);padding:clamp(18px,3vw,30px);margin:18px 0}.fcsrs-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fcsrs-full{grid-column:1/-1}.fcsrs-card section{border:1px solid var(--srs-border);border-radius:18px;padding:18px;background:#fff}.fcsrs-card h2{font-size:1.15rem;margin:.1rem 0 1rem;border-left:6px solid var(--srs-orange);padding-left:10px}
.fcsrs-card label{display:block;font-weight:700;margin:14px 0 6px}.fcsrs-card input,.fcsrs-card select,.fcsrs-card textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:14px;padding:13px 14px;font-size:16px;background:#fff}.fcsrs-card input:focus,.fcsrs-card select:focus,.fcsrs-card textarea:focus{outline:3px solid rgba(8,169,200,.18);border-color:var(--srs-blue)}
.fcsrs-primary,.fcsrs-secondary{border:0;border-radius:999px;padding:13px 22px;font-weight:800;cursor:pointer;font-size:16px}.fcsrs-primary{background:var(--srs-orange);color:#fff;box-shadow:0 10px 20px rgba(229,107,37,.25)}.fcsrs-secondary{background:#eef7fa;color:var(--srs-dark);margin-top:8px}.fcsrs-hint{padding:12px 14px;background:#eefaff;border-left:5px solid var(--srs-blue);border-radius:12px;color:#4b5563}.fcsrs-photo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.fcsrs-photo{border:1px solid var(--srs-border);border-radius:18px;padding:14px;background:#fafafa}.fcsrs-photo img{width:100%;border-radius:14px;margin-top:10px;max-height:220px;object-fit:cover}.fcsrs-sign{width:100%;height:180px;border:2px dashed #cbd5e1;border-radius:16px;background:#fff;touch-action:none}.fcsrs-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.fcsrs-gallery img{width:100%;border-radius:12px}.fcsrs-gallery figcaption{font-weight:700;margin-top:6px}.fcsrs-admin-logo{max-width:320px;background:#fff;padding:18px;border-radius:16px}
@media (max-width:800px){.fcsrs-hero{align-items:flex-start;flex-direction:column}.fcsrs-logo{width:80vw;max-width:330px}.fcsrs-grid{grid-template-columns:1fr}.fcsrs-card{padding:14px}.fcsrs-card section{padding:14px}.fcsrs-primary,.fcsrs-secondary{width:100%;margin-top:10px}}
@media print{body *{visibility:hidden}.fcsrs-print,.fcsrs-print *{visibility:visible}.fcsrs-print{position:absolute;left:0;top:0;width:100%}.fcsrs-no-print{display:none!important}.fcsrs-print img{max-height:260px;object-fit:contain}}

.fcsrs-check{display:flex!important;gap:10px;align-items:center;background:#f7fbfd;border:1px solid rgba(12,171,205,.25);border-radius:14px;padding:12px 14px;margin:10px 0 18px}.fcsrs-check input{width:auto!important;accent-color:#08a9c8}

.fcsrs-dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:18px 0}.fcsrs-stat{background:#fff;border:1px solid var(--srs-border);border-radius:22px;padding:24px;box-shadow:var(--srs-shadow);border-top:7px solid var(--srs-orange)}.fcsrs-stat span{display:block;color:#667085;font-weight:800;text-transform:uppercase;font-size:.78rem;letter-spacing:.04em}.fcsrs-stat strong{display:block;font-size:3rem;color:var(--srs-dark);line-height:1.1}.fcsrs-pill{display:inline-block;border-radius:999px;background:#eefaff;border:1px solid rgba(8,169,200,.25);padding:5px 10px;font-weight:800}.fcsrs-error{border-left:5px solid #b42318;background:#fff1f0;padding:12px;border-radius:12px}.fcsrs-fuel{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin:8px 0 18px}.fcsrs-fuel button{border:1px solid var(--srs-border);background:#fff;border-radius:14px;min-height:62px;font-weight:900;cursor:pointer;color:var(--srs-dark)}.fcsrs-fuel button.filled{background:linear-gradient(180deg,#eefaff,#d9f7ff);border-color:rgba(8,169,200,.45)}.fcsrs-fuel button.active{outline:3px solid rgba(229,107,37,.28);border-color:var(--srs-orange)}.fcsrs-fuel small{font-weight:700;color:#667085}.fcsrs-pdf-head{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:6px solid var(--srs-orange);padding-bottom:18px;margin-bottom:18px}.fcsrs-pdf-head img{max-width:260px;height:auto}.fcsrs-pdf-body{background:#fff}.fcsrs-print{background:#fff;border-radius:18px;padding:24px}.fcsrs-print .fcsrs-primary{display:inline-block;text-decoration:none;margin-top:18px}
@media(max-width:640px){.fcsrs-fuel{grid-template-columns:repeat(4,1fr)}.fcsrs-pdf-head{flex-direction:column;align-items:flex-start}.fcsrs-stat strong{font-size:2.4rem}}

.fcsrs-compare{margin-top:24px;border-top:6px solid var(--srs-orange);padding-top:18px}.fcsrs-compare-row{border:1px solid var(--srs-border);border-radius:18px;margin:16px 0;padding:16px;background:#fff}.fcsrs-compare-row h3{margin:0 0 12px;color:var(--srs-dark)}.fcsrs-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fcsrs-compare-grid figure{margin:0;background:#f8fafc;border-radius:16px;padding:12px}.fcsrs-compare-grid figcaption{font-weight:900;color:var(--srs-orange);margin-bottom:8px}.fcsrs-compare-grid img{width:100%;max-height:360px;object-fit:contain;border-radius:12px;background:#fff}.fcsrs-missing{height:240px;display:flex;align-items:center;justify-content:center;border:2px dashed #cbd5e1;border-radius:12px;color:#667085;font-weight:800}.fcsrs-monitor-body{background:#111}.fcsrs-landscape{max-width:1366px}.fcsrs-customer-monitor{background:#fff;border-radius:28px;padding:24px;min-height:80vh}.fcsrs-monitor-top{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:6px solid var(--srs-orange);padding-bottom:16px;margin-bottom:18px}.fcsrs-monitor-top img{max-width:280px}.fcsrs-monitor-top span{font-size:1.2rem;font-weight:900;color:var(--srs-dark)}
@media (orientation:landscape) and (min-width:900px){.fcsrs-customer-monitor .fcsrs-print{font-size:1.08rem}.fcsrs-customer-monitor .fcsrs-gallery{grid-template-columns:repeat(4,1fr)}.fcsrs-customer-monitor .fcsrs-compare-grid img{max-height:430px}}
@media(max-width:760px){.fcsrs-compare-grid{grid-template-columns:1fr}.fcsrs-monitor-top{flex-direction:column;align-items:flex-start}}
.fcsrs-danger{border-color:#b32d2e!important;color:#b32d2e!important;background:#fff!important}
.fcsrs-danger:hover{background:#b32d2e!important;color:#fff!important}
.fcsrs-legal{margin-top:22px;padding:18px;border-radius:16px;background:#fff8f3;border-left:6px solid var(--srs-orange);color:var(--srs-dark);line-height:1.55}
.fcsrs-legal p{margin:.4rem 0 .8rem}.fcsrs-self-return-wrap{display:none}

/* v3.1 Dashboard table refinement and customer-start modal */
.fcsrs-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--srs-border);border-radius:16px;background:#fff}
.fcsrs-dashboard-table{border:0!important;margin:0!important;min-width:980px;border-collapse:separate!important;border-spacing:0!important}
.fcsrs-dashboard-table th{background:#f8fafc!important;color:var(--srs-dark);font-weight:900;padding:14px 16px!important;white-space:nowrap;border-bottom:1px solid var(--srs-border)!important}
.fcsrs-dashboard-table td{padding:14px 16px!important;vertical-align:middle!important;border-bottom:1px solid #eef2f6!important;line-height:1.35}
.fcsrs-dashboard-table tr:last-child td{border-bottom:0!important}
.fcsrs-dashboard-table .button{border-radius:10px!important;min-height:36px;display:inline-flex!important;align-items:center;justify-content:center;font-weight:800;text-decoration:none!important;margin:0!important}
.fcsrs-actions-col{min-width:330px}.fcsrs-action-stack{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.fcsrs-muted{color:#667085;font-size:.88rem}.fcsrs-card .widefat{box-shadow:none!important}
.fcsrs-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.52);z-index:99999;align-items:center;justify-content:center;padding:18px}
.fcsrs-modal.is-open{display:flex}.fcsrs-modal-box{position:relative;width:min(560px,100%);background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.35);border-top:8px solid var(--srs-orange)}
.fcsrs-modal-box label{display:block;font-weight:900;margin-top:14px}.fcsrs-modal-box input{width:100%;padding:14px;border:1px solid var(--srs-border);border-radius:12px;font-size:16px;margin-top:6px}.fcsrs-modal-close{position:absolute;right:16px;top:12px;border:0;background:#f2f4f7;border-radius:99px;width:38px;height:38px;font-size:26px;line-height:1;cursor:pointer;color:var(--srs-dark)}
.fcsrs-signoff-card{margin-top:24px;border:2px solid rgba(229,107,37,.35)}
#fcsrs-finalize-result{margin-top:14px;font-weight:800}
@media(max-width:782px){.fcsrs-dashboard-table{min-width:860px}.fcsrs-actions-col{min-width:260px}.fcsrs-action-stack .button{flex:1 1 110px}.fcsrs-modal-box{padding:20px}}

/* v3.2 Frontend workflow and success modal */
.fcsrs-responsive-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.fcsrs-table{width:100%;border-collapse:separate;border-spacing:0 8px}
.fcsrs-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#777;text-align:left;padding:8px 12px;white-space:nowrap}
.fcsrs-table td{background:#fff;padding:12px;border-top:1px solid #eee;border-bottom:1px solid #eee;vertical-align:middle}
.fcsrs-table td:first-child{border-left:1px solid #eee;border-radius:12px 0 0 12px}
.fcsrs-table td:last-child{border-right:1px solid #eee;border-radius:0 12px 12px 0;white-space:nowrap}
.fcsrs-goodbye-modal{position:fixed;inset:0;background:rgba(52,52,52,.78);z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px}
.fcsrs-goodbye-box{background:#fff;border-radius:28px;padding:44px;max-width:520px;width:100%;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.fcsrs-goodbye-box h1{font-size:48px;margin:0 0 12px;color:#E56B25}
@media(max-width:760px){.fcsrs-table{border-spacing:0}.fcsrs-table thead{display:none}.fcsrs-table tr{display:block;margin-bottom:12px;background:#fff;border:1px solid #eee;border-radius:14px;padding:10px}.fcsrs-table td{display:block;border:0!important;padding:7px 4px;white-space:normal!important}.fcsrs-goodbye-box h1{font-size:36px}}


/* v3.4 Frontend login mask fix */
.fcsrs-login-card{max-width:560px;margin:32px auto;text-align:left}
.fcsrs-login-card .fcsrs-logo{display:block;margin:0 auto 18px;max-width:320px}
.fcsrs-login-card form.login{margin-top:18px}
.fcsrs-login-card .login-username label,.fcsrs-login-card .login-password label,.fcsrs-login-card .login-remember label{font-weight:900;color:var(--srs-dark)}
.fcsrs-login-card .login-username input,.fcsrs-login-card .login-password input{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:14px;padding:14px 15px;font-size:17px;background:#fff}
.fcsrs-login-card .login-remember input{width:auto;margin-right:8px;accent-color:var(--srs-orange)}
.fcsrs-login-card .login-submit input,#fcsrs-wp-login-submit{appearance:none;-webkit-appearance:none;border:0!important;border-radius:999px!important;background:var(--srs-orange)!important;color:#fff!important;padding:14px 26px!important;font-weight:900!important;font-size:17px!important;cursor:pointer!important;min-height:48px!important;line-height:1!important;width:100%!important;text-align:center!important;box-shadow:0 10px 20px rgba(229,107,37,.25)!important}
.fcsrs-login-card .login-submit input[value=""]{font-size:0!important}
.fcsrs-login-card .login-submit input[value=""]::after{content:"Anmelden";font-size:17px}


/* v3.6 Frontend interaction fix: verhindert, dass Theme-/Overlay-CSS Links, Buttons oder Eingabefelder blockiert */
.fcsrs-shell, .fcsrs-shell *{box-sizing:border-box}
.fcsrs-shell a,
.fcsrs-shell button,
.fcsrs-shell input,
.fcsrs-shell select,
.fcsrs-shell textarea,
.fcsrs-shell canvas,
.fcsrs-shell label{pointer-events:auto!important; position:relative; z-index:2}
.fcsrs-responsive-table{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; position:relative; z-index:2; pointer-events:auto!important}
.fcsrs-table{width:100%; border-collapse:collapse; min-width:720px; background:#fff}
.fcsrs-table th,.fcsrs-table td{padding:12px 14px; border-bottom:1px solid var(--srs-border); text-align:left; vertical-align:middle}
.fcsrs-table th{background:#f8fafc; font-weight:900; color:var(--srs-dark)}
.fcsrs-table .button,.fcsrs-login-status .button{display:inline-flex!important; align-items:center; justify-content:center; gap:6px; min-height:38px; padding:8px 14px!important; border-radius:999px!important; text-decoration:none!important; cursor:pointer!important; pointer-events:auto!important}
.fcsrs-login-status{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; position:relative; z-index:3}
.fcsrs-modal:not(.is-open){display:none!important; visibility:hidden!important; opacity:0!important; pointer-events:none!important}
.fcsrs-modal.is-open{display:flex!important; visibility:visible!important; opacity:1!important; pointer-events:auto!important}
.fcsrs-goodbye-modal{position:fixed; inset:0; z-index:100000; background:rgba(0,0,0,.62); display:flex; align-items:center; justify-content:center; padding:20px}
.fcsrs-goodbye-box{width:min(520px,100%); background:#fff; border-radius:28px; padding:34px; text-align:center; box-shadow:0 30px 90px rgba(0,0,0,.35); border-top:8px solid var(--srs-orange)}
.fcsrs-goodbye-box h1{font-size:clamp(2rem,6vw,4rem); margin:0 0 12px; color:var(--srs-orange)}
@media(max-width:760px){.fcsrs-table{min-width:640px}.fcsrs-login-status{align-items:flex-start}}


/* v3.7 QR-Code Scan */
.fcsrs-qr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.fcsrs-qr-row label{margin:0!important}
.fcsrs-qr-box video{width:100%;max-height:52vh;background:#111;border-radius:18px;margin:12px 0;object-fit:cover}
.fcsrs-qr-scan{white-space:nowrap}
@media(max-width:640px){.fcsrs-qr-row{align-items:stretch;flex-direction:column}.fcsrs-qr-scan{width:100%}}


/* v3.8: Frontend-Formular-Fix gegen Theme-Overlays und nicht anklickbare Felder */
.fcsrs-shell{position:relative!important; z-index:50!important; isolation:isolate!important; pointer-events:auto!important;}
.fcsrs-shell form,.fcsrs-shell section,.fcsrs-shell .fcsrs-card{position:relative!important; z-index:3!important; pointer-events:auto!important;}
.fcsrs-shell input,.fcsrs-shell select,.fcsrs-shell textarea,.fcsrs-shell button,.fcsrs-shell a,.fcsrs-shell canvas{pointer-events:auto!important; touch-action:auto; -webkit-user-select:auto!important; user-select:auto!important;}
.fcsrs-shell input:not([type=file]),.fcsrs-shell textarea{cursor:text!important;}
.fcsrs-primary-action,.fcsrs-table a.fcsrs-primary-action{background:#E56B25!important;color:#fff!important;border-color:#E56B25!important;box-shadow:0 8px 16px rgba(229,107,37,.22)!important;}
.fcsrs-qr-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 6px;flex-wrap:wrap}.fcsrs-qr-row label{margin:0!important}.fcsrs-qr-row button{white-space:nowrap}
#fcsrs-qr-video{width:100%;max-height:60vh;border-radius:16px;background:#111;}

/* v3.9: Safari QR modal and SRS.self-return click fix */
#fcsrs-qr-video{width:100%;max-height:58vh;background:#111;border-radius:16px;object-fit:cover}
.fcsrs-qr-box{max-width:640px}
.fcsrs-self-return-wrap{position:relative;z-index:20;pointer-events:auto!important;display:block}
.fcsrs-self-return-wrap[style*="display: none"]{display:none!important}
.fcsrs-self-return-wrap .fcsrs-check,
.fcsrs-self-return-wrap input[type="checkbox"]{pointer-events:auto!important;cursor:pointer!important;position:relative;z-index:21}
.fcsrs-self-return-wrap input[type="checkbox"]{width:22px;height:22px;accent-color:#E56B25;margin-right:10px;vertical-align:middle}


/* v4.0 iPad/Safari Touchfix */
.fcsrs-shell button,
.fcsrs-shell .button,
.fcsrs-shell a,
.fcsrs-shell input,
.fcsrs-shell select,
.fcsrs-shell textarea,
.fcsrs-modal button,
.fcsrs-modal .button,
.fcsrs-goodbye-modal button{
  touch-action: manipulation!important;
  -webkit-tap-highlight-color: rgba(229,107,37,.18)!important;
  cursor: pointer!important;
}
.fcsrs-shell input,
.fcsrs-shell select,
.fcsrs-shell textarea{
  cursor: text!important;
  -webkit-user-select: text!important;
  user-select: text!important;
}
.fcsrs-qr-scan,
.fcsrs-self-return-wrap .fcsrs-check,
.fcsrs-self-return-wrap input[type="checkbox"]{
  touch-action: manipulation!important;
  -webkit-tap-highlight-color: rgba(229,107,37,.22)!important;
  min-height: 44px!important;
}
.fcsrs-self-return-wrap .fcsrs-check{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px 14px!important;
  border:1px solid var(--srs-border)!important;
  border-radius:14px!important;
  background:#fff!important;
}
#fcsrs-qr-modal,
#fcsrs-qr-modal *{
  touch-action: manipulation!important;
  pointer-events:auto!important;
}
#fcsrs-qr-video{touch-action:none!important;}


/* v4.1 iPad Fotoauswahl Touchfix */
.fcsrs-photo-touch{position:relative!important;margin-top:12px!important;min-height:52px!important;display:block!important;pointer-events:auto!important;touch-action:manipulation!important;}
.fcsrs-photo-input{position:absolute!important;inset:0!important;width:100%!important;height:52px!important;opacity:.01!important;z-index:3!important;pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important;-webkit-tap-highlight-color:rgba(229,107,37,.18)!important;}
.fcsrs-photo-pick{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;margin:0!important;text-align:center!important;touch-action:manipulation!important;-webkit-user-select:none!important;user-select:none!important;}
.fcsrs-photo input[type="file"]{font-size:16px!important;}
input[name="mileage"]{font-variant-numeric:tabular-nums!important;}

/* v4.2 Upload-/Serverstatus */
.fcsrs-upload-notice{background:#fff4ed;border:2px solid #E56B25;border-radius:14px;padding:16px;margin-top:14px;color:#343434;font-size:16px;line-height:1.45}
.fcsrs-upload-ok{background:#ecfff3;border-color:#1f9d55}
.fcsrs-pill-wait{background:#fff4ed!important;color:#a94710!important;border:1px solid #E56B25}
.fcsrs-stat-info strong{color:#E56B25}
/* v4.5 frontend status/pill alignment */
.fcsrs-ready-checkin{display:block;text-align:center;margin-left:auto;margin-right:auto;max-width:220px;}
.fcsrs-table td .fcsrs-ready-checkin{margin:0 auto;}

/* v4.6 Schaden-/Hinweisbilder und lokale Sicherung */
#fcsrs-damage-photo-count{min-height:48px;font-size:16px;touch-action:manipulation;}
.fcsrs-photo-extra{border-color:#E56B25!important;background:#fff8f3!important;}
.fcsrs-photo-extra strong::before{content:'Zusatzfoto · ';color:#E56B25;}
.fcsrs-local-save-hint{margin:10px 0 0!important;padding:10px 12px!important;border-radius:12px!important;background:#fff4ed!important;border-left:4px solid #E56B25!important;color:#343434!important;font-size:14px!important;line-height:1.35!important;}
.fcsrs-save-local{width:100%!important;min-height:48px!important;touch-action:manipulation!important;}

/* v4.7: Fortschrittsanzeige und sichtbare PDF-Unterschriften */
.fcsrs-progress{width:100%;height:16px;background:#e9e9e9;border-radius:999px;overflow:hidden;margin:14px 0 6px;box-shadow:inset 0 1px 3px rgba(0,0,0,.12)}
.fcsrs-progress-bar{height:100%;background:#E56B25;border-radius:999px;transition:width .25s ease}
.fcsrs-progress-label{font-weight:800;color:#343434;margin-bottom:8px;text-align:right}
.fcsrs-upload-ok .fcsrs-progress-bar{background:#2f8f4f}
.fcsrs-signature-output{margin-top:28px;page-break-inside:avoid}
.fcsrs-signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:10px}
.fcsrs-signature-box{border:1px solid #ddd;border-radius:14px;background:#fff;padding:14px;min-height:130px}
.fcsrs-signature-box strong{display:block;margin-bottom:10px;color:#343434}
.fcsrs-signature-box img{width:100%;max-height:95px;object-fit:contain;background:#fff;border-bottom:1px solid #343434}
@media(max-width:760px){.fcsrs-signature-grid{grid-template-columns:1fr}}
@media print{.fcsrs-signature-grid{grid-template-columns:1fr 1fr}.fcsrs-signature-box{border:1px solid #aaa}.fcsrs-progress,.fcsrs-progress-label{display:none!important}}

/* v4.8: SRS Carlo, bessere Abschlussdarstellung und farbige Kundenansicht-Buttons */
.fcsrs-carlo{display:block;width:min(320px,82vw);height:auto;margin:0 auto 18px;filter:drop-shadow(0 14px 24px rgba(0,0,0,.18));}
.fcsrs-goodbye-box{font-family:inherit!important;color:#343434!important;border-top:8px solid #E56B25!important;}
.fcsrs-goodbye-box h1{font-family:inherit!important;font-weight:900!important;letter-spacing:-.03em!important;color:#343434!important;font-size:clamp(2.4rem,6vw,4.8rem)!important;line-height:1!important;margin:4px 0 14px!important;}
.fcsrs-goodbye-box h1::after{content:'';display:block;width:84px;height:6px;border-radius:999px;background:#E56B25;margin:16px auto 0;}
.fcsrs-customer-view-start,
.fcsrs-customer-start-submit,
.fcsrs-table a.fcsrs-customer-view-start,
.fcsrs-modal .fcsrs-customer-start-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:#E56B25!important;color:#fff!important;border:1px solid #E56B25!important;border-radius:999px!important;padding:12px 18px!important;font-weight:900!important;text-decoration:none!important;box-shadow:0 10px 20px rgba(229,107,37,.24)!important;min-height:46px!important;line-height:1.2!important;}
.fcsrs-customer-view-start:hover,
.fcsrs-customer-start-submit:hover{filter:brightness(.96)!important;transform:translateY(-1px);}
.fcsrs-customer-start-submit{width:100%!important;margin-top:14px!important;font-size:17px!important;}


/* v4.9: Kundenansicht-Fortschritt und originaler SRS Carlo */
.fcsrs-goodbye-box .fcsrs-carlo{max-height:360px;object-fit:contain;}
.fcsrs-finalize-progress{margin-top:16px;}

/* v5.0 Carlo-Abschlussdialog / Kundenansicht-Speicherfix */
.fcsrs-goodbye-modal{position:fixed!important;inset:0!important;z-index:1000000!important;background:rgba(0,0,0,.64)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;pointer-events:auto!important;}
.fcsrs-goodbye-box{width:min(560px,96vw)!important;background:#fff!important;border-radius:28px!important;padding:30px!important;text-align:center!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important;border-top:8px solid #E56B25!important;}
.fcsrs-goodbye-box .fcsrs-carlo{display:block!important;width:min(260px,70vw)!important;height:auto!important;margin:0 auto 14px!important;object-fit:contain!important;}
.fcsrs-goodbye-box h1{font-family:inherit!important;font-size:clamp(2.4rem,7vw,4.8rem)!important;font-weight:900!important;line-height:1!important;color:#343434!important;margin:0 0 12px!important;letter-spacing:-.035em!important;}
.fcsrs-goodbye-box h1:after{content:'';display:block;width:88px;height:6px;background:#E56B25;border-radius:999px;margin:16px auto 0;}
.fcsrs-goodbye-box p{font-size:17px!important;color:#343434!important;margin:12px auto 18px!important;max-width:420px!important;}
.fcsrs-close-goodbye{background:#E56B25!important;color:#fff!important;border:1px solid #E56B25!important;border-radius:999px!important;min-height:48px!important;padding:12px 22px!important;font-weight:900!important;touch-action:manipulation!important;}


/* v5.2 Kundenportal ohne QR und Bild-Vollansicht */
.fcsrs-customer-portal .fcsrs-qr-row,
.fcsrs-customer-portal .fcsrs-qr-scan{display:none!important;}
.fcsrs-customer-portal .fcsrs-image-open,
.fcsrs-customer-portal-protocol .fcsrs-image-open{
  display:block!important;
  width:100%!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  cursor:zoom-in!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(229,107,37,.18)!important;
}
.fcsrs-customer-portal .fcsrs-image-open img,
.fcsrs-customer-portal-protocol .fcsrs-image-open img{display:block!important;width:100%!important;height:auto!important;}
.fcsrs-image-lightbox{
  position:fixed!important;
  inset:0!important;
  z-index:1000002!important;
  background:rgba(0,0,0,.88)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
}
.fcsrs-image-lightbox-inner{position:relative!important;max-width:96vw!important;max-height:94vh!important;}
.fcsrs-image-lightbox-inner img{
  max-width:96vw!important;
  max-height:94vh!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  border-radius:14px!important;
  box-shadow:0 24px 80px rgba(0,0,0,.45)!important;
  background:#fff!important;
}
.fcsrs-image-lightbox-close{
  position:absolute!important;
  top:-14px!important;
  right:-14px!important;
  width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  border:2px solid #fff!important;
  background:#E56B25!important;
  color:#fff!important;
  font-size:28px!important;
  line-height:1!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
@media(max-width:760px){
  .fcsrs-image-lightbox{padding:8px!important;}
  .fcsrs-image-lightbox-inner img{max-width:98vw!important;max-height:92vh!important;}
  .fcsrs-image-lightbox-close{top:8px!important;right:8px!important;}
}


/* v5.3 Kundenportal: Check out / Check in per Button anzeigen */
.fcsrs-customer-tab-buttons{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:18px 0 20px!important;
}
.fcsrs-customer-tab-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:12px 20px!important;
  border-radius:999px!important;
  border:2px solid #E56B25!important;
  background:#fff!important;
  color:#E56B25!important;
  font-weight:900!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(229,107,37,.18)!important;
}
.fcsrs-customer-tab-btn.is-active{
  background:#E56B25!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(229,107,37,.22)!important;
}
.fcsrs-customer-tab-panel{
  display:none!important;
}
.fcsrs-customer-tab-panel.is-active{
  display:block!important;
}
@media(max-width:760px){
  .fcsrs-customer-tab-buttons{flex-direction:column!important;}
  .fcsrs-customer-tab-btn{width:100%!important;}
}


/* v5.5 Passwortwechsel nach erster Frontend-Anmeldung */
.fcsrs-password-change-card input[type="password"]{
  font-size:16px!important;
}
.fcsrs-password-change-card .fcsrs-primary{
  width:100%!important;
  margin-top:14px!important;
}


/* v5.6 Geräte-Library-Upload, Self-return-Signatursteuerung und Kundenportal-Abstände */
.fcsrs-photo-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;min-height:auto!important;}
.fcsrs-photo-actions .fcsrs-photo-input{position:absolute!important;opacity:.01!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.fcsrs-photo-actions .fcsrs-photo-pick{min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;}
.fcsrs-photo-library-pick{background:#fff!important;color:#E56B25!important;border:2px solid #E56B25!important;}
.fcsrs-customer-portal #fcsrs-customer button.fcsrs-primary{margin-top:18px!important;}
.fcsrs-customer-sign-section[style*="display: none"]{display:none!important;}
@media(max-width:760px){.fcsrs-photo-actions{grid-template-columns:1fr!important;}}


/* v5.7 Kundenportal Ladehinweis und Abstand zu „Ihre Protokolle“ */
.fcsrs-customer-portal #fcsrs-customer-result{margin-top:34px!important;}
.fcsrs-customer-portal .fcsrs-customer-protocols{margin-top:34px!important;padding-top:18px!important;border-top:1px solid rgba(52,52,52,.08)!important;}
.fcsrs-customer-portal .fcsrs-customer-protocols>h2,
.fcsrs-customer-protocols.fcsrs-customer-tabs>h2{margin-top:18px!important;margin-bottom:10px!important;}
.fcsrs-customer-loading-modal{position:fixed!important;inset:0!important;z-index:1000004!important;background:rgba(0,0,0,.62)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;}
.fcsrs-customer-loading-box{width:min(520px,94vw)!important;background:#fff!important;border-radius:26px!important;padding:30px!important;text-align:center!important;box-shadow:0 28px 90px rgba(0,0,0,.38)!important;border-top:8px solid #E56B25!important;color:#343434!important;}
.fcsrs-customer-loading-box img{display:block!important;max-width:220px!important;height:auto!important;margin:0 auto 16px!important;}
.fcsrs-customer-loading-box h2{font-size:clamp(1.7rem,4vw,2.5rem)!important;margin:0 0 12px!important;color:#343434!important;font-weight:900!important;}
.fcsrs-customer-loading-box p{font-size:17px!important;line-height:1.45!important;margin:0 auto 18px!important;max-width:420px!important;}
.fcsrs-loading-spinner{width:46px!important;height:46px!important;border-radius:999px!important;border:5px solid #f2d1c0!important;border-top-color:#E56B25!important;margin:0 auto!important;animation:fcsrsSpin .8s linear infinite!important;}
@keyframes fcsrsSpin{to{transform:rotate(360deg)}}


/* v5.8: Bild-Schließen rechts mittig und manuelle lokale Sicherung */
#fcsrs-auto-local-save,
label:has(#fcsrs-auto-local-save){display:none!important;}
.fcsrs-image-lightbox-close{
  top:50%!important;
  right:14px!important;
  transform:translateY(-50%)!important;
}
@media(max-width:760px){
  .fcsrs-image-lightbox-close{top:50%!important;right:10px!important;transform:translateY(-50%)!important;}
}
.fcsrs-photo-actions .fcsrs-photo-camera,
.fcsrs-photo-actions .fcsrs-photo-library{position:absolute!important;opacity:.01!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:auto!important;}
.fcsrs-photo-library-pick{cursor:pointer!important;}


/* v5.9 Protokoll leeren */
.fcsrs-form-actions{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important;margin-bottom:8px!important;}
.fcsrs-form-actions .fcsrs-primary,.fcsrs-form-actions .fcsrs-secondary{min-height:48px!important;}
.fcsrs-clear-protocol{background:#fff!important;color:#343434!important;border:2px solid #343434!important;border-radius:999px!important;padding:12px 20px!important;font-weight:900!important;touch-action:manipulation!important;}
.fcsrs-clear-protocol:hover{border-color:#E56B25!important;color:#E56B25!important;}
@media(max-width:760px){.fcsrs-form-actions{flex-direction:column!important;align-items:stretch!important}.fcsrs-form-actions .fcsrs-primary,.fcsrs-form-actions .fcsrs-secondary{width:100%!important}}


/* v6.6 Kundenportal: deutsche Hinweisfenster bei Fehlern */
.fcsrs-customer-message-modal .fcsrs-customer-loading-box{position:relative!important;}
.fcsrs-customer-message-close{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  border:0!important;
  background:#E56B25!important;
  color:#fff!important;
  font-size:26px!important;
  line-height:1!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
.fcsrs-customer-message-error .fcsrs-customer-loading-box{
  border-top:8px solid #E56B25!important;
}
.fcsrs-customer-message-error h2{
  color:#343434!important;
}
.fcsrs-customer-message-error p{
  color:#343434!important;
  font-weight:700!important;
}
#fcsrs-customer-result .fcsrs-error{
  color:#343434!important;
  background:#fff4ed!important;
  border:2px solid #E56B25!important;
  border-radius:14px!important;
  padding:14px 16px!important;
}


/* v6.7 Kundenportal: deutsche Fehler-/Ladehinweise und URL-Vorbefüllung */
.fcsrs-prefill-notice{background:#fff4ed!important;border-left:5px solid #E56B25!important;border-radius:14px!important;padding:13px 16px!important;margin:0 0 18px!important;color:#343434!important;font-weight:800!important;}
.fcsrs-customer-message-modal .fcsrs-customer-loading-box{position:relative!important;}
.fcsrs-customer-message-close{position:absolute!important;top:12px!important;right:12px!important;width:38px!important;height:38px!important;border-radius:999px!important;border:0!important;background:#E56B25!important;color:#fff!important;font-size:26px!important;line-height:1!important;cursor:pointer!important;touch-action:manipulation!important;}
.fcsrs-customer-message-error .fcsrs-customer-loading-box{border-top:8px solid #E56B25!important;}
.fcsrs-customer-message-error p{color:#343434!important;font-weight:700!important;}
#fcsrs-customer-result .fcsrs-error{color:#343434!important;background:#fff4ed!important;border:2px solid #E56B25!important;border-radius:14px!important;padding:14px 16px!important;}


/* v6.8 Kundenportal: direkte serverseitige Suche ohne AJAX */
.fcsrs-customer-direct-form .fcsrs-primary{
  margin-top:18px!important;
}
.fcsrs-customer-error-modal-inline{
  margin-top:26px!important;
  background:#fff4ed!important;
  border:2px solid #E56B25!important;
  border-radius:16px!important;
  padding:16px 18px!important;
  color:#343434!important;
  font-weight:700!important;
  line-height:1.45!important;
}
.fcsrs-customer-portal #fcsrs-customer-result{
  margin-top:24px!important;
}


/* v6.9 PDF-/Rendering-Fehlerhinweise */
.fcsrs-pdf-body .fcsrs-error,
.fcsrs-customer-error-modal-inline{
  background:#fff4ed!important;
  border:2px solid #E56B25!important;
  border-radius:16px!important;
  padding:16px 18px!important;
  color:#343434!important;
  font-weight:700!important;
  line-height:1.45!important;
}


/* v7.0 PDF-Fallbackansicht */
.fcsrs-pdf-body .fcsrs-card.fcsrs-print,
.fcsrs-print.fcsrs-card{
  background:#fff!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 10px 30px rgba(0,0,0,.08)!important;
}


/* v7.1 Erfolgsmeldung nach automatischer Aktualisierung */
.fcsrs-after-save-success{
  margin:0 0 18px!important;
  border-width:2px!important;
  box-shadow:0 10px 26px rgba(47,143,79,.12)!important;
}

/* v7.3 Fotoauswahl repariert + Optimierungshinweise */
.fcsrs-photo-actions .fcsrs-photo-input{
  position:absolute!important;
  opacity:.01!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.fcsrs-photo-actions .fcsrs-photo-pick{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  pointer-events:auto!important;
}
.fcsrs-local-save-hint{
  line-height:1.45!important;
}
