/*
 * SRCA Field App: "Big Buttons", made simpler for staff new to smartphones.
 * - one question per screen, buttons at least 64 px tall
 * - pictures + few words, large text, strong contrast for bright sunlight
 * - system fonts only, so nothing extra downloads on paid data
 */

:root {
    --navy: #123E8C;
    --navy-dark: #0C2C66;
    --green: #2E7D32;
    --green-dark: #1B5E20;
    --sun: #F5C21B;
    --ink: #14213D;
    --muted: #3B4556;
    --line: #D5DAD0;
    --red: #9B1C1C;
    --bg: #F7F8F4;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
}

body {
    font-family: system-ui, -apple-system, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 19px;
    line-height: 1.45;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}


/* Top bar */

.top {
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 60px;
}

.top__title {
    flex: 1;
    font-weight: 800;
    font-size: 19px;
}

.back {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border: 0;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 14px;
    font-weight: 800;
    font-size: 17px;
}

.pill {
    font-size: 14px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 99px;
    white-space: nowrap;
}

.pill--on {
    background: #E3F2E1;
    color: var(--green-dark);
}

.pill--off {
    background: #FFF4CC;
    color: #7A5A00;
}

main {
    padding: 16px 16px 40px;
    max-width: 560px;
    margin: 0 auto;
    outline: none;
}

h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 6px 0 16px;
    color: var(--navy-dark);
}

p {
    margin: 0 0 12px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 15px;
}

.center {
    text-align: center;
}


/* Status card on the home screen */

.status {
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    border: 3px solid transparent;
}

.status .ico {
    font-size: 40px;
    line-height: 1;
}

.status strong {
    display: block;
    font-size: 20px;
}

.status--ok {
    background: #E3F2E1;
    border-color: #A7D3A2;
}

.status--wait {
    background: #FFF4CC;
    border-color: #E8C547;
}

.status--send {
    background: #E4ECFA;
    border-color: #A9BEE8;
}

.status--bad {
    background: #FDECEA;
    border-color: #F1B5AE;
}


/* Big buttons */

.big {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 84px;
    margin: 0 0 14px;
    padding: 14px 18px;
    border-radius: 20px;
    border: 0;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 3px 0 var(--green-dark);
    cursor: pointer;
}

.big .ico {
    font-size: 36px;
    width: 46px;
    text-align: center;
    flex: none;
}

.big--outline {
    background: #fff;
    color: var(--navy-dark);
    border: 3px solid var(--navy);
    box-shadow: none;
}

.big--go {
    justify-content: center;
}

.big .badge {
    margin-left: auto;
    background: var(--red);
    color: #fff;
    border-radius: 99px;
    padding: 2px 12px;
    font-size: 17px;
}

.big:active {
    transform: translateY(2px);
    box-shadow: none;
}


/* Picture tiles (step 1) and project list (step 1b) */

.tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 132px;
    padding: 12px 8px;
    border-radius: 18px;
    background: #fff;
    border: 3px solid var(--line);
    font-weight: 800;
    font-size: 19px;
    text-align: center;
    cursor: pointer;
}

.tile .pic {
    font-size: 52px;
    line-height: 1;
}

.tile[aria-pressed="true"] {
    border-color: var(--navy);
    background: #E4ECFA;
}

.choice {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 72px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    border: 3px solid var(--line);
    text-align: left;
    font-weight: 700;
    font-size: 19px;
    cursor: pointer;
}

.choice .pic {
    font-size: 30px;
}

.choice small {
    display: block;
    font-weight: 400;
    font-size: 15px;
    color: var(--muted);
}


/* Number questions with big - and + */

.q {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    border: 2px solid var(--line);
}

.q>label,
.q>.q__label {
    display: block;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 10px;
}

.q .pic {
    margin-right: 6px;
}

.stepper {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    gap: 10px;
    align-items: center;
}

.stepper button {
    min-height: 72px;
    border-radius: 16px;
    border: 0;
    background: var(--navy);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    cursor: pointer;
}

.stepper input {
    min-height: 72px;
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    border: 3px solid var(--line);
    border-radius: 16px;
    background: #fff;
}


/* YES / NO */

.yn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.yn button {
    min-height: 80px;
    border-radius: 18px;
    border: 3px solid var(--line);
    background: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
}

.yn button .pic {
    display: block;
    font-size: 30px;
}

.yn button[aria-pressed="true"].yes {
    background: #E3F2E1;
    border-color: var(--green);
}

.yn button[aria-pressed="true"].no {
    background: #FDECEA;
    border-color: var(--red);
}


/* Photos */

.camera {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 150px;
    border-radius: 20px;
    border: 3px dashed var(--navy);
    background: #fff;
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 21px;
    margin-bottom: 14px;
    cursor: pointer;
}

.camera .pic {
    font-size: 52px;
}

.camera input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.shot {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--line);
    margin-bottom: 14px;
}

.shot img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

.shot__body {
    padding: 14px;
}

.shot .q {
    border: 0;
    padding: 0;
    margin: 12px 0 0;
}

.text {
    width: 100%;
    min-height: 60px;
    font-size: 19px;
    padding: 12px 14px;
    border: 3px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

textarea.text {
    min-height: 120px;
}

.remove {
    background: none;
    border: 0;
    color: var(--red);
    font-weight: 800;
    padding: 10px 0;
    min-height: 44px;
    cursor: pointer;
}


/* Check-and-save summary, lists */

.summary {
    background: #fff;
    border-radius: 18px;
    border: 2px solid var(--line);
    padding: 4px 16px;
    margin-bottom: 16px;
}

.row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.row:last-child {
    border: 0;
}

.row .pic {
    font-size: 26px;
    width: 34px;
    text-align: center;
}

.link {
    background: none;
    border: 0;
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    padding: 8px 0;
    min-height: 44px;
    cursor: pointer;
}

.row .link {
    margin-left: auto;
}

.report {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 18px;
    border: 2px solid var(--line);
    padding: 12px 14px;
    margin-bottom: 10px;
}

.report .pic {
    font-size: 32px;
}

.report .what {
    flex: 1;
    min-width: 150px;
}

.report .what strong {
    display: block;
}

.chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-weight: 800;
    font-size: 15px;
    border-radius: 99px;
    padding: 6px 12px;
    white-space: nowrap;
}

.chip--phone {
    background: #FFF4CC;
    color: #5C4400;
}

.chip--pending {
    background: #E4ECFA;
    color: var(--navy-dark);
}

.chip--approved {
    background: #E3F2E1;
    color: var(--green-dark);
}

.chip--rejected,
.chip--error {
    background: #FDECEA;
    color: var(--red);
}

.note {
    flex-basis: 100%;
    background: #FDECEA;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 16px;
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 2px 0 12px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line);
}

.dots span.on {
    background: var(--navy);
}

.done {
    text-align: center;
    padding-top: 20px;
}

.done .pic {
    font-size: 80px;
}

.alert {
    background: #FDECEA;
    color: #6E1414;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tip {
    background: #fff;
    border-left: 6px solid var(--sun);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 16px;
    margin: 12px 0;
}

.lang {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 3px solid var(--navy);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 22px;
}

.lang button {
    min-height: 56px;
    border: 0;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
}

.lang button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
}

.toast {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 20px;
    background: var(--ink);
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    z-index: 10;
}

:focus-visible {
    outline: 4px solid var(--sun);
    outline-offset: 2px;
}
/* ---------- Two versions, pick one (v3) ---------- */
.versions { display: grid; gap: 14px; }
@media (min-width: 640px) { .versions { grid-template-columns: 1fr 1fr; } }
.ver { background: #fff; border-radius: 18px; border: 3px solid var(--line); padding: 14px; }
.ver--mine { border-color: var(--green); }
.ver--office { border-color: var(--navy); }
.ver__head { font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.ver__row { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-bottom: 1px solid var(--line); border-radius: 8px; }
.ver__row strong { font-size: 22px; word-break: break-word; }
.ver__label { font-size: 15px; color: var(--muted); }
.ver__row--diff { background: #FFF4CC; }
.ver .big { margin: 14px 0 0; }
.fixbtn { flex-basis: 100%; min-height: 52px; margin-top: 4px; border-radius: 14px; border: 3px solid var(--navy); background: #fff; color: var(--navy-dark); font: inherit; font-weight: 800; font-size: 19px; cursor: pointer; }

/* ---------- Shared phones, voice, data saver (v4) ---------- */
.big .sub { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 52px !important; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 26px !important; font-weight: 800; }
.big:not(.big--outline) .avatar { background: #fff; color: var(--green-dark); }
.pin-dots { display: flex; justify-content: center; gap: 18px; margin: 18px 0 20px; }
.pin-dots span { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--navy); }
.pin-dots span.on { background: var(--navy); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 360px; margin: 0 auto; }
.keypad button { min-height: 76px; border-radius: 18px; border: 3px solid var(--navy); background: #fff; color: var(--navy-dark); font-size: 32px; font-weight: 800; cursor: pointer; }
.keypad button:active { background: #E8EEF9; }
.recbtn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 10px 16px; border-radius: 18px; border: 3px solid var(--navy); background: #fff; color: var(--navy-dark); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.recbtn .pic { font-size: 30px; }
.recbtn--on { border-color: var(--red); background: #FDECEC; color: var(--red); animation: srca-pulse 1.2s ease-in-out infinite; }
@keyframes srca-pulse { 50% { box-shadow: 0 0 0 6px rgba(155, 28, 28, .15); } }
@media (prefers-reduced-motion: reduce) { .recbtn--on { animation: none; } }
.clip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.clip audio { width: 100%; max-width: 100%; }
.setting { margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--line); }
.setting p { margin: 8px 0 0; }
.switch { display: flex; align-items: center; gap: 12px; font-weight: 800; cursor: pointer; }
.switch input { width: 30px; height: 30px; flex: none; accent-color: var(--green); }
.summary .row > span:not(.pic) { flex: 1 1 0; min-width: 0; }

/* =====================================================================
 * v5: professional look (December 2026)
 * Same big, simple screens; calmer finish that matches the SRCA brand and
 * the staff workspace: logo in the header, Lucide line icons instead of
 * emoji, thinner borders, flat buttons, consistent 14 px corners.
 * ===================================================================== */
:root {
    --bg: #F3F6F5;
    --ink: #173348;
    --muted: #4A5B68;
    --line: #DCE3E1;
    --card-shadow: 0 1px 2px rgba(16, 40, 60, .06), 0 1px 1px rgba(16, 40, 60, .03);
    --radius: 14px;
}
body { font-size: 18px; }
h1 { font-size: 24px; font-weight: 750; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h1 .ic { width: 26px; height: 26px; color: var(--navy); }

/* Icons */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }

/* Header: white, with the logo */
.top { background: #fff; color: var(--navy-dark); border-bottom: 1px solid var(--line); min-height: 64px; box-shadow: 0 1px 0 rgba(16, 40, 60, .03); }
.brand { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 38px; height: 38px; flex: none; }
.top__title { flex: none; font-size: 18px; font-weight: 750; letter-spacing: -.01em; color: var(--navy-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { background: #EDF2FA; color: var(--navy-dark); border-radius: 10px; min-height: 46px; font-weight: 700; }
.pill { font-weight: 700; font-size: 13px; padding: 5px 11px; }
.pill--on { background: #E7F3E8; color: #1B5E20; }
.pill--off { background: #FFF3D6; color: #7A5300; }

/* Log-in logo */
.brandmark { display: flex; justify-content: center; padding: 18px 0 6px; }
.brandmark img { width: min(280px, 78vw); height: auto; }
.brandmark + h1 { justify-content: center; text-align: center; margin-top: 10px; }
.brandmark ~ .muted:first-of-type { text-align: center; }

/* Status card */
.status { border-radius: var(--radius); border-width: 1px; padding: 14px 16px; box-shadow: var(--card-shadow); }
.status .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .7); font-size: 0; }
.status .ico .ic { width: 26px; height: 26px; }
.status--ok .ico { color: var(--green); }
.status--wait .ico { color: #9A6700; }
.status--send .ico { color: var(--navy); }
.status--bad .ico { color: var(--red); }
.status strong { font-size: 18px; font-weight: 750; }

/* Big buttons: flat, calm */
.big { border-radius: var(--radius); min-height: 76px; font-size: 20px; font-weight: 750; box-shadow: none; gap: 14px; }
.big .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 0; }
.big .ico .ic { width: 24px; height: 24px; }
.big--outline { border: 1.5px solid #C9D3DC; box-shadow: var(--card-shadow); }
.big--outline .ico { background: #EDF2FA; color: var(--navy); }
.big:active { transform: none; filter: brightness(.96); }
.big--go .ic { width: 22px; height: 22px; }

/* Work-type tiles: icon in a soft coloured circle */
.tile { border-radius: var(--radius); border: 1.5px solid var(--line); box-shadow: var(--card-shadow); font-weight: 700; font-size: 18px; gap: 10px; }
.tile .pic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 0; background: #EDF2FA; color: var(--navy); }
.tile .pic .ic { width: 32px; height: 32px; }
.tile[aria-pressed="true"] { border-color: var(--navy); background: #F2F6FC; box-shadow: 0 0 0 2px rgba(18, 62, 140, .18); }
.pic:has(.ic--droplet) { background: #E6EEFB; color: #1E5BC6; }
.pic:has(.ic--house) { background: #FDF1E3; color: #B45309; }
.pic:has(.ic--graduation-cap) { background: #ECEFF8; color: var(--navy); }
.pic:has(.ic--hand-heart) { background: #FDECEA; color: #B42318; }
.pic:has(.ic--store) { background: #E7F3E8; color: var(--green); }

/* Project list, questions, inputs */
.choice { border-radius: var(--radius); border: 1.5px solid var(--line); box-shadow: var(--card-shadow); font-size: 18px; }
.choice .pic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #EDF2FA; color: var(--navy); font-size: 0; flex: none; }
.choice .pic .ic { width: 20px; height: 20px; }
.q { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.q > label, .q > .q__label { font-size: 18px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.q .pic { display: inline-grid; place-items: center; margin-right: 0; color: var(--navy); }
.q .pic .ic { width: 22px; height: 22px; }
.stepper button { border-radius: 12px; font-size: 32px; font-weight: 700; }
.stepper input, .text { border: 1.5px solid #C9D3DC; border-radius: 12px; }
.stepper input:focus, .text:focus { outline: 3px solid rgba(18, 62, 140, .25); border-color: var(--navy); }

/* Yes / No */
.yn button { border-radius: var(--radius); border: 1.5px solid #C9D3DC; font-size: 20px; font-weight: 750; display: flex; align-items: center; justify-content: center; gap: 8px; }
.yn button .pic { display: inline-grid; font-size: 0; }
.yn button .pic .ic { width: 24px; height: 24px; }
.yn button.yes .pic { color: var(--green); }
.yn button.no .pic { color: var(--red); }
.yn button[aria-pressed="true"].yes { border-width: 2px; }
.yn button[aria-pressed="true"].no { border-width: 2px; }

/* Photos */
.camera { border-radius: var(--radius); border: 2px dashed #8FA6C8; background: #FAFCFF; font-size: 19px; font-weight: 750; }
.camera .pic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #EDF2FA; color: var(--navy); font-size: 0; }
.camera .pic .ic { width: 30px; height: 30px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.remove { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* Voice, settings, PIN pad */
.recbtn { border-radius: var(--radius); border: 1.5px solid #C9D3DC; min-height: 64px; font-weight: 750; }
.recbtn .pic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #EDF2FA; color: var(--navy); font-size: 0; }
.recbtn .pic .ic { width: 22px; height: 22px; }
.recbtn--on { border-color: var(--red); }
.recbtn--on .pic { background: #fff; color: var(--red); }
.setting { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.switch { font-weight: 750; }
.keypad button { border-radius: var(--radius); border: 1.5px solid #C9D3DC; font-weight: 700; box-shadow: var(--card-shadow); }
.pin-dots span { border-width: 2px; }
.avatar { width: 44px !important; height: 44px; font-size: 20px !important; font-weight: 750; }
.tip { border-radius: 10px; }
.tip .ic { color: #1E5BC6; margin-right: 4px; }
.link .ic, .chip .ic, .note .ic, .fixbtn .ic, .small .ic, .sub .ic { width: 1em; height: 1em; vertical-align: -.12em; }

/* Summary, report list, done screen, step bar */
.summary { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.row .pic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #EDF2FA; color: var(--navy); font-size: 0; flex: none; }
.row .pic .ic { width: 18px; height: 18px; }
.link { font-weight: 700; text-underline-offset: 3px; }
.report { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.report .pic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EDF2FA; color: var(--navy); font-size: 0; flex: none; }
.report .pic .ic { width: 22px; height: 22px; }
.chip { font-weight: 700; font-size: 14px; }
.note { border-radius: 10px; }
.dots { gap: 6px; }
.dots span { width: 28px; height: 5px; border-radius: 3px; }
.done .pic { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; background: #E7F3E8; color: var(--green); font-size: 0; }
.done .pic .ic { width: 52px; height: 52px; }
.done h1 { justify-content: center; }
.alert { border-radius: 10px; font-weight: 600; }
.ver { border-radius: var(--radius); }
.fixbtn { border-radius: 10px; }
/* tidy-ups */
h1 { display: block; }
h1 .ic { margin-right: 8px; vertical-align: -4px; }
.summary .row > strong, .summary .row > span:not(.pic) { flex: 1 1 0; min-width: 0; }
.shot .q { box-shadow: none; border: 0; }
.fixbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #C9D3DC; border-radius: 12px; font-weight: 750; font-size: 18px; box-shadow: var(--card-shadow); }
.fixbtn .ic { width: 20px; height: 20px; color: var(--navy); }

/* ---------- Accessibility (WCAG 2.2 AA), December 2026 ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-padding-top: 80px; } /* the sticky top bar never hides the focused control */
:focus-visible { outline: 3px solid #F5C21B; outline-offset: 2px; }
.listen-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: transparent; color: var(--navy); cursor: pointer; }
.listen-btn svg { width: 22px; height: 22px; opacity: .85; }
.listen-btn:active { background: #EDF2FA; }
.listen-btn[aria-pressed="true"] { background: #FFF3C4; color: var(--navy-dark); }
.listen-btn[hidden] { display: none; }
.reading { background: #FFF3C4 !important; box-shadow: 0 0 0 4px #FFF3C4; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText; }
  .big, .tile, .choice, .yn button, .keypad button, .recbtn, .stepper button { border: 2px solid ButtonText; }
  .reading { outline: 3px solid Highlight; }
}
