/* Business workspaces: navigation, daily overview and operational surfaces. */
body.workspace-redesign { --ui-muted: #596b82; color-scheme: light; margin: 0; background: var(--ui-bg, #f3f5f9); color: var(--ui-ink, #142033); font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.workspace-redesign [hidden] { display: none !important; }
body.workspace-redesign .workspace-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
body.workspace-redesign #dashboard { display: block; }
body.workspace-redesign .workspace-main { width: calc(100% - 236px); max-width: 1600px; min-width: 0; margin-left: 236px; padding: 36px clamp(24px, 3vw, 48px) 48px; scroll-margin-top: 20px; }
body.workspace-redesign :focus-visible { outline: 3px solid #90a8ff; outline-offset: 3px; }
body.workspace-redesign #workspaceViewTitle:focus { outline: none; }
body.workspace-redesign .workspace-sidebar { display: flex; flex-direction: column; position: fixed; z-index: 20; inset: 0 auto 0 0; width: 236px; height: 100dvh; padding: 30px 18px 22px; background: var(--ui-nav, #111c30); color: #e7edfa; overflow-y: auto; }
body.workspace-redesign .sidebar-brand-row { display: flex; align-items: center; justify-content: space-between; min-width: 0; }
body.workspace-redesign .sidebar-brand { display: inline-flex; align-items: center; gap: 11px; padding: 0 10px; color: #fff; font-size: 22px; line-height: 1.3; font-weight: 650; text-decoration: none; }
body.workspace-redesign .sidebar-brand-mark { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 42px; border-radius: 11px 11px 17px 11px; background: #416bff; color: #fff; font-size: 21px; font-weight: 500; }
body.workspace-redesign .sidebar-brand small { display: block; margin-top: 7px; color: #8c9bb7; font-size: 9px; font-weight: 500; letter-spacing: .11em; white-space: nowrap; }
body.workspace-redesign .sidebar-caption { margin: 42px 14px 14px; font-size: 12px; letter-spacing: .12em; color: #8292ae; }
body.workspace-redesign .workspace-tabs { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 0; border: 0; overflow: visible; background: transparent; }
body.workspace-redesign .workspace-tabs > button, body.workspace-redesign .workspace-tabs > a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex: 0 0 auto; width: 100%; min-width: 0; min-height: 48px; padding: 11px 15px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #b3bfd4; font-size: 14px; font-weight: 500; line-height: 1.6; text-align: left; text-decoration: none; white-space: normal; }
body.workspace-redesign .workspace-tabs > button:hover, body.workspace-redesign .workspace-tabs > a:hover { color: #fff; border-color: #2a3b59; background: #1d2b43; }
body.workspace-redesign .workspace-tabs > button[aria-pressed="true"] { background: #315bff; border-color: #315bff; color: #fff; font-weight: 600; box-shadow: 0 5px 14px #0002; }
body.workspace-redesign .nav-symbol { display: inline-flex; align-items: center; justify-content: center; width: 20px; flex: 0 0 20px; font-size: 21px; line-height: 1; font-weight: 400; }
body.workspace-redesign .nav-symbol svg { display: block; width: 20px; height: 20px; }
body.workspace-redesign .nav-arrow { margin-left: auto; color: #8395b5; }
body.workspace-redesign .sidebar-footer { margin-top: auto; padding: 36px 10px 0; }
body.workspace-redesign .sidebar-role { display: block; padding: 17px 0; border-top: 1px solid #2b3850; color: #e4eafa; font-size: 13px; }
body.workspace-redesign .sidebar-role small { display: block; color: #8d9db7; margin-top: 7px; font-size: 12px; }
body.workspace-redesign .sidebar-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.workspace-redesign .sidebar-footer a, body.workspace-redesign .sidebar-footer button { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 44px; padding: 7px 0; background: none; border: 0; border-radius: 4px; color: #9cacc7; font-size: 12px; text-decoration: none; }
body.workspace-redesign .sidebar-footer a:hover, body.workspace-redesign .sidebar-footer button:hover { color: #fff; }
body.workspace-redesign .workspace-menu-toggle { display: none; }
body.workspace-redesign .workspace-header { align-items: flex-start; gap: 24px; margin: 0 0 30px; padding: 0; }
body.workspace-redesign .workspace-header > div { min-width: 0; }
body.workspace-redesign .kicker { font-family: inherit; font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: .04em; color: var(--ui-muted, #64748b); margin: 0 0 8px; }
body.workspace-redesign h1 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.4; font-weight: 650; letter-spacing: -.025em; color: var(--ui-ink, #142033); }
body.workspace-redesign h2 { color: var(--ui-ink, #142033); font-size: 21px; line-height: 1.55; }
body.workspace-redesign h3 { color: var(--ui-ink, #142033); font-size: 17px; }
body.workspace-redesign .subtitle { color: var(--ui-muted, #64748b); font-size: 14px; line-height: 1.85; margin-top: 9px; max-width: 660px; }
body.workspace-redesign .header-actions { gap: 8px; max-width: none; flex-shrink: 0; padding-top: 24px; }
body.workspace-redesign .header-actions a, body.workspace-redesign .header-actions button { min-height: 44px; font-size: 13px; padding: 10px 14px; border-color: var(--ui-line, #e3e8f0); color: #40516c; background: #fff; border-radius: 8px; }
body.workspace-redesign button, body.workspace-redesign .record-actions a { color: #425575; background: #fff; border-color: #dce3ef; border-radius: 8px; min-height: 44px; font-size: 13px; line-height: 1.6; }
body.workspace-redesign button:hover:not(:disabled), body.workspace-redesign .record-actions a:hover { border-color: #9eafff; background: #f2f5ff; }
body.workspace-redesign button.primary, body.workspace-redesign .header-actions .primary, body.workspace-redesign .record-actions .primary-link, body.workspace-redesign .followup-actions button[type="submit"] { color: #fff; background: var(--ui-accent, #315bff); border-color: var(--ui-accent, #315bff); font-weight: 600; }
body.workspace-redesign button.primary:hover:not(:disabled), body.workspace-redesign .record-actions .primary-link:hover, body.workspace-redesign .followup-actions button[type="submit"]:hover:not(:disabled) { background: #244ce5; border-color: #244ce5; }
body.workspace-redesign a { color: #315bda; }
body.workspace-redesign .workspace-overview { display: flex; flex-direction: column; gap: 24px; }
body.workspace-redesign .followup-focus { order: 0; grid-template-columns: minmax(170px, 1.05fr) repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 24px; border: 1px solid #dce5fa; border-radius: var(--ui-radius, 14px); background: linear-gradient(110deg, #eaf0ff, #f5f8ff); }
body.workspace-redesign .followup-focus > div { padding-right: 12px; }
body.workspace-redesign .followup-focus h2 { font-size: 21px; font-weight: 650; line-height: 1.65; }
body.workspace-redesign .followup-focus p { color: #596980; font-size: 12px; line-height: 1.8; }
body.workspace-redesign .followup-focus .kicker { color: #4b67a6; font-size: 12px; }
body.workspace-redesign .followup-focus button { padding: 18px; background: #fff; border-color: #e0e7f5; border-radius: 11px; box-shadow: 0 3px 8px #27458c03; }
body.workspace-redesign .followup-focus button span { color: #4b5f7e; font-size: 13px; }
body.workspace-redesign .followup-focus button strong { color: #2856dc; font-size: 34px; font-weight: 650; line-height: 1.25; margin: 12px 0; }
body.workspace-redesign .followup-focus button.overdue strong { color: #985922; }
body.workspace-redesign .followup-focus button small { color: #5d697b; font-size: 12px; }
body.workspace-redesign .stats-grid { gap: 12px; margin: 0; }
body.workspace-redesign .workspace-overview > .stats-grid { order: 1; }
body.workspace-redesign .stats-grid article { border: 1px solid var(--ui-line, #e3e8f0); border-radius: 12px; background: #fff; padding: 22px 18px; }
body.workspace-redesign .stats-grid span { color: #596980; font-size: 12px; }
body.workspace-redesign .stats-grid strong { color: var(--ui-ink, #142033); font-size: clamp(20px, 1.8vw, 28px); font-weight: 650; margin: 14px 0 10px; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
body.workspace-redesign .stats-grid article.accent { background: #eff3ff; border-color: #d5dfff; }
body.workspace-redesign .stats-grid .accent strong { color: #315bda; }
body.workspace-redesign .stats-grid small { color: #606978; font-size: 12px; line-height: 1.7; }
body.workspace-redesign .stats-grid strong[data-amount-size="long"], body.workspace-redesign .stats-grid strong[data-amount-size="longest"] { font-size: 17px; }
body.workspace-redesign .task-strip { order: 2; gap: 12px; margin: 0; }
body.workspace-redesign .task-strip button { padding: 20px; border: 1px solid #e1e6f0; background: #fff; border-radius: 12px; }
body.workspace-redesign .task-strip span { color: #4d5e78; font-size: 13px; margin-right: 45px; }
body.workspace-redesign .task-strip small { color: #5f6978; font-size: 12px; margin-right: 45px; }
body.workspace-redesign .task-strip strong { color: #253a5e; font-size: 28px; top: 23px; right: 20px; }
body.workspace-redesign .share-box { order: 3; gap: 20px; padding: 22px 24px; border: 1px solid #e0e7f2; background: #fff; border-radius: 12px; }
body.workspace-redesign .share-box .kicker { font-size: 13px; color: #425676; }
body.workspace-redesign .share-box strong { color: #315bda; font-size: 14px; font-family: inherit; font-weight: 600; }
body.workspace-redesign .share-box small { color: #5d6979; font-size: 12px; }
body.workspace-redesign .share-box button { background: #eef3ff; border-color: #cfdbff; color: #315bda; }
body.workspace-redesign .overview-next { order: 4; display: flex; align-items: center; gap: 12px; padding: 25px 0 0; border-top: 1px solid #e0e6f0; }
body.workspace-redesign .overview-next > div { flex: 1; min-width: 0; }
body.workspace-redesign .overview-next .kicker { font-size: 12px; color: #606978; }
body.workspace-redesign .overview-next h2 { font-size: 17px; }
body.workspace-redesign .overview-next p { margin: 7px 0 0; color: #5e6879; font-size: 12px; line-height: 1.8; }
body.workspace-redesign .overview-next > a, body.workspace-redesign .overview-next > button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 17px; min-height: 46px; border: 1px solid #dbe3ef; border-radius: 9px; color: #466080; background: #fff; font-size: 13px; text-decoration: none; }
body.workspace-redesign .workspace-toolbar { padding: 0; gap: 14px; margin-top: 4px; }
body.workspace-redesign .workspace-toolbar label { color: #5a697f; font-size: 12px; }
body.workspace-redesign .workspace-toolbar input, body.workspace-redesign .workspace-toolbar select { border-color: #d8e1ef; background: #fff; color: #243955; font-size: 14px; min-height: 48px; margin-top: 8px; }
body.workspace-redesign .workspace-toolbar input::placeholder { color: #606977; }
body.workspace-redesign .filter-status { color: #5d6878; font-size: 12px; margin: 13px 0 0; }
body.workspace-redesign .panel { margin-top: 20px; padding: 26px; background: #fff; border: 1px solid var(--ui-line, #e3e8f0); border-radius: var(--ui-radius, 14px); box-shadow: 0 3px 12px #1a355303; }
body.workspace-redesign [data-section="questions"] { margin-top: 0; }
body.workspace-redesign .section-title { margin-bottom: 24px; gap: 16px; }
body.workspace-redesign .section-title .kicker { font-size: 12px; margin-bottom: 5px; color: #606977; }
body.workspace-redesign .section-title h2 { font-size: 20px; }
body.workspace-redesign .count-label { color: #5d687b; font-size: 12px; background: #f4f6fa; padding: 6px 10px; border-radius: 7px; }
body.workspace-redesign .record-card, body.workspace-redesign .deal-card, body.workspace-redesign .user-card { border: 1px solid #e0e7f1; background: #fff; border-radius: 11px; padding: 22px; color: #30445e; }
body.workspace-redesign .record-list { gap: 16px; }
body.workspace-redesign .record-heading time, body.workspace-redesign .record-meta, body.workspace-redesign .deal-description, body.workspace-redesign .user-card p, body.workspace-redesign .user-card small { color: #5e697a; font-size: 12px; line-height: 1.85; }
body.workspace-redesign .record-card p:not(.record-meta) { color: #4e627d; font-size: 14px; line-height: 1.85; }
body.workspace-redesign .record-card a, body.workspace-redesign .user-card a { color: #315bda; font-size: 13px; }
body.workspace-redesign .record-actions a { text-decoration: none; color: #486181; }
body.workspace-redesign .status-badge { padding: 4px 9px; border-color: #d5e5df; color: #38735f; background: #f0f8f4; font-size: 12px; }
body.workspace-redesign .status-badge.muted { color: #606978; border-color: #e0e5ed; background: #f6f7fa; }
body.workspace-redesign .deal-metrics { padding: 18px 0; margin: 16px 0; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; gap: 16px; }
body.workspace-redesign .deal-metrics dt { color: #5b687a; font-size: 12px; }
body.workspace-redesign .deal-metrics dd { color: #253c5d; font-size: 17px; }
body.workspace-redesign .deal-metrics .highlight dd { color: #315bda; }
body.workspace-redesign .receipt-progress { background: #e8edf5; height: 5px; }
body.workspace-redesign .receipt-progress span { background: #6385f7; }
body.workspace-redesign .deal-alert, body.workspace-redesign .service-pending { color: #8f5d29; font-size: 12px; line-height: 1.85; }
body.workspace-redesign .workspace-policy { margin-bottom: 20px; padding: 0 14px; border: 1px solid #e5eaf3; background: #f7f9fc; border-radius: 8px; }
body.workspace-redesign .workspace-policy > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: #5a697f; font-size: 12px; list-style: none; }
body.workspace-redesign .workspace-policy > summary::after { content: "＋"; margin-left: auto; }
body.workspace-redesign .workspace-policy[open] > summary::after { content: "−"; }
body.workspace-redesign .workspace-policy p, body.workspace-redesign .commission-note { color: #5a697f; font-size: 12px; line-height: 1.9; margin: 0 0 14px; }
body.workspace-redesign .commission-note strong { color: #315bda; }
body.workspace-redesign .privacy-note { color: #606875; font-size: 12px; line-height: 1.9; margin: 22px 0 0; }
body.workspace-redesign .page-feedback, body.workspace-redesign .draft-notice, body.workspace-redesign .followup-draft-notice { background: #fff8e9; border-color: #eddfbd; color: #816330; font-size: 13px; }
body.workspace-redesign .empty { padding: 40px 18px; color: #5c6879; font-size: 14px; line-height: 1.9; }
body.workspace-redesign .ownership-note, body.workspace-redesign .service-policy, body.workspace-redesign .form-hint, body.workspace-redesign .assignment-hint { color: #5b697d; font-size: 13px; line-height: 1.9; }
body.workspace-redesign label, body.workspace-redesign .manual-lead-form label, body.workspace-redesign .followup-form label { color: #576985; font-size: 13px; }
body.workspace-redesign input, body.workspace-redesign select, body.workspace-redesign textarea { color-scheme: light; background: #fff; border: 1px solid #d8e1ee; color: #243954; min-height: 46px; font-size: 14px; border-radius: 8px; }
body.workspace-redesign input::placeholder, body.workspace-redesign textarea::placeholder { color: #616974; }
body.workspace-redesign input:focus, body.workspace-redesign select:focus, body.workspace-redesign textarea:focus { border-color: #7c99f5; }
body.workspace-redesign .manual-lead-details { border: 1px solid #dbe4fa; background: #f5f8ff; border-radius: 9px; padding-inline: 18px; }
body.workspace-redesign .manual-lead-details > summary { color: #3e62b5; font-size: 14px; }
body.workspace-redesign .manual-lead-details > summary::after { color: #5b687f; font-size: 12px; }
body.workspace-redesign .manual-lead-form .form-hint { color: #5e697a; font-size: 12px; }
body.workspace-redesign .form-feedback, body.workspace-redesign .manual-form-actions .form-feedback, body.workspace-redesign .assignment-form .form-feedback, body.workspace-redesign .record-card p.followup-feedback { color: #856230; font-size: 13px; }
body.workspace-redesign .ledger-form, body.workspace-redesign .followup-form, body.workspace-redesign .service-entry-form { background: #f6f8fc; border-color: #dfe6f1; border-radius: 9px; padding: 20px; }
body.workspace-redesign .adjustment-details .ledger-form { background: #fbf8f1; border-color: #e9e0cc; }
body.workspace-redesign .ledger-details, body.workspace-redesign .action-details, body.workspace-redesign .account-details, body.workspace-redesign .adjustment-details, body.workspace-redesign .lead-followup, body.workspace-redesign .assignment-empty { border-color: #e5eaf2; }
body.workspace-redesign .ledger-details > summary, body.workspace-redesign .action-details > summary, body.workspace-redesign .account-details > summary, body.workspace-redesign .adjustment-details > summary, body.workspace-redesign .followup-details > summary, body.workspace-redesign .service-qualification-details > summary { color: #50698f; font-size: 13px; min-height: 44px; }
body.workspace-redesign .ledger-entry { background: #f4f7fb; color: #4b617f; border-radius: 7px; }
body.workspace-redesign .ledger-entry p { color: #5e6978; font-size: 12px; }
body.workspace-redesign .ledger-entry.voided { opacity: 1; border-left: 2px dashed #a5b1c3; }
body.workspace-redesign .followup-filter button, body.workspace-redesign .income-tabs button { border-color: #e0e7f2; background: #fff; color: #59697f; font-size: 12px; }
body.workspace-redesign .followup-filter button[aria-pressed="true"], body.workspace-redesign .income-tabs button[aria-pressed="true"] { background: #edf2ff; border-color: #bbcdff; color: #315bda; }
body.workspace-redesign .followup-stage { color: #4666a7; background: #f0f4fc; border-color: #d8e3f6; font-size: 12px; }
body.workspace-redesign .followup-date, body.workspace-redesign .followup-summary small, body.workspace-redesign .followup-details > summary span { color: #5e6878; font-size: 12px; }
body.workspace-redesign .followup-date.due { color: #427161; }
body.workspace-redesign .followup-date.overdue { color: #8a5e2a; }
body.workspace-redesign .record-card p.followup-last-note, body.workspace-redesign .record-card p.followup-hint, body.workspace-redesign .record-card p.followup-empty { color: #5c697b; font-size: 12px; }
body.workspace-redesign .followup-history { border-color: #dbe5f3; }
body.workspace-redesign .followup-history strong { color: #556987; font-size: 12px; }
body.workspace-redesign .followup-history time, body.workspace-redesign .followup-history small { color: #5f6978; font-size: 12px; }
body.workspace-redesign .record-card .followup-history p { color: #5a6980; font-size: 13px; }
body.workspace-redesign .team-policy { border-color: #e5ebf3; gap: 22px; }
body.workspace-redesign .team-policy span { color: #425c82; font-size: 13px; }
body.workspace-redesign .team-policy p { color: #5d697a; font-size: 12px; }
body.workspace-redesign .team-created-notice, body.workspace-redesign .service-eligibility.qualified { color: #417160; border-color: #d1e6dc; background: #f0f8f4; }
body.workspace-redesign .service-eligibility { color: #806337; border-color: #e8ddc6; background: #fcf8ef; }
body.workspace-redesign .service-eligibility small { color: #5f6b64; font-size: 12px; }
body.workspace-redesign .service-stats.stats-grid { margin: 20px 0 24px; }
body.workspace-redesign .service-year { color: #5c697e; font-size: 12px; }
body.workspace-redesign .benefit-breakdown > div { background: #f5f8ff; border-color: #e0e7f5; padding: 17px; border-radius: 9px; }
body.workspace-redesign .benefit-breakdown span { color: #4f698e; font-size: 13px; }
body.workspace-redesign .benefit-breakdown small, body.workspace-redesign .benefit-breakdown p { color: #5c697c; font-size: 12px; }
body.workspace-redesign .benefit-breakdown strong { color: #315bda; font-size: 17px; }
body.workspace-redesign .benefit-breakdown em { color: #88602d; }
body.workspace-redesign .pagination { flex-wrap: wrap; }
body.workspace-redesign .pagination span { color: #5c697b; font-size: 12px; }
body.workspace-redesign .session-panel { margin: 12vh auto; max-width: 520px; width: calc(100% - 36px); padding: 36px; background: #fff; border: 1px solid #dfe6f0; box-shadow: 0 14px 44px #2135540a; }
body.workspace-redesign .session-panel p { color: #5c687a; }
body.workspace-redesign .workspace-sidebar .workspace-tabs > button:hover, body.workspace-redesign .workspace-sidebar .workspace-tabs > a:hover { color: #fff; border-color: #2a3b59; background: #1d2b43; }
body.workspace-redesign .workspace-sidebar .workspace-tabs > button[aria-pressed="true"] { color: #fff; background: #315bff; border-color: #315bff; }
body.workspace-redesign .workspace-sidebar .sidebar-footer button:hover { color: #fff; background: transparent; border-color: transparent; }
body.workspace-redesign #manualLeadDraftNotice { margin: 0 0 20px; }
body.workspace-redesign .consultation-intro { background: #f3f6fc; border-color: #90a9ec; padding: 16px 18px; border-radius: 0 8px 8px 0; }
body.workspace-redesign .consultation-intro strong { color: #4f6990; font-size: 14px; }
body.workspace-redesign .consultation-intro p { color: #5c687b; font-size: 12px; }
body.workspace-redesign .consultation-heading time, body.workspace-redesign .consultation-owner, body.workspace-redesign .consultation-association { color: #5f6977; font-size: 12px; }
body.workspace-redesign .consultation-association.linked { color: #3d7162; }
body.workspace-redesign .consultation-question > span { color: #5c687a; font-size: 12px; }
body.workspace-redesign .record-card .consultation-question > p { color: #304763; font-size: 15px; line-height: 1.9; }
body.workspace-redesign .consultation-answer, body.workspace-redesign .lead-consultations, body.workspace-redesign .consultation-entry { border-color: #e3e9f3; }
body.workspace-redesign .consultation-answer > summary, body.workspace-redesign .lead-consultations > summary { color: #53698a; font-size: 13px; }
body.workspace-redesign .consultation-answer-toggle::after, body.workspace-redesign .lead-consultations > summary > span { color: #5f697a; font-size: 12px; }
body.workspace-redesign .consultation-answer-text { color: #516a8c; background: #f4f7fc; font-size: 14px; line-height: 1.95; }
body.workspace-redesign .consultation-answer-note, body.workspace-redesign .consultation-no-answer, body.workspace-redesign .consultation-history-tools p { color: #5d6879; font-size: 12px; }
body.workspace-redesign .consultation-history-tools button, body.workspace-redesign .consultation-actions button { font-size: 12px; }
body.workspace-redesign .consultation-focus-notice { background: #eff4ff; border-color: #c8d8fa; }
body.workspace-redesign .consultation-focus-notice p { color: #4d6896; font-size: 13px; }
body.workspace-redesign .record-card.consultation-focused { border-color: #94b0ec; box-shadow: inset 3px 0 #94b0ec; }
body.workspace-redesign .consultation-filters label, body.workspace-redesign .consultation-pagination label { color: #546a87; font-size: 13px; }
body.workspace-redesign .consultation-date-filter { border-color: #dce4f1; background: #f8faff; margin-top: 25px; }
body.workspace-redesign .consultation-date-filter > summary { color: #556a85; font-size: 12px; }
body.workspace-redesign .consultation-date-filter > summary > small, body.workspace-redesign .consultation-date-note { color: #5d6979; font-size: 12px; }
body.workspace-redesign .consultation-filter-actions button[type="submit"] { color: #fff; background: #315bff; border-color: #315bff; }
body.workspace-redesign .consultation-query-status p, body.workspace-redesign .consultation-pagination span { color: #5b687c; font-size: 12px; }
body.workspace-redesign .consultation-query-status[data-state="error"] p { color: #84612d; }
body.workspace-redesign #questionsList[data-query-placeholder="true"]::before { border-color: #e4eaf3; background: linear-gradient(#dce4ef, #dce4ef) 18px 24px / 38% 9px no-repeat, linear-gradient(#e8edf5, #e8edf5) 18px 54px / 78% 7px no-repeat, linear-gradient(#e8edf5, #e8edf5) 18px 76px / 62% 7px no-repeat, #f7f9fc; }
@media (max-width: 1250px) {
  body.workspace-redesign .workspace-header { display: block; }
  body.workspace-redesign .header-actions { justify-content: flex-start; padding-top: 20px; margin: 0; }
  body.workspace-redesign .followup-focus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.workspace-redesign .followup-focus > div { grid-column: 1 / -1; }
  body.workspace-redesign .followup-focus h2 { font-size: 20px; }
  body.workspace-redesign .workspace-overview > .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.workspace-redesign .overview-next { flex-wrap: wrap; }
  body.workspace-redesign .overview-next > div { flex-basis: 100%; margin-bottom: 4px; }
  body.workspace-redesign .lead-grid, body.workspace-redesign .team-grid, body.workspace-redesign .team-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  body.workspace-redesign .consultation-date-filter { margin-top: 0; }
  body.workspace-redesign .workspace-sidebar { position: sticky; inset: auto; top: 0; width: 100%; height: auto; max-height: 100dvh; padding: 14px 22px; overflow-y: auto; box-shadow: 0 3px 14px #101b3012; }
  body.workspace-redesign .sidebar-brand { padding: 0; font-size: 18px; gap: 9px; }
  body.workspace-redesign .sidebar-brand-mark { width: 33px; height: 35px; font-size: 18px; border-radius: 9px 9px 13px 9px; }
  body.workspace-redesign .sidebar-brand small { margin-top: 4px; font-size: 8px; }
  body.workspace-redesign .workspace-menu-toggle { display: inline-flex; align-items: center; justify-content: center; max-width: 50%; min-height: 44px; padding: 9px 12px; background: #1c2b45; border: 1px solid #35435d; color: #dbe5fa; font-size: 12px; white-space: nowrap; }
  body.workspace-redesign .workspace-menu-toggle:hover:not(:disabled) { color: #fff; background: #263953; border-color: #466081; }
  body.workspace-redesign .sidebar-caption, body.workspace-redesign .workspace-sidebar .workspace-tabs, body.workspace-redesign .sidebar-footer { display: none; }
  body.workspace-redesign .workspace-sidebar.menu-open .workspace-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 20px; }
  body.workspace-redesign .workspace-sidebar.menu-open .sidebar-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; padding: 14px 0 0; border-top: 1px solid #2c3b55; }
  body.workspace-redesign .sidebar-role { border: 0; padding: 0; font-size: 12px; }
  body.workspace-redesign .sidebar-role small { display: none; }
  body.workspace-redesign .sidebar-footer > div { gap: 18px; }
  body.workspace-redesign .workspace-main { width: 100%; max-width: none; margin-left: 0; padding: 30px 28px 40px; scroll-margin-top: 82px; }
  body.workspace-redesign .workspace-header { display: flex; }
  body.workspace-redesign .header-actions { flex-wrap: wrap; justify-content: flex-end; padding-top: 10px; max-width: 320px; }
  body.workspace-redesign .followup-focus { grid-template-columns: minmax(170px, 1.05fr) repeat(3, minmax(0, 1fr)); }
  body.workspace-redesign .followup-focus > div { grid-column: auto; }
  body.workspace-redesign .workspace-overview > .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body.workspace-redesign .lead-grid, body.workspace-redesign .team-grid, body.workspace-redesign .team-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.workspace-redesign .workspace-main { padding: 23px 16px 32px; }
  body.workspace-redesign .workspace-sidebar { padding: 11px 16px; }
  body.workspace-redesign .workspace-header { display: block; margin-bottom: 24px; }
  body.workspace-redesign h1 { font-size: 28px; }
  body.workspace-redesign .workspace-header .kicker { font-size: 12px; }
  body.workspace-redesign .subtitle { font-size: 13px; line-height: 1.8; margin-top: 6px; }
  body.workspace-redesign .header-actions { display: flex; max-width: none; justify-content: flex-start; gap: 8px; padding: 0; margin-top: 18px; }
  body.workspace-redesign .header-actions > a, body.workspace-redesign .header-actions > button { flex: 1 1 auto; justify-content: center; font-size: 12px; padding: 10px 8px; min-height: 44px; }
  body.workspace-redesign .workspace-overview { gap: 16px; }
  body.workspace-redesign .followup-focus { padding: 18px 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; border-radius: 12px; }
  body.workspace-redesign .followup-focus > div { grid-column: 1 / -1; padding: 0 3px 6px; }
  body.workspace-redesign .followup-focus h2 { font-size: 19px; }
  body.workspace-redesign .followup-focus button { padding: 14px 10px; }
  body.workspace-redesign .followup-focus button span { font-size: 12px; }
  body.workspace-redesign .followup-focus button strong { font-size: 28px; margin: 10px 0 0; }
  body.workspace-redesign .followup-focus button small { display: none; }
  body.workspace-redesign .workspace-overview > .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.workspace-redesign .stats-grid article { padding: 18px 15px; }
  body.workspace-redesign .workspace-overview > .stats-grid article:last-child { grid-column: 1 / -1; }
  body.workspace-redesign .stats-grid article strong, body.workspace-redesign .stats-grid article:last-child strong { font-size: clamp(16px, 4.6vw, 18px); white-space: nowrap; overflow-wrap: normal; }
  body.workspace-redesign .stats-grid article strong[data-amount-size="medium"], body.workspace-redesign .stats-grid article:last-child strong[data-amount-size="medium"] { font-size: clamp(14px, 4vw, 16px); }
  body.workspace-redesign .stats-grid article strong[data-amount-size="long"], body.workspace-redesign .stats-grid article:last-child strong[data-amount-size="long"] { font-size: clamp(12px, 3.6vw, 14px); }
  body.workspace-redesign .stats-grid article strong[data-amount-size="longest"], body.workspace-redesign .stats-grid article:last-child strong[data-amount-size="longest"] { font-size: 12px; }
  body.workspace-redesign .stats-grid article:has(strong[data-amount-size="longest"]) { grid-column: 1 / -1; }
  body.workspace-redesign .task-strip { grid-template-columns: 1fr; gap: 9px; }
  body.workspace-redesign .task-strip button { padding: 15px 17px; }
  body.workspace-redesign .task-strip span { font-size: 13px; margin-right: 50px; }
  body.workspace-redesign .task-strip small { display: block; font-size: 12px; margin: 5px 50px 0 0; }
  body.workspace-redesign .task-strip strong { position: absolute; right: 20px; top: 20px; margin: 0; font-size: 26px; }
  body.workspace-redesign .share-box { display: block; padding: 20px; }
  body.workspace-redesign .share-box button { width: 100%; margin-top: 15px; }
  body.workspace-redesign .overview-next { padding-top: 20px; gap: 10px; }
  body.workspace-redesign .overview-next > a, body.workspace-redesign .overview-next > button { flex: 1 1 130px; font-size: 12px; padding: 12px; }
  body.workspace-redesign .workspace-toolbar { flex-wrap: wrap; gap: 10px; }
  body.workspace-redesign .workspace-toolbar .search-field { flex: 0 0 100%; }
  body.workspace-redesign .workspace-toolbar label:not(.search-field) { width: auto; flex: 1; }
  body.workspace-redesign input, body.workspace-redesign select, body.workspace-redesign textarea, body.workspace-redesign .workspace-toolbar input, body.workspace-redesign .workspace-toolbar select { font-size: 16px; min-height: 46px; }
  body.workspace-redesign .panel { padding: 20px 15px; margin-top: 18px; }
  body.workspace-redesign [data-section="questions"] { margin-top: 0; }
  body.workspace-redesign .section-title { align-items: flex-start; margin-bottom: 20px; }
  body.workspace-redesign .section-title h2 { font-size: 18px; }
  body.workspace-redesign .record-card, body.workspace-redesign .deal-card, body.workspace-redesign .user-card { padding: 18px 14px; }
  body.workspace-redesign .lead-grid, body.workspace-redesign .team-grid, body.workspace-redesign .team-summary-grid { grid-template-columns: 1fr; }
  body.workspace-redesign .deal-metrics, body.workspace-redesign .service-stats.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.workspace-redesign .ledger-form, body.workspace-redesign .followup-form, body.workspace-redesign .service-entry-form { padding: 16px 12px; }
  body.workspace-redesign .team-created-notice { align-items: stretch; }
  body.workspace-redesign .pagination { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.workspace-redesign *, body.workspace-redesign *::before, body.workspace-redesign *::after { scroll-behavior: auto; transition: none; animation: none; }
}
/* Account details are shown only after a successful creation. */
body.workspace-redesign .user-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.workspace-redesign .account-handoff { margin: 20px 0; padding: 22px; border: 1px solid #b9caff; border-radius: 16px; background: #f3f6ff; }
body.workspace-redesign .account-handoff[hidden] { display: none; }
body.workspace-redesign .account-handoff h3 { margin: 0 0 8px; font-size: 18px; color: #20324e; }
body.workspace-redesign .account-handoff > p { margin: 8px 0 14px; color: #5b697d; font-size: 13px; line-height: 1.8; }
body.workspace-redesign .account-handoff textarea { display: block; width: 100%; min-height: 210px; padding: 14px; box-sizing: border-box; resize: vertical; font: inherit; font-size: 14px; line-height: 1.8; color: #20324e; background: #fff; border: 1px solid #d7e0f3; border-radius: 10px; overflow-wrap: anywhere; }
body.workspace-redesign .account-handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 700px) {
  body.workspace-redesign .user-form { grid-template-columns: 1fr; }
  body.workspace-redesign .account-handoff { padding: 16px; }
  body.workspace-redesign .account-handoff textarea { font-size: 16px; min-height: 270px; }
  body.workspace-redesign .account-handoff-actions button { flex: 1 1 100%; }
}
