.planning-modal__card--configure { width:min(1080px,calc(100vw - 32px)); max-width:1080px; }
.planning-edit-choice-grid--three { gap:20px; padding:24px; }
.planning-edit-choice-grid--three .planning-edit-choice { padding:24px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.planning-edit-choice span { line-height:1.5; }
.workflow-manual button.planning-region-list-item { display:flex !important; width:100%; text-align:left; cursor:pointer; }
.workflow-manual .planning-operations-grid[hidden] { display:none !important; }
.workflow-start-stop,.workflow-industry-setup__buttons { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:0; border-block:1px solid #e1e5e2; }
.workflow-start-stop button,.workflow-industry-setup__buttons button { min-height:64px; border:0; border-radius:0; background:#fff; color:#087d55; font-weight:600; }
.workflow-start-stop button+button,.workflow-industry-setup__buttons button+button { border-left:1px solid #e1e5e2; color:#a23b32; }
.workflow-start-stop button:disabled,.workflow-industry-setup__buttons button:disabled { color:#a6aaa7; background:#fafbfa; cursor:not-allowed; }
.workflow-start-stop { grid-template-columns:repeat(3,minmax(0,1fr)); }
.workflow-start-stop button { min-width:0; padding:10px 6px; overflow-wrap:anywhere; }
.workflow-start-stop .workflow-configure { color:#263d32; }
.workflow-map-summary { min-height:156px; padding:20px 24px; border-top:1px solid #e4e8e5; width:100%; box-sizing:border-box; }
.workflow-map-summary h4 { margin:0 0 16px; font-size:15px; }
.workflow-map-summary dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; margin:0; }
.workflow-map-summary dt { font-size:12px; color:#69756e; overflow-wrap:anywhere; }
.workflow-map-summary dd { margin:4px 0 0; font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.app-content--with-sidebar:has(.planning-flow-shell--industry) { padding:16px 16px 24px; }
.planning-flow-shell--industry { margin-top:0 !important; }
.planning-flow-shell--industry .planning-flow-topbar { padding:17px; }
.planning-flow-shell--industry .workflow-industry-control { align-content:start; padding:25px; }
@media(max-width:640px) {
 .app-content--with-sidebar:has(.planning-flow-shell--industry) { padding:10px; }
 .planning-flow-shell--industry .planning-flow-topbar,
 .planning-flow-shell--industry .workflow-industry-control { padding:10px; }
}
.workflow-start-confirm-actions { display:flex; justify-content:space-between; gap:20px; margin-top:20px; }
.workflow-control-sections { min-width:0; border:1px solid #e1e5e2; border-radius:0; }
.workflow-control-sections > * { margin:0; border-top:0; }
.workflow-control-sections button { border-radius:0 !important; }
.workflow-control-sections .workflow-start-stop,
.workflow-control-sections .workflow-industry-setup__buttons { border:0; border-bottom:1px solid #e1e5e2; }
.workflow-control-sections .workflow-industry-setup { gap:0; }
.workflow-control-sections .workflow-campaign-setup-link { padding:12px 18px; border-bottom:1px solid #e1e5e2; border-radius:0; }
.workflow-control-sections .workflow-industry-metrics { border-top:0; }
.workflow-control-sections .workflow-campaign-strip { border:0; }
.workflow-control-sections .workflow-autopilot__journey { border-top:0; }
.workflow-control-sections .workflow-estimate-progress { padding:12px 18px; border-bottom:1px solid #e1e5e2; }
.workflow-control-sections .workflow-industry-metrics div { padding:12px 18px; }
.workflow-industry-actions { width:100%; display:block; }
.workflow-industry-setup { width:100%; max-width:none; }
.workflow-autopilot__journey { display:grid; grid-template-columns:1fr; gap:0; width:100%; padding:0; }
.workflow-autopilot__journey>div { display:grid; grid-template-columns:130px minmax(0,1fr); padding:12px 18px; gap:12px; border-bottom:1px solid #e8ece9; min-width:0; }
.workflow-autopilot__journey strong { overflow-wrap:anywhere; font-size:13px; line-height:1.5; }
.workflow-estimate-progress { padding:12px 18px; font-size:12px; }
.workflow-estimate-progress progress { display:block; width:100%; height:6px; margin-top:8px; accent-color:#16a575; }
.workflow-poland-map text { pointer-events:none; text-anchor:middle; fill:#89918c; font-size:5.28px; font-weight:500; paint-order:stroke; stroke:#fff; stroke-width:1px; stroke-linejoin:round; }
.workflow-poland-map text tspan { text-anchor:middle; dominant-baseline:central; }
.workflow-poland-map .workflow-map-label--sending { fill:#086447; font-size:5px; font-weight:400; stroke-width:.5px; }
.workflow-poland-map .workflow-map-label--scraping,
.workflow-poland-map .workflow-map-label--acquired { fill:#816421; font-size:5px; font-weight:400; stroke-width:.5px; }
.workflow-poland-map .workflow-map-label--complete { fill:#526576; font-size:6px; stroke-width:.5px; }
.workflow-poland-map .workflow-poland-map__region--sending { fill:#19ed88; stroke:#12a36b; }
.workflow-poland-map .workflow-poland-map__region--scraping { fill:#f7f02b; stroke:#bbb52c; }
.workflow-poland-map .workflow-poland-map__region--selected { stroke:#086447; }
.workflow-industry-map-legend span[data-tone=sending]::before { background:#19ed88; border-color:#12a36b; }
.workflow-industry-map-legend span[data-tone=scraping]::before { background:#f7f02b; border-color:#bbb52c; }
.workflow-poland-map .workflow-poland-map__region--working { animation:region-working 2.4s ease-in-out infinite; }
@keyframes region-working { 0%,100% { fill-opacity:.7; } 50% { fill-opacity:.5; } }
.workflow-poland-map .workflow-poland-map__region--working.workflow-poland-map__region--scraping { animation-name:region-acquiring; }
@keyframes region-acquiring { 0%,100% { fill-opacity:.7; } 50% { fill-opacity:.5; } }
@media(prefers-reduced-motion:reduce) { .workflow-poland-map .workflow-poland-map__region--working { animation:none; } }
.blocks-command__main--merged { display:grid !important; grid-template-columns:minmax(240px,1fr) minmax(300px,1fr); align-items:center; gap:24px; padding:22px !important; text-align:left !important; }
.blocks-command__heading { justify-content:flex-start !important; text-align:left !important; margin:0 !important; }
.blocks-command__heading h3 { font-size:18px; }
.blocks-command__filters--inline { width:100% !important; max-width:none !important; margin:0 !important; }
.blocks-filter-grid { grid-template-columns:minmax(0,1fr) auto !important; align-items:end; }
.mailbox-ops-row { grid-template-columns:minmax(180px,1.3fr) minmax(140px,.8fr) minmax(210px,1.2fr) auto !important; border-left:1px solid #e2e5e3 !important; }
.mailbox-ops-row__owner { display:grid; gap:6px; min-width:0; overflow-wrap:anywhere; }
.mailbox-ops-row__owner>span { font-size:11px; color:#68706a; }
.mailbox-ops-metrics { grid-template-columns:1fr 1fr !important; }
.display-user { }
strong.display-user { display:inline-block; }
td.display-user { text-transform:capitalize; }
.display-user::first-letter { text-transform:uppercase; }
.signature-library { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:0; }
.signature-library__item,.signature-library__add { min-height:80px; padding:16px; border:1px solid #dfe5e1; border-radius:6px; display:flex; justify-content:space-between; align-items:center; gap:12px; min-width:0; }
.signature-library__item strong { overflow-wrap:anywhere; }
.signature-library__add { justify-content:center; color:#68736c; background:#f7f9f8; border-style:dashed; }
.signature-library__add--empty { animation:signature-attention 3s ease-in-out infinite; }
@keyframes signature-attention { 50% { background:#edf5ef; border-color:#78a58b; } }
.signature-dialog__card { width:min(940px,calc(100vw - 32px)); max-width:940px; max-height:90vh; overflow:auto; }
.signature-dialog__preview { min-height:180px; width:100%; }
.mailbox-tempo-grid { margin:0; padding:0; border:0; }
.mailbox-tempo-grid:disabled input { background:#f1f3f2; color:#747b76; cursor:not-allowed; }
.delivery-observer__metrics { border-block:1px solid #e4e8e5; padding:16px 0; }
.delivery-observer__columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px; }
.delivery-observer__columns section { min-width:0; }
.delivery-observer__columns h4 { font-size:14px; margin-bottom:12px; }
.delivery-observer__state { font-size:14px; padding-top:16px; }
.campaign-ai textarea { min-height:170px; }
.campaign-ai-trigger--new { animation:ai-attention 3s ease-in-out infinite; }
@keyframes ai-attention { 50% { background:#f0e8fa; color:#70449c; border-color:#b899d4; } }
.campaign-ai-review { display:grid; gap:10px; margin-top:16px; }
.campaign-ai-review__row { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:start; gap:12px; padding:14px; border:1px solid #e4e6e5; border-radius:6px; }
.campaign-ai-review pre { white-space:pre-wrap; font:inherit; margin:0; }
.campaign-ai-review small { color:#607365; }
.campaign-ai-context { font-size:12px; color:#626e66; overflow-wrap:anywhere; }
.campaign-ready { padding:32px 0; }
.campaign-ready h3 { margin-bottom:12px; }
.campaign-ready button { margin-top:16px; }
.campaign-ai-busy-shield { position:fixed; inset:0; z-index:10000; background:rgba(255,255,255,.78); display:grid; place-items:center; }
.campaign-ai-busy-shield>div { display:grid; gap:14px; width:min(420px,90vw); padding:28px; border:1px solid #dce3df; border-radius:8px; background:white; }
.campaign-ai-busy-shield progress { width:100%; accent-color:#9465b8; }
@media(max-width:760px) {
 .planning-edit-choice-grid--three,.blocks-command__main--merged,.delivery-observer__columns { grid-template-columns:1fr !important; }
 .mailbox-ops-row { grid-template-columns:1fr 1fr !important; }
 .signature-library { grid-template-columns:1fr; }
 .campaign-ai-review__row { grid-template-columns:20px minmax(0,1fr); }
 .campaign-ai-review small { grid-column:2; }
}
@media(prefers-reduced-motion:reduce) { .signature-library__add--empty,.campaign-ai-trigger--new { animation:none; } }
.campaign-body-list { display:flex; flex-direction:column; gap:0; min-width:0; }
.campaign-body-summary { border:1px solid #dfe5e2; background:#f6f8f7; border-radius:6px; padding:14px; margin-top:12px; }
.campaign-body-summary header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.campaign-body-preview { display:block; width:100%; height:180px; margin-top:12px; border:0; background:#fff; }
.campaign-body-summary--editing { background:#fff; border-bottom:0; border-radius:6px 6px 0 0; }
.campaign-body-editing { min-width:0; border:1px solid #dfe5e2; border-top:0; border-radius:0 0 6px 6px; padding:0 12px 12px; }
.campaign-body-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }
/* Form-label styling must never leak into the message HTML. */
.planning-campaign-editor { overflow-wrap:break-word; word-break:normal; }
.planning-campaign-editor a { color:#0563c1; text-decoration:underline; }
.planning-campaign-editor span { display:inline; margin:0; color:inherit; font-size:inherit; font-weight:inherit; }
.planning-campaign-editor h1 { margin:0 0 8px; font-size:24px; line-height:1.2; font-weight:700; }
.planning-campaign-editor h2 { margin:0 0 6px; font-size:20px; line-height:1.2; font-weight:700; }
.planning-campaign-editor h3 { margin:0 0 4px; font-size:16px; line-height:1.2; font-weight:700; }
.campaign-body-actions > button { display:inline-flex; align-items:center; justify-content:center; min-width:120px; min-height:36px; padding:8px 14px; border-radius:8px; font-size:13px; font-weight:600; line-height:18px; box-shadow:none; background:#fff; }
.campaign-body-actions .campaign-body-save { border:1px solid #299b73; color:#087d55; }
.campaign-body-actions .campaign-body-save:hover { background:#f0faf5; }
.campaign-body-actions .campaign-body-delete { border:1px solid #dc5353; color:#b42323; background:#fff; }
.campaign-body-actions .campaign-body-delete:hover { background:#fff5f5; }
.campaign-body-add { order:100; align-self:flex-start; margin-top:12px; }
.campaign-body-confirm { z-index:120; background:rgba(15,23,42,.25); }
.campaign-ai { border:2px solid #a78bdb !important; background:#faf7ff !important; border-radius:6px; padding:18px !important; margin:14px 0 !important; box-shadow:0 0 0 4px #f0e8fc; }
.campaign-ai textarea { background:#fff; }
.mailbox-tempo-switch { display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:#7c8580; font-size:13px; }
.mailbox-tempo-switch .is-active { color:#172a21; font-weight:600; }
.mailbox-tempo-switch [role=switch] { width:48px; height:28px; padding:3px; border:1px solid #bbc7c0; border-radius:16px; background:#e8eeea; flex-shrink:0; }
.mailbox-tempo-switch [role=switch] span { display:block; height:20px; width:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0003; transition:transform .15s; }
.mailbox-tempo-switch [aria-checked=true] { background:#199a6d; border-color:#199a6d; }
.mailbox-tempo-switch [aria-checked=true] span { transform:translateX(20px); }
.blocks-scope-preview { font-size:13px; color:#42584c; margin-top:10px; overflow-wrap:anywhere; }
.delivery-observer__details { border-top:1px solid #e1e7e3; margin-top:16px; padding-top:12px; }
.delivery-observer__details>summary { cursor:pointer; font-size:14px; font-weight:600; padding:8px 0; }
.delivery-observer__state { font-size:15px; margin:20px 0 8px; }
.managed-plan { background:#fff; min-height:calc(100vh - 48px); padding:24px; }
.managed-plan header,.managed-plan-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.managed-plan-form { display:flex; align-items:end; flex-wrap:wrap; gap:16px; padding:20px 0; border-block:1px solid #e1e5e2; margin-bottom:20px; }
.managed-plan label { display:grid; gap:8px; font-size:13px; }
.managed-plan-form label:first-child { flex:1; min-width:220px; }
.managed-plan input,.managed-plan select { min-height:38px; border:1px solid #ccd5cf; border-radius:8px; padding:8px; background:#fff; max-width:100%; }
.managed-plan-table { overflow-x:auto; }
.managed-plan table { width:100%; border-collapse:collapse; font-size:13px; }
.managed-plan h2 { font-size:22px; font-weight:650; }
.managed-plan .primary-button,.managed-plan .secondary-button { min-height:36px; padding:8px 12px; font-size:13px; box-shadow:none; }
.managed-plan-table table { min-width:780px; }
.managed-plan th,.managed-plan td { text-align:left; padding:12px; border-bottom:1px solid #e1e5e2; vertical-align:top; }
.managed-plan td small { display:block; margin-top:6px; max-width:300px; }
.managed-plan-actions { display:flex; flex-wrap:wrap; gap:8px; }
.managed-plan-error { color:#b42323; }
.managed-plan .modal-backdrop { position:fixed; inset:0; display:grid; place-items:center; background:#0005; z-index:100; }
.managed-plan .modal-backdrop section { width:min(460px,calc(100vw - 32px)); background:#fff; padding:24px; }
@media(max-width:640px) { .managed-plan { padding:12px; } .managed-plan header { align-items:start; flex-wrap:wrap; } }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:20px; }
.team-card { border:1px solid #dce2df; border-radius:8px; padding:22px; display:flex; flex-direction:column; min-width:0; background:#fff; }
.team-card-heading,.team-person,.team-progress-heading,.team-counts { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.team-person { justify-content:flex-start; min-width:0; }
.team-person h3 { font-size:17px; font-weight:650; overflow-wrap:anywhere; }
.team-avatar { display:grid; place-items:center; flex-shrink:0; width:34px; height:34px; border-radius:50%; background:#edf1fa; color:#39528a; font-weight:650; }
.team-status { font-size:11px; color:#58645d; flex-shrink:0; }
.team-card[data-state="running"] .team-status { color:#087948; }
.team-card[data-state="blocked"] .team-status { color:#b42323; }
.team-card[data-state="paused"] .team-status { color:#99661c; }
.team-work { margin:18px 0; min-height:48px; }
.team-work h4 { font-size:18px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.team-work span,.team-progress-heading span,.team-action { font-size:12px; color:#65716a; }
.team-progress-heading strong { font-size:22px; }
.team-progress { height:5px; background:#edf0ef; border-radius:3px; overflow:hidden; margin:9px 0 18px; }
.team-progress>span { display:block; height:100%; background:#13a977; transition:width .2s; }
.team-region { font-size:13px; font-weight:600; min-height:20px; }
.team-action { line-height:1.6; margin-top:6px; min-height:40px; overflow-wrap:anywhere; }
.team-counts { border-bottom:1px solid #e8ece9; padding:10px 0; font-size:12px; color:#65716a; }
.team-counts strong { display:block; color:#17221c; font-size:17px; margin-top:4px; }
.team-dates { display:grid; gap:10px; padding:14px 0; flex:1; }
.team-dates small { color:#65716a; font-size:11px; }
.team-dates dt { font-size:11px; color:#6c756f; margin-bottom:3px; }
.team-dates dd { font-size:13px; overflow-wrap:anywhere; }
.team-open { width:100%; display:flex; justify-content:space-between; align-items:center; }
.team-current { display:flex; justify-content:space-between; gap:24px; padding:24px 0; border-block:1px solid #e1e5e2; }
.team-current h3 { font-size:22px; font-weight:600; margin:8px 0; }
.team-current>div:last-child { display:grid; gap:8px; font-size:12px; align-content:center; text-align:right; }
.team-current-percent { font-size:30px; }
.team-section-title { font-size:16px; font-weight:650; margin:28px 0 12px; }
.team-industries>a { display:flex; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid #e8ece9; font-size:13px; }
.team-industries>a:hover { background:#f7faf8; }
.team-industries>a div span { display:block; font-size:12px; color:#65716a; margin-top:4px; }
.team-empty { padding:18px 0; color:#65716a; font-size:13px; }
.team-history { margin-top:28px; padding:18px 0; border-top:1px solid #e1e5e2; font-size:13px; }
.team-history summary { cursor:pointer; font-weight:600; }
.team-history>div { display:flex; justify-content:space-between; padding:14px 0; }
@media(max-width:640px) { .team-card { padding:18px; } .team-current { flex-direction:column; } .team-current>div:last-child { text-align:left; } .team-industries>a { flex-wrap:wrap; } }

/* Compact cards retain natural wrapping instead of clipping longer campaign names. */
.team-grid { gap:14px; align-items:stretch; grid-auto-rows:1fr; }
.managed-plan>.team-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1200px) { .managed-plan>.team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .managed-plan>.team-grid { grid-template-columns:minmax(0,1fr); } }
.team-card .team-counts { flex-wrap:wrap; }
.center-industries { border-top:1px solid #e1e5e2; margin-top:24px; }
.managed-industries-page .center-industries { margin-top:0; }
.center-industries .employee-current-heading { padding-inline:0; }
.center-industries input { width:240px; }
.center-industry-tools { display:flex; align-items:center; gap:10px; min-width:0; }
.center-industries .center-number { text-align:right; font-variant-numeric:tabular-nums; }
.center-industries .managed-plan-table th,.center-industries .managed-plan-table td { text-align:center; vertical-align:middle; }
.center-industries .managed-plan-table td { white-space:nowrap; }
.center-industries .managed-plan-table td:first-child { white-space:normal; min-width:170px; }
.center-industries .managed-plan-actions { justify-content:center; }
.team-card { text-align:center; }
.team-card .team-person { justify-content:center; width:100%; }
.team-card .team-counts { justify-content:center; }
.team-card .team-dates>div { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px; }
.team-card .team-counts>span { white-space:nowrap; }
.center-industries .center-number small { display:block; white-space:nowrap; }
.center-industries td { overflow-wrap:anywhere; }
.center-industries .managed-plan-actions { flex-wrap:nowrap; }
.center-industries .center-base-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; min-width:210px; }
.center-base-actions .secondary-button { font-size:11px; padding:6px 8px; }
.center-base-actions .center-reuse-button { grid-column:1 / -1; }
.center-purpose { display:block; margin-top:4px; font-size:11px; }
.center-reuse-preview { display:grid; gap:14px; font-size:13px; line-height:1.5; }
.center-reuse-preview ul { display:grid; gap:6px; max-height:180px; overflow:auto; border-block:1px solid #e1e5e2; padding-block:12px; }
@media(max-width:640px) { .center-industries .employee-current-heading { flex-wrap:wrap; gap:12px; } .center-industry-tools { width:100%; } .center-industry-tools input { width:0; flex:1; } }
.center-industries td>a { font-weight:650; }
.center-industries td small { color:#727c75; }
.center-load-more { min-height:44px; display:grid; place-items:center; }
.managed-plan .modal-backdrop .center-dialog { width:min(640px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:0; border-radius:8px; }
.center-form { padding:20px; display:grid; gap:18px; }
.center-form textarea { border:1px solid #ccd5cf; border-radius:8px; padding:10px; width:100%; resize:vertical; }
.center-options { position:relative; }
.center-options summary { list-style:none; border:1px solid #ccd5cf; border-radius:8px; padding:10px; display:flex; justify-content:space-between; gap:8px; cursor:pointer; font-size:13px; }
.center-options summary::after { content:'⌄'; }
.center-options>div { position:absolute; top:100%; left:0; right:0; z-index:10; background:#fff; border:1px solid #ccd5cf; border-radius:8px; padding:6px; max-height:220px; overflow:auto; box-shadow:0 8px 24px #0001; }
.center-dialog .center-options>div { position:static; margin-top:6px; max-height:min(260px,40dvh); box-shadow:none; }
.managed-plan .modal-backdrop .center-dialog--create { height:min(760px,calc(100dvh - 32px)); display:flex; flex-direction:column; overflow:hidden; }
.center-dialog--create>.employee-current-heading { flex:none; }
.center-dialog--create>form { min-height:0; overflow-y:auto; scrollbar-gutter:stable; flex:1; }
.planning-modal--owner .center-options>div { position:static; margin-top:6px; max-height:min(240px,35dvh); overflow-y:auto; box-shadow:none; }
.campaign-mailbox-step .center-options>div { position:static; margin-top:6px; max-height:min(240px,35dvh); overflow-y:auto; box-shadow:none; }
.planning-modal__card--campaign>form>.planning-modal__actions { position:static; background:none; }
.center-base-actions button:disabled { opacity:.45; cursor:not-allowed; }
.center-options button { display:block; width:100%; text-align:left; padding:10px; font-size:13px; }
.center-options button:hover,.center-options button:focus-visible { background:#eaf7ef; }
.center-dialog .managed-plan-error { padding:0 20px 16px; }
.managed-industry-profile .workflow-industry-overview { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.managed-industry-profile { position:relative; }
.managed-workflow .planning-modal__card { border-radius:8px; }
.managed-unconfigured>.managed-messages,.managed-unconfigured>.workflow-industry-map-panel { filter:blur(3px); opacity:.45; }
.managed-first-setup { position:absolute; inset:0 0 auto; height:500px; display:grid; place-items:center; pointer-events:none; }
.managed-first-setup button { pointer-events:auto; }
.managed-messages { min-width:0; border-right:1px solid #e1e5e2; }
.managed-messages .employee-current-heading a { color:#087d55; font-size:12px; }
.managed-message-preview { padding:0 20px 20px; max-height:480px; overflow:auto; }
.managed-message-preview>.eyebrow { margin:18px 0 10px; }
.managed-message-preview>p:not(.eyebrow) { font-size:13px; padding:8px 0; border-bottom:1px solid #e1e5e2; }
.managed-message-preview details { padding:12px 0; border-bottom:1px solid #e1e5e2; font-size:13px; }
.managed-message-body { white-space:pre-wrap; overflow-wrap:anywhere; padding:12px 0; font:14px/1.5 Arial,sans-serif; }
@media(max-width:800px) { .managed-industry-profile .workflow-industry-overview { grid-template-columns:minmax(0,1fr); } .managed-messages { border-right:0; border-bottom:1px solid #e1e5e2; } }
.team-card { padding:12px; }
.team-card .team-card-heading { gap:8px; }
.team-card .team-person { gap:8px; }
.team-card .team-avatar { width:28px; height:28px; font-size:13px; }
.team-card .team-person h3 { font-size:15px; }
.team-card .team-status { max-width:110px; text-align:right; }
.team-card .team-work { margin:8px 0 4px; min-height:56px; }
.team-card .team-work h4 { font-size:15px; line-height:1.3; }
.team-card .team-work span { font-size:11px; }
.team-company { display:block; font-size:10px; line-height:14px; color:#68716d; }
.center-company-filter { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:18px; }
.managed-company-filter-slot { display:flow-root; min-height:52px; }
.center-company-filter button { min-width:72px; min-height:34px; padding:6px 14px; border:1px solid transparent; border-radius:6px; font-size:12px; color:#626b67; background:#fff; }
.center-company-filter button[aria-pressed="true"] { background:#f0f3f2; border-color:#d9dfdc; color:#19231e; font-weight:600; }
.center-company-filter button:hover { background:#f4f6f5; }
.center-company-filter button:focus-visible { outline:2px solid #087d55; outline-offset:2px; }
.team-card .team-progress-heading { line-height:1.3; }
.team-card .team-progress-heading span { font-size:11px; }
.team-card .team-progress-heading strong { font-size:18px; }
.team-card .team-progress { height:4px; margin:4px 0 8px; }
.team-card .team-region { min-height:0; font-size:12px; line-height:1.35; margin:0; }
.team-card .team-action { min-height:0; font-size:11px; line-height:1.35; margin:3px 0 0; }
.team-card .team-counts { padding:6px 0; gap:8px; font-size:11px; }
.team-card .team-counts strong { display:inline; font-size:14px; margin:0 0 0 4px; }
.team-card .team-dates { gap:5px; padding:6px 0; flex:none; }
.team-card .team-dates>div { display:grid; grid-template-columns:126px minmax(0,1fr); gap:2px 8px; align-items:baseline; }
.team-card .team-dates dt { margin:0; font-size:10px; line-height:1.4; }
.team-card .team-dates dd { font-size:11px; line-height:1.4; }
.team-card .team-dates small { grid-column:2; font-size:10px; }
.managed-plan .team-card .team-open { min-height:30px; padding:5px 9px; font-size:12px; margin-top:auto; }

.employee-profile { border-top:1px solid #e1e5e2; }
.employee-plan-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-bottom:1px solid #e1e5e2; background:#fff; }
.employee-plan-controls__buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.employee-plan-controls button { display:flex; justify-content:center; align-items:center; min-width:145px; height:40px; padding:0 16px; border:1px solid transparent; border-radius:6px; font-weight:600; font-size:13px; line-height:1.2; transition:background-color .15s,border-color .15s; }
.employee-plan-controls .employee-plan-controls__start { background:#087d55; border-color:#087d55; color:#fff; }
.employee-plan-controls .employee-plan-controls__start:hover:not(:disabled) { background:#066443; border-color:#066443; }
.employee-plan-controls .employee-plan-controls__pause { background:#fff; border-color:#d2d9d5; color:#34443b; }
.employee-plan-controls .employee-plan-controls__pause:hover:not(:disabled) { background:#fff9ec; border-color:#d6b45c; color:#77550e; }
.employee-plan-controls button:disabled { background:#f1f3f2; border-color:#e1e5e2; color:#85918a; cursor:not-allowed; }
.employee-plan-controls button:focus-visible { outline:2px solid #087d55; outline-offset:3px; }
.employee-plan-controls__status { display:flex; align-items:center; gap:8px; font-size:12px; color:#66736c; line-height:1.4; }
.employee-plan-controls__status::before { content:''; width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#9ca69f; }
.employee-plan-controls__status.is-enabled { color:#087d55; }
.employee-plan-controls__status.is-enabled::before { background:#087d55; }
@media(max-width:640px) { .employee-plan-controls { padding:14px 12px; gap:12px; } .employee-plan-controls__buttons { width:100%; } .employee-plan-controls button { min-width:0; padding:0 5px; } }
.employee-workspace { display:grid; grid-template-columns:minmax(260px,34%) minmax(0,1fr); border-bottom:1px solid #e1e5e2; }
.employee-current { min-width:0; border-right:1px solid #e1e5e2; }
.employee-current-heading,.employee-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding:16px 20px; border-bottom:1px solid #e1e5e2; }
.employee-section-heading h3 { font-size:15px; font-weight:650; }
.employee-section-heading>span { color:#768079; font-size:12px; }
.employee-current-body { padding:18px 20px 4px; }
.employee-current-body h3 { font-size:21px; line-height:1.35; font-weight:650; overflow-wrap:anywhere; }
.employee-current-body>p { font-size:12px; color:#68746c; margin:5px 0 18px; }
.employee-metrics { display:grid; grid-template-columns:1fr 1fr; border-block:1px solid #e1e5e2; }
.employee-metrics>div { padding:14px 20px; min-width:0; }
.employee-metrics>div+div { border-left:1px solid #e1e5e2; }
.employee-metrics span { display:block; font-size:10px; text-transform:uppercase; color:#727c75; line-height:1.5; }
.employee-metrics strong { display:block; font-size:20px; margin-top:3px; }
.employee-status-rows>div { padding:12px 20px; border-bottom:1px solid #e1e5e2; }
.employee-status-rows dt { font-size:11px; color:#727c75; margin-bottom:4px; }
.employee-status-rows dd { font-size:13px; overflow-wrap:anywhere; }
.employee-configure { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 20px; font-size:13px; font-weight:600; color:#087d55; }
.employee-configure:hover { background:#f6faf7; }
.employee-plan { min-width:0; }
.employee-plan .managed-plan-form { margin:0; padding:16px 20px; border-top:0; gap:12px; }
.employee-plan .managed-plan-form label:first-child { min-width:170px; }
.employee-plan .managed-plan-form label { font-size:11px; }
.employee-plan .managed-plan-form button { width:100%; }
.employee-plan .managed-plan-table table { min-width:540px; }
.employee-plan .managed-plan-actions { margin-top:10px; gap:6px; }
.employee-plan .managed-plan-actions button { font-size:11px; padding:5px 8px; min-height:30px; }
.employee-profile .team-empty { padding:24px 20px; margin:0; }
.employee-profile .team-industries>a { padding:15px 20px; align-items:center; }
.employee-profile .team-history { margin:0; padding:16px 20px; }
@media(max-width:800px) { .employee-workspace { grid-template-columns:1fr; } .employee-current { border-right:0; border-bottom:1px solid #e1e5e2; } }
.plan-preview { padding:0; }
.plan-edit-link { width:100%; text-align:left; border-top:1px solid #e1e5e2; background:#fff; }
.plan-preview .plan-route>li { padding:18px 20px; border-bottom:1px solid #e1e5e2; align-items:start; }
.plan-preview .plan-route>li:last-child { border-bottom:0; }
.plan-preview .plan-route>li:not(:last-child)::after { top:auto; bottom:-10px; left:28px; background:#fff; z-index:1; }
.plan-preview .plan-route>li>div { min-width:0; }
.plan-preview .plan-route a { font-size:18px; line-height:1.35; font-weight:650; }
.plan-preview .plan-route small { font-size:12px; margin-top:5px; }
.plan-preview .plan-more { padding:12px 20px; border-top:1px solid #e1e5e2; }
.employee-profile .team-industries { gap:0; }
.employee-profile .team-industries>a { background:#fff; border:0; border-bottom:1px solid #e1e5e2; border-radius:0; padding:18px 20px; }
.employee-profile .team-industries>a:hover { background:#f6faf7; }
.employee-profile .team-industries>a strong { font-size:18px; font-weight:650; }
.employee-profile .team-industries>a>span:last-child { color:#087d55; font-size:13px; font-weight:600; }
.employee-profile .team-history { border:0; border-top:1px solid #e1e5e2; border-radius:0; background:#fff; }
.employee-profile .team-history summary { font-size:12px; color:#68746c; }
.plan-preview .team-empty { padding:24px 0; }
.plan-more { font-size:12px; color:#69746e; padding:8px 0; }
.plan-route { list-style:none; padding:0; margin:0; }
.plan-route>li { display:flex; gap:14px; padding:15px 0; position:relative; }
.plan-route>li:not(:last-child)::after { content:'↓'; position:absolute; left:8px; top:47px; color:#a1aaa5; font-size:14px; }
.plan-step { flex-shrink:0; display:grid; place-items:center; width:28px; height:28px; border:1px solid #dbe3df; border-radius:50%; font-size:12px; background:white; }
.plan-route a { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.plan-route small { display:block; color:#6c776f; font-size:11px; margin-top:4px; }
.plan-route--editable { padding:0 20px 20px; }
.plan-route--editable>li { border-bottom:1px solid #e6ebe8; padding:20px 0; }
.plan-route--editable>li:not(:last-child)::after { top:auto; bottom:-9px; z-index:1; background:white; }
.plan-route-content { flex:1; min-width:0; }
.plan-route-title { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.plan-route-title>strong { font-size:12px; color:#63736a; }
.plan-route-content>p { font-size:12px; color:#6c776f; margin:8px 0; }
.plan-editor .managed-plan-form { align-items:end; }
.plan-editor .managed-plan-form>.primary-button { width:auto; }
.plan-editor .managed-plan-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,1fr); gap:0; padding:0; border-bottom:0; }
.plan-editor .managed-plan-form>.plan-field { padding:18px 20px; }
.plan-editor .managed-plan-form>.plan-field+ .plan-field { border-left:1px solid #e1e5e2; }
.plan-editor .managed-plan-form>.plan-add-link { grid-column:1 / -1; width:100%; border-top:1px solid #e1e5e2; border-radius:0; padding:16px 20px; background:#fff; }
.plan-add-link:disabled { color:#929b95; cursor:not-allowed; }
.plan-back-link { display:flex; align-items:center; gap:12px; font-size:13px; color:#087d55; font-weight:600; text-align:right; }
.plan-editor .plan-field>span { color:#727c75; }
.plan-editor .plan-date { width:100%; }
.plan-editor .plan-route--editable { padding:0; list-style:none; }
.plan-editor .plan-route--editable>li { padding:18px 20px; }
.plan-editor .plan-route--editable>li::marker { content:''; }
.plan-editor .plan-route--editable>li:not(:last-child)::after { left:28px; }
.plan-editor .plan-route-title>a { font-size:18px; font-weight:650; }
.plan-editor .plan-route-title>strong { font-size:11px; font-weight:400; }
@media(max-width:640px) { .plan-editor .managed-plan-form>.plan-field+ .plan-field { border-left:0; border-top:1px solid #e1e5e2; } }
.plan-field { display:grid; gap:8px; min-width:0; }
.plan-field>span { font-size:11px; }
.plan-choice { flex:1; min-width:200px; position:relative; }
.plan-select { width:100%; min-height:38px; border:1px solid #ccd5cf; border-radius:8px; padding:8px 12px; display:flex; justify-content:space-between; gap:12px; text-align:left; font-size:13px; background:#fff; }
.plan-options { position:absolute; top:100%; left:0; right:0; z-index:30; background:white; padding:8px; border:1px solid #ccd5cf; box-shadow:0 8px 24px #0001; border-radius:8px; max-height:300px; overflow-y:auto; }
.plan-options input { width:100%; }
.plan-options>button { display:block; text-align:left; width:100%; padding:10px; font-size:13px; border-radius:4px; }
.plan-options>button:hover,.plan-options>button:focus-visible { background:#eaf7ef; }
.plan-options small { display:block; font-size:11px; color:#6c776f; }
.plan-options p { padding:12px; font-size:12px; }
.plan-date { position:relative; width:230px; max-width:100%; }
.plan-date-input { display:flex; border:1px solid #ccd5cf; border-radius:8px; }
.managed-plan .plan-date-input input { border:0; min-width:0; width:100%; background:transparent; font-size:13px; }
.managed-plan .plan-date-input>button { width:40px; flex:0 0 40px; padding:0 10px; border-left:1px solid #e1e5e2; }
.plan-calendar { position:absolute; z-index:40; top:calc(100% + 5px); right:0; width:280px; max-width:calc(100vw - 64px); background:#fff; border:1px solid #ccd5cf; border-radius:8px; padding:12px; box-shadow:0 8px 24px #0001; }
.managed-plan .plan-calendar header { display:flex; justify-content:space-between; margin:0 0 10px; gap:8px; font-size:13px; }
.plan-calendar header button { width:30px; height:30px; }
.plan-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
.plan-calendar-grid>span { text-align:center; font-size:10px; color:#718078; }
.plan-calendar-grid>button { height:30px; font-size:12px; border-radius:4px; }
.plan-calendar-grid>button:not(:disabled):hover,.plan-calendar-grid>button.is-selected { background:#dcf4e8; color:#08774d; }
.plan-calendar label { display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.plan-calendar label input { width:80px; }
.plan-calendar>.secondary-button { width:100%; }
@media(max-width:640px) { .plan-editor .managed-plan-form { display:grid; grid-template-columns:minmax(0,1fr); } .plan-choice,.plan-date { width:100%; min-width:0; } }
.queue-picker-toolbar { padding:20px; display:grid; gap:14px; }
.queue-picker-toolbar>input { width:100%; }
.queue-picker-toolbar label { display:flex; align-items:center; gap:10px; font-size:12px; }
.queue-picker-toolbar .plan-calendar { position:static; margin-top:8px; }
.queue-picker-list { max-height:50dvh; overflow:auto; }
.queue-picker-list article { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-top:1px solid #e1e5e2; }
.queue-picker-list article>div { min-width:0; overflow-wrap:anywhere; }
.queue-picker-list span,.queue-picker-list small { display:block; font-size:12px; color:#63736a; margin-top:4px; }
.queue-picker-list button { flex-shrink:0; }
.employee-plan .plan-route--editable { padding:0; max-height:600px; overflow:auto; }
.employee-plan .plan-route--editable>li { padding:16px 20px; }
.employee-plan .plan-route--editable>li::after { display:none; }
.employee-plan .plan-route--editable { list-style:none; }
.employee-plan .plan-route--editable>li { display:grid; grid-template-columns:28px minmax(0,1fr) 32px; gap:12px; }
.employee-plan .plan-route--editable>li::marker { content:''; }
.plan-route-order { display:flex; flex-direction:column; gap:6px; }
.plan-route-order .secondary-button { width:32px; height:32px; min-height:32px; padding:0; display:grid; place-items:center; }
.employee-plan .plan-route-title { align-items:center; }
.employee-plan .managed-plan-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; }
.employee-plan .managed-plan-actions .secondary-button { min-height:34px; display:inline-flex; align-items:center; font-size:11px; padding:7px 10px; }
.plan-route-attention { border-left:2px solid #dfb348; padding:8px 10px; margin-top:10px; font-size:12px; color:#735512; }
.plan-route-attention p { margin-bottom:6px; }
.people-list { border-top:1px solid #e1e5e2; }
.person-row { display:grid; grid-template-columns:minmax(140px,1fr) minmax(180px,2fr) auto; align-items:center; gap:24px; padding:20px; border-bottom:1px solid #e1e5e2; }
.person-row:hover { background:#f5f9f7; }
.person-row span { font-size:13px; overflow-wrap:anywhere; }
.person-row span:last-child { color:#087d55; }
.person-profile-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:8px 0 20px; }
.person-profile-header h2 { font-size:24px; font-weight:650; }
.person-profile-tabs,.person-mailboxes { display:flex; gap:24px; flex-wrap:wrap; border-bottom:1px solid #e1e5e2; margin-bottom:20px; }
.person-profile-tabs a,.person-mailboxes a { padding:12px 0; font-size:14px; border-bottom:2px solid transparent; }
.person-profile-tabs a[aria-current],.person-mailboxes a[aria-current] { color:#087d55; border-color:#087d55; }
.person-history-pages { display:flex; align-items:center; justify-content:center; gap:20px; padding:20px; font-size:13px; }
.person-empty { padding:32px 0; display:grid; justify-items:start; gap:20px; }
.managed-plan .team-card .team-dates>div { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; }
.center-industries .managed-plan-table th { white-space:nowrap; }
.center-industries .managed-plan-table th,.center-industries .managed-plan-table td { padding:12px 8px; font-size:12px; }
.center-company-name { display:block; max-width:80px; margin-inline:auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.people-page td { overflow-wrap:anywhere; }
.people-list--companies .person-row { grid-template-columns:minmax(150px,1fr) 90px minmax(180px,2fr) 100px; gap:20px; }
.people-list--companies .person-row--head { padding-top:12px; padding-bottom:12px; background:#fafbfa; color:#65716a; font-size:12px; }
.people-list--companies .person-row--head span { font-size:12px; color:inherit; }
.people-page .person-company { color:#34463c; font-weight:600; }
.people-page .display-user { text-transform:capitalize; }
.people-mailboxes { margin-top:32px; padding-top:24px; border-top:1px solid #d5ddd8; }
.people-mailboxes>header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.people-mailboxes h3 { font-size:18px; font-weight:650; }
.people-mailbox-row { display:grid; grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) 90px 100px; gap:20px; align-items:center; padding:18px 20px; border-bottom:1px solid #e1e5e2; font-size:13px; }
.people-mailbox-row:hover { background:#f5f9f7; }
.people-mailbox-row>div { min-width:0; overflow-wrap:anywhere; }
.people-mailbox-row small { display:block; color:#65716a; font-size:12px; margin-top:5px; }
.people-mailbox-row--head { background:#fafbfa; color:#65716a; font-size:12px; padding-top:12px; padding-bottom:12px; border-top:1px solid #e1e5e2; }
.people-page .person-link { color:#087d55; white-space:nowrap; }
@media(max-width:800px) {
  .people-list--companies .person-row { grid-template-columns:minmax(0,1fr) 80px; gap:8px 12px; }
  .people-list--companies .person-row--head,.people-mailbox-row--head { display:none; }
  .people-list--companies .person-row .person-company { grid-column:2; grid-row:1; text-align:right; }
  .people-list--companies .person-row .person-address { grid-column:1; grid-row:2; }
  .people-list--companies .person-row .person-link { grid-column:2; grid-row:2; text-align:right; }
  .people-mailbox-row:not(.people-mailbox-row--head) { grid-template-columns:minmax(0,1fr) auto; gap:10px; }
  .people-mailbox-row>div { grid-column:1 / -1; }
  .people-mailbox-row>span:nth-child(3) { grid-column:2; grid-row:2; text-align:right; }
  .people-mailbox-row .person-link { grid-column:1 / -1; }
}
.managed-person { background:#fff; border:1px solid #e1e5e2; border-radius:8px; padding:20px; min-height:calc(100dvh - 80px); }
.mailbox-profile-page.managed-person { align-content:start; gap:0; }
.person-profile-header .managed-plan-actions { display:flex; flex-wrap:wrap; gap:8px; }
.person-profile-header .secondary-button { min-height:36px; padding:8px 12px; font-size:12px; border-radius:6px; }
.managed-person>.mailbox-tempo-panel { background:#fff; box-shadow:none; border:0; border-top:1px solid #e1e5e2; border-radius:0; margin:0; }
.managed-person>.mailbox-tempo-panel>.mailbox-tempo-panel__summary { padding:22px 4px; }
.managed-person>.mailbox-tempo-panel>.mailbox-tempo-panel__content { padding:24px 4px 28px; gap:24px; }
.managed-person>.mailbox-tempo-panel h3 { font-size:16px; line-height:1.4; }
.managed-person>.person-profile-tabs+.mailbox-tempo-panel { border-top:0; }
.managed-person .mailbox-profile-main-grid,.managed-person .mailbox-tempo-grid { gap:24px 20px; }
.managed-person .mailbox-settings-section { border-radius:6px; }
.managed-person .mailbox-settings-section>summary { padding:18px 20px; letter-spacing:0; }
.managed-person .mailbox-settings-section>.accordion-content { border-top:1px solid #eeeeea; padding:24px 20px; gap:24px 20px; }
.managed-person .mailbox-settings-form>.mailbox-form__actions { border-top:1px solid #eeeeea; padding-top:20px; margin-top:0; gap:12px; }
.managed-person .delivery-observer__details>summary { padding:14px 0; }
.managed-person .delivery-observer__details[open]>summary { margin-bottom:12px; }
.managed-person .signature-library { margin:0; }
.managed-person .person-mailboxes { margin-bottom:0; border-bottom:0; }
.managed-person .person-profile-tabs { margin-bottom:0; }
.managed-person .mailbox-profile-main-grid .field>strong { font-size:14px; min-height:38px; display:flex; align-items:center; }
.managed-person .mailbox-profile-main-grid { align-items:end; }
.managed-person .display-user { text-transform:capitalize; }
@media(max-width:640px) {
 .managed-person { padding:14px; }
 .person-profile-tabs { gap:16px; }
 .person-profile-tabs a { font-size:12px; }
 .managed-person>.mailbox-tempo-panel>.mailbox-tempo-panel__summary { padding:18px 0; }
 .managed-person>.mailbox-tempo-panel>.mailbox-tempo-panel__content { padding:20px 0 24px; gap:20px; }
 .managed-person .mailbox-settings-section>summary { padding:16px; }
 .managed-person .mailbox-settings-section>.accordion-content { padding:20px 16px; }
}
@media(max-width:640px) { .person-profile-header { align-items:start; flex-direction:column; } .person-row { grid-template-columns:minmax(0,1fr) auto; gap:8px; } .person-row>span:nth-child(2) { grid-column:1; } .person-row>span:last-child { grid-column:2; grid-row:1/3; } .queue-picker-list article { flex-wrap:wrap; } }

/* Shared tracks align the contents of empty, paused and active owner cards. */
.team-card { display:grid; grid-template-rows:32px 34px 26px 48px 30px 28px 32px 22px; row-gap:4px; padding:10px; }
.team-card .team-card-heading { grid-row:1; }
.team-card .team-work { grid-row:2; }
.team-card .team-progress-block { grid-row:3; }
.team-card .team-region-block { grid-row:4; }
.team-card .team-counts { grid-row:5; }
.team-card .team-dates { grid-row:6; }
.team-card .team-quick-controls { grid-row:7; }
.team-card .team-card-footer { grid-row:8; }
.team-card .team-person { justify-content:flex-start; width:auto; text-align:left; min-width:0; }
.team-card .team-status { font-size:10px; white-space:nowrap; color:#52605a; }
.team-card .team-progress-heading strong { font-size:14px; }
.team-card .team-progress-block .team-progress { margin-top:4px; height:3px; }
.team-quick-controls { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.team-quick-controls button { border:1px solid #cfdbd5; border-radius:5px; background:#fff; font-size:12px; color:#26392f; min-width:0; }
.team-quick-controls button:first-child:not(:disabled) { background:#087f55; border-color:#087f55; color:white; }
.team-quick-controls button:disabled { color:#8b9590; background:#edf0ee; border-color:#e2e6e3; cursor:default; }
.team-card-footer { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.team-card-footer button { border:0; background:none; padding:0; font-size:11px; line-height:20px; }
.team-card-footer .team-switch { color:#087f55; white-space:nowrap; }
.managed-plan .team-card .team-card-footer .team-open { color:#53625a; margin:0 0 0 auto; min-height:0; padding:0; font-size:11px; width:auto; gap:8px; white-space:nowrap; }
.team-card-footer button:hover { text-decoration:underline; }
.team-card[data-state="paused"] { background:#f5f6f6; border-color:#e0e5e2; }
.team-card[data-state="paused"] :is(.team-work,.team-region-block,.team-progress-heading,.team-counts,.team-dates) { color:#77817b; }
.team-card[data-state="paused"] :is(h4,strong,dd,.team-status,.team-live) { color:#77817b; }
.team-card[data-state="paused"] .team-progress>span { background:#a4afa9; }
.team-card[data-state="empty"] .team-work { grid-row:2 / 7; align-self:center; }
.team-switch-dialog { width:min(600px,calc(100vw - 32px)); max-height:85vh; overflow:auto; }
.team-switch-notice { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px; background:#f3f6f4; font-size:13px; }
.team-switch-list { padding:8px 16px; }
.team-switch-list article { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid #e4e9e6; }
.team-switch-list article:last-child { border-bottom:0; }
.team-switch-list article>div { min-width:0; }
.team-switch-list strong { font-size:14px; overflow-wrap:anywhere; }
.team-switch-list small,.team-switch-list span { display:block; color:#64726a; font-size:12px; margin-top:4px; }
@media(max-width:480px) { .team-switch-notice { flex-direction:column; align-items:flex-start; } }
.team-region-block { min-width:0; align-self:center; }
.team-card .team-live { margin:4px 0 0; height:28px; font-size:11px; line-height:14px; color:#5c6862; overflow:hidden; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-variant-numeric:tabular-nums; }
.team-live[data-kind="sending"] { color:#08744f; }
.team-live[data-kind="acquiring"] { color:#866000; }
.team-card .team-work { margin:0; min-height:0; overflow:hidden; }
.team-card .team-work h4 { margin:0; font-size:14px; line-height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-card .team-work>span { display:block; font-size:11px; line-height:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-card .team-card-heading { align-self:center; }
.team-card .team-progress,.team-card .team-region,.team-card .team-counts,.team-card .team-dates { margin:0; padding:0; }
.team-card .team-region { align-self:center; }
.team-card .team-counts { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-content:center; }
.team-card .team-counts>span { white-space:normal; font-size:10px; line-height:1.3; }
.team-card .team-counts strong { display:block; margin:0; font-size:13px; font-variant-numeric:tabular-nums; }
.team-card .team-dates { align-content:center; overflow:auto; }
.team-card .team-dates>div { grid-template-columns:1fr; gap:1px; }
.team-card .team-dates dd { line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-card .team-open { align-self:end; }
.team-card[data-state="empty"] { background:#f5f6f6; border-color:#e2e5e4; }
.team-card[data-state="empty"] .team-avatar { background:#e8ebea; color:#65716a; }
.team-card[data-state="empty"] :is(.team-work h4,.team-progress-heading strong,.team-region,.team-counts strong,.team-dates dd) { color:#68736e; }

.center-api-costs { border-block:1px solid #e0e6e3; margin-bottom:20px; min-width:0; }
.api-billing-summary { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,2fr); gap:16px 24px; align-items:center; padding:16px 0; border-bottom:1px solid #e0e6e3; }
.api-billing-summary .api-cost-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
.api-billing-summary>p { grid-column:1/-1; margin:0; font-size:12px; line-height:1.5; color:#637069; }
@media (max-width:850px) {
 .api-billing-summary { grid-template-columns:minmax(0,1fr); }
 .api-billing-summary .api-cost-metrics>div,.api-billing-summary .api-cost-metrics>div:last-child { grid-column:auto; display:block; border-top:0; padding:0 12px; }
 .api-billing-summary .api-cost-metrics>div:first-child { padding-left:0; }
 .api-billing-summary .api-cost-metrics>div dd { margin:4px 0 0; }
}
.api-cost-summary { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,2fr); gap:24px; align-items:center; min-height:92px; padding:16px 0; }
.api-cost-heading h3 { margin:0; font-size:15px; font-weight:650; color:#202a25; }
.api-cost-heading span,.api-cost-heading small { display:block; margin-top:3px; font-size:12px; line-height:16px; color:#637069; }
.api-cost-heading small { color:#34493d; }
.api-cost-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; }
.api-cost-metrics>div { min-width:0; padding:0 18px; border-left:1px solid #e0e6e3; }
.api-cost-metrics dt { font-size:12px; line-height:18px; color:#637069; }
.api-cost-metrics dd { margin:4px 0 0; font-size:22px; font-weight:650; color:#17231c; font-variant-numeric:tabular-nums; line-height:28px; overflow-wrap:anywhere; }
.api-cost-details>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:36px; padding:8px 0; border-top:1px solid #edf0ee; cursor:pointer; list-style:none; font-size:12px; color:#29563f; }
.api-cost-details>summary::-webkit-details-marker { display:none; }
.api-cost-details>summary>span::after { content:'›'; display:inline-block; margin-left:10px; transform:rotate(90deg); }
.api-cost-details[open]>summary>span::after { transform:rotate(-90deg); }
.api-cost-details>summary small { font-size:11px; color:#68736d; font-variant-numeric:tabular-nums; text-align:right; }
.api-cost-details>summary small.is-stale { color:#95520c; }
.api-cost-details>summary:focus-visible { outline:2px solid #087f55; outline-offset:3px; }
.api-cost-detail-content { padding:8px 0 16px; }
.api-cost-table-scroll { overflow-x:auto; }
.managed-plan .api-cost-table-scroll table { min-width:520px; }
.managed-plan .api-cost-table-scroll th,.managed-plan .api-cost-table-scroll td { padding:10px 12px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.managed-plan .api-cost-table-scroll th:first-child,.managed-plan .api-cost-table-scroll td:first-child { padding-left:0; }
.managed-plan .api-cost-table-scroll :is(th,td):nth-child(n+3) { text-align:right; }
.api-cost-table-scroll thead th { font-size:11px; font-weight:500; color:#637069; }
.api-cost-detail-content>p { margin:12px 0 0; font-size:12px; color:#637069; line-height:1.5; max-width:900px; }
@media(max-width:900px) {
 .api-cost-summary { grid-template-columns:1fr; gap:16px; }
 .api-cost-metrics>div:first-child { border-left:0; padding-left:0; }
 .api-cost-metrics>div { padding-inline:12px; }
 .api-cost-metrics dd { font-size:18px; line-height:24px; }
}
@media(max-width:480px) {
 .api-cost-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 0; }
 .api-cost-metrics>div:last-child { grid-column:1/-1; display:flex; align-items:center; gap:12px; padding:10px 0 0; border-left:0; border-top:1px solid #edf0ee; }
 .api-cost-metrics>div:last-child dd { margin:0 0 0 auto; font-size:16px; }
}
