/* Persönliche Seiten */
.person-add {
    margin-bottom: 26px;
}

.task-groups {
    display: grid;
    gap: 22px;
}

.task-group {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.task-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--accent);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.task-group-count {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 11px;
    letter-spacing: 0;
}

.task-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.task-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    transition: opacity 0.3s;
}

.task-row:first-child {
    border-top: 0;
}

.task-row.done {
    opacity: 0.4;
    text-decoration: line-through;
}

.task-check:hover,
.task-row.done .task-check {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.task-row.overdue .task-check {
    border-color: #b5452f;
}

.task-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.task-title {
    overflow-wrap: anywhere;
}

.task-text small {
    color: var(--muted);
    font-size: 12px;
}

.task-row.overdue .task-text small {
    color: #b5452f;
}

.duty-list,
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.duty-card,
.profile-card,
.notify-card {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.duty-card h3,
.profile-card h3,
.notify-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.duty-card .hint,
.notify-card .hint {
    margin: 0;
}

.profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--ink);
    font-size: 13px;
}

/* Tab „Funktionen“ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.feature-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 130px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}

.feature-tile:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.feature-tile:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.feature-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.feature-head h3 {
    margin: 0;
    font-size: 17px;
}

.feature-arrow {
    color: var(--muted);
    font-size: 20px;
}

.feature-text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.feature-info {
    align-self: flex-start;
    margin-top: auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}
