/* Beachfinder TeamHub – app.css */
/* Design System: teal #00B1BB · navy #102F39 · bg #F7F9FA */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #00B1BB;
  --teal-600:    #009CA6;
  --teal-700:    #00848C;
  --teal-100:    #E6F7F8;
  --teal-border: #CCEFF1;
  --navy:        #102F39;
  --navy-700:    #1A4455;
  --bg:          #F7F9FA;
  --surface:     #ffffff;
  --border:      #EEF2F4;
  --border-2:    #DDE4E8;
  --fg-1:        #102F39;
  --fg-2:        #34434B;
  --fg-3:        #6A7B83;
  --fg-4:        #94A4AB;
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(16,47,57,.06);
  --shadow:      0 2px 8px rgba(16,47,57,.08);
  --shadow-lg:   0 4px 20px rgba(16,47,57,.12);
  --success:     #1FA67A;
  --success-bg:  #E5F5EF;
  --warning:     #9A6E10;
  --warning-bg:  #FBF1DD;
  --danger:      #C23B3B;
  --danger-bg:   #F7E2E2;
  --sidebar-w:   240px;
  --topbar-h:    56px;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-display:'Montserrat', system-ui, sans-serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg-2); line-height: 1.5; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-600); }
img { max-width: 100%; display: block; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.layout-body { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; padding: 32px 36px; max-width: 1280px; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w);
  background: var(--navy); display: flex; flex-direction: column;
  z-index: 200; overflow-y: auto; overflow-x: hidden;
}
.sidebar-header { padding: 20px 20px 14px; border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.sidebar-logo { width: 148px; height: auto; display: block; margin-bottom: 5px; }
.sidebar-sub { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-left: 1px; }
.sidebar-nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-footer { padding: 12px 10px 16px; border-top: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }

.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: var(--radius-sm); color: rgba(255,255,255,.5);
  font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s;
  text-decoration: none; cursor: pointer;
}
.nav-item:hover  { background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); }
.nav-item.active { background: color-mix(in srgb,var(--teal) 18%,transparent); color: #fff; font-weight: 600; }
.nav-item.active svg { color: var(--teal); }
.nav-item svg { flex-shrink: 0; opacity: .7; }
.nav-item.active svg { opacity: 1; }
.nav-item-sm { padding: 7px 12px; font-size: 13px; }
.nav-badge {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--teal); color: white; border-radius: 999px;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ── Topbar (mobile) ─────────────────────────────────────────────────────── */
.topbar { display: none; align-items: center; gap: 12px; height: var(--topbar-h); padding: 0 16px; background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.topbar-title { font-weight: 700; color: var(--fg-1); font-size: 15px; flex: 1; }
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--fg-2); border-radius: 2px; }

/* ── Sidebar overlay (mobile) ────────────────────────────────────────────── */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(16,47,57,.55); z-index: 190; }
.sidebar-overlay.active { display: block; }

/* ── Avatar ──────────────────────────────────────────────────────────────── */
.avatar { border-radius: 50%; background: linear-gradient(135deg,var(--teal),var(--teal-600)); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); flex-shrink: 0; }
.avatar-sm  { width: 32px; height: 32px; font-size: 11px; }
.avatar-md  { width: 40px; height: 40px; font-size: 14px; }
.avatar-lg  { width: 52px; height: 52px; font-size: 17px; }
.avatar-xl  { width: 64px; height: 64px; font-size: 22px; }

.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius-sm); }
.user-chip-name { color: white; font-size: 13px; font-weight: 600; line-height: 1.3; }
.user-chip-role { color: rgba(255,255,255,.42); font-size: 11px; }

/* ── Page header ─────────────────────────────────────────────────────────── */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.page-header-left h1 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--fg-1); }
.page-header-left .subtitle { color: var(--fg-3); font-size: 14px; margin-top: 3px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-4); margin-bottom: 6px; }
.breadcrumb a { color: var(--fg-3); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { font-size: 12px; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card-link { transition: box-shadow .2s ease, border-color .2s ease; cursor: pointer; }
.card-link:hover { box-shadow: var(--shadow-lg); border-color: #C2CDD2; }
.card-p0 { padding: 0; }
.card-header { padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 24px; }

/* ── Metric cards ────────────────────────────────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: 16px; margin-bottom: 28px; }
.metric-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.metric-card-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.metric-card-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--fg-1); line-height: 1.2; }
.metric-card-label { font-size: 12px; color: var(--fg-4); font-weight: 500; margin-top: 2px; }
.metric-card-sub { font-size: 12px; color: var(--fg-3); margin-top: 6px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn svg { flex-shrink: 0; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-700); color: white; }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-600); color: white; }
.btn-secondary { background: var(--bg); color: var(--fg-2); border: 1px solid var(--border-2); }
.btn-secondary:hover { background: var(--border); }
.btn-success { background: var(--success-bg); color: var(--success); border: 1px solid #A8DCC9; }
.btn-success:hover { background: #D0EDDF; }
.btn-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid #EBBBBB; }
.btn-danger:hover { background: #F0CCCC; }
.btn-ghost { background: transparent; color: var(--fg-3); }
.btn-ghost:hover { background: var(--border); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--fg-1); margin-bottom: 6px; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-hint { font-size: 12px; color: var(--fg-4); margin-top: 5px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--fg-1); background: white; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb,var(--teal) 12%,transparent); }
.form-control::placeholder { color: var(--fg-4); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-pending  { background: var(--warning-bg);  color: var(--warning);  border: 1px solid #F0D898; }
.badge-approved { background: var(--success-bg); color: var(--success); border: 1px solid #A8DCC9; }
.badge-rejected { background: var(--danger-bg);  color: var(--danger);  border: 1px solid #EBBBBB; }
.badge-info     { background: var(--teal-100);   color: var(--teal-600);        border: 1px solid var(--teal-border); }
.badge-neutral  { background: var(--border);     color: var(--fg-3);    border: 1px solid var(--border-2); }
.badge-admin    { background: var(--teal-100);   color: var(--teal-600); border: 1px solid var(--teal-border); }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead tr { background: var(--bg); border-bottom: 2px solid var(--border); }
thead th { padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 12px 16px; color: var(--fg-2); vertical-align: middle; }
tbody tr:last-child { border-bottom: none; }

/* ── Progress bar ────────────────────────────────────────────────────────── */
.progress { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-600)); border-radius: 999px; transition: width .4s ease; }
.progress-bar.full { background: var(--success); }

/* ── Callouts ────────────────────────────────────────────────────────────── */
.callout { display: flex; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.55; }
.callout svg { flex-shrink: 0; margin-top: 1px; }
.callout-info    { background: var(--teal-100);  color: var(--teal-600); border: 1px solid var(--teal-border); }
.callout-warning { background: var(--warning-bg); color: #7A5910; border: 1px solid #F0D898; }
.callout-danger  { background: var(--danger-bg);  color: var(--danger); border: 1px solid #EBBBBB; }
.callout-success { background: var(--success-bg); color: #157A5A; border: 1px solid #A8DCC9; }

/* ── Section label ───────────────────────────────────────────────────────── */
.section-label { font-size: 11px; font-weight: 700; color: var(--fg-4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { width: 52px; height: 52px; margin: 0 auto 16px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.empty-state h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.empty-state p { font-size: 14px; color: var(--fg-3); margin-bottom: 20px; }

/* ── File upload zone ────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-2); border-radius: var(--radius); padding: 32px;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
  background: var(--bg);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--teal); background: var(--teal-100); }
.upload-zone input { display: none; }
.upload-zone-icon { margin: 0 auto 12px; color: var(--teal); }
.upload-file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.upload-file-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; }
.upload-file-name { flex: 1; font-weight: 500; color: var(--fg-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-size { color: var(--fg-4); white-space: nowrap; }
.upload-file-remove { background: none; border: none; cursor: pointer; color: var(--danger); padding: 2px; display: flex; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ── Career level card ───────────────────────────────────────────────────── */
.level-card { padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: white; }
.level-card.current { border-color: var(--teal); background: linear-gradient(135deg, var(--teal-100), color-mix(in srgb,var(--teal) 5%,white)); }
.level-card.next { border-color: #DDE4E8; }
.level-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.level-badge-current { background: var(--teal-100); color: var(--teal-600); border: 1px solid var(--teal-border); }
.level-badge-next { background: #EEF2F4; color: var(--fg-3); border: 1px solid var(--border-2); }
.level-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg-1); }
.level-salary { font-size: 22px; font-weight: 800; color: var(--teal); font-family: var(--font-display); }

/* ── Requirement rows ────────────────────────────────────────────────────── */
.req-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.req-row:last-child { border: none; }
.req-progress { flex: 1; }
.req-label { font-size: 13px; font-weight: 500; color: var(--fg-2); margin-bottom: 5px; }
.req-counts { font-size: 12px; color: var(--fg-3); display: flex; justify-content: space-between; }

/* ── Login page ──────────────────────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; }
.login-aside { width: 420px; background: var(--navy); flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; padding: 60px 52px; }
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 100%; max-width: 400px; }
.login-card h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.login-card .sub { color: var(--fg-3); font-size: 15px; margin-bottom: 32px; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--fg-4); font-size: 13px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }

/* ── Checklist feature list (login aside) ────────────────────────────────── */
.login-features { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.login-features > div { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 13px; }
.login-features svg { color: rgba(255,255,255,.45); flex-shrink: 0; }
.feature-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.5; }
.feature-list li::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb,var(--teal) 25%,transparent); color:var(--teal-600); flex-shrink: 0; display:grid; place-items:center; font-size:10px; font-weight:900; margin-top: 2px; }

/* ── Passkey button ──────────────────────────────────────────────────────── */
.btn-passkey { background: white; color: var(--fg-1); border: 1.5px solid var(--border-2); width: 100%; justify-content: center; font-weight: 600; }
.btn-passkey:hover { border-color: var(--teal); background: var(--teal-100); color: var(--teal-600); }
.passkey-icon { width: 20px; height: 20px; }

/* ── Alert boxes ─────────────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-error   { background: var(--danger-bg);  color: var(--danger);  border: 1px solid #EBBBBB; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #A8DCC9; }
.alert-info    { background: var(--teal-100);   color: var(--teal-600);        border: 1px solid var(--teal-border); }

/* ── Mobile-first responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); }
  .layout-body { margin-left: 0; }
  .topbar { display: flex; }
  .main-content { padding: 20px 20px; }
}

@media (max-width: 640px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .login-aside { display: none; }
  .login-main { padding: 24px 16px; }
  .page-header { margin-bottom: 20px; }
  .page-header .btn-lg { padding: 9px 16px; font-size: 14px; }
  .card { padding: 16px; }
  thead { display: none; }
  tbody tr { display: block; padding: 12px 16px; }
  tbody td { display: flex; justify-content: space-between; padding: 4px 0; border: none; font-size: 13px; }
  tbody td::before { content: attr(data-label); font-weight: 600; color: var(--fg-3); font-size: 11px; text-transform: uppercase; }
}

/* ── Util ────────────────────────────────────────────────────────────────── */
.text-muted  { color: var(--fg-3) !important; }
.text-teal   { color: var(--teal) !important; }
.text-danger { color: var(--danger) !important; }
.text-success{ color: var(--success) !important; }
.fw-bold { font-weight: 700 !important; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }

/* ── PWA & version information ──────────────────────────────────────────── */
[hidden] { display: none !important; }
.pwa-install-button {
  width: 100%; border: 0; background: transparent; font-family: var(--font-body);
  text-align: left; margin-bottom: 4px;
}
.app-version {
  padding: 7px 12px 0; color: rgba(255,255,255,.24); font-size: 10px;
  letter-spacing: .04em; text-align: right;
}
.login-version { margin-top: 18px; text-align: center; color: var(--fg-4); font-size: 10px; letter-spacing: .04em; }
.pwa-modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: center; }
.pwa-modal-backdrop { position: absolute; inset: 0; background: rgba(16,47,57,.58); }
.pwa-modal-card {
  position: relative; width: min(100%, 460px); background: white; border-radius: 20px 20px 0 0;
  padding: 24px 22px max(28px, env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(16,47,57,.18);
}
.pwa-modal-card h2 { font-family: var(--font-display); font-size: 20px; color: var(--fg-1); margin-bottom: 8px; }
.pwa-modal-card p { color: var(--fg-3); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

/* ── Robust responsive layout helpers ───────────────────────────────────── */
.layout-body, .main-content, .responsive-grid, .responsive-grid > *, .card, .card-body, .card-header { min-width: 0; }
.main-content { width: 100%; }
.responsive-row { min-width: 0; }

@media (max-width: 760px) {
  .responsive-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .responsive-row { flex-wrap: wrap !important; }
  .form-group { min-width: 0 !important; }
  .form-control { min-width: 0 !important; max-width: 100%; }
  .card-header { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 640px) {
  .main-content { padding: 16px; overflow-x: hidden; }
  .metrics-grid { grid-template-columns: minmax(0, 1fr); }
  .card.card-p0 { padding: 0; }
  .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
  .document-row > div[style*="flex:1"] { flex: 1 1 calc(100% - 40px) !important; }
  .document-row > .btn, .document-row > form { flex: 1 1 calc(50% - 7px); }
  .document-row > form .btn { width: 100%; }
  .upload-file-item { flex-wrap: wrap; }
  .upload-file-name { flex-basis: calc(100% - 48px); }
  .page-header-left, .page-header-left .subtitle, .card, td, th { overflow-wrap: anywhere; }
  .pwa-modal-card { border-radius: 18px 18px 0 0; }
}

/* ── Mobile administration and content layouts ─────────────────────────── */
.topbar-title { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.callout > div, .subtitle, .form-hint, .empty-state p { min-width:0; overflow-wrap:anywhere; }
object, iframe { max-width:100%; }
input[type="file"].form-control { padding:6px; overflow:hidden; }
input[type="file"].form-control::file-selector-button {
  margin-right:10px; padding:8px 12px; border:0; border-radius:7px;
  background:var(--bg); color:var(--fg-2); font:600 13px var(--font-body); cursor:pointer;
}

.settings-tabs {
  display:flex; flex-wrap:wrap; gap:8px; width:100%; max-width:920px;
  margin-bottom:24px; padding:0; background:transparent;
}
.settings-tab {
  display:flex; align-items:center; justify-content:center; min-height:42px;
  padding:9px 16px; border:1px solid var(--border-2); border-radius:10px;
  background:var(--surface); color:var(--fg-2); box-shadow:var(--shadow-sm);
  font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap;
}
.settings-tab:hover { border-color:var(--teal); color:var(--teal-600); background:var(--teal-100); }
.settings-tab.is-active { border-color:var(--teal); background:var(--teal-100); color:var(--teal-600); box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 8%,transparent); }

.settings-provider-row {
  display:flex; align-items:center; gap:10px; padding:10px 0;
  border-bottom:1px solid var(--border);
}
.settings-provider-add { display:flex; gap:10px; }
.document-upload-form { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.document-upload-form .form-group { margin-bottom:0; }
.document-upload-submit { margin-bottom:0; }
.mobile-actions { display:flex; gap:10px; margin-top:8px; flex-wrap:wrap; }
.compact-form { display:flex; gap:8px; }
.page-header-actions { margin-top:0; }

.employee-list-card { display:flex; align-items:center; gap:16px; text-decoration:none; }
.employee-submission-row { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); }
.level-history-row { display:flex; gap:10px; padding:8px 0; border-bottom:1px solid var(--border); font-size:13px; }
.file-action-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); min-width:0; }
.document-item-row { display:flex; align-items:center; gap:16px; padding:14px 24px; min-width:0; }
.document-meta { display:flex; gap:10px; flex-wrap:wrap; font-size:12px; color:var(--fg-4); margin-top:3px; }
.document-item-actions { display:flex; gap:8px; }
.profile-data-row { display:flex; justify-content:space-between; gap:12px; min-width:0; }
.profile-data-row > :last-child { min-width:0; text-align:right; overflow-wrap:anywhere; }
.passkey-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); min-width:0; }
.section-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.dashboard-list-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); min-width:0; }
.vacation-review-form { display:flex; gap:8px; align-items:center; margin-top:10px; flex-wrap:wrap; }


.review-user-row { display:flex; align-items:center; gap:12px; margin-bottom:18px; min-width:0; }
.absence-type-buttons { display:flex; gap:8px; flex-wrap:wrap; }
.team-member-head { display:flex; align-items:center; gap:14px; min-width:0; }
.team-member-email { font-size:12px; color:var(--fg-4); margin-top:2px; overflow-wrap:anywhere; }
.employee-list-title { display:flex; align-items:center; gap:8px; margin-bottom:2px; flex-wrap:wrap; }

.career-input-title, .career-input-number, .career-input-salary { height:36px; padding:5px 10px; font-size:13px; }
.career-input-title { min-width:150px; }
.career-input-number { width:76px; text-align:center; }
.career-input-salary { width:96px; font-weight:700; }

@media (max-width: 760px) {
  .sidebar { width:min(var(--sidebar-w), 86vw); }
  .responsive-grid { grid-template-columns:minmax(0,1fr) !important; }
  .main-content { width:100%; max-width:100%; padding:18px 16px 28px; overflow-x:hidden; }
  .page-header { gap:12px; }
  .page-header > .btn, .page-header-actions { width:100%; }
  .page-header-actions .btn { width:100%; }
  .card-header { align-items:flex-start; }

  .settings-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .settings-tab { width:100%; min-width:0; padding:10px 8px; white-space:normal; line-height:1.25; text-align:center; }
  .settings-tab:last-child:nth-child(odd) { grid-column:1 / -1; }

  .mobile-stack, .settings-provider-row, .settings-provider-add,
  .document-upload-form, .compact-form, .vacation-review-form {
    flex-direction:column !important; align-items:stretch !important; width:100%;
  }
  .mobile-stack > *, .settings-provider-row > *, .settings-provider-add > *,
  .document-upload-form > *, .compact-form > *, .vacation-review-form > * { width:100% !important; max-width:100%; }
  .document-upload-form .form-group { min-width:0 !important; }
  .document-upload-submit { width:100%; }
  .mobile-actions { flex-direction:column; align-items:stretch; width:100%; }
  .mobile-actions > .btn { width:100%; }

  .employee-list-card { align-items:flex-start; flex-wrap:wrap; }
  .review-user-row { flex-wrap:wrap; align-items:flex-start; }
  .review-user-row > .btn { width:100%; margin-left:0 !important; }
  .team-member-head { align-items:flex-start; }
  .employee-list-card > .btn { width:100%; }
  .employee-submission-row, .level-history-row, .file-action-row, .dashboard-list-row, .passkey-row {
    flex-wrap:wrap; align-items:flex-start;
  }
  .employee-submission-row > span[style*="flex:1"], .file-action-row > span[style*="flex:1"],
  .dashboard-list-row > div[style*="flex:1"], .passkey-row > div[style*="flex:1"] { flex:1 1 calc(100% - 40px) !important; min-width:0; }
  .file-action-row > .btn, .file-action-row > a.btn { flex:1 1 calc(50% - 6px); }
  .document-item-row { padding:14px 16px; flex-wrap:wrap; align-items:flex-start; }
  .document-item-row > div[style*="flex:1"] { flex:1 1 calc(100% - 58px) !important; }
  .document-item-actions { width:100%; padding-left:58px; }
  .document-item-actions .btn { flex:1; }
  .profile-data-row { align-items:flex-start; }
  .section-toolbar { align-items:flex-start; flex-wrap:wrap; }
  .section-toolbar .btn { width:100%; }
}

@media (max-width: 640px) {
  .card { padding:16px; }
  .card.card-p0 { padding:0; }
  .card-header { padding:14px 16px; }
  .empty-state { padding:32px 16px; }
  .upload-zone { padding:22px 14px; }
  .metrics-grid { grid-template-columns:minmax(0,1fr); }
  .topbar { padding:0 14px; }
  .topbar-title { font-size:14px; }

  /* Only explicitly marked tables become cards; ordinary layout tables stay untouched. */
  table.mobile-card-table { display:block; width:100%; min-width:0 !important; }
  table.mobile-card-table thead { display:none; }
  table.mobile-card-table tbody { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:12px; }
  table.mobile-card-table tbody tr {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
    padding:16px; background:var(--surface) !important; border:1px solid var(--border-2) !important;
    border-radius:var(--radius); box-shadow:var(--shadow-sm);
  }
  table.mobile-card-table tbody td {
    display:block; min-width:0; width:auto !important; max-width:none !important;
    padding:0; border:0; white-space:normal !important; text-align:left !important;
    overflow:visible !important; text-overflow:clip !important;
  }
  table.mobile-card-table tbody td::before {
    content:attr(data-label); display:block; margin-bottom:5px;
    color:var(--fg-4); font-size:10px; font-weight:800; line-height:1.2;
    letter-spacing:.08em; text-transform:uppercase;
  }
  table.mobile-card-table tbody td[data-label=""]::before { display:none; }
  table.mobile-card-table tbody td.mobile-full { grid-column:1 / -1; }
  table.mobile-card-table tbody td.mobile-actions-cell { grid-column:1 / -1; }
  table.mobile-card-table tbody td.mobile-actions-cell .btn { width:100%; }
  table.mobile-card-table .badge { white-space:normal; }

  .career-level-number, .career-model-level {
    display:flex !important; align-items:center; justify-content:space-between;
    padding-bottom:10px !important; border-bottom:1px solid var(--border) !important;
  }
  .career-level-number::before, .career-model-level::before { margin:0 !important; }
  .career-level-number span, .career-model-level span { font:700 15px var(--font-display); color:var(--fg-1); }
  .career-input-title, .career-input-number, .career-input-salary { width:100% !important; min-width:0 !important; height:42px; font-size:15px; }

  .settings-provider-row { padding:14px 0; }
  .absence-type-buttons { display:grid; grid-template-columns:1fr; }
  .absence-type-buttons .btn { width:100%; }
  .card-header > .btn { width:100%; }
  .settings-provider-row .btn-danger { min-height:40px; }
  input[type="file"].form-control { font-size:12px; }
  input[type="file"].form-control::file-selector-button { max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

  .document-item-actions { padding-left:0; }
  .document-item-actions .btn { width:100%; }
  .profile-data-row { flex-direction:column; gap:3px; padding-bottom:10px; border-bottom:1px solid var(--border); }
  .profile-data-row:last-child { border-bottom:0; padding-bottom:0; }
  .profile-data-row > :last-child { text-align:left; }
  .passkey-row > form { width:100%; }
  .passkey-row > form .btn { width:100%; }
  .file-action-row > .btn, .file-action-row > a.btn { flex-basis:100%; width:100%; }
  .level-history-row { flex-direction:column; gap:3px; }
}

/* ── Profile images ─────────────────────────────────────────────────────── */
.avatar-photo { overflow:hidden; background:var(--border); }
.avatar-photo img { width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block; }
.profile-image-editor { display:flex; align-items:center; gap:16px; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--border); }
.profile-image-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
.profile-image-controls .form-hint { flex-basis:100%; margin-top:0; }
.profile-image-upload-form { display:inline-flex; }
.profile-image-file-button { position:relative; overflow:hidden; cursor:pointer; }
.profile-image-file-button input[type="file"] { position:absolute; inset:0; opacity:0; cursor:pointer; font-size:100px; }
.admin-profile-image-editor { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; }
.employee-profile-heading { display:flex; align-items:center; gap:14px; margin-top:4px; }
.employee-profile-heading > div:last-child { min-width:0; }

/* ── Notification bell ─────────────────────────────────────────────────── */
.topbar-notification-bell {
  position:relative; width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; color:var(--fg-2); background:transparent; flex-shrink:0;
}
.topbar-notification-bell:hover { background:var(--teal-100); color:var(--teal-600); }
.topbar-notification-bell > span {
  position:absolute; top:-2px; right:-3px; min-width:18px; height:18px; padding:0 5px;
  display:flex; align-items:center; justify-content:center; border:2px solid white;
  border-radius:999px; background:var(--danger); color:white; font-size:9px; font-weight:800;
}
.topbar-profile-link { display:flex; flex-shrink:0; }

/* ── Notification center ───────────────────────────────────────────────── */
.notification-list { display:flex; flex-direction:column; gap:14px; max-width:920px; }
.notification-card {
  background:var(--surface); border:1px solid var(--border-2); border-radius:var(--radius-lg);
  padding:20px; box-shadow:var(--shadow-sm); scroll-margin-top:72px;
}
.notification-card.is-unread { border-left:4px solid var(--teal); box-shadow:0 3px 14px rgba(16,47,57,.09); }
.notification-card.is-read { opacity:.88; }
.notification-card-head { display:flex; align-items:flex-start; gap:12px; }
.notification-icon {
  width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  color:var(--teal-600); background:var(--teal-100); flex-shrink:0;
}
.notification-icon-salary_task { color:#9A6E10; background:var(--warning-bg); }
.notification-icon-level_up { color:var(--success); background:var(--success-bg); }
.notification-card-title-wrap { flex:1; min-width:0; }
.notification-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.notification-title-row h2 { font:700 16px var(--font-display); color:var(--fg-1); line-height:1.35; }
.notification-date { color:var(--fg-4); font-size:11px; margin-top:3px; }
.notification-message { margin:14px 0 0 54px; color:var(--fg-2); font-size:14px; line-height:1.65; }
.notification-checklist { margin:18px 0 0 54px; padding:16px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }
.notification-checklist-head { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; color:var(--fg-3); font-size:12px; font-weight:700; }
.notification-checklist-items { display:flex; flex-direction:column; gap:7px; margin-top:12px; }
.notification-check-item { display:flex; align-items:center; gap:10px; }
.notification-checkbox {
  width:24px; height:24px; border:1.5px solid var(--border-2); border-radius:7px;
  background:white; color:white; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
}
.notification-check-item.is-done .notification-checkbox { background:var(--success); border-color:var(--success); }
.notification-check-item > span { color:var(--fg-2); font-size:13px; line-height:1.4; }
.notification-check-item.is-done > span { color:var(--fg-4); text-decoration:line-through; }
.notification-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:18px 0 0 54px; }

/* ── Document visibility ───────────────────────────────────────────────── */
.document-visibility-option {
  display:flex; align-items:flex-start; gap:10px; min-width:220px; padding:9px 12px;
  border:1px solid var(--border-2); border-radius:var(--radius-sm); background:var(--bg); cursor:pointer;
}
.document-visibility-option input { margin-top:3px; accent-color:var(--teal); }
.document-visibility-option span { display:flex; flex-direction:column; font-size:12px; color:var(--fg-1); line-height:1.35; }
.document-visibility-option small { color:var(--fg-4); font-size:10px; margin-top:2px; }

@media (max-width:760px) {
  .profile-image-editor { align-items:flex-start; }
  .profile-image-controls { flex:1; }
  .profile-image-controls form { width:100%; }
  .profile-image-controls .btn { width:100%; }
  .employee-profile-heading { align-items:flex-start; }
  .notification-card { padding:16px; }
  .notification-message, .notification-checklist, .notification-actions { margin-left:0; }
  .notification-title-row { flex-direction:column; gap:6px; }
  .notification-actions { align-items:stretch; }
  .notification-actions > *, .notification-actions .btn { width:100%; }
  .document-visibility-option { width:100%; min-width:0; }
}

@media (max-width:480px) {
  .profile-image-editor { flex-direction:column; }
  .notification-card-head { gap:10px; }
  .notification-icon { width:36px; height:36px; border-radius:10px; }
  .notification-checklist { padding:13px; }
  .notification-checklist-head { flex-direction:column; gap:2px; }
}

/* ── Shared modal shell ─────────────────────────────────────────────────── */
body.modal-open { overflow:hidden; }
.app-modal, .profile-crop-modal {
  position:fixed; inset:0; z-index:600; display:flex; align-items:center; justify-content:center;
  padding:20px; overflow-y:auto;
}
.app-modal-backdrop, .profile-crop-backdrop { position:fixed; inset:0; background:rgba(16,47,57,.62); backdrop-filter:blur(2px); }
.app-modal-card, .profile-crop-card {
  position:relative; width:min(100%,620px); max-height:calc(100vh - 40px); overflow-y:auto;
  background:var(--surface); border-radius:20px; box-shadow:0 24px 70px rgba(16,47,57,.28); padding:24px;
}
.app-modal-head, .profile-crop-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:20px; }
.app-modal-head h2, .profile-crop-head h2 { font:700 20px var(--font-display); color:var(--fg-1); }
.app-modal-head p, .profile-crop-head p { margin-top:3px; color:var(--fg-3); font-size:13px; }
.app-modal-close { width:34px; height:34px; border:0; border-radius:50%; background:var(--bg); color:var(--fg-3); font-size:24px; line-height:1; cursor:pointer; flex-shrink:0; }
.app-modal-close:hover { background:var(--border); color:var(--fg-1); }
.app-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:6px; }

/* ── Profile image cropper ──────────────────────────────────────────────── */
.profile-crop-card { width:min(100%,470px); }
.profile-crop-stage {
  position:relative; width:min(100%,360px); aspect-ratio:1; margin:0 auto 18px;
  overflow:hidden; background:#dce4e7; border-radius:16px; touch-action:none; cursor:grab;
  user-select:none; -webkit-user-select:none;
}
.profile-crop-stage:active { cursor:grabbing; }
.profile-crop-stage img { position:absolute; max-width:none; display:block; pointer-events:none; }
.profile-crop-stage::after {
  content:''; position:absolute; inset:4px; border:3px solid rgba(255,255,255,.96); border-radius:50%;
  box-shadow:0 0 0 999px rgba(16,47,57,.45); pointer-events:none;
}
.profile-crop-zoom-label { display:flex; align-items:center; gap:14px; margin:0 auto 20px; max-width:360px; color:var(--fg-2); font-size:13px; font-weight:600; }
.profile-crop-zoom-label input { flex:1; accent-color:var(--teal); }
.profile-crop-actions { display:flex; justify-content:flex-end; gap:10px; }

/* ── Internal task board ────────────────────────────────────────────────── */
.task-board-members {
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:11px 14px;
  border:1px solid var(--border); border-radius:var(--radius); background:var(--surface);
}
.task-board-members-label { font-size:12px; font-weight:700; color:var(--fg-3); }
.task-member-avatars { display:flex; align-items:center; }
.task-member-avatars > span { display:flex; margin-left:-7px; border:2px solid white; border-radius:50%; }
.task-member-avatars > span:first-child { margin-left:0; }
.task-board-members-hint { color:var(--fg-4); font-size:11px; }
.task-board { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:start; }
.task-column { min-width:0; padding:14px; border:1px solid var(--border); border-radius:var(--radius-lg); background:#f0f4f5; }
.task-column-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:2px 2px 14px; }
.task-column-header h2 { font:700 15px var(--font-display); color:var(--fg-1); }
.task-column-header p { margin-top:2px; color:var(--fg-4); font-size:10.5px; }
.task-column-count { min-width:25px; height:25px; padding:0 7px; display:flex; align-items:center; justify-content:center; border-radius:999px; background:white; color:var(--fg-3); font-size:11px; font-weight:800; }
.task-column-list { display:flex; flex-direction:column; gap:10px; }
.task-column-empty { padding:24px 10px; border:1px dashed var(--border-2); border-radius:var(--radius); color:var(--fg-4); font-size:12px; text-align:center; }
.task-card { display:block; padding:15px; border:1px solid var(--border); border-radius:var(--radius); background:white; box-shadow:var(--shadow-sm); color:var(--fg-2); transition:transform .15s,box-shadow .15s,border-color .15s; }
.task-card:hover { transform:translateY(-1px); box-shadow:var(--shadow); border-color:#c6d2d6; color:var(--fg-2); }
.task-card.is-done { opacity:.72; }
.task-card-title { font:700 14px var(--font-display); color:var(--fg-1); line-height:1.4; overflow-wrap:anywhere; }
.task-card-description { margin-top:7px; color:var(--fg-3); font-size:12px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; white-space:pre-line; }
.task-card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.task-card-assignee { display:flex; align-items:center; gap:7px; min-width:0; color:var(--fg-3); font-size:11px; font-weight:600; }
.task-card-assignee .avatar-sm { width:26px; height:26px; font-size:9px; }
.task-card-assignee > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.task-unassigned { color:var(--fg-4); font-weight:500; }
.task-card-meta { display:flex; gap:8px; color:var(--fg-4); font-size:10px; white-space:nowrap; }
.task-due { margin-top:10px; padding-top:9px; border-top:1px solid var(--border); color:var(--fg-4); font-size:10.5px; }
.task-due.is-overdue { color:var(--danger); font-weight:700; }
.task-create-modal { width:min(100%,660px); }

/* ── Task detail ────────────────────────────────────────────────────────── */
.task-detail-status-badge { align-self:flex-start; padding:6px 13px; font-size:13px; }
.task-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; align-items:start; }
.task-detail-main, .task-detail-sidebar { min-width:0; }
.task-detail-sidebar { display:flex; flex-direction:column; gap:14px; }
.task-description-text { color:var(--fg-2); font-size:14px; line-height:1.75; overflow-wrap:anywhere; }
.task-attachment-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.task-attachment { display:block; overflow:hidden; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); color:var(--fg-2); }
.task-attachment img { width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--border); }
.task-attachment span { display:block; padding:9px 10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:600; }
.task-comments { display:flex; flex-direction:column; margin-top:16px; }
.task-comments-empty { padding:18px; border:1px dashed var(--border); border-radius:var(--radius); color:var(--fg-4); font-size:13px; text-align:center; }
.task-comment { display:flex; align-items:flex-start; gap:11px; padding:16px 0; border-bottom:1px solid var(--border); }
.task-comment-body { flex:1; min-width:0; }
.task-comment-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.task-comment-head strong { color:var(--fg-1); font-size:13px; }
.task-comment-head span { color:var(--fg-4); font-size:10.5px; white-space:nowrap; }
.task-comment-text { margin-top:6px; color:var(--fg-2); font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.task-comment-attachments { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.task-comment-attachments a { display:block; width:90px; height:64px; overflow:hidden; border:1px solid var(--border); border-radius:8px; }
.task-comment-attachments img { width:100%; height:100%; object-fit:cover; }
.task-comment-form { margin-top:18px; padding-top:18px; border-top:1px solid var(--border); }
.task-comment-form-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.task-screenshot-button { position:relative; overflow:hidden; cursor:pointer; }
.task-screenshot-button input { position:absolute; inset:0; opacity:0; cursor:pointer; font-size:100px; }
.task-meta-card { display:flex; flex-direction:column; }
.task-meta-row { display:flex; flex-direction:column; gap:6px; padding:11px 0; border-bottom:1px solid var(--border); }
.task-meta-row:last-child { border-bottom:0; padding-bottom:0; }
.task-meta-row > span { color:var(--fg-4); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.task-meta-row > div { display:flex; align-items:center; gap:8px; color:var(--fg-1); font-size:12px; min-width:0; }
.task-meta-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.notification-icon-task { color:var(--teal-600); background:var(--teal-100); }

@media (max-width:1024px) {
  .task-board { grid-template-columns:1fr; }
  .task-column { padding:13px; }
  .task-column-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .task-detail-layout { grid-template-columns:minmax(0,1fr) 270px; }
}

@media (max-width:760px) {
  .app-modal, .profile-crop-modal { align-items:flex-end; padding:0; }
  .app-modal-card, .profile-crop-card { width:100%; max-height:94vh; border-radius:20px 20px 0 0; padding:20px 16px max(22px,env(safe-area-inset-bottom)); }
  .app-modal-actions, .profile-crop-actions { flex-direction:column-reverse; }
  .app-modal-actions .btn, .profile-crop-actions .btn { width:100%; }
  .profile-crop-stage { width:min(82vw,340px); }
  .task-board-members { align-items:flex-start; }
  .task-board-members-hint { flex-basis:100%; }
  .task-column-list { grid-template-columns:1fr; }
  .task-detail-layout { grid-template-columns:1fr; }
  .task-detail-sidebar { order:-1; }
  .task-detail-sidebar .card { padding:16px; }
  .task-comment-form-bottom { align-items:stretch; flex-direction:column; }
  .task-comment-form-bottom .btn { width:100%; }
  .task-attachment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:480px) {
  .task-attachment-grid { grid-template-columns:1fr; }
  .task-comment { gap:8px; }
  .task-comment-head { align-items:flex-start; flex-direction:column; gap:2px; }
  .task-comment-head span { white-space:normal; }
  .profile-crop-stage { width:min(88vw,320px); }
}

/* ── Vacation calendar, permissions & mobile dashboard v1.4 ─────────────── */
.vacation-layout { display:grid; grid-template-columns:minmax(0,3fr) minmax(440px,2fr); gap:20px; align-items:start; }
.vacation-calendar-card { background:var(--bg); min-width:0; }
.team-calendar-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; text-align:center; }
.team-calendar-head strong { display:block; margin-top:2px; color:var(--fg-1); font:700 16px var(--font-display); }
.calendar-nav-btn { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border-2); border-radius:10px; background:white; color:var(--fg-1); font-size:25px; line-height:1; text-decoration:none; box-shadow:var(--shadow-sm); }
.calendar-nav-btn:hover { background:var(--teal-100); border-color:var(--teal); color:var(--teal-600); }
.team-calendar-weekdays, .team-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; }
.team-calendar-weekdays { margin-bottom:4px; }
.team-calendar-weekdays > div { text-align:center; color:var(--fg-4); font-size:10px; font-weight:800; }
.team-calendar-weekdays .is-weekend { color:#c2cdd2; }
.team-calendar-day { min-height:58px; padding:4px; overflow:hidden; border:1px solid var(--border); border-radius:7px; background:white; }
.team-calendar-day.is-off { background:var(--border); }
.team-calendar-day.is-today { border:2px solid var(--teal); }
.calendar-day-number { display:block; color:var(--fg-2); font-size:10px; line-height:1; }
.team-calendar-day.is-off .calendar-day-number { color:var(--fg-4); }
.calendar-people { display:flex; flex-direction:column; gap:2px; margin-top:4px; }
.calendar-people span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:2px 4px; border-radius:4px; background:var(--teal-100); color:#007a83; font-size:8.5px; font-weight:700; line-height:1.2; }
.calendar-hint { margin-top:14px; padding:10px 12px; border:1px solid var(--border); border-radius:var(--radius-sm); background:white; color:var(--fg-3); font-size:11px; line-height:1.55; }
.vacation-approval-box { padding:16px 20px; border:1px solid #f0d898; border-radius:var(--radius-lg); background:var(--warning-bg); }
.vacation-approval-title { margin-bottom:12px; color:var(--warning); font-size:15px; font-weight:700; }
.vacation-approval-item { margin-bottom:9px; padding:13px 16px; border:1px solid #f0d898; border-radius:10px; background:white; }
.vacation-approval-item:last-child { margin-bottom:0; }
.vacation-approval-summary { display:flex; align-items:center; gap:10px; flex-wrap:wrap; color:var(--fg-2); font-size:13px; }
.vacation-review-form .form-control { flex:1; min-width:190px; height:38px; padding:7px 11px; font-size:13px; }
.vacation-review-actions { display:flex; gap:8px; }

.settings-provider-actions { display:grid; grid-template-columns:minmax(120px,3fr) 44px; gap:8px; flex:0 0 auto; }
.settings-provider-actions .btn { width:100%; min-width:0; justify-content:center; }
.settings-provider-actions .btn-danger { padding-left:0; padding-right:0; font-size:19px; }
.copy-field { display:flex; gap:8px; align-items:stretch; }
.copy-field .form-control { min-width:0; }
.calendar-feed-box { padding:16px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }

.push-device-box { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; padding:14px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }
.push-device-box strong { display:block; color:var(--fg-1); font-size:13px; }
.push-device-box [data-push-status] { display:block; margin-top:2px; color:var(--fg-4); font-size:11px; }
.push-device-actions { display:flex; gap:7px; flex-wrap:wrap; }
.notification-preferences-form { overflow:hidden; border:1px solid var(--border); border-radius:var(--radius); }
.notification-pref-head, .notification-pref-row { display:grid; grid-template-columns:minmax(0,1fr) 58px 58px 58px; align-items:center; gap:5px; }
.notification-pref-head { padding:8px 12px; background:var(--bg); color:var(--fg-4); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; text-align:center; }
.notification-pref-head span:first-child { text-align:left; }
.notification-pref-row { padding:12px; border-top:1px solid var(--border); }
.notification-pref-row:first-of-type { border-top:0; }
.notification-pref-row strong { display:block; color:var(--fg-1); font-size:12px; line-height:1.35; }
.notification-pref-row small { display:block; margin-top:2px; color:var(--fg-4); font-size:10px; line-height:1.35; }
.notification-pref-check { display:flex; align-items:center; justify-content:center; cursor:pointer; }
.notification-pref-check input { position:absolute; opacity:0; pointer-events:none; }
.notification-pref-check span { width:22px; height:22px; border:1.5px solid var(--border-2); border-radius:6px; background:white; position:relative; }
.notification-pref-check input:checked + span { border-color:var(--teal); background:var(--teal); }
.notification-pref-check input:checked + span::after { content:'✓'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:white; font-size:14px; font-weight:800; }
.notification-icon-vacation, .notification-icon-submission { color:#007a83; background:var(--teal-100); }

@media (max-width:1200px) and (min-width:761px) {
  .vacation-layout { grid-template-columns:minmax(0,1fr) 400px; }
}

@media (max-width:1024px) {
  .vacation-layout { grid-template-columns:minmax(0,1fr) 380px; }
}

@media (max-width:760px) {
  .vacation-layout { display:flex; flex-direction:column; }
  .vacation-calendar-card { order:-1; width:100%; }
  .vacation-requests-card { width:100%; }
  .vacation-review-actions { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .vacation-review-actions .btn { width:100%; }
  .settings-provider-actions { display:grid !important; grid-template-columns:minmax(0,3fr) 46px; width:100% !important; }
  .settings-provider-actions > * { width:100% !important; }
  .copy-field { flex-direction:column; }
  .copy-field .btn { width:100%; }
  .push-device-box { align-items:stretch; flex-direction:column; }
  .push-device-actions { display:grid; grid-template-columns:1fr 1fr; }
  .push-device-actions .btn { width:100%; }
}

@media (max-width:640px) {
  .dashboard-metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px; }
  .dashboard-metrics-grid .metric-card { min-width:0; padding:14px; }
  .dashboard-metrics-grid .metric-card-icon { width:32px; height:32px; margin-bottom:10px; }
  .dashboard-metrics-grid .metric-card-value { font-size:19px; }
  .dashboard-metrics-grid .metric-card-label { font-size:10.5px; overflow-wrap:anywhere; }
  .dashboard-metrics-grid .metric-card-sub { font-size:10px; }
  .vacation-metrics { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .vacation-metrics .metric-card { padding:14px; }
  .vacation-metrics .metric-card-value { font-size:18px; }
  .team-calendar-day { min-height:50px; padding:3px; }
  .calendar-people span { font-size:7.5px; padding:2px 3px; }
  .vacation-approval-box { padding:14px; }
  .vacation-approval-item { padding:12px; }
  .notification-pref-head, .notification-pref-row { grid-template-columns:minmax(0,1fr) 46px 46px 46px; }
  .notification-pref-head { padding:8px; font-size:8px; }
  .notification-pref-row { padding:10px 8px; }
  .notification-pref-row strong { font-size:11px; }
  .notification-pref-row small { display:none; }
}

/* ── Profile and permission tabs v1.5 ──────────────────────────────────── */
.profile-tabs {
  display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px;
}
.profile-tab {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px;
  padding:9px 16px; border:1px solid var(--border-2); border-radius:10px;
  background:var(--surface); color:var(--fg-2); box-shadow:var(--shadow-sm);
  font-size:14px; font-weight:700; text-decoration:none;
}
.profile-tab:hover { border-color:var(--teal); color:var(--teal-600); background:var(--teal-100); }
.profile-tab.is-active { border-color:var(--teal); background:var(--teal-100); color:var(--teal-600); box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 8%,transparent); }

.permissions-card { overflow:hidden; }
.permissions-intro { margin-bottom:10px; color:var(--fg-3); font-size:13px; line-height:1.6; }
.permission-row {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:17px 0; border-bottom:1px solid var(--border);
}
.permission-row > div { min-width:0; }
.permission-row strong { display:block; color:var(--fg-1); font-size:14px; }
.permission-row div > span { display:block; margin-top:3px; color:var(--fg-4); font-size:12px; line-height:1.5; }
.permission-note { margin:-6px 0 6px; color:var(--fg-4); font-size:11px; }
.compact-permission-row { padding-top:0; }
.toggle-switch { position:relative; flex:0 0 auto; width:48px; height:27px; cursor:pointer; }
.toggle-switch input[type="checkbox"] { position:absolute; opacity:0; pointer-events:none; }
.toggle-switch > span { position:absolute; inset:0; border-radius:999px; background:var(--border-2); transition:.18s ease; }
.toggle-switch > span::after { content:''; position:absolute; top:3px; left:3px; width:21px; height:21px; border-radius:50%; background:white; box-shadow:0 1px 4px rgba(16,47,57,.2); transition:.18s ease; }
.toggle-switch input:checked + span { background:var(--teal); }
.toggle-switch input:checked + span::after { transform:translateX(21px); }
.toggle-switch.is-disabled { opacity:.55; cursor:not-allowed; }

.employee-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; }
.employee-detail-sidebar { display:flex; flex-direction:column; gap:14px; }
.career-summary-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.career-summary-current, .career-summary-next { padding:14px 16px; border-radius:var(--radius-sm); }
.career-summary-current { background:var(--teal-100); border:1px solid var(--teal-border); }
.career-summary-next { background:var(--bg); border:1px solid var(--border); }
.career-summary-current small, .career-summary-next small { display:block; margin-bottom:4px; color:var(--fg-4); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.career-summary-current strong, .career-summary-next strong { display:block; color:var(--fg-1); font-size:15px; }
.career-summary-current b, .career-summary-next b { display:block; margin-top:3px; font:800 20px var(--font-display); }
.career-summary-current b { color:var(--teal); }
.career-summary-next b { color:var(--fg-3); }

.profile-account-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,1fr); gap:20px; max-width:960px; }
.profile-account-column { display:flex; flex-direction:column; gap:20px; }
.profile-data-list { display:flex; flex-direction:column; gap:10px; font-size:14px; }
.profile-data-row > span:first-child { color:var(--fg-4); }
.profile-passkey-card { align-self:start; }
.passkey-row strong { display:block; color:var(--fg-1); font-size:14px; }
.passkey-row small { display:block; color:var(--fg-4); font-size:12px; }
.empty-inline { padding:14px 16px; border:1px dashed var(--border); border-radius:var(--radius-sm); background:var(--bg); color:var(--fg-4); font-size:13px; }
.notification-form-footer { padding:14px; border-top:1px solid var(--border); background:var(--bg); }

/* ── Calendar navigation and shared Google calendar v1.5 ───────────────── */
.team-calendar-toolbar { display:flex; justify-content:center; margin:-6px 0 14px; }
.calendar-anchor { position:relative; top:calc(-1 * var(--topbar-h) - 12px); visibility:hidden; }
.vacation-calendar-card.is-loading { opacity:.65; pointer-events:none; }
.vacation-calendar-card.is-loading::after { content:'Kalender wird geladen …'; display:block; margin-top:12px; color:var(--fg-4); font-size:11px; text-align:center; }
.settings-section-subtitle { margin-top:5px; color:var(--fg-3); font-size:13px; line-height:1.55; }
.calendar-service-account { display:flex; justify-content:space-between; gap:12px; margin-top:8px; padding:10px 12px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--bg); font-size:12px; }
.calendar-service-account span { color:var(--fg-4); }
.calendar-service-account strong { color:var(--fg-1); overflow-wrap:anywhere; text-align:right; }
.calendar-settings-actions { display:flex; gap:10px; flex-wrap:wrap; }
.calendar-sync-status { display:grid; gap:10px; margin-top:18px; padding:14px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }
.calendar-sync-status > div { display:flex; justify-content:space-between; gap:16px; font-size:12px; }
.calendar-sync-status span { color:var(--fg-4); }
.calendar-sync-status strong { color:var(--fg-1); text-align:right; overflow-wrap:anywhere; }
.calendar-sync-error strong { color:var(--danger); }
.calendar-setup-guide { margin-top:12px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }
.calendar-setup-guide summary { padding:13px 15px; color:var(--fg-1); font-size:13px; font-weight:700; cursor:pointer; }
.calendar-setup-guide > p, .calendar-setup-guide > ol, .calendar-setup-guide > .copy-field { margin:0 15px 15px; }
.calendar-setup-guide p, .calendar-setup-guide ol { color:var(--fg-3); font-size:12px; line-height:1.65; }
.calendar-setup-guide ol { padding-left:20px; }

@media (max-width:760px) {
  .profile-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .profile-tab { width:100%; padding:10px 8px; text-align:center; }
  .permission-row { gap:14px; align-items:flex-start; }
  .employee-detail-grid, .profile-account-grid { grid-template-columns:1fr; }
  .career-summary-grid { grid-template-columns:1fr; }
  .calendar-settings-actions { flex-direction:column; }
  .calendar-settings-actions .btn { width:100%; }
  .calendar-sync-status > div, .calendar-service-account { flex-direction:column; gap:3px; }
  .calendar-sync-status strong, .calendar-service-account strong { text-align:left; }
}


/* ── Vacation approvals, compact cards and SMTP test v1.6 ─────────────── */
.calendar-people span.is-pending { background:#eef2f4; color:var(--fg-3); border:1px dashed #b9c5ca; font-weight:600; }
.calendar-people span.is-approved { background:var(--teal-100); color:#007a83; }
.calendar-legend { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:12px; color:var(--fg-3); font-size:10px; }
.calendar-legend span { display:flex; align-items:center; gap:5px; }
.calendar-legend i { width:13px; height:8px; border-radius:3px; display:inline-block; }
.calendar-legend i.is-approved { background:var(--teal-100); border:1px solid var(--teal-border); }
.calendar-legend i.is-pending { background:#eef2f4; border:1px dashed #b9c5ca; }
.smtp-settings-actions { display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width:760px) {
  .smtp-settings-actions { display:grid; grid-template-columns:1fr; }
  .smtp-settings-actions .btn { width:100%; }
}

@media (max-width:640px) {
  table.vacation-card-table tbody { gap:8px; padding:8px; }
  table.vacation-card-table tbody tr {
    grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:12px 14px;
  }
  table.vacation-card-table tbody td { align-self:center; }
  table.vacation-card-table tbody td::before { margin-bottom:3px; font-size:8.5px; }
  table.vacation-card-table .vacation-card-employee { grid-column:1; grid-row:1; }
  table.vacation-card-table .vacation-card-status { grid-column:2; grid-row:1; display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
  table.vacation-card-table .vacation-card-status::before,
  table.vacation-card-table .vacation-card-employee::before,
  table.vacation-card-table .vacation-card-type::before { display:none; }
  table.vacation-card-table .vacation-card-type { grid-column:1; grid-row:2; }
  table.vacation-card-table .vacation-card-days { grid-column:2; grid-row:2; display:flex; align-items:baseline; justify-content:flex-end; gap:5px; }
  table.vacation-card-table .vacation-card-days::before { display:inline; margin:0; }
  table.vacation-card-table .vacation-card-period { grid-column:1 / -1; grid-row:3; padding-top:7px; border-top:1px solid var(--border); }
  table.vacation-card-table .vacation-card-period::before { display:none; }
  table.vacation-card-table .vacation-card-action { grid-column:1 / -1; grid-row:4; padding-top:2px; }
  table.vacation-card-table .vacation-card-action::before { display:none; }
  table.vacation-card-table .vacation-card-action .btn { min-height:38px; }
  table.vacation-card-table .badge { font-size:10.5px; padding:3px 8px; }
}


/* ── Self approval, native SMTP and extra compact vacation cards v1.6.1 ── */
.vacation-card-meta { display:none; }

@media (max-width:640px) {
  table.vacation-card-table tbody { gap:6px; padding:6px; }
  table.vacation-card-table tbody tr {
    grid-template-columns:minmax(0,1fr) auto; gap:6px 10px; padding:10px 12px;
  }
  table.vacation-card-table .vacation-card-employee { grid-column:1; grid-row:1; font-size:13px; }
  table.vacation-card-table .vacation-card-status { grid-column:2; grid-row:1; flex-direction:row; flex-wrap:wrap; justify-content:flex-end; }
  table.vacation-card-table .vacation-card-type,
  table.vacation-card-table .vacation-card-period,
  table.vacation-card-table .vacation-card-days { display:none; }
  table.vacation-card-table .vacation-card-meta {
    display:flex; grid-column:1 / -1; grid-row:2; align-items:center; gap:8px;
    min-width:0; padding-top:5px; border-top:1px solid var(--border); font-size:11.5px;
    color:var(--fg-2); white-space:nowrap;
  }
  table.vacation-card-table .vacation-card-meta::before { display:none; }
  .vacation-card-meta-period { min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .vacation-card-meta-days { margin-left:auto; color:var(--fg-3); font-weight:700; flex-shrink:0; }
  table.vacation-card-table .vacation-card-action {
    grid-column:1 / -1; grid-row:3; padding-top:0; display:flex; justify-content:flex-start;
  }
  table.vacation-card-table .vacation-card-action.is-empty { display:none; }
  table.vacation-card-table .vacation-card-action form { width:auto; }
  table.vacation-card-table .vacation-card-action .btn {
    width:auto !important; min-height:30px; padding:5px 11px; font-size:11.5px;
  }
  table.vacation-card-table .vacation-card-status .badge { font-size:9.5px; padding:3px 7px; }
  table.vacation-card-table .vacation-card-meta .badge { font-size:9.5px; padding:3px 7px; flex-shrink:0; }
  table.vacation-card-table.is-personal .vacation-card-status { grid-column:1 / -1; justify-self:end; }
}

/* ── Compact notification center v1.6.2 ───────────────────────────────── */
.notification-page-header { margin-bottom:18px; }
.notification-page-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.notification-page-actions form { margin:0; }
.notification-clear-read { color:var(--danger); }
.notification-clear-read:hover { color:var(--danger); background:var(--danger-bg); }

.notification-section { max-width:920px; margin-bottom:18px; }
.notification-section-heading {
  display:flex; align-items:center; gap:8px; margin:0 2px 8px;
  color:var(--fg-1); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
}
.notification-section-count {
  min-width:20px; height:20px; padding:0 6px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; background:var(--teal-100); color:var(--teal-600); font-size:10px; font-weight:800;
}
.notification-list-compact { gap:8px; max-width:920px; }
.notification-card-compact {
  padding:12px 14px; border-radius:12px; box-shadow:none;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.notification-card-compact:hover { border-color:#cbd6da; box-shadow:0 2px 8px rgba(16,47,57,.06); }
.notification-card-compact.is-unread {
  border-left:3px solid var(--teal); background:#fbfefe; box-shadow:0 2px 8px rgba(16,47,57,.06);
}
.notification-card-compact.is-read { opacity:1; background:#fafbfb; border-color:var(--border); }
.notification-card-compact.is-read .notification-icon { opacity:.65; }
.notification-card-compact.is-read .notification-card-title-wrap h2 { color:var(--fg-2); font-weight:650; }
.notification-card-compact .notification-card-head { align-items:center; gap:10px; }
.notification-card-compact .notification-icon {
  width:34px; height:34px; border-radius:9px;
}
.notification-compact-title-line { display:flex; align-items:center; gap:7px; min-width:0; }
.notification-compact-title-line h2 {
  min-width:0; margin:0; overflow:hidden; text-overflow:ellipsis;
  font:700 14px var(--font-display); line-height:1.3; color:var(--fg-1);
}
.notification-unread-dot { width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:var(--teal); box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 10%,transparent); }
.notification-card-compact .notification-date { margin-top:2px; font-size:10px; }
.notification-delete-form { flex:0 0 auto; margin:0; }
.notification-icon-button {
  width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center;
  border:0; border-radius:8px; background:transparent; color:var(--fg-4); cursor:pointer;
}
.notification-icon-button:hover { background:var(--border); color:var(--fg-2); }
.notification-delete-button:hover { background:var(--danger-bg); color:var(--danger); }
.notification-message-compact {
  margin:8px 40px 0 44px; color:var(--fg-2); font-size:12.5px; line-height:1.45;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}
.notification-checklist-compact {
  margin:9px 40px 0 44px; padding:0; overflow:hidden; border:1px solid var(--border); border-radius:9px; background:var(--bg);
}
.notification-checklist-compact > summary {
  list-style:none; display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px;
  padding:8px 10px; color:var(--fg-2); font-size:11px; font-weight:700; cursor:pointer;
}
.notification-checklist-compact > summary::-webkit-details-marker { display:none; }
.notification-checklist-compact > summary span:nth-child(2) { color:var(--fg-4); font-weight:600; }
.notification-checklist-compact > summary svg { color:var(--fg-4); transition:transform .16s ease; }
.notification-checklist-compact[open] > summary svg { transform:rotate(180deg); }
.notification-checklist-progress { height:3px; margin:0 10px; overflow:hidden; border-radius:999px; background:var(--border-2); }
.notification-checklist-progress > span { display:block; height:100%; border-radius:inherit; background:var(--success); }
.notification-checklist-compact .notification-checklist-items { gap:5px; margin:8px 10px 10px; }
.notification-checklist-compact .notification-checkbox { width:20px; height:20px; border-radius:6px; }
.notification-checklist-compact .notification-check-item > span { font-size:11.5px; }
.notification-actions-compact {
  display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:8px 40px 0 44px;
}
.notification-actions-compact form { margin:0; }
.notification-action-link {
  display:inline-flex; align-items:center; gap:5px; padding:0; border:0; background:transparent;
  color:var(--fg-3); font-family:var(--font-body); font-size:11px; font-weight:650; cursor:pointer; text-decoration:none;
}
.notification-action-link:hover { color:var(--teal-600); }
.notification-action-primary { color:var(--teal-600); }

.notification-read-group { max-width:920px; margin-top:14px; }
.notification-read-group > summary {
  list-style:none; display:flex; align-items:center; gap:8px; padding:10px 12px;
  border:1px solid var(--border); border-radius:10px; background:var(--surface);
  color:var(--fg-3); font-size:12px; font-weight:750; cursor:pointer;
}
.notification-read-group > summary::-webkit-details-marker { display:none; }
.notification-read-group > summary > svg { margin-left:auto; transition:transform .16s ease; }
.notification-read-group[open] > summary > svg { transform:rotate(180deg); }
.notification-read-group[open] > summary { margin-bottom:8px; }
.notification-list-read .notification-card-compact { background:#fafbfb; }

@media (max-width:760px) {
  .notification-page-header { gap:12px; }
  .notification-page-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .notification-page-actions form, .notification-page-actions .btn { width:100%; }
  .notification-card-compact { padding:10px 11px; }
  .notification-card-compact .notification-card-head { gap:8px; }
  .notification-card-compact .notification-icon { width:32px; height:32px; }
  .notification-compact-title-line h2 { font-size:13px; white-space:normal; }
  .notification-message-compact,
  .notification-checklist-compact,
  .notification-actions-compact { margin-left:40px; margin-right:0; }
  .notification-message-compact { margin-top:6px; font-size:12px; -webkit-line-clamp:3; }
  .notification-actions-compact { align-items:center; gap:12px; margin-top:7px; }
  .notification-actions-compact > *, .notification-actions-compact .btn { width:auto; }
  .notification-action-link { font-size:10.5px; }
  .notification-icon-button { width:28px; height:28px; }
}

@media (max-width:430px) {
  .notification-page-actions { grid-template-columns:1fr; }
  .notification-message-compact,
  .notification-checklist-compact,
  .notification-actions-compact { margin-left:0; }
  .notification-message-compact { padding-left:40px; }
  .notification-actions-compact { padding-left:40px; }
  .notification-checklist-compact { margin-top:8px; }
}

/* ── Dienstplan v1.7 ───────────────────────────────────────────────────── */
.schedule-page .main-content { max-width: none; padding-right: 28px; }
.schedule-page-header { align-items: center; }
.schedule-view-switch,
.schedule-type-switch {
  display: inline-flex; gap: 3px; padding: 3px; background: var(--border);
  border-radius: 12px;
}
.schedule-view-button,
.schedule-type-button {
  border: 0; background: transparent; color: var(--fg-3); padding: 9px 14px;
  border-radius: 9px; font: 600 13px var(--font-body); cursor: pointer;
}
.schedule-view-button.is-active,
.schedule-type-button.is-active { background: white; color: var(--fg-1); box-shadow: var(--shadow-sm); }
.schedule-loading { min-height: 240px; display:flex; align-items:center; justify-content:center; gap:12px; color:var(--fg-3); }
.schedule-spinner { width:18px; height:18px; border:2px solid var(--border-2); border-top-color:var(--teal); border-radius:50%; animation:scheduleSpin .8s linear infinite; }
@keyframes scheduleSpin { to { transform:rotate(360deg); } }

.schedule-planner-layout { display:grid; grid-template-columns: 250px minmax(0,1fr); gap:20px; align-items:start; }
.schedule-people-panel {
  position: sticky; top: 20px; background: var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:16px; max-height:calc(100vh - 40px); overflow:auto;
}
.schedule-panel-head p { font-size:12px; color:var(--fg-4); line-height:1.5; margin-top:-8px; margin-bottom:14px; }
.schedule-type-switch { width:100%; margin-bottom:14px; }
.schedule-type-button { flex:1; }
.schedule-people-list { display:flex; flex-direction:column; gap:8px; }
.schedule-person-card {
  --person-color:#06B6D4; width:100%; display:grid; grid-template-columns:36px 4px minmax(0,1fr) 18px;
  align-items:center; gap:9px; padding:9px; border:1px solid var(--border); border-radius:11px;
  background:white; color:var(--fg-1); text-align:left; cursor:grab; font:600 13px var(--font-body);
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.schedule-person-card:hover { border-color:color-mix(in srgb,var(--person-color) 55%,var(--border)); box-shadow:var(--shadow-sm); }
.schedule-person-card.is-selected { border-color:var(--person-color); box-shadow:0 0 0 3px color-mix(in srgb,var(--person-color) 16%,transparent); }
.schedule-person-card.is-dragging { opacity:.55; transform:scale(.98); }
.schedule-person-color { width:4px; align-self:stretch; background:var(--person-color); border-radius:999px; }
.schedule-person-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.schedule-drag-handle { color:var(--fg-4); letter-spacing:-2px; }
.schedule-panel-hint { font-size:11px; color:var(--fg-4); line-height:1.55; margin-top:14px; padding-top:12px; border-top:1px solid var(--border); }

.schedule-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; border-radius:50%; overflow:hidden; color:white; font-family:var(--font-display); font-weight:700; }
.schedule-avatar img { width:100%; height:100%; object-fit:cover; }
.schedule-avatar-md { width:36px; height:36px; font-size:11px; }
.schedule-avatar-sm { width:28px; height:28px; font-size:9px; }
.schedule-avatar-xs { width:18px; height:18px; font-size:7px; }

.schedule-calendar-area { min-width:0; }
.schedule-calendar-area-full { width:100%; }
.schedule-toolbar {
  position:sticky; top:0; z-index:15; display:grid; grid-template-columns:36px minmax(0,1fr) 36px auto;
  align-items:center; gap:10px; padding:10px 12px; margin-bottom:14px; background:rgba(247,249,250,.95);
  backdrop-filter:blur(10px); border:1px solid var(--border); border-radius:14px;
}
.schedule-toolbar-title { text-align:center; min-width:0; }
.schedule-toolbar-title span { display:block; font-size:10px; color:var(--fg-4); font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.schedule-toolbar-title strong { display:block; color:var(--fg-1); font-family:var(--font-display); font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.schedule-three-months { display:flex; flex-direction:column; gap:24px; }
.schedule-single-month { width:100%; }
.schedule-month { background:white; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); overflow:hidden; }
.schedule-month-title { min-height:58px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); }
.schedule-month-title h2 { font:700 18px var(--font-display); color:var(--fg-1); }
.schedule-weekdays,
.schedule-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.schedule-weekdays { background:var(--bg); border-bottom:1px solid var(--border); }
.schedule-weekdays > div { padding:8px 10px; text-align:center; font-size:10px; font-weight:700; color:var(--fg-4); text-transform:uppercase; letter-spacing:.08em; }
.schedule-weekdays > div.is-weekend { color:#A67C2B; }
.schedule-day {
  min-height:126px; padding:7px; border-right:1px solid var(--border); border-bottom:1px solid var(--border);
  background:white; min-width:0; transition:background .12s,box-shadow .12s;
}
.schedule-day:nth-child(7n) { border-right:0; }
.schedule-day.is-empty { background:#FAFBFC; }
.schedule-day.is-weekend { background:#FCFAF4; }
.schedule-day.is-holiday { background:#FFF8EE; }
.schedule-day.is-today { box-shadow:inset 0 0 0 2px var(--teal); }
.schedule-day.is-drop-target { background:var(--teal-100); box-shadow:inset 0 0 0 2px var(--teal); }
.schedule-day[data-schedule-date] { cursor:default; }
.can-manage .schedule-day[data-schedule-date] { cursor:pointer; }
.schedule-day-head { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-bottom:6px; }
.schedule-day-head > span { width:25px; height:25px; display:flex; align-items:center; justify-content:center; border-radius:50%; color:var(--fg-2); font-weight:700; font-size:12px; }
.schedule-day.is-today .schedule-day-head > span { background:var(--teal); color:white; }
.schedule-day-head small { color:#A66D17; font-size:8px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.schedule-day-events { display:flex; flex-direction:column; gap:4px; }
.schedule-event {
  --person-color:#06B6D4; width:100%; min-width:0; display:flex; align-items:center; gap:5px;
  padding:4px 6px; border-radius:6px; border:1px solid color-mix(in srgb,var(--person-color) 28%,transparent);
  border-left:4px solid var(--person-color); background:color-mix(in srgb,var(--person-color) 12%,white);
  color:var(--fg-1); font:600 10.5px var(--font-body); text-align:left; overflow:hidden;
}
button.schedule-event { cursor:pointer; }
.schedule-event > span:last-child { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.schedule-event-info_trip { background:color-mix(in srgb,var(--person-color) 19%,white); }
.schedule-event-vacation { border-left-style:solid; }
.schedule-event-vacation.is-pending { background:#F3F5F6; border-color:#C7D0D4; border-left-color:#94A4AB; color:var(--fg-3); border-style:dashed; }
.schedule-regular-off { --person-color:#94A4AB; padding:3px 6px; border-radius:5px; background:#F0F3F4; color:var(--fg-4); font-size:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-left:3px solid color-mix(in srgb,var(--person-color) 55%,#94A4AB); }
.schedule-regular-off.is-all { border-left:0; text-align:center; text-transform:uppercase; letter-spacing:.06em; font-weight:700; }
.schedule-toast { position:fixed; z-index:800; left:50%; bottom:22px; transform:translate(-50%,16px); opacity:0; pointer-events:none; background:var(--navy); color:white; padding:10px 16px; border-radius:10px; box-shadow:var(--shadow-lg); font-size:13px; transition:.2s; max-width:min(90vw,520px); text-align:center; }
.schedule-toast.is-visible { opacity:1; transform:translate(-50%,0); }
.schedule-toast.is-error { background:var(--danger); }

.schedule-entry-modal { position:fixed; inset:0; z-index:700; display:flex; align-items:center; justify-content:center; padding:18px; }
.schedule-entry-backdrop { position:absolute; inset:0; background:rgba(16,47,57,.6); }
.schedule-entry-card { position:relative; width:min(100%,560px); background:white; border-radius:18px; padding:22px; box-shadow:var(--shadow-lg); }
.schedule-entry-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:20px; }
.schedule-entry-head h2 { font:700 20px var(--font-display); color:var(--fg-1); }
.schedule-entry-head p { font-size:13px; color:var(--fg-3); margin-top:3px; }
.schedule-entry-actions { display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:8px; }

/* Dienstplan-Profil im Mitarbeiterbereich */
.schedule-color-setting { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px; background:var(--bg); border:1px solid var(--border); border-radius:12px; margin-bottom:18px; }
.schedule-color-control { display:flex; align-items:center; gap:10px; }
.schedule-color-control input[type="color"] { width:52px; height:42px; border:1px solid var(--border-2); border-radius:9px; padding:3px; background:white; cursor:pointer; }
.schedule-color-control .form-control { width:110px; font-family:monospace; text-transform:uppercase; }
.schedule-hours-list { border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.schedule-hours-row { display:grid; grid-template-columns:minmax(170px,1fr) minmax(260px,1fr); align-items:center; gap:18px; padding:12px 16px; border-bottom:1px solid var(--border); }
.schedule-hours-row:last-child { border-bottom:0; }
.schedule-hours-active { display:flex; align-items:center; gap:11px; cursor:pointer; }
.schedule-hours-active input { width:18px; height:18px; accent-color:var(--teal); }
.schedule-hours-active span { display:flex; flex-direction:column; }
.schedule-hours-active strong { color:var(--fg-1); font-size:13px; }
.schedule-hours-active small { color:var(--fg-4); font-size:11px; }
.schedule-hours-times { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; }
.schedule-hours-times span { font-size:12px; color:var(--fg-4); }
.schedule-hours-times input:disabled { background:#F1F4F5; color:var(--fg-4); }

/* Farbige Einträge im bisherigen Teamkalender */
.calendar-person-chip { --person-color:#06B6D4; display:flex; align-items:center; gap:4px; min-width:0; border-left:3px solid var(--person-color); background:color-mix(in srgb,var(--person-color) 13%,white); color:var(--fg-1); padding:3px 5px; border-radius:5px; font-size:9px; font-weight:600; }
.calendar-person-chip.is-pending { border-color:#94A4AB; background:#F1F4F5; color:var(--fg-3); border-style:dashed; }
.calendar-person-chip .schedule-avatar { width:14px; height:14px; font-size:6px; }
.calendar-person-chip span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

@media (max-width: 1024px) {
  .schedule-page .main-content { padding-right:20px; }
  .schedule-planner-layout { grid-template-columns:210px minmax(0,1fr); gap:14px; }
  .schedule-day { min-height:112px; padding:5px; }
  .schedule-event { font-size:9.5px; }
}

@media (max-width: 800px) {
  .schedule-page .main-content { padding:14px; overflow-x:hidden; }
  .schedule-page-header { align-items:stretch; }
  .schedule-view-switch { width:100%; }
  .schedule-view-button { flex:1; padding:10px 8px; }
  .schedule-planner-layout { display:block; }
  .schedule-people-panel { position:relative; top:auto; max-height:none; margin-bottom:14px; overflow:visible; }
  .schedule-people-list { flex-direction:row; overflow-x:auto; padding-bottom:4px; scroll-snap-type:x proximity; }
  .schedule-person-card { flex:0 0 190px; scroll-snap-align:start; }
  .schedule-panel-hint { display:none; }
  .schedule-toolbar { top:56px; grid-template-columns:34px minmax(0,1fr) 34px; }
  .schedule-today-button { grid-column:1 / -1; width:100%; }
  .schedule-month { overflow-x:auto; }
  .schedule-weekdays,
  .schedule-month-grid { min-width:800px; }
  .schedule-day { min-height:104px; }
  .schedule-month-title { position:sticky; left:0; z-index:2; background:white; }
  .schedule-entry-card { padding:18px 16px; }
  .schedule-entry-actions { grid-template-columns:1fr 1fr; }
  .schedule-entry-actions > span { display:none; }
  .schedule-entry-actions .btn { width:100%; }
  .schedule-color-setting { flex-direction:column; align-items:stretch; }
  .schedule-color-control { justify-content:flex-start; }
  .schedule-hours-row { grid-template-columns:1fr; gap:10px; }
}

@media (max-width: 520px) {
  .schedule-page-header .subtitle { font-size:13px; }
  .schedule-month-title { min-width:800px; padding-left:12px; }
  .schedule-people-panel { padding:12px; }
  .schedule-person-card { flex-basis:170px; }
  .schedule-entry-actions { grid-template-columns:1fr; }
  .schedule-entry-actions > span { display:none; }
  .schedule-entry-actions #scheduleEntryDelete { order:4; }
  .schedule-hours-times { grid-template-columns:1fr auto 1fr; }
}
.calendar-people > .calendar-person-chip { display:flex; align-items:center; gap:4px; min-width:0; padding:3px 5px; border-radius:5px; background:color-mix(in srgb,var(--person-color) 13%,white); color:var(--fg-1); border:0; border-left:3px solid var(--person-color); font-size:8.5px; font-weight:600; line-height:1.2; }
.calendar-people > .calendar-person-chip.is-pending { border:1px dashed #B9C5CA; border-left:3px solid #94A4AB; background:#F1F4F5; color:var(--fg-3); }
.calendar-people > .calendar-person-chip.is-schedule { background:color-mix(in srgb,var(--person-color) 19%,white); }
.calendar-people > .calendar-person-chip > span:last-child { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:0; border:0; border-radius:0; background:transparent; color:inherit; font:inherit; line-height:inherit; }
.calendar-legend i.is-schedule { background:var(--teal-100); border:2px solid var(--teal); }

/* ── Dienstplan-Farbpalette und Zoomstufen v1.7.1 ───────────────────────── */
.schedule-color-control { flex:1; flex-direction:column; align-items:stretch; }
.schedule-color-presets { display:grid; grid-template-columns:repeat(7,28px); gap:8px; }
.schedule-color-swatch {
  width:28px; height:28px; padding:0; border-radius:50%; border:2px solid white;
  background:var(--swatch-color); cursor:pointer; box-shadow:0 0 0 1px var(--border-2);
  transition:transform .14s ease, box-shadow .14s ease;
}
.schedule-color-swatch:hover { transform:scale(1.08); }
.schedule-color-swatch.is-active { box-shadow:0 0 0 3px white,0 0 0 5px var(--swatch-color); transform:scale(.9); }
.schedule-color-custom { display:flex; align-items:center; gap:10px; margin-top:12px; }

.schedule-toolbar { grid-template-columns:36px minmax(0,1fr) 36px auto auto; }
.schedule-zoom-switch {
  display:flex; gap:2px; padding:3px; border-radius:10px; background:var(--border);
  min-width:max-content;
}
.schedule-zoom-button {
  border:0; background:transparent; color:var(--fg-3); border-radius:8px; padding:6px 9px;
  font:600 11px var(--font-body); cursor:pointer; white-space:nowrap;
}
.schedule-zoom-button.is-active { background:white; color:var(--fg-1); box-shadow:var(--shadow-sm); }

/* Kompakt: drei Monate auf dem Desktop deutlich dichter vergleichen */
.schedule-app.zoom-compact .schedule-three-months { gap:14px; }
.schedule-app.zoom-compact .schedule-month-title { min-height:44px; padding:8px 12px; }
.schedule-app.zoom-compact .schedule-month-title h2 { font-size:15px; }
.schedule-app.zoom-compact .schedule-weekdays > div { padding:5px 6px; font-size:9px; }
.schedule-app.zoom-compact .schedule-day { min-height:76px; padding:4px; }
.schedule-app.zoom-compact .schedule-day-head { margin-bottom:3px; }
.schedule-app.zoom-compact .schedule-day-head > span { width:20px; height:20px; font-size:10px; }
.schedule-app.zoom-compact .schedule-day-head small { font-size:7px; }
.schedule-app.zoom-compact .schedule-day-events { gap:2px; }
.schedule-app.zoom-compact .schedule-event { gap:3px; padding:2px 4px; border-left-width:3px; font-size:8.5px; line-height:1.2; }
.schedule-app.zoom-compact .schedule-avatar-xs { width:14px; height:14px; font-size:6px; }
.schedule-app.zoom-compact .schedule-regular-off { padding:2px 4px; font-size:7.5px; }

/* Überblick/Gesamt: vollständige Kalenderbreite und stark reduzierte Höhe */
.schedule-app.zoom-overview .schedule-three-months { gap:10px; }
.schedule-app.zoom-overview .schedule-month { overflow:hidden; }
.schedule-app.zoom-overview .schedule-month-title { min-height:36px; padding:6px 9px; }
.schedule-app.zoom-overview .schedule-month-title h2 { font-size:13px; }
.schedule-app.zoom-overview .schedule-month-title .badge { padding:2px 6px; font-size:8px; }
.schedule-app.zoom-overview .schedule-weekdays,
.schedule-app.zoom-overview .schedule-month-grid { min-width:0 !important; width:100%; }
.schedule-app.zoom-overview .schedule-weekdays > div { padding:3px 1px; font-size:7.5px; letter-spacing:.04em; }
.schedule-app.zoom-overview .schedule-day { min-height:48px; padding:2px; min-width:0; }
.schedule-app.zoom-overview .schedule-day-head { margin-bottom:1px; }
.schedule-app.zoom-overview .schedule-day-head > span { width:16px; height:16px; font-size:8px; }
.schedule-app.zoom-overview .schedule-day-head small { display:none; }
.schedule-app.zoom-overview .schedule-day-events { gap:1px; max-height:28px; overflow:hidden; }
.schedule-app.zoom-overview .schedule-event { gap:2px; padding:1px 2px; border-radius:3px; border-left-width:2px; font-size:6.8px; line-height:1.05; min-height:10px; }
.schedule-app.zoom-overview .schedule-event .schedule-avatar { display:none; }
.schedule-app.zoom-overview .schedule-regular-off { padding:1px 2px; border-radius:3px; border-left-width:2px; font-size:6px; line-height:1.05; }
.schedule-app.zoom-overview .schedule-month-title { position:static; min-width:0; }
.schedule-app.zoom-overview .schedule-planner-layout { grid-template-columns:210px minmax(0,1fr); gap:12px; }
.schedule-app.zoom-overview .schedule-people-panel { padding:12px; }
.schedule-app.zoom-overview .schedule-person-card { grid-template-columns:30px 3px minmax(0,1fr) 14px; gap:7px; padding:7px; font-size:12px; }
.schedule-app.zoom-overview .schedule-avatar-md { width:30px; height:30px; }

@media (max-width: 800px) {
  .schedule-toolbar { grid-template-columns:34px minmax(0,1fr) 34px; }
  .schedule-today-button { grid-column:1 / 2; width:100%; padding-left:6px; padding-right:6px; }
  .schedule-zoom-switch { grid-column:2 / 4; width:100%; min-width:0; }
  .schedule-zoom-button { flex:1; padding:7px 4px; font-size:10px; }
  .schedule-app.zoom-compact .schedule-weekdays,
  .schedule-app.zoom-compact .schedule-month-grid { min-width:620px; }
  .schedule-app.zoom-overview .schedule-month { overflow:hidden; }
  .schedule-app.zoom-overview .schedule-month-title { min-width:0; padding-left:8px; }
  .schedule-app.zoom-overview .schedule-day { min-height:46px; }
  .schedule-app.zoom-overview .schedule-day-events { max-height:26px; }
  .schedule-app.zoom-overview .schedule-planner-layout { display:block; }
}

@media (max-width: 520px) {
  .schedule-color-presets { grid-template-columns:repeat(7,26px); gap:7px; }
  .schedule-color-swatch { width:26px; height:26px; }
  .schedule-color-custom { align-items:stretch; }
  .schedule-color-custom input[type="color"] { flex:0 0 52px; }
  .schedule-color-custom .form-control { flex:1; width:auto; }
  .schedule-app.zoom-overview .schedule-month-title h2 { font-size:12px; }
  .schedule-app.zoom-overview .schedule-day { min-height:43px; }
  .schedule-app.zoom-overview .schedule-event { font-size:6.2px; }
  .schedule-app.zoom-overview .schedule-regular-off { font-size:5.7px; }
}


/* ── Dienstplan-Steuerung v1.7.2 ───────────────────────────────────────── */
.schedule-weekdays,
.schedule-month-grid { grid-template-columns:repeat(var(--schedule-columns,7),minmax(0,1fr)); }
.schedule-app .schedule-day { min-height:var(--schedule-cell-height,126px) !important; }
.schedule-app.hide-sunday .schedule-day:nth-child(7n) { border-right:1px solid var(--border); }
.schedule-app.hide-sunday .schedule-day:nth-child(6n) { border-right:0; }

.schedule-toolbar { grid-template-columns:36px minmax(0,1fr) 36px auto; }
.schedule-toolbar-controls {
  display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; flex-wrap:wrap;
}
.schedule-today-button {
  padding:6px 9px; font:600 11px var(--font-body); line-height:1.2; min-height:29px;
}
.schedule-sunday-toggle {
  display:inline-flex; align-items:center; gap:6px; padding:5px 8px; min-height:29px;
  border:1px solid var(--border-2); border-radius:9px; background:white; color:var(--fg-3);
  font:600 11px var(--font-body); cursor:pointer; user-select:none;
}
.schedule-sunday-toggle input { position:absolute; opacity:0; pointer-events:none; }
.schedule-toggle-track {
  position:relative; width:28px; height:16px; border-radius:999px; background:var(--border-2);
  transition:background .15s ease;
}
.schedule-toggle-track > span {
  position:absolute; width:12px; height:12px; left:2px; top:2px; border-radius:50%; background:white;
  box-shadow:0 1px 3px rgba(16,47,57,.2); transition:transform .15s ease;
}
.schedule-sunday-toggle input:checked + .schedule-toggle-track { background:var(--teal); }
.schedule-sunday-toggle input:checked + .schedule-toggle-track > span { transform:translateX(12px); }
.schedule-sunday-toggle:focus-within { box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 12%,transparent); border-color:var(--teal); }

.schedule-zoom-control { display:flex; align-items:stretch; gap:3px; min-width:0; }
.schedule-zoom-step {
  width:29px; min-width:29px; border:1px solid var(--border-2); border-radius:8px; background:white;
  color:var(--fg-2); font:700 16px/1 var(--font-body); cursor:pointer;
}
.schedule-zoom-step:hover:not(:disabled) { border-color:var(--teal); color:var(--teal-600); }
.schedule-zoom-step:disabled { opacity:.35; cursor:not-allowed; }
.schedule-zoom-switch { min-width:0; }

.schedule-height-control {
  display:grid; grid-template-columns:auto minmax(76px,120px) 34px; align-items:center; gap:6px;
  min-height:29px; padding:4px 8px; border:1px solid var(--border-2); border-radius:9px;
  background:white; color:var(--fg-3); font:600 10px var(--font-body);
}
.schedule-height-control input[type="range"] { width:100%; min-width:76px; accent-color:var(--teal); cursor:pointer; }
.schedule-height-control output { color:var(--fg-4); font-size:9px; text-align:right; }

@media (max-width:1100px) {
  .schedule-toolbar { grid-template-columns:34px minmax(0,1fr) 34px; }
  .schedule-toolbar-controls { grid-column:1 / -1; justify-content:flex-start; }
  .schedule-height-control { flex:1 1 210px; }
}

@media (max-width:800px) {
  .schedule-toolbar { grid-template-columns:34px minmax(0,1fr) 34px; }
  .schedule-toolbar-controls { grid-column:1 / -1; display:grid; grid-template-columns:auto auto minmax(0,1fr); gap:6px; width:100%; }
  .schedule-today-button { grid-column:auto; width:auto; padding:6px 8px; font-size:10px; }
  .schedule-sunday-toggle { font-size:10px; padding:5px 7px; }
  .schedule-zoom-control { min-width:0; }
  .schedule-zoom-switch { flex:1; }
  .schedule-zoom-button { font-size:10px; padding:7px 4px; }
  .schedule-height-control { grid-column:1 / -1; grid-template-columns:auto minmax(0,1fr) 34px; width:100%; }
}

@media (max-width:430px) {
  .schedule-toolbar-controls { grid-template-columns:auto auto minmax(0,1fr); }
  .schedule-zoom-step { width:27px; min-width:27px; }
  .schedule-sunday-toggle > span:last-child { font-size:9px; }
  .schedule-height-control { padding-left:7px; padding-right:7px; }
}


/* ── Urlaubskalender-Breitenverteilung v1.7.4 ─────────────────────────── */
.vacation-requests-card { min-width:0; }
.vacation-calendar-card { min-width:440px; }
@media (max-width:1200px) and (min-width:761px) {
  .vacation-calendar-card { min-width:400px; }
}
@media (max-width:760px) {
  .vacation-calendar-card { min-width:0; }
}

/* ── Desktop-Benachrichtigung, Kalenderbreite und Zoomspeicher v1.7.3 ── */
.sidebar-header-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.sidebar-header-row .sidebar-logo { margin-bottom:0; min-width:0; }
.sidebar-notification-bell {
  position:relative; width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  flex:0 0 34px; border-radius:50%; color:rgba(255,255,255,.72); background:rgba(255,255,255,.07);
}
.sidebar-notification-bell:hover { color:white; background:color-mix(in srgb,var(--teal) 25%,transparent); }
.sidebar-notification-bell > span {
  position:absolute; top:-4px; right:-5px; min-width:18px; height:18px; padding:0 4px;
  display:flex; align-items:center; justify-content:center; border:2px solid var(--navy);
  border-radius:999px; background:var(--danger); color:white; font-size:8px; font-weight:800;
}

@media (max-width:1024px) {
  .sidebar-notification-bell { display:none; }
}

@media (min-width:1025px) {
  body.vacation-page .main-content { max-width:none; width:100%; }
  body.vacation-page .vacation-calendar-card { width:100%; max-width:none; }
}

/* ── Urlaubskalender: breiter und höhenverstellbar v1.8.0 ─────────────── */
.vacation-requests-card .card-header .btn { width:auto; flex:0 0 auto; }
.vacation-calendar-card { --vacation-calendar-scale:1.1; }
.vacation-calendar-card .team-calendar-day { min-height:calc(70px * var(--vacation-calendar-scale)); }
.team-calendar-toolbar { align-items:center; gap:10px; flex-wrap:wrap; }
.vacation-calendar-height-control {
  display:grid; grid-template-columns:auto minmax(100px,150px) 38px; align-items:center; gap:7px;
  min-height:31px; padding:4px 8px; border:1px solid var(--border-2); border-radius:9px;
  background:white; color:var(--fg-3); font:600 10px var(--font-body);
}
.vacation-calendar-height-control input { width:100%; accent-color:var(--teal); cursor:pointer; }
.vacation-calendar-height-control output { color:var(--fg-4); font-size:9px; text-align:right; }
@media (min-width:1280px) {
  .vacation-layout { grid-template-columns:minmax(430px,.8fr) minmax(600px,1.2fr); }
}
@media (min-width:1600px) {
  .vacation-layout { grid-template-columns:minmax(480px,.72fr) minmax(720px,1.28fr); }
}
@media (max-width:760px) {
  .vacation-calendar-card { --vacation-calendar-scale:1; }
  .vacation-calendar-height-control { grid-template-columns:auto minmax(0,1fr) 36px; width:100%; }
}

/* ── Provisionsziele v1.8.0 ───────────────────────────────────────────── */
@media (min-width:1025px) { body.commission-goals-page .main-content { max-width:none; width:100%; } }
.commission-page-header .page-header-actions { display:flex; gap:8px; flex-wrap:wrap; }
.commission-period-bar { display:flex; align-items:flex-end; gap:16px; padding:16px 18px; }
.commission-period-select { flex:1; min-width:220px; }
.commission-period-select label { display:block; margin-bottom:4px; color:var(--fg-4); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.commission-period-dates { color:var(--fg-3); font-size:13px; white-space:nowrap; }
.commission-metrics { grid-template-columns:repeat(5,minmax(120px,1fr)); gap:12px; }
.commission-metrics .metric-card { padding:15px 17px; }
.commission-metrics .metric-card-value { font-size:20px; }
.commission-filters { display:flex; align-items:flex-end; gap:10px; padding:14px 16px; }
.commission-filters > div { flex:1; min-width:170px; }
.commission-filters .form-label { margin-bottom:4px; font-size:11px; }
.commission-filters .form-control { height:38px; padding:7px 10px; font-size:13px; }
.commission-partner-list { display:flex; flex-direction:column; gap:16px; }
.commission-partner-card { overflow:hidden; }
.commission-partner-head { display:grid; grid-template-columns:minmax(0,1fr) 180px 32px; align-items:center; gap:18px; padding:17px 20px; border-bottom:1px solid var(--border); background:linear-gradient(90deg,var(--surface),var(--bg)); }
.commission-partner-head .section-label { margin-bottom:2px; }
.commission-partner-head h2 { color:var(--fg-1); font:700 17px var(--font-display); }
.commission-partner-head p { margin-top:2px; color:var(--fg-3); font-size:12px; }
.commission-partner-progress strong { display:block; color:var(--fg-1); font-size:13px; }
.commission-partner-progress > span { display:block; margin-bottom:5px; color:var(--fg-4); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.commission-partner-progress .progress { height:5px; }
.commission-icon-button { width:30px; height:30px; border:1px solid var(--border-2); border-radius:8px; background:white; color:var(--fg-3); font-size:18px; cursor:pointer; }
.commission-icon-button.is-danger:hover { border-color:#ebbbbb; background:var(--danger-bg); color:var(--danger); }
.commission-table th { padding:9px 12px; }
.commission-table td { padding:10px 12px; font-size:12.5px; }
.commission-table td:nth-child(1) { width:130px; }
.commission-table td:nth-child(4) { width:100px; white-space:nowrap; }
.commission-table td:nth-child(5) { width:170px; }
.commission-table td:nth-child(6) { width:110px; text-align:right; }
.commission-table td strong { display:block; color:var(--fg-1); }
.commission-table td small { display:block; max-width:460px; margin-top:3px; color:var(--fg-4); font-size:10px; line-height:1.4; }
.commission-table tr.is-overdue { background:#fffafa; }
.commission-table tr.is-overdue:hover { background:#fff5f5; }
.commission-assignee { display:flex; align-items:center; gap:7px; min-width:0; }
.commission-assignee .avatar-sm { width:26px; height:26px; font-size:8px; }
.commission-assignee > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.commission-actions-cell .btn { padding:6px 10px; }
.commission-quick-status { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
.commission-quick-status .form-control { width:115px; height:32px; padding:4px 7px; font-size:11px; }
.commission-empty-filter { padding:22px; color:var(--fg-4); font-size:13px; text-align:center; }
.commission-check { display:flex; align-items:center; gap:8px; color:var(--fg-2); font-size:13px; cursor:pointer; }

.app-dialog.commission-dialog { width:min(94vw,640px); max-width:640px; padding:0; border:0; border-radius:18px; background:white; color:var(--fg-2); box-shadow:0 18px 60px rgba(16,47,57,.28); }
.app-dialog.commission-dialog::backdrop { background:rgba(16,47,57,.56); backdrop-filter:blur(2px); }
.commission-dialog-card { padding:22px; }
.commission-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:18px; }
.commission-dialog-head h2 { color:var(--fg-1); font:700 19px var(--font-display); }
.commission-dialog-head p { margin-top:3px; color:var(--fg-4); font-size:12px; }
.commission-dialog-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.commission-dialog-delete { padding:0 22px 22px; }
.commission-dialog-delete .btn { width:100%; }

@media (max-width:900px) {
  .commission-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .commission-partner-head { grid-template-columns:minmax(0,1fr) 150px 32px; }
  .commission-filters { flex-wrap:wrap; }
}
@media (max-width:760px) {
  .commission-page-header .page-header-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .commission-page-header .page-header-actions .btn:last-child { grid-column:1 / -1; }
  .commission-period-bar { align-items:stretch; flex-direction:column; gap:9px; }
  .commission-period-dates { white-space:normal; }
  .commission-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .commission-metrics .metric-card:first-child { grid-column:1 / -1; }
  .commission-filters { align-items:stretch; flex-direction:column; }
  .commission-filters > div,.commission-filters .btn { width:100%; }
  .commission-partner-head { grid-template-columns:minmax(0,1fr) 32px; gap:10px; padding:15px; }
  .commission-partner-progress { grid-column:1 / -1; }
  .commission-partner-head > form { grid-column:2; grid-row:1; }
  .commission-table tbody tr { padding:13px 14px; }
  .commission-table tbody td { padding:4px 0; }
  .commission-table td:nth-child(n) { width:auto; text-align:left; white-space:normal; }
  .commission-table .commission-actions-cell { padding-top:9px; }
  .commission-table .commission-actions-cell .btn { width:100%; }
  .commission-assignee { justify-content:flex-end; }
  .commission-quick-status { width:100%; justify-content:stretch; }
  .commission-quick-status .form-control { flex:1; width:auto; }
  .app-dialog.commission-dialog { width:100%; max-width:none; margin:auto 0 0; border-radius:20px 20px 0 0; max-height:94vh; overflow:auto; }
  .commission-dialog-card { padding:20px 16px max(18px,env(safe-area-inset-bottom)); }
  .commission-dialog-actions { flex-direction:column-reverse; }
  .commission-dialog-actions .btn { width:100%; }
  .commission-dialog-delete { padding:0 16px max(20px,env(safe-area-inset-bottom)); }
}

/* ── Provisionsziele, Urlaub und Mitarbeiteransicht v1.9.0 ─────────────── */
.vacation-main-column { min-width:0; }
.calendar-person-chip .schedule-avatar,
.calendar-person-chip .schedule-avatar img { border-radius:50% !important; }
.calendar-person-chip .schedule-avatar img { display:block; object-fit:cover; }

.app-dialog.commission-dialog {
  position:fixed; inset:0; margin:auto;
  max-height:min(90vh,760px); overflow:auto;
}
.commission-metrics { grid-template-columns:repeat(6,minmax(110px,1fr)); }
.commission-inline-form { margin:0; }
.commission-inline-form .form-control {
  height:32px; min-width:0; padding:4px 8px; border-radius:8px; font-size:11px;
  background:white;
}
.commission-inline-status .form-control { width:120px; }
.commission-inline-assignee .form-control { width:150px; }
.commission-row-actions { display:flex; justify-content:flex-end; align-items:center; gap:5px; flex-wrap:wrap; }
.commission-comment-button { color:var(--teal-600); }
.commission-comment-preview {
  max-width:460px; margin-top:5px; padding-left:8px; border-left:2px solid var(--teal-border);
  color:var(--fg-3); font-size:10px; line-height:1.4;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.commission-comment-preview span { color:var(--fg-2); font-weight:700; }
.commission-comment-thread {
  display:flex; flex-direction:column; gap:10px; max-height:300px; overflow:auto;
  margin-bottom:16px; padding:2px;
}
.commission-comment-item { display:grid; grid-template-columns:32px minmax(0,1fr); gap:9px; }
.commission-comment-item > div { min-width:0; padding:9px 11px; border:1px solid var(--border); border-radius:10px; background:var(--bg); }
.commission-comment-meta { display:flex; justify-content:space-between; gap:10px; margin-bottom:3px; }
.commission-comment-meta strong { color:var(--fg-1); font-size:11px; }
.commission-comment-meta span { color:var(--fg-4); font-size:9px; white-space:nowrap; }
.commission-comment-item p { color:var(--fg-2); font-size:12px; line-height:1.5; }
.commission-comment-empty { padding:18px; border:1px dashed var(--border-2); border-radius:10px; color:var(--fg-4); font-size:12px; text-align:center; }
.commission-review-check { margin:-3px 0 14px; padding:10px 12px; border:1px solid var(--teal-border); border-radius:10px; background:var(--teal-100); }
.commission-table tr.is-review { background:#fffaf0; }
.commission-overdue-badge { margin-top:5px; }

.impersonation-banner {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:10px 20px; border-bottom:1px solid #e3c56e; background:#fff6d9; color:#6f5310;
  position:sticky; top:0; z-index:120;
}
.impersonation-banner strong { display:block; font-size:13px; }
.impersonation-banner span { display:block; margin-top:1px; font-size:11px; color:#8b6c20; }
.impersonation-banner form { flex:0 0 auto; }
.inline-form { display:inline-flex; margin:0; }

@media (min-width:1280px) {
  .vacation-layout { grid-template-columns:minmax(430px,.76fr) minmax(680px,1.24fr); }
}
@media (min-width:1600px) {
  .vacation-layout { grid-template-columns:minmax(480px,.68fr) minmax(820px,1.32fr); }
}

@media (max-width:900px) {
  .commission-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .app-dialog.commission-dialog {
    width:min(94vw,640px); max-width:640px; margin:auto; border-radius:18px;
    max-height:90vh;
  }
  .commission-inline-status,.commission-inline-assignee { width:100%; }
  .commission-inline-status .form-control,.commission-inline-assignee .form-control { width:100%; }
  .commission-row-actions { width:100%; justify-content:stretch; }
  .commission-row-actions .btn { flex:1; width:auto !important; }
  .commission-comment-preview { max-width:none; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .commission-comment-meta { align-items:flex-start; flex-direction:column; gap:1px; }
  .impersonation-banner { align-items:stretch; flex-direction:column; gap:7px; padding:9px 16px; position:relative; }
  .impersonation-banner .btn { width:100%; }
}
@media (max-width:1024px) {
  .impersonation-banner { position:relative; }
}

/* ── TeamHub v1.10.0: Urlaub, Provisionsziele und Mitarbeiterstatus ────── */
@media (min-width:1025px) {
  body.vacation-page .vacation-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
}
.vacation-card-action .btn { width:auto; max-width:100%; }

.commission-table { min-width:1180px; }
.commission-table th:nth-child(1), .commission-table td:nth-child(1) { width:130px; }
.commission-table th:nth-child(2), .commission-table td:nth-child(2) { width:170px; }
.commission-table th:nth-child(3), .commission-table td:nth-child(3) { width:150px; }
.commission-table th:nth-child(4), .commission-table td:nth-child(4) { width:210px; white-space:normal; }
.commission-table th:nth-child(5), .commission-table td:nth-child(5) { width:270px; white-space:normal; }
.commission-table th:nth-child(6), .commission-table td:nth-child(6) { width:100px; white-space:nowrap; text-align:left; }
.commission-table th:nth-child(7), .commission-table td:nth-child(7) { width:160px; text-align:left; }
.commission-table th:nth-child(8), .commission-table td:nth-child(8) { width:80px; text-align:right; }
.commission-note-text { color:var(--fg-2); font-size:13px; line-height:1.55; }
.commission-comments-cell { vertical-align:top; }
.commission-comment-preview {
  max-width:none; margin:0 0 5px; padding:0 0 0 9px; border-left:3px solid var(--teal-border);
  color:var(--fg-2); font-size:13px; line-height:1.5; white-space:normal;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}
.commission-comment-preview span { display:block; margin-bottom:1px; color:var(--fg-1); font-size:11px; font-weight:800; }
.commission-comment-preview p { margin:0; }
.commission-comment-button { padding:4px 0; font-size:11px; justify-content:flex-start; }
.commission-status-select { font-weight:750; }
.commission-status-select.status-open { border-color:#efd48b; background:#fff8e6; color:#8a6500; }
.commission-status-select.status-planned { border-color:#a8dfe4; background:#edfafa; color:#087983; }
.commission-status-select.status-review { border-color:#efc574; background:#fff5db; color:#91610a; }
.commission-status-select.status-done { border-color:#9fd8c5; background:#ebf8f2; color:#167759; }
.commission-status-select.status-missed { border-color:#e9b0b0; background:#fff0f0; color:#a72f2f; }
.commission-status-select.status-not_required { border-color:var(--border-2); background:var(--bg); color:var(--fg-3); }
.commission-period-delete { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); }

.employee-account-card { border-color:#e1e6e9; }
.employee-account-hint { margin-bottom:12px; color:var(--fg-3); font-size:12px; line-height:1.55; }
.employee-delete-blockers { display:flex; flex-wrap:wrap; gap:5px; }
.employee-delete-blockers span { padding:4px 7px; border-radius:7px; background:var(--bg); color:var(--fg-3); font-size:10px; }
.archived-employees { padding:0; overflow:hidden; }
.archived-employees > summary {
  display:flex; align-items:center; gap:9px; padding:16px 20px; cursor:pointer;
  color:var(--fg-1); font-weight:700; list-style:none;
}
.archived-employees > summary::-webkit-details-marker { display:none; }
.archived-employees > summary::after { content:'▾'; margin-left:auto; color:var(--fg-4); transition:transform .15s; }
.archived-employees[open] > summary::after { transform:rotate(180deg); }
.archived-employee-list { border-top:1px solid var(--border); }
.archived-employee-row {
  display:grid; grid-template-columns:40px minmax(0,1fr) auto 16px; align-items:center; gap:11px;
  padding:12px 20px; border-bottom:1px solid var(--border); color:var(--fg-2); text-decoration:none;
}
.archived-employee-row:last-child { border-bottom:0; }
.archived-employee-row:hover { background:var(--bg); color:var(--fg-2); }
.archived-employee-row strong { display:block; color:var(--fg-1); font-size:13px; }
.archived-employee-row div > span { display:block; margin-top:1px; color:var(--fg-4); font-size:11px; }
.archived-employee-row > svg { color:var(--fg-4); }

@media (max-width:760px) {
  .commission-table { min-width:0; }
  .commission-table td:nth-child(n) { width:auto; text-align:left; white-space:normal; }
  .commission-note-text,.commission-comment-preview { font-size:12.5px; }
  .commission-comment-preview { -webkit-line-clamp:3; }
  .commission-comments-cell .commission-comment-button { width:auto !important; }
  .archived-employee-row { grid-template-columns:36px minmax(0,1fr) 16px; padding:11px 14px; }
  .archived-employee-row > .badge { grid-column:2; justify-self:start; }
  .archived-employee-row > svg { grid-column:3; grid-row:1 / span 2; }
}

/* ── TeamHub v1.11.0: Team-Wissen, Profile und Datenschutz ────────────── */
.submission-category-option {
  position:relative; padding:12px 16px; border:2px solid var(--border-2); border-radius:var(--radius-sm);
  cursor:pointer; transition:border-color .15s,background .15s,box-shadow .15s;
}
.submission-category-option input { position:absolute; opacity:0; pointer-events:none; }
.submission-category-option:hover { border-color:#b9d9dc; }
.submission-category-option.is-selected { border-color:var(--teal); background:var(--teal-100); box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 8%,transparent); }
.knowledge-followup-box { margin:0 0 20px; padding:13px 15px; border:1px solid var(--teal-border); border-radius:var(--radius); background:var(--teal-100); }
.knowledge-followup-box label { display:flex; align-items:flex-start; gap:11px; cursor:pointer; }
.knowledge-followup-box input { margin-top:4px; accent-color:var(--teal); }
.knowledge-followup-box strong,.knowledge-followup-box small { display:block; }
.knowledge-followup-box strong { color:var(--fg-1); font-size:13px; }
.knowledge-followup-box small { margin-top:2px; color:var(--fg-3); font-size:11px; line-height:1.45; }

.profile-personal-form { margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
.profile-address-grid { display:grid; grid-template-columns:minmax(100px,.35fr) minmax(0,1fr); gap:16px; }

.knowledge-page-header { align-items:center; }
.knowledge-filter-card { margin-bottom:20px; padding:18px; }
.knowledge-filter-grid { display:grid; grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(150px,1fr)); gap:12px; }
.knowledge-filter-grid .form-group { margin:0; }
.knowledge-filter-actions { display:flex; align-items:center; gap:8px; margin-top:14px; }
.knowledge-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:16px; }
.knowledge-card { display:flex; flex-direction:column; min-height:270px; }
.knowledge-card-meta { display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:10px; }
.knowledge-card-meta > div:nth-child(2) { min-width:0; }
.knowledge-card-meta strong,.knowledge-card-meta span { display:block; }
.knowledge-card-meta strong { color:var(--fg-1); font-size:12px; }
.knowledge-card-meta span { color:var(--fg-4); font-size:10px; }
.knowledge-category-badge { justify-self:end; }
.knowledge-card-title { margin:17px 0 5px; color:var(--fg-1); font-family:var(--font-display); font-size:18px; font-weight:750; line-height:1.32; }
.knowledge-card-title:hover { color:var(--teal-600); }
.knowledge-provider { color:var(--teal-600); font-size:11px; font-weight:700; }
.knowledge-card > p { margin:12px 0 16px; color:var(--fg-2); font-size:13px; line-height:1.65; }
.knowledge-card-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:12px; border-top:1px solid var(--border); }
.knowledge-card-footer > div { display:flex; flex-wrap:wrap; gap:8px; }
.knowledge-card-footer > div span { color:var(--fg-4); font-size:10px; }

.knowledge-editor-layout { grid-template-columns:minmax(0,1fr) 280px; gap:20px; align-items:start; }
.rich-editor { overflow:hidden; border:1px solid var(--border-2); border-radius:var(--radius); background:white; }
.rich-editor:focus-within { border-color:var(--teal); box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 12%,transparent); }
.rich-editor-toolbar { display:flex; flex-wrap:wrap; gap:4px; padding:7px; border-bottom:1px solid var(--border); background:var(--bg); }
.rich-editor-toolbar button { min-width:31px; height:30px; padding:0 8px; border:1px solid var(--border-2); border-radius:7px; background:white; color:var(--fg-2); font:600 12px var(--font-body); cursor:pointer; }
.rich-editor-toolbar button:hover { border-color:var(--teal); color:var(--teal-600); }
.rich-editor-area { min-height:320px; padding:18px; color:var(--fg-1); font-size:15px; line-height:1.7; outline:none; }
.rich-editor-area:empty::before { content:attr(data-placeholder); color:var(--fg-4); pointer-events:none; }
.rich-editor-area h2,.knowledge-rich-content h2 { margin:24px 0 10px; color:var(--fg-1); font:750 22px/1.3 var(--font-display); }
.rich-editor-area h3,.knowledge-rich-content h3 { margin:20px 0 8px; color:var(--fg-1); font:700 17px/1.35 var(--font-display); }
.rich-editor-area p,.knowledge-rich-content p { margin:0 0 13px; }
.rich-editor-area ul,.rich-editor-area ol,.knowledge-rich-content ul,.knowledge-rich-content ol { margin:0 0 14px 22px; }
.rich-editor-area blockquote,.knowledge-rich-content blockquote { margin:16px 0; padding:10px 14px; border-left:4px solid var(--teal); background:var(--teal-100); color:var(--fg-2); }
.rich-editor-area a,.knowledge-rich-content a { color:var(--teal-600); text-decoration:underline; }
.knowledge-screenshot-picker { display:inline-flex; align-items:center; justify-content:center; padding:9px 14px; border:1px solid var(--border-2); border-radius:var(--radius-sm); background:var(--bg); color:var(--fg-2); font-size:13px; font-weight:650; cursor:pointer; }
.knowledge-screenshot-picker input { display:none; }
.knowledge-screenshot-preview,.knowledge-existing-attachments { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:9px; margin-top:12px; }
.knowledge-screenshot-preview img,.knowledge-existing-attachments img { width:100%; aspect-ratio:4/3; object-fit:cover; border:1px solid var(--border); border-radius:9px; }
.knowledge-existing-attachments > div { min-width:0; }
.knowledge-existing-attachments .btn { width:100%; margin-top:4px; }
.knowledge-guideline-list { padding-left:18px; color:var(--fg-2); font-size:12px; line-height:1.75; }
.knowledge-delete-form { margin-top:18px; text-align:right; }

.knowledge-detail-card { max-width:980px; margin:0 auto; padding:34px 42px; }
.knowledge-detail-header { max-width:980px; margin-left:auto; margin-right:auto; }
.knowledge-detail-meta { display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:11px; padding-bottom:18px; border-bottom:1px solid var(--border); }
.knowledge-detail-meta strong,.knowledge-detail-meta span { display:block; }
.knowledge-detail-meta strong { color:var(--fg-1); font-size:13px; }
.knowledge-detail-meta span { color:var(--fg-4); font-size:10px; }
.knowledge-detail-facts { display:flex; flex-wrap:wrap; gap:16px 30px; margin:20px 0; }
.knowledge-detail-facts div { min-width:150px; }
.knowledge-detail-facts span,.knowledge-detail-facts strong { display:block; }
.knowledge-detail-facts span { color:var(--fg-4); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.knowledge-detail-facts strong { margin-top:3px; color:var(--fg-1); font-size:13px; }
.knowledge-detail-facts a { display:inline-block; margin-top:3px; font-size:11px; }
.knowledge-lead { margin:22px 0; padding:16px 18px; border-radius:var(--radius); background:var(--teal-100); color:#17646a; font-size:15px; font-weight:550; line-height:1.65; }
.knowledge-rich-content { color:var(--fg-2); font-size:15px; line-height:1.75; }
.knowledge-gallery { margin-top:30px; padding-top:22px; border-top:1px solid var(--border); }
.knowledge-gallery > div:last-child { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.knowledge-gallery img { width:100%; max-height:360px; object-fit:contain; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg); }
.knowledge-detail-footer { max-width:980px; margin:16px auto 0; }
.knowledge-submission-link { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 14px; border:1px solid var(--teal-border); border-radius:var(--radius); background:var(--teal-100); }
.knowledge-submission-link.is-empty { border-color:var(--border-2); background:var(--bg); }
.knowledge-submission-link strong,.knowledge-submission-link span { display:block; }
.knowledge-submission-link strong { color:var(--fg-1); font-size:12px; }
.knowledge-submission-link span { margin-top:2px; color:var(--fg-3); font-size:10px; }

@media (max-width:1024px) {
  .knowledge-filter-grid { grid-template-columns:1fr 1fr; }
  .knowledge-editor-layout { grid-template-columns:1fr; }
  .knowledge-editor-layout aside { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
}
@media (max-width:760px) {
  .profile-address-grid,.knowledge-filter-grid { grid-template-columns:1fr; }
  .knowledge-list { grid-template-columns:1fr; }
  .knowledge-card { min-height:0; }
  .knowledge-card-meta { grid-template-columns:36px minmax(0,1fr); }
  .knowledge-category-badge { grid-column:2; justify-self:start; margin-top:2px; }
  .knowledge-card-footer { align-items:flex-start; flex-direction:column; }
  .knowledge-editor-layout aside { grid-template-columns:1fr; }
  .rich-editor-area { min-height:260px; padding:14px; font-size:14px; }
  .knowledge-detail-card { padding:20px 17px; }
  .knowledge-detail-meta { grid-template-columns:36px minmax(0,1fr); }
  .knowledge-detail-meta .badge { grid-column:2; justify-self:start; }
  .knowledge-detail-facts { gap:12px; }
  .knowledge-detail-facts div { min-width:calc(50% - 6px); }
  .knowledge-submission-link { align-items:stretch; flex-direction:column; }
  .knowledge-submission-link .btn { width:100%; }
}
.employee-personal-data { display:grid; grid-template-columns:1fr 1fr; gap:10px 14px; margin-top:14px; }
.employee-personal-data span,.employee-personal-data strong { display:block; }
.employee-personal-data span { color:var(--fg-4); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }
.employee-personal-data strong { margin-top:2px; color:var(--fg-1); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
@media (max-width:760px){.employee-personal-data{grid-template-columns:1fr;}}
.submission-knowledge-inline { margin-top:3px; font-size:10px; font-weight:600; }
.submission-knowledge-inline a { color:var(--teal-600); }

/* ── Team-Wissen inline images and lightbox (v1.12.0) ─────────────────── */
.rich-editor-area img,
.knowledge-rich-content img {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:18px auto;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg);
  box-shadow:0 3px 14px rgba(16,47,57,.08);
}
.rich-editor-area img { cursor:default; }
.knowledge-rich-content img,
.knowledge-gallery img { cursor:zoom-in; }
.knowledge-inline-image { margin:18px 0; }
.knowledge-inline-image img { margin:0 auto; }

.knowledge-lightbox {
  position:fixed;
  inset:0;
  z-index:1800;
  display:grid;
  grid-template-columns:minmax(44px,1fr) minmax(0,calc(100vw - 150px)) minmax(44px,1fr);
  align-items:center;
  justify-items:center;
  padding:28px;
  background:rgba(5,17,22,.92);
  backdrop-filter:blur(8px);
}
.knowledge-lightbox figure {
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:calc(100vh - 56px);
  margin:0;
}
.knowledge-lightbox figure img {
  display:block;
  max-width:100%;
  max-height:calc(100vh - 105px);
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 16px 60px rgba(0,0,0,.45);
}
.knowledge-lightbox figcaption {
  max-width:min(820px,90vw);
  margin-top:12px;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.45;
  text-align:center;
}
.knowledge-lightbox-close,
.knowledge-lightbox-nav {
  border:0;
  color:white;
  background:rgba(255,255,255,.12);
  cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.knowledge-lightbox-close:hover,
.knowledge-lightbox-nav:hover { background:rgba(255,255,255,.22); }
.knowledge-lightbox-close:focus-visible,
.knowledge-lightbox-nav:focus-visible { outline:3px solid color-mix(in srgb,var(--teal) 70%,transparent); outline-offset:3px; }
.knowledge-lightbox-close {
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  width:42px;
  height:42px;
  border-radius:50%;
  font-size:29px;
  line-height:1;
}
.knowledge-lightbox-nav {
  grid-row:1;
  width:48px;
  height:58px;
  border-radius:12px;
  font-size:38px;
  line-height:1;
}
.knowledge-lightbox-prev { grid-column:1; }
.knowledge-lightbox-next { grid-column:3; }

@media (max-width:640px) {
  .knowledge-lightbox {
    grid-template-columns:42px minmax(0,1fr) 42px;
    padding:16px 8px;
  }
  .knowledge-lightbox figure { height:calc(100vh - 32px); }
  .knowledge-lightbox figure img { max-height:calc(100vh - 92px); }
  .knowledge-lightbox-close { top:10px; right:10px; width:38px; height:38px; }
  .knowledge-lightbox-nav { width:38px; height:50px; font-size:32px; }
}

/* ── Provisionsziele und Wissensbilder v1.13.0 ─────────────────────────── */
.commission-partner-head {
  grid-template-columns:minmax(0,1fr) 180px auto;
}
.commission-partner-info { min-width:0; }
.commission-partner-head .commission-partner-program {
  margin-top:3px;
  color:var(--fg-3);
  font-size:13px;
  line-height:1.45;
}
.commission-partner-head .commission-partner-note {
  max-width:760px;
  margin-top:7px;
  color:var(--fg-2);
  font-size:14px;
  line-height:1.55;
}
.commission-partner-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.commission-icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-family:var(--font-body);
  font-weight:700;
  line-height:1;
}
.commission-icon-button.is-add {
  border-color:var(--teal-border);
  background:var(--teal-100);
  color:var(--teal-600);
  font-size:20px;
}
.commission-icon-button.is-add:hover {
  border-color:var(--teal);
  background:#dff7f8;
}
.commission-icon-button.is-edit {
  font-size:16px;
}
.commission-icon-button.is-edit:hover {
  border-color:var(--teal-border);
  color:var(--teal-600);
  background:var(--teal-100);
}
.commission-current-period-label {
  margin-bottom:14px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
}
.commission-current-period-label span,
.commission-current-period-label strong { display:block; }
.commission-current-period-label span {
  margin-bottom:2px;
  color:var(--fg-4);
  font-size:9px;
  font-weight:750;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.commission-current-period-label strong {
  color:var(--fg-1);
  font-size:13px;
}
.commission-period-delete { margin-top:12px; }

/* Inline-Bilder im Editor und veröffentlichten Beitrag beginnen links. */
.rich-editor-area img,
.knowledge-rich-content img { margin:18px 0; }
.knowledge-inline-image img { margin:0; }

@media (max-width:900px) {
  .commission-partner-head { grid-template-columns:minmax(0,1fr) 150px auto; }
}
@media (max-width:760px) {
  .commission-partner-head { grid-template-columns:minmax(0,1fr) auto; }
  .commission-partner-actions { grid-column:2; grid-row:1; }
  .commission-partner-progress { grid-column:1 / -1; }
  .commission-partner-head .commission-partner-note { font-size:13.5px; }
}


/* ── TeamHub v1.15.0: stabile Checklisten, mobiler Urlaub und Sonntage ─── */
.schedule-day.is-closed { background:#F3F5F6; }
.schedule-regular-off.is-closed { background:#E7ECEE; color:var(--fg-3); }

@media (max-width:760px) {
  .vacation-calendar-card .team-calendar-day {
    position:relative;
    overflow:visible;
  }
  .vacation-calendar-card .calendar-people {
    position:relative;
    z-index:2;
  }
  .vacation-calendar-card .calendar-person-chip .schedule-avatar {
    display:none;
  }
  .vacation-calendar-card .calendar-people > .calendar-person-chip {
    position:relative;
    z-index:3;
    min-height:18px;
    padding:3px 4px;
    font-size:9px;
    overflow:visible;
  }
  .vacation-calendar-card .calendar-person-chip.continues-before {
    margin-left:-7px;
    padding-left:8px;
    border-left-color:transparent;
    border-radius:0 5px 5px 0;
  }
  .vacation-calendar-card .calendar-person-chip.continues-after {
    margin-right:-7px;
    padding-right:8px;
    border-radius:5px 0 0 5px;
  }
  .vacation-calendar-card .calendar-person-chip.continues-before.continues-after {
    border-radius:0;
  }
  .vacation-calendar-card .calendar-person-chip.continues-before .calendar-person-label {
    visibility:hidden;
  }
  .vacation-calendar-card .calendar-person-chip .calendar-person-label {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    padding:0;
    background:transparent;
    color:inherit;
    font:inherit;
  }
}

/* ── TeamHub v1.16.0: durchgehende Abwesenheitsbalken und stabile Legende ── */
.vacation-calendar-card .team-calendar-day {
  position:relative;
  overflow:visible;
}
.vacation-calendar-card .calendar-people {
  position:relative;
  z-index:2;
}
.vacation-calendar-card .calendar-people > .calendar-person-chip,
.vacation-calendar-card .calendar-people > .calendar-person-chip-spacer {
  min-height:20px;
}
.vacation-calendar-card .calendar-people > .calendar-person-chip {
  position:relative;
  z-index:3;
  overflow:visible;
}
.vacation-calendar-card .calendar-people > .calendar-person-chip-spacer {
  display:block;
  height:20px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:transparent;
  visibility:hidden;
  pointer-events:none;
}
.vacation-calendar-card .calendar-person-chip.continues-before {
  margin-left:-8px;
  padding-left:9px;
  border-left-color:transparent;
  border-radius:0 5px 5px 0;
}
.vacation-calendar-card .calendar-person-chip.continues-after {
  margin-right:-8px;
  padding-right:9px;
  border-radius:5px 0 0 5px;
}
.vacation-calendar-card .calendar-person-chip.continues-before.continues-after {
  border-radius:0;
}
.vacation-calendar-card .calendar-person-chip.continues-before .schedule-avatar,
.vacation-calendar-card .calendar-person-chip.continues-before .calendar-person-label {
  visibility:hidden;
}
.calendar-legend {
  flex-wrap:nowrap;
}
.calendar-legend > span {
  min-width:0;
  white-space:nowrap;
}
.calendar-legend b {
  color:inherit;
  font:inherit;
}
.calendar-legend-short {
  display:none;
}

@media (max-width:760px) {
  .vacation-calendar-card .calendar-people > .calendar-person-chip,
  .vacation-calendar-card .calendar-people > .calendar-person-chip-spacer {
    min-height:18px;
  }
  .vacation-calendar-card .calendar-people > .calendar-person-chip-spacer {
    height:18px;
  }
  .vacation-calendar-card .calendar-person-chip.continues-before {
    margin-left:-7px;
    padding-left:8px;
  }
  .vacation-calendar-card .calendar-person-chip.continues-after {
    margin-right:-7px;
    padding-right:8px;
  }
  .calendar-legend {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:center;
    gap:8px;
    width:100%;
    font-size:9.5px;
  }
  .calendar-legend > span {
    justify-content:center;
    gap:4px;
    white-space:nowrap;
  }
  .calendar-legend-full {
    display:none;
  }
  .calendar-legend-short {
    display:inline;
  }
}

/* ── TeamHub v1.17.0: durchgehende Dienstplanbalken und Sonntagsanzeige ─ */
.schedule-app {
  --schedule-event-bridge:8px;
}
.schedule-day {
  position:relative;
  overflow:visible;
}
.schedule-day-events {
  position:relative;
  z-index:2;
}
.schedule-day-events > .schedule-event,
.schedule-day-events > .schedule-event-spacer {
  flex:0 0 auto;
  min-height:26px;
}
.schedule-day-events > .schedule-event {
  position:relative;
  z-index:3;
  width:auto;
  align-self:stretch;
  overflow:visible;
}
.schedule-event-spacer {
  display:block;
  height:26px;
  padding:0;
  border:0;
  background:transparent;
  visibility:hidden;
  pointer-events:none;
}
.schedule-event.continues-before {
  margin-left:calc(-1 * var(--schedule-event-bridge));
  padding-left:calc(6px + var(--schedule-event-bridge));
  border-left-color:transparent;
  border-radius:0 6px 6px 0;
}
.schedule-event.continues-after {
  margin-right:calc(-1 * var(--schedule-event-bridge));
  padding-right:calc(6px + var(--schedule-event-bridge));
  border-radius:6px 0 0 6px;
}
.schedule-event.continues-before.continues-after {
  border-radius:0;
}
.schedule-event.continues-before .schedule-avatar,
.schedule-event.continues-before .schedule-event-label {
  visibility:hidden;
}

.schedule-app.zoom-compact {
  --schedule-event-bridge:5px;
}
.schedule-app.zoom-compact .schedule-day-events > .schedule-event,
.schedule-app.zoom-compact .schedule-day-events > .schedule-event-spacer {
  min-height:18px;
}
.schedule-app.zoom-compact .schedule-event-spacer { height:18px; }
.schedule-app.zoom-compact .schedule-event.continues-before { padding-left:calc(4px + var(--schedule-event-bridge)); }
.schedule-app.zoom-compact .schedule-event.continues-after { padding-right:calc(4px + var(--schedule-event-bridge)); }

.schedule-app.zoom-overview {
  --schedule-event-bridge:3px;
}
.schedule-app.zoom-overview .schedule-day-events > .schedule-event,
.schedule-app.zoom-overview .schedule-day-events > .schedule-event-spacer {
  min-height:10px;
}
.schedule-app.zoom-overview .schedule-event-spacer { height:10px; }
.schedule-app.zoom-overview .schedule-event.continues-before { padding-left:calc(2px + var(--schedule-event-bridge)); }
.schedule-app.zoom-overview .schedule-event.continues-after { padding-right:calc(2px + var(--schedule-event-bridge)); }

/* Der Toggle beschreibt die Sichtbarkeit: aus = Sonntag verborgen, an = sichtbar. */
.vacation-calendar-card.hide-sunday .team-calendar-weekdays,
.vacation-calendar-card.hide-sunday .team-calendar-grid {
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.vacation-calendar-card.hide-sunday .is-sunday {
  display:none !important;
}
.vacation-calendar-card.hide-sunday[data-first-dow="7"] .calendar-empty.is-leading {
  display:none;
}
.vacation-calendar-card.hide-sunday .team-calendar-day.is-saturday .calendar-person-chip.continues-after {
  margin-right:0;
  padding-right:5px;
  border-radius:5px;
}
.vacation-calendar-card.hide-sunday .team-calendar-day.is-saturday .calendar-person-chip.continues-before.continues-after {
  border-radius:0 5px 5px 0;
}
.team-calendar-toolbar {
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.team-calendar-toolbar .schedule-sunday-toggle {
  flex:0 0 auto;
}

@media (max-width:760px) {
  .vacation-calendar-card.hide-sunday .team-calendar-day.is-saturday .calendar-person-chip.continues-after {
    padding-right:4px;
  }
}
.vacation-calendar-card.hide-sunday .calendar-person-chip-spacer.is-sunday-only-lane {
  display:none;
}

/* ── TeamHub v1.18.0: Empfängerwahl, Aufgaben-Rich-Text und Fertigdatum ── */
.task-rich-editor-area { min-height:220px; }
.task-comment-editor-area { min-height:150px; }
.task-rich-content { color:var(--fg-2); font-size:14px; line-height:1.75; overflow-wrap:anywhere; }
.task-comment-text.task-rich-content { margin-top:7px; font-size:13.5px; }
.task-rich-content h2 { margin:22px 0 9px; color:var(--fg-1); font:750 20px/1.3 var(--font-display); }
.task-rich-content h3 { margin:18px 0 7px; color:var(--fg-1); font:700 16px/1.35 var(--font-display); }
.task-rich-content p { margin:0 0 12px; }
.task-rich-content ul,.task-rich-content ol { margin:0 0 13px 22px; }
.task-rich-content blockquote { margin:15px 0; padding:10px 14px; border-left:4px solid var(--teal); background:var(--teal-100); color:var(--fg-2); }
.task-rich-content a { color:var(--teal-600); text-decoration:underline; }
.rich-editor-area .task-inline-image { margin:18px 0; }
.rich-editor-area .task-inline-image img { margin:0; }
.task-rich-content img {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  margin:18px 0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg);
  box-shadow:0 3px 14px rgba(16,47,57,.08);
  cursor:zoom-in;
}
.task-attachment-grid img,.task-comment-attachments img { cursor:zoom-in; }
.task-create-modal { width:min(100%,780px); }

.notification-recipient-picker {
  min-width:0;
  margin:15px 0 17px;
  padding:13px 14px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg);
}
.notification-recipient-picker legend {
  padding:0 5px;
  color:var(--fg-2);
  font-size:12px;
  font-weight:750;
}
.notification-recipient-picker > p {
  margin:0 0 10px;
  color:var(--fg-4);
  font-size:11px;
  line-height:1.45;
}
.notification-recipient-list { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px; }
.notification-recipient-chip {
  position:relative;
  display:flex;
  align-items:center;
  gap:7px;
  max-width:150px;
  padding:5px 9px 5px 5px;
  border:1px solid var(--border);
  border-radius:999px;
  background:white;
  color:var(--fg-3);
  cursor:pointer;
  transition:border-color .15s,background .15s,color .15s,box-shadow .15s;
}
.notification-recipient-chip:hover { border-color:var(--teal-border); background:var(--teal-100); }
.notification-recipient-chip:has(input:checked) {
  border-color:var(--teal);
  background:var(--teal-100);
  color:var(--teal-700);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 9%,transparent);
}
.notification-recipient-chip input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.notification-recipient-avatar { display:flex; flex:0 0 auto; border-radius:50%; }
.notification-recipient-chip input:checked + .notification-recipient-avatar { box-shadow:0 0 0 2px var(--teal); }
.notification-recipient-avatar .avatar-sm { width:30px; height:30px; font-size:9px; }
.notification-recipient-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:700; }
.commission-recipient-picker { margin-top:4px; }

.commission-date-cell { min-width:118px; }
.commission-date-stack { display:flex; flex-direction:column; gap:6px; }
.commission-date-stack > span { display:flex; align-items:center; gap:6px; color:var(--fg-2); font-size:12px; font-weight:650; white-space:nowrap; }
.commission-date-stack svg { width:15px; height:15px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; color:var(--fg-4); }
.commission-date-stack .commission-completion-date { color:#14704d; }
.commission-date-stack .commission-completion-date svg { color:#159463; }
.commission-date-stack .commission-completion-date.is-empty { color:var(--fg-4); font-weight:500; }
.commission-date-stack .commission-completion-date.is-empty svg { color:var(--fg-4); }
.commission-review-controls { margin-top:4px; padding:12px; border:1px solid var(--teal-border); border-radius:var(--radius); background:var(--teal-100); }
.commission-review-controls .commission-review-check { margin:0; }
.commission-completion-input { margin:12px 0 0; }
.commission-completion-input[hidden] { display:none; }

@media (max-width:760px) {
  .task-rich-editor-area { min-height:190px; }
  .task-comment-editor-area { min-height:140px; }
  .notification-recipient-list { gap:7px; }
  .notification-recipient-chip { max-width:130px; padding-right:8px; }
  .notification-recipient-name { font-size:10.5px; }
  .commission-date-cell { min-width:0; }
  .commission-date-stack { align-items:flex-end; }
  .commission-date-stack > span { justify-content:flex-end; }
}

/* v1.19.0 Termine */
.appointments-grid{display:grid;gap:12px}.appointment-card{display:grid;grid-template-columns:130px 1fr auto;gap:18px;align-items:center;padding:18px}.appointment-card.cancelled{opacity:.62}.appointment-time{display:flex;flex-direction:column;gap:4px}.appointment-time strong{font-size:1rem}.appointment-time span{color:#62767e}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.schedule-event-appointment{background:#fff2d8;border-left:4px solid #e6a42f;color:#5b3c00;text-decoration:none}.modal.is-open{display:flex}.modal{align-items:center;justify-content:center}.modal-dialog{max-height:90vh;overflow:auto}@media(max-width:700px){.appointment-card{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}

/* v1.20.0 – Termine direkt in Termine & Dienstplan */
.schedule-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.appointment-modal-card{width:min(820px,calc(100vw - 28px));max-height:min(92vh,900px);overflow:auto}
.appointment-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.appointment-form-grid .full{grid-column:1/-1}
.appointment-time-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.appointment-form-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}
.appointment-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #e2eaed;border-radius:12px;overflow:hidden;margin-bottom:16px}
.appointment-detail-grid>div{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-bottom:1px solid #e8eef0}
.appointment-detail-grid>div:nth-child(odd){border-right:1px solid #e8eef0}
.appointment-detail-grid span,.appointment-detail-note>span{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:#7a8b92;font-weight:700}
.appointment-detail-grid strong{font-size:.96rem;color:#153944}
.appointment-detail-note{padding:13px 14px;background:#f7fafb;border-radius:12px;margin-bottom:12px}
.appointment-detail-note p{margin:5px 0 0;font-size:.96rem;line-height:1.55;color:#334b54;white-space:pre-wrap}
.appointment-cancel-box{margin-top:18px;padding-top:18px;border-top:1px solid #e2eaed}
.appointment-cancel-box .appointment-form-actions{margin-top:12px}

.schedule-agenda-wrap{overflow:auto;border:1px solid #dfe8eb;border-radius:16px;background:#fff;max-height:calc(100vh - 220px);min-height:520px}
.schedule-agenda-grid{display:grid;grid-template-columns:72px repeat(var(--agenda-days),minmax(150px,1fr));min-width:calc(72px + var(--agenda-days) * 150px);position:relative}
.schedule-agenda-corner{position:sticky;left:0;top:0;z-index:8;background:#f7fafb;border-right:1px solid #e4ecef;border-bottom:1px solid #e4ecef;min-height:92px}
.schedule-agenda-day-head{position:sticky;top:0;z-index:7;background:#f7fafb;border-right:1px solid #e4ecef;border-bottom:1px solid #e4ecef;min-height:92px;padding:10px 8px;text-align:center;display:flex;flex-direction:column;gap:2px}
.schedule-agenda-day-head.is-today{background:#eefbfc}
.schedule-agenda-day-head>strong{font-size:.9rem;color:#153944}.schedule-agenda-day-head>span{font-size:.78rem;color:#73868e}
.schedule-agenda-absence-list{display:flex;flex-direction:column;gap:3px;margin-top:5px;text-align:left}
.schedule-agenda-absence-list span{display:block;font-size:.68rem;line-height:1.2;padding:3px 5px;border-radius:5px;background:color-mix(in srgb,var(--person-color) 14%,#fff);border-left:3px solid var(--person-color);color:#314b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-agenda-time{position:sticky;left:0;z-index:4;height:40px;padding:4px 8px 0;background:#f9fbfc;border-right:1px solid #e4ecef;border-bottom:1px solid #edf2f4;color:#82939a;font-size:.72rem;text-align:right}
.schedule-agenda-slot{height:40px;border-right:1px solid #e4ecef;border-bottom:1px solid #edf2f4;position:relative;background:#fff;cursor:pointer}
.schedule-agenda-slot:hover{background:#f4fcfc}
.schedule-agenda-appointment{position:absolute;top:2px;left:3px;right:3px;z-index:5;border:0;border-left:4px solid var(--person-color);border-radius:7px;background:#fff2d8;padding:5px 7px;text-align:left;color:#5b3c00;box-shadow:0 2px 8px rgba(16,47,57,.12);overflow:hidden;cursor:pointer;display:flex;flex-direction:column;gap:1px}
.schedule-agenda-appointment:hover{filter:brightness(.98);box-shadow:0 3px 12px rgba(16,47,57,.18)}
.schedule-agenda-appointment strong{font-size:.74rem;line-height:1.15}.schedule-agenda-appointment span{font-size:.71rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-agenda-appointment small{font-size:.65rem;color:#7f6842}
.schedule-event-appointment{border:0;border-left:4px solid #e6a42f;cursor:pointer;width:100%;font:inherit;text-align:left}

@media(max-width:900px){
  .schedule-page-header{align-items:flex-start}.schedule-header-actions{width:100%;justify-content:flex-start}.schedule-view-switch{width:auto;max-width:100%;overflow-x:auto}
  .appointment-form-grid{grid-template-columns:1fr}.appointment-form-grid .full{grid-column:auto}.appointment-detail-grid{grid-template-columns:1fr}.appointment-detail-grid>div:nth-child(odd){border-right:0}
}
@media(max-width:620px){
  .schedule-header-actions>.btn{width:100%}.schedule-view-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));width:100%}.schedule-view-button{padding-left:7px;padding-right:7px;font-size:.78rem}
  .appointment-time-row{grid-template-columns:1fr}.appointment-form-actions{flex-direction:column-reverse;align-items:stretch}.appointment-form-actions .btn{width:100%}
  .schedule-agenda-wrap{max-height:calc(100vh - 180px);border-radius:12px}.schedule-agenda-grid{grid-template-columns:56px repeat(var(--agenda-days),minmax(132px,1fr));min-width:calc(56px + var(--agenda-days) * 132px)}.schedule-agenda-corner{min-height:82px}.schedule-agenda-day-head{min-height:82px}.schedule-agenda-time{padding-right:5px}
}


/* v1.21.0 – Terminfarben und Online-Buchungsregeln */
.schedule-event-appointment{
  background:color-mix(in srgb,var(--person-color) 14%,white);
  border:1px solid color-mix(in srgb,var(--person-color) 28%,transparent);
  border-left:4px solid var(--person-color);
  color:var(--fg-1);
}
.schedule-agenda-appointment{
  background:color-mix(in srgb,var(--person-color) 14%,white);
  border-left-color:var(--person-color);
  color:var(--fg-1);
}
.schedule-agenda-appointment-top{display:flex!important;align-items:center;gap:5px;min-width:0;overflow:hidden}
.schedule-agenda-appointment-top strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-agenda-customer{color:var(--fg-2)}
.schedule-agenda-appointment small{color:var(--fg-3)}
.appointment-detail-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.appointment-detail-title-row h2{margin:0}
.appointment-source-badge{font-size:.68rem}
.booking-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.booking-service-settings{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.booking-service-setting-row{display:grid;grid-template-columns:minmax(220px,1fr) 220px;align-items:center;gap:18px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.booking-service-setting-name{min-width:0}.booking-service-duration-field{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:13px;color:var(--fg-3)}.booking-service-duration-field .input-suffix{width:150px}

.input-suffix{display:flex;align-items:center;gap:8px}.input-suffix .form-control{min-width:0}.input-suffix>span{font-size:.82rem;color:var(--fg-3);font-weight:700;white-space:nowrap}
.booking-employee-settings{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.booking-employee-setting-row{display:grid;grid-template-columns:minmax(220px,1fr) 170px 170px 170px;align-items:center;gap:18px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.booking-employee-identity{display:flex;align-items:center;gap:11px;min-width:0}.booking-employee-identity>div{display:flex;flex-direction:column;min-width:0}.booking-employee-identity strong{color:var(--fg-1)}.booking-employee-identity span{font-size:.76rem;color:var(--fg-4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.booking-enabled-toggle,.booking-daily-limit-field{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.82rem;color:var(--fg-3);font-weight:700}.booking-daily-limit-field .form-control{width:92px;height:36px}
@media(max-width:760px){.booking-rule-grid{grid-template-columns:1fr}.booking-service-setting-row{grid-template-columns:1fr;gap:8px}.booking-service-duration-field{justify-content:space-between}.booking-employee-setting-row{grid-template-columns:1fr;gap:10px}.booking-enabled-toggle,.booking-daily-limit-field{justify-content:flex-start}.booking-daily-limit-field .form-control{margin-left:auto}.booking-enabled-toggle .toggle-switch{margin-left:auto}}

/* v1.25.0 – Terminbuchung: öffentliche Mail-/URL- und Reminder-Einstellungen */
.booking-rule-grid>.full{grid-column:1/-1}
@media(max-width:760px){.booking-rule-grid>.full{grid-column:auto}}

/* v1.26.0 – interne Terminnotizen */
.appointment-internal-note-box{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft,#f7fafb)}
.appointment-internal-note-box textarea{margin-top:7px}
.appointment-note-actions{display:flex;justify-content:flex-end;margin-top:10px}
.appointment-note-indicator{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;width:17px;height:17px;margin-left:auto;border-radius:50%;background:color-mix(in srgb,var(--person-color) 22%,white);color:color-mix(in srgb,var(--person-color) 78%,#102f39);overflow:visible!important}
.appointment-note-indicator svg{width:11px;height:11px;fill:currentColor;display:block}
.schedule-event-appointment .schedule-event-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-agenda-appointment-top .appointment-note-indicator{margin-left:auto}
.schedule-app.zoom-overview .appointment-note-indicator{width:11px;height:11px}
.schedule-app.zoom-overview .appointment-note-indicator svg{width:7px;height:7px}
@media(max-width:620px){.appointment-note-actions .btn{width:100%}}


/* v1.27.0 – Blocker, direkter Terminaufruf und hervorgehobene Notizindikatoren */
.appointment-note-indicator{background:#F6C945;color:#5A4300;box-shadow:0 0 0 1px rgba(90,67,0,.12)}
.appointment-blocker-hint{padding:12px 14px;border:1px solid #dce5e8;border-radius:10px;background:#f6f8f9;color:#52666e;font-size:.86rem;line-height:1.5}
.schedule-event-appointment.is-blocker,.schedule-agenda-appointment.is-blocker{background:#eef2f3;color:#40545c;border-left-color:#7b8f97}
.schedule-event-appointment.is-blocker:hover,.schedule-agenda-appointment.is-blocker:hover{background:#e8edef}
.schedule-agenda-appointment.is-blocker small{color:#6e8087}

/* v1.28.0 – Kalenderfilter, parallele Termine und vereinheitlichte Termin-Typografie */
.schedule-toolbar-title{min-width:0}
.schedule-filter-control{display:flex;align-items:center;gap:8px;min-width:min(280px,100%)}
.schedule-filter-control>span,.schedule-filter-control span{font-size:.8rem;font-weight:700;color:var(--fg-3);white-space:nowrap}
.schedule-filter-control .form-control{min-width:180px;height:38px}
.schedule-filter-indicator{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px;padding:6px 10px;border-radius:999px;background:#eef7fa;color:#204755;font-size:.78rem;font-weight:600;width:fit-content;max-width:100%}
.schedule-filter-indicator strong{color:#153944}
.schedule-filter-clear{border:0;background:transparent;color:var(--teal-700,#15738c);font:inherit;font-weight:700;cursor:pointer;padding:0}
.schedule-filter-clear:hover{text-decoration:underline}

.schedule-event,.schedule-regular-off{font-size:10px;line-height:1.2}
.schedule-event-label{font-size:inherit;line-height:inherit}
.schedule-regular-off{font-size:10px}
.schedule-event strong,.schedule-agenda-appointment strong{font-size:.82rem}
.schedule-agenda-customer{font-size:.8rem!important;line-height:1.2}
.schedule-agenda-appointment small{font-size:.74rem!important;line-height:1.2}

.schedule-agenda-slot{overflow:visible}
.schedule-agenda-appointment.is-shared{padding:4px 5px}
.schedule-agenda-appointment.is-shared .schedule-agenda-customer,
.schedule-agenda-appointment.is-shared small{display:none}
.schedule-agenda-appointment.is-shared:hover,
.schedule-agenda-appointment.is-shared:focus-visible{left:3px!important;width:calc(100% - 6px)!important;z-index:40!important;box-shadow:0 8px 18px rgba(16,47,57,.18)}
.schedule-agenda-appointment.is-shared:hover .schedule-agenda-customer,
.schedule-agenda-appointment.is-shared:hover small,
.schedule-agenda-appointment.is-shared:focus-visible .schedule-agenda-customer,
.schedule-agenda-appointment.is-shared:focus-visible small{display:block}

@media(max-width:900px){
  .schedule-filter-control{min-width:0;width:100%}
  .schedule-filter-control .form-control{min-width:0;width:100%}
}
@media(max-width:620px){
  .schedule-filter-indicator{border-radius:12px;width:100%}
  .schedule-agenda-customer{font-size:.76rem!important}
  .schedule-agenda-appointment small{font-size:.7rem!important}
}

/* v1.29.0 – Kalender-Layering, größere Monatsansicht und gefächerte Paralleltermine */
.schedule-agenda-corner{z-index:96}
.schedule-agenda-day-head{z-index:95}
.schedule-agenda-appointment{z-index:5}

.schedule-app.view-month:not(.zoom-overview) .schedule-event,
.schedule-app.view-month:not(.zoom-overview) .schedule-regular-off{font-size:11px;line-height:1.25}
.schedule-app.view-month.zoom-overview .schedule-event{font-size:7.8px;line-height:1.1}
.schedule-app.view-month.zoom-overview .schedule-regular-off{font-size:7.6px;line-height:1.1}

.schedule-agenda-appointment.is-shared:hover,
.schedule-agenda-appointment.is-shared:focus-visible{left:inherit!important;width:inherit!important;box-shadow:0 8px 18px rgba(16,47,57,.18)}
.schedule-agenda-appointment.is-shared.is-fan-active{
  left:var(--fan-left)!important;
  right:var(--fan-right)!important;
  width:auto!important;
  z-index:40!important;
  padding:5px 7px;
  box-shadow:0 8px 18px rgba(16,47,57,.2);
}
.schedule-agenda-appointment.is-shared.is-fan-active .schedule-agenda-customer,
.schedule-agenda-appointment.is-shared.is-fan-active small{display:block}
.schedule-agenda-appointment.is-shared.is-fan-peer{
  width:28px!important;
  min-width:28px!important;
  z-index:42!important;
  padding:4px 3px;
  overflow:hidden;
}
.schedule-agenda-appointment.is-shared.is-fan-peer[style*="--fan-left"]{left:var(--fan-left)!important;right:auto!important}
.schedule-agenda-appointment.is-shared.is-fan-peer[style*="--fan-right"]{right:var(--fan-right)!important;left:auto!important}
.schedule-agenda-appointment.is-shared.is-fan-peer .schedule-agenda-appointment-top{justify-content:center;gap:0}
.schedule-agenda-appointment.is-shared.is-fan-peer .schedule-agenda-appointment-top strong,
.schedule-agenda-appointment.is-shared.is-fan-peer .schedule-agenda-customer,
.schedule-agenda-appointment.is-shared.is-fan-peer small,
.schedule-agenda-appointment.is-shared.is-fan-peer .appointment-note-indicator{display:none!important}
.schedule-agenda-appointment.is-shared.is-fan-peer .schedule-avatar{margin:0}

/* v1.30.0 – Karrieremodell, Anbieterkanäle, Kommentare und Dienstplan */
.career-tabs{display:flex;gap:6px;margin:-10px 0 24px;padding:5px;width:max-content;max-width:100%;border:1px solid var(--border);border-radius:12px;background:var(--surface,#fff)}
.career-tab{padding:8px 14px;border-radius:8px;color:var(--fg-3);font-size:.86rem;font-weight:700;text-decoration:none;white-space:nowrap}
.career-tab:hover{background:var(--bg);color:var(--fg-1)}
.career-tab.is-active{background:var(--teal);color:#fff}
.provider-channel-badges{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 0 21px}
.provider-channel-badges span{padding:2px 6px;border-radius:999px;background:#edf5f6;color:#47616a;font-size:10px;font-weight:700}

.settings-provider-row-channels{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(180px,1.35fr) minmax(260px,1.4fr) auto auto;align-items:center;gap:10px}
.settings-provider-row-channels .provider-name-input,.settings-provider-row-channels .provider-note-input{height:38px;padding:7px 10px}
.provider-channel-picker{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.provider-channel-picker label{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--border);border-radius:8px;background:var(--bg);font-size:11px;font-weight:700;color:var(--fg-2);cursor:pointer}
.provider-channel-picker input{accent-color:var(--teal)}
.provider-active-check{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:var(--fg-3);white-space:nowrap}
.submission-provider-sidebar-item{padding:8px 12px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm)}
.submission-provider-sidebar-item>div{font-weight:600;font-size:13px;color:var(--fg-1)}
.submission-provider-sidebar-item small{display:block;font-size:12px;color:var(--fg-4);margin-top:2px}

.comment-notified-users{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:8px;color:var(--fg-4);font-size:11px}
.comment-notified-users>span{padding-top:4px;font-weight:700}
.comment-notified-users>div{display:flex;gap:5px;flex-wrap:wrap}
.comment-notified-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 7px 2px 3px;border-radius:999px;background:var(--bg);border:1px solid var(--border);color:var(--fg-3);font-size:11px;font-weight:600}
.comment-notified-chip .avatar,.comment-notified-chip [class*="avatar-"]{flex:0 0 auto}
.task-comment-head{flex-wrap:wrap}
.task-comment-delete-form,.commission-comment-delete{display:inline;margin-left:auto}
.task-comment-action-link{border:0;background:transparent;color:var(--fg-4);font:inherit;font-size:11px;font-weight:700;cursor:pointer;padding:2px 4px}
.task-comment-action-link:hover{color:var(--danger);text-decoration:underline}
.task-comment-edit-box,.commission-comment-edit-box{margin-top:10px;border-top:1px solid var(--border);padding-top:8px}
.task-comment-edit-box>summary,.commission-comment-edit-box>summary{cursor:pointer;color:var(--teal);font-size:12px;font-weight:700;list-style:none;width:max-content}
.task-comment-edit-box>summary::-webkit-details-marker,.commission-comment-edit-box>summary::-webkit-details-marker{display:none}
.task-comment-edit-form,.commission-comment-edit-box form{margin-top:10px;padding:12px;border-radius:10px;background:var(--bg)}
.task-comment-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.notification-recipient-picker.compact{margin-bottom:10px}
.notification-recipient-picker.compact>legend{font-size:11px}
.commission-comment-content{min-width:0;flex:1}
.commission-comment-meta{flex-wrap:wrap}

.schedule-agenda-time,.schedule-agenda-slot{height:var(--schedule-agenda-row-height,40px)}
.schedule-agenda-height-control{min-width:170px}
#scheduleEntryModal .schedule-entry-actions [data-schedule-modal-close],#scheduleEntryModal .schedule-entry-actions button[type="submit"]{width:112px;min-width:112px}

@media(max-width:1100px){
  .settings-provider-row-channels{grid-template-columns:1fr 1.3fr;align-items:start}
  .settings-provider-row-channels .provider-channel-picker{grid-column:1/-1}
  .settings-provider-row-channels .provider-active-check{align-self:center}
}
@media(max-width:700px){
  .career-tabs{width:100%}.career-tab{flex:1;text-align:center}
  .settings-provider-row-channels{grid-template-columns:1fr!important}
  .settings-provider-row-channels .provider-channel-picker{grid-column:auto}
  .provider-channel-picker label{flex:1;min-width:105px;justify-content:center}
  .task-comment-edit-actions{flex-direction:column-reverse}.task-comment-edit-actions .btn{width:100%}
  #scheduleEntryModal .schedule-entry-actions [data-schedule-modal-close],#scheduleEntryModal .schedule-entry-actions button[type="submit"]{width:100%;min-width:0}
}


/* v1.31.0 – Navigationsfavoriten */
.nav-item-row{display:flex;align-items:center;gap:3px;min-width:0}
.nav-item-row>.nav-item{flex:1;min-width:0}
.nav-item-row>.nav-item>span:not(.nav-badge){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-favorite-button{flex:0 0 26px;width:26px;height:30px;display:flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:rgba(255,255,255,.26);font-size:15px;line-height:1;cursor:pointer;opacity:0;transition:opacity .15s,background .15s,color .15s}
.nav-item-row:hover .nav-favorite-button,.nav-favorite-button:focus-visible,.nav-favorite-button.is-pinned{opacity:1}
.nav-favorite-button:hover,.nav-favorite-button:focus-visible{background:rgba(255,255,255,.08);color:#fff;outline:none}
.nav-favorite-button.is-pinned{color:#F6C945}
.nav-favorite-button:disabled{opacity:.35;cursor:wait}
.sidebar-nav-section-label{margin:8px 11px 3px;color:rgba(255,255,255,.34);font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.sidebar-nav-divider{height:1px;background:rgba(255,255,255,.09);margin:8px 7px 7px}
.nav-item-row.is-favorite .nav-item{color:rgba(255,255,255,.72)}
@media(max-width:900px){.nav-favorite-button{opacity:.72}}

/* v1.32.0 – persönliches Tagesdashboard und Startseiteneinstellungen */
.daily-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.daily-widget{padding:20px;min-width:0}.daily-widget-my-day{min-height:330px}
.daily-widget-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.daily-widget-head .section-label{margin:0 0 4px}.daily-widget-head h2{font:700 18px var(--font-display);margin:0;color:var(--fg-1)}.daily-widget-head>a{font-size:12px;font-weight:700;color:var(--teal);text-decoration:none;white-space:nowrap}.daily-widget-head>a:hover{text-decoration:underline}
.daily-widget-empty{min-height:110px;border:1px dashed var(--border);border-radius:12px;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--fg-3)}.daily-widget-empty strong{color:var(--fg-1);font-size:14px}.daily-widget-empty span{font-size:12px;margin-top:4px;line-height:1.45}
.dashboard-day-list,.dashboard-compact-list,.dashboard-team-list,.dashboard-knowledge-list{display:flex;flex-direction:column;gap:8px}
.dashboard-day-item{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-left:4px solid var(--teal);border-radius:11px;background:var(--surface);color:inherit;text-decoration:none}.dashboard-day-item.is-blocker{border-left-color:#7b8f97;background:#f5f7f8}.dashboard-day-item.is-absence{border-left-color:#d2a238}.dashboard-day-time{font:800 15px var(--font-display);color:var(--fg-1)}.dashboard-day-time small{display:block;font:600 10px var(--font-body);color:var(--fg-4);margin-top:2px}.dashboard-day-item>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.dashboard-day-item strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-day-item span{font-size:11px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-day-symbol{width:32px;height:32px;border-radius:10px;background:var(--bg);display:grid;place-items:center;font-size:16px}
.dashboard-compact-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:10px;background:var(--bg);border:1px solid transparent;color:inherit;text-decoration:none;min-width:0}.dashboard-compact-item:hover{border-color:var(--border);background:var(--surface)}.dashboard-compact-item.is-unread{background:#eefafa}.dashboard-compact-item>div{min-width:0;display:flex;flex-direction:column;gap:2px}.dashboard-compact-item strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-compact-item span{font-size:10.5px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-compact-item small{font-size:10px;color:var(--fg-4);white-space:nowrap}.dashboard-compact-item small.is-danger{color:var(--danger);font-weight:700}
.dashboard-team-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;background:var(--bg)}.dashboard-team-item>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-team-item strong{font-size:12.5px}.dashboard-team-item span{font-size:10.5px;color:var(--fg-3)}
.dashboard-knowledge-item{display:block;padding:10px 11px;border-radius:10px;background:var(--bg);color:inherit;text-decoration:none}.dashboard-knowledge-item:hover{background:color-mix(in srgb,var(--teal) 7%,var(--bg))}.dashboard-knowledge-meta{display:flex;align-items:center;gap:7px;margin-bottom:6px}.dashboard-knowledge-meta span{font-size:10px;color:var(--fg-4)}.dashboard-knowledge-item>strong{display:block;font-size:12.5px;margin-bottom:3px}.dashboard-knowledge-item p{margin:0;color:var(--fg-3);font-size:10.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dashboard-approval-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-approval-summary a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:105px;border:1px solid var(--border);border-radius:12px;background:var(--bg);text-decoration:none;color:inherit}.dashboard-approval-summary a:hover{border-color:var(--teal)}.dashboard-approval-summary strong{font:800 28px var(--font-display);color:var(--teal)}.dashboard-approval-summary span{font-size:11px;color:var(--fg-3);font-weight:700}
.dashboard-empty-card{text-align:center;padding:42px}.dashboard-empty-card h2{font:700 22px var(--font-display);margin:0 0 7px}.dashboard-empty-card p{color:var(--fg-3);margin:0 0 18px}
.profile-start-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:18px;align-items:start;max-width:1080px}.profile-start-settings-card{padding:22px}.profile-settings-intro{font-size:13px;color:var(--fg-3);line-height:1.55;margin:5px 0 16px}.profile-start-preview{position:sticky;top:18px}.profile-start-preview h3{font:700 18px var(--font-display);margin:5px 0 9px}.profile-start-preview p{font-size:13px;color:var(--fg-3);line-height:1.6;margin:0 0 16px}
.dashboard-preference-list{display:flex;flex-direction:column;gap:8px}.dashboard-preference-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.dashboard-preference-main{display:flex;align-items:center;gap:11px;cursor:pointer;min-width:0;flex:1}.dashboard-preference-main>input{position:absolute;opacity:0;pointer-events:none}.dashboard-preference-check{width:20px;height:20px;flex:0 0 20px;border:2px solid #b9c7cc;border-radius:6px;position:relative;background:#fff}.dashboard-preference-main>input:checked+.dashboard-preference-check{background:var(--teal);border-color:var(--teal)}.dashboard-preference-main>input:checked+.dashboard-preference-check:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:900}.dashboard-preference-main>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-preference-main strong{font-size:13px;color:var(--fg-1)}.dashboard-preference-main small{font-size:10.5px;color:var(--fg-4);line-height:1.35}.dashboard-preference-actions{display:flex;gap:5px;flex:0 0 auto}.dashboard-preference-actions .btn{min-width:34px;padding-left:8px;padding-right:8px}
@media(max-width:980px){.daily-dashboard-grid{grid-template-columns:1fr}.profile-start-grid{grid-template-columns:1fr}.profile-start-preview{position:static}}
@media(max-width:620px){.dashboard-page-header{gap:12px}.dashboard-page-header .btn{width:100%}.daily-widget-head{flex-direction:column;gap:5px}.daily-widget-head>a{white-space:normal}.dashboard-day-item{grid-template-columns:62px minmax(0,1fr)}.dashboard-preference-row{align-items:flex-start}.dashboard-preference-main small{display:none}}

/* v1.33.0 – Dashboard-Lesestatus und Masonry-Layout */
.daily-dashboard-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-flow:row dense;
  grid-auto-rows:6px;
  column-gap:18px;
  row-gap:18px;
  align-items:start;
}
.daily-widget{align-self:start}
.daily-widget-my-day{min-height:0}
.daily-widget-empty-compact{min-height:82px}
.dashboard-action-row,.dashboard-knowledge-action-row{position:relative;border-radius:10px;background:var(--bg);border:1px solid transparent;overflow:hidden}
.dashboard-action-row:hover,.dashboard-knowledge-action-row:hover{border-color:var(--border);background:var(--surface)}
.dashboard-action-row.is-unread,.dashboard-knowledge-action-row.is-unread{background:#eefafa}
.dashboard-action-main{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 48px 10px 11px;color:inherit;text-decoration:none;min-width:0}
.dashboard-action-main>div{min-width:0;display:flex;flex-direction:column;gap:2px}.dashboard-action-main strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-action-main span{font-size:10.5px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-action-main small{font-size:10px;color:var(--fg-4);white-space:nowrap}
.dashboard-inline-action{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:2}
.dashboard-inline-action button{width:30px;height:30px;border-radius:9px;border:1px solid color-mix(in srgb,var(--teal) 30%,var(--border));background:#fff;color:var(--teal);font-weight:900;cursor:pointer;display:grid;place-items:center}
.dashboard-inline-action button:hover{background:var(--teal);color:#fff;border-color:var(--teal)}
.dashboard-knowledge-action-row .dashboard-knowledge-item{padding-right:48px;background:transparent}
.dashboard-knowledge-read-action{top:16px;transform:none}
.dashboard-widget-action{display:flex;justify-content:flex-end;margin-top:10px}
.dashboard-more-link{display:inline-block;margin-top:9px;font-size:11px;font-weight:700;color:var(--teal);text-decoration:none}.dashboard-more-link:hover{text-decoration:underline}
.dashboard-read-group{margin-top:12px;border-top:1px solid var(--border);padding-top:10px}
.dashboard-read-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;font-size:11.5px;font-weight:700;color:var(--fg-3);padding:3px 1px}.dashboard-read-group>summary::-webkit-details-marker{display:none}.dashboard-read-group>summary:after{content:'⌄';font-size:15px;color:var(--fg-4);margin-left:auto}.dashboard-read-group[open]>summary:after{transform:rotate(180deg)}
.dashboard-read-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--bg);color:var(--fg-3);font-size:10px}
.dashboard-read-list{margin-top:9px;opacity:.82}
@media(max-width:980px){.daily-dashboard-grid{display:flex;flex-direction:column;gap:18px}.daily-dashboard-grid>.daily-widget{width:100%;grid-row-end:auto!important}}

/* v1.34.0 – Dashboard-Leermodule und globale Akzentfarben */
.dashboard-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.dashboard-empty-toggle-form{margin:0}
.dashboard-empty-toggle{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--fg-2);font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.dashboard-empty-toggle>input{position:absolute;opacity:0;pointer-events:none}
.dashboard-toggle-track{position:relative;width:34px;height:20px;border-radius:999px;background:#c8d2d6;transition:.16s;flex:0 0 auto}
.dashboard-toggle-track>span{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(16,47,57,.18);transition:.16s}
.dashboard-empty-toggle>input:checked+.dashboard-toggle-track{background:var(--teal)}
.dashboard-empty-toggle>input:checked+.dashboard-toggle-track>span{transform:translateX(14px)}
.dashboard-empty-toggle:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 10%,transparent)}
.dashboard-all-clear{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--teal-border);border-radius:14px;background:var(--teal-100);max-width:720px}
.dashboard-all-clear>span{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-weight:900}
.dashboard-all-clear strong{display:block;color:var(--fg-1);font-size:14px}.dashboard-all-clear p{margin:2px 0 0;color:var(--fg-3);font-size:12px;line-height:1.5}
.appearance-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}
.appearance-color-card{padding:22px}.appearance-color-card h3{font:700 18px var(--font-display);margin:5px 0 7px;color:var(--fg-1)}.appearance-color-card>p{font-size:13px;color:var(--fg-3);line-height:1.55;margin:0 0 18px}
.appearance-color-picker{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center}.appearance-color-picker input[type="color"]{width:64px;height:52px;padding:3px;border:1px solid var(--border-2);border-radius:10px;background:#fff;cursor:pointer}.appearance-color-picker input[type="text"]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}
.appearance-color-preview{margin-top:16px;padding:13px;border-radius:11px;background:var(--bg);display:flex;align-items:center;gap:10px}.appearance-color-preview i{width:26px;height:26px;border-radius:8px;background:var(--preview-color);box-shadow:0 0 0 1px color-mix(in srgb,var(--preview-color) 25%,transparent)}.appearance-color-preview span{font-size:12px;color:var(--fg-3)}
@media(max-width:760px){.dashboard-header-actions{width:100%;justify-content:stretch}.dashboard-empty-toggle-form,.dashboard-empty-toggle,.dashboard-header-actions>.btn{width:100%}.dashboard-empty-toggle{justify-content:space-between}.appearance-color-grid{grid-template-columns:1fr}}

/* v1.37.0 – strukturierte Reiseangaben im Termindetail */
.appointment-travel-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:9px}
.appointment-travel-detail-grid>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.appointment-travel-detail-grid small{font-size:.72rem;color:#7a8b92;font-weight:700}
.appointment-travel-detail-grid strong{font-size:.92rem;color:#233f49;overflow-wrap:anywhere}
@media(max-width:620px){.appointment-travel-detail-grid{grid-template-columns:1fr}}

/* v1.38.0 – Freitext-Einträge und ganztägige/mehhrtägige Reservierungen */
.appointment-entry-mode{display:flex;flex-wrap:wrap;gap:10px 16px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft,#f7fafb)}
.appointment-entry-mode label{display:flex;align-items:center;gap:7px;font-size:.88rem;font-weight:700;color:var(--fg-2);cursor:pointer}
.appointment-entry-mode input{accent-color:var(--teal)}
.schedule-event-appointment.is-freetext,.schedule-agenda-appointment.is-freetext{background:#eef2f3;color:#40545c;border-left-color:#7b8f97}
.schedule-event-appointment.is-freetext:hover,.schedule-agenda-appointment.is-freetext:hover{background:#e8edef}
.schedule-event-appointment.is-freetext.is-all-day{font-weight:700}
.schedule-agenda-appointment.is-freetext small{color:#6e8087}
.schedule-agenda-all-day-freetext{display:block;width:100%;border:0;border-left:3px solid var(--person-color);border-radius:5px;background:#eef2f3;color:#40545c;padding:3px 5px;text-align:left;font:700 .68rem/1.2 var(--font-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.schedule-agenda-all-day-freetext:hover{background:#e8edef}

/* v1.39.0 – Terminbearbeitung und Personalfristen */
.appointment-detail-edit-actions{display:flex;justify-content:flex-end;margin:14px 0 2px}
.appointment-form-subsection{padding-top:8px;border-top:1px solid var(--border);color:var(--fg-2)}
.employee-deadline-section{padding:16px;margin:4px 0 18px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft,#f7fafb)}
.employee-deadline-section>.section-label{margin-bottom:14px}
.employee-personnel-deadlines{display:flex;flex-direction:column;gap:12px}
.employee-personnel-deadlines>div{display:flex;flex-direction:column;gap:3px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.employee-personnel-deadlines>div:last-child{border-bottom:0;padding-bottom:0}
.employee-personnel-deadlines span{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--fg-4);font-weight:700}
.employee-personnel-deadlines strong{font-size:.9rem;color:var(--fg-1)}
.employee-personnel-deadlines small{font-size:.76rem;color:var(--fg-3);line-height:1.4}
.settings-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.settings-info-grid>div{padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft,#f7fafb)}
.settings-info-grid strong{display:block;margin-bottom:5px}.settings-info-grid p{margin:0;color:var(--fg-3);font-size:.8rem;line-height:1.5}
@media(max-width:760px){.settings-info-grid{grid-template-columns:1fr}.appointment-detail-edit-actions .btn{width:100%}}

/* v1.40.0 – manuelle Kundenkommunikation und Drag & Drop im Kalender */
.appointment-communication-options{display:grid;gap:9px}
.appointment-checkbox-option{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft,#f7fafb);cursor:pointer}
.appointment-checkbox-option input{margin-top:3px;flex:0 0 auto}
.appointment-checkbox-option span{display:flex;flex-direction:column;gap:2px;min-width:0}
.appointment-checkbox-option strong{font-size:.88rem;color:var(--fg-1)}
.appointment-checkbox-option small{font-size:.76rem;color:var(--fg-3);line-height:1.4}
.appointment-checkbox-option:has(input:disabled){opacity:.52;cursor:not-allowed}
.schedule-event[draggable="true"]{cursor:grab}
.schedule-event[draggable="true"]:active{cursor:grabbing}
.schedule-event.is-dragging{opacity:.48;transform:scale(.98)}
.schedule-day.is-drop-target{background:color-mix(in srgb,var(--teal) 11%,white);box-shadow:inset 0 0 0 2px var(--teal)}
.schedule-agenda-appointment[draggable="true"],.schedule-agenda-all-day-freetext[draggable="true"]{cursor:grab}
.schedule-agenda-appointment.is-dragging,.schedule-agenda-all-day-freetext.is-dragging{opacity:.48}
.schedule-agenda-day-head.is-drop-target{background:color-mix(in srgb,var(--teal) 12%,#f7fafb);box-shadow:inset 0 -2px 0 var(--teal)}
.schedule-agenda-slot.is-drop-target{background:color-mix(in srgb,var(--teal) 9%,white);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--teal) 55%,transparent)}
.schedule-agenda-absence-list .schedule-agenda-absence-entry{display:block;width:100%;border:0;border-left:3px solid var(--person-color);font:inherit;font-size:.68rem;line-height:1.2;padding:3px 5px;border-radius:5px;background:color-mix(in srgb,var(--person-color) 14%,#fff);color:#314b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:pointer}
.schedule-agenda-absence-list .schedule-agenda-absence-entry[draggable="true"]{cursor:grab}

/* v1.41.0 – manuelle Kundenkommunikation, Freitextfarben und interne Notizen */
.appointment-internal-note-box{
  background:#fffdf5;
  border-color:#eadfb6;
  box-shadow:inset 3px 0 0 #eadca2;
  margin-top:0;
  margin-bottom:16px;
}
.appointment-internal-note-box.has-note{
  background:#fff9dc;
  border-color:#e6d27c;
  box-shadow:inset 3px 0 0 #e0c45b;
}
.appointment-internal-note-box .form-label{color:#594e23}

.schedule-event-appointment.is-freetext,
.schedule-agenda-appointment.is-freetext{
  background:color-mix(in srgb,var(--person-color) 14%,white);
  color:var(--fg-1);
  border-color:color-mix(in srgb,var(--person-color) 28%,transparent);
  border-left-color:var(--person-color);
}
.schedule-event-appointment.is-freetext:hover,
.schedule-agenda-appointment.is-freetext:hover{
  background:color-mix(in srgb,var(--person-color) 19%,white);
}
.schedule-agenda-appointment.is-freetext small{color:var(--fg-3)}
.schedule-agenda-all-day-freetext{
  background:color-mix(in srgb,var(--person-color) 14%,white);
  color:var(--fg-1);
  border-left-color:var(--person-color);
}
.schedule-agenda-all-day-freetext:hover{background:color-mix(in srgb,var(--person-color) 19%,white)}


/* v1.44.0 – Nachweise unabhängig vom aktiven Karrieremodell */
.career-paused-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.career-paused-counts>div{padding:13px 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg);display:flex;flex-direction:column;gap:4px}
.career-paused-counts span{font-size:.75rem;color:var(--fg-3);font-weight:700}
.career-paused-counts strong{font:800 1.35rem var(--font-display);color:var(--fg-1)}
.career-paused-admin-card .text-muted{line-height:1.6;margin-top:10px}
@media(max-width:760px){.career-paused-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.career-paused-counts{grid-template-columns:1fr}}

/* v1.45.0 – Schließzeiten, Safe Mode und stille Terminlöschung */
.schedule-event-closure{
  --person-color:#b7791f;
  background:#fff4d8;
  border-color:#ead29a;
  border-left-color:#b7791f;
  color:#654810;
  cursor:pointer;
}
.schedule-event-closure:hover{background:#ffedbd}
.schedule-closure-icon{flex:0 0 auto;display:inline-grid!important;place-items:center;width:17px;height:17px;border-radius:50%;background:#b7791f;color:#fff;font-size:10px;font-weight:900}
.schedule-agenda-office-closure{display:block;width:100%;border:0;border-left:3px solid #b7791f;font:inherit;font-size:.68rem;line-height:1.2;padding:3px 5px;border-radius:5px;background:#fff4d8;color:#654810;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:pointer}
.schedule-agenda-office-closure:hover{background:#ffedbd}
.schedule-agenda-closure{position:absolute;top:2px;left:3px;right:3px;z-index:16;border:1px solid #ead29a;border-left:4px solid #b7791f;border-radius:7px;background:#fff4d8;padding:6px 7px;text-align:left;color:#654810;box-shadow:0 2px 8px rgba(101,72,16,.13);overflow:hidden;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.schedule-agenda-closure:hover{background:#ffedbd;box-shadow:0 4px 12px rgba(101,72,16,.18)}
.schedule-agenda-closure strong{font-size:.76rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-agenda-closure span{font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.appointment-cancel-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
.employee-safe-mode{padding:15px;border:1px solid #e6c6c6;border-radius:12px;background:#fff8f8}
.employee-safe-mode .section-label{color:#9f2929}
.employee-safe-mode .employee-account-hint{line-height:1.55}
@media(max-width:700px){
  .appointment-cancel-actions{flex-direction:column;align-items:stretch}
  .appointment-cancel-actions .btn{width:100%}
}

/* v1.46.0 – globale Öffnungszeiten und automatische Kein-Dienst-Anzeige */
.schedule-no-duty{background:color-mix(in srgb,var(--person-color) 10%,#fff);border-left-color:var(--person-color);color:var(--fg-3);font-weight:600}
.schedule-agenda-no-duty{background:color-mix(in srgb,var(--person-color) 10%,#fff)!important;border-left-color:var(--person-color)!important;color:var(--fg-3)!important}
.schedule-agenda-office-closed{background:#e7ecee!important;border-left-color:#94a4ab!important;color:var(--fg-3)!important;text-align:center;font-weight:700;text-transform:uppercase;letter-spacing:.04em}

/* v1.47.0 – Monatsansicht für Dienstplan optimiert und Agenda-Header scrollbar */
.schedule-app.view-month .schedule-day-events{
  overflow:visible;
}
.schedule-app.view-month.zoom-overview .schedule-day-events{
  max-height:none;
  overflow:visible;
}
.schedule-app.view-month.zoom-overview .schedule-day,
.schedule-app.view-month.zoom-compact .schedule-day,
.schedule-app.view-month .schedule-day{
  overflow:visible;
}
.schedule-app.view-month .schedule-day-events > .schedule-event.is-span-anchor{
  position:relative;
  z-index:12;
  width:calc((100% * var(--event-span, 1)) + ((var(--event-span, 1) - 1) * 1px));
  max-width:none;
  overflow:visible;
}
.schedule-app.view-month .schedule-day-events > .schedule-event-vacation.is-span-anchor,
.schedule-app.view-month .schedule-day-events > .schedule-event-closure.is-span-anchor,
.schedule-app.view-month .schedule-day-events > .schedule-event.is-span-anchor{
  box-shadow:0 0 0 1px color-mix(in srgb,var(--person-color) 18%,transparent);
}
.schedule-app.view-month .schedule-day-events > .schedule-event-spacer{
  display:block;
}
.schedule-app.view-month .schedule-day-events > .schedule-event.is-span-anchor .schedule-event-label,
.schedule-app.view-month .schedule-day-events > .schedule-event-vacation.is-span-anchor .schedule-event-label,
.schedule-app.view-month .schedule-day-events > .schedule-event-closure.is-span-anchor .schedule-event-label{
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}
.schedule-app.view-month.zoom-overview .schedule-event,
.schedule-app.view-month.zoom-overview .schedule-regular-off{
  font-size:7.2px;
  line-height:1.15;
}
.schedule-app.view-month.zoom-overview .schedule-event .schedule-avatar,
.schedule-app.view-month.zoom-overview .schedule-event-vacation .schedule-avatar{
  display:none;
}
.schedule-app.view-week .schedule-agenda-corner,
.schedule-app.view-week .schedule-agenda-day-head,
.schedule-app.view-day .schedule-agenda-corner,
.schedule-app.view-day .schedule-agenda-day-head{
  position:relative;
  top:auto;
}
.schedule-app.view-week .schedule-agenda-day-head,
.schedule-app.view-day .schedule-agenda-day-head{
  z-index:2;
}

/* v1.48.0 – Aufgabenbearbeitung und horizontale Linien */
.task-detail-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.task-rich-content hr,.rich-editor-area hr{border:0;border-top:1px solid var(--border);margin:22px 0}
.rich-editor-area hr{cursor:default}
@media(max-width:620px){.task-detail-header-actions{width:100%;justify-content:flex-start}.task-detail-header-actions .btn{flex:1 1 auto}}

/* v1.49.0 – Team-Wissen: Up to date und How we work */
.knowledge-tabs{display:flex;align-items:stretch;gap:8px;margin:0 0 20px;padding:5px;border:1px solid var(--border);border-radius:14px;background:var(--bg);width:fit-content;max-width:100%}
.knowledge-tab{display:flex;flex-direction:column;gap:2px;min-width:180px;padding:10px 15px;border-radius:10px;color:var(--fg-3);text-decoration:none;font-size:13px;font-weight:750;line-height:1.25}
.knowledge-tab span{font-size:10px;font-weight:550;color:var(--fg-4)}
.knowledge-tab:hover{background:var(--surface);color:var(--fg-1)}
.knowledge-tab.is-active{background:var(--surface);color:var(--teal-700);box-shadow:0 2px 10px rgba(16,47,57,.08)}
.knowledge-tab.is-active span{color:var(--fg-3)}

.knowledge-how-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start}
.knowledge-how-sidebar{position:sticky;top:18px;padding:15px}
.knowledge-how-sidebar .section-label{margin:2px 4px 10px}
.knowledge-category-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:var(--fg-3);text-align:left;cursor:pointer;font:650 12px var(--font-body)}
.knowledge-category-filter span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.knowledge-category-filter strong{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 6px;border-radius:999px;background:var(--bg);color:var(--fg-4);font-size:10px}
.knowledge-category-filter:hover{background:var(--bg);color:var(--fg-1)}
.knowledge-category-filter.is-active{background:var(--teal-100);color:var(--teal-700)}
.knowledge-category-filter.is-active strong{background:var(--surface);color:var(--teal-700)}
.knowledge-category-empty{margin:8px 4px 2px;color:var(--fg-4);font-size:10.5px;line-height:1.5}
.knowledge-how-main{min-width:0;display:flex;flex-direction:column;gap:12px}
.knowledge-how-search-card{padding:15px 17px;display:grid;grid-template-columns:minmax(170px,.55fr) minmax(240px,1fr) auto;align-items:center;gap:14px}
.knowledge-how-search-card>label{display:flex;flex-direction:column;gap:2px}
.knowledge-how-search-card>label span{font-size:13px;font-weight:750;color:var(--fg-1)}
.knowledge-how-search-card>label small{font-size:10px;color:var(--fg-4)}
.knowledge-how-search-field{display:grid;grid-template-columns:22px minmax(0,1fr) 28px;align-items:center;gap:4px;height:42px;padding:0 7px 0 11px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface)}
.knowledge-how-search-field:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 12%,transparent)}
.knowledge-how-search-field>span{color:var(--fg-4);font-size:19px;line-height:1}
.knowledge-how-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--fg-1);font:500 13px var(--font-body)}
.knowledge-how-search-field button{width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--fg-4);font-size:19px;cursor:pointer}
.knowledge-how-search-field button:hover{background:var(--bg);color:var(--fg-1)}
.knowledge-how-search-status{display:flex;align-items:center;gap:4px;color:var(--fg-4);font-size:10.5px;white-space:nowrap}
.knowledge-how-search-status>[data-how-count]{font-weight:800;color:var(--fg-2)}
.knowledge-how-search-status>[data-how-loading]{margin-left:7px;color:var(--teal-700)}
.knowledge-how-results{padding:0;overflow:hidden;transition:opacity .15s}
.knowledge-how-results.is-loading{opacity:.58}
.knowledge-how-groups{display:flex;flex-direction:column}
.knowledge-how-category{border-bottom:1px solid var(--border)}
.knowledge-how-category:last-child{border-bottom:0}
.knowledge-how-category>summary{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;padding:13px 17px;cursor:pointer;list-style:none;background:var(--bg)}
.knowledge-how-category>summary::-webkit-details-marker{display:none}
.knowledge-how-category>summary:hover{background:color-mix(in srgb,var(--teal) 4%,var(--bg))}
.knowledge-how-category>summary strong{font-size:12.5px;color:var(--fg-1)}
.knowledge-how-category>summary>span:last-child{font-size:10px;color:var(--fg-4)}
.knowledge-folder-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;color:var(--teal-700);transition:transform .15s}
.knowledge-how-category:not([open]) .knowledge-folder-icon{transform:rotate(-90deg)}
.knowledge-how-tree{display:flex;flex-direction:column}
.knowledge-how-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto 18px;align-items:center;gap:10px;min-height:62px;padding:9px 15px 9px calc(17px + var(--knowledge-indent,0px));border-top:1px solid var(--border);color:inherit;text-decoration:none;background:var(--surface)}
.knowledge-how-row:hover{background:color-mix(in srgb,var(--teal) 5%,var(--surface))}
.knowledge-how-row-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:var(--teal-100);color:var(--teal-700);font-size:13px}
.knowledge-how-row-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.knowledge-how-row-main strong{color:var(--fg-1);font-size:12.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.knowledge-how-row-main>span{color:var(--fg-3);font-size:10.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.knowledge-how-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:120px;color:var(--fg-4);font-size:9.5px;white-space:nowrap}
.knowledge-how-row-meta span:first-child:not(:last-child){color:var(--teal-700);font-weight:700}
.knowledge-how-row-arrow{color:var(--fg-4);font-size:20px}
.knowledge-how-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:180px;padding:30px;text-align:center}
.knowledge-how-empty strong{font-size:15px;color:var(--fg-1)}
.knowledge-how-empty span{font-size:11px;color:var(--fg-4)}

.knowledge-section-picker{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.knowledge-section-picker label{position:relative;display:block;cursor:pointer}
.knowledge-section-picker input{position:absolute;opacity:0;pointer-events:none}
.knowledge-section-picker label>span{display:flex;flex-direction:column;gap:3px;height:100%;padding:12px 14px;border:1px solid var(--border-2);border-radius:11px;background:var(--surface);transition:.15s}
.knowledge-section-picker label>span strong{font-size:13px;color:var(--fg-1)}
.knowledge-section-picker label>span small{font-size:10px;line-height:1.4;color:var(--fg-4)}
.knowledge-section-picker input:checked+span{border-color:var(--teal);background:var(--teal-100);box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 9%,transparent)}
.knowledge-section-picker input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--teal) 25%,transparent);outline-offset:2px}
.knowledge-structure-box{margin:4px 0 18px;padding:14px;border:1px solid var(--teal-border);border-radius:12px;background:color-mix(in srgb,var(--teal) 4%,var(--surface))}
.knowledge-structure-head{margin-bottom:12px}
.knowledge-structure-head strong,.knowledge-structure-head span{display:block}
.knowledge-structure-head strong{font-size:13px;color:var(--fg-1)}
.knowledge-structure-head span{margin-top:2px;color:var(--fg-3);font-size:10.5px;line-height:1.45}
.knowledge-new-category{margin-top:8px}
.knowledge-guideline-tip{margin-top:13px;padding:10px;border-radius:9px;background:var(--teal-100);color:var(--fg-3);font-size:10.5px;line-height:1.5}

.rich-editor-area table,.knowledge-rich-content table,.task-rich-content table{display:block;width:100%;max-width:100%;margin:18px 0;border-collapse:collapse;overflow-x:auto;border:1px solid var(--border);border-radius:9px;background:var(--surface)}
.rich-editor-area thead,.knowledge-rich-content thead,.task-rich-content thead{background:var(--bg)}
.rich-editor-area th,.rich-editor-area td,.knowledge-rich-content th,.knowledge-rich-content td,.task-rich-content th,.task-rich-content td{min-width:120px;padding:9px 11px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:left;vertical-align:top;font-size:12px;line-height:1.45}
.rich-editor-area th:last-child,.rich-editor-area td:last-child,.knowledge-rich-content th:last-child,.knowledge-rich-content td:last-child,.task-rich-content th:last-child,.task-rich-content td:last-child{border-right:0}
.rich-editor-area tr:last-child td,.knowledge-rich-content tr:last-child td,.task-rich-content tr:last-child td{border-bottom:0}
.rich-editor-area th,.knowledge-rich-content th,.task-rich-content th{font-weight:750;color:var(--fg-1)}
.rich-editor-area td,.knowledge-rich-content td,.task-rich-content td{color:var(--fg-2)}

.knowledge-detail-card.is-how-we-work{max-width:1080px}
.knowledge-how-facts{margin-bottom:25px}
.knowledge-how-facts a{text-decoration:none}
.knowledge-child-pages{margin-top:30px;padding-top:22px;border-top:1px solid var(--border)}
.knowledge-child-pages>div:last-child{display:flex;flex-direction:column;gap:7px;margin-top:10px}
.knowledge-child-pages a{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:inherit;text-decoration:none}
.knowledge-child-pages a:hover{border-color:var(--teal-border);background:var(--teal-100)}
.knowledge-child-pages a>span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:var(--surface);color:var(--teal-700)}
.knowledge-child-pages a strong{font-size:12px;color:var(--fg-1)}
.knowledge-child-pages a small{font-size:10px;color:var(--fg-4)}

@media(max-width:900px){
  .knowledge-how-layout{grid-template-columns:1fr}
  .knowledge-how-sidebar{position:static;display:flex;align-items:center;gap:6px;overflow-x:auto;padding:10px}
  .knowledge-how-sidebar .section-label{display:none}
  .knowledge-category-filter{flex:0 0 auto;width:auto;min-width:130px}
  .knowledge-category-empty{margin:4px}
  .knowledge-how-search-card{grid-template-columns:1fr}
  .knowledge-how-search-status{justify-content:flex-end}
}
@media(max-width:620px){
  .knowledge-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:5px}
  .knowledge-tab{min-width:0;padding:9px 10px;font-size:12px}
  .knowledge-tab span{font-size:9px}
  .knowledge-how-row{grid-template-columns:24px minmax(0,1fr) 14px;padding-left:calc(11px + var(--knowledge-mobile-indent,0px));gap:8px}
  .knowledge-how-row-meta{grid-column:2;align-items:flex-start;min-width:0;flex-direction:row;flex-wrap:wrap}
  .knowledge-how-row-arrow{grid-column:3;grid-row:1/3}
  .knowledge-how-row-main strong,.knowledge-how-row-main>span{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
  .knowledge-how-row-main strong{-webkit-line-clamp:2}
  .knowledge-how-row-main>span{-webkit-line-clamp:2}
  .knowledge-section-picker{grid-template-columns:1fr}
  .knowledge-structure-box .two-col{grid-template-columns:1fr}
  .knowledge-breadcrumb{overflow-x:auto;white-space:nowrap;max-width:calc(100vw - 34px)}
}
.knowledge-parent-toggle{display:flex;align-items:center;gap:9px;min-height:42px;padding:9px 11px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--fg-2);font-size:11.5px;font-weight:650;cursor:pointer}
.knowledge-parent-toggle:hover{border-color:var(--teal-border);background:var(--teal-100)}
.knowledge-parent-toggle input{width:16px;height:16px;accent-color:var(--teal)}
.knowledge-parent-toggle+div{margin-top:8px}
.knowledge-parent-empty{min-height:42px;padding:10px 11px;border:1px dashed var(--border-2);border-radius:10px;background:var(--bg);color:var(--fg-4);font-size:10.5px;line-height:1.45}


/* v1.50.0 – Benachrichtigungen für Team-Wissen */
.knowledge-notification-toggle{display:flex;align-items:flex-start;gap:11px;margin:0 0 16px;padding:13px 14px;border:1px solid var(--teal-border);border-radius:11px;background:var(--teal-100);cursor:pointer}
.knowledge-notification-toggle input{width:17px;height:17px;margin-top:2px;accent-color:var(--teal);flex:0 0 auto}
.knowledge-notification-toggle span,.knowledge-notification-toggle strong,.knowledge-notification-toggle small{display:block}
.knowledge-notification-toggle strong{color:var(--fg-1);font-size:12.5px}
.knowledge-notification-toggle small{margin-top:3px;color:var(--fg-3);font-size:11px;line-height:1.45}
.knowledge-notification-info{display:flex;flex-direction:column;gap:3px;margin-top:12px;padding:11px 13px;border-radius:10px;background:var(--teal-100);border:1px solid var(--teal-border)}
.knowledge-notification-info strong{font-size:12px;color:var(--fg-1)}
.knowledge-notification-info span{font-size:10.5px;line-height:1.45;color:var(--fg-3)}
.knowledge-notification-info.is-muted{margin:0 0 16px;background:var(--bg);border-color:var(--border)}

/* v1.51.0 – Inforeise Hub */
.info-trip-page-header,.info-trip-detail-header{align-items:flex-start}
.info-trip-toolbar{padding:12px 14px;margin-bottom:18px}.info-trip-search{display:flex;align-items:center;gap:8px}.info-trip-search>span{font-size:22px;color:var(--fg-4)}.info-trip-search .form-control{border:0;box-shadow:none;background:transparent;padding-left:0}
.info-trip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.info-trip-card{text-decoration:none;color:inherit;padding:18px;transition:transform .15s,box-shadow .15s}.info-trip-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.info-trip-card-head{display:flex;align-items:center;gap:11px}.info-trip-card-head>div{display:flex;flex-direction:column;min-width:0}.info-trip-card-head strong{font:700 16px var(--font-display);color:var(--fg-1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info-trip-card-head span{font-size:12px;color:var(--fg-3);margin-top:2px}.info-trip-card-meta,.info-trip-card-stats,.info-trip-card-links{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:13px;font-size:12px;color:var(--fg-3)}.info-trip-card-stats{padding-top:11px;border-top:1px solid var(--border)}.info-trip-card-links span{padding:3px 7px;border-radius:999px;background:var(--teal-100);color:var(--teal-700);font-weight:700;font-size:10px}
.info-trip-create-card{width:min(560px,calc(100vw - 28px))}.info-trip-link-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 18px}.info-trip-link-strip>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--fg-4)}.info-trip-link-strip a{font-size:12px;font-weight:700;text-decoration:none;padding:6px 9px;border:1px solid var(--border);border-radius:8px;background:white;color:var(--fg-2)}.info-trip-link-strip a:hover{border-color:var(--teal);color:var(--teal-700)}
.info-trip-meta-form{margin-bottom:18px}.info-trip-capture-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:16px;margin-bottom:20px}.info-trip-capture-card,.info-trip-preinfo{padding:20px}.info-trip-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.info-trip-section-head h2{font:700 20px var(--font-display);color:var(--fg-1);margin-top:2px}.info-trip-section-head p{font-size:13px;color:var(--fg-3);line-height:1.55;margin-top:4px}.info-trip-capture-actions{display:flex;gap:8px;flex-wrap:wrap}.info-trip-file-button{position:relative;cursor:pointer}.info-trip-upload-status{font-size:12px;color:var(--fg-3);margin-top:9px;min-height:17px}.info-trip-preinfo h2{font:700 18px var(--font-display);margin:3px 0 10px}.info-trip-file-link{display:block;text-decoration:none;padding:10px;border-radius:9px;background:var(--bg);color:var(--fg-2);font-weight:650;font-size:13px;overflow-wrap:anywhere}.info-trip-preinfo-form{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.info-trip-inbox{padding:20px;margin-bottom:20px}.info-trip-hotels-section{margin-top:24px}.info-trip-hotels{display:flex;flex-direction:column;gap:16px}.info-trip-hotel{padding:20px}.info-trip-hotel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.info-trip-hotel-head>div{display:flex;flex-direction:column}.info-trip-hotel-head h3{font:700 19px var(--font-display);color:var(--fg-1)}.info-trip-hotel-head span{font-size:12px;color:var(--fg-4)}.info-trip-hotel-form{display:flex;flex-direction:column;gap:9px;margin-top:13px}.info-trip-hotel-form .btn{align-self:flex-start}.info-trip-room-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0}.info-trip-room-chip{font-size:11px;font-weight:700;padding:6px 9px;border-radius:999px;background:#f2f5f6;color:var(--fg-3)}.info-trip-room-add{display:flex;align-items:center;gap:5px}.info-trip-room-add input{width:180px}.info-trip-hotel-upload{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.info-trip-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-top:12px}.info-trip-media-card{min-width:0;border:1px solid var(--border);border-radius:12px;padding:8px;background:white}.info-trip-photo{display:block;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#eef2f3}.info-trip-photo img{width:100%;height:100%;object-fit:cover;display:block}.info-trip-media-card audio{width:100%;height:42px}.info-trip-media-note{font-size:11px;color:var(--fg-3);line-height:1.4;margin:7px 2px}.info-trip-transcript{font-size:12px;line-height:1.45;color:var(--fg-2);max-height:150px;overflow:auto;margin:8px 2px;padding:8px;border-radius:8px;background:#f8fafb}.info-trip-media-assign{margin-top:8px;border-top:1px solid var(--border);padding-top:7px}.info-trip-media-assign summary{cursor:pointer;font-size:11px;font-weight:700;color:var(--fg-3)}.info-trip-media-assign .form-group{margin:8px 0}.info-trip-media-assign label{font-size:10px;color:var(--fg-4)}
.info-trip-ai{padding:22px;margin-top:24px}.info-trip-ai-results{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:16px}.info-trip-ai-results>div{min-width:0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}.info-trip-ai-results>div:last-child{grid-column:1/-1}.info-trip-ai-results h3{font:700 14px var(--font-display);margin-bottom:8px}.info-trip-ai-text{white-space:pre-wrap;font-size:13px;line-height:1.6;color:var(--fg-2)}.info-trip-ai-blog{font-size:13px;line-height:1.6;color:var(--fg-2)}.info-trip-ai-blog h2{font:700 17px var(--font-display);margin:12px 0 7px}.info-trip-ai-blog ul{padding-left:20px}.info-trip-ai-results .btn{margin-top:8px}
.info-trip-recorder-card{width:min(520px,calc(100vw - 28px))}.info-trip-recorder{display:flex;flex-direction:column;gap:14px}.info-trip-record-timer{text-align:center;font:800 36px/1 var(--font-display);color:var(--fg-1);letter-spacing:.04em;padding:12px}.info-trip-record-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.info-trip-recorder audio{width:100%}
@media(max-width:850px){.info-trip-capture-grid{grid-template-columns:1fr}.info-trip-ai-results{grid-template-columns:1fr}.info-trip-ai-results>div:last-child{grid-column:auto}}
@media(max-width:620px){.info-trip-page-header .btn,.info-trip-detail-header .btn{width:100%}.info-trip-grid{grid-template-columns:1fr}.info-trip-capture-card,.info-trip-preinfo,.info-trip-inbox,.info-trip-hotel,.info-trip-ai{padding:15px}.info-trip-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.info-trip-section-head{flex-direction:column}.info-trip-section-head>.btn{width:100%}.info-trip-capture-actions{display:grid;grid-template-columns:1fr 1fr}.info-trip-capture-actions .btn{width:100%;padding-left:8px;padding-right:8px}.info-trip-record-actions{grid-template-columns:1fr}.info-trip-room-add{width:100%}.info-trip-room-add input{width:100%}.info-trip-hotel-form .two-col{grid-template-columns:1fr}.info-trip-ai-results{gap:10px}.info-trip-link-strip{margin-top:0}.info-trip-media-assign .form-control{font-size:13px}}
.info-trip-room-chip-wrap{display:inline-flex;align-items:center;border-radius:999px;background:#f2f5f6;overflow:hidden}.info-trip-room-chip-wrap .info-trip-room-chip{background:transparent}.info-trip-room-upload{cursor:pointer;font-size:10px;padding:5px 8px;border-left:1px solid var(--border);color:var(--teal-700);font-weight:800}.info-trip-room-upload:hover{background:var(--teal-100)}.info-trip-media-group{margin-top:14px}.info-trip-media-group>h4{font:700 12px var(--font-display);color:var(--fg-3);margin-bottom:6px;padding-bottom:5px;border-bottom:1px solid var(--border)}

/* v1.52.0 - kompakter Inforeise-Workflow */
.info-trip-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 0 18px;padding:5px;border:1px solid var(--border);border-radius:12px;background:#fff;scrollbar-width:thin}
.info-trip-tab{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:9px 12px;border-radius:8px;color:var(--fg-3);text-decoration:none;font-size:12px;font-weight:750;white-space:nowrap}
.info-trip-tab:hover{background:var(--bg);color:var(--fg-1)}
.info-trip-tab.is-active{background:var(--teal-100);color:var(--teal-700)}
.info-trip-tab>span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.72);font-size:10px}
.info-trip-panel[hidden]{display:none!important}
.info-trip-overview-card{padding:20px}
.info-trip-overview-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.info-trip-overview-facts>div{display:flex;flex-direction:column;gap:3px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}
.info-trip-overview-facts span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--fg-4);font-weight:750}
.info-trip-overview-facts strong{font-size:13px;color:var(--fg-1)}
.info-trip-general-notes{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.info-trip-general-notes h3{font:700 13px var(--font-display);margin-bottom:6px}.info-trip-general-notes p{font-size:13px;line-height:1.6;color:var(--fg-2)}
.info-trip-panel .info-trip-capture-card{padding:20px;margin-bottom:16px}
.info-trip-panel .info-trip-preinfo{padding:20px}
.info-trip-bulk-assign{display:grid;grid-template-columns:auto auto minmax(170px,1fr) minmax(180px,1fr) auto;align-items:center;gap:8px;margin:2px 0 14px;padding:10px;border:1px solid var(--teal-border);border-radius:10px;background:var(--teal-100)}
.info-trip-select-all{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--fg-2);white-space:nowrap}.info-trip-bulk-assign>[data-media-selected-count]{font-size:11px;color:var(--fg-3);white-space:nowrap}.info-trip-bulk-status{grid-column:1/-1;font-size:11px;color:var(--fg-3)}
.info-trip-media-card{position:relative}.info-trip-media-card.is-selected{border-color:var(--teal);box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 12%,transparent)}
.info-trip-media-select{display:flex;align-items:center;gap:5px;margin:0 0 7px;padding:5px 6px;border-radius:7px;background:var(--bg);font-size:10px;font-weight:750;color:var(--fg-3);cursor:pointer}.info-trip-media-select input{margin:0}
.info-trip-media-assign summary{user-select:none}
.info-trip-room-sections{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.info-trip-room-section{padding:14px;border:1px solid #d8e1e4;border-left:4px solid color-mix(in srgb,var(--teal) 62%,#d8e1e4);border-radius:11px;background:#fbfcfc;scroll-margin-top:18px}
.info-trip-room-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.info-trip-room-section-head h4{font:700 15px var(--font-display);color:var(--fg-1);margin-top:2px}.info-trip-room-media-count{font-size:10px;font-weight:750;color:var(--fg-4);white-space:nowrap}
.info-trip-room-form{display:grid;grid-template-columns:minmax(180px,.45fr) minmax(260px,1fr);gap:10px 12px;align-items:end}.info-trip-room-form .form-group{margin:0}.info-trip-room-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}.info-trip-room-notes{font-size:12px;line-height:1.55;color:var(--fg-2);padding:9px 10px;border-radius:8px;background:#fff;border:1px solid var(--border)}
.info-trip-room-empty{margin-top:10px;padding:9px 10px;border-radius:8px;background:#f2f5f6;color:var(--fg-4);font-size:11px}
.info-trip-room-add{margin-top:12px;padding-top:12px;border-top:1px dashed var(--border)}
.info-trip-media-collapsible{margin-top:12px;border:1px solid var(--border);border-radius:9px;background:#fff;overflow:hidden}.info-trip-media-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;cursor:pointer;color:var(--fg-3);font-size:11px;font-weight:750;list-style:none}.info-trip-media-collapsible>summary::-webkit-details-marker{display:none}.info-trip-media-collapsible>summary:after{content:'⌄';font-size:14px;color:var(--fg-4)}.info-trip-media-collapsible[open]>summary:after{content:'⌃'}.info-trip-media-collapsible>summary span{margin-left:auto;margin-right:5px;padding:2px 6px;border-radius:999px;background:var(--bg);font-size:9px}.info-trip-media-collapsible>.info-trip-media-grid{margin:0;padding:10px;border-top:1px solid var(--border)}
.info-trip-hotel{scroll-margin-top:18px}.info-trip-hotel+.info-trip-hotel{margin-top:2px}
.info-trip-conclusion-form{display:flex;flex-direction:column;gap:8px}.info-trip-conclusion-actions{display:flex;gap:7px;flex-wrap:wrap}.info-trip-ai-blog-wrap{position:relative}.info-trip-blog-publish{display:flex!important;align-items:center;justify-content:center;width:100%;margin-top:14px!important;padding-top:11px;padding-bottom:11px;text-align:center}.info-trip-blog-publish[hidden]{display:none!important}
.info-trip-recorder-final-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}

@media(max-width:900px){.info-trip-overview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.info-trip-bulk-assign{grid-template-columns:1fr 1fr}.info-trip-bulk-assign .form-control,.info-trip-bulk-assign .btn{width:100%}.info-trip-bulk-status{grid-column:1/-1}.info-trip-room-form{grid-template-columns:1fr}}
@media(max-width:620px){.info-trip-tabs{margin-left:-2px;margin-right:-2px}.info-trip-tab{padding:8px 10px}.info-trip-overview-card{padding:15px}.info-trip-overview-facts{grid-template-columns:1fr 1fr}.info-trip-bulk-assign{grid-template-columns:1fr}.info-trip-bulk-status{grid-column:auto}.info-trip-room-section{padding:12px}.info-trip-room-form{display:flex;flex-direction:column;align-items:stretch}.info-trip-room-form .form-group,.info-trip-room-actions{width:100%}.info-trip-room-actions{display:grid;grid-template-columns:1fr}.info-trip-room-actions .btn{width:100%}.info-trip-recorder-final-actions{grid-template-columns:1fr}.info-trip-media-collapsible>.info-trip-media-grid{padding:7px}}

/* v1.53.0 – TeamHub Hilfe-Center */
.sidebar-header-actions,.topbar-actions{display:flex;align-items:center;gap:7px}
.sidebar-help-link,.topbar-help-link{position:relative;display:flex;align-items:center;justify-content:center;text-decoration:none;flex:0 0 auto}
.sidebar-help-link{width:32px;height:32px;border-radius:9px;color:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.2);transition:.15s ease}
.sidebar-help-link:hover,.sidebar-help-link.is-active{color:#fff;background:color-mix(in srgb,var(--teal) 25%,transparent);border-color:rgba(255,255,255,.35)}
.sidebar-help-link strong,.topbar-help-link strong{font:800 17px/1 var(--font-display)}
.topbar-actions{margin-left:auto}
.topbar-help-link{width:34px;height:34px;border-radius:50%;color:var(--fg-3);background:var(--bg);border:1px solid var(--border)}
.topbar-help-link:hover,.topbar-help-link.is-active{background:var(--teal-100);color:var(--teal-700);border-color:var(--teal-border)}
.help-new-dot{position:absolute;right:-1px;top:-1px;width:9px;height:9px;border-radius:50%;background:#f59e0b;border:2px solid #fff}
.sidebar-help-link .help-new-dot{border-color:#102f39}

.help-center{max-width:1220px;margin:0 auto}
.help-page-header{align-items:center}
.help-title-row{display:flex;align-items:center;gap:11px}
.help-title-row h1{margin:0}
.help-title-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--teal-100);border:1px solid var(--teal-border);color:var(--teal-700);font:800 18px/1 var(--font-display)}
.help-doc-version{padding:6px 10px;border-radius:999px;background:var(--bg);border:1px solid var(--border);color:var(--fg-4);font-size:11px;font-weight:700;white-space:nowrap}
.help-search-card{position:relative;margin:0 0 18px;padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--teal) 4%,#fff));box-shadow:var(--shadow-sm);z-index:20}
.help-search-card>label{display:block;margin:0 0 9px;color:var(--fg-1);font:700 16px/1.35 var(--font-display)}
.help-search-input-wrap{position:relative;display:flex;align-items:center}
.help-search-input-wrap>svg{position:absolute;left:13px;color:var(--fg-4);pointer-events:none;z-index:2}
.help-search-input-wrap input{height:48px;padding-left:43px;padding-right:45px;font-size:14px;background:#fff}
.help-search-spinner{position:absolute;right:14px;width:17px;height:17px;border:2px solid var(--border);border-top-color:var(--teal);border-radius:50%;animation:help-spin .7s linear infinite}
@keyframes help-spin{to{transform:rotate(360deg)}}
.help-search-results{position:absolute;left:18px;right:18px;top:calc(100% - 9px);max-height:min(520px,65vh);overflow:auto;border:1px solid var(--border);border-radius:0 0 var(--radius-lg) var(--radius-lg);background:#fff;box-shadow:0 16px 34px rgba(16,47,57,.14)}
.help-search-result{display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px;padding:14px 16px;border-bottom:1px solid var(--border)}
.help-search-result:last-child{border-bottom:0}
.help-search-result:hover{background:var(--bg)}
.help-search-result-type{padding-top:2px;color:var(--teal-700);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.help-search-result-main strong{display:block;color:var(--fg-1);font-size:14px}
.help-search-result-main p{margin:4px 0 7px;color:var(--fg-3);font-size:12px;line-height:1.45}
.help-search-result-main>div{display:flex;gap:12px;flex-wrap:wrap}
.help-search-result-main a{color:var(--teal-700);font-size:11px;font-weight:750;text-decoration:none}
.help-search-result-main a.help-search-direct{color:var(--fg-3)}
.help-search-empty{padding:20px;color:var(--fg-3);font-size:13px;text-align:center}

.help-tabs{display:flex;align-items:center;gap:7px;margin:0 0 20px;padding:5px;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:auto}
.help-tab{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:9px;color:var(--fg-3);font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.help-tab:hover{background:var(--bg);color:var(--fg-1)}
.help-tab.is-active{background:var(--teal-100);color:var(--teal-700)}
.help-tab-new{padding:2px 6px;border-radius:999px;background:#fff3cd;color:#8a5b00;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.help-section{scroll-margin-top:20px}
.help-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin:0 0 15px}
.help-section-head h2{margin:0;color:var(--fg-1);font:750 20px/1.35 var(--font-display)}
.help-section-head p{margin:4px 0 0;color:var(--fg-4);font-size:12.5px}
.help-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.help-feature-card{display:flex;flex-direction:column;min-width:0;padding:17px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow-sm);scroll-margin-top:18px;transition:box-shadow .16s,border-color .16s}
.help-feature-card:hover{border-color:var(--teal-border);box-shadow:0 6px 20px rgba(16,47,57,.08)}
.help-feature-top{display:flex;align-items:center;gap:11px}
.help-feature-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:var(--teal-100);color:var(--teal-700);font:800 15px var(--font-display)}
.help-feature-top h3{margin:0;color:var(--fg-1);font:700 15px/1.3 var(--font-display)}
.help-feature-top span:not(.help-feature-icon){display:block;margin-top:2px;color:var(--fg-4);font-size:10px;font-weight:650}
.help-feature-card>p{margin:13px 0 10px;color:var(--fg-3);font-size:12.5px;line-height:1.55}
.help-feature-card ul{margin:0 0 14px;padding-left:18px;color:var(--fg-3);font-size:11.5px;line-height:1.55}
.help-feature-card li+li{margin-top:4px}
.help-open-link{display:inline-flex;align-items:center;gap:6px;margin-top:auto;color:var(--teal-700);font-size:11.5px;font-weight:800;text-decoration:none}
.help-open-link span{transition:transform .15s}.help-open-link:hover span{transform:translateX(2px)}

.help-guide-list{display:grid;gap:9px}
.help-guide{border:1px solid var(--border);border-radius:12px;background:#fff;scroll-margin-top:18px;overflow:hidden}
.help-guide summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;cursor:pointer;list-style:none}
.help-guide summary::-webkit-details-marker{display:none}
.help-guide summary>span:first-child{display:flex;flex-direction:column;gap:3px}
.help-guide summary strong{color:var(--fg-1);font-size:13.5px}
.help-guide summary small{color:var(--fg-4);font-size:11.5px;font-weight:500}
.help-chevron{color:var(--fg-4);font-size:18px;transition:transform .15s}
.help-guide[open] .help-chevron{transform:rotate(180deg)}
.help-guide-body{padding:0 16px 16px;border-top:1px solid var(--border)}
.help-guide-body ol{margin:15px 0;padding-left:22px;color:var(--fg-3);font-size:12.5px;line-height:1.65}
.help-guide-body li+li{margin-top:5px}

.help-admin-grid{display:grid;gap:12px}
.help-admin-card{padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;scroll-margin-top:18px}
.help-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:13px}
.help-admin-head h3{margin:0;color:var(--fg-1);font:700 15px/1.35 var(--font-display)}
.help-admin-head p{margin:4px 0 0;color:var(--fg-4);font-size:11.5px}
.help-admin-head>a{flex:0 0 auto;color:var(--teal-700);font-size:11px;font-weight:800;text-decoration:none}
.help-admin-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.help-admin-items>div{padding:10px 11px;border-radius:9px;background:var(--bg);border:1px solid color-mix(in srgb,var(--border) 75%,transparent)}
.help-admin-items strong{display:block;margin-bottom:3px;color:var(--fg-2);font-size:11.5px}
.help-admin-items span{display:block;color:var(--fg-4);font-size:10.5px;line-height:1.45}

.help-release-list{display:grid;gap:12px}
.help-release-card{padding:17px 18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;scroll-margin-top:18px}
.help-release-card.is-current{border-color:var(--teal-border);box-shadow:inset 3px 0 0 var(--teal)}
.help-release-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.help-release-head>div>span{display:block;margin-bottom:2px;color:var(--teal-700);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.help-release-head h3{margin:0;color:var(--fg-1);font:700 15px/1.35 var(--font-display)}
.help-current-badge{padding:4px 8px;border-radius:999px;background:var(--teal-100);color:var(--teal-700);font-size:9px;font-weight:800;text-transform:uppercase}
.help-release-card ul{margin:0;padding-left:19px;color:var(--fg-3);font-size:11.5px;line-height:1.55}
.help-release-card li+li{margin-top:4px}
.help-older-releases{margin-top:12px}
.help-older-releases>summary{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--fg-3);font-size:11.5px;font-weight:750;cursor:pointer}
.help-older-releases[open]>summary{margin-bottom:12px}
.help-highlight{animation:help-highlight 2.2s ease}
@keyframes help-highlight{0%,100%{box-shadow:var(--shadow-sm)}25%{box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 24%,transparent),0 8px 24px rgba(16,47,57,.1)}}

@media(max-width:900px){
  .help-feature-grid{grid-template-columns:1fr}
  .help-admin-items{grid-template-columns:1fr}
}
@media(max-width:760px){
  .sidebar-header-actions{display:none}
  .help-center{margin:-2px 0 0}
  .help-page-header{align-items:flex-start}
  .help-doc-version{display:none}
  .help-search-card{padding:14px;margin-bottom:13px}
  .help-search-results{left:14px;right:14px}
  .help-search-result{grid-template-columns:1fr;gap:4px;padding:12px}
  .help-search-result-type{font-size:9px}
  .help-tabs{margin-bottom:15px}
  .help-section-head{flex-direction:column}
  .help-feature-card,.help-admin-card,.help-release-card{padding:14px}
  .help-admin-head{flex-direction:column}
  .help-admin-head>a{align-self:flex-start}
}

/* v1.54.0 – kompakte Aufgaben- und Inforeise-Ansichten */
.task-overview-toolbar{display:flex;justify-content:flex-end;margin-top:-4px}
.task-view-settings{display:flex;align-items:center}
.task-view-toggle{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--fg-3);font-size:11px;font-weight:700;cursor:pointer}
.task-view-toggle input{margin:0}
.task-edit-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -22px -22px;padding:16px 22px;border-top:1px solid #f0caca;background:#fff8f8}
.task-edit-danger-zone>div{display:flex;flex-direction:column;gap:3px}.task-edit-danger-zone strong{font-size:12px;color:#8f2f2f}.task-edit-danger-zone span{font-size:11px;color:var(--fg-4)}

.info-trip-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.info-trip-toolbar .info-trip-search{flex:1;min-width:0}
.info-trip-list-switch{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
.info-trip-list-switch a{display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:6px;color:var(--fg-3);text-decoration:none;font-size:10px;font-weight:750;white-space:nowrap}
.info-trip-list-switch a.is-active{background:#fff;color:var(--teal-700);box-shadow:0 1px 4px rgba(19,55,65,.08)}
.info-trip-list-switch span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--teal-100);font-size:9px}
.info-trip-list{display:flex;flex-direction:column;gap:8px}
.info-trip-list-row{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(150px,.8fr) minmax(150px,.75fr) auto auto 22px;align-items:center;gap:16px;padding:13px 15px;border:1px solid var(--border);border-radius:11px;background:#fff;color:inherit;text-decoration:none;box-shadow:var(--shadow-sm);transition:border-color .15s,box-shadow .15s,transform .15s}
.info-trip-list-row:hover{border-color:var(--teal-border);box-shadow:var(--shadow-md);transform:translateY(-1px)}
.info-trip-list-main{min-width:0}.info-trip-list-title{font:700 15px/1.3 var(--font-display);color:var(--fg-1);white-space:normal;overflow:visible;text-overflow:clip}.info-trip-list-sub{margin-top:3px;font-size:11px;color:var(--fg-4)}
.info-trip-list-owner{display:flex;align-items:center;gap:7px;min-width:0}.info-trip-list-owner span{font-size:11px;font-weight:650;color:var(--fg-2);overflow-wrap:anywhere}
.info-trip-list-date{display:flex;flex-direction:column;gap:2px}.info-trip-list-date>span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--fg-4);font-weight:750}.info-trip-list-date strong{font-size:11px;color:var(--fg-2);font-weight:650}
.info-trip-list-stats,.info-trip-list-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:var(--fg-3);white-space:nowrap}.info-trip-list-links span{padding:3px 6px;border-radius:999px;background:var(--teal-100);color:var(--teal-700);font-weight:750}.info-trip-list-links .is-archived{background:#eef1f2;color:var(--fg-3)}
.info-trip-list-arrow{font-size:23px;color:var(--fg-4);text-align:right}
.info-trip-title-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.info-trip-title-line h1{margin:0}

.info-trip-inline-editor{margin-top:14px;padding:14px;border:1px solid var(--teal-border);border-radius:10px;background:#f9fdfd}.info-trip-inline-editor[hidden]{display:none!important}
.info-trip-edit-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.info-trip-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid #efcaca}.info-trip-danger-zone>div:first-child{display:flex;flex-direction:column;gap:3px}.info-trip-danger-zone strong{font-size:12px;color:#8f2f2f}.info-trip-danger-zone span{font-size:11px;color:var(--fg-4);line-height:1.45}.info-trip-danger-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.info-trip-delete-card{width:min(620px,calc(100vw - 28px))}

.info-trip-hotel{padding:18px}.info-trip-hotel-head{align-items:center;padding-bottom:12px;border-bottom:1px solid var(--border)}.info-trip-hotel-head h3{font-size:20px}.info-trip-hotel-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.info-trip-hotel-head-actions>span{font-size:10px;color:var(--fg-4);font-weight:650}.info-trip-hotel-readonly{padding:12px 0}.info-trip-hotel-readonly p{font-size:12px;line-height:1.55;color:var(--fg-2);margin:0}.info-trip-hotel-editor{margin:12px 0}.info-trip-hotel-form{margin-top:0}
.info-trip-hotel-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--border)}.info-trip-hotel-tools>strong{font:700 12px var(--font-display);color:var(--fg-2)}.info-trip-hotel-tools>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.info-trip-hotel-general-media{margin:0 0 14px}.info-trip-media-content{padding:10px;border-top:1px solid var(--border)}

.info-trip-room-sections{gap:8px;margin:10px 0 14px}.info-trip-room-section{padding:0;border:1px solid #d8e1e4;border-left:0;border-radius:10px;background:#fff;overflow:hidden;scroll-margin-top:18px}.info-trip-room-section[open]{border-color:color-mix(in srgb,var(--teal) 35%,#d8e1e4);box-shadow:0 2px 9px rgba(16,47,57,.06)}
.info-trip-room-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;cursor:pointer;list-style:none;background:#fbfcfc}.info-trip-room-summary::-webkit-details-marker{display:none}.info-trip-room-summary:hover{background:#f7fafb}.info-trip-room-summary-main{display:flex;align-items:baseline;gap:12px;min-width:0;flex:1}.info-trip-room-summary-main h4{flex:0 0 auto;font:750 16px/1.25 var(--font-display);color:var(--fg-1);margin:0}.info-trip-room-summary-main>span{min-width:0;font-size:11px;line-height:1.35;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.info-trip-room-summary-meta{display:flex;align-items:center;gap:9px;flex:0 0 auto}.info-trip-room-summary-meta>span:first-child{font-size:9px;color:var(--fg-4);font-weight:650;white-space:nowrap}.info-trip-room-chevron{display:flex!important;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#eef3f4;color:var(--fg-2);font-size:18px;transition:transform .15s}.info-trip-room-section[open] .info-trip-room-chevron{transform:rotate(180deg)}
.info-trip-room-body{padding:12px 13px 14px;border-top:1px solid var(--border)}.info-trip-room-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.info-trip-room-toolbar>div:first-child{display:flex;flex-direction:column;gap:4px}.info-trip-room-toolbar strong{font:700 14px var(--font-display);color:var(--fg-1)}.info-trip-room-toolbar>div:first-child>span{font-size:11px;line-height:1.45;color:var(--fg-3)}.info-trip-room-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.info-trip-room-editor{margin:8px 0 12px}.info-trip-room-form{grid-template-columns:minmax(180px,.4fr) minmax(260px,1fr)}
.info-trip-media-heading{display:flex;align-items:center;gap:7px;margin:10px 0 7px}.info-trip-media-heading h5,.info-trip-photo-gallery>h5,.info-trip-audio-section>h5{font:700 11px var(--font-display);color:var(--fg-3);margin:0}.info-trip-media-heading span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:999px;background:var(--bg);font-size:9px;color:var(--fg-4)}
.info-trip-photo-gallery+.info-trip-audio-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.info-trip-audio-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.info-trip-audio-list .info-trip-media-card.is-audio{padding:10px 11px;border-radius:9px;background:#fafcfc}.info-trip-audio-list .info-trip-transcript.is-inline{max-height:none;overflow:visible;margin:2px 0 7px;padding:0;background:transparent;font-size:12px;line-height:1.55;color:var(--fg-2)}.info-trip-audio-original{margin-top:6px}.info-trip-audio-original summary{cursor:pointer;font-size:10px;font-weight:700;color:var(--fg-4)}.info-trip-audio-original audio{margin-top:7px;width:100%}.info-trip-media-note strong{color:var(--fg-2)}
.info-trip-room-add{display:grid;grid-template-columns:minmax(180px,320px) auto;justify-content:start;gap:6px;margin-top:8px;padding-top:12px}.info-trip-room-add input{width:100%}

.knowledge-lightbox-progress{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:24px;margin-top:7px}.knowledge-lightbox-counter{font-size:11px;font-weight:700;color:rgba(255,255,255,.82)}.knowledge-lightbox-dots{display:flex;align-items:center;justify-content:center;gap:5px}.knowledge-lightbox-dots i{display:block;width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.32)}.knowledge-lightbox-dots i.is-active{background:#fff;transform:scale(1.15)}

@media(max-width:1050px){.info-trip-list-row{grid-template-columns:minmax(240px,1.5fr) minmax(140px,.8fr) minmax(140px,.8fr) auto 22px}.info-trip-list-links{display:none}}
@media(max-width:760px){.task-edit-danger-zone,.info-trip-danger-zone{align-items:stretch;flex-direction:column}.info-trip-toolbar{align-items:stretch;flex-direction:column}.info-trip-list-switch{align-self:flex-start}.info-trip-list-row{grid-template-columns:1fr auto;gap:8px 12px;padding:12px}.info-trip-list-main{grid-column:1/-1}.info-trip-list-owner,.info-trip-list-date{grid-column:1}.info-trip-list-stats{grid-column:1}.info-trip-list-arrow{grid-column:2;grid-row:2/5;align-self:center}.info-trip-hotel-head{align-items:flex-start;flex-direction:column}.info-trip-hotel-head-actions{justify-content:flex-start}.info-trip-hotel-tools,.info-trip-room-toolbar{align-items:stretch;flex-direction:column}.info-trip-room-summary{align-items:flex-start}.info-trip-room-summary-main{align-items:flex-start;flex-direction:column;gap:3px}.info-trip-room-summary-main>span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.info-trip-room-summary-meta{align-self:center}.info-trip-room-summary-meta>span:first-child{display:none}.info-trip-room-toolbar-actions{justify-content:flex-start}.info-trip-room-add{grid-template-columns:1fr}.task-overview-toolbar{justify-content:flex-start}}

/* v1.55.0 – Aufgabenfilter und halbe Urlaubstage */
.task-filter-panel{padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}
.task-filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.task-filter-panel-head>div{display:flex;flex-direction:column;gap:3px}.task-filter-panel-head>div>strong{font:700 13px var(--font-display);color:var(--fg-1)}.task-filter-panel-head>div>span{font-size:10.5px;line-height:1.45;color:var(--fg-4)}
.task-view-settings{display:flex;align-items:center;gap:8px;white-space:nowrap}.task-filter-toggle-label{font-size:10.5px;font-weight:700;color:var(--fg-3)}
.task-assignee-filter{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}
.task-assignee-filter-group{display:flex;align-items:center;gap:10px;min-width:0}.task-assignee-filter-label{font-size:10px;font-weight:750;color:var(--fg-4);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.task-assignee-filter-users{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.task-assignee-filter-chip{position:relative;display:flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--fg-3);cursor:pointer;transition:.15s ease;user-select:none}
.task-assignee-filter-chip:hover{border-color:var(--teal-border);background:var(--teal-100)}.task-assignee-filter-chip input{position:absolute;opacity:0;pointer-events:none}.task-assignee-filter-chip>span{font-size:10.5px;font-weight:700}.task-assignee-filter-chip>b{display:none;font-size:9px;color:var(--teal-700)}
.task-assignee-filter-chip.is-selected{border-color:var(--teal);background:var(--teal-100);color:var(--teal-700);box-shadow:0 0 0 1px color-mix(in srgb,var(--teal) 12%,transparent)}.task-assignee-filter-chip.is-selected>b{display:inline}
.task-unassigned-filter{display:flex;align-items:center;gap:10px;padding-left:14px;border-left:1px solid var(--border)}.task-unassigned-filter>span{display:flex;flex-direction:column;gap:1px}.task-unassigned-filter strong{font-size:10.5px;color:var(--fg-2)}.task-unassigned-filter small{font-size:9.5px;color:var(--fg-4)}
.task-filter-status{display:flex;align-items:center;gap:6px;padding-top:10px;border-top:1px solid var(--border);font-size:10.5px}.task-filter-status>span{color:var(--fg-4)}.task-filter-status>strong{color:var(--teal-700)}.task-filter-status>b{margin-left:auto;padding:3px 7px;border-radius:999px;background:var(--bg);color:var(--fg-3);font-size:9.5px}

.vacation-half-period-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vacation-half-period-option{position:relative;cursor:pointer}.vacation-half-period-option input{position:absolute;opacity:0;pointer-events:none}.vacation-half-period-option>span{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;transition:.15s ease}.vacation-half-period-option strong{font-size:12px;color:var(--fg-2)}.vacation-half-period-option small{font-size:10.5px;color:var(--fg-4)}.vacation-half-period-option input:checked+span{border-color:var(--teal);background:var(--teal-100);box-shadow:0 0 0 1px color-mix(in srgb,var(--teal) 14%,transparent)}.vacation-half-period-option input:checked+span strong{color:var(--teal-700)}
.vacation-half-day-label{display:block;margin-top:3px;color:var(--teal-700);font-size:10px;font-weight:700}.vacation-half-day-backfill{display:grid;grid-template-columns:auto minmax(170px,1fr) auto;align-items:center;gap:6px;margin-bottom:6px;padding:7px;border:1px solid #e6c878;border-radius:8px;background:#fff9e8}.vacation-half-day-backfill>label{font-size:9.5px;font-weight:750;color:#8b6817}.vacation-half-day-backfill .form-control{min-height:32px;padding:5px 8px;font-size:10px}

@media(max-width:800px){.task-filter-panel-head,.task-assignee-filter{align-items:flex-start;flex-direction:column}.task-view-settings{width:100%;justify-content:flex-end}.task-assignee-filter-group{align-items:flex-start;flex-direction:column}.task-unassigned-filter{width:100%;padding:10px 0 0;border-left:0;border-top:1px solid var(--border);justify-content:space-between}.task-filter-status{flex-wrap:wrap}.task-filter-status>b{margin-left:0}.vacation-half-period-options{grid-template-columns:1fr}.vacation-half-day-backfill{grid-template-columns:1fr}.vacation-half-day-backfill .btn{justify-self:start}}

/* v1.56.0 – Inforeisen-Volltextsuche, Hotelbewertungen und bessere Lesbarkeit */
.info-trip-search-group{display:flex;flex-direction:column;gap:0}
.info-trip-search-matches{margin:4px 12px 2px;padding:5px 0 5px 12px;border-left:3px solid var(--teal-border);background:linear-gradient(90deg,color-mix(in srgb,var(--teal) 5%,#fff),transparent 72%)}
.info-trip-search-hit{display:grid;grid-template-columns:110px minmax(0,1fr) 20px;align-items:start;gap:10px;padding:9px 10px;border-radius:8px;color:inherit;text-decoration:none}
.info-trip-search-hit:hover{background:var(--teal-100)}
.info-trip-search-hit-type{padding-top:2px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--teal-700)}
.info-trip-search-hit>div{min-width:0}.info-trip-search-hit strong{display:block;font-size:16px;line-height:1.35;color:var(--fg-1)}.info-trip-search-hit p{margin:3px 0 0;font-size:15px;line-height:1.5;color:var(--fg-3)}
.info-trip-search-hit mark{padding:0 2px;border-radius:3px;background:#fff0a8;color:inherit}
.info-trip-search-hit-arrow{font-size:20px;color:var(--fg-4);text-align:right}
.info-trip-search-empty{padding:28px 20px;text-align:center;border:1px dashed var(--border);border-radius:12px;background:#fff}.info-trip-search-empty h3{font:700 18px var(--font-display);color:var(--fg-1)}.info-trip-search-empty p{margin-top:5px;font-size:15px;color:var(--fg-3)}

/* Inhaltliche Texte im Inforeise-Dossier bleiben auch für ältere Kollegen gut lesbar. */
.info-trip-list-title{font-size:16px}.info-trip-list-sub{font-size:15px;line-height:1.4}.info-trip-list-owner span{font-size:15px}.info-trip-list-date strong{font-size:15px}
.info-trip-section-head p{font-size:15px}.info-trip-overview-facts strong{font-size:16px}.info-trip-general-notes h3{font-size:16px}.info-trip-general-notes p{font-size:16px;line-height:1.65}
.info-trip-hotel-head>div:first-child>span{font-size:16px;line-height:1.4;color:var(--fg-3)}.info-trip-hotel-readonly p{font-size:16px;line-height:1.65}
.info-trip-room-summary-main h4{font-size:18px}.info-trip-room-summary-main>span{font-size:16px;line-height:1.45}.info-trip-room-summary-meta>span:first-child{font-size:13px}
.info-trip-media-heading h5,.info-trip-photo-gallery>h5,.info-trip-audio-section>h5{font-size:15px}.info-trip-audio-list .info-trip-transcript.is-inline{font-size:16px;line-height:1.65}.info-trip-panel .info-trip-media-note{font-size:15px;line-height:1.55}.info-trip-room-empty{font-size:15px;line-height:1.5}
.info-trip-ai-text,.info-trip-ai-blog{font-size:16px;line-height:1.65}

.info-trip-hotel-rating{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(360px,1.25fr);align-items:center;gap:10px 18px;padding:12px 0;border-top:1px solid var(--border)}
.info-trip-hotel-rating-summary{display:flex;flex-direction:column;gap:3px}.info-trip-hotel-rating-summary>span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--fg-4)}.info-trip-hotel-rating-summary>div{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.info-trip-hotel-rating-summary strong{font:800 23px var(--font-display);color:var(--fg-1)}.info-trip-hotel-rating-summary b{font-size:15px;color:var(--fg-3)}.info-trip-hotel-rating-summary small{margin-left:4px;font-size:13px;color:var(--fg-4)}.info-trip-hotel-rating-summary p{margin:2px 0 0;font-size:15px;color:var(--fg-3)}
.info-trip-hotel-rating-form{display:grid;grid-template-columns:auto minmax(145px,190px) auto;align-items:center;justify-content:end;gap:7px}.info-trip-hotel-rating-form label{font-size:15px;font-weight:700;color:var(--fg-2)}.info-trip-hotel-rating-form .form-control{font-size:15px}
.info-trip-rating-hint{grid-column:1/-1;font-size:13px;line-height:1.45;color:var(--fg-4)}
.info-trip-room-toolbar-actions-only{justify-content:flex-end}.info-trip-room-toolbar-actions-only .info-trip-room-toolbar-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px}

@media(max-width:760px){
  .info-trip-search-matches{margin-left:6px;margin-right:6px;padding-left:8px}.info-trip-search-hit{grid-template-columns:1fr 18px;gap:4px 8px}.info-trip-search-hit-type{grid-column:1;font-size:11px}.info-trip-search-hit>div{grid-column:1}.info-trip-search-hit-arrow{grid-column:2;grid-row:1/3;align-self:center}
  .info-trip-hotel-rating{grid-template-columns:1fr}.info-trip-hotel-rating-form{grid-template-columns:1fr auto;justify-content:stretch}.info-trip-hotel-rating-form label{grid-column:1/-1}.info-trip-hotel-rating-form .form-control{min-width:0}.info-trip-rating-hint{grid-column:auto}
  .info-trip-room-summary-meta>span:first-child{display:block;font-size:12px}.info-trip-room-toolbar-actions-only{align-items:flex-end!important}.info-trip-room-toolbar-actions-only .info-trip-room-toolbar-actions{justify-content:flex-end}
}

/* v1.57.0 - Inforeisen mobile/usability refinement */
.info-trip-hotel{padding:0;border:1px solid #cfdade;border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm)}
.info-trip-hotel[open]{border-color:color-mix(in srgb,var(--teal) 30%,#cfdade);box-shadow:0 4px 16px rgba(16,47,57,.08)}
.info-trip-hotel-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;list-style:none;background:#f8fbfc}
.info-trip-hotel-summary::-webkit-details-marker{display:none}
.info-trip-hotel-summary:hover{background:#f2f8f9}
.info-trip-hotel-summary-main{min-width:0;display:flex;flex-direction:column;gap:4px}
.info-trip-hotel-summary-main h3{margin:0;font:800 22px/1.2 var(--font-display);color:var(--fg-1)}
.info-trip-hotel-summary-main span{font-size:15px;line-height:1.45;color:var(--fg-2)}
.info-trip-hotel-summary-meta{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.info-trip-hotel-summary-meta>span:first-child{font-size:13px;font-weight:700;color:var(--fg-3);white-space:nowrap}
.info-trip-hotel-body{padding:14px 16px 16px;border-top:1px solid var(--border)}
.info-trip-hotel-head-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.info-trip-hotel-readonly{padding:0 0 12px}
.info-trip-hotel-readonly p{font-size:15px;line-height:1.65;color:var(--fg-2)}
.info-trip-hotel-rating{grid-template-columns:minmax(220px,.8fr) minmax(220px,.8fr);gap:12px 16px;padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:12px}
.info-trip-hotel-rating-summary{gap:4px}
.info-trip-hotel-my-rating{margin:3px 0 0;font-size:14px;color:var(--fg-2)}
.info-trip-hotel-my-rating strong{font-weight:800;color:var(--fg-1)}
.info-trip-hotel-rating-view{display:flex;align-items:center;justify-content:flex-end}
.info-trip-hotel-rating-editor{grid-column:2}
.info-trip-hotel-rating-form{grid-template-columns:auto minmax(145px,190px) auto auto}
.info-trip-hotel-tools{padding:4px 0 10px;border-top:0}
.info-trip-hotel-tools>strong{font-size:13px;color:var(--fg-2)}
.info-trip-hotel-general-media{margin:0 0 12px}
.info-trip-room-sections{gap:10px;margin:12px 0}
.info-trip-room-section{border:1px solid #d7e2e6;border-radius:12px;background:#fdfefe;overflow:hidden}
.info-trip-room-section[open]{border-color:color-mix(in srgb,var(--teal) 28%,#d7e2e6);box-shadow:0 2px 10px rgba(16,47,57,.05)}
.info-trip-room-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 14px;background:#fbfcfd}
.info-trip-room-summary-main{min-width:0;display:flex;flex-direction:column;gap:5px}
.info-trip-room-title-row{display:flex;align-items:center;gap:10px;min-width:0}
.info-trip-room-title-row h4{margin:0;min-width:0;flex:0 1 auto;font:750 17px/1.25 var(--font-display);color:var(--fg-1)}
.info-trip-room-summary-count{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--fg-4);white-space:nowrap}
.info-trip-room-summary-note{font-size:14px;line-height:1.5;color:var(--fg-2);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.info-trip-room-summary-meta{display:flex;align-items:center;justify-content:center}
.info-trip-room-body{padding:12px 14px 14px;border-top:1px solid var(--border);background:#fff}
.info-trip-room-toolbar{margin-bottom:12px}
.info-trip-room-toolbar strong{font-size:14px}
.info-trip-room-toolbar>div:first-child>span{font-size:13px;line-height:1.45;color:var(--fg-3)}
.info-trip-room-form{grid-template-columns:minmax(180px,.38fr) minmax(260px,1fr);gap:10px 12px}
.info-trip-media-heading h5,.info-trip-photo-gallery>h5,.info-trip-audio-section>h5{font-size:14px}
.info-trip-photo-gallery+.info-trip-audio-section{margin-top:16px;padding-top:14px}
.info-trip-audio-list .info-trip-transcript.is-inline{font-size:15px;line-height:1.6;color:var(--fg-2)}
.info-trip-room-empty{font-size:14px;line-height:1.55}
.info-trip-room-add{margin-top:10px;padding-top:12px;border-top:1px dashed var(--border)}
.info-trip-room-add input{min-width:0}
@media(max-width:760px){
  .info-trip-hotel-summary{padding:13px 14px;align-items:flex-start}
  .info-trip-hotel-summary-main h3{font-size:21px}
  .info-trip-hotel-summary-main span{font-size:15px}
  .info-trip-hotel-summary-meta{flex-direction:column;align-items:flex-end;gap:6px}
  .info-trip-hotel-summary-meta>span:first-child{font-size:12px}
  .info-trip-hotel-body{padding:13px 14px 15px}
  .info-trip-hotel-head-actions{justify-content:flex-start}
  .info-trip-hotel-rating{grid-template-columns:1fr;gap:10px;padding:10px 0}
  .info-trip-hotel-rating-view,.info-trip-hotel-rating-editor{justify-content:flex-start;grid-column:auto}
  .info-trip-hotel-rating-form{grid-template-columns:1fr auto;gap:7px}
  .info-trip-hotel-rating-form label{grid-column:1/-1}
  .info-trip-room-summary{grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .info-trip-room-title-row{align-items:flex-start;flex-direction:column;gap:4px}
  .info-trip-room-title-row h4{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .info-trip-room-summary-count{font-size:11px}
  .info-trip-room-summary-note{font-size:14px;line-height:1.5;-webkit-line-clamp:3}
  .info-trip-room-toolbar-actions{justify-content:flex-start}
}

/* v1.58.0 - Inforeisen: klare Hierarchie, kompakte Aktionen und konsistente Leseansicht */
.info-trip-link-strip{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  margin:-8px 0 18px;
}
.info-trip-link-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  width:100%;
}
.info-trip-link-actions a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  width:auto;
  max-width:100%;
}

.info-trip-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:32px;
  height:32px;
  border:1px solid #d7e2e6;
  border-radius:9px;
  background:#fff;
  color:var(--fg-3);
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.info-trip-chevron svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.info-trip-hotel[open] > .info-trip-hotel-summary .info-trip-chevron,
.info-trip-room-section[open] > .info-trip-room-summary .info-trip-chevron{
  transform:rotate(180deg);
}

.info-trip-hotel-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:12px;
}
.info-trip-hotel-summary-main{
  min-width:0;
  width:100%;
}
.info-trip-hotel-summary-main h3{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  font:800 22px/1.22 var(--font-display);
  color:var(--fg-1);
  overflow-wrap:break-word;
}
.info-trip-hotel-summary-subline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 10px;
  margin-top:6px;
}
.info-trip-hotel-location,
.info-trip-hotel-summary-stats{
  font-size:13px!important;
  line-height:1.4!important;
  color:var(--fg-3)!important;
}
.info-trip-hotel-summary-stats{
  font-weight:650;
}
.info-trip-hotel-summary-rating{
  display:inline-flex;
  align-items:baseline;
  gap:3px;
  min-height:25px;
  padding:3px 7px;
  border:1px solid #d8e4e7;
  border-radius:7px;
  background:#fff;
  color:var(--fg-3);
  white-space:nowrap;
}
.info-trip-hotel-summary-rating small{
  margin-right:2px;
  font-size:11px;
  font-weight:700;
  color:var(--fg-4);
}
.info-trip-hotel-summary-rating strong{
  font:800 15px/1 var(--font-display);
  color:var(--fg-1);
}
.info-trip-hotel-summary-rating span{
  font-size:12px;
  font-weight:500;
  color:var(--fg-4);
}

.info-trip-hotel-rating{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px 14px;
  margin:2px 0 13px;
  padding:11px 12px;
  border:1px solid #d9e4e7;
  border-radius:10px;
  background:#f8fbfc;
}
.info-trip-hotel-rating-summary{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.info-trip-hotel-rating-summary>span{
  font-size:11px;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--fg-4);
}
.info-trip-score{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:4px;
}
.info-trip-score strong{
  font:800 22px/1.05 var(--font-display);
  color:var(--fg-1);
}
.info-trip-score>span{
  font-size:14px;
  font-weight:500;
  color:var(--fg-4);
}
.info-trip-score small{
  margin-left:3px;
  font-size:12px;
  font-weight:500;
  color:var(--fg-4);
}
.info-trip-hotel-rating-summary>p{
  margin:0;
  font-size:14px;
  font-weight:500;
  color:var(--fg-3);
}
.info-trip-hotel-my-rating-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
  font-size:13px;
  color:var(--fg-3);
}
.info-trip-hotel-my-rating-label{
  font-size:12px;
  font-weight:700;
  color:var(--fg-4);
}
.info-trip-hotel-my-rating-value{
  font-size:14px;
  font-weight:600;
  color:var(--fg-2);
  white-space:nowrap;
}
.info-trip-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:32px;
  height:32px;
  padding:0;
  border:1px solid var(--border);
  border-radius:8px;
  background:#fff;
  color:var(--fg-3);
  cursor:pointer;
}
.info-trip-icon-btn:hover{
  border-color:var(--teal-border);
  background:var(--teal-100);
  color:var(--teal-700);
}
.info-trip-icon-btn svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.info-trip-hotel-rating-editor{
  grid-column:1/-1;
  width:100%;
}
.info-trip-hotel-rating-form{
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:7px;
}
.info-trip-hotel-rating-form label{
  flex:0 0 100%;
  font-size:13px;
  font-weight:700;
  color:var(--fg-2);
}
.info-trip-hotel-rating-form .form-control{
  width:min(190px,100%);
}
.info-trip-rating-hint{
  grid-column:1/-1;
  margin-top:1px;
  font-size:12px;
  line-height:1.4;
  color:var(--fg-4);
}

.info-trip-room-title-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  gap:8px;
  width:100%;
}
.info-trip-room-title-row h4{
  min-width:0;
  max-width:100%;
  margin:0;
  font:750 17px/1.3 var(--font-display);
  color:var(--fg-1);
  overflow-wrap:break-word;
}
.info-trip-room-summary-count{
  align-self:baseline;
  font-size:11px;
  font-weight:650;
  color:var(--fg-4);
  white-space:nowrap;
}
.info-trip-room-summary-note{
  margin-top:1px;
  font-size:14px;
  line-height:1.45;
  color:var(--fg-2);
}
.info-trip-room-toolbar-actions-only{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
.info-trip-room-toolbar-actions-only .info-trip-room-toolbar-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:6px;
  width:auto;
}
.info-trip-room-toolbar-actions .btn{
  width:auto!important;
  white-space:nowrap;
}

@media(max-width:760px){
  .info-trip-link-strip{margin-top:0}
  .info-trip-link-actions a{width:100%;justify-content:flex-start}
  .info-trip-hotel-summary{grid-template-columns:minmax(0,1fr) 32px;gap:8px;padding:13px 14px}
  .info-trip-hotel-summary-main h3{font-size:20px}
  .info-trip-hotel-summary-subline{display:grid;grid-template-columns:1fr auto;gap:5px 8px}
  .info-trip-hotel-location{grid-column:1/-1}
  .info-trip-hotel-summary-stats{min-width:0}
  .info-trip-hotel-summary-rating{justify-self:end}
  .info-trip-hotel-rating{grid-template-columns:minmax(0,1fr) auto;padding:10px 11px}
  .info-trip-hotel-my-rating-row{justify-content:flex-end;align-self:center}
  .info-trip-hotel-rating-form{align-items:stretch}
  .info-trip-hotel-rating-form .form-control{width:100%;flex:1 1 150px}
  .info-trip-room-title-row{grid-template-columns:minmax(0,1fr);gap:3px}
  .info-trip-room-title-row h4{font-size:17px;white-space:normal;overflow:visible;text-overflow:clip}
  .info-trip-room-summary-count{font-size:11px}
  .info-trip-room-summary-note{-webkit-line-clamp:2;font-size:13px}
  .info-trip-room-toolbar-actions-only{justify-content:flex-end!important;margin-bottom:10px}
  .info-trip-room-toolbar-actions-only .info-trip-room-toolbar-actions{margin-left:auto}
}

/* v1.59.0 - Abwesenheitsfilter und Chevron-Ausrichtung */
.vacation-request-filter{margin-bottom:14px}
.vacation-request-filter .task-filter-panel-head{padding-bottom:10px}
.vacation-assignee-filter{padding-bottom:0}
.vacation-assignee-filter .task-assignee-filter-group{width:100%}
.info-trip-room-summary-meta{
  align-self:start!important;
  justify-self:end!important;
  margin:0!important;
}
.info-trip-room-summary .info-trip-chevron{
  margin:0!important;
}
@media(max-width:800px){
  .vacation-assignee-filter{align-items:flex-start;flex-direction:column}
  .vacation-assignee-filter .task-assignee-filter-group{align-items:flex-start;flex-direction:column}
}

/* v1.60.0 – Schnellfilter und Buchungsregeln */
.task-assignee-filter-chip.task-assignee-filter-all{padding-left:7px;text-decoration:none}
.task-filter-all-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--bg);color:var(--fg-3);flex:0 0 auto}
.task-assignee-filter-chip.task-assignee-filter-all.is-selected .task-filter-all-icon{background:color-mix(in srgb,var(--teal) 14%,white);color:var(--teal-700)}
.booking-saturday-slot-times{display:grid;grid-template-columns:repeat(3,minmax(120px,170px));gap:9px;justify-content:start}
@media(max-width:620px){.booking-saturday-slot-times{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.booking-saturday-slot-times .form-control{min-width:0;padding-left:7px;padding-right:7px}}

/* v1.61.0 – manuelle Termine mit Start-/Endzeit und synchroner Dauer */
.appointment-time-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
@media(max-width:700px){
  .appointment-time-row{grid-template-columns:1fr 1fr}
  .appointment-time-row>div:last-child{grid-column:1/-1}
}

/* v1.62.0 – Urlaubsjahre und Jahresfilter */
.vacation-stats-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 10px}
.vacation-stats-head>div{display:flex;flex-direction:column;gap:2px}.vacation-stats-head .section-label{margin:0}.vacation-stats-head>div>strong{font:750 18px/1.25 var(--font-display);color:var(--fg-1)}
.vacation-stats-year-form{display:flex;align-items:center;gap:8px}.vacation-stats-year-form label{font-size:12px;font-weight:750;color:var(--fg-3)}.vacation-stats-year-form select{width:auto;min-width:92px}
.vacation-year-filter-panel{margin-bottom:14px}.vacation-year-filter-panel .task-filter-panel-head{padding-bottom:10px}
.vacation-year-filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.vacation-year-picker{position:relative;min-width:220px}.vacation-year-picker>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 11px;border:1px solid var(--border);border-radius:10px;background:#fff;cursor:pointer;list-style:none;color:var(--fg-2)}.vacation-year-picker>summary::-webkit-details-marker{display:none}.vacation-year-picker>summary span{font-size:12px;color:var(--fg-4)}.vacation-year-picker>summary strong{font-size:13px;flex:1}.vacation-year-picker>summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}.vacation-year-picker[open]>summary svg{transform:rotate(180deg)}
.vacation-year-filter-form{position:absolute;z-index:30;left:0;top:calc(100% + 6px);width:min(320px,calc(100vw - 32px));padding:12px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-md)}
.vacation-year-options{display:flex;flex-direction:column;gap:5px}.vacation-year-options label{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:700;color:var(--fg-2)}.vacation-year-options label:hover{background:var(--bg)}.vacation-year-options input{width:17px;height:17px;accent-color:var(--teal)}
.vacation-year-filter-actions{display:flex;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}
.vacation-year-current{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-4)}.vacation-year-current strong{font-size:13px;color:var(--fg-2)}
.vacation-card-table .vacation-year-divider td{padding:8px 14px;background:#f2f7f8;border-top:1px solid #dbe6e9;border-bottom:1px solid #dbe6e9;color:var(--fg-2)}.vacation-card-table .vacation-year-divider td::before{display:none!important}.vacation-year-divider td span{margin-right:7px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--fg-4)}.vacation-year-divider td strong{font-size:14px;color:var(--fg-1)}
@media(max-width:700px){
  .vacation-stats-head{align-items:center}.vacation-stats-year-form label{display:none}.vacation-stats-year-form select{min-width:86px}
  .vacation-year-filter-row{align-items:stretch;flex-direction:column}.vacation-year-picker{width:100%}.vacation-year-current{padding-left:2px}
  table.vacation-card-table tbody tr.vacation-year-divider{display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  table.vacation-card-table tbody tr.vacation-year-divider td{display:block!important;width:100%;padding:8px 10px!important;border-radius:8px;background:#edf5f6!important}
}

/* v1.63.0 – Kalender kompakter, optional sticky und visuell klarer */
.schedule-app.agenda-sticky-header.view-week .schedule-agenda-corner,
.schedule-app.agenda-sticky-header.view-week .schedule-agenda-day-head,
.schedule-app.agenda-sticky-header.view-day .schedule-agenda-corner,
.schedule-app.agenda-sticky-header.view-day .schedule-agenda-day-head{
  position:sticky;
  top:0;
}
.schedule-app.agenda-sticky-header .schedule-agenda-corner{z-index:98;min-height:64px}
.schedule-app.agenda-sticky-header .schedule-agenda-day-head{z-index:97;min-height:64px;padding:7px 6px;box-shadow:0 2px 7px rgba(16,47,57,.07)}
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact{margin-top:3px;gap:2px}
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact span,
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact button{font-size:.62rem;line-height:1.15;padding:2px 4px}
.schedule-agenda-absence-more{display:inline-flex!important;align-items:center;justify-content:center;width:max-content;min-width:24px;background:#eaf0f2!important;border-left:0!important;color:var(--fg-3)!important;font-weight:800}
.schedule-agenda-day-head.is-today{background:#e0f7f8;box-shadow:inset 0 4px 0 var(--teal)}
.schedule-agenda-day-head.is-today>strong{color:var(--teal-700)}
.schedule-agenda-slot.is-today{background:color-mix(in srgb,var(--teal) 3.5%,#fff)}
.schedule-agenda-slot.is-today:hover{background:color-mix(in srgb,var(--teal) 8%,#fff)}
.schedule-agenda-time.is-hour,.schedule-agenda-slot.is-hour{border-top:2px solid #c7d5da}
.schedule-agenda-time.is-hour{color:#4c6570;font-weight:800}
.schedule-sticky-toggle{margin-left:2px}
.schedule-agenda-appointment-top strong{font-size:.74rem;line-height:1.2}
@media(max-width:760px){
  .schedule-sticky-toggle>span:last-child{font-size:10px}
  .schedule-app.agenda-sticky-header .schedule-agenda-day-head{min-height:58px;padding:6px 4px}
}

/* v1.63.0 – Provisionsziele: Nachweise gesammelt gemeldet */
.commission-evidence-reporting{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:210px}
.commission-evidence-reported{font-size:12px;font-weight:800;color:#14704d;background:#e8f7f0;border:1px solid #bfe6d3;border-radius:999px;padding:5px 9px;white-space:nowrap}
.commission-evidence-open{font-size:12px;font-weight:700;color:var(--fg-4);white-space:nowrap}
@media(max-width:900px){.commission-evidence-reporting{justify-content:flex-start;min-width:0}}

/* v1.63.0 – aktueller Tag auch in der Monatsansicht klarer */
.schedule-app.view-month .schedule-day.is-today{background:color-mix(in srgb,var(--teal) 5%,#fff);box-shadow:inset 0 0 0 3px var(--teal)}

/* v1.64.0 – kompakter Kalenderkopf & ruhige How-we-work-Übersicht */
.schedule-agenda-day-label{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
  min-width:0;
}
.schedule-agenda-day-label>strong{font-size:.9rem;color:#153944}
.schedule-agenda-day-label>span{font-size:.78rem;color:#73868e}
.schedule-agenda-day-head.is-today .schedule-agenda-day-label>strong{color:var(--teal-700)}

.schedule-app.view-week .schedule-toolbar,
.schedule-app.view-day .schedule-toolbar{
  padding:6px 10px;
  margin-bottom:8px;
  gap:7px;
}
.schedule-app.view-week .schedule-toolbar-title,
.schedule-app.view-day .schedule-toolbar-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.schedule-app.view-week .schedule-toolbar-title span,
.schedule-app.view-week .schedule-toolbar-title strong,
.schedule-app.view-day .schedule-toolbar-title span,
.schedule-app.view-day .schedule-toolbar-title strong{
  display:inline-block;
}
.schedule-app.view-week .schedule-toolbar-controls,
.schedule-app.view-day .schedule-toolbar-controls{
  flex-wrap:nowrap;
  gap:6px;
}
.schedule-app.view-week .schedule-height-control,
.schedule-app.view-day .schedule-height-control{
  grid-template-columns:auto minmax(64px,100px) 32px;
  padding:3px 7px;
}
.schedule-app.view-week .schedule-sticky-toggle,
.schedule-app.view-day .schedule-sticky-toggle{
  margin-left:0;
  white-space:nowrap;
}
.schedule-app.agenda-sticky-header .schedule-agenda-corner{
  min-height:44px;
}
.schedule-app.agenda-sticky-header .schedule-agenda-day-head{
  min-height:44px;
  padding:5px 6px 6px;
}
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact{
  margin-top:4px;
}
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact span,
.schedule-app.agenda-sticky-header .schedule-agenda-absence-list.is-compact button{
  font-size:.62rem;
  line-height:1.12;
  padding:2px 4px;
}

/* Chromium/Safari bringen bei type=search ein eigenes X mit. TeamHub nutzt nur den eigenen Löschen-Button. */
.knowledge-how-search-field input[type="search"]::-webkit-search-cancel-button,
.knowledge-how-search-field input[type="search"]::-webkit-search-decoration{
  -webkit-appearance:none;
  appearance:none;
  display:none;
}
.knowledge-how-row{min-height:50px}
.knowledge-how-row-main{gap:0}

@media(max-width:1100px){
  .schedule-app.view-week .schedule-toolbar-controls,
  .schedule-app.view-day .schedule-toolbar-controls{
    flex-wrap:wrap;
  }
}
@media(max-width:760px){
  .schedule-app.view-week .schedule-toolbar-title,
  .schedule-app.view-day .schedule-toolbar-title{
    gap:5px;
  }
  .schedule-app.agenda-sticky-header .schedule-agenda-day-head{
    min-height:42px;
    padding:5px 4px;
  }
}

/* v1.65.0 – Kalendernavigation direkt am Zeitraum, Today-Markierung auch sticky */
.schedule-app.view-week .schedule-toolbar,
.schedule-app.view-day .schedule-toolbar{
  grid-template-columns:34px max-content 34px minmax(0,1fr);
  align-items:center;
}
.schedule-app.view-week .schedule-toolbar-title,
.schedule-app.view-day .schedule-toolbar-title{
  justify-content:flex-start;
  max-width:min(480px,38vw);
}
.schedule-app.view-week .schedule-toolbar-controls,
.schedule-app.view-day .schedule-toolbar-controls{
  min-width:0;
  justify-content:flex-end;
  flex-wrap:nowrap;
}
.schedule-app.agenda-sticky-header .schedule-agenda-day-head.is-today{
  box-shadow:inset 0 4px 0 var(--teal),0 2px 7px rgba(16,47,57,.07);
}

@media(max-width:1100px){
  .schedule-app.view-week .schedule-toolbar,
  .schedule-app.view-day .schedule-toolbar{
    grid-template-columns:34px minmax(0,1fr) 34px;
  }
  .schedule-app.view-week .schedule-toolbar-title,
  .schedule-app.view-day .schedule-toolbar-title{
    max-width:none;
    justify-content:center;
  }
  .schedule-app.view-week .schedule-toolbar-controls,
  .schedule-app.view-day .schedule-toolbar-controls{
    grid-column:1/-1;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}

/* v1.66.0 – Release-Datum, Team-Wissen-PDFs und mobiler Kalender */
.help-release-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:2px}
.help-release-meta>span{color:var(--teal-700);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.help-release-meta>time{color:var(--fg-4);font-size:10px;font-weight:650}

.knowledge-attachments{margin-top:30px;padding-top:22px;border-top:1px solid var(--border)}
.knowledge-attachments>.section-label{margin-bottom:12px}
.knowledge-attachments .knowledge-gallery{margin-top:0;padding-top:0;border-top:0}
.knowledge-pdf-list{display:grid;gap:16px;margin-top:16px}
.knowledge-pdf-card{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff}
.knowledge-pdf-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--bg)}
.knowledge-pdf-card-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.knowledge-pdf-card-head>div:last-child{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.knowledge-pdf-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-1);font-size:14px}
.knowledge-pdf-badge,.knowledge-pdf-file-tile>span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:26px;padding:0 7px;border-radius:7px;background:#e7515a;color:#fff;font-size:10px;font-weight:850;letter-spacing:.04em}
.knowledge-pdf-card iframe{display:block;width:100%;height:560px;border:0;background:#f4f6f7}
.knowledge-pdf-file-tile{display:flex;align-items:center;gap:8px;min-height:76px;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
.knowledge-pdf-file-tile strong{min-width:0;color:var(--fg-2);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.knowledge-attachment-preview .knowledge-pdf-preview-card{grid-column:span 2;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
.knowledge-pdf-preview-card iframe{display:block;width:100%;height:180px;border:0;background:#f4f6f7}
.knowledge-pdf-preview-card strong{display:block;padding:7px 9px;font-size:11px;color:var(--fg-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:620px){
  .schedule-toolbar-controls{grid-template-columns:minmax(0,1fr) auto!important;align-items:center}
  .schedule-toolbar-controls .schedule-today-button{grid-column:1;width:100%}
  .schedule-toolbar-controls .schedule-sunday-toggle{grid-column:2;justify-self:end}
  .schedule-toolbar-controls .schedule-filter-control{grid-column:1/-1;display:flex;width:100%;min-width:0}
  .schedule-toolbar-controls .schedule-filter-control .form-control{flex:1 1 0;width:auto;min-width:0;max-width:100%}
  .schedule-toolbar-controls .schedule-zoom-control{grid-column:1/-1;width:100%}
  .schedule-toolbar-controls .schedule-height-control{grid-column:1/-1;width:100%}
  .knowledge-pdf-card-head{align-items:flex-start;flex-direction:column}
  .knowledge-pdf-card-head>div:last-child{width:100%;justify-content:flex-start}
  .knowledge-pdf-card iframe{height:380px}
  .knowledge-attachment-preview .knowledge-pdf-preview-card{grid-column:1/-1}
}

/* v1.67.0 – Release-Gruppierung, Aufgaben-PDFs und Kalenderpräferenzen */
.help-release-day-list{display:flex;flex-direction:column;gap:22px}
.help-release-day-group{display:flex;flex-direction:column;gap:10px}
.help-release-day-title{margin:0;padding:0 2px 8px;border-bottom:2px solid var(--teal-border);font:800 18px/1.25 var(--font-display);color:var(--fg-1)}
.help-release-day-group.is-undated .help-release-day-title{color:var(--fg-3);border-bottom-color:var(--border)}
.help-release-day-group .help-release-list{gap:10px}
.help-release-day-group .help-release-card{box-shadow:none}

.task-pdf-card{grid-column:1/-1;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#fff}
.task-pdf-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--bg)}
.task-pdf-card-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.task-pdf-card-head>div:last-child{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.task-pdf-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-1);font-size:13px}
.task-pdf-card iframe{display:block;width:100%;height:430px;border:0;background:#f4f6f7}
.task-comment-pdf-card{width:100%;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff}
.task-comment-pdf-card>div{display:flex;align-items:center;gap:8px;padding:8px 9px}
.task-comment-pdf-card>div:last-child{padding-top:0;flex-wrap:wrap}
.task-comment-pdf-card strong{min-width:0;font-size:12px;color:var(--fg-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-comment-pdf-card iframe{display:block;width:100%;height:240px;border:0;border-top:1px solid var(--border);background:#f4f6f7}

.booking-employee-setting-row{grid-template-columns:minmax(210px,1fr) 150px 210px minmax(180px,220px) 145px 145px}
.booking-public-label-field{flex-direction:column;align-items:flex-start!important;gap:5px!important}
.booking-public-label-field .form-control{width:100%!important}
.booking-auto-assign-toggle{line-height:1.3}

.schedule-app.view-week .schedule-toolbar,
.schedule-app.view-day .schedule-toolbar{grid-template-columns:34px max-content 34px auto minmax(0,1fr)}
.schedule-app.view-week>.schedule-toolbar>.schedule-today-button,
.schedule-app.view-day>.schedule-toolbar>.schedule-today-button{white-space:nowrap;margin-left:2px}
.appointment-internal-note-box textarea[name="internal_note"],
#appointmentCreateForm textarea[name="internal_note"]{resize:none;overflow-y:hidden;min-height:72px}
.knowledge-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}

@media(max-width:1100px){
  .booking-employee-setting-row{grid-template-columns:1fr 1fr}
  .booking-employee-identity{grid-column:1/-1}
  .schedule-app.view-week .schedule-toolbar,
  .schedule-app.view-day .schedule-toolbar{grid-template-columns:34px minmax(0,1fr) 34px auto}
  .schedule-app.view-week .schedule-toolbar-controls,
  .schedule-app.view-day .schedule-toolbar-controls{grid-column:1/-1}
}
@media(max-width:760px){
  .booking-employee-setting-row{grid-template-columns:1fr}
  .booking-employee-identity{grid-column:auto}
  .schedule-app.view-week .schedule-toolbar,
  .schedule-app.view-day .schedule-toolbar{grid-template-columns:34px minmax(0,1fr) 34px}
  .schedule-app.view-week>.schedule-toolbar>.schedule-today-button,
  .schedule-app.view-day>.schedule-toolbar>.schedule-today-button{grid-column:1/-1;width:100%;margin:0}
  .task-pdf-card iframe{height:300px}
  .task-pdf-card-head{align-items:flex-start;flex-direction:column}
  .task-pdf-card-head>div:last-child{width:100%;justify-content:flex-start}
  .knowledge-detail-actions{width:100%;justify-content:flex-start}
}


/* v1.73.0 – persönliche Notizen und gemeinsamer Rich-Text-Editor */
.rich-editor-area .rich-inline-image,.rich-editor-area .note-inline-image{margin:18px 0}.rich-editor-area .rich-inline-image img,.rich-editor-area .note-inline-image img{margin:0;max-width:100%;height:auto;border-radius:10px}
.notes-page{min-width:0}.notes-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.notes-page-header h1{margin:0}.notes-page-header p{margin:5px 0 0;color:var(--fg-3)}.notes-header-actions{display:flex;gap:8px;flex-wrap:wrap}.notes-shell{display:grid;grid-template-columns:minmax(240px,310px) minmax(0,1fr);min-height:calc(100vh - 150px);background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm)}
.notes-sidebar{border-right:1px solid var(--border);background:var(--bg);min-width:0;overflow:auto}.notes-search{position:sticky;top:0;padding:12px;background:var(--bg);z-index:2;border-bottom:1px solid var(--border)}.notes-tree{padding:8px 8px 18px}.notes-folder{margin-left:calc(var(--depth) * 12px)}.notes-folder-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:3px;min-height:34px;border-radius:8px;padding:1px 3px;color:var(--fg-2);font-weight:700;font-size:13px}.notes-folder-row:hover{background:var(--surface)}.notes-folder-row>div{display:flex;opacity:.25}.notes-folder-row:hover>div{opacity:1}.notes-folder-row button{border:0;background:transparent;color:var(--fg-3);cursor:pointer;border-radius:6px;height:26px;min-width:24px}.notes-folder-row button:hover{background:var(--teal-100);color:var(--teal-700)}.notes-tree-note{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:2px;border:0;background:transparent;border-radius:8px;padding:7px 10px 7px 30px;text-align:left;color:var(--fg-2);cursor:pointer}.notes-tree-note:hover,.notes-tree-note.is-active{background:var(--surface)}.notes-tree-note.is-active{box-shadow:inset 3px 0 0 var(--teal);color:var(--fg-1)}.notes-tree-note span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.notes-tree-note small{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-4);font-size:10px}.notes-unfiled{margin-top:10px;padding-top:8px;border-top:1px solid var(--border)}.notes-unfiled-title{padding:6px 10px;color:var(--fg-4);font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.05em}.notes-empty,.notes-empty-inline{display:block;padding:18px 12px;color:var(--fg-4);font-size:13px}.notes-search-results{display:flex;flex-direction:column;gap:4px}.notes-search-result{border:0;background:transparent;text-align:left;padding:9px;border-radius:9px;cursor:pointer;display:flex;flex-direction:column;gap:3px}.notes-search-result:hover,.notes-search-result.is-active{background:var(--surface)}.notes-search-result strong{font-size:13px}.notes-search-result span{font-size:11px;color:var(--fg-3);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notes-search-result small{font-size:10px;color:var(--fg-4)}
.notes-editor-pane{min-width:0;background:white}.notes-editor-empty{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--fg-4);text-align:center;padding:30px}.notes-editor-empty strong{color:var(--fg-2);font-size:18px}.notes-document{max-width:1000px;margin:0 auto;padding:24px 34px 50px}.notes-document-top{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:32px}.notes-save-state{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:700;color:var(--fg-4);background:transparent}.notes-save-state.is-saved{color:#21643f;background:#eaf7ef;border-color:#c8e9d4}.notes-save-state.is-error{color:var(--danger);background:#fff1f1;border-color:#f5cccc}.notes-title-input{display:block;width:100%;border:0;background:transparent;outline:0;padding:8px 0 12px;color:var(--fg-1);font:800 30px/1.2 var(--font-display)}.notes-meta-row{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1.3fr);gap:12px;margin-bottom:14px}.notes-meta-row label{display:flex;flex-direction:column;gap:5px}.notes-meta-row label>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--fg-4);font-weight:800}.notes-rich-editor{border:0;border-radius:0;overflow:visible}.notes-rich-editor:focus-within{box-shadow:none;border-color:transparent}.notes-rich-editor .rich-editor-toolbar{position:sticky;top:0;z-index:3;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--bg) 92%,white);margin-bottom:6px}.notes-editor-area{min-height:52vh;padding:20px 4px 60px;font-size:15px}.notes-editor-area:focus{outline:0}
@media(max-width:900px){.notes-shell{grid-template-columns:1fr;min-height:0}.notes-sidebar{border-right:0;border-bottom:1px solid var(--border);max-height:38vh}.notes-document{padding:18px 18px 40px}.notes-page-header{align-items:flex-start;flex-direction:column}.notes-meta-row{grid-template-columns:1fr}.notes-editor-area{min-height:46vh}.notes-rich-editor .rich-editor-toolbar{top:64px}}

/* v1.73.2 – Notizübersicht und benannte Anlage */
.notes-overview{padding:26px 30px 42px;max-width:1100px;margin:0 auto}.notes-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--border)}.notes-overview-head h2{margin:3px 0 0;font:800 24px/1.2 var(--font-display);color:var(--fg-1)}.notes-overview-head p{margin:5px 0 0;color:var(--fg-3);font-size:13px}.notes-overview-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:var(--bg);color:var(--fg-3);font-size:11px;font-weight:700}.notes-overview-list{display:flex;flex-direction:column;margin-top:8px}.notes-overview-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 10px;border:0;border-bottom:1px solid var(--border);background:transparent;text-align:left;cursor:pointer;color:inherit}.notes-overview-item:hover{background:var(--bg);border-radius:9px}.notes-overview-item-main{min-width:0;display:flex;flex-direction:column;gap:4px}.notes-overview-item-main strong{font-size:14px;color:var(--fg-1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-overview-item-main span{font-size:11px;color:var(--fg-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-overview-item>small{flex:0 0 auto;color:var(--fg-4);font-size:10px}.notes-document-top{justify-content:space-between}.notes-document-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.notes-name-card{width:min(100%,520px)}.notes-name-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
@media(max-width:900px){.notes-overview{padding:18px 18px 32px}.notes-overview-head{align-items:flex-start}.notes-overview-item{align-items:flex-start;flex-direction:column;gap:5px}.notes-overview-item>small{align-self:flex-start}.notes-document-top{gap:10px}.notes-document-actions{min-width:0}.notes-name-actions{flex-direction:column-reverse}.notes-name-actions .btn{width:100%}}


/* v1.74.0 – Planungsmonate ohne abgeschnittene Einträge */
.schedule-app.view-plan .schedule-day-events{max-height:none!important;overflow:visible!important}
.schedule-app.view-plan .schedule-day{overflow:visible!important;height:auto!important;min-height:max(var(--schedule-cell-height,48px),var(--schedule-visible-height,48px))!important}
.schedule-app.view-plan .schedule-day-events>.schedule-event,.schedule-app.view-plan .schedule-day-events>.schedule-event-spacer{flex-shrink:0}
.submission-rich-content img{display:block;max-width:100%;height:auto;border-radius:10px;margin:16px 0}

/* v1.75.0 – sichere Notizen, direkte Ordneraktionen und interaktive Rich-Text-Tabellen */
.rich-editor-enhanced{position:relative}
.rich-editor-dialog{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(12,36,44,.34);backdrop-filter:blur(2px)}
.rich-editor-dialog-card{width:min(460px,100%);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);padding:20px}
.rich-editor-dialog-card h3{margin:0 0 16px;color:var(--fg-1);font:800 20px/1.25 var(--font-display)}
.rich-editor-dialog-field{display:flex;flex-direction:column;gap:6px;color:var(--fg-2);font-size:12px;font-weight:700}
.rich-editor-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rich-editor-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.rich-editor-toast{position:absolute;right:10px;top:46px;z-index:12;max-width:min(360px,calc(100% - 20px));padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:var(--shadow-md);color:var(--fg-2);font-size:12px}
.rich-editor-toast.is-error{border-color:color-mix(in srgb,var(--danger) 40%,var(--border));color:var(--danger)}
.rich-table-controls{position:absolute;z-index:11;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-md)}
.rich-table-controls[hidden]{display:none}
.rich-table-controls>span{width:1px;height:20px;background:var(--border);margin:0 2px}
.rich-table-controls button{height:26px;border:0;border-radius:6px;background:transparent;padding:0 7px;color:var(--fg-2);font:650 11px var(--font-body);cursor:pointer;white-space:nowrap}
.rich-table-controls button:hover{background:var(--teal-100);color:var(--teal-700)}
.rich-table-controls button:disabled{opacity:.35;cursor:not-allowed;background:transparent;color:var(--fg-4)}

.notes-folder-row{position:relative}
.notes-folder-actions{position:relative}
.notes-folder-menu{position:absolute;right:0;top:29px;z-index:15;width:178px;display:flex!important;flex-direction:column!important;gap:2px;padding:5px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:var(--shadow-md);opacity:1!important}
.notes-folder-menu[hidden]{display:none!important}
.notes-folder-menu button{width:100%;height:auto!important;min-height:32px;padding:7px 9px!important;text-align:left;color:var(--fg-2)!important;font-size:12px;font-weight:600}
.notes-folder-menu button:hover{background:var(--bg)!important;color:var(--fg-1)!important}
.notes-folder-menu button.is-danger{color:var(--danger)!important}
.notes-recovery-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 14px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--warning) 40%,var(--border));border-radius:10px;background:color-mix(in srgb,var(--warning) 8%,white)}
.notes-recovery-banner[hidden]{display:none}
.notes-recovery-banner>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.notes-recovery-banner strong{font-size:13px;color:var(--fg-1)}.notes-recovery-banner span{font-size:11px;color:var(--fg-3)}
.notes-recovery-banner>div:last-child{display:flex;gap:7px;flex:0 0 auto}
.notes-toast{position:fixed;right:20px;bottom:20px;z-index:1300;max-width:min(380px,calc(100vw - 40px));padding:10px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-lg);color:var(--fg-2);font-size:12px}
.notes-toast.is-error{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 35%,var(--border))}
.notes-document-actions [data-notes-save]:disabled{opacity:.45;cursor:default}

@media(max-width:900px){
  .notes-folder-row>div.notes-folder-actions{opacity:1}
  .notes-recovery-banner{align-items:flex-start;flex-direction:column}.notes-recovery-banner>div:last-child{width:100%}.notes-recovery-banner>div:last-child .btn{flex:1}
  .rich-editor-dialog-grid{grid-template-columns:1fr}.rich-editor-dialog-actions{flex-direction:column-reverse}.rich-editor-dialog-actions .btn{width:100%}
  .rich-table-controls{max-width:calc(100% - 12px);overflow-x:auto}.rich-table-controls button{font-size:10px;padding:0 6px}
  .notes-document-actions{flex-wrap:wrap}.notes-document-actions .notes-save-state{width:100%;text-align:right}
}

/* v1.75.2 – Notizaktionen klar und mobil erreichbar */
.notes-overview-item-wrap{position:relative;display:flex;align-items:stretch;border-bottom:1px solid var(--border)}
.notes-overview-item-wrap .notes-overview-item{flex:1;min-width:0;border-bottom:0}
.notes-overview-actions{position:relative;display:flex;align-items:center;flex:0 0 auto;padding:0 6px}
.notes-overview-menu-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--fg-3);font-size:20px;line-height:1;cursor:pointer}
.notes-overview-menu-button:hover{background:var(--bg);color:var(--fg-1)}
.notes-note-menu{position:absolute;right:6px;top:calc(50% + 18px);z-index:20;width:160px;display:flex!important;flex-direction:column;gap:2px;padding:5px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:var(--shadow-md)}
.notes-note-menu[hidden]{display:none!important}
.notes-note-menu button{width:100%;min-height:32px;padding:7px 9px;border:0;border-radius:7px;background:transparent;text-align:left;color:var(--fg-2);font-size:12px;font-weight:600;cursor:pointer}
.notes-note-menu button:hover{background:var(--bg);color:var(--fg-1)}
.notes-note-menu button.is-danger,.notes-delete-button{color:var(--danger)!important}
@media(max-width:620px){
  .notes-document-top{flex-direction:column;align-items:stretch}
  .notes-document-top>[data-notes-back]{align-self:flex-start}
  .notes-document-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
  .notes-document-actions .notes-save-state{grid-column:1/-1;width:100%;text-align:left}
  .notes-document-actions .btn{width:100%}
  .notes-overview-actions{padding-right:2px}
  .notes-note-menu{right:2px}
}


/* v1.75.3 – Notiz-Hub ausschließlich über eine Baumstruktur */
.notes-shell.is-tree-overview{grid-template-columns:minmax(0,1fr);min-height:0}
.notes-shell.is-tree-overview .notes-sidebar{border-right:0;max-height:none}
.notes-shell.is-tree-overview .notes-editor-pane{display:none}
.notes-tree-note-row,.notes-search-result-row{position:relative;display:flex;align-items:stretch;min-width:0}
.notes-tree-note-row .notes-tree-note,.notes-search-result-row .notes-search-result{flex:1;min-width:0}
.notes-tree-note-actions{position:relative;display:flex;align-items:center;flex:0 0 auto;padding:0 3px;opacity:.35}
.notes-tree-note-row:hover .notes-tree-note-actions,.notes-tree-note-row:focus-within .notes-tree-note-actions,.notes-search-result-row:hover .notes-tree-note-actions,.notes-search-result-row:focus-within .notes-tree-note-actions{opacity:1}
.notes-tree-note-menu-button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:7px;background:transparent;color:var(--fg-3);font-size:18px;line-height:1;cursor:pointer}
.notes-tree-note-menu-button:hover{background:var(--surface);color:var(--fg-1)}
.notes-tree-note-actions .notes-note-menu{right:0;top:31px}
@media(max-width:900px){.notes-shell.is-tree-overview .notes-sidebar{max-height:none}.notes-tree-note-actions{opacity:1}}

/* v1.75.4 – klar lesbare Notiz-Baumstruktur im TeamHub-Design */
.notes-shell.is-tree-overview .notes-sidebar{background:var(--bg)}
.notes-tree{display:flex;flex-direction:column;gap:8px;padding:12px 12px 22px}
.notes-folder{margin-left:0;min-width:0}
.notes-folder-row{display:grid;grid-template-columns:32px 28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:50px;padding:6px 8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 1px 2px rgba(15,45,54,.04);color:var(--fg-1);font-size:14px;font-weight:750}
.notes-folder-row:hover{background:var(--surface);border-color:color-mix(in srgb,var(--teal) 24%,var(--border));box-shadow:0 2px 7px rgba(15,45,54,.07)}
.notes-folder-toggle{display:flex!important;align-items:center;justify-content:center;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--bg)!important;color:var(--fg-3)!important;transition:background .15s ease,border-color .15s ease,color .15s ease}
.notes-folder-toggle:hover{background:var(--teal-100)!important;border-color:color-mix(in srgb,var(--teal) 35%,var(--border))!important;color:var(--teal-700)!important}
.notes-folder-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease}
.notes-folder-toggle.is-collapsed svg{transform:rotate(-90deg)}
.notes-folder-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--teal) 11%,white);color:var(--teal-700)}
.notes-folder-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.notes-folder-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notes-folder-row>div.notes-folder-actions{display:flex;align-items:center;gap:5px;opacity:1}
.notes-folder-actions>.notes-folder-icon-button{display:flex;align-items:center;justify-content:center;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--surface)!important;color:var(--fg-3)!important;font-size:17px;line-height:1}
.notes-folder-actions>.notes-folder-icon-button:hover{background:var(--teal-100)!important;border-color:color-mix(in srgb,var(--teal) 35%,var(--border))!important;color:var(--teal-700)!important}
.notes-folder-children{margin-left:16px;padding:7px 0 2px 20px;border-left:2px solid color-mix(in srgb,var(--teal) 16%,var(--border))}
.notes-folder-children>.notes-folder{margin-top:6px}
.notes-tree-note-row{margin:2px 0;border-radius:10px}
.notes-tree-note{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:7px 7px 7px 9px;border:1px solid transparent;background:transparent;border-radius:10px;color:var(--fg-2)}
.notes-tree-note:hover{background:var(--surface);border-color:var(--border)}
.notes-tree-note.is-active{background:color-mix(in srgb,var(--teal) 7%,white);border-color:color-mix(in srgb,var(--teal) 28%,var(--border));box-shadow:none;color:var(--fg-1)}
.notes-tree-note-icon{display:flex;align-items:center;justify-content:center;width:24px;height:28px;color:var(--fg-4)}
.notes-tree-note.is-active .notes-tree-note-icon{color:var(--teal-700)}
.notes-tree-note-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notes-tree-note-copy{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}
.notes-tree-note-copy strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;color:inherit}
.notes-tree-note-copy small{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-4);font-size:10px;font-weight:500}
.notes-tree-note-actions{opacity:.6;padding:0 3px 0 0}
.notes-tree-note-menu-button{width:30px;height:30px;border:1px solid transparent;background:transparent}
.notes-tree-note-menu-button:hover{border-color:var(--border);background:var(--surface);color:var(--fg-1)}
.notes-unfiled{margin-top:8px;padding-top:12px;border-top:1px solid var(--border)}
.notes-unfiled-title{display:flex;align-items:center;min-height:32px;padding:5px 9px;color:var(--fg-4);font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
.notes-unfiled .notes-tree-note{padding-left:9px}
@media(max-width:900px){
  .notes-tree{padding:10px 10px 20px}
  .notes-folder-row{grid-template-columns:34px 26px minmax(0,1fr) auto;gap:7px;min-height:52px;padding:7px}
  .notes-folder-toggle{width:32px!important;min-width:32px!important;height:32px!important}
  .notes-folder-actions>.notes-folder-icon-button{width:32px!important;min-width:32px!important;height:32px!important}
  .notes-folder-children{margin-left:16px;padding-left:14px}
  .notes-tree-note-actions{opacity:1}
}

/* v1.77.0 – Abwesenheiten für Mitarbeitende direkt eintragen */
.vacation-entry-user-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;margin-top:6px}
.vacation-entry-user-option{position:relative;cursor:pointer;min-width:0}
.vacation-entry-user-option>input{position:absolute;opacity:0;pointer-events:none}
.vacation-entry-user-option>span{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 10px;border:1px solid var(--border);border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s,background .15s}
.vacation-entry-user-option strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--fg-2)}
.vacation-entry-user-option small{margin-left:auto;font-size:10px;color:var(--fg-4)}
.vacation-entry-user-option>input:checked+span{border-color:var(--teal);background:var(--teal-100);box-shadow:0 0 0 1px color-mix(in srgb,var(--teal) 14%,transparent)}
.vacation-entry-user-option>input:focus-visible+span{outline:2px solid color-mix(in srgb,var(--teal) 35%,transparent);outline-offset:2px}
.vacation-created-by{display:block;margin-top:3px;font-size:10px;font-weight:500;color:var(--fg-4)}
@media(max-width:620px){.vacation-entry-user-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.vacation-entry-user-option>span{padding:8px}.vacation-entry-user-option strong{font-size:12px}}


/* v1.78.0 – Remember Login, Aufgaben-Sprachnachrichten, stabile Abwesenheitsdetails */
.login-remember-option{display:flex;align-items:flex-start;gap:10px;margin:-2px 0 16px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}
.login-remember-option input{margin-top:3px;accent-color:var(--teal)}.login-remember-option span{display:flex;flex-direction:column;gap:2px}.login-remember-option strong{font-size:13px;color:var(--fg-1)}.login-remember-option small{font-size:11px;line-height:1.4;color:var(--fg-4)}
.task-voice-recorder{margin:12px 0 2px;padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.task-voice-recorder-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.task-voice-recorder-head>div{display:flex;flex-direction:column;gap:2px}.task-voice-recorder-head strong{font-size:13px}.task-voice-recorder-head span:not(.task-voice-timer){font-size:12px;color:var(--fg-4)}.task-voice-timer{font:700 13px/1.3 var(--font-mono,monospace);padding:4px 8px;border-radius:999px;background:#fff;border:1px solid var(--border);white-space:nowrap}
.task-voice-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.task-voice-actions .btn{font-size:12px;padding:7px 10px}.task-voice-actions [data-task-voice-start] span{color:#c43d3d;font-size:16px;line-height:0}
.task-voice-recorder audio{width:100%;margin-top:10px;height:38px}.task-voice-save-row{margin-top:8px}.task-voice-status{margin-top:8px;font-size:11px;line-height:1.4;color:var(--fg-4)}
.task-audio-attachment{width:min(100%,520px);padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface,#fff)}.task-audio-head{display:flex;align-items:center;gap:8px;margin-bottom:7px}.task-audio-head strong{font-size:12px}.task-audio-head a{margin-left:auto;font-size:11px;color:var(--teal-700);text-decoration:none}.task-audio-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--teal) 12%,white);color:var(--teal-700);font-size:9px}.task-audio-attachment audio{width:100%;height:36px}.task-voice-transcript>strong{display:block;margin-bottom:5px;color:var(--fg-2)}.task-voice-transcript p{margin:0;white-space:pre-wrap}
.absence-focus-card{padding:17px 18px;border:1px solid color-mix(in srgb,var(--teal) 28%,var(--border));border-left:4px solid var(--teal);border-radius:14px;background:color-mix(in srgb,var(--teal) 4%,white);scroll-margin-top:16px}.absence-focus-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.absence-focus-head h2{margin:3px 0 0;font:700 18px/1.3 var(--font-display);color:var(--fg-1)}.absence-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:13px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--border)}.absence-focus-grid>div{padding:9px 11px;background:#fff}.absence-focus-grid span,.absence-focus-note>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--fg-4);font-weight:700}.absence-focus-grid strong{display:block;margin-top:3px;font-size:13px}.absence-focus-note{margin-top:10px;padding:10px 12px;border-radius:9px;background:#fff;border:1px solid var(--border)}.absence-focus-note p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--fg-2)}
@media(max-width:620px){.task-voice-recorder-head{align-items:center}.task-voice-actions{display:grid;grid-template-columns:1fr 1fr}.task-voice-actions .btn{width:100%;justify-content:center}.absence-focus-grid{grid-template-columns:1fr}.absence-focus-head{flex-direction:column}.appointment-detail-edit-actions{display:grid!important;grid-template-columns:1fr 1fr}.appointment-detail-edit-actions .btn{width:100%}}

/* v1.78.2 – einheitliche Audioaufnahme und kompakter Player */
.teamhub-audio-recorder{--audio-meter-active:var(--teal);--audio-meter-idle:#dbe6e9;position:relative}
.teamhub-audio-mic{display:flex;align-items:center;gap:7px;margin-top:9px;color:var(--fg-4);font-size:11px;min-width:0}.teamhub-audio-mic svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto}.teamhub-audio-mic strong{color:var(--fg-2);font-weight:700;overflow-wrap:anywhere}.teamhub-audio-device{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:11px;color:var(--fg-4)}.teamhub-audio-device>span{white-space:nowrap}.teamhub-audio-device .form-control{min-height:34px;height:34px;padding:5px 30px 5px 9px;font-size:11px}
.teamhub-audio-visual{position:relative;height:54px;margin-top:10px;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:repeating-linear-gradient(90deg,#f4f8f9 0 3px,transparent 3px 9px),#fff}.teamhub-audio-visual canvas{display:block;width:100%;height:100%}.teamhub-audio-live{position:absolute;right:8px;top:7px;display:flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 1px 4px rgba(16,47,57,.08);font-size:9px;font-weight:800;color:var(--fg-3);opacity:0;pointer-events:none;transition:opacity .16s}.teamhub-audio-live i{width:6px;height:6px;border-radius:50%;background:#d84545}.teamhub-audio-recorder[data-audio-state="recording"] .teamhub-audio-live,#infoTripRecorderModal[data-audio-state="recording"] .teamhub-audio-live{opacity:1}.teamhub-audio-recorder[data-audio-state="recording"] .teamhub-audio-live i,#infoTripRecorderModal[data-audio-state="recording"] .teamhub-audio-live i{animation:teamhubAudioPulse 1.1s infinite}@keyframes teamhubAudioPulse{0%,100%{box-shadow:0 0 0 0 rgba(216,69,69,.35)}50%{box-shadow:0 0 0 5px rgba(216,69,69,0)}}
.teamhub-audio-actions{display:flex!important;align-items:center;justify-content:center;gap:8px!important;margin-top:10px!important;grid-template-columns:none!important}.audio-icon-button{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--fg-2);cursor:pointer;transition:border-color .15s,background .15s,color .15s,transform .15s}.audio-icon-button:hover{border-color:color-mix(in srgb,var(--teal) 45%,var(--border));background:color-mix(in srgb,var(--teal) 6%,white);color:var(--teal-700)}.audio-icon-button:active{transform:scale(.96)}.audio-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.audio-icon-button.is-record{color:#d84545;border-color:color-mix(in srgb,#d84545 28%,var(--border));background:color-mix(in srgb,#d84545 5%,white)}.audio-icon-button.is-danger{color:#a43e3e}.audio-icon-button[hidden]{display:none!important}.audio-icon-resume{display:none}.audio-icon-button[data-mode="resume"] .audio-icon-pause{display:none}.audio-icon-button[data-mode="resume"] .audio-icon-resume{display:block}
.teamhub-audio-player{display:flex;align-items:center;gap:10px;margin-top:10px;padding:9px 10px;border:1px solid var(--border);border-radius:11px;background:#fff;min-width:0}.teamhub-audio-player[hidden]{display:none!important}.teamhub-audio-player audio{display:none}.teamhub-audio-play{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:color-mix(in srgb,var(--teal) 12%,white);color:var(--teal-700);cursor:pointer;flex:0 0 auto}.teamhub-audio-play svg{width:16px;height:16px}.audio-player-icon-pause{display:none}.teamhub-audio-player.is-playing .audio-player-icon-play{display:none}.teamhub-audio-player.is-playing .audio-player-icon-pause{display:block}.teamhub-audio-track{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.teamhub-audio-track input[type="range"]{width:100%;height:4px;margin:0;accent-color:var(--teal);cursor:pointer}.teamhub-audio-track>div{display:flex;justify-content:space-between;gap:8px;color:var(--fg-4);font:600 9px/1.2 var(--font-mono,monospace)}
.task-voice-save-row{display:flex;justify-content:flex-end}.task-voice-save-row[hidden]{display:none!important}.task-audio-attachment{width:min(100%,520px);padding:10px 11px}.task-audio-head{margin-bottom:0}.task-audio-head a{display:grid;place-items:center;width:28px;height:28px;margin-left:auto;border-radius:8px;color:var(--teal-700);background:var(--bg)}.task-audio-head a svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}.task-audio-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.task-audio-attachment .teamhub-audio-player{margin-top:7px;padding:7px 8px;background:var(--bg)}
.task-voice-transcript{margin-top:7px}.task-voice-transcript>strong[hidden]{display:none}.audio-transcript-toggle,.info-trip-transcript-toggle>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--fg-3);font:700 11px/1.2 var(--font-ui);cursor:pointer;text-align:left}.audio-transcript-toggle svg,.info-trip-transcript-toggle>summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}.audio-transcript-toggle[aria-expanded="true"] svg,.info-trip-transcript-toggle[open]>summary svg{transform:rotate(180deg)}.audio-transcript-body{padding:9px 10px 3px;font-size:12px;line-height:1.55;color:var(--fg-2)}.audio-transcript-body p{margin:0;white-space:pre-wrap}
.info-trip-recorder-card{width:min(540px,calc(100vw - 28px))}.info-trip-recorder .teamhub-audio-visual{margin-top:2px}.info-trip-record-actions{display:flex!important;grid-template-columns:none!important;justify-content:center}.info-trip-recorder-final-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.info-trip-recorder-final-actions>span{flex:1}.info-trip-audio-player{margin:0 0 7px;background:var(--bg)}.info-trip-transcript-toggle{margin-top:6px}.info-trip-transcript-toggle>summary{list-style:none}.info-trip-transcript-toggle>summary::-webkit-details-marker{display:none}.info-trip-transcript-toggle .info-trip-transcript{margin:0;padding:9px 9px 2px;background:transparent;max-height:180px;overflow:auto}.info-trip-transcript-toggle .info-trip-transcript.is-inline{padding:9px 9px 2px}.info-trip-audio-list .info-trip-media-card.is-audio{background:#fafcfc}
@media(max-width:620px){.teamhub-audio-device{align-items:stretch;flex-direction:column;gap:4px}.teamhub-audio-actions{display:flex!important;grid-template-columns:none!important}.audio-icon-button{width:42px;height:42px}.teamhub-audio-visual{height:58px}.teamhub-audio-player{gap:8px}.info-trip-recorder-final-actions{display:flex}.task-voice-recorder-head{align-items:flex-start}.task-voice-save-row .btn{width:auto}}

/* v1.78.3 – Audio-Player, Aufgabenbeschreibung und Vorschau-Transkript */
.teamhub-audio-speed{display:grid;place-items:center;min-width:38px;height:30px;padding:0 8px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--fg-3);font:800 10px/1 var(--font-ui);cursor:pointer;flex:0 0 auto;transition:border-color .15s,background .15s,color .15s}.teamhub-audio-speed:hover{border-color:color-mix(in srgb,var(--teal) 42%,var(--border));background:color-mix(in srgb,var(--teal) 6%,white);color:var(--teal-700)}
.task-primary-audio-list{display:flex;flex-direction:column;gap:8px;margin:7px 0 12px}.task-primary-audio{width:100%;max-width:560px;background:color-mix(in srgb,var(--teal) 3%,white)}
.task-create-voice-transcript{margin-top:10px;border-radius:10px}.task-create-voice-transcript .audio-transcript-toggle{background:color-mix(in srgb,var(--teal) 4%,white);border-color:color-mix(in srgb,var(--teal) 24%,var(--border))}.task-create-voice-transcript .audio-transcript-body{padding-bottom:8px}
@media(max-width:620px){.teamhub-audio-speed{min-width:35px;height:29px;padding:0 7px}.teamhub-audio-player{align-items:center}.task-primary-audio{max-width:none}}

/* v1.80.0 – persönliche Notizen manuell sortieren/verschieben */
.notes-tree-note-row{transition:background .12s ease,border-color .12s ease,transform .12s ease}
.notes-tree-drag-handle{display:flex;align-items:center;justify-content:center;align-self:center;width:30px;height:34px;min-width:30px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--fg-4);cursor:grab;touch-action:none}
.notes-tree-drag-handle:hover,.notes-tree-drag-handle:focus-visible{background:var(--surface);border-color:var(--border);color:var(--fg-2);outline:0}
.notes-tree-drag-handle:active{cursor:grabbing}
.notes-tree-drag-handle svg{width:18px;height:18px;fill:currentColor}
.notes-tree-note-row.is-dragging{opacity:.4}
.notes-tree-note-row.is-drop-before::before,.notes-tree-note-row.is-drop-after::after{content:"";position:absolute;left:2px;right:2px;height:3px;border-radius:99px;background:var(--teal);z-index:4}
.notes-tree-note-row.is-drop-before::before{top:-2px}.notes-tree-note-row.is-drop-after::after{bottom:-2px}
.notes-folder-row.is-drop-target,.notes-unfiled.is-drop-target,.notes-folder-children.is-drop-target{outline:2px solid color-mix(in srgb,var(--teal) 55%,transparent);outline-offset:2px;background:color-mix(in srgb,var(--teal) 6%,var(--surface))}
.notes-drag-ghost{position:fixed;z-index:5000;pointer-events:none;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;padding:4px;border:1px solid color-mix(in srgb,var(--teal) 40%,var(--border));border-radius:10px;background:var(--surface);box-shadow:var(--shadow-lg);opacity:.96;transform:translateY(-50%)}
.notes-drag-ghost .notes-note-menu{display:none!important}.notes-drag-ghost .notes-tree-note-actions{display:none}.notes-drag-ghost .notes-tree-note{border:0;background:transparent}.notes-drag-ghost .notes-tree-drag-handle{cursor:grabbing}
@media(max-width:900px){.notes-tree-drag-handle{width:34px;height:38px;min-width:34px;color:var(--fg-3)}.notes-tree-note-row{gap:1px}}

/* v1.80.0 – PDF-Vorschau im Team-Wissen explizit öffnen */
.knowledge-pdf-preview[hidden]{display:none!important}
.knowledge-pdf-preview{margin-top:12px;border-top:1px solid var(--border);padding-top:12px}
.knowledge-pdf-preview iframe{display:block;width:100%;min-height:520px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}
@media(max-width:700px){.knowledge-pdf-card-head{align-items:flex-start;gap:10px}.knowledge-pdf-card-head>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.knowledge-pdf-preview iframe{min-height:65vh}}

/* v1.80.0 – Notiz-Sicherheitsnetz: Papierkorb und Wiederherstellung */
.notes-trash-button{display:inline-flex;align-items:center;gap:6px}
.notes-trash-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--surface);border:1px solid var(--border);font-size:11px;font-weight:800;color:var(--fg-2)}
.notes-trash-button.has-items .notes-trash-count{background:color-mix(in srgb,var(--teal) 10%,white);border-color:color-mix(in srgb,var(--teal) 28%,var(--border));color:var(--teal-700)}
.notes-trash-card{width:min(620px,calc(100vw - 28px));max-height:min(88vh,760px);overflow:auto}
.notes-trash-list{display:flex;flex-direction:column;gap:8px;margin:6px 0 14px}
.notes-trash-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid var(--border);border-radius:11px;background:var(--bg)}
.notes-trash-item>div{display:flex;flex-direction:column;gap:3px;min-width:0}.notes-trash-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-trash-item span{font-size:11px;color:var(--fg-4)}
.notes-trash-actions{border-top:1px solid var(--border);padding-top:14px}
@media(max-width:620px){.notes-trash-item{align-items:flex-start;flex-direction:column}.notes-trash-item .btn{width:100%}.notes-header-actions .notes-trash-button{order:3}}
