.operations-task,.operations-materials{padding:20px;border:1px solid #62415c;border-radius:16px;background:#1a1221;margin:16px 0;color:#f2e4ef}.operations-task{display:grid;gap:12px}.operations-task h4{margin:0}.operations-task input,.operations-task textarea,.operations-task select{width:100%;min-height:44px}.operations-task .flow-check input,.operations-materials .flow-check input{width:20px;min-height:20px}.operations-warning{padding:14px;background:#392239;border-left:3px solid #e182ba;border-radius:10px;margin:16px 0}.operations-help,.operations-history,.operations-file-group{border-top:1px solid #543449;padding:12px 0;margin:10px 0}.operations-help summary,.operations-history summary,.operations-file-group summary{cursor:pointer;font-size:15px;color:#f2d7e9}.operations-file{display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,2fr);gap:10px;padding:18px 0;border-top:1px solid #4a3044;overflow-wrap:anywhere}.operations-file a{color:#efb8d9}.operations-file small,.operations-file>span{color:#d3bacd}.operations-chat-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;background:#221629;flex:none}.operations-chat-tools .btn{min-height:38px;font-size:13px;padding:7px 12px}.operations-claim{font-size:13px;color:#ead4e4}.operations-unread{color:#f4afd9;border-top:1px solid #db7cb6;text-align:center;padding:12px;font-size:13px}.operations-gallery,.operations-search-result{padding:16px;border-bottom:1px solid #62435b;display:grid;gap:10px;overflow-wrap:anywhere}.operations-gallery img,.operations-gallery video{max-width:100%;max-height:340px;object-fit:contain;border-radius:10px}.operations-gallery a{color:#f4b9df}.salary-progress{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0;padding:12px;background:#24182b;border-radius:12px}.salary-progress span{font-size:13px;color:#f0d3e6}.studio-translation small{display:block;margin-bottom:8px;color:#eab6d9}.portal-masked-access{letter-spacing:3px;color:#c191b6}.dashboard-action-row small{color:#f0badb}.dashboard-action-section .crm-quick{margin-bottom:12px}.operations-materials details[open]>summary{color:#efa6d2}@media(max-width:700px){.operations-task,.operations-materials{padding:14px}.operations-file{grid-template-columns:1fr}.operations-chat-tools{max-height:88px;overflow:auto;flex-wrap:nowrap;white-space:nowrap}.operations-chat-tools .btn{flex:none;min-height:42px}.operations-claim{min-width:180px;white-space:normal}.operations-chat-tools .operations-latest{position:sticky;left:0;z-index:2;background:#34213c}.salary-progress{display:grid;grid-template-columns:1fr 1fr}.flow-drawer .operations-task{padding:12px}input,textarea,select{font-size:16px}}

.operations-chat-menu{position:relative;order:3;margin-left:auto}.operations-chat-menu summary{cursor:pointer;list-style:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid #71536a;border-radius:10px;font-size:24px}.operations-chat-menu .operations-chat-actions{display:none;position:absolute;right:0;top:44px;background:#25192e;border:1px solid #725067;border-radius:12px;padding:10px;min-width:230px;box-shadow:0 12px 30px #08050b99;z-index:40}.operations-chat-menu[open] .operations-chat-actions{display:grid;gap:6px}.operations-chat-tools{overflow:visible}.operations-chat-tools .operations-latest{order:1}.operations-claim{order:2}.operations-chat-menu .btn{width:100%;text-align:left}@media(max-width:700px){.operations-chat-tools{max-height:none;gap:5px;padding:6px 10px}.operations-claim{min-width:0;flex:1;font-size:12px}.operations-chat-tools .operations-latest{font-size:12px;padding:6px}.operations-chat-menu{flex:none}.operations-chat-menu .operations-chat-actions{position:fixed;top:auto;right:12px;bottom:calc(env(safe-area-inset-bottom) + 76px);max-width:calc(100vw - 24px);max-height:40dvh;overflow:auto;white-space:normal}}
@media(max-width:700px){.chat-keyboard-open .operations-chat-menu .operations-chat-actions{bottom:auto;top:calc(var(--chat-visible-top,0px) + 100px);max-height:calc(var(--chat-visible-height,100dvh) - 150px)}}

.overview-panel>h3,.dashboard-action-section>h3{display:flex;align-items:center;gap:12px;justify-content:space-between}.dashboard-fold.btn{width:36px;height:36px;min-height:36px;padding:0;border:1px solid #60425a;background:transparent;border-radius:9px;flex:none}.dashboard-fold::after{content:'−';font-size:20px}.dashboard-fold[aria-expanded=false]::after{content:'+'}.dashboard-collapsed{min-height:0}.dashboard-collapsed>h3{margin-bottom:0}

/* Stable dashboard layout and readable team summary. */
.dashboard-fresh{margin:0 0 16px!important;justify-content:flex-end}
.dashboard-today>h3{position:relative;justify-content:center;text-align:center;padding-inline:44px}
.dashboard-today>h3>.dashboard-fold{position:absolute;right:0}
.dashboard-today>.overview-explanation{text-align:center;max-width:760px;margin-inline:auto}
.dashboard-today>.crm-quick{justify-content:center}
.dashboard-today>.crm-quick+div{width:100%;max-width:980px;margin-inline:auto}
.dashboard-today .flow-empty{width:100%;max-width:760px;margin-inline:auto;text-align:center;box-sizing:border-box}
.dashboard-fold.btn{display:grid!important;place-items:center!important;text-align:center!important;padding:0!important;line-height:1!important}
.dashboard-fold::after{display:block;line-height:1;text-align:center}
.dashboard-team-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(110px,.55fr) minmax(110px,.55fr) minmax(240px,1.5fr);gap:20px;align-items:center;padding:16px 0;border-top:1px solid #513349}
.dashboard-team-name.btn{width:100%;min-height:48px;white-space:normal;text-align:left;padding:12px 16px;font-size:16px;box-sizing:border-box}
.dashboard-team-stat,.dashboard-team-next{display:grid;gap:5px;min-width:0}
.dashboard-team-stat small,.dashboard-team-next small{color:#d7b9ce;font-size:13px}
.dashboard-team-stat strong{font-size:22px;font-weight:600}
.dashboard-team-next strong{font-size:15px;overflow-wrap:anywhere;font-weight:600}
.dashboard-team-next span{color:#f0dcea;font-size:14px}
.coverage-member-output{min-height:190px;box-sizing:border-box}
.overview-panel-0 table{table-layout:fixed!important}
.scroll-dock-hint{display:none!important}
@media(max-width:760px){.dashboard-team-row{grid-template-columns:1fr 1fr;gap:14px;padding:18px 0}.dashboard-team-name.btn{grid-column:1/-1}.dashboard-team-next{grid-column:1/-1;padding-top:8px;border-top:1px solid #42263c}.dashboard-today>h3{font-size:21px}.dashboard-fresh{justify-content:center}.dashboard-team-stat strong{font-size:20px}}

/* Client list uses page scrolling; actions never enlarge a row. */
.crm-output .flow-table-wrap{max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important}
.coverage-member-output,.overview-panel .coverage-member-output{max-height:none!important;overflow:visible!important}
.crm-actions-popup{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #c877ad70;border-radius:14px;background:#24172d;color:#f5e5f1;box-shadow:0 18px 60px #0009,0 0 24px #d766a81c;max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box;z-index:500}
.crm-actions-popup::backdrop{background:#10091738}
.crm-actions-popup .crm-action-menu{position:static;min-width:0;max-width:none;width:100%;box-sizing:border-box;border:0;background:transparent;box-shadow:none;padding:8px}
.crm-actions-popup .crm-action-menu .btn{display:flex;align-items:center;width:100%;min-height:44px!important;height:auto!important;padding:11px 13px!important;text-align:left!important;white-space:normal!important;line-height:1.4!important;border-radius:8px!important;margin:0!important}
.crm-actions-popup .btn:hover,.crm-actions-popup .btn:focus-visible{background:#44243e!important;color:#ffc2e6!important}
.crm-actions:not([open])>.crm-action-menu{display:none!important}
.crm-profile-heading{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:16px 24px!important;align-items:center!important;margin:8px 0 28px!important;padding-bottom:24px;border-bottom:1px solid #b7699838}
.crm-profile-heading>div:first-of-type{grid-column:2;min-width:0}
.crm-profile-heading h2{margin:0 0 8px!important;line-height:1.25!important;overflow-wrap:anywhere}
.crm-profile-heading>.crm-profile-team{grid-column:2;line-height:1.6;font-size:15px}
.crm-profile-heading>.portal-badge{justify-self:start}
.crm-profile-heading>.btn{margin:0!important;min-height:44px!important}
.crm-profile-heading>.btn.primary{grid-column:3;grid-row:1}
.crm-profile-heading>.crm-profile-logo{grid-column:1;grid-row:1;width:64px;height:64px}
.portal-detail-tabs{gap:10px!important;margin:0 0 28px!important;padding:10px 0 14px!important;border-bottom:1px solid #c579a638}
.portal-detail-tabs .btn{min-height:44px!important;padding:11px 16px!important}
.crm-profile-body{display:grid;gap:24px}
.crm-profile-body>.portal-card{padding:28px!important;margin:0!important;min-width:0;line-height:1.65}
.crm-profile-body .portal-card>h3{margin:28px 0 14px!important;font-size:21px!important;line-height:1.4}
.crm-profile-body .portal-card>h3:first-child{margin-top:0!important}
.crm-profile-body .portal-card>p{margin:12px 0 22px!important;max-width:900px}
.crm-profile-body dl{margin:22px 0!important;row-gap:16px!important;column-gap:28px!important}
.crm-profile-body dt,.crm-profile-body dd{line-height:1.6!important;overflow-wrap:anywhere}
.crm-profile-coverage{padding:24px!important;margin:28px 0!important;border-radius:14px;background:#1a1223!important}
.crm-profile-coverage h3{margin:0 0 10px!important;font-size:19px!important}
.crm-profile-body .portal-actions{display:flex;flex-wrap:wrap;gap:12px!important;margin-top:24px!important;padding-top:20px;border-top:1px solid #b9709f30}
.crm-profile-body .portal-actions .btn{margin:0!important;min-height:44px!important}
.crm-profile-body .portal-form{gap:20px!important}
.crm-profile-body label{line-height:1.6}
@media(max-width:760px){.crm-profile-heading{grid-template-columns:auto minmax(0,1fr)!important;gap:12px!important}.crm-profile-heading>.btn.primary{grid-column:2;grid-row:auto;justify-self:start}.crm-profile-heading>.crm-profile-team{grid-column:1/-1}.crm-profile-heading>.portal-badge{grid-column:1/-1}.crm-profile-heading>div:first-of-type{grid-column:1/-1}.crm-profile-heading>.crm-profile-logo+div{grid-column:2}.crm-profile-body>.portal-card{padding:20px!important}.crm-profile-coverage{padding:18px!important}.crm-profile-body dl{column-gap:16px!important}.portal-detail-tabs{margin-bottom:20px!important}.crm-output .flow-table-wrap{overflow:visible!important}}
.crm-profile-heading>div:first-of-type{grid-column:1/3;grid-row:1}
.crm-profile-heading>.crm-profile-logo+div{grid-column:2;grid-row:1}
.crm-profile-heading>.btn:not(.primary){grid-column:3;grid-row:1;justify-self:end}
.crm-profile-heading>.btn.primary{grid-column:3;grid-row:2;justify-self:end}
.crm-profile-heading>.portal-badge{grid-column:1;grid-row:2}
.crm-profile-heading>.crm-profile-team{grid-column:2;grid-row:2}
@media(max-width:760px){.crm-profile-heading>div:first-of-type{grid-column:1/-1;grid-row:2}.crm-profile-heading>.crm-profile-logo{grid-column:1;grid-row:2}.crm-profile-heading>.crm-profile-logo+div{grid-column:2;grid-row:2}.crm-profile-heading>.btn:not(.primary){grid-column:1/-1;grid-row:1;justify-self:start}.crm-profile-heading>.btn.primary{grid-column:1/-1;grid-row:5;justify-self:start}.crm-profile-heading>.portal-badge{grid-column:1/-1;grid-row:3}.crm-profile-heading>.crm-profile-team{grid-column:1/-1;grid-row:4}}

/* Compact overview, fixed coverage columns and calmer conversation rhythm. */
.dashboard-refresh{margin:0 0 0 auto!important;min-height:38px!important;flex:none;font-size:13px!important;padding:9px 14px!important}
.portal-main>.flow-title,.portal-main>header:has(.dashboard-refresh){display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important}
.dashboard-today{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);column-gap:32px;align-items:start}
.dashboard-today>h3{grid-column:1/-1;justify-content:space-between;text-align:left;padding:0 44px 14px 0!important;margin-bottom:18px!important;border-bottom:1px solid #b8699b30}
.dashboard-today>.overview-explanation{grid-column:1;grid-row:2;text-align:left;max-width:none;margin:0!important;line-height:1.65}
.dashboard-today>.crm-quick{grid-column:1;grid-row:3;justify-content:flex-start;margin:16px 0 0!important;gap:8px}
.dashboard-today>.crm-quick+div{grid-column:2;grid-row:2/4;width:100%;max-width:none;margin:0!important;padding-left:24px;border-left:1px solid #b56b982d;box-sizing:border-box}
.dashboard-today .flow-empty{text-align:left;margin:0!important;max-width:none;padding:18px!important}
.overview-panel .coverage-member-output{overflow:visible!important;max-height:none!important;padding:0!important}
.coverage-member-output .flow-table-wrap{max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important}
.overview-split .coverage-member-output table{min-width:1100px!important;table-layout:fixed!important;border-spacing:0 6px!important}
.overview-split .coverage-member-output th:first-child{width:300px!important}
.overview-split .coverage-member-output th:nth-child(2){width:180px!important}
.overview-split .coverage-member-output th:nth-child(3),.overview-split .coverage-member-output th:nth-child(4),.overview-split .coverage-member-output th:nth-child(5){width:115px!important}
.overview-split .coverage-member-output th:nth-child(6){width:150px!important}
.overview-split .coverage-member-output th:nth-child(7){width:150px!important}
body .overview-split .coverage-member-output .coverage-client-name{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box!important;padding:10px 12px!important}
.overview-split .coverage-member-output td{white-space:normal!important;overflow-wrap:anywhere;line-height:1.5!important}
.chat-screen-root .team-chat-log{justify-content:flex-start!important;gap:10px!important}
.chat-screen-root .team-chat-log>[data-message],.chat-screen-root .team-chat-log>.team-bubble{flex:0 0 auto!important;min-height:0!important;height:auto!important;margin-block:0!important;padding:12px 16px!important;border:1px solid #af63942b!important;border-radius:13px!important;background:#24182d!important;max-width:min(85%,880px)!important;position:relative!important}
.chat-screen-root .team-chat-log>[data-message] p{margin:6px 0!important;line-height:1.55!important}
.chat-screen-root .team-chat-log>[data-message] .message-menu{position:absolute!important;right:8px!important;top:8px!important;margin:0!important;min-height:0!important;padding:0!important;border:0!important}
.chat-screen-root .message-menu>summary{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;text-align:center!important;line-height:1!important;font-size:20px!important;border-radius:8px!important;box-sizing:border-box!important}
.chat-screen-root .team-chat-log>[data-message] .chat-message-author{padding-right:36px!important}
.chat-screen-root .team-chat-log>[data-message] .message-menu[open]{z-index:40}
.chat-screen-root .team-chat-panel>.message-menu{align-self:flex-end!important;margin:6px 16px!important;flex:none!important}
@media(max-width:760px){.dashboard-today{grid-template-columns:1fr;gap:0}.dashboard-today>.overview-explanation{grid-column:1;grid-row:2}.dashboard-today>.crm-quick{grid-column:1;grid-row:3}.dashboard-today>.crm-quick+div{grid-column:1;grid-row:4;border-left:0;border-top:1px solid #b56b982d;padding:16px 0 0;margin-top:16px!important}.chat-screen-root .team-chat-log>[data-message]{max-width:94%!important;padding:10px 12px!important}}

.focused-client-action form{display:grid;gap:16px;margin-top:24px}.focused-client-action label{padding:12px 14px;background:#211628;border:1px solid #b1699833;border-radius:10px}.focused-client-action .check{display:flex;gap:12px;align-items:center}.focused-client-action input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none}.focused-client-action input[type=date]{margin-top:8px}.task-result-count{font-size:14px;color:#c9aecb;margin:16px 0}.report-fold{margin:14px 0;padding:0!important;border:1px solid #bd6b9c45!important;border-radius:14px;background:#201628!important;overflow:hidden}.report-fold>summary{list-style:none;cursor:pointer;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(100px,.4fr) 24px;gap:18px;align-items:center;padding:18px 22px!important;min-height:64px;box-sizing:border-box}.report-fold>summary:after{content:'+';font-size:20px;text-align:center}.report-fold[open]>summary:after{content:'−'}.report-fold>summary strong{font-size:16px;overflow-wrap:anywhere}.report-fold>.portal-card{margin:0!important;border:0!important;border-top:1px solid #b46e9630!important;border-radius:0!important;padding:24px!important}.report-fold .portal-stats{gap:16px!important;margin:20px 0!important}.report-fold .portal-actions{gap:12px!important;flex-wrap:wrap}.report-fold .portal-actions .btn{margin:0!important;min-height:42px!important}@media(max-width:760px){.report-fold>summary{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px!important}.report-fold>summary>.portal-note{grid-column:1}.report-fold>summary:after{grid-column:2}.report-fold>.portal-card{padding:18px!important}}

/* Coverage shows about three rows with one local vertical scrollbar. */
.overview-panel .coverage-member-output{max-height:310px!important;overflow:auto!important;scrollbar-gutter:stable;scrollbar-color:#c45a9e #1a1120}
.overview-panel .coverage-member-output .flow-table-wrap{overflow:visible!important;max-height:none!important}
.coverage-member-output .flow-table thead{position:sticky;top:0;z-index:3}
.team-monthly-questionnaire{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;max-width:1000px;margin-inline:auto}
.team-monthly-questionnaire>.monthly-client-count{padding:14px 18px;background:#322038;border:1px solid #c176a64a;border-radius:12px;margin:0}
.monthly-client-step{padding:0!important;border:1px solid #c177aa44!important;border-radius:14px;overflow:hidden;background:#211528}
.monthly-client-step>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:17px;font-weight:600;padding:18px 22px!important;list-style:none}
.monthly-client-step>summary:after{content:'+';font-size:22px}.monthly-client-step[open]>summary:after{content:'−'}
.monthly-client-step fieldset{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0;padding:22px;border:0;border-top:1px solid #bc6c9e36;min-width:0}
.monthly-client-step legend{display:none}.monthly-client-step label:has(textarea){grid-column:1/-1}.monthly-client-step textarea{min-height:86px;line-height:1.6}.monthly-client-step label{display:grid;gap:9px}.monthly-client-step label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px;grid-column:1/-1}
@media(max-width:760px){.monthly-client-step fieldset{grid-template-columns:1fr;padding:16px}.overview-panel .coverage-member-output{max-height:310px!important}.monthly-client-step>summary{padding:16px!important}}
.workflow-guide{margin:20px 0;padding:16px 20px;border:1px solid #c077a348;border-radius:12px;background:#24182d}.workflow-guide summary{cursor:pointer;font-weight:600}.workflow-guide p{line-height:1.7;margin:14px 0}.team-monthly-questionnaire>.suite-actions{position:sticky;bottom:0;background:#1d1325;padding:16px;border-top:1px solid #b3699633;z-index:3}

/* Clear coverage metric and proportionate messaging layout. */
.flow-metrics .btn small{display:block;font-size:12px;color:#d2b7ce;margin-top:8px;line-height:1.4}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message]{width:fit-content!important;max-width:min(78%,740px)!important;min-height:0!important;flex:0 0 auto!important;padding:12px 44px 12px 54px!important;box-sizing:border-box!important;border-radius:13px!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message].chat-message-joined{padding-left:16px!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message] .chat-message-avatar{left:12px!important;top:12px!important;width:30px!important;height:30px!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message] .chat-message-author{padding-right:0!important;margin:0 0 4px!important;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message] p{margin:4px 0!important;font-size:15px!important;line-height:1.5!important}
body.portal-chat-screen .chat-screen-root .team-composer,body.portal-chat-screen .chat-screen-root .suite-composer{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;padding:12px 18px 12px 72px!important;min-height:76px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;border-radius:0!important}
body.portal-chat-screen .chat-screen-root .team-composer label,body.portal-chat-screen .chat-screen-root .suite-composer label{width:100%!important;max-width:none!important;margin:0!important;grid-column:1!important}
body.portal-chat-screen .chat-screen-root .team-composer textarea,body.portal-chat-screen .chat-screen-root .suite-composer textarea{height:48px!important;min-height:48px!important;max-height:140px!important;padding:12px 14px!important;box-sizing:border-box!important;border-radius:12px!important;line-height:22px!important;font-size:16px!important}
body.portal-chat-screen .chat-screen-root .team-composer button[type=submit],body.portal-chat-screen .chat-screen-root .suite-composer button[type=submit]{height:48px!important;min-height:48px!important;min-width:96px!important;align-self:center!important;padding:12px 16px!important;margin:0!important;font-size:14px!important}
body.portal-chat-screen .chat-screen-root .chat-plus-menu,body.portal-chat-screen.portal-chat-active .chat-screen-root .chat-plus-menu{position:absolute!important;left:18px!important;right:auto!important;bottom:16px!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important}
body.portal-chat-screen .chat-screen-root .chat-plus-menu>summary,body.portal-chat-screen.portal-chat-active .chat-screen-root .chat-plus-menu>summary{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;text-align:center!important;line-height:1!important;font-size:24px!important;box-sizing:border-box!important}
body.portal-chat-screen .chat-screen-root .chat-plus-menu>.chat-tools-items{left:0!important;right:auto!important;bottom:50px!important}
@media(max-width:760px){body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message]{max-width:94%!important;font-size:15px!important}body.portal-chat-screen .chat-screen-root .team-composer,body.portal-chat-screen .chat-screen-root .suite-composer{padding:10px 10px calc(10px + env(safe-area-inset-bottom)) 58px!important;gap:8px!important;min-height:68px!important}body.portal-chat-screen .chat-screen-root .team-composer button[type=submit],body.portal-chat-screen .chat-screen-root .suite-composer button[type=submit]{min-width:68px!important;padding:10px!important}body.portal-chat-screen .chat-screen-root .chat-plus-menu,body.portal-chat-screen.portal-chat-active .chat-screen-root .chat-plus-menu{left:10px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important}}

/* Clear action placement and breathing room across portal sections. */
.section-action-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;width:100%;margin-bottom:24px!important;flex-wrap:wrap}
.section-action-heading>.btn{margin:0 0 0 auto!important;flex:none;min-height:42px!important}
.section-action-heading>div{min-width:0;flex:1}.section-action-heading h2{margin:0!important}.section-action-heading p{margin:8px 0 0!important}
.overview-coverage>.coverage-hint{display:none!important}.coverage-toolbar-note{font-size:13px;line-height:1.5;color:#d8c0d4;flex:1;min-width:180px;margin-right:auto}.overview-coverage .flow-scroll-tools{display:flex;gap:18px;align-items:center;padding:12px 16px!important;margin:14px 0!important}.coverage-member-output .coverage-selection-count{padding:10px 12px!important;margin:0 0 10px!important}.coverage-member-output th,.coverage-member-output td{padding:14px 16px!important}.coverage-member-output td{overflow:hidden!important;text-overflow:ellipsis!important}
.member-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.member-profile-grid>.suite-card{padding:24px!important;margin:0!important;min-width:0}.member-profile-grid .suite-card>h3{margin:0 0 20px!important}.member-profile-grid .suite-card>.btn{margin:6px 10px 6px 0!important;min-height:42px!important}.member-profile-grid>.suite-card:nth-child(3),.member-profile-grid>.suite-card:nth-child(4){grid-column:1/-1}.member-profile-avatar{width:80px;height:80px;border-radius:16px;object-fit:cover;margin-bottom:18px}.member-profile-heading{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.member-profile-heading>.btn{margin:0!important}.member-profile-heading>div{flex:1}.flow-toolbar{gap:16px!important}.flow-toolbar label{min-width:140px;line-height:1.5}.flow-table th,.flow-table td{line-height:1.5!important;vertical-align:middle!important}.portal-main .suite-card label{line-height:1.6}.portal-main .suite-card textarea{line-height:1.6}.monthly-simulation>p{line-height:1.6}
@media(max-width:760px){.member-profile-grid{grid-template-columns:1fr;gap:18px}.member-profile-grid>.suite-card{grid-column:1!important;padding:18px!important}.section-action-heading{gap:14px!important}.section-action-heading>.btn{margin-left:0!important}.coverage-toolbar-note{min-width:0;font-size:12px}.overview-coverage .flow-scroll-tools{padding:10px!important;gap:12px}}

/* v35: stable chat geometry and one reusable onboarding link. */
.intake-link-card{margin-bottom:24px!important}.intake-link-bar{display:flex;gap:12px;align-items:stretch;min-width:0}.intake-link-value{flex:1;min-width:0;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;justify-content:flex-start!important;padding:14px 16px!important;background:#17111f!important;line-height:1.6!important}.intake-link-bar>.btn:last-child{flex:none;min-width:130px}.intake-demo-section{padding:24px 0;border-top:1px solid #bc579a35;margin-top:22px}.intake-demo-section h4{font-size:18px;line-height:1.5;margin:0 0 16px}.intake-demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;margin-top:16px}.intake-demo-grid>label{display:flex;flex-direction:column;gap:10px;min-width:0;font-size:14px;line-height:1.6}.intake-demo-grid input,.intake-demo-grid select,.intake-demo-grid textarea{width:100%;min-height:44px;box-sizing:border-box}.intake-demo-grid textarea{min-height:100px;resize:vertical}.intake-demo-wide{grid-column:1/-1}.intake-demo-options{display:flex;gap:12px 20px;flex-wrap:wrap}.intake-demo-options label{display:flex;align-items:center;gap:8px}.intake-demo-options input{width:18px;min-height:18px}.intake-demo-grid small{color:#c9b4ce;font-size:12px}.intake-received{margin-top:28px}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message],body.portal-chat-screen .chat-screen-root .suite-chat-log>[data-message-id]{transform:none!important;translate:none!important;scale:none!important;animation:none!important;transition:none!important;flex-shrink:0!important;overflow-anchor:none}
body.portal-chat-screen .chat-screen-root .chat-message-author{position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 12px!important;margin-bottom:7px!important;padding-right:0!important;min-height:22px!important}
body.portal-chat-screen .chat-screen-root .chat-message-author strong{display:inline!important;font-size:14px!important;line-height:1.5!important}
body.portal-chat-screen .chat-screen-root .chat-message-author time{display:inline-block!important;position:static!important;font-size:12px!important;line-height:1.5!important;color:#d9c4dc!important;margin:0!important;white-space:nowrap!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message]{padding-top:12px!important;padding-bottom:12px!important;padding-left:54px!important;padding-right:48px!important}
body.portal-chat-screen .chat-screen-root .message-menu>summary{opacity:1!important;background:#302038!important;border:1px solid #b578a547!important;transform:none!important;transition:background .15s!important}
body.portal-chat-screen .chat-screen-root .message-menu-items{position:absolute!important;z-index:60!important}
body.portal-chat-screen .chat-screen-root .team-chat-panel>.message-menu{position:absolute!important;right:16px!important;top:76px!important;margin:0!important;width:36px!important;height:36px!important}
body.portal-chat-screen .chat-screen-root .team-chat-panel{position:relative!important}
body.portal-chat-screen .chat-screen-root .chat-plus-menu:not(.chat-tools-menu){display:none!important}
body.portal-chat-screen .chat-screen-root .team-chat-log .btn,body.portal-chat-screen .chat-screen-root .suite-chat-log .btn{transform:none!important;translate:none!important;scale:none!important}
@media(max-width:700px){.intake-link-bar{flex-direction:column}.intake-demo-grid{grid-template-columns:1fr}.intake-demo-wide{grid-column:auto}.intake-demo-section{padding:18px 0}body.portal-chat-screen .chat-screen-root .team-chat-panel>.message-menu{right:10px!important;top:68px!important}}

/* v36: month > team member > real report; simulation is opt-in. */
.report-simulation-button{margin:4px 0 24px!important;min-height:42px!important}.report-browser{display:grid;gap:24px}.report-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-months>.btn,.report-member-grid>.btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;min-width:0;min-height:78px;text-align:left;padding:16px!important;background:#211728;border:1px solid #a65d8b35;border-radius:12px;white-space:normal}.report-months .btn strong,.report-member-grid .btn strong{font-size:15px;line-height:1.45}.report-months .btn span,.report-member-grid .btn span{font-size:12px;color:#cfb6cd;line-height:1.5}.report-months .btn[aria-pressed=true],.report-member-grid .btn[aria-pressed=true]{border-color:#ed83c7;background:#382039;box-shadow:0 0 14px #ef66b71a}.report-member-list{padding:22px;border:1px solid #a65d8b35;border-radius:14px;background:#1b1422}.report-member-list h3{margin:0 0 20px;text-transform:capitalize}.report-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-detail:empty{display:none}.report-detail .suite-card{margin:0!important;padding:24px!important}.report-detail p{line-height:1.7;margin:12px 0;overflow-wrap:anywhere}.report-empty{padding:20px;margin:0;border-left:2px solid #c46aa6;background:#231628;color:#d8c0d7}.report-archive>summary{cursor:pointer;padding:12px 0}.report-archive .report-months{margin-top:12px}.report-simulation-dialog{width:min(1000px,calc(100vw - 32px))!important;max-width:none!important;padding:24px!important;max-height:90dvh;overflow:auto}.report-simulation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.report-simulation-heading h3{margin:0}.report-simulation-dialog .suite-card{margin:0!important}.premium-menu-title{color:#e6c4dc;font-size:12px;font-weight:650;line-height:1.5;letter-spacing:.03em}.premium-menu-group{padding:12px!important;min-width:0}.premium-menu-group h4{margin:0 0 12px!important}.premium-menu-group button{min-height:40px!important;line-height:1.45!important}.flow-nav-main{gap:6px!important}.flow-metrics>.btn{display:flex;flex-direction:column;align-items:flex-start;gap:8px!important;min-width:0}.flow-metrics>.btn>span{line-height:1.5}.flow-metrics>.btn>small{display:block;line-height:1.6!important;font-size:12px;margin-top:0!important;overflow-wrap:anywhere}.overview-explanation{line-height:1.65!important;max-width:80ch}.overview-panel{padding:22px!important}.overview-panel>h3{line-height:1.5!important;gap:18px!important}.overview-worker-tasks{margin-top:20px;padding-top:18px;border-top:1px solid #a65d8b30}.overview-worker-tasks h4{margin:0 0 14px;font-size:16px}.flow-empty{line-height:1.6;padding:12px 0!important}.coverage-selection-count:has(+.flow-table-wrap table tbody tr:only-child td[colspan]){margin-bottom:0!important}
@media(max-width:1000px){.report-months{grid-template-columns:repeat(3,minmax(0,1fr))}.report-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.report-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-member-grid{grid-template-columns:1fr}.report-member-list{padding:16px}.report-simulation-dialog{padding:16px!important}.report-simulation-heading{gap:12px;align-items:flex-start}.overview-panel{padding:18px!important}.report-months>.btn{padding:12px!important;min-height:76px}}

/* Logged-in account on the right, other participants on the left. */
body.portal-chat-screen .chat-screen-root .team-chat-log,body.portal-chat-screen .chat-screen-root .suite-chat-log{display:flex!important;flex-direction:column!important;gap:12px!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message],body.portal-chat-screen .chat-screen-root .suite-chat-log>[data-message-id]{align-self:flex-start!important;margin:0!important;width:fit-content!important;max-width:min(80%,740px)!important;background:#2b2035!important;border:1px solid #ac79a337!important;border-radius:14px 14px 14px 4px!important;box-shadow:0 3px 12px #0002!important}
body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message].mine,body.portal-chat-screen .chat-screen-root .suite-chat-log>[data-message-id].mine{align-self:flex-end!important;background:#48263e!important;border:1px solid #d383b64f!important;border-radius:14px 14px 4px 14px!important}
body.portal-chat-screen .chat-screen-root .team-date,body.portal-chat-screen .chat-screen-root .chat-day-separator{align-self:center!important;flex:none!important}
body.portal-chat-screen .chat-screen-root .message-menu{right:8px!important;top:8px!important;width:32px!important;max-width:32px!important;min-width:32px!important;background:none!important}
body.portal-chat-screen .chat-screen-root .message-menu>summary{width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;line-height:1!important;box-sizing:border-box!important;text-indent:0!important;letter-spacing:0!important}
body.portal-chat-screen .chat-screen-root .message-menu>summary>svg{display:block!important;position:static!important;width:20px!important;height:20px!important;flex:none!important;margin:0!important;transform:none!important}
body.portal-chat-screen .chat-screen-root .message-menu-items{max-width:min(300px,calc(100vw - 50px))!important;min-width:min(220px,calc(100vw - 50px))!important;right:0!important;left:auto!important;top:38px!important}
body.portal-chat-screen .chat-screen-root [data-message]:not(.mine) .message-menu-items{left:-8px!important;right:auto!important}
@media(max-width:600px){body.portal-chat-screen .chat-screen-root .team-chat-log>[data-message],body.portal-chat-screen .chat-screen-root .suite-chat-log>[data-message-id]{max-width:92%!important}}

/* v37: focused task workspace. */
.tasks-quick-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.tasks-quick-tabs .btn{display:flex;align-items:center;gap:12px;padding:10px 14px!important;min-height:42px;background:#211628;border:1px solid #a96d9238;border-radius:10px}.tasks-quick-tabs strong{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;background:#39243b;border-radius:7px;font-size:12px}.tasks-quick-tabs [aria-pressed=true]{border-color:#db79b7;background:#42223b;box-shadow:0 0 12px #e375be15}.tasks-toolbar{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;position:relative}.tasks-toolbar>label:not([hidden]){flex:1 1 360px!important;max-width:580px;min-width:180px}.tasks-toolbar>label[hidden]{display:none!important}.tasks-toolbar>label>input{min-height:42px}.tasks-filter-panel,.tasks-toolbar .nav-saved-filters{position:relative;flex:0 0 auto;background:none;border:0;padding:0!important;margin:0!important}.tasks-filter-panel>summary,.tasks-toolbar .nav-saved-filters>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #a86b943d;border-radius:10px;background:#291c30;color:#efd7e7;cursor:pointer;min-height:42px;box-sizing:border-box;font-size:13px}.tasks-filter-panel>summary:after,.tasks-toolbar .nav-saved-filters>summary:after{content:'⌄';font-size:16px}.tasks-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;margin-top:12px;background:#22172c;border:1px solid #b477a14d;border-radius:12px;width:520px;max-width:calc(100vw - 64px);position:absolute;right:0;z-index:55;box-shadow:0 16px 45px #0007}.tasks-filter-grid>label{width:100%;min-width:0!important;display:grid;gap:10px;font-size:13px}.tasks-toolbar .nav-saved-filters[open]{padding:0!important}.tasks-toolbar .nav-saved-filters>select{width:260px!important;min-height:42px;margin-top:12px}.tasks-toolbar .nav-saved-filters>.btn{min-height:36px;margin:8px 5px 0 0!important}.tasks-toolbar>.btn[hidden]{display:none!important}.tasks-toolbar .nav-saved-filters[open]{flex:1 1 100%!important}.task-result-count{font-size:13px!important;color:#cdb6ce;margin:16px 0!important}.tasks-work-list{border:1px solid #9d608847;border-radius:14px;overflow:hidden;background:#1b1322}.tasks-list-heading,.tasks-work-row{display:grid;grid-template-columns:minmax(240px,2.1fr) minmax(160px,1.1fr) minmax(130px,.8fr) minmax(85px,.6fr) minmax(110px,.8fr) 96px;gap:20px;align-items:center;padding:16px 20px}.tasks-list-heading{background:#2c1e33;color:#d8b8d3;font-size:12px;font-weight:600}.tasks-work-row{border-top:1px solid #9d608828;min-height:86px;transition:background .15s}.tasks-work-row:hover{background:#291b2f}.tasks-work-row>div{min-width:0}.tasks-work-primary{display:grid;gap:8px}.task-title-link{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;display:block!important;text-align:left;font-size:15px!important;font-weight:650;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.tasks-work-primary small{font-size:12px;line-height:1.5;color:#c4acc7;overflow-wrap:anywhere}.tasks-assignee{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5}.tasks-avatar{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;background:#48233d;border:1px solid #b674a84a;border-radius:9px;color:#f3c7e4;font-size:11px}.tasks-deadline{display:grid;gap:6px;font-size:13px}.tasks-deadline small{color:#c7a9c3;font-size:12px}.tasks-deadline.task-late strong,.tasks-deadline.task-late small{color:#ffa7c7}.task-priority,.task-status{justify-self:start;padding:6px 9px;border-radius:7px;line-height:1.5;font-size:12px;border:1px solid #95648240;background:#2c2033}.task-priority-urgent{color:#ffd4e6;background:#652441;border-color:#b46383}.task-priority-high{color:#ecc2de;background:#46273e}.task-status-doing{color:#fac7e8;background:#4a2440}.task-status-review{color:#ffe2f5;background:#5a2c50}.task-status-done{color:#d4e8e0;background:#263a35}.task-status-blocked{color:#ffc7db;background:#59283b}.tasks-row-actions .btn{padding:8px 11px!important;min-height:36px!important;font-size:12px}.tasks-empty{padding:30px 24px;border:1px solid #a2699240;border-radius:14px;background:#1e1526}.tasks-empty h3{font-size:18px;margin:0 0 12px}.tasks-empty p{margin:0;color:#cbb2ca;line-height:1.6}
@media(max-width:1150px){.tasks-list-heading,.tasks-work-row{grid-template-columns:minmax(200px,1.7fr) minmax(140px,1fr) 116px 80px 100px 80px;gap:12px;padding:16px}.tasks-toolbar>label:not([hidden]){max-width:none}}
@media(max-width:900px){.tasks-list-heading{display:none}.tasks-work-list{border:0;background:none;overflow:visible;display:grid;gap:14px}.tasks-work-row{grid-template-columns:minmax(0,1fr) auto;border:1px solid #ac6c9340;border-radius:12px;background:#211629;padding:18px;gap:16px}.tasks-work-primary{grid-column:1/-1}.tasks-assignee{grid-column:1}.tasks-deadline{grid-column:2;text-align:right}.tasks-row-actions{grid-column:2;text-align:right}.task-priority{grid-column:1}.task-status{grid-column:1}.tasks-toolbar{flex-wrap:wrap}.tasks-toolbar>label:not([hidden]){flex-basis:100%!important;width:100%}.tasks-filter-panel{position:static}.tasks-filter-grid{right:12px;left:12px;width:auto;max-width:none}.tasks-quick-tabs{gap:8px}.tasks-quick-tabs .btn{font-size:12px;padding:9px 11px!important}}
@media(max-width:480px){.tasks-filter-grid{grid-template-columns:1fr;max-height:65dvh;overflow:auto}.tasks-toolbar .nav-saved-filters>select{width:100%!important}.tasks-work-row{padding:16px}.task-title-link{font-size:15px!important}}
/* Workspace 38: explicit context, balanced cards and consistent spacing. */
.workspace-filterbar{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0!important}.workspace-filterbar>h3{flex-basis:100%;margin:0}.workspace-filterbar>label{flex:1 1 180px;min-width:0}.workflow-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 14px}.workflow-tabs .btn{display:flex;align-items:center;gap:12px;padding:12px 16px!important}.workflow-tabs .btn[aria-pressed=true]{border-color:#ed4cab;background:#ed4cab14;box-shadow:0 0 18px #ed4cab12}.workflow-tabs strong{font-size:12px;opacity:.8}.workspace-description,.suite-sub{line-height:1.65;max-width:85ch}.workspace-empty{padding:28px!important;margin:20px 0;border:1px solid #c48aa42b;border-radius:16px;background:#251a2b;line-height:1.7}.workspace-empty h3{font-size:18px!important;margin:0 0 10px!important}.workspace-empty p{margin:0;max-width:75ch}.team-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}.team-workspace-card{padding:24px;border:1px solid #cc81ad38;border-radius:18px;background:linear-gradient(145deg,#2c1e33,#201724);min-width:0;box-shadow:0 8px 28px #0002}.team-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.team-workspace-head .team-profile-link{font-size:20px!important;text-align:left;background:none!important;padding:0!important;border:0!important}.team-account-state{font-size:12px;padding:6px 10px;border-radius:20px;background:#ffffff09}.team-contact-line{font-size:14px;overflow-wrap:anywhere;margin:10px 0 22px}.team-workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.team-workspace-metrics .btn{display:flex;flex-direction:column;gap:8px;padding:16px 10px!important;white-space:normal!important;text-align:center;min-width:0;min-height:100px}.team-workspace-metrics strong{font-size:26px}.team-workspace-metrics span{font-size:13px;line-height:1.4}.team-next-task{margin-top:22px;padding:18px 0;border-top:1px solid #d18bab24;border-bottom:1px solid #d18bab24;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.team-next-task small{font-size:13px}.team-next-task .btn{white-space:normal!important;text-align:left;line-height:1.5}.team-next-task p{margin:0;line-height:1.6}.team-leave-line{font-size:13px;line-height:1.6;margin:18px 0}.workspace-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.workspace-actions .btn{white-space:normal!important}.material-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.material-upload-grid .suite-card{margin:0!important;padding:16px!important;min-width:0}.operations-file-group{margin:14px 0!important}.operations-file-group>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px!important}.file-group-count{font-size:13px;padding:5px 10px;background:#ed4cab15;border-radius:12px}.operations-materials{margin:24px 0!important;padding:24px;border:1px solid #c48aa42b;border-radius:16px}.flow-fold>summary{padding:16px!important;line-height:1.5}.suite-card .suite-form{gap:18px}.suite-card+.suite-card{margin-top:20px}.suite-card p{line-height:1.65}.section-action-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.section-action-heading .btn{flex-shrink:0}
@media(max-width:900px){.team-workspace-grid{grid-template-columns:1fr}.material-upload-grid{grid-template-columns:1fr}.team-workspace-card{padding:20px}.workspace-filterbar{gap:12px}.workflow-tabs{gap:8px}.workflow-tabs .btn{font-size:13px!important;padding:10px 12px!important}}@media(max-width:480px){.team-workspace-metrics{gap:8px}.team-workspace-metrics .btn{padding:14px 6px!important}.team-workspace-head .team-profile-link{font-size:18px!important}.workspace-actions .btn{flex:1 1 130px}.workspace-empty{padding:20px!important}}
/* Stable conversation menu and administration detail views. */
.operations-chat-menu{flex:0 0 44px!important;width:44px!important;margin:0 0 0 auto!important;align-self:center!important;position:relative!important}.operations-chat-menu>summary{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;line-height:1!important;font-size:24px!important;overflow:hidden!important}.operations-chat-menu>summary:before,.operations-chat-menu>summary:after{display:none!important;content:none!important}.operations-chat-menu .operations-chat-actions{z-index:150!important;box-sizing:border-box;box-shadow:0 14px 38px #0008;gap:10px!important;padding:12px!important}.operations-chat-actions>.btn{min-height:40px!important;line-height:1.4!important;white-space:normal!important}.profile-saved-photo{width:112px;height:112px;object-fit:cover;border-radius:24px;border:1px solid #ed4cab66;margin:8px 0 18px}.delivery-list{display:grid;gap:12px;margin-top:20px}.delivery-row{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:12px 20px;padding:18px;border:1px solid #bd83ab32;border-radius:12px;background:#231829}.delivery-row small,.delivery-row details{grid-column:1/-1}.delivery-state{padding:5px 12px;background:#ed4cab14;border-radius:20px;font-size:13px}.account-security-card{max-width:620px;background:linear-gradient(135deg,#352037,#211727)!important;border-color:#ed4cab55!important;box-shadow:0 10px 35px #ed4cab0c}.account-security-card .portal-form{display:grid;grid-template-columns:1fr;gap:20px}.history-workspace{display:grid;gap:18px}.history-workspace .portal-card{margin:0!important}.portal-legacy .panel-view>h2{display:none!important}.studio-editor{grid-template-columns:minmax(220px,300px) minmax(0,1fr)!important;gap:24px!important}.studio-content-list{padding:14px!important;display:flex;flex-direction:column;gap:10px!important}.studio-content-list .btn{text-align:left!important;white-space:normal!important;line-height:1.6!important;padding:14px 16px!important}.studio-content-list .selected{border-color:#ed4cab!important;background:#ed4cab12!important}.studio-editor>section{padding:26px!important;min-width:0}.studio-preview{padding:22px!important;margin:16px 0 24px!important;border:1px solid #d895bd2d!important;border-radius:12px;line-height:1.8!important}.studio-fields{gap:20px!important}.studio-image-preview{max-height:340px;object-fit:contain;background:#180f21;border-radius:12px;padding:12px;box-sizing:border-box}.studio-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0!important}.pro-queue-item{padding:22px!important;margin:16px 0;border:1px solid #cc81ad38;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.portal-legacy .record{padding:24px;margin:16px 0;border:1px solid #cc81ad38;border-radius:14px}.portal-legacy pre{line-height:1.8;overflow-wrap:anywhere}.history-workspace .portal-card h3{font-size:18px!important}@media(max-width:700px){.studio-editor{grid-template-columns:1fr!important}.studio-content-list{max-height:240px;overflow:auto}.studio-editor>section{padding:20px!important}.delivery-row{padding:16px}.operations-chat-tools{padding:10px!important;min-height:60px!important;gap:12px!important}}
.activity-timeline{display:grid;gap:14px;margin:22px 0}.activity-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;padding:20px 24px;border:1px solid #bf7da63d;border-left:3px solid #ed4cab66;border-radius:14px;background:#25192c}.activity-entry strong{font-size:16px}.activity-entry p{margin:0}.activity-entry small{grid-column:2;grid-row:1/3;align-self:center;font-size:13px}.activity-entry span{font-size:13px;color:#dbc5d8}.history-workspace .portal-actions{justify-content:flex-start}.profile-photo-card .suite-form{margin-top:18px}@media(max-width:600px){.activity-entry{grid-template-columns:1fr;padding:18px}.activity-entry small{grid-column:1;grid-row:auto}.account-security-card{padding:20px!important}}
/* Payroll 41: aligned team cards and report-assisted statements. */
.team-workspace-card{display:flex;flex-direction:column}.team-workspace-head{min-height:38px}.team-contact-line{min-height:24px}.team-workspace-metrics{flex:none}.team-next-task{min-height:134px;box-sizing:border-box}.team-leave-line{min-height:42px}.team-workspace-card>.workspace-actions{margin-top:auto;padding-top:10px}.team-workspace-head .team-account-state{white-space:nowrap}.team-next-task>span{font-variant-numeric:tabular-nums}.operations-chat-menu>summary{display:flex!important;justify-content:center!important;align-items:center!important;text-indent:0!important}.operations-chat-menu>summary svg{display:block!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important;fill:currentColor;flex:none;transform:none!important}.salary-member-picker{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 24px}.salary-member-picker>.btn{padding:14px 20px!important;min-height:48px}.salary-member-picker>.btn[aria-pressed=true]{border-color:#ff68cf!important;background:#ff68cf15!important}.salary-report-source{padding:22px;border:1px solid #cc81ad38;border-radius:14px;background:#211627;margin:0 0 24px}.salary-report-source h3{margin:0 0 14px!important;font-size:18px!important}.salary-report-source p{margin:10px 0;line-height:1.7}.salary-source-hint,.salary-source-note{display:block;margin-top:12px;font-size:12px;line-height:1.6;white-space:normal;max-width:300px;color:#e5c9df}.salary-source-note{padding:10px;background:#ff68cf08;border-radius:8px}.salary-form .flow-table th{padding:16px!important;white-space:nowrap}.salary-form .flow-table td{padding:18px 16px!important;vertical-align:top!important}.salary-form .flow-table td:first-child{min-width:250px}.salary-form .flow-table td:nth-child(2){min-width:150px}.salary-form .flow-table td:nth-child(3){min-width:110px}.salary-summary{padding:20px!important;gap:20px!important;align-items:center!important;flex-wrap:wrap}.salary-summary strong{font-size:18px!important}.salary-summary span{font-size:21px!important;font-weight:700}.salary-sheet>.btn{margin:10px 12px 10px 0!important}.salary-form .flow-actions{gap:12px!important;margin:24px 0!important;flex-wrap:wrap}.salary-form label{display:block;line-height:1.6}.salary-form input,.salary-form select{min-height:44px;box-sizing:border-box}@media(max-width:700px){.team-next-task{min-height:0}.team-leave-line{min-height:0}.salary-report-source{padding:18px}.salary-member-picker .btn{flex:1 1 140px}.salary-form .flow-table td:first-child{min-width:220px}.salary-form .flow-table td{padding:14px!important}}
/* Purpose 42 — balanced actions, truthful empty states and monthly archives. */
.flow-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}.flow-metrics>.btn{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important;gap:12px!important;padding:22px!important;white-space:normal!important;min-height:190px;box-sizing:border-box;border-radius:16px!important}.flow-metrics>.btn strong{font-size:32px!important;line-height:1.15!important}.flow-metrics>.btn>span{font-size:14px!important;line-height:1.5!important;font-weight:650;min-height:42px}.flow-metrics>.btn small{font-size:12px!important;line-height:1.65!important;color:#d9c3df!important;display:block!important}.flow-metrics>.btn[data-metric=missing]{background:#271c30!important;border-color:#bd89ae55!important}.flow-metrics>.btn:hover{border-color:#f178c8!important;box-shadow:0 0 20px #ed4cab12!important}.purpose-guide{margin:20px 0 26px;border:1px solid #c17ca533;background:#231629;border-radius:14px;padding:0!important}.purpose-guide>summary{padding:17px 20px!important;cursor:pointer;font-weight:600;font-size:14px!important;line-height:1.6}.purpose-guide>p{margin:0 20px 18px;line-height:1.7;font-size:14px}.purpose-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0 20px 22px;margin:0}.purpose-fields>div{padding:16px;background:#ffffff04;border:1px solid #ffffff0a;border-radius:10px;min-width:0}.purpose-fields dt{font-weight:650;color:#ffd8f2;font-size:14px;margin-bottom:10px}.purpose-fields dd{margin:0;line-height:1.7;font-size:13px;color:#dac2de}.workspace-empty,.portal-empty{border-style:solid!important;line-height:1.75!important}.report-months>.btn{min-height:90px!important;align-items:flex-start!important;gap:12px!important;padding:18px!important;text-align:left!important}.report-detail{padding-top:22px}.suite-card>.btn,.portal-actions>.btn,.flow-actions>.btn{line-height:1.5!important;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.flow-toolbar label,.studio-fields label,.suite-form label{line-height:1.6}.flow-toolbar select,.suite-form select,.studio-fields select{padding-right:32px!important}.suite-error:not(:empty){padding:14px;border:1px solid #ef77b766;border-radius:10px;line-height:1.7}@media(max-width:1200px){.flow-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:750px){.flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flow-metrics>.btn{padding:18px!important;min-height:185px}.purpose-fields{grid-template-columns:1fr}.report-months>.btn{padding:15px!important}}@media(max-width:420px){.flow-metrics{gap:10px!important}.flow-metrics>.btn{padding:14px!important}.flow-metrics>.btn>span{font-size:13px!important}.flow-metrics>.btn small{font-size:12px!important}}
