.attachment-viewer{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:var(--surface,#fff);color:var(--text,#25253b);overflow:hidden}.attachment-viewer[open]{display:flex;flex-direction:column}.attachment-viewer::backdrop{background:#151520cc}.attachment-viewer header{display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;border-bottom:1px solid var(--border,#ddd);flex-shrink:0}.attachment-viewer header strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px}.attachment-viewer header button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:inherit}.attachment-viewer-content{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:12px;background:var(--surface-2,#f1f3f5)}.attachment-viewer-content>img,.attachment-viewer-content>video{max-width:100%;max-height:100%;object-fit:contain}.attachment-viewer-content>div{text-align:center;overflow-wrap:anywhere;max-width:100%;padding:20px}.attachment-viewer footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-shrink:0}.attachment-viewer footer p{font-size:13px;margin:0 0 10px}.attachment-viewer footer button{min-height:44px;margin:auto}.attachment-viewer [role=alert]{color:var(--danger,#a15b45)}.image-attachment>button{display:block;width:100%;padding:0}.attachment-card.file-attachment,.attachment-card.file-row{padding:0;gap:0}.attachment-card>.attachment-open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:12px;text-align:left;color:inherit;background:transparent;border-radius:8px}.attachment-card .attachment-open>div{min-width:0;flex:1}.attachment-card .attachment-open strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-card>.attachment-download{display:flex;align-items:center;justify-content:center;align-self:stretch;flex-shrink:0;min-width:44px;min-height:44px;color:var(--text-muted,#65758b);border-radius:8px}.attachment-card>.attachment-download:hover{background:var(--surface-3,#e5ecf2)}.attachment-card.attachment-caption{display:flex;align-items:center;max-width:100%;border-top:1px solid var(--border,#ddd)}.attachment-caption>.attachment-open{padding:10px 12px}.attachment-caption .attachment-open strong{font-size:12px;font-weight:500}.attachment-caption .attachment-open small{font-size:11px;color:var(--text-muted,#65758b)}.attachment-viewer-content>.attachment-document{display:block;width:100%;height:100%;border:0;background:#fff}.attachment-viewer-content>.attachment-text{align-self:stretch;width:100%;margin:0;padding:16px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;background:var(--surface,#fff);color:var(--text,#25253b);overflow:auto}@media(max-width:760px){.attachment-card>.attachment-open{padding:9px;gap:8px}.attachment-viewer-content{padding:8px}}.home-feed{height:100%;overflow:auto;padding:30px clamp(18px,3vw,48px) 48px;background:var(--surface-soft,#f7f9fc);color:var(--text,#242642)}.home-feed-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}.home-feed-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--link,#1765c4)}.home-feed-head h1{font-size:29px;letter-spacing:-.04em;margin:4px 0 5px}.home-feed-head p{font-size:13px;color:var(--text-muted,#6c7d8e)}.home-feed-create{position:relative;z-index:2}.home-feed-create-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:250px;padding:7px;border:1px solid var(--border-strong,#dbe2eb);border-radius:12px;background:var(--surface,#fff);box-shadow:0 15px 40px #15283a20}.home-feed-create-menu button{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;text-align:left;padding:9px 10px;border-radius:8px;font-size:13px}.home-feed-create-menu button:hover{background:var(--surface-2,#edf3fa)}.home-feed-create-menu svg{color:var(--link,#1765c4)}.home-feed-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,350px);gap:18px;align-items:start}.home-feed-main,.home-feed-side{display:grid;gap:18px;min-width:0}.home-feed-card{background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #14243808}.home-feed-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:59px;padding:14px 19px;border-bottom:1px solid var(--border,#edf0f4)}.home-feed-card>header h2{font-size:16px;letter-spacing:-.02em}.home-feed-card>header h2 span{font-size:13px;color:var(--link,#1765c4);margin-left:4px}.home-feed-card>header button{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-muted,#697a8b);padding:5px}.home-feed-card>header button:hover{color:var(--link,#1765c4)}.home-feed-rows{max-height:430px;overflow:auto}.home-feed-rows>button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;min-height:70px;padding:13px 19px;border-bottom:1px solid var(--border,#edf0f4)}.home-feed-rows>button:last-child{border-bottom:0}.home-feed-rows>button:hover{background:var(--surface-2,#f4f8fc)}.home-feed-row-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--accent-soft,#e7f5fb);color:var(--link,#1765c4);flex-shrink:0}.home-feed-row-text{flex:1;min-width:0}.home-feed-row-text strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.home-feed-row-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;color:var(--text-muted,#758597)}.home-feed-empty{padding:24px 19px;color:var(--text-muted,#8190a0);font-size:13px;text-align:center}.home-feed-blank{display:flex;align-items:center;flex-direction:column;gap:9px;padding:30px 18px 35px;text-align:center;color:var(--text-muted,#718296)}.home-feed-blank svg{color:var(--text-subtle,#9ab0c2)}.home-feed-blank strong{color:var(--text,#2e3650);font-size:14px}.home-feed-blank p{font-size:12px}.home-feed-outline{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-top:9px;padding:7px 13px;border:1px solid var(--border-strong,#cdd9e6);border-radius:9px;background:var(--surface,#fff);color:var(--text-2,#3d526b);font-size:12px}.home-feed-outline:hover{border-color:var(--link,#1765c4);color:var(--link,#1765c4)}.home-feed-week{display:grid;grid-template-columns:repeat(7,1fr);padding:12px 12px 8px;gap:3px}.home-feed-week button{display:flex;align-items:center;flex-direction:column;gap:5px;padding:7px 0;border-radius:9px;min-width:0}.home-feed-week button:hover{background:var(--surface-2,#f0f5fa)}.home-feed-week button[aria-current=date]{background:var(--accent-soft-2,#dfefff);color:var(--link,#1765c4)}.home-feed-week small{font-size:10px;color:var(--text-muted,#74859a)}.home-feed-week strong{font-size:13px}.home-feed-calendar-body{padding:8px 18px 22px}.home-feed-calendar-body h3{font-size:12px;margin:4px 0 12px;color:var(--text-2,#52647b)}.home-feed-calendar-body>.home-feed-outline{width:100%}.home-feed-event{display:flex;align-items:center;gap:9px;padding:10px 8px;border-radius:8px;background:var(--surface-2,#f4f7fb);font-size:12px;margin-bottom:6px}.home-feed-event svg{color:var(--link,#1765c4)}.home-feed-event small{display:block;color:var(--text-muted,#72839a);margin-top:2px}.home-feed-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:16px 2px 0}.home-feed-filters strong{grid-column:1/-1;font-size:12px;margin-top:6px}.home-feed-filters label{display:flex;align-items:center;gap:5px;font-size:11px}.home-feed-filter-note{grid-column:1/-1;color:var(--text-muted,#718397);font-size:11px}.home-feed-filters button{text-align:left;font-size:11px;color:var(--link,#1765c4)}.home-feed-error{margin:0 0 15px;padding:11px;border-radius:8px;background:var(--danger-soft,#fff0ee);color:var(--danger,#a1392c);font-size:12px}.home-feed-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:250;background:#0d1b2b88;display:flex;align-items:center;justify-content:center;padding:18px}.home-feed-dialog{width:min(100%,540px);max-height:min(90dvh,800px);overflow:auto;background:var(--surface,#fff);color:var(--text,#28344d);border-radius:16px;box-shadow:0 24px 70px #05112244}.home-feed-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--border,#e9edf2)}.home-feed-dialog>header h2{font-size:18px}.home-feed-dialog>header button{display:grid;place-items:center;width:32px;height:32px}.home-feed-dialog form,.home-feed-detail,.home-feed-unavailable{display:grid;gap:17px;padding:22px}.home-feed-dialog form label{display:grid;gap:7px;font-size:12px;font-weight:600}.home-feed-dialog input,.home-feed-dialog select,.home-feed-dialog textarea{width:100%;min-height:39px;border:1px solid var(--border-strong,#cfdae6);border-radius:8px;padding:9px 11px;background:var(--surface,#fff);color:var(--text,#28344d);font-size:14px}.home-feed-dialog textarea{resize:vertical;line-height:1.5}.home-feed-dialog select[multiple]{min-height:90px}.home-feed-dialog form small,.home-feed-detail small{color:var(--text-muted,#718397);font-size:11px}.home-feed-actions{display:flex;justify-content:flex-end;gap:8px}.home-feed-actions>button:first-child{padding:9px 14px}.home-feed-detail p{white-space:pre-wrap;line-height:1.7}.home-feed-detail .primary{justify-self:start}.home-feed-unavailable{text-align:center;justify-items:center;color:var(--text-muted,#718397)}@media(max-width:950px){.home-feed-grid{grid-template-columns:1fr}.home-feed-side{grid-template-columns:1fr 1fr}}@media(max-width:760px){.home-feed{padding:15px 12px 24px}.home-feed-head{align-items:flex-start}.home-feed-head h1{font-size:23px}.home-feed-head p{font-size:11px}.home-feed-head .primary{font-size:0;min-width:43px;width:43px;padding:10px}.home-feed-head .primary svg{width:20px;height:20px}.home-feed-side{grid-template-columns:1fr}.home-feed-create-menu{right:0;min-width:235px}.home-feed-card>header{padding:12px 14px}.home-feed-rows>button{padding:12px 14px}.home-feed-dialog input,.home-feed-dialog select,.home-feed-dialog textarea{font-size:16px}}.company-chart{padding:18px 0 30px}.company-chart-root,.company-chart-ceo{display:flex;align-items:center;gap:12px;width:min(380px,100%);margin:0 auto 34px;padding:20px 22px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);position:relative}.company-chart-root>span{margin-left:auto;color:var(--muted);font-size:13px}.company-chart-root:after{content:"";position:absolute;left:50%;top:100%;width:1px;height:34px;background:var(--border)}.company-chart-ceo{text-align:left;margin-bottom:40px}.company-chart-ceo strong{flex:1}.company-chart-ceo strong span{color:var(--link);margin-left:5px}.company-chart-ceo:after{content:"";position:absolute;left:50%;top:100%;width:1px;height:22px;background:var(--border)}.company-chart-ceo:hover{border-color:var(--link)}.company-chart-ceo:focus-visible{outline:2px solid var(--link);outline-offset:3px}.company-chart-teams{display:grid;grid-template-columns:repeat(var(--team-count),minmax(0,1fr));gap:18px;position:relative}.company-chart-teams:before{content:"";position:absolute;top:-18px;height:1px;left:calc((100% + 18px)/var(--team-count)/2 - 9px);right:calc((100% + 18px)/var(--team-count)/2 - 9px);background:var(--border)}.company-chart-team{border:1px solid var(--border);border-radius:14px;padding:18px;background:var(--surface);min-width:0;position:relative}.company-chart-team:before{content:"";position:absolute;left:50%;top:-18px;width:1px;height:18px;background:var(--border)}.company-chart-team header{display:flex;align-items:center;gap:8px;padding-bottom:16px;margin-bottom:8px;border-bottom:1px solid var(--border)}.company-chart-team h2{font-size:14px;flex:1;margin:0;overflow-wrap:anywhere}.company-chart-team header span{font-size:12px;color:var(--muted)}.company-chart-team>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 0;background:transparent;border:0;color:inherit;text-align:left;flex-wrap:wrap}.company-chart-team>button strong{font-size:13px;overflow-wrap:anywhere}.company-chart-team>button small{margin-left:auto;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.company-chart-team>p{font-size:12px;color:var(--muted);line-height:1.6;margin:16px 0 0}.company-chart-unassigned{border-style:dashed}@media(max-width:1500px){.company-chart-teams{grid-template-columns:repeat(3,minmax(0,1fr))}.company-chart-teams:before{left:calc((100% + 18px)/6 - 9px);right:calc((100% + 18px)/6 - 9px)}.company-chart-team:nth-child(n+4):before{display:none}}@media(max-width:760px){.company-chart-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.company-chart-teams:before{left:calc((100% + 12px)/4 - 6px);right:calc((100% + 12px)/4 - 6px)}.company-chart-team{padding:15px 12px}.company-chart-team:nth-child(n+3):before{display:none}.company-chart-team h2{font-size:13px}}@media(max-width:420px){.company-chart-teams{grid-template-columns:1fr}.company-chart-teams:before{display:none}.company-chart-team:first-child:before{height:18px}.company-chart-team:nth-child(n+2):before{display:none}.company-chart-ceo:after{height:40px}}.people-directory{flex:1;min-width:0;overflow:auto;padding:30px 36px;color:var(--text)}.directory-heading{margin-bottom:24px}.directory-heading h1{font-size:28px;letter-spacing:-.6px;margin:10px 0}.directory-heading h1 small{font-size:16px;color:var(--muted);font-weight:500}.directory-heading p{color:var(--muted);font-size:13px}.directory-tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:22px}.directory-tabs button{background:transparent;border:0;border-radius:0;border-bottom:3px solid transparent;padding:12px 0;font-weight:600}.directory-tabs button[aria-current=page]{border-color:var(--link);color:var(--link)}.directory-filters{display:flex;gap:10px;flex-wrap:wrap}.directory-search{flex:1;display:flex;align-items:center;gap:8px;min-width:210px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface)}.directory-search input{border:0;background:transparent;color:var(--text);width:100%;min-width:0;outline:0}.directory-filters select{max-width:220px;border:1px solid var(--border);border-radius:10px;padding:9px;background:var(--surface);color:var(--text)}.directory-results{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;margin:18px 0}.directory-results>div{display:flex;gap:6px}.directory-results button{display:flex;padding:8px}.directory-results button[aria-pressed=true]{background:var(--accent-soft);color:var(--link)}.directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:18px}.directory-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:24px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.directory-card-profile{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;border:0;background:transparent;color:inherit}.directory-card-profile h3{font-size:17px;margin:7px 0 0}.directory-card-profile p,.directory-card-profile small{margin:0;color:var(--muted)}.directory-email{font-size:12px;overflow-wrap:anywhere;text-align:center;margin:18px 0;color:var(--link)}.directory-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:auto}.directory-actions button,.directory-actions a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;font-size:12px}.directory-table-scroll{overflow:auto;border:1px solid var(--border);border-radius:12px}.directory-table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.directory-table th,.directory-table td{padding:13px;border-bottom:1px solid var(--border);text-align:left}.directory-table th{background:var(--surface-2);color:var(--muted)}.directory-name{display:flex;align-items:center;gap:10px;background:transparent;border:0;color:inherit}.directory-empty{padding:50px 15px;text-align:center;color:var(--muted)}.directory-org h2{display:flex;align-items:center;gap:12px;font-size:21px}.directory-org h2 small{font-size:13px;margin-left:auto;color:var(--muted)}.directory-org ul{list-style:none;padding-left:20px}.directory-org>ul{padding:0}.directory-org li{margin-top:12px}.directory-org li>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.directory-org li>button span{margin-left:auto;color:var(--muted);font-size:12px}.directory-profile{text-align:center}.directory-profile>.avatar{width:78px;height:78px;margin:auto}.directory-profile h2{margin:16px 0 8px}.directory-profile>p{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.directory-profile dl{display:grid;grid-template-columns:85px 1fr;text-align:left;border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:14px;padding:22px 0;margin:24px 0;font-size:13px}.directory-profile dt{color:var(--muted)}.directory-profile dd{margin:0;overflow-wrap:anywhere}.directory-import-dialog{max-width:660px;width:100%}.directory-import{font-size:13px}.directory-import>p{color:var(--muted);line-height:1.7}.directory-import label{display:flex;flex-direction:column;gap:8px;margin:16px 0}.directory-import input,.directory-import textarea{padding:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;min-width:0;width:100%;box-sizing:border-box}.directory-import pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-2);padding:14px;border-radius:8px}.directory-import-preview{max-height:250px;overflow:auto;margin:18px 0}.directory-import-preview article{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid var(--border);padding:10px 0}.directory-import-preview span,.directory-import-preview small{color:var(--muted);overflow-wrap:anywhere}.directory-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.directory-admin-actions>button{display:inline-flex;align-items:center;gap:6px}@media(max-width:760px){.people-directory{padding:22px 16px}.directory-heading h1{font-size:24px}.directory-filters select{flex:1;min-width:0;max-width:100%}.directory-search{flex-basis:100%;min-width:0}.directory-grid{grid-template-columns:1fr}.directory-org li>button{padding:13px;gap:8px}.directory-org ul{padding-left:12px}.directory-org h2{flex-wrap:wrap}.directory-import-dialog{max-height:90dvh}}.leave-policy-admin{min-width:0}.leave-policy-admin details{border-top:1px solid var(--line,#e4e7eb);padding:18px 0}.leave-policy-admin summary{cursor:pointer;font-weight:600;margin-bottom:14px}.lp-versions,.lp-checks,.lp-preview-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.lp-versions{margin-bottom:12px}.lp-versions button{font-size:12px}.lp-preview-controls{margin-top:20px}.lp-event-list{max-height:420px;overflow:auto;margin:14px 0}.lp-event-list article{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #e4e7eb;padding:12px 0;align-items:flex-start}.lp-event-list span,.lp-event-list small{color:#6b7280}.lp-qualification{padding:18px;background:#f5f7fa;margin-top:16px}.lp-evidence a{display:block;margin:8px 0}.leave-policy-admin select[multiple]{min-height:94px}@media(max-width:640px){.lp-preview-controls{align-items:stretch;flex-direction:column}.lp-checks{gap:10px}.leave-policy-admin h2{font-size:19px}.lp-event-list article{overflow-wrap:anywhere}}.lp-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}@media(max-width:640px){.lp-date-range{grid-template-columns:1fr}}.wf-workspace{background:var(--surface)}.wf-archive{padding:22px;overflow:auto}.wf-reference-link{color:var(--primary);text-align:left;text-decoration:underline;text-underline-offset:3px;border:0;background:transparent;padding:3px 0}.wf-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:24px;border-bottom:1px solid var(--border)}.wf-heading p{color:var(--text-muted);margin:8px 0 0;font-size:13px}.wf-heading button,.wf-actions button,.wf-pagination button,.wf-settings button{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border:1px solid var(--border);border-radius:var(--radius-control);color:var(--text);background:var(--surface)}.wf-workspace button.primary,.wf-settings button.primary{background:var(--primary);color:var(--on-primary,#fff);border-color:var(--primary)}.wf-content{max-width:1150px;padding:28px 42px 48px;margin:auto}.wf-content h2{font-size:21px;margin:0 0 24px}.wf-content h3{font-size:15px;margin:24px 0 12px;display:flex;gap:8px;align-items:center}.wf-message{margin:16px 42px}.wf-views{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:22px;overflow-x:auto}.wf-views button{white-space:nowrap;border:0;border-bottom:3px solid transparent;padding:8px 0 15px;color:var(--text-muted);background:transparent;font-weight:600}.wf-views .selected{color:var(--text);border-bottom-color:var(--primary)}.wf-filters{display:flex;gap:12px;align-items:center;margin-bottom:18px}.wf-filters input{flex:1;min-width:0}.wf-filters select{max-width:180px}.wf-filters button{white-space:nowrap;padding:10px;border:1px solid var(--border);border-radius:var(--radius-control)}.wf-document-list{border:1px solid var(--border);border-radius:var(--radius-control);overflow:hidden}.wf-document-row{width:100%;display:flex;align-items:center;gap:16px;padding:18px 20px;text-align:left;background:var(--surface);color:var(--text);border:0;border-bottom:1px solid var(--border)}.wf-document-row:last-child{border-bottom:0}.wf-document-row:hover{background:var(--surface-2)}.wf-document-row>svg{flex-shrink:0;color:var(--primary)}.wf-document-row>span:first-of-type{flex:1;min-width:0}.wf-document-row strong{display:block;overflow-wrap:anywhere}.wf-document-row small{display:block;color:var(--text-muted);margin-top:7px;font-size:12px}.wf-status{white-space:nowrap;font-size:12px;padding:5px 9px;border-radius:30px;color:var(--text-muted);background:var(--surface-2)}.wf-status-pending,.wf-status-cancel_pending{color:var(--primary);background:var(--accent-soft,var(--surface-2))}.wf-status-approved{color:var(--success,#147349)}.wf-status-rejected{color:var(--danger,#bf3451)}.wf-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wf-template-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:112px;padding:22px;border:1px solid var(--border);border-radius:var(--radius-control);color:var(--text);background:var(--surface);text-align:left}.wf-template-grid button:hover{border-color:var(--primary);background:var(--surface-2)}.wf-template-grid svg{color:var(--primary)}.wf-template-grid small{color:var(--text-muted);font-size:12px}.wf-empty{text-align:center;padding:65px 12px;color:var(--text-muted)}.wf-empty svg{color:var(--primary)}.wf-empty h3{display:block;font-size:17px;color:var(--text)}.wf-empty p{font-size:13px}.wf-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px}.wf-admin{margin-top:36px;border-top:1px solid var(--border);padding-top:20px}.wf-admin summary,.wf-history summary{cursor:pointer;font-weight:600}.wf-admin summary svg{vertical-align:middle;margin-right:8px}.wf-admin>p{color:var(--text-muted);font-size:13px;margin:16px 0}.wf-admin .wf-template-grid button{min-height:90px}.wf-editor{max-width:950px}.wf-editor-title{padding-bottom:24px}.wf-editor-title>span{color:var(--primary);font-size:12px}.wf-editor-title h2{margin:9px 0}.wf-editor-title small{color:var(--text-muted)}.wf-editor .ds-field,.wf-settings .ds-field{margin-bottom:20px;gap:8px}.wf-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.wf-field-grid .wf-file,.wf-reference{grid-column:1/-1}.wf-required-mark{color:var(--danger,#bf3451);font-size:12px}.wf-file-row{display:flex;justify-content:space-between;gap:10px;padding:10px;background:var(--surface-2);align-items:center}.wf-file-row a{overflow-wrap:anywhere;color:var(--primary)}.wf-file-row button{white-space:nowrap;font-size:12px}.wf-hint{font-size:12px;line-height:1.7;color:var(--text-muted)}.wf-policy-preview{padding:4px 20px 16px;background:var(--surface-2);border-radius:var(--radius-control);margin-top:22px}.wf-policy-preview p{font-size:13px;line-height:1.6}.wf-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}.wf-detail{max-width:950px}.wf-detail header{border-bottom:1px solid var(--border);padding-bottom:20px}.wf-detail header h2{margin:18px 0 10px;overflow-wrap:anywhere}.wf-detail header p{font-size:13px;color:var(--text-muted)}.wf-values{display:grid;grid-template-columns:1fr 1fr;margin:24px 0;gap:20px}.wf-values dt{font-size:12px;color:var(--text-muted);margin-bottom:8px}.wf-values dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.wf-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.wf-detail-file{display:flex;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid var(--border);color:var(--primary);overflow-wrap:anywhere}.wf-detail-file small{color:var(--text-muted)}.wf-approval-list{padding:0;list-style:none}.wf-approval-list li{display:flex;align-items:center;gap:12px;padding:13px;border-bottom:1px solid var(--border)}.wf-approval-list li>span:first-of-type{flex:1}.wf-approval-list small{display:block;color:var(--text-muted);margin-top:7px;white-space:pre-wrap}.wf-approval-list .current{background:var(--surface-2)}.wf-approval-list li>span:last-child{font-size:12px;color:var(--text-muted)}.wf-decision{border:1px solid var(--border);padding:20px;border-radius:var(--radius-control);margin:28px 0}.wf-history{margin-top:28px}.wf-history>div{padding:14px 0;border-bottom:1px solid var(--border)}.wf-history strong{font-size:13px}.wf-history small{display:block;color:var(--text-muted);margin-top:5px;font-size:12px}.wf-history p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.wf-settings{width:min(700px,calc(100vw - 32px));max-height:90dvh}.wf-settings form{padding:20px 26px;overflow:auto}.wf-settings h3{font-size:15px;margin:22px 0 15px}.wf-step{border:1px solid var(--border);padding:16px;border-radius:var(--radius-control);margin-bottom:18px}.wf-step legend{font-size:13px;padding:0 7px}.wf-settings select[multiple]{min-height:130px}.wf-required{display:flex;gap:14px 20px;flex-wrap:wrap;margin:16px 0 24px}.wf-required label{display:flex;gap:8px;align-items:center;font-size:13px}.wf-required input{width:auto}.wf-workspace button:disabled,.wf-settings button:disabled{opacity:.5;cursor:default}@media(max-width:760px){.wf-heading{padding:22px 20px}.wf-heading h1{font-size:22px}.wf-heading p{max-width:200px;line-height:1.6}.wf-content{padding:22px 20px 40px}.wf-message{margin:16px 20px}.wf-template-grid{grid-template-columns:1fr 1fr;gap:12px}.wf-template-grid button{padding:16px;min-height:115px}.wf-views{gap:20px}.wf-field-grid,.wf-values{grid-template-columns:1fr}.wf-document-row{padding:15px 12px;gap:10px}.wf-filters{flex-wrap:wrap}.wf-filters input{flex-basis:100%}.wf-filters select{flex:1;max-width:none}.wf-status{font-size:11px}.wf-settings form{padding:16px}.wf-heading button{white-space:nowrap;padding:9px 11px}}@media(max-width:390px){.wf-template-grid{grid-template-columns:1fr}.wf-heading p{display:none}.wf-document-row>svg{display:none}.wf-views{gap:16px;font-size:13px}}.wf-country-fields{border:0;padding:0;min-width:0}.wf-country-mappings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;max-height:360px;overflow:auto;padding:8px 0}.todo-workspace{width:100%;height:100%;overflow:auto;padding:28px clamp(18px,3vw,44px) 60px;color:var(--text);background:var(--surface)}.todo-workspace button,.todo-workspace select,.todo-workspace input,.todo-workspace textarea{font:inherit}.todo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.todo-heading h1{font-size:27px;margin:0 0 6px}.todo-heading p{margin:0;color:var(--text-muted);font-size:13px}.todo-heading>button,.todo-filters button,.todo-actions button,.todo-edit button,.todo-pages button{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:9px 12px;display:inline-flex;align-items:center;gap:6px;color:var(--text);cursor:pointer}.todo-heading>button:hover,.todo-filters button:hover,.todo-actions button:hover,.todo-edit button:hover,.todo-pages button:hover{background:var(--surface-2)}.todo-tabs{display:flex;gap:18px;border-bottom:1px solid var(--border);margin-bottom:18px}.todo-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:11px 3px;color:var(--text-muted);cursor:pointer;font-weight:600}.todo-tabs button.selected{border-color:var(--accent,#4f72d9);color:var(--text)}.todo-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:10px}.todo-toolbar label{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:12px}.todo-toolbar select,.todo-filters select,.todo-search input,.todo-edit input,.todo-edit textarea{border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);min-height:37px;padding:7px 9px}.todo-search{flex:1;min-width:220px;max-width:420px;border:1px solid var(--border);border-radius:8px;padding-left:10px}.todo-search input{width:100%;border:0;outline:none}.todo-filters{margin-bottom:10px}.todo-filters summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--text-muted);font-size:13px;padding:7px 0;list-style:none}.todo-filters>div{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;background:var(--surface-2);border-radius:9px}.todo-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--text-muted)}.todo-filters select{min-width:130px}.todo-count{font-size:12px;color:var(--text-muted);margin:14px 0}.todo-group{margin-bottom:19px}.todo-group h2{font-size:13px;font-weight:700;background:var(--surface-2);padding:10px 12px;margin:0}.todo-group h2 small{color:var(--text-muted);margin-left:6px}.todo-row{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:14px 12px;border:0;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer}.todo-row:hover{background:var(--surface-2)}.todo-state{flex:0 0 13px;width:13px;height:13px;border:2px solid var(--text-muted);border-radius:50%}.todo-state.in_progress{border-color:#2b9a64;background:#d6f5e3}.todo-state.completed{border-color:#3286dc;background:#3286dc}.todo-state.rejected{border-color:#e85d4a;background:#e85d4a}.todo-state.cancelled{border-color:#aaa;background:#aaa}.todo-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.todo-row-main strong,.todo-row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-row-main strong{font-size:14px}.todo-row-main small,.todo-row-meta,.todo-due,.todo-date{font-size:12px;color:var(--text-muted)}.todo-row-meta,.todo-due{max-width:20%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-due{color:#c65736}.todo-date{white-space:nowrap}.todo-empty{text-align:center;padding:75px 15px;color:var(--text-muted)}.todo-empty h2{font-size:18px;color:var(--text)}.todo-pages{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px}.todo-error{padding:12px;border-radius:7px;background:var(--warning-soft);color:var(--warning)}.todo-detail .todo-heading{justify-content:flex-start}.todo-detail .todo-heading h1{font-size:19px}.todo-detail-card{max-width:900px;border:1px solid var(--border);border-radius:12px;padding:25px;background:var(--surface)}.todo-detail-head{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12px}.todo-badge{padding:5px 8px;border-radius:30px;background:var(--surface-2)}.todo-badge.completed{background:#e0f1ff;color:#2774a9}.todo-badge.in_progress{background:#e2f5e9;color:#247b4f}.todo-detail-card h2{font-size:23px;margin:19px 0 10px}.todo-body{white-space:pre-wrap;line-height:1.7;min-height:45px}.todo-detail-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.todo-detail-card dl>div{display:flex;gap:12px}.todo-detail-card dt{color:var(--text-muted);min-width:55px}.todo-detail-card dd{margin:0}.todo-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:18px}.todo-actions button:disabled,.todo-pages button:disabled{opacity:.5;cursor:default}.todo-edit{display:grid;gap:14px;margin-top:18px}.todo-edit label{display:grid;gap:6px;font-size:12px;color:var(--text-muted)}.todo-edit>div{display:flex;gap:8px}.todo-history{border-top:1px solid var(--border);margin-top:20px;padding-top:12px}.todo-history h3{font-size:15px}.todo-history p{display:flex;gap:9px;align-items:center;font-size:13px;color:var(--text-muted)}.todo-history small{margin-left:8px}@media(max-width:760px){.todo-workspace{padding:16px 14px 90px}.todo-heading h1{font-size:23px}.todo-toolbar{align-items:stretch}.todo-search{min-width:100%;max-width:none}.todo-toolbar label:not(.todo-search){flex:1}.todo-toolbar select{width:100%}.todo-row{display:grid;grid-template-columns:13px minmax(0,1fr);gap:7px 10px}.todo-row-main{grid-column:2}.todo-row-meta,.todo-due,.todo-date{grid-column:2;max-width:none}.todo-detail-card{padding:16px}.todo-detail-card dl{grid-template-columns:1fr}.todo-filters>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.todo-filters select{min-width:0;width:100%}}@media(max-width:760px){.todo-toolbar label:not(.todo-search){flex:1 1 100%;display:grid;grid-template-columns:48px minmax(0,1fr)}.todo-toolbar>select{flex:1 1 100%}}.hr-workspace{flex:1;min-height:0;overflow:auto;color:var(--text);font-size:14px;background:var(--surface)}.hr-page-header{padding:32px 42px 0}.hr-page-header h1{margin:0;font-size:24px;line-height:32px;letter-spacing:-.5px}.hr-page-description{margin-top:8px;color:var(--text-muted);font-size:13px;line-height:1.6}.hr-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;max-width:1440px;margin-inline:auto;padding:24px 42px 0}.hr-admin-summary button{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 12px;min-width:0;min-height:112px;padding:18px 20px;text-align:left;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text)}.hr-admin-summary button:hover{border-color:var(--primary);background:var(--surface-2)}.hr-admin-summary svg{color:var(--primary)}.hr-admin-summary span{font-size:13px;color:var(--text-muted);overflow-wrap:anywhere}.hr-admin-summary strong{grid-column:2;font-size:24px;line-height:1.2}.hr-page-header,.hr-columns,.hr-leave-page,.hr-leave-subpage{width:100%;max-width:1440px;margin-inline:auto}.hr-tabs{display:none;gap:28px;flex:none;padding:25px 42px 0;border-bottom:1px solid var(--border);overflow-x:auto}.hr-tabs button{border:0;border-bottom:3px solid transparent;padding:0 2px 15px;white-space:nowrap;background:transparent;color:var(--text-muted);cursor:pointer;font:inherit;font-weight:650}.hr-tabs button.selected{border-bottom-color:var(--primary);color:var(--text)}.hr-tabs b{margin-left:7px;padding:2px 6px;border-radius:999px;background:var(--primary);color:#fff;font-size:11px}.hr-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6);padding:24px 42px 48px;align-content:start;align-items:start}.hr-card{min-width:0;padding:24px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);container-type:inline-size}.hr-card.hr-wide{grid-column:1/-1}.hr-card h3{margin:0 0 20px;font-size:16px;line-height:24px;font-weight:600}.hr-card h4{margin:24px 0 12px;font-size:14px}.hr-card h3 small{color:var(--text-muted);font-size:13px}.hr-card summary{cursor:pointer;font-size:16px;font-weight:700}.hr-card summary+.hr-list{margin-top:16px}.hr-report-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.hr-report-head>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hr-report-head input{width:auto}.hr-download{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid var(--control-border);border-radius:var(--radius-control);font-weight:600}.hr-download:hover{background:var(--surface-2)}.hr-card form{display:grid;gap:var(--space-4)}.hr-card form label{margin:0}.hr-card .hr-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.hr-span{grid-column:1/-1}.hr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hr-checkin{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.hr-checkin .ds-field{flex:1;max-width:320px;min-width:160px}.hr-card .hr-check{display:flex;align-items:center;gap:9px}.hr-card .hr-check input{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--primary)}.hr-card button,.hr-detail button{min-height:40px;border:1px solid var(--control-border);border-radius:var(--radius-control);padding:9px 16px;background:var(--surface);color:var(--text);cursor:pointer;font:inherit;line-height:20px;font-weight:600}.hr-card button:hover,.hr-detail button:hover{background:var(--surface-2)}.hr-card button.primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.hr-card button.primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.hr-card button.primary:active{background:var(--primary-active)}.hr-card button:disabled{opacity:.5;cursor:not-allowed}.hr-actions{display:flex;gap:8px;flex-wrap:wrap}.hr-hero{font-size:17px;font-weight:700}.hr-muted,.hr-hint{color:var(--text-muted);line-height:1.5}.hr-hint{font-size:12px}.hr-card>.hr-hint{margin-top:16px}.hr-card .hr-hint{font-size:13px;line-height:20px;overflow-wrap:anywhere}.hr-card .hr-form-actions{padding-top:4px}.hr-list{display:grid;gap:10px}.hr-row{display:grid;gap:7px;padding:13px 14px;border:1px solid var(--border);border-radius:9px;overflow-wrap:anywhere}.hr-row strong{font-weight:650}.hr-row span{color:var(--text-muted);font-size:13px}.hr-row p{margin:0;white-space:pre-wrap}.hr-row button{justify-self:start}.hr-row .hr-actions button{justify-self:auto}.hr-error,.hr-notice{margin:14px 42px 0;padding:11px 14px;border-radius:8px}.hr-error{background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger)}.hr-notice{background:color-mix(in srgb,var(--primary) 10%,var(--surface));color:var(--text)}.hr-detail{position:sticky;bottom:0;z-index:2;padding:18px 24px;border-top:2px solid var(--primary);background:var(--surface);box-shadow:0 -8px 24px #0002}.hr-detail-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.hr-detail h3{margin:0}.hr-detail h4{margin:14px 0 6px}.hr-detail p{white-space:pre-wrap}.hr-detail ul{margin:0;padding-left:20px}.hr-bank{display:grid;gap:4px;padding:10px;border-radius:8px;background:var(--surface-2)}.hr-side-nav{padding-top:24px}.hr-side-nav .workspace-title{height:77px}.hr-side-label{margin:24px 9px 12px;color:var(--text-muted);font-size:11px;font-weight:700}.hr-side-nav .room-link{gap:12px;font-size:14px;min-height:46px}.hr-leave-views{display:flex;gap:28px;padding:24px 42px 0;border-bottom:1px solid var(--border);overflow-x:auto}.hr-leave-views button{flex:none;padding:0 1px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--text-muted);font:inherit;font-weight:650;white-space:nowrap;cursor:pointer}.hr-leave-views button.selected{border-bottom-color:var(--primary);color:var(--text)}.hr-leave-page,.hr-leave-subpage{padding:36px 42px 64px}.hr-annual-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:20px}.hr-annual-summary>div{display:grid;gap:12px;min-width:0;padding:20px 22px;border-right:1px solid var(--border)}.hr-annual-summary>div:last-child{border-right:0}.hr-annual-summary span{font-size:12px;color:var(--text-muted)}.hr-annual-summary strong{font-size:20px}.hr-annual-summary .positive,.hr-annual-table .positive{color:var(--ok,#25884b)}.hr-annual-summary .negative,.hr-annual-table .negative{color:var(--danger,#c84736)}.hr-annual-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:11px}.hr-annual-table{width:100%;min-width:620px;border-collapse:collapse;text-align:left}.hr-annual-table th,.hr-annual-table td{padding:16px 14px;border-bottom:1px solid var(--border);font-size:13px}.hr-annual-table thead{background:var(--surface-2)}.hr-annual-table tbody tr:last-child th,.hr-annual-table tbody tr:last-child td{border-bottom:0}.hr-annual-table tbody th{font-weight:600}.hr-plan-admin,.hr-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;border:1px solid var(--border);border-radius:11px;margin-bottom:20px}.hr-plan-admin>div{display:grid;gap:5px}.hr-plan-admin span,.hr-plan-summary span{font-size:12px;color:var(--text-muted)}.hr-plan-admin button,.hr-plan-actions button{border:1px solid var(--primary);border-radius:8px;padding:9px 15px;background:var(--primary);color:#fff;font:inherit;cursor:pointer}.hr-plan-admin button:disabled,.hr-plan-actions button:disabled{opacity:.5;cursor:not-allowed}.hr-plan-summary{justify-content:flex-start}.hr-plan-summary strong{font-size:20px}.hr-plan-summary span:last-child{margin-left:auto}.hr-plan-empty{display:grid;justify-items:center;align-content:center;gap:12px;min-height:360px;text-align:center;color:var(--text-muted)}.hr-plan-empty strong{font-size:17px;color:var(--text)}.hr-plan-empty p{margin:0;font-size:13px}.hr-plan-form{border:1px solid var(--border);border-radius:11px;overflow:hidden}.hr-plan-head,.hr-plan-row{display:grid;grid-template-columns:90px 170px minmax(0,1fr);gap:16px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border)}.hr-plan-head{background:var(--surface-2);font-size:12px;font-weight:650;color:var(--text-muted)}.hr-plan-row label{min-width:0}.hr-plan-row input{box-sizing:border-box;width:100%;min-height:40px;padding:8px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}.hr-plan-row .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}.hr-plan-row input:disabled{opacity:.7}.hr-plan-actions{display:flex;justify-content:flex-end;padding:16px}.hr-plan-team{margin-top:36px}.hr-plan-team h3{font-size:18px}.hr-leave-section{min-width:0}.hr-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.hr-section-head h2{font-size:21px;letter-spacing:-.5px;margin:0}.hr-section-head p{font-size:13px;color:var(--text-muted);margin-top:8px;line-height:1.5}.hr-leave-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hr-leave-type{min-width:0;min-height:165px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:20px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;color:var(--text);transition:border-color .15s,background .15s,box-shadow .15s}.hr-leave-type:hover,.hr-leave-type.selected{border-color:var(--primary);box-shadow:0 4px 18px color-mix(in srgb,var(--primary) 10%,transparent)}.hr-leave-type.selected{background:color-mix(in srgb,var(--primary) 4%,var(--surface))}.hr-type-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--surface-2);color:var(--text-muted)}.hr-leave-type.selected .hr-type-icon{background:var(--primary);color:#fff}.hr-type-meta{display:grid;gap:7px;min-width:0}.hr-type-meta strong{font-size:15px;overflow-wrap:anywhere}.hr-type-meta>span{font-size:14px;color:var(--text-muted)}.hr-leave-page>.hr-leave-section>.hr-hint{margin-top:14px}.hr-leave-request{margin-top:28px;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft,var(--surface))}.hr-leave-request .hr-section-head{margin-bottom:16px}.hr-form-close{padding:7px 10px;color:var(--text-muted);font-size:13px}.hr-leave-request form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hr-leave-request label{display:grid;gap:8px;font-size:13px;font-weight:650}.hr-leave-request input,.hr-leave-request select,.hr-leave-request textarea,.hr-history-filters select{min-width:0;width:100%;border:1px solid var(--border-strong,var(--border));border-radius:9px;padding:10px 12px;background:var(--surface);color:var(--text)}.hr-leave-request input,.hr-leave-request select{min-height:42px}.hr-leave-request textarea{min-height:86px;resize:vertical}.hr-form-reason,.hr-form-actions{grid-column:1/-1}.hr-form-actions{display:flex;justify-content:flex-end}.hr-leave-history{margin-top:55px}.hr-history-filters{display:flex;align-items:center;gap:8px}.hr-history-filters select{width:auto;font-size:12px;padding:8px 10px}.hr-year-picker{display:flex;align-items:center;border:1px solid var(--border);border-radius:9px}.hr-year-picker select{border:0;text-align:center;min-width:78px;padding:8px 0}.hr-year-picker button{display:grid;place-items:center;min-width:29px;min-height:32px;color:var(--text-muted)}.hr-leave-list{border-top:1px solid var(--border)}.hr-leave-record{display:flex;align-items:center;gap:15px;min-height:82px;padding:15px 4px;border-bottom:1px solid var(--border)}.hr-record-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:10px;background:var(--surface-2);color:var(--primary)}.hr-record-main{display:grid;gap:6px;min-width:0;flex:1}.hr-record-main strong{font-size:14px}.hr-record-main span{font-size:12px;color:var(--text-muted);overflow-wrap:anywhere}.hr-status,.hr-record-duration{flex-shrink:0;font-size:12px;font-weight:650}.hr-status{padding:4px 8px;border-radius:6px;background:var(--surface-2);color:var(--text-muted)}.hr-status-approved{background:var(--ok-soft,#e5f6ec);color:var(--ok,#207640)}.hr-status-rejected,.hr-status-cancelled{background:var(--danger-soft,#fff0eb);color:var(--danger,#a24a3a)}.hr-record-duration{padding:4px 8px;border-radius:6px;background:var(--surface-2);color:var(--text)}.hr-leave-record>button{flex-shrink:0;padding:6px 10px;border:1px solid var(--border);border-radius:7px;font-size:12px}.hr-leave-empty{padding:36px 10px;border-top:1px solid var(--border);text-align:center;color:var(--text-muted)}@media(max-width:1250px){.hr-leave-types{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.hr-leave-types{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hr-tabs{display:flex}}@container (max-width:440px){.hr-two{grid-template-columns:1fr}}@media(min-width:701px)and (max-width:1100px){.hr-columns{grid-template-columns:1fr}}@media(max-width:1200px){.hr-admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.hr-card button,.hr-detail button,.hr-download,.hr-card .hr-check{min-height:44px}}@media(max-width:700px){.hr-admin-summary{padding:18px 14px 6px;gap:10px}.hr-admin-summary button{min-height:100px;padding:14px;gap:8px}.hr-page-header{padding:24px 18px 0}.hr-tabs{padding:20px 18px 0;gap:20px}.hr-columns{grid-template-columns:1fr;padding:12px 14px 24px}.hr-card.hr-wide{grid-column:auto}.hr-card{padding:16px}.hr-card .hr-form-grid,.hr-two{grid-template-columns:1fr}.hr-span{grid-column:auto}.hr-error,.hr-notice{margin:12px 18px 0}.hr-leave-page{padding:26px 18px 42px}.hr-leave-views{padding:20px 18px 0;gap:20px}.hr-leave-subpage{padding:26px 18px 42px}.hr-annual-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-annual-summary>div{padding:14px;border-bottom:1px solid var(--border)}.hr-plan-head,.hr-plan-row{grid-template-columns:48px 88px minmax(0,1fr);gap:7px;padding:10px}.hr-leave-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hr-leave-type{min-height:135px;padding:14px}.hr-type-meta strong{font-size:13px}.hr-type-meta>span{font-size:12px}.hr-leave-request{padding:18px}.hr-leave-request form{grid-template-columns:1fr}.hr-section-head{flex-wrap:wrap}.hr-history-filters{width:100%}.hr-leave-history{margin-top:42px}.hr-leave-record{gap:9px;flex-wrap:wrap}.hr-record-main{flex-basis:calc(100% - 60px)}}.ds-dialog.people-detail-dialog{width:min(1140px,calc(100vw - 48px));max-width:none;height:min(900px,calc(100dvh - 48px));display:flex;flex-direction:column;overflow:hidden;padding:0}.ds-dialog.people-detail-dialog.is-expanded{width:calc(100vw - 48px);height:calc(100dvh - 48px)}.ds-dialog.people-detail-dialog>.people-detail-cover{padding:17px 22px;overflow:visible;min-height:90px;box-sizing:border-box}.ds-dialog.people-detail-dialog>.people-detail-profile{padding:0 28px 18px;overflow:visible;min-height:85px;box-sizing:border-box}.ds-dialog.people-detail-dialog>.people-detail-tabs{padding:0 28px;overflow:visible;min-height:42px}.ds-dialog.people-detail-dialog>.people-detail-layout{padding:0;overflow:hidden;min-height:0}.people-detail-dialog .ds-dialog-header{padding:13px 22px;border-bottom:1px solid var(--border);flex-shrink:0}.people-detail-dialog .ds-dialog-header h2{font-size:13px;color:var(--text-muted)}.people-detail-cover{height:90px;flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;padding:17px 22px;background:linear-gradient(110deg,color-mix(in srgb,var(--primary) 25%,var(--surface)),var(--surface));border-bottom:1px solid var(--border)}.people-detail-cover-mark{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:13px;letter-spacing:.12em}.people-detail-profile{display:flex;align-items:center;gap:15px;padding:0 28px 18px;margin-top:-20px;z-index:1;flex-shrink:0}.people-detail-profile>.avatar{width:68px;height:68px;font-size:22px;border:5px solid var(--surface);border-radius:20px}.people-detail-profile>div{padding-top:26px}.people-detail-profile h2{margin:0 0 7px;font-size:23px}.people-detail-profile p{display:flex;align-items:center;gap:6px;margin:0;color:var(--text-muted);font-size:12px}.people-detail-profile>.people-status{margin-left:auto;align-self:flex-end;margin-bottom:5px}.people-detail-profile>button{align-self:flex-end;font-size:12px}.people-detail-tabs{padding:0 28px;display:flex;gap:23px;align-items:center;border-bottom:1px solid var(--border);flex-shrink:0}.people-detail-tabs>button{display:flex;align-items:center;gap:6px;border:0;border-radius:0;background:transparent;padding:12px 0;color:var(--text-muted)}.people-detail-tabs>button.selected{color:var(--text);border-bottom:2px solid var(--primary)}.people-detail-tabs>span{display:flex;gap:5px;align-items:center;margin-left:auto;color:var(--text-muted);font-size:11px}.people-detail-layout{display:flex;min-height:0;flex:1}.people-detail-main{flex:1;min-width:0;overflow:auto;padding:25px 28px 45px;scroll-behavior:smooth;position:relative}.people-detail-sidebar{width:235px;flex-shrink:0;border-left:1px solid var(--border);overflow:auto;padding:22px 18px;font-size:12px}.people-detail-sidebar h3{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:0 0 12px}.people-detail-sidebar>a{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text);word-break:break-all}.people-detail-sidebar>span{display:block;margin-top:8px;color:var(--text-muted)}.people-detail-summary{display:grid;gap:7px;border:1px solid var(--border);border-radius:10px;padding:13px;margin:20px 0}.people-detail-summary>span,.people-detail-summary>div>span{color:var(--text-muted);font-size:11px}.people-detail-summary>strong{font-size:17px}.people-detail-summary>div{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:10px;margin-top:5px}.people-detail-sidebar nav>span{display:block;color:var(--text-muted);margin:22px 6px 9px}.people-detail-sidebar nav button{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;padding:8px 6px;font-size:11px;color:var(--text-muted)}.people-detail-sidebar nav button:hover,.people-detail-sidebar nav button.selected{color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,transparent)}.people-detail-information-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.people-detail-information-heading h3{font-size:19px;margin:0 0 8px}.people-detail-information-heading p{font-size:12px;color:var(--text-muted);margin:0}.people-detail-checkbox{display:flex;align-items:center;gap:7px;font-size:12px}.people-detail-checkbox input{width:15px;height:15px;margin:0;accent-color:var(--primary)}.people-detail-section{border:1px solid var(--border);border-radius:12px;padding:18px 20px;margin-bottom:18px;scroll-margin-top:18px}.people-detail-section>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.people-detail-section h3{font-size:14px;margin:0;display:flex;gap:9px;align-items:center}.people-detail-section h3 small{font-size:11px;color:var(--text-muted);font-weight:400}.people-detail-section>header>button{display:flex;align-items:center;gap:4px;font-size:11px;padding:5px 9px;background:transparent}.people-detail-record dl{display:grid;grid-template-columns:1fr 1fr;gap:13px 24px;margin:0}.people-detail-record dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;align-items:start}.people-detail-record dt{color:var(--text-muted);font-size:11px;padding-top:2px}.people-detail-record dd{font-size:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.people-detail-wide{grid-column:1/-1}.people-detail-empty{color:var(--text-muted);font-size:12px;margin:6px 0;line-height:1.8}.people-detail-record+.people-detail-record{border-top:1px solid var(--border);margin-top:17px;padding-top:17px}.people-detail-record-tools{display:flex;align-items:center;gap:7px;margin:0 0 13px}.people-detail-record-tools>span{flex:1;color:var(--text-muted);font-size:11px}.people-detail-record-tools button{font-size:10px;padding:4px 8px}.people-detail-record.is-archived{opacity:.7}.people-detail-total{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding-bottom:12px;font-size:11px;color:var(--text-muted)}.people-detail-total strong{color:var(--text);font-size:14px}.people-detail-secret{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.people-detail-secret button{padding:2px 5px;font-size:9px}.people-detail-assignment-value{display:block}.people-detail-edit>header{display:flex;align-items:center;gap:13px;margin-bottom:25px}.people-detail-edit>header h3{font-size:17px;margin:0}.people-detail-edit>header button{display:flex;align-items:center;gap:4px;font-size:11px;border:0;background:transparent}.people-detail-edit fieldset{padding:0;margin:0;border:0;min-width:0}.people-detail-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.people-detail-form-grid .ds-field{font-size:12px;min-width:0}.people-detail-form-grid input,.people-detail-form-grid select,.people-detail-form-grid textarea,.people-detail-change-note textarea{width:100%;font-size:13px;box-sizing:border-box}.people-detail-form-grid .people-detail-checkbox{min-height:45px}.people-detail-input{display:flex;gap:5px}.people-detail-input button{font-size:11px;flex-shrink:0}.people-detail-assignments{grid-column:1/-1;display:grid;gap:12px;font-size:12px}.people-detail-assignments>button{justify-self:start;display:flex;gap:5px;align-items:center;font-size:11px}.people-detail-assignment{padding:13px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:2fr 1fr;gap:8px}.people-detail-assignment>button{justify-self:end;font-size:11px}.people-detail-change-note{margin-top:25px;font-size:12px}.people-detail-edit footer{display:flex;justify-content:flex-end;gap:8px;padding-top:22px}.people-detail-history>h3{font-size:17px;margin-top:0}.people-detail-history article{border:1px solid var(--border);border-radius:10px;padding:16px;margin-bottom:15px;font-size:12px}.people-detail-history article header{display:flex;justify-content:space-between;gap:12px;font-size:12px}.people-detail-history time{color:var(--text-muted);font-size:10px}.people-detail-history p{color:var(--text-muted);font-size:11px}.people-detail-history-row{display:grid;grid-template-columns:110px 1fr 12px 1fr;gap:9px;margin-top:10px;align-items:start;overflow-wrap:anywhere;font-size:11px}.people-detail-history-row>span:first-child{color:var(--text-muted)}.people-detail-core-history{margin:25px 0}.people-detail-core-history>summary{font-size:12px;cursor:pointer;margin-bottom:15px}.people-detail-account{border-top:1px solid var(--border);padding-top:18px;margin-top:18px;display:grid;gap:8px}.people-detail-account>button{font-size:11px}.people-detail-account>span{color:var(--text-muted)}.people-detail-discard{position:sticky;bottom:0;background:var(--surface);border:1px solid var(--primary);border-radius:10px;padding:15px;box-shadow:0 8px 30px #0004;display:flex;gap:9px;align-items:center;z-index:2}.people-detail-discard p{flex:1;font-size:12px;margin:0}.people-detail-discard button{font-size:11px}.ds-dialog.people-detail-dialog{width:min(1280px,calc(100vw - 48px));height:calc(100dvh - 48px);position:relative}.people-detail-dialog>.ds-dialog-header{position:absolute;top:28px;right:28px;z-index:2;padding:0;border:0;gap:12px}.people-detail-dialog>.ds-dialog-header h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ds-dialog.people-detail-dialog>.people-detail-profile{padding:28px 130px 24px 40px;margin:0;min-height:115px;gap:18px}.people-detail-profile>.avatar{border:0;width:64px;height:64px;border-radius:20px}.people-detail-profile>div{padding:0}.people-detail-profile h2{font-size:24px}.people-detail-profile h2 small{font-size:20px;font-weight:500;color:var(--text-muted)}.people-detail-profile>.people-status,.people-detail-profile>button{align-self:center;margin-bottom:0}.ds-dialog.people-detail-dialog>.people-detail-tabs{padding:0 40px;min-height:52px;gap:18px}.people-detail-tabs>button:nth-child(2){margin-left:auto}.people-detail-tabs>span{margin-left:0}.people-detail-main{padding:25px 40px 45px}.people-detail-sidebar{width:300px;padding:30px 28px}.people-detail-sidebar>a,.people-detail-sidebar>span{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;margin:0 0 15px;overflow-wrap:anywhere}.people-detail-sidebar :is(a,span)>svg{flex-shrink:0;margin-top:3px;color:var(--text-muted)}.people-detail-summary{border:0;border-radius:0;padding:15px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:20px 0}.people-detail-sidebar nav>span{margin-left:0}.people-detail-jump-links{display:flex;flex-wrap:wrap;gap:5px}.people-detail-sidebar nav .people-detail-jump-links button{width:auto;padding:6px 9px;border-radius:5px;font-size:12px;background:var(--surface-2)}.people-detail-sidebar nav .people-detail-jump-links button.selected{background:var(--selected-bg);color:var(--primary)}.people-detail-information-heading{justify-content:flex-end;margin-bottom:0}.people-detail-information-heading>div{display:none}.people-detail-section{border:0;border-radius:0;border-bottom:1px solid var(--border);padding:28px 0;margin:0;scroll-margin-top:20px}.people-detail-section h3{font-size:15px}.people-detail-section>header{margin-bottom:22px}.people-detail-record dl{gap:20px 24px}.people-detail-record dt{font-size:12px}.people-detail-record dd{font-size:13px}.people-detail-field-label em,.people-detail-change-note em{font-style:normal;color:var(--danger);margin-left:4px}.ds-dialog.people-editor-dialog{width:min(620px,calc(100vw - 40px));max-width:none;height:min(760px,calc(100dvh - 80px));max-height:calc(100dvh - 40px);border-radius:16px;padding:0}.ds-dialog.people-editor-dialog.is-expanded{width:min(900px,calc(100vw - 40px));height:calc(100dvh - 40px)}.people-editor-dialog>.ds-dialog-header{padding:34px 40px 25px;border:0;gap:10px}.people-editor-dialog>.ds-dialog-header h2{flex:1;margin:0;font-size:23px;line-height:1.4}.people-editor-dialog>.ds-dialog-header .icon-button{margin:0;min-width:28px;min-height:28px;padding:4px}.ds-dialog.people-editor-dialog>form.people-detail-edit{padding:0;overflow:hidden;min-height:0;flex:1;display:flex;flex-direction:column}.people-editor-body{padding:5px 40px 15px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.people-editor-body fieldset{border:0;padding:0;margin:0;min-width:0}.people-editor-dialog .people-detail-form-grid{gap:24px 14px;align-items:start}.people-editor-dialog .people-detail-edit label{display:grid;gap:7px;margin:0;font-size:12px;font-weight:400;line-height:1.5}.people-editor-dialog .people-detail-field-label{color:var(--text-muted)}.people-editor-dialog .people-detail-edit :is(input:not([type=checkbox]),select,textarea){font-size:13px;margin:0;min-height:41px;background:var(--surface-2);border-color:var(--border);padding:10px 11px;line-height:20px}.people-editor-dialog .people-detail-edit :is(input,select,textarea):focus-visible{outline:2px solid var(--focus);outline-offset:1px}.people-editor-dialog .people-detail-input input{min-width:0;flex:1}.people-editor-dialog .people-detail-input button{padding:5px 7px;font-size:10px}.people-editor-dialog .people-basic-group{display:grid;grid-template-columns:1fr 1fr;gap:10px}.people-basic-group legend{font-size:12px;line-height:1.5;color:var(--text-muted);padding:0;margin-bottom:9px}.people-editor-dialog .people-basic-country{grid-template-columns:1fr 1fr 1fr}.people-editor-dialog .people-basic-phone,.people-editor-dialog .people-basic-address{grid-template-columns:105px 1fr}.people-basic-english .people-detail-field-label,.people-basic-phone .people-detail-field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.people-basic-english input::placeholder{color:var(--text-subtle)}.people-basic-email{position:relative}.people-basic-email>span{display:flex;align-items:center;gap:3px;position:absolute;top:0;right:0;font-size:10px;color:var(--primary)}.people-editor-dialog .people-detail-edit .people-basic-switch{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:11px;color:var(--text-muted)}.people-basic-switch input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:27px;height:16px;border:0;border-radius:20px;background:var(--control-border);margin:0;flex:none;cursor:pointer}.people-basic-switch input:checked{background:var(--primary)}.people-basic-switch input:before{content:"";position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#fff;transition:transform .12s}.people-basic-switch input:checked:before{transform:translate(11px)}.ds-dialog-backdrop:has(>.people-editor-dialog){background:color-mix(in srgb,var(--surface) 78%,transparent)}.people-basic-hint{font-size:11px;color:var(--text-muted);line-height:1.7;margin:0}.people-editor-dialog .people-detail-change-note{display:grid;margin:30px 0 0}.people-editor-dialog .people-detail-change-note textarea{min-height:78px}.people-detail-edit>.people-editor-footer{display:block;flex-shrink:0;padding:22px 40px 35px;background:var(--surface);border:0;margin:0}.people-editor-footer>.primary{width:100%;height:48px;display:flex;align-items:center;justify-content:center;border:0;border-radius:7px;font-size:14px;font-weight:600;background:linear-gradient(100deg,var(--primary),color-mix(in srgb,var(--primary) 85%,var(--link)));color:var(--on-primary,#fff)}.people-editor-footer>.primary:disabled{opacity:.6}.people-editor-footer .hr-error{font-size:12px;line-height:1.6;margin:0 0 14px}.people-editor-footer .people-detail-discard{position:static;box-shadow:none;padding:12px;flex-wrap:wrap}.people-editor-footer .people-detail-discard p{flex-basis:100%;margin-bottom:5px}@media(max-width:900px){.people-detail-sidebar{width:185px;padding:20px 13px}.people-detail-record dl{grid-template-columns:1fr}.people-detail-record dl>div{grid-template-columns:130px minmax(0,1fr)}.people-detail-form-grid{grid-template-columns:1fr}.people-detail-profile{padding-left:20px;padding-right:20px}.people-detail-main{padding:22px 20px}.people-detail-tabs{padding:0 20px}.people-detail-profile h2{font-size:20px}}@media(max-width:620px){.ds-dialog.people-detail-dialog{width:calc(100vw - 32px);height:calc(100dvh - 32px)}.ds-dialog.people-detail-dialog>.people-detail-cover{min-height:65px;height:65px}.ds-dialog.people-detail-dialog>.people-detail-profile{padding:0 18px 14px;min-height:80px}.ds-dialog.people-detail-dialog>.people-detail-tabs{padding:0 18px}.people-detail-sidebar{display:none}.people-detail-profile>.avatar{width:54px;height:54px;font-size:17px}.people-detail-profile{gap:8px;flex-wrap:wrap}.people-detail-profile>.people-status{margin-left:auto}.people-detail-profile>button{font-size:10px}.people-detail-tabs{gap:17px}.people-detail-tabs>span{font-size:9px}.people-detail-main{padding:20px 15px}.people-detail-section{padding:16px 13px}.people-detail-information-heading{gap:10px}.people-detail-checkbox{font-size:10px}.people-detail-record dl>div{grid-template-columns:105px minmax(0,1fr)}.people-detail-history-row{grid-template-columns:80px 1fr 10px 1fr;gap:5px}.people-detail-history article header{flex-direction:column;gap:6px}.people-detail-discard{flex-wrap:wrap}.people-detail-discard p{flex-basis:100%}}@media(max-width:900px){.people-detail-sidebar{width:230px}.ds-dialog.people-detail-dialog>.people-detail-profile{padding-left:24px}.ds-dialog.people-detail-dialog>.people-detail-tabs{padding:0 24px}.people-detail-main{padding:20px 24px}}@media(max-width:620px){.ds-dialog.people-detail-dialog>.people-detail-profile{padding:24px 75px 15px 18px;min-height:100px}.people-detail-profile>button{margin-left:auto}.people-detail-dialog>.ds-dialog-header{top:18px;right:18px;gap:2px}.people-detail-profile h2{font-size:20px}.people-detail-tabs>span{display:none}.people-detail-tabs>button:nth-child(2){margin-left:auto}.people-detail-main{padding:18px}.people-detail-section{padding:22px 0}.ds-dialog.people-editor-dialog{width:calc(100vw - 24px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.people-editor-dialog>.ds-dialog-header{padding:22px 20px 20px}.people-editor-dialog>.ds-dialog-header h2{font-size:20px}.people-editor-dialog>.ds-dialog-header .icon-button{min-width:30px;min-height:30px}.people-editor-body{padding:4px 20px 15px}.people-detail-edit>.people-editor-footer{padding:16px 20px 22px}.people-editor-dialog .people-detail-form-grid{grid-template-columns:1fr;gap:20px}.people-editor-dialog .people-basic-country{grid-template-columns:1fr}.people-editor-dialog .people-detail-edit :is(input,select,textarea){font-size:16px}.people-basic-email>span{font-size:10px}}.people-workspace{background:var(--surface);min-width:0}.people-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 38px 24px}.people-header h1{margin:6px 0;font-size:25px;letter-spacing:-.6px}.people-header p{margin:8px 0 0;color:var(--text-muted);line-height:1.7}.people-header button,.people-workspace button,.people-workspace a.hr-download{display:inline-flex;align-items:center;justify-content:center;gap:7px}.people-areas{display:flex;gap:10px;padding:0 38px 20px;border-bottom:1px solid var(--border)}.people-areas button{padding:10px 16px;border:0;background:var(--surface-soft);color:var(--text-muted);border-radius:8px;font-weight:600}.people-areas button.selected{background:var(--selected-bg);color:var(--link)}.people-tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);padding:0 38px;overflow-x:auto}.people-tabs button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:18px 0 15px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;color:var(--text-muted);font-weight:600}.people-tabs button.selected{border-bottom-color:var(--primary);color:var(--text)}.people-tabs button span{padding:2px 7px;border-radius:6px;background:var(--surface-2);font-size:12px}.people-content{padding:24px 38px 40px;min-width:0}.people-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.people-tools h2{font-size:18px;margin:0}.people-tools h2 small{font-size:13px;color:var(--text-muted)}.people-tools .people-search{width:min(410px,100%);margin:0}.people-tool-actions{display:flex;gap:10px;flex-shrink:0}.people-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}.people-filters label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}.people-filters select{max-width:230px;padding:8px;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.people-count{margin-left:auto;color:var(--text-muted)}.people-table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:10px;min-width:0}.people-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px;white-space:nowrap}.people-table th{font-weight:600;color:var(--text-muted);background:var(--surface-soft);padding:13px 15px;border-bottom:1px solid var(--border)}.people-table td{padding:14px 15px;border-bottom:1px solid var(--border)}.people-table tr:last-child td{border-bottom:0}.people-table tr:hover td{background:var(--surface-soft)}.people-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.people-table .people-name{display:flex;gap:10px;text-align:left;justify-content:flex-start;border:0;padding:0;background:transparent;color:var(--text);font:inherit}.people-name span{display:grid;gap:5px}.people-name small{color:var(--text-muted);font-size:11px}.people-name strong{font-size:14px}.people-status{display:inline-block;padding:4px 8px;border-radius:6px;background:var(--surface-2);color:var(--text-muted);font-size:12px}.people-status.employed,.people-status.accepted{background:var(--success-soft);color:var(--success)}.people-status.joining,.people-status.pending{background:var(--selected-bg);color:var(--link)}.people-status.resigning,.people-status.probation{background:var(--warning-soft);color:var(--warning)}.people-row-actions{display:flex;gap:8px}.people-empty{text-align:center;padding:40px 15px;color:var(--text-muted);line-height:1.7}.people-bulk-bar{display:flex;align-items:center;gap:12px;padding:12px 15px;margin-bottom:14px;border-radius:8px;background:var(--selected-bg);color:var(--text)}.people-bulk-bar strong{margin-right:auto}.people-org-list{display:grid;gap:12px}.people-org{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--border);border-radius:10px}.people-org>svg{color:var(--link);flex-shrink:0}.people-org>div{flex:1;min-width:0;display:grid;gap:7px}.people-org strong{overflow-wrap:anywhere}.people-org span{font-size:12px;color:var(--text-muted)}.people-invite-form{display:flex;align-items:end;gap:12px;margin-bottom:14px}.people-invite-form label{flex:1;max-width:420px;margin:0}.people-invite-form button{min-height:42px}.people-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);display:flex;flex-direction:column}.people-dialog-body{padding:0 24px 24px;overflow:auto;min-height:0}.people-dialog-body>.people-tabs{padding:0;margin:0 0 24px}.people-dialog-body .ds-field{margin:0 0 16px}.people-dialog-body h3{margin:20px 0 16px;font-size:15px}.people-dialog-body .hr-error,.people-dialog-body .hr-notice{margin:14px 0;padding:12px}.people-dialog-body .hr-notice{display:flex;align-items:center;gap:8px}.people-fieldset{border:0;padding:0;margin:0;min-width:0}.people-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.people-form-grid .ds-field{min-width:0}.people-dialog input,.people-dialog select{width:100%;min-width:0;box-sizing:border-box}.people-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;flex-wrap:wrap}.people-dialog-actions button{display:inline-flex;align-items:center;gap:6px}.people-account{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:20px;margin-top:20px;border-top:1px solid var(--border)}.people-account strong{font-size:13px}.people-danger{color:var(--danger)!important;margin-right:auto}.people-history article{border-bottom:1px solid var(--border);padding:18px 0}.people-history article header{display:flex;justify-content:space-between;gap:14px}.people-history time{font-size:12px;color:var(--text-muted)}.people-history p{font-weight:600;font-size:13px}.people-history-field{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:12px;padding:6px 0;color:var(--text-muted);overflow-wrap:anywhere}.person-manage-actions{display:flex;gap:10px;flex-wrap:wrap}.people-delete-targets{list-style:none;max-height:200px;overflow:auto;margin:16px 0;padding:0;border:1px solid var(--border);border-radius:8px}.people-delete-targets li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.people-delete-targets li:last-child{border:0}.people-delete-targets small{color:var(--text-muted)}.people-delete-confirm{background:var(--danger);color:#fff;border:0}.people-dialog .people-delete-confirm:disabled{opacity:.5}@media(max-width:600px){.people-delete-targets li{align-items:flex-start;flex-direction:column;gap:5px}}@media(max-width:1000px){.people-header{padding:24px}.people-content{padding:20px 24px 32px}.people-areas,.people-tabs{padding-inline:24px}.people-tool-actions .hr-download{font-size:12px}.people-filters select{max-width:180px}}@media(max-width:600px){.people-header{padding:22px 18px;align-items:flex-start;flex-wrap:wrap;gap:14px}.people-header p{font-size:12px}.people-header h1{font-size:22px}.people-areas,.people-tabs{padding-inline:18px}.people-tabs{gap:22px}.people-content{padding:18px 14px 28px}.people-tools{flex-wrap:wrap}.people-tool-actions{margin-left:auto}.people-filters{gap:10px}.people-filters label{flex-wrap:wrap;gap:5px}.people-count{width:100%;text-align:right}.people-bulk-bar{flex-wrap:wrap}.people-bulk-bar strong{width:100%}.people-form-grid{grid-template-columns:1fr}.people-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.people-dialog-body{padding-inline:18px}.people-org{gap:10px;flex-wrap:wrap;padding:15px}.people-org>div{flex-basis:calc(100% - 40px)}.people-org>button:first-of-type{margin-left:32px}.people-invite-form{flex-wrap:wrap}.people-invite-form label{flex-basis:100%}.people-history-field{grid-template-columns:80px 1fr}.people-history article header{flex-wrap:wrap}}.notes-panel{--note-accent:#9b6800;--note-highlight:#fff0c2;--note-sidebar:#f1f2f4;position:absolute;top:0;right:0;bottom:0;left:76px;z-index:35;display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}.notes-panel[hidden]{display:none}.workspace.notes-open{position:relative}.workspace.notes-open>.sidebar,.workspace.notes-open>.main{visibility:hidden}.notes-panel button,.notes-panel input,.notes-panel select{font:inherit;color:inherit}.notes-panel button{cursor:pointer}.notes-panel button:disabled{cursor:default;opacity:.4}.notes-panel button:focus-visible,.notes-panel input:focus-visible,.notes-panel select:focus-visible{outline:2px solid var(--note-accent);outline-offset:2px}.notes-header{height:59px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid var(--border);background:var(--surface-soft)}.notes-header>span{display:flex;align-items:center;gap:10px}.notes-header strong{font-size:17px;font-weight:650;letter-spacing:-.5px}.notes-brand-icon{color:var(--note-accent)}.notes-header>.icon-button{margin-left:auto}.notes-header button{min-width:34px;min-height:34px;display:flex;align-items:center;justify-content:center;border-radius:6px}.notes-header button:hover{background:var(--surface-3)}.notes-private{display:flex;align-items:center;gap:5px;margin:0 0 0 14px;font-size:11px;color:var(--text-muted)}.notes-folder-toggle{display:none!important}.notes-columns{display:flex;flex:1;min-height:0;min-width:0;position:relative}.notes-folders{display:flex;flex-direction:column;flex:0 0 190px;min-width:0;padding:24px 12px 14px;background:var(--note-sidebar);border-right:1px solid var(--border);overflow:auto}.notes-folder-caption{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:11px;font-weight:600;padding:0 11px 13px}.notes-folder-links{flex:1}.notes-folders button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:10px;border-radius:7px;font-size:13px;min-height:39px;border:0;background:transparent}.notes-folders button:hover{background:var(--surface-3)}.notes-folders button.selected{background:var(--note-highlight);color:var(--text)}.notes-folders button svg{flex-shrink:0;color:var(--note-accent)}.notes-folders button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-folders button small{margin-left:auto;font-size:11px;color:var(--text-muted)}.notes-folder-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0 4px;padding-left:11px}.notes-folder-heading h3{font-size:10px;font-weight:600;color:var(--text-muted);margin:0}.notes-folders .notes-new-folder{flex-shrink:0;width:28px;min-height:28px;padding:5px;justify-content:center;color:var(--note-accent)}.notes-folder-bottom{margin-top:20px;padding-top:10px;border-top:1px solid var(--border)}.notes-folder-scrim{display:none}.notes-browser{width:270px;flex-shrink:0;min-width:0;display:flex;flex-direction:column;background:var(--surface-soft);border-right:1px solid var(--border)}.notes-list-tools{display:flex;align-items:center;justify-content:space-between;padding:22px 19px 17px;gap:10px}.notes-list-tools>div{min-width:0}.notes-list-tools h2{font-size:19px;line-height:1.3;letter-spacing:-.6px;margin:0 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-list-tools small{font-size:11px;color:var(--text-muted)}.notes-compose{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:7px;color:var(--note-accent)!important;background:transparent;border:0;flex-shrink:0}.notes-compose:hover{background:var(--note-highlight)}.notes-search{display:flex;align-items:center;gap:7px;background:var(--surface-3);border-radius:7px;margin:0 16px 12px;padding:8px 10px;color:var(--text-muted)}.notes-search input{width:100%;min-width:0;border:0;outline:0!important;box-shadow:none;background:transparent;padding:0;font-size:12px}.notes-search svg{flex-shrink:0}.notes-search:focus-within{outline:2px solid var(--note-accent)}.notes-sort{display:flex;align-items:center;justify-content:space-between;padding:0 17px 12px;color:var(--text-muted);font-size:10px}.notes-sort select{border:0;max-width:160px;background:transparent;padding:3px;font-size:11px}.notes-list{flex:1;min-height:0;overflow:auto;padding:0 9px 16px}.notes-list-section{font-size:10px;font-weight:600;color:var(--text-muted);margin:10px 10px 8px}.notes-list-note{display:block;width:100%;padding:14px 12px;border:0;border-radius:8px;text-align:left;background:transparent;position:relative}.notes-list-note:hover{background:var(--surface-3)}.notes-list-note[aria-pressed=true]{background:var(--note-highlight)}.notes-list-note:after{content:"";display:block;position:absolute;left:12px;right:12px;bottom:0;border-bottom:1px solid var(--border)}.notes-list-note[aria-pressed=true]:after{border-color:transparent}.notes-list strong{display:flex;align-items:center;gap:5px;font-size:13px;line-height:1.5;font-weight:650}.notes-list strong span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-list strong svg{color:var(--note-accent);flex-shrink:0}.notes-list p{font-size:11px;color:var(--text-2);margin:5px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.notes-list small{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--text-muted)}.notes-list small span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-writing{flex:1;min-width:0;min-height:0;display:flex;background:var(--surface)}.note-editor{display:flex;flex-direction:column;min-height:0;min-width:0;width:100%}.note-editor-top{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:1px solid var(--border);min-height:53px;padding:8px 24px;gap:12px}.note-move{display:flex;align-items:center;gap:7px;color:var(--text-muted);font-size:12px;min-width:0}.note-move select{max-width:220px;min-width:0;background:transparent;border:0;font-size:12px;padding:5px}.note-editor-tools{display:flex;gap:7px;flex-shrink:0}.note-editor-tools button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:32px;min-height:32px;border:0;background:transparent;border-radius:6px;color:var(--text-muted)}.note-editor-tools button:hover{background:var(--surface-2)}.note-editor-tools button[aria-pressed=true]{color:var(--note-accent);background:var(--note-highlight)}.notes-restore{font-size:12px!important;color:var(--note-accent)!important}.note-paper{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:25px clamp(24px,4vw,70px) 28px}.note-date{text-align:center;font-size:11px;color:var(--text-muted);margin-bottom:25px}.notes-panel .note-title{font-size:27px;font-weight:700;letter-spacing:-.7px;line-height:1.35;flex-shrink:0;border:0;outline:0;background:transparent;width:100%;padding:0;margin:0 0 21px;border-radius:0}.note-title::placeholder{color:var(--text-faint)}.note-rich-editor{display:flex;flex-direction:column;flex:1}.note-format-toolbar{position:sticky;top:-25px;z-index:2;display:flex;align-items:center;gap:3px;flex-wrap:wrap;min-height:38px;padding:5px 0 12px;margin-bottom:18px;background:var(--surface);border-bottom:1px solid var(--border)}.note-format-toolbar button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:5px;border:0;background:transparent;color:var(--text-muted)}.note-format-toolbar button:hover{background:var(--surface-3)}.note-format-toolbar button[aria-pressed=true]{color:var(--note-accent);background:var(--note-highlight)}.note-format-toolbar select{background:var(--surface);border:0;padding:5px 3px;font-size:12px;width:80px;margin-right:3px}.note-toolbar-divider{width:1px;height:16px;background:var(--border);margin:0 4px}.note-rich-content{flex:1}.note-rich-content .tiptap{min-height:220px;font-size:15px;line-height:1.9;outline:none;overflow-wrap:anywhere;white-space:pre-wrap;caret-color:var(--note-accent)}.note-rich-content .tiptap p{margin:0 0 8px}.note-rich-content .tiptap h1{font-size:25px;line-height:1.5;margin:15px 0 10px}.note-rich-content .tiptap h2{font-size:20px;line-height:1.6;margin:15px 0 10px}.note-rich-content .tiptap h3{font-size:17px;margin:15px 0 8px}.note-rich-content ul,.note-rich-content ol{padding-left:23px;margin:8px 0}.note-rich-content li p{margin:0!important}.note-rich-content ul[data-type=taskList]{padding-left:0;list-style:none}.note-rich-content li[data-checked]{display:flex;align-items:flex-start;gap:9px;margin:5px 0}.note-rich-content li[data-checked]>label{display:flex;align-items:center;padding-top:7px;flex:0 0 auto;-webkit-user-select:none;user-select:none}.note-rich-content li[data-checked]>label input{accent-color:var(--note-accent);width:16px;height:16px;margin:0;cursor:pointer}.note-rich-content li[data-checked]>div{flex:1;min-width:0}.note-rich-content li[data-checked][data-checked=true]>div>p{color:var(--text-muted);text-decoration:line-through}.note-rich-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--text-faint);height:0;pointer-events:none}.note-editor-footer{flex-shrink:0;padding:12px 24px 17px;border-top:1px solid var(--border);background:var(--surface)}.note-save-state{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text-muted);font-size:10px;margin-bottom:12px}.note-save-state>span{display:flex;align-items:center;gap:5px}.note-save-state small{font-size:10px}.note-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.note-actions button,.notes-send{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:8px 11px;border:1px solid var(--border);border-radius:7px;min-height:36px;background:var(--surface)}.notes-panel .notes-send{background:var(--note-highlight);color:var(--note-accent);border-color:transparent;font-weight:600}.note-actions button:hover{background:var(--surface-2)}.notes-share-help{font-size:10px;line-height:1.6;color:var(--text-muted);margin:9px 0 0}.notes-empty{display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;gap:12px;text-align:center;font-size:12px;color:var(--text-muted);padding:30px 15px}.notes-empty p{margin:0;line-height:1.7}.notes-editor-empty>svg{color:var(--note-accent);opacity:.65}.notes-editor-empty h3{color:var(--text);font-size:19px;font-weight:600;margin:7px 0 0}.notes-editor-empty .notes-send{margin-top:8px}.notes-error{flex-shrink:0;background:var(--warning-soft);color:var(--warning);border-top:1px solid var(--border);padding:12px 20px;font-size:12px;line-height:1.6}.notes-error button{margin:0 0 0 12px;text-decoration:underline}.notes-status{flex-shrink:0;font-size:11px;padding:7px 20px;margin:0;color:var(--note-accent);background:var(--surface-soft);border-top:1px solid var(--border)}.note-confirm-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:20px}.note-confirm-actions button{padding:10px 18px}:root[data-theme=dark] .notes-panel{--note-accent:#e2b347;--note-highlight:#443a23;--note-sidebar:#202328}@media(max-width:1100px){.notes-folders{flex-basis:165px}.notes-browser{width:240px}.note-paper{padding-left:25px;padding-right:25px}.note-editor-top,.note-editor-footer{padding-left:20px;padding-right:20px}}@media(max-width:1000px){.notes-folders{display:none}.notes-folder-toggle{display:flex!important}.notes-folders-open .notes-folders{display:flex;position:absolute;z-index:6;inset:0 auto 0 0;width:210px;box-shadow:8px 0 30px #0002}.notes-folders-open .notes-folder-scrim{display:block;position:absolute;top:0;right:0;bottom:0;left:0;background:#0003;z-index:5}.notes-panel{left:76px}.notes-browser{width:245px}}@media(max-width:760px){.notes-panel{left:58px}.notes-header{padding:0 12px}.notes-private{display:none}.notes-browser{width:225px}.note-format-toolbar{gap:1px}.note-toolbar-divider{margin:0 2px}.note-format-toolbar button{width:28px}.note-paper{padding:20px}.note-editor-footer{padding:12px}.note-move select{max-width:125px}}@media(max-width:640px){.notes-panel{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);height:100dvh}.notes-header{height:56px;padding:0 11px}.notes-header button{min-width:40px;min-height:40px}.notes-header strong{font-size:17px}.notes-header>span{gap:7px}.notes-page-editor .notes-folder-toggle{display:none!important}.notes-page-editor .notes-brand-icon{display:none}.notes-columns{display:block}.notes-browser{width:100%;height:100%;border:0}.notes-writing{display:none;height:100%}.notes-page-editor .notes-browser{display:none}.notes-page-editor .notes-writing{display:flex}.notes-folders-open .notes-folders{display:flex;top:0;right:0;bottom:0;left:0;width:100%;height:100%;box-shadow:none;border:0;padding:20px}.notes-folders-open .notes-browser,.notes-folders-open .notes-writing,.notes-folders-open .notes-folder-scrim{display:none}.notes-folders button{font-size:15px;min-height:44px}.notes-list-tools{padding:20px 21px 15px}.notes-list-tools h2{font-size:23px}.notes-list{padding:0 12px 20px}.notes-list-note{padding:17px 14px}.notes-list strong{font-size:15px}.notes-list p{font-size:13px}.notes-list small{font-size:11px}.notes-search{margin:0 20px 13px;padding:11px 12px}.notes-search input{font-size:16px}.notes-sort{padding:0 20px 10px}.notes-compose{width:44px;height:44px}.note-editor-top{min-height:49px;padding:6px 16px}.note-editor-tools button{min-width:38px;min-height:38px}.note-paper{padding:20px 21px 24px}.note-date{font-size:10px;margin-bottom:21px}.notes-panel .note-title{font-size:26px;margin-bottom:15px}.note-format-toolbar{top:-20px;margin-bottom:14px;padding-bottom:10px;gap:2px}.note-format-toolbar select{width:70px;font-size:12px}.note-format-toolbar button{width:29px;height:34px}.note-toolbar-divider{margin:0 2px}.note-rich-content .tiptap{font-size:16px;line-height:1.9;min-height:180px}.note-editor-footer{padding:10px 16px 13px}.note-actions{gap:6px}.note-actions button{font-size:11px;min-height:40px;padding:8px 9px}.notes-share-help{font-size:10px}.notes-error{padding:10px 16px}.notes-status{padding:7px 16px}.note-save-state{margin-bottom:8px}.note-rich-content li[data-checked]>label input{width:18px;height:18px}.notes-editor-empty{display:none}}@media(max-width:640px){.note-toolbar-divider{display:none}}.note-rich-content li[data-checked]>label input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:grid;place-content:center;border:1.5px solid var(--text-faint);border-radius:50%;background:transparent}.note-rich-content li[data-checked]>label input:checked{background:var(--note-accent);border-color:var(--note-accent)}.note-rich-content li[data-checked]>label input:checked:before{content:"✓";color:#fff;font-size:12px;line-height:1}@media(prefers-reduced-motion:reduce){.notes-panel *{scroll-behavior:auto}}.notes-folder-row{display:flex;align-items:center;border-radius:7px}.notes-folder-row.selected{background:var(--note-highlight)}.notes-folder-row>button:first-child{flex:1;min-width:0}.notes-folders .notes-folder-more{flex:0 0 28px;width:28px;min-height:32px;padding:5px;justify-content:center;opacity:0;pointer-events:none}.notes-folder-row:hover .notes-folder-more,.notes-folder-row:focus-within .notes-folder-more,.notes-folder-more[aria-expanded=true]{opacity:1;pointer-events:auto}.notes-folder-menu{position:fixed;z-index:160;width:180px;padding:5px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:9px;box-shadow:0 8px 24px #0002;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.notes-folder-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;min-height:39px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}.notes-folder-menu button:hover,.notes-folder-menu button:focus-visible{background:var(--surface-3)}.notes-folder-menu button:focus-visible{outline:2px solid #9b6800;outline-offset:-2px}.notes-folder-menu .danger{color:var(--danger)}@media(hover:none),(max-width:640px){.notes-folders .notes-folder-more{opacity:1;pointer-events:auto;flex-basis:40px;width:40px;min-height:44px}.notes-folder-menu button{min-height:44px;font-size:14px}}.notes-trash-actions{padding:0 17px 13px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:9px;font-size:11px}.notes-trash-actions>div{display:flex;align-items:center;gap:10px}.notes-trash-actions>div button{padding:4px 0;border:0;background:transparent;color:var(--note-accent)}.notes-trash-actions>div span{margin-left:auto;color:var(--text-muted);white-space:nowrap}.notes-trash-actions>.notes-purge{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid var(--border);border-radius:6px;background:var(--surface);font-size:12px}.notes-panel .notes-purge{color:var(--danger)}.notes-trash-row{display:flex;align-items:stretch;border-radius:8px}.notes-trash-row.previewed{background:var(--note-highlight)}.notes-trash-row.checked{box-shadow:inset 0 0 0 1px var(--note-accent)}.notes-trash-row .notes-list-note{min-width:0;flex:1;padding-left:4px}.notes-trash-check{display:flex;align-items:flex-start;justify-content:center;flex:0 0 32px;padding-top:17px;cursor:pointer}.notes-trash-check input{width:16px;height:16px;margin:0;accent-color:var(--note-accent);cursor:pointer}.notes-purge-warning{color:var(--danger);font-weight:600}.notes-purge-titles{max-height:160px;overflow:auto;overflow-wrap:anywhere;padding-left:22px;font-size:13px}.notes-purge-titles li{margin:5px 0}.note-confirm-actions .notes-purge-confirm{background:var(--danger);color:#fff;border:0;border-radius:6px}.note-confirm-actions button:disabled{opacity:.5}@media(max-width:640px){.notes-trash-actions{padding:0 20px 14px}.notes-trash-actions>div button{min-height:40px;font-size:13px}.notes-trash-actions>.notes-purge{min-height:44px;font-size:14px}.notes-trash-check{flex-basis:44px;padding-top:20px}.notes-trash-check input{width:20px;height:20px}.notes-trash-row .notes-list-note{padding-left:4px}.note-editor-tools .notes-purge{font-size:12px}.note-move:has(+.note-editor-tools .notes-purge){flex:1}.note-move:has(+.note-editor-tools .notes-purge) select{width:100%;max-width:125px}}.notes-purge-content>p{margin:0 0 12px;line-height:1.6;font-size:13px}.notes-purge-content .notes-purge-titles{margin:16px 0 0;padding-left:20px}.notes-purge-content .note-confirm-actions{margin-top:24px}.notes-list-note[draggable=true]{cursor:grab}.notes-list-note[draggable=true]:active{cursor:grabbing}.notes-list-note.notes-dragging{opacity:.45}.notes-folders .notes-drop-active{background:var(--note-highlight);outline:2px solid var(--note-accent);outline-offset:-2px}.notes-folders .notes-drop-target>button:first-child:hover{background:transparent}@media(max-width:640px){.notes-folders .notes-new-folder{width:44px;min-height:44px}}.security-settings{margin-top:26px;padding-top:20px;border-top:1px solid var(--border,#e3e8ee)}.security-settings h3{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:14px}.security-card{border:1px solid var(--border,#dfe6ee);border-radius:12px;padding:16px;margin-bottom:14px;background:var(--surface,#fff)}.security-card h4{display:flex;align-items:center;gap:7px;font-size:13px;margin-bottom:12px}.security-card label{display:block;font-weight:600;font-size:12px;margin-bottom:14px}.security-card label>input{display:block;width:100%;margin-top:7px;border:1px solid var(--border-strong,#d8dee5);border-radius:8px;padding:11px 12px;font-size:16px;font-weight:400}.translation-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin:12px 0 16px;padding:14px;border:1px solid var(--border,#dfe6ee);border-radius:10px;background:var(--surface-soft,#f7f9fb)}.translation-config label{min-width:0}.translation-config select{display:block;width:100%;min-width:0;margin-top:7px;border:1px solid var(--border-strong,#d8dee5);border-radius:8px;padding:10px 12px;background:var(--surface,#fff);color:var(--text,#27263a);font-size:14px;font-weight:400}.translation-config .security-hint{grid-column:1/-1}.translation-config .primary{justify-self:start}.translation-config .security-notice{align-self:center;margin:0 0 0 10px}@media(max-width:760px){.translation-config{grid-template-columns:1fr}.translation-config .security-notice{margin:10px 0 0}}.security-hint{font-size:12px;color:var(--text-muted,#6b7f95);line-height:1.7;margin:4px 0 12px}.security-notice{padding:10px 12px;border-radius:8px;background:var(--ok-soft,#eaf6ef);color:var(--ok,#2f6b47);font-size:12px;margin:10px 0;line-height:1.6}.security-actions,.logout-choices{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.security-actions button,.logout-choices button,.security-card>button:not(.primary),.security-codes button{min-height:40px;padding:8px 14px;border-radius:9px;border:1px solid var(--border-strong,#d5dde6);background:var(--surface,#fff);font-size:13px;display:inline-flex;align-items:center;gap:6px}.security-actions .primary,.logout-choices .primary,.security-card>.primary{border:0;background:#1765c4;color:#fff;border-radius:9px}.security-settings .danger,.logout-review .danger{border-color:var(--danger-line,#e6b7ad);color:var(--danger,#a3402d);background:var(--danger-soft,#fff6f3)}.security-settings button:disabled,.logout-review button:disabled{opacity:.55;cursor:not-allowed}.security-on,.security-off{margin-left:auto;font-size:11px;padding:2px 8px;border-radius:99px;background:var(--ok-soft,#e7f5ec);color:var(--ok,#2f6b47)}.security-off{background:var(--surface-2,#f1f3f6);color:var(--text-muted,#6b7f95)}.security-qr{display:block;margin:6px auto 10px;border-radius:8px;border:1px solid var(--border,#e3e8ee)}.security-secret{display:block;text-align:center;font-size:13px;letter-spacing:1px;word-break:break-all;background:var(--surface-2,#f4f6f9);border-radius:8px;padding:9px;margin-bottom:14px;-webkit-user-select:all;user-select:all}.security-codes{border:1px solid var(--warn-line,#f0d58a);background:var(--warn-soft,#fffaeb);border-radius:10px;padding:14px;margin-bottom:12px}.security-codes strong{font-size:13px}.security-codes p{font-size:12px;color:var(--warn,#7a6326);margin:6px 0 10px;line-height:1.6}.security-codes ol{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 14px;padding-left:22px;margin-bottom:12px;font-size:13px}.security-storage{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted,#6b7f95);margin-top:4px}.logout-review{width:520px;max-width:100%}.logout-items{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:6px}.logout-items li{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;padding:9px 11px;border-radius:9px;background:var(--surface-2,#f4f6f9);font-size:12px}.logout-items li span{grid-row:span 2;align-self:center;font-size:11px;padding:2px 7px;border-radius:99px;background:var(--surface,#fff);color:var(--text-muted,#5f7389)}.logout-items li small{color:var(--text-muted,#6b7f95);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-confirm label{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.6;margin-bottom:12px}.logout-confirm input{margin-top:4px;flex:none}.auth-mfa-hint{font-size:12px;color:var(--text-muted,#6b7f95);line-height:1.7;margin:-6px 0 14px}.auth-reset{background:none;border:0;color:var(--text-muted,#5b6f86);font-size:12px;text-decoration:underline;margin-top:12px}@media(max-width:760px){.logout-choices button,.security-actions button{flex:1 1 100%;justify-content:center}.security-codes ol{grid-template-columns:1fr}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif;color:#27263a;background:#f8fafb;font-synthesis:none;font-size:14px;--green:#262456;--ink:#18173b;--line:#e6eaee;--muted:#738aa2}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,input,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid #58568b}input:focus,textarea:focus{outline:none;border-color:#6f879f!important}button{transition:background .15s,color .15s}svg{flex-shrink:0}h1,h2,h3,h4,p{margin:0}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:var(--text-muted,#627a92);flex-shrink:0}.icon-button:hover,.icon-button.pressed{background:var(--surface-2,#ebeef1);color:var(--text,#27264b)}.primary{display:inline-flex;gap:10px;align-items:center;justify-content:center;background:var(--primary,#282752);color:#fff;border-radius:9px;padding:12px 18px;font-weight:600;min-height:43px}.primary:hover{background:var(--primary-hover,#1a193e)}.full{width:100%}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#8fb6de}.dot.offline{background:#c99e4e}.spin{animation:spin 1.1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--text-muted,#637c95)}.avatar{width:37px;height:37px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;flex-shrink:0}.avatar.small{width:29px;height:29px;border-radius:10px;font-size:10px}.sage{background:var(--surface-3,#d8e2eb);color:var(--text-2,#484771)}.peach{background:var(--warn-soft,#f4e5d8);color:var(--warn,#a5724e)}.blue{background:var(--surface-3,#dfe9f1);color:var(--text-muted,#557591)}.purple{background:var(--surface-3,#e8e3f1);color:var(--text-muted,#7a6597)}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-1px}.brand b{font-weight:400;opacity:.65}.brand-icon{width:39px;height:39px;background:#98bbdf;color:#21203e;border-radius:12px;display:flex;align-items:center;justify-content:center}.boot{height:100dvh;display:flex;align-items:center;justify-content:center;gap:24px}.auth-page{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-story{background:#19183c;color:#e8eef4;padding:48px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-content{margin:auto 0;padding-top:55px}.story-content .eyebrow{color:#9db6cf;font-size:10px}.story-content h1{font-size:clamp(32px,3.5vw,55px);letter-spacing:-2px;line-height:1.45;margin:20px 0}.story-content>p{font-size:16px;color:#acbac8;line-height:1.9}.story-footer{font-size:9px;letter-spacing:2px;color:var(--text-subtle,#8b9eb1);padding-top:25px}.story-art{height:245px;position:relative;margin-top:16px}.orbit{position:absolute;border:1px solid #ffffff13;border-radius:50%;width:240px;height:240px;left:24%;top:0}.orbit.two{width:320px;height:320px;top:-40px;left:16%}.art-zap{position:absolute;left:40%;top:68px;transform:rotate(9deg);color:#98bbdf}.art-note{position:absolute;display:flex;gap:12px;align-items:center;padding:15px 18px;border:1px solid #ffffff1c;background:#2c2b4bdd;border-radius:10px;box-shadow:0 12px 30px #11102940;font-size:12px;white-space:nowrap}.n1{top:29px;left:2%;transform:rotate(-5deg)}.n2{bottom:31px;right:0;transform:rotate(5deg)}.auth-form{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:50px 30px;position:relative;background:var(--surface-soft,#f7f9fb)}.auth-card{width:100%;max-width:360px}.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border-strong,#d8e0e7);border-radius:30px;padding:7px 10px;font-size:9px;letter-spacing:1.1px;color:var(--text-2,#595884)}.pill .dot{background:#5a81a8}.auth-card h2{font-size:29px;margin:23px 0 12px;letter-spacing:-1px}.auth-card>p{font-size:13px;color:var(--text-muted,#657e98);margin-bottom:33px}.auth-card form label,.modal form>label{display:block;font-weight:600;font-size:12px;margin-bottom:19px}.auth-card input,.modal form>label>input{display:block;width:100%;margin-top:9px;border:1px solid var(--border-strong,#d8dee5);background:var(--surface,white);border-radius:8px;padding:13px 14px;min-width:0;font-weight:400;color:var(--text,#2c2c41)}.auth-hint{display:flex;gap:7px;justify-content:center;align-items:center;margin-top:24px;font-size:11px;color:var(--text-subtle,#748ba2)}.auth-bottom{position:absolute;bottom:30px;font-size:11px;color:var(--text-subtle,#8599ad)}.auth-privacy{display:block;text-align:center;margin-top:8px;color:var(--text-muted,#6c8299);text-decoration:underline;text-underline-offset:3px}.auth-privacy:hover{color:var(--text-2,#3e3c6e)}.error{padding:12px;border-radius:7px;background:var(--danger-soft,#fff1ed);color:var(--danger,#a14f40);font-size:12px;margin:12px 0;line-height:1.6}.workspace{height:100dvh;display:flex;overflow:hidden}.rail{width:76px;flex-shrink:0;background:#181737;color:#9eaebe;display:flex;align-items:center;flex-direction:column;padding:23px 10px 16px;gap:9px}.rail-brand{background:#91b6dc;color:#252445;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;margin-bottom:30px}.rail-item{width:54px;min-height:61px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:relative;color:#a4b3c3}.rail-item span{font-size:10px}.rail-item:hover{background:#ffffff09}.rail-item.selected{background:#ffffff12;color:#bed5ed}.rail-item i{width:5px;height:5px;border-radius:50%;background:#9cc0e5;position:absolute;right:10px;top:10px}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:20px}.sidebar{width:252px;flex-shrink:0;background:var(--surface-2,#edf0f3);border-right:1px solid var(--border-strong,#dce2e8);display:flex;flex-direction:column;padding:0 16px}.workspace-title{height:101px;display:flex;align-items:center;justify-content:space-between;padding:0 9px}.workspace-title strong{font-size:23px;letter-spacing:-.8px}.workspace-title strong span{font-weight:400;color:var(--text-muted,#6d859d)}.workspace-title small{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--text-subtle,#7c91a7);margin-top:8px}.workspace-title .dot{background:#69849f;width:5px;height:5px}.compose-new{width:100%;border:1px solid var(--border-strong,#d5dce4);border-radius:7px;background:var(--surface-soft,#fffefa);display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:11px;font-weight:600;box-shadow:0 2px 2px #1f1e3703}.compose-new:hover{background:var(--surface-3,#dfe6ed)}.sidebar-scroll{overflow-y:auto;padding-top:25px;flex:1}.sidebar-home{display:flex;align-items:center;gap:10px;width:100%;padding:10px;color:var(--text-2,#515078);font-size:12px}.sidebar-home span{margin-left:auto;font-size:10px;color:var(--text-subtle,#7d92a8)}.section-label{padding:29px 10px 17px;font-size:9px;color:var(--text-subtle,#8296ab);font-weight:600;letter-spacing:.2px;display:flex;justify-content:space-between}.section-label span{font-size:8px;letter-spacing:1px;color:var(--text-subtle,#93a5b7)}.section-heading{display:flex;align-items:center;gap:6px;padding:0 7px 9px;font-size:11px;color:var(--text-muted,#6b839c);font-weight:600}.section-heading button{margin-left:auto;display:flex;padding:2px;color:var(--text-subtle,#7a90a6)}.room-link{display:flex;align-items:center;gap:10px;padding:10px 12px;width:100%;border-radius:6px;font-size:12px;color:var(--text-2,#575580);min-height:39px;text-align:left;margin-bottom:3px}.room-link>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-link svg{color:var(--text-subtle,#788ea5)}.room-link:hover{background:var(--surface-3,#dfe5eb)}.room-link.active{background:#cedbe8;color:var(--text,#2d2c52);font-weight:650}.room-link.active svg{color:var(--text-2,#403e6c)}.room-link b{background:#555388;color:#fff;font-size:9px;padding:2px 5px;border-radius:4px;margin-left:auto;flex-shrink:0}.group-heading{margin-top:27px}.room-link .avatar{width:22px;height:22px;border-radius:7px;font-size:8px}.sidebar-empty{font-size:10px;color:var(--text-subtle,#788ea5);padding:9px}.invite-card{margin:25px 1px 20px;padding:17px 13px;border:1px solid var(--border-strong,#d6dee6);border-radius:9px;background:var(--surface-2,#f1f5f9);position:relative}.invite-symbol{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--text-2,#545286);background:var(--surface-3,#dee6ef);margin-bottom:12px}.invite-card strong{font-size:11px}.invite-card p{font-size:10px;color:var(--text-subtle,#7b91a7);margin:6px 0 13px}.invite-card button{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px;font-weight:600;color:var(--text-2,#3e3c6e)}.main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--surface,#fff)}.topbar{height:62px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 31px}.breadcrumbs{display:flex;align-items:center;gap:13px;font-size:10px;color:var(--text-subtle,#8398ad)}.breadcrumbs strong{font-weight:500;color:var(--text-2,#55537d)}.slash{color:var(--text-faint,#bec9d4)}.topbar-label{font-size:9px;color:var(--text-subtle,#8297ac);display:flex;gap:6px;align-items:center}.topbar-label .dot{width:5px;height:5px;background:#6e8cab}.room-header{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:91px;padding:20px 30px;border-bottom:1px solid var(--line)}.room-header-title{display:flex;gap:13px;align-items:center;min-width:0}.room-header-title>div{min-width:0}.room-symbol{background:var(--surface-2,#eaeff4);width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:var(--text-2,#575587);flex-shrink:0}.room-header h1{font-size:19px;display:flex;align-items:center;gap:9px;letter-spacing:-.5px}.channel-tag{font-size:8px;font-weight:500;border:1px solid var(--border,#dfe4e9);border-radius:4px;padding:3px 5px;color:var(--text-subtle,#798fa6)}.room-header p{color:var(--text-subtle,#7c92a8);font-size:10px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-tools{display:flex;align-items:center;gap:8px}.member-button{display:flex;gap:6px;align-items:center;color:var(--text-muted,#6a829b);font-size:11px}.tool-divider{height:17px;width:1px;background:var(--surface-3,#dfe4ea);margin:0 6px}.content-area{display:flex;flex:1;min-height:0}.conversation{flex:1;min-width:0;display:flex;flex-direction:column}.conversation-toolbar{display:flex;justify-content:space-between;align-items:center;height:52px;padding:0 29px;border-bottom:1px solid var(--line);gap:12px;flex-shrink:0}.conversation-tabs{display:flex;gap:24px;height:100%}.conversation-tabs button{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--text-subtle,#8397ac);border-bottom:2px solid transparent;padding:0 2px}.conversation-tabs button.selected{border-bottom-color:#4e4c7b;color:var(--text-2,#3b3a63);font-weight:600}.search{display:flex;align-items:center;gap:7px;color:var(--text-subtle,#8ea1b4)}.search input{border:0;outline:none;background:transparent;font-size:10px;width:125px;min-width:0;color:var(--text-2,#444365)}.search input::placeholder{color:var(--text-subtle,#92a4b6)}.search button{padding:0;display:flex}.message-list{overflow-y:auto;flex:1;padding:0 31px 20px;scrollbar-width:thin;scrollbar-color:#d7dee5 transparent}.welcome{padding-top:31px;padding-bottom:8px}.welcome-icon{width:45px;height:45px;border-radius:14px;background:var(--surface-2,#ecf0f5);color:var(--text-muted,#617992);display:flex;align-items:center;justify-content:center;margin-bottom:13px}.welcome h2{font-size:18px;letter-spacing:-.5px;font-weight:650}.welcome p{font-size:11px;color:var(--text-subtle,#8297ac);margin-top:8px;line-height:1.7}.date-divider{display:flex;align-items:center;gap:16px;margin:27px 0 25px;color:var(--text-subtle,#7d92a8);font-size:9px;white-space:nowrap}.date-divider:before,.date-divider:after{content:"";height:1px;background:var(--surface-3,#e6eaee);flex:1}.date-divider span{border:1px solid var(--border,#e2e8ed);padding:5px 11px;border-radius:20px;background:var(--surface,#fff)}.message{display:flex;gap:12px;margin-bottom:25px}.message-content{min-width:0;flex:1}.message-meta{display:flex;align-items:center;gap:8px;min-height:20px;margin-bottom:6px}.message-meta strong{font-size:12px;font-weight:650;color:var(--text-2,#363650)}.message-meta time{color:var(--text-subtle,#92a4b6);font-size:9px;margin-left:1px}.department{font-size:9px;color:var(--text-subtle,#8ea1b4)}.message-status{font-size:9px;color:var(--text-muted,#65758b);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-tag{font-size:8px;background:var(--surface-3,#e5ecf3);color:var(--text-muted,#67809a);border-radius:3px;padding:2px 4px}.message-content>p{font-size:12px;line-height:1.9;color:var(--text-2,#474669);white-space:pre-wrap;overflow-wrap:anywhere}.attachments{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}.file-attachment{border:1px solid var(--border,#dfe4e9);display:flex;align-items:center;gap:12px;border-radius:8px;padding:12px;max-width:330px;min-width:240px;background:var(--surface-soft,#fbfcfe)}.file-icon{display:flex;align-items:center;justify-content:center;width:37px;height:41px;border-radius:7px;background:var(--surface-3,#e5ecf2);color:var(--text-muted,#5a7692);flex-shrink:0}.file-attachment>div{min-width:0;flex:1}.file-attachment strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-attachment small{font-size:9px;color:var(--text-subtle,#859aae);display:block;margin-top:6px}.file-attachment>svg{color:var(--text-subtle,#8296ab);margin-left:13px}.image-attachment{display:block;border:1px solid var(--border,#dfe4e9);border-radius:9px;overflow:hidden;max-width:330px;background:var(--surface-soft,#f7f9fb)}.image-attachment img{display:block;width:100%;max-height:240px;object-fit:contain}.image-attachment span{display:flex;align-items:center;gap:12px;padding:10px 12px;font-size:9px;color:var(--text-subtle,#7c91a7);overflow-wrap:anywhere}.composer-area{padding:10px 27px 14px;background:var(--surface,white)}.composer{border:1px solid var(--border-strong,#d0d9e2);border-radius:10px;box-shadow:0 3px 7px #1b1a3e03;overflow:hidden}.composer:focus-within{border-color:#8398ae}.composer.failed{border-color:var(--danger-line,#d4a78e)}.composer textarea{width:100%;height:66px;resize:none;border:0;outline:none!important;padding:15px 17px;font-size:12px;color:var(--text-2,#393854);background:transparent;line-height:1.6}.composer textarea::placeholder{color:var(--text-subtle,#91a3b5)}.composer-actions{display:flex;align-items:center;justify-content:space-between;padding:0 10px 9px}.composer-actions>div{display:flex;align-items:center;gap:8px}.attach-button{position:relative;cursor:pointer}.attach-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;cursor:pointer}.compose-limit{font-size:9px;color:var(--text-subtle,#92a4b6)}.send-button{width:31px;height:31px;background:#b4cde6;color:var(--text-2,#3b3968);border-radius:8px;display:flex;align-items:center;justify-content:center}.send-button:hover{background:#9ab9d9}.send-button:disabled{background:var(--surface-3,#dce4ec);color:var(--text-subtle,#8ca0b3)}.composer-foot{display:flex;justify-content:space-between;gap:8px;font-size:8px;color:var(--text-faint,#9bacbd);margin:9px 2px 0}.composer-foot b{font-weight:500;color:var(--text-subtle,#7f94aa)}.draft-files{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}.draft-files>span{display:flex;align-items:center;gap:5px;font-size:10px;border:1px solid var(--border-strong,#d9e1e9);background:var(--surface-2,#eff3f8);padding:5px 7px;border-radius:5px;max-width:100%;overflow-wrap:anywhere}.draft-files button{padding:0;display:flex}.details{width:254px;flex-shrink:0;background:var(--surface-soft,#f9fbfd);border-left:1px solid var(--line);padding:0 22px;overflow-y:auto}.details-heading{height:55px;display:flex;align-items:center;justify-content:space-between}.details-heading h3{font-size:11px;color:var(--text-2,#5c5b88);font-weight:600}.details-hero{padding:17px 0 23px;text-align:center;border-bottom:1px solid var(--line)}.details-hero>span{margin:0 auto 13px;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:var(--surface-3,#dfe8f0);color:var(--text-muted,#607993)}.details-hero h3{font-size:14px;margin-bottom:10px;color:var(--text-2,#3f3e64)}.details-hero p{font-size:10px;color:var(--text-subtle,#8599ad);line-height:1.8}.detail-section{padding:22px 0 18px;border-bottom:1px solid var(--line)}.detail-section h4{font-size:10px;display:flex;justify-content:space-between;align-items:center;color:var(--text-muted,#5c738a);margin-bottom:15px;font-weight:600}.detail-section h4 span{color:var(--text-subtle,#91a3b5);font-size:9px;font-weight:400}.detail-member{display:flex;align-items:center;gap:9px;margin-bottom:13px}.detail-member>div{flex:1}.detail-member strong{font-size:10px;font-weight:500}.detail-member strong span{font-size:8px;color:var(--text-faint,#9eaebe)}.detail-member small{display:block;color:var(--text-subtle,#94a6b8);font-size:8px;margin-top:3px}.text-button{font-size:9px;color:var(--text-subtle,#798fa6);display:flex;align-items:center;gap:8px;margin-top:13px}.detail-muted{font-size:10px;color:var(--text-faint,#9dadbd);line-height:1.7}.mini-file{display:flex;gap:10px;align-items:center;margin-bottom:13px;color:var(--text-muted,#7189a1)}.mini-file div{min-width:0}.mini-file strong{display:block;font-size:10px;color:var(--text-muted,#607891);font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mini-file small{font-size:8px;color:var(--text-faint,#98aabb);display:block;margin-top:5px}.team-note{margin-top:23px;padding:18px 14px;border-radius:8px;background:var(--surface-2,#e8eef4);position:relative;overflow:hidden}.team-note span{font-size:8px;color:var(--text-subtle,#8a9db1)}.team-note p{font-size:12px;color:var(--text-muted,#68819b);line-height:1.8;margin-top:7px}.team-note svg{position:absolute;right:9px;bottom:14px;color:var(--text-faint,#b8c8d9);transform:rotate(12deg)}.error-banner{background:var(--danger-soft,#fff2eb);color:var(--danger,#a15b45);font-size:12px;display:flex;justify-content:space-between;align-items:center;padding:6px 25px;flex-shrink:0}.load-more{display:block;margin:15px auto 0;font-size:10px;color:var(--text-muted,#5b738c);border:1px solid var(--border-strong,#d8e0e8);border-radius:20px;padding:7px 14px}.no-messages{text-align:center;color:var(--text-subtle,#8fa1b4);font-size:12px;padding:35px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:50px;color:var(--text-subtle,#7a90a7);font-size:12px}.people-page{padding:38px;overflow-y:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading h1{font-size:25px;margin:12px 0;letter-spacing:-.8px}.page-heading h1 span{font-size:15px;color:var(--text-subtle,#758ca3);margin-left:13px}.page-heading p{color:var(--text-subtle,#7f94a9);font-size:12px}.people-search{margin:27px 0;width:280px;background:var(--surface-2,#f2f5f9);border:1px solid var(--border,#dde3ea);border-radius:8px;padding:12px}.people-search input{width:100%;font-size:12px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.person-card{border:1px solid var(--border,#dde3e9);border-radius:12px;padding:24px;background:var(--surface-soft,#fefefb)}.person-card.inactive{opacity:.55}.person-card h3{font-size:14px;margin:13px 0 7px}.person-card h3 small{font-size:9px;margin-left:7px;color:var(--text-subtle,#869aae)}.person-card p{font-size:11px;color:var(--text-subtle,#768ca3)}.person-email{display:block;font-size:10px;color:var(--text-subtle,#94a5b7);margin-top:10px;overflow-wrap:anywhere}.person-actions{display:flex;gap:8px;margin-top:20px}.person-actions button{display:flex;align-items:center;gap:6px;font-size:10px;border:1px solid var(--border-strong,#d8e0e7);border-radius:6px;padding:7px}.person-actions button:hover{background:var(--surface-2,#e6edf4)}.files-page{padding:30px;overflow-y:auto}.file-page-heading{margin-bottom:25px}.file-page-heading h2{font-size:18px}.file-page-heading p{margin-top:8px;color:var(--text-subtle,#7a90a6);font-size:11px}.file-row{display:flex;align-items:center;gap:14px;border:1px solid var(--border,#dde3ea);border-radius:9px;padding:15px;margin-bottom:12px}.file-row>div{min-width:0;flex:1}.file-row strong{font-size:12px;overflow-wrap:anywhere}.file-row small{display:block;font-size:10px;color:var(--text-subtle,#8398ad);margin-top:7px}.file-row>svg{color:var(--text-subtle,#7a90a6)}.empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:70px 15px;color:var(--text-subtle,#869aaf)}.empty h3{font-size:15px;margin:18px 0 9px;color:var(--text-muted,#60778f)}.empty p{font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#14132a66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:460px;max-height:90dvh;overflow-y:auto;background:var(--surface-soft,#fffefa);border-radius:16px;padding:25px;box-shadow:0 30px 100px #0f0e2733}.modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.modal h2{font-size:20px;letter-spacing:-.5px}.form-description{font-size:11px;color:var(--text-subtle,#768da4);line-height:1.8;margin-bottom:20px}.modal .full{margin-top:12px}.invite-result{border:1px solid var(--border-strong,#ccd9e5);border-radius:10px;padding:18px;color:var(--text-2,#464483)}.invite-result>strong{font-size:13px;margin-left:8px}.invite-result>input{width:100%;border:1px solid var(--border-strong,#d7dfe7);border-radius:6px;padding:10px;margin-top:15px;font-size:10px;color:var(--text-muted,#69829b)}.segmented{display:flex;gap:5px;background:var(--surface-2,#e8eef4);padding:4px;border-radius:8px;margin-bottom:24px}.segmented button{flex:1;padding:8px;font-size:12px;border-radius:6px;color:var(--text-muted,#6c849d)}.segmented button.active{background:var(--surface,white);color:var(--text-2,#39376e);box-shadow:0 2px 4px #1d1c490a}.member-picker{max-height:240px;overflow-y:auto;margin-bottom:15px;border:1px solid var(--border,#dce3eb);border-radius:9px}.member-picker>label{display:flex;align-items:center;gap:11px;padding:11px;border-bottom:1px solid var(--border,#e8edf2);cursor:pointer;font-size:12px}.member-picker input{accent-color:#4d4b84}.member-picker small{display:block;font-size:9px;color:var(--text-subtle,#889baf);margin-top:4px}.mobile-only,.sidebar-scrim{display:none}@media(min-width:1600px){.sidebar{width:274px}.details{width:280px}.message-list{padding-left:40px;padding-right:40px}.message-content>p{font-size:13px}.room-header{padding:24px 40px}.conversation-toolbar{padding:0 40px}.composer-area{padding:10px 36px 18px}}@media(max-width:1200px){.details{display:none}.sidebar{width:235px}.topbar-label{font-size:9px}.composer-foot>span:first-child{display:none}.composer-foot{justify-content:flex-end}}@media(max-width:760px){.rail{width:58px;padding:18px 4px}.rail-brand{width:34px;height:34px;margin-bottom:22px}.rail-item{width:46px;min-height:56px}.rail-item span{font-size:9px}.sidebar{position:fixed;z-index:50;left:58px;top:0;bottom:0;transform:translate(-130%);transition:transform .2s;width:252px;box-shadow:10px 0 30px #19183b22}.sidebar.open{transform:translate(0)}.sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#1d1c3455}.mobile-only{display:inline-flex}.topbar{height:49px;padding:0 12px}.breadcrumbs{gap:8px}.topbar-label{font-size:0;gap:0}.topbar-label .dot{width:6px;height:6px}.room-header{min-height:79px;padding:14px;gap:7px}.room-symbol{width:35px;height:35px;border-radius:10px}.room-symbol svg{width:21px}.room-header h1{font-size:16px;gap:5px}.room-header p{font-size:9px;max-width:180px}.room-tools{gap:1px}.tool-divider,.room-tools>.icon-button:last-child{display:none}.member-button{font-size:10px;padding:4px}.channel-tag{display:none}.conversation-toolbar{height:46px;padding:0 14px}.conversation-tabs{gap:15px}.search input{width:100px;font-size:9px}.conversation-tabs button{font-size:10px;gap:5px}.message-list{padding:0 15px 10px}.welcome{padding-top:23px}.welcome h2{font-size:16px;line-height:1.6}.welcome p{font-size:10px}.welcome-icon{width:39px;height:39px}.message{gap:9px;margin-bottom:22px}.message>.avatar{width:30px;height:30px;border-radius:10px;font-size:10px}.message-meta{gap:5px;flex-wrap:wrap}.message-meta strong{font-size:11px}.department{display:none}.message-meta time{font-size:8px}.message-content>p{font-size:12px}.file-attachment{min-width:0;width:100%;padding:9px;gap:8px}.file-attachment>svg{margin-left:2px;width:15px}.file-attachment strong{font-size:10px}.image-attachment{max-width:100%}.composer-area{padding:8px 10px 12px}.composer textarea{padding:12px;font-size:12px;height:64px}.compose-limit{font-size:8px}.composer-actions{padding:0 7px 7px}.composer-foot{font-size:7px}.people-page{padding:22px 17px}.page-heading{align-items:flex-start;flex-direction:column;gap:13px}.page-heading h1{font-size:23px}.page-heading .primary{font-size:11px;padding:9px 12px;min-height:35px}.people-search{width:100%}.people-grid{grid-template-columns:1fr}.person-card{padding:20px}.files-page{padding:22px 15px}.error-banner{font-size:10px;padding:5px 12px}.auth-page{display:block}.auth-story{display:none}.auth-form{min-height:100dvh;padding:40px 25px}.auth-card h2{font-size:27px}.modal{padding:20px}.modal h2{font-size:18px}}.topbar-right{display:flex;align-items:center;gap:18px}.browser-notification{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--text-muted,#67809a)}.notice-banner{display:flex;align-items:center;justify-content:space-between;background:var(--surface-2,#e8eff6);color:var(--text-2,#454381);padding:5px 25px;flex-shrink:0}.notice-banner>button:first-child{display:flex;align-items:center;gap:9px;font-size:11px}.disabled{pointer-events:none}@media(max-width:760px){.topbar-right{gap:7px}.browser-notification{font-size:8px}.notice-banner{padding:5px 12px}.notice-banner>button:first-child{font-size:10px}}@media(max-width:760px){.message-status{max-width:120px}.message-content>p{font-size:13px;line-height:1.85}.message-meta strong{font-size:12px}.message-meta time{font-size:9px}.composer textarea{font-size:13px}.room-header p{font-size:10px}}.backup-status{padding:10px 20px;background:var(--surface-2,#eef2f5);color:var(--text,#29284d);font-size:13px;border-bottom:1px solid var(--border-strong,#dae0e6);flex-shrink:0}.backup-status summary{cursor:pointer;font-weight:600}.backup-status p{margin:5px 0}.security-alert{padding:6px 0;border-top:1px solid rgba(138,52,27,.18)}.security-alert button{margin-top:4px;padding:5px 12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}.mobile-home .security-alerts{margin-bottom:12px;border-radius:12px}:root{--brand-blue:#2078e5;--brand-cyan:#11bcc8;--brand-navy:#1b194f;--green:#1765c4;--ink:#1b194f;--line:#e1e8f2;--muted:#65758b;color:var(--ink);background:var(--bg,#f7faff);color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--bg:#0f1320;--surface:#171b29;--surface-soft:#131827;--surface-2:#20263a;--surface-3:#2a3147;--border:#283045;--border-strong:#36405a;--text:#e8ebf4;--text-2:#c4cadb;--text-muted:#a6afc1;--text-subtle:#939eb3;--text-faint:#818da3;--link:#7fb3ff;--teal:#5fd0c6;--accent-soft:#1b2944;--accent-soft-2:#233a60;--primary:#3d4fb8;--primary-hover:#4a5dcc;--ok:#7dd6a5;--ok-soft:#15302a;--warn:#efc46e;--warn-soft:#30281a;--warn-line:#6b5627;--danger:#ff9d8f;--danger-soft:#381f23;--danger-line:#6e3c3a;--drop-veil:rgba(15,19,32,.92);--ink:var(--text);--muted:var(--text-muted);--line:var(--border);--green:var(--link)}:where(:root[data-theme=dark]) :where(input:not([type=checkbox],[type=radio],[type=range]),textarea,select){background-color:var(--surface);color:var(--text)}.rail,.auth-story{background:var(--brand-navy);color:#d3e0f2}.brand-icon,.rail-brand{background:linear-gradient(150deg,var(--brand-blue),var(--brand-cyan));color:#fff}.art-zap{color:#27ccda}.primary{background:#1765c4;color:#fff}.primary:hover{background:#1255a7}.sidebar{background:var(--surface-2,#eff5fc);border-color:var(--line)}.room-link.active{background:var(--accent-soft-2,#dcecff);color:var(--link,#154f99)}.room-link.active svg{color:var(--link,#1765c4)}.room-link b{background:#1765c4}.send-button{background:#1765c4;color:#fff}.send-button:hover{background:#1255a7}.send-button:disabled{background:var(--surface-3,#e2e8f0);color:var(--text-subtle,#8493a7)}.room-symbol,.welcome-icon,.invite-symbol,.sage{background:var(--accent-soft,#e0f5f8);color:var(--teal,#087684)}.conversation-tabs button.selected{border-color:#2078e5;color:var(--link,#1765c4)}button:focus-visible,a:focus-visible{outline-color:#2078e5}input:focus,textarea:focus,.composer:focus-within{border-color:#2078e5!important}.message-content>p{color:var(--text-2,#34445c)}.message-meta strong{color:var(--text,#1b194f)}.room-link,.sidebar-home,.member-button,.icon-button{color:var(--text-2,#526780)}.room-header p,.welcome p,.message-meta time,.department{color:var(--text-muted,#65758b)}.backup-status{background:var(--surface-2,#eaf4fc);color:var(--link,#23547b);border-color:var(--border,#d4e6f3)}.backup-status.backup-problem{background:var(--danger-soft,#fff0e9);color:var(--danger,#8a341b)}.brand-icon,.rail-brand{background:#fff;overflow:hidden}.brand-icon img,.rail-brand img{display:block;width:100%;height:100%;object-fit:contain}.art-zap{transform:none;border-radius:20px;overflow:hidden;width:84px;height:84px;background:#fff}.art-zap img{width:100%;height:100%;object-fit:contain;display:block}.qr-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#e3eaf3);border-radius:24px;background:var(--surface,#fff);color:var(--text,#1b194f);box-shadow:0 24px 80px #121b3833;overflow:auto}.qr-dialog::backdrop{background:#101c3b66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.qr-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-bottom:1px solid var(--border,#edf1f6)}.qr-eyebrow{display:block;font-size:10px;letter-spacing:1.8px;color:var(--text-muted,#69809b);font-weight:700;margin-bottom:7px}.qr-header h2{font-size:20px;line-height:1.4;letter-spacing:-.5px}.qr-close{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface-2,#f3f6fa);color:var(--text-muted,#62728a);flex-shrink:0}.qr-close:hover{background:var(--surface-2,#e7eef7)}.qr-body{text-align:center;padding:28px 28px 24px}.qr-symbol{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 16px;border-radius:16px;background:var(--accent-soft,#eaf4ff);color:var(--link,#1765c4)}.qr-symbol.approved{background:var(--accent-soft,#e4f7f5);color:var(--teal,#087e79)}.qr-body h3{font-size:21px;line-height:1.45;margin:0 0 10px;letter-spacing:-.5px}.qr-body p{font-size:14px;line-height:1.75;color:var(--text-muted,#62728a);white-space:pre-line;margin:0}.qr-image{display:grid;place-items:center;width:244px;min-height:244px;margin:22px auto 18px;border:1px solid var(--border,#e3eaf3);border-radius:18px;background:var(--surface,white);overflow:hidden;color:var(--text-muted,#62728a)}.qr-image img{display:block;max-width:100%;height:auto}.qr-code{display:flex;justify-content:center;gap:7px;margin:28px 0}.qr-code span{display:grid;place-items:center;width:46px;height:60px;border:1px solid var(--border,#dbe6f3);border-radius:10px;background:var(--surface-soft,#f4f8fd);font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--link,#1765c4)}.qr-timer{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--text-muted,#718198)}.qr-timer strong{color:var(--link,#1765c4);font-variant-numeric:tabular-nums}.qr-approved-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;padding:16px;border-radius:12px;background:var(--surface-soft,#f0faf9);color:var(--teal,#087e79);font-size:13px}.qr-body .qr-error{margin-top:20px;padding:14px;background:var(--danger-soft,#fff5f3);border-radius:12px;color:var(--danger,#a94f40);font-size:13px}.qr-footer{padding:0 28px 28px}.qr-footer .primary{min-height:48px;border-radius:12px;font-size:14px}.qr-footer-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted,#75869b);font-size:12px;line-height:1.6}@media(max-width:400px){.qr-header{padding:20px}.qr-body{padding:24px 20px}.qr-footer{padding:0 20px 24px}.qr-code{gap:5px}.qr-code span{width:38px;height:54px;font-size:25px}.qr-timer{flex-wrap:wrap}.qr-header h2{font-size:18px}}.read-receipt{font-size:11px;color:var(--link,#1765c4);white-space:nowrap}.message-tools{display:flex;gap:12px;margin:6px 0}.message-tools button{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted,#62748b);font-size:12px;padding:4px}.message-tools button:hover{color:var(--link,#1765c4)}.tool-results{max-height:42vh;overflow:auto;margin:16px 0}.tool-results h3{font-size:13px;color:var(--text-muted,#62748b);margin:12px 0}.forward-target{display:flex!important;align-items:center;gap:10px;padding:10px;margin:0!important}.forward-target input{width:auto!important}.forward-preview{background:var(--surface-2,#edf4fb);padding:14px;border-radius:12px;margin:0 0 16px;white-space:pre-wrap;max-height:130px;overflow:auto}.forward-preview small{display:block;margin-top:8px}.search-hit{padding:14px 0;border-bottom:1px solid var(--border,#e1e8f0)}.search-hit p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.search-hit a{display:block;color:var(--link,#1765c4)}.upload-status{display:flex;gap:12px;align-items:center;font-size:12px;padding:6px}.upload-status progress{flex:1;accent-color:#1765c4}.tool-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:100;background:#1b194f;color:#fff;padding:14px 20px;border-radius:12px;display:flex;gap:20px}.tool-toast button{color:#fff}.modal textarea{width:100%;padding:12px;border:1px solid var(--border-strong,#d9e1ee);border-radius:8px;font:inherit}.conversation-toolbar{flex-wrap:wrap}.reply-quote{display:flex;flex-direction:column;gap:5px;border-left:3px solid #1765c4;background:var(--surface-2,#edf4fb);border-radius:8px;padding:10px 14px;margin:6px 0;text-align:left;max-width:100%;color:var(--text,#1b194f)}.reply-quote span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.reaction-bar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.reaction-bar button{border:1px solid var(--border,#dce5f0);border-radius:16px;padding:4px 9px;background:var(--surface,white)}.reaction-bar button[aria-pressed=true]{background:var(--accent-soft-2,#dceeff);border-color:#1765c4}.message-content p a{color:var(--link,#1765c4);text-decoration:underline;overflow-wrap:anywhere}.quote-highlight{background:var(--accent-soft-2,#dceeff);border-radius:12px;transition:background .2s}.message{position:relative}.message-tools{position:absolute;right:12px;top:0;background:var(--surface,#fff);border:1px solid var(--border,#dce5f0);border-radius:10px;box-shadow:0 3px 12px #1b194f15;padding:4px 8px;opacity:0;transition:opacity .15s;z-index:3}.message:hover .message-tools,.message:focus-within .message-tools{opacity:1}.reaction-bar{position:relative}.reaction-add{color:var(--text-muted,#62748b)}.emoji-picker{position:absolute;left:0;top:100%;width:min(330px,75vw);padding:14px;background:var(--surface,white);border:1px solid var(--border,#dce5f0);border-radius:14px;box-shadow:0 8px 30px #1b194f26;z-index:20}.emoji-picker-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.emoji-picker input{width:100%;padding:9px;border:1px solid var(--border,#dce5f0);border-radius:8px}.emoji-grid{display:grid;grid-template-columns:repeat(7,1fr);max-height:220px;overflow:auto;margin-top:10px}.emoji-grid button{font-size:23px;border:0;padding:7px;border-radius:6px}.emoji-grid button:hover{background:var(--accent-soft,#e5f2ff)}@media(hover:none){.message-tools{position:static;opacity:1;width:fit-content}}.message-more{position:relative}.message-menu{position:absolute;right:0;top:100%;width:180px;background:var(--surface,white);border:1px solid var(--border-strong,#dce2eb);border-radius:10px;box-shadow:0 8px 30px #18214a25;padding:6px;z-index:30}.message-menu button{display:block;width:100%;text-align:left;padding:10px}.message-menu .danger{color:var(--danger,#ba233d)}.action-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#121a4260;display:grid;place-items:center;z-index:100}.action-dialog{width:min(480px,90vw);padding:24px;background:var(--surface,white);border-radius:16px}.action-dialog textarea{width:100%;min-height:140px;margin:16px 0}.action-dialog>div{display:flex;justify-content:flex-end;gap:12px}.message .reaction-bar{position:static}.message-tools:has([aria-expanded=true]),.message-tools:has(.action-overlay){opacity:1;pointer-events:auto}.emoji-picker{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:101;background:var(--surface,white)}.emoji-picker:before{content:none}.management-bar{display:flex;gap:12px;padding:8px 24px;border-bottom:1px solid var(--border,#e1e8f0);flex-wrap:wrap;font-size:12px}.management-bar button{color:var(--link,#1765c4)}.management-list{display:block!important;max-height:45vh;overflow:auto;margin:16px 0}.management-list>button,.management-list>article{display:block;width:100%;text-align:left;border-bottom:1px solid var(--border,#e1e8f0);padding:12px}.management-list p{white-space:pre-wrap;overflow-wrap:anywhere}.message-menu{max-height:55vh;overflow:auto}.touch-message-actions{display:contents}.touch-message-actions>.touch-actions-toggle{display:none}@media(max-width:760px){.workspace .rail{display:none}.workspace.menu-open .rail{display:flex;position:fixed;inset:0 auto 0 0;z-index:51;width:58px}.sidebar{width:min(290px,calc(100vw - 58px))}.topbar{height:44px;padding:0 10px}.room-header{min-height:58px;padding:10px 14px}.room-header p{display:none}.conversation-toolbar{padding:0 12px;gap:8px;height:auto;min-height:42px;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.conversation-toolbar>*{flex-shrink:0}.search input{width:88px}.management-bar{padding:8px 12px;gap:12px;flex-wrap:nowrap;overflow-x:auto;flex-shrink:0;white-space:nowrap}.management-bar>*{flex-shrink:0}.message-list{padding:0 12px 12px}.message{margin-bottom:16px}.composer-area{padding:6px 8px max(8px,env(safe-area-inset-bottom))}.composer textarea{font-size:16px;height:48px;padding:10px 12px}.composer-actions>div{gap:6px;min-width:0;flex-wrap:wrap}.compose-limit,.composer-foot{display:none}.composer-actions select{max-width:120px}.touch-message-actions{display:block}.touch-message-actions>.touch-actions-toggle{display:flex;list-style:none;align-items:center;justify-content:center;width:36px;height:32px;margin-left:auto;border-radius:8px;color:var(--text-muted,#62748b);cursor:pointer}.touch-message-actions>.touch-actions-toggle::-webkit-details-marker{display:none}.touch-message-actions:not(.expanded)>.message-tools{display:none}.touch-message-actions.expanded>.message-tools{position:relative;top:auto;right:auto;opacity:1;display:flex;flex-wrap:wrap;width:100%;gap:8px;margin:4px 0;padding:6px;pointer-events:auto}.message-tools button{min-height:32px}.message-menu{right:0;max-width:calc(100vw - 60px)}}@media(min-width:761px){.touch-message-actions:not(.expanded)>.message-tools{display:flex}}.message-tools .message-menu button{border:0;border-radius:6px;background:transparent;box-shadow:none;padding:10px 12px;min-height:38px;margin:0;font-size:12px}.message-tools .message-menu button:hover{background:var(--surface-2,#eef5fc)}.message:has(.message-menu){z-index:10}.outbox-panel{max-height:180px;overflow:auto;border:1px solid var(--border-strong,#d9e3ef);border-radius:8px;padding:8px;margin-bottom:6px;font-size:12px}.outbox-panel summary{cursor:pointer}.outbox-panel p{font-size:11px;color:var(--text-muted,#62748b);margin:6px 0}.outbox-row{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid var(--border,#edf1f7)}.outbox-row span{flex:1;min-width:0;overflow-wrap:anywhere}.outbox-row small{display:block;color:var(--danger,#a04835)}.outbox-row button{color:var(--link,#1765c4)}.latest-button{display:block;margin:0 auto 6px;background:#1765c4;color:#fff;padding:7px 14px;border-radius:20px}.draft-files{max-height:120px;overflow:auto}.draft-files>span{display:inline-flex;align-items:center;gap:6px}@media(max-width:760px){.workspace{height:var(--chat-height,100dvh);position:relative;top:var(--chat-top,0px)}.composer-area{flex-shrink:0}.message-list{min-height:0}.draft-files{max-height:90px}}.mobile-home,.mobile-home-back,.mobile-sheet-backdrop{display:none}@media(max-width:760px){.show-mobile-home>main,.show-mobile-home>.mobile-home-back{display:none!important}.show-mobile-home>.mobile-home{display:flex;flex-direction:column;width:100%;height:100%;background:var(--surface-soft,#f5f8fc);color:var(--text,#1d1b50)}.mobile-home>header{display:flex;align-items:center;gap:12px;background:#1d1b50;color:#fff;padding:14px 18px;min-height:64px}.mobile-home header img{width:36px;height:36px;border-radius:10px}.mobile-home header strong{font-size:20px;flex:1}.mobile-home header button{color:#fff;padding:8px}.mobile-home>main{overflow:auto;flex:1;padding:12px 16px 76px}.mobile-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 20px}.mobile-shortcuts button{display:flex;flex:1 0 auto;justify-content:center;max-width:100%;white-space:nowrap;align-items:center;gap:8px;background:var(--surface,white);padding:12px;border-radius:12px;border:1px solid var(--border,#e0e8f1)}.mobile-home input{width:100%;padding:12px;border:1px solid var(--border-strong,#ccd8e6);border-radius:10px;margin-bottom:12px}.mobile-home summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:14px;font-weight:600;padding:16px 0;cursor:pointer}.mobile-home summary small{margin-left:auto;color:var(--text-muted,#708197)}.mobile-room-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:68px;border-bottom:1px solid var(--border,#e8edf4)}.mobile-room-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--accent-soft,#def5fa);font-weight:700}.mobile-room-row>span:nth-child(2){flex:1;min-width:0}.mobile-room-row strong{font-size:15px}.mobile-room-name{display:flex;align-items:baseline;gap:6px;min-width:0}.mobile-room-name strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-room-status{flex:0 6 auto;min-width:0;max-width:60%;font-style:normal;font-size:11px;color:var(--text-muted,#718094);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-room-row small{display:block;color:var(--text-muted,#718094);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.mobile-room-row>b{background:var(--primary,#1d1b50);color:#fff;padding:4px 8px;border-radius:20px;font-size:12px}.mobile-home nav{display:flex;background:var(--surface,white);border-top:1px solid var(--border,#e0e8f1);padding:6px 8px max(8px,env(safe-area-inset-bottom))}.mobile-home nav button{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;color:var(--text-muted,#73829a);font-size:11px;padding:8px}.mobile-home nav button[aria-current]{color:var(--link,#1669d1);background:var(--surface-2,#edf5ff);border-radius:12px}.mobile-new{position:absolute;bottom:90px;right:20px;background:#1669d1;color:#fff;padding:16px;border-radius:50%;box-shadow:0 4px 18px #1b376833}.mobile-home-back{display:block;position:absolute;top:6px;left:10px;z-index:15;height:38px;padding:8px;background:var(--surface,white);color:var(--text,#1d1b50)}.workspace:not(.show-mobile-home) .breadcrumbs{visibility:hidden}.mobile-sheet-backdrop{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;background:#10162a77;z-index:160;align-items:flex-end}.mobile-message-sheet{background:var(--surface,#fff);width:100%;max-height:85dvh;overflow:auto;border-radius:24px 24px 0 0;padding:16px 20px max(20px,env(safe-area-inset-bottom));box-shadow:0 -8px 50px #13224022}.mobile-message-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.mobile-message-sheet header button{font-size:26px;padding:4px 12px}.sheet-reactions{display:flex;justify-content:space-between;gap:4px;margin-bottom:16px}.sheet-reactions button{min-width:38px;min-height:44px;border-radius:50%;background:var(--surface-2,#edf4fb);font-size:22px}.sheet-primary-actions{display:flex;gap:10px;margin-bottom:12px}.sheet-primary-actions>div{flex:1}.sheet-primary-actions button{width:100%;min-height:64px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--surface-2,#edf4fb);border-radius:14px}.sheet-secondary-actions .message-menu{position:static;display:flex;width:100%;box-shadow:none;border:0;padding:0;flex-direction:column}.sheet-secondary-actions button{width:100%;text-align:left;min-height:46px;border:0;border-bottom:1px solid var(--border,#edf0f5);border-radius:0;padding:12px}.sheet-secondary-actions .message-more{display:block;width:100%}.mobile-message-sheet .danger{color:var(--danger,#c33c58)}.mobile-sheet-backdrop~.emoji-picker{z-index:180}}.home-screen-help{border:1px solid var(--border,#dce6f1);background:var(--surface,white);border-radius:12px;padding:0 12px;margin-bottom:12px}.mobile-home .home-screen-help summary{padding:12px 0;font-size:13px;color:var(--link,#1765c4);min-height:44px}.home-screen-help p,.home-screen-help li,.home-screen-help small{font-size:13px;line-height:1.7;color:var(--text-2,#566b83)}.home-screen-help ol{padding-left:20px;margin:8px 0}.home-screen-help li svg{vertical-align:middle}.home-screen-help small{display:block;padding-bottom:12px}@media(max-width:760px){.workspace{position:relative;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.mobile-home{position:relative;min-height:0}.mobile-home>header{min-height:58px;padding:10px 16px}.mobile-home>main{min-height:0;overscroll-behavior-y:contain;padding-bottom:80px}.mobile-home input,.modal input,.modal textarea,.action-dialog textarea,.emoji-picker input,.search input{font-size:16px}.mobile-room-avatar{flex-shrink:0}.mobile-room-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-home nav{flex-shrink:0}.mobile-new{bottom:calc(86px + env(safe-area-inset-bottom));width:52px;height:52px;padding:14px}.mobile-home-back{top:calc(2px + env(safe-area-inset-top));height:44px;min-width:64px}.topbar-right{max-width:calc(100% - 74px);margin-left:auto}.topbar .topbar-label{font-size:10px}.topbar .browser-notification{display:none}.room-header{min-height:52px;padding:6px 12px}.room-header h1{font-size:17px}.room-symbol{width:32px;height:32px;border-radius:10px}.room-tools{gap:2px}.room-tools .icon-button{width:40px;height:40px}.message-list{overscroll-behavior-y:contain}.message-content>p{font-size:15px;line-height:1.65}.message-meta strong{font-size:13px}.message-meta time{font-size:10px}.department{display:none}.welcome{padding-top:14px}.welcome-icon,.welcome p{display:none}.welcome h2{font-size:14px;color:var(--text-muted,#718094)}.date-divider{margin:16px 0}.composer textarea{height:54px;max-height:140px}.composer-actions{padding:0 6px 6px}.composer-actions .icon-button,.send-button{width:44px;height:44px}.composer-actions select{font-size:16px;min-height:40px}.file-attachment{min-width:0;max-width:100%}.image-attachment{max-width:100%}.mobile-message-sheet{overscroll-behavior:contain}.mobile-message-sheet:focus{outline:none}.tool-toast{bottom:calc(16px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);font-size:13px}}@media(max-width:760px){.touch-message-actions,.touch-message-actions>.touch-actions-toggle,.touch-message-actions.expanded>.message-tools{display:none!important}.reaction-bar:not(:has(>button)){margin:0}.message-content>p,.message-content>p a,.attachments a,.attachments img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.mention-input{position:relative}.composer{overflow:visible}.mention-suggestions{position:absolute;bottom:100%;left:0;z-index:40;width:min(360px,100%);max-height:220px;overflow:auto;background:var(--surface,white);border:1px solid var(--border,#dce5ef);border-radius:12px;box-shadow:0 6px 24px #18244a22;padding:6px}.mention-suggestions>small{display:block;padding:6px 10px;color:var(--text-muted,#748399)}.mention-suggestions button{display:flex;width:100%;align-items:center;gap:10px;text-align:left;padding:10px;border-radius:7px;min-height:44px}.mention-suggestions button[aria-selected=true]{background:var(--accent-soft,#e5f2ff);color:var(--link,#1765c4)}.mention-suggestions button>span{background:var(--accent-soft,#ddf5fa);border-radius:8px;padding:6px}.mention-suggestions button>small{margin-left:auto;color:var(--text-muted,#748399)}.mention-suggestions p{padding:12px;color:var(--text-muted,#748399)}.room-members-body{min-height:120px;overflow-y:auto;padding:0 24px 24px}.room-members-context{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--text-muted,#65758b);font-size:14px}.room-members-context span{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;border-radius:13px;background:var(--surface-2,#eef3f8);font-size:12px;font-weight:600}.room-members-list{list-style:none;margin:0;padding:0}.room-members-list li{display:flex;align-items:center;gap:12px;min-height:64px;padding:9px 0;border-bottom:1px solid var(--border,#e1e8f2)}.room-members-list li:last-child{border-bottom:0}.room-members-list li>div:not(.avatar){flex:1;min-width:0}.room-members-list strong,.room-members-list small{display:block;overflow-wrap:anywhere}.room-members-list strong{font-size:14px;font-weight:600;color:var(--text,#1b194f)}.room-members-list strong span,.room-members-list small{font-size:12px;font-weight:400;color:var(--text-muted,#65758b)}.room-members-list small{margin-top:3px}.room-members-list .room-member-inactive{flex:none;margin:0}.room-members-loading{display:flex;align-items:center;gap:10px;padding:22px 0;color:var(--text-muted,#65758b)}.room-members-error{padding:12px;border-radius:8px;background:var(--danger-soft,#fff1ed);color:var(--danger,#a14f40)}.room-members-error button{min-height:40px;margin-top:8px;text-decoration:underline}.mention-label{color:var(--link,#1765c4);background:var(--accent-soft,#e5f2ff);border-radius:4px;padding:1px 3px;font-weight:600}@media(max-width:760px){.message.message-selected{background:var(--accent-soft-2,#dbeafe);box-shadow:inset 0 0 0 2px #2874d0;border-radius:12px}.message{transition:transform .18s ease}.message.message-pressing{transform:scale(.97)}.message.message-ghost{position:fixed;z-index:161;margin:0;padding:14px 16px;overflow:hidden;pointer-events:none;background:var(--accent-soft,#eaf3ff);box-shadow:inset 0 0 0 1.5px #7fb0ea,0 12px 32px #0b163359;border-radius:18px}.message-ghost-clipped{-webkit-mask-image:linear-gradient(#000 75%,transparent);mask-image:linear-gradient(#000 75%,transparent)}.mobile-sheet-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sheet-secondary-actions .message-menu{max-width:none;max-height:none;overflow:visible}}.room-link .room-star{margin-left:auto;color:#bc8b37;flex-shrink:0}.channel-context-menu{position:fixed;z-index:210;width:192px;max-width:calc(100vw - 16px);padding:5px;background:var(--surface,#fff);border:1px solid var(--border-strong,#dce2eb);border-radius:10px;box-shadow:0 12px 32px #18214a30}.channel-context-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 10px;border-radius:6px;text-align:left;font-size:12px;color:var(--text,#27263a)}.channel-context-menu button:hover,.channel-context-menu button:focus-visible{background:var(--surface-2,#edf3f8)}.channel-context-menu button.danger{color:var(--danger,#ba233d)}.channel-delete-body{padding:18px 24px;color:var(--text,#27263a);line-height:1.6}.channel-delete-body p+p{margin-top:9px;color:var(--text-muted,#627a92);font-size:12px}.channel-delete-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 24px 24px}.channel-delete-actions button{min-height:38px;padding:8px 14px;border-radius:8px;border:1px solid var(--border-strong,#dce2eb)}.channel-delete-actions .channel-delete-confirm{background:var(--danger,#ba233d);border-color:transparent;color:#fff;font-weight:600}.room-header-title{flex:1}.room-heading{display:flex;align-items:center;gap:6px;min-width:0}.room-heading h1{min-width:0}.room-header h1 .room-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-header h1 .channel-tag,.room-tools{flex-shrink:0}.channel-rename-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:28px;min-height:28px;border-radius:6px;color:var(--text-muted,#627a92)}.channel-rename-button:hover{background:var(--surface-2,#edf3f8)}.channel-rename-body{padding:18px 24px;min-width:0}.channel-rename-body label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}.channel-rename-body input{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--border-strong,#dce2eb);border-radius:8px;background:var(--surface,#fff);color:var(--text,#27263a)}.channel-rename-body>p{margin-top:9px;color:var(--text-muted,#627a92);font-size:12px;line-height:1.6}.channel-rename-body>p.error{color:var(--danger,#ba233d)}.channel-rename-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 24px 24px}.channel-rename-actions button{min-height:38px;padding:8px 14px;border-radius:8px;border:1px solid var(--border-strong,#dce2eb)}.channel-rename-actions .primary{width:auto;border-color:transparent}.avatar.has-photo{background:var(--surface-2,#e8edf4);overflow:hidden;padding:0}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.mobile-room-avatar{position:relative;overflow:hidden}.mobile-room-avatar img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.profile-photo{display:flex;align-items:center;gap:16px;padding:4px 0 18px;margin-bottom:16px;border-bottom:1px solid var(--line)}.profile-photo-image{position:relative;flex-shrink:0;display:grid;place-items:center}.profile-photo-image .avatar{width:72px;height:72px;border-radius:22px;font-size:20px}.profile-photo-image .spin{position:absolute;color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}.profile-photo>div{min-width:0;flex:1}.profile-photo strong{display:block;font-size:14px}.profile-photo small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.profile-photo-actions button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--ink);font-weight:600;cursor:pointer}.profile-photo-actions button:disabled{opacity:.55;cursor:default}.profile-photo .error{margin:8px 0 0}.video-attachment{display:flex;flex-direction:column;align-self:flex-start;border:1px solid var(--border,#dfe4e9);border-radius:9px;overflow:hidden;width:330px;max-width:100%;background:var(--surface-soft,#f7f9fb)}.video-attachment video{display:block;width:100%;max-height:320px;background:#11102a}.video-attachment a{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:9px;color:var(--text-subtle,#7c91a7);min-height:36px}.video-attachment a span{flex:1;min-width:0;overflow-wrap:anywhere}.video-fallback{padding:18px 12px;font-size:11px;line-height:1.6;color:var(--warn,#6f5a3f);background:var(--warn-soft,#fbf4e8)}.draft-video{position:relative;display:inline-flex}.draft-video video{width:48px;height:48px;object-fit:cover;border-radius:6px;background:#11102a}.draft-video svg{position:absolute;right:3px;bottom:3px;color:#fff}@media(max-width:760px){.video-attachment{width:100%}.video-attachment video{max-height:60dvh}.video-attachment a{font-size:11px}}@media(max-width:760px)and (prefers-reduced-motion:reduce){.message{transition:none}.message.message-pressing{transform:none}}.onboarding-open{display:flex;align-items:center;justify-content:space-between;width:100%;margin:14px 0;padding:12px 14px;border:1px solid var(--border,#dce6f1);border-radius:10px;background:var(--surface,white);color:var(--link,#1765c4);font-size:13px;font-weight:600;min-height:44px}.onboarding-address{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin-bottom:14px;border-radius:10px;background:var(--surface-2,#f1f5f9)}.onboarding-address span{display:flex;flex-direction:column;min-width:0;font-size:11px;color:var(--text-muted,#6c849d)}.onboarding-address strong{font-size:13px;color:var(--text,#18173b);overflow-wrap:anywhere}.onboarding-address button{display:flex;align-items:center;gap:5px;flex-shrink:0;padding:8px 10px;min-height:36px;border-radius:8px;background:var(--surface,white);border:1px solid var(--border,#dce6f1);font-size:12px;color:var(--text-2,#39376e)}.onboarding-tabs{margin-bottom:16px}.onboarding-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;min-height:40px}.onboarding-tabs small{font-size:10px;color:var(--link,#1765c4)}.onboarding-steps{list-style:none;counter-reset:step;padding:0;margin:0 0 14px}.onboarding-steps li{counter-increment:step;position:relative;padding:0 0 14px 34px;font-size:13px;line-height:1.65;color:var(--text-2,#566b83)}.onboarding-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:var(--accent-soft,#e5efff);color:var(--link,#1765c4);font-size:12px;font-weight:700;display:grid;place-items:center}.onboarding-steps strong{display:block;color:var(--text,#18173b);font-size:14px}.onboarding-steps svg{vertical-align:middle}.onboarding-status{display:flex;align-items:center;gap:6px;padding:10px 12px;margin:0 0 14px;border-radius:10px;background:var(--warn-soft,#fff7e6);color:var(--warn,#7a5412);font-size:13px;line-height:1.6}.onboarding-status.done{background:var(--ok-soft,#e8f6ee);color:var(--ok,#1f6b41)}.onboarding-action .primary small{font-weight:400;opacity:.8}.onboarding-muted{display:block;font-size:12px;color:var(--text-subtle,#768da4);margin:8px 0}.onboarding-later{display:block;text-align:center;margin-top:10px;font-size:12px;color:var(--text-subtle,#768da4)}.in-app-notice{padding:14px;margin:0 0 18px;border:1px solid var(--warn-line,#f0d49a);border-radius:12px;background:var(--warn-soft,#fff7e6);color:var(--warn,#7a5412);font-size:13px;line-height:1.6}.in-app-notice strong{display:block;font-size:14px;color:var(--warn,#5c3d06);margin-bottom:4px}.in-app-notice .primary{margin:10px 0 0}.in-app-notice .in-app-manual{margin:10px 0 0;font-size:12px}.in-app-copy{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:8px 10px;min-height:36px;border-radius:8px;background:var(--surface,white);border:1px solid var(--warn-line,#f0d49a);font-size:12px;color:var(--warn,#5c3d06)}.auth-card{margin-top:auto}.auth-bottom{position:static;margin-top:auto;padding-top:28px;text-align:center}@media(max-width:760px){.composing .composer-area{padding-bottom:8px}.composing .backup-status,.composing .conversation-toolbar,.composing .management-bar{display:none}}.translation-meta{display:inline-flex;align-items:center;gap:4px;margin-top:3px;font-size:11px;color:var(--text-muted,#6b7f95)}.translation-meta button{border:0;background:none;padding:2px 0;color:var(--link,#1765c4);font-size:11px;font-weight:600;cursor:pointer;min-height:24px}.language-choices{display:flex;gap:8px;flex-wrap:wrap}.language-choices button{flex:1 1 auto;min-width:96px;padding:0 12px;min-height:44px;border:1px solid var(--border-strong,#d5dde6);border-radius:9px;background:var(--surface,#fff);font-size:14px}.language-choices button.selected{border-color:#1765c4;background:var(--surface-2,#edf4fb);color:var(--link,#1765c4);font-weight:700}.translation-login{border-radius:10px;background:var(--surface-soft,#f4f8fc);padding:12px 14px;margin:0 0 12px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.translation-code{display:block;font-size:24px;letter-spacing:.12em;margin:6px 0;font-family:ui-monospace,Menlo,monospace;-webkit-user-select:all;user-select:all}.translation-switch{display:inline-flex;align-items:center;gap:6px;color:var(--link,#1765c4);font-size:12px;min-height:32px;padding:0 6px;border-radius:7px;white-space:nowrap}@media(hover:hover){.translation-switch:hover{background:var(--surface-2,#ebeef1)}}.translation-switch i{position:relative;width:28px;height:16px;border-radius:8px;background:#c9d3dd;transition:background .15s}.translation-switch i:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--surface,#fff);transition:transform .15s}.translation-switch.on i{background:#1765c4}.translation-switch.on i:after{transform:translate(12px)}@media(min-width:761px)and (max-width:900px){.composer-actions .compose-limit{display:none}}.room-notice{display:flex;justify-content:center;margin:0 0 20px}.room-notice span{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 11px;border-radius:20px;background:var(--surface-2,#eef2f6);color:var(--text-muted,#687f96);font-size:11px;text-align:center;overflow-wrap:anywhere}@media(max-width:760px){.composer-actions .translation-switch{min-height:44px;font-size:14px;padding:0 8px}}.conversation{position:relative}.drop-overlay{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed var(--green);border-radius:12px;background:var(--drop-veil,rgba(248,250,251,.92));color:var(--green);pointer-events:none;text-align:center;padding:16px}.drop-overlay strong{font-size:16px}.drop-overlay span{font-size:12px;color:var(--text-2,#5d6477)}.profile-menu-anchor{position:relative}.profile-menu-button{display:flex;padding:3px;border-radius:12px}.profile-menu-button:hover,.profile-menu-button[aria-expanded=true]{background:#ffffff14}.profile-menu{position:fixed;left:84px;bottom:14px;z-index:60;width:264px;background:var(--surface-soft,#fffefa);color:var(--text,#2d2c52);border:1px solid var(--border,#dde3ea);border-radius:12px;box-shadow:0 18px 50px #0f0e2733;padding:8px}.profile-menu-head{display:flex;align-items:center;gap:11px;padding:10px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}.profile-menu-head>div{min-width:0}.profile-menu-head strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-head small{display:block;font-size:11px;color:var(--text-subtle,#768da4);margin-top:4px}.profile-menu [role=menuitem]{display:flex;align-items:center;gap:11px;width:100%;padding:9px 10px;border-radius:7px;font-size:13px;text-align:left}.profile-menu [role=menuitem] svg{color:var(--text-muted,#6a829b)}.profile-menu [role=menuitem]:hover,.profile-menu [role=menuitem]:focus-visible{background:var(--surface-2,#eaeff4);outline:none}.profile-menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}.profile-sheet-head{display:flex;align-items:flex-start;gap:8px;margin-bottom:4px}.profile-sheet-head>button{font-size:26px;line-height:1;padding:4px 10px;color:var(--text-muted,#5d6f86);min-width:44px;min-height:44px}.profile-sheet .profile-menu-head{flex:1;min-width:0;border:0;margin:0;padding:4px 0 10px}.profile-sheet .profile-menu-head strong{font-size:16px}.profile-sheet .profile-menu-head small{font-size:12px}.profile-sheet [role=menu]{border-top:1px solid var(--line);padding-top:6px}.profile-sheet [role=menuitem]{display:flex;align-items:center;gap:14px;width:100%;min-height:50px;padding:10px 6px;border-radius:10px;font-size:15px;text-align:left;color:var(--text,#2d2c52)}.profile-sheet [role=menuitem] svg{color:var(--text-muted,#6a829b)}.profile-sheet [role=menuitem]:active,.profile-sheet [role=menuitem]:focus-visible{background:var(--surface-2,#eaeff4);outline:none}.profile-sheet hr{border:0;border-top:1px solid var(--line);margin:6px 0}.create-menu-anchor{position:relative}.create-menu-button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#ffffff14;color:#d3e0f2}.create-menu-button:hover,.create-menu-button[aria-expanded=true]{background:#ffffff26;color:#fff}.create-menu{position:fixed;left:84px;bottom:70px;z-index:60;width:240px;background:var(--surface-soft,#fffefa);color:var(--text,#2d2c52);border:1px solid var(--border,#dde3ea);border-radius:12px;box-shadow:0 18px 50px #0f0e2733;padding:8px}.create-menu-head{padding:8px 10px 10px;font-size:14px;font-weight:700;border-bottom:1px solid var(--line);margin-bottom:6px}.create-menu [role=menuitem]{display:flex;align-items:center;gap:11px;width:100%;padding:9px 10px;border-radius:7px;font-size:13px;text-align:left}.create-menu [role=menuitem] svg{color:var(--text-muted,#6a829b)}.create-menu [role=menuitem]:hover,.create-menu [role=menuitem]:focus-visible{background:var(--surface-2,#eaeff4);outline:none}.create-menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}@media(max-width:760px){.create-menu-anchor{display:none}}@media(max-width:760px){.profile-menu{left:64px;bottom:10px;width:min(264px,calc(100vw - 80px))}}.presence-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none;background:#2eb67d}.presence-dot.away{background:#e5a23a}.presence-dot.offline{background:transparent;box-shadow:inset 0 0 0 1.5px var(--text-faint,#9aabbb)}.avatar-presence{position:relative;display:inline-flex;flex-shrink:0;--presence-ring:var(--surface,#fefefb)}.avatar-presence>.presence-dot{position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border:2px solid var(--presence-ring);box-sizing:content-box}.avatar-presence>.presence-dot.offline{background:var(--presence-ring);box-shadow:inset 0 0 0 1.5px var(--text-faint,#9aabbb)}.rail .avatar-presence{--presence-ring:var(--brand-navy,#181737)}.sidebar .avatar-presence{--presence-ring:var(--surface-2,#edf0f3)}.details .avatar-presence{--presence-ring:var(--surface-soft,#f9fbfd)}.person-card .avatar-presence{--presence-ring:var(--surface-soft,#fefefb)}.mobile-home .avatar-presence{--presence-ring:var(--surface-soft,#f5f8fc)}.mobile-home .avatar-presence>.presence-dot{width:9px;height:9px}.sidebar .avatar-presence>.presence-dot,.details .avatar-presence>.presence-dot{width:9px;height:9px}.message-meta .presence-dot{width:7px;height:7px;margin-left:-3px}.profile-menu-presence{display:flex;align-items:center;gap:6px;font-size:12px;margin-top:4px;color:var(--text-2,#4f6275)}.profile-menu-status{display:block;font-size:12px;margin-top:4px;color:var(--text,#2d2c52);overflow-wrap:anywhere}.person-card .person-status{margin-top:6px;color:var(--text-2,#4f6275);overflow-wrap:anywhere}.detail-member small.member-status{color:var(--text-muted,#5d7186);overflow-wrap:anywhere}.status-form .status-count{display:block;text-align:right;font-size:11px;color:var(--text-subtle,#94a6b8);margin:-14px 0 12px}.status-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.status-suggestions button{border:1px solid var(--border-strong,#d8dee5);border-radius:999px;padding:6px 11px;font-size:12px;background:var(--surface,white)}.status-suggestions button:hover{background:var(--surface-2,#eaeff4)}.status-expiry{border:0;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px}.status-expiry legend{font-weight:600;font-size:12px;margin-bottom:9px;padding:0}.status-expiry label{display:flex;align-items:center;gap:6px}.status-actions{display:flex;justify-content:flex-end;gap:8px}.status-actions>button:not(.primary){border:1px solid var(--border-strong,#d8dee5);border-radius:9px;padding:0 14px;font-size:13px}.theme-toggle{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#a4b3c3}.theme-toggle:hover{background:#ffffff14;color:#bed5ed}.topbar{height:72px;padding:0 28px;gap:20px;background:var(--surface,#fff);border-bottom:1px solid var(--border-strong,#dce2e8)}.topbar .breadcrumbs{display:flex;align-items:center;gap:14px;min-width:0;font-size:14px;line-height:1.4;color:var(--text-muted,#62758b)}.topbar .breadcrumbs strong{font-size:18px;font-weight:700;letter-spacing:-.3px;color:var(--text,#27263a);white-space:nowrap}.topbar .breadcrumbs .slash{color:var(--text-subtle,#8297ac)}.topbar .topbar-right{display:flex;align-items:center;gap:6px;flex-shrink:0;max-width:none;margin-left:auto}.topbar-action{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:12px;color:var(--text-2,#484771);flex-shrink:0}.topbar-action:hover{background:var(--surface-2,#edf0f3);border-color:var(--border-strong,#dce2e8);color:var(--text,#27263a)}.topbar-action:focus-visible{outline:2px solid var(--link,#1765c4);outline-offset:2px;background:var(--surface-2,#edf0f3)}.topbar-status{display:inline-flex;align-items:center;justify-content:center;width:44px;height:32px;margin-left:8px;border-left:1px solid var(--border-strong,#dce2e8);flex-shrink:0;color:var(--text-muted,#62758b)}.topbar-status.connected{color:var(--link,#1765c4)}.topbar-status.offline{color:var(--warn,#a5724e)}@media(max-width:1100px){.topbar{padding:0 20px;gap:12px}.topbar .breadcrumbs>span{display:none}}@media(max-width:760px){.topbar{height:60px;padding:0 12px;gap:8px}.topbar .breadcrumbs{gap:6px}.topbar .breadcrumbs strong{font-size:16px}.topbar .topbar-right{gap:2px}.topbar-status{width:28px;margin-left:2px}}@media(max-width:380px){.topbar{padding:0 6px;gap:4px}.topbar .topbar-right{gap:0}.topbar-status{width:24px;margin-left:0}.topbar .breadcrumbs strong{font-size:15px}}.channel-invite-button{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid var(--border-strong,#d0d9e2);border-radius:7px;color:var(--text-muted,#5c738a);font-size:11px;white-space:nowrap}.channel-invite-button:hover,.channel-invite-detail:hover{background:var(--surface-2,#e8eef4)}.channel-invite-detail{margin-bottom:14px}@media(max-width:760px){.channel-invite-button{font-size:0;padding:7px}.channel-invite-button svg{width:18px;height:18px}}@media(max-width:760px){.workspace.swipe-back>.mobile-home,.workspace.swipe-forward>main.main{display:flex!important;flex-direction:column;position:absolute;top:env(safe-area-inset-top);right:env(safe-area-inset-right);bottom:0;left:env(safe-area-inset-left)}.workspace.swipe-back>.mobile-home,.workspace.swipe-forward>.mobile-home{z-index:1;transform:translate(var(--swipe-home,0px));background:var(--surface-soft,#f5f8fc)}.workspace.swipe-back>main.main,.workspace.swipe-forward>main.main{z-index:2;transform:translate(var(--swipe-x,0px));box-shadow:-12px 0 32px #10162a33;will-change:transform}.workspace.swipe-back>main.main{position:relative}.workspace.swipe-back>.mobile-home-back{transform:translate(var(--swipe-x,0px));z-index:3}.workspace.swipe-settle>main.main,.workspace.swipe-settle>.mobile-home,.workspace.swipe-settle>.mobile-home-back{transition:transform .24s cubic-bezier(.2,.8,.2,1)}}:root{--brand:#262456;--brand-blue:#1d61c2;--brand-navy:#181737;--nav-bg:#181737;--nav-text:#cbd5e1;--bg:#f8fafc;--surface:#fff;--surface-soft:#f8fafc;--surface-2:#f1f5f9;--surface-3:#e8eef5;--text:#20243a;--text-2:#34445c;--text-muted:#526176;--text-subtle:#627286;--text-faint:#7b8899;--border:#dce3eb;--border-strong:#bdc8d5;--control-border:#7b8899;--primary:#1d61c2;--on-primary:#fff;--primary-hover:#174f9f;--primary-active:#123f80;--link:#1d61c2;--selected-bg:#e8f0fd;--focus:#1d61c2;--success:#187447;--success-soft:#eaf7ef;--warning:#8a5800;--warning-soft:#fff4db;--danger:#b42336;--danger-soft:#fff0f1;--overlay:rgba(15,23,42,.4);--shadow-menu:0 4px 16px rgba(15,23,42,.12);--shadow-dialog:0 16px 48px rgba(15,23,42,.2);--radius-control:8px;--radius-dialog:16px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--ink:var(--text);--muted:var(--text-muted);--line:var(--border);--green:var(--link);--ok:var(--success);--ok-soft:var(--success-soft);--warn:var(--warning);--warn-soft:var(--warning-soft);--accent-soft:var(--selected-bg);--accent-soft-2:var(--selected-bg);color:var(--text);background:var(--bg);color-scheme:light}:root[data-theme=dark]{--brand-navy:#101322;--nav-bg:#101322;--bg:#0f1320;--surface:#171b29;--surface-soft:#131827;--surface-2:#20263a;--surface-3:#2a3147;--text:#e8ebf4;--text-2:#c4cadb;--text-muted:#a6afc1;--text-subtle:#939eb3;--text-faint:#a6afc1;--border:#36405a;--border-strong:#53617b;--control-border:#78869d;--primary:#3d4fb8;--on-primary:#fff;--primary-hover:#4a5dcc;--primary-active:#303f98;--link:#93bcff;--selected-bg:#233a60;--focus:#93bcff;--success:#7dd6a5;--success-soft:#15302a;--warning:#efc46e;--warning-soft:#30281a;--danger:#ff9d8f;--danger-soft:#381f23;--overlay:rgba(0,0,0,.6);--shadow-menu:0 4px 16px rgba(0,0,0,.28);--shadow-dialog:0 16px 48px rgba(0,0,0,.42);--ink:var(--text);--muted:var(--text-muted);--line:var(--border);--green:var(--link);--ok:var(--success);--ok-soft:var(--success-soft);--warn:var(--warning);--warn-soft:var(--warning-soft);--accent-soft:var(--selected-bg);--accent-soft-2:var(--selected-bg);color:var(--text);background:var(--bg);color-scheme:dark}.primary,.ds-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;border-radius:var(--radius-control);font-size:14px;line-height:20px;font-weight:600;text-align:center;overflow-wrap:anywhere;text-decoration:none;transition:background-color .12s,color .12s,border-color .12s}.primary,.ds-button-primary{background:var(--primary);color:var(--on-primary)}.primary:hover,.ds-button-primary:hover{background:var(--primary-hover);color:var(--on-primary)}.primary:active,.ds-button-primary:active{background:var(--primary-active)}.ds-button-secondary{border:1px solid var(--control-border);background:var(--surface);color:var(--text)}.ds-button-secondary:hover{background:var(--surface-2)}.primary:disabled,.ds-button:disabled{opacity:.55;cursor:not-allowed}.icon-button{width:40px;height:40px;border-radius:var(--radius-control)}.icon-button:hover,.icon-button.pressed{background:var(--surface-3);color:var(--text)}:where(button,a,input,textarea,select,summary,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:2px}:where(input,textarea,select):focus{border-color:var(--focus)!important}:where(input,textarea,select){min-width:0}:where(input:not([type=checkbox],[type=radio],[type=range]),textarea,select){color:var(--text)}:where(input:not([type=checkbox],[type=radio],[type=range]),textarea,select):disabled{background:var(--surface-2);color:var(--text-muted)}.composer,.auth-card input,.modal form>label>input,.action-dialog textarea,.people-search input,.search input{border-color:var(--control-border)}.rail,.auth-story{background:var(--nav-bg);color:var(--nav-text)}.sidebar{background:var(--surface-2)}.room-link.active{background:var(--selected-bg);color:var(--text);font-weight:650}.room-link.active svg{color:var(--link)}.room-link b{background:var(--primary);color:var(--on-primary)}.section-heading .section-toggle{flex:1;min-width:0;align-items:center;gap:6px;margin-left:0;text-align:left;color:inherit;font:inherit}.section-toggle svg{transition:transform .15s}.section-toggle svg.collapsed{transform:rotate(-90deg)}.send-button{background:var(--primary);color:var(--on-primary)}.send-button:hover{background:var(--primary-hover)}.conversation-tabs button.selected{border-color:var(--link);color:var(--link)}.topbar{height:64px}.room-header{min-height:80px}.message-content>p{max-width:80ch;font-size:15px;line-height:1.6;color:var(--text);overflow-wrap:anywhere}.message-meta strong{font-size:14px}.message-meta time,.room-header p{font-size:12px;color:var(--text-muted)}.room-link,.sidebar-home,.conversation-tabs button,.section-heading{font-size:13px}.section-label,.workspace-title small,.channel-tag,.file-attachment small,.composer-foot{font-size:12px}.file-attachment strong{font-size:13px}.rail-item span,.sidebar-home span,.section-label span,.sidebar-empty,.invite-card strong,.invite-card p,.invite-card button,.member-button,.date-divider,.message-status,.department,.me-tag,.image-attachment span,.compose-limit,.draft-files>span,.details-heading h3,.details-hero p,.detail-section h4,.detail-section h4 span,.detail-member strong,.detail-member strong span,.detail-member small,.text-button,.detail-muted,.mini-file strong,.mini-file small,.team-note span,.load-more,.person-card h3 small,.person-card p,.person-email,.person-actions button,.file-page-heading p,.file-row small,.member-picker small,.browser-notification,.notice-banner>button:first-child,.read-receipt,.outbox-panel p,.mobile-room-status,.mobile-home nav button,.video-attachment a,.video-fallback,.onboarding-address span,.onboarding-tabs small,.translation-meta,.translation-meta button,.room-notice span,.profile-menu-head small,.status-form .status-count{font-size:12px;line-height:1.35}.topbar .topbar-label{font-size:12px}.form-description{font-size:13px;line-height:1.5}.message-content,.file-attachment>div,.detail-member,.room-link{min-width:0}.file-attachment strong,.room-link>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-attachment span,.message-status,.detail-muted{overflow-wrap:anywhere}.message-menu{box-shadow:var(--shadow-menu);border-radius:var(--radius-control)}.error{background:var(--danger-soft);color:var(--danger)}.ds-field{display:grid;gap:var(--space-2);min-width:0;color:var(--text-2);font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}.ds-input,.ds-field>:is(input,select,textarea){display:block;width:100%;min-width:0;min-height:40px;margin:0;padding:9px 12px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font:inherit;font-size:14px;line-height:20px;font-weight:400;transition:border-color .12s,background-color .12s}textarea.ds-input,.ds-field>textarea{min-height:88px;resize:vertical}.ds-input:hover:not(:disabled),.ds-field>:is(input,select,textarea):hover:not(:disabled){border-color:var(--text-muted)}.ds-input:focus-visible,.ds-field>:is(input,select,textarea):focus-visible{outline:2px solid var(--focus);outline-offset:2px}.ds-input::placeholder,.ds-field>:is(input,textarea)::placeholder{color:var(--text-subtle)}.ds-input:disabled,.ds-field>:is(input,select,textarea):disabled{background:var(--surface-2);color:var(--text-muted);cursor:not-allowed}.ds-input[aria-invalid=true],.ds-field>:is(input,select,textarea)[aria-invalid=true]{border-color:var(--danger)}.ds-field>input[type=file]{padding:8px;line-height:24px;overflow:hidden}.ds-field>input[type=file]::file-selector-button{margin-right:12px;padding:6px 12px;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer}.ds-field>input[type=file]::file-selector-button:hover{background:var(--surface-3)}.ds-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:grid;place-items:center;padding:16px;background:var(--overlay)}.ds-dialog{width:min(480px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;min-width:0;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-dialog);box-shadow:var(--shadow-dialog);overflow:hidden}.ds-dialog.modal{width:min(480px,100%);max-height:calc(100dvh - 32px);padding:0;background:var(--surface);overflow:hidden;box-shadow:var(--shadow-dialog)}.ds-dialog-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}.ds-dialog.modal .ds-dialog-header{margin:0}.ds-dialog-header h2{font-size:20px;line-height:28px;font-weight:700;min-width:0;overflow-wrap:anywhere}.ds-dialog-header .icon-button{margin:-8px -8px -8px 0}.ds-dialog>:not(.ds-dialog-header){min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px}.ds-dialog form label{display:block;margin-bottom:16px;font-size:13px;line-height:20px;font-weight:600}.ds-dialog form :where(input:not([type=checkbox],[type=radio]),textarea,select){display:block;width:100%;min-height:40px;margin-top:8px;padding:9px 12px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text)}.ds-dialog form textarea{min-height:104px;resize:vertical}.ds-dialog .form-description{font-size:13px;line-height:20px;color:var(--text-muted);margin-bottom:16px}.ds-dialog .ds-dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.ds-dialog .channel-name-step>label{margin-bottom:8px}.ds-dialog .channel-name-control{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 12px;margin-bottom:8px;border:1px solid var(--control-border);border-radius:var(--radius-control);color:var(--text-muted)}.ds-dialog .channel-name-control:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 18%,transparent)}.ds-dialog .channel-name-control input{flex:1;min-width:0;min-height:44px;margin:0;padding:0;border:0;box-shadow:none;background:transparent}.ds-dialog .channel-name-control>span{font-size:12px;font-weight:500;color:var(--text-muted)}.ds-dialog .channel-name-error{margin:0 0 16px;font-size:12px;color:var(--danger)}.ds-dialog .channel-name-step #new-channel-description{margin-top:0}.ds-dialog .channel-name-preview{display:flex;align-items:center;gap:5px;margin:-4px 0 24px;color:var(--text-muted);font-size:13px}.ds-dialog .channel-visibility{margin:0;padding:0;border:0}.ds-dialog .channel-visibility legend{margin-bottom:12px;font-size:13px;font-weight:700}.ds-dialog .channel-option{display:flex;align-items:flex-start;gap:12px;margin:0;padding:12px 10px;border-radius:8px;cursor:pointer}.ds-dialog .channel-option:hover{background:var(--surface-2)}.ds-dialog .channel-option input{flex:none;margin:3px 0 0;accent-color:var(--primary)}.ds-dialog .channel-option span{display:block;min-width:0}.ds-dialog .channel-option strong{display:block;font-size:14px;font-weight:650}.ds-dialog .channel-option small{display:block;margin-top:3px;font-size:12px;line-height:1.45;color:var(--text-muted)}.ds-dialog .channel-visibility-step>.member-picker{margin-top:4px}.ds-dialog .member-picker>label{display:flex;align-items:center;margin:0}.ds-dialog .channel-create-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:22px}.ds-dialog .channel-create-footer>span{margin-right:auto;font-size:12px;color:var(--text-muted)}.ds-dialog .channel-create-footer button{min-height:40px;padding:0 16px;border-radius:8px;font-weight:600}.ds-dialog .channel-create-footer .channel-back{border:1px solid var(--control-border)}.action-overlay,.modal-backdrop{background:var(--overlay);z-index:200;padding:16px}.action-dialog{width:min(480px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-dialog);box-shadow:var(--shadow-dialog)}.action-dialog h3{font-size:20px;line-height:28px;margin-bottom:16px}.action-dialog p{font-size:14px;line-height:22px;overflow-wrap:anywhere}.action-dialog textarea{border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font-size:14px;line-height:22px}.action-dialog button:not(.primary){min-height:40px;padding:8px 12px;border-radius:var(--radius-control);font-size:14px}.action-dialog button:not(.primary):hover{background:var(--surface-2)}.app-version-intro{font-size:14px;line-height:22px;color:var(--text-muted);margin-bottom:20px}.app-version-state{padding:16px;border-radius:var(--radius-control);background:var(--surface-2);font-size:14px;line-height:22px;color:var(--text-muted);margin:16px 0}.app-version-state.error{background:var(--danger-soft);color:var(--danger);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.app-version-state .ds-button{flex:none}.app-version-qr{display:flex;gap:20px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:var(--radius-control);margin-bottom:20px;min-width:0}.app-version-qr-image{width:152px;height:152px;flex:none;display:grid;place-items:center;background:#fff;color:#20243a;border-radius:4px}.app-version-qr-image img{display:block;max-width:100%;height:auto}.app-version-qr-image span{font-size:12px;text-align:center}.app-version-qr>div:last-child{min-width:0}.app-version-qr strong{font-size:16px;line-height:24px}.app-version-qr p{font-size:13px;line-height:20px;color:var(--text-muted);margin:8px 0;overflow-wrap:anywhere}.app-version-qr a{display:block;color:var(--link);font-size:12px;line-height:18px;overflow-wrap:anywhere;text-decoration:underline}.app-version-download{width:100%;min-height:48px}.app-version-meta{text-align:center;font-size:12px;line-height:18px;color:var(--text-muted);margin:8px 0 20px}.app-version-details,.app-version-admin{border-top:1px solid var(--border)}.app-version-details summary,.app-version-admin summary{cursor:pointer;padding:14px 0;font-size:14px;line-height:20px;font-weight:600}.app-version-details ol,.app-version-details ul{padding:0 0 16px 22px;margin:0;font-size:13px;line-height:21px;color:var(--text-2)}.app-version-details li{padding-left:2px;overflow-wrap:anywhere}.app-version-admin{margin-top:8px}.app-version-admin form{padding:8px 0 0}.desktop-release-list{display:grid;gap:10px}.desktop-release-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface-2)}.desktop-release-item strong,.desktop-release-item small{display:block}.desktop-release-item strong{font-size:14px}.desktop-release-item small{font-size:12px;color:var(--text-muted);margin-top:4px}.desktop-release-item .ds-button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.desktop-release-item .desktop-release-hash{grid-column:1/-1;color:var(--text-muted);font-size:11px}.desktop-release-hash summary{cursor:pointer}.desktop-release-hash code{display:block;margin-top:6px;overflow-wrap:anywhere;font-size:10px}.desktop-release-note{font-size:12px;line-height:19px;color:var(--text-muted);margin-top:15px}.app-version-admin form label{display:block;margin-bottom:12px;font-size:13px;font-weight:600}.app-version-admin form input,.app-version-admin form select,.app-version-admin form textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font-weight:400}@media(max-width:760px){.ds-input,.ds-field>:is(input,select,textarea){min-height:44px;font-size:16px}.desktop-version-trigger{display:none}.topbar{height:60px}.room-header{min-height:56px}.message-content>p{font-size:15px;line-height:1.6}.message-meta time{font-size:12px}.room-link,.sidebar-home,.conversation-tabs button{font-size:13px}.ds-dialog-backdrop{padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.ds-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-bottom))}.ds-dialog-header{padding:16px}.ds-dialog>:not(.ds-dialog-header){padding:16px}.ds-dialog :where(input,textarea,select){font-size:16px}.action-dialog{padding:16px}.action-dialog textarea{font-size:16px}.icon-button{min-width:44px;min-height:44px}.app-version-qr{flex-direction:column;align-items:flex-start}}@media(prefers-reduced-motion:reduce){.primary,.ds-button,.icon-button{transition:none}}.conversation-toolbar{height:56px;min-height:56px;padding:0 24px;display:flex;align-items:center;gap:16px;flex-wrap:nowrap;overflow:visible;background:var(--surface);border-bottom:1px solid var(--border)}.conversation-tabs{display:flex;align-items:stretch;gap:8px;height:100%;flex:none}.conversation-tabs button{min-height:44px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;border-bottom:2px solid transparent;color:var(--text-muted);font-size:14px;line-height:20px;font-weight:600;white-space:nowrap}.conversation-tabs button:hover{color:var(--text);background:var(--surface-2)}.conversation-tabs button.selected{color:var(--link);border-bottom-color:var(--link);background:transparent}.toolbar-search-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}.toolbar-local-search{height:40px;width:230px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--surface);color:var(--text-muted)}.toolbar-local-search:focus-within{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:2px}.toolbar-local-search input{flex:1;width:100%;min-width:0;border:0!important;outline:0!important;outline-offset:0;background:transparent;color:var(--text);font-size:13px;line-height:20px}.toolbar-local-search input::placeholder{color:var(--text-muted);opacity:1}.toolbar-local-search input::-webkit-search-cancel-button{display:none}.toolbar-local-search button{width:24px;height:24px;display:grid;place-items:center;flex:none;border-radius:4px;color:var(--text-muted)}.toolbar-local-search button:hover{background:var(--surface-2);color:var(--text)}.toolbar-history-search{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text-muted);font-size:13px;font-weight:600;white-space:nowrap}.toolbar-history-search:hover{border-color:var(--control-border);background:var(--surface-2);color:var(--text)}.toolbar-search-toggle{display:none}.management-bar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 24px;flex-wrap:nowrap;overflow:visible;background:var(--surface-2);border-bottom:1px solid var(--border)}.management-bar-left,.management-bar-right{display:flex;align-items:center;gap:8px;min-width:0}.management-bar-right{margin-left:auto}.management-bar .management-action,.management-notifications{height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--text-muted);font-size:13px;line-height:20px;font-weight:600;white-space:nowrap}.management-bar .management-action:hover,.management-bar .management-action[aria-expanded=true],.management-notifications:hover{border-color:var(--border);background:var(--surface);color:var(--text)}.management-chevron{color:var(--text-muted)}.management-menu-wrap{position:relative}.management-bar .management-more{width:36px;padding:0}.management-notifications{position:relative;border-color:var(--border);background:var(--surface);color:var(--text)}.management-notifications select{max-width:98px;min-width:0;padding:0 14px 0 0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:var(--text);font-size:13px;font-weight:600;cursor:pointer}.management-notifications select:focus{outline:none}.management-notifications:focus-within{outline:2px solid var(--focus);outline-offset:2px}.management-notifications option{background:var(--surface);color:var(--text)}.management-notifications .management-chevron{position:absolute;right:9px;pointer-events:none}.management-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:100;min-width:184px;padding:4px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);box-shadow:var(--shadow-menu)}.management-more-wrap .management-menu{left:auto;right:0}.management-menu button{width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:var(--text);font-size:13px;text-align:left;white-space:nowrap}.management-menu button:hover{background:var(--surface-2)}.management-error{padding:8px 24px;background:var(--danger-soft);color:var(--danger);font-size:13px}@media(max-width:1050px){.conversation-toolbar{flex-wrap:wrap;height:auto;min-height:52px;padding:0 12px;gap:0}.conversation-tabs{height:52px}.conversation-tabs button{padding:0 10px}.toolbar-search-toggle{width:44px;height:44px;margin-left:auto;display:grid;place-items:center;border-radius:var(--radius-control);color:var(--text-muted)}.toolbar-search-toggle:hover,.toolbar-search-toggle[aria-expanded=true]{background:var(--surface-2);color:var(--text)}.toolbar-search-actions{display:none;width:100%;min-width:0;min-height:56px;margin:0;padding:8px 0;gap:8px;border-top:1px solid var(--border)}.conversation-toolbar[data-search-open=true] .toolbar-search-actions{display:flex}.toolbar-local-search{width:auto;flex:1;min-width:0}.toolbar-history-search{width:44px;height:40px;padding:0;flex:none}.toolbar-history-search span{display:none}}@media(max-width:900px){.management-bar{min-height:52px;padding:4px 12px;gap:4px;overflow:visible}.management-bar-left,.management-bar-right{gap:4px;flex:none}.management-bar .management-action,.management-notifications{width:44px;height:44px;min-height:44px;padding:0}.management-bar .management-more{width:44px}.management-action span,.management-action .management-chevron,.management-notifications span,.management-notifications .management-chevron{display:none}.management-notifications select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100%;padding:0;opacity:0}.management-menu{min-width:180px}}
