/*
   patuco — the app (customer + provider sides). Design system in the spirit of the Yui (Framework7) template,
   translated to the patuco palette: white background, dark green titles, grey text, 20px corners, soft shadows,
   15px spacing, no heavy borders. Mobile-first; on wide screens the content is a centred phone-width column.

   Sections: 1 variables · 2 base · 3 top bar · 4 bottom nav · 5 layout & titles · 6 buttons · 7 forms · 8 chips
   & sliders · 9 cards (media, poster, square, footer) · 10 post list (horizontal card) · 11 album grid ·
   12 category grid · 13 outline lists · 14 badges & misc · 15 movie header (provider page) · 16 rating ·
   17 comments · 18 profile & settings · 19 link banner & information block · 20 page-specific · 21 wide screens
*/

/* 1. variables ------------------------------------------------------------ */
:root {
    --app-lime: #D0D828;
    --app-lime-dark: #B9C11A;
    --app-sage: #809870;
    --app-green: #587058;
    --app-green-dark: #3F5240;
    --app-ink: #2F3D30;            /* titles */
    --app-text: #7A857B;           /* body text (Yui --text-color, tinted) */
    --app-muted: #9AA39B;
    --app-bg: #FFFFFF;
    --app-tint: #EEF2E8;           /* Yui --light-gray */
    --app-tint-dark: #E2E8D9;
    --app-card: #FFFFFF;
    --app-line: rgba(47, 61, 48, 0.10);
    --app-shadow: 0 2px 10px rgba(47, 61, 48, 0.10);
    --app-shadow-lg: 0 14px 40px rgba(47, 61, 48, 0.18);
    --app-shadow-card: 0 4px 16px rgba(47, 61, 48, 0.14), 0 0 0 1px rgba(47, 61, 48, 0.05);   /* media cards: photos with white areas sit on a white page */
    --app-danger: #C0392B;
    --app-danger-bg: #FBEAE7;
    --app-success: #3E7A43;
    --app-success-bg: #E8F3E9;
    --app-star: #F2B01E;
    --app-radius: 20px;
    --app-radius-sm: 15px;
    --app-radius-xs: 10px;
    --app-gap: 15px;
    --app-nav-height: 52px;          /* floating pill tab bar */
    --app-nav-gap: 12px;
    --app-topbar-height: 56px;
    --app-max: 560px;
    --app-font: "Rubik", -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
}

/* 2. base ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.app-body {
    margin: 0;
    font-family: var(--app-font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--app-text);
    background: var(--app-bg);
    padding-top: var(--app-topbar-height);
    padding-bottom: calc(var(--app-nav-height) + var(--app-nav-gap) * 2 + env(safe-area-inset-bottom));
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
body.app-body.app-no-nav { padding-bottom: 0; }
h1, h2, h3, h4 { color: var(--app-ink); font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
h1 { font-size: 26px; margin-bottom: 14px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; line-height: 1.7; }
a { color: var(--app-green); text-decoration: none; transition: opacity .1s; }
a:hover { color: var(--app-green-dark); }
a:active { opacity: .85; }
img { max-width: 100%; }
::-webkit-scrollbar { display: none; }
strong, b { color: var(--app-ink); font-weight: 600; }

/* 3. top bar: logo (or back) on the left, title centred, icons on the right, no border --------------------- */
.app-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    height: var(--app-topbar-height);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.app-topbar-inner {
    max-width: var(--app-max); margin: 0 auto; height: 100%;
    display: flex; align-items: center; gap: 8px; padding: 0 16px;
}
.app-topbar-left { display: flex; align-items: center; justify-content: flex-start; flex-shrink: 0; }
.app-topbar-logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.app-topbar-logo img { width: auto; height: 34px; }   /* the full logo (lettering), never icon + text */
.app-topbar-back, .app-topbar-icon {
    display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
    border-radius: 12px; background: transparent; border: 0; color: var(--app-ink); font-size: 19px; position: relative; padding: 0; cursor: pointer;
}
.app-topbar-back:hover, .app-topbar-icon:hover { background: var(--app-tint); color: var(--app-ink); }
.app-topbar-back { font-size: 21px; margin-left: -8px; }
.app-topbar-title { flex: 1; min-width: 0; text-align: center; font-weight: 600; color: var(--app-ink); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topbar-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; flex-shrink: 0; }
.app-topbar-badge {
    position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 100px;
    background: var(--app-lime); color: var(--app-green-dark); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.app-topbar-avatar { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--app-green); color: #fff; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; margin-left: 6px; flex-shrink: 0; }
.app-topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.app-topbar-lang { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; border-radius: 100px; padding: 5px 9px; color: var(--app-green); background: var(--app-tint); margin: 0 4px; }
.app-topbar-actions .app-btn { min-height: 34px; padding: 0 12px; font-size: 13px; }

/* 4. bottom navigation: floating pill, icons only, active icon on a lime disc -------------------------------- */
.app-bottom-nav {
    position: fixed; left: 16px; right: 16px; z-index: 50;
    bottom: calc(var(--app-nav-gap) + env(safe-area-inset-bottom));
    height: var(--app-nav-height); border-radius: 999px;
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--app-shadow-lg);
    display: flex; align-items: center; justify-content: space-around; padding: 0 8px;
}
.app-nav-item {
    position: relative; flex: 1; height: var(--app-nav-height);
    display: flex; align-items: center; justify-content: center;
    color: var(--app-muted); font-size: 11px; font-weight: 600; transition: color .2s;
}
.app-nav-item i {
    display: inline-flex; align-items: center; justify-content: center;
    height: 38px; min-width: 50px; border-radius: 999px; font-size: 20px;
    transition: background .2s, box-shadow .2s, color .2s;
}
.app-nav-item > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* label for screen readers only */
.app-nav-item.is-active { color: var(--app-green-dark); }
.app-nav-item.is-active i { background: var(--app-lime); color: var(--app-green-dark); box-shadow: 0 6px 16px rgba(208, 216, 40, 0.45); }
.app-nav-badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--app-danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }

/* 5. layout & titles ------------------------------------------------------- */
.app-main { max-width: var(--app-max); margin: 0 auto; padding: 12px var(--app-gap) 24px; }
.app-section { margin-bottom: 25px; }
.app-section-title, .app-section-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 25px 0 10px; color: var(--app-ink); font-size: 18px; font-weight: 600;
}
.app-section-title:first-child, .app-section-head:first-child { margin-top: 0; }
.app-section-title h2, .app-section-head h2 { margin: 0; font-size: inherit; display: inline-flex; align-items: center; gap: 8px; }
.app-section-title a, .app-section-head a { font-weight: 500; font-size: 14px; color: var(--app-green); white-space: nowrap; }
.app-section-title i, .app-section-head i { font-size: 15px; }
.app-light-title { color: var(--app-muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin: 22px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-light-title:first-child { margin-top: 4px; }
.app-light-title a { text-transform: none; letter-spacing: 0; font-size: 13px; }
.app-title-line { position: relative; margin: 28px 0 22px; padding-bottom: 8px; border-bottom: 1px solid var(--app-line); display: flex; align-items: center; gap: 8px; }
.app-title-large { font-size: 28px; margin: 6px 0 4px; }
.app-hero { margin: 4px 0 8px; }
.app-hero h1 { margin-bottom: 2px; font-size: 24px; }
.app-hero p { margin: 0; }
.app-full { margin-left: calc(-1 * var(--app-gap)); margin-right: calc(-1 * var(--app-gap)); }
.app-card { background: var(--app-card); border-radius: var(--app-radius); box-shadow: var(--app-shadow); padding: 16px; margin-bottom: 12px; }
.app-card-tint { background: var(--app-tint); box-shadow: none; }
.app-card-link { display: block; color: inherit; }
.app-card-link:hover { color: inherit; }
.app-card-link:active { transform: scale(0.99); }
.app-flash { border-radius: var(--app-radius-sm); padding: 12px 15px; margin-bottom: 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.app-flash-success { background: var(--app-success-bg); color: var(--app-success); }
.app-flash-error { background: var(--app-danger-bg); color: var(--app-danger); }
.app-flash i { font-size: 17px; margin-top: 2px; }

/* 6. buttons: pills — lime (primary), dark green (secondary), outline, social ------------------------------ */
.app-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 20px; border-radius: 100px; border: 1px solid transparent;
    font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.app-btn i { font-size: 16px; }
.app-btn-primary { background: var(--app-lime); color: var(--app-green-dark); }
.app-btn-primary:hover { background: var(--app-lime-dark); color: var(--app-green-dark); }
.app-btn-secondary { background: var(--app-green); color: #fff; }
.app-btn-secondary:hover { background: var(--app-green-dark); color: #fff; }
.app-btn-outline { background: #fff; color: var(--app-green); border-color: var(--app-tint-dark); }
.app-btn-outline:hover { border-color: var(--app-green); color: var(--app-green-dark); }
.app-btn-tint { background: var(--app-tint); color: var(--app-ink); }
.app-btn-tint:hover { background: var(--app-tint-dark); color: var(--app-ink); }
.app-btn-block { display: flex; width: 100%; }
.app-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.app-btn-social { background: #fff; color: var(--app-ink); border-color: var(--app-tint-dark); }
.app-btn-danger { background: var(--app-danger-bg); color: var(--app-danger); }
.app-btn.is-disabled { opacity: 0.4; pointer-events: none; }
.app-btn-icon { width: 44px; min-height: 44px; padding: 0; border-radius: 15px; background: var(--app-tint); color: var(--app-ink); border: 0; font-size: 18px; }
.app-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.app-actions > form { flex: 1; }
.app-actions > .app-btn { flex: 1; }
.app-actions-sticky { margin: 4px 0 20px; }
.app-actions-sticky .app-btn { font-size: 15px; padding: 0 12px; }

/* 7. forms: tint background, no border, 12px radius --------------------------------------------------------- */
.app-field { margin-bottom: 16px; }
.app-label { display: block; font-size: 14px; font-weight: 500; color: var(--app-ink); margin-bottom: 7px; }
.app-input, .app-select, .app-textarea {
    width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid transparent; border-radius: 12px;
    background: var(--app-tint); font: inherit; font-size: 15px; font-weight: 500; color: var(--app-ink);
}
.app-select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23587058' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.app-textarea { min-height: 110px; resize: vertical; padding-top: 12px; }
.app-input::placeholder, .app-textarea::placeholder { color: var(--app-muted); font-weight: 400; }
.app-input:focus, .app-select:focus, .app-textarea:focus { outline: none; border-color: var(--app-sage); background-color: #fff; box-shadow: 0 0 0 3px rgba(128, 152, 112, 0.18); }
.app-help { font-size: 13px; color: var(--app-muted); margin-top: 6px; }
.app-error { font-size: 13px; color: var(--app-danger); margin-top: 6px; font-weight: 500; }
.app-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--app-text); cursor: pointer; }
.app-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--app-green); flex-shrink: 0; }
.app-select-sm { min-height: 38px; padding: 6px 34px 6px 14px; font-size: 14px; width: auto; border-radius: 100px; background-position: right 12px center; }
.app-file { padding: 8px 12px; }
.app-file::file-selector-button { font: inherit; font-size: 14px; font-weight: 500; border: 0; border-radius: 100px; padding: 6px 12px; margin-right: 10px; background: #fff; color: var(--app-green); }
.app-searchbar { position: relative; margin: 4px 0 14px; }
.app-searchbar .app-input { padding-left: 42px; border-radius: 100px; }
.app-searchbar > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--app-muted); font-size: 15px; pointer-events: none; }
.app-searchbar button { position: absolute; right: 5px; top: 5px; bottom: 5px; }
.app-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.app-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.app-star-input label { font-size: 30px; color: var(--app-tint-dark); cursor: pointer; transition: color .1s; margin: 0; line-height: 1; }
.app-star-input label:hover, .app-star-input label:hover ~ label, .app-star-input input:checked ~ label { color: var(--app-star); }
.app-star-input-sm label { font-size: 22px; }
.app-topic-rows { display: flex; flex-direction: column; gap: 8px; }
.app-topic-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--app-tint); border-radius: 12px; padding: 8px 14px; }
.app-topic-row > span { font-size: 14px; font-weight: 500; color: var(--app-ink); }

/* 8. chips & sliders (scroll-snap, no JS) ----------------------------------------------------------------- */
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.app-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 20px; background: var(--app-tint); font-size: 14px; font-weight: 500; color: var(--app-ink); line-height: 21px; white-space: nowrap; border: 0; cursor: pointer; }
.app-chip i { font-size: 13px; color: var(--app-green); }
.app-chip:hover { background: var(--app-tint-dark); color: var(--app-ink); }
.app-chip.is-active, .app-chip:has(input:checked) { background: var(--app-lime); color: var(--app-green-dark); }
.app-chip.is-active i, .app-chip:has(input:checked) i { color: var(--app-green-dark); }
.app-chip.is-dark { background: var(--app-green); color: #fff; }
.app-chip.is-dark i { color: var(--app-lime); }
.app-chip input { position: absolute; opacity: 0; pointer-events: none; }
.app-chips-sm .app-chip { padding: 4px 11px; font-size: 12px; line-height: 18px; }
.app-chips-sm .app-chip i { font-size: 11px; }
.app-radio-chips .app-chip { position: relative; }
.app-slider {
    display: flex; gap: var(--app-gap); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 4px calc(-1 * var(--app-gap)) 0; padding: 10px var(--app-gap) 22px;   /* room for the card shadow (overflow clips it otherwise) */
    scrollbar-width: none;
}
.app-slider::-webkit-scrollbar { display: none; }
.app-slider > * { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.app-slider-sm > * { width: 42%; }        /* 2.4 slides visible, the next one peeking */
.app-slider-md > * { width: 62%; }
.app-slider-lg > * { width: 85%; }
.app-slider-chips { gap: 10px; padding-bottom: 6px; }
.app-slider-chips > * { width: auto; }
.app-slider.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.app-slider.is-dragging a { pointer-events: none; }

/* 9. cards with media: poster (2:3), square (1:1), footer (image + gradient title + author row) ------------- */
.app-card-media { display: block; padding: 0; overflow: hidden; border-radius: 18px; background: #fff; color: inherit; box-shadow: var(--app-shadow-card); }
.app-card-media:hover { color: inherit; }
.app-card-image { position: relative; line-height: 0; background: var(--app-tint); }
.app-post-image img, .app-post-image .app-post-fallback { box-shadow: var(--app-shadow-card); }
.app-movie-cover { box-shadow: var(--app-shadow-card); }
.app-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card-poster .app-card-image { aspect-ratio: 9 / 13; }
.app-card-square .app-card-image { aspect-ratio: 1 / 1; }
.app-card-wide .app-card-image { aspect-ratio: 16 / 10; }
.app-card-media .app-card-image .app-card-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--app-sage); font-size: 34px; }
.app-card-rating {
    position: absolute; right: 8px; bottom: 8px; background: #fff; padding: 3px 8px 3px 7px; border-radius: 20px;
    font-size: 12px; font-weight: 500; color: var(--app-ink); line-height: 16px; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.app-card-rating i { color: var(--app-star); font-size: 11px; }
.app-card-tag { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.app-card-caption { padding: 8px 4px 0; line-height: 1.3; }
.app-card-caption .app-card-title { font-size: 14px; font-weight: 500; color: var(--app-ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-card-caption .app-card-subtitle { font-size: 13px; color: var(--app-text); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-card-image-footer {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 18px 15px; line-height: 1.4;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(24, 24, 24, 0.9) 100%); color: #fff;
}
.app-card-image-footer h2 { margin: 0; font-size: 18px; line-height: 23px; font-weight: 500; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-card-category { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 8px; margin-bottom: 8px; border-radius: 5px; background: #fff; color: var(--app-ink); line-height: 18px; }
.app-card-category.is-lime { background: var(--app-lime); color: var(--app-green-dark); }
.app-card-category.is-green { background: var(--app-success-bg); color: var(--app-success); }
.app-card-category.is-gray { background: var(--app-tint); color: var(--app-text); }
.app-card-category.is-red { background: var(--app-danger-bg); color: var(--app-danger); }
.app-card-footer { display: flex; align-items: center; gap: 12px; padding: 12px 16px; line-height: 1.3; }
.app-card-footer .app-avatar-round, .app-card-footer > .app-icon-circle { width: 36px; height: 36px; flex-shrink: 0; }
.app-card-footer-middle { flex: 1; min-width: 0; }
.app-card-footer-middle .app-card-author { color: var(--app-ink); font-weight: 500; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-card-footer-middle .app-card-date { color: var(--app-text); font-size: 13px; margin-top: 2px; }
.app-card-footer-right { margin-left: auto; color: var(--app-text); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.app-card-footer-right i { font-size: 18px; color: var(--app-muted); }
.app-card-list .app-card-media { margin-bottom: 18px; }

/* 10. post list: horizontal card (category, title, date · square image on the right) ---------------------- */
.app-post-list { margin: 10px 0 20px; }
.app-post { display: flex; justify-content: space-between; align-items: normal; gap: 10px; padding: 15px 15px 15px 17px; border-radius: 15px; box-shadow: var(--app-shadow); background: #fff; margin-bottom: 12px; color: inherit; }
.app-post:hover { color: inherit; }
.app-post-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-post-category { color: var(--app-text); font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-post-category .app-badge { padding: 1px 7px; font-size: 11px; }
.app-post-title { color: var(--app-ink); font-weight: 500; line-height: 21px; font-size: 15px; margin: 4px 0 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-post-date { color: var(--app-text); font-size: 13px; margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-post-date strong { color: var(--app-ink); }
.app-post-image { position: relative; line-height: 0; flex-shrink: 0; }
.app-post-image img, .app-post-image .app-post-fallback { width: 84px; height: 84px; border-radius: 15px; object-fit: cover; background: var(--app-tint); }
.app-post-image .app-post-fallback { display: inline-flex; align-items: center; justify-content: center; color: var(--app-sage); font-size: 28px; }
.app-post-image .app-post-check { position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--app-success); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.15); }

/* 11. album grid: square image + title + subtitle, two columns ------------------------------------------------ */
.app-album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 12px 0 6px; }
.app-album { display: flex; align-items: center; gap: 10px; color: inherit; min-width: 0; }
.app-album:hover { color: inherit; }
.app-album img, .app-album .app-album-fallback { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--app-tint); box-shadow: var(--app-shadow-card); }
.app-album .app-album-fallback { display: inline-flex; align-items: center; justify-content: center; color: var(--app-sage); font-size: 20px; }
.app-album-details { min-width: 0; flex: 1; }
.app-album-title { font-size: 14px; color: var(--app-ink); font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-album-subtitle { font-size: 13px; color: var(--app-text); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 16px; }

/* 12. category grid: two columns, photo darkened, name centred on top ---------------------------------------- */
.app-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.app-category-item { position: relative; height: 100px; border-radius: 15px; overflow: hidden; background: var(--app-green); display: block; color: #fff; box-shadow: var(--app-shadow-card); }
.app-category-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(60%); transition: transform .3s; display: block; }
.app-category-item:hover img { transform: scale(1.04); }
.app-category-item .app-category-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: rgba(255,255,255,0.35); }
.app-category-name { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 10px; color: #fff; font-weight: 600; font-size: 17px; line-height: 1.2; text-shadow: 0 0 20px #000; }

/* 13. outline lists: item-title left, item-after right, chevron on links ------------------------------------- */
.app-list { list-style: none; margin: 0; padding: 0; }
.app-list > li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--app-line); }
.app-list > li:first-child { border-top: 0; }
.app-olist { list-style: none; margin: 10px 0 20px; padding: 0; }
.app-olist > li { border-bottom: 1px solid var(--app-line); }
.app-olist > li:last-child { border-bottom: 0; }
.app-olist.app-olist-bordered { border-top: 1px solid var(--app-line); border-bottom: 1px solid var(--app-line); }
.app-olist.app-olist-bordered > li:last-child { border-bottom: 0; }
.app-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: inherit; min-height: 50px; position: relative; }
.app-item:hover { color: inherit; }
.app-item-media { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.app-item-media img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.app-item-media img.is-rounded { border-radius: 15px; }
.app-item-inner { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-item-title { font-size: 15px; font-weight: 500; color: var(--app-ink); min-width: 0; }
.app-item-title .app-item-subtitle { display: block; font-size: 13px; color: var(--app-text); font-weight: 400; margin-top: 2px; line-height: 1.4; }
.app-item-after { color: var(--app-text); font-size: 14px; text-align: right; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; }
.app-item-after strong { font-weight: 500; font-size: 15px; }
.app-item-after small { display: block; font-size: 12px; color: var(--app-muted); }
.app-item-after-stack { flex-direction: column; align-items: flex-end; gap: 0; }
a.app-item.app-item-link, .app-item-link { padding-right: 20px; }
.app-item-link::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--app-muted); border-bottom: 2px solid var(--app-muted); transform: translateY(-50%) rotate(-45deg); }
.app-olist-plain .app-item-title { font-weight: 400; color: var(--app-text); }
.app-olist-plain .app-item-after { color: var(--app-ink); font-weight: 500; font-size: 15px; }
.app-olist-dividers > li { border-bottom: 1px solid var(--app-line); }

/* 14. badges & misc ---------------------------------------------------------------------------------------- */
.app-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 100px; font-size: 12px; font-weight: 500; background: var(--app-tint); color: var(--app-green); line-height: 18px; white-space: nowrap; }
.app-badge-lime { background: var(--app-lime); color: var(--app-green-dark); }
.app-badge-dark { background: var(--app-green); color: #fff; }
.app-badge-verified { background: var(--app-success-bg); color: var(--app-success); }
.app-badge-soon { background: var(--app-tint); color: var(--app-muted); }
.app-badge-count { background: var(--app-lime); color: var(--app-green-dark); min-width: 22px; justify-content: center; padding: 0 7px; font-size: 12px; font-weight: 600; }
.app-badge-white { background: #fff; color: var(--app-ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.app-rating { color: var(--app-star); font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 1px; }
.app-rating small { color: var(--app-text); margin-left: 5px; font-size: 13px; }
.app-rating-lg { font-size: 22px; gap: 3px; }
.app-muted { color: var(--app-muted); }
.app-small { font-size: 13px; }
.app-ink { color: var(--app-ink); }
.app-strong { color: var(--app-ink); font-weight: 500; }
.app-green { color: var(--app-green); }
.app-danger { color: var(--app-danger) !important; }
.app-center { text-align: center; justify-content: center; }
.app-prose { white-space: normal; line-height: 1.7; }
.app-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.app-icon-circle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--app-tint); color: var(--app-green); font-size: 18px; flex-shrink: 0; }
.app-icon-round { border-radius: 50%; }
.app-avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--app-tint); flex-shrink: 0; }
.app-avatar-round { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; background: var(--app-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; flex-shrink: 0; overflow: hidden; }
.app-avatar-round img { width: 100%; height: 100%; object-fit: cover; }
.app-empty { text-align: center; padding: 36px 16px; color: var(--app-text); }
.app-empty i { font-size: 34px; color: var(--app-sage); margin-bottom: 10px; display: block; }
.app-empty h3 { margin-bottom: 6px; }
.app-empty .app-btn { margin-top: 8px; }
.app-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 16px; }
.app-pagination .app-btn { min-width: 38px; padding: 0; border-radius: 12px; }
.app-progress { display: block; height: 8px; border-radius: 4px; background: var(--app-tint); overflow: hidden; flex: 1; }
.app-progress > span { display: block; height: 100%; border-radius: 4px; background: var(--app-star); }
.app-progress.is-green > span { background: var(--app-sage); }
.app-progress.is-lime > span { background: var(--app-lime); }
.app-status-open { background: var(--app-success-bg); color: var(--app-success); }
.app-status-matched { background: var(--app-lime); color: var(--app-green-dark); }
.app-status-closed { background: var(--app-tint); color: var(--app-muted); }
.app-status-cancelled { background: var(--app-danger-bg); color: var(--app-danger); }
.app-offer-status-accepted { background: var(--app-lime); color: var(--app-green-dark); }
.app-offer-status-declined { background: var(--app-danger-bg); color: var(--app-danger); }
.app-offer-status-withdrawn { background: var(--app-tint); color: var(--app-muted); }

/* 15. movie header (provider page): cover 2/3 wide + column of three info blocks ----------------------------- */
.app-movie-header { display: flex; justify-content: space-between; gap: 15px; margin: 4px 0 22px; }
.app-movie-cover { position: relative; width: calc(66% - 15px); flex: 0 0 auto; border-radius: 25px; overflow: hidden; background: var(--app-tint); aspect-ratio: 2 / 3; max-height: 342px; }
.app-movie-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-movie-cover .app-movie-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--app-sage); font-size: 48px; }
.app-movie-cover .app-movie-logo { position: absolute; left: 10px; bottom: 10px; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.app-movie-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.app-movie-block { flex: 1; background: var(--app-tint); color: var(--app-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 20px; padding: 14px 4px; text-align: center; min-height: 0; }
.app-movie-block i { font-size: 19px; color: var(--app-green); }
.app-movie-block i.is-star { color: var(--app-star); }
.app-movie-block-name { margin: 5px 0 1px; color: var(--app-text); font-weight: 400; font-size: 12px; line-height: 1.2; }
.app-movie-block-text { font-weight: 600; font-size: 14px; line-height: 1.2; }
.app-provider-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.app-lead { font-size: 16px; color: var(--app-ink); margin-bottom: 10px; }

/* 16. rating: total, bars per star, bars per topic ---------------------------------------------------------- */
.app-rating-detailed { display: flex; flex-direction: column; gap: 14px; padding: 6px 0 4px; }
.app-rating-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--app-tint); border-radius: 50px; padding: 10px 18px 10px 16px; }
.app-rating-total-note { font-weight: 600; font-size: 15px; color: var(--app-ink); }
.app-rating-total-note small { font-weight: 400; color: var(--app-text); font-size: 13px; margin-left: 4px; }
.app-rating-group { display: flex; flex-direction: column; gap: 12px; }
.app-rating-row { display: flex; align-items: center; gap: 10px; }
.app-rating-label { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-weight: 500; color: var(--app-ink); width: 40px; flex-shrink: 0; font-size: 14px; }
.app-rating-label i { font-size: 14px; color: var(--app-star); }
.app-rating-label-wide { width: 44%; justify-content: flex-start; font-weight: 400; color: var(--app-text); }
.app-rating-pct { font-weight: 500; width: 44px; text-align: right; color: var(--app-ink); font-size: 14px; flex-shrink: 0; }
.app-rating-pct small { color: var(--app-muted); font-weight: 400; }

/* 17. comments: avatar, name, relative time, stars, text, reply indented ------------------------------------- */
.app-comment-list { margin: 16px 0 10px; }
.app-comment { display: flex; gap: 13px; margin: 18px 0; }
.app-comment-reply { margin-left: 58px; }
.app-comment-infos { flex: 1; min-width: 0; }
.app-comment-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-comment-header-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.app-comment-author { font-weight: 500; font-size: 15px; color: var(--app-ink); }
.app-comment-date { color: var(--app-text); font-size: 14px; opacity: .8; }
.app-comment-text { line-height: 1.55; color: var(--app-text); font-size: 15px; margin-top: 3px; }
.app-comment-text p { margin: 0; }
.app-comment .app-rating { margin-top: 2px; }

/* 18. profile header + stats, settings list with coloured icons ---------------------------------------------- */
.app-profile-header { display: flex; align-items: center; flex-direction: column; margin: 10px 0 20px; text-align: center; }
.app-profile-image { position: relative; width: 110px; height: 110px; border-radius: 50%; overflow: visible; margin: 0; cursor: pointer; }
.app-profile-image img, .app-profile-image .app-profile-initial { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--app-green); color: #fff; font-size: 42px; font-weight: 600; }
.app-profile-image .app-profile-edit { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--app-lime); color: var(--app-green-dark); border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.app-profile-name { color: var(--app-ink); font-weight: 500; font-size: 20px; margin-top: 14px; }
.app-profile-subtitle { color: var(--app-muted); font-weight: 400; font-size: 14px; margin-top: 2px; }
.app-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 24px; }
.app-profile-stat { display: flex; flex-direction: column; border-right: 1px solid var(--app-line); text-align: center; color: inherit; padding: 4px 0; }
.app-profile-stat:last-child { border-right: 0; }
.app-profile-stat-number { font-weight: 600; font-size: 20px; color: var(--app-ink); }
.app-profile-stat-title { color: var(--app-text); font-size: 13px; }
.app-settings-list .app-item { padding: 11px 0; }
.app-colored-icon { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; color: #fff; font-size: 15px; background: var(--app-green); flex-shrink: 0; }
.app-colored-icon.is-lime { background: var(--app-lime); color: var(--app-green-dark); }
.app-colored-icon.is-sage { background: var(--app-sage); }
.app-colored-icon.is-green { background: var(--app-green); }
.app-colored-icon.is-dark { background: var(--app-green-dark); }
.app-colored-icon.is-gray { background: #A5ADA6; }
.app-colored-icon.is-red { background: #D9534F; }
.app-colored-icon.is-yellow { background: var(--app-star); }
.app-notif-list .app-item-media .app-icon-circle { width: 44px; height: 44px; border-radius: 50%; }
.app-notif-list .is-unread .app-item-title { font-weight: 600; }
.app-notif-list .is-unread .app-icon-circle { background: var(--app-lime); color: var(--app-green-dark); }
.app-notif-list .app-item-date { font-size: 12px; color: var(--app-muted); white-space: nowrap; }

/* 19. link banner + information block ----------------------------------------------------------------------- */
.app-link-banner { display: flex; align-items: center; gap: 12px; padding: 15px 44px 15px 20px; position: relative; border-radius: 15px; margin: 12px 0; font-weight: 500; font-size: 15px; color: var(--app-ink); overflow: hidden; background: var(--app-tint); }
.app-link-banner:hover { color: var(--app-ink); }
.app-link-banner > i { font-size: 30px; color: var(--app-green); width: 36px; text-align: center; flex-shrink: 0; }
.app-link-banner-text { display: flex; flex-direction: column; min-width: 0; }
.app-link-banner-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-link-banner-subtitle { font-weight: 400; font-size: 13px; margin-top: 2px; color: var(--app-ink); opacity: .7; }
.app-link-banner::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(-45deg); opacity: .6; }
.app-link-banner.is-dark { background: var(--app-green); color: #fff; }
.app-link-banner.is-dark > i, .app-link-banner.is-dark .app-link-banner-subtitle { color: #fff; }
.app-link-banner.is-dark .app-link-banner-subtitle { opacity: .8; }
.app-link-banner.is-dark > i { color: var(--app-lime); }
.app-link-banner.is-lime { background: var(--app-lime); color: var(--app-green-dark); }
.app-link-banner.is-lime > i { color: var(--app-green-dark); }
.app-link-banner.is-lime .app-link-banner-subtitle { color: var(--app-green-dark); }
.app-link-banner .app-badge { font-size: 11px; }
.app-information-block { background: var(--app-tint); color: var(--app-ink); text-align: center; border-radius: 15px; padding: 25px 20px 20px; margin: 16px 0; background-image: radial-gradient(circle at 15% 20%, rgba(208, 216, 40, 0.35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(128, 152, 112, 0.30), transparent 45%); }
.app-information-block img { width: 30%; max-width: 120px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }
.app-information-block > i { font-size: 46px; color: var(--app-green); }
.app-information-block h2 { font-size: 28px; margin: 10px 0 0; }
.app-information-block p { color: var(--app-ink); margin: 10px 0; font-weight: 500; line-height: 1.5; }
.app-information-block .app-badge { margin-bottom: 4px; }
.app-info-block { background: var(--app-tint); padding: 15px 20px; border-radius: 15px; margin: 18px 0 22px; position: relative; }
.app-info-block p { font-size: 14px; color: var(--app-text); margin: 0; }
.app-info-block-icon { position: absolute; top: -14px; right: -6px; background: #fff; padding: 4px; border-radius: 50%; line-height: 0; }
.app-info-block-icon i { font-size: 22px; color: var(--app-green); }

/* 20. page-specific ---------------------------------------------------------------------------------------- */
/* home quick search */
.app-quick-search { padding: 14px 15px 15px; }
.app-quick-search .app-field { margin-bottom: 10px; }
.app-quick-search .app-field:last-of-type { margin-bottom: 12px; }
.app-quick-search .app-input, .app-quick-search .app-select { background: #fff; }
.app-quick-search .app-grid-2 { gap: 10px; }
/* search filters */
.app-filters { padding: 12px 14px; }
.app-filters .app-grid-2 { gap: 10px; }
.app-filters .app-field { margin-bottom: 8px; }
.app-filters-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-filters-row .app-btn { margin-left: auto; }
.app-results-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 10px; }
/* provider page details */
.app-contact-list a { color: var(--app-ink); font-weight: 500; word-break: break-all; }
.app-hours dt, .app-hours dd { margin: 0; }
.app-service-list .app-item-title { max-width: 62%; }
.app-review-cta { margin: 14px 0; }
/* request detail */
.app-request-detail-head { margin-bottom: 14px; }
.app-request-detail-head h1 { margin: 8px 0 2px; font-size: 22px; }
.app-detail { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 12px; font-size: 14px; }
.app-detail dt { color: var(--app-text); font-weight: 400; }
.app-detail dd { margin: 0; color: var(--app-ink); font-weight: 500; }
.app-inline-pet { display: inline-flex; align-items: center; gap: 6px; }
.app-inline-pet .app-avatar, .app-inline-pet .app-icon-circle { border-radius: 8px; font-size: 13px; }
.app-offer { border-left: 4px solid var(--app-tint-dark); }
.app-offer.is-accepted { border-left-color: var(--app-lime); }
.app-offer.is-declined { opacity: 0.6; }
.app-offer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.app-offer-provider { display: flex; flex-direction: column; color: var(--app-ink); }
.app-offer-price { font-weight: 600; font-size: 18px; color: var(--app-green-dark); white-space: nowrap; }
.app-offer-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-offer-foot .app-actions { flex: 0 0 auto; }
.app-step { padding-top: 14px; }
.app-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.app-step-head h2 { margin: 0; font-size: 16px; }
.app-step-n { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--app-lime); color: var(--app-green-dark); font-weight: 600; font-size: 14px; flex-shrink: 0; }
.app-banner { display: flex; align-items: center; gap: 12px; }
.app-banner-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-banner-text strong { color: var(--app-ink); }
.app-photo-current { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.app-photo-current .app-avatar { width: 64px; height: 64px; }
/* auth (Yui sign in / sign up) */
.app-auth { max-width: 420px; margin: 0 auto; }
.app-auth-head { text-align: center; margin: 6px 0 18px; }
.app-auth-head img { border-radius: 22px; margin-bottom: 12px; }
.app-auth-head h1 { margin-bottom: 4px; font-size: 26px; }
.app-auth-head p { margin: 0; }
.app-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--app-muted); font-size: 13px; }
.app-auth-or::before, .app-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--app-line); }
.app-social-btns { display: flex; flex-direction: column; gap: 10px; }
.app-social-btns .fa-google { color: #DB4437; }
.app-social-btns .fa-facebook { color: #1877F2; }
.app-auth-switch { text-align: center; margin: 18px 0 6px; font-size: 15px; color: var(--app-ink); font-weight: 500; }
.app-auth-switch a { font-weight: 500; }
.app-auth-hint { text-align: center; }
.app-auth .app-card { box-shadow: none; padding: 0; }
/* legacy helpers still used by the provider side */
.app-cover { position: relative; aspect-ratio: 16 / 9; border-radius: var(--app-radius); background: var(--app-tint) center / cover no-repeat; margin-bottom: 14px; }
.app-cover-sm { aspect-ratio: 16 / 7; }
.app-provider-header { margin-bottom: 8px; }
.app-provider-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.app-avatar-lg { position: relative; display: flex; width: 76px; height: 76px; border-radius: 22px; background: var(--app-green); color: #fff; align-items: center; justify-content: center; font-size: 30px; font-weight: 600; overflow: hidden; cursor: pointer; flex-shrink: 0; margin: 0; }
.app-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.app-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.app-tile i { font-size: 20px; color: var(--app-green); }
.app-tile span { font-weight: 500; color: var(--app-ink); }
.app-hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; }
.app-hscroll > * { flex: 0 0 240px; scroll-snap-align: start; margin-bottom: 0; }

/* 21. wide screens: the app stays a phone-width column ------------------------------------------------------- */
@media (min-width: 768px) {
    body.app-body { background: #EEF1E7; }
    .app-topbar { left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--app-max); }
    .app-bottom-nav { left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 32px); max-width: calc(var(--app-max) - 32px); }
    .app-main { background: var(--app-bg); min-height: calc(100vh - var(--app-topbar-height)); box-shadow: 0 0 40px rgba(47, 61, 48, 0.06); }
    .app-slider-sm > * { width: 38%; }
}

/* --- municipality picker --- */
.app-mp { position: relative; }
.app-mp-field { position: relative; }
.app-mp-field > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--app-muted); font-size: 14px; pointer-events: none; }
.app-mp-input { padding-left: 40px; padding-right: 40px; text-overflow: ellipsis; }
.app-mp-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--app-muted); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.app-mp-clear:hover { background: var(--app-tint-dark); color: var(--app-ink); }
.app-mp-clear[hidden] { display: none; }
.app-mp-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 260px; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 15px; box-shadow: var(--app-shadow-lg), 0 0 0 1px var(--app-line); }
.app-mp-list[hidden] { display: none; }
.app-mp-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--app-ink); font-size: 15px; font-weight: 500; line-height: 1.3; }
.app-mp-item .app-mp-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-mp-item .app-mp-district { flex-shrink: 0; max-width: 45%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 400; color: var(--app-muted); }
.app-mp-item.is-active, .app-mp-item:hover { background: var(--app-tint); }
.app-mp-item.is-selected { color: var(--app-green); }
.app-mp-item.is-selected .app-mp-name::after { content: "\2713"; margin-left: 6px; font-size: 12px; }
.app-mp-empty { padding: 10px 12px; font-size: 14px; color: var(--app-muted); }
/* in a two-column grid the list spans the whole row (the cell is too narrow at 375px) */
.app-grid-2 > .app-field:nth-child(1) .app-mp-list { width: calc(200% + 12px); left: 0; right: auto; }
.app-grid-2 > .app-field:nth-child(2) .app-mp-list { width: calc(200% + 12px); left: auto; right: 0; }
.app-quick-search .app-grid-2 > .app-field .app-mp-list, .app-filters .app-grid-2 > .app-field .app-mp-list { width: calc(200% + 10px); }
/* provider service area: search box, selected chips, filtered blocks */
.pv-area-search { margin: 0 0 10px; }
.pv-area-search .app-input { padding-right: 15px; }
.pv-selected-chips { margin-bottom: 12px; }
.pv-selected-chips[hidden] { display: none; }
.pv-selected-chip { background: var(--app-lime); color: var(--app-green-dark); padding-right: 6px; gap: 4px; }
.pv-selected-remove { border: 0; background: rgba(63, 82, 64, 0.10); color: var(--app-green-dark); width: 20px; height: 20px; border-radius: 50%; padding: 0; margin-left: 2px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.pv-selected-remove:hover { background: rgba(63, 82, 64, 0.22); }
.pv-districts .app-chip[hidden], .pv-districts details[hidden] { display: none; }
.pv-area-empty { padding: 6px 4px; }
.pv-area-empty[hidden] { display: none; }

/* --- Ziggy inside the app: the floating button sits above the pill tab bar --------------------------------- */
body.app-body .ziggy { bottom: calc(var(--app-nav-height) + var(--app-nav-gap) * 2 + env(safe-area-inset-bottom)); right: 16px; }
body.app-body.app-no-nav .ziggy { bottom: calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { body.app-body .ziggy { right: calc(50% - var(--app-max) / 2 + 16px); } }
