/* K1213 »Vores bud« som ét kort + K1215 »Side om side« + K1219 »Vis tider« (Kim 17/11 14.33 »OK K1213 K1215 K1219«).
   Kun i den forenklede Lav speak (.k1073-on – TEST). Farver og mål er den godkendte mockups (k1213pw/mock.js) – ingen nye farver.
   Rollback: fjern linjen i _Host.cshtml (kortet falder så tilbage til sidens almindelige typografi). */

/* ---------- K1213: kortet ---------- */
.k1213-card {
    box-sizing: border-box; width: 100%; margin: 34px 0 10px; padding: 16px 18px;
    border: 1px solid var(--v247-design-border, #DCE5DF); border-radius: 14px;
    background: var(--v247-design-accent-light, #EEF4F1); box-shadow: 0 8px 22px rgba(31, 54, 47, .08);
    color: var(--v247-design-text, #1F2A27);
}
.k1213-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.k1213-t { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #1F3A33; }
.k1213-taste { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #F1ECE3; color: var(--v247-design-text-muted, #5E5E58); font-size: 12px; font-weight: 600; }
/* »Hele filmen« er lavet i K204 → ▶ spiller den; så er det ikke længere en smagsprøve */
html body .k1073-on:has(#k634-film-audio[src]) .k1213-taste { display: none; }
.k1213-t i { width: 8px; height: 8px; border-radius: 50%; background: #E07A2E; }
.k1213-restart { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 13px; color: var(--v247-design-text-muted, #5E5E58); text-decoration: underline; cursor: pointer; }
.k1213-row { display: flex; align-items: center; gap: 16px; }
.k1213-play {
    display: grid; place-items: center; flex: none; width: 58px; height: 58px; padding: 0;
    border: 0; border-radius: 50%; background: #1F3A33; color: #fff; box-shadow: 0 0 0 4px #DCE8E2; cursor: pointer;
}
.k1213-play svg { width: 22px; height: 22px; fill: currentColor; }
.k1213-play .is-play { margin-left: 3px; }
.k1213-play .is-pause, .k1213-play.is-playing .is-play { display: none; }
.k1213-play.is-playing .is-pause { display: block; }
.k1213-play.is-wait { visibility: hidden; cursor: default; }
.k1213-wave { flex: 1; min-width: 0; }
.k1213-wave svg { display: block; width: 100%; height: 54px; }
.k1213-tc { position: relative; height: 16px; font-size: 11px; color: var(--v247-design-text-muted, #5E5E58); font-variant-numeric: tabular-nums; }
.k1213-tc span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.k1213-tc span:first-child { transform: none; }
.k1213-sum { margin: 14px 0 !important; font-size: 14px; line-height: 1.45; }
.k1213-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.k1213-btns .k756-cta { min-height: 44px; padding: 0 26px; }
.k1213-sec { min-height: 44px; padding: 0 22px; border: 1.5px solid #1F3A33; border-radius: 999px; background: #fff; color: #1F3A33; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* ---------- K1213: faner og den stille statuslinje under kortet ---------- */
.k1213-under { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 0 0 12px; }
.k1213-status { font-size: 12.5px; color: var(--v247-design-text-muted, #5E5E58); padding-left: 6px; }
.k1213-status summary { list-style: none; cursor: pointer; }
.k1213-status summary::-webkit-details-marker { display: none; }
.k1213-status p { margin: 6px 0 0; max-width: 60ch; line-height: 1.5; }
.k1213-orig {
    max-height: 340px; margin: 0 0 12px; padding: 12px 14px; overflow: auto; border-radius: 10px;
    background: var(--v247-design-card, #fff); color: var(--v247-design-text-muted, #5E5E58);
    font: 14px/1.6 var(--v247-design-font-family, inherit); white-space: pre-wrap;
}
/* Original / Side om side står i stedet for feltet – feltet (og K204-linjerne) gemmes væk, men lever videre */
html body .k1073-on .v247-speak-editor:has(.k1213-under:not([data-view="0"])) :is(.v247-stage-text, .v247-speak-clear) { display: none; }
html body .k1073-on:has(.k1213-under:not([data-view="0"])) .k634-film :is(.k634-field, .k634-fixes) { display: none; }

/* ---------- K1215: Side om side ---------- */
.k1215-wrap { padding: 6px 0 18px; }
.k1215-ab { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 10px; font-size: 13px; color: #5E5E58; }
.k1215-ab .k1203-tabs { background: #F1ECE3; }
.k1215-ab .k1203-tab.is-on::before { content: '▶ '; font-size: 11px; }
.k1215-ab ins, .k1215-tbl ins { text-decoration: none; background: #FBE9D9; border-radius: 3px; padding: 0 2px; }
.k1215-tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; color: #1F2A27; }
.k1215-tbl th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #5E5E58; padding: 8px 10px; border-bottom: 1px solid #E3DDD2; }
.k1215-tbl td { vertical-align: top; padding: 10px; border-bottom: 1px solid #EFEAE1; }
.k1215-tbl tbody tr { cursor: pointer; }
.k1215-tbl td.tc { font-variant-numeric: tabular-nums; color: #1F3A33; font-weight: 600; white-space: nowrap; width: 64px; }
.k1215-tbl tr.on td { background: #EEF4F1; }
.k1215-tbl tr.on td.tc::before { content: '▶ '; font-size: 11px; }
.k1215-tbl td.o { color: #5E5E58; }
.k1215-tbl tr:focus-visible { outline: 2px solid #1F3A33; outline-offset: -2px; }
@media (max-width: 600px) {
    .k1215-tbl thead { display: none; }
    .k1215-tbl tr { display: block; border-bottom: 1px solid #EFEAE1; padding: 8px 6px; }
    .k1215-tbl td { display: block; border: 0; padding: 3px 4px; }
    .k1215-tbl td.o::before { content: 'Original: '; font-weight: 600; }
    .k1215-tbl td.n::before { content: 'Vores: '; font-weight: 600; color: #5E5E58; }
    .k1215-wrap { padding: 6px 0 14px; }
}

/* ---------- K1219: Vis tider ---------- */
.k1219-bar { display: flex; justify-content: flex-end; width: 100%; margin: 0 0 6px; }
.k1219-tg { display: inline-flex; align-items: center; gap: 8px; border: 0; font: 600 13px var(--v247-design-font-family, inherit); color: #1F3A33; padding: 6px 12px; border-radius: 999px; background: #F1ECE3; cursor: pointer; }
/* fra = sidens grå kontakt (K975, #C9D1CC); til = mockuppens mørkegrønne */
.k1219-sw { width: 30px; height: 18px; border-radius: 9px; background: #C9D1CC; position: relative; transition: background .15s; }
.k1219-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.k1219-tg[aria-checked="true"] .k1219-sw { background: #1F3A33; }
.k1219-tg[aria-checked="true"] .k1219-sw::after { left: 14px; }
/* K1219b (Kim 17/11, skærmbillede): knappen sad på kortets øverste kant og ramte rammen. Nu står den INDE i kortets øverste linje – på højde
   med × (top 14 px, 30 px høj) og lige til venstre for den, i samme lille chip-stil som »Historik« (gennemsigtig, lysegrøn ved mus-over). */
html body .k1073-on .v247-speak-editor .k1219-bar:not(#a):not(#a) { position: absolute; top: 14px; right: 52px; z-index: 4; display: block; width: auto; margin: 0; }
html body .k1073-on .v247-speak-editor .k1219-bar[hidden]:not(#a):not(#a) { display: none; }
html body .k1073-on .v247-speak-editor .k1219-tg:not(#a):not(#a) { height: 30px; padding: 0 12px; background: transparent; color: #46524C; transition: background-color .15s ease; }
html body .k1073-on .v247-speak-editor .k1219-tg:hover:not(#a):not(#a), html body .k1073-on .v247-speak-editor .k1219-tg[aria-checked="true"]:not(#a):not(#a) { background: #EEF3EF; color: #16201C; }
/* første linje løber ikke ind under knappen (computer: plads til højre; mobil: lidt mere luft over første linje) */
@media (min-width: 601px) {
    html body .k1073-on .v247-speak-editor.v247-speak-stage:has(.k1219-bar:not([hidden])) .v247-tag-mirror:not(#a):not(#a):not(#a):not(#a),
    html body .k1073-on .v247-speak-editor.v247-speak-stage:has(.k1219-bar:not([hidden])) textarea:not(#a):not(#a):not(#a):not(#a) { padding-right: 176px !important; }
}
@media (max-width: 600px) {
    html body .k1073-on .v247-speak-editor .k1219-bar:not(#a):not(#a) { top: 12px; right: 48px; }
    html body .k1073-on .v247-speak-editor.v247-speak-stage:has(.k1219-bar:not([hidden])) .v247-tag-mirror:not(#a):not(#a):not(#a):not(#a),
    html body .k1073-on .v247-speak-editor.v247-speak-stage:has(.k1219-bar:not([hidden])) textarea:not(#a):not(#a):not(#a):not(#a) { padding-top: 52px !important; }
}
.k1219-tcl { position: absolute; z-index: 5; font: 600 12px var(--v247-design-font-family, inherit); color: #1F3A33; background: #EEF4F1; border-radius: 6px; padding: 2px 6px; font-variant-numeric: tabular-nums; pointer-events: none; }
/* plads i venstre margen, mens tiderne står (samme greb som mockuppen) */
html body .k1073-on .v247-speak-editor.v247-speak-stage.k1219-on .v247-tag-mirror:not(#a):not(#a):not(#a):not(#a),
html body .k1073-on .v247-speak-editor.v247-speak-stage.k1219-on textarea:not(#a):not(#a):not(#a):not(#a) { padding-left: 84px !important; }
