/* RUNDE 12 (Wunsch Lino 12.11.2026): ruhig, beige, ohne Blau. */
.r12-ov { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(48, 41, 35, .42); }
.r12-dlg { width: min(440px, 100%); background: #F7F3EC; color: #302923; border-radius: 24px; padding: 22px; box-shadow: 0 24px 60px rgba(48, 41, 35, .3); animation: r12up .2s ease; }
.r12-dlg h3 { margin: 0 0 8px; font-size: 20px; }
.r12-dlg p { margin: 0 0 16px; color: #756B63; font-size: 14.5px; line-height: 1.5; }
.r12-act { display: grid; gap: 8px; }
.r12-b { border: 1.5px solid #DED2C5; background: #FBF8F2; color: #302923; border-radius: 14px; font: inherit; font-weight: 700; font-size: 15px; padding: 13px 16px; min-height: 48px; cursor: pointer; }
.r12-b:hover { border-color: #8A7765; }
.r12-b.is-main { background: #8A7765; border-color: #8A7765; color: #fff; }
.r12-b.is-main:hover { background: #6C5C4D; }
.r12-b.is-ghost { background: transparent; border-color: transparent; color: #756B63; }
.r12-b:focus-visible { outline: 3px solid #8A7765; outline-offset: 2px; }
.r12-b:disabled { opacity: .6; cursor: default; }
@keyframes r12up { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .r12-dlg { animation: none; } }

/* Multicheck, Zahlen-Aufgabe: ruhig, mittig, ohne Blau und ohne Flackern */
.mc-nc-cfg { display: none !important; }
.num-chain-wrap { margin: 18px auto 6px; }
.num-chain-grid3x3 { gap: 10px; max-width: 270px; }
.num-chain-cell { transition: none !important; border: 1.5px solid #DED2C5; border-radius: 14px; background: #FBF8F2; font-size: 30px; font-weight: 600; color: #302923; }
.num-chain-cell.num-chain-dim { opacity: 1 !important; background: #F1EBE2; border-color: #E7DED2; }
.num-chain-cell.num-chain-active { background: #fff !important; border-color: #8A7765 !important; box-shadow: inset 0 0 0 1px #8A7765; color: #302923; }
.num-chain-active::before { color: #756B63 !important; }
.num-chain-count { background: rgba(251, 248, 242, .92) !important; color: #6C5C4D !important; font-weight: 500 !important; font-size: 64px !important; border-radius: 18px; letter-spacing: .02em; }
.r12-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.r12-chip { border: 1.5px solid #DED2C5; background: #FBF8F2; color: #302923; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 40px; }
.r12-chip:hover { border-color: #8A7765; }
.r12-chip.is-on { background: #8A7765; color: #fff; border-color: #8A7765; }

/* Motivationsschreiben-Coach: Firmen-Link, Auswahl bei gleichen Namen, Ton-Empfehlung */
.r12-src { color: #6C5C4D; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.r12-cands { margin: 0 0 14px; display: grid; gap: 8px; }
.r12-cq { margin: 0; font-weight: 700; font-size: 14px; }
.r12-cn { margin: 2px 0 0; font-size: 13px; color: #756B63; }
.r12-cand { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1.5px solid #DED2C5; background: #FBF8F2; color: #302923; border-radius: 14px; padding: 11px 14px; font: inherit; cursor: pointer; min-height: 48px; }
.r12-cand small { color: #756B63; font-size: 12.5px; }
.r12-cand:hover { border-color: #8A7765; }
.r12-cand.is-on { border-color: #8A7765; background: #F3EBDF; box-shadow: inset 0 0 0 1px #8A7765; }
.r12-rec { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }

/* Tracker: Mail einfügen */
.r12-mailbtn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; border: 1.5px solid #DED2C5; background: #FBF8F2; color: #302923; border-radius: 14px; font: inherit; font-weight: 700; font-size: 14px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
.r12-mailbtn:hover { border-color: #8A7765; }
.r12-wide { width: min(560px, 100%); max-height: 92vh; overflow: auto; }
.r12-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.r12-hd h3 { margin: 0; }
.r12-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #EDE2D5; color: #302923; font-size: 22px; line-height: 1; cursor: pointer; }
.r12-p { margin: 0 0 12px !important; color: #4F463F !important; }
.r12-ta { width: 100%; border: 1.5px solid #DED2C5; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; color: #302923; resize: vertical; margin-bottom: 14px; }
.r12-ta:focus { outline: none; border-color: #8A7765; }
.r12-form { display: grid; gap: 12px; margin-bottom: 16px; }
.r12-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #756B63; }
.r12-form select { border: 1.5px solid #DED2C5; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px; background: #fff; color: #302923; min-height: 46px; }
.r12-form .r12-chk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #302923; }
.r12-form .r12-chk input { width: 20px; height: 20px; accent-color: #8A7765; }
.r12-sn { margin: 0; background: #F3EDE5; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: #756B63; }
@media (max-width: 640px) { .r12-mailbtn { margin-left: 0; margin-top: 8px; } }

/* Home-Chat: Letzte Chats unter dem Feld (Runde 13) */
.h2-recent { max-width: 760px; margin: 16px auto 0; display: grid; gap: 8px; }
.h2-recent > small { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #756B63; }
.h2-recent .h2-chatc-last { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important; max-width: none !important; background: #F4ECE1; border: 1px solid #E6DCCF; border-radius: 14px; padding: 11px 14px; }
.h2-recent .h2-chatc-last span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.h2-recent .h2-chatc-last em { font-style: normal; font-size: 11.5px; color: #8A7765; font-weight: 700; flex: none; }
.h2-recent .h2-chatc-last:hover { background: #EFE5D8; }

/* Tracker: zwei klare Knöpfe statt schwebendem Plus (Runde 13) */
#page-tracker .tracker-fab { display: none !important; }
#page-tracker .r12-mailbtn { display: none; }
.r13-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.r13-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.r13-add { background: #8A7765; color: #fff; border: 0; }
.r13-add:hover { background: #6C5C4D; }
.r13-mail { background: #FBF8F2; color: #302923; border: 1.5px solid #DED2C5; }
.r13-mail:hover { border-color: #8A7765; }
@media (max-width: 560px) { .r13-actions button { flex: 1 1 100%; } }

/* Mail einfügen: Einfügen-Knopf und Anleitung zum Weiterleiten (Runde 13) */
.r13-pasterow { margin: -4px 0 14px; } .r13-pasterow .r12-b { width: 100%; background: #F4ECE1; color: #302923; border: 1.5px solid #DED2C5; }
.r13-guide { margin-top: 18px; border: 1px solid #E6DCCF; border-radius: 16px; background: #FBF8F2; padding: 4px 14px; }
.r13-guide > summary { cursor: pointer; padding: 12px 0; font-weight: 800; font-size: 15px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.r13-guide > summary::-webkit-details-marker { display: none; }
.r13-guide > summary em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #EFE2CF; color: #8F6D42; border-radius: 999px; padding: 3px 9px; }
.r13-tabs { display: flex; gap: 6px; margin: 4px 0 12px; } .r13-tabs button { border: 1.5px solid #DED2C5; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; } .r13-tabs button.is-on { background: #8A7765; border-color: #8A7765; color: #fff; }
.r13-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.r13-steps li { display: grid; grid-template-columns: 28px 76px 1fr; gap: 10px; align-items: center; background: #fff; border: 1px solid #E6DCCF; border-radius: 14px; padding: 10px; }
.r13-steps p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #4F463F; }
.r13-n { width: 28px; height: 28px; border-radius: 50%; background: #8A7765; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.r13-shot { width: 76px; height: 54px; border-radius: 9px; background: #F4ECE1; border: 1px solid #E6DCCF; padding: 8px; display: grid; gap: 5px; align-content: center; }
.r13-shot i { display: block; height: 6px; border-radius: 3px; background: #DCCFBE; } .r13-shot i:nth-child(1) { width: 60%; background: #BBA88F; } .r13-shot i:nth-child(3) { width: 80%; }
.r13-s1 i:nth-child(1) { background: #D9A441; animation: r13p 2.2s ease-in-out infinite; }
.r13-s2 i:nth-child(2) { background: #D9A441; animation: r13p 2.2s ease-in-out infinite; }
.r13-s3 i:nth-child(3) { background: #D9A441; width: 90%; animation: r13p 2.2s ease-in-out infinite; }
.r13-s4 i { background: #7FA58B !important; width: 70% !important; animation: r13p 2.2s ease-in-out infinite; }
@keyframes r13p { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@media (max-width: 420px) { .r13-steps li { grid-template-columns: 28px 1fr; } .r13-shot { display: none; } }

/* Zahlen-Aufgabe: grössere, feste Felder, nur die Zahl blendet ein und aus (Runde 13) */
.num-chain-grid3x3 { max-width: min(340px, 84vw) !important; gap: 12px !important; }
.num-chain-cell { aspect-ratio: 1 / 1; display: flex !important; align-items: center; justify-content: center; overflow: hidden; font-size: clamp(34px, 9vw, 46px) !important; border-radius: 18px !important; }
.nc-n { display: inline-block; animation: ncIn .18s ease-out; }
@keyframes ncIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.num-chain-count { font-size: clamp(60px, 18vw, 96px) !important; }
/* Zurück unten links: weisse Fläche, gleiche Grösse wie Weiter */
.mc-shell-footer > .btn.btn-ghost { background: #fff !important; color: #302923 !important; border: 1.5px solid #DED2C5 !important; box-shadow: none; min-height: 48px; font-weight: 800; }
.mc-shell-footer > .btn.btn-ghost:hover:not(:disabled) { border-color: #8A7765 !important; }
.mc-shell-footer > .btn.btn-ghost:disabled { opacity: .45; }
.mc-shell-footer > .btn.btn-primary { min-height: 48px; }

/* Lernplan: eingeklappte Boxen (Runde 13) */
.r13-fold-head { cursor: pointer; display: flex; align-items: center; gap: 10px; user-select: none; }
.r13-fold-head .r13-chev { margin-left: auto; flex: none; transition: transform .2s; color: #756B63; }
.mcl2-col header.r13-fold-head > span { margin-left: auto; } .mcl2-col header.r13-fold-head .r13-chev { margin-left: 0; }
.r13-fold:not(.r13-closed) .r13-chev { transform: rotate(180deg); }
.r13-fold.r13-closed > :not(.r13-fold-head) { display: none !important; }
.mcl2-cols { align-items: start; }
.mcl2-col.r13-closed { padding-top: 14px; padding-bottom: 14px; }
.r13-fold-head:focus-visible { outline: 3px solid #8A7765; outline-offset: 3px; border-radius: 10px; }
