:root { --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); --appbar-h: 3.125rem; }
/* Every colour, radius, shadow and font below is a token of the design (see themes.css: the Free Solution Workout design system, light and dark). The accent comes in four:
   --accent fills (the primary button, the pill of the active tab, a selected chip), --accent-deep is the pressed state of a fill, --accent-ink is the accent as text, --accent-soft tints. */

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: var(--h-weight); letter-spacing: var(--h-tracking); }
h1 { font-size: 1.75rem; line-height: 2rem; font-weight: 800; letter-spacing: -.01em; margin: .4rem 0 .8rem; }
h2 { font-size: 1.25rem; line-height: 1.625rem; margin: 1.5rem 0 .6rem; }
h3 { font-size: 1rem; line-height: 1.375rem; margin: 0 0 .25rem; }
a { color: var(--accent-ink); text-decoration: none; }
p { margin: .4rem 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.error { color: var(--danger); } .notice { background: var(--accent-soft); border-radius: var(--radius-sm); padding: .625rem .75rem; word-break: break-all; }

/* icons: line drawings (svg) in the colour of the text; the weight of the line belongs to the design (--icon-stroke). The logo is the one picture in fixed colours. */
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; line-height: 1; }
.icon-svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); stroke-linecap: round; stroke-linejoin: round; }
.logo { display: block; flex: none; }

/* layout: below 1000 px a phone, with the app bar (the brand and the person) at the top and the tab bar at the bottom; from 1000 px one top bar with all of it */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.content { width: 100%; max-width: 760px; margin: 0 auto; padding: 1rem 1rem calc(5.5rem + var(--safe-bottom)); flex: 1; }
.topbar { position: sticky; top: 0; z-index: 10; background: var(--topbar-bg); border-bottom: 1px solid var(--border); padding-top: var(--safe-top); }
.brand { display: none; white-space: nowrap; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; color: var(--text); padding: .6rem 1rem; }
.tabs { display: flex; justify-content: space-around; }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .375rem 0 .25rem; color: var(--muted); font-size: .625rem; line-height: .75rem; font-weight: 700; transition: color .15s; }
.tabs a > small { font-size: inherit; }
.tabs a > .icon { box-sizing: content-box; width: 1.25rem; height: 1.25rem; font-size: 1.25rem; padding: .25rem .625rem; border-radius: 99px; transition: background-color .2s; }
.tabs a.active { color: var(--text); }
.tabs a.active > .icon { background: var(--accent); color: var(--accent-text); }
.account { display: none; } /* the name of the person and the way out: at the top, in the app bar of a phone and in the top bar */
.who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signout { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; transition: color .15s, background-color .15s; }
.signout:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 999px) { /* the top bar (brand and seven tabs) needs about 985 px: below 1000 px the tabs sit at the bottom, as on a phone */
    .topbar { position: fixed; top: auto; left: 0; right: 0; bottom: 0; border-width: 1px 0 0 0; border-style: solid; border-color: var(--border); padding: 0 0 var(--safe-bottom); }
    /* the app bar: the brand and the person are fixed to the top over a strip of the page colour (in the markup they belong to the top bar, which a fixed element does not mind) */
    .topbar::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: calc(var(--appbar-h) + var(--safe-top)); background: var(--bg); border-bottom: 1px solid var(--border); }
    .brand { display: flex; position: fixed; top: var(--safe-top); left: 0; height: var(--appbar-h); padding: 0 1rem; font-size: .875rem; }
    .account { display: flex; align-items: center; gap: .25rem; position: fixed; top: var(--safe-top); right: 0; height: var(--appbar-h); padding: 0 .5rem 0 1rem; color: var(--muted); font-size: .75rem; }
    .who { max-width: 5.5rem; }
    .signout { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); font-size: 1.25rem; }
    .content { padding-top: calc(var(--appbar-h) + var(--safe-top) + 1rem); padding-bottom: calc(5.5rem + var(--safe-bottom)); }
    /* the player is a screen of its own: no bars while a workout is on */
    .app:has(.player) > .topbar { display: none; }
    .app:has(.player) > .content { padding-top: calc(1rem + var(--safe-top)); padding-bottom: calc(1.5rem + var(--safe-bottom)); }
}
@media (max-width: 399px) { .who { max-width: 4rem; } } /* the brand and the person share the width of a narrow phone */
@media (max-width: 359px) { .who { display: none; } } /* on the narrowest the name stays out, the sign-out button stays */
@media (max-width: 389px) { .tabs a { font-size: .5625rem; } } /* seven tabs on a narrow phone: the labels are a little smaller so that neighbours do not touch ("CoWorkout" is the longest) */
@media (max-width: 339px) { .tabs a { font-size: .53rem; } } /* and a little smaller again on the narrowest (320 px), where "Workouts" and "CoWorkout" would be almost together */
@media (min-width: 1000px) {
    .topbar { display: flex; align-items: center; padding-left: 1rem; padding-right: 1rem; }
    .brand { display: flex; } .tabs { flex: 1; justify-content: flex-end; gap: .25rem; }
    .tabs a { flex: 0 0 auto; flex-direction: row; gap: .4rem; padding: .8rem .7rem; font-size: .9rem; line-height: inherit; font-weight: 500; }
    .tabs a > small { font-size: smaller; }
    .tabs a > .icon, .tabs a.active > .icon { width: 1.4rem; height: 1.4rem; font-size: 1.4rem; padding: 0; background: none; color: inherit; } /* beside the label the active tab needs no pill */
    .tabs a.active { color: var(--accent-ink); font-weight: 700; }
    .account { display: flex; align-items: center; gap: .25rem; min-width: 0; margin-left: .6rem; padding-left: .8rem; border-left: 1px solid var(--border); }
    .who { max-width: 12rem; font-size: .9rem; font-weight: 500; }
    .signout { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); font-size: 1.1rem; }
    .content { padding-bottom: 2rem; }
}
@media (min-width: 1000px) and (max-width: 1139px) { /* the brand, seven tabs and the sign-out button need about 985 px with the tabs close and the name out; the name has room (about 90 px: a long one shrinks with an ellipsis) from 1140 px */
    .who { display: none; }
    .tabs { gap: 0; }
    .tabs a { padding-left: .6rem; padding-right: .6rem; }
    .account { margin-left: .3rem; padding-left: .5rem; }
}

/* components */
.card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--card-pad); margin: .75rem 0; box-shadow: var(--shadow); }
.card.link { display: block; color: inherit; transition: border-color .18s, box-shadow .18s; }
.card.link:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border)); box-shadow: var(--shadow-pop); }
/* a row of a list (a menu, the exercises): the smaller radius, no shadow */
.card.item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: .5rem 0; padding: .625rem .75rem; border-radius: var(--radius-sm); box-shadow: none; }
.card.item .grow { flex: 1; min-width: 0; }
.card.item > h3 { display: flex; align-items: center; gap: .75rem; flex: 1; margin: 0; }
.card.item > h3 > .icon { box-sizing: border-box; width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-ink); }
.card.link.item:has(> h3:only-child)::after { content: "›"; color: var(--muted); font-size: 1.25rem; line-height: 1; } /* a menu row: the chevron */
.grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } .grid .card { margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; align-items: center; }
.row.between { justify-content: space-between; } .row.tight { margin: .2rem 0; } .center-row { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--input-border); background: var(--surface); color: var(--text);
    padding: .5rem 1.5rem; border-radius: 999px; font: inherit; font-size: .875rem; line-height: 1.25rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; min-height: 48px;
    transition: background-color .15s, border-color .15s, transform .1s; }
.btn:hover { background: var(--surface-2); } .btn:active { transform: scale(.985); }
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); box-shadow: var(--shadow-pop); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 90%, var(--text)); }
.btn.primary:active { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent-deep); }
.btn.danger { color: var(--danger); border-color: var(--danger); background: transparent; } .btn.small { min-height: 36px; padding: .25rem .875rem; font-size: .75rem; }
.btn.block { display: flex; width: 100%; margin: .6rem 0; } .btn.big { min-height: 56px; font-size: 1rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; } .btn.primary:disabled { box-shadow: none; }
.back { display: inline-block; margin-bottom: .4rem; font-weight: 700; }
/* a badge: outlined; soft for a level, a section, a body part or the chairs; solid for a plan of mine */
.badge { display: inline-block; padding: 1px .5rem; border-radius: 999px; border: 1px solid var(--input-border); background: transparent; color: var(--muted); font-size: .6875rem; line-height: 1.125rem; font-weight: 700; letter-spacing: .03em; }
.level-Beginner, .level-Intermediate, .level-Advanced { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }

input, select { font: 400 1rem/1.5 var(--font); letter-spacing: normal; color: var(--text); background: var(--surface); border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); padding: .625rem .75rem; min-height: 44px; }
label { display: block; margin: .6rem 0; font-size: .75rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); }
label input:not([type=checkbox]) { display: block; width: 100%; margin-top: .375rem; color: var(--text); }
label.check { display: flex; align-items: flex-start; gap: .625rem; color: var(--text); font-size: 1rem; font-weight: 400; letter-spacing: normal; }
input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; display: inline-grid; place-content: center; width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; padding: 0;
    border: 1.5px solid var(--input-border); border-radius: 6px; background: var(--surface); cursor: pointer; }
input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
input[type=checkbox]:checked::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(-45deg); }
.check-hint { margin: -.3rem 0 .9rem 1.875rem; } /* the note of a checkbox: under its text, closer to it than to what follows */
.search { width: 100%; margin-bottom: .6rem; padding-left: 2.5rem;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat .8rem center / 1.1rem; }
[data-mode="dark"] .search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b79b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.chips, .lang { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.chip { border: 1.5px solid var(--input-border); background: var(--surface); color: var(--text); padding: .375rem .75rem; border-radius: 999px; font: inherit; font-size: .75rem; line-height: 1rem; font-weight: 700; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { background: var(--surface-2); }
.chip.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.auth { max-width: 420px; margin: 1.5rem auto; }
.auth.card { background: none; border: 0; box-shadow: none; padding: 0; } /* the sign-in is the screen itself, no card on it */
.auth h1 { display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; font-size: 1.125rem; line-height: 1.5rem; font-weight: 800; margin: 1rem 0 .4rem; }
.auth h1 + p { text-align: center; }
.auth h2 { text-align: center; margin: .2rem 0 .8rem; } .auth .forgot { text-align: left; margin: -.25rem 0 0; } .auth .forgot a { display: inline-block; padding: .55rem 0 .55rem 0; font-weight: 700; }
.auth p.center a { font-weight: 700; }
/* sign in with Google, Microsoft or Apple: a divider and a full-width button for each provider, the name centred next to its logo */
.external-login { margin-top: 1rem; }
.external-login .divider { display: flex; align-items: center; gap: .7rem; margin: .2rem 0 .5rem; }
.external-login .divider::before, .external-login .divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.btn.provider { justify-content: flex-start; gap: .8rem; margin: .4rem 0; }
.btn.provider .provider-logo { width: 1.3rem; height: 1.3rem; flex: none; }
.btn.provider .provider-name { flex: 1; text-align: center; margin-right: 2.1rem; } /* as wide as the logo and the gap, so the text is centred */

.difficulty { display: inline-flex; gap: 3px; vertical-align: middle; }
.difficulty i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); } .difficulty i.on { background: var(--accent); }
.hero { width: 100%; border-radius: var(--radius); margin: .6rem 0; }
.steps { padding-left: 1.3rem; } .steps li { margin: .4rem 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; } /* three numbers in a row, also on a 360 px phone; four make two by two, or four in a row on a wide screen */
.stats:has(> .stat:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 520px) { .stats:has(> .stat:nth-child(4)) { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: .625rem .5rem; text-align: center; }
.stat b { display: block; font-size: 1.375rem; line-height: 1.625rem; font-weight: 800; } .stat small { font-size: .75rem; color: var(--muted); }
.stat b .icon { display: block; width: 1.125rem; height: 1.125rem; margin: 0 auto .125rem; color: var(--accent); vertical-align: baseline; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 80px; margin: .6rem 0; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; } .bar i { display: block; width: 100%; min-height: 2px; background: var(--accent); border-radius: 3px 3px 0 0; }

.items { list-style: none; padding: 0; margin: .4rem 0; }
.items li { display: flex; justify-content: space-between; gap: .6rem; padding: .625rem .75rem; margin-bottom: .5rem; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-sm); }
.items li { align-items: center; }
.items li a { color: var(--text); font-weight: 700; }
/* the icon of an exercise before its name: in the lists of a plan or a workout, in the rows of the editor and next to the exercise picked there */
.item-name, .edit-title { display: inline-flex; align-items: center; gap: .625rem; min-width: 0; }
.edit-title { display: flex; }
/* the name of a row of the editor is a button that changes its exercise: it looks like the name, with a small pen after it */
.change-exercise { flex: 1; padding: .125rem .25rem .125rem 0; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.change-exercise b { min-width: 0; overflow-wrap: anywhere; }
.change-exercise .icon { flex: none; color: var(--muted); font-size: .95rem; transition: color .15s; }
.change-exercise:hover .icon, .change-exercise:focus-visible .icon { color: var(--accent-ink); }
.edit-actions { flex: none; white-space: nowrap; }
.exercise-media--thumb.item-icon { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
/* the exercise picker of the workout editor: the dashed button that opens it; a sheet from the bottom on a phone, a window in the middle from 640 px; the page behind does not scroll */
.btn.add-exercises { border-style: dashed; }
html:has(.picker-backdrop) { overflow: hidden; }
.picker-backdrop { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: color-mix(in srgb, var(--text) 45%, transparent); }
[data-mode="dark"] .picker-backdrop { background: rgba(0, 0, 0, .6); }
.picker { display: flex; flex-direction: column; width: 100%; max-width: 560px; height: calc(100dvh - 2.5rem - var(--safe-top)); background: var(--bg);
    border: 1px solid var(--card-border); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-pop); overflow: hidden; }
.picker { position: relative; }
.picker:focus { outline: none; }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem .5rem 0 1rem; }
.picker-head h2 { margin: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; transition: background-color .15s, color .15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.picker-search { padding: .5rem 1rem .25rem; }
.picker-search .search { margin-bottom: 0; }
.picker-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 1rem .5rem; overscroll-behavior: contain; }
/* the chips stay at the top of the list while it scrolls */
.picker-chips { position: sticky; top: 0; z-index: 3; /* above Detail of the rows, which is raised above the button of its row */ margin: 0 -1rem; padding: .125rem 1rem .25rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.picker-chips .chips { flex-wrap: nowrap; overflow-x: auto; margin: .375rem -1rem; padding: 0 1rem .125rem; scrollbar-width: none; } /* one line of chips that scrolls sideways: the list keeps its height */
.picker-chips .chips::-webkit-scrollbar { display: none; }
.picker-chips .chip { flex: none; white-space: nowrap; }
.picker-count { margin: .5rem 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); }
.picker-row { position: relative; cursor: pointer; transition: border-color .18s, background-color .18s; }
/* the name is the button that adds the exercise, stretched over the whole row; Detail lies above it */
.picker-pick { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.picker-pick::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); }
.picker-pick:focus-visible { outline: none; } .picker-pick:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.picker-detail { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 2rem; margin: 0 0 -.5rem; padding: 0 1.25rem 0 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.picker-detail:hover { text-decoration: underline; }
.picker-row:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border)); }
.picker-row .exercise-media--thumb { width: 3rem; height: 3rem; }
.picker-name { display: block; line-height: 1.375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-meta { display: block; font-size: .8125rem; }
.picker-meta .difficulty { margin-left: .125rem; }
.picker-row.added { border-color: var(--accent); background: var(--accent-soft); }
.picker-add { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 2.25rem; height: 2.25rem; padding: 0 .5rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .8125rem; font-weight: 800; }
.picker-row.added .picker-add { background: var(--accent); color: var(--accent-text); }
.picker-row.added .difficulty i:not(.on) { background: var(--muted); opacity: .4; }
.picker-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem 1rem calc(.625rem + var(--safe-bottom)); border-top: 1px solid var(--border); background: var(--surface-2); }
.picker-foot .btn { flex: none; min-width: 9rem; }
/* the detail of an exercise lies over the list, which stays as it was under it (out of sight and out of reach of the keyboard) */
.picker.showing-info > :not(.picker-layer) { visibility: hidden; }
.picker-layer { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: var(--bg); }
.picker-back { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .5rem 0 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer; }
.picker-info { flex: 1; min-height: 0; overflow-y: auto; padding: 0 1rem 1rem; overscroll-behavior: contain; }
.picker-info h1 { margin-top: .25rem; }
.picker-info .exercise-media--animation { max-height: 40vh; }
/* a low screen (a small phone, or a phone with its keyboard up): the chips scroll away with the list and, lower still, the foot goes (the cross closes), so that rows stay in sight */
@media (max-height: 600px) { .picker-chips { position: static; } }
@media (max-height: 440px) { .picker > .picker-foot { display: none; } .picker { height: calc(100dvh - 1rem - var(--safe-top)); } }
@media (min-width: 640px) {
    .picker-backdrop { align-items: center; }
    .picker { height: min(46rem, 100dvh - 4rem); border-bottom: 1px solid var(--card-border); border-radius: var(--radius); }
}
.ladder { list-style: none; padding: 0; margin: .6rem 0 0; }
.ladder li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-left: 3px solid var(--border); margin-bottom: .3rem; }
.ladder li.done { border-color: var(--ok); } .ladder li.current { border-color: var(--accent); background: var(--accent-soft); }
.ladder li a { flex: 1; } .ladder .badge { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }
.edit-item .fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.leaderboard { list-style: none; padding: 0; } .leaderboard li { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-sm); margin-bottom: .5rem; }
.leaderboard li.me { border-color: var(--accent); background: var(--accent-soft); }
.leaderboard .rank { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: .8125rem; font-weight: 800; line-height: 1.75rem; text-align: center; }
.leaderboard li.me .rank { background: var(--surface); } .leaderboard .name { flex: 1; }

/* workout player: a screen of its own on a phone (no bars, see above) */
.player { padding-top: .5rem; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .25rem; } .player-head p { margin: 0; }
.clock { font-size: 4rem; line-height: 4.25rem; font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.reps { font-size: 3rem; line-height: 1; font-weight: 800; min-width: 3.5rem; text-align: center; }
/* the weight of a gym exercise: a field between its two round buttons, the buttons level with the bottom of the field */
.weight { align-items: end; margin: .8rem 0 .2rem; }
.weight-field { flex: 0 1 9rem; margin: 0; text-align: center; }
.weight-field input { text-align: center; font-size: 1.125rem; font-weight: 600; }
.weight-field input[aria-invalid="true"] { border-color: var(--danger); }
.weight .btn { width: 3rem; min-width: 3rem; height: 3rem; min-height: 3rem; padding: 0; font-size: 1.25rem; letter-spacing: 0; }
.weight-hint { margin: .2rem 0 .6rem; }
.weight ~ .clock { font-size: clamp(1.8rem, 9vw, 2.6rem); line-height: 1.15; margin: .6rem 0; } /* with a weight on the screen the target is smaller: picture, weight, reps and Done then fit on one phone screen */
.clock.target { font-size: 1rem; line-height: 1.5; font-weight: 400; letter-spacing: normal; color: var(--muted); margin: .5rem 0; } /* the target of an exercise by repetitions: a line, the number to count is below it */
.player .center-row .btn:not(.primary) { min-width: 3rem; }
.player-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .5rem 0 0; } .player-links.centered { justify-content: center; }
.player-link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem 0; background: none; border: 0; font: inherit; font-size: .875rem; font-weight: 700; color: var(--accent-ink); cursor: pointer; }
.player-link.quiet { font-weight: 400; color: var(--muted); }

/* exercise illustrations: the aspect ratio differs per exercise, so none is forced. The files carry their own light and dark colours (they follow
   color-scheme, so also the mode chosen in the app). */
.exercise-media { display: block; border-radius: var(--media-radius); object-fit: contain; }
/* the pictures have their own rounded background; shrink them to their own aspect ratio instead of letterboxing */
.exercise-media--animation { width: auto; max-width: 100%; height: auto; max-height: 70vh; margin-inline: auto; }
.exercise-media--poses { width: 100%; height: auto; }
.exercise-media--thumb { width: 3.5rem; height: 3.5rem; flex: none; border-radius: var(--media-radius); background: var(--media-bg); }
.exercise-media.detail { margin-block: .6rem; }
.exercise-media.player-media { margin-block: .4rem; max-height: 38vh; }
.exercise-media.player-media.next { max-height: 22vh; }
.views h2 { margin: 1rem 0 .5rem; font-size: 1rem; }
.views-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 15rem)); justify-content: center; gap: .6rem; }
.view { margin: 0; }
.view .exercise-media--animation { width: 100%; max-height: none; margin: 0; }
.view figcaption { margin-top: .3rem; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.view:has(> .exercise-media[style*="display: none"]) { display: none; } /* no picture file: hide the caption too */
.card.poses h2 { margin: 0 0 .6rem; font-size: 1rem; }
.card.poses:has(> .exercise-media[style*="display: none"]) { display: none; } /* no illustration file: hide the card too */

/* equipment, workout phases */
.badge.equip { display: inline-flex; align-items: center; gap: .25rem; }
.badge.equip .icon { width: 1.45em; height: 1.45em; } /* a small badge: its line icon is drawn a little larger than the text */
.badge.equip-Chair, .badge.equip-TwoChairs { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }
.badge .difficulty { margin-left: .25rem; } .badge .difficulty i:not(.on) { background: var(--muted); opacity: .4; }
.phase-chip { display: inline-block; padding: 1px .625rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .6875rem; line-height: 1.125rem; font-weight: 700; letter-spacing: .03em; }
.phase-chip.big { font-size: 1rem; line-height: 1.5; padding: .25rem 1rem; }
.phase-heading { margin: 1.25rem 0 .5rem; font-size: 1.25rem; line-height: 1.625rem; font-weight: 700; color: var(--text); }
.phase-heading:first-child { margin-top: .4rem; }
.phase-change { text-align: center; margin: .4rem 0 0; } .phase-change small { display: block; color: var(--muted); margin-bottom: .2rem; }
.feedback-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; background: var(--surface); border-radius: var(--radius-sm); padding: .05rem .4rem; }
.notice.hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin: .6rem 0; word-break: normal; overflow-wrap: anywhere; }
.ladder li .step-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; } .ladder li .step-main a { flex: none; }
.ladder li .step-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent-soft); color: var(--text); padding: .6rem 1rem; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
/* the "reconnecting" dialog of the web app (its own scoped style sets a white background; the doubled id outranks it) */
#components-reconnect-modal#components-reconnect-modal { background-color: var(--surface); color: var(--text); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow-pop); }

/* planner, plans made for the user and their weeks */
.badge.mine { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.badge.body, .badge.section, .badge.in-progress { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }
.field-title { margin: .9rem 0 .1rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.field-error { display: block; margin: -.2rem 0 .5rem; }
.bmi-live { margin: .5rem 0; font-weight: 700; }
.types-hint { margin: .1rem 0 .3rem; }
.types label.check { align-items: center; margin: 0; min-height: 44px; } /* a row of 44 px is the touch target (the label ticks the box), so the box itself needs no height of its own */
.types input[type=checkbox] { min-height: 0; margin-top: 0; padding: 0; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); column-gap: 1rem; } /* the exercise types as checkboxes, as many in a row as fit */
.type-count { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .8rem; margin: -.2rem 0 .3rem 1.875rem; } /* the number of exercises of the warm-up / cool-down: under its checkbox, in line with its text */
.type-count .chips { margin: .2rem 0; }
/* the planner: the exercises the person adds themselves, rows like those of a list, each with a cross that takes it out again */
.own-row { margin: .4rem 0; padding: .375rem .25rem .375rem .5rem; }
.own-row .exercise-media--thumb { width: 2.5rem; height: 2.5rem; }
.own-row .grow b, .own-row .grow span { display: block; }
.own-add { margin: .5rem 0 .2rem; }
.planner-card { flex-direction: column; align-items: stretch; margin-top: 1rem; padding: .75rem; background: var(--accent-soft); border-radius: var(--radius-sm); } /* the way into the planner: a soft panel with a full-width button */
.planner-card .btn { width: 100%; }
.summary h2 { margin: 0 0 .3rem; }
.notes { padding-left: 1.2rem; } .notes li { margin: .45rem 0; }
/* how the planner makes a plan: a button that opens and closes the text under it (the arrow at its end turns over) */
.how-toggle { justify-content: flex-start; text-align: left; }
.how-toggle::after { content: ""; flex: none; width: .5rem; height: .5rem; margin: -.25rem .3rem 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s, margin .18s; }
.how-toggle[aria-expanded="true"]::after { margin-top: .25rem; transform: rotate(225deg); }
.how-panel { margin-top: 0; }
.how-panel h3 { margin: 1.1rem 0 .2rem; }
.how-panel h3:first-child { margin-top: 0; }
.how-panel p { margin: 0; line-height: 1.55; }
/* the level a person who trains regularly says they have: an option for each, with a few words under its name, the chosen one in the accent colour */
.levels { margin: .2rem 0 .6rem; }
.level-option { display: block; width: 100%; margin: .4rem 0; padding: .6rem .8rem; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .18s, background .18s; }
.level-option b { display: block; margin-bottom: .1rem; }
.level-option span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.level-option:hover:not(:disabled) { background: var(--surface-2); }
.level-option.active { border-color: var(--accent); background: var(--accent-soft); }
.level-option:disabled { opacity: .5; cursor: not-allowed; }
.workout-estimate { margin: .4rem 0 0; }
.week { display: grid; gap: .5rem; margin: .6rem 0; }
.week .day { margin: 0; }
details.day { padding: 0; }
details.day > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; padding: .8rem 1rem; cursor: pointer; list-style: none; }
details.day > summary::-webkit-details-marker { display: none; }
details.day > summary::before { content: "▸"; color: var(--muted); }
details.day[open] > summary::before { content: "▾"; }
.day-name { min-width: 6.5rem; } .day-focus { font-weight: 600; flex: 1; }
.day-body { padding: 0 1rem 1rem; }
.day.rest { display: flex; align-items: baseline; gap: .8rem; padding: .6rem 1rem; border: 1px dashed var(--border); border-radius: var(--radius-sm); box-shadow: none; }

/* progress: the month (calendar, details of a day, summary). The body part colours (--part-*, in themes.css) are the four shades of the design system's calendar: brand, brand-deep,
   brand-light and ink-muted (they differ in lightness, not in hue). A colour never stands alone: the legend, the labels and the aria-labels name the parts too. */
.body-Legs { --part: var(--part-legs); } .body-Arms { --part: var(--part-arms); } .body-Back { --part: var(--part-back); } .body-Core { --part: var(--part-core); }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--part, var(--muted)); }

.month { margin-bottom: 1rem; }
.month-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .2rem 0 .6rem; }
.month-title { flex: 1 1 9rem; margin: 0; text-align: center; font-size: 1.25rem; }
.month-nav .btn:not(.small) { width: 2.75rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0; font-size: 1.3rem; line-height: 1; letter-spacing: 0; }
.month-today { margin-left: auto; }
.month-body { transition: opacity .15s; }
.month-body.loading { opacity: .5; pointer-events: none; }

.cal-card { padding: .75rem .5rem; }
.cal { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.cal th { padding: .125rem 0; font-size: .6875rem; font-weight: 700; color: var(--muted); text-align: center; }
.cal td { padding: 0; }
.cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 2.5rem; padding: .25rem 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: .75rem; line-height: 1.1; }
/* a day with workouts is filled with the colour of the body part it trained (the first of: arms, back, legs, core; the label of the day names them all) */
button.cal-day { background: var(--accent-soft); color: var(--text); font-weight: 700; cursor: pointer; transition: filter .15s, box-shadow .15s; }
button.cal-day:has(.body-Core) { background: var(--part-core); color: var(--bg); }
button.cal-day:has(.body-Legs) { background: var(--part-legs); color: var(--accent-text); }
button.cal-day:has(.body-Back) { background: var(--part-back); color: var(--on-accent-deep); }
button.cal-day:has(.body-Arms) { background: var(--part-arms); color: var(--accent-text); }
button.cal-day:hover { filter: brightness(.94); }
button.cal-day.selected { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.cal-day.today { outline: 2px solid var(--focus); outline-offset: 1px; }
.cal-day.today:not(button) { color: var(--text); font-weight: 700; }
button.cal-day:focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.cal-num { font-weight: 700; }
.cal-count { position: absolute; top: -5px; right: -4px; min-width: 1rem; padding: 0 .25rem; border-radius: 99px; background: var(--text); color: var(--surface);
    font-size: .62rem; font-weight: 700; line-height: 1rem; text-align: center; box-shadow: 0 0 0 2px var(--surface); } /* on the corner, with a ring, so it never covers the number */
.cal-dots { display: none; } /* the fill of the day says it; the dots stay in the markup for what reads it */
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .9rem; margin: .5rem 0 0; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.cal-legend li { display: inline-flex; align-items: center; gap: .35rem; }

.day-heading { margin: 1.1rem 0 .1rem; font-size: 1.05rem; }
.session-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .8rem; }
.session-name { margin: 0; font-size: 1.05rem; }
.session-meta { font-size: .85rem; white-space: nowrap; }
.ex-name { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .4rem; }
.ex-amount { flex: none; white-space: nowrap; }
.month .badge.body { display: inline-flex; align-items: center; gap: .3rem; }
.month .badge.body::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--part, var(--muted)); }
.empty-state { padding: 1.2rem 1rem; } .empty-state p { margin: .2rem 0 .8rem; }

.month-summary h3 { margin: 1.3rem 0 .4rem; }
.month-stats .stat b { font-size: clamp(1.15rem, 5.2vw, 1.375rem); }
.month-vs { margin: .6rem 0 0; font-size: .9rem; }
.parts { list-style: none; margin: .5rem 0 0; padding: 0; }
.parts li { display: grid; grid-template-columns: 6.5rem 1fr 2.8rem; align-items: center; gap: .5rem; padding: .25rem 0; }
.part-name { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.part-bar { display: block; height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--part) 16%, var(--surface)); }
.part-bar i { display: block; height: 100%; border-radius: 999px; background: var(--part); }
.part-pct { text-align: right; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* sections: InHouse Workout, Outdoor Workout, Gym Workout, Kettlebell Workout, Pilates, CoWorkout: the icon sits in a soft well, the same for all of them */
.sections .section-card { display: flex; flex-direction: column; gap: .1rem; }
.sections .section-card h3 { margin: .25rem 0 .1rem; }
.sections .section-card p { margin: .1rem 0 0; }
.section-icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); font-size: 1.375rem; line-height: 1; background: var(--accent-soft); color: var(--accent-ink); }
.chip .chip-note { margin-left: .1rem; opacity: .75; font-size: .7rem; }
.card.in-progress { border-style: dashed; }
.card.in-progress h3 { margin: 0 0 .3rem; }

/* appearance: the choice of light or dark in Settings */
.appearance h2 { margin: 0 0 .2rem; font-size: 1rem; line-height: 1.375rem; }

/* a short crossfade while the mode is switched (theme.js adds the class for a moment) */
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: none !important; }
}

/* the privacy policy: a long text, so the lines stay short and the sections are easy to tell apart */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { padding-left: 1.2rem; margin: .4rem 0; }
.legal li { margin: .5rem 0; }
.legal-inline { margin: .6rem 0; border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: .5rem .8rem; }
.legal-inline summary { cursor: pointer; font-size: .9rem; }
.legal-inline .legal { max-height: 50vh; overflow: auto; margin-top: .6rem; }
.privacy-settings h3 { margin: 1.1rem 0 .3rem; font-size: 1rem; }

/* the footer of every page except the sign-in: the box for feedback ("Got an idea what to improve?") and the disclaimer */
.site-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.feedback { margin: 0 0 1.1rem; }
.feedback-open { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .75rem 1rem; text-align: left; font: inherit; font-size: .9375rem; line-height: 1.375rem; font-weight: 700; color: var(--text);
    background: var(--accent-soft); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: border-color .18s, box-shadow .18s; }
.feedback-open:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border)); box-shadow: var(--shadow); }
.feedback-open .icon { width: 1.5rem; height: 1.5rem; color: var(--accent-ink); }
.feedback-card { margin: 0; }
.feedback-label { margin: 0; font-size: inherit; letter-spacing: normal; color: var(--text); }
.feedback-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: 1rem; line-height: 1.375rem; font-weight: 700; }
.feedback-title .icon { color: var(--accent-ink); }
.feedback-field { display: block; width: 100%; min-height: 7rem; resize: vertical; font: 400 1rem/1.5 var(--font); letter-spacing: normal; color: var(--text); background: var(--surface);
    border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); padding: .625rem .75rem; }
.feedback-count { margin: .25rem 0 0; text-align: right; font-variant-numeric: tabular-nums; }
.feedback-thanks { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-weight: 700; }
.feedback-thanks .icon { color: var(--ok); }
/* "Safety before and during exercise" (.more-safety) and, always last below it, the disclaimer: two lightly highlighted cards (the soft background of the surfaces, the border and the radius of the cards) */
.disclaimer, .more-safety { background: var(--surface-2); border: 1px solid var(--card-border); border-radius: var(--radius); color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.disclaimer { padding: .875rem 1rem; }
.disclaimer-title { margin: 0 0 .25rem; font-size: .9375rem; line-height: 1.375rem; font-weight: 800; letter-spacing: normal; color: var(--text); }
.disclaimer p { margin: 0; }
.more-safety { margin: 0 0 .5rem; padding: 0 1rem; }
.more-safety summary { cursor: pointer; padding: .75rem 0; font-weight: 700; color: var(--accent-ink); }
.more-safety[open] summary { border-bottom: 1px solid var(--border); }
.more-safety ul { margin: 0; padding: .35rem 0 .6rem 1.2rem; }
.more-safety li { margin: .35rem 0; }

/* the general part of the footer (SiteLinks), always last: a line of its own above it, then the small logo and name, About us / Privacy policy with the social marks at the end of
   the row, Partners, and the buttons to the app in the stores. On the sign-in page it is all the footer has, so the footer's own line is enough there. */
.site-links { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.site-footer > .site-links:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-brand { display: flex; align-items: center; gap: .4rem; }
.site-brand strong { font-size: .75rem; line-height: 1rem; font-weight: 700; color: var(--muted); }
.site-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; font-size: .9375rem; font-weight: 700; }
.site-row a { color: var(--accent-ink); text-decoration: none; }
.site-row a:hover { text-decoration: underline; }
.social { display: flex; gap: .4rem; margin-left: auto; }
.social a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.social a:hover { text-decoration: none; box-shadow: var(--shadow); }
.brand-icon { display: inline-flex; }
.brand-icon svg { width: 1rem; height: 1rem; }
.stores { display: flex; flex-wrap: wrap; gap: .5rem; }
.stores .store { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: var(--text); color: var(--bg); border: 1px solid var(--text); text-decoration: none; }
.stores .store:hover { text-decoration: none; box-shadow: var(--shadow); }
.stores .store .brand-icon svg { width: 1.4rem; height: 1.4rem; }
.stores .store small { display: block; font-size: .6rem; line-height: .8rem; letter-spacing: .02em; font-weight: 400; opacity: .85; }
.stores .store b { display: block; font-size: .9375rem; line-height: 1rem; }

/* About us: the story in one card, the technologies and the partners as marks with their names, no frames */
.about h1 { margin: 0 0 .6rem; }
.about .lead { font-size: 1rem; line-height: 1.6; }
.about h2 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; scroll-margin-top: 4.5rem; } /* a jump to #partners must not end under the bar at the top */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .6rem; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: .9rem .5rem .75rem; text-align: center; text-decoration: none; color: var(--text); font-weight: 700; font-size: .875rem; border-radius: var(--radius-sm); }
.tile:hover { background: var(--surface-2); text-decoration: none; }
.tile-mark { width: 3rem; height: 3rem; object-fit: contain; }
.partner { min-height: 4.5rem; }
.partner-logo { max-width: 100%; max-height: 3rem; object-fit: contain; }
.partner-name { font-weight: 800; font-size: 1.05rem; color: var(--muted); }

/* My Feedback: what the person sent, the status of each and the answer */
.feedback-item { display: flex; flex-direction: column; gap: .5rem; margin: .6rem 0; }
.feedback-item-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .75rem; }
.feedback-item .feedback-text, .feedback-answer .feedback-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; } /* the line breaks the person typed stay */
.feedback-answer { padding: .625rem .75rem; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--accent-soft); }
.feedback-answer-head { margin: 0 0 .25rem; font-size: .875rem; }
.badge.status-InProgress { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }
.badge.status-Fixed { border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.badge.status-Rejected { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
