.attendance-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;width:100%;min-width:0;padding:24px;container-type:inline-size}.attendance-heading,.attendance-identity{align-items:center;gap:12px;display:flex}.attendance-heading{justify-content:space-between}.attendance-heading h2{margin:0 0 6px;font-size:16px;font-weight:650}.attendance-symbol,.attendance-break-icon{color:#9b81e9;background:color-mix(in srgb, #9b81e9 13%, var(--surface));border-radius:12px;flex:none;place-items:center;width:44px;height:44px;display:grid}.attendance-state{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.attendance-state i{background:var(--muted);border-radius:50%;width:6px;height:6px}[data-work-state=working] .attendance-state i{background:#49b883}[data-work-state=on_break] .attendance-state i{background:#d7a34e}.attendance-metrics{flex-wrap:wrap;align-items:center;gap:26px;padding:24px 0 20px;display:flex}.attendance-metrics>div>span{color:var(--muted);font-size:12px}.attendance-metrics strong{font-variant-numeric:tabular-nums;letter-spacing:-1px;align-items:baseline;gap:8px;margin-top:6px;font-size:clamp(25px,7cqi,35px);font-weight:600;line-height:1.2;display:flex}.attendance-metrics strong small{letter-spacing:normal;color:var(--muted);font-size:12px;font-weight:400}.attendance-context{border-left:1px solid var(--line);align-items:center;gap:9px;max-width:220px;margin-left:auto;padding-left:20px;display:flex}.attendance-context svg{color:var(--muted);flex:none}.attendance-context small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:11px;display:block}.attendance-actions{flex-wrap:wrap;gap:8px;display:flex}.attendance-actions>button{white-space:nowrap;flex:100px;justify-content:center;align-items:center;gap:7px;min-height:40px;display:inline-flex}.attendance-actions>button:disabled{opacity:.42;cursor:default}.attendance-note{color:var(--muted);margin:12px 0 0;font-size:11px;line-height:1.6}.attendance-error{color:var(--danger,#d77575);margin:12px 0 0;font-size:13px;line-height:1.5}.attendance-unavailable{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex}.attendance-unavailable p{margin:0}.attendance-history{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin-top:20px;padding:24px}.attendance-history h2{margin:0 0 6px;font-size:16px}.attendance-history p{color:var(--muted);margin:0 0 20px;font-size:13px}.attendance-history h3{margin-top:24px;font-size:14px}.attendance-table-scroll{overflow-x:auto}.attendance-table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.attendance-history table{border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.attendance-history th,.attendance-history td{border-bottom:1px solid var(--line);white-space:nowrap;padding:12px 8px}.attendance-history th{color:var(--muted);font-size:12px;font-weight:500}.attendance-session-list{gap:12px;padding:0;font-size:13px;list-style:none;display:grid}.attendance-session-list li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.attendance-session-list svg,.attendance-session-list li>span{color:var(--muted)}.attendance-pagination{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.attendance-break-dialog{border-radius:16px;width:min(450px,100vw - 32px);padding:28px}.attendance-break-icon{color:#d7a34e;background:color-mix(in srgb, #d7a34e 12%, var(--surface));width:52px;height:52px;margin-bottom:10px}.attendance-choice{border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:flex-start;gap:12px;margin:12px 0;padding:16px;display:flex}.attendance-choice input{accent-color:var(--accent);flex:none;margin:3px 0 0}.attendance-choice strong{font-size:13px;font-weight:550;display:block}.attendance-choice small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6;display:block}.attendance-minutes{gap:8px;margin-top:16px;font-size:13px;display:grid}.attendance-minutes input,.attendance-settings-number input{border:1px solid var(--line);background:var(--bg);width:100%;min-height:40px;color:var(--text);border-radius:8px;padding:9px 12px}.attendance-minutes small{color:var(--muted);font-size:11px}.attendance-break-dialog footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:20px;padding-top:18px;display:flex}.attendance-break-dialog footer button{align-items:center;gap:7px;display:inline-flex}.attendance-compact{background:0 0;border:0;padding:0}.attendance-compact .attendance-state{font-size:13px}.cc-card .attendance-compact .attendance-metrics{padding-top:4px}.attendance-workspace{width:min(100%,1000px);margin:0 auto;padding:28px}.attendance-workspace>h1{margin:0 0 8px;font-size:23px}.attendance-workspace>p{color:var(--muted);margin:0 0 24px;font-size:14px}.attendance-settings-number{gap:8px;max-width:340px;margin:20px 0;font-size:13px;display:grid}.attendance-settings-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:20px;padding:18px 0;display:flex}.attendance-chat-badge{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:inline-flex}.attendance-chat-badge[data-state=on_break],.attendance-chat-badge[data-state=working]{color:var(--text)}@container (max-width:390px){.attendance-context{border:0;flex-basis:100%;max-width:none;margin-left:0;padding-left:0}.attendance-metrics{gap:18px;padding:18px 0}}@media (max-width:600px){.attendance-card,.attendance-history{padding:18px}.attendance-workspace{padding:16px}.attendance-break-dialog{padding:22px}.attendance-compact{padding:0}}.attendance-account-dialog{border-radius:16px;width:min(540px,100vw - 32px);padding:26px}.chat-self-status .attendance-chat-badge{margin-top:4px;display:flex}.chat-mini-identity small{flex-wrap:wrap}.attendance-card{padding:18px 20px}.attendance-compact{padding:0}.attendance-identity{flex:1;align-items:flex-start;min-width:0}.attendance-identity>div{min-width:0}.attendance-summary{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:4px;margin-top:4px;font-size:11px;line-height:1.6;display:flex}.attendance-summary strong{color:var(--text);font-variant-numeric:tabular-nums;font-weight:550}.attendance-heading-actions{flex:none;align-self:flex-start;align-items:center;gap:2px;display:flex}.attendance-heading-actions .icon-button{flex:none;width:32px;height:32px}.attendance-details-toggle svg{transition:transform .14s}.attendance-details-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.attendance-details[hidden]{display:none}.attendance-details:not([hidden]){padding:0 0 14px}.attendance-details .attendance-metrics{padding-bottom:0}.attendance-actions{margin-top:14px}.attendance-card:not([data-expanded=true]) .attendance-heading h2{margin-bottom:3px}@container (max-width:320px){.attendance-identity{gap:8px}.attendance-symbol{border-radius:9px;width:30px;height:30px}.attendance-symbol svg{width:17px;height:17px}.attendance-heading{gap:6px}.attendance-heading-actions{gap:0}.attendance-heading-actions .icon-button{width:28px;min-width:28px}}@media (hover:none),(pointer:coarse){.attendance-heading-actions .icon-button{width:44px;min-width:44px;height:44px}}@media (prefers-reduced-motion:reduce){.attendance-details-toggle svg{transition:none}}.attendance-location-hint,.attendance-location-note{color:var(--muted);align-items:flex-start;gap:5px;margin:9px 0 0;font-size:10px;line-height:1.5;display:flex}.attendance-location-hint svg,.attendance-location-note svg{flex:none;margin-top:1px}.attendance-session-list .attendance-location-note{margin:0}.cc-card .attendance-card{min-height:0}@container (max-width:310px){.cc-card .attendance-symbol,.cc-card .attendance-heading-actions .record-action-trigger{display:none}.cc-card .attendance-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.cc-card .attendance-actions>button{flex:none;min-width:0;padding:8px 4px}.cc-card .attendance-actions>button>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.attendance-break-overlay.dialog-overlay{z-index:119}.attendance-break-dialog.dialog-content{z-index:120;border-radius:18px;width:min(460px,100vw - 24px);padding:24px}.attendance-break-head{align-items:center;gap:12px;margin-bottom:22px;padding-right:24px;display:flex}.attendance-break-head .attendance-break-icon{border-radius:13px;width:44px;height:44px;margin:0}.attendance-break-title{letter-spacing:-.3px;margin:0;font-size:18px;line-height:1.3}.attendance-break-subtitle{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.attendance-break-mode{border:1px solid var(--line);cursor:pointer;border-radius:11px;justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;display:flex}.attendance-break-mode strong{font-size:12px;font-weight:550;display:block}.attendance-break-mode small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.5;display:block}.attendance-break-mode input{appearance:none;background:var(--line);cursor:pointer;border-radius:20px;flex:none;width:34px;height:20px;margin:0;transition:background .14s;position:relative}.attendance-break-mode input:after{content:"";background:var(--text);border-radius:50%;width:14px;height:14px;transition:transform .14s;position:absolute;top:3px;left:3px}.attendance-break-mode input:checked{background:var(--accent)}.attendance-break-mode input:checked:after{background:var(--bg);transform:translate(14px)}.attendance-break-mode input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.attendance-break-mode input:disabled{opacity:.5;cursor:default}.attendance-break-duration-fields{margin-top:16px}.attendance-break-presets{border:0;flex-wrap:wrap;gap:6px;margin:0;padding:0;display:flex}.attendance-break-presets button{border:1px solid var(--line);background:var(--bg);min-height:38px;color:var(--text);cursor:pointer;border-radius:8px;flex:60px;justify-content:center;align-items:center;gap:5px;font-size:12px;display:inline-flex}.attendance-break-presets button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);font-weight:600}.attendance-break-presets button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.attendance-break-presets button:disabled{cursor:default;opacity:.6}.attendance-break-duration-fields .attendance-minutes{grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:grid}.attendance-break-duration-fields .attendance-minutes input{text-align:center;font-variant-numeric:tabular-nums;min-height:36px;padding:8px 10px}.attendance-break-limit{color:var(--muted);align-items:center;gap:5px;margin:7px 0 0;font-size:10px;line-height:1.5;display:flex}.attendance-break-preview{border:1px solid var(--line);background:var(--bg);border-radius:12px;align-items:center;gap:12px;margin-top:18px;padding:16px;display:flex}.attendance-break-preview>svg{color:var(--muted);flex:none}.attendance-break-preview>div{flex:1;min-width:0}.attendance-break-preview span{color:var(--muted);font-size:11px}.attendance-break-preview strong{letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin-top:4px;font-size:23px;font-weight:550;line-height:1.2;display:block}.attendance-break-preview small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:10px;line-height:1.5;display:block}.attendance-break-preview b{text-align:center;border-left:1px solid var(--line);font-variant-numeric:tabular-nums;padding-left:14px;font-size:25px;font-weight:500}.attendance-break-preview b small{margin-top:1px;font-weight:400}.attendance-break-policy{color:var(--muted);align-items:center;gap:7px;margin:12px 0 0;font-size:11px;line-height:1.5;display:flex}.attendance-break-dialog.dialog-content footer{margin-top:20px;padding-top:16px}.attendance-break-dialog footer>button{border-radius:8px;min-height:38px}.attendance-summary strong{font-variant-numeric:tabular-nums;white-space:nowrap}@container (max-width:310px){.cc-card .attendance-break-summary{display:none}}@media (max-width:480px){.attendance-break-dialog.dialog-content{padding:20px}.attendance-break-preview{gap:10px;padding:13px}}@media (prefers-reduced-motion:reduce){.attendance-break-mode input,.attendance-break-mode input:after{transition:none}}.attendance-break-dialog .attendance-break-title{margin:0;font-size:18px}.attendance-break-dialog .attendance-break-subtitle{margin:5px 0 0;font-size:12px;line-height:1.5}.attendance-break-dialog .attendance-break-limit{margin:7px 0 0;font-size:10px;line-height:1.5}.attendance-break-dialog .attendance-break-policy{margin:12px 0 0;font-size:11px;line-height:1.5}@media (pointer:coarse){.attendance-break-presets button{min-height:44px}}.attendance-card[data-show-date]{grid-template-columns:70px minmax(0,1fr);align-items:center;column-gap:14px;display:grid}.attendance-current-date{border-right:1px solid var(--line);grid-area:1/1;padding-right:14px}.attendance-current-date .cc-date-tile{gap:2px;min-height:0;padding:0}.attendance-current-date .cc-date-caption{gap:4px;font-size:10px}.attendance-current-date .cc-date-tile strong{font-size:38px;line-height:1}.attendance-current-date .cc-date-year{font-size:9px}.attendance-current-date .cc-date-dot{display:none}.attendance-card[data-show-date]>.attendance-heading{grid-area:1/2}.attendance-card[data-show-date] .attendance-symbol{display:none}.attendance-card[data-show-date]>:not(.attendance-heading):not(.attendance-current-date){grid-column:1/-1}.attendance-card[data-show-date]{grid-template-columns:60px minmax(0,1fr);column-gap:10px}.attendance-card[data-show-date] .attendance-summary{display:none}.attendance-card[data-show-date] .attendance-actions{margin-top:10px}.attendance-current-date{padding-right:10px}.attendance-integrated-clock{letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin-top:3px;font-size:22px;font-weight:600;line-height:1.3;display:block}.attendance-card[data-show-date][data-work-state=on_break] .attendance-integrated-clock{color:var(--muted)}.cc-card[data-definition=people\.attendance] .cc-card-body{container:workday/size}.attendance-widget-context,.attendance-integrated-caption,.attendance-card[data-attendance-source=command_center]:not([data-show-date]) .attendance-integrated-clock{display:none}@container workday (min-height:180px) and (min-width:260px){.attendance-card[data-attendance-source=command_center][data-show-date]{align-content:center;min-height:100%}}@container workday (min-height:280px) and (min-width:260px){.attendance-card[data-attendance-source=command_center]{flex-direction:column;justify-content:center;align-items:stretch;gap:18px;min-height:100%;display:flex}.attendance-card[data-attendance-source=command_center] .attendance-details-toggle{display:none}.attendance-card[data-attendance-source=command_center][data-show-date]{grid-template-rows:auto auto auto;grid-template-columns:90px minmax(0,1fr);align-content:center;column-gap:18px;display:grid}.attendance-card[data-attendance-source=command_center] .attendance-current-date{padding-right:18px}.attendance-card[data-attendance-source=command_center] .attendance-current-date .cc-date-tile strong{letter-spacing:-2px;font-size:64px}.attendance-card[data-attendance-source=command_center] .attendance-current-date .cc-date-caption{font-size:12px}.attendance-card[data-attendance-source=command_center] .attendance-current-date .cc-date-year{font-size:11px}.attendance-card[data-attendance-source=command_center] .attendance-integrated-clock{letter-spacing:-1.5px;margin-top:7px;font-size:clamp(32px,10cqw,48px);line-height:1.15;display:block}.attendance-card[data-attendance-source=command_center] .attendance-summary{display:none}.attendance-card[data-attendance-source=command_center] .attendance-integrated-caption{letter-spacing:normal;color:var(--muted);margin-top:4px;font-size:10px;font-weight:400;line-height:1.4;display:block}.attendance-card[data-attendance-source=command_center] .attendance-heading-actions{gap:0}.attendance-card[data-attendance-source=command_center] .attendance-heading{align-items:center}.attendance-card[data-attendance-source=command_center] .attendance-heading-actions .icon-button{width:26px;min-width:26px}.attendance-card[data-attendance-source=command_center] .attendance-widget-context{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;padding:16px 0;display:grid}.attendance-card[data-attendance-source=command_center][data-actions-expanded=false] .attendance-widget-context{display:none}.attendance-widget-context>div{min-width:0;color:var(--muted);align-items:flex-start;gap:8px;display:flex}.attendance-widget-context svg{flex:none;margin-top:2px}.attendance-widget-context span{overflow-wrap:anywhere;font-size:11px;line-height:1.6}.attendance-widget-context strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:19px;font-weight:550;display:block}.attendance-widget-context small{font-size:10px;display:block}.attendance-card[data-attendance-source=command_center][data-expanded=true] .attendance-widget-context{display:none}.attendance-card[data-attendance-source=command_center] .attendance-actions{gap:8px;margin-top:0}.attendance-card[data-attendance-source=command_center] .attendance-actions>button{flex-direction:column;justify-content:center;gap:5px;min-height:56px;padding:8px;display:flex}.attendance-card[data-attendance-source=command_center] .attendance-actions>button>span{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;font-size:11px;line-height:1.3;position:static;overflow:visible}.attendance-card[data-attendance-source=command_center] .attendance-details:not([hidden]){padding:0}}@container workday (min-height:280px) and (min-width:480px){.attendance-card[data-attendance-source=command_center][data-show-date]{grid-template-columns:120px minmax(0,1fr);column-gap:28px}.attendance-card[data-attendance-source=command_center] .attendance-current-date .cc-date-tile strong{font-size:80px}}@media (pointer:coarse){.cc-card .attendance-card[data-attendance-source=command_center] .attendance-heading-actions .icon-button{width:44px;min-width:44px;height:44px}}
.account-panel.field-popover{overscroll-behavior:contain;background:var(--surface);width:min(356px,100vw - 24px);max-height:min(780px,100dvh - 78px);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:0;overflow-y:auto;box-shadow:0 16px 50px #0003}.account-panel-close{position:absolute;top:10px;right:10px}.account-panel-person{text-align:center;flex-direction:column;align-items:center;gap:7px;padding:25px 36px 20px;display:flex}.account-panel-photo{margin-bottom:4px;position:relative}.account-panel-photo .user-avatar{box-shadow:0 0 0 3px var(--bg);border-radius:50%;font-size:20px;overflow:hidden}.account-panel-photo .chat-presence-dot{box-shadow:0 0 0 3px var(--surface);position:absolute;bottom:2px;right:1px}.account-panel-person strong{overflow-wrap:anywhere;font-size:15px;font-weight:600}.account-panel-person small{color:var(--muted);font-size:12px}.account-panel-person>button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:4px 10px;font-size:12px}.account-panel-workday{border-top:1px solid var(--line);padding:16px 18px}.account-panel [data-attendance-source=account] .attendance-symbol{display:none}.account-panel [data-attendance-source=account] .attendance-identity{align-items:center}.account-panel [data-attendance-source=account] .attendance-identity>div{width:100%}.account-panel .attendance-account-clock{letter-spacing:-.7px;font-variant-numeric:tabular-nums;align-items:baseline;gap:7px;margin-top:6px;font-size:29px;font-weight:550;line-height:1.3;display:flex}.attendance-account-clock small{color:var(--muted);letter-spacing:normal;font-size:11px;font-weight:400}.account-panel .attendance-summary>span:first-child,.account-panel .attendance-summary>span:nth-child(2){display:none}.account-panel .attendance-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.account-panel .attendance-actions>button{gap:4px;min-width:0;padding:8px 4px;font-size:11px}.account-panel-links{border-top:1px solid var(--line);gap:3px;padding:10px;display:grid}.account-panel-links>button,.account-panel-footer button{width:100%;min-height:40px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:11px 12px;font-size:13px;display:flex}.account-panel-links>button:hover,.account-panel-footer button:hover{background:var(--surface-hover)}.account-panel-links svg,.account-panel-footer svg{color:var(--muted);flex:none}.account-panel-footer{border-top:1px solid var(--line);padding:8px 10px}.account-chat-status{padding:0 18px 16px}.account-chat-status>button{text-overflow:ellipsis;justify-content:flex-start;gap:7px;width:100%;margin-top:6px;font-size:12px;display:flex;overflow:hidden}.account-panel-note{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.5}.chat-account-availability{min-width:0}.chat-account-availability>button{width:100%}
.chat-layout,.chat-mini-profile,.chat-quick-panel{--chat-blue:#096aaa;--chat-soft:#e0f0fc}[data-theme=dark] .chat-layout,[data-theme=dark] .chat-mini-profile,[data-theme=dark] .chat-quick-panel{--chat-blue:#78bbef;--chat-soft:#223c52}.workspace-hub .chat-quick-panel:has(>.chat-compact){border:1px solid var(--line);background:var(--bg);border-radius:10px 10px 4px 4px;flex-direction:column;width:min(380px,100vw - 12px);height:min(610px,100dvh - 62px);max-height:calc(100dvh - 62px);display:flex;bottom:0;left:6px;overflow:hidden;box-shadow:0 6px 30px #00000024}.chat-quick-panel>.notes-heading{border-bottom:1px solid var(--line);background:var(--bg);flex:none;gap:5px;min-height:53px;padding:7px 9px}.chat-mini-identity{text-align:left;flex:1;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.chat-mini-identity>span:not(.app-icon){flex:1;gap:3px;display:grid}.chat-mini-identity strong{font-size:13px;font-weight:650}.chat-mini-identity small{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.chat-mini-identity .app-icon-tile{border:1px solid var(--line);background:var(--bg);border-radius:7px;width:32px;height:32px}.chat-mini-identity>svg{color:var(--muted);margin-right:5px}.chat-quick-panel>.notes-heading>.icon-button{border:1px solid var(--line);border-radius:4px;width:25px;height:25px}.chat-compact.chat-layout{flex:1;height:auto;min-height:0;display:block;position:relative}.chat-compact .chat-sidebar{background:var(--bg);border:0;min-height:0;padding-top:8px;position:relative}.chat-compact .chat-sidebar>header{display:none}.chat-mini-search{border:1px solid var(--line);color:var(--muted);background:var(--bg);border-radius:5px;align-items:center;gap:7px;margin:0 10px;padding:1px 7px;display:flex}.chat-mini-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;padding:7px 0;font-size:12px}.chat-mini-search:focus-within{border-color:var(--chat-blue)}.chat-mini-search .icon-button{flex:0 0 24px;width:24px}.chat-mini-filter-tabs{gap:6px;margin:7px 10px 10px;display:flex}.chat-mini-filter-tabs button{background:var(--surface);min-width:0;color:var(--muted);border-radius:4px;flex:1;padding:5px;font-size:11px}.chat-mini-filter-tabs button[aria-pressed=true]{color:var(--chat-blue);background:var(--chat-soft)}.chat-filter-popover{width:230px;padding:14px}.chat-filter-popover label{justify-content:space-between;align-items:center;gap:8px;margin:6px 0 10px;font-size:12px;display:flex}.chat-filter-popover select{background:var(--bg);min-width:0;color:var(--text);border:1px solid var(--line);border-radius:4px;padding:5px}.chat-compact .chat-connection{padding:0 13px 7px;font-size:10px}.chat-compact .chat-connection:has(.connected){display:none}.chat-compact .chat-compact-shortcut{display:none}.chat-compact .chat-conversation-list{flex:1;min-height:0;padding:0 6px 55px}.chat-conversation-list>.chat-empty-inline{display:none}.chat-conversation-list>section:not(:has(>.chat-conversation)){display:none}.chat-compact .chat-section-title{padding:5px 8px;font-size:11px}.chat-compact .chat-section-title button{display:none}.chat-compact .chat-conversation-list>section{margin-bottom:10px}.chat-compact .chat-conversation{border-radius:6px;gap:9px;min-height:56px;padding:10px 8px}.chat-conversation>.chat-list-avatar,.chat-conversation>.avatar{background:var(--chat-soft);width:33px;height:33px;color:var(--chat-blue);border-radius:50%;flex:0 0 33px;place-items:center;font-size:12px;font-weight:500;display:grid}.chat-list-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.chat-list-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.chat-list-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;overflow:hidden}.chat-mini-tabs{border-top:1px solid var(--line);background:var(--bg);flex:none;min-height:40px;padding:0 2px;display:flex;box-shadow:0 -2px 8px #00000005}.chat-mini-tabs button{min-width:0;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:5px 0;font-size:9px;display:flex;position:relative}.chat-mini-tabs button[aria-current=page]{background:var(--chat-soft);color:var(--chat-blue)}.chat-mini-add{color:#fff;z-index:2;background:#087dca;border-radius:50%;place-items:center;width:37px;height:37px;display:grid;position:absolute;bottom:12px;right:13px;box-shadow:0 2px 9px #0574b947}.chat-mini-add:hover{background:#066aaf}.chat-quick-actions{border-radius:9px;width:272px;padding:0 0 7px;overflow:hidden}.chat-quick-actions h3{background:var(--surface);margin:0;padding:13px 16px;font-size:14px}.chat-quick-actions>button{text-align:left;align-items:center;gap:13px;width:100%;padding:12px 16px;font-size:12px;display:flex}.chat-quick-actions>button:hover{background:var(--surface-hover)}.chat-quick-actions>button svg{color:var(--muted)}.chat-mini-empty{height:100%;min-height:230px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:22px 14px 35px;font-size:12px;line-height:1.6;display:flex}.chat-mini-empty p{max-width:220px;margin:7px 0}.chat-mini-profile{--chat-blue:#096aaa;background:var(--bg);border-radius:9px;width:294px;max-width:calc(100vw - 24px);max-height:min(520px,100dvh - 125px);padding:0 0 12px;overflow:auto}.mini-profile-close{position:absolute;top:8px;right:8px}.mini-profile-person{background:var(--surface);flex-direction:column;align-items:center;gap:8px;padding:25px 18px 16px;display:flex}.mini-profile-person>.avatar{background:var(--surface-hover);border:2px solid var(--bg);border-radius:50%;place-items:center;width:54px;height:54px;font-size:19px;display:grid;position:relative;box-shadow:0 2px 7px #0002}.mini-profile-person .avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.mini-profile-person .chat-presence-dot{border:2px solid var(--bg);width:13px;height:13px;position:absolute;bottom:0;right:0}.mini-profile-person>strong{font-size:15px}.mini-profile-person>small{color:var(--muted);font-size:11px}.mini-status-field{border:1px solid var(--line);border-radius:5px;align-items:center;gap:9px;margin:14px;padding:7px 9px;display:flex}.mini-status-field select{min-width:0;color:var(--text);background:0 0;border:0;flex:1;font-size:12px}.chat-mini-profile h3{background:var(--surface);margin:10px 0 0;padding:10px 15px;font-size:12px}.mini-toggle-row{justify-content:space-between;align-items:center;gap:15px;padding:14px 15px;font-size:12px;display:flex}.mini-toggle-row input{appearance:none;background:var(--line);cursor:pointer;border-radius:12px;flex:none;width:30px;height:17px;position:relative}.mini-toggle-row input:after{content:"";background:#fff;border-radius:50%;width:13px;height:13px;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0002}.mini-toggle-row input:checked{background:#1288d2}.mini-toggle-row input:checked:after{transform:translate(13px)}.mini-toggle-row input:disabled{opacity:.5}.mini-volume-row{color:var(--muted);align-items:center;gap:10px;padding:0 15px 12px;display:flex}.mini-volume-row input{accent-color:#1288d2;flex:1;min-width:0}.mini-profile-hint{color:var(--muted);padding:0 15px;font-size:11px;line-height:1.5}@media (prefers-reduced-motion:reduce){.chat-mini-profile *,.chat-mini-add{transition:none}}.chat-conversation>.chat-presence-dot{flex:0 0 9px}
.chat-layout{background:var(--bg);grid-template-columns:250px minmax(0,1fr);height:calc(100dvh - 49px);min-height:0;display:grid;overflow:hidden}.chat-sidebar{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;min-width:0;display:flex}.chat-sidebar>header{justify-content:space-between;align-items:center;padding:19px 17px 12px;display:flex}.chat-sidebar h1{margin:0;font-size:19px;font-weight:650}.chat-sidebar>input{border:1px solid var(--line);background:var(--bg);border-radius:6px;width:calc(100% - 26px);margin:0 13px;padding:8px 10px;font-size:12px}.chat-connection{color:var(--muted);align-items:center;gap:6px;padding:11px 17px;font-size:11px;display:flex}.chat-connection>span{background:#aa7b26;border-radius:50%;width:6px;height:6px}.chat-connection>span.connected{background:#397c57}.chat-conversation-list{padding:0 7px 60px;overflow:auto}.chat-conversation-list>section{margin-bottom:18px}.chat-section-title{color:var(--muted);justify-content:space-between;align-items:center;padding:5px 9px;font-size:11px;font-weight:600;display:flex}.chat-conversation{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:9px 11px;display:flex}.chat-conversation:hover{background:var(--surface-hover)}.chat-conversation.selected{background:var(--accent-soft);font-weight:600}.chat-conversation>svg{color:var(--muted);flex-shrink:0}.chat-conversation>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.chat-conversation>b{background:var(--text);color:var(--bg);text-align:center;border-radius:9px;min-width:17px;padding:1px 4px;font-size:10px}.chat-main{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-main-header{border-bottom:1px solid var(--line);align-items:center;gap:11px;min-height:67px;padding:12px 22px;display:flex}.chat-main-header>div{flex:1;min-width:0}.chat-main-header h2{text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;font-size:15px;overflow:hidden}.chat-main-header span{color:var(--muted);font-size:11px}.chat-main-header>.button{background:var(--bg)}.chat-main .chat-back{display:none}.chat-feed{overscroll-behavior:contain;flex:1;min-height:0;padding:24px 22px;overflow:auto}.chat-message{border-radius:5px;gap:10px;padding:8px 6px;display:flex;position:relative}.chat-message:hover{background:var(--surface)}.chat-message>.avatar{background:var(--accent-soft);width:32px;height:32px;color:var(--text);flex-shrink:0;margin-top:2px;font-size:11px}.chat-message-content{flex:1;min-width:0}.chat-message-meta{align-items:center;gap:9px;margin-bottom:4px;display:flex}.chat-message-meta strong{font-size:12px;font-weight:600}.chat-message-meta time,.chat-message-meta>span{color:var(--muted);font-size:10px}.chat-message-content>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.chat-tombstone{color:var(--muted);font-style:italic}.chat-message-actions{background:var(--bg);border:1px solid var(--line);opacity:0;border-radius:5px;align-self:flex-start;gap:2px;display:flex}.chat-message:hover .chat-message-actions,.chat-message:focus-within .chat-message-actions{opacity:1}.chat-reply-link{color:var(--muted);background:0 0;border:0;align-items:center;gap:5px;padding:5px 0;font-size:11px;display:flex}.chat-reply-link:hover{color:var(--text);text-decoration:underline}.chat-attachment{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:fit-content;max-width:420px;margin-top:8px;overflow:hidden}.chat-attachment img,.chat-attachment video{object-fit:contain;max-width:100%;max-height:280px;display:block}.chat-attachment audio{max-width:100%;display:block}.chat-file-label{color:var(--text);align-items:center;gap:7px;padding:8px 10px;font-size:11px;text-decoration:none;display:flex}.chat-file-label span{overflow-wrap:anywhere;flex:1}.chat-file-label small{color:var(--muted);white-space:nowrap}.chat-compose{border:1px solid var(--line);background:var(--bg);border-radius:9px;margin:8px 22px 50px;position:relative;box-shadow:0 2px 8px #00000005}.chat-command-menu{z-index:12;border:1px solid var(--line);background:var(--surface);max-height:min(320px,43dvh);box-shadow:var(--shadow);border-radius:9px;padding:5px;position:absolute;inset:auto -1px calc(100% + 7px);overflow:auto}.chat-command-menu>button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:12px;padding:10px 9px;display:flex}.chat-command-menu>button:hover,.chat-command-menu>button[aria-selected=true]{background:var(--surface-hover)}.chat-command-menu code{min-width:57px;color:var(--muted);font-size:12px}.chat-command-menu span{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-command-menu strong{font-size:12px;font-weight:550}.chat-command-menu small{color:var(--muted);font-size:11px}.chat-gif-button{letter-spacing:-.3px;font-size:10px;font-weight:750}.chat-expression-picker,.chat-resource-picker,.chat-resource-preview{flex-direction:column;gap:13px;width:min(490px,100vw - 24px);max-height:min(690px,100dvh - 36px);display:flex;overflow-y:auto}.chat-expression-picker>input,.chat-resource-picker>input,.chat-resource-picker select{border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;border-radius:6px;width:100%;padding:9px 11px}.chat-resource-picker label{gap:5px;font-size:12px;display:grid}.chat-expression-categories{flex-wrap:wrap;gap:5px;display:flex}.chat-expression-categories button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:6px 10px;font-size:12px}.chat-expression-categories button[aria-pressed=true]{background:var(--accent-soft);color:var(--text)}.chat-emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;min-height:0;display:grid}.chat-emoji-grid button{aspect-ratio:1;background:0 0;border:0;border-radius:6px;min-width:0;font-size:26px}.chat-emoji-grid button:hover{background:var(--surface-hover)}.chat-gif-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.chat-gif-grid button{border:1px solid var(--line);background:var(--bg);min-width:0;color:var(--text);border-radius:7px;padding:0;overflow:hidden}.chat-gif-grid img{object-fit:cover;width:100%;height:115px;display:block}.chat-gif-grid span{white-space:nowrap;text-overflow:ellipsis;padding:6px;font-size:11px;display:block;overflow:hidden}.chat-resource-results{min-height:90px;max-height:340px;overflow:auto}.chat-resource-results>button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:10px;padding:11px 8px;display:flex}.chat-resource-results>button:hover{background:var(--surface-hover)}.chat-resource-results span{flex:1;gap:4px;min-width:0;display:grid}.chat-resource-results strong{text-overflow:ellipsis;font-size:13px;font-weight:550;overflow:hidden}.chat-resource-results small{color:var(--muted);font-size:11px}.chat-reference{border:1px solid var(--line);background:var(--surface);border-radius:8px;max-width:440px;margin:7px 0;position:relative}.chat-reference-open{border-radius:inherit;width:100%;color:var(--text);text-align:left;background:0 0;border:0;align-items:flex-start;gap:10px;padding:12px;display:flex}.chat-reference-open:disabled{opacity:1;cursor:default}.chat-reference-open:hover:enabled{background:var(--surface-hover)}.chat-reference-open>svg{color:var(--muted);flex-shrink:0}.chat-reference-icon{background:var(--accent-soft);border-radius:7px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.chat-reference-info{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.chat-reference-info>strong{overflow-wrap:anywhere;font-size:13px;line-height:1.4}.chat-reference-info>small,.chat-reference-info>time{color:var(--muted);font-size:11px}.chat-reference-tags{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.chat-reference-tags>span{background:var(--bg);color:var(--muted);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:4px;padding:2px 5px;font-size:10px}.chat-pending-references{max-height:165px;padding:0 8px;overflow-y:auto}.chat-pending-references .chat-reference-open{padding-right:32px}.chat-reference-remove{position:absolute;top:4px;right:4px}.chat-resource-preview>p{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:480px){.chat-emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.chat-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-compose-actions{gap:3px;padding:5px 7px 8px}.chat-reference-open{gap:7px;padding:9px}.chat-reference-icon{flex-basis:24px;width:24px;height:24px}}.chat-compose:focus-within{border-color:var(--muted)}.chat-compose>textarea{resize:none;width:100%;min-height:68px;max-height:200px;font:inherit;color:var(--text);background:0 0;border:0;outline:none;padding:13px 14px;display:block}.chat-compose-actions{align-items:center;gap:8px;padding:6px 10px 10px;display:flex}.chat-compose-actions>small{color:var(--muted);flex:1;font-size:10px}.chat-compose-actions>.button{margin-left:auto}.chat-pending{flex-wrap:wrap;gap:6px;padding:8px 8px 0;display:flex}.chat-pending:empty{display:none}.chat-pending>div{border:1px solid var(--line);border-radius:5px;align-items:center;gap:6px;max-width:100%;padding:6px 7px;font-size:11px;display:flex}.chat-pending>div>span{overflow-wrap:anywhere}.chat-pending small{color:var(--muted);font-size:10px;display:block}.chat-error{color:var(--danger);margin:6px 22px;font-size:12px}.chat-welcome{text-align:center;max-width:440px;margin:auto;padding:40px}.chat-welcome-icon{background:var(--surface);border:1px solid var(--line);border-radius:22px;justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 23px;display:flex}.chat-welcome h2{letter-spacing:-.5px;margin:0 0 12px;font-size:21px;font-weight:600}.chat-welcome p{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.7}.chat-welcome>.button{display:inline-flex}.chat-first-message{text-align:center;color:var(--muted);padding:50px 12px}.chat-first-message>svg{margin:0 auto 14px}.chat-first-message h3{color:var(--text);margin:0 0 8px;font-size:16px}.chat-first-message p{font-size:12px}.chat-empty-inline{color:var(--muted);text-align:center;padding:30px}.chat-load{margin:0 auto 12px;display:flex}.chat-thread-header{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:8px;padding:10px 22px;display:flex}.chat-thread-header>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--muted);flex:1;font-size:12px;overflow:hidden}.chat-thread-root{border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:12px}.chat-dialog{max-width:460px;max-height:85dvh;overflow:auto}.chat-dialog>label{flex-direction:column;gap:7px;margin:12px 0;font-size:12px;display:flex}.chat-dialog input:not([type]),.chat-dialog select,.chat-dialog textarea{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:5px;width:100%;padding:9px}.chat-dialog textarea{resize:vertical;min-height:90px}.chat-policy-note{color:var(--muted);background:var(--surface);border-radius:6px;padding:10px;font-size:12px;line-height:1.6}.chat-member-picker{max-height:230px;margin:10px 0 18px;overflow:auto}.chat-member-picker>label{align-items:center;gap:10px;padding:8px 5px;font-size:13px;display:flex}.chat-member-picker input{width:16px;height:16px;accent-color:var(--text)}.chat-member-picker .avatar{width:28px;height:28px;font-size:10px}.chat-spinner{animation:1s linear infinite chat-spin}@keyframes chat-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.chat-spinner{animation:none}}@media (max-width:1100px){.chat-layout{grid-template-columns:210px minmax(0,1fr)}.chat-main-header{padding:12px 15px}.chat-feed{padding:15px 10px}.chat-compose{margin-left:13px;margin-right:13px}}@media (max-width:760px){.chat-layout{height:calc(100dvh - 45px);display:block}.chat-sidebar,.chat-main{height:100%}.chat-sidebar{border-right:0}.chat-layout:not(.chat-has-selection) .chat-main,.chat-has-selection .chat-sidebar{display:none}.chat-main .chat-back{display:inline-flex}.chat-main-header{gap:8px;padding:9px 10px}.chat-main-header h2{max-width:180px}.chat-main-header>.button{font-size:11px}.chat-main-header>.button svg{display:none}.chat-message{gap:7px;padding:8px 2px}.chat-message-actions{opacity:1;flex-direction:column}.chat-feed{padding:12px 8px}.chat-compose{margin:4px 8px max(48px, env(safe-area-inset-bottom))}.chat-compose-actions>small{display:none}.chat-thread-header{padding:9px 12px}.chat-attachment{max-width:100%}.chat-attachment audio{width:100%}.chat-message-content{max-width:calc(100% - 70px)}}.chat-quick-panel:has(>.chat-compact){flex-direction:column;width:min(430px,100vw - 20px);height:min(640px,100dvh - 105px);max-height:calc(100dvh - 105px);display:flex;overflow:hidden}.chat-quick-panel>.notes-heading{flex-shrink:0;padding:13px 14px}.chat-quick-panel>.notes-heading h2{flex:1}.chat-compact.chat-layout{flex:1;width:100%;height:auto;min-height:0;display:block}.chat-compact .chat-sidebar,.chat-compact .chat-main{height:100%}.chat-compact .chat-sidebar{border-right:0}.chat-compact:not(.chat-has-selection) .chat-main,.chat-compact.chat-has-selection .chat-sidebar{display:none}.chat-compact .chat-main .chat-back{display:inline-flex}.chat-compact .chat-sidebar>header{padding:10px 14px}.chat-compact .chat-sidebar h3{margin:0;font-size:13px}.chat-compact .chat-conversation-list{padding-bottom:12px}.chat-compact .chat-main-header{gap:6px;min-height:57px;padding:9px}.chat-compact .chat-main-header h2{max-width:none;font-size:13px}.chat-compact .chat-main-header>.button{padding:5px;font-size:11px}.chat-compact .chat-main-header>.button svg{display:none}.chat-compact .chat-feed{padding:12px 7px}.chat-compact .chat-compose-actions>small{display:none}.chat-compact .chat-compose>textarea{min-height:60px}.chat-compact .chat-attachment{max-width:100%}.chat-compact .chat-thread-header{padding:8px 10px}.chat-compact .chat-message-meta{flex-wrap:wrap;gap:5px}.chat-thread-summary>span{text-align:left;flex-direction:column;gap:4px;display:flex}.chat-thread-summary strong,.chat-thread-summary small{text-overflow:ellipsis;overflow:hidden}.chat-thread-summary small{color:var(--muted);font-weight:400}.chat-conversation>.avatar{flex:0 0 28px;width:28px;height:28px;font-size:11px}.chat-self{border-block:1px solid var(--line);align-items:center;gap:6px;padding:8px 10px;display:flex}.chat-self-status{text-align:left;min-width:0;color:var(--text);background:0 0;border:0;flex:1;align-items:center;gap:9px;padding:4px;display:flex}.chat-self-status>.avatar{background:var(--accent-soft);flex-shrink:0;width:31px;height:31px;font-size:11px;position:relative}.chat-self-status>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-self-status strong,.chat-self-status small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-self-status strong{font-size:12px;font-weight:600}.chat-self-status small{color:var(--muted);font-size:10px;font-weight:400}.chat-presence-dot{border:2px solid var(--bg);background:#8c919a;border-radius:50%;flex-shrink:0;width:9px;height:9px;display:inline-block}.avatar>.chat-presence-dot{width:11px;height:11px;position:absolute;bottom:-1px;right:-2px}.presence-online{background:#439d71}.presence-away{background:#dfa744}.presence-dnd{background:#d86770;position:relative}.presence-dnd:after{content:"";background:#fff;height:1px;position:absolute;inset:3px 1px auto}.presence-invisible,.presence-offline{background:var(--bg);box-shadow:inset 0 0 0 1px var(--muted)}.chat-scheduled-shortcut{border:0;border-bottom:1px solid var(--line);color:var(--muted);text-align:left;background:0 0;align-items:center;gap:8px;padding:9px 16px;font-size:11px;display:flex}.chat-scheduled-shortcut:hover{background:var(--surface-hover);color:var(--text)}.chat-scheduled-header{position:relative}.chat-scheduled-header b{background:var(--text);color:var(--bg);border-radius:8px;padding:0 4px;font-size:9px;position:absolute;top:-5px;right:-5px}.chat-settings-dialog{width:min(490px,100vw - 24px);max-height:88dvh;overflow:auto}.chat-settings-dialog fieldset{border:0;min-width:0;margin:18px 0;padding:0}.chat-settings-dialog legend{margin-bottom:12px;font-size:12px;font-weight:600}.chat-settings-dialog input:not([type=radio]):not([type=checkbox]):not([type=range]),.chat-settings-dialog select,.chat-settings-dialog textarea{border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;border-radius:6px;width:100%;min-width:0;padding:9px 10px;font-size:12px}.chat-settings-dialog textarea{resize:vertical;min-height:100px}.chat-settings-dialog footer{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.chat-settings-dialog footer .button{font-size:12px}.chat-field-label{flex-direction:column;gap:7px;margin:14px 0 8px;font-size:12px;display:flex}.chat-availability-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.chat-availability-options label{border:1px solid var(--line);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:10px 8px;font-size:12px;display:flex}.chat-availability-options label:has(input:checked){background:var(--accent-soft)}.chat-availability-options label>span:not(.chat-presence-dot){flex:1}.chat-availability-options input{accent-color:var(--text);margin:0}.chat-custom-status{align-items:center;gap:7px;display:flex}.chat-status-emoji{border:1px solid var(--line);background:var(--surface);width:39px;height:37px;color:var(--text);border-radius:6px;flex-shrink:0;place-items:center;font-size:23px;display:grid}.chat-time-fields{grid-template-columns:1fr;gap:13px;margin-top:18px;display:grid}.chat-time-fields label{flex-direction:column;gap:6px;font-size:12px;display:flex}.chat-time-fields input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){.chat-time-fields input{--lightningcss-light: ;--lightningcss-dark:initial}}.chat-settings-dialog .chat-settings-hint{color:var(--muted);align-items:center;gap:6px;font-size:11px;line-height:1.6;display:flex}.chat-settings-dialog .chat-settings-error{color:#d87379;font-size:12px;line-height:1.6}.chat-sounds{gap:5px;display:grid}.chat-sound{border:1px solid var(--line);border-radius:6px;align-items:center;padding:6px 8px;display:flex}.chat-sound.selected{background:var(--accent-soft)}.chat-sound label{cursor:pointer;flex:1;align-items:center;gap:10px;padding:4px;display:flex}.chat-sound label span{flex-direction:column;gap:3px;display:flex}.chat-sound strong{font-size:12px;font-weight:550}.chat-sound small{color:var(--muted);font-size:10px}.chat-sound input{accent-color:var(--text)}.chat-volume{align-items:center;gap:12px;margin:17px 0;font-size:12px;display:flex}.chat-volume input{min-width:0;accent-color:var(--text);flex:1}.chat-volume output{font-variant-numeric:tabular-nums;width:35px}.chat-browser-notifications{border-top:1px solid var(--line);padding-top:16px}.chat-browser-notifications h3{margin:0;font-size:13px;font-weight:600}.chat-browser-notifications p{line-height:1.6}.chat-checkbox{align-items:center;gap:9px;font-size:12px;display:flex}.chat-priority-select{align-items:center;gap:3px;min-width:0;display:flex}.chat-priority-select select{color:inherit;background:0 0;border:0;max-width:105px;padding:4px;font-size:11px}.chat-priority-select option{background:var(--surface);color:var(--text)}.chat-importance{border:1px solid;border-radius:4px;align-items:center;gap:4px;padding:1px 5px;line-height:1.5;font-size:10px!important;display:inline-flex!important}.importance-important{color:#bf963f!important}.importance-urgent{color:#de7b84!important}[data-theme=light] .importance-important{color:#865c0f!important}[data-theme=light] .importance-urgent{color:#a42839!important}.chat-schedule-preview{border:1px solid var(--line);border-radius:7px;max-height:150px;padding:12px;overflow:auto}.chat-schedule-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}.chat-settings-dialog .chat-schedule-time{background:var(--accent-soft);border-radius:6px;align-items:flex-start;gap:9px;padding:12px;font-size:12px;line-height:1.6;display:flex}.chat-scheduled-empty{text-align:center;color:var(--muted);padding:30px 0}.chat-scheduled-list{gap:10px;max-height:60dvh;padding:2px;display:grid;overflow:auto}.chat-scheduled-item{border:1px solid var(--line);border-radius:7px;padding:12px}.chat-scheduled-item header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.chat-scheduled-item time{color:var(--muted);font-size:10px}.chat-scheduled-item p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.chat-schedule-status{font-weight:600}.schedule-failed{color:#d87379}.schedule-sent{color:#439d71}.schedule-cancelled{color:var(--muted)}.chat-scheduled-item>small{color:var(--muted);margin-top:7px;font-size:10px;display:block}.dock-chat-links>button{position:relative}.dock-unread{border:2px solid var(--bg);background:var(--text);min-width:17px;color:var(--bg);font-variant-numeric:tabular-nums;border-radius:9px;padding:1px 4px;font-size:9px;line-height:1.3;position:absolute;top:0;right:2px}.chat-workspace{flex-direction:column;height:calc(100dvh - 88px);min-height:0;display:flex;overflow:hidden}.chat-workspace-toolbar{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;height:45px;padding:7px 16px;display:flex}.chat-workspace-toolbar h1{flex:1;margin:0;font-size:16px;font-weight:600}.chat-workspace-toolbar>.button{font-size:11px}.chat-workspace-panes{flex:1;grid-template-columns:minmax(0,1fr);min-height:0;display:grid}.chat-workspace-split .chat-workspace-panes{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.chat-workspace-pane{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.chat-workspace-pane+.chat-workspace-pane{border-left:1px solid var(--line)}.chat-workspace-pane>.chat-layout{flex:1;height:auto;min-height:0}.chat-workspace-pane .chat-sidebar>header h1{font-size:14px}.chat-pane-choice{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:9px;padding:10px 13px;font-size:11px;display:flex}.chat-pane-choice>span{color:var(--muted);white-space:nowrap}.chat-pane-choice select{background:var(--bg);width:100%;min-width:0;color:var(--text);border:1px solid var(--line);border-radius:5px;padding:6px;font-size:12px}.chat-pane-tabs{gap:4px;display:flex}.chat-pane-tabs button{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:4px;padding:5px 10px}.chat-pane-tabs button[aria-pressed=true]{background:var(--accent-soft)}@media (max-width:999px){.chat-workspace-split .chat-workspace-panes{grid-template-columns:minmax(0,1fr)}.chat-workspace-pane[hidden]{display:none}.chat-workspace-pane+.chat-workspace-pane{border:0}}@media (max-width:560px){.chat-workspace-toolbar{gap:5px;padding:6px 10px}.chat-workspace-toolbar>.button{padding:6px;font-size:10px}.chat-workspace-toolbar h1{font-size:14px}.chat-availability-options{grid-template-columns:1fr}.chat-compose-actions{flex-wrap:wrap}.chat-compose-actions>small{display:none}.chat-priority-select{margin-right:auto}.chat-settings-dialog{padding:20px}.chat-pane-choice>span{display:none}}.chat-mini-status-button{width:100%;margin:10px 0 2px;font-size:11px}.chat-mini-settings-heading{justify-content:space-between;align-items:center;display:flex}.chat-mini-settings-heading h3{margin:14px 0!important}.chat-mini-identity small{white-space:nowrap;text-overflow:ellipsis;max-width:220px;overflow:hidden}.chat-message-actions{z-index:2;opacity:0;pointer-events:none;border-radius:8px;flex-direction:row;gap:2px;padding:3px;transition:opacity .1s;position:absolute;top:-10px;right:8px;box-shadow:0 3px 12px #0002}.chat-compact .chat-message-actions{opacity:0;flex-direction:row}.chat-message:hover .chat-message-actions,.chat-message:focus-within .chat-message-actions{opacity:1;pointer-events:auto}.chat-message-actions .icon-button{width:30px;height:30px}.chat-compact .chat-message-content{max-width:none}.chat-compact .chat-feed{scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:18px 10px}.chat-compact .chat-message{gap:10px;padding:10px 4px}.chat-message+.chat-message{margin-top:5px}.chat-compact .chat-main-header{gap:8px;padding:12px 10px}.chat-main-header>div{min-width:0}.chat-compact .chat-main-header>svg{display:none}.chat-main-header>.icon-button{flex-shrink:0}.chat-main-header>div>span{font-size:11px;line-height:1.5;display:block}.chat-compact .chat-main-header>div>span{white-space:nowrap;text-overflow:ellipsis;max-width:165px;overflow:hidden}.chat-compose-actions{flex-wrap:nowrap;gap:4px;padding:6px 8px 8px}.chat-compose-actions>.icon-button,.chat-compose-actions>[data-state]{flex-shrink:0;width:32px;height:32px}.chat-compose-actions>.icon-button{color:var(--muted)}.chat-compose-actions>.icon-button:hover,.chat-compose-actions>.icon-button[data-state=open]{color:var(--text);background:var(--surface)}.chat-compose-actions>small{margin-left:8px}.chat-send-group{border-radius:7px;flex-shrink:0;align-items:stretch;margin-left:auto;display:flex}.chat-send-group .chat-send-now{border-radius:7px 0 0 7px;gap:6px;min-height:32px;padding:6px 10px}.chat-send-options{color:#fff;background:var(--accent);cursor:pointer;border:0;border-left:1px solid #ffffff35;border-radius:0 7px 7px 0;place-items:center;padding:0 5px;display:grid}.chat-send-options:hover{filter:brightness(1.1)}.chat-compose-priority{align-items:center;gap:6px;padding:8px 12px 0;display:flex}.chat-compose-priority .icon-button{width:22px;height:22px}.chat-compact .chat-compose{margin:8px 10px 10px}.chat-compact .chat-compose>textarea{min-height:64px;padding:10px 12px}.chat-compose-actions [data-hint]{position:relative}.chat-compose-actions [data-hint]:after{content:attr(data-hint);background:var(--text);width:max-content;max-width:220px;color:var(--bg);white-space:normal;pointer-events:none;opacity:0;z-index:5;border-radius:6px;padding:7px 9px;font-size:11px;font-weight:500;position:absolute;bottom:calc(100% + 8px);left:0}.chat-compose-actions [data-hint]:hover:after,.chat-compose-actions [data-hint]:focus-visible:after{opacity:1;transition:opacity .1s .45s}.chat-compose-actions [data-hint][aria-expanded=true]:after,.chat-compose-actions [data-hint][data-state=open]:after{display:none}.chat-picker-popover.field-popover{width:min(360px,100vw - 24px);max-height:min(480px, var(--radix-popover-content-available-height));overscroll-behavior:contain;background:var(--bg);border:1px solid var(--line);color:var(--text);scrollbar-width:thin;border-radius:12px;gap:12px;padding:14px;overflow-y:auto;box-shadow:0 8px 30px #0003}.chat-picker-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.chat-picker-heading h3{margin:0;font-size:13px;font-weight:600}.chat-picker-heading .icon-button{width:26px;height:26px}.chat-picker-description{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.chat-picker-popover .chat-emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.chat-picker-popover .chat-emoji-grid button{border-radius:7px;width:100%;min-width:0;height:35px;font-size:23px}.chat-picker-popover .chat-resource-results{scrollbar-width:thin;min-height:65px;max-height:235px}.chat-picker-popover .chat-resource-results button{gap:10px;padding:10px 8px}.chat-picker-popover .chat-resource-results strong{font-size:12px;font-weight:500}.chat-picker-popover .chat-resource-results small{font-size:10px}.chat-option-popover.field-popover{background:var(--bg);width:248px;color:var(--text);border-radius:10px;padding:6px;box-shadow:0 8px 28px #0003}.chat-option-popover h3{color:var(--muted);margin:0;padding:8px 10px 6px;font-size:11px;font-weight:600}.chat-option-row{width:100%;color:var(--text);cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.chat-option-row>svg{color:var(--muted);flex-shrink:0}.chat-option-row>span:first-of-type{flex:1}.chat-option-row>span>strong,.chat-option-row>span>small{display:block}.chat-option-row strong{font-size:12px;font-weight:500}.chat-option-row small{color:var(--muted);margin-top:3px;font-size:11px}.chat-option-row:hover,.chat-option-row:focus-visible{background:var(--surface)}.chat-option-row:disabled{opacity:.5;cursor:default}.chat-option-row[aria-pressed=true]>svg:last-child{color:var(--accent)}.chat-option-divider{background:var(--line);height:1px;margin:5px 6px}.chat-switch{background:var(--line);border-radius:12px;flex-shrink:0;width:27px;height:16px;padding:3px}.chat-switch:after{content:"";background:var(--muted);border-radius:50%;width:10px;height:10px;display:block}.chat-switch[data-checked=true]{background:var(--accent)}.chat-switch[data-checked=true]:after{background:#fff;transform:translate(11px)}.chat-role-policy-row{justify-content:space-between;align-items:center;gap:20px;margin:12px 0;display:flex}.chat-role-policy-row>.select-trigger{flex-shrink:0;width:210px}@media (hover:none){.chat-message-actions,.chat-compact .chat-message-actions{opacity:1;pointer-events:auto;box-shadow:none;background:0 0;border:0;flex-direction:column;padding:0;position:static}}@media (max-width:400px){.chat-send-now{font-size:0;gap:0!important}.chat-send-now svg{width:17px}.chat-compose-actions{gap:2px}.chat-role-policy-row{flex-direction:column;align-items:stretch;gap:8px}}@media (prefers-reduced-motion:reduce){.chat-message-actions,.chat-compose-actions [data-hint]:after{transition:none}}.chat-touch-actions{display:none}@media (hover:none){.chat-message-actions,.chat-compact .chat-message-actions{display:none}.chat-touch-actions{align-self:flex-start;display:block}.chat-touch-actions>.icon-button{width:28px;height:32px}}@media (max-width:400px){.chat-send-now>span{display:none}}.chat-send-options{color:var(--bg);background:var(--text);border-left-color:var(--bg)}.chat-picker-popover .chat-emoji-grid button{font-family:Noto Color Emoji,Apple Color Emoji,Segoe UI Emoji,sans-serif}.access-sensitive.chat-role-policy{flex-direction:column;gap:8px;display:flex}.chat-role-policy>.access-hint{margin:0}.chat-role-policy .chat-role-policy-row{margin:4px 0}.chat-message-reactions{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.chat-message-reactions button{border:1px solid var(--line);background:var(--surface);min-height:26px;color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:13px;display:inline-flex}.chat-message-reactions button:hover,.chat-message-reactions button.is-reacted{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--surface))}.chat-message-reactions .chat-add-reaction{opacity:.7}.chat-mention{color:var(--accent);overflow-wrap:anywhere;font-weight:600}.chat-compose-actions .chat-mention-picker{justify-content:center;width:34px;min-width:34px;padding:7px}.chat-compose-actions .chat-mention-picker>svg{display:none}.chat-compose-actions .chat-mention-picker .choice-value{flex:none;justify-content:center;align-items:center;display:inline-flex}
