.mcb-root{--mcb-green:#94C11F;--mcb-ink:#172019;--mcb-border:#dee4d7;--mcb-muted:#677065;font-family:inherit;color:var(--mcb-ink);width:100%;max-width:1280px;margin:20px auto 50px;box-sizing:border-box}
.mcb-root *{box-sizing:border-box}
.mcb-root .mcb-login{max-width:420px;margin:50px auto;padding:32px;background:#fff;border:1px solid var(--mcb-border);border-radius:18px;box-shadow:0 10px 40px #16230914}
.mcb-root h2,.mcb-root h3,.mcb-root h4,.mcb-root p{margin:0}
.mcb-root h2{font-size:22px;line-height:1.2;font-weight:750;letter-spacing:-.025em}
.mcb-root h3{font-size:18px;font-weight:700;margin-bottom:8px}
.mcb-root h4{font-size:15px;font-weight:700;margin-bottom:8px}
.mcb-root p{margin:8px 0}
.mcb-root .mcb-login>p,.mcb-root .mcb-hint{color:var(--mcb-muted);font-size:13px;line-height:1.55}
.mcb-root label{font-size:14px;font-weight:600;display:block}
.mcb-root input[type=text],.mcb-root input[type=password],.mcb-root textarea{width:100%;margin-top:6px;border:1px solid #cdd5c6;border-radius:10px;background:#fff;color:#172019;font-family:inherit;font-size:16px;line-height:1.5;min-height:44px;padding:11px 12px;box-shadow:none}
.mcb-root textarea{resize:vertical}
.mcb-root input:focus,.mcb-root textarea:focus{border-color:var(--mcb-green);outline:2px solid #94c11f55;outline-offset:0}
.mcb-root .mcb-login label{margin:18px 0}
.mcb-root button{font-family:inherit;font-size:14px;font-weight:700;min-height:43px;border-radius:10px;cursor:pointer;border:1px solid transparent;transition:background .15s,color .15s;line-height:1.2}
.mcb-root button:disabled{opacity:.48;cursor:not-allowed}
.mcb-root .mcb-primary{background:var(--mcb-green);color:#132000;border:1px solid var(--mcb-green);padding:12px 20px;width:100%}
.mcb-root .mcb-primary:not(:disabled):hover{background:#82a91b}
.mcb-root .mcb-secondary{background:#fff;color:#243018;border:1px solid #cfd6c8;padding:10px 13px}
.mcb-root .mcb-secondary:not(:disabled):hover{background:#eff6e5}
.mcb-root .mcb-text-button{background:transparent;border:none;color:#465743;text-decoration:underline;padding:5px 7px}
.mcb-root .mcb-brand-mark{width:56px;height:56px;border-radius:14px;background:#94c11f;color:#fff;font-size:34px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0}
.mcb-root .mcb-login>.mcb-brand-mark{margin:0 auto 16px}
.mcb-root .mcb-login{text-align:left}
.mcb-root .mcb-login>h2,.mcb-root .mcb-login>p{text-align:center}
.mcb-root .mcb-header{background:#fff;border:1px solid var(--mcb-border);border-radius:18px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.mcb-root .mcb-head-left{display:flex;align-items:center;gap:14px;min-width:0}
.mcb-root .mcb-avatar{width:76px;height:76px;object-fit:contain;border-radius:14px;flex-shrink:0}
.mcb-root .mcb-header p{font-size:13px;color:var(--mcb-muted);margin:3px 0 0}
.mcb-root .mcb-logout{font-size:13px;color:#516547;text-decoration:underline;white-space:nowrap}
.mcb-root .mcb-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.mcb-root .mcb-panel{background:#fff;border:1px solid var(--mcb-border);border-radius:18px;padding:22px;min-width:0}
.mcb-root #mcb-question{height:320px;display:block}
.mcb-root .mcb-question-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.mcb-root .mcb-options{display:flex;gap:22px;flex-wrap:wrap;margin:22px 0}
.mcb-root fieldset{border:0;margin:0;padding:0;display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.mcb-root legend{font-size:13px;font-weight:700;padding:0;margin-bottom:8px}
.mcb-root fieldset label{font-weight:500;display:flex;align-items:center;gap:5px}
.mcb-root input[type=radio]{accent-color:var(--mcb-green)}
.mcb-root .mcb-result-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.mcb-root .mcb-status{font-size:12px;color:#64715b;border-radius:9px;background:#f0f3ed;padding:5px 8px}
.mcb-root .mcb-output{background:#f6f8f3;border-radius:12px;padding:17px;min-height:220px;white-space:pre-wrap;overflow-wrap:anywhere;color:#768072;font-size:14px;line-height:1.65}
.mcb-root .mcb-has-answer{color:#1b2918;background:#f6f8f3}
.mcb-root .mcb-actions{display:flex;gap:9px;margin:16px 0;flex-wrap:wrap}
.mcb-root .mcb-actions button{flex:1}
.mcb-root .mcb-details{background:#f9fbf6;border:1px solid var(--mcb-border);border-radius:12px;padding:12px;margin-top:14px;font-size:13px}
.mcb-root .mcb-details p{font-size:13px}
.mcb-root .mcb-details-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.mcb-root .mcb-details-row label{font-size:12px}
.mcb-root .mcb-details-row input{font-size:14px}
.mcb-root .mcb-internal{font-size:12px;color:var(--mcb-muted);border-top:1px solid var(--mcb-border);padding-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.mcb-root .mcb-revision{padding-top:14px;border-top:1px solid var(--mcb-border);margin-top:16px}
.mcb-root .mcb-revision-row{display:flex;gap:6px;align-items:stretch}
.mcb-root .mcb-revision-row textarea{margin:0;min-width:0;flex:1}
.mcb-root #mcb-mic{flex:0 0 46px;font-size:18px;padding:8px}
.mcb-root #mcb-revise{margin-top:10px}
.mcb-root .mcb-alert{font-size:13px;line-height:1.45;color:#52644a;min-height:18px}
.mcb-root .mcb-error{color:#a32121!important}
@media(max-width:850px){.mcb-root{margin:12px auto 25px}.mcb-root .mcb-columns{grid-template-columns:1fr}.mcb-root .mcb-panel{padding:17px}.mcb-root #mcb-question{height:235px}.mcb-root .mcb-header{padding:12px 14px}.mcb-root .mcb-avatar{width:62px;height:62px}}
@media(max-width:430px){.mcb-root h2{font-size:17px}.mcb-root .mcb-brand-mark{width:46px;height:46px;font-size:27px}.mcb-root .mcb-header{gap:8px}.mcb-root .mcb-head-left{gap:8px}.mcb-root .mcb-logout{font-size:11px}.mcb-root .mcb-details-row{grid-template-columns:1fr}.mcb-root .mcb-actions{flex-direction:column}}
.mcb-root .mcb-login-avatar{width:120px;height:120px;object-fit:contain;display:block;margin:0 auto 18px}

/* Configurable e-mail signature, available without crowding the mobile entry view. */
.mcb-root .mcb-signature-options{border:1px solid var(--mcb-border);border-radius:12px;background:#fbfcf9;margin:0 0 17px;padding:10px 13px}
.mcb-root .mcb-signature-options summary{cursor:pointer;font-size:14px;font-weight:700;color:#34432d}
.mcb-root .mcb-signature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:12px}
.mcb-root .mcb-signature-grid label{font-size:13px}
.mcb-root .mcb-signature-grid select{margin-top:6px;padding:10px 12px;min-height:44px;width:100%;border:1px solid #cdd5c6;border-radius:10px;background:#fff;color:#172019;font:inherit;font-size:14px}
.mcb-root .mcb-signature-options .mcb-hint{margin:9px 0 0}
@media(max-width:630px){.mcb-root .mcb-signature-grid{grid-template-columns:1fr}}

/* Optional question/answer presentation, both for desktop and mobile. */
.mcb-root .mcb-qa-option{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin:-7px 0 19px;background:#f8faf5;border:1px solid var(--mcb-border);border-radius:10px;cursor:pointer}
.mcb-root .mcb-qa-option input{accent-color:var(--mcb-green);width:18px;height:18px;flex-shrink:0;margin-top:2px}
.mcb-root .mcb-qa-option span{display:flex;flex-direction:column;gap:3px}
.mcb-root .mcb-qa-option strong{font-weight:700}
.mcb-root .mcb-qa-option small{font-size:12px;color:var(--mcb-muted);font-weight:400;line-height:1.4}
.mcb-root .mcb-greeting{margin-bottom:1.1em}
.mcb-root .mcb-qa-intro{white-space:pre-wrap;margin:0 0 1.15em}
.mcb-root .mcb-qa-question{font-weight:750;white-space:pre-wrap;margin:0 0 5px}
.mcb-root .mcb-qa-answer{white-space:pre-wrap;margin:0 0 1.15em}
.mcb-root .mcb-signoff{white-space:pre-wrap;margin-top:.6em}
.mcb-root [hidden]{display:none!important}

/* v0.3.1: split factual answer from optional email/phone formulation */
.mcb-root .mcb-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(295px,.85fr);align-items:start;gap:18px}
.mcb-root .mcb-main{display:grid;gap:18px;min-width:0}
.mcb-root .mcb-step{color:#53731d;font-size:11px;font-weight:800;letter-spacing:.065em;margin-bottom:9px}
.mcb-root #mcb-question{height:200px;max-height:490px;min-height:140px}
.mcb-root .mcb-main-generate{margin-top:14px}
.mcb-root .mcb-format{position:sticky;top:20px}
.mcb-root .mcb-choice{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:19px 0;min-width:0}
.mcb-root .mcb-choice legend{font-size:13px;width:100%;font-weight:800;margin-bottom:8px}
.mcb-root .mcb-choice label{display:inline-flex;align-items:center;gap:6px;width:auto;font-size:14px}
.mcb-root .mcb-field-label{display:block;font-weight:700;font-size:13px;margin:15px 0 0}
.mcb-root .mcb-format select{width:100%;max-width:100%;min-width:0;min-height:44px;display:block;margin-top:6px;padding:10px 12px;background:#fff;border:1px solid #cdd5c6;border-radius:10px;font-size:14px;color:#172019}
.mcb-root .mcb-required{color:#a13c20}
.mcb-root .mcb-compose-control{border-top:1px solid var(--mcb-border);padding-top:14px;margin-top:17px}
.mcb-root .mcb-compose-control .mcb-hint{margin-top:8px}
.mcb-root .mcb-details-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.mcb-root .mcb-details-row input{width:100%;min-width:0;font-size:15px;padding:9px 10px}
.mcb-root .mcb-qa-option{margin:17px 0 0}
.mcb-root .mcb-compose-result .mcb-output{min-height:190px}
.mcb-root .mcb-compose-result .mcb-actions{margin-bottom:0}
@media(max-width:900px){
  .mcb-root .mcb-workspace{grid-template-columns:minmax(0,1fr)}
  .mcb-root .mcb-format{position:static;grid-row:1}
  .mcb-root .mcb-main{grid-row:2}
  .mcb-root .mcb-choice{margin:12px 0}
  .mcb-root .mcb-panel{padding:17px}
  .mcb-root #mcb-question{height:180px}
}
@media(max-width:520px){
  .mcb-root .mcb-details-row{grid-template-columns:minmax(0,1fr)}
  .mcb-root .mcb-actions{flex-direction:column}
  .mcb-root .mcb-question-tools{flex-wrap:wrap}
  .mcb-root .mcb-workspace{gap:11px}
  .mcb-root .mcb-format .mcb-choice{gap:12px}
}

/* v0.3.2 – genuinely equal columns with answer directly below settings */
.mcb-root .mcb-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.mcb-root .mcb-main{min-width:0;grid-row:auto}
.mcb-root .mcb-side{display:grid;gap:18px;align-content:start;min-width:0}
.mcb-root .mcb-format{position:static;grid-row:auto;min-width:0}
.mcb-root .mcb-compose-result{min-width:0}
.mcb-root .mcb-compose-result .mcb-output{min-height:180px;max-height:640px;overflow-y:auto}
@media(max-width:900px){
  .mcb-root .mcb-workspace{grid-template-columns:minmax(0,1fr)}
  .mcb-root .mcb-side{display:contents}
  .mcb-root .mcb-format{grid-row:1}
  .mcb-root .mcb-main{grid-row:2}
  .mcb-root .mcb-compose-result{grid-row:3}
}

/* v0.3.4: compact 1–4 workflow, strong green active-area indicator */
.mcb-root .mcb-panel{padding:16px 18px;border-radius:13px;transition:border-color .15s ease,box-shadow .15s ease}
.mcb-root .mcb-panel:focus-within{border-left:6px solid #94C11F;border-color:#94C11F;box-shadow:0 0 0 2px rgba(148,193,31,.22)}
.mcb-root .mcb-step{color:#527d00;font-weight:800;font-size:12px;letter-spacing:.035em;margin-bottom:7px}
.mcb-root .mcb-step::first-letter{font-weight:900}
.mcb-root .mcb-workspace,.mcb-root .mcb-side{gap:12px}
.mcb-root #mcb-question{height:205px;min-height:130px}
.mcb-root .mcb-output{min-height:145px;padding:13px 15px}
.mcb-root .mcb-actions{margin:10px 0}
.mcb-root .mcb-choice.mcb-mail-mode{display:flex;gap:10px;padding:8px 0 11px;border-bottom:1px solid var(--mcb-border)}
.mcb-root .mcb-choice.mcb-mail-mode label{font-size:13px}
.mcb-root .mcb-subject-wrap{background:#f7f9f3;border:1px solid #d9e4cb;border-radius:10px;padding:10px;margin:8px 0 12px}
.mcb-root .mcb-subject-wrap label{font-size:13px}
.mcb-root .mcb-subject-wrap input{width:100%;border:1px solid #cdd5c6;border-radius:8px;background:#fff;min-height:40px;font-size:14px;padding:9px}
.mcb-root .mcb-subject-wrap input:focus{outline:3px solid #94C11F;border-color:#77a312}
.mcb-root .mcb-subject-wrap button{font-size:12px;min-height:30px}
@media(max-width:900px){.mcb-root .mcb-panel{padding:13px 15px}.mcb-root #mcb-question{height:165px}.mcb-root .mcb-compose-result{grid-row:3}}

@media(max-width:900px){
  .mcb-root .mcb-main{grid-row:1}
  .mcb-root .mcb-format{grid-row:2}
  .mcb-root .mcb-compose-result{grid-row:3}
}


/* v0.3.5: compact full green focus outline, no shadows, and large inline numerals */
.mcb-root .mcb-panel{border:2px solid #dbe3d2;box-shadow:none!important;padding:15px 17px}
.mcb-root .mcb-panel:focus-within{border:5px solid #94C11F!important;box-shadow:none!important;padding:12px 14px}
.mcb-root .mcb-panel-heading{display:flex;align-items:baseline;gap:12px;min-width:0;margin:0 0 8px}
.mcb-root .mcb-panel-heading h3{margin:0;font-size:17px;line-height:1.25}
.mcb-root .mcb-step{display:inline-flex;align-items:center;justify-content:center;flex:none;color:#5e8108;font-size:30px;font-weight:900;line-height:1;letter-spacing:-.03em;margin:0;min-width:24px}
.mcb-root .mcb-result-head{align-items:center;gap:10px;margin-bottom:6px}
.mcb-root .mcb-result-head .mcb-panel-heading{margin-bottom:0}
@media(max-width:520px){
  .mcb-root .mcb-panel{padding:12px 13px}
  .mcb-root .mcb-panel:focus-within{padding:9px 10px}
  .mcb-root .mcb-panel-heading h3{font-size:16px}
  .mcb-root .mcb-step{font-size:27px}
}


/* v0.3.6: the installed version is always visible within the protected app header */
.mcb-root .mcb-version{display:inline-flex;align-items:center;margin-left:8px;padding:2px 8px;border-radius:7px;background:#eaf3d9;color:#43591b;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:520px){.mcb-root .mcb-version{font-size:10px;margin-left:3px}}

/* v0.3.7: a visually unmistakable, keyboard-accessible generate action */
.mcb-root #mcb-generate.mcb-main-generate{
  display:inline-flex;justify-content:center;align-items:center;gap:12px;
  min-height:54px;background:#94C11F;color:#162307;
  border:2px solid #709817;border-radius:12px;font-size:16px;font-weight:800;
  box-shadow:none!important;transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}
.mcb-root #mcb-generate.mcb-main-generate:not(.mcb-is-loading)::after{content:"→";font-size:23px;line-height:1}
.mcb-root #mcb-generate.mcb-main-generate:not(:disabled):hover{
  background:#b3d856;border-color:#526e0f;transform:translateY(-1px);box-shadow:none!important;
}
.mcb-root #mcb-generate.mcb-main-generate:focus-visible{outline:3px solid #354e06;outline-offset:3px}
.mcb-root #mcb-generate.mcb-main-generate:active:not(:disabled){transform:translateY(0);background:#80ad19}
.mcb-root #mcb-generate.mcb-main-generate.mcb-is-loading{opacity:1;cursor:progress;background:#d8e8bb;color:#3d561d}
.mcb-root #mcb-generate.mcb-main-generate.mcb-is-loading::after{
  content:"";width:17px;height:17px;flex:none;border-radius:50%;border:2px solid #647c3c;
  border-right-color:transparent;animation:mcb-spin .85s linear infinite
}
@keyframes mcb-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .mcb-root #mcb-generate.mcb-main-generate{transition:none}
  .mcb-root #mcb-generate.mcb-main-generate:hover{transform:none}
  .mcb-root #mcb-generate.mcb-main-generate.mcb-is-loading::after{animation:none}
}
/* Voice: one clear record/stop control; never a permanent 'Diktat läuft …' message */
.mcb-root .mcb-question-tools{flex-wrap:wrap;justify-content:flex-start}
.mcb-root #mcb-question-mic.mcb-is-recording,.mcb-root #mcb-mic.mcb-is-recording{
  background:#fff0ee;color:#9d231c;border:2px solid #af3027;box-shadow:none!important
}
.mcb-root #mcb-question-mic.mcb-is-recording:hover,.mcb-root #mcb-mic.mcb-is-recording:hover{background:#ffe0dc}
.mcb-root #mcb-question-mic:focus-visible,.mcb-root #mcb-mic:focus-visible{outline:3px solid #94C11F;outline-offset:3px}
.mcb-root #mcb-dictation-undo{font-size:12px;min-height:38px;margin-right:auto}
.mcb-root #mcb-question[readonly],.mcb-root #mcb-revision[readonly]{background:#f7fbf0}

/* v0.3.8: provenance, optional human review, privacy-first drafts. */
.mcb-root .mcb-remember-label{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.45;color:#45593d;margin:10px 0 5px;cursor:pointer}
.mcb-root .mcb-remember-label input{width:17px;height:17px;accent-color:#94C11F;flex:none;margin-top:1px}
.mcb-root .mcb-privacy-hint{font-size:11.5px;line-height:1.55;margin:5px 0 0;color:#576957}
.mcb-root .mcb-knowledge-sources{margin:13px 0 8px;border:1px solid #dce6d3;border-radius:10px;background:#f8faf5;padding:10px 12px;font-size:12px}
.mcb-root .mcb-knowledge-sources summary{font-weight:750;cursor:pointer;font-size:13px}
.mcb-root .mcb-knowledge-sources summary:focus-visible{outline:2px solid #94C11F;outline-offset:3px}
.mcb-root .mcb-knowledge-sources ul{padding:0 0 0 20px;margin:9px 0}
.mcb-root .mcb-knowledge-sources li{margin:5px 0;overflow-wrap:anywhere}
.mcb-root .mcb-knowledge-sources p{margin:9px 0 0;color:#665a33;line-height:1.45}
.mcb-root .mcb-review-row{margin:10px 0;padding:9px 11px;border:1px solid #d7dfd3;border-radius:10px;background:#fff;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.mcb-root .mcb-review-status{padding:5px 9px;background:#fff1d5;border-radius:6px;color:#6d4d1a;font-size:12px;font-weight:800}
.mcb-root .mcb-review-status.mcb-reviewed{background:#e9f5df;color:#456d13}
.mcb-root .mcb-review-row label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;cursor:pointer}
.mcb-root .mcb-review-row input{accent-color:#94C11F;width:17px;height:17px}
.mcb-root .mcb-review-row small{font-size:11px;line-height:1.4;color:#6a7460;width:100%}

/* v0.3.10: clearer step 3, with a deterministic recipient salutation. */
.mcb-root .mcb-format{background:linear-gradient(155deg,#ffffff 0%,#fbfdf8 100%);border-color:#d2e1c4}
.mcb-root .mcb-format>.mcb-panel-heading{padding-bottom:11px;border-bottom:1px solid #e7eedf}
.mcb-root .mcb-format-section{margin-top:14px;border:1px solid #e1e9d9;background:#fff;border-radius:13px;padding:13px 14px}
.mcb-root .mcb-format-section-title{display:flex;align-items:center;gap:9px;margin-bottom:11px;color:#293e1e;font-size:13px}
.mcb-root .mcb-format-section-title>span{display:grid;place-items:center;flex:none;width:27px;height:27px;background:#ebf4dd;border-radius:8px;color:#506f21;font-size:11px;font-weight:800}
.mcb-root .mcb-format-section .mcb-choice{margin:8px 0;gap:9px}
.mcb-root .mcb-choice-cards label{flex:1 1 105px;border:1px solid #d4dfca;border-radius:10px;padding:11px 12px;cursor:pointer;background:#fbfcf9;min-height:44px;font-weight:700;transition:border-color .15s,background .15s}
.mcb-root .mcb-choice-cards label:hover{border-color:#93bd51;background:#f2f8e9}
.mcb-root .mcb-choice-cards label:has(input:checked){border-color:#84b325;background:#edf7df;box-shadow:inset 0 0 0 1px #84b325}
.mcb-root .mcb-format-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:12px;align-items:start;margin-top:12px}
.mcb-root .mcb-address-mode{margin:0!important;gap:10px!important}
.mcb-root .mcb-address-mode label{padding:6px 3px;cursor:pointer}
.mcb-root .mcb-form-salutation{display:block;font-size:13px;font-weight:700;color:#2d3c28}
.mcb-root .mcb-form-salutation>span{display:block;margin-bottom:5px}
.mcb-root .mcb-form-salutation select{margin:0;min-height:39px;padding:7px 9px}
.mcb-root .mcb-greeting-preview{font-size:12px;line-height:1.5;background:#f1f8e7;color:#455d32;border-radius:8px;padding:8px 10px;margin:12px 0 1px}
.mcb-root .mcb-format-section .mcb-field-label{margin-top:10px}
.mcb-root .mcb-format-section .mcb-field-label:first-of-type{margin-top:0}
.mcb-root .mcb-compose-control{border-top:none;background:#f2f8e9;border-radius:12px;padding:13px;margin-top:14px}
.mcb-root .mcb-compose-control .mcb-primary{width:100%;min-height:44px}
@media(max-width:620px){.mcb-root .mcb-format-grid{grid-template-columns:1fr}.mcb-root .mcb-format-section{padding:12px}}

/* v0.3.16 – mobile-only reset in the internal chat header */
.mcb-root .mcb-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.mcb-root .mcb-mobile-new{display:none;background:#edf5e3;border:1px solid #bed597;color:#243c0c;min-height:39px;padding:8px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.mcb-root .mcb-mobile-new:hover:not(:disabled){background:#dceec7;border-color:#94c11f}
.mcb-root .mcb-mobile-new:focus-visible{outline:3px solid #79a914;outline-offset:2px}
@media(max-width:900px){
 .mcb-root .mcb-mobile-new{display:inline-flex;align-items:center;justify-content:center}
 .mcb-root .mcb-header{flex-wrap:wrap}
}
@media(max-width:430px){
 .mcb-root .mcb-header-actions{width:100%;justify-content:space-between;gap:8px}
 .mcb-root .mcb-mobile-new{min-height:37px;font-size:12px}
}


/* v0.3.18: prominent 'Neue Anfrage' inside the header frame, top right on mobile. */
@media (max-width:900px){
  .mcb-root .mcb-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
    flex-wrap:nowrap;
    padding:13px 14px;
  }
  .mcb-root .mcb-head-left{min-width:0;align-items:flex-start;gap:9px}
  .mcb-root .mcb-head-left>div:last-child{min-width:0}
  .mcb-root .mcb-header-actions{
    width:auto;
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:7px;
    justify-content:flex-start;
  }
  .mcb-root .mcb-mobile-new{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 14px;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    border-radius:10px;
    white-space:nowrap;
  }
  .mcb-root .mcb-logout{font-size:12px;line-height:1.25}
}
@media (max-width:430px){
  .mcb-root .mcb-header{gap:8px;padding:12px}
  .mcb-root .mcb-head-left{gap:7px}
  .mcb-root .mcb-avatar{width:48px;height:48px}
  .mcb-root .mcb-head-left .mcb-brand-mark{width:45px;height:45px;font-size:27px}
  .mcb-root .mcb-header h2{font-size:16px;line-height:1.2}
  .mcb-root .mcb-header p{font-size:11px;line-height:1.35}
  .mcb-root .mcb-mobile-new{min-height:46px;font-size:14px;padding:9px 11px}
}

/* v0.3.29: consistent typography in step 4, including the first greeting line. */
.mcb-root #mcb-compose-output,
.mcb-root #mcb-compose-output .mcb-greeting {
  font-size:14px;
  line-height:1.65;
  font-weight:400;
  text-transform:none;
}

/* v0.3.30: one visually complete blank line after the e-mail greeting,
   including the structured question/answer view in step 4. */
.mcb-root #mcb-compose-output .mcb-greeting {
    margin-bottom: 1.65em;
    white-space: pre-wrap;
}

/* v0.3.31: non-destructive per-answer feedback. */
.mcb-internal-feedback{margin:8px 0 15px;font-size:12px}
.mcb-internal-feedback form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
.mcb-internal-feedback select,.mcb-internal-feedback textarea{padding:5px;border:1px solid #b1c5a7;border-radius:6px}
.mcb-internal-feedback textarea{flex:1 1 200px;max-width:100%}
.mcb-internal-feedback form[hidden]{display:none}
