.profile-trigger{border:1px solid transparent;text-align:left;padding:5px 7px!important;border-radius:8px;color:var(--text)}.profile-trigger:hover,.profile-trigger:focus-visible{background:var(--panel);border-color:var(--line)}.identity-name{white-space:normal}.profile-summary dl{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:8px 18px}.profile-summary dt{color:var(--muted)}.profile-summary dd{margin:0;overflow-wrap:anywhere}.profile-password{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.profile-password label{margin:12px 0}.profile-password input{max-width:100%}.profile-password p{font-size:12px}.profile-summary h3{font-size:19px}@media(max-width:700px){.sidebar .sidebar-bottom .profile-trigger{display:flex;gap:5px;font-size:11px;max-width:135px}.profile-trigger .identity-name{max-width:90px;overflow:hidden;text-overflow:ellipsis}.profile-trigger .avatar{display:none}.sidebar .sidebar-bottom{gap:5px}.profile-summary dl{grid-template-columns:1fr;gap:3px}.profile-summary dd{margin-bottom:8px}.app-shell:not(.screen)>.sidebar{grid-template-columns:125px minmax(30px,1fr) auto}}
:root[data-theme=light]{color-scheme:light;--bg:#f2f6fa;--panel:#fff;--line:#c9d5df;--text:#162c3e;--muted:#4f6679;--cyan:#006c8e;--yellow:#f5c531}
html[data-theme=light] body{background:var(--bg);color:var(--text)}html[data-theme=light] button:not(.primary):not(.slot):not(.mobile-appointment):not(.unplanned-card):not(.stat){background:#e7eff6;color:var(--text)}html[data-theme=light] button.subtle{background:transparent}html[data-theme=light] button:hover:not(.primary):not(.slot):not(.mobile-appointment){background:#d6e5f0}html[data-theme=light] button.danger{background:#fbe0e4!important;color:#8b152b!important;border-color:#b64c5e}html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#fff;color:var(--text);border-color:#9eb4c5}html[data-theme=light] label{color:#29475e}html[data-theme=light] .sidebar,html[data-theme=light] .auth-card,html[data-theme=light] dialog{background:#fff;color:var(--text);border-color:var(--line)}html[data-theme=light] .auth{background:radial-gradient(ellipse at 70% 0,#d7eaf5,transparent 60%)}html[data-theme=light] .dialog-footer{background:#eef4f8}html[data-theme=light] .nav button.active{background:#d7e9f4;border-color:#7dabc6}html[data-theme=light] th,html[data-theme=light] .cal-head,html[data-theme=light] .month-corner,html[data-theme=light] .month-timeline .month-day{background:#dfebf3;color:#203d52}html[data-theme=light] .person,html[data-theme=light] .month-person-label{background:#e8f0f6}html[data-theme=light] .calendar-wrap,html[data-theme=light] .cell,html[data-theme=light] .month-person-day,html[data-theme=light] .month-calendar-wrap{background:#f7fafc}html[data-theme=light] .cell.today{background:#fff8d8;border-color:#c6a022}html[data-theme=light] .cal-head.today,html[data-theme=light] .mobile-days button.is-today{background:var(--yellow)!important;color:#152330!important}html[data-theme=light] .month-week-group{background:#c8deec!important;color:#18394e!important}html[data-theme=light] .month-week-group:hover{background:#bad6e7!important}html[data-theme=light] .slot,html[data-theme=light] .mobile-appointment,html[data-theme=light] .unplanned-card{color:#fff}html[data-theme=light] .slot small,html[data-theme=light] .slot span,html[data-theme=light] .slot strong{color:inherit}html[data-theme=light] .mobile-appointment{background:#e9f2f7;color:var(--text)}html[data-theme=light] .unplanned-card.pending{background:#e8eff5;color:var(--text)}html[data-theme=light] .error{background:#fde9ed;color:#8e2036;border-color:#dca3af}html[data-theme=light] .pill.demo{background:#fff1cb;color:#6b4b09;border-color:#bd9c42}html[data-theme=light] .footnote{color:var(--muted)}html[data-theme=light] .task-picker-results,html[data-theme=light] .task-search-results{background:#fff;color:var(--text)}html[data-theme=light] .metro-warning,html[data-theme=light] .holiday-warning{background:#fff1cd;color:#624709;border-color:#b99b46}html[data-theme=light] .metro-import-changed>td,html[data-theme=light] .metro-import-differences{background:#fff0c8;color:#63480b}html[data-theme=light] .metro-import-matched>td:last-child{color:#17643b}html[data-theme=light] .metro-history-changed{background:#fff0c8}html[data-theme=light] .status{background:#d9f0e3;color:#175431}html[data-theme=light] .status.inactive{background:#f9dfe5;color:#8b233d}html[data-theme=light] .stat-active{background:#d9edf8}html[data-theme=light] .calendar-subscription-notice{background:#fff1cf;color:#634c16}html[data-theme=light] .calendar-subscription-guide{color:var(--text)}html[data-theme=light] .month-unavailable,html[data-theme=light] .unavailable-cell{background:repeating-linear-gradient(135deg,#ecf0f3,#ecf0f3 5px,#e0e7ec 5px,#e0e7ec 10px)}
html[data-theme=light] #content>.stats.calendar-status-pinned{background:var(--bg);box-shadow:0 8px 12px #a0b3c333}html[data-theme=light] .personal-absence-heading{color:#274f67}html[data-theme=light] .app-shell:not(.screen)>.sidebar{background:#fffffffa}html[data-theme=light] .change .old{color:#657889}html[data-theme=light] .display-page,html[data-theme=light] .task-results,html[data-theme=light] .task-option{background:#fff;color:var(--text)}
html[data-theme=light] .quick-task-panel,html[data-theme=light] .display-page-link,html[data-theme=light] .display-save,html[data-theme=light] .display-page-header,html[data-theme=light] .unplanned-pool,html[data-theme=light] .unplanned-item{background:#edf4f8;color:var(--text)}html[data-theme=light] .task-picker-heading label{color:var(--text)}html[data-theme=light] .task-picker-selection.has-selection{color:#18613c}html[data-theme=light] .task-picker-results small{color:#426b81}html[data-theme=light] .button-link{background:#e4eff6;color:var(--text)}html[data-theme=light] .button-link.primary{background:var(--yellow)}html[data-theme=light] .fill-day{background:#e2f2f8;color:#1a5872}html[data-theme=light] .fill-day-selected{background:#fff0b8;color:#59451c}html[data-theme=light] .filter-summary{color:#755707}html[data-theme=light] .unavailable-cell{background:repeating-linear-gradient(135deg,#ecf0f3,#ecf0f3 5px,#e0e7ec 5px,#e0e7ec 10px)!important}html[data-theme=light] .unavailable-label{color:#546b7b}html[data-theme=light] .legacy-status-note{background:#fff2d2;color:#62480f}

.profile-trigger .identity-name{max-width:140px;overflow:hidden;text-overflow:ellipsis}.profile-trigger .identity-name strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger .identity-name br{display:none}
html[data-theme=light] .tv-stage,html[data-theme=light] .display-board{background:var(--bg);color:var(--text)}html[data-theme=light] .board-stat{background:#fff;border-color:var(--line)}html[data-theme=light] .board-grid .cal-head{background:#dceaf4;color:var(--text)}html[data-theme=light] .board-grid .person,html[data-theme=light] .board-grid .person-placeholder,html[data-theme=light] .board-grid .cell{background:#e3edf4;color:var(--text)}html[data-theme=light] .board-meta,html[data-theme=light] .board-clock small,html[data-theme=light] .board-footer>strong,html[data-theme=light] .board-footer .legend,html[data-theme=light] .board-page-position{color:var(--muted)}html[data-theme=light] .board-stat:nth-child(n+3) strong{color:#8a6200}

/* Use the same menu breakpoint in both languages. Longer English labels can wrap. */
@media(min-width:1151px){html[lang=en] .sidebar .nav{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;min-width:0}html[lang=en] .sidebar .nav button{padding:7px 6px;font-size:12px;gap:5px}html[lang=en] .sidebar .nav-icon{font-size:13px;width:14px}}
@media(min-width:1151px){.sidebar .nav{flex-wrap:wrap}}

.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sidebar .sidebar-bottom .profile-trigger{display:flex}
