.pa-launch{background:#155eef!important;color:#fff!important;border:1px solid #155eef!important;white-space:normal;margin-left:auto;align-self:flex-start;flex-shrink:0}.pa-launch:hover,.pa-launch:focus-visible{background:#124bca!important}.pa-dialog{width:min(900px,calc(100vw - 28px));max-height:92dvh;padding:24px;border:1px solid #d5dce5;border-radius:18px;color:#182d37;background:#fff;overflow:auto}.pa-dialog::backdrop{background:#15212d99}.pa-header{display:flex;justify-content:space-between;gap:16px;align-items:start}.pa-header h2{margin:0;font-size:25px}.pa-header p{margin:6px 0 0;color:#586676}.pa-explainer,.pa-privacy,.pa-knowledge{font-size:13px;line-height:1.5}.pa-privacy{color:#586676}.pa-log{display:grid;gap:14px;max-height:45dvh;min-height:100px;overflow:auto;padding:16px;background:#f4f7fb;border-radius:12px;overscroll-behavior:contain}.pa-message{padding:14px;background:white;border:1px solid #dbe3ed;border-radius:10px;overflow-wrap:anywhere}.pa-message strong{display:block;margin-bottom:8px}.pa-message div{white-space:pre-wrap;line-height:1.6}.pa-client{margin-left:24px;background:#eef4ff}.pa-form{margin-top:16px}.pa-actions,.pa-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px}.pa-quota,.pa-bottom small,.pa-hint{color:#586676;font-size:12px}.pa-status{color:#334960;font-size:13px}.pa-error{color:#a62929;font-size:13px}.pa-bottom{border-top:1px solid #dbe3ed;padding-top:14px}.pa-dialog textarea{width:100%;resize:vertical}.pa-dialog button:disabled{opacity:.55}@media(max-width:600px){.pa-dialog{padding:16px;max-height:94dvh}.pa-bottom{align-items:stretch;flex-direction:column}.pa-log{max-height:40dvh}.pa-client{margin-left:8px}.pa-actions{align-items:end}.project-card-heading .pa-launch{font-size:12px}}

.project-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto;max-width:100%}.project-header-actions>.button{font-size:12px;padding:9px 12px;white-space:nowrap}.project-header-actions .pa-launch{margin-left:0}.project-delete-button,.project-danger-confirm{background:#b42318!important;color:#fff!important;border:1px solid #b42318!important}.project-delete-button:hover,.project-danger-confirm:hover{background:#8f1c13!important}.project-delete-button:focus-visible,.project-danger-confirm:focus-visible{outline:3px solid #fda29b;outline-offset:2px}.project-delete-status{color:#b42318;font-size:13px;margin:8px 0}.project-delete-dialog{width:min(620px,calc(100vw - 28px));padding:26px;max-height:90dvh;overflow:auto;border:2px solid #b42318;border-radius:16px;color:#182d37;background:#fff}.project-delete-dialog::backdrop{background:#15212d99}.project-delete-dialog h2{color:#b42318;margin-top:0}.project-delete-dialog p{line-height:1.6}.project-delete-warning{padding:14px;border:1px solid #fda29b;border-radius:10px;background:#fff1f0;color:#912018}.project-delete-confirm-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}@media(max-width:600px){.project-header-actions{gap:6px}.project-header-actions>.button{font-size:11px;padding:8px 6px}.project-delete-dialog{padding:18px}.project-delete-confirm-actions{flex-direction:column-reverse}.project-delete-confirm-actions>.button{width:100%}}

@media(max-width:600px){.project-header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.project-header-actions:not(:has(.project-delete-button)):not(:has(.project-archive-button)){grid-template-columns:repeat(2,minmax(0,1fr))}.project-header-actions>.button{min-width:0;white-space:normal;height:100%;text-align:center}}

/* Keep the expert identity and review actions together, including when folded. */
.client-dashboard .project-expert-card>.project-expert-fold-bar{display:block;min-height:0;margin:0 0 12px}.project-expert-fold-bar>.card-fold-title{display:none!important}.project-expert-fold-bar>.project-expert-top{align-items:flex-start;margin:0;gap:12px}.project-expert-fold-bar .project-expert-heading{align-items:flex-start}.project-expert-name-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px}.project-expert-name-row h4{margin:0!important}.client-dashboard .project-expert-card .project-expert-name-row>.project-linkedin{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:auto!important;padding:3px 5px;min-height:0;flex:0 0 auto;line-height:1}.project-expert-name-row .linkedin-logo{margin:0}.project-expert-name-row .project-profile-arrow{font-size:12px}.project-expert-fold-bar .project-expert-top-controls{flex:1 1 300px;gap:8px}.project-expert-fold-bar .top-review-actions{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;justify-content:flex-end;gap:8px;margin:0}.client-dashboard .project-expert-card .project-expert-fold-bar .top-review-actions>button{width:auto!important;flex:0 0 auto;white-space:nowrap;font-size:12px;padding:7px 10px;min-height:32px}.project-expert-card.is-card-folded>.project-expert-fold-bar{margin:0}.project-expert-card.is-card-folded .project-expert-fold-bar .project-top-action-row{display:none}@media(max-width:680px){.project-expert-fold-bar .project-expert-top-controls{flex-basis:100%}.project-expert-fold-bar .top-review-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.client-dashboard .project-expert-card .project-expert-fold-bar .top-review-actions>button{min-width:0;white-space:normal;font-size:11px;padding:7px 5px}}

.project-expert-call-history{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 5px}.project-called-link{display:inline-flex;align-items:center;border:1px solid #bed3fc;border-radius:6px;background:#edf4ff;color:#164c9f;padding:3px 7px;font:700 11px/1.35 system-ui;cursor:pointer;text-align:left}.project-called-link:hover,.project-called-link:focus-visible{background:#dceaff;border-color:#155eef;outline-offset:2px}

.project-expert-fold-bar .project-expert-heading{flex-wrap:nowrap}.project-expert-fold-bar .project-expert-identity{flex:1 1 0;min-width:0}.project-called-link{max-width:100%;white-space:normal}

/* One compact, non-wrapping toolbar; small screens can scroll it sideways. */
.client-dashboard .project-expert-card:not(.approved) .project-expert-top-controls{flex:1 1 0;min-width:0;max-width:100%}.project-expert-fold-bar .project-expert-toolbar{display:flex!important;flex-wrap:nowrap!important;gap:6px;overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;padding-bottom:3px;scrollbar-width:thin;justify-content:flex-start}.client-dashboard .project-expert-card .project-expert-fold-bar .project-expert-toolbar>button{width:auto!important;flex:0 0 auto;white-space:nowrap!important;font-size:12px;padding:7px 9px;min-height:32px}.project-expert-toolbar .client-project-message{display:inline-flex;align-items:center;justify-content:center;gap:5px}.project-expert-toolbar .project-mail-icon{flex:none}.client-dashboard .project-ai-fit>.project-ai-fit-heading{margin-bottom:8px}

.project-expert-fold-bar .project-expert-toolbar{flex-direction:row!important}

.project-expert-fold-bar .project-expert-toolbar{border:0!important;border-radius:0;background:transparent;padding:2px 0 4px!important;min-height:0;box-shadow:none}

.client-archived-projects{margin-top:16px;padding:12px 14px;border:1px solid #d9e6de;border-radius:12px;background:#f7f9f7}.client-archived-projects>summary{cursor:pointer;font-weight:700}.client-archived-project{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #d9e6de}.client-archived-project strong{min-width:0;overflow-wrap:anywhere}.client-archived-project>.button{flex:none;font-size:12px}@media(max-width:500px){.client-archived-project{align-items:flex-start}.client-archived-project>.button{max-width:130px;white-space:normal}}

/* Compact client call history: headings and controls share their existing row. */
.client-dashboard .client-compact-fold-bar{display:flex;align-items:flex-start;gap:8px;min-height:0;margin:0 0 8px;padding:0}
.client-dashboard .client-compact-fold-bar>.card-fold-title{display:none!important}
.client-dashboard .client-compact-fold-bar>.card-fold-toggle{flex:none;margin:0}
.client-dashboard .client-compact-fold-bar>.client-section-heading,.client-dashboard .client-compact-fold-bar>.call-summary-heading,.client-dashboard .client-compact-fold-bar>.client-call-heading{flex:1;min-width:0;margin:0;padding:0}
.client-dashboard .client-call-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.client-dashboard .client-call-heading h3,.client-dashboard .call-summary-heading h3,.client-dashboard .client-section-heading h2{margin:0}
.client-dashboard .client-call-heading .eyebrow{margin:0 0 3px}
.client-dashboard .client-call-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.client-dashboard .client-call-card{display:block;padding:12px}
.client-dashboard .client-call-content>p{margin:6px 0}
.client-dashboard .shared-call-summary{margin-top:8px;padding:10px}
.client-dashboard .call-summary-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.client-dashboard .client-call-files{margin:6px 0}
.client-dashboard .client-file-row{display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin:0;padding:6px 0}
.client-dashboard .client-file-row>*{flex:none;white-space:nowrap}
.client-dashboard .client-file-row .button,.client-dashboard .client-file-row summary{font-size:12px;padding:6px 8px;min-height:0;margin:0}
.client-dashboard .client-file-row .call-inline-preview{margin:0;width:auto;min-width:0}
.client-dashboard .client-file-row audio{display:block;width:260px;margin-top:6px}
.client-dashboard .client-calls-panel>.client-section-heading{margin:0 0 8px}

/* One action line, including Collapse, for each client call. */
.client-dashboard .client-call-heading{display:flex;flex-wrap:nowrap;align-items:center}
.client-dashboard .client-call-heading>.client-call-actions{display:flex;flex-direction:row!important;align-items:center;flex-wrap:nowrap;gap:6px;overflow-x:auto;max-width:100%;padding:6px 0 2px;margin:0}
.client-dashboard .client-call-actions>*{flex:none;white-space:nowrap}
.client-dashboard .client-call-actions>.card-fold-toggle{margin-left:auto}
.client-dashboard .client-call-actions .la-launch{margin:0}

.calendar-expert-preview{box-sizing:border-box;position:fixed;z-index:10000;width:340px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;padding:14px;background:#fff;border:1px solid #cbd5df;border-radius:12px;box-shadow:0 8px 28px #152b4530;color:#202c39;font:14px/1.45 system-ui,sans-serif;text-align:left}
.calendar-expert-preview[hidden]{display:none}
.calendar-expert-preview-top{display:flex;align-items:center;gap:12px}
.calendar-expert-preview-top .expert-avatar{flex:none;width:68px;height:68px}
.calendar-expert-preview-top strong{font-size:16px}
.calendar-expert-preview p{margin:5px 0 0}
.calendar-expert-preview .calendar-expert-preview-summary{margin-top:10px;white-space:pre-line}
.calendar-expert-preview .calendar-expert-preview-hint{font-size:12px;color:#617080;margin-top:10px}
.calendar-expert-name{display:block;font-weight:600}

.project-colleagues-dialog .project-call-colleague-list{display:grid;gap:8px;margin-top:14px}
.project-colleagues-dialog .project-call-colleague-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.project-colleagues-dialog .project-call-colleague-row .button{min-width:140px}

/* Inline brief editing and compact client card headers. */
.project-overview-title{display:inline-flex;align-items:center;gap:8px}
.project-brief-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:5px;border:1px solid #c5d6cb;border-radius:6px;background:#fff;color:#174c37;cursor:pointer}
.project-brief-toggle:hover{background:#edf4ef}.project-brief-toggle:focus-visible{outline:2px solid #155eef;outline-offset:2px}.project-brief-toggle:disabled{opacity:.5}
.project-brief-form[hidden],.project-brief-display[hidden]{display:none!important}
.project-brief-form textarea{box-sizing:border-box;width:100%;resize:vertical}
.project-expert-fold-bar>.project-expert-top{display:flex;flex-wrap:nowrap;justify-content:space-between}
.project-expert-fold-bar .project-expert-heading{flex:0 1 280px;min-width:150px}
.project-expert-fold-bar .project-expert-top-controls{min-width:0;margin-left:auto}
.project-expert-fold-bar .project-expert-toolbar{justify-content:flex-end}
.client-dashboard .client-call-heading>div:first-child{flex:1 1 220px;min-width:0}
.client-dashboard .client-call-heading>.client-call-actions{flex:0 1 auto;min-width:0;padding:0;justify-content:flex-end}
.client-dashboard .client-call-actions>.button{flex:0 0 auto;min-height:32px;padding:7px 9px;font-size:12px}
.client-dashboard .client-call-actions>.la-launch{flex:0 1 215px;white-space:normal;text-align:center}
.client-expert-name-row{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.client-expert-name-row>.project-linkedin{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;min-height:0;line-height:1}
.client-expert-name-row .linkedin-logo{margin:0}.client-expert-name-row .project-profile-arrow{font-size:12px}
@media(max-width:800px){.project-expert-fold-bar>.project-expert-top{flex-wrap:wrap}.client-dashboard .project-expert-card:not(.approved) .project-expert-top-controls{flex-basis:100%}.project-expert-fold-bar .project-expert-toolbar{justify-content:flex-start}.client-dashboard .client-call-heading{flex-wrap:wrap}.client-dashboard .client-call-heading>.client-call-actions{flex-basis:100%;justify-content:flex-start;overflow-x:auto}.client-dashboard .client-call-actions>.la-launch{flex:0 0 215px}}

/* The client preview adds only one coordinator control, beside the brand. */
.site-header>#return-to-coordinator{margin-left:18px;margin-right:auto;flex:0 0 auto}
.site-header:has(>#return-to-coordinator)>.header-actions{margin-left:auto}
@media(max-width:720px){.site-header>#return-to-coordinator{margin-left:0;font-size:11px;padding:7px 9px}.site-header:has(>#return-to-coordinator){flex-wrap:wrap;gap:10px}}

/* Use the screen width while keeping calendar controls inside the card border. */
#app.shell{max-width:none;width:100%;padding:20px clamp(14px,1.25vw,24px)}
.site-header{padding-inline:clamp(14px,1.25vw,24px)}
.client-dashboard{width:100%;max-width:none;margin:0;grid-template-columns:minmax(0,1fr)}
.client-calendar-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:14px;min-width:0;padding:20px}
.client-calendar-panel>.card-fold-bar{grid-column:2;grid-row:1;align-self:start;margin:0;min-width:0}
.client-calendar-panel>.dashboard-top{grid-column:1;grid-row:1;min-width:0}
.client-calendar-panel>.dashboard-top>div{min-width:0}
.client-calendar-panel>.month-calendar,.client-calendar-panel>.calendar-legend{grid-column:1/-1;min-width:0;max-width:100%}
.client-calendar-panel>.calendar-legend{margin-top:0}
.client-calendar-panel .month-controls strong{min-width:0;white-space:normal}
.client-dashboard-top{min-width:0;flex-wrap:wrap}
.client-dashboard-top>.ticker-research-search{min-width:0;max-width:100%}
@media(max-width:760px){#app.shell{padding-block:14px}.client-calendar-panel{padding:16px;gap:12px}.client-calendar-panel>.month-calendar{overflow-x:auto}.client-dashboard-top>.ticker-research-search label{min-width:0;max-width:100%}.client-dashboard-top>.ticker-research-search .button{max-width:100%;white-space:normal}}

/* Project ordering controls leave room for additional sort choices. */
.project-list-sort{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-left:auto}
.project-list-sort>span{font-size:12px;color:var(--muted);white-space:nowrap}
.project-list-sort>.button{font-size:12px;min-height:32px;padding:7px 10px;white-space:nowrap}
.project-list-sort>.button[aria-pressed="true"]{background:#e7f0e9;border-color:#53745d;color:#174c37}
.client-section-heading:has(.project-list-sort){flex-wrap:wrap}
.project-priority-control{display:block;flex:0 0 auto;min-width:0}
.project-header-actions .project-priority-select{width:auto;max-width:180px;min-height:34px;padding:7px 9px;font-size:12px;cursor:pointer;background:#fff}
.project-priority-status{color:#a62929;font-size:12px}.project-priority-status:empty{display:none}
@media(max-width:600px){.project-header-actions:has(.project-priority-control){grid-template-columns:repeat(2,minmax(0,1fr))}.project-header-actions .project-priority-select{width:100%;max-width:100%;height:100%;font-size:11px}.project-list-sort{justify-content:flex-start;margin-left:0}.client-section-heading:has(.project-list-sort){gap:10px}.project-list-sort>.button{font-size:11px;padding:6px 8px}}

.project-header-actions .client-project-delete-button{order:3}
@media(max-width:500px){
  .client-archived-project:has(.client-project-delete-button){flex-wrap:wrap;justify-content:flex-start}
  .client-archived-project:has(.client-project-delete-button)>strong{flex:1 0 100%}
}
