/*
 * Putzkraftportal: gleiche Optik wie Superadmin (Filament 4, Indigo, Inter).
 */
.ap {
    --ap-primary: #2563eb;
    --ap-primary-hover: #1d4ed8;
    --ap-primary-soft: #eff6ff;
    --ap-ink: #09090b;
    --ap-muted: #52525b;
    --ap-bg: #f4f4f5;
    --ap-card: #fff;
    --ap-line: rgba(9, 9, 11, 0.08);
    --ap-ok: #059669;
    --ap-ok-bg: #ecfdf5;
    --ap-err: #dc2626;
    --ap-err-bg: #fef2f2;
    --ap-warn: #d97706;
    --ap-warn-bg: #fffbeb;
    --ap-info: #2563eb;
    --ap-info-bg: #eff6ff;
    --ap-r-ctl: .65rem;      /* Knoepfe, Felder, Auswahlkacheln, Hinweise */
    --ap-r-card: 1rem;       /* alle Flaechen/Karten */
    --ap-line-strong: rgb(9 9 11 / .10);
    --ap-shadow: 0 1px 2px rgb(9 9 11 / .05);
    --ap-shadow-hero: 0 10px 28px -10px rgb(9 9 11 / .35);
    --ap-sidebar: 16.5rem;
    --ap-topbar: 4rem;
    margin: 0;
    min-height: 100vh;
    background: var(--ap-bg);
    color: var(--ap-ink);
    font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
.ap *,
.ap *::before,
.ap *::after { box-sizing: border-box; }
:where(.ap) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.ap) small { font-size: .8125rem; }   /* sonst "smaller" = krumme Zwischengroessen */
.ap a { color: inherit; text-decoration: none; }
.ap img { max-width: 100%; display: block; }
.ap h1, .ap h2, .ap h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; color: var(--ap-ink); }
.ap p { margin: 0; }

.ap-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.ap-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.ap-sidebar {
    display: none;
    background: #fff;
    border-right: 1px solid var(--ap-line);
    width: var(--ap-sidebar);
    flex: 0 0 var(--ap-sidebar);
    flex-direction: column;
}
@media (min-width: 64rem) {
    .ap-sidebar {
        display: flex;
        position: sticky;
        top: var(--ap-topbar);
        height: calc(100vh - var(--ap-topbar));
        align-self: flex-start;
        overflow: auto;
    }
}
.ap-sidebar.is-open {
    display: flex;
    position: fixed;
    top: var(--ap-topbar);
    left: 0;
    bottom: 0;
    z-index: 40;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.ap-sidebar__brand { display: none; }
.ap-top__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 2rem;
}
.ap-top__brand img { height: 2rem; width: auto; }
.ap-brand__suffix {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: #52525b;
    white-space: nowrap;
}
.ap-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.7rem;
    flex: 1 1 auto;
}
.ap-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: .875rem;
    font-weight: 500;
    padding: 0.5rem 0.7rem;
    border-radius: var(--ap-r-ctl);
    color: #3f3f46;
}
.ap-nav a:hover { background: #f4f4f5; }
.ap-nav a.is-active {
    background: var(--ap-primary-soft);
    color: var(--ap-primary);
}
.ap-nav svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.ap-sidebar__user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem 1.1rem;
    border-top: 1px solid var(--ap-line);
    font-size: .8125rem;
}
.ap-sidebar__user strong { display: block; font-weight: 600; }
.ap-sidebar__email { display: block; color: var(--ap-muted); word-break: break-all; }
.ap-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ap-ink);
    line-height: 1;
}
.ap-rating--compact { font-size: .75rem; margin: 0.15rem 0 0.2rem; }
.ap-rating--empty { font-weight: 500; color: var(--ap-muted); }
.ap-rating__stars { display: inline-flex; letter-spacing: 0.02em; }
.ap-star { color: #d4d4d8; }
.ap-star.is-on { color: #f59e0b; }
.ap-rating__count { font-weight: 500; color: var(--ap-muted); }

.ap-main-wrap { flex: 1 1 auto; min-width: 0; }
.ap-topbar {
    height: var(--ap-topbar);
    background: #fff;
    border-bottom: 1px solid var(--ap-line);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 30;
}
.ap-topbar__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: var(--ap-r-ctl);
    background: transparent;
    color: #3f3f46;
    cursor: pointer;
}
@media (min-width: 64rem) {
    .ap-topbar__menu { display: none; }
}
.ap-topbar__title {
    font-size: .875rem;
    font-weight: 600;
    color: #3f3f46;
    min-width: 0;
}
.ap-topbar__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem;
    border-radius: 999px;
    flex: 0 0 auto;
}
.ap-topbar__rating:hover { background: #f4f4f5; }
.ap-topbar__rating .ap-avatar { margin-bottom: 0; }
.ap-topbar__rating .ap-rating--compact { margin: 0; }
.ap-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(9 9 11 / 0.35);
    z-index: 30;
}
.ap-backdrop.is-open { display: block; }

.ap-main { padding: 1.5rem 1.25rem 2.5rem; }
@media (min-width: 64rem) {
    .ap-main { padding: 2rem 2rem 3rem; }
}
.ap-main:has(.ap-page--plan) {
    max-width: none;
    width: 100%;
}
.ap-page { display: grid; gap: 1rem; max-width: 56rem; }
.ap-page--wide { max-width: 64rem; }
.ap-page--plan { max-width: none; width: 100%; }
.ap-page--form { max-width: 36rem; }
.ap-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.ap-nearby-tools {
    display: grid;
    gap: 0.75rem;
    min-width: min(22rem, 100%);
}
.ap-place {
    display: grid;
    gap: 0.3rem;
}
.ap-place > label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--ap-muted);
}
.ap-place .ap-input {
    min-width: 0;
    padding: 0.4rem 0.65rem;
    font-size: .875rem;
}
.ap-place .ap-btn {
    padding: 0.4rem 0.7rem;
    font-size: .8125rem;
}
.ap-place #ap-place-hint:empty { display: none; }
.ap-radius {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem 0.7rem;
    min-width: 16rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--ap-muted);
}
.ap-radius span { grid-column: 1; }
.ap-radius output {
    grid-column: 3;
    color: var(--ap-ink);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}
.ap-radius input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    accent-color: var(--brand-primary, #2563eb);
}

.ap-flash {
    max-width: 56rem;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--ap-r-card);
    font-size: .875rem;
    font-weight: 500;
}
.ap-flash--ok { background: var(--ap-ok-bg); color: var(--ap-ok); }
.ap-flash--err { background: var(--ap-err-bg); color: var(--ap-err); }

.ap-card {
    background: var(--ap-card);
    border-radius: var(--ap-r-card);
    box-shadow: 0 1px 2px rgb(9 9 11 / 0.04), 0 0 0 1px var(--ap-line);
    padding: 1.25rem 1.35rem;
}
.ap-card--link { display: block; color: inherit; }
.ap-card--link:hover { box-shadow: 0 4px 12px rgb(9 9 11 / 0.08), 0 0 0 1px rgb(37 99 235 / 0.25); }
.ap-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.ap-meta { color: var(--ap-muted); font-size: .8125rem; }
.ap-hint { color: var(--ap-muted); font-size: .75rem; }

.ap-hero h1 { font-size: 1.4rem; margin-bottom: 0.35rem; }

.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.5rem 0.9rem;
    border-radius: var(--ap-r-ctl);
    border: 1px solid rgb(9 9 11 / 0.1);
    background: #fff;
    color: #3f3f46;
    cursor: pointer;
}
.ap-btn:hover { background: #fafafa; }
.ap-btn--primary {
    background: var(--ap-primary);
    color: #fff;
    border-color: transparent;
}
.ap-btn--primary:hover { background: var(--ap-primary-hover); }
.ap-btn--ok {
    background: var(--ap-ok);
    color: #fff;
    border-color: transparent;
}

.ap-field { display: grid; gap: 0.35rem; margin-bottom: 0.95rem; }
.ap-field label { font-size: .875rem; font-weight: 500; color: #3f3f46; }
.ap-input,
.ap-textarea,
.ap-file {
    width: 100%;
    font: inherit;
    color: var(--ap-ink);
    background: #fff;
    border: 1px solid #d4d4d8;
    border-radius: var(--ap-r-ctl);
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 2px rgb(9 9 11 / 0.04);
}
.ap-input:focus,
.ap-textarea:focus {
    outline: 2px solid var(--ap-primary);
    outline-offset: 0;
    border-color: var(--ap-primary);
}
.ap-textarea { min-height: 5rem; resize: vertical; }
.ap-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: .875rem;
}
.ap-check input { margin-top: 0.2rem; accent-color: var(--ap-primary); }
.ap-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.ap-payout-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.ap-payout-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .875rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--ap-line);
}

.ap-badge {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: #3f3f46;
    white-space: nowrap;
}
.ap-badge--ok { background: var(--ap-ok-bg); color: var(--ap-ok); }
.ap-badge--warn { background: var(--ap-warn-bg); color: var(--ap-warn); }
.ap-badge--err { background: var(--ap-err-bg); color: var(--ap-err); }
.ap-badge--info { background: var(--ap-info-bg); color: var(--ap-info); }
.ap-badge--accent { background: var(--ap-primary-soft); color: var(--ap-primary); }
.ap-badge--on { box-shadow: inset 0 0 0 1px currentColor; }
.ap-tl__pick button.ap-badge {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    min-height: 0;
    min-width: 0;
    height: auto;
    width: auto;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    cursor: pointer;
}
.ap-tl__pick button.ap-badge:hover { filter: brightness(0.97); }
.ap-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.ap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 0.85rem;
}
.ap-avatar {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    flex: 0 0 auto;
}
.ap-avatar--sm { width: 2.25rem; height: 2.25rem; margin-bottom: 0; font-size: .75rem; }
.ap-avatar--xs { width: 1.35rem; height: 1.35rem; margin: 0 0.25rem 0 0; font-size: .6875rem; display: inline-flex; vertical-align: middle; }
.ap-avatar--lg { width: 4.5rem; height: 4.5rem; font-size: 1.1rem; }
.ap-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ap-primary-soft);
    color: var(--ap-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ap-photo {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #eff6ff;
    color: var(--ap-primary);
}
.ap-photo--job {
    width: 7.5rem;
    height: 5.5rem;
    flex: 0 0 7.5rem;
    border-radius: var(--ap-r-ctl);
}
.ap-photo--hero {
    width: 100%;
    height: 12rem;
    border-radius: var(--ap-r-ctl);
    margin-bottom: 1rem;
}
.ap-photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}
.ap-card--map { padding: 0; overflow: visible; }
.ap-map {
    width: 100%;
    height: 22rem;
    background: #e4e4e7;
    z-index: 1;
}
.ap-map-locate {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--ap-primary);
    font-size: 1rem;
    line-height: 2rem;
    cursor: pointer;
}
.ap-map-locate:hover { background: var(--ap-primary-soft); }
.ap-map .leaflet-popup-content { font-size: .875rem; line-height: 1.45; }
.ap-map .leaflet-popup-content a { color: var(--ap-primary); font-weight: 600; }
.ap-job-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ap-job-row.is-mine,
.ap-job-row.is-taken {
    background: transparent;
    box-shadow: none;
}
.ap-note cite { display: flex; align-items: center; }
.ap-cleaner-card h3 { font-size: .875rem; margin-bottom: 0.15rem; }

.ap-phases { display: grid; gap: 0.4rem; }
.ap-phase {
    padding: 0.65rem 0.8rem;
    border-radius: var(--ap-r-ctl);
    background: #fafafa;
    box-shadow: inset 0 0 0 1px var(--ap-line);
}
.ap-phase.is-current {
    background: var(--ap-primary-soft);
    box-shadow: inset 0 0 0 1px rgb(37 99 235 / 0.25);
}
.ap-phase span { display: block; font-size: .8125rem; color: var(--ap-muted); }

.ap-note {
    margin: 0 0 0.65rem;
    padding: 0.75rem 0.9rem;
    background: #fafafa;
    border-radius: var(--ap-r-ctl);
}
.ap-note cite { display: block; margin-top: 0.3rem; font-size: .75rem; color: var(--ap-muted); font-style: normal; }

.ap-table-wrap { overflow-x: auto; }
.ap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8125rem;
}
.ap-table th,
.ap-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.55rem 0.4rem;
    border-bottom: 1px solid var(--ap-line);
}
.ap-table th { color: var(--ap-muted); font-weight: 500; }

.ap-callout {
    padding: 0.75rem 1rem;
    border-radius: var(--ap-r-ctl);
    font-size: .875rem;
}
.ap-callout--info { background: var(--ap-info-bg); color: var(--ap-info); }
.ap-callout--warn { background: var(--ap-warn-bg); color: var(--ap-warn); }

.ap-demo {
    font-size: .8125rem;
    color: var(--ap-muted);
    background: #fafafa;
    border-radius: var(--ap-r-ctl);
    padding: 0.7rem 0.85rem;
}
.ap-demo strong { color: var(--ap-ink); font-weight: 600; }

.ap-section { display: grid; gap: 0.55rem; }
.ap-section + .ap-section { margin-top: 0.35rem; }

/* Anmeldeseite wie Superadmin (fi-simple-layout) */
.ap--simple {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.ap-simple {
    width: min(28rem, 100%);
    display: grid;
    gap: 1.25rem;
    justify-items: center;
}
.ap-simple__brand {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    text-align: center;
}
.ap-simple__brand img { height: 5.5rem; width: auto; }
.ap-simple .ap-card { width: 100%; }
.ap-simple .ap-page--form { max-width: none; width: 100%; }

.ap--embed { background: #fff; padding: 0; min-height: 100vh; }
.ap--embed .ap-card { max-width: 40rem; margin: 0 auto; }

.ap-job { display: grid; gap: 1rem; padding: 0 0 1.1rem; }
.ap-job__hero { position: relative; }
.ap-job__hero .ap-photo--hero {
    height: 11rem;
    margin: 0;
    border-radius: 0;
}
.ap-job__hero-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem 0;
}
.ap-job__place { color: var(--ap-muted); font-size: .8125rem; margin-top: 0.15rem; }
.ap-job__hero-side {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}
.ap-job__price { font-size: 1rem; letter-spacing: -0.02em; }
.ap-like {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: #fff;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.ap-like:hover { color: #be185d; background: #fdf2f8; }
.ap-like.is-on { color: #be185d; background: #fdf2f8; border-color: #f9a8d4; }
.ap-liked {
    color: #be185d;
    font-size: .875rem;
    margin-left: 0.25rem;
    vertical-align: 0.05em;
}
.ap-job-row.is-liked .ap-subtitle { color: var(--ap-ink); }
.ap-job__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
    margin: 0;
    padding: 0 1.1rem;
}
.ap-job__facts > div {
    padding: 0.65rem 0.75rem;
    background: #fafafa;
    border-radius: var(--ap-r-ctl);
}
.ap-job__facts dt {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ap-muted);
    margin-bottom: 0.15rem;
}
.ap-job__facts dd { margin: 0; font-size: .875rem; }
.ap-job__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 1.1rem;
    font-size: .75rem;
    color: var(--ap-muted);
}
.ap-job__steps span {
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: #f4f4f5;
}
.ap-job__steps .is-current { background: var(--ap-primary-soft); color: var(--ap-primary); font-weight: 600; }
.ap-job__cols {
    display: grid;
    gap: 0.85rem;
    padding: 0 1.1rem;
}
@media (min-width: 40rem) {
    .ap-job__cols { grid-template-columns: 1fr 1fr; }
}
.ap-job__block { display: grid; gap: 0.45rem; align-content: start; }
.ap-job > .ap-job__block { padding: 0 1.1rem; }
.ap-job__block > p { font-size: .875rem; }
.ap-job .ap-section,
.ap-job .ap-flash,
.ap-job .ap-callout { margin-left: 1.1rem; margin-right: 1.1rem; }
.ap-job__tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ap-job__tasks li { display: grid; gap: 0.1rem; font-size: .875rem; }
.ap-job__tasks span { color: var(--ap-muted); font-size: .75rem; }
.ap-job__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem 0;
    border-top: 1px solid var(--ap-line);
    margin-top: 0.25rem;
}
.ap-job__foot .ap-btn { min-height: 2.5rem; }

.ap-page--scout { max-width: none; }
.ap-scout { display: grid; gap: 1rem; }
@media (min-width: 64rem) {
    .ap-scout {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 28rem);
        align-items: start;
    }
    .ap-scout__map { position: sticky; top: calc(var(--ap-topbar) + 1rem); }
    .ap-scout__map .ap-map { height: calc(100vh - var(--ap-topbar) - 5.5rem); }
}
.ap-tl {
    --ap-tl-side: 17.4rem;
    --ap-tl-chart-left: 16.65rem;
    --ap-tl-day-w: 0px;
    display: block;
    background: var(--ap-card);
    border-radius: var(--ap-r-card);
    box-shadow: 0 1px 2px rgb(9 9 11 / 0.04), 0 0 0 1px var(--ap-line);
    padding: 0.65rem 0.75rem 0.5rem;
    overflow-x: auto;
}
.ap-tl--picks { --ap-tl-side: 24.7rem; }
.ap-card .ap-tl { box-shadow: none; padding: 0; background: transparent; }
.ap-card .ap-tl__bands--days .ap-tl__band-label { background: #fff; }
.ap-tl__inner {
    min-width: 100%;
    width: 100%;
}
.ap-tl:not(.is-fit) .ap-tl__inner {
    width: max(100%, calc(var(--ap-tl-side) + var(--ap-tl-day-w) * var(--ap-tl-days)));
}
.ap-tl__row {
    display: grid;
    grid-template-columns: 8.6rem 7.4rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    padding: 0.4rem 0;
    color: inherit;
}
.ap-tl--picks .ap-tl__row { grid-template-columns: 8.6rem 7.4rem minmax(0, 1fr) 7.4rem; }
.ap-tl__row--head {
    padding: 0 0 0.45rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid var(--ap-line);
    align-items: end;
}
.ap-tl__bands { display: flex; margin-bottom: 0.12rem; }
.ap-tl__band {
    flex: var(--span, 1) 0 0;
    min-width: 0;
    text-align: center;
    font-size: .6875rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 1px solid var(--ap-line);
}
.ap-tl__band:last-child { border-right: 0; }
.ap-tl__bands--weeks .ap-tl__band {
    font-size: .6875rem;
    font-weight: 500;
    color: var(--ap-muted);
}
.ap-tl__bands--days { display: none; }
.ap-tl.is-grid-hour .ap-tl__bands--days,
.ap-tl.is-grid-15 .ap-tl__bands--days { display: flex; }
.ap-tl__bands--days .ap-tl__band {
    overflow: visible;
    text-align: left;
    font-size: .6875rem;
    font-weight: 600;
}
.ap-tl__bands--days .ap-tl__band.is-today { color: var(--ap-primary); }
.ap-tl__bands--days .ap-tl__band-label {
    position: sticky;
    left: var(--ap-tl-chart-left);
    display: inline-block;
    padding: 0 0.28rem;
    background: var(--ap-card);
}
.ap-tl__who {
    min-width: 0;
    text-decoration: none;
    color: inherit;
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--ap-card);
    padding-right: 0.35rem;
}
.ap-card .ap-tl__who { background: #fff; }
.ap-tl__who .ap-subtitle { font-size: .8125rem; line-height: 1.25; margin: 0; }
.ap-tl__who .ap-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.12rem; align-items: center; font-size: .75rem; }
.ap-tl__who .ap-hint { margin: 0; font-size: .6875rem; line-height: 1.25; }
.ap-tl__row--head .ap-tl__who {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}
.ap-tl__zoom { display: inline-flex; gap: 0.2rem; }
.ap-tl__zoom-btn {
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: 1px solid var(--ap-line);
    border-radius: 0.3rem;
    background: #fff;
    color: var(--ap-ink);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.ap-tl__zoom-btn:hover { border-color: var(--ap-primary); color: var(--ap-primary); }
.ap-tl__zoom-btn:disabled { opacity: 0.4; cursor: default; }
.ap-tl__who .ap-btn { margin-top: 0.35rem; padding: 0.25rem 0.5rem; font-size: .75rem; }
.ap-tl__who a { color: inherit; text-decoration: none; display: block; }
.ap-tl__times {
    min-width: 0;
    font-size: .6875rem;
    line-height: 1.25;
    color: var(--ap-muted);
    position: sticky;
    left: 8.6rem;
    z-index: 3;
    background: var(--ap-card);
    padding-right: 0.2rem;
}
.ap-card .ap-tl__times { background: #fff; }
.ap-tl__times .ap-hint { font-size: .6875rem; }
.ap-tl__time { display: block; }
.ap-tl__time + .ap-tl__time { margin-top: 0.12rem; }
.ap-tl__time em {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--ap-ink);
    font-size: .6875rem;
}
.ap-tl__chart { min-width: 0; text-decoration: none; color: inherit; }
.ap-tl__scale { display: flex; }
.ap-tl__day {
    flex: 1 1 0;
    text-align: center;
    font-size: .6875rem;
    color: var(--ap-muted);
    line-height: 1.15;
}
.ap-tl__day em { display: block; font-style: normal; font-weight: 600; }
.ap-tl__day.is-today { color: var(--ap-primary); font-weight: 600; }
.ap-tl__day.is-tick { color: transparent; }
.ap-tl__scale.is-fine { padding-right: 1.6rem; }
.ap-tl__tick {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
    font-size: .6875rem;
    color: var(--ap-muted);
    line-height: 1.15;
    overflow: hidden;
}
.ap-tl__tick.is-major {
    overflow: visible;
    position: relative;
    z-index: 1;
    font-weight: 600;
    color: var(--ap-ink);
    white-space: nowrap;
}
.ap-tl__tick.is-today { color: var(--ap-primary); font-weight: 600; }
.ap-tl__off-hint { display: block; margin-top: 0.1rem; }
.ap-tl__off {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background-color: rgb(9 9 11 / 0.04);
    background-image: repeating-linear-gradient(
        -45deg,
        rgb(9 9 11 / 0.14) 0 2px,
        transparent 2px 6px
    );
}
.ap-tl__track {
    position: relative;
    height: 1.85rem;
    border-radius: 0.3rem;
    overflow: hidden;
    background:
        repeating-linear-gradient(
            90deg,
            #f4f4f5 0,
            #f4f4f5 calc(100% / var(--ap-tl-days) - 1px),
            #e4e4e7 calc(100% / var(--ap-tl-days) - 1px),
            #e4e4e7 calc(100% / var(--ap-tl-days))
        );
}
.ap-tl.is-grid-hour .ap-tl__track {
    background:
        repeating-linear-gradient(
            90deg,
            #f4f4f5 0,
            #f4f4f5 calc(var(--ap-tl-day-w) / 24 - 1px),
            #e4e4e7 calc(var(--ap-tl-day-w) / 24 - 1px),
            #e4e4e7 calc(var(--ap-tl-day-w) / 24)
        );
}
.ap-tl.is-grid-15 .ap-tl__track {
    background:
        repeating-linear-gradient(
            90deg,
            #f4f4f5 0,
            #f4f4f5 calc(var(--ap-tl-day-w) / 96 - 1px),
            #d4d4d8 calc(var(--ap-tl-day-w) / 96 - 1px),
            #d4d4d8 calc(var(--ap-tl-day-w) / 96)
        );
}
.ap-tl__today {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px dashed var(--ap-primary);
    z-index: 1;
}
.ap-tl__bar {
    position: absolute;
    top: 0.22rem;
    bottom: 0.22rem;
    background: rgb(37 99 235 / 0.8);
    color: #fff;
    border-radius: 0.28rem;
    min-width: 0.55rem;
    z-index: 2;
    overflow: visible;
}
.ap-tl__bar.is-open {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 10%, rgb(0 0 0 / 0.55) 40%, rgb(0 0 0 / 0.22) 70%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 10%, rgb(0 0 0 / 0.55) 40%, rgb(0 0 0 / 0.22) 70%, transparent 100%);
}
.ap-tl__row.is-mine .ap-tl__bar { background: rgb(5 150 105 / 0.8); }
.ap-tl__row.is-taken .ap-tl__bar { background: rgb(220 38 38 / 0.8); }
.ap-job-row [data-collision-badge] { display: none; }
.ap-job-row.is-collision [data-collision-badge] { display: inline-flex; }
.ap-job-row.is-collision .ap-subtitle,
.ap-job-row.is-collision [data-slot-label],
.ap-job-row.is-collision [data-drive-label] { text-decoration: line-through; }
.ap-job-row.is-collision .ap-tl__slot { opacity: 0.42; }
.ap-tl__slot {
    position: absolute;
    top: 0.12rem;
    bottom: 0.12rem;
    background: #1d4ed8;
    border-radius: 0.22rem;
    min-width: 0.7rem;
    z-index: 3;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.55), 0 1px 2px rgb(9 9 11 / 0.2);
}
.ap-tl__row.is-mine .ap-tl__slot { background: #047857; }
.ap-tl__row.is-taken .ap-tl__slot { background: #b91c1c; }
.ap-tl.is-grid-hour .ap-tl__slot.is-edit,
.ap-tl.is-grid-15 .ap-tl__slot.is-edit { cursor: grab; touch-action: none; }
.ap-tl__slot.is-edit:active,
.ap-tl__slot.is-dragging { cursor: grabbing; }
.ap-tl__slot-handle {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.42rem;
    cursor: ew-resize;
    touch-action: none;
}
.ap-tl.is-grid-hour .ap-tl__slot-handle,
.ap-tl.is-grid-15 .ap-tl__slot-handle { display: block; }
.ap-tl__slot-handle--start { left: 0; border-radius: 0.22rem 0 0 0.22rem; }
.ap-tl__slot-handle--end { right: 0; border-radius: 0 0.22rem 0.22rem 0; }
.ap-tl__slot-handle::after {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: rgb(255 255 255 / 0.7);
    border-radius: 1px;
}
.ap-tl__slot-handle--start::after { left: 3px; }
.ap-tl__slot-handle--end::after { right: 3px; }
.ap-tl__daybreak {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0;
    min-width: 0;
}
.ap-tl__daybreak-line {
    flex: 1 1 auto;
    height: 0;
    border-top: 1px dashed var(--ap-muted);
    min-width: 1.25rem;
    opacity: 0.55;
}
.ap-tl__daybreak-date {
    flex: 0 1 auto;
    font-size: .75rem;
    font-weight: 600;
    color: var(--ap-muted);
    white-space: nowrap;
}
.ap-job-row.is-active .ap-tl__track { box-shadow: inset 0 0 0 2px rgb(37 99 235 / 0.35); }
.ap-job-row.is-active .ap-subtitle { color: var(--ap-primary); }
.ap-tl .ap-job-row { display: grid; }
.ap-tl__leg {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.15rem 0;
    min-width: 0;
}
.ap-tl__leg-line {
    flex: 1 1 auto;
    height: 0;
    border-top: 1px dashed var(--ap-line);
    min-width: 1.25rem;
}
.ap-tl__leg-info {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.7rem;
    flex: 0 1 auto;
    font-size: .75rem;
    font-weight: 600;
    color: var(--ap-muted);
    white-space: nowrap;
}
.ap-tl__leg-info strong { color: var(--ap-ink); font-weight: 600; }
.ap-tl__pick {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
    min-width: 0;
}
.ap-tl__pick form { margin: 0; }
.ap-reco-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.ap-reco-bar__sum { display: grid; gap: 0.2rem; margin: 0; font-weight: 600; }
.ap-reco-bar__sum .ap-hint { font-weight: 400; }
.ap-plan-limits { display: grid; gap: 0.15rem; margin: 0.85rem 0 0.35rem; }
.ap-week { display: grid; gap: 1rem; max-width: 36rem; }
.ap-plan--reco { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 63.99rem) {
    .ap-tl { --ap-tl-chart-left: 0.25rem; }
    .ap-tl__row { grid-template-columns: 1fr 7rem; }
    .ap-tl--picks .ap-tl__row { grid-template-columns: 1fr 7rem; }
    .ap-tl__chart { grid-column: 1 / -1; }
    .ap-tl__pick { grid-column: 1 / -1; }
    .ap-tl__times { position: static; }
}
.ap-inline { display: flex; gap: 0.5rem; align-items: center; }
.ap-inline .ap-input { flex: 1 1 auto; }
.ap-inline .ap-btn { flex: 0 0 auto; white-space: nowrap; }

.ap-plan { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) {
    .ap-plan:has(.ap-plan__setup) { grid-template-columns: 30rem minmax(0, 1fr); align-items: start; }
}
.ap-plan__setup,
.ap-plan__reco { display: grid; gap: 1rem; min-width: 0; width: 100%; }
.ap-plan__setup > .ap-card { min-width: 0; }
.ap-plan-week { display: grid; gap: 0.45rem; margin: 0.85rem 0 1rem; }
.ap-plan-week__row {
    display: grid;
    grid-template-columns: auto 1.75rem minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.4rem;
    align-items: center;
    font-size: .875rem;
    min-width: 0;
}
.ap-plan-week__row .ap-input {
    min-width: 0;
    width: 100%;
    padding: 0.4rem 0.45rem;
}
.ap-plan-vac-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.45rem; margin-top: 0.75rem; }
.ap-plan-vac { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.45rem; }
.ap-plan-vac li { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; font-size: .875rem; }
.ap-plan-drive { list-style: none; padding: 0; margin: 0.85rem 0 0; display: grid; gap: 0.25rem; color: var(--ap-muted); font-size: .8125rem; }
.ap-plan-hidden { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.55rem; }
.ap-plan-hidden li { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; font-size: .875rem; }
@media (max-width: 40rem) {
    .ap-plan-vac-add { grid-template-columns: 1fr; }
}

.ap-pin-wrap { background: none !important; border: 0 !important; }
.ap-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    padding: 0.28rem 0.5rem;
    border-radius: var(--ap-r-ctl);
    background: var(--ap-info);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgb(37 99 235 / 0.28);
    transform: translate(-50%, -100%);
    white-space: nowrap;
}
.ap-pin::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: var(--ap-info);
}
.ap-pin { position: relative; }
.ap-pin.is-active,
.ap-pin--multi.is-active { transform: translate(-50%, -100%) scale(1.08); z-index: 2; background: #1d4ed8; }
.ap-pin.is-active::after,
.ap-pin--multi.is-active::after { border-top-color: #1d4ed8; }
.ap-pin--mine { background: var(--ap-ok); box-shadow: 0 2px 8px rgb(5 150 105 / 0.28); }
.ap-pin--mine::after { border-top-color: var(--ap-ok); }
.ap-pin--mine.is-active { background: #047857; }
.ap-pin--mine.is-active::after { border-top-color: #047857; }
.ap-pin--taken { background: var(--ap-err); box-shadow: 0 2px 8px rgb(220 38 38 / 0.28); }
.ap-pin--taken::after { border-top-color: var(--ap-err); }
.ap-pin--taken.is-active { background: #b91c1c; }
.ap-pin--taken.is-active::after { border-top-color: #b91c1c; }
.ap-map-card {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.65rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.ap-map-card__img { width: 5.5rem; height: 4.2rem; object-fit: cover; border-radius: var(--ap-r-ctl); background: #eff6ff; }
.ap-map-card__price { font-weight: 600; color: var(--ap-info); }
.ap-map-card__price.is-mine { color: var(--ap-ok); }
.ap-map-card__price.is-taken { color: var(--ap-err); }
.ap-map-popup .leaflet-popup-content { margin: 0.7rem 0.8rem; }
.ap-map-popup .leaflet-popup-content-wrapper {
    border-radius: var(--ap-r-card);
    box-shadow: 0 10px 28px rgb(9 9 11 / 0.14);
}
.ap-map-list { display: grid; gap: 0.35rem; min-width: 14rem; }
.ap-map-list__item {
    display: grid;
    gap: 0.12rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: var(--ap-r-ctl);
    background: #fafafa;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.ap-map-list__item:hover,
.ap-map-list__item.is-active { background: var(--ap-primary-soft); }
.ap-map-list__price { font-weight: 600; color: var(--ap-info); font-size: .875rem; }
.ap-map-list__win { font-size: .75rem; color: var(--ap-muted); }
.ap-map-list__tag { font-size: .75rem; font-weight: 600; color: var(--ap-ok); }
.ap-map-list__item.is-taken .ap-map-list__tag { color: var(--ap-err); }
.ap-map-list__item.is-mine .ap-map-list__price { color: var(--ap-ok); }
.ap-map-list__item.is-taken .ap-map-list__price { color: var(--ap-err); }

.ap-modal[hidden] { display: none; }
.ap-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.ap-modal__back { position: absolute; inset: 0; background: rgb(9 9 11 / 0.45); }
.ap-modal__panel {
    position: relative;
    z-index: 1;
    width: min(56rem, 100%);
    height: min(52rem, calc(100vh - 2.5rem));
    background: #fff;
    border-radius: var(--ap-r-card);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ap-modal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--ap-line);
    font-size: .875rem;
}
.ap-modal__close {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: var(--ap-r-ctl);
    background: #f4f4f5;
    color: #09090b;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.ap-modal__frame { flex: 1 1 auto; width: 100%; border: 0; background: var(--ap-bg); }
.ap-modal--confirm .ap-modal__panel { width: min(28rem, 100%); height: auto; padding: 1.25rem; gap: 1rem; }
.ap-modal--confirm .ap-actions { display: flex; justify-content: flex-end; gap: .5rem; }

.ap-pw { display: grid; gap: 0.3rem; margin-top: 0.15rem; }
.ap-pw__bar {
    height: 0.35rem;
    background: #e4e4e7;
    border-radius: 999px;
    overflow: hidden;
}
.ap-pw__fill {
    display: block;
    height: 100%;
    width: 0;
    background: #dc2626;
    transition: width 0.15s ease, background 0.15s ease;
}
.ap-pw[data-score="1"] .ap-pw__fill { background: #dc2626; }
.ap-pw[data-score="2"] .ap-pw__fill { background: #d97706; }
.ap-pw[data-score="3"] .ap-pw__fill { background: #2563eb; }
.ap-pw[data-score="4"] .ap-pw__fill { background: #059669; }
.ap-pw__label { font-size: .75rem; font-weight: 600; color: var(--ap-muted); }
.ap-pw[data-score="1"] .ap-pw__label { color: #dc2626; }
.ap-pw[data-score="2"] .ap-pw__label { color: #d97706; }
.ap-pw[data-score="3"] .ap-pw__label { color: #2563eb; }
.ap-pw[data-score="4"] .ap-pw__label { color: #059669; }
.ap-hint.is-ok { color: var(--ap-ok); }
.ap-hint.is-err { color: var(--ap-err); }

.ap-photo { gap: 0.45rem; }
.ap-photo__label { display: block; font-size: .875rem; font-weight: 500; color: #3f3f46; }
.ap-photo__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ap-photo__preview {
    width: 6rem;
    height: 6rem;
    border-radius: var(--ap-r-card);
    overflow: hidden;
    background: #f4f4f5;
    border: 1px solid var(--ap-line);
}
.ap-photo__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-camera {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgb(17 24 39 / 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}
.ap-camera[hidden] { display: none !important; }
.ap-camera video {
    width: min(100%, 28rem);
    max-height: calc(100vh - 8rem);
    background: #000;
    border-radius: var(--ap-r-card);
    transform: scaleX(-1);
}
.ap-camera__bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Direktbeauftragungen im Putzplan */
.ap-direct__list { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.ap-direct__item a { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: .5rem .7rem; border: 1px solid #d7dee8; border-radius: var(--ap-r-ctl); background: #fff; }
.ap-direct__item small { color: #52525b; }

/* ---- "Meine Jobs" (mine.blade.php): Wochenplan und Liste der angenommenen Einsaetze ---- */
.ap-page--mine { max-width: 52rem; }
.ap-mine-sum { font-size: .875rem; color: var(--ap-muted); white-space: nowrap; }
.ap-mine-sum strong { color: var(--ap-ink); }
.ap-mine-h { margin: 1.25rem 0 .5rem; }
.ap-mine-week { padding: 0; overflow: hidden; margin-bottom: .75rem; }
.ap-mine-week__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem 1rem; background: rgb(9 9 11 / .03); border-bottom: 1px solid rgb(9 9 11 / .07); font-size: .875rem; }
.ap-mine-day { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .65rem 1rem; border-bottom: 1px solid rgb(9 9 11 / .06); }
.ap-mine-day:last-child { border-bottom: 0; }
.ap-mine-day.is-today { background: var(--ap-ok-bg); }
.ap-mine-day__label { font-weight: 600; font-size: .875rem; display: flex; flex-direction: column; gap: .25rem; align-items: flex-start; }
.ap-mine-day__jobs { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.ap-mine-slot { display: grid; grid-template-columns: 6.2rem 1fr auto; gap: .6rem; align-items: center; padding: .5rem .7rem; border-radius: var(--ap-r-ctl); background: #fff; border: 1px solid rgb(9 9 11 / .1); color: inherit; text-decoration: none; }
.ap-mine-slot:hover { box-shadow: 0 2px 8px rgb(9 9 11 / .08), 0 0 0 1px rgb(37 99 235 / .25); }
.ap-mine-slot__time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .875rem; }
.ap-mine-slot__main { display: flex; flex-direction: column; min-width: 0; }
.ap-mine-slot__main strong, .ap-mine-row__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-mine-slot__main small, .ap-mine-row__main small { color: var(--ap-muted); font-size: .8125rem; }
.ap-mine-slot__price, .ap-mine-row__price { font-weight: 600; white-space: nowrap; }
.ap-mine-list { padding: 0; }
.ap-mine-row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid rgb(9 9 11 / .06); }
.ap-mine-row:last-child { border-bottom: 0; }
.ap-mine-row__main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ap-mine-row__window { font-size: .875rem; }
.ap-mine-row__plan { font-size: .875rem; color: var(--ap-info); font-weight: 600; }
.ap-mine-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; flex: 0 0 auto; }
.ap-mine-list--done .ap-mine-row { opacity: .85; }
.ap-mine-empty { text-align: center; }
.ap-mine-empty .ap-actions { justify-content: center; margin-top: .75rem; }
@media (max-width: 560px) {
    .ap-mine-day { grid-template-columns: 1fr; gap: .4rem; }
    .ap-mine-day__label { flex-direction: row; align-items: center; }
    .ap-mine-slot { grid-template-columns: 5.6rem 1fr; }
    .ap-mine-slot__price { grid-column: 2; font-size: .875rem; }
    .ap-mine-row { flex-direction: column; }
    .ap-mine-row__side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* Verfuegbarkeit im Profil */
.ap-profile-avail { margin-top: 1.75rem; scroll-margin-top: 5rem; }

/* Einsatz freigeben */
.ap-btn--danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.ap-btn--danger:hover { background: #b91c1c; border-color: #b91c1c; }
.ap-btn--ghost-danger { background: transparent; border-color: transparent; color: #b91c1c; font-size: .8125rem; padding: .25rem .4rem; }
.ap-btn--ghost-danger:hover { background: #fef2f2; border-color: #fecaca; }
.ap-mine-release { margin: 0; }
.ap-release { margin-top: .9rem; border-top: 1px solid rgb(9 9 11 / .08); padding-top: .7rem; }
.ap-release summary { cursor: pointer; color: #b91c1c; font-size: .875rem; font-weight: 600; }
.ap-release form { margin-top: .7rem; display: grid; gap: .5rem; }

/* ======== Bedienbarkeit am Handy (21.09.2026): Tab-Leiste, Startkarte, Job-Karten, Umschalter ======== */
/* Tab-Leiste unten: die vier Hauptbereiche immer sichtbar */
.ap-tabbar { display: none; }
@media (max-width: 63.99rem) {
    .ap-tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: grid; grid-template-columns: repeat(4, 1fr);
        background: #fff; border-top: 1px solid rgb(9 9 11 / .1);
        padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 16px rgb(9 9 11 / .06);
    }
    .ap-tabbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem .2rem; border-radius: var(--ap-r-ctl);
        color: #71717a; text-decoration: none; font-size: .6875rem; font-weight: 600; min-height: 48px; justify-content: center; }
    .ap-tabbar a svg { width: 24px; height: 24px; }
    .ap-tabbar a.is-active { color: var(--ap-primary); background: rgb(37 99 235 / .08); }
    .ap-main { padding-bottom: 5.5rem; }
    /* Kopfzeile: der Seitentitel steht schon gross auf der Seite - hier ueberlappte er das Logo */
    .ap-topbar__title, .ap-brand__suffix { display: none; }
    .ap-topbar__rating { margin-left: auto; }
}

/* Umschalter "Alle offenen Jobs | Vorschlaege fuer mich" */
.ap-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .2rem; padding: .2rem; margin-bottom: 1rem;
    background: rgb(9 9 11 / .06); border-radius: var(--ap-r-card); max-width: 100%; }
.ap-seg a { padding: .5rem .9rem; border-radius: var(--ap-r-ctl); text-align: center; font-size: .875rem; font-weight: 600; color: #52525b; text-decoration: none; white-space: nowrap; }
.ap-seg a.is-active { background: #fff; color: var(--ap-ink); box-shadow: 0 1px 3px rgb(9 9 11 / .12); }
@media (max-width: 560px) { .ap-seg { display: grid; width: 100%; } .ap-seg a { padding: .55rem .4rem; font-size: .8125rem; } }

/* Startkarte "Dein naechster Einsatz" */
.ap-next { border-radius: var(--ap-r-card); padding: 1.1rem 1.15rem 1.15rem; margin: .25rem 0 1.25rem; color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); box-shadow: 0 10px 28px -12px rgb(37 99 235 / .6); }
.ap-next.is-today { background: linear-gradient(135deg, #047857 0%, #10b981 100%); box-shadow: 0 10px 28px -12px rgb(4 120 87 / .6); }
.ap-next__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin: 0 0 .35rem; }
.ap-next__when { font-size: 1rem; margin: 0; }
.ap-next__when strong { font-size: 1.25rem; }
.ap-next__where { font-size: 1.4rem; font-weight: 700; line-height: 1.2; margin: .35rem 0 .1rem; color: #fff; }
.ap-next__address, .ap-next__window { margin: .1rem 0; font-size: .875rem; opacity: .95; }
.ap-next__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .5rem; margin-top: .9rem; }
.ap-next__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .5rem .8rem; border-radius: var(--ap-r-card);
    background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .35); color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
.ap-next__btn:hover { background: rgb(255 255 255 / .26); }
.ap-next a.ap-next__btn { color: #fff; }
.ap-next a.ap-next__btn--main, .ap-next a.ap-next__btn--main:hover { background: #fff; color: #1e3a8a; border-color: #fff; }
.ap-next.is-today a.ap-next__btn--main, .ap-next.is-today a.ap-next__btn--main:hover { color: #065f46; }


/* Job-Karten (Handy) statt Zeitstrahl */
.ap-only-mobile { display: none; }
.ap-tl-toggle { display: none; }
@media (max-width: 63.99rem) {
    .ap-only-mobile { display: block; }
    .ap-tl-toggle { display: block; margin: 1rem 0 .5rem; }
    .ap-tl-toggle summary { cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--ap-primary); }
    .ap-tl-toggle + .ap-scout { display: none; }
    .ap-tl-toggle[open] + .ap-scout { display: grid; }
}
.ap-jobcards { display: grid; gap: .6rem; }
.ap-jobcard { display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: var(--ap-r-card); background: #fff; border: 1px solid rgb(9 9 11 / .1);
    color: inherit; text-decoration: none; }
.ap-jobcard:active { transform: scale(.995); }
.ap-jobcard.is-mine { border-color: #6ee7b7; background: #f0fdf4; }
.ap-jobcard.is-liked { border-left: 4px solid #f59e0b; }
.ap-jobcard__top { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.ap-jobcard__top strong { font-size: 1rem; line-height: 1.25; }
.ap-jobcard__price { font-size: 1.25rem; font-weight: 700; white-space: nowrap; color: var(--ap-ink); }
.ap-jobcard__place { color: var(--ap-muted); font-size: .875rem; }
.ap-jobcard__window { font-size: .875rem; font-weight: 600; }
.ap-jobcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .35rem; }
.ap-jobcard__go { color: var(--ap-primary); font-weight: 600; font-size: .875rem; }

/* Handy: der Einleitungstext der Job-Suche erklaert den Zeitstrahl - den gibt es dort nur auf Wunsch */
@media (max-width: 63.99rem) { .ap-page--scout .ap-page-head .ap-lead { display: none; } }

/* Job-Vorschlaege: Route Tag fuer Tag mit der Fahrt zwischen den Jobs */
.ap-route { list-style: none; margin: .25rem 0 1rem; padding: 0; display: grid; gap: .25rem; }
.ap-route__day { margin-top: .7rem; font-weight: 700; font-size: .875rem; }
.ap-route__day:first-child { margin-top: 0; }
.ap-route__leg { display: flex; align-items: center; gap: .5rem; margin-left: 1.1rem; padding: .25rem 0 .25rem .9rem; border-left: 2px dashed rgb(9 9 11 / .2);
    font-size: .875rem; font-weight: 600; color: #52525b; }
.ap-route__leg small { font-weight: 500; color: var(--ap-muted); }
.ap-route__leg.is-unknown { color: #b45309; }
.ap-route__stop a { display: grid; grid-template-columns: 6.2rem 1fr auto; gap: .6rem; align-items: center; padding: .6rem .8rem; border-radius: var(--ap-r-ctl);
    background: #fff; border: 1px solid rgb(9 9 11 / .1); color: inherit; text-decoration: none; }
.ap-route__stop.is-collision a { border-color: #fca5a5; background: #fef2f2; }
.ap-route__time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .875rem; }
.ap-route__name { display: flex; flex-direction: column; min-width: 0; }
.ap-route__name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-route__name small { color: var(--ap-muted); font-size: .8125rem; }
.ap-route__price { font-weight: 700; white-space: nowrap; }
.ap-tl__travel { display: block; font-weight: 600; }
.ap-tl-toggle--plan { display: block; margin-top: .5rem; }
.ap-tl-toggle--plan summary { cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--ap-primary); margin-bottom: .6rem; }
@media (max-width: 560px) { .ap-route__stop a { grid-template-columns: 5.4rem 1fr; } .ap-route__price { grid-column: 2; } }

/* Profil-Reiter */
.ap-ptabs { display: grid; width: 100%; margin-bottom: 1.1rem; }
.ap-profile-avail { margin-top: 0; }

/* Profil > Apps: Zugaenge fuer die Putzkraft-API */
.ap-token-new { border-color: #86efac; background: #f0fdf4; }
.ap-token-new__row { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.ap-token-new__value { flex: 1 1 14rem; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; }
.ap-token-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .1rem; }
.ap-token-list__item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-top: 1px solid rgb(9 9 11 / .08); }
.ap-token-list__item:first-child { border-top: 0; }
.ap-token-list__item strong { display: block; }
.ap-token-list__item small { display: block; margin-top: .15rem; }

/* ===== Neues Portal (putzkraftportal/): Ergaenzungen zum uebernommenen Stil ===== */
.ap-brandtext { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; color: var(--ap-ink, #09090b); text-decoration: none; }
.ap-brandtext span { color: var(--ap-primary, #2563eb); }
.ap-brandtext--lg { font-size: 2rem; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ap-back { font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--ap-primary, #2563eb); }
.ap-offer { display: block; text-decoration: none; }
.ap-jobcard.is-taken { opacity: .55; }
.ap-btn--xl { width: 100%; padding: .95rem 1.1rem; font-size: 1rem; font-weight: 600; justify-content: center; }
.ap-btn--ghost { background: transparent; border-color: transparent; color: #52525b; }
.ap-like { justify-self: start; }

.ap-jobhead__top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.ap-jobhead__state { margin: 0 0 .35rem; }
.ap-jobhead__price { font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
.ap-jobhead__cta { display: grid; gap: .5rem; margin-top: 1.1rem; }
.ap-jobpage--mine .ap-jobhead { border-color: #6ee7b7; background: #f0fdf4; }
.ap-jobpage--done .ap-jobhead { border-color: #6ee7b7; }
.ap-jobpage--taken .ap-jobhead { opacity: .8; }
.ap-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem 1.25rem; margin: 1rem 0 0; }
.ap-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ap-muted, #71717a); }
.ap-facts dd { margin: .1rem 0 0; font-weight: 600; }
.ap-phases { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; margin: 1.1rem 0 0; padding: 0; }
.ap-phases li { padding: .5rem .6rem; border-radius: var(--ap-r-ctl); background: #f4f4f5; color: #71717a; display: grid; gap: .1rem; font-size: .8125rem; }
.ap-phases li.is-now { background: #dbeafe; color: #1d4ed8; outline: 2px solid #60a5fa; }
.ap-phases li.is-past { opacity: .6; }

.ap-access__code { font-size: 2rem; font-weight: 700; letter-spacing: .18em; margin: .3rem 0; font-variant-numeric: tabular-nums; }
.ap-checklist { display: grid; gap: 1rem; margin-top: .6rem; }
.ap-checklist__group { border: 0; padding: 0; margin: 0; display: grid; gap: .1rem; }
.ap-checklist__group legend { font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ap-muted, #71717a); padding: 0 0 .3rem; }
.ap-checklist__item { padding: .6rem 0; border-top: 1px solid rgb(9 9 11 / .08); display: grid; gap: .3rem; }
.ap-checklist__item--check label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-weight: 500; }
.ap-checklist__item--check input { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; margin-top: .05rem; accent-color: #059669; }
.ap-checklist__item--check input:checked + span { color: #047857; text-decoration: line-through; text-decoration-color: rgb(4 120 87 / .4); }
.ap-checklist__item--count { grid-template-columns: 1fr 8rem; align-items: center; }
.ap-checklist__item--count label { display: grid; font-weight: 500; }
.ap-checklist__item--count > small { grid-column: 1 / -1; }
.ap-checklist__item label small { font-weight: 400; color: var(--ap-muted, #71717a); }

.ap-inline-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-top: .6rem; }
.ap-inline-form label { display: grid; gap: .25rem; font-size: .875rem; color: #3f3f46; }
.ap-weekgrid { display: grid; gap: .45rem; margin: .9rem 0 1.2rem; }
.ap-weekgrid__row { display: grid; grid-template-columns: minmax(7.5rem, 1fr) 6.5rem auto 6.5rem; gap: .5rem; align-items: center; }
.ap-weekgrid__day { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
.ap-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 1rem; }
.ap-choice { display: flex; gap: .7rem; padding: .8rem; border: 1px solid rgb(9 9 11 / .12); border-radius: var(--ap-r-card); margin: .6rem 0; cursor: pointer; }
.ap-choice:has(input:checked) { border-color: var(--ap-primary, #2563eb); background: #eff6ff; }
.ap-choice span { display: grid; gap: .15rem; }
.ap-choice small { color: var(--ap-muted, #71717a); }
.ap-route__stop { position: relative; }
.ap-route__hide { position: absolute; right: .3rem; bottom: -.2rem; }
.ap-mine-slot.is-collision, .ap-route__stop.is-collision a { outline: 2px solid #f59e0b; }
.ap--guest { background: #fafafa; }
@media (max-width: 40rem) {
    .ap-weekgrid__row { grid-template-columns: 1fr 5.6rem auto 5.6rem; font-size: .875rem; }
    .ap-jobhead__price { font-size: 1.4rem; }
    .ap-phases { grid-template-columns: 1fr; }
}
.ap-top__brand.ap-brandtext { gap: 0; display: inline-block; }
.ap-next .ap-next__where { color: #fff; }
.ap-weekgrid__row .ap-input { padding-inline: .45rem; min-width: 0; }
@media (max-width: 40rem) { .ap-weekgrid__row { grid-template-columns: 1fr 6.4rem auto 6.4rem; gap: .3rem; } .ap-weekgrid__day { font-size: .875rem; } }
.ap-checklist__item--choice { grid-template-columns: 1fr 11rem; align-items: center; } .ap-checklist__item--choice > small { grid-column: 1 / -1; }

/* ===== Planer: Kennzahlen, Regler, Zeitstrahl (Drag & Drop), Karte ===== */
.ap-page--planner, .ap-page--mine { max-width: 72rem; }
.pl { display: grid; gap: 1rem; position: relative; }
.pl.is-loading .pl-timeline, .pl.is-loading .pl-kpis { opacity: .55; transition: opacity .15s; }
.pl-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pl-kpi { background: #fff; border: 1px solid rgb(9 9 11 / .08); border-radius: var(--ap-r-card); padding: .8rem 1rem; display: grid; gap: .15rem; box-shadow: 0 1px 2px rgb(9 9 11 / .04); }
.pl-kpi span { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #71717a; font-weight: 600; }
.pl-kpi strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pl-util { height: .4rem; border-radius: 999px; background: #e4e4e7; overflow: hidden; margin-top: -.4rem; }
.pl-util i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, #10b981); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

.pl-controls { background: #fff; border: 1px solid rgb(9 9 11 / .08); border-radius: var(--ap-r-card); padding: .2rem 1rem .9rem; }
.pl-controls summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: .6rem; padding: .75rem 0; font-weight: 600; }
.pl-controls summary::-webkit-details-marker { display: none; }
.pl-controls summary::after { content: "⌄"; margin-left: auto; color: #a1a1aa; transition: transform .2s; }
.pl-controls[open] summary::after { transform: rotate(180deg); }
.pl-controls summary small { font-weight: 400; color: #71717a; font-size: .8125rem; }
.pl-sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: .9rem 1.4rem; }
.pl-slider { display: grid; gap: .45rem; font-size: .875rem; font-weight: 600; color: #3f3f46; }
.pl-slider span { display: flex; align-items: baseline; gap: .35rem; }
.pl-slider small { font-weight: 400; color: #71717a; }
.pl-slider output { margin-left: auto; font-weight: 700; color: #2563eb; font-variant-numeric: tabular-nums; background: #eff6ff; padding: .1rem .5rem; border-radius: 999px; }
.pl-slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2rem; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
.pl-slider input[type=range]::-webkit-slider-runnable-track { height: .45rem; border-radius: 999px; background: linear-gradient(90deg, #3b82f6 var(--pl-fill, 50%), #e4e4e7 var(--pl-fill, 50%)); }
.pl-slider input[type=range]::-moz-range-track { height: .45rem; border-radius: 999px; background: #e4e4e7; }
.pl-slider input[type=range]::-moz-range-progress { height: .45rem; border-radius: 999px; background: #3b82f6; }
.pl-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6rem; height: 1.6rem; margin-top: -.58rem; border-radius: 50%; background: #fff; border: 2px solid #3b82f6; box-shadow: 0 2px 6px rgb(37 99 235 / .35); transition: transform .12s; }
.pl-slider input[type=range]::-moz-range-thumb { width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #fff; border: 2px solid #3b82f6; box-shadow: 0 2px 6px rgb(37 99 235 / .35); }
.pl-slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.pl-slider input[type=range]:focus-visible { outline: 2px solid #60a5fa; outline-offset: 4px; border-radius: 999px; }
.pl-controls__foot { margin: .8rem 0 0; font-size: .8125rem; color: #71717a; }
.pl-link { background: none; border: 0; padding: 0; color: #2563eb; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.pl-card { background: #fff; border: 1px solid rgb(9 9 11 / .08); border-radius: var(--ap-r-card); overflow: hidden; box-shadow: 0 1px 2px rgb(9 9 11 / .04); }
.pl-card__head { padding: .9rem 1rem .6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.pl-card__head h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.pl-card__head p { margin: 0; font-size: .8125rem; color: #71717a; }

.pl-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: .4rem; }
.pl-inner { min-width: 44rem; --pl-daycol: 6.2rem; }
.pl-row { display: grid; grid-template-columns: var(--pl-daycol) 1fr; align-items: stretch; border-top: 1px solid rgb(9 9 11 / .06); transition: background .15s; }
.pl-row--head { border-top: 0; }
.pl-day { position: sticky; left: 0; z-index: 3; background: #fff; padding: .55rem .6rem .55rem 1rem; display: grid; align-content: center; gap: .05rem; border-right: 1px solid rgb(9 9 11 / .06); }
.pl-day strong { font-size: .875rem; }
.pl-day small { font-size: .75rem; color: #71717a; font-variant-numeric: tabular-nums; }
.pl-row[data-date] .pl-day { box-shadow: inset 3px 0 0 var(--pl-color, #d4d4d8); }
.pl-row.is-today .pl-day strong::after { content: "heute"; margin-left: .35rem; font-size: .6875rem; font-weight: 600; color: #047857; background: #d1fae5; padding: .05rem .35rem; border-radius: 999px; vertical-align: middle; }
.pl-track { position: relative; height: 4.1rem; background-image: repeating-linear-gradient(90deg, rgb(9 9 11 / .07) 0 1px, transparent 1px calc(100% / var(--pl-hours, 10))); }
.pl-track--scale { height: 1.5rem; background: none; }
.pl-tick { position: absolute; top: .25rem; transform: translateX(-50%); font-size: .6875rem; color: #a1a1aa; font-variant-numeric: tabular-nums; }
.pl-work { position: absolute; top: 0; bottom: 0; background: rgb(59 130 246 / .045); }
.pl-range { position: absolute; top: .55rem; bottom: .55rem; border-radius: var(--ap-r-ctl); background: repeating-linear-gradient(135deg, rgb(148 163 184 / .16) 0 6px, rgb(148 163 184 / .06) 6px 12px); border: 1px dashed rgb(100 116 139 / .4); opacity: 0; transition: opacity .15s; pointer-events: none; }
.pl-row:hover .pl-range, .pl.is-dragging .pl-row.is-allowed .pl-range, .pl-row:focus-within .pl-range { opacity: 1; }
.pl-leg { position: absolute; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, #a1a1aa 0 4px, transparent 4px 8px); pointer-events: none; }
.pl-leg span { position: absolute; right: .2rem; bottom: .2rem; font-size: .6875rem; color: #71717a; white-space: nowrap; background: #fff; padding: 0 .2rem; border-radius: .3rem; }
.pl-block { position: absolute; top: .45rem; bottom: .45rem; min-width: 2.4rem; border: 0; border-radius: var(--ap-r-ctl); padding: .3rem .55rem; text-align: left; font: inherit; color: #fff; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden;
    display: grid; align-content: center; gap: .05rem; background: var(--pl-color, #2563eb); box-shadow: 0 2px 6px rgb(9 9 11 / .18), inset 0 0 0 1px rgb(255 255 255 / .18); z-index: 2;
    transition: box-shadow .15s, transform .15s, opacity .15s, left .25s cubic-bezier(.2, .8, .2, 1); }
.pl-block::before { content: ""; position: absolute; left: .28rem; top: 28%; bottom: 28%; width: 3px; border-radius: 3px; background: rgb(255 255 255 / .55); }
.pl-block__name { font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .35rem; }
.pl-block__meta { font-size: .6875rem; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .35rem; font-variant-numeric: tabular-nums; }
.pl-block.is-mine { background: linear-gradient(135deg, #059669, #10b981); }
.pl-block.is-off { background: #fff; color: #52525b; box-shadow: inset 0 0 0 2px #d4d4d8; }
.pl-block.is-off::before { background: #d4d4d8; }
.pl-block:hover { box-shadow: 0 6px 14px rgb(9 9 11 / .22), inset 0 0 0 1px rgb(255 255 255 / .25); transform: translateY(-1px); }
.pl-block:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pl-block.is-active { outline: 3px solid #fbbf24; outline-offset: 2px; }
.pl-block.is-drag { cursor: grabbing; transition: none; transform: scale(1.04); box-shadow: 0 12px 26px rgb(9 9 11 / .32); z-index: 9; opacity: .96; }
.pl.is-dragging .pl-row { background: rgb(9 9 11 / .025); }
.pl.is-dragging .pl-row.is-allowed { background: #fff; }
.pl.is-dragging .pl-row.is-target { background: #eff6ff; }
.pl-row.is-ghost .pl-day small { color: #2563eb; font-weight: 600; }
.pl-row.is-ghost { animation: pl-in .18s ease-out; }
@keyframes pl-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pl-empty { padding: 2rem 1rem; text-align: center; display: grid; gap: .3rem; color: #71717a; }
.pl-empty strong { color: #09090b; }
.pl-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0; padding: .6rem 1rem .8rem; font-size: .75rem; color: #71717a; border-top: 1px solid rgb(9 9 11 / .06); }
.pl-legend li { display: flex; align-items: center; gap: .35rem; }
.pl-legend i { width: 1.1rem; height: .7rem; border-radius: .25rem; display: inline-block; }
.pl-legend__mine { background: #10b981; } .pl-legend__new { background: #2563eb; }
.pl-legend__range { border: 1px dashed #a1a1aa; background: rgb(148 163 184 / .15); } .pl-legend__work { background: rgb(59 130 246 / .12); }

.pl-map { height: 22rem; z-index: 0; background: #e4e4e7; }
.pl-pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .8125rem; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgb(9 9 11 / .4); }
.pl-pin--home span { background: #09090b; font-size: 1rem; }
.pl-pin.is-mine span { box-shadow: 0 0 0 3px #10b981, 0 2px 6px rgb(9 9 11 / .4); }
.pl-pin.is-off span { opacity: .45; }

.pl-otherlist { display: grid; gap: .5rem; margin-top: .6rem; }
.pl-other { display: flex; gap: .6rem; align-items: center; background: #fff; border: 1px solid rgb(9 9 11 / .08); border-radius: var(--ap-r-card); padding: .7rem .9rem; }
.pl-other a { flex: 1; display: grid; gap: .1rem; text-decoration: none; color: inherit; }
.pl-other small { color: #71717a; } .pl-other em { font-style: normal; font-size: .75rem; color: #b45309; }

.pl-cta { position: sticky; bottom: 5.2rem; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: var(--ap-r-card); color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #2563eb); box-shadow: 0 12px 30px rgb(30 58 138 / .4); animation: pl-in .25s ease-out; }
.pl-cta div { display: grid; } .pl-cta span { font-size: .8125rem; opacity: .85; }
.pl-cta .ap-btn--primary { background: #fff; color: #1e3a8a; border-color: #fff; font-weight: 700; white-space: nowrap; }
@media (min-width: 64rem) { .pl-cta { bottom: 1rem; } }
.pl-toast { max-width: calc(100vw - 2rem); white-space: normal !important; text-align: center; position: fixed; left: 50%; bottom: 6.5rem; transform: translate(-50%, 1rem); background: #09090b; color: #fff; padding: .55rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; white-space: nowrap; }
.pl-toast.is-on { opacity: 1; transform: translate(-50%, 0); } .pl-toast.is-bad { background: #b91c1c; }

.pl-sheet { position: fixed; inset: 0; z-index: 80; background: rgb(9 9 11 / 0); display: grid; align-items: end; justify-items: center; transition: background .22s; }
.pl-sheet.is-open { background: rgb(9 9 11 / .45); }
.pl-sheet__panel { width: min(100%, 30rem); background: #fff; border-radius: 1.4rem 1.4rem 0 0; padding: 1.3rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom)); position: relative; transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgb(9 9 11 / .25); }
.pl-sheet.is-open .pl-sheet__panel { transform: none; }
.pl-sheet__panel::before { content: ""; position: absolute; top: .5rem; left: 50%; width: 2.6rem; height: .28rem; margin-left: -1.3rem; border-radius: 999px; background: #d4d4d8; }
.pl-sheet__close { position: absolute; top: .7rem; right: .8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: #f4f4f5; font-size: 1.25rem; line-height: 1; cursor: pointer; color: #52525b; }
.pl-sheet__eyebrow { margin: .4rem 0 .2rem; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pl-sheet h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; } .pl-sheet__meta { margin: .15rem 0 0; color: #71717a; font-size: .875rem; }
.pl-sheet__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 1rem 0; }
.pl-sheet__facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #71717a; } .pl-sheet__facts dd { margin: .1rem 0 0; font-weight: 600; font-size: .875rem; }
.pl-sheet__actions { display: flex; flex-wrap: wrap; gap: .5rem; } .pl-sheet__actions .ap-btn--primary { flex: 1 1 100%; justify-content: center; padding: .8rem; }
.pl-sheet__hint { margin: .9rem 0 0; font-size: .75rem; color: #a1a1aa; }
@media (min-width: 48rem) { .pl-sheet { align-items: center; } .pl-sheet__panel { border-radius: 1.4rem; } .pl-sheet__panel::before { display: none; } }
@media (max-width: 40rem) {
    .pl-kpis { grid-template-columns: 1fr 1fr; } .pl-kpi strong { font-size: 1.1rem; }
    .pl-inner { --pl-daycol: 4.9rem; min-width: 40rem; } .pl-day { padding-left: .7rem; } .pl-map { height: 17rem; }
    .pl-card__head p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pl-block, .pl-sheet__panel, .pl-util i, .pl-toast { transition: none; } .pl-row.is-ghost, .pl-cta { animation: none; } }
.ap-seg a small { font-weight: 600; font-size: .6875rem; color: #2563eb; background: #eff6ff; padding: .05rem .35rem; border-radius: 999px; margin-left: .25rem; vertical-align: middle; }
.pl-sheet[hidden], .pl-cta[hidden], .pl-others[hidden] { display: none; }
.pl-row.is-today .pl-day strong::after { display: inline-block; }
@media (max-width: 40rem) {
    .pl-controls summary small { display: none; }
    .pl-row.is-today .pl-day strong::after { display: block; width: max-content; margin: .15rem 0 0; }
    .pl-track { height: 4.4rem; }
}
.jm .pl-card__head { align-items: center; }
.jm__slider { margin-left: auto; min-width: min(100%, 15rem); flex: 1 1 13rem; max-width: 20rem; }
.jm-pin span { width: auto; min-width: 54px; height: 28px; border-radius: 999px; padding: 0 .5rem; font-size: .75rem; white-space: nowrap; }
.jm-pin.is-hot span, .pl-pin.is-hot span { transform: scale(1.15); box-shadow: 0 0 0 3px #fbbf24, 0 2px 6px rgb(9 9 11 / .4); }
.jm-pin--taken span { opacity: .7; }
.ap-jobcard.is-hot { border-color: #fbbf24; box-shadow: 0 0 0 3px rgb(251 191 36 / .35); }
.ap-jobcard[hidden] { display: none; }

/* ===== Planer, 2. Fassung: Erklaersatz, beschriftete Bloecke, Abwaehlen, Jobliste - und durchgehend kraeftigere Kontraste ===== */
.pl { --pl-ink: #09090b; --pl-text: #3f3f46; --pl-mute: #52525b; --pl-line: rgb(9 9 11 / .12); }
.pl-lead { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; border-radius: var(--ap-r-card); padding: 1.1rem 1.2rem 1.2rem; box-shadow: 0 10px 28px rgb(30 58 138 / .28); }
.pl-lead__tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgb(255 255 255 / .16); padding: .2rem .55rem; border-radius: 999px; }
.pl-lead p { margin: .55rem 0 0; font-size: 1rem; line-height: 1.5; color: #dbeafe; max-width: 46rem; }
.pl-lead strong { color: #fff; font-weight: 700; }
.pl-kpi { border-color: var(--pl-line); }
.pl-kpi span { color: var(--pl-mute); }
.pl-kpi strong { color: var(--pl-ink); }
.pl-kpi small { font-size: .75rem; color: var(--pl-mute); }
.pl-util { background: #d4d4d8; }
.pl-step { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; margin-right: .5rem; border-radius: 50%; background: #2563eb; color: #fff; font-size: .75rem; font-weight: 700; font-style: normal; vertical-align: .08em; }
.pl-controls, .pl-card { border-color: var(--pl-line); }
.pl-controls summary { color: var(--pl-ink); }
.pl-controls summary small, .pl-card__head p, .pl-controls__foot { color: var(--pl-mute); }
.pl-card__head p b { color: var(--pl-ink); font-weight: 600; }
.pl-slider { color: var(--pl-ink); }
.pl-slider > small { font-weight: 400; color: var(--pl-mute); font-size: .75rem; margin-top: -.2rem; }
.pl-slider output { color: #fff; background: #2563eb; }
.pl-slider input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, #2563eb var(--pl-fill, 50%), #d4d4d8 var(--pl-fill, 50%)); }
.pl-slider input[type=range]::-moz-range-track { background: #d4d4d8; }
.pl-slider input[type=range]::-moz-range-progress { background: #2563eb; }
.pl-slider input[type=range]::-webkit-slider-thumb { border-color: #2563eb; }
.pl-slider input[type=range]::-moz-range-thumb { border-color: #2563eb; }
.pl-link { color: #2563eb; }

.pl-inner { min-width: 50rem; --pl-daycol: 7rem; }
.pl-row { border-top-color: var(--pl-line); }
.pl-day strong { color: var(--pl-ink); } .pl-day small { color: var(--pl-mute); }
.pl-row[data-date] .pl-day { box-shadow: inset 4px 0 0 var(--pl-color, #a1a1aa); }
.pl-row.is-today .pl-day strong::after { color: #fff; background: #047857; }
.pl-tick { color: var(--pl-mute); font-weight: 600; }
.pl-track { height: 4.4rem; background-image: repeating-linear-gradient(90deg, rgb(9 9 11 / .1) 0 1px, transparent 1px calc(100% / var(--pl-hours, 10))); }
.pl-track--scale { height: 1.6rem; }
.pl-work { background: rgb(37 99 235 / .06); }
.pl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: #dc2626; z-index: 1; }
.pl-now::before { content: ""; position: absolute; top: -3px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #dc2626; }
.pl-range { border: 1.5px dashed #71717a; background: repeating-linear-gradient(135deg, rgb(100 116 139 / .16) 0 6px, rgb(100 116 139 / .05) 6px 12px); }
.pl-range.is-drop { opacity: 1; border-color: #2563eb; background: rgb(37 99 235 / .1); }
.pl-leg { background: repeating-linear-gradient(90deg, #71717a 0 4px, transparent 4px 8px); }
.pl-leg span { color: var(--pl-text); font-weight: 600; font-size: .6875rem; }

.pl-item { position: absolute; top: .55rem; bottom: .55rem; min-width: 2.6rem; z-index: 2; transition: left .25s cubic-bezier(.2, .8, .2, 1); }
.pl-item .pl-block { position: absolute; inset: 0; top: 0; bottom: 0; width: 100%; min-width: 0; text-align: center; padding: .2rem .4rem; background: var(--pl-color, #2563eb); color: #fff; transition: box-shadow .15s, transform .15s; }
.pl-item .pl-block::before { display: none; }
.pl-item .pl-block b { font-size: .75rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-item .pl-block span { display: block; font-size: .6875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.pl-item.is-mine .pl-block { background: #047857; }
.pl-item.is-drag { z-index: 12; transition: none; }
.pl-item.is-drag .pl-block { cursor: grabbing; transform: scale(1.05); box-shadow: 0 14px 30px rgb(9 9 11 / .38); }
.pl-x { position: absolute; top: -.55rem; right: -.55rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid #fff; background: #09090b; color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .1rem; box-shadow: 0 2px 5px rgb(9 9 11 / .35); z-index: 3; }
.pl-x::after { content: ""; position: absolute; inset: -.5rem; }   /* groessere Trefferflaeche fuer den Finger */
.pl-x:hover, .pl-x:focus-visible { background: #b91c1c; outline: none; }
.pl-item.is-drag .pl-x { display: none; }
.pl-label { position: absolute; top: 50%; transform: translateY(-50%); padding-left: .55rem; display: grid; gap: 0; pointer-events: none; overflow: hidden; box-sizing: border-box; }
.pl-label strong { font-size: .8125rem; color: var(--pl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-label span { font-size: .75rem; color: var(--pl-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pl.is-dragging .pl-row:not(.is-allowed) { opacity: .45; }
.pl.is-dragging .pl-row.is-target { background: #dbeafe; box-shadow: inset 0 0 0 2px #2563eb; }
.pl-row.is-ghost .pl-day small { color: #2563eb; font-weight: 600; }
.pl-legend { color: var(--pl-text); border-top-color: var(--pl-line); }
.pl-legend__mine { background: #047857; } .pl-legend__new { background: #2563eb; }
.pl-legend__range { border: 1.5px dashed #71717a; } .pl-legend__work { background: rgb(37 99 235 / .14); }

.pl-list { padding: 0 1rem 1rem; display: grid; gap: .9rem; }
.pl-list[hidden] { display: none; }
.pl-lday h3 { margin: 0 0 .35rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pl-color); }
.pl-li { display: grid; grid-template-columns: 1.6rem 3.2rem 1fr auto; gap: .7rem; align-items: center; padding: .6rem .7rem; border: 1px solid var(--pl-line); border-left: 4px solid var(--pl-color); border-radius: var(--ap-r-card); background: #fff; margin-bottom: .4rem; }
.pl-li.is-mine { border-left-color: #047857; background: #f0fdf4; }
.pl-li input[type=checkbox] { width: 1.35rem; height: 1.35rem; accent-color: #2563eb; cursor: pointer; }
.pl-li__lock { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #047857; color: #fff; font-size: .8125rem; font-weight: 700; }
.pl-li__time { font-weight: 700; font-size: .875rem; color: var(--pl-ink); font-variant-numeric: tabular-nums; display: grid; }
.pl-li__time small { font-weight: 500; color: var(--pl-mute); font-size: .75rem; }
.pl-li__main { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; display: grid; min-width: 0; color: inherit; }
.pl-li__main strong { color: var(--pl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-li__main small { color: var(--pl-mute); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-li__main:hover strong { text-decoration: underline; }
.pl-li__side { display: grid; text-align: right; } .pl-li__side b { color: var(--pl-ink); font-variant-numeric: tabular-nums; } .pl-li__side small { color: var(--pl-mute); font-size: .75rem; }

.pl-others { padding-bottom: .9rem; } .pl-otherlist { padding: 0 1rem; margin-top: 0; }
.pl-other { border-color: var(--pl-line); justify-content: space-between; }
.pl-other > div { display: grid; gap: .1rem; min-width: 0; }
.pl-other small { color: var(--pl-mute); } .pl-other em { color: #92400e; font-weight: 600; }
.pl-other.is-deselected { background: #eff6ff; border-color: #93c5fd; } .pl-other.is-deselected em { color: #1d4ed8; }
.pl-cta .ap-btn { background: #fff; color: #1e3a8a; border-color: #fff; font-weight: 700; white-space: nowrap; padding: .7rem 1.1rem; }
.pl-cta span { color: #dbeafe; opacity: 1; }
.pl-sheet__meta, .pl-sheet__facts dt { color: var(--pl-mute, #52525b); } .pl-sheet__hint { color: #52525b; }
.pl-sheet__ok { color: #047857; } .pl-sheet__facts dd small { font-weight: 500; color: #52525b; }
.pl-sheet__todo { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: var(--ap-r-ctl); background: #f4f4f5; font-size: .875rem; color: #3f3f46; }
.pl-pin.is-mine span { box-shadow: 0 0 0 3px #047857, 0 2px 6px rgb(9 9 11 / .4); }
.ap-seg a small { color: #fff; background: #2563eb; }
/* Hero "Dein naechster Einsatz": dunkleres Gruen, damit weisse Schrift sicher lesbar ist */
.ap-next { background: linear-gradient(135deg, #064e3b, #047857) !important; }
.ap-next .ap-next__eyebrow, .ap-next .ap-next__address, .ap-next .ap-next__window { color: #d1fae5; }
@media (max-width: 40rem) {
    .pl-inner { --pl-daycol: 5.2rem; min-width: 44rem; } .pl-lead p { font-size: 1rem; }
    .pl-li { grid-template-columns: 1.5rem 2.9rem 1fr auto; gap: .5rem; padding: .55rem; }
}

/* Job-Seite: "Das ist zu tun" + Ablauf */
.ap-todo__sum { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .9rem; padding: 0; }
.ap-todo__sum span { background: #eff6ff; color: #1e3a8a; border-radius: 999px; padding: .25rem .7rem; font-size: .8125rem; }
.ap-todo__sum b { font-weight: 700; }
.ap-todo__photo { width: 100%; max-height: 14rem; object-fit: cover; border-radius: var(--ap-r-card); margin-bottom: .8rem; }
.ap-todo__group { margin: 1rem 0 .35rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #52525b; }
.ap-todo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ap-todo__list li { position: relative; padding: .4rem 0 .4rem 1.7rem; border-top: 1px solid rgb(9 9 11 / .08); color: #09090b; }
.ap-todo__list li:first-child { border-top: 0; }
.ap-todo__list li::before { content: ""; position: absolute; left: .1rem; top: .62rem; width: .95rem; height: .95rem; border: 2px solid #a1a1aa; border-radius: .25rem; }
.ap-todo__list small { display: block; color: #52525b; font-size: .8125rem; }
.ap-todo__stock { margin: 0; color: #3f3f46; line-height: 1.6; }
.ap-flow { list-style: none; counter-reset: flow; margin: .6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ap-flow li { counter-increment: flow; position: relative; padding-left: 2.4rem; display: grid; gap: .05rem; }
.ap-flow li::before { content: counter(flow); position: absolute; left: 0; top: .05rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #2563eb; color: #fff; font-weight: 700; font-size: .875rem; display: grid; place-items: center; }
.ap-flow span { color: #52525b; font-size: .875rem; }
.ap-phases li { background: #e4e4e7; color: #3f3f46; } .ap-phases li strong { color: #09090b; }
.ap-phases li.is-now { background: #2563eb; color: #dbeafe; outline: 0; } .ap-phases li.is-now strong { color: #fff; }
.ap-phases li.is-now::after { content: "jetzt"; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ap-phases li.is-past { opacity: 1; background: #f4f4f5; color: #71717a; } .ap-phases li.is-past strong { color: #52525b; text-decoration: line-through; }

/* ===== Backoffice des Betreibers ===== */
.bo { background: #f4f4f5; }
.bo-top { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding: .7rem 1.2rem; background: #09090b; position: sticky; top: 0; z-index: 30; }
.bo-top .ap-brandtext { color: #fff; } .bo-top .ap-brandtext span { color: #93c5fd; } .bo-top .ap-brandtext em { font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fbbf24; margin-left: .4rem; }
.bo-nav { display: flex; gap: .2rem; flex-wrap: wrap; margin-right: auto; }
.bo-nav a { color: #d4d4d8; text-decoration: none; padding: .45rem .8rem; border-radius: var(--ap-r-ctl); font-size: .875rem; font-weight: 600; }
.bo-nav a:hover { background: rgb(255 255 255 / .08); color: #fff; } .bo-nav a.is-active { background: #2563eb; color: #fff; }
.bo-top .ap-btn--ghost { color: #d4d4d8; }
.bo-main { max-width: 78rem; margin: 0 auto; padding: 1.2rem; display: grid; gap: 1rem; }
.bo-by { margin: 0; font-size: .8125rem; color: #52525b; }
.bo-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .6rem; }
.bo-tiles .is-warn { border-color: #f59e0b; background: #fffbeb; }
.bo-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.bo-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #52525b; padding: .5rem .6rem; border-bottom: 2px solid rgb(9 9 11 / .12); white-space: nowrap; }
.bo-table td { padding: .6rem; border-bottom: 1px solid rgb(9 9 11 / .08); vertical-align: top; color: #09090b; }
.bo-table td small { display: block; color: #52525b; font-size: .75rem; } .bo-table tr.is-off td { opacity: .5; }
.bo-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bo .ap-card { overflow-x: auto; }
.bo-banner { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; padding: .55rem 1rem; background: #fbbf24; color: #451a03; font-size: .875rem; position: sticky; top: 0; z-index: 90; }
.bo-banner button { background: #451a03; color: #fff; border: 0; border-radius: 999px; padding: .35rem .9rem; font-weight: 600; cursor: pointer; font-size: .8125rem; }
.ap-invite.is-accepted { border-color: #6ee7b7; background: #f0fdf4; }
.ap-invite__msg { margin: .9rem 0 0; padding: .7rem .9rem; border-left: 3px solid #2563eb; background: #eff6ff; border-radius: 0 .6rem .6rem 0; color: #1e3a8a; }

/* ===== Einheitliche Job-Farben (Tagesfarbe in Zeitleiste, Liste, Karte): zugesagt = gefuellt, Vorschlag = umrandet ===== */
.ap a.ap-btn--primary, .ap a.ap-btn--danger, .ap a.ap-btn--ok { color: #fff; }          /* .ap a {color:inherit} schlug die Knopf-Farbe: dunkle Schrift auf Indigo */
.pl-item.is-mine .pl-block { background: var(--pl-color, #2563eb); color: #fff; }
.pl-item.is-new .pl-block { background: #fff; color: var(--pl-color, #2563eb); box-shadow: inset 0 0 0 2.5px var(--pl-color, #2563eb), 0 2px 6px rgb(9 9 11 / .12); }
.pl-item.is-selected .pl-block { outline: 3px solid #f59e0b; outline-offset: 2px; box-shadow: 0 0 0 6px rgb(245 158 11 / .25), 0 6px 14px rgb(9 9 11 / .25); }
.pl-item.is-selected { z-index: 5; }
.pl-item.is-running .pl-block { background: #047857; color: #fff; cursor: pointer; animation: pl-pulse 1.8s ease-in-out infinite; }
@keyframes pl-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(4 120 87 / .55); } 50% { box-shadow: 0 0 0 9px rgb(4 120 87 / 0); } }
.pl-li { border-left-color: var(--pl-color); }
.pl-li.is-mine { background: #fff; border-left-width: 6px; }
.pl-li.is-new { border-left-style: dashed; }
.pl-li__lock { background: var(--pl-color, #2563eb); }
.pl-li.is-selected { box-shadow: 0 0 0 3px rgb(245 158 11 / .45); border-color: #f59e0b; }
.pl-li.is-running { background: #ecfdf5; border-left-color: #047857; } .pl-li.is-running .pl-li__lock { background: #047857; }
.pl-pin span { background: var(--pin, #2563eb); }
.pl-pin.is-new span { background: #fff; color: var(--pin, #2563eb); border-color: var(--pin, #2563eb); }
.pl-pin.is-mine span { box-shadow: 0 2px 6px rgb(9 9 11 / .4); }
.pl-pin.is-selected span { transform: scale(1.25); box-shadow: 0 0 0 4px #f59e0b, 0 2px 8px rgb(9 9 11 / .45); }
.pl-pin.is-running span { background: #047857; color: #fff; border-color: #fff; animation: pl-pulse 1.8s ease-in-out infinite; }
.pl-legend__mine { background: #2563eb; } .pl-legend__new { background: #fff; box-shadow: inset 0 0 0 2px #2563eb; } .pl-legend__run { background: #047857; }
.pl--only-timeline > :not(.pl-card--timeline):not(script):not(.pl-toast) { display: none !important; }
.pl--only-timeline .pl-card--timeline { border: 0; box-shadow: none; border-radius: 0; } .pl--only-timeline .pl-card__head { display: none; }
.ap-card--flush { padding: 0; overflow: hidden; } .ap-timeform { padding: .4rem 1rem 1rem; } .ap-timeform summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: #2563eb; }
.ap-jobpage--running .ap-jobhead { border-color: #047857; background: #ecfdf5; box-shadow: 0 0 0 3px rgb(4 120 87 / .15); }
.ap-badge--run { background: #047857; color: #fff; }
.ap-startbox { display: grid; gap: .5rem; margin: .6rem 0 1rem; }
.ap-checklist__all { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.ap-checklist.is-locked .ap-checklist__all { opacity: .55; filter: grayscale(.4); }

/* ===== Fuellstaende und Mengen als Schieberegler ===== */
.ap-scale { display: grid; gap: .35rem; padding: .2rem 0 .1rem; grid-column: 1 / -1; }
.ap-scale__head { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; font-weight: 600; color: #09090b; }
.ap-scale__head small { font-weight: 400; color: #52525b; }
.ap-scale__head output { font-weight: 700; color: #fff; background: #71717a; border-radius: 999px; padding: .1rem .6rem; font-size: .8125rem; white-space: nowrap; }
.ap-scale[data-checked="1"] .ap-scale__head output { background: #047857; }
.ap-scale[data-checked="1"] .ap-scale__head output::before { content: "✓ "; }
.ap-scale input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.4rem; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
.ap-scale input[type=range]::-webkit-slider-runnable-track { height: .7rem; border-radius: 999px; background: linear-gradient(90deg, #dc2626, #f59e0b 45%, #10b981); }
.ap-scale--count input[type=range]::-webkit-slider-runnable-track { background: #d4d4d8; }
.ap-scale input[type=range]::-moz-range-track { height: .7rem; border-radius: 999px; background: #d4d4d8; }
.ap-scale input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.9rem; height: 1.9rem; margin-top: -.6rem; border-radius: 50%; background: #fff; border: 3px solid #09090b; box-shadow: 0 2px 6px rgb(9 9 11 / .35); }
.ap-scale input[type=range]::-moz-range-thumb { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff; border: 3px solid #09090b; }
.ap-scale input[type=range]:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; border-radius: 999px; }
.ap-scale__ticks { display: flex; justify-content: space-between; font-size: .6875rem; color: #52525b; margin-top: -.3rem; }
.ap-scale__row { display: grid; grid-template-columns: 2.6rem 1fr 2.6rem; gap: .5rem; align-items: center; }
.ap-scale__row button { height: 2.6rem; border-radius: var(--ap-r-ctl); border: 1px solid rgb(9 9 11 / .2); background: #fff; font-size: 1.25rem; font-weight: 600; cursor: pointer; color: #09090b; }
.ap-scale__ok { justify-self: start; background: none; border: 1px solid rgb(9 9 11 / .2); border-radius: 999px; padding: .25rem .8rem; font-size: .8125rem; font-weight: 600; cursor: pointer; color: #3f3f46; }
.ap-scale[data-checked="1"] .ap-scale__ok { display: none; }

/* ===== Abrechnung ===== */
.inv-group { display: grid; gap: .4rem; padding: .9rem 0; border-top: 1px solid rgb(9 9 11 / .08); } .inv-group:first-of-type { border-top: 0; }
.inv-group h3 { margin: 0 0 .2rem; font-size: 1rem; } .inv-group h3 small { font-weight: 500; color: #52525b; margin-left: .4rem; }
.inv-job { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: .7rem; align-items: center; padding: .55rem .7rem; border: 1px solid rgb(9 9 11 / .12); border-radius: var(--ap-r-ctl); cursor: pointer; }
.inv-job input { width: 1.25rem; height: 1.25rem; accent-color: #2563eb; } .inv-job span { display: grid; } .inv-job small { color: #52525b; }
.inv-group .ap-btn { justify-self: start; margin-top: .4rem; }
.inv-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgb(9 9 11 / .08); text-decoration: none; color: inherit; }
.inv-row span { display: grid; } .inv-row small { color: #52525b; } .inv-row__side { justify-items: end; gap: .2rem; }
.inv-taxmode { border: 0; padding: 0; margin: 0 0 .6rem; } .inv-taxmode legend { font-size: .875rem; font-weight: 500; color: #3f3f46; }
.inv-guide { border-top: 1px solid rgb(9 9 11 / .08); padding: .7rem 0; } .inv-guide summary { cursor: pointer; font-weight: 600; color: #09090b; }
.inv-guide p, .inv-guide ul { margin: .5rem 0 0; color: #3f3f46; line-height: 1.55; } .inv-guide ul { padding-left: 1.2rem; }
.inv { background: #fff; color: #09090b; border: 1px solid rgb(9 9 11 / .12); border-radius: var(--ap-r-ctl); padding: 2.2rem; width: 100%; box-sizing: border-box; font-size: .875rem; line-height: 1.5; }
.inv__head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; } .inv__muted { color: #52525b; font-size: .875rem; }
.inv__meta h1 { margin: 0 0 .5rem; font-size: 1.6rem; letter-spacing: -.02em; text-align: right; }
.inv__meta dl, .inv__pay dl { display: grid; grid-template-columns: auto auto; gap: .15rem 1rem; margin: 0; } .inv__meta dt, .inv__pay dt { color: #52525b; } .inv__meta dd, .inv__pay dd { margin: 0; text-align: right; font-weight: 600; }
.inv__pay dd { text-align: left; font-variant-numeric: tabular-nums; }
.inv__to { margin: 2rem 0 1.5rem; }
.inv__lines { width: 100%; border-collapse: collapse; } .inv__lines th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #52525b; border-bottom: 2px solid #09090b; padding: .4rem .3rem; }
.inv__lines td { padding: .55rem .3rem; border-bottom: 1px solid rgb(9 9 11 / .1); } .inv__num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv__lines tfoot td { border-bottom: 0; color: #3f3f46; } .inv__total td { font-weight: 700; font-size: 1.1rem; color: #09090b !important; border-top: 2px solid #09090b; }
.inv__note { margin: 1rem 0 0; padding: .6rem .8rem; background: #f4f4f5; border-radius: var(--ap-r-ctl); font-size: .875rem; }
.inv__pay { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgb(9 9 11 / .12); }
.inv__pay h2 { margin: 0 0 .3rem; font-size: 1rem; } .inv__pay p { margin: 0 0 .6rem; }
.inv__qr { margin: 0; text-align: center; } .inv__qr img { display: block; border: 1px solid rgb(9 9 11 / .12); border-radius: var(--ap-r-ctl); background: #fff; } .inv__qr figcaption { font-size: .75rem; color: #52525b; margin-top: .3rem; max-width: 170px; }
.inv__foot { margin-top: 2rem; font-size: .75rem; color: #52525b; text-align: center; }
@media (max-width: 40rem) { .inv { padding: 1.1rem; font-size: .875rem; } .inv__meta h1 { text-align: left; } }
@media print {
    .ap-topbar, .ap-sidebar, .ap-tabbar, .inv-noprint, .ap-flash, .bo-banner { display: none !important; }
    body.ap, .ap-main, .ap-main-wrap, .ap-body, .ap-layout, .ap-simple { background: #fff !important; padding: 0 !important; margin: 0 !important; display: block !important; max-width: none !important; }
    .inv { border: 0; padding: 0; border-radius: 0; } .ap-page { max-width: none; }
}

/* =====================================================================================================================
   EINHEITLICHE BEDIENELEMENTE (UI-Audit 22.09.2026) - diese Schicht gilt fuer das ganze Portal. Regeln:
   - Schrift: h1 Seitentitel 1.6rem/800 · h2 Abschnitt (Karten, Planer, Listen) 1.1rem/700 · h3 Gruppenlabel .78rem/700 Versalien
   - Jedes Bedienelement ist mind. 44px hoch (Finger). Kleine Zusatzknoepfe sichtbar kleiner, aber mit 44px Trefferflaeche.
   - Knoepfe: primaer (Indigo, gefuellt) = die EINE Hauptaktion einer Karte · neutral (weiss, Rahmen) = Nebenaktion ·
     dezent rot (ap-btn--ghost-danger) + Rueckfrage = etwas zuruecknehmen/loeschen · rot gefuellt nur als letzter Schritt in einem
     eigens aufgeklappten Bereich (Job freigeben).
   - Text mind. 4,5:1 Kontrast: Fliess-/Hinweistext #52525b, nie heller.
   - Badges: grau = neutral, blau = Info/Angebot, gruen = zugesagt/erledigt/bezahlt, gelb = braucht Aufmerksamkeit, gruen gefuellt = laeuft.
   - Schieberegler: ueberall derselbe Griff (weiss, 3px Indigo-Rand, 1.75rem).
   ===================================================================================================================== */
.ap { --ap-muted: #52525b; }
.ap-lead, .ap-meta, .ap-sidebar__email { color: #52525b; }
.ap-card__title + .ap-meta, .ap-card__title + p { margin-top: .35rem; }
.ap-todo__group, .pl-lday h3, .ap-checklist__group legend, .inv-group h3 small { letter-spacing: .05em; }
.ap-todo__group, .pl-lday h3, .ap-checklist__group legend { font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.ap-todo__group, .ap-checklist__group legend { color: #52525b; }
.ap-next .ap-next__where { font-size: 1.4rem; font-weight: 700; }

.ap-btn { min-height: 2.75rem; padding: .55rem 1.05rem; font-size: .875rem; font-weight: 600; border-radius: var(--ap-r-ctl); display: inline-flex; align-items: center; justify-content: center; gap: .4rem; line-height: 1.2; box-sizing: border-box; cursor: pointer; }
.ap-btn--xl { min-height: 3.25rem; font-size: 1rem; font-weight: 600; }
.ap-btn--ghost-danger { min-height: 2.75rem; font-size: .875rem; padding: .55rem .8rem; color: #b91c1c; font-weight: 600; }
.ap-btn--ghost { color: #3f3f46; }
.ap-btn:focus-visible, .ap-seg a:focus-visible, .ap-back:focus-visible, .ap summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.ap-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ap-seg a { min-height: 2.75rem; display: flex; align-items: center; justify-content: center; box-sizing: border-box; color: #3f3f46; }
.ap-ptabs { display: flex; overflow-x: auto; max-width: 100%; } .ap-ptabs a { flex: 1 0 auto; }
.ap-back { display: inline-flex; align-items: center; min-height: 2.75rem; padding-right: .8rem; color: #2563eb; font-weight: 600; justify-self: start; width: auto; }
.ap details > summary, .pl-controls summary { min-height: 2.75rem; display: flex; align-items: center; box-sizing: border-box; cursor: pointer; }
.ap details > summary::-webkit-details-marker { display: none; }
.inv-guide summary::before, .ap-release summary::before, .ap-timeform summary::before, details.ap-card > summary::before { content: "›"; display: inline-block; margin-right: .5rem; font-weight: 700; transition: transform .15s; }
.inv-guide[open] summary::before, .ap-release[open] summary::before, .ap-timeform[open] summary::before, details.ap-card[open] > summary::before { transform: rotate(90deg); }
.ap-scale__ok { min-height: 2.25rem; padding: .3rem 1rem; position: relative; } .ap-scale__ok::after { content: ""; position: absolute; inset: -.25rem 0; }
.pl-link { padding: .75rem 0; margin: -.75rem 0; }
.pl-x { width: 1.75rem; height: 1.75rem; top: -.65rem; right: -.65rem; }
.pl-li__pick { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.4rem -.55rem -.4rem -.5rem; cursor: pointer; }
.pl-li { grid-template-columns: 1.75rem 3.2rem 1fr auto; }
.ap-input, .ap select.ap-input { min-height: 2.75rem; box-sizing: border-box; font-size: 1rem; }   /* 16px: sonst zoomt iOS beim Antippen */
.ap-field label small, .ap-field small { color: #52525b; }

.ap-badge { background: #e4e4e7; color: #3f3f46; font-weight: 600; }
.ap-badge--ok { background: #d1fae5; color: #065f46; }
.ap-badge--warn { background: #fef3c7; color: #92400e; }
.ap-badge--info { background: #dbeafe; color: #1d4ed8; }
.ap-badge--run { background: #047857; color: #fff; }
.ap-phases li.is-past, .ap-phases li.is-past small { color: #52525b; }

/* ein Schieberegler-Griff fuer alle (Planer, Karte, Profil, Fuellstaende) */
.pl-slider input[type=range]::-webkit-slider-thumb, .ap-scale input[type=range]::-webkit-slider-thumb { width: 1.75rem; height: 1.75rem; margin-top: -.65rem; background: #fff; border: 3px solid #2563eb; box-shadow: 0 2px 6px rgb(9 9 11 / .3); }
.ap-scale input[type=range]::-webkit-slider-thumb { margin-top: -.53rem; }
.pl-slider input[type=range]::-moz-range-thumb, .ap-scale input[type=range]::-moz-range-thumb { width: 1.6rem; height: 1.6rem; background: #fff; border: 3px solid #2563eb; }
.pl-slider input[type=range], .ap-scale input[type=range] { height: 2.75rem; }
/* Listenzeilen: die ganze Zeile ist der Link (nicht nur der Name) */
.ap-mine-row { position: relative; }
.ap-mine-row__main > a:first-child::after { content: ""; position: absolute; inset: 0; }
.ap-mine-row__main > a:first-child { text-decoration: none; }
.ap-mine-row:hover { background: #fafafa; }
.ap-mine-row .ap-actions { position: relative; z-index: 1; }
.ap-mine-list--done .ap-mine-row { opacity: 1; }
.ap-scale__ok { min-height: 2.75rem; }
.pl-x::after { content: ""; position: absolute; inset: -.5rem; }
h3.ap-todo__group, .ap h3.ap-todo__group { font-weight: 600; }
@media (max-width: 40rem) { .ap-next .ap-next__where { font-size: 1.25rem; } }
.ap-like-form { justify-self: start; }
.ap-like-form .ap-btn { white-space: nowrap; }
.ap-like { width: 2.75rem; height: 2.75rem; color: #71717a; }
.ap-sidebar .ap-nav a { min-height: 2.75rem; display: flex; align-items: center; box-sizing: border-box; }
.ap-scale__row > button { min-width: 2.75rem; min-height: 2.75rem; }
.bo-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; box-sizing: border-box; }
.bo-main table .ap-btn { white-space: nowrap; }
.ap-next__actions { grid-template-columns: 1fr auto; }
.ap-next__btn { min-height: 2.75rem; display: flex; align-items: center; justify-content: center; box-sizing: border-box; white-space: nowrap; }

/* =====================================================================================================================
   EINHEITLICHE FLAECHEN (Design-Audit 22.09.2026). Tokens stehen oben in .ap: --ap-r-ctl, --ap-r-card, --ap-shadow …
   - Schriftgroessen: nur .6875 (Zeitleiste/Ticks) · .75 · .8125 · .875 · 1 · 1.1 · 1.25 · 1.4 · 1.6 · 2 rem
   - Radien: Bedienelemente --ap-r-ctl · Flaechen --ap-r-card · Pillen 999px
   - Karte = weiss, 1px Linie, kleiner Schatten. Hervorgehobene Flaeche (naechster Job, Planer-Empfehlung, Zusage-Leiste) =
     Verlauf + --ap-shadow-hero. Hinweis = Indigo-50 ohne Rahmen. Es gibt nur EIN Blau (Indigo).
   ===================================================================================================================== */
.ap-card, .pl-card, .pl-kpi, .pl-controls, .pl-other, .pl-li, .ap-mine-list {
    background: #fff; border: 1px solid var(--ap-line-strong); border-radius: var(--ap-r-card); box-shadow: var(--ap-shadow);
}
.pl-li, .pl-other, .ap-choice, .ap-callout, .ap-invite__msg, .ap-phases li { border-radius: var(--ap-r-ctl); }
.pl-li, .pl-other { box-shadow: none; }
.pl-legend, .pl-row { border-color: var(--ap-line-strong); }
.ap-next, .pl-lead, .pl-cta { border-radius: var(--ap-r-card); box-shadow: var(--ap-shadow-hero); }
.ap-callout, .ap-invite__msg { background: var(--ap-info-bg); color: #27272a; border: 0; padding: .75rem 1rem; }
.ap-choice { border-color: var(--ap-line-strong); }
.ap-choice:has(input:checked), .ap-choice.is-on { border-color: var(--ap-primary); background: var(--ap-primary-soft); }
.ap-input, .ap select.ap-input, .ap textarea.ap-input { border-radius: var(--ap-r-ctl); border-color: #d4d4d8; color: #09090b; }
.ap-input:focus { outline: 3px solid #93c5fd; outline-offset: 0; border-color: var(--ap-primary); }
.ap-btn, .ap-next__btn, .ap-seg, .ap-seg a { border-radius: var(--ap-r-ctl); }
.ap-btn { font-size: .875rem; }
.ap-btn--xl { font-size: 1rem; }
.ap-avatar { display: inline-flex; overflow: hidden; }
.ap-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ap-avatar--initials { font-weight: 600; color: #1d4ed8; }

/* =====================================================================================================================
   UX-UMBAU (Bewertung docs/putzkraftportal-ux-bewertung.md): eine Ansicht zur Zeit, ein naechster Schritt, Rest eingeklappt.
   ===================================================================================================================== */
/* Umschalter mit Knoepfen (Liste · Kalender · Karte) - sieht aus wie .ap-seg mit Links */
.ap-seg button { appearance: none; border: 0; background: transparent; min-height: 2.75rem; padding: .5rem .9rem; border-radius: var(--ap-r-ctl); font-size: .875rem; font-weight: 600; color: #3f3f46; cursor: pointer; white-space: nowrap; }
.ap-seg button.is-active { background: #fff; color: #09090b; box-shadow: 0 1px 3px rgb(9 9 11 / .12); }
.ap-seg button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pl-views { margin: 0; align-self: start; }
.pl [data-pl-panel][hidden], .jm[hidden], .ap-jobcards[hidden] { display: none !important; }
.pl--only-timeline .pl-card--timeline[hidden] { display: block !important; }
.pl-kpis { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 40rem) { .pl-kpis { grid-template-columns: repeat(3, 1fr); gap: .4rem; } .pl-kpi { padding: .6rem .65rem; } .pl-kpi strong { font-size: 1rem; } .pl-kpi small { display: none; } }
a.pl-li__main { text-decoration: none; color: inherit; display: grid; align-content: center; min-height: 2.75rem; }
/* Abwaehlen am Handy nur ueber das Haekchen in der Liste - das kleine x im Kalender gibt es nur mit Maus */
@media (hover: none), (max-width: 40rem) { .pl-x { display: none; } }
.pl-controls summary { gap: .6rem; } .pl-controls summary small { color: #52525b; font-weight: 500; }
.pl-confirm { list-style: none; margin: .8rem 0; padding: 0; display: grid; gap: .4rem; max-height: 45vh; overflow: auto; }
.pl-confirm li { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .6rem .75rem; border: 1px solid var(--ap-line-strong); border-radius: var(--ap-r-ctl); }
.pl-confirm li span { display: grid; min-width: 0; } .pl-confirm small { color: #52525b; font-size: .8125rem; } .pl-confirm b { white-space: nowrap; }
.pl-sheet__actions .ap-btn { flex: 1 1 100%; }

/* Neue Jobs: Werkzeugleiste */
.jm-tools { display: grid; gap: .6rem; }
.jm-tools__row { display: flex; gap: .6rem; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.jm-sort { display: grid; gap: .2rem; font-size: .8125rem; font-weight: 600; color: #3f3f46; flex: 1 1 11rem; }
.jm-tools .pl-views { flex: 0 0 auto; }
.jm .pl-map { border-radius: var(--ap-r-card) var(--ap-r-card) 0 0; }

/* Zaehler an den Reitern, Hilfe-Knopf */
.ap-count { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 999px; background: #b91c1c; color: #fff; font-size: .6875rem; font-weight: 600; line-height: 1; }
.ap-nav a .ap-count { margin-left: auto; }
.ap-tabbar a { position: relative; } .ap-tabbar a .ap-count { position: absolute; top: .3rem; left: calc(50% + .45rem); }
.ap-topbar__help { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: auto; border-radius: 999px; font-weight: 600; color: #3f3f46; border: 1px solid var(--ap-line-strong); background: #fff; text-decoration: none; }
.ap-topbar__help + .ap-topbar__rating { margin-left: .5rem; }

/* Deine ersten Schritte */
.ap-steps__list { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .2rem; }
.ap-steps__list li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; align-items: start; padding: .55rem 0; color: #52525b; }
.ap-steps__list li > div { display: grid; gap: .35rem; justify-items: start; }
.ap-steps__no { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: #e4e4e7; color: #3f3f46; font-weight: 600; font-size: .875rem; }
.ap-steps__list li.is-done { color: #065f46; } .ap-steps__list li.is-done .ap-steps__no { background: #d1fae5; color: #065f46; } .ap-steps__list li.is-done strong { font-weight: 600; }
.ap-steps__list li.is-current { color: #09090b; } .ap-steps__list li.is-current .ap-steps__no { background: var(--ap-primary); color: #fff; }
.ap-steps__list li.is-current small { color: #52525b; }

/* Begriffe mit Erklaerung, einklappbare Karten */
.ap-term { font-size: .875rem; } .ap-term > summary { display: inline-flex !important; min-height: 2.75rem; color: #1d4ed8; font-weight: 600; gap: .3rem; }
.ap-term > summary::before { content: none !important; } .ap-term p { margin: 0 0 .5rem; color: #3f3f46; padding: .6rem .8rem; background: var(--ap-info-bg); border-radius: var(--ap-r-ctl); }
details.ap-fold > summary { list-style: none; gap: .2rem; } details.ap-fold > summary > span { display: grid; gap: .1rem; flex: 1; }
details.ap-fold > summary strong { font-size: 1.1rem; font-weight: 600; color: #09090b; } details.ap-fold > summary small { color: #52525b; font-weight: 500; }
details.ap-fold > summary::before { order: 2; margin: 0 0 0 .5rem; font-size: 1.25rem; color: #52525b; }
details.ap-fold[open] > summary { margin-bottom: .6rem; }
.ap-fold-plain > summary { font-weight: 600; color: #1d4ed8; gap: .5rem; flex-wrap: wrap; } .ap-fold-plain > summary small { color: #52525b; font-weight: 500; }
.ap-fold-plain[open] > summary { margin-bottom: .6rem; }
.ap-advanced { margin: .4rem 0 .8rem; } .ap-advanced > summary { font-weight: 600; color: #3f3f46; } .ap-advanced > summary small { font-weight: 500; color: #52525b; margin-left: .3rem; }
.ap-faq details { border-bottom: 1px solid var(--ap-line-strong); } .ap-faq details:last-child { border-bottom: 0; }
.ap-faq summary { font-weight: 600; color: #09090b; } .ap-faq p { margin: 0 0 .9rem; color: #3f3f46; }
.ap-faq summary::before, .ap-advanced > summary::before, .ap-fold-plain > summary::before, .ap-loginlink > summary::before { content: "›"; display: inline-block; margin-right: .5rem; font-weight: 700; transition: transform .15s; }
.ap-faq details[open] > summary::before, .ap-advanced[open] > summary::before, .ap-fold-plain[open] > summary::before, .ap-loginlink[open] > summary::before { transform: rotate(90deg); }
.ap-loginlink { margin-top: .8rem; } .ap-loginlink > summary { font-weight: 600; color: #1d4ed8; } .ap-loginlink form { display: grid; gap: .7rem; margin-top: .4rem; }
.ap-pwfield { display: flex; gap: .4rem; } .ap-pwfield .ap-input { flex: 1; min-width: 0; }

/* Jobseite: Hauptaktion im Kopf, Fortschritt klebt unten */
.ap-jobhead__cta { display: grid; gap: .45rem; margin-top: 1rem; } .ap-jobhead__cta .ap-btn { width: 100%; }
.ap-btn[disabled].ap-btn--xl { opacity: 1; background: #f4f4f5; color: #52525b; border-color: #e4e4e7; }
.ap-scale__done { display: none; font-size: .8125rem; font-weight: 600; color: #065f46; }
.ap-scale[data-checked="1"] .ap-scale__ok { display: none; } .ap-scale[data-checked="1"] .ap-scale__done { display: inline; }
.ap-progress { position: sticky; bottom: 5.2rem; z-index: 20; display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem .7rem 1rem; border-radius: var(--ap-r-card); background: #09090b; color: #fff; box-shadow: var(--ap-shadow-hero); }
.ap-progress > div { flex: 1; display: grid; gap: .35rem; min-width: 0; } .ap-progress strong { font-size: .875rem; }
.ap-progress__bar { display: block; height: .4rem; border-radius: 999px; background: rgb(255 255 255 / .25); overflow: hidden; } .ap-progress__bar i { display: block; height: 100%; width: 0; background: #34d399; transition: width .25s; }
.ap-progress .ap-btn { white-space: nowrap; } .ap-progress:not(.is-complete) .ap-btn--primary { background: #3f3f46; border-color: #3f3f46; }
.ap-progress--single { background: transparent; box-shadow: none; padding: 0; } .ap-progress--single .ap-btn { width: 100%; box-shadow: var(--ap-shadow-hero); }
@media (min-width: 64rem) { .ap-progress { bottom: 1rem; } }

/* Profil */
.ap-presets { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; } .ap-presets .ap-btn.is-active { border-color: var(--ap-primary); background: var(--ap-primary-soft); color: #1d4ed8; }
.ap-linkrow { display: flex; align-items: center; gap: .6rem; text-decoration: none; } .ap-linkrow > span:first-child { flex: 1; display: grid; } .ap-linkrow small { color: #52525b; }
.ap-profilefoot { display: grid; gap: .1rem; margin-top: 1.5rem; } .ap-profilefoot a { display: flex; align-items: center; min-height: 2.75rem; color: #1d4ed8; font-weight: 600; text-decoration: none; }
.ap-autosave__state { margin-top: .6rem; }

/* Abrechnung: Einrichtung in Schritten, Rechnung als Ablauf */
.inv-setup fieldset { border: 0; margin: 0 0 1rem; padding: 0; display: grid; gap: .7rem; min-width: 0; }
.inv-setup legend { font-size: 1.1rem; font-weight: 600; color: #09090b; padding: 0; margin-bottom: .6rem; }
.inv-setup:not(.is-wizard) legend { font-size: .875rem; }
.inv-countries { display: grid; gap: .5rem; } .inv-question { font-weight: 600; color: #09090b; margin: 0; }
.inv-setup .ap-choice small em { display: block; font-style: normal; font-size: .75rem; color: #52525b; margin-top: .15rem; }
.inv-setup__dots, .inv-flow { list-style: none; margin: .8rem 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.inv-setup__dots li, .inv-flow li { padding: .5rem .6rem; border-radius: var(--ap-r-ctl); background: #f4f4f5; color: #52525b; font-size: .8125rem; font-weight: 600; display: grid; gap: .1rem; }
.inv-flow li small { font-weight: 500; font-size: .75rem; }
.inv-setup__dots li.is-now, .inv-flow li.is-now { background: var(--ap-primary); color: #fff; } .inv-flow li.is-now small { color: #dbeafe; }
.inv-setup__dots li.is-done, .inv-flow li.is-done { background: #d1fae5; color: #065f46; } .inv-flow li.is-done strong::before { content: "✓ "; }
.inv-setup__nav { justify-content: space-between; } .inv-setup__nav [hidden] { display: none; }
.ap-callout--ok { background: #d1fae5; color: #065f46; }
.jm-tools { grid-template-columns: minmax(0, 1fr); } .jm-tools > *, .jm-tools__row > * { min-width: 0; }
.ap-page > *, .ap-page--planner > * { min-width: 0; }
@media (max-width: 40rem) {
    .ap-seg a, .ap-seg button { white-space: normal; line-height: 1.2; padding: .4rem .5rem; }
    .pl-cta { padding: .6rem .7rem .6rem .9rem; gap: .6rem; } .pl-cta strong { font-size: .875rem; } .pl-cta span { font-size: .75rem; line-height: 1.3; }
    .pl-cta .ap-btn { padding: .5rem .8rem; white-space: nowrap; }
}
.ap-jobcards { grid-template-columns: minmax(0, 1fr); } .ap-jobcard { min-width: 0; }
.ap-jobcard__foot { flex-wrap: wrap; gap: .3rem .6rem; } .ap-jobcard__foot .ap-badge { white-space: normal; }
.ap-jobcard__go { margin-left: auto; white-space: nowrap; }
.inv-flow li, .inv-setup__dots li { align-content: start; }
@media (max-width: 40rem) { .ap-inline-form .ap-btn { width: 100%; } }
.pl-li__main { min-height: 2.75rem; }
/* hidden heisst ueberall versteckt - auch wenn eine Klasse display setzt (Schritte der Einrichtung, laenderabhaengige Felder) */
.ap [hidden] { display: none !important; }
/* Zeiten am Handy: Tag in der ersten Zeile, von-bis darunter - nichts laeuft rechts raus (Felder sind seit 16px Schrift breiter) */
@media (max-width: 40rem) {
    .ap-weekgrid__row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .3rem .4rem; padding: .45rem 0; border-bottom: 1px solid var(--ap-line-strong); }
    .ap-weekgrid__day { grid-column: 1 / -1; min-height: 2.75rem; font-size: 1rem; }
    .ap-weekgrid__row:has(input[type=checkbox]:not(:checked)) > :not(.ap-weekgrid__day) { display: none; }
    .ap-presets { display: grid; grid-template-columns: 1fr 1fr; } .ap-presets .ap-btn { padding-inline: .4rem; }
}

/* =====================================================================================================================
   RELAYSTAY-CI (22.09.2026): dasselbe Erscheinungsbild wie das RelayStay-Admin (Filament 4: Inter, Zink-Grau, 8px-Radien,
   weisse Flaechen mit feinem Ring + kleinem Schatten, flache Knoepfe, Menue mit grauer Aktiv-Flaeche und farbigem Label) -
   nur die Primaerfarbe ist BLAU statt Gruen. Werte sind am Admin ausgemessen (docs: README "RelayStay-CI").
   Gruen bleibt im Portal die Statusfarbe fuer "zugesagt / laeuft / bezahlt" (in RelayStay: success).
   ===================================================================================================================== */
.ap {
    --ap-primary: #2563eb; --ap-primary-hover: #3b82f6; --ap-primary-soft: #eff6ff; --ap-primary-text: #1d4ed8;
    --ap-ink: #09090b; --ap-muted: #52525b; --ap-bg: #fafafa; --ap-card: #fff;
    --ap-line: rgb(9 9 11 / .05); --ap-line-strong: rgb(9 9 11 / .1);
    --ap-info: #1d4ed8; --ap-info-bg: #eff6ff; --ap-ok: #15803d; --ap-ok-bg: #f0fdf4; --ap-warn: #92400e; --ap-warn-bg: #fffbeb; --ap-err: #b91c1c; --ap-err-bg: #fef2f2;
    --ap-r-ctl: .5rem; --ap-r-card: .5rem;
    --ap-ring: 0 0 0 1px rgb(9 9 11 / .05); --ap-ring-strong: 0 0 0 1px rgb(9 9 11 / .1);
    --ap-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); --ap-shadow-hero: var(--ap-shadow);
    --ap-sidebar: 20rem; --ap-topbar: 4rem;
    background: var(--ap-bg); color: var(--ap-ink);
}

/* ---- Rahmen: Kopfzeile und Menue wie im Admin ---- */
.ap-topbar { border-bottom: 0; box-shadow: var(--ap-ring), 0 1px 2px 0 rgb(0 0 0 / .05); padding: 0 1rem; }
@media (min-width: 64rem) { .ap-topbar { padding: 0 1.5rem; } }
.ap-brandtext { font-weight: 700; font-size: 1.25rem; letter-spacing: -.025em; color: #09090b; } .ap-brandtext span { color: var(--ap-primary); font-weight: 600; }
.ap-topbar__title { color: #52525b; font-size: .875rem; font-weight: 500; }
.ap-topbar__help { width: 2.25rem; height: 2.25rem; border: 0; background: transparent; color: #71717a; box-shadow: var(--ap-ring-strong); font-weight: 600; }
.ap-topbar__help:hover { background: #fafafa; color: #3f3f46; }
.ap-avatar--initials { background: #09090b; color: #fff; font-weight: 600; letter-spacing: 0; }      /* Avatar wie im Admin: dunkler Kreis, weisse Initialen */
.ap-avatar--lg.ap-avatar--initials { background: #f4f4f5; color: #3f3f46; }
.ap-sidebar { background: transparent; border-right: 0; }
.ap-nav { padding: 2rem 1.5rem; gap: .25rem; display: grid; align-content: start; }
.ap-sidebar .ap-nav a, .ap-nav a { gap: .75rem; padding: .5rem; min-height: 2.75rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; color: #3f3f46; background: transparent; }
.ap-nav a svg { width: 1.5rem; height: 1.5rem; color: #a1a1aa; }
.ap-nav a:hover { background: #f4f4f5; }
.ap-nav a.is-active { background: #f4f4f5; color: var(--ap-primary); } .ap-nav a.is-active svg { color: var(--ap-primary); }
.ap-sidebar__user { border-top: 1px solid rgb(9 9 11 / .05); margin: 0 1.5rem; padding: 1rem .5rem 1.5rem; }
.ap-sidebar__user strong { font-size: .875rem; font-weight: 600; } .ap-sidebar__email { font-size: .75rem; color: #71717a; }
@media (max-width: 63.99rem) {
    .ap-tabbar { border-top: 0; box-shadow: 0 -1px 0 rgb(9 9 11 / .05), 0 -1px 2px rgb(0 0 0 / .05); }
    .ap-tabbar a { color: #52525b; font-weight: 500; border-radius: .5rem; } .ap-tabbar a svg { color: #a1a1aa; }
    .ap-tabbar a.is-active { background: #f4f4f5; color: var(--ap-primary); } .ap-tabbar a.is-active svg { color: var(--ap-primary); }
}
.ap-main { max-width: 80rem; } @media (min-width: 64rem) { .ap-main { padding-inline: 2rem; } }

/* ---- Schrift: Seitenkopf wie .fi-header ---- */
.ap-title, h1.ap-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -.025em; line-height: 2.25rem; color: #09090b; }
@media (max-width: 40rem) { .ap-title, h1.ap-title { font-size: 1.5rem; line-height: 2rem; } }
.ap-lead { color: #52525b; font-size: .875rem; line-height: 1.25rem; }
.ap-card .ap-lead, .ap-mine-empty .ap-lead { font-size: .875rem; line-height: 1.25rem; }
.ap-meta, .ap-field small, .ap-field label small { color: #71717a; }
.ap-card__title, h2.ap-card__title, .ap-subtitle, h2.ap-subtitle, .pl-card__head h2, .pl-others h2, details.ap-fold > summary strong { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; color: #09090b; }
.pl-card__head p, details.ap-fold > summary small { color: #71717a; font-size: .875rem; }
.ap-todo__group, .pl-lday h3, .ap-checklist__group legend, .ap-facts dt { color: #71717a; font-weight: 500; letter-spacing: .02em; }
.ap a:not([class]) { color: var(--ap-primary-text); font-weight: 500; }

/* ---- Flaechen wie .fi-section ---- */
.ap-card, .pl-card, .pl-kpi, .pl-controls, .ap-mine-list, .ap-jobcard, .ap-simple .ap-card {
    background: #fff; border: 0; border-radius: .5rem; box-shadow: var(--ap-ring), var(--ap-shadow);
}
.ap-card { padding: 1.5rem; } @media (max-width: 40rem) { .ap-card { padding: 1rem; } }
.pl-li, .pl-other, .pl-confirm li, .ap-choice { border: 0; box-shadow: var(--ap-ring-strong); border-radius: .5rem; background: #fff; }
.ap-choice:has(input:checked), .ap-choice.is-on { box-shadow: 0 0 0 2px var(--ap-primary); background: var(--ap-primary-soft); }
.ap-jobcard:hover, .ap-card--link:hover { box-shadow: var(--ap-ring-strong), var(--ap-shadow); background: #fafafa; }
.ap-jobcard.is-mine { background: #fff; box-shadow: 0 0 0 1px rgb(21 128 61 / .25), var(--ap-shadow); }
.ap-jobpage--mine .ap-jobhead, .ap-jobpage--running .ap-jobhead, .ap-jobpage--done .ap-jobhead { background: #fff; border: 0; box-shadow: 0 0 0 1px rgb(21 128 61 / .25), var(--ap-shadow); }
.ap-jobcard__go { color: var(--ap-primary-text); font-weight: 500; }

/* Hervorgehobene Flaechen: flach statt Verlauf. Naechster Job = weisse Karte mit den normalen Knoepfen. */
.ap-next, .ap-next.is-today { background: #fff !important; color: #09090b; box-shadow: var(--ap-ring), var(--ap-shadow); padding: 1.5rem; border-radius: .5rem; }
@media (max-width: 40rem) { .ap-next, .ap-next.is-today { padding: 1rem; } }
.ap-next .ap-next__eyebrow { color: var(--ap-primary-text); opacity: 1; letter-spacing: .04em; font-weight: 600; } .ap-next.is-today .ap-next__eyebrow { color: #15803d; }
.ap-next .ap-next__where { color: #09090b; font-size: 1.25rem; font-weight: 700; } .ap-next .ap-next__address, .ap-next .ap-next__window { color: #52525b; }
.ap-next a.ap-next__btn, .ap-next__btn { min-height: 2.75rem; border-radius: .5rem; border: 0; background: #fff; color: #09090b; box-shadow: var(--ap-ring-strong); font-size: .875rem; font-weight: 500; }
.ap-next a.ap-next__btn:hover { background: #fafafa; }
.ap-next a.ap-next__btn--main, .ap-next.is-today a.ap-next__btn--main { background: var(--ap-primary); color: #fff; box-shadow: none; }
.ap-next a.ap-next__btn--main:hover, .ap-next.is-today a.ap-next__btn--main:hover { background: var(--ap-primary-hover); color: #fff; }
.pl-lead { background: var(--ap-primary-soft); color: #1e3a8a; box-shadow: 0 0 0 1px rgb(37 99 235 / .15); border-radius: .75rem; }
.pl-lead p, .pl-lead strong { color: #1e3a8a; } .pl-lead__tag { background: #dbeafe; color: #1d4ed8; border-radius: .375rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pl-cta { background: #09090b; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .2); border-radius: .75rem; animation: none; } .pl-cta span { color: #d4d4d8; }
.pl-cta .ap-btn, .ap-progress.is-complete .ap-btn--primary { background: var(--ap-primary); color: #fff; border: 0; font-weight: 500; box-shadow: none; }
.ap-progress { background: #09090b; border-radius: .75rem; } .ap-progress:not(.is-complete) .ap-btn--primary { background: #3f3f46; }

/* ---- Knoepfe wie .fi-btn ---- */
.ap-btn, .ap a.ap-btn { min-height: 2.75rem; padding: .5rem .75rem; border-radius: .5rem; border: 0; background: #fff; color: #09090b; font-size: .875rem; font-weight: 500; letter-spacing: 0;
    box-shadow: var(--ap-ring-strong); gap: .375rem; transition: background-color .075s; }
.ap-btn:hover, .ap a.ap-btn:hover { background: #fafafa; }
@media (min-width: 64rem) and (hover: hover) { .ap-btn, .ap a.ap-btn { min-height: 2.25rem; } .ap-input, .ap select.ap-input { min-height: 2.25rem; font-size: .875rem; } }
.ap-btn--block { width: 100%; }
.ap-center-note { margin-top: 1rem; text-align: center; }
.ap-btn--primary, .ap a.ap-btn--primary, .ap-btn--primary:visited { background: var(--ap-primary); color: #fff; box-shadow: none; }
.ap-btn--primary:hover, .ap a.ap-btn--primary:hover { background: var(--ap-primary-hover); color: #fff; }
.ap-btn--danger, .ap a.ap-btn--danger { background: #dc2626; color: #fff; box-shadow: none; } .ap-btn--danger:hover { background: #ef4444; }
.ap-btn--ghost, .ap-btn--ghost-danger { background: transparent; box-shadow: none; } .ap-btn--ghost { color: #3f3f46; } .ap-btn--ghost-danger { color: #dc2626; font-weight: 500; }
.ap-btn--ghost:hover { background: #f4f4f5; } .ap-btn--ghost-danger:hover { background: #fef2f2; }
.ap-btn--xl { min-height: 3rem; font-size: 1rem; font-weight: 600; padding: .75rem 1rem; }
.ap-btn[disabled], .ap-btn[disabled].ap-btn--xl { opacity: 1; background: #f4f4f5; color: #71717a; box-shadow: none; cursor: not-allowed; }
.ap-btn:focus-visible, .ap-seg a:focus-visible, .ap-seg button:focus-visible, .ap-back:focus-visible, .ap summary:focus-visible, .ap-nav a:focus-visible { outline: 2px solid var(--ap-primary); outline-offset: 2px; }
.ap-presets .ap-btn.is-active { box-shadow: 0 0 0 2px var(--ap-primary); background: var(--ap-primary-soft); color: #1d4ed8; }
.ap-back, .pl-link, .ap-term > summary, .ap-loginlink > summary, .ap-fold-plain > summary, .ap-profilefoot a { color: var(--ap-primary-text); font-weight: 500; }

/* ---- Felder wie .fi-input-wrp ---- */
.ap-input, .ap select.ap-input, .ap textarea.ap-input { border: 0; border-radius: .5rem; background: #fff; color: #09090b; box-shadow: var(--ap-ring-strong), 0 1px 2px 0 rgb(0 0 0 / .05); padding-inline: .75rem; }
.ap-input:focus, .ap select.ap-input:focus, .ap textarea.ap-input:focus { outline: 0; box-shadow: 0 0 0 2px var(--ap-primary); }
.ap-input::placeholder { color: #a1a1aa; }
.ap-field label, .ap-inline-form label { font-size: .875rem; font-weight: 500; color: #09090b; }
.ap input[type=checkbox], .ap input[type=radio] { accent-color: var(--ap-primary); width: 1rem; height: 1rem; }

/* ---- Reiter wie .fi-tabs: weisse Leiste mit Ring, aktiver Reiter grau hinterlegt mit blauem Text ---- */
.ap-seg { background: #fff; padding: .5rem; gap: .25rem; border-radius: .75rem; box-shadow: var(--ap-ring), var(--ap-shadow); }
.ap-seg a, .ap-seg button { border-radius: .5rem; font-size: .875rem; font-weight: 500; color: #71717a; background: transparent; box-shadow: none; min-height: 2.25rem; }
@media (max-width: 63.99rem) { .ap-seg a, .ap-seg button { min-height: 2.75rem; } }
.ap-seg a:hover, .ap-seg button:hover { background: #fafafa; color: #3f3f46; }
.ap-seg a.is-active, .ap-seg button.is-active { background: #fafafa; color: var(--ap-primary); box-shadow: none; }

/* ---- Badges wie .fi-badge ---- */
.ap-badge { border-radius: .375rem; padding: .125rem .375rem; font-size: .75rem; font-weight: 500; line-height: 1rem; letter-spacing: -.01em; background: #fafafa; color: #52525b; box-shadow: inset 0 0 0 1px rgb(82 82 91 / .1); }
.ap-badge--ok { background: #f0fdf4; color: #15803d; box-shadow: inset 0 0 0 1px rgb(22 163 74 / .1); }
.ap-badge--warn { background: #fffbeb; color: #b45309; box-shadow: inset 0 0 0 1px rgb(217 119 6 / .1); }
.ap-badge--info { background: #eff6ff; color: #1d4ed8; box-shadow: inset 0 0 0 1px rgb(37 99 235 / .1); }
.ap-badge--run { background: #15803d; color: #fff; box-shadow: none; }
.ap-count { background: #dc2626; }

/* ---- Hinweise wie die Meldungsleisten im Admin ---- */
.ap-callout, .ap-invite__msg, .ap-term p { border-radius: .75rem; border: 0; padding: .6rem .9rem; font-size: .875rem; }
.ap-callout--info, .ap-callout, .ap-invite__msg, .ap-term p { background: #eff6ff; color: #1e3a8a; }
.ap-callout--warn { background: #fffbeb; color: #78350f; } .ap-callout--ok { background: #f0fdf4; color: #14532d; }
.ap-flash--ok, .ap-flash.is-ok { background: #f0fdf4; color: #14532d; } 
.ap-steps__list li.is-current .ap-steps__no, .inv-setup__dots li.is-now, .inv-flow li.is-now { background: var(--ap-primary); color: #fff; } .inv-flow li.is-now small { color: #dbeafe; }
.ap-steps__no, .inv-setup__dots li, .inv-flow li { background: #f4f4f5; color: #52525b; }
.ap-steps__list li.is-done .ap-steps__no, .inv-setup__dots li.is-done, .inv-flow li.is-done { background: #f0fdf4; color: #15803d; }
.ap-phases li.is-now { background: var(--ap-primary); }

/* ---- Schieberegler in Blau ---- */
.pl-slider input[type=range]::-webkit-slider-thumb, .ap-scale input[type=range]::-webkit-slider-thumb { border-color: var(--ap-primary); }
.pl-slider input[type=range]::-moz-range-thumb, .ap-scale input[type=range]::-moz-range-thumb { border-color: var(--ap-primary); }
.pl-slider output { background: var(--ap-primary); border-radius: .375rem; }

/* ---- Anmeldeseite wie .fi-simple-layout: Karte mittig, Logo darueber ---- */
.ap-simple { max-width: 28rem; } .ap-simple .ap-card { padding: 2rem; box-shadow: var(--ap-ring), var(--ap-shadow); } .ap-simple .ap-title { font-size: 1.5rem; text-align: center; } .ap-simple .ap-lead { text-align: center; font-size: .875rem; }
.ap h3.ap-todo__group, .ap .pl-lday h3, .ap .ap-checklist__group legend { color: #71717a; font-weight: 500; font-size: .75rem; letter-spacing: .04em; }
.ap-todo__sum span { border-radius: .375rem; background: #fafafa; color: #3f3f46; box-shadow: inset 0 0 0 1px rgb(82 82 91 / .1); font-size: .75rem; padding: .125rem .5rem; }
.ap-todo__sum span b { color: #09090b; }

/* ---- Backoffice: derselbe Rahmen wie Portal und RelayStay-Admin (vorher: eigener dunkler Kopf) ---- */
.bo { background: var(--ap-bg); }
.ap-brandsuffix { font-size: .6875rem; font-weight: 600; letter-spacing: .02em; line-height: 1; padding: .25rem .5rem; border-radius: 999px; background: #f4f4f5; color: #52525b; white-space: nowrap; }
.bo-by { margin: 0; font-size: .8125rem; color: #71717a; }
.bo-main { max-width: 80rem; margin: 0; padding-top: 2rem; display: grid; gap: 1.5rem; align-content: start; }
.bo-menu { min-width: 2.75rem; min-height: 2.75rem; padding: 0; justify-content: center; margin-right: .5rem; } @media (min-width: 64rem) { .bo-menu { display: none; } }
.bo .ap-sidebar.is-open { background: #fff; }
.bo .ap-sidebar { top: var(--ap-topbar); }
/* Kennzahlen wie das Stats-Widget */
.bo-tiles { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem; }
.bo-tiles .pl-kpi { padding: 1.5rem; display: grid; gap: .5rem; } .bo-tiles .pl-kpi span { font-size: .875rem; font-weight: 500; color: #71717a; text-transform: none; letter-spacing: 0; }
.bo-tiles .pl-kpi strong { font-size: 1.875rem; font-weight: 600; letter-spacing: -.025em; color: #09090b; line-height: 2.25rem; }
.bo-tiles .is-warn { background: #fffbeb; box-shadow: 0 0 0 1px rgb(217 119 6 / .25), var(--ap-shadow); }
/* Tabellen wie .fi-ta: grauer Kopf, feine Trennlinien, buendig in der Flaeche */
.bo .ap-card { overflow: hidden; }
.bo-tablewrap { margin: 1rem -1.5rem -1.5rem; overflow-x: auto; border-top: 1px solid #e4e4e7; } .bo .ap-card > .bo-tablewrap:first-child { margin-top: -1.5rem; border-top: 0; }
.bo-tablewrap + .ap-meta { margin: 2.25rem 0 0 !important; }
.bo-table { font-size: .875rem; } .bo-table thead { background: #fafafa; }
.bo-table th { font-size: .875rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: #09090b; padding: .875rem .75rem; border-bottom: 1px solid #e4e4e7; }
.bo-table td { padding: 1rem .75rem; border-bottom: 1px solid #e4e4e7; color: #09090b; } .bo-table tr:last-child td { border-bottom: 0; }
.bo-table th:first-child, .bo-table td:first-child { padding-left: 1.5rem; } .bo-table th:last-child, .bo-table td:last-child { padding-right: 1.5rem; }
.bo-table td strong { font-weight: 500; } .bo-table td small { color: #71717a; font-size: .875rem; }
.bo-table tbody tr:hover, .bo-table tr:hover td { background: #fafafa; }
.bo-main table .ap-btn { min-height: 2rem; padding: .375rem .625rem; font-size: .8125rem; }
/* "Du siehst das Portal als ..." - schmale Leiste wie der Superadmin-Hinweis im Admin */
.bo-banner { background: #1e3a8a; color: #fff; font-size: .8125rem; padding: .35rem 1rem; gap: .75rem; }
.bo-banner button { background: #fff; color: #1e3a8a; border-radius: .375rem; font-weight: 500; padding: .2rem .6rem; font-size: .75rem; }

/* ---- Schrift wie im Admin: am Desktop 14px Fliesstext, Gewichte 400/500/600 (nur Seitentitel 700) ---- */
@media (min-width: 64rem) { .ap-main { font-size: .875rem; line-height: 1.25rem; } .ap-main .ap-lead { font-size: 1.125rem; line-height: 1.75rem; } .ap-card .ap-lead { font-size: .875rem; } }
.ap strong, .ap b { font-weight: 600; }
.ap-jobhead__price, .ap-jobcard__price, .ap-mine-row__price, .pl-li__side b { font-weight: 600; letter-spacing: -.02em; }
.ap-jobcard__price, .ap-jobcard__top strong, .ap-jobcard__window, .pl-li__main strong, .ap-next__when strong { font-weight: 600; }

/* =====================================================================================================================
   TYPO UND ABSTAENDE (23.09.2026) - ein System statt gewachsener Einzelwerte.
   Gewichte: 400 Text und Werte · 500 Labels, Zeilentitel, Knoepfe · 600 Kartentitel, Preis · 700 nur Seitentitel/Tuercode.
   Zeilenhoehen: 12px/16 · 14px/20 · 16px/24 · Kartentitel 16/24 · Seitentitel 24/32 (Desktop 30/36).
   Abstaende IN einer Karte: Bloecke 12px · Titel->Beschreibung 4px · vor Gruppenlabel 16px, danach 4px.
   Abstaende ZWISCHEN Karten: 16px am Handy, 24px am Desktop - ueberall (auch Profil-Reiter, Backoffice).
   ===================================================================================================================== */
/* -- Abstaende zwischen Karten -- */
.ap-page, .ap-page--form, [data-ap-ppanel], .bo-main { display: grid; gap: 1rem; align-content: start; }
[data-ap-ppanel] > *, .ap-page > * { margin-top: 0; margin-bottom: 0; }
@media (min-width: 64rem) { .ap-page, .ap-page--form, [data-ap-ppanel], .bo-main { gap: 1.5rem; } }
.ap-page > .ap-release, .ap-jobpage > .ap-release { margin-top: 0; }
.ap-page-head { margin: 0; }
/* -- Abstaende in einer Karte -- */
.ap .ap-card > *, .ap .ap-next > * { margin-bottom: 0; }
.ap .ap-card > * + *, .ap .ap-next > * + * { margin-top: .75rem; }
.ap .ap-card > .ap-card__title + p, .ap .ap-card > .ap-card__title + .ap-meta, .ap .ap-card > .ap-title + p, .ap .ap-next > p + p, .ap .ap-next > h2 + p, .ap .ap-next > p + h2 { margin-top: .25rem; }
.ap .ap-card > h3, .ap .ap-card > .ap-todo__group { margin-top: 1rem; } .ap .ap-card > h3 + *, .ap .ap-card > .ap-todo__group + * { margin-top: .25rem; }
.ap .ap-card > .ap-term { margin-top: .25rem; } .ap .ap-card > .ap-jobhead__cta { margin-top: 1rem; }
.ap details.ap-fold[open] > summary { margin-bottom: 0; } .ap details.ap-fold > summary + * { margin-top: .75rem; }
.ap .ap-card > .ap-field + .ap-field, .ap .ap-card > .ap-limits { margin-top: 1rem; }
.bo .ap-card > .bo-tablewrap { margin-top: 1rem; } .bo .ap-card > .bo-tablewrap:first-child { margin-top: -1.5rem; }
.ap-checklist__group { margin: 1rem 0 0; padding: 0; border: 0; } .ap-checklist__group legend { padding: 0; margin-bottom: .25rem; }
.ap-checklist__item { padding: .625rem 0; } .ap-todo__list { gap: 0; } .ap-todo__list li { padding: .5rem 0 .5rem 1.75rem; } .ap-todo__list li::before { top: .75rem; }
.ap-facts { gap: .75rem 1rem; margin: 1rem 0 0; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.ap-flow { gap: .75rem; margin: 0; } .ap-phases { margin: 0; }
/* -- Gewichte und Zeilenhoehen -- */
.ap { line-height: 1.5rem; }
.ap-meta, .ap small, .ap-field small, .ap-lead--sm, .pl-card__head p, .ap-flow span, .ap-todo__list small, .ap-callout, .ap-term p { font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.ap-badge, .ap-count, .ap-scale__ticks, .pl-tick, .ap-tabbar a { line-height: 1rem; }
.ap-facts dt, .ap h3.ap-todo__group, .ap .ap-checklist__group legend, .ap .pl-lday h3 { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #71717a; text-transform: none; letter-spacing: 0; }
.ap-facts dd { margin: .125rem 0 0; font-size: 1rem; line-height: 1.5rem; font-weight: 400; color: #09090b; } .ap-facts dd.ap-meta, .ap-facts dd small { font-weight: 400; color: #71717a; }
.ap-checklist__item--check label, .ap-checklist__item--count label, .ap-checklist__item label { font-weight: 400; }
.ap-scale__head span { font-weight: 500; } .ap-scale__head output { font-weight: 500; } .ap-scale__ok { font-weight: 500; }
.ap-flow b, .ap-phases strong, .ap-steps__list strong, .pl-li__main strong, .ap-mine-row__main strong, .ap-choice strong, .inv-job strong, .inv-row strong, .ap-linkrow strong, .ap-token-list__item strong { font-weight: 500; }
.ap-flow b { font-size: .875rem; line-height: 1.25rem; } .ap-flow li::before { font-weight: 500; }
.ap details > summary, .ap-release summary, .ap-timeform summary, .ap-faq summary, .ap-advanced > summary { font-weight: 500; }
details.ap-fold > summary strong { font-weight: 600; } details.ap-fold > summary small { font-weight: 400; font-size: .875rem; line-height: 1.25rem; }
.ap-callout strong, .ap-offer strong { font-weight: 500; }
.ap-access__code { font-weight: 700; line-height: 2.5rem; letter-spacing: .08em; }
.ap-jobhead__price { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.ap-mine-sum strong, .pl-lead strong { font-weight: 600; }
@media (min-width: 64rem) { .ap-facts dd, .ap-todo__list li, .ap-checklist__item label, .ap-todo__stock { font-size: .875rem; line-height: 1.25rem; } .ap-todo__list li::before { top: .6rem; } }

/* -- Planer-Liste: Fahrt zwischen den Jobs als eigene Zeile -- */
.pl-li { margin-bottom: 0; }
.pl-way { display: flex; align-items: center; gap: .5rem; margin: 0 0 0 1.35rem; padding: .3rem 0 .3rem 1rem; border-left: 2px dashed #d4d4d8; color: #71717a; font-size: .875rem; line-height: 1.25rem; }
.pl-way b { font-weight: 500; color: #3f3f46; }
.pl-lday h3 { margin: 0 0 .25rem; }
/* Karten, deren Kinder nebeneinander stehen oder eigene Trennlinien haben, bekommen keinen Block-Abstand */
.ap .ap-linkrow > * + *, .ap .ap-mine-list > * + *, .ap .ap-faq > details + details, .ap .ap-card.ap-actions > * + * { margin-top: 0; }
.ap .ap-card > .ap-avatar + * { margin-top: .75rem; }
/* Reiter sind keine Textlinks: inaktiv grau, nur der aktive blau */
.ap .ap-seg a, .ap .ap-seg button { color: #71717a; font-weight: 500; } .ap .ap-seg a:hover, .ap .ap-seg button:hover { color: #3f3f46; }
.ap .ap-seg a.is-active, .ap .ap-seg button.is-active { color: var(--ap-primary); }

/* ---- Jobseite: Karte mit Wohnung und Parkmoeglichkeit ---- */
.ap-jobmap__map { height: 15rem; border-radius: .5rem; overflow: hidden; box-shadow: var(--ap-ring-strong); z-index: 0; } @media (min-width: 64rem) { .ap-jobmap__map { height: 20rem; } }
.ap-jobmap .pl-legend { border: 0; padding: 0; }
.ap-jobmap__parking { display: flex; gap: .625rem; align-items: flex-start; }
.ap-psign { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: .25rem; background: #1d4ed8; color: #fff; font-weight: 700; font-size: .875rem; font-style: normal; line-height: 1; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgb(0 0 0 / .4); }
.ap-psign--sm { width: 1rem; height: 1rem; font-size: .6875rem; box-shadow: none; border-radius: .2rem; }
.ap-jobmap__ppin { background: none; border: 0; } .ap-jobmap__ppin .ap-psign { width: 1.75rem; height: 1.75rem; font-size: 1rem; }
.ap-jobmap__pin { background: none; border: 0; } .ap-jobmap__pin span, .ap-jobmap__dot { display: block; width: 1.25rem; height: 1.25rem; margin: .2rem; border-radius: 50%; background: #dc2626; border: 3px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .45); }
.pl-legend .ap-jobmap__dot { width: .75rem; height: .75rem; margin: 0; border-width: 2px; }
.ap-jobmap .pl-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.ap-jobmap .pl-legend i.ap-jobmap__dot { width: .75rem; height: .75rem; min-width: 0; margin: 0; border-radius: 50%; background: #dc2626; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.ap-jobmap .pl-legend i.ap-psign { width: 1rem; height: 1rem; min-width: 0; border-radius: .2rem; background: #1d4ed8; border: 0; box-shadow: none; font-size: .6875rem; display: inline-grid; place-items: center; color: #fff; }

/* =====================================================================================================================
   ANGLEICH AN /admin (24.09.2026) - am RelayStay-Admin ausgemessen (Seite "Reinigung"):
   Seitenkopf .fi-header: h1 30/36/700 (-0.75px), Unterzeile 18/28 Zink-600 mit 8px Abstand, Brotkrumen 14/500 Zink-500.
   Abschnitt .fi-section: Kopfzeile (Icon 24px Zink-400 + Titel 16/24/600 + Beschreibung 14/20 Zink-500, Polster 16/24),
   darunter Trennlinie Zink-200 und Inhalt mit 24px Polster. Abstand zwischen Abschnitten 32px.
   Text ueberall 14/20 (Felder am Handy 16px gegen den iOS-Zoom - macht das Admin genauso), Labels 14/500, Hilfetext 14/20 Zink-600.
   Icons: nur Heroicons-Umriss (App\Support\Icons, <x-icon>), 24px in Kopfzeilen, 20px in Knoepfen/Text, 16px klein. Keine Emojis.
   ===================================================================================================================== */
.ap-icon { flex: 0 0 auto; display: inline-block; vertical-align: -.25em; } .ap-icon--star { color: #f59e0b; }
.ap-withicon { display: flex; align-items: center; gap: .375rem; } .ap-withicon .ap-icon { color: #a1a1aa; }
.ap-btn .ap-icon { width: 1.25rem; height: 1.25rem; } .ap-btn--primary .ap-icon { color: inherit; }

/* -- Seitenkopf -- */
.ap-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; margin: 0; }
.ap-header__main { min-width: 0; flex: 1 1 20rem; } .ap-header__actions { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; min-height: 2.25rem; }
.ap-header .ap-title { margin: 0; } .ap-header .ap-lead { margin: .5rem 0 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.75rem; color: #52525b; }
@media (max-width: 40rem) { .ap-header .ap-lead { font-size: 1rem; line-height: 1.5rem; } }
.ap-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #71717a; }
.ap .ap-crumbs a { color: #71717a; font-weight: 500; text-decoration: none; } .ap .ap-crumbs a:hover { color: #3f3f46; } .ap-crumbs .ap-icon { color: #a1a1aa; } .ap-crumbs span { color: #3f3f46; }
.ap-headgroup { display: grid; gap: .25rem; }
.ap-mine-sum { font-size: .875rem; color: #52525b; } .ap-mine-sum strong { color: #09090b; }

/* -- Abstaende wie im Admin: 32px zwischen Abschnitten (Handy 24px), Seiten nutzen die volle Inhaltsbreite -- */
.ap-page, .ap-page--form, [data-ap-ppanel], .bo-main { gap: 1.5rem; } @media (min-width: 64rem) { .ap-page, .ap-page--form, [data-ap-ppanel], .bo-main { gap: 2rem; } }
.ap-page { max-width: none; } .ap-page--form { max-width: 48rem; } .ap-main { padding-top: 2rem; } @media (max-width: 40rem) { .ap-main { padding-top: 1.5rem; } }

/* -- Text 14/20 -- */
.ap-main, .ap-simple { font-size: .875rem; line-height: 1.25rem; }
.ap-facts dd, .ap-todo__list li, .ap-checklist__item label, .ap-todo__stock, .ap-card p, .ap-next__when, .ap-next__address, .ap-next__window, .pl-lead p, .ap-steps__list strong, .pl-li__main strong, .ap-jobcard__top strong { font-size: .875rem; line-height: 1.25rem; }
.ap-next__when strong { font-size: 1rem; } .ap-next .ap-next__where { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.ap-jobcard__price, .pl-li__side b { font-size: 1rem; line-height: 1.5rem; }
.ap-field label, .ap-inline-form label, .ap-facts dt { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #09090b; } .ap-facts dt { color: #71717a; }
.ap-field small, .ap-field label small, .pl-slider small { color: #52525b; font-weight: 400; }
.ap-todo__list li::before { top: .55rem; }

/* -- Abschnitte: Kopfzeile + Trennlinie + Inhalt -- */
.ap { --ap-card-pad: 1.5rem; } @media (max-width: 40rem) { .ap { --ap-card-pad: 1rem; } }
.ap .ap-card { padding: var(--ap-card-pad); }
.ap .ap-card > .ap-card__title:first-child { display: flex; align-items: flex-start; gap: .75rem; margin: calc(var(--ap-card-pad) * -1) calc(var(--ap-card-pad) * -1) 0; padding: 1rem var(--ap-card-pad); border-bottom: 1px solid #e4e4e7; }
.ap .ap-card > .ap-card__title:first-child .ap-icon { color: #a1a1aa; }
.ap .ap-card > .ap-card__title:first-child:has(+ .ap-meta), .ap .ap-card > .ap-card__title:first-child:has(+ p.ap-lead) { border-bottom: 0; padding-bottom: 0; }
.ap .ap-card > .ap-card__title:first-child + .ap-meta, .ap .ap-card > .ap-card__title:first-child + p.ap-lead { margin: 0 calc(var(--ap-card-pad) * -1); padding: 0 var(--ap-card-pad) 1rem; border-bottom: 1px solid #e4e4e7; color: #71717a; font-size: .875rem; line-height: 1.25rem; }
.ap .ap-card > .ap-card__title:first-child:has(.ap-icon) + .ap-meta { padding-left: calc(var(--ap-card-pad) + 2.25rem); }
.ap .ap-card > .ap-card__title:first-child ~ * { margin-top: .75rem; }
.ap .ap-card > .ap-card__title:first-child + :not(.ap-meta):not(p.ap-lead), .ap .ap-card > .ap-card__title:first-child + .ap-meta + *, .ap .ap-card > .ap-card__title:first-child + p.ap-lead + * { margin-top: var(--ap-card-pad); }
.ap .ap-card > .ap-card__title:first-child:last-child { border-bottom: 0; }
/* Aufklapp-Abschnitte (wie einklappbare .fi-section): Kopfzeile mit Icon, Pfeil rechts */
.ap details.ap-fold { padding: 0; } .ap details.ap-fold > summary { padding: 1rem var(--ap-card-pad); gap: .75rem; align-items: flex-start; min-height: 0; }
.ap details.ap-fold > summary > .ap-icon { color: #a1a1aa; } .ap details.ap-fold[open] > summary { border-bottom: 1px solid #e4e4e7; }
.ap details.ap-fold > summary ~ * { margin: .75rem var(--ap-card-pad) 0; } .ap details.ap-fold > summary + * { margin-top: var(--ap-card-pad); } .ap details.ap-fold > :last-child:not(summary) { margin-bottom: var(--ap-card-pad); }
.ap details.ap-fold > summary::before { content: ""; order: 3; width: 1.25rem; height: 1.25rem; margin: .125rem 0 0 .5rem; background: #a1a1aa; transform: none; transition: transform .15s;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ap details.ap-fold[open] > summary::before { transform: rotate(180deg); }
/* kleine Aufklapper (Hilfe, Erweitert ...): derselbe Pfeil statt des Textzeichens */
.ap-faq summary::before, .ap-advanced > summary::before, .ap-fold-plain > summary::before, .ap-loginlink > summary::before, .inv-guide summary::before, .ap-release summary::before, .ap-timeform summary::before {
    content: ""; width: 1rem; height: 1rem; margin-right: .5rem; background: currentColor; opacity: .6; transform: rotate(-90deg);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ap-faq details[open] > summary::before, .ap-advanced[open] > summary::before, .ap-fold-plain[open] > summary::before, .ap-loginlink[open] > summary::before, .inv-guide[open] summary::before, .ap-release[open] summary::before, .ap-timeform[open] summary::before { transform: none; }
.ap-term > summary { gap: .375rem; align-items: center; }

/* -- Kopfzeile des Portals: Avatar 32px wie im Admin -- */
.ap-topbar .ap-avatar--sm { width: 2rem; height: 2rem; font-size: .75rem; } .ap-topbar__help { width: 2rem; height: 2rem; font-size: .875rem; }
.ap-sidebar__user .ap-avatar--sm { width: 2rem; height: 2rem; font-size: .75rem; }

/* -- Planer: Icons statt Zeichen -- */
.pl-way { align-items: center; } .pl-way .ap-icon { color: #a1a1aa; } .pl-li__lock .ap-icon { color: #15803d; } .pl-pin--home .ap-icon { color: inherit; display: block; }
.pl-sheet__close .ap-icon { display: block; } .ap-scale__done .ap-icon { vertical-align: -.2em; margin-right: .2rem; }
.ap-steps__no .ap-icon { display: block; }
.ap-jobcard__go { display: inline-flex; align-items: center; gap: .125rem; }
/* Kopfzeile ohne weiteren Inhalt (leerer Zustand): keine Trennlinie, kein leerer Inhaltsbereich */
.ap .ap-card > .ap-card__title:first-child + .ap-meta:last-child, .ap .ap-card > .ap-card__title:first-child + p.ap-lead:last-child { border-bottom: 0; padding-bottom: 0; }
/* Listen direkt unter der Kopfzeile: die Trennlinie der Kopfzeile reicht - keine doppelte Linie */
.ap .ap-card > .ap-card__title + .inv-row, .ap .ap-card > .ap-card__title + .inv-guide, .ap .ap-card > .ap-meta + .inv-guide, .ap .ap-card > .ap-card__title + .inv-group, .ap .ap-card > .ap-meta + .inv-group { border-top: 0; padding-top: 0; }
.ap .ap-card > .inv-row + .inv-row, .ap .ap-card > .inv-guide + .inv-guide { margin-top: 0; }
/* Planer-Karten: dieselbe Kopfzeile wie alle Abschnitte */
.pl-card__head { display: grid; gap: 0; padding: 1rem var(--ap-card-pad); border-bottom: 1px solid #e4e4e7; margin: 0; }
.pl-card__head h2 { display: flex; align-items: flex-start; gap: .75rem; margin: 0; } .pl-card__head h2 .ap-icon { color: #a1a1aa; }
.pl-card__head p { margin: 0; padding-left: 2.25rem; color: #71717a; font-size: .875rem; line-height: 1.25rem; }
.pl-list { padding: var(--ap-card-pad); } .pl-card--map .pl-map, .pl-card--timeline .pl-timeline { margin: 0; }
.pl-controls > summary { padding: 1rem var(--ap-card-pad); gap: .75rem; } .pl-controls > summary .ap-icon { color: #a1a1aa; } .pl-controls > summary > span { font-size: 1rem; font-weight: 600; color: #09090b; }
.pl-controls[open] > summary { border-bottom: 1px solid #e4e4e7; } .pl-controls .pl-sliders, .pl-controls .pl-controls__foot { padding-inline: var(--ap-card-pad); } .pl-controls .pl-sliders { padding-top: var(--ap-card-pad); }
.pl { display: grid; gap: 1.5rem; } @media (min-width: 64rem) { .pl { gap: 2rem; } } .pl--only-timeline { gap: 0; }
/* Karte: Tage an/aus - ein Knopf je Kalendertag in seiner Farbe */
.pl-daychips { display: flex; flex-wrap: wrap; gap: .5rem; padding: var(--ap-card-pad) var(--ap-card-pad) 0; }
.pl-daychips + .pl-map { margin-top: 1rem; }
.pl-daychip { appearance: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: .375rem .625rem; border: 0; border-radius: .5rem; background: #fff; color: #71717a; font-size: .875rem; font-weight: 500; cursor: pointer; box-shadow: 0 0 0 1px rgb(9 9 11 / .1); }
@media (max-width: 63.99rem) { .pl-daychip { min-height: 2.75rem; } }
.pl-daychip i { width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid var(--pl-color, #a1a1aa); background: transparent; }
.pl-daychip small { font-size: .75rem; font-weight: 500; color: inherit; opacity: .8; }
.pl-daychip.is-on { background: var(--pl-color, #09090b); color: #fff; box-shadow: none; } .pl-daychip.is-on i { background: #fff; border-color: #fff; }
.pl-daychip--all.is-on { background: #09090b; } .pl-daychip:not(.is-on) { text-decoration: line-through; text-decoration-color: #a1a1aa; } .pl-daychip--all:not(.is-on) { text-decoration: none; color: #3f3f46; }
.pl-daychip:focus-visible { outline: 2px solid var(--ap-primary); outline-offset: 2px; }

/* =====================================================================================================================
   TEAM-PLAN (Rolle "admin"): Liste mit Auswahlfeld je Job, Kalender mit einer Zeile je Person. Farbe = Person.
   ===================================================================================================================== */
.tm { display: grid; gap: 1.5rem; position: relative; } @media (min-width: 64rem) { .tm { gap: 2rem; } } .tm.is-loading [data-tm] { opacity: .55; transition: opacity .15s; }
.tm-day + .tm-day { margin-top: 1.25rem; } .tm-day h3 { margin: 0 0 .5rem; } .tm-day h3 small { font-weight: 400; color: #71717a; }
.tm-row { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto minmax(9rem, 14rem); gap: .75rem; align-items: center; padding: .625rem .75rem; border-radius: .5rem; box-shadow: 0 0 0 1px rgb(9 9 11 / .1); border-left: 4px solid var(--tm-color); background: #fff; }
.tm-row + .tm-row { margin-top: .5rem; }
.tm-row__time { font-weight: 600; font-variant-numeric: tabular-nums; display: grid; } .tm-row__time small { font-weight: 400; color: #71717a; }
.tm-row__main { display: grid; min-width: 0; text-decoration: none; color: inherit; } .tm-row__main strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tm-row__main small { color: #71717a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap .tm-row__main { color: #09090b; font-weight: 400; } .tm-row__price { font-weight: 600; white-space: nowrap; }
@media (max-width: 40rem) { .tm-row { grid-template-columns: 3.2rem minmax(0, 1fr) auto; } .tm-select { grid-column: 1 / -1; } }
.tm-scroll { overflow-x: auto; } .tm-inner { min-width: 42rem; display: grid; gap: 1.25rem; }
.tm-calday__head { display: grid; grid-template-columns: 7rem 1fr; align-items: end; margin-bottom: .25rem; } .tm-calday__head strong { font-weight: 500; color: #71717a; }
.tm-scale { position: relative; height: 1.25rem; } .tm-scale .pl-tick { top: 0; }
.tm-lane { display: grid; grid-template-columns: 7rem 1fr; align-items: stretch; border-top: 1px solid #e4e4e7; } .tm-lane:last-child { border-bottom: 1px solid #e4e4e7; }
.tm-lane__who { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .875rem; padding: .25rem 0; } .tm-lane__who i { width: .75rem; height: .75rem; border-radius: 50%; background: var(--tm-color); flex: 0 0 auto; } .tm-lane__who small { color: #71717a; font-weight: 400; }
.tm-lane__track { position: relative; height: 3rem; background-image: repeating-linear-gradient(90deg, rgb(9 9 11 / .06) 0 1px, transparent 1px calc(100% / var(--tm-hours, 10))); }
.tm-lane.is-target .tm-lane__track { background-color: #eff6ff; box-shadow: inset 0 0 0 2px #2563eb; }
.tm-block { position: absolute; top: .3rem; bottom: .3rem; min-width: 2.75rem; border: 0; border-radius: .375rem; background: var(--tm-color); color: #fff; padding: 0 .4rem; text-align: left; cursor: grab; overflow: hidden; display: grid; align-content: center; font-size: .75rem; line-height: 1rem; touch-action: none; box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.tm-block b { font-weight: 600; font-variant-numeric: tabular-nums; } .tm-block span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-block.is-drag { cursor: grabbing; z-index: 5; box-shadow: 0 8px 20px rgb(0 0 0 / .35); opacity: .95; } .tm-block.is-fixed { cursor: pointer; } .tm-block.is-running { background: #15803d; }
.tm-block:focus-visible { outline: 2px solid #09090b; outline-offset: 2px; }
/* Putzfenster des Jobs in seiner Zeile: sichtbar beim Ueberfahren und beim Ziehen (wie .pl-range im Planer) */
.tm-range { position: absolute; top: .15rem; bottom: .15rem; border-radius: .375rem; border: 1.5px dashed #71717a; background: repeating-linear-gradient(135deg, rgb(100 116 139 / .16) 0 6px, rgb(100 116 139 / .05) 6px 12px); opacity: 0; transition: opacity .15s; pointer-events: none; }
.tm-lane:hover .tm-range, .tm-lane:focus-within .tm-range { opacity: 1; }
.tm.is-dragging .tm-range { opacity: 0; } .tm.is-dragging .tm-range.is-drop { opacity: 1; border-color: #2563eb; background: rgb(37 99 235 / .1); }
.tm-calday.is-ghost .tm-calday__head strong small { font-weight: 400; color: #2563eb; } .tm-calday.is-ghost .tm-lane__track { background-color: #fafafa; }
.tm.is-dragging .tm-calday:not(.is-allowed) { opacity: .45; }
.tm-person { display: flex; gap: .75rem; align-items: center; min-width: 0; } .tm-person small { display: block; }
.tm-add { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #e4e4e7; display: grid; gap: 1rem; } .tm-add h3 { margin: 0; }

/* Noch nicht zugesagte Jobs (Vorschlaege) in heller Schrift - zugesagte bleiben dunkel und kraeftig. #71717a haelt 4,5:1 auf Weiss. */
.pl-li.is-new .pl-li__time, .pl-li.is-new .pl-li__main strong, .pl-li.is-new .pl-li__side b, .pl-label.is-new strong { color: #71717a; font-weight: 400; }

/* ANGLEICH AN /admin (gemessen an Filament .fi-main / .fi-tabs bei 1800 px):
   - Inhaltsbereich (max. 80rem) steht mittig im Fenster, nicht links am Menue.
   - Reiter: so breit wie ihr Inhalt, mittig, 8px Innenabstand, 4px Abstand, Eintraege 8px/12px mit 20px-Icon (grau, aktiv = Primaerfarbe). */
.ap-main { margin-inline: auto; width: 100%; box-sizing: border-box; }
.ap .ap-seg { display: flex; grid-auto-flow: initial; width: fit-content; max-width: 100%; margin-inline: auto; gap: .25rem; padding: .5rem; overflow-x: auto; box-sizing: border-box; }
.ap .ap-seg a, .ap .ap-seg button { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem .75rem; line-height: 1.25rem; white-space: nowrap; }
.ap .ap-seg .ap-icon { flex: none; width: 1.25rem; height: 1.25rem; color: #a1a1aa; }
.ap .ap-seg .is-active .ap-icon { color: var(--ap-primary); }
.ap .ap-seg.pl-views { margin-inline: auto; align-self: center; }
/* Werkzeugzeile ueber der Job-Liste: "Sortieren" bleibt ein kleines Feld links, der Umschalter Liste/Karte steht rechts */
.ap .jm-tools .ap-seg { margin-inline: 0; align-self: end; }
.ap .jm-sort { flex: 0 1 14rem; } .ap .jm-sort .ap-input { width: 100%; }
@media (max-width: 40rem) { .ap .jm-sort { flex: 1 1 100%; } }
@media (max-width: 40rem) {
    /* Handy: Reiter teilen sich die Breite (Tippflaeche 44px bleibt), Icon ueber dem kurzen Wort spart Platz nicht - also nebeneinander lassen */
    .ap .ap-seg { width: 100%; } .ap .ap-seg a, .ap .ap-seg button { flex: 1 1 0; min-width: 0; padding-inline: .4rem; gap: .35rem; white-space: normal; }
}


/* Karte: Maus ueber einem Tages-Knopf zeigt nur diesen Tag - der Knopf hebt sich ab, die anderen treten zurueck */
.pl-daychips.is-peek .pl-daychip:not(.is-peek) { opacity: .45; } .pl-daychip.is-peek { box-shadow: 0 0 0 2px var(--pl-color, #2563eb); }

/* Eigener Job (OwnJobs): aendern / loeschen auf der Job-Seite */
.ap-own-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Einnahmen-Aufstellung (reports/income) */
.rp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; margin: 1rem 0 0; }
.rp-kpis > div { padding: .75rem 1rem; border-radius: .5rem; box-shadow: var(--ap-ring); background: #fff; } .rp-kpis dt { font-size: .75rem; color: #71717a; } .rp-kpis dd { margin: .15rem 0 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rp-table .rp-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } .rp-table tfoot th { padding: .6rem; border-top: 2px solid rgb(9 9 11 / .12); text-transform: none; letter-spacing: 0; font-size: .875rem; color: #09090b; }
@media print { .rp .ap-card { box-shadow: none !important; border: 0; padding: 0 0 1rem; break-inside: avoid; } .rp .ap-seg, .rp .rp-filter { display: none !important; } .rp a { color: inherit; text-decoration: none; } }

/* STARTSEITE ohne Anmeldung (home.blade.php). Flach im RelayStay-CI (Zink-Grau, ein Blau, keine Verlaeufe), Wirkung ueber
   ein grosses Foto mit dunkler Scheibe, ueberlappende Karten, viel Weissraum und einen dunklen Preisblock. */
.lp { background: #fff; margin: 0; }
.lp-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .75rem 1.25rem; background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgb(9 9 11 / .08); }
.lp-top .ap-brandtext { text-decoration: none; margin-right: auto; } .lp-top__nav { display: none; gap: 1.25rem; font-size: .875rem; font-weight: 500; } .lp-top__nav a { color: #3f3f46; text-decoration: none; } .lp-top__nav a:hover { color: #09090b; }
@media (min-width: 48rem) { .lp-top__nav { display: flex; margin-right: 1rem; } }
/* Hero nach silberglück.de (.hero-seasoned, gemessen bei 1280 px): Foto randlos, min. 360-400 px hoch, Verlauf 8 % -> 62 % von unten,
   Ueberschrift 52 px kondensiert/versal mit dreifachem Schatten, Untertitel 17 px, Chips (weiss 14 %, Rand weiss 35 %, blur),
   Knoepfe als Pillen: gelb #f2c233 mit dunkler Schrift + weiss umrandet. */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(360px, 44vw, 460px); background: #0e161c; color: #fff; display: flex; align-items: center; }
.lp-hero__blur { position: absolute; inset: 0; z-index: 0; background-size: 100% 100%; background-position: 50% 50%; filter: blur(22px) saturate(1.05); transform: scale(1.06); }
.lp-hero__photo { position: absolute; inset: 0; z-index: 0; background-size: min(1200px, 100%) auto; background-position: 50% 26%; background-repeat: no-repeat; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgb(14 22 28 / .08) 40%, rgb(14 22 28 / .62) 100%); }
.lp-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.25rem 3.5rem; display: grid; justify-items: start; gap: .9rem; }
.lp-hero h1 { margin: 0; font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Inter, sans-serif; font-size: clamp(2.25rem, 4.6vw, 3.25rem); line-height: .95; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .7), 0 8px 32px rgb(0 0 0 / .55), 0 16px 56px rgb(0 0 0 / .4); }
.lp-hero p { margin: 0; max-width: 33rem; font-size: 1.0625rem; line-height: 1.5rem; font-weight: 500; color: #eaf2f7; text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
.lp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .35); color: #fff; font-size: .84375rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: .35rem; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 9px 18px; border-radius: 999px; font-size: .90625rem; font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.lp-btn--yellow { background: #f2c233; color: #231b04; } .lp-btn--yellow:hover { background: #f5cf5c; }
.lp-btn--outline { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .75); font-weight: 600; } .lp-btn--outline:hover { background: rgb(255 255 255 / .12); }
.lp-btn:hover, .lp-btn:focus-visible { box-shadow: 0 0 0 1px rgb(255 255 255 / .65), 0 0 22px rgb(255 255 255 / .38), 0 6px 16px rgb(0 0 0 / .22); outline: none; }
@media (max-width: 40rem) { .lp-hero { min-height: 22rem; } .lp-hero__inner { padding: 2.5rem 1rem 2.5rem; } .lp-hero h1 { font-size: 2.25rem; } }
/* Die zwei Einstiege haengen ueber die Unterkante des Fotos */
.lp-choices { position: relative; z-index: 2; max-width: 72rem; margin: 1.5rem auto 0; padding: 0 1.25rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.lp-choice { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 1rem; row-gap: .15rem; align-items: start; padding: 1.25rem 1.5rem; border-radius: 1rem; background: #fff; box-shadow: var(--ap-ring), 0 16px 40px -16px rgb(9 9 11 / .35); text-decoration: none; color: #09090b; min-height: 2.75rem; transition: transform .15s, box-shadow .15s; }
.lp-choice:hover, .lp-choice:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ap-primary), 0 20px 44px -16px rgb(9 9 11 / .4); outline: none; }
.lp-choice__icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .75rem; background: #2563eb; color: #fff; } .lp-choice--alt .lp-choice__icon { background: #f2c233; color: #231b04; }
.lp-choice strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; } .lp-choice > span:not(.lp-choice__icon) { color: #52525b; line-height: 1.35rem; }
.lp-choice u { display: inline-flex; align-items: center; gap: .15rem; margin-top: .25rem; color: var(--ap-primary); font-weight: 600; text-decoration: none; }
.lp-main { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; display: grid; gap: 3rem; font-size: .875rem; line-height: 1.25rem; }
/* Abschnittstitel wie "DAS ERWARTET EUCH" auf silberglück.de: gelbes Etikett, kondensiert, versal */
.lp-h2 { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .9rem; border-radius: .35rem; background: #f2c233; color: #231b04; font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Inter, sans-serif; font-size: 1.125rem; line-height: 1.5rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; } .lp-h2 .ap-icon { display: none; }
.lp .ap-card { padding: 2rem; border-radius: 1rem; }
/* Offene Putz-Jobs: kein Kartenrahmen, die Karte nutzt die ganze Containerbreite, die Liste steht schmal daneben */
.lp-map { height: 26rem; margin-top: 1rem; border-radius: 1rem; overflow: hidden; box-shadow: var(--ap-ring); z-index: 0; }
.lp-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); } .lp-list:empty { display: none; }
.lp-jobs__cta { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }
.lp-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; padding: .6rem .85rem; border-radius: .6rem; box-shadow: var(--ap-ring); background: #fafafa; } .lp-list li strong { font-weight: 600; } .lp-list li small { grid-column: 1; color: #71717a; font-size: .75rem; } .lp-list li b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 800; color: #1d4ed8; font-variant-numeric: tabular-nums; }
/* Abschnitte mit Foto seitlich, abwechselnd links/rechts */
/* Die zwei Zielgruppen klar getrennt: jeder Block ein Band ueber die volle Fensterbreite (clip-path-Trick statt Umbau des Containers),
   "Ich moechte putzen" weiss, "Ich habe einen Putzauftrag" hellgrau mit Linie oben und unten */
.lp-block { display: grid; gap: 1.5rem; align-items: center; padding: 3rem 0; }
.lp-block--flip { background: #f4f4f5; box-shadow: 0 0 0 100vmax #f4f4f5, inset 0 1px 0 #e4e4e7, inset 0 -1px 0 #e4e4e7; clip-path: inset(0 -100vmax); }
.lp-block--flip .lp-steps li > b { background: #f2c233; color: #231b04; } @media (min-width: 56rem) { .lp-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } .lp-block--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .lp-block--flip .lp-block__img { grid-column: 2; grid-row: 1; } .lp-block--flip .lp-block__body { grid-column: 1; grid-row: 1; } }
.lp-block__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 1rem; box-shadow: 0 20px 40px -20px rgb(9 9 11 / .35); }
.lp-block__body { min-width: 0; } .lp-block__body > .ap-btn { margin: .25rem .5rem 0 0; vertical-align: top; }
.lp-steps { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.lp-steps li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .9rem; row-gap: .1rem; align-items: start; } .lp-steps li > b { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #2563eb; color: #fff; font-weight: 800; }
.lp-steps strong { font-weight: 700; font-size: 1.0625rem; line-height: 1.5rem; } .lp-steps span { color: #52525b; line-height: 1.35rem; }
/* Preise: dunkler Block, Zahlen gross */
.lp-dark { padding: 2.5rem 2rem; border-radius: 1.25rem; background: #0b1220; color: #fff; } .lp-dark__lead { margin: 0; max-width: 40rem; font-size: 1.125rem; line-height: 1.75rem; color: #e4e4e7; } .lp-dark__lead + .lp-prices { margin-top: 1.5rem; } .lp-dark .lp-h2 { color: #231b04; }
.lp-prices { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 1.25rem; }
.lp-prices > div { display: grid; gap: .25rem; align-content: start; padding: 1.25rem 1.5rem; border-radius: .75rem; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); } .lp-prices strong { font-weight: 500; color: #a1a1aa; } .lp-prices b { font-size: 2.75rem; line-height: 3rem; font-weight: 800; letter-spacing: -.045em; color: #f2c233; } .lp-prices span { color: #d4d4d8; line-height: 1.35rem; }
.lp-prices > .is-featured { background: #2563eb; box-shadow: none; } .lp-prices > .is-featured strong { color: #dbeafe; } .lp-prices > .is-featured b { color: #fff; } .lp-prices > .is-featured span { color: #eff6ff; }
.lp-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; max-width: 72rem; margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; font-size: .875rem; border-top: 1px solid rgb(9 9 11 / .08); } .lp-foot .ap-brandtext { margin-right: auto; } .lp-foot a { color: #52525b; }

/* Untere Leiste am Handy: alle Menuepunkte in EINER Zeile - egal ob 3 (Teammitglied) oder 6 (Team-Leitung) */
@media (max-width: 63.99rem) {
    .ap-tabbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .ap-tabbar { padding-inline: 0; } .ap-tabbar a { min-width: 0; padding-inline: 0; }
    .ap-tabbar a span:not(.ap-count) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .625rem; letter-spacing: -.02em; }
}

/* NACHRICHTEN: Liste der Unterhaltungen und Chat (Sprechblasen wie im Messenger) */
.ap-convs { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ap-conv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; min-height: 2.75rem; padding: .75rem; border-radius: .5rem; box-shadow: var(--ap-ring); background: #fff; color: #09090b; text-decoration: none; }
.ap-conv:hover, .ap-conv:focus-visible { background: #fafafa; } .ap-conv.is-unread { box-shadow: inset 0 0 0 2px var(--ap-primary); }
.ap-conv__main { display: grid; gap: .1rem; min-width: 0; } .ap-conv__main strong { font-weight: 500; } .ap-conv.is-unread .ap-conv__main strong { font-weight: 600; }
.ap-conv__main small { color: #71717a; font-size: .75rem; } .ap-conv__last { color: #52525b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ap-conv.is-unread .ap-conv__last { color: #09090b; }
.ap-conv__side { display: grid; gap: .25rem; justify-items: end; color: #71717a; font-size: .75rem; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ap-chat { display: grid; gap: .75rem; padding: .75rem; }
.ap-chat__thread { list-style: none; margin: 0; padding: .75rem; display: grid; gap: .35rem; align-content: start; height: min(60vh, 34rem); overflow-y: auto; overscroll-behavior: contain; border-radius: .75rem; background: #eef2f6; }
.ap-chat__day { justify-self: center; margin: .35rem 0; } .ap-chat__day span { padding: .15rem .6rem; border-radius: 999px; background: #fff; color: #52525b; font-size: .75rem; box-shadow: 0 1px 1px rgb(9 9 11 / .08); }
.ap-chat__msg { display: flex; } .ap-chat__msg.is-mine { justify-content: flex-end; }
.ap-chat__bubble { max-width: min(30rem, 85%); padding: .4rem .65rem; border-radius: .75rem .75rem .75rem .2rem; background: #fff; box-shadow: 0 1px 1px rgb(9 9 11 / .1); }
.ap-chat__msg.is-mine .ap-chat__bubble { background: #dbeafe; border-radius: .75rem .75rem .2rem .75rem; }
.ap-chat__who { display: block; font-size: .75rem; font-weight: 600; color: #1d4ed8; } .ap-chat__msg:not(.is-mine) .ap-chat__who { color: #3f3f46; }
.ap-chat__bubble p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.25rem; color: #09090b; } .ap-chat__bubble time { display: block; text-align: right; font-size: .6875rem; color: #52525b; }
.ap-chat__empty { justify-self: center; align-self: center; max-width: 24rem; text-align: center; color: #52525b; font-size: .875rem; }
.ap-chat__compose { display: flex; gap: .5rem; align-items: flex-end; } .ap-chat__compose textarea { flex: 1 1 auto; min-width: 0; min-height: 2.75rem; max-height: 9rem; resize: vertical; border-radius: .75rem; box-sizing: border-box; }

/* Backoffice: Knoepfe in Tabellenzeilen nicht umbrechen, untereinander wenn zwei */
.bo .bo-table .ap-actions { display: grid; gap: .35rem; justify-items: start; } .bo .bo-table .ap-actions .ap-btn { white-space: nowrap; }

/* Anmelden/Registrieren: die Seite bekommt "ap--guest" (nicht "ap--simple") - mittig im Fenster, oben etwas Luft */
body.ap--guest { display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; padding: 2rem 1rem; box-sizing: border-box; background: #fafafa; }
body.ap--guest .ap-simple { margin: 0 auto; }
@media (max-width: 40rem) { body.ap--guest { align-items: flex-start; padding-top: 3rem; } }


/* Eigene Nachricht loeschen: dezenter Muelleimer in der Sprechblase (44px Tippflaeche), rot beim Ueberfahren */
.ap-chat__bubble, .ap-msg { position: relative; }
.ap-chat__del { position: absolute; top: 0; right: 0; margin: 0; } .ap-chat__del button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; background: transparent; color: #a1a1aa; cursor: pointer; border-radius: .5rem; }
.ap-chat__del button:hover, .ap-chat__del button:focus-visible { color: #b91c1c; background: rgb(185 28 28 / .08); }
.ap-chat__bubble:has(.ap-chat__del), .ap-msg:has(.ap-chat__del) { padding-right: 2.75rem; }

/* Backoffice: Verwaltungsseiten (Putzkraft, Job) - Formular links, Aktionen rechts; Links in Tabellen als solche erkennbar */
.bo-cols { display: grid; gap: 1.5rem; align-items: start; } @media (min-width: 64rem) { .bo-cols { grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr); } }
.bo-stack { display: grid; gap: 1.5rem; } .bo-actions { display: flex; flex-wrap: wrap; gap: .5rem; } .bo-actions form { margin: 0; }
.bo .bo-table a { color: var(--ap-primary); text-decoration: none; } .bo .bo-table a:hover { text-decoration: underline; }
.ap-crumbs { margin: 0 0 .25rem; font-size: .8125rem; color: #71717a; } .ap-crumbs a { color: #52525b; }
.ap-check { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .875rem; } .ap-check input { width: 1.25rem; height: 1.25rem; accent-color: var(--ap-primary); }
/* Anmeldeseite: die zwei Wege ohne Passwort als klare Links */
.ap-login-links { display: grid; gap: .25rem; justify-items: center; } .ap-login-links a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; color: var(--ap-primary); font-weight: 500; text-decoration: none; } .ap-login-links a:hover { text-decoration: underline; }
.ap-linksent { display: grid; justify-items: center; text-align: center; gap: .35rem; } .ap-linksent .ap-icon { color: #15803d; } .ap-linksent p { margin: 0; }

/* Wohnort mit Karte (partials.location-field): Knopf + Hinweis in einer Zeile, darunter die kleine Karte mit verschiebbarem Marker */
.ap-geo__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .35rem; }
.ap-geo__map { height: 14rem; margin-top: .6rem; border-radius: .5rem; overflow: hidden; box-shadow: var(--ap-ring); z-index: 0; }

/* Schnittstellen-Doku (/entwickler): gerenderter Markdown-Text in Lesebreite, Tabellen scrollbar, Code in Monospace */
.dk { gap: 1.5rem; } .dk .ap-seg { margin-inline: 0; }
.dk-head h1 { margin: .5rem 0 .25rem; font-size: 2.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #0b1220; } .dk-head p { margin: 0; font-size: 1.0625rem; line-height: 1.6rem; color: #52525b; max-width: 44rem; }
.dk-body { font-size: .9375rem; line-height: 1.6rem; color: #18181b; overflow-wrap: anywhere; }
.dk-body h2 { margin: 2rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid #e4e4e7; font-size: 1.375rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -.02em; } .dk-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.dk-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.0625rem; font-weight: 700; } .dk-body h4 { margin: 1.25rem 0 .35rem; font-size: .9375rem; font-weight: 600; }
.dk-body p, .dk-body ul, .dk-body ol { margin: 0 0 .9rem; } .dk-body li { margin: .2rem 0; } .dk-body a { color: var(--ap-primary); }
.dk-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; padding: .1rem .35rem; border-radius: .3rem; background: #f4f4f5; }
.dk-body pre { margin: 0 0 1rem; padding: 1rem 1.15rem; border-radius: .6rem; background: #0b1220; color: #e4e4e7; overflow-x: auto; font-size: .8125rem; line-height: 1.45rem; } .dk-body pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; }
.dk-body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.25rem; font-size: .875rem; } .dk-body th, .dk-body td { padding: .5rem .65rem; border-bottom: 1px solid #e4e4e7; vertical-align: top; text-align: left; } .dk-body th { background: #fafafa; font-weight: 600; white-space: nowrap; }
.dk-body blockquote { margin: 0 0 1rem; padding: .5rem 1rem; border-left: 3px solid #f2c233; background: #fffbeb; }


/* =====================================================================================================================
   UI-AUDIT 2 (22.09.2026): kein waagrechter Ueberlauf am Handy, Tippflaechen in der Kopfzeile, Tabellen als Karten,
   Seitenkopf -> Reiter -> Inhalt als ein Muster. Nur vorhandene Bausteine, keine neuen Farben oder Groessen.
   ===================================================================================================================== */
/* Ueberlauf: Flex-/Grid-Kinder duerfen schrumpfen, lange Woerter brechen um */
.ap-main, .ap-page, .ap-page > *, .ap-card, .ap-header__main { min-width: 0; }
.ap-main { overflow-wrap: break-word; } .ap-meta, .ap-token-list__item small { overflow-wrap: anywhere; }
.ap-header__actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.ap-header__actions > * { min-width: 0; }
.ap-mine-sum { white-space: normal; }
@media (max-width: 40rem) {
    .ap-header__actions { flex: 1 1 100%; }
    .ap-header__actions > .ap-btn { flex: 1 1 auto; }
}
.ap-token-list__item { flex-wrap: wrap; min-width: 0; } .ap-token-list__item > :first-child { min-width: 0; flex: 1 1 12rem; }
.tm-person > div { min-width: 0; } .tm-person small { overflow-wrap: anywhere; }
.tm-row__main { min-height: 2.75rem; align-content: center; }
.ap-actions, .ap-own-actions, .ap-inline-form { flex-wrap: wrap; } .inv-row > span:first-child { min-width: 0; }

/* Kopfzeile: sichtbar klein wie im Admin, Tippflaeche 44 px */
.ap-top__brand.ap-brandtext { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ap .ap-topbar__help, .ap .ap-topbar__rating { position: relative; }
.ap .ap-topbar__help::after, .ap .ap-topbar__rating::after { content: ""; position: absolute; inset: -.375rem; }
.ap-crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; }


/* Tabelle als Kartenstapel am Handy: <table class="ap-table ap-table--stack">, jede Zelle mit data-label */
@media (max-width: 40rem) {
    .ap-table-wrap:has(.ap-table--stack) { overflow: visible; }
    .ap-table--stack, .ap-table--stack tbody, .ap-table--stack tfoot, .ap-table--stack tr, .ap-table--stack td, .ap-table--stack th { display: block; width: auto; }
    .ap-table--stack thead { display: none; }
    .ap-table--stack tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; padding: .75rem; border-radius: .5rem; box-shadow: var(--ap-ring); background: #fff; }
    .ap-table--stack tbody tr + tr { margin-top: .5rem; }
    .ap-table--stack td { padding: 0; border: 0; text-align: left; }
    .ap-table--stack td[data-label]::before { content: attr(data-label) ": "; color: #52525b; }
    .ap-table--stack td.rp-num { text-align: left; }
    .ap-table--stack .rp-cell-main { grid-column: 1; grid-row: 1; font-weight: 500; } .ap-table--stack .rp-cell-main::before { content: none !important; }
    .ap-table--stack .rp-cell-amount { grid-column: 2; grid-row: 1; font-weight: 600; text-align: right; } .ap-table--stack .rp-cell-amount::before { content: none !important; }
    .ap-table--stack td:not(.rp-cell-main):not(.rp-cell-amount) { grid-column: 1 / -1; font-size: .875rem; color: #3f3f46; }
    .ap-table--stack tfoot tr { display: flex; justify-content: space-between; gap: .75rem; margin-top: .75rem; padding: .75rem; border-top: 2px solid rgb(9 9 11 / .12); }
    .ap-table--stack tfoot th { padding: 0; border: 0; }
    .ap-table--stack tfoot .rp-foot-hide { display: none; }
}

/* Einnahmen: Filter wirken sofort - der Knopf "Anzeigen" ist nur noch fuer Browser ohne JavaScript */
.rp-filter.is-live .rp-apply { display: none; }
/* Einnahmen: Filter in einer Zeile - "Zeitraum ▾" und "Wer ▾", darunter von/bis nur bei "Frei waehlen" */
.rp-filter__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 32rem; }
.rp-filter__row + .rp-filter__row { margin-top: .75rem; } .rp-filter__row[hidden] { display: none !important; }
.ap .rp-filter .ap-field { margin: 0; min-width: 0; } .rp-filter .ap-input { width: 100%; min-width: 0; min-height: 2.75rem; }
.rp-filter .rp-apply { margin-top: .75rem; }
.rp-export { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Abrechnung: Zeile einer Rechnung, die noch gesendet werden muss - Knopf "Jetzt senden" direkt darunter */
.inv-item { border-top: 1px solid rgb(9 9 11 / .08); } .inv-item > .inv-row { border-top: 0; }
.ap .ap-card > .ap-card__title + .inv-item, .ap .ap-card > .ap-meta + .inv-item { border-top: 0; }
.inv-item__send { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 .75rem; }
.inv-item__send .ap-btn { flex: 0 0 auto; }

/* Neue Jobs: zugesagte und vergebene stehen eingeklappt unter der Liste */
.ap-jobcards-more { display: grid; gap: 1rem; } .ap-jobcards-more[hidden] { display: none !important; }
.ap-jobcards-more .ap-jobcards { margin: 0 var(--ap-card-pad) var(--ap-card-pad); }

/* Planer ohne neuen Vorschlag: nur Empfehlung + Feinplanung, keine Liste der schon zugesagten Jobs */
.pl.is-empty .pl-views, .pl.is-empty [data-pl-panel] { display: none !important; }
.pl-li__fixed { display: grid; place-items: center; width: 1.25rem; color: #71717a; }
.pl-lead__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

/* Nachrichten: lange Liste "Neue Unterhaltung" - Rest hinter "alle zeigen" */
.ap-convs + .ap-fold-plain { margin-top: .75rem; } .ap-fold-plain > .ap-convs { margin-top: .5rem; }

/* Chat-Verlauf auf der Jobseite: so hoch wie noetig, nicht immer 60 % des Bildschirms */
#nachrichten .ap-chat__thread { height: auto; min-height: 5rem; max-height: min(60vh, 34rem); }

/* Speichern mit sichtbarer Bestaetigung (Profil) */
.ap-savebar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1rem; }

/* Hilfe: Kontaktzeile */
.ap-help-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* Zuletzt erledigt (Meine Jobs): die ganze Zeile oeffnet den Job */
.ap a.ap-mine-row { color: inherit; text-decoration: none; min-height: 2.75rem; } .ap a.ap-mine-row:hover { background: #fafafa; }
/* Startseite: Links in Kopf- und Fusszeile mit 44-px-Tippflaeche */
.lp-top > .ap-brandtext, .lp-foot a { display: inline-flex; align-items: center; min-height: 2.75rem; }
/* Backoffice schmal: Kopfzeile darf nicht ueberlaufen (Name des Betreibers kuerzt sich), Knoepfe in Tabellen 44 px */
.bo .ap-topbar { min-width: 0; } .bo .ap-topbar > * { flex-shrink: 0; }
.bo .bo-by { flex: 1 1 auto; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 40rem) { .bo .bo-by { display: none; } .bo .ap-brandsuffix { display: none; } }
@media (max-width: 63.99rem) { .bo .bo-table .ap-btn { min-height: 2.75rem; } }
@media (max-width: 40rem) { .bo .bo-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } .bo .bo-tiles .pl-kpi { padding: 1rem; } }

/* Meine Jobs: "Eigenen Job eintragen" + Kalenderdatei dezent am Listenende (oben bleibt nur die Hauptaktion des naechsten Jobs) */
.ap-mine-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; min-width: 0; }
.ap-mine-foot .ap-meta { margin: 0; }
@media (max-width: 40rem) { .ap-mine-foot { flex-direction: column; align-items: flex-start; } }
/* Profil-Reiter einzeilig bis 320 px: Breite nach Inhalt, kein Umbruch; unter 360 px ohne Icons */
.ap-seg.ap-ptabs { grid-auto-columns: minmax(max-content, 1fr); }
.ap-seg.ap-ptabs a { white-space: nowrap; padding-left: .5rem; padding-right: .5rem; gap: .375rem; }
@media (max-width: 359px) { .ap-seg.ap-ptabs a svg { display: none; } }

/* =====================================================================================================================
   FEINSCHLIFF 10/10 (22.09.2026): Feinplanung erklaert, Nachrichten ungelesen, Steuern am Seitenende, kompakter Profilkopf,
   dezentes "Nicht mehr feste Putzkraft", Team-Kopfknoepfe nebeneinander, Suche in der Hilfe
   ===================================================================================================================== */
/* Vorschlaege: Feinplanung mit Erklaersatz unter dem Titel (auch am Handy sichtbar) */
.ap .pl-controls > summary { align-items: flex-start; }
.ap .pl-controls > summary > .ap-icon, .ap .pl-controls > summary > svg { flex: none; }
.pl-controls > summary > .pl-controls__label { display: grid; gap: .25rem; flex: 1; min-width: 0; }
.pl-controls > summary > .pl-controls__label > small { display: block; font-size: .875rem; line-height: 1.25rem; font-weight: 400; color: #52525b; }
.ap .pl-controls > summary::after { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin: .125rem 0 0 .5rem; background: #a1a1aa;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Nachrichten: ungelesen = blauer Punkt + fetter Titel + "2 neu"; gelesen = normal (kein Rahmen, keine rote Zahl) */
.ap-conv.is-unread { box-shadow: var(--ap-ring); background: #eff6ff; } .ap-conv.is-unread:hover, .ap-conv.is-unread:focus-visible { background: #dbeafe; }
.ap-conv__main strong { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 400; }
.ap-conv.is-unread .ap-conv__main strong { font-weight: 600; }
.ap-conv__dot { flex: none; width: .625rem; height: .625rem; border-radius: 999px; background: #2563eb; }
.ap-conv__new { display: inline-flex; align-items: center; padding: 0 .5rem; border-radius: 999px; background: #2563eb; color: #fff; font-size: .75rem; line-height: 1.25rem; font-weight: 600; white-space: nowrap; }
.ap-conv.is-unread .ap-conv__side time { color: #1d4ed8; font-weight: 600; }
.ap-conv.is-unread .ap-conv__main small { color: #52525b; }
/* Profil "Ueber mich": kompakter Kopf - kleines Bild links, Name + Bewertung daneben; Bild antippen oeffnet die Fotoauswahl */
.ap-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ap-profilehead { display: flex; align-items: center; gap: .75rem; min-width: 0; margin-bottom: 1rem; }
.ap-profilehead__photo { position: relative; flex: none; display: block; width: 3rem; height: 3rem; border-radius: 999px; cursor: pointer; }
.ap-profilehead__photo .ap-avatar { width: 3rem; height: 3rem; margin: 0; font-size: .875rem; }
.ap-profilehead__photo .ap-avatar--initials { background: #f4f4f5; color: #3f3f46; }
.ap-profilehead__photo:focus-within, .ap-profilehead__photo:hover .ap-avatar { box-shadow: 0 0 0 2px var(--ap-primary); }
.ap-profilehead__edit { position: absolute; right: -.25rem; bottom: -.25rem; display: grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 999px; background: #fff; color: #3f3f46; box-shadow: var(--ap-ring-strong); }
.ap-profilehead__text { display: grid; gap: .125rem; min-width: 0; }
.ap-profilehead__text strong { font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: #09090b; overflow-wrap: anywhere; }
.ap-profilehead__text .ap-meta { margin: 0; display: inline-flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
/* Meine Vermieter: "Nicht mehr feste Putzkraft" als dezenter Textlink rechts in der Zeile - grau, erst bei Hover/Fokus rot; 44-px-Tippflaeche */
.ap-token-list__item.ap-pool-row { flex-wrap: wrap; gap: 0 .5rem; }
.ap-pool-row > :first-child { flex: 1 1 10rem; min-width: 0; }
.ap-pool-row > form { flex: none; margin: 0 0 0 auto; }
.ap-quietlink { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 2.75rem; max-width: 7.5rem; padding: .25rem 0 .25rem .5rem; border: 0; background: none;
    font: inherit; font-size: .8125rem; line-height: 1rem; font-weight: 400; text-align: right; color: #52525b; text-decoration: underline; text-decoration-color: #d4d4d8; text-underline-offset: .2em; cursor: pointer; border-radius: var(--ap-r-ctl); }
.ap-quietlink:hover, .ap-quietlink:focus-visible { color: #b91c1c; text-decoration-color: currentColor; }
.ap-quietlink:focus-visible { outline: 2px solid #b91c1c; outline-offset: 2px; }
/* Team: zwei Kopfknoepfe als eine Reihe - am Handy je halbe Breite, notfalls zweizeilig, unter 360 px ohne Icons */
.ap-actionpair { display: flex; flex-wrap: wrap; gap: .75rem; min-width: 0; }
@media (max-width: 40rem) {
    .ap-header__actions > .ap-actionpair { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .ap-actionpair > .ap-btn { min-width: 0; justify-content: center; text-align: center; white-space: normal; line-height: 1.25rem; padding-left: .5rem; padding-right: .5rem; gap: .375rem; }
    .ap-wide-only { display: none; }
}
@media (max-width: 359px) { .ap-actionpair > .ap-btn svg { display: none; } }
/* Hilfe: Suchfeld ueber den Fragen (erscheint nur mit JavaScript) */
.ap-helpsearch { display: grid; gap: .375rem; min-width: 0; }
.ap-helpsearch__label { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: #09090b; }
.ap-helpsearch__field { position: relative; min-width: 0; }
.ap-helpsearch__field > .ap-icon, .ap-helpsearch__field > svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #71717a; pointer-events: none; }
.ap-helpsearch__field .ap-input { width: 100%; min-height: 2.75rem; padding-left: 2.5rem; }
.ap-helpsearch__status { margin: 0; min-height: 1.25rem; }
.ap-helpsearch__status:empty { display: none; }

/* ==========================================================================================================================
   BACKOFFICE-AUDIT (22.09.2026): eingebettet ohne zweiten Kopf, Kacheln als Links, "Braucht Aufmerksamkeit", Suche + Filter,
   ruhige Aktionslisten, ganze Zeilen als Link. Nur Tokens der Schichten darueber (Zink, Primaerblau, --ap-r-*, --ap-ring).
   ========================================================================================================================== */
/* Kopfzeile: eingebettet im Superadmin (iframe) nur Marke + Menue - Anmeldung und Verlassen hat der aeussere Rahmen */
.bo-leave { margin: 0 0 0 auto; }
.bo-embedded .bo-standalone { display: none !important; }
.bo-nowrap { white-space: nowrap; }
.bo-id { color: #71717a; font-size: .8125rem !important; overflow-wrap: anywhere; }
.bo-help { display: inline-flex; vertical-align: -.2em; color: #71717a; cursor: help; border-radius: 999px; }
.bo-help:hover, .bo-help:focus-visible { color: var(--ap-primary); outline: none; }
.bo-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.5rem 0 0; }

/* Ganze Tabellenzeile als Link: der Hauptlink der ersten Zelle spannt die Zeile auf, Knoepfe liegen darueber */
.bo-table tr.bo-rowlink { position: relative; cursor: pointer; }
.bo-table tr.bo-rowlink td:first-child a:not(.bo-sublink)::after { content: ""; position: absolute; inset: 0; }
.bo-table tr.bo-rowlink .bo-rowactions, .bo-table tr.bo-rowlink .bo-rowactions * { position: relative; z-index: 1; }
.bo-table tr.bo-rowlink:hover td { background: #f4f4f5; }
.bo-table tfoot th { background: #fafafa; border-top: 1px solid #e4e4e7; font-weight: 600; padding: .875rem .75rem; }
.bo-table tfoot th:first-child { padding-left: 1.5rem; } .bo-table tfoot th:last-child { padding-right: 1.5rem; }
.bo-table td small + small { margin-top: .125rem; }
.bo-rowactions .ap-actions { display: grid !important; gap: .375rem; justify-items: end; }
.bo-table--wrap th { white-space: normal; vertical-align: bottom; }

/* Werkzeugleiste ueber Listen: Reiter (mit Zaehlern) links, Suche rechts; am Handy untereinander */
.bo-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; min-width: 0; }
.bo-toolbar .ap-seg { margin: 0; max-width: 100%; overflow-x: auto; }
.bo-seg a small { color: #3f3f46; background: #f4f4f5; }
.bo-seg a.is-active small { color: #fff; background: var(--ap-primary); }
.bo-search { position: relative; flex: 0 1 20rem; min-width: 0; }
.bo-search > .ap-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #71717a; pointer-events: none; }
.bo-search .ap-input { width: 100%; min-height: 2.75rem; padding-left: 2.5rem; }
@media (max-width: 40rem) { .bo-search { flex: 1 1 100%; } .bo-toolbar .ap-seg { width: 100%; } }

/* Uebersicht: Braucht Aufmerksamkeit / Alles erledigt */
.ap .bo-attention.is-calm > .ap-card__title:first-child .ap-icon { color: #15803d; }
.ap .bo-attention:not(.is-calm) > .ap-card__title:first-child .ap-icon { color: #b45309; }
.bo-attlist { list-style: none; margin: 0; padding: 0; display: grid; }
.bo-attlist li + li { border-top: 1px solid #e4e4e7; }
.bo-attlist a { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 2.75rem; padding: .75rem 0; color: inherit; text-decoration: none; }
.bo-attlist a:hover .bo-attlist__text > span, .bo-attlist a:focus-visible .bo-attlist__text > span { text-decoration: underline; }
.bo-attlist__n { display: grid; place-items: center; height: 2.5rem; border-radius: var(--ap-r-ctl); background: #fffbeb; box-shadow: inset 0 0 0 1px rgb(217 119 6 / .25); color: #92400e; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bo-attlist__text { display: grid; gap: .125rem; min-width: 0; } .bo-attlist__text > span { font-weight: 500; }
.bo-attlist__text small { color: #52525b; font-size: .875rem; line-height: 1.25rem; }
.bo-attlist__go { display: inline-flex; align-items: center; gap: .25rem; color: var(--ap-primary); font-weight: 500; white-space: nowrap; }
@media (max-width: 40rem) { .bo-attlist a { grid-template-columns: 2.5rem minmax(0, 1fr); } .bo-attlist__go { grid-column: 2; } }

/* Kennzahlen als Links; 0 dezent */
a.bo-kpi { color: inherit; text-decoration: none; transition: box-shadow .15s; }
a.bo-kpi:hover, a.bo-kpi:focus-visible { box-shadow: 0 0 0 1px var(--ap-primary), var(--ap-shadow); outline: none; }
a.bo-kpi:hover strong { color: var(--ap-primary); }
.bo-kpi small { font-size: .8125rem; color: #71717a; line-height: 1.25rem; }
.bo-tiles .bo-kpi.is-zero strong { color: #a1a1aa; font-weight: 500; }

/* Putzkraft verwalten: Standortkarte, ruhige Aktionsliste */
.bo-geo { display: grid; gap: .5rem; }
.bo-geo__label { font-size: .875rem; font-weight: 500; }
.bo-geo .ap-meta { margin: 0; }
.bo-geo__map { height: 16rem; border-radius: var(--ap-r-card); box-shadow: var(--ap-ring-strong); overflow: hidden; z-index: 0; }
.bo-geo__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.bo-quietlist { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; border-top: 1px solid #e4e4e7; }
.bo-quietlist li + li { border-top: 1px solid #f4f4f5; }
.bo-quietlist form { margin: 0; }
.bo-quietlist button { display: flex; align-items: flex-start; gap: .75rem; width: 100%; min-height: 2.75rem; padding: .625rem .25rem; border: 0; background: none; font: inherit; font-size: .875rem; text-align: left; color: #09090b; cursor: pointer; border-radius: var(--ap-r-ctl); }
.bo-quietlist button > .ap-icon { flex: none; color: #71717a; margin-top: .0625rem; }
.bo-quietlist button span { display: grid; gap: .125rem; font-weight: 500; }
.bo-quietlist button small { font-weight: 400; color: #52525b; }
.bo-quietlist button:hover { background: #fafafa; } .bo-quietlist button:hover > span { color: var(--ap-primary); }
.bo-quietlist button.is-danger, .bo-quietlist button.is-danger > .ap-icon { color: #b91c1c; }
.bo-quietlist button.is-danger:hover { background: #fef2f2; } .bo-quietlist button.is-danger:hover > span { color: #b91c1c; }
.bo-quietlist button:focus-visible { outline: 2px solid var(--ap-primary); outline-offset: -2px; }
.bo-joblist { list-style: none; margin: 0; padding: 0; display: grid; }
.bo-joblist li + li { border-top: 1px solid #e4e4e7; }
.bo-joblist a, .bo-joblist li > div:first-child { min-width: 0; }
.bo-joblist a, .bo-joblist li:not(:has(a)) { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; padding: .75rem 0; color: inherit; text-decoration: none; }
.bo-joblist a > div { flex: 1 1 auto; display: grid; gap: .125rem; }
.bo-joblist strong { font-weight: 500; } .bo-joblist small { color: #52525b; font-size: .875rem; }
.bo-joblist a:hover strong { color: var(--ap-primary); text-decoration: underline; }
.bo-open { display: inline-flex; align-items: center; gap: .25rem; color: var(--ap-primary); font-weight: 500; white-space: nowrap; }

/* Job verwalten: Kopf mit Termin + wer putzt, Verlauf */
.bo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.bo-facts dt { font-size: .875rem; color: #71717a; font-weight: 500; }
.bo-facts dd { margin: .25rem 0 0; font-weight: 500; display: grid; gap: .125rem; justify-items: start; }
.bo-facts dd small { font-weight: 400; color: #52525b; font-size: .875rem; }
.bo-facts dd a { color: var(--ap-primary); text-decoration: none; } .bo-facts dd a:hover { text-decoration: underline; }
.bo-jobhead > .ap-meta { margin: 1rem 0 0; }
.bo-more > summary { color: #52525b; }
.bo-more[open] { display: grid; gap: .5rem; justify-items: start; }
.bo-events { list-style: none; margin: 0; padding: 0; display: grid; }
.bo-events li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .625rem 0; }
.bo-events li + li { border-top: 1px solid #f4f4f5; }
.bo-events li > div { display: grid; gap: .125rem; min-width: 0; } .bo-events strong { font-weight: 500; } .bo-events small { color: #52525b; font-size: .8125rem; overflow-wrap: anywhere; }
.bo-times { display: inline-block; margin-left: .25rem; padding: 0 .375rem; border-radius: 999px; background: #f4f4f5; color: #3f3f46; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Partner: Schluessel einmal zeigen, anlegen, neuer Schluessel, Ereignisprotokoll */
.bo-secret { box-shadow: 0 0 0 2px var(--ap-primary), var(--ap-shadow); }
.bo-copy { display: flex; gap: .5rem; min-width: 0; } .bo-copy .ap-input { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; }
@media (max-width: 40rem) { .bo-copy { flex-wrap: wrap; } .bo-copy .ap-btn { width: 100%; justify-content: center; } }
.bo-inlinefold { text-align: left; } .bo-inlinefold > summary { list-style: none; } .bo-inlinefold > summary::-webkit-details-marker { display: none; }
.bo-inlinefold > summary::before { content: none !important; }
.bo-inlinefold[open] > form { display: grid; gap: .5rem; margin-top: .5rem; padding: .75rem; max-width: 22rem; border-radius: var(--ap-r-card); background: #fafafa; box-shadow: var(--ap-ring-strong); }
.bo-inlinefold .ap-meta { margin: 0; }
.bo-addpartner { margin-top: 1.5rem; } .bo-addpartner > summary { font-weight: 500; color: var(--ap-primary); min-height: 2.75rem; display: flex; align-items: center; cursor: pointer; }
.bo-form { display: grid; gap: .75rem; margin-top: .75rem; }
.bo-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.bo-filters .ap-field { margin: 0; min-width: 11rem; }
.bo-pager { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bo-pager .ap-meta { margin: 0; }
.ap-btn.is-disabled { opacity: .45; pointer-events: none; }
#ereignisse .bo-toolbar { margin-top: .75rem; }

/* Provision: Monat mit Pfeilen, Legende */
.bo-month { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.bo-month .ap-input { width: auto; min-height: 2.75rem; }
.bo-month .ap-btn { min-width: 2.75rem; justify-content: center; }
.bo-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem 1.5rem; margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid #e4e4e7; }
.bo-legend dt { font-size: .875rem; font-weight: 500; }
.bo-legend dd { margin: .125rem 0 0; font-size: .875rem; color: #52525b; }
.bo-table .rp-cell-main small { overflow-wrap: anywhere; }
/* Backoffice-Tabellen am Handy: Zeilen als Bloecke mit Trennlinie, einheitlicher Rand (statt der Tabellen-Polster) */
@media (max-width: 40rem) {
    .bo .bo-table.ap-table--stack tbody tr { box-shadow: none; border-radius: 0; margin: 0; padding: 1rem; border-bottom: 1px solid #e4e4e7; }
    .bo .bo-table.ap-table--stack tbody tr:last-child { border-bottom: 0; }
    .bo .bo-table.ap-table--stack td, .bo .bo-table.ap-table--stack td:first-child, .bo .bo-table.ap-table--stack td:last-child { padding: 0; border: 0; }
    .bo .bo-table.ap-table--stack td small { display: inline; margin-left: .25rem; }
    .bo .bo-table.ap-table--stack .rp-cell-main small { display: block; margin-left: 0; }
    .bo .bo-table.ap-table--stack tfoot tr { padding: 1rem; margin: 0; }
    .bo .bo-rowactions .ap-actions { display: flex !important; flex-wrap: wrap; justify-content: flex-start; margin-top: .5rem; }
    .bo .bo-rowactions .bo-inlinefold[open] > form { max-width: none; }
}

/* ==========================================================================================================================
   BACKOFFICE-VERMIETER (23.09.2026): Vermieterliste + Detailseite, echte Seiten in langen Listen, Partner bearbeiten.
   Nur Tokens der Schichten darueber (Zink, Primaerblau, --ap-r-*, --ap-ring).
   ========================================================================================================================== */
/* Zweiter Link in einer ganzen-Zeile-Link-Zeile (Vermieter unter dem Objekt): liegt ueber dem Zeilenlink */
.bo-table tr.bo-rowlink .bo-sublink { position: relative; z-index: 1; }
.bo-sublink { color: inherit; text-decoration: underline; text-decoration-color: #d4d4d8; text-underline-offset: 2px; }
.bo-sublink:hover, .bo-sublink:focus-visible { color: var(--ap-primary); text-decoration-color: currentColor; }
.bo-zero { color: #a1a1aa; }
.bo-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; }
.bo-preline { white-space: pre-line; }
.bo-more-link { margin: .75rem 0 0; } .bo-more-link a { display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; color: var(--ap-primary); font-weight: 500; text-decoration: none; }
.bo-more-link a:hover { text-decoration: underline; }
.bo-amount { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bo-joblist .bo-chev { flex: none; color: #a1a1aa; }
.bo-linklist { margin-top: .75rem; border-top: 1px solid #e4e4e7; }
.bo-events small a { color: inherit; text-decoration: underline; text-decoration-color: #d4d4d8; } .bo-events small a:hover { color: var(--ap-primary); }
.bo-events strong a { color: inherit; text-decoration: none; } .bo-events strong a:hover { color: var(--ap-primary); text-decoration: underline; }
@media (max-width: 40rem) { .bo-joblist .bo-open__label { display: none; } }

/* Seiten: Zurueck | "1–50 von 312 Jobs · Seite 1 von 7" + Seitenzahlen | Weiter */
.bo-pager__info { display: grid; justify-items: center; gap: .375rem; text-align: center; flex: 1 1 12rem; min-width: 0; }
.bo-pager__pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem; }
.bo-pager__page { display: inline-grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .5rem; border-radius: var(--ap-r-ctl); color: #3f3f46; font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; text-decoration: none; }
.bo-pager__page:hover { background: #f4f4f5; color: var(--ap-primary); }
.bo-pager__page.is-current { background: var(--ap-primary); color: #fff; }
.bo-pager__gap { color: #a1a1aa; padding: 0 .125rem; }
@media (max-width: 40rem) {
    .bo-pager { justify-content: space-between; }
    .bo-pager__info { order: -1; flex-basis: 100%; }
    .bo-pager__page { min-width: 2.75rem; height: 2.75rem; }
}

/* Partner bearbeiten: Ergebnis von "Test senden" direkt unter dem Feld */
.bo-test { display: flex; align-items: flex-start; gap: .5rem; margin: 0; }
.bo-test > .ap-icon { flex: none; margin-top: .0625rem; }
.bo-test > div { display: grid; gap: .125rem; min-width: 0; }
.bo-test small { font-size: .8125rem; }

/* Reiter mit Partnernamen: nicht umbrechen, lieber waagrecht in der Leiste scrollen */
.ap .bo-seg--scroll a { flex: 0 0 auto; white-space: nowrap; }
.ap .bo-table .bo-sublink { color: #52525b; }
