/* FREE-1 (2026-10-17, docs/design/ord-natur-brief.md): the hint that offers natural voice on saved words and example sentences, its sheet, and the block in Inställningar (js/ordnat.js).
   House rules held: 375 px first; light and dark by the tokens below (--sunk, --granite, --blue-ink, --yellow, --ink: css/las-story-ny.css, css/app.css); targets 44 px (switch row, buttons 48); logical properties only; overflow-wrap and
   min-width:0 on every text child. NO animation and NO transition is added here: the strip appears static, and the sheet reuses .nyark's one-shot slide, which already stops under reduced motion (css/las-ny.css). */

/* ---- the strip: a row on --sunk, two real buttons, nothing else; no live region ---- */
.ordnat-plats:empty { display: none; }
.ordnat-tips { display: flex; align-items: center; gap: 2px; box-sizing: border-box; min-block-size: 48px; max-inline-size: 36rem; padding-inline: 12px 2px; border-radius: 12px; background: var(--sunk); color: var(--granite); text-align: start; }
.ordnat-tips button { background: none; border: 0; padding: 0; border-radius: 8px; font: inherit; color: inherit; cursor: pointer; text-align: start; }
.ordnat-oppna { flex: 1; min-width: 0; min-block-size: 44px; display: flex; flex-wrap: wrap; align-items: center; column-gap: .35em; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.ordnat-oppna .gr { color: var(--granite); }
.ordnat-oppna .bl { color: var(--blue-ink, var(--blue)); font-weight: 600; }
.ordnat-oppna .lm { color: var(--blue-ink, var(--blue)); text-decoration: underline; display: inline-flex; align-items: center; gap: 2px; }
.ordnat-oppna .lm svg { inline-size: 16px; block-size: 16px; flex: none; }
.ordnat-x { flex: none; inline-size: 44px; block-size: 44px; display: grid; place-items: center; margin-inline-start: auto; color: var(--granite); }
.ordnat-tips button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[dir="rtl"] .ordnat-oppna .ls-pil { transform: scaleX(-1); }

/* where it sits, per surface (brief 3): after the control that played, never between the learner's controls, never inside a tap target of its own surface */
.wordlist li > .ordnat-plats { grid-column: 1 / -1; margin-block-start: 6px; }                  /* Glosor, a row: one grid row spanning all columns, after the example */
#lyssTips:not(:empty) { margin-block: 8px; }                                                    /* Glosor, Lyssna: directly after the player's box */
.vans > .vplats { margin: 0 .8em .8em; }                                                        /* the garden's reveal, after Nästa, like .vnasta */
.kortark > .kortplats { align-self: stretch; inline-size: 100%; max-inline-size: 560px; margin-inline: auto; box-sizing: border-box; } /* Kort: after .kfot, outside .kkort (a tap there flips the card) */
.ordblock .lasplats { margin-block: 8px 12px; }                                                 /* the reader's saved words: under the list, above Öva orden */

/* ---- the sheet: .nyark as the name sheet, above Kort (z-index 90); the question, the whole line, two buttons ---- */
.nyark-bak.ordnat-bak { z-index: 110; }
.ordnat-ark .ls-ark, #ordNaturBox .merinne { gap: 12px; }
.ordnat-notis { margin: 0; padding: 14px; border-radius: 12px; background: var(--sunk); color: var(--ink); font-size: 16px; line-height: 1.5; max-inline-size: 65ch; overflow-wrap: anywhere; } /* the frozen line: open, ink on the recessed surface, no fold, no scroll box, no clipping */
#ordNaturBox .merinne { display: flex; flex-direction: column; }
.ordnat-effekt, .ordnat-status { margin: 0; font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; }  /* 14.5 px, as every hint of the page (INSTALLNINGAR) */
.ordnat-effekt { color: var(--granite); }
.ordnat-status { color: var(--ink); }
.ordnat-status:empty { display: none; }
/* the question (Linh, after her iPhone test, 2026-10-17): the sheet's title size is the "+ Ny" sheet's (.nyhuvud h2 of css/las-ny.css); the one thing that takes focus, never a button */
.ordnat-ark h2 { margin: 0; font: 500 1.3rem/1.25 var(--serif); overflow-wrap: anywhere; }
/* two full-width buttons under the line, not sticky: the learner scrolls past the line to reach them (the line must have been on the screen). Ja is the consent: filled; Inte nu is the outlined one, the same size */
.ordnat-knappar { display: flex; flex-direction: column; gap: 10px; }
.ordnat-knappar button { box-sizing: border-box; inline-size: 100%; min-block-size: 48px; padding: 8px 16px; border-radius: 12px; font-size: 17px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.ordnat-knappar .ordnat-ja { background: var(--blue); color: var(--on-blue); border: 1.5px solid var(--blue); }
.ordnat-knappar .ordnat-nej { background: transparent; color: var(--blue-ink, var(--blue)); border: 1.5px solid var(--blue-ink, var(--blue)); }
/* the one line that follows "Ja, slå på", where the strip was: a quiet row on the same ground, no control, no timer (a live region; it goes when its surface is drawn again) */
.ordnat-ok { display: flex; align-items: center; box-sizing: border-box; min-block-size: 48px; max-inline-size: 36rem; padding: 10px 12px; border-radius: 12px; background: var(--sunk); color: var(--ink); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.ordnat-ark button:focus-visible, .ordnat-ark input:focus-visible, #ordNaturBox button:focus-visible, #ordNaturBox input:focus-visible, #ordNaturBox summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---- the delete button and its confirm (brief 8): a ghost button, an inline card ---- */
.ordnat-radera { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ordnat-radera > button { min-block-size: 44px; }
.ordnat-bekr { box-sizing: border-box; inline-size: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card, var(--paper)); }
.ordnat-bekr p { margin: 0 0 10px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ordnat-bekr button { min-block-size: 44px; }
/* AU-4c: the line that says the device has no voice of the study language (js/ingenrost.js): a polite status above the tab bar, once per screen */
.ingenrost { position: fixed; inset-inline: 12px; inset-block-end: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 40; box-sizing: border-box; max-inline-size: 36rem; margin-inline: auto; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-radius: 12px; background: var(--sunk); color: var(--granite); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.ingenrost p { margin: 0; flex: 1; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ingenrost button { min-block-size: 44px; min-inline-size: 44px; }
.ordnat-bekr:focus-visible, .ordnat-status:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
