.ifs-wrap{max-width:1200px;margin:0 auto;padding:0;}
/* Layout: wider reading gutter on desktop, exact shared alignment on narrow screens. */
.ifs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);column-gap:clamp(38px,4.8vw,68px);row-gap:28px;}
.ifs-grid > .ifs-main,.ifs-grid > .ifs-aside{min-width:0;}
@media (max-width:900px){.ifs-grid{grid-template-columns:minmax(0,1fr);column-gap:0;row-gap:28px;}}
/* The7 supplies the page gutter at all breakpoints; IFS adds none. */

.ifs-title{margin:0 0 12px;}
.ifs-box{background:#fff;border:1px solid #e5e5e5;padding:16px;border-radius:6px;margin:16px 0;}
.ifs-box-success{border-color:var(--ifs-chat-admin-accent);}
.ifs-box-warning{border-color:#ff9800;}
.ifs-small{font-size:12px;opacity:.85;}
.ifs-field{margin:12px 0;}
.ifs-field label{display:block;font-weight:600;margin-bottom:6px;}
.ifs-field input[type=text],.ifs-field input[type=email],.ifs-field input[type=password],.ifs-field textarea{width:100%;max-width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;}
.ifs-btn{display:inline-block;padding:10px 14px;border:0;border-radius:4px;cursor:pointer;}
.ifs-aside-box{background:#fff;border:1px solid #e5e5e5;border-radius:6px;overflow:hidden;margin:16px 0;}
.ifs-aside-head{padding:12px 14px;font-weight:700;}
.ifs-aside-body{padding:14px;}
.ifs-logo img{max-width:100%;height:auto;}
.ifs-chat{border:1px solid #ddd;border-radius:6px;padding:10px;max-height:420px;overflow:auto;background:#fafafa;}
.ifs-chat-msg{padding:8px;border-radius:6px;margin:8px 0;background:#fff;border:1px solid #eee;}
.ifs-chat-admin{border-left:4px solid var(--ifs-chat-admin-accent);}
.ifs-chat-reporter{border-left:4px solid var(--ifs-chat-reporter-accent);}
.ifs-chat-system{border-left:4px solid #9e9e9e;opacity:.95;}
.ifs-chat-meta{margin-bottom:6px;}
#ifs-chat-input{width:100%;margin-top:10px;}

/* Multistep reporter form – deliberately scoped to coexist with The7/WPBakery. */
/* The7 child theme may override these variables globally (:root) or on .ifs-company.
   Palette derivatives are explicit tokens so arbitrary themes need no color-mix() support. */
:root{
  --ifs-accent:#73a326;
  --ifs-accent-hover:#567d1b;
  --ifs-accent-dark:#4d7716;
  --ifs-accent-focus:#5b831b;
  --ifs-accent-soft:#f3f7ed;
  --ifs-accent-choice:#f5f9ed;
  --ifs-accent-active-text:#3b5e0d;
  --ifs-accent-border:#dce3d5;
  --ifs-accent-secondary:#ebefe5;
  --ifs-accent-secondary-hover:#dfe8d3;
  --ifs-accent-secondary-text:#354b20;
  --ifs-chat-admin-accent:#4caf50;
  --ifs-chat-admin-border:#9dcf9f;
  --ifs-chat-admin-soft:#f8fcf6;
  --ifs-chat-reporter-accent:#2196f3;
  --ifs-ink:#303a2d;
}
.ifs-company{--ifs-border:var(--ifs-accent-border);color:var(--ifs-ink);}
.ifs-company .ifs-form-box{padding:clamp(16px,3vw,30px);border-color:var(--ifs-border);}
.ifs-company .ifs-title{font-size:clamp(1.55rem,2.5vw,2.2rem);}
.ifs-company .ifs-form-title{font-size:clamp(1.4rem,2vw,1.9rem);margin:0 0 10px;}
.ifs-company .ifs-preform-text{margin:18px 0 26px;}
.ifs-company .ifs-form-intro{margin-bottom:24px;}
.ifs-company .ifs-editor-copy p{margin:0 0 13px;line-height:1.65;}
.ifs-company .ifs-editor-copy p:last-child{margin-bottom:0;}
.ifs-company .ifs-editor-copy a{overflow-wrap:anywhere;}
.ifs-company .ifs-aside-head{background:var(--ifs-accent);color:#fff;text-transform:uppercase;font-size:1.13rem;line-height:1.3;}
.ifs-company .ifs-aside-box{border:0;background:transparent;border-radius:0;}
.ifs-company .ifs-aside-body{padding:18px 0 8px;}
/* Uniform 4:3 logo stage: no clipping, no distortion, full available width.
   White works for transparent SVG and PNG logos on The7's light grey page background. */
.ifs-company .ifs-logo{
  width:100%;
  aspect-ratio:4 / 3;
  box-sizing:border-box;
  padding:clamp(12px,1.5vw,18px);
  background:#fff;
  border:1px solid #e4e8e1;
  border-radius:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin:0 0 20px;
}
.ifs-company .ifs-logo img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  margin:0;
}

.ifs-company .ifs-company-contact-name{margin:0 0 17px;}
.ifs-company .ifs-contact-row{display:flex;align-items:flex-start;gap:11px;margin:10px 0;line-height:1.5;}
.ifs-company .ifs-contact-icon-wrap{flex:0 0 20px;display:flex;justify-content:center;align-items:center;min-height:21px;color:var(--ifs-accent-dark);}
.ifs-company .ifs-contact-icon{width:17px;height:17px;display:block;fill:currentColor;}
.ifs-company .ifs-contact-icon-wrap svg[stroke]{fill:none;}
.ifs-company .ifs-contact-text{min-width:0;overflow-wrap:anywhere;}
.ifs-company .ifs-contact-text a{text-decoration:none;}
.ifs-company .ifs-contact-text a:hover{text-decoration:underline;}
.ifs-company .ifs-contact-person{padding-top:13px;margin-top:17px;border-top:1px solid var(--ifs-border);}
.ifs-company .ifs-contact-person h3{margin:0 0 10px;font-size:1.1rem;}
.ifs-company .ifs-aside-warning{margin-top:34px;}
.ifs-company .ifs-wizard{scroll-margin-top:90px;}
.ifs-wizard .ifs-wizard-progress{margin:0 0 12px;}
.ifs-wizard .ifs-wizard-progress ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:0;gap:5px;}
.ifs-wizard .ifs-wizard-progress li{margin:0;min-width:0;}
.ifs-wizard .ifs-progress-step{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;width:100%;border:0;background:transparent;color:#66705e;cursor:pointer;padding:5px 2px 7px;min-height:65px;font-size:.82rem;line-height:1.25;text-align:center;}
.ifs-wizard .ifs-progress-number{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #c1c9bb;background:#edf1e8;border-radius:50%;font-weight:700;color:#506047;}
.ifs-wizard .ifs-progress-step.is-current .ifs-progress-number,.ifs-wizard .ifs-progress-step[aria-current="step"] .ifs-progress-number{background:var(--ifs-accent);border-color:var(--ifs-accent);color:#fff;}
.ifs-wizard .ifs-progress-step.is-current,.ifs-wizard .ifs-progress-step[aria-current="step"]{color:var(--ifs-accent-active-text);font-weight:700;}
.ifs-wizard .ifs-progress-label{overflow-wrap:anywhere;}
.ifs-wizard .ifs-progress-status{font-size:.84rem;text-align:right;color:#65725c;margin:2px 0 14px;}
.ifs-wizard .ifs-wizard-panel{padding-top:13px;border-top:1px solid #e5eadf;}
.ifs-wizard .ifs-wizard-panel[hidden],.ifs-wizard [hidden]{display:none!important;}
.ifs-wizard .ifs-wizard-panel h3{margin:5px 0 12px;font-size:1.3rem;line-height:1.3;}
.ifs-wizard .ifs-step-help{padding:13px 16px;margin:0 0 20px;background:var(--ifs-accent-soft);border-left:4px solid var(--ifs-accent);border-radius:0 4px 4px 0;}
.ifs-wizard .ifs-field{margin:16px 0;}
.ifs-wizard .ifs-field label,.ifs-wizard .ifs-radio-fieldset legend{display:block;font-weight:650;margin-bottom:7px;}
.ifs-wizard .ifs-field textarea{resize:vertical;min-height:105px;}
.ifs-wizard .ifs-field input[type="tel"]{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;}
.ifs-wizard .ifs-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:13px 0 17px;}
.ifs-wizard .ifs-choice{display:flex;align-items:flex-start;gap:10px;cursor:pointer;border:1px solid #cdd6c4;background:#fff;border-radius:7px;padding:14px;min-height:90px;box-sizing:border-box;}
.ifs-wizard .ifs-choice:has(input:checked){background:var(--ifs-accent-choice);border-color:var(--ifs-accent);box-shadow:0 0 0 1px var(--ifs-accent);}
.ifs-wizard .ifs-choice input{margin:3px 0 0;flex:0 0 auto;accent-color:var(--ifs-accent-dark);}
.ifs-wizard .ifs-choice strong{display:block;font-size:1rem;line-height:1.3;margin-bottom:7px;}
.ifs-wizard .ifs-choice small{display:block;font-size:.84rem;color:#5c6555;line-height:1.5;}
.ifs-wizard .ifs-radio-fieldset{border:0;margin:17px 0 14px;padding:0;min-width:0;}
.ifs-wizard .ifs-inline-radios{display:flex;gap:23px;flex-wrap:wrap;}
.ifs-wizard .ifs-inline-radios label{font-weight:400;cursor:pointer;}
.ifs-wizard .ifs-wizard-actions{display:flex;gap:11px;justify-content:space-between;flex-wrap:wrap;margin:25px 0 0;}
.ifs-wizard .ifs-btn{font-size:1rem;line-height:1.4;padding:11px 16px;font-weight:650;}
.ifs-company .ifs-btn-primary{background:var(--ifs-accent);color:#fff;}
.ifs-company .ifs-btn-primary:hover{background:var(--ifs-accent-hover);color:#fff;}
.ifs-company .ifs-btn-secondary{background:var(--ifs-accent-secondary);color:var(--ifs-accent-secondary-text);border:1px solid #cdd6c4;}
.ifs-company .ifs-btn-secondary:hover{background:var(--ifs-accent-secondary-hover);}
.ifs-wizard .ifs-submit-reminder{background:#fff7e7;border:1px solid #e5d6b5;border-left:4px solid #d19d39;padding:14px 15px;border-radius:4px;line-height:1.55;margin-top:22px;}
.ifs-wizard .ifs-small{line-height:1.55;}
.ifs-wizard .ifs-existing-login{border-top:1px solid #e2e5da;padding-top:13px;margin-top:20px;}
.ifs-wizard .ifs-existing-login h2{font-size:1.15rem;}
.ifs-wizard button:focus-visible,.ifs-wizard input:focus-visible,.ifs-wizard textarea:focus-visible{outline:3px solid var(--ifs-accent-focus);outline-offset:3px;}
.ifs-credentials dl{display:grid;grid-template-columns:155px minmax(0,1fr);gap:8px 18px;}
.ifs-credentials dt{font-weight:700;}
.ifs-credentials dd{margin:0;overflow-wrap:anywhere;}
.ifs-credentials code{font-size:1.05rem;white-space:normal;overflow-wrap:anywhere;}
@media(max-width:640px){
  .ifs-wizard .ifs-wizard-progress ol{gap:2px;}
  .ifs-wizard .ifs-progress-label{font-size:.67rem;}
  .ifs-wizard .ifs-choice-grid{grid-template-columns:1fr;}
  .ifs-wizard .ifs-choice{min-height:0;}
  .ifs-wizard .ifs-progress-number{width:28px;height:28px;}
  .ifs-credentials dl{grid-template-columns:1fr;gap:4px;}
  .ifs-credentials dt:not(:first-child){margin-top:10px;}
}
/* Interactive wizard is never part of the print record. */
@media print {.ifs-wizard{display:none!important;}}

.ifs-wizard:not(.is-ready) .ifs-wizard-progress,.ifs-wizard:not(.is-ready) .ifs-progress-status{display:none;}

/* The7: on IFS company singles and their report/login views, suppress only
   the theme-generated duplicate Page Title / breadcrumb bar.  Keep the
   actual site masthead (logo/navigation) and the plugin's own H1 intact. */
body.single-hinweismeldestelle #page > .page-title,
body.ifs-report-view #page > .page-title {
  display: none !important;
}


/* 0.2.6: Messenger-style conversation in the reporter frontend only.
   The backend chat is deliberately untouched. All rules are scoped to the
   protected report view, so The7 and other frontend components are unaffected. */
.ifs-report #ifs-chat.ifs-chat {
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-sizing: border-box;
  width: 100%;
  max-height: min(60vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid #dfe5db;
  border-radius: 10px;
  background: #f5f7f4;
  box-shadow: inset 0 1px 3px rgb(30 47 24 / 4%);
}
.ifs-report #ifs-chat .ifs-chat-msg {
  align-self: flex-start;
  box-sizing: border-box;
  width: fit-content;
  max-width: 90%;
  min-width: 0;
  padding: 11px 14px 12px;
  margin: 0;
  border: 1px solid;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(35 48 28 / 5%);
  opacity: 1;
  overflow-wrap: anywhere;
}
/* Meldende Person: left-aligned, blue leading border. */
.ifs-report #ifs-chat .ifs-chat-reporter {
  margin-left: 0;
  margin-right: auto;
  border-color: #a5cdf0;
  border-left: 4px solid var(--ifs-chat-reporter-accent);
  border-radius: 4px 11px 11px 11px;
  background: #fff;
}
/* Meldestelle: right-aligned, green trailing border. */
.ifs-report #ifs-chat .ifs-chat-admin {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  border-color: var(--ifs-chat-admin-border);
  border-left: 1px solid var(--ifs-chat-admin-border);
  border-right: 4px solid var(--ifs-chat-admin-accent);
  border-radius: 11px 4px 11px 11px;
  background: var(--ifs-chat-admin-soft);
}
/* System history is not a person: unobtrusive, centered notice. */
.ifs-report #ifs-chat .ifs-chat-system {
  align-self: center;
  max-width: 85%;
  margin-inline: auto;
  padding: 8px 12px;
  border-color: #d1d6d1;
  border-left: 4px solid #9e9e9e;
  border-radius: 6px;
  background: #ecefec;
  box-shadow: none;
  color: #5d665c;
  font-size: .89em;
}
.ifs-report #ifs-chat .ifs-chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 9px;
  margin-bottom: 6px;
  line-height: 1.45;
}
.ifs-report #ifs-chat .ifs-chat-meta strong {
  font-size: .92em;
  font-weight: 700;
  color: #374233;
}
.ifs-report #ifs-chat .ifs-chat-meta small {
  font-size: .73em;
  font-weight: 400;
  color: #707970;
}
.ifs-report #ifs-chat .ifs-chat-body {
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
}
.ifs-report #ifs-chat-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: 13px;
  padding: 12px 14px;
  min-height: 100px;
  resize: vertical;
  border: 1px solid #cbd6c7;
  border-radius: 8px;
  background: #fff;
  line-height: 1.5;
}
.ifs-report #ifs-chat-input:focus-visible,
.ifs-report #ifs-chat-send:focus-visible {
  outline: 2px solid var(--ifs-accent);
  outline-offset: 2px;
}
.ifs-report #ifs-chat-send {
  padding: 10px 18px;
  background: var(--ifs-accent);
  color: #fff;
  border: 0;
  border-radius: 5px;
  font-weight: 650;
}
.ifs-report #ifs-chat-send:hover { background: var(--ifs-accent-hover); color: #fff; }
.ifs-report #ifs-chat-send:disabled { opacity: .65; cursor: wait; }

@media (max-width: 640px) {
  .ifs-report #ifs-chat.ifs-chat { gap: 10px; padding: 10px; max-height: 55vh; }
  .ifs-report #ifs-chat .ifs-chat-msg { max-width: 96%; padding: 10px 11px; }
  .ifs-report #ifs-chat .ifs-chat-system { max-width: 94%; }
}


/* 0.2.8: shared firm branding and report context (frontend). */
.ifs-report .ifs-report-company-intro { margin-bottom: clamp(22px, 3vw, 34px); }
.ifs-report .ifs-report-heading { font-size:clamp(1.45rem,2vw,1.9rem); margin:0 0 16px; }
.ifs-report .ifs-report-summary { padding:clamp(16px,2.5vw,24px); }
.ifs-report .ifs-report-facts { display:grid; grid-template-columns:minmax(105px,150px) minmax(0,1fr); gap:10px 15px; margin:0; }
.ifs-report .ifs-report-facts dt { font-weight:700; color:#4d5947; }
.ifs-report .ifs-report-facts dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.ifs-report .ifs-report-facts code { white-space:normal; overflow-wrap:anywhere; }
.ifs-report .ifs-report-state { display:inline-block; padding:2px 9px; border-radius:3px; background:var(--ifs-accent-soft); color:var(--ifs-accent-active-text); }
.ifs-report .ifs-report-state-abgebrochen { background:#fff3e6; color:#835229; }
.ifs-report .ifs-report-state-abgeschlossen { background:#e9f2ef; color:#23593c; }
.ifs-report .ifs-report-original { margin-top:16px; padding-top:13px; border-top:1px solid #e4e9dd; }
.ifs-report .ifs-report-original summary { cursor:pointer; font-weight:600; color:var(--ifs-accent-dark); }
.ifs-report .ifs-report-original > div { margin-top:13px; overflow-wrap:anywhere; }
.ifs-report .ifs-report-original h3 { font-size:1.05rem; margin:13px 0 6px; }
.ifs-report .ifs-report-chat-hint { margin:0 0 12px; line-height:1.5; }
@media(max-width:640px) {
  .ifs-report .ifs-report-facts { grid-template-columns:minmax(0,1fr); gap:3px; }
  .ifs-report .ifs-report-facts dd:not(:last-child) { margin-bottom:10px; }
}

/* Central confidential intake is separate from a company's public contact person. */
.ifs-company .ifs-aside-primary-contact{
  border-top:1px solid var(--ifs-border);
  padding-top:18px;
  margin-top:20px;
}
.ifs-company .ifs-aside-primary-title{
  font-weight:700;
  font-size:1.05rem;
  margin:0 0 9px;
}
.ifs-company .ifs-aside-primary-contact .ifs-aside-body{padding:7px 0 0;}
.ifs-company .ifs-aside-primary-contact img{max-width:100%;height:auto;}

/* 0.2.13: Visuelle Trennlinie vor den beim Betreten ungelesenen Beiträgen. */
#ifs-chat .ifs-chat-unread-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  width: 100%;
  margin: 7px 0;
  color: #9b4424;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
}
#ifs-chat .ifs-chat-unread-divider::before,
#ifs-chat .ifs-chat-unread-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #c87553;
}
#ifs-chat .ifs-chat-unread-divider span {
  border-radius: 20px;
  background: #fff5ed;
  padding: 5px 10px;
}

/* 0.2.15: Visuelle Trennung zwischen Login und Passwort-Wiederherstellung.
   Bewusst ausschließlich auf diesen Abschnitt beschränkt (The7-kompatibel). */
.ifs-login > hr.ifs-login-separator {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 0;
  padding: 0;
  margin: 32px 0 26px;
  border: 0;
  border-top: 1px solid var(--ifs-accent-border, #dce3d5);
  background: none;
  box-shadow: none;
  opacity: 1;
  clear: both;
}
.ifs-login > hr.ifs-login-separator + h3 {
  margin-top: 0;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .ifs-login > hr.ifs-login-separator { margin: 25px 0 21px; }
}

/* Visible only on paper; the confidential report contains personal information. */
.ifs-report .ifs-print-confidential{display:none;}
.ifs-report .ifs-report-print-controls{text-align:right;margin:-4px 0 15px;}
.ifs-report .ifs-report-print-controls .ifs-btn{background:var(--ifs-accent-secondary);color:var(--ifs-accent-secondary-text);border:1px solid var(--ifs-accent-border);}
.ifs-report .ifs-report-print-controls .ifs-btn:disabled{opacity:.5;cursor:wait;}

/* Additional, private evidence files in the authenticated report conversation. */
.ifs-report .ifs-chat-upload {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px dashed var(--ifs-accent-border, #cfdcc3);
    border-radius: 6px;
}
.ifs-report .ifs-chat-upload label { margin: 0; }
.ifs-report .ifs-chat-upload input[type="file"] { display: block; max-width: 100%; }
.ifs-report .ifs-chat-upload small { color: #626b62; line-height: 1.5; }
.ifs-report .ifs-chat-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ifs-report .ifs-chat-upload-status { font-size: .88em; }
.ifs-report .ifs-chat-file-selection { overflow-wrap: anywhere; font-size: .9em; color: #455442; }
.ifs-report #ifs-chat .ifs-chat-attachments {
    list-style: none;
    padding: 0;
    margin: 9px 0 0;
    border-top: 1px solid #e3e9e2;
}
.ifs-report #ifs-chat .ifs-chat-attachments li { margin: 0; padding: 7px 0 0; overflow-wrap: anywhere; }
.ifs-report #ifs-chat .ifs-chat-attachments a { color: var(--ifs-accent-dark, #426b2b); text-decoration: underline; }
.ifs-report #ifs-chat .ifs-chat-attachments small { color: #616961; }


/* Scoped HTTP-404 company notice. The surrounding The7 header/footer stay. */
.ifs-unavailable-company-page .page-title { display: none !important; }
.ifs-unavailable-company { padding: 0; max-width: 100%; }
.ifs-unavailable-company .ifs-unavailable-main { width: 100%; max-width: 100%; min-width: 0; }
.ifs-unavailable-company .ifs-unavailable-content { min-width: 0; }

/* 1.0.0-rc.2: case navigation, private document index and accessible leave dialog. */
.ifs-print-letterhead { display:none; }
.ifs-credentials-url, .ifs-report-company-url { overflow-wrap:anywhere; word-break:break-word; }
.ifs-credentials-actions, .ifs-leave-dialog-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.ifs-credentials-actions { margin-top:18px; }
.ifs-leave-dialog { max-width:min(480px,calc(100vw - 32px)); box-sizing:border-box; border:1px solid var(--ifs-accent-border); border-radius:10px; padding:26px; background:#fff; color:var(--ifs-ink); box-shadow:0 14px 55px #0003; }
.ifs-leave-dialog::backdrop { background:rgba(17,28,18,.63); }
.ifs-leave-dialog .ifs-leave-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; margin:0 0 15px; border-radius:50%; background:#fff4df; color:#a06a10; font-size:24px; }
.ifs-leave-dialog h3 { margin:0 0 10px; font-size:1.4rem; }
.ifs-leave-dialog p { margin:0 0 22px; line-height:1.6; }
.ifs-leave-dialog .ifs-btn { text-decoration:none; }
.ifs-report-all-files h4 { margin:16px 0 7px; font-size:1rem; }
.ifs-report-all-files ul { margin:0 0 12px; padding-left:22px; }
.ifs-report-all-files li { margin:4px 0; overflow-wrap:anywhere; }
.ifs-email-credentials-consent { padding:12px 14px; background:var(--ifs-accent-soft); border-left:3px solid var(--ifs-accent); border-radius:4px; }
.ifs-email-credentials-consent label { display:flex!important; gap:9px; align-items:flex-start; font-weight:500!important; }
.ifs-email-credentials-consent input[type="checkbox"] { flex:0 0 auto; margin-top:5px; accent-color:var(--ifs-accent); }
.ifs-email-credentials-consent p { margin:8px 0 0; }

/* rc.3: reliably center the one-time-credentials confirmation with The7. */
.ifs-company .ifs-leave-dialog:not([open]) { display: none !important; }
.ifs-company .ifs-leave-dialog[open] {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    margin: auto !important;
    transform: none !important;
    width: min(480px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    z-index: 100001;
}
.ifs-company .ifs-leave-dialog[open]::backdrop {
    background: rgba(16, 30, 20, .62);
}
.ifs-company .ifs-email-credentials-warning { margin-top: 10px; }
.ifs-company .ifs-email-credentials-warning p { margin: 0 0 8px; }
