/* K1086 Dansegulv og siddepladser (Kim 12/11 11.29) – KUN DESIGN. Facit: mockup F7uPhawikuKPoZahZba2Xi (K1086 desktop/mobil/musik).
   Kun når siden har .k1073-on (Features:LavSpeakSimple). Ingen orange. Grøn kontur = kun fokus. Bløde overgange 200–300 ms.
   :not(#k1086) ×4 vinder over v247-k1073.css og de fælles løft-tokens. Rollback: fjern linjen i _Host.cshtml. */

/* ---------- 1. Tekstkortet (dansegulvet) ---------- */
html body .k1073-on .v247-speak-editor.v247-speak-stage:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    background: #FFFFFF !important;
    border: 1px solid #E4DBCC !important;
    border-radius: 24px !important;
    box-shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 12px 32px -8px rgba(60, 40, 20, .16), 0 32px 64px -24px rgba(60, 40, 20, .14) !important;
    transition: border-color .25s ease, box-shadow .25s ease !important;
}
html body .k1073-on .v247-speak-editor.v247-speak-stage:not(#k1086):not(#k1086):not(#k1086):not(#k1086):focus-within {
    border-color: #2F5D50 !important;
    box-shadow: 0 0 0 .5px #2F5D50, 0 0 0 4px rgba(47, 93, 80, .10), 0 1px 2px rgba(60, 40, 20, .06), 0 12px 32px -8px rgba(60, 40, 20, .16), 0 32px 64px -24px rgba(60, 40, 20, .14) !important;
}
/* skrivefladen: 430 px (mobil 300 px), vokser med teksten op til ca. 60 % (k756-stage.js) */
html body .k1073-on .v247-speak-editor.v247-speak-stage:not(.k1075-music-view) .v247-stage-text:not(#k1086):not(#k1086):not(#k1086) { min-height: 430px; }
html body .k1073-on .v247-speak-editor.v247-speak-stage:not(.k1075-music-view) textarea:not(#k1086):not(#k1086):not(#k1086) { min-height: 430px; padding: 28px 32px !important; font-size: 18px; }
html body .k1073-on .v247-speak-editor.v247-speak-stage .v247-tag-mirror:not(#k1086):not(#k1086):not(#k1086) { padding: 28px 32px !important; font-size: 18px; }

/* tomt felt: placeholder venstrestillet øverst, »Vælg fil ⌄« under den */
html body .k1073-on .v247-speak-editor .k549-start.is-min:not(#k1086):not(#k1086):not(#k1086) {
    left: 32px; top: 28px; transform: none; width: auto; max-width: calc(100% - 64px); align-items: flex-start; text-align: left;
}
html body .k1073-on .v247-speak-editor .k549-min:not(#k1086):not(#k1086):not(#k1086) { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
html body .k1073-on .v247-speak-editor .k814-min-t:not(#k1086):not(#k1086):not(#k1086) { margin: 0; font-size: 23px; font-weight: 400; line-height: 1.3; color: #8A8178; }
html body .k1073-on .v247-speak-editor .k549-min-link:not(#k1086):not(#k1086):not(#k1086) {
    display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid #E3DCD0; border-radius: 999px; background: #FFFFFF;
    font-size: 14px; font-weight: 600; color: #3A3A36; text-decoration: none;
}

/* bundlinjen: Sprog · Udtryk · Flere stemmer · Tilføj musik … Gemmes i · ≈ tid · Lav speak */
html body .k1073-on .v247-speak-editor .k756-bar:not(#k1086):not(#k1086):not(#k1086) { border-top: 1px solid #F0EAE0; padding: 14px 20px; gap: 10px; }
html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip:not(#k1086):not(#k1086):not(#k1086) {
    height: auto; padding: 10px 16px; border: 1px solid #E3DCD0 !important; border-radius: 999px; background: #FFFFFF !important;
    font-size: 15px; font-weight: 600; color: #1D1D1B; box-shadow: none !important;
}
html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip.is-used:not(#k1086):not(#k1086):not(#k1086) { border-color: #2F5D50 !important; }
html body .k1073-on .v247-speak-editor .k756-go:not(#k1086):not(#k1086):not(#k1086) { display: flex; align-items: center; gap: 10px; }
html body .k1073-on .v247-speak-editor .k756-est:not(#k1086):not(#k1086):not(#k1086) { padding: 0 6px; font-size: 16px; color: #3A3A36; }
html body .k1073-on .v247-speak-editor .k756-cta:not(#k1086):not(#k1086):not(#k1086) {
    height: auto; padding: 16px 48px; border: 0; border-radius: 14px; background: #1F3A33; color: #FFFFFF; font-size: 17px; font-weight: 600;
}
/* »Gemmes i Mine speaks · skift« står i bundlinjen */
html body .k1073-on .k756-go .k1081-saveline:not(#k1086):not(#k1086):not(#k1086) { margin-right: 4px; font-size: 13px; color: #6B6B66; }
html body .k1073-on .k756-go .k1081-saveline .speak-folder-picker-trigger-name:not(#k1086):not(#k1086):not(#k1086) { font-size: 13px !important; color: #6B6B66 !important; }
html body .k1073-on .k756-go .k1081-saveline .speak-folder-picker-trigger:not(#k1086):not(#k1086):not(#k1086)::after { color: #2F5D50 !important; font-weight: 600 !important; }

/* ---------- 2. Arkivet (siddepladserne) ---------- */
html body .k1073-on .v247-speak-recent:not(#k1086):not(#k1086) { margin-top: 24px !important; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-compact-recent:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    display: flex; flex-direction: column; gap: 32px; padding: 22px 20px 18px; background: #FCFAF6; border: 1px solid #E6DED1; border-radius: 20px; box-shadow: none;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-compact-recent .k1078-earlier:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { margin-top: 0; }

/* dagsoverskrift: I DAG · torsdag 12. nov. · streg; 32 px mellem dagene */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-day-divider:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    display: flex; align-items: center; gap: 12px; padding: 0 0 10px !important; border: 0 !important; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #1D1D1B;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-day-divider:not(:first-child):not(#k1086):not(#k1086):not(#k1086):not(#k1086) { margin-top: 32px; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-day-divider:not(#k1086):not(#k1086):not(#k1086):not(#k1086)::after {
    content: "" !important; display: block !important; flex: 1; height: 1px; background: #D9CFBF;
}
.k1086-date { display: none; }
html body .k1073-on .speaks-day-divider .k1086-date:not(#k1086):not(#k1086) { display: inline; font-weight: 400; letter-spacing: 0; text-transform: none; color: #8A8178; }

/* rækker: én linje, 58 px · ▶ 36 px · titel 16 px · mærker · varighed · klokkeslæt · ••• */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star):not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    border: 0 !important; border-bottom: 1px solid #D9CFBF !important; border-radius: 0; background: transparent; transition: background-color .2s ease;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star):last-child:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { border-bottom: 0 !important; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star):hover:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { background: #FFFFFF !important; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star) .speaks-card-row:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { min-height: 58px; padding: 0 17px; align-items: center; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star) .speaks-card-play:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    width: 36px; height: 36px; min-width: 36px; border: 0; background: #E3ECE6 !important; color: #1F3A33 !important; box-shadow: none !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-title-text:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { font-size: 16px; font-weight: 400; color: #1D1D1B; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    display: inline-flex; flex-direction: row; align-items: baseline; gap: 16px; font-size: 14px; opacity: 1;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text b:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { min-width: 60px; text-align: right; font-weight: 400; color: #1D1D1B; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text time:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { min-width: 50px; text-align: right; color: #5E5E58; }

/* ---------- 3. Det nye speak (afspilleren i rækken) ---------- */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    background: #EAF3EE !important; border: 0 !important; border-left: 3px solid #2F5D50 !important; box-shadow: inset 0 0 0 1px #CFE0D7 !important; border-radius: 14px;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-row:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { padding: 14px 16px 16px; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-play:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    width: 48px; height: 48px; min-width: 48px; border: 0; background: #1F3A33 !important; color: #FFFFFF !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1073-star .speaks-card-title-text:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { font-size: 17px; font-weight: 600; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1073-star .speaks-card-fresh-badge.k1073-new:not(#k1086):not(#k1086):not(#k1086):not(#k1086) {
    padding: 3px 8px; border-radius: 6px; background: #2F5D50; color: #FFFFFF; font-size: 11px;
}
/* tidslinjen: 6 px (#CFE0D7, fyld #1F3A33) og håndtag 14 px */
html body .k1073-on .speaks-card.k1073-star .speaks-card-timeline-track:not(#k1086):not(#k1086):not(#k1086) { height: 6px; border-radius: 3px; background: #CFE0D7; }
html body .k1073-on .speaks-card.k1073-star .speaks-card-timeline-fill:not(#k1086):not(#k1086):not(#k1086) { height: 6px; border-radius: 3px; background: #1F3A33; }
html body .k1073-on .speaks-card.k1073-star .speaks-card-timeline-knob:not(#k1086):not(#k1086):not(#k1086) { width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #1F3A33; box-shadow: 0 0 0 3px #FFFFFF; }

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
    html body .k1073-on .v247-speak-editor.v247-speak-stage:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { border-radius: 20px !important; }
    html body .k1073-on .v247-speak-editor.v247-speak-stage:not(.k1075-music-view) .v247-stage-text:not(#k1086):not(#k1086):not(#k1086) { min-height: 300px; }
    html body .k1073-on .v247-speak-editor.v247-speak-stage:not(.k1075-music-view) textarea:not(#k1086):not(#k1086):not(#k1086) { min-height: 300px; padding: 20px !important; font-size: 17px; }
    /* K1317 (Kim 19/11 iPhone »markøren står forkert«): den synlige tekst (spejlet) har samme luft og skrift som feltet – ellers står markøren ved siden af bogstaverne */
    html body .k1073-on .v247-speak-editor.v247-speak-stage .v247-tag-mirror:not(#k1086):not(#k1086):not(#k1086) { padding: 20px !important; font-size: 17px; }
    html body .k1073-on .v247-speak-editor .k549-start.is-min:not(#k1086):not(#k1086):not(#k1086) { left: 20px; top: 20px; max-width: calc(100% - 40px); }
    html body .k1073-on .v247-speak-editor .k814-min-t:not(#k1086):not(#k1086):not(#k1086) { font-size: 18px; }
    html body .k1073-on .v247-speak-editor .k756-cta:not(#k1086):not(#k1086):not(#k1086) { padding: 14px 28px; }
    html body .k1073-on .v247-speak-recent:not(#k1086):not(#k1086) { margin-top: 18px !important; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-compact-recent:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { border-radius: 16px; padding: 18px 14px 14px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star) .speaks-card-row:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { padding: 0 10px; }
}

/* ---------- K1128 Intet hopper (Kim 12/11 13.19 »Plæren hopper«) ---------- */
/* a) Bundlinjen brækker ikke om, når »Udtryk · studiets bud« dukker op: på computer står værktøjerne og
      »Gemmes i … · tid · Lav speak« på én linje; »Gemmes i« forkortes med … i stedet for at skubbe knappen ned. */
@media (min-width: 1300px) {
    html body .k1073-on .v247-speak-editor .k756-bar:not(#k1086):not(#k1086):not(#k1086):not(#k1086) { flex-wrap: nowrap; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools:not(#k1086):not(#k1086):not(#k1086) { flex: 0 0 auto; flex-wrap: nowrap; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-go:not(#k1086):not(#k1086):not(#k1086) { flex: 0 1 auto; min-width: 0; margin-left: auto; flex-wrap: nowrap; }
    html body .k1073-on .v247-speak-editor .k756-go .k1081-saveline:not(#k1086):not(#k1086):not(#k1086) { flex: 0 1 auto; min-width: 0; display: flex; white-space: nowrap; }
    html body .k1073-on .k756-go .k1081-saveline :is(.folder-save-location, .speak-folder-picker, .speak-folder-picker-control, .speak-folder-picker-trigger):not(#k1128) { min-width: 0; max-width: 100%; display: flex; align-items: center; }
    /* mappenavnet forkortes med …, »· skift« bliver altid stående */
    html body .k1073-on .k756-go .k1081-saveline .speak-folder-picker-trigger-name:not(#k1128):not(#k1128) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    html body .k1073-on .v247-speak-editor .k756-go .k756-est:not(#k1086):not(#k1086):not(#k1086),
    html body .k1073-on .v247-speak-editor .k756-go .k756-cta:not(#k1086):not(#k1086):not(#k1086) { flex: none; }
}
/* b) Tidslinjen fra streaming bliver kun på det nye speak; ældre rækker får deres rolige én-linje-højde igen. */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card:not(.k1073-star) .k1123-line:not(#k1128):not(#k1128) { display: none; }

/* ---------- K1132 Mobil: rækkerne (Kim 12/11 15.33 – titlen stod ét bogstav pr. linje) ---------- */
/* ▶ · titel (fylder resten) · varighed · •••; klokkeslæt skjules på mobil, »NYT« brydes under titlen */
@media (max-width: 600px) {
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-row:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) {
        display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: auto; column-gap: 10px; align-items: center;
    }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-selection:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { display: none; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-play-cell:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { grid-column: 1 !important; grid-row: 1 !important; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { grid-column: 3 !important; grid-row: 1 !important; min-width: 0; align-self: center !important; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-actions:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { grid-column: 4 !important; grid-row: 1 !important; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-title:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { flex: 1 1 100%; min-width: 0; max-width: 100%; flex-wrap: wrap; row-gap: 4px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-title-text:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) {
        flex: 1 1 calc(100% - 32px); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px;
    }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { gap: 8px; font-size: 13px; min-width: 0; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text b:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { min-width: 0; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-when-text time:not(#k1132):not(#k1132):not(#k1132):not(#k1132):not(#k1132) { display: none; }
    /* værktøjsrækken brydes om på to linjer i stedet for at blive skåret af */
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools:not(#k1132):not(#k1132):not(#k1132):not(#k1132) { flex-wrap: wrap; }
}

/* ---------- K1135 Mobil og afspilning (Kim 12/11 16.48 »OK 1–8«) ---------- */
/* 1) Én afspilningslinje: det nye speak viser kun linjen i rækken – den gamle bølgebjælke under rækken skjules */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1073-star .speaks-card-wave:not(#k1135):not(#k1135):not(#k1135) { display: none; }
/* 7) Grøn følger det, der spiller: det nye speak beholder »NYT« og den grønne kant, men er kun helt grønt, mens det spiller */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star:not(.speaks-card-playing):not(.speaks-card-current-audio):not(.k1126-playing):not(.k1126-paused):not(.speaks-card-pending):not(#k1135):not(#k1135):not(#k1135):not(#k1135) {
    background: #FFFFFF !important; box-shadow: inset 0 0 0 1px #E6DED1 !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star):is(.speaks-card-playing, .speaks-card-current-audio):not(#k1135):not(#k1135):not(#k1135):not(#k1135) {
    background: #EAF3EE !important; border-radius: 12px; border-bottom-color: transparent !important;
}
/* 6) Ventefigur på ▶ først efter 1 sek. – før det står ❚❚ med det samme (fast regel 10/11) */
html body .k1073-on .speaks-card-play:has(.speaks-row-action-loader) { position: relative; }
html body .k1073-on .speaks-card-play .speaks-row-action-loader { opacity: 0; animation: k1135-late .2s ease 1s forwards; }
html body .k1073-on .speaks-card-play:has(.speaks-row-action-loader)::after {
    content: "❚❚"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: -1px;
    animation: k1135-gone .2s ease 1s forwards;
}
@keyframes k1135-late { to { opacity: 1; } }
@keyframes k1135-gone { to { opacity: 0; } }
/* K1148 (Kim 12/11 21.09 + »OK« 22.40): × i musikvisningen på computer og mobil – samme lukkeknap som alle andre lag */
html body .k1073-on .k1075-head:not(#k1148) { position: relative; padding-right: 56px; min-height: 52px; align-items: center; }
html body .k1073-on .k1075-head .k1135-x:not(#k1148):not(#k1148) { display: grid; place-items: center; position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E3DCD0; background: #FFFFFF; color: #1F3A33; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
html body .k1073-on .k1075-head .k1135-x:hover:not(#k1148):not(#k1148) { background: #F3F7F4; }

@media (max-width: 600px) {
    /* 2) Alle rækker har én linje: titlen forkortes, »2 ▾« og ikoner står småt på samme linje */
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { flex-wrap: nowrap; align-items: center; gap: 6px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star) .speaks-card-title:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { flex: 1 1 auto; flex-wrap: nowrap; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-sub:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { flex: none; margin: 0; }
    html body .k1073-on .speaks-card.k1077-row .speaks-version-toggle .k1135-word { display: none; }
    html body .k1073-on .speaks-card.k1077-row .speaks-version-toggle { padding: 2px 7px; font-size: 12px; gap: 3px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-rename:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { display: none; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-row:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { min-height: 58px; }
    /* 3) Tynde streger mellem rækkerne, som på computer */
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1073-star):not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { border-bottom: 1px solid #D9CFBF !important; border-radius: 0; }
    /* 5) Værktøjerne på én række med korte navne (Sprog · Udtryk · Stemmer · Musik); bliver skærmen meget smal, kan rækken skubbes sidelæns */
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools:not(#k1135):not(#k1135):not(#k1135):not(#k1135):not(#k1135) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools::-webkit-scrollbar { display: none; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip:not(#k1135):not(#k1135):not(#k1135):not(#k1135) { flex: none; padding: 8px 12px; font-size: 14px; }
    /* K1220/N8 (Kim 17/11 21.17): skiftes der med fanerne, står musikken i kortet i fuld højde ([data-n8], sat af js/k1220-faner.js – K1220-højdelåsen er fjernet) – arket nedenfor gælder kun uden */
    /* 8) Musik fylder skærmen som et ark: × øverst, kan scrolles, »Lav speak og musik« står fast i bunden */
    html body .k1073-on .v247-speak-editor.k1075-music-view:not([data-n8]):not(#k1135):not(#k1135):not(#k1135):not(#k1135) {
        position: fixed !important; inset: 0 !important; z-index: 9000 !important; margin: 0 !important; width: 100vw !important; height: 100dvh !important;
        max-height: none !important; border-radius: 0 !important; border: 0 !important; overflow-y: auto !important; transform: none !important; -webkit-overflow-scrolling: touch;
    }
    html body .k1073-on .v247-speak-editor.k1075-music-view:not([data-n8]) .k756-mlayer.k1075-inline:not(#k1135):not(#k1135):not(#k1135) {
        position: static !important; width: auto !important; height: auto !important; min-height: 100%; transform: none !important;
    }
    html body .k1073-on .k1075-head .k1135-x:not(#k1135):not(#k1135) { display: grid; place-items: center; position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; background: #FFFFFF; z-index: 2; }
    html body .k1073-on .k1075-head:not(#k1135) { position: relative; padding-right: 56px; }
    html body .k1073-on .v247-speak-editor.k1075-music-view .k756-mfoot:not(#k1135):not(#k1135):not(#k1135) { position: sticky; bottom: 0; z-index: 2; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid #F0EAE0; }
    body:has(.k1073-on .k1075-music-view:not([data-n8])) { overflow: hidden; }
    body:has(.k1073-on .k1075-music-view:not([data-n8])) .v247-site-header { visibility: hidden; }
    /* K1135c (rigtig iPhone 13/11 00.20: footeren stod oven på musikarket): arket er helt dækkende, og sidens footer skjules, mens det er åbent */
    body:has(.k1073-on .k1075-music-view:not([data-n8])) footer { visibility: hidden !important; }
    html body .k1073-on .v247-speak-editor.k1075-music-view:not([data-n8]):not(#k1135c):not(#k1135c):not(#k1135c):not(#k1135c):not(#k1135c) { background: #FFFFFF !important; isolation: isolate; }
}

/* ---------- K1136 Mobil finpuds (egen kontrol 12/11 17.25) ---------- */
@media (max-width: 600px) {
    /* det nye speak: titel + »6 ▾« på første linje, tidslinjen i fuld bredde under; »NYT« skjules på mobil (den grønne kant viser det) */
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-main:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { flex-wrap: wrap; row-gap: 6px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-title:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; align-items: center; gap: 6px; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-title-text:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { flex: 0 1 auto; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-fresh-badge:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { display: none; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-sub:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { order: 1; flex: none; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .k1123-line:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { order: 2; flex: 1 1 100%; min-width: 0; margin-top: 0; }
    /* værktøjerne: alle fire på én linje på en almindelig telefon – lidt mindre knapper, ✦ i stedet for »studiets bud«, × som lille hjørneknap */
    html body .k1073-on .v247-speak-editor .k756-bar:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { padding: 12px 12px; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { gap: 5px; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { padding: 6px 9px; font-size: 13px; gap: 5px; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip > svg:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { display: none; }
    html body .k1073-on .k756-bar .k1081-bud:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { font-size: 0; padding: 2px 5px; }
    html body .k1073-on .k756-bar .k1081-bud:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136)::before { content: "✦"; font-size: 12px; }
    html body .k1073-on .k756-bar .k825-anchor:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) { position: relative; }
    html body .k1073-on .k756-bar .k1081-x:not(#k1136):not(#k1136):not(#k1136):not(#k1136):not(#k1136) {
        position: absolute; top: -7px; right: -5px; width: 18px; height: 18px; min-width: 18px; padding: 0; font-size: 12px; line-height: 16px;
        background: #FFFFFF; border: 1px solid #E3DCD0; border-radius: 50%; z-index: 1;
    }
}

/* ---------- K1142 Én valgt række, ens rækker (Kim 12/11 19.51, »OK alle« 19.58: punkt 2 = ens størrelse + tonet + tynd tidslinje) ---------- */
/* alle rækker har samme størrelse – også det nye speak (det har kun mærket »NYT«) */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    position: relative; background: transparent !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid #D9CFBF !important; border-radius: 0 !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-row:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { min-height: 58px; padding: 0 17px; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-play:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    width: 36px; height: 36px; min-width: 36px; border: 0; background: #E3ECE6 !important; color: #1F3A33 !important; box-shadow: none !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-title-text:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { font-size: 16px; font-weight: 400; }
/* den valgte: tonet grøn med grøn kant, mørk ▶/❚❚ – præcis én ad gangen */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1142-sel:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    background: #EAF3EE !important; box-shadow: inset 3px 0 0 #2F5D50 !important; border-radius: 10px !important; border-bottom-color: transparent !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1142-sel .speaks-card-play:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    background: #1F3A33 !important; color: #FFFFFF !important;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1142-sel .speaks-card-title-text:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { font-weight: 600; }
/* én tynd tidslinje i den valgte rækkes nederste kant – den skubber intet */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-wave:not(#k1142):not(#k1142):not(#k1142) { display: none !important; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1142-sel) .k1123-line:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { display: none !important; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1142-sel .k1123-line:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    display: block !important; position: absolute; left: 14px; right: 14px; bottom: 4px; margin: 0; padding: 0; height: 3px; max-width: none; order: 0; flex: none;
}
html body .k1073-on .speaks-card.k1077-row.k1142-sel .k1123-line .speaks-card-timeline-track:not(#k1142):not(#k1142):not(#k1142) { position: absolute; inset: 0; height: 3px; border-radius: 2px; background: #CFE0D7; }
html body .k1073-on .speaks-card.k1077-row.k1142-sel .k1123-line .speaks-card-timeline-fill:not(#k1142):not(#k1142):not(#k1142) { height: 3px; border-radius: 2px; background: #1F3A33; }
html body .k1073-on .speaks-card.k1077-row.k1142-sel .k1123-line :is(.speaks-card-timeline-knob, .speaks-card-timeline-time):not(#k1142):not(#k1142):not(#k1142) { display: none; }
/* »NYT« er et lille mærke ved titlen på alle skærme */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1073-star .speaks-card-fresh-badge:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) {
    display: inline-flex; padding: 2px 6px; border-radius: 6px; background: #2F5D50; color: #FFFFFF; font-size: 10px; flex: none;
}
/* teknisk lydvej (kun for admin) vises aldrig i den forenklede Lav speak på mobil */
@media (max-width: 600px) {
    html body .k1073-on :is(.audio-route-status, .audio-source-status) { display: none !important; }
    /* værktøjerne: »Flere stemmer« skrevet ud – lidt tættere, så alle fire står på én linje */
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tool.k814-chip:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { padding: 6px 8px; font-size: 13px; letter-spacing: -.1px; }
    html body .k1073-on .v247-speak-editor .k756-bar .k756-tools:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { gap: 4px; }
    html body .k1073-on .v247-speak-editor .k756-bar:not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142):not(#k1142) { padding: 12px 10px; }
}

/* ---------- K1088 (Kim 12/11 21.26 + 21.44 »go 6«): »Hent« står altid synligt på det nyeste speak – også på mobil (kun ikonet dér) ---------- */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-download-status:not(#k1088):not(#k1088):not(#k1088):not(#k1088):not(#k1088) { opacity: 1 !important; display: inline-flex !important; }
@media (max-width: 720px) {
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .k1081-hent-l:not(#k1088):not(#k1088):not(#k1088):not(#k1088):not(#k1088) { display: none !important; }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row.k1073-star .speaks-card-download-status:not(#k1088):not(#k1088):not(#k1088):not(#k1088):not(#k1088) { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

/* ---------- K1149 (Kim 12/11 21.09): browserens eget scroll-anker slås fra i Lav speak – k756-stage.js holder selv pladsen ens i alle browsere
   (Chrome ankrede oven i vores egen rettelse, og siden sprang). ---------- */
html:has(.k1073-on), html:has(.k1073-on) body { overflow-anchor: none; }

/* ---------- K1151 (Kim 12/11 21.13 »OK«): første linje af manuset i grå under titlen ---------- */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .k1151-snippet:not(#k1151):not(#k1151):not(#k1151):not(#k1151):not(#k1151) {
    display: block; margin-top: 2px; max-width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-size: 13px; line-height: 1.35; font-weight: 400; color: #7A817D;
}

/* ---------- K1150 (Kim 12/11 21.13 »OK«): rækken under musen får en let tone og løfter sig blødt; den valgte beholder sin markering ---------- */
@media (hover: hover) and (pointer: fine) {
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(#k1150):not(#k1150):not(#k1150):not(#k1150) {
        transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
    }
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:not(.k1142-sel):hover:not(#k1150):not(#k1150):not(#k1150):not(#k1150) {
        background-color: #F3F7F4; box-shadow: 0 4px 14px rgba(31, 58, 51, .08); transform: translateY(-1px) scale(1.01); border-radius: 12px; position: relative; z-index: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row:hover:not(#k1150):not(#k1150):not(#k1150):not(#k1150) { transform: none; }
}
/* ---------- K1154 (Kim 12/11 21.57): »Generel tilpasning · kl. …« står på fanen »Studiets forslag« – lille og stille ---------- */
html body .k1073-on .k969-tab .lf35-band.lf35-in-tab:not(#k1154):not(#k1154):not(#k1154) {
    align-self: center; margin: 0 10px 0 -4px; padding: 0; background: transparent; border: 0; font-size: 12px; font-weight: 400; color: #5F6B66; white-space: nowrap;
}
html body .k1073-on .k969-tab .lf35-band.lf35-in-tab::before { content: "· "; color: #5F6B66; }
@media (max-width: 900px) { html body .k1073-on .k969-tab .lf35-band.lf35-in-tab:not(#k1154):not(#k1154):not(#k1154) { display: none; } }

/* ---------- K1143 (Kim 12/11 21.05 + »OK« 22.40): demo-stemme i musikken – én knap laver kundens eget speak ---------- */
html body .k1073-on .k1143-demo:not(#k1143) { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 10px auto 0; font-size: 14px; color: #3F4743; }
html body .k1073-on .k1143-demo .k1143-demo-go:not(#k1143) { border: 0; border-radius: 999px; padding: 8px 16px; min-height: 36px; background: #1F3A33; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
html body .k1073-on .k1143-demo .k1143-demo-go:disabled { opacity: .5; cursor: default; }

/* ---------- K1151b (rigtig iPhone 13/11 00.55): uddraget står på sin egen linje under titlen – aldrig ved siden af og klemmer titlen ---------- */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main:not(#k1151b):not(#k1151b):not(#k1151b):not(#k1151b):not(#k1151b) { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: center; gap: 2px; min-width: 0; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main > .k1151-snippet:not(#k1151b):not(#k1151b):not(#k1151b):not(#k1151b):not(#k1151b) { width: 100%; flex: none; }

/* ---------- K1151c (rigtig iPhone 13/11 01.05): titel øverst; uddrag og »2 ▾« deler anden linje – alle rækker får samme højde ---------- */
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main:not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c) {
    display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px; align-items: center !important; align-content: center;
}
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main > *:not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c) { grid-column: 1 / -1; min-width: 0; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main > .k1151-snippet:not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c) { grid-column: 1; grid-row: 2; }
html body .k1073-on .speaks-component-shell.speaks-component-shell.speaks-component-shell.speaks-component-shell .speaks-card.k1077-row .speaks-card-main > .speaks-card-sub:not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c):not(#k1151c) { grid-column: 2; grid-row: 2; margin: 0 !important; }
