/* Creditrepare workspace. Filament owns navigation, authorization, forms and dialogs. */
:root {
    --dp-bg:#fff; --dp-surface:#fff; --dp-raised:#f6f8fc; --dp-line:#e5eaf2;
    --dp-text:#182844; --dp-muted:#62718a; --dp-accent:#2563eb; --dp-glow:#edf4ff;
    --dp-font:'Avenir Next','Segoe UI',sans-serif;
}
.fi-body { background:var(--dp-bg); color:var(--dp-text); font-family:var(--dp-font); -webkit-font-smoothing:antialiased; }
.fi-topbar { background:#fff; border-bottom:1px solid var(--dp-line); box-shadow:0 2px 12px #172d4d04; padding-inline:24px; }
.fi-topbar-end { flex:1; justify-content:flex-end; }
.fi-sidebar { background:#fff; border-right:1px solid var(--dp-line); }
.fi-sidebar-nav { padding:22px 14px; scrollbar-width:thin; }
.fi-sidebar-nav-groups { gap:14px; }
.fi-sidebar-group-btn { padding-block:6px; }
.fi-topbar-start { display:flex; }
.fi-topbar-start > a { min-width:218px; }
.fi-sidebar-group-label { color:#77839a; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1.2px; }
.fi-sidebar-group-items { gap:3px; }
.fi-sidebar-item-btn { border-radius:8px; min-height:40px; padding:9px 12px; gap:10px; transition:background .15s,color .15s; }
.fi-sidebar-item-label { font-size:13px; font-weight:500; }
.fi-sidebar-item-btn > .fi-icon { width:19px; height:19px; color:#8492a8; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background:var(--dp-glow); box-shadow:inset 3px 0 var(--dp-accent); }
.fi-sidebar-item.fi-active :is(.fi-sidebar-item-label,.fi-icon) { color:#215bc5; font-weight:700; }
.dp-brand { display:flex; align-items:center; gap:10px; color:#172b4d; font-size:18px; font-weight:750; letter-spacing:-.6px; line-height:1.15; }
.dp-brand small { display:block; color:#7b8a9d; letter-spacing:2.2px; font-size:8px; font-weight:600; margin-top:5px; }
.dp-brand-mark { width:36px; height:36px; display:grid; place-items:center; background:var(--dp-accent); color:white; border-radius:10px; box-shadow:0 3px 7px #2563eb1a; flex:none; }
.dp-brand-mark svg { width:28px; height:28px; }
.fi-main { max-width:1680px !important; }
.fi-page-content { gap:22px; }
.fi-header-heading, .fi-section-header-heading, .dp-heading { font-family:var(--dp-font); color:var(--dp-text); letter-spacing:-.5px; }
.fi-header-heading { font-size:28px; font-weight:700; }
.fi-header-subheading { font-size:13px; color:var(--dp-muted); }
.fi-section-header-heading { font-size:16px; font-weight:700; letter-spacing:-.25px; }
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat { background:var(--dp-surface); border:1px solid var(--dp-line); box-shadow:0 2px 5px #23395904; --tw-ring-color:transparent; border-radius:12px; }
.fi-section-header { padding-block:18px; }
.fi-ta-header, .fi-ta-header-toolbar { background:var(--dp-surface); }
.fi-ta-content-header, .fi-ta-table thead { background:#f7f9fc; }
.fi-ta-header-cell { color:#65738a; font-size:11px; }
.fi-ta-cell { padding-block:5px; }
.fi-ta-row:hover { background:#f7faff; }
.fi-ta-text-item { font-size:13px; }
.fi-badge { border-radius:6px; font-size:11px; font-weight:600; }
.fi-sc-tabs:not(.fi-contained) > .fi-tabs:not(.fi-vertical) { margin-inline:0; border:0; border-bottom:1px solid var(--dp-line); border-radius:0; box-shadow:none; background:transparent; padding:0; gap:10px; --tw-ring-color:transparent; }
.fi-sc-tabs:not(.fi-contained) > .fi-tabs:not(.fi-vertical) .fi-tabs-item { border-radius:0; min-height:44px; padding-inline:16px; border-bottom:2px solid transparent; font-size:12px; }
.fi-sc-tabs:not(.fi-contained) > .fi-tabs:not(.fi-vertical) .fi-tabs-item.fi-active { background:transparent; border-bottom-color:var(--dp-accent); }
.fi-tabs-item:focus-visible { outline:2px solid var(--dp-accent); outline-offset:-2px; }
.fi-btn { border-radius:8px; font-weight:650; box-shadow:none; }
.fi-input-wrp { border-radius:8px; }
.fi-wi-stats-overview-stat { position:relative; overflow:hidden; min-height:148px; border-radius:12px; padding:19px 22px; }
.fi-wi-stats-overview-stat-content { position:relative; z-index:1; }
.fi-wi-stats-overview .fi-section { border:0; box-shadow:none; background:transparent; }
.fi-wi-stats-overview-stat-label-ctn { justify-content:space-between; flex-direction:row-reverse; gap:10px; }
.fi-wi-stats-overview-stat-label-ctn > .fi-icon { color:var(--dp-accent); background:var(--dp-glow); border-radius:8px; padding:7px; width:34px; height:34px; flex:none; }
.fi-wi-stats-overview-stat-label { color:#63718a; font-size:12px; font-weight:600; text-transform:none; letter-spacing:0; }
.fi-wi-stats-overview-stat-value { font-family:var(--dp-font); font-size:31px; font-weight:700; letter-spacing:-1.2px; font-variant-numeric:tabular-nums; color:#192e4d; margin:2px 0 6px; }
.fi-wi-stats-overview-stat-description { font-size:11px; }
.fi-wi-stats-overview-stat-chart { opacity:.45; }
.dp-welcome { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:10px 0 25px; }
.dp-welcome h1 { font-family:var(--dp-font); font-size:clamp(25px,2.5vw,34px); font-weight:700; line-height:1.25; color:#182d4d; margin:10px 0 9px; letter-spacing:-1.1px; }
.dp-welcome p:not(.dp-eyebrow), .dp-muted { color:var(--dp-muted); font-size:13px; line-height:1.65; }
.dp-eyebrow { display:flex; align-items:center; gap:8px; font:700 10px/1.5 var(--dp-font); text-transform:uppercase; letter-spacing:1.6px; color:var(--dp-accent); }
.dp-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.dp-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; background:var(--dp-accent); color:white; border:1px solid var(--dp-accent); border-radius:8px; padding:10px 15px; font-size:12px; font-weight:650; cursor:pointer; text-decoration:none; transition:background .15s,box-shadow .15s; }
.dp-button-secondary { color:var(--dp-text); background:var(--dp-surface); border-color:#dce3ed; }
.dp-button:hover { box-shadow:0 3px 9px #2563eb18; background:#1f56cb; color:white; }
.dp-button-secondary:hover { background:#f5f8fd; color:var(--dp-text); border-color:#b5c7e6; }
.dp-button:disabled { opacity:.5; cursor:wait; }
.dp-button:focus-visible, .dp-tab:focus-visible, .dp-day:focus-visible, .cr-shortcuts a:focus-visible, .cr-task:focus-visible, .cr-workflow a:focus-visible, .cr-text-link:focus-visible { outline:2px solid var(--dp-accent); outline-offset:3px; }
.fi-page :is(button,a,input,select,textarea,[tabindex]):focus-visible { outline:3px solid #1d4ed8; outline-offset:3px; }
.fi-sidebar-item-btn, .dp-button, .dp-field :is(input,select,textarea), .dp-input, .cv-switch button { min-height:44px; }
.dp-panel { background:var(--dp-surface); border:1px solid var(--dp-line); border-radius:12px; padding:24px; min-width:0; box-shadow:0 2px 5px #23395904; }
.dp-panel-head { display:flex; gap:16px; align-items:center; justify-content:space-between; margin-bottom:20px; }
.dp-heading { font-size:21px; font-weight:700; line-height:1.3; }
.cr-icon { width:18px; height:18px; flex:none; }
.cr-search { display:flex; align-items:center; gap:10px; width:min(360px,34vw); margin-left:24px; padding:0 8px 0 14px; height:38px; color:#7b8ba4; background:#f6f8fc; border:1px solid #eaf0f7; border-radius:8px; }
.cr-search input { border:0; outline:none; background:transparent; min-width:0; width:100%; box-shadow:none; font-size:12px; color:var(--dp-text); }
.cr-search input::placeholder { color:#718099; }
.cr-search:focus-within { border-color:var(--dp-accent); outline:2px solid #dbeafe; }
.cr-search button { display:grid; place-items:center; width:30px; height:30px; border-radius:5px; cursor:pointer; }
.cr-search button:hover { color:var(--dp-accent); background:#e5edfc; }
.cr-indicator { width:6px; height:6px; border-radius:50%; background:var(--dp-accent); box-shadow:0 0 0 4px #eaf1ff; }
.cr-welcome-actions { display:grid; justify-items:end; gap:14px; flex:none; }
.cr-date { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--dp-muted); }
.cr-shortcuts { display:grid; grid-template-columns:repeat(auto-fit,minmax(205px,1fr)); border:1px solid var(--dp-line); border-radius:12px; background:#fff; overflow:hidden; }
.cr-shortcuts a { display:flex; align-items:center; gap:13px; min-height:88px; padding:18px 22px; border-right:1px solid var(--dp-line); transition:background .15s; min-width:0; }
.cr-shortcuts a:last-child { border-right:0; }
.cr-shortcuts a:hover { background:#f7faff; }
.cr-shortcut-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:11px; color:#2563eb; background:#edf4ff; flex:none; }
.cr-shortcut-icon svg { width:21px; height:21px; }
.cr-shortcut-icon.cr-teal { background:#eaf8f4; color:#14866b; }
.cr-shortcut-icon.cr-orange { background:#fff3e9; color:#bd6829; }
.cr-shortcut-icon.cr-slate { background:#eef2f8; color:#5f7194; }
.cr-shortcuts strong { display:block; font-size:13px; font-weight:700; color:var(--dp-text); }
.cr-shortcuts small { display:block; font-size:11px; color:var(--dp-muted); margin-top:4px; }
.cr-shortcut-arrow { color:#8292ac; margin-left:auto; font-size:18px; }
.cr-operations { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr); gap:22px; }
.cr-work-queue { min-width:0; border:1px solid var(--dp-line); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; }
.cr-section-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 24px; border-bottom:1px solid var(--dp-line); }
.cr-section-header h2 { font-size:17px; font-weight:700; letter-spacing:-.4px; }
.cr-section-header p { color:var(--dp-muted); font-size:11px; margin-top:6px; }
.cr-text-link { flex:none; display:inline-flex; gap:8px; align-items:center; color:#2563eb; font-size:12px; font-weight:650; }
.cr-task { display:flex; align-items:center; gap:14px; padding:22px 24px; border-bottom:1px solid #eef2f6; }
.cr-task:hover { background:#f8faff; }
.cr-task-avatar { display:grid; place-items:center; width:40px; height:40px; border:1px solid #dde8fc; border-radius:50%; background:#f0f5ff; color:#4e6c9c; font-size:12px; font-weight:700; flex:none; }
.cr-task-info { display:grid; gap:5px; min-width:0; flex:1; }
.cr-task-info strong { font-size:13px; font-weight:650; }
.cr-task-info > span { font-size:12px; color:var(--dp-muted); overflow-wrap:anywhere; }
.cr-task-date { display:grid; justify-items:end; gap:6px; flex:none; }
.cr-task-date time { color:var(--dp-muted); font-size:10px; }
.cr-task > .cr-icon { color:#96a2b4; width:15px; }
.cr-status-pill { display:inline-block; padding:4px 8px; border-radius:5px; background:#edf4ff; color:#2458ad; font-size:10px; font-weight:650; }
.cr-status-pill.is-overdue { background:#fff2ec; color:#ad4e21; }
.cr-queue-footer { margin-top:auto; padding:14px 24px; display:flex; gap:7px; align-items:center; font-size:10px; color:var(--dp-muted); background:#fafbfd; }
.cr-queue-footer .cr-icon { width:13px; height:13px; }
.cr-queue-empty { min-height:185px; padding:28px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; text-align:center; }
.cr-queue-empty strong { font-size:13px; }
.cr-queue-empty p { font-size:12px; color:var(--dp-muted); max-width:350px; }
.cr-workflow { background:#f5f8fe; border:1px solid #e1eaf8; border-radius:12px; padding:24px; }
.cr-workflow h2 { font-size:20px; line-height:1.3; font-weight:700; letter-spacing:-.5px; margin-top:10px; }
.cr-workflow > p { font-size:12px; color:var(--dp-muted); margin:6px 0 15px; }
.cr-workflow a { display:flex; gap:12px; align-items:center; padding:13px 0; border-top:1px solid #e1e8f5; color:#304c78; }
.cr-workflow a > span:nth-child(2) { flex:1; }
.cr-workflow a strong { font-size:12px; font-weight:650; display:block; }
.cr-workflow a small { color:var(--dp-muted); font-size:10px; display:block; margin-top:3px; }
.cr-workflow a:hover strong { color:var(--dp-accent); }
@media(min-width:1024px) { .fi-main { padding-inline:32px; } }
@media(max-width:1250px) { .cr-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); } .cr-shortcuts a:nth-child(2) { border-right:0; } .cr-shortcuts a:nth-child(n+3) { border-top:1px solid var(--dp-line); } .cr-operations { grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr); } }
@media(max-width:900px) { .cr-operations { grid-template-columns:1fr; } .cr-search { margin-left:8px; width:min(340px,44vw); } }
@media(max-width:640px) { .fi-topbar-start { margin-inline:12px 0; } .fi-topbar-start > a { min-width:0; } .cr-search { display:none; } .cr-welcome-actions { justify-items:start; } .cr-date { font-size:11px; } .cr-shortcuts a { padding:15px 12px; gap:9px; min-height:85px; } .cr-shortcut-icon { width:34px; height:34px; border-radius:9px; } .cr-shortcuts strong { font-size:12px; } .cr-shortcuts small { font-size:10px; } .cr-shortcut-arrow { display:none; } .cr-section-header { padding:18px; align-items:flex-start; flex-wrap:wrap; gap:12px; } .cr-task { padding:18px; gap:10px; flex-wrap:wrap; } .cr-task-info { flex-basis:calc(100% - 54px); } .cr-task-date { margin-left:50px; display:flex; align-items:center; } .cr-task > .cr-icon { margin-left:auto; } .cr-workflow { padding:20px; } .cr-queue-footer { padding:12px 18px; } .fi-header-heading { font-size:25px; } }
@media(prefers-reduced-motion:no-preference) { .cr-dashboard-intro { animation:cr-arrive .35s ease-out; } @keyframes cr-arrive { from { opacity:.35; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } } }
.dp-team { display:grid; grid-template-columns:285px minmax(0,1fr); gap:20px; }
.dp-tabs { display:flex; gap:8px; margin-bottom:24px; border-bottom:1px solid var(--dp-line); }
.dp-tab { padding:12px 18px; color:var(--dp-muted); border-bottom:2px solid transparent; cursor:pointer; }
.dp-tab.is-active { color:var(--dp-accent); border-color:var(--dp-accent); }
.dp-input, .dp-field input, .dp-field select, .dp-field textarea { display:block; width:100%; background:var(--dp-bg); color:var(--dp-text); border:1px solid var(--dp-line); border-radius:8px; padding:10px 12px; font:inherit; font-size:13px; }
.dp-input:focus, .dp-field :is(input,select,textarea):focus { outline:2px solid var(--dp-accent); outline-offset:2px; }
.dp-field { display:block; font-size:13px; color:var(--dp-muted); }
.dp-field > span { display:block; margin-bottom:7px; }
.dp-field textarea { min-height:95px; resize:vertical; }
.dp-member { display:flex; align-items:center; gap:12px; padding:15px 0; border-bottom:1px solid var(--dp-line); }
.dp-avatar { width:40px; height:40px; display:grid; place-items:center; flex:none; border-radius:12px; background:var(--dp-glow); color:var(--dp-accent); font-size:14px; font-weight:700; border:1px solid var(--dp-line); }
.dp-member-name { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.dp-status { display:flex; align-items:center; gap:7px; color:var(--dp-muted); font-size:11px; margin-top:4px; }
.dp-status::before { content:''; width:7px; height:7px; background:#858078; border-radius:100%; flex:none; }
.dp-status.available::before { background:#62bc97; }
.dp-status.away::before { background:#d5ab45; }
.dp-status.busy::before { background:#db7878; }
.dp-desks { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; padding:24px; background:radial-gradient(ellipse at top,#5f806a18,transparent 80%),var(--dp-bg); border:1px solid var(--dp-line); border-radius:10px; min-height:300px; align-content:start; }
.dp-desk { border:1px solid var(--dp-line); background:var(--dp-surface); border-radius:12px; padding:24px; display:flex; align-items:center; gap:16px; border-bottom:4px solid var(--dp-line); }
.dp-desk:has(.available) { border-bottom-color:#62bc97; }
.dp-desk:has(.busy) { border-bottom-color:#db7878; }
.dp-note { margin-top:18px; font-size:12px; color:var(--dp-muted); line-height:1.6; }
.dp-messages { max-height:440px; overflow-y:auto; display:flex; flex-direction:column; gap:16px; margin:20px 0; }
.dp-message { background:var(--dp-bg); border:1px solid var(--dp-line); border-radius:10px; padding:14px 18px; }
.dp-message header { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:var(--dp-muted); }
.dp-message p { margin-top:8px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; line-height:1.6; }
.dp-error { color:#b42318; font-size:13px; }
.dp-empty { padding:32px 8px; color:var(--dp-muted); font-size:14px; text-align:center; }
.dp-calendar-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:20px; }
.dp-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; background:var(--dp-line); border:1px solid var(--dp-line); border-radius:10px; overflow:hidden; }
.dp-weekday { text-align:center; font:10px/1.5 ui-monospace,monospace; text-transform:uppercase; padding:12px 4px; background:var(--dp-raised); color:var(--dp-muted); }
.dp-day { min-height:105px; padding:10px; text-align:left; background:var(--dp-surface); cursor:pointer; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.dp-day.is-outside { opacity:.45; }
.dp-day.is-selected { background:var(--dp-glow); box-shadow:inset 0 0 0 1px var(--dp-accent); }
.dp-day-number { width:25px; height:25px; display:grid; place-items:center; font-size:13px; }
.dp-day.is-today .dp-day-number { background:var(--dp-accent); color:var(--dp-bg); border-radius:50%; }
.dp-event-dot { display:block; max-width:100%; font-size:10px; line-height:1.4; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; border-left:2px solid var(--dp-accent); padding-left:5px; color:var(--dp-muted); }
.dp-event { padding:16px 0; border-bottom:1px solid var(--dp-line); }
.dp-event h3 { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.dp-event time { font:11px ui-monospace,monospace; color:var(--dp-accent); display:block; margin-bottom:8px; }
.dp-event p { font-size:12px; margin:8px 0; color:var(--dp-muted); overflow-wrap:anywhere; white-space:pre-wrap; }
.dp-event .dp-actions { margin-top:12px; }
.dp-event .dp-button { padding:6px 10px; font-size:11px; }
.dp-event-form { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:24px; }
.dp-full { grid-column:1/-1; }
@media(max-width:1023px) { .dp-calendar-layout { grid-template-columns:1fr; } .dp-welcome { flex-direction:column; align-items:flex-start; } .dp-team { grid-template-columns:240px minmax(0,1fr); } }
@media(max-width:640px) { .fi-topbar { padding-inline:14px; } .dp-brand small { display:none; } .dp-brand { font-size:15px; gap:8px; } .dp-brand-mark { width:31px; height:31px; } .dp-brand-mark svg { width:24px; height:24px; } .fi-global-search { width:auto; } .dp-welcome { padding:2px 0 22px; gap:20px; } .dp-team { grid-template-columns:1fr; } .dp-panel { padding:18px; } .dp-desks { padding:14px; } .dp-panel-head { flex-wrap:wrap; } .dp-day { min-height:66px; padding:5px; } .dp-day .dp-event-dot { max-width:24px; height:4px; background:var(--dp-accent); font-size:0; border-radius:2px; } .dp-event-form { grid-template-columns:1fr; } .dp-heading { font-size:22px; } }

/* Team office: quiet workspace, clear floor plan and conversations. */
.team-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:2px; }
.team-presence { display:flex; gap:7px; align-items:center; margin-top:7px; color:var(--dp-muted); font-size:13px; }
.team-presence strong { color:var(--dp-text); }
.team-live-dot { width:7px; height:7px; border-radius:50%; background:#32785b; }
.team-workbench { grid-template-columns:265px minmax(0,1fr); align-items:start; }
.team-sidebar { padding:22px 18px; }
.team-sidebar .dp-heading { font-size:21px; }
.team-sidebar .dp-panel-head { margin-bottom:16px; }
.team-member-list { max-height:290px; overflow-y:auto; }
.team-member-detail { min-width:0; flex:1; }
.team-sidebar .dp-member { gap:9px; padding:12px 0; }
.team-sidebar .dp-avatar { width:32px; height:32px; font-size:11px; border-radius:50%; }
.team-sidebar .dp-member-name { font-size:12px; }
.team-sidebar .dp-status { font-size:10px; }
.team-dm-button { border:1px solid var(--dp-line); border-radius:7px; width:32px; height:34px; cursor:pointer; color:var(--dp-accent); flex:none; }
.team-dm-button:hover { background:var(--dp-glow); }
.team-availability { margin-top:18px; }
.team-conversation-heading { display:grid; gap:10px; margin:26px 0 10px; }
.team-conversation-heading label { font-size:11px; }
.team-conversation { display:flex; gap:8px; align-items:center; justify-content:space-between; width:100%; text-align:left; padding:11px 10px; border-radius:7px; font-size:12px; cursor:pointer; }
.team-conversation > span:first-child { overflow-wrap:anywhere; min-width:0; }
.team-conversation small { display:block; font-size:10px; color:var(--dp-muted); }
.team-conversation:hover { background:var(--dp-raised); }
.team-conversation.is-active { background:var(--dp-glow); box-shadow:inset 2px 0 var(--dp-accent); }
.team-count { display:inline-grid; place-items:center; min-width:23px; height:23px; padding:0 6px; border-radius:20px; background:var(--dp-glow); color:var(--dp-accent); font-size:11px; font-weight:600; }
.team-channel-create { border-top:1px solid var(--dp-line); margin-top:18px; padding-top:16px; }
.team-channel-create .team-disclosure { cursor:pointer; color:var(--dp-accent); font-size:12px; padding:5px 0; }
.team-channel-create form { margin-top:14px; }
.team-channel-create .dp-button { margin-top:12px; }
.team-channel-create .dp-note { margin:8px 0; }
.team-admin-link { display:inline-block; margin-top:22px; color:var(--dp-accent); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.team-main { padding:24px; }
.team-main .dp-panel-head { align-items:flex-start; }
.team-main .dp-panel-head > div { flex:1; }
.team-main .dp-panel-head .dp-note { margin-top:8px; max-width:560px; }
.team-main .dp-tabs { margin:-4px 0 24px; }
.team-main .dp-tab { font-size:13px; padding:12px 14px; }
.team-zones { display:flex; flex-wrap:wrap; gap:18px; margin:14px 0; font-size:11px; color:var(--dp-muted); }
.team-zones span { display:flex; align-items:center; gap:7px; }
.team-zones i { display:block; width:9px; height:9px; border-radius:2px; border:1px solid #0002; }
.team-zones .work_area { background:#ece4d2; }
.team-zones .meeting_room { background:#d7e7ee; }
.team-zones .lounge { background:#dce9dd; }
.team-floor-scroll { overflow-x:auto; border:1px solid #d8d4c9; border-radius:12px; background:#f5f2ea; padding:12px; }
.team-floor { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-template-rows:repeat(8,44px); gap:3px; min-width:550px; background:#ebe7dc; border:3px solid #d6cdb8; border-radius:7px; padding:8px; }
.team-cell { display:grid; place-items:center; position:relative; background:#faf8f2; border-radius:3px; min-width:0; }
button.team-cell { cursor:pointer; transition:background .15s; border:1px solid transparent; }
button.team-cell:hover { background:#e9dcad; border-color:var(--dp-accent); }
.team-cell.meeting_room { background:#e9f1f4; }
.team-cell.lounge { background:#eaf2e8; }
.team-furniture { background:#a8bec6!important; color:#fff; border:2px solid #91a9b2; border-radius:5px; }
.team-furniture.lounge { background:#95ad92!important; border-color:#7f967c; }
.team-furniture.is-desk { background:#dcc8a8!important; border-color:#b69c70; color:#604b26; box-shadow:0 3px 0 #b69c70; border-radius:4px 4px 8px 8px; font:600 11px ui-monospace,monospace; }
.team-floor-point { width:3px; height:3px; border-radius:50%; background:#c9c3b5; }
.team-floor-avatar { display:grid; place-items:center; border-radius:50%; width:78%; aspect-ratio:1; max-width:38px; background:#e6e9ed; border:2px solid #98a2b3; color:#344054; font-size:12px; font-weight:700; box-shadow:0 2px 6px #0001; }
.team-cell.is-you .team-floor-avatar { background:#e6efff; color:#1f56cb; border-color:#2563eb; }
.team-cell.is-you::after { content:''; position:absolute; bottom:0; width:5px; height:5px; border-radius:50%; background:#32785b; }
.team-floor-caption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 24px; margin-top:12px; }
.team-floor-caption .dp-muted { font-size:11px; }
.team-floor-caption .dp-muted:last-child { max-width:360px; }
.team-desk-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:22px; }
.team-desk-list > div { display:flex; align-items:center; gap:8px; font-size:11px; min-width:0; }
.team-desk-list > div > span:last-child { overflow-wrap:anywhere; }
.team-desk-number { display:grid; place-items:center; width:28px; height:28px; flex:none; border:1px solid #d9cdb4; color:#785d22; border-radius:5px; font:11px ui-monospace,monospace; background:#f7f1e5; }
.team-desk-form { display:grid; grid-template-columns:100px 1fr auto; gap:12px; align-items:end; }
.team-desk-form .dp-button { margin:0; }
.team-history-controls { margin-top:12px; }
.team-message-list { min-height:260px; max-height:470px; }
.team-message-list .dp-message { background:#f8f9fa; border-radius:2px 12px 12px 12px; max-width:90%; align-self:flex-start; }
.team-message-list .dp-message.is-mine { background:#edf4ff; border-color:#d8e6ff; align-self:flex-end; border-radius:12px 2px 12px 12px; }
.team-compose-footer { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:12px; }
.team-compose-footer .dp-muted { font-size:11px; }
.team-notice { background:#edf4ff; padding:16px; border-left:2px solid var(--dp-accent); color:var(--dp-muted); font-size:13px; }
.team-meeting { padding:22px 0; border-bottom:1px solid var(--dp-line); }
.team-meeting h3 { font-size:18px; font-weight:600; margin:8px 0; overflow-wrap:anywhere; }
.team-meeting .dp-actions { margin-top:14px; }
.team-meeting-notes { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; margin-top:12px; }
.team-meeting-form { border-top:3px solid var(--dp-accent); }
.team-workbench .dp-error, .team-meeting-form .dp-error { color:#a02b2b; padding:8px 0; }
.team-workbench :is(button,summary,a):focus-visible, .team-floor:focus-visible { outline:2px solid var(--dp-accent); outline-offset:3px; }
@media(max-width:1200px) { .team-workbench { grid-template-columns:220px minmax(0,1fr); gap:14px; } .team-main { padding:20px; } .team-main .dp-panel-head { flex-wrap:wrap; } .team-desk-form { grid-template-columns:80px 1fr; } .team-desk-form button { grid-column:1/-1; } }
@media(max-width:800px) { .team-workbench { grid-template-columns:1fr; } .team-main { grid-row:1; padding:18px; } .team-member-list { max-height:220px; } .team-toolbar { align-items:flex-start; flex-direction:column; } .team-desk-list { grid-template-columns:repeat(2,minmax(0,1fr)); } .team-main .dp-tabs { gap:0; } .team-main .dp-tab { padding:12px 10px; } .team-floor-scroll { padding:7px; } .team-message-list .dp-message { max-width:100%; padding:12px; } .team-message-list .dp-message header { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { button.team-cell { transition:none; } }
.team-workbench .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:640px) { .team-main .dp-panel-head > div { flex-basis:100%; } .team-main .dp-panel-head { gap:12px; } }

@media(max-width:640px) { .fi-icon-btn { min-width:38px; min-height:38px; } .team-dm-button { width:40px; height:40px; } .team-channel-create .team-disclosure { min-height:42px; } }

/* Interactive office: one scene, real positions and desks from OfficeLayout. */
.office-studio { min-width:0; }
.office-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.office-heading .dp-heading { margin-top:7px; font-size:24px; }
.office-heading .dp-note { margin-top:7px; max-width:500px; }
.office-heading .dp-actions { flex:none; }
.office-map-bar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; border:1px solid #dce5ed; border-bottom:0; background:#f9fbfd; border-radius:12px 12px 0 0; padding:12px 16px; }
.office-map-status { display:flex; align-items:center; gap:7px; font-size:11px; color:#61738a; }
.office-map-status strong { color:#1b3857; }
.office-status-light { width:7px; height:7px; background:#a5b2c2; border-radius:50%; }
.office-status-light.is-inside { background:#19947d; box-shadow:0 0 0 3px #e2f4ed; }
.office-map-divider { width:1px; height:13px; background:#d6e1ee; margin:0 5px; }
.office-zoom { display:flex; align-items:center; gap:3px; padding:2px; border:1px solid #e0e7f0; background:white; border-radius:7px; }
.office-zoom button { min-width:30px; height:29px; border-radius:4px; color:#3c577b; font-size:17px; cursor:pointer; }
.office-zoom button:hover { background:#edf4ff; }
.office-zoom button:disabled { opacity:.35; cursor:default; }
.office-zoom output { width:38px; font:600 10px var(--dp-font); text-align:center; color:#657a93; }
.office-zoom .office-fit { font-size:10px; padding:0 9px; border-left:1px solid #e3e9f2; border-radius:0; }
.office-stage { padding:22px 16px; overflow:auto; background-color:#eef3f7; background-image:radial-gradient(#ccd7e380 .7px,transparent .7px); background-size:12px 12px; border:1px solid #dce5ed; border-block-width:1px 0; }
.office-canvas { position:relative; width:860px; height:536px; margin-inline:auto; }
.office-scene { position:absolute; inset:0 auto auto 0; width:860px; height:536px; transform-origin:top left; display:grid; grid-template-columns:repeat(12,68px); grid-template-rows:repeat(8,60px); padding:24px 22px 32px; background:#fcfdfb; border-radius:14px; box-shadow:0 10px 0 #d1dbe3,0 12px 0 1px #becdd9,0 19px 24px #3557791c; isolation:isolate; }
.office-scene::before { content:''; position:absolute; inset:9px 10px 16px; border:2px solid #dde5ea; border-radius:7px; pointer-events:none; z-index:0; }
.office-area { position:relative; z-index:0; pointer-events:none; overflow:hidden; border:1px solid #e1e7e9; border-radius:8px; margin:3px; }
.office-area > span { display:flex; align-items:center; gap:12px; font-size:10px; letter-spacing:1px; text-transform:uppercase; font-weight:700; color:#798987; position:absolute; left:17px; top:13px; }
.office-area small { font-size:9px; color:#9ba9a5; font-weight:500; }
.office-area-work { grid-column:1/9; grid-row:1/6; background:repeating-linear-gradient(90deg,#f6f5ee,#f6f5ee 66px,#edede5 67px,#edede5 68px); border-color:#e3e3d7; }
.office-area-meeting { grid-column:9/13; grid-row:1/6; background:#eaf2f9; border-color:#b5cce0; box-shadow:inset 3px 0 #d1e1ee; }
.office-area-meeting > span { color:#6783a0; left:15px; }
.office-area-lounge { grid-column:1/6; grid-row:7/9; background:#e9f2eb; border-color:#cbded0; }
.office-area-lounge > span { top:auto; bottom:12px; color:#6b9278; }
.office-cell { position:relative; border:1px solid transparent; border-radius:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-direction:column; z-index:2; padding:0; transition:background .15s,border-color .15s; }
.office-cell:hover:not(:disabled) { background:#dceafb90; border-color:#90b8ea; }
.office-step { font-size:16px; font-weight:400; color:#98aab7; opacity:0; }
.office-cell:hover .office-step, .office-cell:focus-visible .office-step { opacity:1; }
.office-cell.is-occupied { z-index:4; }
.office-cell.is-occupied:hover { background:transparent; border-color:transparent; }
.office-cell.is-reserved { cursor:not-allowed; }
.office-reserved-dot { width:20px; height:17px; background:#d6dfe5; border:2px solid #c1ccd6; border-radius:7px 7px 4px 4px; box-shadow:0 2px 0 #adbcca; }
.office-person { position:relative; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:hsl(var(--avatar-hue) 40% 90%); border:3px solid white; box-shadow:0 3px 0 #90a1ae,0 5px 8px #25395225; transition:transform .18s; }
.office-person-initials { font-size:11px; font-weight:750; color:hsl(var(--avatar-hue) 50% 28%); }
.office-person i { position:absolute; bottom:-1px; right:-3px; width:10px; height:10px; border:2px solid white; border-radius:50%; background:#269a76; }
.office-cell.is-you .office-person { outline:2px solid #2563eb; outline-offset:2px; }
.office-cell:hover .office-person { transform:translateY(-3px); }
.office-nameplate { position:absolute; top:53px; left:50%; transform:translateX(-50%); background:#fff; border:1px solid #e0e7ef; border-radius:5px; padding:3px 7px; color:#435771; font-size:9px; font-weight:650; box-shadow:0 2px 3px #28374809; white-space:nowrap; }
.office-cell.is-you .office-nameplate { color:#fff; background:#2563eb; border-color:#2563eb; }
.office-desk { position:relative; z-index:3; align-self:center; justify-self:center; width:62px; height:40px; background:#e9d4b3; border:2px solid #cfb991; border-bottom:5px solid #bfa37e; border-radius:5px 5px 8px 8px; box-shadow:0 7px 0 -2px #af977a40,0 8px 9px #6e634315; cursor:pointer; }
.office-desk:disabled { cursor:not-allowed; }
.office-desk:hover:not(:disabled) { outline:2px solid #90b8ea; outline-offset:4px; }
.office-monitor { position:absolute; left:10px; top:-8px; width:31px; height:21px; background:#3a5269; border:3px solid #263c50; border-radius:3px; transform:perspective(100px) rotateX(-8deg); box-shadow:0 2px 4px #20354b30; }
.office-monitor i { position:absolute; inset:3px; background:#77b9d0; border-radius:1px; opacity:.7; }
.office-monitor::after { content:''; position:absolute; width:4px; height:6px; background:#263c50; left:10px; bottom:-8px; border-bottom:2px solid #526b7e; }
.office-keyboard { position:absolute; left:14px; bottom:5px; width:24px; height:7px; background:repeating-linear-gradient(90deg,#f9faf8,#f9faf8 2px,#c1cacd 3px); border:1px solid #aab4b8; border-radius:2px; }
.office-desk-cup { position:absolute; right:3px; top:5px; width:8px; height:8px; background:#f9f9f3; border-radius:50%; border:2px solid #90a99d; }
.office-desk-tag { position:absolute; bottom:-21px; left:50%; transform:translateX(-50%); font:600 9px var(--dp-font); color:#8a846a; }
.office-desk.is-mine { border-color:#8aaadc; border-bottom-color:#769bd0; background:#dce8f8; }
.office-desk.is-mine .office-monitor i { background:#5fa6ff; opacity:1; }
.office-desk.is-mine .office-desk-tag { color:#245dc0; }
.office-conference { grid-column:10/12; grid-row:2/4; position:relative; z-index:3; pointer-events:none; }
.office-conference-table { position:absolute; inset:7px 10px 16px; background:#b3cfe1; border:3px solid #91b4cc; border-bottom:7px solid #7e9fb9; border-radius:24px; box-shadow:0 8px 12px #365e7620; display:flex; gap:6px; align-items:center; justify-content:center; }
.office-conference-table::before, .office-conference-table::after { content:''; position:absolute; width:17px; height:26px; top:25px; background:#7894a9; border:3px solid #648397; border-radius:6px; box-shadow:0 5px 0 #64839730; }
.office-conference-table::before { left:-22px; } .office-conference-table::after { right:-22px; }
.office-conference-table i { display:block; width:17px; height:23px; background:#f4f8fc; border:2px solid #d9e5ee; border-radius:2px; transform:rotate(-12deg); }
.office-conference-table i:nth-child(2) { width:11px; height:11px; border-radius:50%; background:#7e9eb0; transform:none; }
.office-conference-screen { position:absolute; top:-22px; left:20px; width:92px; height:13px; background:#263d55; border:3px solid #49617a; border-radius:3px; }
.office-sofa { grid-column:2/4; grid-row:7/8; z-index:3; pointer-events:none; position:relative; display:flex; gap:4px; margin:7px 0; padding:8px; border:5px solid #79a792; border-bottom-width:8px; border-radius:10px; background:#a6c9b4; box-shadow:0 5px 0 #b6c8bd; }
.office-sofa i { flex:1; border-radius:4px; background:#bfdbca; border-top:3px solid #cce3d6; }
.office-entry { grid-column:8/13; grid-row:8; align-self:end; justify-self:end; margin:0 12px 2px 0; color:#bcc7d0; letter-spacing:3px; font-size:9px; font-weight:700; pointer-events:none; }
.office-entry b { color:#9dafbe; margin-left:18px; font-size:20px; }
.office-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:15px; padding:15px 18px; border:1px solid #dce5ed; border-top:0; border-radius:0 0 12px 12px; }
.office-location { display:flex; align-items:center; gap:9px; color:#7892ad; }
.office-location small { display:block; color:#8796a8; font-size:9px; }
.office-location strong { display:block; color:#405977; font-size:12px; margin-top:2px; }
.office-keyboard-help { color:#8694a7; font-size:10px; }
.office-dpad { display:flex; gap:5px; }
.office-dpad button { display:grid; place-items:center; width:34px; height:34px; border:1px solid #dfe6ef; border-bottom:3px solid #d7e1ec; border-radius:6px; color:#506e91; cursor:pointer; }
.office-dpad button:disabled { opacity:.35; cursor:default; }
.office-dpad button:hover:not(:disabled) { background:#edf4ff; color:#2563eb; }
.office-desks-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; margin:24px 0 12px; }
.office-desks-heading h3 { font-size:13px; font-weight:700; }
.office-desks-heading > span { color:var(--dp-muted); font-size:10px; }
.office-desk-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.office-desk-card { display:flex; align-items:center; gap:10px; padding:13px; background:#fafbfd; border:1px solid #e6ecf4; border-radius:8px; text-align:left; cursor:pointer; min-width:0; }
.office-desk-card > span:nth-child(2) { flex:1; min-width:0; }
.office-desk-card strong { display:block; color:#4f637d; font-size:11px; font-weight:650; overflow-wrap:anywhere; }
.office-desk-card small { display:block; font-size:9px; color:#8794a7; margin-top:3px; }
.office-desk-badge { display:grid; place-items:center; width:29px; height:29px; background:#edf1f6; border:1px solid #e0e7ee; color:#7990a9; border-radius:6px; font:600 10px var(--dp-font); flex:none; }
.office-desk-card > .cr-icon { color:#a6b5c6; width:13px; }
.office-desk-card.is-mine { border-color:#d0e1fd; background:#f5f9ff; }
.office-desk-card.is-mine .office-desk-badge { background:#e1edff; color:#2563eb; border-color:#d0e1fd; }
.office-desk-card:hover:not(:disabled) { background:#edf4ff; border-color:#b4cef4; }
.office-desk-card:disabled { cursor:default; }
.office-profile { display:flex; align-items:center; gap:12px; padding:16px; background:#f4f8ff; border:1px solid #d3e3fd; border-radius:9px; margin-top:14px; }
.office-profile-info { flex:1; min-width:0; }
.office-profile-info > strong { font-size:13px; }
.office-profile-close { cursor:pointer; display:grid; place-items:center; width:30px; height:30px; font-size:24px; color:#7d91af; flex:none; }
.office-alert { padding:12px 16px; color:#a53f26; background:#fff4ef; border:1px solid #f5d4c6; font-size:12px; }
.office-studio button:focus-visible, .office-scene:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
@media(max-width:1200px) { .office-keyboard-help { display:none; } .office-desk-directory { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .office-heading .dp-heading { font-size:21px; } .office-heading .dp-actions { width:100%; } .office-heading .dp-button { flex:1; font-size:11px; padding-inline:9px; } .office-map-bar { padding:12px; } .office-map-status { font-size:10px; } .office-zoom { margin-left:auto; } .office-zoom button { min-height:34px; min-width:34px; } .office-stage { padding:18px 12px; } .office-footer { padding:14px 12px; } .office-dpad button { width:39px; height:39px; } .office-profile { flex-wrap:wrap; } .office-profile .dp-button { flex-basis:100%; order:2; } .office-profile-close { margin-left:auto; } .office-desk-directory { gap:8px; } .office-desk-card { padding:10px; gap:7px; } .office-desk-card > .cr-icon { display:none; } .office-desks-heading { align-items:flex-start; flex-direction:column; gap:5px; } }
@media(prefers-reduced-motion:reduce) { .office-cell,.office-person { transition:none; } }
