/* People lead the workspace. Company colours are a small, controlled palette. */
:root{--company:#6740e8;--company-dark:#392080;--company-soft:#f0ebff;--ink:#20243b;--muted:#657087}
body:has([data-colour=blue]){--company:#1262d8;--company-dark:#0f326e;--company-soft:#e9f2ff}
body:has([data-colour=coral]){--company:#c63d40;--company-dark:#73242d;--company-soft:#fff0eb}
body:has([data-colour=teal]){--company:#087d76;--company-dark:#104b49;--company-soft:#e2f5ed}
body{background:#f7f7fc;color:var(--ink)}a{color:var(--company)}button,.button-link{background:var(--company);font-weight:650;border-radius:12px;padding:13px 20px}button:not(:disabled):not([aria-disabled="true"]):hover,.button-link:not(:disabled):not([aria-disabled="true"]):hover{background:var(--company-dark)}.secondary{background:var(--company-soft);color:var(--company-dark)}.secondary:not(:disabled):not([aria-disabled="true"]):hover{background:#e3def5}.quiet-button{color:var(--company);background:transparent;box-shadow:none}.quiet-button:not(:disabled):not([aria-disabled="true"]):hover{color:var(--company-dark);background:var(--company-soft)}.hint{color:#67748a}h1{font-weight:750;letter-spacing:-2px}h2{font-weight:700}.eyebrow{color:var(--company);font-size:11px;font-weight:750}.badge{font-size:10px;color:var(--company-dark);background:var(--company-soft)}:focus-visible{outline:3px solid #efad1b;outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.company-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 44px;min-height:150px;overflow:hidden;background:linear-gradient(110deg,var(--company-dark),var(--company) 65%);color:#fff;border:0}.company-banner:after{content:"";position:absolute;z-index:-1;width:340px;height:340px;border:60px solid #ffffff12;border-radius:50%;right:16%;top:-190px;transform:rotate(20deg)}.company-banner-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.26}.company-wordmark{display:flex;align-items:center;gap:18px;color:#fff;min-width:0}.company-wordmark:not(:disabled):not([aria-disabled="true"]):hover{text-decoration:none}.company-wordmark strong{font-size:42px;line-height:1.1;letter-spacing:-1.6px;display:block;overflow-wrap:anywhere}.company-wordmark small{display:block;font-size:13px;color:#f2eaff;line-height:1.6;margin-top:8px}.company-emblem{font-size:46px;font-weight:800;line-height:1;background:#fff;color:var(--company);border-radius:19px;padding:13px 16px;flex:none;transform:rotate(-5deg)}.company-emblem span{color:#f2b930}.company-banner nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.company-banner nav a{color:#fff;font-size:13px;font-weight:600}.company-settings-link{border:1px solid #ffffff65;border-radius:24px;padding:11px 15px;white-space:nowrap}
.portal-sidebar{background:#fff;border-right:1px solid #e5e3ef;position:sticky;top:0;height:100vh;padding-top:24px}.portal-sidebar .brand{color:var(--company-dark);font-size:21px;border-color:#eae7f3}.sidebar-label{color:#747388}.portal-navigation a{color:#5b5c72;font-size:13px;padding:15px}.portal-navigation a.current{background:var(--company-soft);color:var(--company-dark);font-weight:750}.portal-navigation a:not(:disabled):not([aria-disabled="true"]):hover{background:#f0edf7}.portal-navigation a:before{border-color:#aaa0c4}.portal-navigation a.current:before{background:var(--company);border-color:var(--company)}.sidebar-note{color:#62637b}.sidebar-note p{color:#76728d}.portal-header{min-height:58px;padding-top:12px;padding-bottom:12px;background:#fff;border-bottom:1px solid #e9e7f1}.portal-main{min-width:0}.portal main{padding-top:30px}.ceo-identity{background:#e9f7ec;color:#236046}.ceo-identity:before{background:#42a774}
.people-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:4px 0 24px}.people-heading h1{font-size:42px;margin:7px 0 10px}.people-heading p:last-child{font-size:14px;color:#657087;margin:0}.people-heading .button-link{white-space:nowrap}.people-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}.people-search{flex:1;min-width:180px;max-width:290px}.people-search input{margin:0;background:white}.people-filters{display:flex;flex-wrap:wrap;gap:8px}.people-filters button,.view-switch button,.output-filters button{border:1px solid #dfdaee;border-radius:22px;background:#fff;color:#656078;font-size:12px;padding:9px 15px;box-shadow:none}.people-filters button[aria-pressed=true],.view-switch button[aria-pressed=true],.output-filters button[aria-pressed=true]{background:var(--company);border-color:var(--company);color:#fff}.view-switch{display:flex;gap:6px}.team-directory{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:20px;margin-bottom:38px}.person-card{border:0;border-radius:18px;background:white;box-shadow:0 5px 20px #3b27540b;position:relative}.person-card>.person-avatar{aspect-ratio:1;height:auto;width:100%;object-fit:cover;object-position:center 38%;display:flex;align-items:center;justify-content:center}.person-card>div{padding:18px}.person-card h3{font-size:23px;letter-spacing:-.5px;margin:0}.person-card h3 a{color:#24213e}.person-card p{font-size:13px;color:#6d6982}.person-card .person-bio{font-size:12px;line-height:1.6;margin:12px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:57px}.person-group{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;color:var(--company);margin-bottom:9px;text-transform:uppercase}.person-actions{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #f0edf5;padding-top:13px;margin-top:12px;font-size:12px;font-weight:650}.staff-status{font-size:10px;padding:5px 8px;border-radius:20px;background:#e6f7ed;color:#236947}.team-directory.list-view{display:flex;flex-direction:column;gap:12px}.list-view .person-card{display:grid;grid-template-columns:104px 1fr;align-items:center;padding:12px;gap:16px}.list-view .person-card>.person-avatar{width:104px;height:104px;border-radius:12px}.list-view .person-card>div{padding:3px;display:grid;grid-template-columns:minmax(110px,1fr) minmax(140px,2fr) auto;gap:3px 20px;align-items:center}.list-view .person-group{grid-column:1}.list-view .person-card h3{grid-column:1;font-size:21px}.list-view .person-card p:not(.person-bio){grid-column:1;margin:0}.list-view .person-bio{grid-column:2;grid-row:1/4;min-height:0;margin:0}.list-view .staff-status{grid-column:3;grid-row:1;justify-self:end;margin:0}.list-view .person-actions{grid-column:3;grid-row:2/4;border:0;padding:0;justify-content:flex-end}
.overview-grid{margin-top:20px}.overview-card{background:var(--company-soft);border:0}.overview-card:nth-child(2){background:#e9f7e9}.overview-card:nth-child(3){background:#fff3d9}.overview-card strong{font-size:32px}.section-heading h2{font-size:21px}.workspace{grid-template-columns:390px minmax(0,1fr);scroll-margin-top:20px}.team-picker{background:#faf8ff;padding:15px}.team-picker #team-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.team-picker .check-label{position:relative;display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;border:2px solid #e8e3f3;background:white;border-radius:13px;padding:12px 8px;margin:0;font-size:12px;cursor:pointer}.team-picker .check-label:has(input:checked){border-color:var(--company);background:var(--company-soft)}.team-picker .check-label input{position:absolute;right:6px;top:7px;width:16px;height:16px;accent-color:var(--company)}.picker-photo{width:62px;height:62px;object-fit:cover;border-radius:50%;display:grid;place-items:center;background:#e8e1fa;font-size:25px;color:var(--company)}.turn h3{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.turn .staff-face{width:42px;height:42px}.turn small{font-size:10px}.staff-face{width:60px;height:60px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--company-soft);color:var(--company);font-size:24px;flex:none}
.page-heading{margin:12px 0 32px}.page-heading h1{font-size:48px;margin:10px 0 18px}.page-heading>p:not(.eyebrow),.work-heading p{font-size:15px;color:#667086;max-width:740px}.settings-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.settings-columns .panel{margin:0}.text-link{display:block;margin-top:25px}.groups-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}.group-card{margin:0;border:1px solid #e5e0ee}.group-card h2{font-size:30px;margin:10px 0}.group-card .group-personality{font-size:16px;line-height:1.8;color:#504a67}.group-people{display:flex;flex-wrap:wrap;gap:24px;margin:25px 0}.group-people a{display:flex;flex-direction:column;gap:7px;color:#302a47}.group-people .staff-face{width:88px;height:88px}.group-people small{font-size:11px;color:#6f6b80}.group-card details{border-top:1px solid #eae5f2;padding-top:18px}.group-card summary{font-size:12px;color:var(--company)}
.work-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}.work-heading>div:last-child{min-width:180px}.outputs-main{max-width:1380px}.assignment{border:2px solid #dacdfb;background:#fff}.assignment>summary{font-size:21px;font-weight:700;color:var(--company-dark);padding:3px}.assignment>summary span{font-size:12px;font-weight:500;margin-left:18px;color:#77708c}.assignment h2{margin-top:30px}.face-choices{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.face-choice{position:relative;padding:16px 14px;min-width:120px;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;border:2px solid #e7e2ef;border-radius:14px;background:#fff;cursor:pointer;margin:0}.face-choice:has(input:checked){border-color:var(--company);background:var(--company-soft)}.face-choice .staff-face{width:72px;height:72px}.face-choice input{position:absolute;right:8px;top:8px;accent-color:var(--company)}.face-choice small{font-size:11px;color:#6e6880}.mode-notice{font-size:12px;font-weight:600;background:#fff5d8;color:#785827;border-radius:9px;padding:12px 15px}.output-toolbar{flex-wrap:wrap;gap:18px;margin:32px 0 24px}.output-filters{display:flex;flex-wrap:wrap;gap:8px}.output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:28px}.output-card{border:1px solid #e5e0ee;background:#fff;border-radius:18px;padding:25px;min-width:0}.output-card h2{font-size:23px;line-height:1.4;margin:18px 0;overflow-wrap:anywhere}.output-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#756c89}.author-credit{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;margin:12px 0}.author-credit .staff-face{width:38px;height:38px}.provenance{font-size:10px;color:#7a7487}.output-body{white-space:pre-wrap;line-height:1.75;font-size:14px;overflow-wrap:anywhere;padding:18px 0}.output-card>details{border-block:1px solid #efebf4;padding:16px 0;margin:18px 0}.output-card>details summary{font-size:13px;color:var(--company)}.output-card>a{font-size:12px}.ownership-form{display:flex;align-items:flex-end;gap:12px;margin-bottom:18px}.ownership-form label{margin:0;flex:1}.ownership-form select{margin-bottom:0}.ownership-form button{font-size:11px;padding:13px}.decision-output{border-top:5px solid #e4b83b;background:#fffdf5}.empty-work{grid-column:1/-1;padding:50px 30px;text-align:center;color:#756e88;border:2px dashed #ded6eb;border-radius:16px}.work-progress{margin:30px 0}.work-run{display:flex;gap:16px;flex-wrap:wrap;align-items:center;background:white;border:1px solid #e5dfef;border-radius:14px;padding:18px 22px;margin-bottom:12px}.work-run>div:not(.work-record){flex:1;min-width:180px}.work-run h3{font-size:16px;margin:0}.work-run p{margin:5px 0;font-size:12px}.work-run button{font-size:11px}.work-record{flex-basis:100%;width:100%;border-top:1px solid #e7dfef;padding-top:18px;margin-top:16px}.record-contribution{background:#f8f6fc;border-radius:10px;padding:14px 18px;margin:12px 0}.goal-review{font-size:13px;padding:16px;background:#ecf7f0;border-radius:10px;margin:12px 0}.stop-reason{font-size:12px;color:#785327;background:#fff4dc;border-radius:8px;padding:10px 14px}.upload-output{background:#faf8ff}.profile-photo{width:220px;height:220px}.staff-profile-heading.panel{background:var(--company-soft);border:0}
/* The room is context; colleagues are the main attraction. */
.office-main .office-heading{margin-bottom:20px}.office-main:has(.room-staff-visible) .office-scene{max-width:440px;margin:0 0 25px;border-radius:14px}.office-main:has(.room-staff-visible) .office-picture>img{max-height:240px;width:100%;object-fit:cover}.office-main:has(.room-staff-visible) .office-heading h1{font-size:38px}.office-main .room-people{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}.office-main .room-person{display:block;padding:0;overflow:hidden;border:0;border-radius:19px;box-shadow:0 4px 20px #3820520b}.office-main .room-person-photo{width:100%;height:270px;border-radius:0;object-fit:cover;object-position:center 35%}.office-main .room-person>div:not(.room-person-photo){padding:22px}.office-main .room-person h3{font-size:29px}.office-main .room-person p{font-size:14px}.office-main .room-person-actions{font-size:13px;gap:20px}.office-main .room-staff-visible{margin-bottom:30px}.office-main .section-heading{flex-wrap:wrap;gap:10px}.office-heading .eyebrow{color:var(--company)}
@media(max-width:1100px){.company-banner{padding:28px}.company-banner nav{gap:15px;max-width:370px}.company-wordmark strong{font-size:36px}.workspace{grid-template-columns:1fr}.team-picker #team-options{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.people-heading{align-items:flex-start}.people-heading h1{font-size:36px}.settings-columns{grid-template-columns:1fr}.list-view .person-card>div{grid-template-columns:1fr auto}.list-view .person-bio{display:none}.list-view .staff-status,.list-view .person-actions{grid-column:2}}
@media(max-width:700px){.company-banner{display:block;padding:24px 20px}.company-emblem{font-size:32px;padding:10px 12px;border-radius:14px}.company-wordmark{gap:14px}.company-wordmark strong{font-size:33px}.company-wordmark small{font-size:12px}.company-banner nav{justify-content:flex-start;gap:14px;margin-top:25px;max-width:none}.company-banner nav a{font-size:11px}.company-settings-link{padding:7px 10px}.portal-sidebar{height:auto;position:static;padding:12px 15px}.portal-sidebar .brand{display:none}.portal-navigation{flex-wrap:wrap}.portal-navigation a{padding:10px}.portal-header{padding:10px 20px}.people-heading{display:block}.people-heading h1{font-size:34px}.people-heading .button-link{display:inline-block;margin-top:18px}.people-tools{align-items:flex-start}.people-search{max-width:none;flex-basis:100%}.people-filters{gap:6px}.people-filters button{font-size:11px;padding:8px 12px}.team-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.person-card{border-radius:13px}.person-card>div{padding:14px}.person-card h3{font-size:23px}.person-card .person-bio{display:none}.person-actions{font-size:11px;gap:8px}.person-card p{font-size:11px}.list-view .person-card{grid-template-columns:75px 1fr;gap:11px}.list-view .person-card>.person-avatar{width:75px;height:88px}.list-view .person-card>div{display:block}.list-view .person-actions{margin-top:7px}.list-view .person-group{font-size:9px}.list-view .staff-status{display:none}.page-heading h1{font-size:35px}.work-heading{display:block}.work-heading>div:last-child{max-width:260px}.output-grid,.groups-grid{grid-template-columns:1fr}.assignment>summary{font-size:18px}.assignment>summary span{display:block;margin:9px 0 0;font-size:12px}.face-choice{min-width:95px;padding:12px}.face-choice .staff-face{width:58px;height:58px}.face-choices{gap:9px}.output-card{padding:22px}.output-filters button{font-size:11px;padding:9px 12px}.settings-columns{gap:18px}.work-run{padding:17px}.work-run .staff-face{width:46px;height:46px}.profile-photo{width:180px;height:180px}.office-main .room-person-photo{height:auto;aspect-ratio:1.15}.office-main .room-people{grid-template-columns:1fr}.office-main:has(.room-staff-visible) .office-scene{max-width:360px}.office-main:has(.room-staff-visible) .office-picture>img{max-height:200px}.office-main .room-person h3{font-size:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:700px){body:has(#team-directory) .portal-sidebar{display:none}body:has(#team-directory) .portal-header{padding:10px 20px}body:has(#team-directory) .portal-header nav{gap:10px}body:has(#team-directory) .people-heading h1{font-size:32px;letter-spacing:-1.2px}.company-banner nav{gap:12px}.company-banner{padding-top:20px;padding-bottom:20px}}
.office-main:has(.room-staff-visible) .office-heading{align-items:center;flex-wrap:wrap;gap:20px}.office-main:has(.room-staff-visible) .office-heading>div{flex:1;min-width:240px}.office-main:has(.room-staff-visible) .office-heading>.office-scene{width:240px;flex:0 0 240px;margin:0}.office-main:has(.room-staff-visible) .office-heading>.office-scene img{height:145px;object-fit:cover}.office-main:has(.room-staff-visible) .office-heading .scene-caption{padding:10px 12px;font-size:10px}.office-main:has(.room-staff-visible) #office-back{order:3;flex-basis:100%;background:none;color:var(--company);padding:0;margin-bottom:14px;box-shadow:none}.office-main:has(.room-staff-visible) .office-heading h1{margin-top:6px}@media(max-width:700px){.office-main:has(.room-staff-visible) .office-heading{align-items:stretch}.office-main:has(.room-staff-visible) .office-heading>.office-scene{width:100%;max-width:none;flex-basis:auto}.office-main:has(.room-staff-visible) .office-heading>.office-scene img{height:140px;object-position:center 55%}.office-main:has(.room-staff-visible) .office-heading>div{min-width:0}}

/* Strong section symbols replace the former accent strips. */
[data-icon]{display:flex;align-items:center;gap:13px}
[data-icon]::before{content:"";display:inline-block;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background-color:var(--company);background-repeat:no-repeat;background-position:center;background-size:26px;box-shadow:0 4px 12px #6337d31a}
.home-project{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:16px}.home-project select{width:190px;margin:0}.home-project label{margin:0}
.reference-link{display:block;padding:10px 0}.reference-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.reference-actions button{font-size:11px}.reference-record{margin:18px 0;padding:16px;background:#f6f3fc;border-radius:12px}.reference-record>details{margin:12px 0}.company-banner nav{flex-wrap:wrap}
.list-view .person-card>div{grid-template-columns:1fr auto}.list-view .staff-status,.list-view .person-actions{grid-column:2}
@media(max-width:650px){[data-icon]::before{width:36px;height:36px;flex-basis:36px;background-size:23px}.home-project{justify-content:flex-start}.people-heading h1{font-size:34px}.page-heading h1{font-size:34px}.reference-actions{align-items:flex-start;flex-direction:column}}
[data-icon="chat"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.4%208.4%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.4%208.4%200%200%201-3.8-.9L3%2021l1.9-5.7A8.4%208.4%200%200%201%204%2011.5%208.5%208.5%200%200%201%208.7%203.9a8.4%208.4%200%200%201%203.8-.9h.5a8.5%208.5%200%200%201%208%208v.5Z%22/%3E%3C/svg%3E")}
[data-icon="person"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2021v-2a7%207%200%200%200-14%200v2%20M17%207a4%204%200%201%201-8%200%204%204%200%200%201%208%200Z%22/%3E%3C/svg%3E")}
[data-icon="briefing"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203H5v18h14V3h-4%20M9%202h6v4H9Z%20M8%2011h8%20M8%2015h8%22/%3E%3C/svg%3E")}
[data-icon="documents"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H6v20h14V8Z%20M14%202v6h6%20M9%2012h8%20M9%2016h8%22/%3E%3C/svg%3E")}
[data-icon="upload"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016V3%20M7%208l5-5%205%205%20M4%2016v5h16v-5%22/%3E%3C/svg%3E")}
[data-icon="meeting"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%207a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z%20M22%207a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z%20M2%2021v-6h6v6%20M16%2021v-6h6v6%20M9%2012h6%20M12%2012v9%22/%3E%3C/svg%3E")}

/* Compact reading rhythm, with a conversation that stays in view. */
body{line-height:1.42}p{line-height:1.45}.hint{line-height:1.4}.profile-layout p,.output-body,.group-card .group-personality,.chat-message p,.summary,.turn p,.agent-traits{line-height:1.45}
p{margin-top:8px;margin-bottom:10px}.panel{padding:22px}.staff-workspace{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:25px;align-items:start}.staff-details{min-width:0}.staff-details .staff-profile-heading{display:block;padding:22px}.staff-details .profile-photo{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.staff-details .staff-profile-heading h1{margin:16px 0 8px}.staff-details .profile-layout{display:block}.staff-details .profile-layout>section{margin:0 0 18px}.staff-details .agent-grid{display:block}.staff-details .agent-card{margin-bottom:18px}.staff-details .fields{display:block}.staff-details .section-heading{align-items:flex-start;flex-direction:column;gap:12px}.staff-details .person-actions{gap:10px}.staff-workspace>.one-to-one{position:sticky;top:18px;height:calc(100dvh - 36px);min-height:540px;max-height:1100px;display:flex;flex-direction:column;margin:0;padding:0;overflow:hidden;border:1px solid #e0dde8;border-radius:18px;box-shadow:0 8px 32px #3022470c;background:#f0ecf4}.one-to-one>.section-heading{padding:16px 20px;background:#fff;margin:0;gap:10px}.one-to-one>.section-heading h2{font-size:20px;margin:0}.one-to-one .chat-intro{margin:0;padding:8px 20px;background:#faf9fc;font-size:11px}.one-to-one .chat-transcript{flex:1;min-height:120px;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:9px;scroll-behavior:smooth}.chat-message{max-width:88%;align-self:flex-start;background:white;padding:10px 13px;border-radius:3px 13px 13px 13px;margin:0;box-shadow:0 1px 3px #3022470a}.chat-message.from-ceo{align-self:flex-end;background:#ded3fb;border:0;border-radius:13px 3px 13px 13px}.chat-message strong{font-size:11px;color:#69518c}.chat-message p{font-size:14px;line-height:1.4;margin:4px 0 0;white-space:pre-wrap}.one-to-one>#chat-status,.one-to-one>#chat-error{margin:0;padding:3px 18px;font-size:10px}.one-to-one #chat-form{padding:12px 16px 14px;background:white;border-top:1px solid #e6e0ee;margin:0}.one-to-one #chat-form>label[for=chat-message]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.one-to-one #chat-message{margin:0 0 8px;min-height:58px;max-height:150px;resize:vertical;border-radius:12px;padding:11px 13px;font-size:14px;line-height:1.4}.one-to-one .check-label{font-size:11px;margin:6px 0;line-height:1.35}.chat-options{margin:5px 0 10px}.chat-options summary{font-size:11px;color:#766887}.chat-options .fields{margin-top:10px}.chat-options label,.chat-options p{font-size:11px}.chat-options input{margin-bottom:2px}.chat-actions button{font-size:12px;padding:10px 14px}.one-to-one .chat-history{background:white;padding:10px 18px;margin:0;border-top:1px solid #ece6f0}.one-to-one #chat-history{max-height:180px;overflow:auto}.one-to-one .chat-history summary{font-size:11px}.one-to-one .reference-record{font-size:11px;margin:6px 0;padding:8px}.one-to-one .reference-record p{font-size:12px;line-height:1.4}.chat-note{padding:10px 13px;background:#fff8dd;border-radius:10px;font-size:12px;line-height:1.4}
@media(max-width:900px){.staff-workspace{grid-template-columns:280px minmax(0,1fr);gap:16px}.one-to-one>.section-heading{flex-wrap:wrap}.one-to-one .badge{font-size:9px}}@media(max-width:700px){.staff-workspace{display:flex;flex-direction:column}.staff-details{display:contents}.staff-details .staff-profile-heading{order:0;width:100%;display:flex;gap:16px;align-items:center}.staff-details .profile-photo{width:120px;height:150px;aspect-ratio:auto}.staff-details .staff-profile-heading h1{font-size:29px}.staff-workspace>.one-to-one{order:1;position:static;width:100%;height:calc(100dvh - 32px);min-height:520px}.staff-details>*{order:2;width:100%}.staff-details .staff-profile-heading .person-actions{display:none}.chat-message{max-width:93%}}
.profile-portrait-wrap{position:relative}.profile-portrait-wrap .staff-status{position:absolute;left:12px;bottom:12px;margin:0;font-size:11px;line-height:1;padding:6px 9px;box-shadow:0 2px 7px #1b253f2b}.staff-spend{position:absolute;right:10px;bottom:10px;padding:6px 9px;border-radius:5px;background:#17233ddd;color:#fff;font-size:11px;font-weight:650;line-height:1;box-shadow:0 2px 7px #1b253f2b}

.sign-in-main{max-width:520px;margin:10vh auto}.sign-in-main form button[type=submit]{margin-top:14px}.role-permissions{margin-bottom:25px}.role-permissions h3{margin-top:0}.role-permissions .check-label{margin:8px 0}[hidden]{display:none!important}
.one-to-one .chat-transcript{max-height:none}.one-to-one .chat-actions{margin-top:8px}
@media(min-width:701px){.staff-workspace>.one-to-one{top:8px;height:calc(100dvh - 16px);min-height:760px;max-height:none}}
.staff-settings-link{float:right;font-size:25px;text-decoration:none;color:var(--company);line-height:1}.staff-capabilities{display:grid;gap:2px;margin:8px 0}.staff-capabilities .check-label{margin:0}.staff-settings-tools{max-width:760px}.settings-heading select{max-width:280px}.settings-heading .button-link{margin-left:10px}
.discussion{background:#f0ecf4}.discussion #turns{display:flex;flex-direction:column;gap:10px;padding:14px;max-height:58vh;overflow:auto}.discussion #turns .chat-message{width:auto;max-width:86%;margin:0}.discussion #turns .from-ceo{align-self:flex-end}.discussion #turns .staff-message{align-self:flex-start}.discussion #followup-form{background:#fff;border-top:1px solid #e6e0ee;padding:14px;border-radius:0 0 14px 14px}.meeting-attach{margin:8px 0}.meeting-attach button{padding:7px 10px;font-size:12px}

.chat-keyboard-hint{font-size:10px;color:#837a91;margin:0 0 7px}
.hierarchy-main{max-width:1250px;margin:auto;padding:32px}.hierarchy-explanation{max-width:880px}.hierarchy-ceo{background:linear-gradient(120deg,#7141cf,#b048c7);color:white;border-radius:20px;padding:25px 30px;max-width:700px;box-shadow:0 10px 35px #6737a526}.hierarchy-ceo h2{font-size:27px;margin:8px 0}.hierarchy-ceo p{margin-bottom:0;color:#f4eafd}.hierarchy-branches{list-style:none;margin:0;padding:20px 0 0 30px;border-left:2px solid #d8c9ee}.hierarchy-branches>li{margin:0 0 18px;position:relative}.hierarchy-branches>li::before{content:'';position:absolute;left:-30px;top:45px;width:30px;height:2px;background:#d8c9ee}.hierarchy-person{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:white;border:1px solid #e8e0f0;border-radius:16px;padding:18px;box-shadow:0 5px 20px #3c254808}.hierarchy-photo{height:92px;width:78px;object-fit:cover;border-radius:12px;display:grid;place-items:center;background:#eee4fa;font-size:30px}.hierarchy-person h2{font-size:22px;margin:0}.hierarchy-person h2 a{color:inherit;text-decoration:none}.hierarchy-person p{margin:5px 0;font-size:13px}.compute-allowance{display:inline-block;font-size:11px;margin-left:10px;color:#6e6280}.performance-counts{margin-left:auto;background:#f8f4fd;padding:12px 16px;border-radius:12px}.performance-counts small{font-size:10px;color:#7b6c88}.people-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px 0;font-size:12px}.people-pagination button{padding:10px 17px;font-size:12px}.people-pagination button:disabled{opacity:.4;cursor:default}
.staff-feedback{margin:10px 0 3px;font-size:12px}.staff-feedback summary{font-size:11px;color:#67517f}.staff-feedback form{display:grid;grid-template-columns:140px 1fr;gap:8px;padding-top:10px}.staff-feedback select,.staff-feedback textarea{font-size:12px;margin:0;padding:9px}.staff-feedback button{font-size:11px;padding:8px 12px;align-self:start}.staff-feedback .hint{font-size:11px;line-height:1.4;margin:4px 0}.feedback-notes{border-top:1px solid #eee6f4;margin-top:8px}.peer-review-note{padding:10px;background:#edf5fd;border-radius:9px;font-size:12px}
@media(max-width:700px){.hierarchy-main{padding:20px 14px}.hierarchy-branches{padding-left:15px}.hierarchy-branches>li::before{left:-15px;width:15px}.hierarchy-person{padding:13px;gap:10px}.hierarchy-photo{width:58px;height:72px}.performance-counts{margin-left:0;width:100%}.compute-allowance{display:block;margin:5px 0}.staff-feedback form{grid-template-columns:1fr}.people-pagination{gap:10px}}
.staff-mention{font-size:inherit;font-weight:inherit;color:inherit;text-decoration:underline;text-decoration-color:#a995c7;text-underline-offset:3px}.staff-mention:not(:disabled):not([aria-disabled="true"]):hover{color:var(--company);text-decoration-color:currentColor}.person-portrait-link{display:block;overflow:hidden;border-radius:inherit}.person-portrait-link:focus-visible{outline:3px solid var(--company);outline-offset:3px}.person-portrait-link .person-avatar{display:block;width:100%}.list-view .person-portrait-link{width:76px;align-self:center}.list-view .person-portrait-link .person-avatar{width:76px}
.company-budget #budget-detail{display:flex;gap:14px;flex-wrap:wrap}.budget-part{display:inline-flex;gap:6px}.budget-part b{font-weight:650}.portal-sidebar .company-budget{display:flex;flex-direction:column;align-items:stretch;gap:13px;margin:20px 0 26px;padding:18px;background:linear-gradient(145deg,#fff,#f1eaff);border:1px solid #e7dcf7;border-radius:16px;box-shadow:0 8px 24px #51308010;color:#302342}.portal-sidebar .company-budget>div:first-child{display:flex;flex-direction:column;gap:7px}.portal-sidebar #budget-period{font-size:10px;font-weight:700;line-height:1.5}.portal-sidebar #budget-remaining{font-size:26px;line-height:1.15}.portal-sidebar .company-budget #budget-detail{display:flex;flex-direction:column;gap:8px;order:0;font-size:11px}.portal-sidebar .budget-part{justify-content:space-between;gap:6px}.portal-sidebar .budget-mode{text-align:center;background:#eadff7;font-size:9px}.portal-sidebar .company-budget progress{width:100%;height:6px;max-width:none}.portal-sidebar .company-budget .field-help{align-self:flex-end;margin:0}.person-portrait-link .person-avatar{aspect-ratio:1;height:auto;object-fit:cover;object-position:center 38%;display:flex;align-items:center;justify-content:center}.list-view .person-portrait-link .person-avatar{height:76px}
/* Compact message controls: optional feedback, copy and colleague invitation. */
.staff-feedback{margin:5px 0 0;font-size:12px}.feedback-actions{display:flex;align-items:center;gap:2px}.feedback-actions .message-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:6px;border:0;border-radius:7px;background:transparent;color:#687581;box-shadow:none}.message-action svg{width:18px;height:18px}.feedback-actions .message-action:not(:disabled):not([aria-disabled="true"]):hover{background:#e6eaf0;color:#243754}.feedback-actions .message-action[aria-pressed=true]{background:#e1e9fb;color:#2458bf}.feedback-actions .message-action:focus-visible{outline:2px solid #4470dc;outline-offset:1px}.feedback-status:not(.visually-hidden){display:block;color:#9d3535}.invite-dialog{border:0;border-radius:20px;max-width:550px;width:calc(100% - 32px);max-height:85vh;padding:25px;box-shadow:0 16px 70px #14204444}.invite-dialog::backdrop{background:#18283977}.invite-dialog form>button{margin:14px 8px 0 0}.invite-people{display:grid;gap:7px;max-height:42vh;overflow:auto}.invite-person{display:flex;gap:12px;align-items:center;background:#f1f5fb;border-radius:10px;padding:9px;margin:0}.invite-person input{width:auto;margin:0}.invite-person .picker-photo{width:45px;height:50px;object-fit:cover;border-radius:9px}.invited-message{background:#f5f9ff}
.projects-main{max-width:1220px;margin:auto;padding:35px 28px}.project-total{background:linear-gradient(110deg,#e3eaff,#e9f9f7);border:0}.project-total>strong{display:block;font-size:38px;margin:5px 0;color:#203a70}.projects-list{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.project-card h2{margin:0}.project-amounts{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0}.project-amounts span,.project-amounts strong{display:block}.project-amounts span{font-size:12px;color:#627185}.project-amounts strong{font-size:24px;color:#273d61}.project-card details{margin-top:15px}.project-card details form{padding-top:12px}.project-card details label{margin-top:12px}.project-card details button{margin-top:10px}@media(max-width:700px){.projects-main{padding:22px 14px}.projects-list{grid-template-columns:1fr}}
.permissions-main{max-width:1040px;margin:auto;padding:35px 28px}.permissions-main>section>select{max-width:100%;font-size:17px;font-weight:600;margin-bottom:4px}.permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.permission-option{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f4f6fc;border-radius:12px;margin:0}.permission-option>input{width:18px;height:18px;margin:3px 0 0;flex-shrink:0}.permission-option strong,.permission-option small{display:block}.permission-option small{font-size:12px;font-weight:400;color:#5f6e83;line-height:1.4;margin-top:5px}.permissions-main label{margin-top:14px}.project-total-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-total-grid strong{display:block;font-size:32px;color:#203a70;margin-top:5px}@media(max-width:700px){.permission-options,.project-total-grid{grid-template-columns:1fr}.permissions-main{padding:22px 14px}}
/* People directory: rectangular portraits and salary beneath navigation. */
#team-directory .person-portrait-link,.favourite-directory .person-portrait-link{display:block;border-radius:0}
#team-directory .person-portrait-link .person-avatar,.favourite-directory .person-portrait-link .person-avatar{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 38%;border-radius:0}
.person-card h3 a{text-decoration:none}
.view-switch button{min-width:38px;padding:8px 10px;font-size:18px;line-height:1}
.people-team-filter{display:flex;align-items:center;gap:8px;margin:0}.people-team-filter span{font-size:11px;font-weight:700;color:#675c77}.people-team-filter select{min-width:145px;margin:0;padding:9px 32px 9px 11px}
.project-members{padding-top:12px}.project-members h3{font-size:13px;margin:12px 0 7px}.member-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:7px}.member-choices .check-label{margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px}
.feedback-illustration{display:block;width:100%;max-height:330px;object-fit:cover;border-radius:18px;margin:22px 0;box-shadow:0 12px 30px #26355818}
.human-profile-photo{width:72px;height:72px;object-fit:cover;border-radius:10px;margin-bottom:10px;background:#ece8f4}
.meeting-human{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px;align-items:center;margin-bottom:8px}.meeting-human select{margin:0}.meeting-human .check-label{margin:0}
.portal-sidebar #budget-period{display:flex;flex-direction:column;gap:2px}
.portal-sidebar #budget-period>span:first-child{font-size:12px}
.portal-sidebar .company-budget{flex-shrink:0}
.portal-sidebar{overflow-y:auto}
body:has(>.portal-sidebar){display:grid;grid-template-columns:220px minmax(0,1fr)}
body:has(>.portal-sidebar)>.company-banner{grid-column:1/-1;grid-row:1;margin:0;width:100%}
body>.portal-sidebar{position:sticky;inset:auto;top:0;grid-column:1;grid-row:2/4;width:220px;height:100vh;z-index:30}
body:has(>.portal-sidebar)>main,body:has(>.portal-sidebar)>footer{grid-column:2;margin-left:0;width:auto}
@media(max-width:700px){body:has(>.portal-sidebar){display:block}body>.portal-sidebar{position:static;width:auto;height:auto}body:has(>.portal-sidebar)>.company-banner,body:has(>.portal-sidebar)>main,body:has(>.portal-sidebar)>footer{margin-left:0;width:auto}}

/* Directory controls and portraits. */
.people-tools{justify-content:flex-start}.people-search{max-width:340px}.people-team-filter>span{font-size:20px}.view-switch{margin-left:auto;gap:10px}.view-switch button{width:28px;height:28px;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:transparent;color:#6e7180;box-shadow:none}.view-switch button:not(:disabled):not([aria-disabled="true"]):hover,.view-switch button[aria-pressed=true]{background:transparent;border-color:transparent;color:#2894eb}.view-switch button:focus-visible{outline:2px solid #2894eb;outline-offset:3px}.view-icon{display:block;position:relative}.view-icon-cards{width:21px;height:21px}.view-icon-cards:before{content:"";position:absolute;left:0;top:0;width:5px;height:5px;background:currentColor;box-shadow:8px 0 currentColor,16px 0 currentColor,0 8px currentColor,8px 8px currentColor,16px 8px currentColor,0 16px currentColor,8px 16px currentColor,16px 16px currentColor}.view-icon-list{width:21px;height:21px}.view-icon-list:before,.view-icon-list:after{content:"";position:absolute;top:0;background:currentColor}.view-icon-list:before{left:0;width:5px;height:5px;box-shadow:0 8px currentColor,0 16px currentColor}.view-icon-list:after{left:8px;width:13px;height:5px;box-shadow:0 8px currentColor,0 16px currentColor}
.favourites-section{margin:0 0 26px}.favourites-section h2{margin:0 0 2px;font-size:19px}.favourites-section>p{margin:0 0 12px;font-size:11px;color:#716a81}.favourite-directory{display:grid;grid-template-columns:repeat(5,var(--favourite-card-width,185px));gap:20px;overflow-x:auto;padding:2px 2px 10px}.favourite-slot{width:var(--favourite-card-width,185px);min-height:var(--favourite-card-height,390px);border:2px dashed #c9c1d5;border-radius:18px;background:#ffffff55}.favourite-directory .person-card{width:var(--favourite-card-width,185px);min-width:0}
.favourite-directory .person-card{display:block;padding:0;gap:0}.favourite-directory .person-card>div{display:block;padding:18px}.favourite-directory .person-portrait-link{width:100%;height:auto;align-self:auto}.favourite-directory .person-portrait-link .person-avatar{width:100%;height:auto;min-height:0;aspect-ratio:1}
#team-directory .person-portrait-link,.favourite-directory .person-portrait-link{position:relative}#team-directory .staff-status,.favourite-directory .staff-status{position:absolute;left:10px;bottom:10px;margin:0;font-size:11px;line-height:1;padding:6px 9px;box-shadow:0 2px 7px #1b253f2b}
.staff-favourite,.staff-score{position:absolute;top:10px;z-index:2;border:0;background:transparent;color:#fff;box-shadow:none;line-height:1;text-shadow:0 1px 4px #10182f,0 0 2px #10182f}.staff-favourite{left:10px;width:31px;height:31px;padding:0;font-size:25px;color:#ffd75a}.staff-favourite:not(:disabled):not([aria-disabled="true"]):hover{background:transparent;transform:scale(1.08)}.staff-score{right:10px;display:flex;align-items:center;gap:7px;font-size:17px;font-weight:700;pointer-events:none}.staff-score-item{display:inline-flex;align-items:center;gap:3px}.reward-icon{width:24px;height:24px;padding:5px;border-radius:50%;filter:drop-shadow(0 1px 2px #10182f66)}.reward-icon path{fill:#fff;stroke:#fff;stroke-width:.6}.reward-positive{background:linear-gradient(#56d66a,#09a52c);border:2px solid #058c23}.reward-negative{background:linear-gradient(#ff5b5b,#eb1010);border:2px solid #cc0909}.staff-score-count{position:relative;top:2px;font-size:14px}.person-card .person-role{margin:1px 0 9px}
.staff-score.staff-reward-controls{top:6px;pointer-events:none}.staff-reward-controls{display:flex;align-items:center;gap:6px}.staff-reward-badge{display:inline-flex;align-items:center;gap:3px;color:#fff;font-size:14px;font-weight:700;line-height:1;text-shadow:0 1px 4px #10182f,0 0 2px #10182f}.staff-reward-badge svg{width:25px;height:25px;fill:#ffd400;stroke:#747b86;stroke-width:1.1;filter:drop-shadow(0 1px 2px #10182f)}.staff-reward-badge .staff-score-count{top:2px}.profile-engagement .staff-reward-controls{pointer-events:none;align-items:center}
.list-view .person-card{grid-template-columns:125px minmax(0,1fr);align-items:stretch;padding:0;gap:16px;overflow:hidden}.list-view .person-portrait-link{width:125px;align-self:stretch}.list-view .person-portrait-link .person-avatar{width:125px;height:100%;min-height:132px;aspect-ratio:auto;object-fit:cover}.list-view .person-card>div{padding:14px 14px 14px 0}.list-view .staff-status{display:block!important}
.face-choice input[type=radio]{position:absolute;opacity:0;pointer-events:none}.face-choice:focus-within{outline:3px solid #efad1b;outline-offset:2px}
.work-register-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.work-register-tools input,.work-register-tools select{margin:0;width:auto;min-width:170px}.work-register-tools button{padding:9px 11px}.work-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:42px;margin:0 0 12px}.work-bulk-actions>span{margin-right:auto;font-size:12px;color:#716a81}.work-select-all{display:flex;align-items:center;gap:7px;margin:0;font-size:12px}.work-select-all input{width:18px;height:18px;margin:0;accent-color:var(--company)}.work-bulk-actions .work-icon-action{width:38px;height:38px;padding:0;display:grid;place-items:center;font-size:16px}.work-select{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:var(--company)}#work-runs,.team-directory{width:100%;min-width:0}.work-runs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.work-runs-grid .work-run{margin:0;align-content:flex-start}.work-runs-grid .work-run>div:not(.work-record){flex-basis:calc(100% - 105px)}
.safeguarding-actions{display:flex;align-items:center;gap:10px;margin:0 0 12px}.safeguarding-actions label{display:flex;align-items:center;gap:7px;margin:0}.safeguarding-actions input,.safeguarding-row>input{width:18px;height:18px;margin:0;accent-color:var(--company)}.safeguarding-actions span{margin-right:auto;color:#716a81;font-size:12px}.safeguarding-actions button{padding:8px 14px}.safeguarding-list{display:grid;gap:7px}.safeguarding-row{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;padding:11px 13px;background:#fff;border:1px solid #ddd8e8;border-radius:12px}.safeguarding-summary{min-width:0}.safeguarding-heading{display:flex;align-items:center;gap:8px}.safeguarding-summary p{margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.safeguarding-summary a{display:inline-block;margin-top:4px;font-size:12px}
.work-title-row{display:flex;align-items:center;gap:8px}.work-title-row h3{min-width:0}.work-rename{border:0;background:transparent;color:var(--company);box-shadow:none;padding:3px 5px;font-size:17px;line-height:1}.work-rename:not(:disabled):not([aria-disabled="true"]):hover{background:var(--company-soft)}
@media(max-width:700px){.people-search{flex:1 1 180px}.people-team-filter{flex:0 1 150px}.view-switch{margin-left:0}.work-runs-grid{grid-template-columns:1fr}.list-view .person-card{grid-template-columns:95px 1fr}.list-view .person-portrait-link,.list-view .person-portrait-link .person-avatar{width:95px}.favourite-directory{grid-template-columns:repeat(5,var(--favourite-card-width,185px));gap:13px}}
.hierarchy-reporting{display:grid;gap:4px;margin-top:9px;font-size:11px}.hierarchy-reporting select{min-width:150px;padding:7px 9px;font-size:12px}
.meeting-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.discussion #turns{scroll-behavior:smooth}.discussion .chat-wait{margin:8px 0}
.one-to-one .chat-transcript{gap:14px}.one-to-one .chat-message{max-width:82%;padding:11px 14px}.one-to-one .chat-message.staff-message,.one-to-one .chat-message.invited-message{width:auto}.one-to-one .staff-message-body{max-width:100%}.one-to-one .staff-feedback{margin-top:4px;margin-bottom:0}

.reward-icon{padding:0;border:0;border-radius:0;background:transparent;filter:drop-shadow(0 1px 2px #10182f66)}
.reward-positive,.reward-negative{color:#ffd400}
.reward-icon path{fill:currentColor;stroke:currentColor;stroke-width:.35}
.staff-favourite{top:6px;display:grid;place-items:center;width:32px;height:32px;font-size:32px;line-height:1}
.reward-icon{filter:drop-shadow(0 1px 2px #10182f) drop-shadow(0 0 1px #10182f)}
.image-generating,.chat-wait{display:flex;align-items:center;gap:10px;background:#fffaf0;border:1px solid #f1d789}.image-generating .hint,.chat-wait .hint{margin:0}.image-generating-spinner{width:20px;height:20px;border:3px solid #f5dda0;border-top-color:#d39b00;border-radius:50%;animation:image-generating-spin .8s linear infinite}@keyframes image-generating-spin{to{transform:rotate(360deg)}}
.staff-details .agent-card.profile-menu{padding:6px 22px;margin-bottom:18px}.staff-details .profile-menu>details{margin:0;padding:14px 0;border-bottom:1px solid #ece7f2}.staff-details .profile-menu>details:last-child{border-bottom:0}.staff-details .profile-menu>details>summary{font-size:13px;font-weight:600;color:#46516b}
.imported-team-list{display:grid;gap:10px;margin-top:18px}.imported-team{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#f6f3fc;border-radius:12px}.imported-team strong{font-size:16px}.imported-team p{flex:1;margin:0;font-size:12px;color:#657087}.imported-team button{font-size:11px;padding:9px 12px}
.chat-access{padding:12px 18px;background:#fff7dd;border-block:1px solid #eadba8}.chat-access>p{margin:0}.chat-access-request{display:flex;align-items:center;gap:8px;margin-top:8px}.chat-access-request span{flex:1}.chat-access-request button{padding:7px 10px;font-size:11px}
fieldset{margin:18px 0;padding:16px;box-sizing:border-box}.team-picker{width:100%;margin:18px 0;padding:16px}.team-picker #meeting-fixed-people{display:grid;gap:8px;margin-bottom:10px}.team-picker #team-options{gap:10px}.team-picker .check-label{box-sizing:border-box;width:100%;min-width:0;margin:0}.team-picker .picker-photo{margin:0 auto}.team-picker .hint{margin:12px 0 0}.meeting-human{margin:0 0 10px;padding:8px;border-radius:11px;background:#fff}.meeting-human .check-label{padding:8px;margin:0}
.setup-page{min-height:100vh;background:linear-gradient(135deg,#24104d,#6d39ef 55%,#4ea7ff);padding:48px 20px}.setup-shell{max-width:980px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}.setup-intro{color:#fff;padding:30px;margin-top:70px}.setup-intro .company-emblem{display:flex;width:76px;height:70px;font-size:38px;margin-bottom:28px}.setup-intro .eyebrow{color:#d9ceff}.setup-intro h1{font-size:clamp(42px,7vw,74px);line-height:.95;margin:10px 0 24px}.setup-intro>p:last-child{color:#f1edff}.setup-intro p{font-size:17px;max-width:520px}.setup-form{padding:32px}.setup-form h2{margin-top:0}.setup-form input{width:100%;box-sizing:border-box}@media(max-width:760px){.setup-shell{grid-template-columns:1fr}.setup-page{padding:18px}.setup-intro{padding:18px 8px;margin-top:0}.setup-form{padding:22px}}
.registration-recovery{margin:10px 0 18px;padding:12px;border-radius:10px;background:#fff3d6}.registration-recovery p{margin:0 0 8px}.registration-recovery button{padding:8px 12px}
.chat-compose{display:grid;grid-template-columns:34px minmax(0,1fr);gap:7px;align-items:start}.chat-compose-tools{display:flex;flex-direction:column;align-items:center;gap:3px;padding-top:7px}.chat-compose-tools .message-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:6px;border:0;border-radius:7px;background:transparent;color:#687581;box-shadow:none}.chat-compose-tools .message-action:not(:disabled):not([aria-disabled="true"]):hover{background:#e6eaf0;color:#243754}.chat-compose-tools .message-action:focus-visible{outline:2px solid #4470dc;outline-offset:1px}.chat-compose-tools .message-action:disabled{opacity:.35;cursor:not-allowed}.one-to-one .chat-compose #chat-message{width:100%;box-sizing:border-box}.chat-compose-tools .message-action svg{width:18px;height:18px}.chat-message.staff-message,.chat-message.invited-message{display:flex;align-items:flex-start;gap:10px}.chat-avatar{width:60px;height:60px;flex:0 0 60px;border-radius:50%;object-fit:cover;margin-top:1px}.staff-message-body{min-width:0;flex:1}
.chat-attachments{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0 41px}.chat-attachment{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:10px;background:#eef2f8;color:#43506a;font-size:11px}.chat-attachment button{border:0;background:transparent;padding:0;color:inherit;font-size:16px;line-height:1}
.message-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.message-attachments .chat-attachment{background:#f4efff;color:#533a83;text-decoration:none}.message-attachments .chat-attachment:before{content:"📎"}
.generated-image{max-width:min(88%,620px)}.generated-image img{display:block;width:100%;height:auto;margin-top:8px;border-radius:10px;cursor:zoom-in}.generated-image img:focus-visible{outline:3px solid var(--company);outline-offset:3px}.image-viewer{border:0;padding:0;max-width:min(94vw,1200px);max-height:94vh;background:transparent}.image-viewer::backdrop{background:#131829c9}.image-viewer-frame{background:#fff;border-radius:16px;padding:14px;box-shadow:0 24px 80px #0008}.image-viewer img{display:block;max-width:calc(94vw - 28px);max-height:calc(82vh - 28px);width:auto;height:auto;border-radius:9px}.image-viewer-actions{display:flex;align-items:center;gap:8px;padding-top:12px}.image-viewer-actions .hint{margin:0 0 0 auto;font-size:12px}
.one-to-one .chat-participants{margin:0;padding:6px 20px 3px;background:#faf9fc;color:#685e76;font-size:11px}.chat-participants a{color:var(--company);text-decoration:none;font-weight:650}.chat-participants a:not(:disabled):not([aria-disabled="true"]):hover{text-decoration:underline}.one-to-one .chat-intro{padding-top:3px}
.one-to-one>.section-heading.chat-heading-row{align-items:center}.chat-heading-row .chat-title-inline{flex:1;min-width:150px;max-width:360px;margin:0;height:34px;padding:7px 10px;font-size:13px}.chat-heading-row .badge{margin-left:auto}@media(max-width:700px){.chat-heading-row .chat-title-inline{order:3;flex-basis:100%;max-width:none}.chat-heading-row .badge{margin-left:0}}
.meeting-participants{margin:0 0 14px;font-size:22px;line-height:1.3;color:#4f4660}.meeting-participants a{color:var(--company);font-weight:650;text-decoration:none}.meeting-participants a:not(:disabled):not([aria-disabled="true"]):hover{text-decoration:underline}@media(max-width:700px){.meeting-participants{font-size:18px}}
.meeting-conversation-heading{margin:24px 0 12px}.discussion #followup-form{position:sticky;bottom:0;z-index:3;margin-top:18px;padding:14px;background:#fff;border:1px solid #ded8e9;border-radius:14px;box-shadow:0 8px 24px #1c274518}.discussion #followup-form h2{margin:0 0 8px;font-size:17px}
.staff-score.staff-reward-controls{pointer-events:auto;gap:6px}.staff-reward-controls{display:flex;align-items:center;gap:6px}.staff-reward-controls .message-action{display:inline-flex;align-items:center;gap:2px;width:auto;height:30px;padding:4px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#747b86}.staff-reward-controls .message-action:not(:disabled):not([aria-disabled="true"]):hover{background:transparent;color:#747b86;transform:scale(1.08)}.staff-reward-controls .message-action svg{width:22px;height:22px;fill:transparent;stroke:currentColor;stroke-width:1.1}.staff-reward-controls .message-action[aria-pressed=true]{background:transparent;color:#747b86;box-shadow:none}.staff-reward-controls .message-action[aria-pressed=true] svg{fill:#ffd400;stroke:#747b86}.profile-portrait-wrap .profile-engagement{position:absolute;z-index:3;left:8px;right:8px;top:6px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.profile-engagement .staff-favourite,.profile-engagement .staff-reward-controls{position:relative;left:auto;right:auto;top:auto;pointer-events:auto}.profile-engagement .staff-reward-controls{gap:4px}.profile-engagement .staff-favourite{margin:0}

/* Read-only profile rewards: presentation matches the selected message reaction. */
.staff-score.staff-reward-controls{top:6px;right:10px;pointer-events:none;gap:6px}
.staff-reward-controls{display:flex;align-items:center;gap:6px}
.staff-reward-badge{display:inline-flex;align-items:center;gap:3px;color:#fff;font-size:14px;font-weight:700;line-height:1;text-shadow:0 1px 4px #10182f,0 0 2px #10182f}
.staff-reward-badge svg{width:25px;height:25px;fill:#ffd400;stroke:#747b86;stroke-width:1.1;filter:drop-shadow(0 1px 2px #10182f)}
.staff-reward-badge .staff-score-count{top:2px}
.profile-engagement .staff-reward-controls{pointer-events:none;align-items:center;gap:6px}

/* Home, account and profile refinements. */
.home-welcome{max-width:1120px;margin:28px auto;display:grid;grid-template-columns:minmax(230px,320px) minmax(0,1fr);gap:30px;align-items:start;background:linear-gradient(135deg,#fff 55%,var(--company-soft))}
.home-mark-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:18px;box-shadow:0 10px 35px #25203920}
.home-conversation h1{font-size:42px;margin:6px 0 18px}.home-bubbles{display:flex;flex-direction:column;gap:10px}.home-bubble{max-width:90%;margin:0;padding:13px 16px;border-radius:5px 16px 16px;background:#f0ecf4;line-height:1.55;box-shadow:0 2px 7px #35254b0b}.home-bubble:nth-child(even){margin-left:5%;background:#fff;border:1px solid #e7e0eb}.home-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.account-panel{max-width:860px}.account-panel .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.staff-details .staff-profile-heading{position:relative}.staff-settings-link{position:absolute;right:15px;top:15px;float:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--company);box-shadow:0 4px 14px #29203918}.staff-settings-link:not(:disabled):not([aria-disabled="true"]):hover{transform:rotate(15deg)}
.staff-details #profile-team-links{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;margin-top:10px}.staff-details #profile-team-links .profile-team-name{grid-column:1/-1;margin-bottom:3px;text-transform:none;font-weight:700}.staff-workspace{grid-template-columns:minmax(270px,335px) minmax(0,1fr)}.staff-workspace>.one-to-one{height:calc(100dvh - 16px);min-height:780px}.one-to-one .chat-transcript{min-height:300px}
.staff-settings-tools{max-width:none}.staff-capabilities{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.staff-capabilities .check-label{padding:10px 12px;border:1px solid #e4deeb;border-radius:10px;background:#faf9fc}.team-talk{display:flex;align-items:flex-end;gap:10px;margin:16px 0}.team-talk label{flex:1;margin:0}.team-talk select{margin:5px 0 0}.team-talk button{white-space:nowrap;margin-bottom:0}.feedback-reminder{font-size:10px;color:#7a7086;max-width:220px;line-height:1.25}.feedback-actions{align-items:center}
@media(max-width:700px){.home-welcome{grid-template-columns:1fr}.home-mark{max-width:240px}.account-panel .fields,.staff-capabilities{grid-template-columns:1fr}.staff-workspace>.one-to-one{min-height:600px}.team-talk{align-items:stretch;flex-direction:column}}
.danger-zone{border-color:#e7a0a0;background:#fffafa}.danger-button{background:#a91f2c;color:#fff;border-color:#a91f2c}.danger-button:not(:disabled):not([aria-disabled="true"]):hover{background:#861824}
.feedback-actions .message-action-star{padding:3px;border:0;background:transparent;color:#747b86;box-shadow:none}.feedback-actions .message-action-star:not(:disabled):not([aria-disabled="true"]):hover{background:transparent;transform:scale(1.08)}.feedback-actions .message-action-star svg{width:36px;height:36px;fill:transparent;stroke:#747b86;stroke-width:1.2}.feedback-actions .message-action-star[aria-pressed=true]{background:transparent;box-shadow:none}.feedback-actions .message-action-star[aria-pressed=true] svg{fill:#ffd400;stroke:#747b86}.staff-favourite{color:#fff;text-shadow:0 1px 2px #20243b,0 1px 4px #20243b}.staff-favourite[aria-pressed=true]{color:#ffd400}
.person-card.disabled-staff{filter:grayscale(1);opacity:.55}.person-card.disabled-staff .person-actions{pointer-events:none}

/* Staff profile information sits above a full-width conversation and starts compact. */
.staff-workspace{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px;max-width:1500px;margin:0 auto}.staff-summary{position:relative;margin:0;padding:18px 22px}.staff-summary-grid{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(260px,1fr) minmax(260px,1fr);gap:24px;align-items:start}.staff-summary .staff-profile-heading{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;background:transparent;margin:0;padding:0;box-shadow:none;border:0}.staff-summary .profile-photo{width:126px;height:126px;border-radius:16px;object-fit:cover}.staff-summary .profile-portrait-wrap{min-width:126px}.staff-summary .staff-settings-link{right:52px;top:12px}.staff-summary-detail h2{font-size:17px;margin:0 0 7px}.staff-summary-detail h2:not(:first-child){margin-top:15px}.staff-summary-detail p{font-size:13px;line-height:1.55;margin:0}.staff-summary-detail select{margin:5px 0 0}.staff-summary-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #ebe7f1;font-size:13px;font-weight:650}.staff-summary-controls{position:absolute;right:12px;top:10px;z-index:5;display:flex;gap:2px}.staff-summary-controls button{width:34px;height:34px;padding:0;font-size:20px}.staff-summary.is-collapsed{padding:11px 54px 11px 16px}.staff-summary.is-collapsed .staff-summary-grid{display:block}.staff-summary.is-collapsed .staff-profile-heading{grid-template-columns:54px minmax(0,1fr)}.staff-summary.is-collapsed .profile-photo{width:50px;height:50px;border-radius:50%}.staff-summary.is-collapsed .profile-portrait-wrap{min-width:50px}.staff-summary.is-collapsed .profile-engagement,.staff-summary.is-collapsed .profile-spend,.staff-summary.is-collapsed #profile-status,.staff-summary.is-collapsed .eyebrow,.staff-summary.is-collapsed .staff-settings-link,.staff-summary.is-collapsed .staff-summary-detail{display:none}.staff-summary.is-collapsed #profile-name{font-size:24px;margin:0}.staff-summary.is-collapsed #profile-role{margin:2px 0 0;font-size:12px}.staff-summary.is-collapsed #profile-team-links{margin:5px 0 0;display:flex;gap:14px}.staff-summary.is-collapsed .staff-summary-actions{position:absolute;right:95px;top:20px;margin:0;padding:0;border:0}.staff-workspace>.one-to-one{height:calc(100dvh - 105px);min-height:720px;margin:0}.one-to-one .chat-transcript{min-height:390px}@media(max-width:900px){.staff-summary-grid{grid-template-columns:1fr 1fr}.staff-summary .staff-profile-heading{grid-column:1/-1}.staff-summary.is-collapsed .staff-summary-actions{position:static;margin-top:8px}.staff-workspace>.one-to-one{height:auto;min-height:680px}}@media(max-width:650px){.staff-summary-grid{grid-template-columns:1fr}.staff-summary .staff-profile-heading{grid-column:auto}.staff-summary .profile-photo{width:92px;height:92px}.staff-summary.is-collapsed .staff-summary-actions{display:none}}
.staff-profile-page>.company-banner{grid-column:1/-1;grid-row:1}.staff-profile-page>.portal-sidebar{grid-column:1;grid-row:2/4}.staff-profile-page>main{grid-column:2;grid-row:2;width:100%;max-width:none;min-width:0;margin:0}.staff-profile-page>footer{grid-column:2;grid-row:3;width:100%;max-width:none;margin:0}@media(max-width:700px){.staff-profile-page>.portal-sidebar,.staff-profile-page>main,.staff-profile-page>footer{width:auto;max-width:none}}
.staff-reward-badge svg{width:38px;height:38px}.meeting-setup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.meeting-setup-heading h2{margin:0}.meeting-setup-controls{display:flex;gap:2px}.meeting-setup-controls button{width:34px;height:34px;padding:0;font-size:20px}.meeting-active{grid-template-columns:minmax(0,1fr)}.meeting-active>aside,.meeting-active>.discussion{grid-column:1;width:100%;min-width:0}.meeting-active>aside>.panel{margin:0}.meeting-running main{max-width:none}.meeting-running .page-heading{display:none}.meeting-active.meeting-setup-collapsed>aside #run-form,.meeting-active.meeting-setup-collapsed>aside .history{display:none}.meeting-active.meeting-setup-collapsed>aside>.panel{padding:12px 18px}.meeting-active>.discussion{min-height:calc(100dvh - 170px)}.meeting-active .discussion #turns{max-height:calc(100dvh - 430px);min-height:320px}@media(max-width:700px){.meeting-active .discussion #turns{max-height:58vh}.meeting-running main{padding-top:12px}}
.company-banner-identity{padding:8px 11px;border-radius:18px;white-space:nowrap}.company-live-status{background:#fff4ef;color:#8a2a24;padding:8px 11px;white-space:nowrap}.meeting-start-row{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;margin-top:16px}.meeting-start-row label{width:min(260px,100%);margin:0}.meeting-start-row select{margin:5px 0 0}.meeting-start-row button{white-space:nowrap}.meeting-compose{align-items:stretch}.meeting-compose textarea{min-height:92px}.meeting-compose .message-action{margin:7px 0}.meeting-active .team-picker .hint:after{content:" Changes apply to the next message; newly added staff read the conversation before replying."}@media(max-width:650px){.meeting-start-row{align-items:stretch;flex-direction:column}.meeting-start-row label{width:100%}}

/* Initial workspace rendering is presented as one completed page. */
body.meshai-page-loading>*:not(.page-loading-overlay){visibility:hidden!important}.page-loading-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-content:center;justify-items:center;gap:14px;background:#f7f6fb;color:var(--company-dark)}.page-loading-spinner{width:42px;height:42px;border:4px solid #ddd6e7;border-top-color:var(--company);border-radius:50%;animation:mesh-page-spin .8s linear infinite}.page-loading-overlay strong{font-size:15px}@keyframes mesh-page-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.page-loading-spinner{animation-duration:1.8s}}

/* Your AI staff overlays. The favourite heart is prominent; the earned star has no grey outline. */
body:has(#team-directory) .staff-favourite{width:40px;height:40px;font-size:40px;top:5px;left:7px;border:0!important;outline:0;box-shadow:none!important}
body:has(#team-directory) .staff-reward-badge svg{stroke:#ffd400;stroke-width:0;width:27px;height:27px}
body:has(#team-directory) .staff-reward-badge .staff-score-count{font-size:18px;top:1px}
body:has(#team-directory) .staff-photo-cost{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:2;min-width:30px;padding:5px 9px;border-radius:999px;background:#fff3;color:#fff;font-size:13px;font-weight:800;line-height:1;text-align:center;text-shadow:0 1px 3px #10182f;box-shadow:0 2px 7px #10182f2b;backdrop-filter:blur(3px)}

/* Account fields and resilient staff cards. */
.account-panel{max-width:940px}.account-fields{gap:18px 22px}.account-fields>label,.account-phone-row label,.account-password>label{margin:0;color:#34304c;font-size:15px;font-weight:750;line-height:1.35}.account-fields input,.account-password input{display:block;margin-top:9px;min-height:48px}.account-fields .required-field{color:var(--company-dark)}.required-mark{color:#c5373e}.account-fields .required-field input{border:2px solid #b9a4e8;background:#fdfcff}.account-phone-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,.8fr);gap:12px}.account-password{margin:24px 0 20px;padding:0;border:1px solid #dfd8eb;border-radius:12px;background:#faf8fd;overflow:hidden}.account-password summary{display:flex;align-items:center;gap:11px;margin:0;padding:15px 17px;color:var(--company-dark);font-size:15px;font-weight:750}.account-password summary span{font-size:21px}.account-password[open]{padding-bottom:16px}.account-password[open]>label,.account-password[open]>input,.account-password[open]>.hint{margin-left:17px;margin-right:17px;width:calc(100% - 34px)}
body:has(#team-directory) .team-directory:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}body:has(#team-directory) .person-card{min-width:0;height:100%}body:has(#team-directory) .person-card>div{display:flex;min-width:0;height:100%;flex-direction:column;padding:18px 18px 16px}body:has(#team-directory) .person-card h3,body:has(#team-directory) .person-card p{overflow-wrap:anywhere}body:has(#team-directory) .person-card h3{font-size:24px;line-height:1.15}body:has(#team-directory) .person-group{font-size:11px;line-height:1.35;margin-bottom:10px}body:has(#team-directory) .person-role{font-size:13px;color:#554f69;line-height:1.4}body:has(#team-directory) .person-bio{color:#5f596f;font-size:13px;line-height:1.55;-webkit-line-clamp:4;min-height:81px}body:has(#team-directory) .person-actions{margin-top:auto;gap:16px}body:has(#team-directory) .person-actions a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.person-action-talk:before,.person-action-work:before{content:"";display:inline-block;width:16px;height:16px;background:currentColor;flex:none}.person-action-talk:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v12H8l-4 4V4zm3 4h10v2H7V8zm0 4h7v2H7v-2z'/%3E%3C/svg%3E") center/contain no-repeat}.person-action-work:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h8l2 3h3v15H3V6h3l2-3zm1 3h6l-1-1h-4L9 6zm-4 4v9h14v-9h-5v2h-4v-2H5z'/%3E%3C/svg%3E") center/contain no-repeat}.list-view .person-card>div{display:grid!important;height:auto!important}
@media(max-width:700px){.account-phone-row{grid-template-columns:1fr}.account-fields>label,.account-phone-row label,.account-password>label{font-size:14px}body:has(#team-directory) .team-directory:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr))}body:has(#team-directory) .person-card>div{padding:14px}body:has(#team-directory) .person-card h3{font-size:20px}body:has(#team-directory) .person-bio{display:none}body:has(#team-directory) .person-actions{gap:10px;flex-direction:column}}

/* Your AI staff is composed as one directory rather than separate floating controls. */
body:has(#team-directory) .portal-header{display:none}body:has(#team-directory) .portal main{padding-top:34px}body:has(#team-directory) .people-heading{align-items:flex-end;margin:0 0 26px;padding-bottom:23px;border-bottom:1px solid #e5e1ec}body:has(#team-directory) .people-heading>div:first-child{min-width:0}body:has(#team-directory) .people-heading h1{margin:7px 0 8px}body:has(#team-directory) .people-heading p:last-child{color:#555f74}body:has(#team-directory) .people-heading-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}body:has(#team-directory) .people-project-filter{display:flex;align-items:center;gap:9px;margin:0;color:#4d5264;font-size:13px;font-weight:700}body:has(#team-directory) .people-project-filter select{width:190px;height:46px;margin:0;background:#fff}body:has(#team-directory) .meeting-button{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;white-space:nowrap}body:has(#team-directory) .meeting-button:before{content:"";width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h4v17H3V5h4V2zm12 8H5v10h14V10zM8 13h3v3H8v-3zm5 0h3v3h-3v-3z'/%3E%3C/svg%3E") center/contain no-repeat}
body:has(#team-directory) .favourites-section{margin-bottom:30px}body:has(#team-directory) .favourites-section h2{font-size:20px;color:#26223d}body:has(#team-directory) .favourites-section>p{font-size:12px;color:#5f6172;margin-bottom:14px}body:has(#team-directory) .favourite-directory{gap:16px;padding:2px 2px 7px;scrollbar-width:thin}body:has(#team-directory) .favourite-slot{position:relative;border:1.5px dashed #cdc6d8;background:#fff3;box-shadow:inset 0 0 0 1px #fff8}body:has(#team-directory) .favourite-slot:before{content:"♡";position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);color:#c9c2d4;font-size:38px;line-height:1}body:has(#team-directory) .favourite-slot:after{content:"Your AI Team";position:absolute;left:12px;right:12px;top:calc(42% + 28px);color:#a09aaa;font-size:11px;text-align:center}
body:has(#team-directory) .team-overview{border-top:1px solid #e5e1ec;padding-top:24px}body:has(#team-directory) .people-tools{display:grid;grid-template-columns:minmax(260px,390px) auto auto;justify-content:start;align-items:center;gap:14px;margin-bottom:20px;padding:13px 15px;border:1px solid #e2deea;border-radius:15px;background:#fff;box-shadow:0 5px 18px #39285608}body:has(#team-directory) .people-search{width:100%;max-width:none}body:has(#team-directory) .people-search input{height:43px;border-color:#d5cfdf}body:has(#team-directory) .people-team-filter{height:43px}body:has(#team-directory) .people-team-filter>span{font-size:16px;color:#4c475c}body:has(#team-directory) .people-team-filter select{height:43px;min-width:155px}body:has(#team-directory) .view-switch{margin-left:0;padding-left:13px;border-left:1px solid #e5e1e9;gap:14px}body:has(#team-directory) .view-switch button{width:32px;height:32px}
body:has(#team-directory) .team-directory:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(230px,250px));gap:18px}body:has(#team-directory) .person-card{border:1px solid #e8e4ed;box-shadow:0 7px 22px #30233d0b}body:has(#team-directory) .person-card>div{padding:17px 18px 16px}body:has(#team-directory) .person-group{color:#165ac5;font-size:10px;letter-spacing:.7px}body:has(#team-directory) .person-role{color:#565166;font-size:13px}body:has(#team-directory) .person-bio{min-height:61px;margin:11px 0;color:#56576a;line-height:1.55;-webkit-line-clamp:3}body:has(#team-directory) .person-actions{padding-top:12px;margin-top:12px;border-color:#e9e5ed;font-size:12px}
body:has(#team-directory) .person-portrait-link:after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:44px;background:linear-gradient(transparent,#11182755);pointer-events:none}body:has(#team-directory) .staff-status,body:has(#team-directory) .staff-photo-cost,body:has(#team-directory) .staff-spend{bottom:9px;z-index:3;height:25px;display:flex;align-items:center;padding:0 9px;border:0;border-radius:13px;box-shadow:none;backdrop-filter:blur(5px);font-size:11px;line-height:1}body:has(#team-directory) .staff-status{left:9px;background:#effbf3e8;color:#1f6944}body:has(#team-directory) .staff-photo-cost{left:50%;transform:translateX(-50%);min-width:34px;justify-content:center;background:#273247b8;color:#fff;text-shadow:none}body:has(#team-directory) .staff-spend{right:9px;background:#17233dcc;color:#fff}body:has(#team-directory) .staff-favourite{top:9px;left:9px;width:34px;height:34px;font-size:34px;line-height:1;text-shadow:0 1px 3px #152038aa}body:has(#team-directory) .staff-score{top:11px;right:11px}body:has(#team-directory) .staff-reward-badge{gap:4px}body:has(#team-directory) .staff-reward-badge svg{width:25px;height:25px;filter:drop-shadow(0 1px 2px #152038aa)}body:has(#team-directory) .staff-reward-badge .staff-score-count{top:0;font-size:16px;line-height:25px}
body:has(#team-directory) .overview-grid,body:has(#team-directory) .section-heading,body:has(#team-directory) .project-direction{color:#4f5669}body:has(#team-directory) .overview-card span,body:has(#team-directory) .overview-card small{color:#5f687c}
@media(max-width:900px){body:has(#team-directory) .people-heading{align-items:flex-start;flex-direction:column}body:has(#team-directory) .people-heading-actions{justify-content:flex-start}body:has(#team-directory) .people-tools{grid-template-columns:minmax(0,1fr) auto}.view-switch{grid-column:2}.people-team-filter{grid-column:1}}
@media(max-width:650px){body:has(#team-directory) .portal main{padding-top:22px}body:has(#team-directory) .people-heading-actions{width:100%;align-items:stretch;flex-direction:column}body:has(#team-directory) .people-project-filter{justify-content:space-between}body:has(#team-directory) .people-project-filter select{flex:1;width:auto}body:has(#team-directory) .meeting-button{justify-content:center}body:has(#team-directory) .people-tools{grid-template-columns:1fr}body:has(#team-directory) .people-team-filter,body:has(#team-directory) .view-switch{grid-column:1}body:has(#team-directory) .view-switch{padding:10px 0 0;border-left:0;border-top:1px solid #e5e1e9}body:has(#team-directory) .team-directory:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact staff directory: the photograph owns the small status metrics while the page stays focused on people. */
body:has(#team-directory) .people-heading{margin-bottom:20px;padding-bottom:18px}
body:has(#team-directory) .favourites-section{margin-bottom:20px}
body:has(#team-directory) .favourites-section>p{margin-bottom:10px}
body:has(#team-directory) .favourite-directory{gap:14px;padding-bottom:4px}
body:has(#team-directory) .favourite-card .person-bio,body:has(#team-directory) .favourite-card .person-actions{display:none}
body:has(#team-directory) .favourite-card>div{padding:13px 16px 15px}
body:has(#team-directory) .favourite-card .person-group{margin-bottom:6px}
body:has(#team-directory) .favourite-card .person-role{margin-bottom:0}
body:has(#team-directory) .favourite-slot{min-height:var(--favourite-card-height,340px)}
body:has(#team-directory) .team-overview{padding-top:18px}
body:has(#team-directory) .people-tools{grid-template-columns:minmax(240px,360px) auto auto;gap:12px;margin-bottom:16px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body:has(#team-directory) .view-switch{padding-left:10px;gap:12px}
body:has(#team-directory) .person-portrait-link:after{height:76px}
body:has(#team-directory) .staff-status{left:9px;right:88px;max-width:calc(100% - 97px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(#team-directory) .staff-photo-cost,body:has(#team-directory) .staff-spend{left:auto;right:9px;transform:none;width:72px;min-width:72px;max-width:72px;box-sizing:border-box;justify-content:center;font-variant-numeric:tabular-nums}
body:has(#team-directory) .staff-photo-cost{bottom:39px;background:#273247b8}
body:has(#team-directory) .staff-spend{bottom:9px}
body:has(#team-directory) .staff-favourite,body:has(#team-directory) .staff-score{top:8px;height:34px;display:flex;align-items:center}
body:has(#team-directory) .staff-favourite{left:9px;width:34px;padding:0;font-size:34px;justify-content:center}
body:has(#team-directory) .staff-score.staff-reward-controls{right:9px;top:8px;width:auto;min-width:0;height:34px;padding:0;box-sizing:border-box;flex-direction:row;justify-content:flex-start}
body:has(#team-directory) .staff-reward-badge{height:34px;align-items:center}
body:has(#team-directory) .staff-reward-badge svg{width:27px;height:27px}
body:has(#team-directory) .staff-reward-badge .staff-score-count{position:static;font-size:16px;line-height:1}
@media(max-width:900px){body:has(#team-directory) .people-tools{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:650px){body:has(#team-directory) .people-heading{margin-bottom:16px;padding-bottom:15px}body:has(#team-directory) .favourites-section{margin-bottom:16px}body:has(#team-directory) .people-tools{grid-template-columns:1fr;gap:9px}body:has(#team-directory) .staff-photo-cost,body:has(#team-directory) .staff-spend{width:62px;min-width:62px;max-width:62px;padding:0 5px}body:has(#team-directory) .staff-status{right:77px;max-width:calc(100% - 86px)}}

/* Card view is the quick visual directory; list view carries the fuller staff information. */
body:has(#team-directory) .team-directory:not(.list-view) .person-bio,
body:has(#team-directory) .team-directory:not(.list-view) .person-actions{display:none}
body:has(#team-directory) .team-directory:not(.list-view) .person-details{padding:13px 16px 15px}
body:has(#team-directory) .team-directory:not(.list-view) .person-group{margin-bottom:6px}
body:has(#team-directory) .team-directory:not(.list-view) .person-role{margin-bottom:0}
body:has(#team-directory) .list-view .person-card>.person-details{display:grid!important;height:auto!important;padding:14px 14px 14px 0;grid-template-columns:minmax(130px,1fr) minmax(220px,2.2fr) auto;gap:4px 22px;align-items:center}
body:has(#team-directory) .list-view .person-bio{display:-webkit-box;grid-column:2;grid-row:1/4;margin:0;min-height:0;-webkit-line-clamp:3}
body:has(#team-directory) .list-view .person-actions{display:flex;grid-column:3;grid-row:1/4;align-items:center;justify-content:flex-end;margin:0;padding:0;border:0;gap:10px}
body:has(#team-directory) .person-actions a{display:grid;width:38px;height:38px;padding:0;border:0;border-radius:50%;place-items:center;box-shadow:0 3px 9px #17233d24;transition:transform .15s ease,filter .15s ease}
body:has(#team-directory) .person-actions a:not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-1px) scale(1.05);filter:saturate(1.15)}
body:has(#team-directory) .person-actions a:focus-visible{outline:3px solid #89bfff;outline-offset:3px}
body:has(#team-directory) .person-actions a:before{width:22px;height:22px;background:#fff}
body:has(#team-directory) .person-action-talk{background:#168be8}
body:has(#team-directory) .person-action-talk:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.49 3 2 6.93 2 11.76c0 2.53 1.24 4.82 3.23 6.42L4.1 22l4.35-2.08c1.1.39 2.3.6 3.55.6 5.51 0 10-3.93 10-8.76S17.51 3 12 3zm-5 7.7h10v2H7v-2zm0-3.4h7v2H7v-2zm0 6.8h7v2H7v-2z'/%3E%3C/svg%3E") center/contain no-repeat}
body:has(#team-directory) .person-action-work{background:#f2a515}
body:has(#team-directory) .person-action-work:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4h8l2 3h3v13H3V7h3l2-3zm1.1 3h5.8l-.7-1h-4.4l-.7 1zM5 10v8h14v-8h-5v2h-4v-2H5z'/%3E%3C/svg%3E") center/contain no-repeat}
body:has(#team-directory) .person-card>.staff-score.staff-reward-controls{display:flex!important;grid-template-columns:none!important;height:34px!important;padding:0!important;gap:4px!important;align-items:center!important;flex-direction:row!important}
@media(max-width:850px){body:has(#team-directory) .list-view .person-card>.person-details{grid-template-columns:minmax(115px,1fr) minmax(150px,2fr) auto;gap:4px 14px}}
@media(max-width:650px){body:has(#team-directory) .list-view .person-card>.person-details{display:grid!important;grid-template-columns:1fr auto;padding:11px 12px 11px 0}body:has(#team-directory) .list-view .person-bio{display:-webkit-box;grid-column:1/3;grid-row:auto;margin:7px 0 4px;-webkit-line-clamp:3}body:has(#team-directory) .list-view .person-actions{grid-column:2;grid-row:1/4;gap:7px}body:has(#team-directory) .person-actions a{width:34px;height:34px}body:has(#team-directory) .person-actions a:before{width:20px;height:20px}}

/* Visual-audit corrections shared by the staff, hierarchy, projects and access screens. */
body:has(#team-directory) .list-view .person-card{grid-template-columns:175px minmax(0,1fr)}
body:has(#team-directory) .list-view .person-portrait-link,body:has(#team-directory) .list-view .person-portrait-link .person-avatar{width:175px}
body:has(#team-directory) .list-view .staff-status{max-width:78px}
.performance-star{display:inline-block;color:#ffd400;font-size:20px;line-height:1;filter:drop-shadow(0 1px 1px #39405766);vertical-align:-1px}
.projects-main .project-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-icon="permissions"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.7-2.9 8.2-7 10-4.1-1.8-7-5.3-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E")}
.access-settings h2[data-icon]{font-size:20px;margin-bottom:22px}.access-settings h2[data-icon]::before{width:36px;height:36px;flex-basis:36px;background-size:22px;border-radius:10px}.access-permissions-link{display:inline-flex;align-items:center;gap:9px}.access-permissions-link:before{content:"";width:18px;height:18px;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 3h5l.7 2.1 2 .8 2-1 3.1 3.1-1 2 .8 2 2.1.7v4.4l-2.1.7-.8 2 1 2-3.1 3.1-2-1-2 .8-.7 2.1h-5l-.7-2.1-2-.8-2 1-3.1-3.1 1-2-.8-2-2.1-.7v-4.4l2.1-.7.8-2-1-2L4.8 4.9l2 1 2-.8L9.5 3Zm2.5 6a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 2.2a2.8 2.8 0 1 1 0 5.6 2.8 2.8 0 0 1 0-5.6Z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:650px){body:has(#team-directory) .list-view .person-card{grid-template-columns:150px minmax(0,1fr)}body:has(#team-directory) .list-view .person-portrait-link,body:has(#team-directory) .list-view .person-portrait-link .person-avatar{width:150px}body:has(#team-directory) .list-view .staff-photo-cost,body:has(#team-directory) .list-view .staff-spend{width:58px;min-width:58px;max-width:58px}body:has(#team-directory) .list-view .staff-status{right:72px;max-width:69px}.projects-main .project-total-grid{grid-template-columns:1fr}}

/* Staff list composition: compact identity, useful profile detail and balanced actions. */
body:has(#team-directory) .staff-photo-cost{font-weight:500!important}

/* Assignment workspace: quiet, durable work controls rather than another chat surface. */
.assignments-main{margin-left:220px;min-height:100vh;padding:38px max(28px,4vw);background:#f7f7fb;color:#26223d}.assignment-heading{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:24px}.assignment-heading h1{margin:4px 0 9px;font-size:42px;letter-spacing:-1.5px}.assignment-heading p{max-width:680px;margin:0;color:#5b6073}.assignment-heading-tools{display:flex;align-items:end;gap:10px}.assignment-heading-tools label{font-weight:700}.assignment-heading-tools select{min-width:150px}.assignment-create{max-width:920px;margin:0 0 28px;padding:22px}.assignment-create h2{margin-top:0}.assignment-form-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:18px}.assignment-form-grid label,.assignment-create .fields>label{display:flex;flex-direction:column;gap:7px;font-weight:700}.assignment-form-grid textarea{min-height:128px;resize:vertical}.assignment-create .fields{margin:16px 0;grid-template-columns:repeat(3,minmax(0,1fr))}.assignment-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}.assignment-card{display:flex;min-height:218px;padding:20px;flex-direction:column;border:1px solid #e4e1ec;border-radius:18px;background:#fff;box-shadow:0 7px 20px #2e23400a}.assignment-card header{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.assignment-card h3{margin:0;font-size:19px;line-height:1.3}.assignment-state{flex:0 0 auto;padding:5px 8px;border-radius:99px;background:#eef3fd;color:#3163aa;font-size:11px;font-weight:700}.assignment-meta{margin:11px 0 8px;color:#64677a;font-size:13px}.assignment-next{margin:0;color:#39374a;line-height:1.45}.assignment-hold,.assignment-decision{margin:12px 0 0;padding:9px 10px;border-radius:9px;background:#fff6dd;color:#765412;font-size:12px;line-height:1.4}.assignment-decision{background:#fff0f0;color:#8a3434}.assignment-actions{display:flex;gap:8px;margin-top:auto;padding-top:16px}.assignment-actions button{padding:8px 11px;font-size:12px}@media(max-width:900px){.assignments-main{margin-left:0;padding:28px 18px}.assignment-heading{align-items:flex-start;flex-direction:column}.assignment-form-grid,.assignment-create .fields{grid-template-columns:1fr}.assignment-heading-tools{width:100%;align-items:center;flex-wrap:wrap}} 
.notification-filters{display:flex;gap:8px;margin:0 0 16px}.notification-filters button[aria-pressed="true"]{background:#1b65d8;color:#fff}.notification-list{display:grid;max-width:860px;gap:12px}.notification-card{padding:17px 18px;border:1px solid #e5e2ea;border-radius:14px;background:#fff}.notification-card.notification-unread{border-left:4px solid #2177df;background:#f9fbff}.notification-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:16px}.notification-card time{color:#77798a;font-size:12px}.notification-card p{margin:8px 0 14px;color:#4f5265}.notification-actions{display:flex;align-items:center;gap:10px}.notification-actions a{color:#1766d3;font-size:13px;font-weight:700}
.assignment-decision{margin:14px 0;padding:14px 15px;border:1px solid #e8d8ae;border-radius:12px;background:#fffdf5}.assignment-decision>strong{color:#704d00}.assignment-decision>p{margin:6px 0 12px;color:#474235}.assignment-decision-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.assignment-decision-option{display:flex;min-height:118px;flex-direction:column;align-items:flex-start;padding:12px;border:1px solid #eadfca;border-radius:10px;background:#fff}.assignment-decision-option p{margin:7px 0 12px;font-size:13px;color:#5d5c64}.assignment-decision-option button{margin-top:auto}.assignment-decision-actions{display:flex;gap:8px;margin-top:12px}
.assignment-schedule{margin-top:18px}.assignment-schedule form{margin-bottom:10px}.schedule-list{display:grid;gap:4px}.schedule-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #eeeaf2}.schedule-row .hint{margin:0}
.assignment-discussion{margin:14px 0 0;padding:12px 14px;border-radius:10px;background:#f7f8fc}.assignment-discussion strong{font-size:13px}.assignment-discussion p{margin:7px 0 0;color:#53566a;font-size:13px}.assignment-note{display:flex;gap:8px;margin-top:12px}.assignment-note input{flex:1;min-width:0}
.assignment-message-entry{display:flex;flex-direction:column;gap:2px}.assignment-message-byline{font-size:11px;font-weight:700;color:#586f9f;text-transform:capitalize}
.assignment-sources{margin:12px 0 0;padding:10px 12px;border:1px solid #dce7f5;border-radius:10px;background:#fbfdff}.assignment-sources strong{font-size:12px;color:#365d91}.assignment-source-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.assignment-source-links a{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border-radius:999px;background:#eaf3ff;color:#1766d3;font-size:12px;font-weight:700;text-decoration:none}.assignment-source-links a:not(:disabled):not([aria-disabled="true"]):hover{text-decoration:underline}
.assignment-activity{margin-top:12px;border-top:1px solid #eceaf1;padding-top:10px}.assignment-activity summary{font-size:12px;font-weight:700;color:#53698f;cursor:pointer}.assignment-activity p{margin:6px 0 0;color:#6d6c79;font-size:11px;line-height:1.35}
body:has(#team-directory) .staff-reward-badge,body:has(#team-directory) .staff-reward-badge .staff-score-count{text-shadow:0 1px 3px #152038aa}
body:has(#team-directory) .staff-reward-badge svg{filter:drop-shadow(0 1px 2px #152038aa)!important}
body:has(#team-directory) .person-identity{display:flex;min-width:0;flex-direction:column;padding:0!important}
body:has(#team-directory) .person-list-information,body:has(#team-directory) .person-list-meta{display:none}
body:has(#team-directory) .list-view .person-card{grid-template-columns:190px minmax(0,1fr);min-height:205px;align-items:stretch}
body:has(#team-directory) .list-view .person-portrait-link{width:190px;min-height:205px;height:100%}
body:has(#team-directory) .list-view .person-portrait-link .person-avatar{width:190px;min-height:205px;height:100%!important}
body:has(#team-directory) .list-view .person-portrait-link .staff-status{display:none!important}
body:has(#team-directory) .list-view .person-portrait-link .staff-photo-cost,
body:has(#team-directory) .list-view .person-portrait-link .staff-spend{display:flex!important}
body:has(#team-directory) .list-view .person-card>.person-details{display:grid!important;height:100%!important;min-height:205px;box-sizing:border-box;grid-template-columns:230px minmax(0,1fr) 42px;grid-template-rows:minmax(0,1fr);gap:16px;align-self:stretch;align-items:stretch;padding:10px!important}
body:has(#team-directory) .list-view .person-identity{display:flex;grid-row:1;align-self:start;gap:0;padding-top:2px!important}
body:has(#team-directory) .list-view .person-group{margin:0 0 8px;font-size:10px;line-height:1.2}
body:has(#team-directory) .list-view .person-card h3{margin:0 0 5px;font-size:24px;line-height:1.1}
body:has(#team-directory) .list-view .person-card h3{max-width:30ch}
body:has(#team-directory) .list-view .person-role{margin:0 0 10px;font-size:13px;line-height:1.3}
body:has(#team-directory) .list-view .person-list-meta{display:flex;align-items:center;gap:7px;min-width:0}
body:has(#team-directory) .list-view .person-list-status{position:static!important;display:inline-flex!important;width:auto;height:25px;max-width:125px;margin:0;padding:0 9px;align-items:center;overflow:hidden;border:0;border-radius:13px;background:#effbf3e8;color:#1f6944;font-size:11px;font-weight:400;line-height:1;text-overflow:ellipsis;white-space:nowrap;box-shadow:none;backdrop-filter:blur(5px)}
body:has(#team-directory) .list-view .person-list-information{display:grid;grid-row:1;min-width:0;height:auto;align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:0!important}
body:has(#team-directory) .list-view .person-note{display:flex;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;flex-direction:column;justify-content:flex-start;padding:8px 10px;border:1px solid #e4e9f2;border-radius:11px;background:#f7f9fc}
body:has(#team-directory) .list-view .person-note strong{display:block;margin-bottom:3px;color:#354258;font-size:11px;font-weight:750;line-height:1.2;letter-spacing:.35px;text-transform:uppercase}
body:has(#team-directory) .list-view .person-note p{display:-webkit-box;min-height:0;margin:0;overflow:hidden;color:#5c6374;font-size:12px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:3}
body:has(#team-directory) .list-view .person-note-work{border-color:#d8e8f8;background:#f3f8fd}
body:has(#team-directory) .list-view .person-note-character{border-color:#e6ddf1;background:#faf7fd}
body:has(#team-directory) .list-view .person-note-about{border-color:#f1e4ca;background:#fffaf0}
body:has(#team-directory) .list-view .person-note-interests{border-color:#dcebdd;background:#f5fbf5}
body:has(#team-directory) .list-view .person-actions{display:flex;grid-row:1;align-self:end;align-items:center;justify-content:flex-end;flex-direction:column;gap:10px;margin:0;padding:0!important;border:0}
body:has(#team-directory) .list-view .staff-score.staff-reward-controls{left:auto;right:calc(100% - 180px);top:8px}
body:has(#team-directory) .list-view .staff-reward-badge .staff-score-count{color:#fff}
body:has(#team-directory) .list-view .person-portrait-link:after{display:none}
body:has(#team-directory) .team-directory:not(.list-view) .person-actions,
body:has(#team-directory) .favourite-card .person-actions{position:absolute;right:12px;bottom:12px;display:flex!important;width:38px;height:38px;margin:0;padding:0!important;border:0;z-index:4}
body:has(#team-directory) .team-directory:not(.list-view) .person-action-talk,
body:has(#team-directory) .favourite-card .person-action-talk{display:none!important}
body:has(#team-directory) .team-directory:not(.list-view) .person-details,
body:has(#team-directory) .favourite-card .person-details{padding-right:62px!important}
@media(max-width:1050px){body:has(#team-directory) .list-view .person-card>.person-details{grid-template-columns:195px minmax(0,1fr) 40px;gap:13px}body:has(#team-directory) .list-view .person-note p{-webkit-line-clamp:2}}
@media(max-width:800px){body:has(#team-directory) .list-view .person-card{grid-template-columns:145px minmax(0,1fr);min-height:205px}body:has(#team-directory) .list-view .person-portrait-link,body:has(#team-directory) .list-view .person-portrait-link .person-avatar{width:145px;min-height:205px}body:has(#team-directory) .list-view .person-card>.person-details{grid-template-columns:minmax(0,1fr) 40px;gap:10px 12px;padding:13px!important}body:has(#team-directory) .list-view .person-identity{grid-column:1}body:has(#team-directory) .list-view .person-list-information{grid-column:1/3;grid-template-columns:repeat(2,minmax(0,1fr))}body:has(#team-directory) .list-view .person-actions{grid-column:2;grid-row:1}body:has(#team-directory) .list-view .staff-score.staff-reward-controls{right:calc(100% - 135px)}body:has(#team-directory) .list-view .staff-photo-cost,body:has(#team-directory) .list-view .staff-spend{width:58px;min-width:58px;max-width:58px}}
.assignment-filter{display:flex;gap:12px;align-items:end;margin:14px 0 16px}.assignment-filter label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#4b5062}.assignment-filter input{min-width:250px}.assignment-filter select{min-width:170px}@media(max-width:900px){.assignment-filter{align-items:stretch;flex-direction:column}.assignment-filter input,.assignment-filter select{min-width:0;width:100%}}
.assignment-reference-actions{display:flex;justify-content:flex-start;margin:6px 0}.assignment-reference-actions button{padding:7px 10px;font-size:12px}

.notification-channel-panel{max-width:860px;margin:0 0 18px;padding:18px 20px;display:grid;gap:14px}.notification-channel-panel h2{margin:0}.notification-channel-panel .hint{margin:5px 0 0}.notification-channel-form{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;align-items:end}.notification-channel-form label{display:grid;gap:5px;font-size:13px;font-weight:700;color:#3e4154}.notification-channel-form input,.notification-channel-form select{min-width:0}.notification-channel-form .notification-enabled{grid-column:span 3;display:flex;align-items:center;gap:8px;font-weight:600}.notification-channel-form .notification-enabled input{width:auto}.notification-channel-form fieldset{grid-column:span 3;display:flex;flex-wrap:wrap;gap:8px 15px;margin:0;padding:10px 12px;border:1px solid #e5e2ea;border-radius:10px}.notification-channel-form fieldset label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600}.notification-channel-form fieldset input{width:auto}.notification-channel-form button{justify-self:start}@media(max-width:700px){.notification-channel-form{grid-template-columns:1fr}.notification-channel-form .notification-enabled,.notification-channel-form fieldset{grid-column:span 1}}

.notification-channel-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.schedule-row{flex-wrap:wrap}.schedule-history{flex:0 0 100%;min-width:0;padding:12px;border-radius:12px;background:#f7f9fd;overflow-wrap:anywhere}.schedule-history h3{font-size:1rem;margin:0 0 8px}.schedule-history p,.schedule-history li{margin-bottom:8px}.schedule-history ul{padding-left:20px}
.event-receipt{padding:10px 0;border-top:1px solid #dfe5ef}.event-receipt pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:inherit}.event-receipt button{margin:8px 8px 0 0}
.notification-card .notification-delivery-status{font-size:12px;color:#62697a}.notification-card .notification-delivery-attention{color:#90571b}

/* Shared work register: same visual vocabulary as staff cards. */
.work-chat-button:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.49 3 2 6.93 2 11.76c0 2.53 1.24 4.82 3.23 6.42L4.1 22l4.35-2.08c1.1.39 2.3.6 3.55.6 5.51 0 10-3.93 10-8.76S17.51 3 12 3zm-5 7.7h10v2H7v-2zm0-3.4h7v2H7v-2zm0 6.8h7v2H7v-2z'/%3E%3C/svg%3E") center/contain no-repeat}
.home-compose{display:grid;gap:10px;margin-top:18px;max-width:760px}.home-compose textarea{width:100%;box-sizing:border-box}.home-compose button{justify-self:start}
.work-run{padding:12px!important;gap:12px!important;align-items:center!important}
.work-lead-face{display:flex;flex:0 0 52px}.work-lead-face img,.work-lead-face span{width:52px;height:52px;border-radius:50%;object-fit:cover}
.work-participant-faces{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap}.work-participant-faces a{display:flex}.work-participant-faces img,.work-participant-faces span{width:32px;height:32px;border-radius:50%;object-fit:cover}
.work-chat-button{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#168be8;box-shadow:0 3px 9px #17233d24}
.work-chat-button:before{content:"";display:block;width:22px;height:22px;background:white}.work-chat-button:focus-visible{outline:3px solid #89bfff;outline-offset:3px}
.work-bulk-actions .work-colour-action{border:0;border-radius:50%;color:white;background:#168be8;box-shadow:0 3px 9px #17233d24}.work-colour-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.work-bulk-actions .work-action-archive{background:#f2a515}.work-bulk-actions .work-action-remove{background:#cb4354}.work-bulk-actions .work-colour-action:disabled{opacity:.4;box-shadow:none}.work-register-tools #work-grid,.work-register-tools #work-list{background:none;border:0;box-shadow:none;width:32px;height:32px;padding:4px;color:#777386}.work-register-tools #work-grid[aria-pressed=true],.work-register-tools #work-list[aria-pressed=true]{color:#2196f3}.work-register-tools .view-icon{background-color:currentColor}.work-register-tools{gap:12px}
/* Staff conversation header: compact by default, with portrait information kept legible. */
.conversation-navigation{display:flex;align-items:center;gap:8px;max-width:1500px;margin:0 auto 10px}.conversation-navigation button{border:0;border-radius:50%;width:34px;height:34px;padding:0;font-size:22px}.conversation-navigation span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:minmax(300px,1.2fr) repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}.staff-summary-detail{padding:16px;border:1px solid #dbe7f7;border-radius:14px;background:#f4f8ff}.staff-summary-detail:nth-child(3){background:#fff9ef;border-color:#f3e2c4}.staff-summary-detail:nth-child(4){background:#f4faf5;border-color:#d8eadc}.staff-summary:not(.is-collapsed) .profile-photo{width:190px;height:210px;border-radius:14px;display:block;object-fit:cover}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{width:190px;min-width:190px}.staff-summary .profile-price-stack{position:absolute;right:9px;bottom:9px;display:grid;gap:4px;width:72px}.profile-price-stack .staff-spend,.profile-cost-rate{position:static;display:block;box-sizing:border-box;width:72px;text-align:center;padding:6px 4px;border-radius:14px;background:#263a5bea;color:white;font-size:11px;line-height:1.1}.profile-cost-rate{font-weight:400;background:#405574e8}.staff-summary.is-collapsed .staff-profile-heading{grid-template-columns:136px minmax(0,1fr);padding-right:48px}.staff-summary.is-collapsed .profile-portrait-wrap{width:136px;min-width:136px;height:54px}.staff-summary.is-collapsed .profile-price-stack{right:0;top:0;bottom:auto}.staff-summary.is-collapsed .staff-summary-actions{right:58px;top:19px}.staff-summary .profile-work-icon{display:inline-flex;width:38px;height:38px;border-radius:50%;background:#f3a509;align-items:center;justify-content:center;box-shadow:0 2px 5px #182b4626}.profile-work-icon:before{content:' ';width:19px;height:19px;background:white;clip-path:polygon(0 22%,30% 22%,30% 8%,70% 8%,70% 22%,100% 22%,100% 95%,0 95%,0 22%,10% 34%,10% 84%,90% 84%,90% 34%,60% 34%,60% 22%,40% 22%,40% 34%,10% 34%)}
.chat-heading-row{justify-content:flex-start;gap:16px;flex-wrap:wrap}.chat-heading-row .badge{margin-left:auto}.chat-faces{display:flex;align-items:center;gap:9px;margin:0;padding:0;flex-wrap:wrap}.chat-participant{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#e2eafa;color:#23426b;text-decoration:none;font-size:13px}.chat-participant.is-lead{width:46px;height:46px}.participant-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;object-fit:cover}.participant-lead{position:absolute;top:-6px;left:-5px;color:#f8bf00;font-size:19px;line-height:1;text-shadow:0 1px 2px #4e421b90}.chat-message li,.chat-message ul,.chat-message ol{font-size:inherit!important;line-height:inherit}
.account-avatars{display:grid;grid-template-columns:repeat(10,48px);gap:8px;max-width:100%}.avatar-choice{padding:3px;background:transparent;border:2px solid transparent;border-radius:50%;width:48px;height:48px}.avatar-choice img{width:100%;height:100%;border-radius:50%}.avatar-choice[aria-pressed=true]{border-color:#1769de;background:#eaf2ff}#account-portrait-preview{width:76px;height:76px;object-fit:cover;border-radius:50%;margin-bottom:12px}
@media(max-width:1150px){.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:1fr 1fr}.staff-summary .staff-profile-heading{grid-column:1/-1}}@media(max-width:650px){.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:1fr}.staff-summary.is-collapsed .staff-summary-actions{display:flex;position:static;margin:8px 0 0}.account-avatars{grid-template-columns:repeat(5,48px)}}
.staff-summary:not(.is-collapsed){padding-top:48px}.staff-summary:not(.is-collapsed) .staff-profile-heading{align-items:start}.staff-summary:not(.is-collapsed) #profile-name{font-size:26px;margin:4px 0 6px}.staff-summary:not(.is-collapsed) #profile-role{font-size:13px;line-height:1.5;margin:0}.staff-summary .staff-summary-actions .person-actions{border:0;padding:0;margin:0}.staff-summary .staff-summary-actions{margin-top:10px;padding-top:10px}.staff-summary.is-collapsed .staff-summary-actions{margin:0;padding:0}.staff-summary .staff-settings-link{top:10px;right:52px}
@media(max-width:1350px){.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-summary:not(.is-collapsed) .staff-profile-heading{grid-column:1/-1;grid-template-columns:190px minmax(0,1fr)}}@media(max-width:650px){.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:1fr}.staff-summary:not(.is-collapsed) .staff-profile-heading{grid-template-columns:150px minmax(0,1fr)}.staff-summary:not(.is-collapsed) .profile-photo{width:150px;height:180px}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{width:150px;min-width:150px}}
/* Expanded details share the portrait's height, avoiding an empty identity row. */
.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:190px repeat(3,minmax(0,1fr));grid-template-rows:auto 1fr;gap:12px}.staff-summary:not(.is-collapsed) .staff-profile-heading{display:contents}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{grid-column:1;grid-row:1/3}.staff-summary:not(.is-collapsed) .staff-profile-heading>div:not(.profile-portrait-wrap){grid-column:2/-1;grid-row:1;padding:0}.staff-summary:not(.is-collapsed) .staff-summary-detail{grid-row:2;padding:12px}.staff-summary:not(.is-collapsed) .staff-summary-detail h2{font-size:15px}.staff-summary:not(.is-collapsed) .staff-summary-detail p{font-size:13px}
@media(max-width:750px){.staff-summary:not(.is-collapsed) .staff-summary-grid{grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{grid-row:1}.staff-summary:not(.is-collapsed) .staff-summary-detail{grid-column:1/-1;grid-row:auto}.staff-summary:not(.is-collapsed) .profile-photo{width:150px;height:180px}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{width:150px;min-width:150px}}
.round-action,.conversation-navigation button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#f3a509;color:white;box-shadow:0 2px 5px #182b4626;font-size:23px}.home-compose{display:flex;align-items:flex-end;gap:10px;margin-top:6px;max-width:none}.home-compose textarea{flex:1;min-width:0;resize:none;height:78px}.home-compose .round-action{margin-bottom:0}.home-conversation{display:flex;flex-direction:column}.home-actions{margin-bottom:0}.home-welcome{align-items:stretch}.home-mark{align-self:stretch}.home-mark img{height:100%;object-fit:cover}.home-compose{margin-top:auto;padding-top:6px}.home-error:empty,#home-error:empty{display:none}
.character-traits{display:grid;gap:7px;min-width:200px}.trait-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;line-height:1.2}.trait-squares{display:flex;gap:1px;flex:none}.trait-squares i{width:11px;height:11px;background:#e5e8ed;display:block}.trait-squares i.filled{background:#eeaf16}.compact-talent-grid{grid-template-columns:1fr}.compact-talent-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:24px}.compact-talent-card>*{grid-column:1}.compact-talent-card>.character-traits{grid-column:2;grid-row:1/8;align-self:start}.compact-talent-card>button{justify-self:start}#profile-traits{margin-top:12px;max-width:720px}#profile-traits .character-traits{grid-template-columns:1fr 1fr;gap:8px 32px}.is-collapsed #profile-traits{display:none}.staff-summary.is-collapsed{padding-top:11px;padding-bottom:11px}.staff-summary.is-collapsed #page-error:empty,.staff-summary.is-collapsed #page-message:empty{display:none}.chat-participant,.chat-participant.is-lead{width:46px;height:46px;background:none;box-shadow:none}.human-participant:first-of-type{border:0}.chat-participant.human-start{margin-left:9px}.chat-participant.human-start:before{content:'';position:absolute;left:-10px;top:0;bottom:0;border-left:1px solid #d7dce3}.work-participant-faces{margin-left:auto!important;justify-content:flex-end}.work-participant-faces img,.work-participant-faces span{width:40px;height:40px}.work-run>.work-participant-faces{flex:0 0 auto}.conversation-navigation #conversation-title{flex:1;min-width:160px;max-width:650px;margin:0;height:38px}.chat-faces{background:transparent!important;border:0!important;box-shadow:none!important}.conversation-navigation{flex-wrap:wrap}
@media(max-width:650px){.compact-talent-card{grid-template-columns:1fr}.compact-talent-card>.character-traits{grid-column:1;grid-row:auto;margin-top:12px;max-width:260px}#profile-traits .character-traits{grid-template-columns:1fr}.home-compose{margin-top:6px}}
.company-people-list{display:grid;gap:8px}.company-person-row{display:grid;grid-template-columns:24px 46px minmax(150px,1fr) 120px 170px 38px;gap:16px;align-items:center;padding:12px 16px;background:white;border:1px solid #e2e7ee;border-radius:12px}.company-person-row img{width:46px;height:46px;object-fit:cover;border-radius:50%}.company-person-row p{margin:3px 0}.people-bulk-toolbar{display:flex;align-items:center;gap:12px;margin:18px 0}.work-register-tools #work-grid,.work-register-tools #work-list{width:28px;height:28px;padding:0;display:grid;place-items:center}.work-register-tools .view-icon{background:transparent}.work-register-tools{gap:10px}@media(max-width:750px){.company-person-row{grid-template-columns:24px 46px 1fr 38px}.company-person-row>.badge,.company-person-row>span{grid-column:3}.company-person-row>button{grid-column:4;grid-row:1}.people-bulk-toolbar{flex-wrap:wrap}}
.library-toolbar{display:flex;gap:12px;align-items:center}.library-toolbar input{flex:1}.library-toolbar select{max-width:240px}.library-folders{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.library-folder{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;min-width:180px;padding:14px;background:#f4f8ff;color:#263d5a;border:1px solid #dbe7f8;border-radius:12px;box-shadow:none}.library-folder.selected{border-color:#2297ed;background:#eaf4ff}.library-folder-icon{color:#2297ed;font-size:32px}.library-file-icon{color:#238adb;font-size:26px;margin-right:12px;vertical-align:middle}.library-table{width:100%;border-collapse:collapse}.library-table th{text-align:left;color:#69778c;font-size:12px;font-weight:600}.library-table td,.library-table th{padding:12px;border-bottom:1px solid #e8edf4}.library-table td:first-child{max-width:520px;overflow-wrap:anywhere}.library-table td:last-child{text-align:right;width:42px}.library-table-wrap{overflow:auto}.library-table tr:not(:disabled):not([aria-disabled="true"]):hover{background:#f7faff}.library-reference-tools{margin-top:22px}.library-reference-tools>summary{color:#526580;cursor:pointer}#library-category-form{display:flex;gap:10px;max-width:480px;margin-top:12px}#library-category-form[hidden]{display:none}.chat-sharing{margin:0;padding:8px 20px;border-bottom:1px solid #eee;font-size:12px}.chat-sharing summary{cursor:pointer;color:#66788d}.chat-sharing select{max-width:250px}.chat-sharing .check-label{display:inline-flex;margin:8px 16px 8px 0}#chat-share-roles[hidden]{display:none}.personal-chat-notes{background:#fff8e9;border:1px solid #f2dba9;border-radius:12px;padding:12px;margin:12px 18px}.home-bubble{max-width:100%;box-sizing:border-box}.home-mark img{object-position:center top}.home-compose textarea{margin:0}.home-compose{margin-bottom:0}.library-browser #library-error:empty{display:none}@media(max-width:700px){.library-toolbar{flex-wrap:wrap}.library-toolbar input{flex-basis:100%}.library-table td,.library-table th{padding:8px}.library-folder{min-width:150px}.home-mark img{max-height:300px}.home-mark{align-self:start}}

.home-guide{max-width:1120px;margin:24px auto}.home-guide p{max-width:85ch;line-height:1.7}.home-actions{margin-top:14px}.home-compose{margin-top:6px}.home-mark{min-height:360px}.home-mark img{display:block}.home-conversation{justify-content:flex-start}.home-bubbles{flex:1}.home-welcome .home-conversation h1{font-size:34px}.home-compose .round-action{align-self:flex-end}@media(max-width:700px){.home-mark{min-height:0}}
.talent-grid.compact-talent-grid{grid-template-columns:1fr}.compact-talent-card.talent-card{grid-template-columns:minmax(0,1fr) 230px}.compact-talent-card>.character-traits{padding:4px 0 4px 18px;border-left:1px solid #edf0f5;box-sizing:border-box}.compact-talent-card .talent-bio{max-width:75ch}@media(max-width:650px){.compact-talent-card.talent-card{grid-template-columns:1fr}.compact-talent-card>.character-traits{padding:8px 0 0;border-left:0}}
body:has(.library-browser)>main{width:100%;min-width:0}.library-toolbar input{min-width:160px}.library-toolbar select{flex:0 1 220px}.library-browser{width:100%}
body:has(.outputs-main)>main{width:100%;min-width:0}
#work-runs .work-run>.work-participant-faces{flex:0 0 auto;min-width:0}

/* Shared compact controls and conversation focus mode. */
.round-action svg,.conversation-navigation button svg{width:22px;height:22px;display:block;flex:none}
.round-action,.conversation-navigation button,.profile-work-icon,.work-colour-action{transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;box-shadow:0 2px 5px #182b4626}
.round-action:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover,.conversation-navigation button:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover,.profile-work-icon:not(:disabled):not([aria-disabled="true"]):hover,.work-colour-action:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 4px 8px #182b4633}
button:disabled,button:disabled:not(:disabled):not([aria-disabled="true"]):hover,button[disabled]:not(:disabled):not([aria-disabled="true"]):hover{cursor:default!important;transform:none!important;animation:none!important;filter:none!important}
.home-bubbles{flex:0}.home-actions{margin-top:12px!important}.home-compose{margin-top:12px!important;padding-top:0}.home-mark{min-height:0}.home-welcome{align-items:stretch}.home-welcome .home-mark img{height:100%;max-height:410px}
#profile-traits{max-width:450px;margin-left:202px}#profile-traits .character-traits{grid-template-columns:repeat(2,1fr);gap:7px 34px}.trait-row{justify-content:flex-start;gap:10px;font-size:12px}.trait-row>span:first-child{width:70px;flex:none}.trait-squares{gap:1px}.trait-squares i{width:11px;height:11px}
#chat-sharing{background:#e6e5eb;padding:10px 18px;margin:0;font-size:14px;font-weight:400}#chat-sharing summary,#chat-sharing label,#chat-share-scope{font-size:14px;font-weight:400}#chat-sharing[open]{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}#chat-sharing summary{width:100%}#chat-sharing .check-label{margin:0}#chat-share-scope{width:auto;margin:0}#chat-share-roles:not([hidden]){display:inline-flex;flex-wrap:wrap;gap:8px 14px;align-items:center}#chat-share-status:empty{display:none}#chat-sharing p{margin:0}
#chat-transcript{padding-top:10px}#chat-transcript>p:first-child{margin-top:0}#chat-reading-status:empty{display:none}.transcript-reading-controls:has(#chat-jump-latest[hidden]){display:none}#chat-status{background:#e6e5eb;margin:0;padding:9px 18px}#chat-status:empty{display:none}.human-participant{border:1px solid #d4d8df!important;background:#eef0f3!important;border-radius:50%}
.staff-summary-actions{display:flex;align-items:center;gap:10px}.staff-summary.is-collapsed .staff-summary-actions{top:calc(50% - 19px)}.staff-summary.is-collapsed .staff-profile-heading{padding-right:138px}
body.chat-fullscreen>.company-banner,body.chat-fullscreen>.portal-sidebar,body.chat-fullscreen>footer,body.chat-fullscreen #company-budget{display:none!important}body.chat-fullscreen{padding:0!important;margin:0!important;overflow:hidden}body.chat-fullscreen>main{margin:0!important;padding:12px!important;width:100%!important;max-width:none!important;height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;gap:8px}body.chat-fullscreen .conversation-navigation{margin:0}body.chat-fullscreen .staff-workspace{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}body.chat-fullscreen .staff-summary{margin:0;flex:none}body.chat-fullscreen .one-to-one{flex:1;min-height:0;display:flex;flex-direction:column;margin:0}body.chat-fullscreen #chat-transcript{flex:1;min-height:80px;height:auto!important;max-height:none!important}body.chat-fullscreen .chat-history{display:none}
.message-select{width:16px!important;height:16px!important;margin:4px 8px 4px 0!important;vertical-align:middle;accent-color:#168be8}.chat-library-selection{padding:6px 18px;display:flex;align-items:center;gap:12px;background:#e6e5eb}.chat-library-selection[hidden]{display:none}.library-folder-wrap{position:relative}.library-folder-wrap>.library-folder{width:100%;padding-right:34px}.folder-rename{position:absolute;right:8px;top:8px;padding:4px 8px;background:transparent;color:#596577}.library-save-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;padding:0;background:#f3a509;color:white;box-shadow:0 2px 5px #182b4626;margin-left:8px}.library-save-icon svg{width:16px;height:16px}
@media(max-width:750px){#profile-traits{margin-left:0}#profile-traits .character-traits{gap:8px 16px}.trait-row{gap:4px}.trait-row>span:first-child{width:64px}.trait-squares i{width:9px;height:10px}}
.library-bulk{display:flex;gap:10px;margin:12px 0}.library-table input[type=checkbox]{width:16px;height:16px;margin-right:12px;vertical-align:middle}.folder-controls{display:flex;justify-content:flex-end;gap:6px}.folder-controls button{font-size:18px;padding:2px 8px}.library-folder-wrap .library-folder{padding-right:14px}.credit-totals{display:flex;gap:38px;flex-wrap:wrap}.credit-totals strong{display:block;font-size:28px;color:#273854}.specialist-credit-rate{font-size:14px;color:#66551f}#budget-page .panel{margin-top:20px}
@media(min-width:701px){.home-mark{position:relative;min-height:0}.home-welcome .home-mark img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto}}
body.staff-profile-page.chat-fullscreen{display:block!important;grid-template-columns:none!important}body.staff-profile-page.chat-fullscreen>main{display:flex!important;align-items:stretch!important;max-width:none!important;width:100%!important;grid-column:auto!important}body.staff-profile-page.chat-fullscreen>main .staff-workspace{display:flex!important;align-self:stretch!important;flex:1 1 0!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important}body.staff-profile-page.chat-fullscreen #one-to-one{min-height:0!important;flex:1 1 0!important}body.staff-profile-page.chat-fullscreen #chat-transcript{min-height:40px!important;flex:1 1 0!important}body.staff-profile-page.chat-fullscreen #chat-form{flex-shrink:0}
body.staff-profile-page.chat-fullscreen>main .staff-workspace{align-items:stretch!important}body.staff-profile-page.chat-fullscreen .staff-workspace>.staff-summary,body.staff-profile-page.chat-fullscreen .staff-workspace>#one-to-one{width:100%!important;max-width:none!important;box-sizing:border-box;align-self:stretch!important}
#chat-sharing .check-label{margin-right:12px}#chat-share-scope{margin-right:12px}
.work-chat-button{transition:transform .15s ease,filter .15s ease;box-shadow:0 2px 5px #182b4626}.work-chat-button:not(:disabled):not([aria-disabled="true"]):hover,.round-action:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover,.conversation-navigation button:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover,.profile-work-icon:not(:disabled):not([aria-disabled="true"]):hover,.work-colour-action:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-1px) scale(1.05);filter:saturate(1.15);box-shadow:0 3px 7px #182b462b}.work-register-tools #work-grid:not(:disabled):not([aria-disabled="true"]):hover,.work-register-tools #work-list:not(:disabled):not([aria-disabled="true"]):hover{transform:scale(1.05);filter:drop-shadow(0 1px 2px #182b4626)}
body:has(#budget-page)>main{width:100%;min-width:0}#budget-page{max-width:1080px}body.staff-profile-page.chat-fullscreen>main{overflow:auto}body.staff-profile-page.chat-fullscreen #one-to-one{overflow:auto}

.staff-summary-actions #profile-team-links{display:flex;align-items:center;margin:0!important;padding:0!important;height:38px}.staff-summary-actions .round-action,.staff-summary-actions .profile-work-icon{flex:0 0 38px;box-sizing:border-box;margin:0;vertical-align:middle}
.file-preview-dialog{width:min(1000px,92vw);max-width:92vw}.file-preview-dialog iframe{width:100%;height:65vh;border:0;background:white}.file-preview-dialog pre{white-space:pre-wrap;max-height:65vh;overflow:auto}.file-preview-dialog>a,.file-preview-dialog>button{display:inline-block;margin:12px 10px 0 0}
.account-fields label>select{display:block;margin-top:10px}.registration-avatar{margin:14px 0}.registration-avatar img,#account-portrait-preview{border-radius:50%}.account-avatars{display:grid;grid-template-columns:repeat(5,48px);gap:8px}.avatar-choice{padding:0;border-radius:50%;width:48px;height:48px;overflow:hidden}.avatar-choice img{width:100%;height:100%}
.library-dialog{border:1px solid #dce1ea;border-radius:18px;padding:24px;box-shadow:0 15px 55px #182b4630;width:min(760px,90vw)}.library-dialog>select,.library-dialog>input,.library-dialog form>input,.library-dialog form>select{box-sizing:border-box;width:100%;margin:8px 0}.library-browser-dialog select[size]{border-radius:10px;padding:8px;min-height:180px}.library-dialog .round-action{margin:10px 10px 0 0}.library-bulk{display:flex;align-items:center;gap:10px}.library-bulk>input{width:18px;height:18px;margin-right:6px}.library-dialog-actions{display:flex;gap:8px}.home-activity{max-width:1120px;margin-top:22px}.activity-heading{display:flex;align-items:center;justify-content:space-between}.activity-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e8eaf0}.activity-row>div{min-width:0;flex:1}.activity-row small,.activity-row a{display:block}.activity-row a{overflow-wrap:anywhere}.activity-row small{color:#778198;margin-bottom:3px}.activity-row time{font-size:12px;color:#778198;white-space:nowrap}.activity-icon{width:36px;height:36px;flex:0 0 36px;background:#e8f1fb;color:#2887cf;border-radius:50%;display:grid;place-items:center}.activity-icon svg{width:20px;height:20px}.activity-paging{display:flex;gap:8px;margin-top:16px}@media(max-width:600px){.activity-row{flex-wrap:wrap}.activity-row time{margin-left:50px}}
.file-preview-dialog{border:1px solid #dce1ea;border-radius:18px;padding:20px;box-shadow:0 15px 55px #182b4630}.file-preview-dialog h2{font-size:18px;overflow-wrap:anywhere}.file-preview-dialog::backdrop,.library-dialog::backdrop{background:#24304735}
/* Compact company activity and consistent message typography. */
.activity-row{gap:10px;padding:7px 0;line-height:1.25}.activity-row small{font-size:11px;margin:0}.activity-row a{font-size:14px;line-height:1.25}.activity-by{display:block;font-size:12px;color:#65718a;line-height:1.3;margin-top:2px}.activity-icon{width:30px;height:30px;flex-basis:30px}.activity-icon svg{width:17px;height:17px}.activity-row time{font-size:14px;color:#56647b;min-width:175px;text-align:right}.activity-paging{align-items:center;margin-top:12px}.page-icon{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:0!important;border:0;border-radius:50%;background:#f3a509;color:#fff;box-shadow:0 2px 5px #182b4626}.page-icon svg{width:21px;height:21px}.page-icon:disabled{opacity:.35;cursor:default;transform:none!important}.work-human-face{display:inline-flex;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#edf0f3}.work-human-face img{width:40px;height:40px;border-radius:50%;object-fit:cover}.work-participant-faces .human-start{margin-left:8px;position:relative}.work-participant-faces .human-start:before{content:'';position:absolute;left:-6px;top:0;height:40px;border-left:1px solid #cdd3df}.work-human-names{font-size:12px;color:#65718a;margin:3px 0 0}.chat-message .message-markdown{font-size:14px;line-height:1.4}.chat-message .message-markdown :is(p,ul,ol,li){font-size:inherit!important;line-height:inherit!important}.chat-message .message-markdown :is(strong,em,a){font-size:inherit!important}.message-markdown li>p{margin:0}.work-participant-faces{flex-wrap:wrap}@media(max-width:600px){.activity-row time{min-width:0;margin-left:40px;text-align:left;font-size:13px}}
body:has(#notifications-page)>main{width:100%;min-width:0}#notifications-page .page-heading{display:block;background:transparent;padding:0;margin-bottom:18px}#notifications-page .page-heading h1{margin:0 0 6px}#notifications-page .page-heading p{margin:0}.activity-by a{display:inline;font-size:inherit;line-height:inherit}.activity-row>div>small{display:inline;margin-right:8px}.activity-row>div>a,.activity-row>div>strong{display:inline}.activity-row time{font-size:15px}.activity-row .activity-by{margin-top:2px}

/* Clear, compact activity and personal deliveries. */
.activity-icon{width:38px;height:38px;flex-basis:38px}
.activity-icon svg{width:22px;height:22px}
.activity-row>div>a,.activity-row>div>strong{font-size:17px;line-height:1.3;font-weight:500}
.activity-by,.activity-lead{display:block;font-size:12px;line-height:1.25;color:#65718a;margin-top:1px}
.activity-personal{border-left:3px solid #f3a509;padding-left:10px}
.personal-badge{color:#9b6000;background:#fff2cf;border-radius:6px;padding:2px 5px}
.personal-delivery-dialog{width:min(780px,90vw);max-height:85vh;overflow:auto;border:0;border-radius:18px;padding:22px}
.personal-delivery-dialog>button{float:right}
.personal-delivery-dialog a{display:block;margin:8px 0}
.personal-message{border-top:1px solid #e2e5eb;padding:10px 0}
.personal-message time{display:block;font-size:12px;color:#65718a}
.personal-message p{white-space:pre-wrap}
.image-viewer-actions .page-icon{flex:0 0 38px}
.page-icon:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover{filter:brightness(1.06);box-shadow:0 4px 9px #182b4633;transform:translateY(-1px)}
.activity-lead a{display:inline;font-size:inherit;line-height:inherit}

/* Conversation polish: consistent circular portraits and centered icon controls. */
.invite-person .picker-photo{width:48px;height:48px;min-width:48px;border-radius:50%;object-fit:cover;overflow:hidden}
#chat-new{display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0}
.home-bubbles{display:flex;flex-direction:column;gap:12px}
.home-bubbles .home-bubble{margin:0}

.staff-profile-heading{position:relative}.profile-model{grid-column:1;display:block;text-align:center;font-size:12px;overflow-wrap:anywhere}
.staff-summary.is-collapsed .profile-model{display:none}
.staff-summary-controls{top:24px;align-items:center}.staff-settings-link{top:24px;display:inline-flex;align-items:center;justify-content:center}

.staff-summary:not(.is-collapsed) .staff-summary-controls,.staff-summary:not(.is-collapsed) .staff-settings-link{top:48px}
.staff-summary:not(.is-collapsed) .profile-model{grid-row:3;margin:0;align-self:start}
.staff-summary.is-collapsed .staff-profile-heading{position:static}

.home-welcome.is-full-intro{align-items:start}.home-welcome.is-full-intro .home-mark img{position:static;height:auto;max-height:410px;aspect-ratio:4/5}.home-welcome.is-full-intro .home-mark{align-self:start}

/* Compact account budget and aligned activity columns. */
.company-banner{display:grid;grid-template-columns:minmax(220px,1fr) auto;column-gap:24px;row-gap:12px}
.company-banner .company-wordmark{grid-row:1 / 3}.company-banner>nav{grid-column:2;grid-row:1;justify-content:flex-end}
.company-banner #company-budget{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:14px;width:auto;min-width:0;margin:0;padding:0;border:0;background:none;box-shadow:none;color:inherit}
.company-banner #company-budget[hidden]{display:none}.company-banner #budget-remaining{font-size:13px;color:inherit}.company-banner #budget-detail{display:flex;gap:16px;margin:0}.company-banner .budget-part{display:flex;gap:6px;color:inherit;font-size:13px;margin:0}.company-banner #budget-mode{display:none}.company-banner #company-budget .field-help{position:static;margin:0}.company-banner #company-budget>div:first-child{margin:0}
.activity-row{display:grid;grid-template-columns:38px minmax(120px,180px) minmax(0,1fr) auto;align-items:center;gap:12px}.activity-actor{min-width:0}.activity-lead{display:block;font-size:12px;line-height:1.35;color:#65718a}.activity-title{min-width:0;overflow-wrap:anywhere}.activity-row time{margin:0}.activity-row .activity-title>a{font-size:17px}
.work-human-face{position:relative}.work-human-face .participant-lead{position:absolute;top:-7px;left:-6px;color:#ffc700;font-size:18px;text-shadow:0 1px 2px #55440080}
.staff-summary:not(.is-collapsed) .profile-model{text-align:left;color:#9299a5;grid-column:1;grid-row:3;margin:0;align-self:start;font-weight:400}
.staff-summary:not(.is-collapsed) #profile-traits{grid-column:2 / -1;grid-row:3;align-self:start;margin:0;padding:0}.staff-summary.is-collapsed #profile-traits{display:none}
#chat-form .chat-compose{display:grid;grid-template-columns:auto minmax(0,1fr) 40px;align-items:end;gap:10px}#chat-message{min-height:150px;height:150px}#chat-send{width:38px;height:38px;min-width:38px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#f3a509;color:white;box-shadow:0 2px 5px #182b4626}#chat-send svg{width:22px;height:22px}#chat-send:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #182b4633}#chat-send:disabled{transform:none;cursor:default}
@media(max-width:750px){.company-banner{grid-template-columns:1fr}.company-banner .company-wordmark{grid-row:auto}.company-banner>nav,.company-banner #company-budget{grid-column:1;grid-row:auto;justify-content:flex-start;flex-wrap:wrap}.activity-row{grid-template-columns:32px minmax(100px,130px) minmax(0,1fr)}.activity-row time{grid-column:2 / -1;text-align:left;font-size:12px}.staff-summary:not(.is-collapsed) #profile-traits{grid-column:1 / -1;grid-row:auto}}

.company-banner #budget-detail,.company-banner #budget-detail .budget-part,.company-banner #budget-detail .budget-part :is(span,b){color:#fff}
#chat-form #chat-message,#chat-form #chat-send{margin:0}
#library-new-folder-parent{display:block;color:#66748a}.library-folder-path{align-self:center;color:#66748a;overflow-wrap:anywhere}

/* Keep the creator star clear of the staff/user divider. */
.chat-participant.human-participant .participant-lead{left:2px}
.work-human-face .participant-lead{left:2px;width:auto;height:auto;line-height:1}

/* Paid specialists share a recognisable tint in team, grid and list views. */
body:has(#team-directory) .person-card.specialist-card{background:#eee8fb;border-color:#d6c8ed}
body:has(#team-directory) .specialist-card>.person-details{background:#eee8fb}
.specialist-label{color:#60418b;white-space:nowrap}
.talent-card.specialist-card{background:#eee8fb;border-color:#d6c8ed}

.chat-message.streaming-reply{border:2px dotted #9e8fba;background:#faf8ff}.streaming-label{display:block;font-size:11px;color:#726582;margin:3px 0 8px}.streaming-text{overflow-wrap:anywhere;margin:0}.streaming-portrait{display:flex;flex-direction:column;align-items:center;gap:9px;flex:none}.streaming-portrait .chat-avatar{margin:0}.streaming-spinner{display:block;box-sizing:border-box;width:18px;height:18px;border-width:2px}

.file-preview-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.file-preview-actions .round-action{flex:none}

/* Compact chat controls: overlays never move the selected message. */
.chat-library-selection{position:absolute;left:0;right:0;z-index:6;box-shadow:0 3px 8px #24375416}
.image-message-actions{display:flex;align-items:center;gap:4px;margin-top:5px}.image-message-actions .staff-feedback{margin:0}
.library-append-switch{display:flex;align-items:center;gap:10px;cursor:pointer;margin:8px 0 16px;position:relative}.library-append-switch input{position:absolute;opacity:0;width:40px;height:24px;margin:0}.switch-track{width:40px;height:24px;background:#afb6c2;border-radius:20px;position:relative;flex:none}.switch-track:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:white;transition:transform .15s}.library-append-switch input:checked+.switch-track{background:#168be8}.library-append-switch input:checked+.switch-track:after{transform:translateX(16px)}.library-append-switch input:focus-visible+.switch-track{outline:2px solid #168be8;outline-offset:3px}
.invite-dialog h2{margin:0 0 8px}.invite-dialog form>p.hint{margin:0 0 12px}.invite-filters{display:grid;grid-template-columns:130px 1fr;gap:10px;margin-bottom:12px}.invite-filters input,.invite-filters select{min-width:0;margin:0}.invite-people{padding-right:10px;padding-bottom:8px;scrollbar-gutter:stable;max-height:45vh}.invite-person .picker-photo{width:46px;height:46px;border-radius:50%;flex:none}.invite-person-info{min-width:0;line-height:1.4}.invite-person-stats{display:flex;align-items:center;gap:14px;font-size:12px;margin-top:5px}.invite-stars,.invite-team{color:#ad7800}.invite-team{font-size:18px}.invite-actions{display:flex;gap:10px;margin-top:16px}.invite-actions .round-action{flex:none}.chat-updated{font-size:11px;color:#687581;margin-left:auto;white-space:nowrap}.activity-search{max-width:460px;margin:0 0 12px}
@media(max-width:650px){.chat-updated{white-space:normal}.invite-filters{grid-template-columns:110px 1fr}}

.chat-heading-row:has(.chat-updated:not([hidden])) .badge{margin-left:0}.invite-team.is-not-team{color:#77838f}

/* Consistent picker dimensions and compact save destinations. */
.activity-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.activity-filters select{width:auto;min-width:220px;margin:0}.activity-filters .activity-search{flex:1;min-width:200px;margin:0}
.library-dialog .library-title-label{display:block;margin:0 0 4px!important}.library-dialog #library-conversation-name{margin-top:0!important}
.library-target-row{display:flex;align-items:center;gap:12px;margin:12px 0}.library-target-row[hidden]{display:none}.library-target-row .round-action{flex:none;margin:0}.library-target-name{margin:0;overflow-wrap:anywhere;min-width:0;line-height:1.45}
.invite-dialog .invite-people{height:clamp(180px,45vh,500px);min-height:0;max-height:none;align-content:start;overflow-y:auto;box-sizing:border-box}
.invite-dialog .invite-filters{grid-template-columns:1fr;padding-right:10px;gap:8px;overflow-y:hidden;scrollbar-gutter:stable}.invite-filters select{width:150px}.invite-filters input{width:100%;box-sizing:border-box}
.invite-person-info>span{font-size:14px;font-weight:500}.invite-person-stats{font-size:14px;font-weight:400;gap:9px}.invite-person-stats>span+span:before{content:'·';color:#8f99a6;margin-right:9px;font-size:14px;font-weight:400}.invite-person-stats .invite-stars{font-size:16px}.invite-person-stats .invite-team{font-size:21px;line-height:1}.invite-dialog{max-height:94vh;overflow-y:auto}

.participant-remove{position:absolute;right:-5px;bottom:-4px;width:18px;height:18px;border-radius:50%;border:1px solid #ccd3dd;padding:0;background:#fff;color:#536276;display:grid;place-items:center;box-shadow:0 1px 3px #15233c25;z-index:2}.participant-remove svg{width:14px;height:14px}.participant-remove:not(:disabled):not([aria-disabled="true"]):hover{background:#f1f5fa;color:#243754}.participant-remove:disabled{opacity:.5}
.invite-person-stats{display:flex;align-items:center;gap:9px;line-height:22px}.invite-person-stats>span{display:inline-flex;align-items:center;line-height:22px}.invite-person-stats>span+span:before{display:inline-flex;align-items:center;line-height:22px;align-self:center}.invite-person-info small{display:block;font-weight:400;margin-top:4px}
.chat-keyboard-hint{margin-left:41px!important}.staff-summary:not(.is-collapsed){padding-top:22px}.staff-summary:not(.is-collapsed) .staff-summary-controls,.staff-summary:not(.is-collapsed) .staff-settings-link{top:22px}.staff-summary:not(.is-collapsed) .staff-profile-heading>div:not(.profile-portrait-wrap){padding-right:90px}.staff-summary:not(.is-collapsed) .profile-portrait-wrap{align-self:start}.staff-summary:not(.is-collapsed) .profile-model{position:absolute;top:100%;left:0;margin-top:4px;font-size:11px;line-height:16px}
.staff-summary .staff-settings-link{width:38px;height:38px;border-radius:50%;padding:0;background:#f3a509;color:#fff;box-shadow:0 2px 5px #182b4626}.staff-settings-link svg{width:22px;height:22px}.staff-summary .chat-maximise:not(:disabled):not([aria-disabled="true"]):hover,.staff-summary-controls button:not(:disabled):not([aria-disabled="true"]):hover{background:#f3a509!important;color:#fff!important;filter:none!important}.staff-summary-controls button{border-radius:50%;background:#f3a509;color:#fff;box-shadow:0 2px 5px #182b4626}

.invite-person-stats>span+span:before{content:'';width:3px;height:3px;border-radius:50%;background:#8f99a6;flex:none}.invite-stars,.invite-team{gap:4px}.invite-person-stats svg{width:18px;height:18px;flex:none}
#chat-form .chat-compose{grid-template-columns:38px minmax(0,1fr) 40px}.chat-keyboard-hint{margin-left:48px!important}

/* Consistent chat controls and notification alignment. */
.staff-summary.is-collapsed #profile-settings{display:none!important}.staff-summary-controls button{width:38px;height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center}.staff-summary-controls button[hidden]{display:none!important}
.chat-compose-tools #chat-invite,.chat-compose-tools #chat-attach{width:38px;height:38px;border-radius:50%;background:#f3a509;color:#fff;padding:8px;box-shadow:0 2px 5px #182b4626}.chat-compose-tools #chat-invite:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled),.chat-compose-tools #chat-attach:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){background:#f3a509;color:white;transform:translateY(-2px);box-shadow:0 4px 8px #182b4633}.chat-compose-tools .message-action:disabled{cursor:default}
.activity-row{position:relative}.activity-personal{border-left:0;padding-left:0}.activity-personal:before{content:'';position:absolute;width:3px;background:#f3a509;border-radius:3px;left:-9px;top:8px;bottom:8px}
#chat-share-users{display:flex;gap:12px;flex-wrap:wrap}#chat-share-users[hidden]{display:none}

/* Library file explorer */
.library-explorer{border:1px solid #dce3ed;border-radius:16px;background:white;overflow:hidden;box-shadow:0 6px 24px #21324b08}.explorer-commandbar{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e6ebf2;flex-wrap:wrap}.explorer-commandbar .round-action{flex:none}.explorer-commandbar [hidden]{display:none}.explorer-selection{margin-left:auto;color:#65758c;font-size:13px}.explorer-addressbar{display:flex;gap:16px;align-items:center;padding:12px 18px;background:#f8fafc;border-bottom:1px solid #e6ebf2}#explorer-navigation{display:flex;gap:7px}#explorer-navigation .round-action{width:30px;height:30px;min-width:30px}#library-breadcrumbs{display:flex;gap:10px;align-items:center;flex:1;min-width:0;flex-wrap:wrap;font-size:13px}#library-breadcrumbs button{background:none;color:#344966;padding:4px;border:0;box-shadow:none;font-weight:500}#library-breadcrumbs button:not(:disabled):not([aria-disabled="true"]):hover{color:#168be8;background:#edf5ff}#library-search{width:260px;margin:0;font-size:13px;padding:9px 12px}.explorer-body{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:460px}.explorer-sidebar{padding:16px 8px;background:#fafbfe;border-right:1px solid #e6ebf2;overflow:auto;max-height:65vh}.explorer-sidebar h2{font-size:11px;color:#8995a7;letter-spacing:.08em;text-transform:uppercase;margin:24px 12px 8px}.explorer-location{display:flex;align-items:center;gap:10px;background:transparent;color:#52627a;width:100%;text-align:left;box-shadow:none;border-radius:7px;padding:8px 12px;font-size:13px;font-weight:400}.explorer-location span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.explorer-location.active{background:#e9f2ff;color:#1463b7}.explorer-location:not(:disabled):not([aria-disabled="true"]):hover{background:#eef3fa;transform:none}.explorer-location .explorer-file-icon{width:20px;height:20px}.explorer-content{min-width:0}.explorer-content #library-error{color:#ad3030;margin:12px 16px}.explorer-content #library-error:empty{display:none}.explorer-table-scroll{overflow:auto;max-height:65vh;min-height:420px}.explorer-table{width:100%;border-collapse:collapse;font-size:13px}.explorer-table th{position:sticky;top:0;background:white;color:#8792a2;font-size:11px;text-align:left;font-weight:500;border-bottom:1px solid #e8edf4;z-index:1}.explorer-table td,.explorer-table th{padding:10px 14px;border-bottom:1px solid #f0f3f7}.explorer-table td:first-child,.explorer-table th:first-child{width:34px;padding-right:0}.explorer-table input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#168be8}.explorer-table th button{background:none;border:0;box-shadow:none;color:inherit;font:inherit;padding:0}.explorer-table td:nth-child(3){white-space:nowrap;color:#768399;font-size:12px}.explorer-table td:nth-child(4),.explorer-table td:nth-child(5){color:#768399;font-size:12px}.explorer-table tr:not(:disabled):not([aria-disabled="true"]):hover,.explorer-table tr.selected{background:#f0f6ff}.explorer-filename{display:flex;align-items:center;gap:12px;text-align:left;padding:0;background:none!important;border:0;box-shadow:none;color:#314561;font-size:13px;font-weight:500;max-width:520px}.explorer-filename span:last-child{overflow-wrap:anywhere}.explorer-filename:not(:disabled):not([aria-disabled="true"]):hover{color:#168be8;transform:none}.explorer-file-icon{display:inline-flex;width:27px;height:29px;flex:none;align-items:center;justify-content:center;color:#899bb1}.explorer-file-icon svg{width:100%;height:100%}.explorer-file-icon.folder{color:#eab442}.explorer-file-icon.folder svg{fill:#ffd777;stroke:#eab442}.explorer-file-icon.word{color:#388bce}.explorer-file-icon.sheet{color:#34a386}.explorer-file-icon.image{color:#a47bd5}.explorer-folder-remove{width:23px!important;height:23px!important;min-width:23px!important;opacity:0}.explorer-folder-remove svg{width:14px!important}.explorer-table tr:not(:disabled):not([aria-disabled="true"]):hover .explorer-folder-remove,.explorer-folder-remove:focus-visible{opacity:1}.explorer-statusbar{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:#f8fafc;border-top:1px solid #e6ebf2;font-size:12px;color:#8490a2}#library-paging{display:flex;align-items:center;gap:8px}#library-paging .round-action{width:28px;height:28px;min-width:28px}.explorer-content #library-empty{text-align:center;color:#8190a4;padding:90px 20px}.explorer-content #library-empty strong{font-size:17px;font-weight:500}.explorer-content #library-empty p{font-size:13px}.library-explorer button:disabled{transform:none;cursor:default}.library-explorer [hidden]{display:none!important}
@media(max-width:850px){.explorer-body{grid-template-columns:160px minmax(0,1fr)}.explorer-addressbar{flex-wrap:wrap}#library-search{width:100%}.explorer-table td:nth-child(4),.explorer-table th:nth-child(4),.explorer-table td:nth-child(5),.explorer-table th:nth-child(5){display:none}}@media(max-width:550px){.explorer-body{grid-template-columns:1fr}.explorer-sidebar{max-height:160px;border-right:0;border-bottom:1px solid #e6ebf2}.explorer-commandbar{gap:8px}.explorer-table td:nth-child(3),.explorer-table th:nth-child(3){display:none}}

#library-tree{display:flex;flex-direction:column;align-items:stretch;gap:2px}#explorer-locations{display:grid;gap:2px}.explorer-location{min-width:0;box-sizing:border-box}.explorer-body{min-height:420px}body:has(.library-explorer)>main{max-width:none;min-width:0}.library-explorer{width:100%;box-sizing:border-box}
body:has(.library-explorer)>main{width:100%;box-sizing:border-box}.explorer-table-scroll{min-height:380px}

.explorer-file-icon{width:30px;height:31px}.explorer-location .explorer-file-icon{width:25px;height:25px}.explorer-file-icon.all{color:#498fcd}.explorer-file-icon.trash{color:#8493a7}.explorer-filename{font-weight:400!important}.explorer-table td,.explorer-table th{padding-top:6px;padding-bottom:6px}.explorer-table td:nth-child(5),.explorer-table td:nth-child(6){font-size:12px;color:#768399}.explorer-tree-row{display:flex;align-items:center;min-width:0}.explorer-tree-row .explorer-location{padding:7px 4px;flex:1}.folder-toggle{width:22px;min-width:22px;height:24px;background:none;color:#73849b;box-shadow:none;border:0;padding:0;font-size:18px;font-weight:400}.folder-toggle:disabled{visibility:hidden}.explorer-tree-row .explorer-location span:last-child{font-size:13px}#library-breadcrumbs{font-size:15px}#library-breadcrumbs button{font-size:15px}.library-dialog h2{margin:0 0 8px}.library-dialog h2+p{margin:0 0 14px}.library-dialog label,.library-dialog #explorer-folder-name{font-size:16px}.folder-role-choices{display:grid;gap:8px;margin:12px 0}.folder-role-choices[hidden]{display:none}.file-preview-image{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}.library-archives{margin-top:24px}.library-archives h2{font-size:21px}.library-archives input{max-width:280px;margin:0}.archive-row{display:flex;align-items:center;gap:18px;padding:10px 0;border-bottom:1px solid #edf0f5}.archive-row>a{flex:1;overflow-wrap:anywhere}.archive-row time{font-size:12px;color:#8692a3}.archive-row .round-action{flex:none}.hierarchy-main{max-width:1600px}.hierarchy-photo{width:156px;height:184px;flex:none}.hierarchy-person{min-width:360px;gap:24px}.chat-locked{width:32px;height:34px;color:#9b7425;display:inline-flex;align-items:center;margin-left:auto;flex:none}.chat-locked svg{width:28px;height:32px}.chat-locked:not([hidden])+#chat-updated{margin-left:4px}.chat-locked[hidden]{display:none}#work-person-type{max-width:125px}.work-register-tools{flex-wrap:wrap}
@media(max-width:700px){.hierarchy-photo{width:116px;height:144px}.hierarchy-person{min-width:0}.archive-row{flex-wrap:wrap}.archive-row>a{flex-basis:70%}.explorer-table td:nth-child(5),.explorer-table th:nth-child(5),.explorer-table td:nth-child(6),.explorer-table th:nth-child(6){display:none}}

/* Explorer colour icons and compact folder access. */
.explorer-file-icon.folder svg{fill:none;stroke:none}.folder-toggle .explorer-file-icon{width:18px;height:18px}.folder-toggle{display:inline-flex;align-items:center;justify-content:center}.folder-role-choices{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0}.folder-role-choices .check-label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:14px;line-height:22px}.folder-role-choices input{margin:0;width:16px;height:16px}.library-dialog select[aria-label="Folder visibility"]{margin-top:6px}
.staff-summary.is-collapsed .staff-summary-controls{top:calc(50% - 19px);right:22px}.staff-summary.is-collapsed .staff-summary-actions{right:70px;top:calc(50% - 19px)}.staff-summary:not(.is-collapsed) .staff-summary-controls{right:22px;top:22px}.staff-summary:not(.is-collapsed) .staff-settings-link{right:70px;top:22px}.staff-summary-controls button,.staff-summary .staff-settings-link{box-sizing:border-box;margin:0;line-height:1;transform:none}
@media print{body.library-image-print>*{display:none!important}body.library-image-print>.image-preview-dialog{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:white!important}body.library-image-print>.image-preview-dialog>*{display:none!important}body.library-image-print .image-preview-dialog>.image-print-content{display:block!important}body.library-image-print .file-preview-image{max-width:100%;max-height:95vh;margin:auto}body.library-image-print .image-preview-dialog::backdrop{display:none}}

.work-completed{flex:none;margin-left:auto}.work-completed[hidden]{display:none}.work-run>.work-completed:not([hidden])+.work-participant-faces{margin-left:14px!important}.archive-row{padding:5px 0}.archive-row .round-action{width:32px;height:32px;min-width:32px}
#chat-share-roles{display:flex!important;flex-basis:100%;width:100%;flex-wrap:wrap;gap:6px 16px;margin:6px 0 0!important}#chat-share-roles[hidden]{display:none!important}#chat-share-roles .check-label{margin:0;font-size:14px}.chat-sharing{flex-wrap:wrap}.chat-compose-tools{gap:14px!important}.chat-compose-tools button:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){background:#f3a509!important;color:white!important}
.hierarchy-person{align-items:stretch;flex-wrap:nowrap}.hierarchy-identity{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.hierarchy-reporting{margin-top:auto}.hierarchy-reporting select{margin-bottom:0}.hierarchy-right{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:6px}.hierarchy-right .performance-counts{margin-top:auto}.company-signins-title{margin-top:32px;margin-bottom:6px}.company-signins-title+.hint{margin-top:0}.people-bulk-toolbar button:not(:disabled):not([aria-disabled="true"]):hover,.company-person-row>button:not(:disabled):not([aria-disabled="true"]):hover{background:#f3a509!important;color:white!important}.people-picture-dialog .account-avatars{margin:22px 0}.people-picture-dialog{border-radius:20px}
@media(max-width:700px){.hierarchy-person{flex-wrap:wrap}.hierarchy-identity{min-height:144px}.hierarchy-right .performance-counts{width:auto}.hierarchy-right{margin-left:auto}}

.message-safeguard[aria-pressed="true"]{color:#d39410;background:#fff2cd;border-radius:5px}.safeguarding-row.safeguarding-hr{background:#fff1df;border-left:4px solid #e6a32b}.safeguarding-highlight{outline:2px solid #e6a32b;outline-offset:3px}.invite-private{display:inline-flex;align-items:center;gap:7px;margin:0!important;font-size:14px;white-space:nowrap}.invite-private[hidden]{display:none!important}.invite-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.invite-filters input[type=search]{flex-basis:100%;width:100%}.invite-private input{margin:0;width:16px;height:16px}.staff-summary:not(.is-collapsed) .staff-summary-controls,.staff-summary:not(.is-collapsed) .staff-settings-link{top:21px}.safeguarding-actions{display:flex;align-items:center;gap:10px}.safeguarding-actions .round-action:first-of-type{margin-left:auto}.people-bulk-toolbar svg,.company-person-row>button svg{width:22px;height:22px}
.hierarchy-reporting{margin-bottom:0}.hierarchy-reporting select{margin-bottom:0}

.confirm-dialog .library-dialog-actions{gap:8px}.confirm-dialog .library-dialog-actions .round-action{margin:10px 0 0}
.explorer-file-icon.word,.explorer-file-icon.image,.explorer-file-icon.sheet,.explorer-file-icon.file{width:21px;height:21px;flex-basis:21px}.explorer-file-icon.word svg,.explorer-file-icon.image svg,.explorer-file-icon.sheet svg,.explorer-file-icon.file svg{width:21px;height:21px}
.explorer-file-icon.folder svg,.explorer-file-icon.all svg,.explorer-file-icon.trash svg{filter:drop-shadow(0 0 .35px #5c6570)}
.message-safeguard,.message-safeguard:not(:disabled):not([aria-disabled="true"]):hover,.message-safeguard[aria-pressed="true"]{background:transparent!important;box-shadow:none!important;border:0!important;width:28px!important;height:28px!important;padding:3px!important;border-radius:0!important;display:inline-flex;align-items:center;justify-content:center}.message-safeguard svg{width:22px!important;height:22px!important;fill:none}.message-safeguard[aria-pressed="true"] svg{fill:#ffd675;stroke:#9b6814}
.staff-summary .staff-summary-actions{position:absolute!important;top:21px!important;right:70px!important;margin:0!important;padding:0!important;border:0!important;display:flex!important;align-items:center;gap:10px}.staff-summary .staff-summary-controls{top:21px!important}.staff-summary.is-collapsed .staff-summary-actions,.staff-summary.is-collapsed .staff-summary-controls{top:calc(50% - 19px)!important}.staff-summary:not(.is-collapsed){padding-right:165px}.staff-summary-controls button:not(:disabled):not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-2px)!important;box-shadow:0 4px 8px #182b4638}

.access-permissions-link::before{display:none}

/* Sign-in, account and review controls. */
.people-bulk-toolbar>label,.safeguarding-actions>label{display:inline-flex;align-items:center;margin:0;gap:8px}.people-bulk-toolbar input,.company-person-row>input,.safeguarding-actions input{margin:0;width:17px;height:17px}.people-bulk-toolbar .round-action{margin:0}.company-person-row{grid-template-columns:24px 46px minmax(150px,1fr) 120px 170px 38px 38px}.company-person-row>button{margin:0}.company-person-row strong{overflow-wrap:anywhere}.company-person-row .hint{overflow-wrap:anywhere}.person-edit-dialog{max-width:520px}.person-edit-dialog label{display:block;margin:14px 0 5px}.person-edit-dialog label input,.person-edit-dialog label select{display:block;width:100%;box-sizing:border-box;margin:5px 0 0}.person-edit-dialog .round-action{margin-right:0}
.account-avatars{display:flex;flex-wrap:wrap;gap:10px;overflow:visible;width:100%;max-width:100%}.avatar-choice{flex:0 0 48px;margin:0}.account-password-icon{width:19px;height:19px;vertical-align:middle;margin-right:6px}.account-save-actions{display:flex;align-items:center;gap:10px}.account-save-actions>*{margin:0}.record-paging{display:flex;align-items:center;gap:8px;margin:18px 0}.record-paging button{margin:0}.record-paging span{margin-left:8px;color:#768298;font-size:13px}
.safeguarding-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:14px;align-items:start}.safeguarding-row>input{width:17px;height:17px;margin:5px 0 0}.safeguarding-heading{min-height:27px;align-items:center;flex-wrap:wrap}.safeguarding-summary{min-width:0}.safeguarding-summary p{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.safeguarding-row-actions{display:flex;gap:8px;align-self:center}.safeguarding-row-actions button{margin:0}.safeguarding-message-content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto;line-height:1.6;margin:14px 0}
@media(max-width:800px){.company-person-row{grid-template-columns:20px 46px minmax(0,1fr) 38px 38px;gap:10px}.company-person-row>span{grid-column:3}.company-person-row>button:nth-last-child(2){grid-column:4;grid-row:1}.company-person-row>button:last-child{grid-column:5;grid-row:1}.safeguarding-row-actions{flex-direction:column}}

.library-browser-dialog .library-dialog-actions .round-action{margin-right:0}.explorer-file-icon.folder svg{filter:drop-shadow(0 0 .65px #786223)}.user-message-actions{display:flex;align-items:center;gap:6px;margin-top:8px}.user-message-actions>.message-select{margin:0!important;align-self:center}.user-message-actions .message-safeguard{margin:0!important}

/* Compact account and stronger explorer definition. */
.account-profile-panel,.account-avatars{min-width:0;max-width:100%;box-sizing:border-box}.account-avatars{width:100%;flex-wrap:wrap;overflow-x:hidden}
.safeguarding-row>input[type=checkbox]{margin-top:9px!important}
.explorer-file-icon.folder svg{filter:drop-shadow(0 0 1px #725521)}
.library-tree svg{filter:drop-shadow(0 0 .8px #786d54)}

.safeguarding-formatted{max-height:125px;overflow:hidden;margin:8px 0}.safeguarding-message-content{white-space:normal}.safeguarding-formatted p{display:block;-webkit-line-clamp:unset}.account-layout>*{min-width:0}

.account-panel{width:min(940px,100%);min-width:0;box-sizing:border-box}.account-panel details{min-width:0;max-width:100%}.explorer-file-icon.folder svg,.explorer-location .explorer-file-icon svg{filter:none}

.account-avatar-panel{width: min(560px,100%);max-width:560px;min-width:0;box-sizing:border-box}.account-avatar-panel details{width:100%;min-width:0}.account-avatar-panel #account-avatars{width:100%;display:flex;flex-wrap:wrap;box-sizing:border-box}
#people-access-notice{margin:0 0 0 12px}.safeguarding-report-dialog textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;resize:vertical}.safeguarding-report-dialog label{display:block;margin-top:12px}
.safeguarding-formatted{max-height:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.safeguarding-formatted .message-markdown{display:contents}.safeguarding-formatted p{margin:0}.safeguarding-formatted .message-markdown>*{margin-top:0;margin-bottom:0}.report-reason{white-space:pre-wrap;overflow-wrap:anywhere}

/* Controls retain their anchor when staff details expand. */
.staff-summary .staff-summary-actions,.staff-summary .staff-summary-controls,.staff-summary.is-collapsed .staff-summary-actions,.staff-summary.is-collapsed .staff-summary-controls{top:21px!important}
.chat-message.streaming-reply{border:0;position:relative}.chat-message.streaming-reply:after{content:"";position:absolute;inset:1px;border:2px dotted #9e8fba;border-radius:inherit;pointer-events:none}
.safeguarding-report-dialog .library-dialog-actions{gap:8px}.safeguarding-report-dialog .round-action{margin:0}
.chat-message .message-action-copy,.chat-message .message-safeguard{background:transparent!important;box-shadow:none!important;transition:transform .15s ease}.chat-message .message-action-copy:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled),.chat-message .message-safeguard:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){background:transparent!important;box-shadow:none!important;transform:scale(1.12)!important}
.auth-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.auth-actions .round-action{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border:0;border-radius:50%;padding:8px;margin:0;background:#f3a509;color:white;box-shadow:0 2px 5px #182b4626}.auth-actions .round-action svg{width:22px;height:22px}.auth-actions .round-action:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){transform:translateY(-2px);background:#f3a509;box-shadow:0 4px 8px #182b4633}.auth-actions .round-action:disabled{transform:none;cursor:default;opacity:.5}

.my-account-page label{font-weight:400}

/* Downward reporting tree: direct reports branch into columns; deeper teams stack. */
.hierarchy-main{width:100%;min-width:0;box-sizing:border-box}
.hierarchy-tree{min-width:0;max-width:100%}
.hierarchy-ceo{margin:0 auto;max-width:560px;text-align:center;padding:20px}
.hierarchy-tree>.hierarchy-branches{border:0;padding:24px 0 0;margin:0}
.hierarchy-branches{min-width:0;list-style:none}
.hierarchy-branches>li{min-width:0;margin:0 0 18px}
.hierarchy-tree>.hierarchy-branches>li>.hierarchy-person{max-width:620px;margin:0 auto}
.hierarchy-tree>.hierarchy-branches>li>.hierarchy-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px;padding:24px 0 0;border:0;margin:0}
.hierarchy-branches .hierarchy-branches .hierarchy-branches{padding:18px 0 0 12px;margin:0;border-left:2px solid #ded6ed}
.hierarchy-branches .hierarchy-branches .hierarchy-branches .hierarchy-branches{padding-left:0;border-left:0}
.hierarchy-branches>li:before{display:none}
.hierarchy-person{min-width:0;gap:14px;padding:16px;box-sizing:border-box;position:relative}
.hierarchy-person:before{content:'';position:absolute;top:-20px;left:50%;height:19px;border-left:2px solid #ded6ed}
.hierarchy-photo{width:88px;height:110px}
.hierarchy-person h2{font-size:21px}.hierarchy-person p{overflow-wrap:anywhere}
.hierarchy-identity{flex:1}.hierarchy-reporting{width:100%;font-weight:400}.hierarchy-reporting select{min-width:0;width:100%;max-width:220px}
.hierarchy-right{flex:0 0 auto;gap:5px}.hierarchy-right .performance-counts{padding:6px 8px;font-size:12px}
.compact-talent-card .talent-identity img,.compact-talent-card .talent-identity .staff-photo{width:96px;height:108px;object-fit:cover;border-radius:16px;flex:none}
.compact-talent-card .talent-bio{padding:14px 16px;background:#f0f6ff;border:1px solid #dce8f8;border-radius:12px;max-width:none;margin:12px 0 8px}
.compact-talent-card>.hint{padding:10px 14px;background:#f5f2fb;border-radius:10px;margin:0 0 10px;line-height:1.6}
.talent-details summary{padding:10px 0;cursor:pointer;font-weight:500}.talent-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:5px 0 12px}
.talent-detail-box{padding:14px;border:1px solid #dce8f8;background:#f2f7ff;border-radius:12px}.talent-detail-box:nth-child(2){background:#f8f3ff;border-color:#e8ddf6}.talent-detail-box:nth-child(3){background:#fff8eb;border-color:#f3e5c9}.talent-detail-box:nth-child(4){background:#eef8f3;border-color:#d8ebe1}
.talent-detail-box h4{margin:0 0 6px;font-size:13px}.talent-detail-box p{margin:0;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.chat-message .message-action-star:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled),.chat-message .message-action-copy:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled),.chat-message .message-safeguard:not(:disabled):not([aria-disabled="true"]):hover:not(:disabled){transform:scale(1.12)!important;background:transparent!important;box-shadow:none!important}
.chat-message .message-action-star,.chat-message .message-action-copy,.chat-message .message-safeguard{transition:transform .15s ease;transform-origin:center}
.safeguarding-report-dialog form{display:flex;flex-direction:column;gap:10px;min-width:0}.safeguarding-report-dialog textarea{flex:none;min-height:130px;margin:0;max-height:45vh}.safeguarding-report-dialog .library-dialog-actions{position:static;display:flex;flex:none;clear:both;margin:4px 0 0;gap:8px}.safeguarding-report-dialog .library-dialog-actions button{position:static;flex:none}
@media(max-width:650px){.hierarchy-main{padding:20px 12px}.hierarchy-person{flex-wrap:wrap}.hierarchy-identity{min-height:110px}.hierarchy-right{flex-direction:row;width:100%;align-items:center;justify-content:flex-end}.hierarchy-right .performance-counts{margin:0}.talent-detail-grid{grid-template-columns:1fr}}

.talent-card.compact-talent-card .talent-identity img,.talent-card.compact-talent-card .talent-identity .staff-face{width:96px;height:108px;border-radius:16px}.talent-card.compact-talent-card .talent-bio{display:block;-webkit-line-clamp:unset;font-size:14px;line-height:1.55}

/* Compact centred tiers, with actual parent-to-child connectors. */
main.hierarchy-main{max-width:none;min-width:0}.hierarchy-main #hierarchy-tree{width:100%;max-width:none;position:relative;isolation:isolate;display:block}
.hierarchy-main #hierarchy-mode:empty{display:none}
.hierarchy-tree .hierarchy-ceo{width:280px;max-width:100%;box-sizing:border-box;padding:16px;margin:0 auto}.hierarchy-ceo>.badge{display:none}.hierarchy-ceo h2{font-size:22px}.hierarchy-ceo p{font-size:12px}
.hierarchy-levels{width:100%;min-width:0}.hierarchy-level{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:28px 20px;list-style:none;padding:36px 0 0;margin:0;width:100%;box-sizing:border-box}
.hierarchy-level>li{width:280px;max-width:100%;min-width:0;list-style:none;margin:0;padding:0;position:relative}
.hierarchy-level .hierarchy-person{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;width:100%;min-width:0;padding:12px;position:relative;background:#fff}
.hierarchy-level .hierarchy-person:before{display:none}.hierarchy-level .hierarchy-photo{width:64px;height:82px;grid-column:1}.hierarchy-level .hierarchy-identity{min-height:82px;grid-column:2}.hierarchy-level .hierarchy-person h2{font-size:19px}.hierarchy-level .hierarchy-person p{font-size:12px;margin:3px 0}
.hierarchy-level .hierarchy-reporting{font-size:10px;margin-top:8px}.hierarchy-level .hierarchy-reporting select{max-width:100%;font-size:11px;padding:5px;width:100%}
.hierarchy-level .hierarchy-right{grid-column:1/-1;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;margin:0;border-top:1px solid #efebf5;padding-top:8px}.hierarchy-level .performance-counts{margin:0;padding:4px;white-space:nowrap}.hierarchy-level .staff-status{font-size:10px}.hierarchy-level .cost-badge{font-size:10px}
.hierarchy-lines{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.hierarchy-lines path{fill:none;stroke:#c9b9e0;stroke-width:1.5}
.hierarchy-lines{max-width:100%;width:100%}
.hierarchy-level>li{width:240px}.hierarchy-tree .hierarchy-ceo{width:240px}.hierarchy-level .hierarchy-person{grid-template-columns:56px minmax(0,1fr);gap:8px}.hierarchy-level .hierarchy-photo{width:56px;height:76px}.hierarchy-level .hierarchy-person h2{font-size:18px}

.hierarchy-children{display:grid;gap:28px 16px;list-style:none;padding:34px 0 0;margin:0;min-width:0;box-sizing:border-box}.hierarchy-branch{list-style:none;min-width:0;margin:0;padding:0}.hierarchy-children.stacked{padding-left:12px}
.hierarchy-branch>.hierarchy-person{display:grid;grid-template-columns:56px minmax(0,1fr);width:220px;max-width:100%;box-sizing:border-box;margin:0 auto;gap:8px;padding:12px;min-width:0;background:white}.hierarchy-branch>.hierarchy-person:before{display:none}.hierarchy-branch .hierarchy-photo{width:56px;height:76px}.hierarchy-branch .hierarchy-identity{min-height:76px}.hierarchy-branch h2{font-size:18px}.hierarchy-branch .hierarchy-person p{font-size:12px}.hierarchy-branch .hierarchy-reporting{margin-top:auto;margin-bottom:0;font-size:10px;font-weight:400}.hierarchy-select{grid-column:1/-1;width:100%;min-width:0;margin:0;padding:6px;font-size:12px;box-sizing:border-box}
.hierarchy-branch .hierarchy-right{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin:0;padding-top:4px}.hierarchy-cost{font-weight:400;font-size:13px}.hierarchy-right .staff-reward-badge{position:static;display:inline-flex;align-items:center;gap:4px}.hierarchy-right .staff-reward-badge svg{width:24px;height:24px}.hierarchy-right .staff-score-count{color:#626176;text-shadow:none;font-size:12px}.hierarchy-ceo h2{margin:0}

/* Fill the sidebar layout track rather than shrink to card contents. */
body:has(>.portal-sidebar)>main.hierarchy-main{width:100%;max-width:none;min-width:0;justify-self:stretch} 

#workspace-activity .activity-by,#workspace-activity .activity-lead{font-size:13px}
/* Match the staff-directory heading divider. */
.outputs-main .work-heading{border-bottom:1px solid #e5e1ec;padding-bottom:18px}
.outputs-main .work-heading>div>p:last-child{position:relative;top:-5px;margin-bottom:0}
@media(max-width:650px){.outputs-main .work-heading{padding-bottom:15px}}

/* Shared heading treatment for the workspace section pages. */
.workspace-page-heading{display:block;min-width:0;width:100%;max-width:none;margin:12px 0 26px;padding:0 0 18px;border-bottom:1px solid #e5e1ec}
.workspace-page-heading .eyebrow{margin:0 0 10px;color:var(--company);font-size:11px;font-weight:750;letter-spacing:2px}
.workspace-page-heading h1{display:block;margin:10px 0 13px;font-size:48px;line-height:1.1;font-weight:750;letter-spacing:-2px;white-space:nowrap}
.workspace-page-heading .workspace-heading-description{margin:0;color:#667086;font-size:15px;line-height:1.6;max-width:none}
.recruitment-heading-controls{margin:0 0 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.recruitment-heading-controls label,.recruitment-heading-controls p{margin:0}
@media(max-width:650px){.workspace-page-heading{padding-bottom:15px;margin-bottom:20px}.workspace-page-heading h1{font-size:32px;letter-spacing:-1px}}
/* Shared headings span the workspace, independently of the panels below. */
body:has(>.portal-sidebar)>main:has(>.workspace-page-heading),
.portal .portal-main>main:has(>.workspace-page-heading){width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box;align-self:start;justify-self:stretch;padding:34px 36px 48px}
main>.workspace-page-heading{box-sizing:border-box;margin-top:0}
@media(max-width:700px){body:has(>.portal-sidebar)>main:has(>.workspace-page-heading),.portal .portal-main>main:has(>.workspace-page-heading){padding:20px}}
/* Shared drop-down typography matches the Team filter label. */
:root{--combo-text-size:16px}
body select,body select option,body select optgroup{font-size:var(--combo-text-size)!important;font-weight:400}
body:has(#team-directory) .people-team-filter>span{font-size:var(--combo-text-size);font-weight:400}
/* Conversation listing typography, shared by list and grid views. */
#work-runs .work-run h3{font-family:inherit;font-size:17px;font-weight:500;line-height:1.3;color:var(--company)}
#work-runs .work-run p.hint{font-size:12px;color:#707070}
/* Tighten conversation rows by 3px above and below the portraits. */
#work-runs .work-run{padding-top:9px!important;padding-bottom:9px!important}
/* Leave a little more room after the attendee divider. */
#work-runs .work-participant-faces .human-start{margin-left:10px}
#work-runs .work-participant-faces .human-start:before{left:-8px}
#work-selected-count{font-size:16px;font-weight:400}
/* Keep the select-all checkbox and its accessible label without visible wording. */
body label.work-select-all{font-size:0!important;gap:0}
.library-dialog-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.library-dialog-actions .error{flex:1;min-width:180px;margin:0 0 0 8px}
.explorer-commandbar #library-search{width:260px;max-width:100%;margin:0;flex:0 1 260px}
.library-dialog form>.check-label{position:relative;top:-7px}
.library-dialog-actions{gap:4px}
.library-dialog-actions>button{margin-left:0!important;margin-right:0!important}
.library-destination{background:transparent;color:#536b88;font-weight:400;padding:0;text-align:left;white-space:normal}
.library-dialog-actions{gap:2px}
.library-destination,.library-destination:not(:disabled):not([aria-disabled="true"]):hover{padding:2px 4px;background:#fffbea;border:1px solid #d7d7d7;border-radius:5px;color:#536b88;filter:none}
/* Horizontal icon spacing: use the Library upload/new-folder gap everywhere. */
:root{--horizontal-icon-gap:8px}
:is(.view-switch,.person-actions,.reference-actions,.people-pagination,.feedback-actions,.work-register-tools,.work-bulk-actions,.safeguarding-actions,.meeting-actions,.image-viewer-actions,.staff-summary-actions,.staff-summary-controls,.meeting-setup-controls,.assignment-actions,.notification-actions,.assignment-decision-actions,.notification-channel-actions,.conversation-navigation,.people-bulk-toolbar,.library-toolbar,.folder-controls,.library-dialog-actions,.activity-paging,.file-preview-actions,.image-message-actions,.invite-actions,.explorer-commandbar,#explorer-navigation,#library-paging,.account-save-actions,.record-paging,.safeguarding-row-actions,.user-message-actions,.auth-actions,.chat-library-selection,#people-paging,#work-pagination){column-gap:var(--horizontal-icon-gap)!important}
:is(.library-dialog-actions,.file-preview-actions,.invite-actions,.people-bulk-toolbar,.account-save-actions,.auth-actions,.safeguarding-row-actions)>.round-action{margin-left:0!important;margin-right:0!important}
.pdf-preview-pages{display:flex;flex-direction:column;align-items:center;gap:14px;background:#e7e9ee;padding:14px}
.pdf-preview-pages canvas{display:block;max-width:100%;height:auto;background:white;box-shadow:0 2px 8px #0002}
/* Shared icon hover behaviour, including dynamically created controls. */
:is(#library-upload,.round-action,.page-icon,.profile-work-icon,.work-colour-action,.work-chat-button,.person-action-talk,.message-action,.message-action-star,.message-action-copy,.message-safeguard,.library-save-icon,.participant-remove,.folder-toggle,.conversation-navigation button,.staff-summary-controls button,.view-switch button,button:has(>svg),a:has(>svg)){transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;transform-origin:center}
:is(#library-upload,.round-action,.page-icon,.profile-work-icon,.work-colour-action,.work-chat-button,.person-action-talk,.message-action,.message-action-star,.message-action-copy,.message-safeguard,.library-save-icon,.participant-remove,.folder-toggle,.conversation-navigation button,.staff-summary-controls button,.view-switch button,button:has(>svg),a:has(>svg)):not(:disabled):not([disabled]):not([aria-disabled=true]):not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-1px) scale(1.05)!important;filter:saturate(1.15) brightness(1.06)!important}
:is(#library-upload,.round-action,.page-icon,.profile-work-icon,.work-colour-action,.work-chat-button,.person-action-talk,.message-action,.message-action-star,.message-action-copy,.message-safeguard,.library-save-icon,.participant-remove,.folder-toggle,.conversation-navigation button,.staff-summary-controls button,.view-switch button,button:has(>svg),a:has(>svg)):is(:disabled,[disabled],[aria-disabled=true]):not(:disabled):not([aria-disabled="true"]):hover{transform:none!important;filter:none!important;animation:none!important;cursor:default!important}
.file-preview-dialog.file-preview-maximised{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;box-sizing:border-box;border-radius:0;display:flex;flex-direction:column;overflow:hidden}
.file-preview-maximised>h2{flex:none;margin:0 0 14px}
.file-preview-maximised>.file-preview-content{flex:1;min-height:0;overflow:auto}
.file-preview-maximised .file-preview-actions{flex:none}
.file-preview-maximised iframe{height:100%;min-height:100%;display:block}
.file-preview-maximised pre{max-height:none}
.file-preview-maximised .file-preview-image{width:100%;height:100%;max-height:100%;object-fit:contain}
.folder-access-dialog form>label{margin-top:16px}
/* Keep PDF pages inside the same viewport height as Word previews. */
.file-preview-content:has(>.pdf-preview-pages){height:65vh;overflow:auto;overscroll-behavior:contain}
.file-preview-dialog.file-preview-maximised>.file-preview-content:has(>.pdf-preview-pages){height:auto;min-height:0;flex:1}
/* Align the empty-folder removal control slightly farther left. */
.explorer-folder-remove{position:relative;left:-4px}
.library-section-selector{display:block;width:280px;max-width:100%;margin:0 0 16px}
.library-section-selector~.library-archives{margin-top:0}

/* Darken conversation action icons consistently in active and archived lists. */
#work-progress :is(.work-chat-button,.work-colour-action):not(:disabled):not([disabled]):not([aria-disabled=true]):hover{filter:brightness(.88) saturate(1.1)!important;transform:translateY(-1px) scale(1.05)!important}
/* Explicit colours avoid competing generic button and filter hover rules. */
#work-progress .work-bulk-actions .work-colour-action{background-color:#168be8}
#work-progress .work-bulk-actions .work-colour-action:not(:disabled):not([aria-disabled=true]):hover{background-color:#084b85!important;filter:none!important}
#work-progress .work-chat-button:not([aria-disabled=true]):hover{background-color:#084b85!important;filter:none!important}
/* Shared blue action-button palette. */
:root{--blue-icon-colour:#168be8;--blue-icon-hover:#084b85}
body :is(#blue-icon-standard,.blue-icon-button,.person-action-talk,.work-chat-button,.work-colour-action,.notification-filters button[aria-pressed="true"]){background-color:var(--blue-icon-colour)!important}
body :is(#blue-icon-standard,.blue-icon-button,.person-action-talk,.work-chat-button,.work-colour-action,.notification-filters button[aria-pressed="true"]):not(:disabled):not([disabled]):not([aria-disabled="true"]):hover{background-color:var(--blue-icon-hover)!important;filter:none!important}

#workspace-activity .activity-actor > .activity-by:first-child{font-size:16px}



body .explorer-table thead .library-column-sort{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#65718a!important;transform:none!important;filter:none!important;padding:0!important;font:inherit;cursor:pointer;}
body .explorer-table thead .library-column-sort:hover{background:transparent!important;color:#b2b7bf!important;box-shadow:none!important;transform:none!important;filter:none!important;}





.company-banner #company-budget,.company-banner #budget-detail,.company-banner #company-budget .budget-part{align-items:baseline!important;line-height:1.3}.company-banner #company-budget>div:not(.help-popup){margin:0;padding:0}.company-banner #company-budget #banner-credits{margin:0;padding:0;font-size:13px;line-height:1.3}.company-banner #banner-credits>span{font-weight:400}.company-banner #banner-credits>b{font-weight:700}.company-banner #budget-remaining{line-height:1.3}


.company-banner #company-budget>div:has(#budget-remaining:empty){display:none}.portal-sidebar .portal-navigation{row-gap:6.075px}.portal-sidebar .portal-navigation a{padding-top:10.125px;padding-bottom:10.125px}@media(max-width:700px){.portal-sidebar .portal-navigation{row-gap:3.375px}.portal-sidebar .portal-navigation a{padding-top:6.75px;padding-bottom:6.75px}}


.company-banner #banner-stars{font-size:13px;line-height:1.3;margin:0;padding:0}.company-banner #banner-stars>b{font-weight:700}.company-banner #banner-stars>span{font-weight:400}



.company-banner #banner-credits::before,.company-banner #budget-detail .budget-part::before{content:'\00b7';display:inline-block;align-self:center;font-weight:400;color:inherit;margin-right:8px;line-height:1}.company-banner #banner-credits::before{margin-right:6px}


.sign-in-main form .auth-actions button{margin-top:0!important;margin-bottom:0!important}.sign-in-main .auth-actions{align-items:center}.password-recovery-main{max-width:460px}.password-recovery-main>.panel{padding:24px;border:1px solid #e8e9ee;border-radius:16px}.password-recovery-main h1{margin:0 0 16px;font-size:28px}.password-recovery-main #recovery-status:empty{display:none}.password-recovery-main form{margin-bottom:12px}

/* Dedicated sign-in experience; artwork is anonymous, decorative vector geometry. */
body.signin-experience{display:block;min-height:100dvh;margin:0;background:radial-gradient(ellipse at 12% 12%,#284a65 0,transparent 50%),radial-gradient(ellipse at 60% 95%,#483d69 0,transparent 55%),#121f35;color:#f5f8ff;overflow-x:hidden;position:relative}.signin-backdrop{position:absolute;inset:0 38% 0 0;overflow:hidden;pointer-events:none}.signin-backdrop svg{position:absolute;width:110%;height:100%;left:-8%;top:10%;opacity:.75}.signin-brand{position:relative;display:flex;align-items:center;gap:14px;padding:36px 5vw;font-size:24px;font-weight:650;z-index:1}.signin-brand-mark{position:relative;display:grid;place-items:center;width:46px;height:46px;background:#ffffff15;border:1px solid #ffffff38;border-radius:14px;font-size:27px}.signin-brand-mark i{position:absolute;width:8px;height:8px;background:#f3b84b;border-radius:50%;right:5px;bottom:8px}.signin-introduction{position:relative;margin:4vh 0 0 7vw;width:43%;z-index:1}.signin-kicker{font-size:11px;letter-spacing:2.4px;color:#adc5de}.signin-introduction h2{font-size:clamp(32px,3.6vw,54px);line-height:1.13;letter-spacing:-1.5px;color:#fff;margin:20px 0}.signin-introduction>p:last-child{font-size:17px;line-height:1.65;color:#c4d2e3}.signin-experience .sign-in-main{position:relative;max-width:440px;width:38%;margin:-210px 7vw 60px auto;padding:0;z-index:2}.signin-experience .sign-in-main>.panel{padding:38px;background:#fbfcff;border:1px solid #ffffffa0;border-radius:24px;box-shadow:0 24px 80px #050d2545;color:#26354a}.signin-experience .sign-in-main h1{font-size:38px;line-height:1.15;margin:12px 0;color:#172c46}.signin-experience .sign-in-main .eyebrow{color:#627493;font-size:10px;letter-spacing:2px}.signin-experience .sign-in-main p{line-height:1.55}.signin-experience #sign-in{margin-top:26px}.signin-experience #sign-in label{display:block;margin:17px 0 7px;font-size:16px;font-weight:400}.signin-experience #sign-in input{box-sizing:border-box;width:100%;min-height:46px;border:1px solid #d6deeb;border-radius:9px;padding:10px 12px}.signin-experience #sign-in .auth-actions{margin:22px 0 17px}.signin-experience #sign-in>a{font-size:14px;color:#506581}.signin-experience #sign-in-error:empty{display:none}@media(max-width:850px){.signin-brand{padding:24px}.signin-introduction{margin:15px 24px 28px;width:auto}.signin-introduction h2{font-size:34px}.signin-introduction>p:last-child{display:none}.signin-experience .sign-in-main{width:auto;max-width:440px;margin:0 auto 36px;padding:0 20px}.signin-experience .sign-in-main>.panel{padding:28px}.signin-backdrop{inset:0;opacity:.5}.signin-backdrop svg{left:0;top:0}.signin-brand{font-size:21px}}

body.signin-experience>.signin-brand{background:transparent;border:0;box-shadow:none;justify-content:flex-start;color:#f5f8ff}


.signin-backdrop svg{left:2%}.signin-experience .auth-primary{width:auto;min-width:120px;height:auto;padding:12px 24px;border-radius:10px;background:#244968;color:white;border:0;font-size:16px;font-weight:600}.signin-experience .auth-primary:hover:not(:disabled){background:#18364f}.signin-experience .auth-primary:disabled{opacity:.5}.signin-experience .registration-main{margin-top:-210px;max-width:500px}.signin-experience .sign-in-main label{display:block;margin:14px 0 6px;font-size:16px;font-weight:400}.signin-experience .sign-in-main input,.signin-experience .sign-in-main select{box-sizing:border-box;width:100%}.signin-experience .auth-register-link{margin-top:18px;font-size:14px}@media(max-width:850px){.signin-experience .registration-main{margin-top:0}.signin-backdrop svg{left:10%}}

/* Saved alternative 02: daylight digital workspace. */
body.signin-experience{background:radial-gradient(ellipse at 5% 20%,#d1f1ed 0,transparent 52%),radial-gradient(ellipse at 65% 90%,#dfdcf3 0,transparent 60%),#eef2f7;color:#243d54}body.signin-experience>.signin-brand{color:#243d54}.signin-brand-mark{background:#ffffff80;border-color:#ffffff}.signin-introduction h2{color:#253e55}.signin-kicker{color:#537589}.signin-introduction>p:last-child{color:#567084}.signin-backdrop svg{opacity:.9}.signin-experience .sign-in-main>.panel{background:#ffffffed;border-color:white;box-shadow:0 24px 70px #506a861c}

.company-person-row{grid-template-columns:24px 46px minmax(150px,1fr) 110px 160px 110px 38px 38px}.email-verification-status{font-size:12px}@media(max-width:1000px){.company-person-row{grid-template-columns:24px 46px minmax(0,1fr) 38px 38px}.company-person-row>span{grid-column:3}.company-person-row>button:nth-last-child(2){grid-column:4;grid-row:1}.company-person-row>button:last-child{grid-column:5;grid-row:1}}

/* Keep authentication layouts stable when avatar choices add page height. */
html:has(body.signin-experience){scrollbar-gutter:stable}
body.signin-experience{background-attachment:fixed}
.signin-experience .signin-backdrop{position:fixed;height:100dvh}
@supports not (scrollbar-gutter:stable){html:has(body.signin-experience){overflow-y:scroll}}

/* Medium-tone people backdrop: softer than the original navy version. */
body.signin-experience{background:radial-gradient(ellipse at 8% 20%,#557e89 0,transparent 55%),radial-gradient(ellipse at 68% 85%,#79738d 0,transparent 62%),#52667f;background-attachment:fixed;color:#f5f7fb}
body.signin-experience>.signin-brand,.signin-introduction h2{color:#fff}.signin-kicker{color:#d6e8ee}.signin-introduction>p:last-child{color:#e0e9f0}.signin-brand-mark{background:#ffffff18;border-color:#ffffff45}.signin-backdrop svg{opacity:.8}

.company-person-row>.badge{font-size:12px;font-weight:400;font-family:inherit}
.admin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 36px}.admin-options>a{display:block;padding:26px;border:1px solid #dce3ee;border-radius:20px;background:linear-gradient(135deg,#eef5ff,#fff);text-decoration:none;box-shadow:0 7px 20px #31496b0a;transition:transform .15s,box-shadow .15s}.admin-options>a:nth-child(2){background:linear-gradient(135deg,#f2edfb,#fff)}.admin-options>a:nth-child(3){background:linear-gradient(135deg,#fff4dd,#fff)}.admin-options>a:hover{transform:translateY(-3px);box-shadow:0 10px 24px #31496b18}.admin-option-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;color:#345980;font-size:30px}.admin-options h2{font-size:22px;color:#253954;margin:18px 0 10px}.admin-options p{color:#607089;line-height:1.6;margin:0}.create-signin-panel{max-width:560px;margin-top:24px}.create-signin-panel code{display:block;overflow-wrap:anywhere}.registration-code-list{display:grid;gap:12px}.registration-code-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,1fr) auto;align-items:center;gap:20px;padding:20px;background:white;border:1px solid #e2e7ee;border-radius:16px}.registration-code-row p{margin:5px 0}.registration-code-row .library-dialog-actions{margin:0}@media(max-width:850px){.admin-options{grid-template-columns:1fr}.registration-code-row{grid-template-columns:1fr}}

.portrait-editor{padding:18px 0;border-bottom:1px solid #e1e6ee}.portrait-crop-canvas{display:block;width:280px;max-width:100%;height:auto;border-radius:50%;border:2px solid #bac9db;margin:16px auto;touch-action:none;cursor:move}.portrait-editor label{display:block}.portrait-editor input[type=range]{width:100%}.people-picture-dialog{max-height:90dvh;overflow-y:auto}

.people-search-tools{display:flex;align-items:end;gap:20px;flex-wrap:wrap;margin:18px 0}.people-search-tools label{margin:0}.people-search-tools input,.people-search-tools select{display:block;margin-top:6px}.people-search-tools input{width:320px;max-width:100%}.company-person-row.person-inline-actions{grid-template-columns:46px minmax(180px,1fr) auto auto}.person-account-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.person-account-status .badge{font-size:12px;font-weight:400;font-family:inherit}.person-actions{display:flex;gap:var(--horizontal-icon-gap,8px);align-items:center}.person-actions button{margin:0}.person-actions svg{width:22px;height:22px}@media(max-width:1100px){.company-person-row.person-inline-actions{grid-template-columns:46px minmax(0,1fr)}.person-account-status,.person-actions{grid-column:2}.people-search-tools input{width:100%}}

.admin-options>a,.admin-options>a:hover,.admin-options>a:focus-visible,.admin-options>a *{text-decoration:none!important}.admin-options>a:hover{background:linear-gradient(135deg,#dce8fa,#f4f7fc)}.admin-options>a:nth-child(2):hover{background:linear-gradient(135deg,#e6dcf5,#f8f5fc)}.admin-options>a:nth-child(3):hover{background:linear-gradient(135deg,#f5e6c5,#fcf8ee)}

.company-person-row .person-actions{border:0;padding-top:0;margin-top:0}.account-enabled-status{box-sizing:border-box;min-width:78px;text-align:center}.admin-status-spacer{visibility:hidden}.company-person-row.administrator-row{background:#f0edf8;border-color:#d9d2eb}#code-result textarea{width:100%;box-sizing:border-box;font-size:13px;margin:8px 0}

.credit-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.credit-overview section{border-radius:18px;padding:24px;background:#edf3fa;border:1px solid #dce5ef}.credit-overview section:first-child{background:#273e5d;color:white}.credit-overview strong{display:block;font-size:36px;margin:10px 0}.credit-overview small{opacity:.75}.credit-tabs{display:flex;gap:8px;margin:24px 0}.credit-tabs button{border-radius:12px;background:#eef1f7;color:#394d67;padding:13px 22px}.credit-tabs button[aria-selected=true]{background:#304d70;color:white}.credit-purchase-layout,.credit-rankings{display:grid;grid-template-columns:1fr 1fr;gap:22px}.credit-purchase-layout label{display:block;margin:18px 0 8px}.credit-purchase-layout input,.credit-purchase-layout select{display:block;margin-top:8px;width:100%}.credit-quote{font-size:28px;color:#365d89}.credit-analysis-filters{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0}.credit-analysis-filters input,.credit-analysis-filters select{display:block;margin-top:8px}.credit-rank-row{display:grid;grid-template-columns:1fr auto;gap:6px;margin:18px 0}.credit-rank-row progress{grid-column:1/-1;width:100%;height:8px;accent-color:#5481b1}#budget-page svg{width:22px;height:22px}#purchase-status{margin-left:12px}@media(max-width:850px){.credit-overview,.credit-purchase-layout,.credit-rankings{grid-template-columns:1fr}}

#credit-maintenance .library-table th:last-child,#credit-maintenance .library-table td:last-child{width:auto;min-width:180px;text-align:left}.credit-tabs button[aria-selected=true]{background:#304d70!important;color:white!important}

.credit-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.credit-package{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid #cfd6e4;border-radius:16px;background:#eef5fc;color:#233952}.credit-package:nth-child(2){background:#fff4d3}.credit-package:nth-child(3){background:#e7f5ee}.credit-package:nth-child(4){background:#f0eafa}.credit-package strong{font-size:26px}.credit-package[aria-pressed=true]{outline:3px solid #3679b8}.credit-card-fields{display:flex;gap:12px}.credit-card-fields label{min-width:0;flex:1}#budget-detail.used-credit-box{border:1px solid #ffffff80;border-radius:9px;padding:5px 10px;display:inline-flex;align-items:center;gap:8px}.used-credit-label{font-size:12px;opacity:.85}.used-credit-label:before{content:none!important}

.portrait-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.portrait-dialog-head h2{margin:0}

.credit-packages[hidden]{display:none!important}.credit-purchase-layout{align-items:start}

.administrator-row .person-account-status .badge{border:1px solid #9a8eae;background:#eee7f8}

.hierarchy-human{background:#eef7fb;border-color:#b7d6e6}.hierarchy-human .hierarchy-photo{border-radius:50%;object-fit:cover}.hierarchy-human .hierarchy-identity small{color:#50788d;font-size:11px}.hierarchy-human>.round-action{grid-column:1/-1;justify-self:end;width:30px;height:30px;min-width:30px}#hierarchy-tools{display:flex;justify-content:flex-end;margin-bottom:16px}#hierarchy-tools[hidden]{display:none}

.registration-code-dates{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hierarchy-human .hierarchy-photo{width:64px!important;height:64px!important;aspect-ratio:1;border-radius:50%;object-fit:cover;flex-shrink:0}

.hierarchy-human .hierarchy-photo{width:44px!important;height:44px!important}.hierarchy-cost{display:inline-flex;align-items:center;justify-content:center;border:1px solid #7791ad;border-radius:14px;background:#355879;color:#fff;padding:3px 12px;min-width:44px}.hierarchy-right .staff-reward-star svg{filter:drop-shadow(0 1px 1px #24364c22)}.talent-identity>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.talent-identity .talent-name{display:block;margin:0}.talent-identity .talent-model{font-size:11px;font-weight:400;color:#7b8491}.has-unemployed-marker{position:relative}.unemployed-marker{position:absolute;right:-3px;bottom:-3px;width:17px;height:17px;border-radius:50%;background:#6c7078;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:14px;line-height:1;font-weight:600;z-index:3}.chat-participant.has-unemployed-marker .participant-remove{right:-3px;bottom:17px}

.chat-uploaded-image{display:block;max-width:min(100%,600px);max-height:500px;object-fit:contain;border-radius:12px;margin:8px 0}

.hierarchy-ceo{position:relative}.hierarchy-ceo #hierarchy-tools{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);margin:0}.hierarchy-branch .hierarchy-reporting{font-size:12px!important}.hierarchy-right .staff-reward-star svg{fill:#ffe600;stroke:#b9bdc3;filter:none}

.hierarchy-branch>.hierarchy-human{background:#e9f5f3;border-color:#a7cbc4}.hierarchy-human .hierarchy-identity{min-height:44px}.hierarchy-branch .hierarchy-cost{padding:1px 10px;min-width:40px}.hierarchy-right .staff-score-count{position:relative;top:2px;line-height:24px}.hierarchy-branch>.hierarchy-person>.hierarchy-edit{grid-column:2;justify-self:end;width:30px;height:30px;min-width:30px}.hierarchy-editor label[for] {font-weight:400}.hierarchy-editor label:has(select[aria-label="Reports to..."]){padding-top:3px}
.hierarchy-branch>.hierarchy-human{grid-template-columns:51px minmax(0,1fr)}

.hierarchy-branch>.hierarchy-human{grid-template-columns:48px minmax(0,1fr)}
.hierarchy-branch .hierarchy-identity h2,.hierarchy-branch .hierarchy-identity h2 a{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human){position:relative}
.hierarchy-branch>.hierarchy-person>.hierarchy-edit{position:absolute;right:12px;top:58px;margin:0}
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human) .hierarchy-identity{padding-bottom:32px;box-sizing:border-box}
.hierarchy-editor .hierarchy-full-name{width:100%;box-sizing:border-box;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}

.hierarchy-branch>.hierarchy-person:not(.hierarchy-human) .hierarchy-photo{height:86px}.hierarchy-branch>.hierarchy-person:not(.hierarchy-human) .hierarchy-identity{min-height:86px}.hierarchy-branch>.hierarchy-person>.hierarchy-edit{top:68px}.hierarchy-branch>.hierarchy-person:not(.hierarchy-human){row-gap:4px}.hierarchy-branch>.hierarchy-person:not(.hierarchy-human) .hierarchy-right{padding-top:0}

.hierarchy-photo-link{display:block;width:56px;height:86px;line-height:0;border-radius:12px}.hierarchy-photo-link:focus-visible{outline:2px solid #1989ba;outline-offset:3px}
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human) .hierarchy-right{padding-top:4px}.hierarchy-branch>.hierarchy-human{background:#e8f2ff;border-color:#b3cdec}
.hierarchy-right .staff-score-count{top:0;line-height:24px}

.message-attachments .uploaded-file{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%}.uploaded-file-name{font-weight:400;overflow-wrap:anywhere}.chat-uploaded-image{cursor:pointer}

.image-editor{width:min(1000px,94vw);max-height:94vh;border:1px solid #dce2ed;border-radius:22px;padding:22px}.image-editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.image-editor-tools label{font-size:16px;font-weight:400;display:flex;align-items:center;gap:8px}.image-editor-tools input[type=text]{flex:1;min-width:150px}.image-editor-tools input[type=number]{width:80px}.image-editor-tools input[type=color]{width:48px;padding:3px}.image-editor-viewport{height:50vh;overflow:auto;background:#e8ebef;border-radius:10px;padding:12px}.image-editor canvas{display:block;max-width:none;touch-action:none;cursor:crosshair}

/* Keep the staff strip and conversation header close together. */
body.staff-profile-page.chat-fullscreen>main{overflow:hidden}
body.staff-profile-page.chat-fullscreen .staff-workspace>#one-to-one{position:relative;top:auto;height:auto;max-height:none;overflow:hidden}
body.staff-profile-page.chat-fullscreen #one-to-one>*{flex-shrink:0}
body.staff-profile-page #chat-transcript{position:relative}
body.staff-profile-page .chat-updated{font-size:12pt;white-space:normal}
body.staff-profile-page .staff-summary.is-collapsed #profile-name{font-size:calc(24px + 2pt)}
body.staff-profile-page .staff-summary.is-collapsed #profile-role{font-size:calc(12px + 2pt)}
body.staff-profile-page .staff-summary:not(.is-collapsed) #profile-name{font-size:calc(26px + 2pt)}
body.staff-profile-page .staff-summary:not(.is-collapsed) #profile-role{font-size:calc(13px + 2pt)}
body.staff-profile-page>footer{display:none}
body.staff-profile-page>main{padding-bottom:12px}
@media(min-width:701px){body.staff-profile-page>.portal-sidebar{height:calc(100dvh - var(--chat-banner-height,150px));min-height:0;box-sizing:border-box;overflow-y:auto;grid-row:2}}
body.staff-profile-page .staff-workspace{row-gap:0}
body.staff-profile-page:not(.chat-fullscreen) .staff-workspace>#staff-summary{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none}
body.staff-profile-page:not(.chat-fullscreen) .staff-workspace>#one-to-one{border-top:0;border-top-left-radius:0;border-top-right-radius:0}
body.staff-profile-page .one-to-one>.section-heading.chat-heading-row{padding-top:8px;padding-bottom:8px}

/* Reserve the space actually left below the banner and staff controls. */
body.staff-profile-page:not(.chat-fullscreen) .staff-workspace>#one-to-one{
 position:relative;top:auto;height:var(--chat-available-height,calc(100dvh - 24px));
 min-height:0;max-height:none;box-sizing:border-box;
}
body.staff-profile-page:not(.chat-fullscreen) #one-to-one>*{flex-shrink:0}
body.staff-profile-page:not(.chat-fullscreen) #one-to-one>#chat-transcript{
 flex:1 1 0;min-height:120px;max-height:none;box-sizing:border-box;
}

#access-people .person-inline-actions{grid-template-columns:24px 46px minmax(180px,1fr) auto auto}
.people-bulk-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}.people-bulk-toolbar>input{width:17px;height:17px;margin:0 16px}.people-bulk-toolbar>span{margin-right:8px}
@media(max-width:900px){#access-people .person-inline-actions{grid-template-columns:24px 46px minmax(0,1fr)}#access-people .person-account-status,#access-people .person-actions{grid-column:3}}

#access-people .company-person-row[hidden],#access-people .people-empty[hidden]{display:none!important}

#chat-participants .participant-lead{font-size:22.8px;-webkit-text-stroke:3px #fff;paint-order:stroke fill;text-shadow:none;z-index:2}

#chat-participants .human-participant .participant-lead{left:-4px}

#chat-participants .unemployed-marker{top:-3px;left:-5px;right:auto;bottom:auto;width:20px;height:20px;font-size:16px}

body.staff-profile-page .staff-summary:not(.is-collapsed){padding-bottom:9px}

.work-participant-faces .unemployed-marker,.work-lead-face .unemployed-marker{position:absolute;top:-3px;left:-5px;right:auto;bottom:auto;width:20px;height:20px;min-width:20px;flex:none;border:2px solid #fff;border-radius:50%;font-size:16px;line-height:1;display:grid;place-items:center}

#one-to-one>#chat-unemployed-notice{margin:6px}

.notification-preferences-link{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #b9d8df;border-radius:16px;background:linear-gradient(120deg,#e2f4ee,#edf0ff);color:#14546a;text-decoration:none;transition:transform .15s,filter .15s}.notification-preferences-link:hover{transform:translateY(-2px);filter:brightness(.97);text-decoration:none}.notification-preferences-link>span:first-child{font-size:28px}.notification-preferences-link small{display:block;margin-top:4px}.notification-preference-actions{display:flex;gap:8px;margin:20px 0}.notification-preference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px}.notification-preference-group{min-width:0;border:1px solid #d2dce7;border-radius:16px;background:white;padding:20px}.notification-preference-group label{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:400;margin:12px 0}.notification-preference-group legend{padding:0 8px;color:#146b72}.notification-preference-group input{width:18px;height:18px;flex:0 0 18px;accent-color:#087f81}.notification-preference-group legend label{font-weight:400}
/* Spacious notification choices and credit package calls to action. */
.account-options{grid-template-columns:minmax(280px,520px)}
.preference-intro{display:flex;align-items:flex-end;gap:36px;padding:14px 28px 24px;margin:24px 0;background:linear-gradient(120deg,#e9f6f4,#eef1fc);border:1px solid #d6e5ea;border-radius:20px}
.preference-intro>.preference-scope-field{min-width:300px}.preference-intro label{display:block;margin:0 0 8px;font-size:16px;font-weight:400}.preference-intro select{width:100%}.preference-intro p{max-width:560px;color:#607089;line-height:1.6;margin:0}
.notification-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.preference-card{--accent:#087f81;--tint:#e7f5f2;min-width:0;overflow:hidden;border:1px solid #dce5eb;border-radius:22px;background:#fff;box-shadow:0 10px 28px #233c5710,0 2px 5px #233c5705}
.preference-people{--accent:#5267ae;--tint:#eef0fb}.preference-files{--accent:#8c5bac;--tint:#f4eef9}.preference-system{--accent:#997021;--tint:#fff5dd}
.preference-card-head{display:flex;justify-content:space-between;gap:16px;padding:24px;background:linear-gradient(125deg,var(--tint),#fff);border-bottom:1px solid #e8edf2}.preference-kicker{font-size:11px;letter-spacing:1.3px;font-weight:700;color:var(--accent)}.preference-card h2{font-size:24px;margin:8px 0;color:#243751}.preference-card-head p{margin:0;font-size:14px;line-height:1.5;color:#65758a}.preference-group-control{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}.preference-count{font-size:12px;color:#63748a;white-space:nowrap}
.preference-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 24px;padding:15px 0;border-bottom:1px solid #edf0f5;font-size:16px;color:#34475d}.preference-row:last-child{border:0}.preference-switch{position:relative;flex:0 0 44px;width:44px;height:26px!important;min-width:44px!important;padding:0!important;border:1px solid #b6c2d1!important;border-radius:30px!important;background:#dce3ec!important;box-shadow:none!important;cursor:pointer;transition:background .18s!important}.preference-switch:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .18s}.preference-switch[aria-checked=true]{background:var(--accent,#087f81)!important;border-color:var(--accent,#087f81)!important}.preference-switch[aria-checked=true]:after{transform:translateX(18px)}.preference-switch:hover{filter:brightness(.92);transform:none!important}.preference-switch:focus-visible{outline:3px solid #80bccc;outline-offset:3px}
.notification-preference-actions{display:flex;gap:8px;margin:24px 0}
.pricing-card .package-buy-now{display:block;width:100%;height:auto;min-height:56px;margin:20px 0 0;padding:14px 22px;border:1px solid #ffffff60;border-radius:14px;background:linear-gradient(120deg,#198c99,#176678);color:#fff;font-size:20px;font-weight:700;letter-spacing:.2px;box-shadow:0 6px 14px #123f4930,inset 0 1px 0 #ffffff45;cursor:pointer;transition:transform .18s,box-shadow .18s,filter .18s}.pricing-card .package-buy-now:hover{background:linear-gradient(120deg,#117d89,#105366);filter:none;transform:translateY(-2px);box-shadow:0 9px 18px #123f4940}.pricing-card .package-buy-now:focus-visible{outline:3px solid #1e99b3;outline-offset:4px}
@media(max-width:850px){.notification-preference-grid{grid-template-columns:1fr}.preference-intro{flex-direction:column;align-items:stretch;gap:16px}.preference-intro>div{min-width:0}}
.preference-group-control .preference-switch{flex:none;height:26px!important;min-height:26px!important}
.my-account-page .account-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:28px;align-items:start;margin-top:28px}.my-account-page .account-side{min-width:0}.my-account-page .account-options{display:block;margin:0 0 24px}.my-account-page .account-options>a{padding:24px;background:linear-gradient(135deg,#e3f4f0,#edf2fc);border-radius:22px}.my-account-page .account-options h2{font-size:22px}.my-account-page .account-panel,.my-account-page .account-avatar-panel{width:100%;max-width:none;margin:0;border:1px solid #dce5eb;border-radius:22px;background:#fff;box-shadow:0 10px 28px #233c5710;box-sizing:border-box;padding:26px}.my-account-page .account-avatar-panel h2{font-size:22px;margin:0 0 20px;color:#243751}.my-account-page #account-portrait-preview{display:block;width:88px;height:88px;object-fit:cover;margin:0 0 24px;border:4px solid #fff;box-shadow:0 4px 16px #23445a20}:is(.my-account-page #account-photo,#banner-file){width:100%;font-size:13px;margin:10px 0 20px}.my-account-page .account-avatar-panel details{border-top:1px solid #e6ecf1;padding-top:18px}.my-account-page .account-avatar-panel summary{color:#176d76;cursor:pointer}.my-account-page #account-avatars{margin-top:16px;gap:10px;max-height:290px;overflow-y:auto}.account-section-heading{margin:-26px -26px 26px;padding:26px;background:linear-gradient(125deg,#eef5fa,#f9fbfd);border-radius:22px 22px 0 0;border-bottom:1px solid #e4ebf0}.account-section-heading>span{font-size:11px;letter-spacing:1.4px;font-weight:700;color:#197b83}.account-section-heading h2{font-size:26px;margin:8px 0;color:#243751}.account-section-heading p{margin:0;color:#687c90;font-size:14px;line-height:1.6}.my-account-page .account-fields>label,.my-account-page .account-phone-row label{font-size:16px;font-weight:400;color:#34475d}.my-account-page .account-fields{gap:22px}.my-account-page .account-fields input,.my-account-page .account-fields select{width:100%;box-sizing:border-box;border-radius:10px;border:1px solid #d5dfeb;min-height:46px;margin-top:9px}.my-account-page .account-fields input[required]{background:#fffbea;border:1px solid #ddd9bc}.my-account-page .account-password{background:#f5f8fc;border-color:#dfe7ef;margin-top:26px}.my-account-page .check-label{padding:8px 0}.account-autosave{font-size:14px;color:#15796d;padding-top:14px;border-top:1px solid #e5ecf1;min-height:22px}.my-account-page .required-mark{display:none}@media(max-width:1050px){.my-account-page .account-layout{grid-template-columns:1fr}.my-account-page .account-side{display:grid;grid-template-columns:1fr 1fr;gap:24px}}@media(max-width:700px){.my-account-page .account-side{display:block}.my-account-page .account-fields{grid-template-columns:1fr}}
.company-banner .company-settings-link,.company-banner .company-settings-link:hover,.company-banner .company-settings-link:focus-visible{text-decoration:none!important}.company-banner .company-settings-link{transition:background-color .18s,color .18s;background:transparent}.company-banner .company-settings-link:not(:disabled):hover,.company-banner .company-settings-link:focus-visible{background:rgba(255,255,255,.2)!important;color:var(--company-dark)!important;filter:none}
.account-email-confirm{width:min(460px,calc(100% - 40px));padding:26px;border:1px solid #dce5eb;border-radius:22px;box-shadow:0 20px 65px #19334b35;color:#243751}.account-email-confirm::backdrop{background:#152a4055}.account-email-confirm h2{margin:0 0 12px}.account-email-confirm p{line-height:1.6;overflow-wrap:anywhere}.account-email-confirm .notification-preference-actions{margin-bottom:0}
.preference-label{min-width:0;flex:1}.preference-label>span{display:block}.preference-label>small{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:#718095;font-weight:400}.preference-row{padding-top:16px;padding-bottom:16px}
.my-account-page .account-avatar-panel .portrait-editor{border-bottom:0}
.my-account-page .account-section-heading{border-bottom:0}
.company-settings-page .settings-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-top:24px}.company-settings-page .settings-dashboard>.panel{min-width:0;margin:0;padding:28px;border:1px solid #dce5eb;border-radius:22px;background:linear-gradient(145deg,#f1f8fa 0,#fff 160px);box-shadow:0 9px 26px #203e5910}.company-settings-page .settings-dashboard>#company-form{grid-row:span 2;background:linear-gradient(135deg,#eaf5f2,#fff 230px)}.settings-kicker{display:block;color:#197c83;font-size:11px;letter-spacing:1.4px;font-weight:700}.company-settings-page .panel h2{font-size:24px;color:#243751;margin:9px 0 20px}.company-settings-page .panel>label:not(.check-label){display:block;margin:18px 0 8px;font-size:16px;font-weight:400;color:#34475d}.company-settings-page .panel>input:not([type=checkbox]),.company-settings-page .panel>select,.company-settings-page .panel>textarea{width:100%;box-sizing:border-box;border:1px solid #d7e1eb;border-radius:10px;min-height:46px}.company-settings-page .panel>textarea{min-height:150px}.company-settings-page .panel>input[required]{background:#fffbea}.company-settings-page .panel p{color:#65788b;line-height:1.6}.company-settings-page .panel .hint{font-size:13px}.company-settings-page .settings-save-status{font-size:13px;color:#14756b;margin-bottom:0}.company-settings-page .settings-save-status:empty{display:none}.company-settings-page #team-import-settings,.company-settings-page #workspace-reset-settings{grid-column:1/-1}.company-settings-page #workspace-reset-settings{background:#fff8f6;border-color:#eddbd6}.company-settings-page #settings-message:empty,.company-settings-page #settings-error:empty{display:none}@media(max-width:900px){.company-settings-page .settings-dashboard{grid-template-columns:1fr}.company-settings-page .settings-dashboard>#company-form{grid-row:auto}}
.company-settings-page .settings-identity-group{grid-row:span 2}.company-settings-page .settings-identity-group>form.panel{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;max-width:none}.company-settings-page .settings-identity-group>form.panel+form.panel{margin-top:26px;padding-top:24px;border-top:1px solid #e2e9ef}.company-settings-page .settings-identity-group>form:not(:first-child) .settings-kicker{display:none}.company-settings-page .settings-identity-group>form:not(:first-child) h2{font-size:20px}
.company-settings-page .settings-dashboard{grid-template-columns:minmax(0,1fr);max-width:1000px}.company-settings-page .settings-identity-group{grid-row:auto}.company-settings-page #workspace-reset-settings{grid-column:1;width:100%;box-sizing:border-box}
.hierarchy-capabilities{grid-column:1/-1;display:flex;gap:6px;align-items:center;margin-top:4px}.hierarchy-capability-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#7c9ee6;color:#fff}.hierarchy-capability-icon svg{width:16px;height:16px}.hierarchy-capability-icon:focus-visible{outline:2px solid #3869ad;outline-offset:2px}
.role-capability-heading{grid-column:1/-1;margin:24px 0 4px;font-size:22px;color:#243751}.permission-unavailable{opacity:.5}
.message-review-actions{display:inline-flex;align-items:center;gap:8px}.invalid-response-flag[aria-pressed=true]{color:#c04b25}.invalid-response-flag[aria-pressed=true] svg{fill:#ffe0b5}.invalid-response-review{width:min(820px,90vw);max-height:85vh;overflow-y:auto}.invalid-response-review textarea{width:100%;box-sizing:border-box}
/* Compact agent hierarchy: cost, stars and edit beside the portrait's bottom. */
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human)>.hierarchy-photo-link{grid-column:1;grid-row:1;align-self:start}
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human)>.hierarchy-identity{grid-column:2;grid-row:1;padding-bottom:36px}
.hierarchy-branch>.hierarchy-person:not(.hierarchy-human)>.hierarchy-right{grid-column:2;grid-row:1;align-self:end;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:5px;padding:0;border:0;width:100%;min-width:0}
.hierarchy-branch .hierarchy-right .hierarchy-cost{box-sizing:border-box;min-width:30px;padding:2px 5px;flex:none;font-size:12px}
.hierarchy-branch .hierarchy-right .staff-reward-badge{gap:2px;white-space:nowrap}
.hierarchy-branch .hierarchy-right .hierarchy-edit{position:static;margin:0 0 0 auto;width:28px;height:28px;min-width:28px;flex:0 0 28px;padding:5px}
.hierarchy-branch .hierarchy-right .hierarchy-edit svg{width:18px;height:18px}
/* Centre the star/count together in the space between cost and edit. */
.hierarchy-branch .hierarchy-right .staff-reward-badge{flex:1;display:inline-flex;justify-content:center;align-items:center;min-width:0}
.hierarchy-branch .hierarchy-right .hierarchy-edit{margin-left:0}
/* Roles use the same grouped switches as notification preferences. */
.permissions-main{max-width:1320px}
.permissions-main>.panel{border:1px solid #dce5eb;border-radius:22px;background:linear-gradient(125deg,#f1f8fa,#fff 65%);box-shadow:0 8px 24px #233c570c;padding:24px}
.permissions-main #human-role{max-width:460px;font-weight:400}
.permissions-main #role-summary,.permissions-main #role-description{max-width:760px;display:block;width:100%;box-sizing:border-box}
.permissions-main .permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;margin:28px 0}
.permissions-main .preference-card-head{padding:20px}
.permissions-main .preference-card h2{font-size:23px;margin:0 0 8px}
.permissions-main .preference-row{margin:0 20px;gap:16px}
.permissions-main .preference-label{min-width:0;flex:1}
.permissions-main .preference-label>span{font-size:16px;font-weight:400;display:block}
.permissions-main .preference-label small{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:#68778a}
.permissions-main .preference-switch:disabled{opacity:.5;cursor:not-allowed;filter:none;transform:none!important}
.permissions-main .preference-switch:disabled:hover{filter:none;background:#dce3ec!important}
.permissions-main .preference-switch[aria-checked=true]:disabled:hover{background:var(--accent,#087f81)!important}
.permissions-main>details.panel{margin-top:24px}
.permissions-main>details.panel summary{font-size:20px;color:#294963;cursor:pointer}
@media(max-width:850px){.permissions-main .permission-options{grid-template-columns:1fr}}
.permissions-main .role-picker-row{display:flex;align-items:center;gap:8px;max-width:520px}
.permissions-main .role-picker-row select{flex:1;min-width:0;margin:0;font-weight:400}
.role-create-dialog{width:min(560px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #dce5eb;border-radius:22px;padding:24px;max-height:90vh;overflow-y:auto}
.role-create-dialog h2{margin:0 0 16px}
.role-create-dialog label{display:block;font-size:16px;font-weight:400;margin:12px 0 6px}
.role-create-dialog input,.role-create-dialog textarea{width:100%;box-sizing:border-box}
.role-create-dialog .library-dialog-actions{display:flex;gap:8px;margin-top:18px}

.role-capability-unavailable{opacity:1;filter:none;background:#d9e2ef;color:#fff}
body:has(#team-directory) .person-capabilities{position:absolute;left:9px;bottom:44px;display:flex;flex-direction:column;gap:6px;z-index:2}
body:has(#team-directory) .list-view .person-capabilities{left:200px;bottom:9px;flex-direction:row;flex-wrap:wrap;max-width:220px}
body:has(#team-directory) .list-view .person-identity{padding-bottom:34px!important}
@media(max-width:800px){body:has(#team-directory) .list-view .person-capabilities{left:158px}}

body:has(#team-directory) .person-card>.person-capabilities{height:auto!important;padding:0!important;min-width:0;display:flex!important;align-items:center}

body:has(#team-directory) .person-card>.person-list-capabilities{display:none!important}
body:has(#team-directory) .list-view .person-card>.person-list-capabilities{display:flex!important}
body:has(#team-directory) .list-view .person-portrait-link>.person-capabilities{display:none!important}
/* Keep larger capability sets inside the portrait and hierarchy card. */
body:has(#team-directory) .person-portrait-link>.person-capabilities{max-height:calc(100% - 86px);flex-wrap:wrap;align-content:flex-start}
.hierarchy-capabilities{flex-wrap:wrap}
.hierarchy-capability-icon{flex:0 0 26px}
.hierarchy-capability-icon{box-sizing:border-box;border:2px solid #fff}

.hierarchy-capabilities,body:has(#team-directory) .person-capabilities{column-gap:2px}
.hierarchy-capability-icon{width:31.2px;height:31.2px;flex:0 0 31.2px}
.hierarchy-capability-icon svg{width:19.2px;height:19.2px}
body:has(#team-directory) .person-portrait-link>.person-capabilities{max-height:calc(100% - 44px)}
body:has(#team-directory) .person-portrait-link>.person-capabilities{row-gap:2px}
@media(min-width:1200px){#work-runs.work-runs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.database-entry-heading{display:flex;align-items:center;gap:12px}.database-entry-heading>img{flex:none}

body[data-staff="Daniel"] #chat-invite{display:none!important}

.library-dialog pre{max-height:240px;overflow:auto;white-space:pre;font-size:12px}

.import-sheet-choice{display:flex;align-items:center;justify-content:space-between;gap:12px}.import-sheet-choice input[type=checkbox]{width:18px;height:18px;margin:0;flex:none}

.database-record-fields{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:6px 16px}.database-record-fields dt{font-weight:600}.database-record-fields dd{margin:0;overflow-wrap:anywhere}

.database-tree-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,280px));gap:24px;justify-content:center;padding:20px 0}
.database-tree-card{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:160px;padding:20px;background:linear-gradient(145deg,#fff,#edf7fc);border:1px solid #bed9ec;border-radius:18px;box-shadow:0 5px 18px #173b6410;color:#183248;text-align:center;cursor:pointer;overflow-wrap:anywhere}
.database-tree-card strong{font-size:20px}.database-tree-card img,.database-table-icon{width:60px;height:60px}.database-table-icon{color:#4397ad}.database-table-icon svg{width:100%;height:100%}.database-tree{display:flex;flex-direction:column;align-items:center}.database-root{width:260px}.database-root:disabled{opacity:1;cursor:default}.database-branches{border-top:2px solid #c9d7ea;margin-top:28px;width:100%;position:relative}.database-branches:before{content:'';position:absolute;height:28px;border-left:2px solid #c9d7ea;top:-28px;left:50%}.database-table-card{position:relative}.database-table-card:before{content:'';height:20px;border-left:2px solid #c9d7ea;position:absolute;top:-21px;left:50%}
.database-record-filters{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.database-record-filters input{flex:1;min-width:180px}.database-table-scroll{overflow:auto;max-height:65vh;border:1px solid #dce5ef;border-radius:10px;margin-bottom:16px}.database-table-scroll table{border-collapse:collapse;min-width:100%;width:max-content}.database-table-scroll th{position:sticky;top:0;background:#edf4fb;z-index:1}.database-table-scroll th,.database-table-scroll td{padding:10px 14px;border-bottom:1px solid #e0e7ef;text-align:left;max-width:360px;overflow-wrap:anywhere;white-space:normal}.database-table-scroll th button{background:none;border:0;color:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.database-table-scroll tbody tr:nth-child(even){background:#f8fbfd}
.database-record-filters select{width:auto;max-width:240px}.database-record-filters input{width:auto}.database-table-scroll th button{box-shadow:none}

button.database-root,button.database-root:hover,button.database-root:focus,button.database-root:disabled{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#183248!important;transform:none!important;text-decoration:none!important}
.database-root img{width:80px;height:80px;transition:filter .18s,transform .18s}.database-root:not(:disabled):hover img,.database-root:focus-visible img{filter:drop-shadow(0 0 9px #3aafc9aa);transform:translateY(-2px)}.database-owner-login{color:#6b8098;font-weight:400}
button.database-table-card{flex-direction:row;align-items:flex-start;text-align:left;gap:16px;min-height:170px;background:linear-gradient(135deg,#fff,#edf8f8)!important;color:#183248!important}.database-table-info{display:flex;flex-direction:column;gap:7px;min-width:0}.database-table-card .database-table-icon{width:64px;height:64px;flex:0 0 64px}.database-tree-grid:has(.database-table-card){grid-template-columns:repeat(auto-fit,minmax(280px,360px))}button.database-table-card:hover{background:linear-gradient(135deg,#fff,#def3f2)!important;border-color:#78bbb9!important;box-shadow:0 6px 20px #208c9b20!important;color:#183248!important;transform:none!important}
button.database-picture-link,button.database-picture-link:hover{display:flex;align-items:center;gap:10px;background:transparent!important;box-shadow:none!important;border:0;color:#183248!important;text-decoration:none!important;padding:4px 8px}button.database-picture-link img{width:44px;height:44px}button.database-picture-link:hover img{filter:drop-shadow(0 0 6px #42aacb90)}

.database-home-list{justify-content:start}
button.database-table-card{display:block;padding:0;overflow:visible;min-height:0;border:1px solid #9acbd7!important;border-radius:10px;background:#fff!important;box-shadow:0 5px 14px #244b6612!important;text-align:left}
.database-sheet-heading{display:block;padding:14px 18px;background:linear-gradient(115deg,#36b4a6,#378ec1);color:#fff;border-radius:9px 9px 0 0;font-size:20px!important;letter-spacing:.2px;border-bottom:1px solid #75bbc8}
.database-sheet-details{display:grid;grid-template-columns:115px minmax(0,1fr);border-radius:0 0 9px 9px;overflow:hidden}
.database-sheet-details span{padding:10px 12px;border-bottom:1px solid #dcebef;font-size:13px;line-height:1.4;font-weight:400;overflow-wrap:anywhere;color:#29485c}
.database-sheet-label{background:#edf7f8;border-right:1px solid #d5e8ec}.database-sheet-value{background:#fff}.database-sheet-details span:nth-last-child(-n+2){border-bottom:0}
button.database-table-card:hover{background:#fff!important;border-color:#52a8b8!important;box-shadow:0 6px 18px #258b9e25!important}.database-table-card:hover .database-sheet-heading{background:linear-gradient(115deg,#40beaf,#4199cc)}

.database-split-view{display:grid;grid-template-columns:210px minmax(0,1fr);gap:30px;align-items:start}.database-picker{display:flex;flex-direction:column;gap:12px;border-right:1px solid #dce5ec;padding-right:16px}.database-picker .database-root{width:100%;min-height:0;padding:14px 8px;gap:5px}.database-picker .database-root img{width:64px;height:64px}.database-picker .database-root strong{font-size:18px}.database-picker .is-selected img{filter:drop-shadow(0 0 8px #37afc7a0)}.database-area-heading{display:flex;align-items:center;gap:14px;min-height:50px}.database-area-heading h2{margin:0}.database-table-list{justify-content:start;padding-top:16px}.database-table-list .database-table-card:before{display:none}.database-table-area{min-width:0}@media(max-width:700px){.database-split-view{grid-template-columns:135px minmax(0,1fr);gap:12px}.database-picker{padding-right:8px}.database-tree-grid.database-table-list{grid-template-columns:minmax(0,1fr)}.database-sheet-details{grid-template-columns:90px minmax(0,1fr)}}

.database-table-scroll tbody tr{cursor:pointer}.database-table-scroll tbody tr.is-selected td{background:#d8eeff;color:#123e60}.database-table-scroll tbody tr:focus-visible{outline:2px solid #388dbd;outline-offset:-2px}.database-row-editor{max-height:85vh;overflow:auto;width:min(650px,90vw)}

.database-table-scroll th button,.database-table-scroll th button:hover,.database-table-scroll th button:focus{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;transform:none!important;color:#24485f!important}.database-table-scroll th button:hover{color:#7894a6!important}

.invalid-response-flag,.invalid-response-flag:hover,.invalid-response-flag:focus,.invalid-response-flag[aria-pressed=true]{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;width:28px!important;height:28px!important;padding:3px!important;display:inline-flex;align-items:center;justify-content:center;color:#788697;transform:none!important}
.invalid-response-flag svg{width:22px!important;height:22px!important;fill:none!important}.invalid-response-flag:hover{color:#b98113}.invalid-response-flag[aria-pressed=true]{color:#a96b0b}.invalid-response-flag[aria-pressed=true] .invalid-flag-cloth{fill:#ffc34d;stroke:#a96b0b}.invalid-response-flag:focus-visible{outline:2px solid #c7912b;outline-offset:2px}
.invalid-response-dialog h2{margin:0 0 8px!important}.invalid-response-dialog label{margin:0 0 4px!important}.invalid-response-dialog textarea{margin:0!important}.invalid-response-dialog .error:empty{display:none}.invalid-response-dialog .error{margin:6px 0!important}.invalid-response-dialog .library-dialog-actions{margin-top:8px!important;padding-top:0!important;margin-bottom:0!important}.invalid-response-dialog form{gap:0}

.invalid-response-dialog label{margin-bottom:9px!important}.invalid-response-dialog .library-dialog-actions{margin-top:13px!important}

.database-inline-edit textarea{min-width:120px;width:100%;box-sizing:border-box;margin:0;resize:vertical;background:#fffbea}.database-inline-actions{display:flex;gap:8px;margin-top:8px}.database-inline-edit td{vertical-align:top}

/* Compact spreadsheet summaries. */
.database-tree-grid.database-table-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.database-table-list .database-sheet-heading{padding:9px 12px;font-size:17px!important}.database-table-list .database-sheet-details{grid-template-columns:94px minmax(0,1fr)}.database-table-list .database-sheet-details span{padding:6px 8px;font-size:12px}@media(max-width:700px){.database-tree-grid.database-table-list{grid-template-columns:minmax(0,1fr)}}

.database-root img{filter:drop-shadow(0 3px 4px #244b6620)}.database-root:not(:disabled):hover img,.database-root:focus-visible img,.database-picker .is-selected:hover img{filter:drop-shadow(0 5px 7px #244b6670);transform:translateY(-2px)}

.hierarchy-branch>.hierarchy-human{background:#fffbe6;border-color:#e9dfae}.hierarchy-branch>.hierarchy-specialist{background:#e8f2ff;border-color:#b3cdec}

.database-inline-edit input[type=text]{font:inherit;line-height:inherit;box-sizing:border-box;width:100%;min-width:0;min-height:0;height:auto;padding:0;margin:0;border:0;border-radius:0;box-shadow:0 1px 0 #d7bc65;background:#fffbea;color:inherit}.database-inline-edit td{vertical-align:inherit}

.database-specialists{display:flex;flex-direction:row;flex-wrap:wrap;align-items:start;gap:20px;list-style:none;padding:0;margin:4px 0 20px}.database-specialists li{margin:0;padding:0}.database-specialists a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#29485c;text-decoration:none;font-size:14px}.database-specialist-photo{display:grid;place-items:center;width:56px;height:56px;object-fit:cover;object-position:center 20%;border-radius:50%;border:2px solid white;box-shadow:0 3px 9px #23475b24}.database-specialists a:hover .database-specialist-photo{box-shadow:0 4px 12px #23475b45}

.database-specialists a:is(:link,:visited,:hover,:focus,:focus-visible,:active){text-decoration:none!important}.database-specialists a:focus-visible{outline:2px solid #087f8c;outline-offset:4px;border-radius:6px}

.database-table-scroll tr.database-inline-edit,.database-table-scroll tr.database-inline-edit td{background:#fffbea!important}.database-inline-edit input[type=text]{box-shadow:none;border-bottom:0}

.database-split-view{grid-template-columns:180px minmax(0,1fr);gap:20px}.database-picker{gap:6px;padding-left:0;padding-right:8px}.database-picker .database-root{padding:10px 4px;gap:4px;min-height:44px}.database-picker .database-root img{width:52px;height:52px}@media(max-width:700px){.database-split-view{grid-template-columns:125px minmax(0,1fr);gap:12px}}

.database-split-view{grid-template-columns:150px minmax(0,1fr)}.database-picker{padding-right:4px}.database-picker .database-root{padding-left:0;padding-right:0}.database-picker .database-root strong,.database-picker .database-root small{max-width:100%;overflow-wrap:anywhere}@media(max-width:700px){.database-split-view{grid-template-columns:115px minmax(0,1fr)}}



.database-table-item{position:relative;min-width:0}.database-table-item>.database-table-card{width:100%;height:100%}.database-table-item>.round-action{position:absolute;right:6px;top:4px}.database-table-item:has(>.round-action) .database-sheet-heading{padding-right:52px}
/* My Account photo chooser: retain native file selection and filename handling. */
:is(.my-account-page #account-photo,#banner-file){width:100%;box-sizing:border-box;padding:8px;border:1px solid #cbdde7;border-radius:14px;background:#f4f8fc;color:#496078;font:inherit;font-size:14px;box-shadow:0 2px 6px rgba(35,65,95,.05)}
:is(.my-account-page #account-photo,#banner-file)::file-selector-button{margin-right:12px;padding:10px 16px;border:1px solid #0c8c98;border-radius:10px;background:linear-gradient(135deg,#28a6b1,#087b92);color:#fff;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 3px 7px rgba(13,114,132,.18);transition:background .15s,box-shadow .15s}
:is(.my-account-page #account-photo,#banner-file):hover::file-selector-button{background:linear-gradient(135deg,#35b4bd,#138da1);box-shadow:0 4px 9px rgba(13,114,132,.24)}
:is(.my-account-page #account-photo,#banner-file):focus-visible{outline:3px solid #8acbd8;outline-offset:3px}
.my-account-page .account-autosave{border-top:0;padding-top:0;min-height:0;margin:12px 0 0}.my-account-page .account-autosave:empty,.my-account-page #account-error:empty{display:none}

.banner-file-chooser{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #cbdde7;border-radius:14px;background:#f4f8fc;box-shadow:0 2px 6px rgba(35,65,95,.05)}
.banner-file-chooser #banner-file{flex:1;min-width:0;width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.banner-file-chooser>.round-action{flex:0 0 auto;margin:0}

.database-record-actions{display:flex;gap:8px;margin:-9px 0 14px}

/* One shared left edge for list identity, status and capability icons. */
body:has(#team-directory) .list-view .person-card{--staff-list-inset:4px}
body:has(#team-directory) .list-view .person-identity{padding-left:0!important;margin-left:calc(var(--staff-list-inset) - 10px)}
body:has(#team-directory) .list-view .person-card>.person-list-capabilities{grid-column:2;grid-row:1;left:var(--staff-list-inset)}
@media(max-width:800px){body:has(#team-directory) .list-view .person-card{--staff-list-inset:7px}body:has(#team-directory) .list-view .person-identity{margin-left:calc(var(--staff-list-inset) - 13px)}}/* Keep conversation actions at the bottom of equal-height grid cards. */
#work-runs .work-card-footer{display:contents}
#work-runs.work-runs-grid .work-run{align-content:normal}
#work-runs.work-runs-grid .work-card-footer{display:flex;flex:1 0 100%;min-width:0;align-items:flex-end;justify-content:flex-end;gap:16px;align-self:flex-end;margin-top:auto;padding-top:12px}
#work-runs .work-card-footer .work-participant-faces{min-width:0;flex:0 1 auto}
#work-runs .work-card-footer .work-chat-button{flex-shrink:0}

/* Full notifications share the open page surface used by Conversations. */
#notifications-page > #workspace-activity.panel{border:0;background:transparent;box-shadow:none;border-radius:0;padding:0}

.explorer-body{position:relative;grid-template-columns:var(--library-sidebar-width,220px) minmax(0,1fr)}
.library-sidebar-resizer{position:absolute;left:calc(var(--library-sidebar-width,220px) - 4px);top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;z-index:2}
.library-sidebar-resizer:hover,.library-sidebar-resizer:focus-visible{background:#168be830;outline:2px solid #168be8;outline-offset:-2px}
@media(max-width:550px){.explorer-body{grid-template-columns:1fr}.library-sidebar-resizer{display:none}}
