.services-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.services-tabs a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 180ms ease; }
.services-tabs a:active { transform: scale(.97); }
.services-tabs a[aria-current] { background: var(--accent); color: white; }
.services-tabs-row { display: flex; align-items: stretch; gap: 8px; margin-bottom: 20px; }
.services-tabs-row .services-tabs { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.create-service-button { flex: 0 0 auto; align-self: stretch; gap: 6px; min-height: 0; padding-inline: 13px; border-radius: 16px; white-space: nowrap; }
.create-service-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.services-page-tabs { gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.services-page-tabs a { min-width: 0; padding: 10px 8px; border: 0; border-radius: var(--radius-control); color: var(--muted); font-size: 14px; font-weight: 650; white-space: nowrap; }
.services-page-tabs a[aria-current] { background: var(--color-primary); color: var(--color-on-primary); box-shadow: 0 5px 14px color-mix(in srgb, var(--color-primary), transparent 75%); }
@media (max-width: 390px) {
    .create-service-button { width: var(--control-height); padding: 0; }
    .create-service-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.service-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 14px; }
.service-sort-actions { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.service-sort-actions a { width: 38px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--color-text); text-decoration: none; opacity: .36; transition: opacity 200ms ease, background-color 200ms ease, transform 180ms ease; }
.service-sort-actions a:active { transform: scale(.9); }
.service-sort-actions a:hover { background: color-mix(in srgb, var(--color-text), transparent 94%); opacity: .7; }
.service-sort-actions a[aria-current] { background: color-mix(in srgb, var(--color-text), transparent 91%); color: var(--color-text); opacity: .82; }
.service-sort-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.services-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 18px; }
.services-filters label { display: grid; gap: 6px; font-size: 14px; flex: 1 1 180px; min-width: 0; }
.services-filters input, .services-filters select { width: 100%; }
.services-filters button { border: 0; cursor: pointer; }
.services-note, .services-empty, .service-count { color: var(--muted); font-size: 14px; }
.service-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.service-list, .services-filters, .service-list-toolbar { transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.75,.25,1); }
.services-is-switching .service-list, .services-is-switching .service-list-toolbar { opacity: .38; transform: translateY(3px); pointer-events: none; }
.services-is-switching .services-load-status::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; vertical-align: -2px; animation: services-spin 650ms linear infinite; }
@keyframes services-spin { to { transform: rotate(360deg); } }
.services-load-status { min-height: 24px; color: var(--muted); font-size: 14px; text-align: center; }
#services-load-sentinel { height: 1px; }
.service-link { display: block; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.service-link:hover { background: var(--color-primary-soft); }
.service-date { display: block; font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.service-today-badge { display: inline-flex; align-items: center; margin-left: 7px; padding: 2px 8px; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary); font-size: 11px; line-height: 1.45; font-weight: 700; vertical-align: 1px; }
.service-badge { display: table; background: var(--color-primary-soft); border-radius: 10px; padding: 4px 12px; }
.app-header-detail + main .service-hero .song-detail-heading > h1 { margin-bottom: 8px; }
.service-hero .service-badge { margin: 4px 0 20px; background: color-mix(in srgb, var(--color-primary), white 82%); color: var(--color-primary); font-size: 12px; font-weight: 700; }
.service-hero-metadata { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 18px 12px; }
.service-hero-metadata dt { color: var(--muted); }
.service-hero-metadata dd { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.service-comment-block { margin: 22px 0 26px; padding: 16px 18px; border-left: 3px solid color-mix(in srgb, var(--color-primary), transparent 45%); border-radius: 0 var(--radius-control) var(--radius-control) 0; background: color-mix(in srgb, var(--color-primary-soft), white 48%); }
.service-comment-label { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--muted); font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.service-comment-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-comment { margin: 0; max-width: 60ch; white-space: pre-wrap; line-height: 1.55; }
.service-song-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.service-song-position { flex: 0 0 20px; width: 20px; color: var(--muted); font-size: 13px; line-height: 1; font-weight: 700; text-align: center; }
