:root {
    --bg: #0b1220;
    --card: #111827;
    --muted: #9ca3af;
    --text: #e5e7eb;
    --chip: #1f2937;
    --nav: #0e1525;
    --vh: 100%;
}
:root {
    accent-color: unset;
    -webkit-tint-color: initial;
}
.bottom15 {
    margin-bottom: 15px;
}

.bottom25 {
    margin-bottom: 25px;
}

.bottom50 {
    margin-bottom: 50px;
}
.bottom100 {
    margin-bottom: 100px;
}

button, nav button, .primary {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    background-color: #1f2937;
    color: #ffffff !important;
    border: 1px solid #2b3343;
    text-decoration: none !important;
}
button span {
    color: inherit !important;
}
* { box-sizing: border-box }

html, body {
    height: 100%;
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
    background: var(--bg);
}

body {
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

input, button, select, textarea {
    font-size: 14px;
    color: var(--text);
}
#emojiGrid button {
    font-size: 16px;
}

/* HEADER */
header.app-header {
    position: sticky;
    top: 0;
    z-index: 15;
    background: rgba(11, 18, 32, .80);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid #1f2937;
    padding: calc(8px + env(safe-area-inset-top)) 16px 8px 16px;
    margin-bottom: 15px;
}
header.app-header .primary {
    width: inherit !important;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    min-height: 48px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
h1 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h2 { margin-top: 0 }
.version-pill span {
    font-size: 12px;
    color: #cbd5e1;
    padding: 4px 0;
    white-space: nowrap;
    text-transform: uppercase;
}
.primary {
    background: #1f2937;
    border: 1px solid #2b3343;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
    white-space: nowrap;
    width: 100%;
}

/* MAIN + CARDS */
main {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(var(--vh, 1vh) * 100 - 70px);
    overscroll-behavior: contain;
    padding: 12px;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
.card {
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 50px;
}
.muted { color: var(--muted); font-size: 13px }
.grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
}
@media (min-width:520px) { .grid { grid-template-columns: repeat(4, 1fr) } }
@media (min-width:720px) { .grid { grid-template-columns: repeat(6, 1fr) } }
.chip {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-radius: 999px;
    border: 1px solid #2b3343;
    background: #1f2937;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background .2s, transform .08s;
}
.chip:active { transform: scale(.97) }

/* Ripple effect per i chip */
.chip::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,.25);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: width .3s ease-out, height .3s ease-out, opacity .45s;
}
.chip.ripple::after {
    width: 220%;
    height: 220%;
    opacity: 0;
}

/* LISTS */
.row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: auto;
    padding-right: 4px;
}
.entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #2b3343;
    border-radius: 14px;
    background: #0e1525;
    margin-bottom: 15px !important;
}
.entry span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.category-block .entry { margin-bottom: 15px }

/* Delete, Edit element */
.actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.deleteBtn,
.editBtn,
.editMed,
.deleteMed,
.takeBtn {
    background: transparent;
    border: none;
    color: #f87171;
    font-size: 10px;
    cursor: pointer;
    transition: transform 0.1s ease;
    margin-left: 8px;
}
.deleteBtn:hover,
.editBtn:hover,
.editMed:hover,
.deleteMed:hover,
.takeBtn:hover {
    transform: scale(1.2);
    color: #ef4444;
}
.take-icon {
    width: 16px;       /* ← riduci qui (default ~24px) */
    height: 16px;
    vertical-align: middle;
    transition: transform 0.2s ease, color 0.2s ease;
}

.take-icon.active {
    color: #22c55e;    /* verde acceso */
    transform: scale(1.1);
}

/* NAV */
nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav);
    border-top: 1px solid #1f2937;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
    z-index: 999;
    height: 70px;
    align-items: center;
}
nav button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #0f172a;
    border: 1px solid #2b3343;
    border-radius: 12px;
    color: #e5e7eb;
    padding: 8px 4px;
    font-size: 13px;
    line-height: 1.2;
    transition: all 0.15s ease;
    margin-right: 10px;
}
nav button:last-child { margin-right: 0 }
nav button span {
    font-size: 12px;
    display: block;
}
nav button.active {
    background: #1f2937;
    border-color: #ffffff;
    color: #ffffff;
}

/* TOAST */
.toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    bottom: calc(120px + env(safe-area-inset-bottom));
    background: #1a2235;
    border: 1px solid #2b3343;
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity .25s, transform .25s;
    z-index: 999999;
    pointer-events: none;
    font-size: 15px;
    line-height: 1.4;
    min-width: 240px;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast.success {
    background: #102a1f;
    border-color: #1e4d36;
}
.toast.error {
    background: #3a1414;
    border-color: #6b1e1e;
}

/* FORM & AUTOCOMPLETE */
.form-create {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.form-create input,
.form-create select {
    width: 100%;
    max-width: 380px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
    text-align: center;
}
#topButtons { margin-bottom: 25px }
#searchInput,
#filterItems {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 10px auto;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
    text-align: center;
    font-size: 16px;
}
.autocomplete {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #111827;
    border: 1px solid #2b3343;
    border-radius: 10px;
    margin-top: 4px;
    max-height: 180px;
    overflow: auto;
    display: none;
}
.autocomplete.show { display: block }
.autocomplete li {
    padding: 10px 14px;
    border-bottom: 1px solid #1f2937;
    cursor: pointer;
}
.autocomplete li:hover { background: #1f2937 }

/* Emoji grid */
.emoji-grid {
    max-height: 200px;
    overflow: auto;
    margin-bottom: 25px;
    position: relative;
}
.emoji-grid button {
    background-color: transparent;
    border: 0;
    padding: 10px;
}
#btnSaveItem { margin-bottom: 25px }

/* === Popup Mal di Testa === */
/* === POPUP MAL DI TESTA === */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(6px);

    height: 100vh;
    top: 0;
    bottom: 0;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #0f1623;
    border-radius: 18px;
    padding: 24px 20px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popupIn 0.2s ease;
}

@keyframes popupIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Titolo */
.modal-content h2 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
}

/* Griglia aree */
.headache-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ⬅️ da 3 a 4 */
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

.headache-grid img {
    width: 100%;
    border-radius: 12px;
    background: #162030;
    padding: 6px;
    transition: all 0.15s ease;
}

.headache-grid img.selected {
    background: #283a56;
    transform: scale(1.05);
    box-shadow: 0 0 10px #4da3ff;
}

/* Slider intensità */
#headacheIntensity {
    width: 100%;
    margin: 10px 0 15px;
    accent-color: #4da3ff;
}

/* Bottoni popup */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.modal-buttons button {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.modal-buttons button:first-child {
    background: #4da3ff;
    color: #fff;
}

.modal-buttons button:last-child {
    background: #273247;
    color: #ccc;
}

.modal-buttons button:hover {
    transform: translateY(-2px);
}

/* Intensità numerica */
.intensity-picker {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.intensity-picker label {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.intensity-buttons {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}

.intensity-buttons button {
    border: none;
    border-radius: 8px;
    background: #1a2538;
    color: #aaa;
    padding: 6px 0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.intensity-buttons button:hover {
    background: #283a56;
    color: #fff;
}

.intensity-buttons button.active {
    background: #4da3ff;
    color: #fff;
    box-shadow: 0 0 8px #4da3ff;
}
#headacheNote {
    width: 100%;
    max-width: 400px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    resize: vertical;
    margin-bottom: 25px;
}
.today-summary {
    background: #111827;
    border: 1px solid #2b3343;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 14px;
    color: var(--text);
    text-align: center;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.today-summary strong {
    color: #60a5fa;
}

/* === REPORT VIEW (dark theme) === */
#view-report {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-block {
    background: var(--card);
    border: 1px solid #2b3343;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    color: var(--text);
    box-shadow: 0 8px 25px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    margin-bottom: 25px;
}

.report-block:hover {
    transform: translateY(-2px);
    border-color: #4da3ff;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.report-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #60a5fa;
    border-left: 4px solid #4da3ff;
    padding-left: 0.5rem;
}

.report-block h4 {
    font-size: 0.95rem;
    margin: 0.8rem 0 0.3rem;
    color: #9ca3af;
}

.report-block ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.report-block li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #1f2937;
    font-size: 0.95rem;
    color: var(--text);
}

.report-block li:last-child {
    border-bottom: none;
}

.report-block li strong {
    color: #4da3ff;
    font-weight: 600;
}

.report-block p {
    margin: 0.3rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* evidenzia alternanza con sfumature leggere */
.report-block:nth-child(odd) {
    background: #111827;
}
.report-block:nth-child(even) {
    background: #0e1525;
}

/* Mobile */
@media (max-width: 600px) {
    .report-block {
        padding: 0.9rem 1rem;
    }
    .report-block h3 {
        font-size: 1rem;
    }
    .report-block li {
        font-size: 0.9rem;
    }
}


/* === MOBILE ADAPTIVE === */
@media (max-width: 600px) {
    .report-block {
        padding: 0.9rem 1rem;
    }
    .report-block h3 {
        font-size: 1rem;
    }
    .report-block li {
        font-size: 0.9rem;
    }
}

.clickable-date {
    cursor: pointer;
    color: #60a5fa;
    font-size: 18px;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.clickable-date:hover {
    color: #93c5fd;
}

#datePicker {
    background: #0f172a;
    border: 1px solid #2b3343;
    border-radius: 8px;
    color: #fff;
    padding: 6px 10px;
    font-size: 15px;
    display: none;
}

#datePicker.show {
    display: block !important;
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #0f1623;
    border: 0;
    box-shadow: none;
    border-radius: 12px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    color: #fff;
    font-size: 16px;
}
@media (min-width: 768px) {
    #datePicker.show {
        position: static !important;
        top: auto;
        left: auto;
        transform: none;
        display: inline-block !important;
    }
}

/* === MODALE EDIT ITEM === */
#editItemModal .modal-content {
    background: #0f1623;
    border-radius: 18px;
    padding: 24px 20px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popupIn 0.2s ease;
}

#editItemModal h2 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
}

#editItemModal input,
#editItemModal select {
    width: 100%;
    max-width: 400px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
}

#editEmojiGrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

#editEmojiGrid button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}

#editEmojiGrid button:hover {
    background: #283a56;
    transform: scale(1.15);
}

#editItemModal .modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

#editItemModal .modal-actions button {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

#editItemModal #saveEditItem {
    background: #4da3ff;
    color: #fff;
}

#editItemModal #cancelEditItem {
    background: #273247;
    color: #ccc;
}

#editItemModal .modal-actions button:hover {
    transform: translateY(-2px);
}
/* === Effetto click pulsanti (feedback visivo) === */
.btn-clicked {
    transform: scale(0.93);
    box-shadow: 0 0 10px rgba(77, 163, 255, 0.6);
    filter: brightness(1.3);
    transition: all 0.15s ease;
}

@keyframes pulseClick {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.93); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

button.btn-clicked {
    animation: pulseClick 0.25s ease;
}
#pinModal {
    position: fixed;
    inset: 0;
    background: rgba(10,15,25,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

#pinModal.hidden { display: none; }

.pinDigit {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    border-radius: 10px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
}

.pinDigit:focus {
    outline: 2px solid #4da3ff;
}

/* === INPUT UNIFICATI (form + modali) === */
.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    max-width: 400px;
    margin-top: 8px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #2b3343;
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    text-align: center;
    resize: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #4da3ff;
    background: #111c2f;
}

/* === MENU ⚙️ IMPOSTAZIONI === */
#settingsMenu {
    position: fixed;
    top: 60px;
    right: 12px;
    background: #0f1623;
    border: 1px solid #2b3343;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.45);
    z-index: 9999;
    display: none;
    flex-direction: column;
    animation: popupIn 0.15s ease;
}

#settingsMenu.show {
    display: flex;
}

#settingsMenu button {
    background: transparent;
    border: none;
    color: #e5e7eb;
    text-align: left;
    padding: 10px 16px;
    font-size: 15px;
    width: 180px;
    transition: background 0.2s ease;
}

#settingsMenu button:hover {
    background: #1f2937;
    color: #fff;
}
#settingsMenu button[data-action="backup"] {
    color: #22c55e; /* verde Lucide */
    font-weight: 600;
}

#settingsMenu button[data-action="backup"]:hover {
    background: #22c55e20;
}


/* Pulsanti a destra dell’header */
.right-buttons {
    display: flex;
    gap: 10px;
}

.right-buttons button {
    border-radius: 10px;
    padding: 8px 10px;
    background: #1f2937;
    border: 1px solid #2b3343;
    cursor: pointer;
    transition: all 0.15s ease;
}

.right-buttons button:hover {
    background: #28334a;
}
#settingsMenu.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
    transition: all 0.15s ease;
}
#settingsMenu {
    opacity: 0;
    transform: scale(0.97);
}
/* === HEADER centrato === */
.header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: space-between;
}

.brand {
    justify-self: start;
}

.date-center {
    justify-self: center;
    text-align: center;
}

.right-buttons {
    justify-self: end;
    display: flex;
    gap: 6px;
}

.clickable-date {
    cursor: pointer;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.clickable-date:hover {
    color: #93c5fd;
}

#splashScreen {
    position: fixed;
    inset: 0;
    background: #050917;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splashScreen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}
#settingsMenu button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

#settingsMenu svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    color: #2196F3; /* colore principale */
}


nav button[data-tab="quick"] svg { color: #2196F3; }  /* blu */
nav button[data-tab="today"] svg { color: #4CAF50; }  /* verde */
nav button[data-tab="meds"] svg  { color: #E91E63; }  /* rosa */

/* === Linea sotto i titoli principali === */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    padding-bottom: 6px;
    font-weight: 600;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;              /* lunghezza della riga */
    height: 3px;              /* spessore della riga */
    background: #4da3ff;      /* colore blu acceso */
    border-radius: 2px;
}

/* === METEO OGGI === */
.weather-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border: 1px solid #2b3343;
    border-radius: 16px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    text-align: center;
    gap: 12px;
}

.weather-icon {
    font-size: 42px;
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.weather-temp {
    font-size: 22px;
    font-weight: 600;
    color: #60a5fa;
}

.weather-desc {
    font-size: 15px;
    color: #e5e7eb;
    text-transform: capitalize;
}

.weather-details {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}
.weather-toolbar {
    text-align: right;
    margin-bottom: 10px;
}
.weather-toolbar .small {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 10px;
}
.takeExerciseBtn {
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.takeExerciseBtn i.take-icon {
    width: 16px;
    height: 16px;
}
.exercise-block {
    display: flex;
    flex-direction: column;
}

.exercise-title {
    font-size: 16px;
    margin-bottom: 4px;
}

.exercise-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.3;
}