/* Shared workspace controls match Today and Action Center. */
.workspace-review .dashboard-main :is(.primary-button, .primary-action, .primary-rule-action, .plan-action, .add-account-button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; max-width: 100%; padding: 11px 16px; margin: 0;
  border: 1px solid var(--brand-accent); border-radius: 12px;
  background: var(--brand-accent); color: #fff; box-shadow: none;
  font: inherit; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: normal; cursor: pointer;
}
.workspace-review .dashboard-main :is(.secondary-button, .secondary-action, .dashboard-secondary-action, .workspace-channel-link, .settings-shortcut-link, .schedule-control, .plan-action.is-secondary) {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 44px; max-width: 100%; width: auto; padding: 9px 15px;
  border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-surface);
  color: var(--brand-ink); font: inherit; font-size: .92rem; font-weight: 650; text-decoration: none; cursor: pointer;
}
.workspace-review .dashboard-main :is(.secondary-button, .secondary-action, .dashboard-secondary-action, .workspace-channel-link, .settings-shortcut-link, .schedule-control, .plan-action.is-secondary):hover:not(:disabled) {
  border-color: var(--brand-accent); background: var(--brand-soft);
}
.workspace-review .dashboard-main .card-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; max-width: 100%;
  color: var(--brand-accent-hover); font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
}
.workspace-review .dashboard-main .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.workspace-review .dashboard-main :is(button,a,input,select,textarea):focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.workspace-review .dashboard-main :is(button:disabled,[aria-disabled="true"]) { opacity: .65; cursor: wait; }
.workspace-review .dashboard-main :is(.primary-button,.primary-action,.primary-rule-action,.plan-action,.add-account-button):hover:not(:disabled) { background: var(--brand-accent-hover); }
.workspace-review .dashboard-main :is(input,select,textarea) { font-size: max(1rem,16px); }
.workspace-review .dashboard-main .refresh-button span:last-child { position: static; width: auto; height: auto; clip-path: none; overflow: visible; white-space: normal; }
.workspace-review .dashboard-main .refresh-button { width: auto; max-width: 100%; }
.workspace-review .dashboard-quick-actions { align-items: center; }
.workspace-review .dashboard-quick-actions button { text-align: left; }
.workspace-review .dashboard-main :is(.dashboard-shortcut > a,.meeting-join-link,.meetings-book-link,.manage-connection-link) { width: auto; }
.workspace-review .dashboard-main :is(.button-icon,.refresh-mark) { width: 22px; height: 22px; flex: 0 0 22px; }
.workspace-review .filter-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 18px 0; }
.workspace-review .filter-toolbar label { display: grid; gap: 6px; flex: 1 1 220px; font-weight: 650; color: var(--brand-ink); }
.workspace-review .filter-toolbar :is(input,select) { box-sizing: border-box; min-width: 0; width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-surface); color: var(--brand-ink); font-family: inherit; line-height: 1.4; }
.workspace-review .filter-toolbar p { flex: 1 1 100%; margin: 0; color: var(--brand-muted); }
.workspace-review .section-nav { margin: 0 0 24px; }
.workspace-review :is(.settings-card,.notification-section,.schedule-section,[id$="heading"]) { scroll-margin-top: 24px; }
.workspace-review .workspace-action { position: relative; }
.workspace-review .workspace-action .task-affordance { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--brand-accent-hover); font-weight: 700; margin-top: 16px; }
.workspace-review .workspace-result-meta { color: var(--brand-muted); font-size: .875rem; }
.workspace-review .account-directory .filter-toolbar { padding: 0 24px; }
.workspace-review .agenda-filters { padding: 0 24px; }
.workspace-review .rules-search { padding: 0 20px; }
.workspace-review .availability-item .card-link { margin-top: 8px; }
.workspace-review .workspace-safety { white-space: normal; }
@media (max-width: 720px) {
 .workspace-review .dashboard-header { align-items: flex-start; gap: 16px; }
 .workspace-review .dashboard-header-actions,.workspace-review .account-header-actions { flex-wrap: wrap; max-width: 100%; }
 .workspace-review .dashboard-quick-actions > * { min-width: 0; width: 100%; }
 .workspace-review .filter-toolbar { align-items: stretch; }
 .workspace-review .filter-toolbar > button { width: 100%; }
 .workspace-review .workspace-channel-link { width: auto; }
}

.workspace-review .workspace-action-mark svg { width: 22px; height: 22px; }
.workspace-review .workspace-action[hidden] { display: none; }
.workspace-review .workspace-result-meta { overflow-wrap: anywhere; }

.workspace-review .workspace-usage { background: #fff; border: 1px solid var(--brand-line); border-radius: 20px; padding: 24px; margin: 24px 0; }
.workspace-review .billing-usage-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.workspace-review .billing-usage-item { padding: 16px; border: 1px solid var(--brand-line); border-radius: 12px; min-width: 0; }
.workspace-review .billing-usage-item dt { font-weight: 700; }
.workspace-review .billing-usage-item dd { margin: 10px 0 0; overflow-wrap: anywhere; }
.workspace-review .billing-usage-item :is(small,.usage-warning) { display: block; margin-top: 6px; }
.workspace-review .usage-warning { color: var(--brand-accent-hover); }
.workspace-review.account-page .form-panel button:not(.primary-button), .workspace-review.account-page .form-panel .secondary-button {
 display: inline-flex; justify-content: center; align-items: center; min-height: 44px; max-width: 100%; width: auto;
 padding: 9px 15px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-surface);
 color: var(--brand-ink); font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer;
}
.workspace-review.account-page .form-panel :is(input,select,textarea) { font-size: max(16px,1rem); }
.workspace-review.account-page .form-panel button:disabled { opacity: .65; cursor: wait; }
.workspace-review.account-page :is(button,input,select,a):focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.workspace-review .reminder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.workspace-review .reminder-reschedule { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; align-items: end; }
.workspace-review .reminder-reschedule label { display: grid; gap: 6px; flex: 1 1 180px; }
.workspace-review .reminder-reschedule input { width: 100%; min-width: 0; min-height: 44px; font: inherit; padding: 8px; border: 1px solid var(--brand-line); border-radius: 10px; }
.workspace-review #reminder-list article { border-top: 1px solid var(--brand-line); padding: 16px 0; overflow-wrap: anywhere; }
@media(max-width: 900px) { .workspace-review .billing-usage-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 540px) { .workspace-review .billing-usage-list { grid-template-columns: 1fr; } }

.workspace-review .rule-detail-actions button,.workspace-review .rule-confirm-actions button:not(.primary-rule-action) { min-height: 44px; padding: 9px 15px; border-radius: 10px; font-size: .92rem; font-weight: 650; }
.workspace-review .rule-detail-actions .danger-rule-action,.workspace-review .schedule-control.danger { color: var(--brand-accent-hover); border-color: var(--brand-line); }
.workspace-review .rule-filters button,.workspace-review .command-examples button { min-height: 44px; }
.workspace-review .selected-rule-metadata dd,.workspace-review .rule-select-button h3 { overflow: visible; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
