@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
@import url('/static/css/theme-m1000-deal-room.css?v=20260721');

html[data-theme="m1000"] {
    --m1000-navy: #0a2850;
    --m1000-navy-deep: #071e3a;
    --m1000-panel: #ffffff;
    --m1000-panel-soft: #f5f9ff;
    --m1000-panel-alt: #eef5ff;
    --m1000-line: #d9e5f2;
    --m1000-line-strong: #bfd4ea;
    --m1000-ink: #123153;
    --m1000-muted: #69819b;
    --m1000-sky: #63dbfe;
    --m1000-sky-strong: #3fc9f3;
    --m1000-success: #19b67d;
    --m1000-gold: #d1a44e;
    --m1000-coral: #ef5d6e;
    --m1000-type-label: 0.86rem;
    --m1000-type-badge: 0.74rem;
    --m1000-type-meta: 0.82rem;
    --m1000-type-body-sm: 0.92rem;
    --m1000-type-body: 0.98rem;
    --m1000-type-title: 1.18rem;
    --m1000-space-1: 6px;
    --m1000-space-2: 10px;
    --m1000-space-3: 14px;
    --m1000-space-4: 18px;
    --m1000-space-5: 24px;
    --m1000-space-6: 30px;
    --m1000-control-height-sm: 38px;
    --m1000-control-height: 46px;
    --m1000-control-height-lg: 52px;
    --m1000-control-radius: 12px;
    --m1000-card-radius: 16px;
    --m1000-shell-radius: 22px;
    --font-display: 'Hanken Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', monospace;
    --color-bg: #f4f8fd;
    --color-surface: #ffffff;
    --color-surface-2: #f6faff;
    --color-border: #d8e4f2;
    --color-border-subtle: #e7eff8;
    --color-border-emphasis: #c3d4e8;
    --color-text: #15304f;
    --color-text-muted: #6a8098;
    --color-text-light: #92a5b9;
    --color-accent: #0f4fa3;
    --color-accent-hover: #0a4288;
    --color-accent-subtle: rgba(15, 79, 163, 0.08);
    --color-accent-light: rgba(99, 219, 254, 0.18);
    --color-green: #19b67d;
    --color-green-subtle: rgba(25, 182, 125, 0.12);
    --color-green-surface: #ddfbf0;
    --color-green-text: #0f8a5d;
    --color-amber: #d18a2d;
    --color-amber-subtle: rgba(209, 138, 45, 0.11);
    --color-amber-surface: #fff3dc;
    --color-amber-text: #9d5b0f;
    --color-red: #ef5d6e;
    --color-red-subtle: rgba(239, 93, 110, 0.12);
    --color-red-surface: #ffe5ea;
    --color-red-text: #bf3a4c;
    --color-blue: #0f4fa3;
    --color-blue-surface: #e6f1ff;
    --color-blue-text: #0c4289;
    --color-blue-light: #f0f6ff;
    --color-teal: #1f8ca7;
    --color-teal-surface: #dff7fb;
    --color-teal-text: #135f70;
    --radius-sm: 7px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 999px;
    --shadow-sm: 0 8px 20px rgba(8, 28, 54, 0.06);
    --shadow-md: 0 18px 42px rgba(8, 28, 54, 0.10);
    --shadow-lg: 0 28px 72px rgba(8, 28, 54, 0.16);
}

[data-theme="m1000"] body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(99, 219, 254, 0.14), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
    color: var(--m1000-ink);
}

[data-theme="m1000"] .shell {
    background: transparent;
    position: relative;
}

[data-theme="m1000"] .topbar {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

[data-theme="m1000"] .topbar-brand {
    position: fixed;
    top: 0;
    left: 310px;
    right: 0;
    z-index: 90;
    max-width: none;
    margin: 0;
    padding: 14px 28px 14px 24px;
    min-height: 88px;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,251,255,.96) 100%);
    border-bottom: 1px solid var(--m1000-line);
    box-shadow: 0 10px 28px rgba(10, 40, 80, 0.06);
    gap: 16px;
}

[data-theme="m1000"] .app-name,
[data-theme="m1000"] .version,
[data-theme="m1000"] .logout-link,
[data-theme="m1000"] .deal-room-back {
    color: var(--m1000-ink);
}

[data-theme="m1000"] .app-logo,
[data-theme="m1000"] .app-name,
[data-theme="m1000"] .brand-sep {
    display: none;
}

[data-theme="m1000"] .deal-room-back,
[data-theme="m1000"] .deal-btn,
[data-theme="m1000"] .theme-toggle-btn,
[data-theme="m1000"] .text-scale-btn {
    border-radius: 10px;
    border: 1px solid var(--m1000-line);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 6px 18px rgba(10, 40, 80, 0.06);
    color: var(--m1000-ink);
}

[data-theme="m1000"] .text-scale-btn.active,
[data-theme="m1000"] .theme-toggle-btn {
    background: linear-gradient(180deg, #0d3b74 0%, #0a2850 100%);
    color: #fff;
    border-color: #0d3b74;
}

[data-theme="m1000"] .theme-toggle-btn {
    min-width: 82px;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

[data-theme="m1000"] .deal-dropdown-trigger,
[data-theme="m1000"] #globalSearchInput {
    border-radius: 12px;
    border: 1px solid var(--m1000-line);
    background: linear-gradient(180deg, #f7fbff 0%, #eff5ff 100%);
    color: var(--m1000-ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

[data-theme="m1000"] #globalSearchInput::placeholder {
    color: #8aa0b8;
}

[data-theme="m1000"] .topbar-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 286px;
    z-index: 95;
    max-width: none;
    margin: 0;
    padding: 22px 18px 24px;
    background:
        radial-gradient(circle at top left, rgba(99,219,254,.12), transparent 20%),
        linear-gradient(180deg, #0d2e59 0%, #082445 100%);
    border-top: none;
    box-shadow: 18px 0 40px rgba(8, 28, 54, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

[data-theme="m1000"] .topbar-nav::-webkit-scrollbar { display: none; }

[data-theme="m1000"] .m1000-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 8px 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    cursor: pointer;
}

[data-theme="m1000"] .m1000-sidebar-mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(180deg, #63dbfe 0%, #3fc9f3 100%);
    color: #082445;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(99, 219, 254, 0.28);
    overflow: hidden;
}

[data-theme="m1000"] .m1000-sidebar-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

[data-theme="m1000"] .m1000-sidebar-copy {
    display: grid;
    gap: 2px;
}

[data-theme="m1000"] .m1000-sidebar-title {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

[data-theme="m1000"] .m1000-sidebar-sub {
    color: rgba(255,255,255,.62);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}

[data-theme="m1000"] .nav-tab,
[data-theme="m1000"] .nav-tab-direct,
[data-theme="m1000"] .nav-menu-trigger {
    border-radius: 12px;
    color: rgba(255,255,255,.70);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 16px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    border-bottom: none;
    margin-bottom: 0;
    width: 100%;
    justify-content: flex-start;
    font-size: .9rem;
}

[data-theme="m1000"] .nav-tab:hover,
[data-theme="m1000"] .nav-tab-direct:hover,
[data-theme="m1000"] .nav-menu-trigger:hover,
[data-theme="m1000"] .nav-menu-trigger.has-active,
[data-theme="m1000"] .nav-menu-trigger.open,
[data-theme="m1000"] .nav-tab.active,
[data-theme="m1000"] .nav-tab-direct.active {
    background: rgba(255,255,255,.10);
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}

[data-theme="m1000"] .nav-menu-trigger.has-active,
[data-theme="m1000"] .nav-menu-trigger.open {
    opacity: 1;
    color: #f4fcff;
    text-shadow: 0 0 10px rgba(99, 219, 254, 0.14);
}

[data-theme="m1000"] .nav-menu {
    width: 100%;
}

[data-theme="m1000"] .nav-menu-trigger {
    display: flex;
}

[data-theme="m1000"] .nav-menu-dropdown {
    position: static;
    display: block;
    margin-top: 6px;
    margin-bottom: 6px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    box-shadow: none;
    min-width: 0;
    padding: 6px;
}

[data-theme="m1000"] .nav-menu:not(.open) .nav-menu-dropdown {
    display: none;
}

[data-theme="m1000"] .nav-menu-dropdown .nav-tab {
    color: rgba(255,255,255,.64);
    text-transform: none;
    letter-spacing: 0;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 11px 14px;
}

[data-theme="m1000"] .nav-menu-dropdown .nav-tab.active,
[data-theme="m1000"] .nav-menu-dropdown .nav-tab:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

[data-theme="m1000"] .main-content {
    background: transparent;
    margin-left: 286px;
    padding-top: 100px;
    min-height: 100vh;
}

[data-theme="m1000"] .page,
[data-theme="m1000"] .pt-page,
[data-theme="m1000"] .gc-page {
    max-width: none;
    margin: 0;
    padding: 28px 26px 42px;
}

[data-theme="m1000"] .page-header,
[data-theme="m1000"] .card,
[data-theme="m1000"] .dashboard-card,
[data-theme="m1000"] .content-card {
    border-radius: var(--m1000-card-radius);
    border-color: var(--m1000-line);
    box-shadow: var(--shadow-sm);
}

[data-theme="m1000"] .card:hover,
[data-theme="m1000"] .dashboard-card:hover,
[data-theme="m1000"] .content-card:hover {
    box-shadow: var(--shadow-md);
}

[data-theme="m1000"] .btn,
[data-theme="m1000"] button:not(.nav-tab):not(.nav-tab-direct):not(.nav-menu-trigger) {
    font-family: var(--font-body);
}

[data-theme="m1000"] .btn-primary,
[data-theme="m1000"] .btn-secondary {
    background: linear-gradient(180deg, #0d3b74 0%, #0a2850 100%);
    color: #fff;
    border: 1px solid #0d3b74;
    border-radius: var(--m1000-control-radius);
    min-height: var(--m1000-control-height);
    padding: 0 18px;
    box-shadow: 0 12px 26px rgba(10, 40, 80, 0.14);
}

[data-theme="m1000"] .btn-danger {
    border-radius: var(--m1000-control-radius);
    min-height: var(--m1000-control-height);
}

[data-theme="m1000"] .nav-sep,
[data-theme="m1000"] #dealNavGroup,
[data-theme="m1000"] .version {
    display: none !important;
}

[data-theme="m1000"] .global-search {
    max-width: 680px;
    margin-left: 0;
}

[data-theme="m1000"] #globalSearchInput {
    min-height: var(--m1000-control-height-lg);
    padding: 0 18px;
    font-size: .96rem;
    border-radius: var(--m1000-control-radius);
}

[data-theme="m1000"] .deal-dropdown {
    min-width: 240px;
}

[data-theme="m1000"] .deal-dropdown-trigger {
    min-height: var(--m1000-control-height-lg);
    display: flex;
    align-items: center;
    padding: 0 42px 0 16px;
    font-size: .92rem;
    font-weight: 700;
}

[data-theme="m1000"] .brand-right {
    gap: 12px;
}

[data-theme="m1000"] .text-scale-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 4px;
}

[data-theme="m1000"] .text-scale-btn {
    min-width: 24px;
    border: 1px solid var(--m1000-line);
}

[data-theme="m1000"] .m1000-system-status,
[data-theme="m1000"] .m1000-profile-chip,
[data-theme="m1000"] .m1000-sidebar-footer,
[data-theme="m1000"] .m1000-sidebar-sub {
    display: none !important;
}

/* Unified M1000 typography system */
[data-theme="m1000"] {
    --m1000-type-hero: clamp(2.4rem, 2.1rem + 1vw, 3.2rem);
    --m1000-type-h1: clamp(2rem, 1.8rem + .6vw, 2.7rem);
    --m1000-type-h2: clamp(1.35rem, 1.24rem + .3vw, 1.7rem);
    --m1000-type-h3: 1.08rem;
    --m1000-type-kpi: clamp(2rem, 1.7rem + .8vw, 2.8rem);
    --m1000-type-button: 0.92rem;
    --m1000-type-input: 0.94rem;
}

[data-theme="m1000"] h1,
[data-theme="m1000"] .page-title,
[data-theme="m1000"] .dashboard-m1000-header h1,
[data-theme="m1000"] .pm-hero-title,
[data-theme="m1000"] .pm-title,
[data-theme="m1000"] .pm-m1000-detail-title,
[data-theme="m1000"] .impl-m1000-title,
[data-theme="m1000"] .qp-page-title,
[data-theme="m1000"] .tpd-title {
    font-family: var(--font-display);
    font-size: var(--m1000-type-h1) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
    font-weight: 800 !important;
}

[data-theme="m1000"] .pm-m1000-widget-value,
[data-theme="m1000"] .impl-m1000-stat-value,
[data-theme="m1000"] .kpi-value,
[data-theme="m1000"] .pm-card-value {
    font-family: var(--font-display);
    font-size: var(--m1000-type-kpi) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
    font-weight: 800 !important;
}

[data-theme="m1000"] h2,
[data-theme="m1000"] .section-title,
[data-theme="m1000"] .card-header h2,
[data-theme="m1000"] .card-header h3,
[data-theme="m1000"] .page-header h2,
[data-theme="m1000"] .pm-section-header h2,
[data-theme="m1000"] .pm-modal-head h3,
[data-theme="m1000"] .dashboard-m1000-title,
[data-theme="m1000"] .qp-section-header,
[data-theme="m1000"] .tpd-section-title,
[data-theme="m1000"] .sub-tab-content-div h2,
[data-theme="m1000"] .sub-tab-content-div h3 {
    font-family: var(--font-display);
    font-size: var(--m1000-type-h2) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    font-weight: 800 !important;
    color: var(--m1000-ink) !important;
}

[data-theme="m1000"] h3,
[data-theme="m1000"] h4,
[data-theme="m1000"] .pm-overview-card h3,
[data-theme="m1000"] .pm-morning-title,
[data-theme="m1000"] .pm-account-title,
[data-theme="m1000"] .pm-contact-name,
[data-theme="m1000"] .pm-partner-card-title,
[data-theme="m1000"] .pm-research-card-title,
[data-theme="m1000"] .pm-m1000-focus-name,
[data-theme="m1000"] .impl-summary .label + *,
[data-theme="m1000"] .deals-section .dc-name,
[data-theme="m1000"] .deal-row .dc-name,
[data-theme="m1000"] .ai-flat-title,
[data-theme="m1000"] .ai-title {
    font-size: var(--m1000-type-h3) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

[data-theme="m1000"] .pm-kicker,
[data-theme="m1000"] .pm-hero-note,
[data-theme="m1000"] .dashboard-m1000-eyebrow,
[data-theme="m1000"] .deals-section-title,
[data-theme="m1000"] .pm-card-label,
[data-theme="m1000"] .pm-control-title,
[data-theme="m1000"] .pm-section-header h2,
[data-theme="m1000"] .pm-table th,
[data-theme="m1000"] .pm-sort-btn,
[data-theme="m1000"] .pm-morning-copy-label,
[data-theme="m1000"] .pm-morning-kpi-label,
[data-theme="m1000"] .pm-m1000-row-head,
[data-theme="m1000"] .pm-m1000-widget-label,
[data-theme="m1000"] .pm-m1000-mini-label,
[data-theme="m1000"] .pm-m1000-detail-badge,
[data-theme="m1000"] .pm-m1000-detail-metric-label,
[data-theme="m1000"] .pm-m1000-detail-lane-title,
[data-theme="m1000"] .pm-modal-card h4,
[data-theme="m1000"] .pm-field label,
[data-theme="m1000"] .impl-m1000-kicker,
[data-theme="m1000"] .qp-strip-label,
[data-theme="m1000"] .tpd-kicker,
[data-theme="m1000"] .tpd-mini-label,
[data-theme="m1000"] .qp-table th,
[data-theme="m1000"] .tpd-table th,
[data-theme="m1000"] .type-label,
[data-theme="m1000"] .family-label,
[data-theme="m1000"] .view-tab,
[data-theme="m1000"] .nav-tab,
[data-theme="m1000"] .nav-tab-direct,
[data-theme="m1000"] .nav-menu-trigger {
    font-size: var(--m1000-type-label) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
}

[data-theme="m1000"] .deals-section-count,
[data-theme="m1000"] .pm-pill,
[data-theme="m1000"] .pm-badge,
[data-theme="m1000"] .pm-account-meta-chip,
[data-theme="m1000"] .pm-contact-status-badge,
[data-theme="m1000"] .pm-contact-sfdc-badge,
[data-theme="m1000"] .pm-research-pin,
[data-theme="m1000"] .pm-morning-priority,
[data-theme="m1000"] .deals-section .badge,
[data-theme="m1000"] .type-count,
[data-theme="m1000"] .family-count,
[data-theme="m1000"] .pm-contact-group-count,
[data-theme="m1000"] .tpd-pill,
[data-theme="m1000"] .tpd-pill strong,
[data-theme="m1000"] .cc-tag,
[data-theme="m1000"] .cl-banner,
[data-theme="m1000"] .org-node-tag {
    font-size: var(--m1000-type-badge) !important;
    line-height: 1.1 !important;
}

[data-theme="m1000"] body,
[data-theme="m1000"] p,
[data-theme="m1000"] li,
[data-theme="m1000"] td,
[data-theme="m1000"] .pm-subtitle,
[data-theme="m1000"] .pm-m1000-widget-copy,
[data-theme="m1000"] .pm-m1000-focus-copy,
[data-theme="m1000"] .pm-m1000-detail-sub,
[data-theme="m1000"] .pm-m1000-detail-lead,
[data-theme="m1000"] .pm-m1000-detail-lane-copy,
[data-theme="m1000"] .pm-list-item .notes,
[data-theme="m1000"] .pm-contact-card .notes,
[data-theme="m1000"] .pm-rich-output,
[data-theme="m1000"] .ops-copy,
[data-theme="m1000"] .ops-note-value,
[data-theme="m1000"] .ai-desc,
[data-theme="m1000"] .dashboard-m1000-summary,
[data-theme="m1000"] .impl-m1000-copy,
[data-theme="m1000"] .impl-m1000-meta,
[data-theme="m1000"] .impl-m1000-stat-copy,
[data-theme="m1000"] .qp-page-sub,
[data-theme="m1000"] .tpd-sub,
[data-theme="m1000"] .tpd-updated,
[data-theme="m1000"] .org-toolbar-hint {
    font-size: var(--m1000-type-body) !important;
    line-height: 1.62 !important;
}

[data-theme="m1000"] .pm-small,
[data-theme="m1000"] .pm-account-cluster,
[data-theme="m1000"] .pm-inline-note,
[data-theme="m1000"] .pm-status,
[data-theme="m1000"] .pm-list-item .meta,
[data-theme="m1000"] .pm-contact-meta-stack,
[data-theme="m1000"] .pm-contact-meta-line.title,
[data-theme="m1000"] .pm-contact-history-link,
[data-theme="m1000"] .pm-contact-activity-meta,
[data-theme="m1000"] .pm-contact-activity-next,
[data-theme="m1000"] .fu-dash-deal,
[data-theme="m1000"] .fu-dash-date,
[data-theme="m1000"] .ai-due,
[data-theme="m1000"] .ops-task-meta,
[data-theme="m1000"] .ops-list-item span,
[data-theme="m1000"] .dc-detail,
[data-theme="m1000"] .deal-row .dc-meta,
[data-theme="m1000"] .cc-title,
[data-theme="m1000"] .cc-detail-list li,
[data-theme="m1000"] .cc-detail-list li a,
[data-theme="m1000"] .cc-interaction-meta,
[data-theme="m1000"] .org-node-title,
[data-theme="m1000"] .team-row .team-meta,
[data-theme="m1000"] .dept-mini-title {
    font-size: var(--m1000-type-meta) !important;
    line-height: 1.5 !important;
}

[data-theme="m1000"] .dc-products-link {
    font-size: var(--m1000-type-body) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    color: var(--m1000-accent-strong, #1f4fa3) !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(226, 238, 255, 0.72);
}

[data-theme="m1000"] .dc-products-link:hover {
    background: rgba(213, 230, 255, 0.92) !important;
}

[data-theme="m1000"] .dc-value,
[data-theme="m1000"] .dc-value-primary {
    font-family: var(--font-body) !important;
    font-size: var(--m1000-type-h3) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
}

[data-theme="m1000"] .dc-value-stack {
    min-width: 132px;
    gap: 4px;
}

[data-theme="m1000"] .dc-value-secondary {
    font-family: var(--font-body) !important;
    font-size: var(--m1000-type-meta) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: var(--color-text-muted) !important;
    letter-spacing: -0.01em !important;
}

[data-theme="m1000"] .dc-value-secondary-arrow {
    color: var(--m1000-accent-strong, #1f4fa3) !important;
}

[data-theme="m1000"] button,
[data-theme="m1000"] .btn,
[data-theme="m1000"] .pm-btn,
[data-theme="m1000"] .pm-detail-tab,
[data-theme="m1000"] .pm-detail-tab-action,
[data-theme="m1000"] .pm-tab,
[data-theme="m1000"] .qp-view-tab,
[data-theme="m1000"] .tpd-filter,
[data-theme="m1000"] .view-tab,
[data-theme="m1000"] .deal-btn,
[data-theme="m1000"] .pm-rich-btn,
[data-theme="m1000"] .pm-icon-btn {
    font-size: var(--m1000-type-button) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    border-radius: var(--m1000-control-radius);
}

[data-theme="m1000"] input,
[data-theme="m1000"] select,
[data-theme="m1000"] textarea,
[data-theme="m1000"] #globalSearchInput,
[data-theme="m1000"] .deal-dropdown-trigger,
[data-theme="m1000"] .pm-field input,
[data-theme="m1000"] .pm-field textarea,
[data-theme="m1000"] .pm-field select,
[data-theme="m1000"] .pm-rich-editor,
[data-theme="m1000"] .tpd-textarea,
[data-theme="m1000"] .tpd-input,
[data-theme="m1000"] .tpd-select,
[data-theme="m1000"] .tpd-row-input,
[data-theme="m1000"] .tpd-row-select,
[data-theme="m1000"] .tpd-task-text,
[data-theme="m1000"] .tpd-task-date,
[data-theme="m1000"] .tpd-task-partner,
[data-theme="m1000"] .scenario-select {
    font-size: var(--m1000-type-input) !important;
    line-height: 1.4 !important;
    font-family: var(--font-body) !important;
    min-height: var(--m1000-control-height);
    border-radius: var(--m1000-control-radius);
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
}

[data-theme="m1000"] textarea,
[data-theme="m1000"] .pm-field textarea,
[data-theme="m1000"] .tpd-textarea,
[data-theme="m1000"] .pm-rich-editor {
    min-height: 120px;
    padding-top: 12px;
    padding-bottom: 12px;
}

[data-theme="m1000"] .form-group,
[data-theme="m1000"] .pm-field,
[data-theme="m1000"] .tpd-field {
    display: grid;
    gap: var(--m1000-space-2);
}

[data-theme="m1000"] .card-header,
[data-theme="m1000"] .page-header,
[data-theme="m1000"] .section-header {
    gap: var(--m1000-space-3);
}

@media (max-width: 1180px) {
    [data-theme="m1000"] .topbar-nav {
        width: 246px;
    }

    [data-theme="m1000"] .topbar-brand {
        left: 246px;
    }

    [data-theme="m1000"] .main-content {
        margin-left: 246px;
    }

    [data-theme="m1000"] .global-search {
        max-width: 440px;
    }

    [data-theme="m1000"] .m1000-system-status,
    [data-theme="m1000"] .m1000-profile-copy span {
        display: none;
    }
}

@media (max-width: 900px) {
    [data-theme="m1000"] .topbar-nav {
        position: static;
        width: auto;
        height: auto;
        padding: 12px 16px;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        box-shadow: none;
        border-radius: 0;
    }

    [data-theme="m1000"] .m1000-sidebar-brand,
    [data-theme="m1000"] .m1000-sidebar-footer,
    [data-theme="m1000"] .nav-menu-dropdown {
        display: none !important;
    }

    [data-theme="m1000"] .topbar-brand {
        position: static;
        left: auto;
        right: auto;
        min-height: auto;
        padding: 14px 16px;
    }

    [data-theme="m1000"] .main-content {
        margin-left: 0;
        padding-top: 0;
    }

    [data-theme="m1000"] .shell {
        padding-top: 0;
    }
}

[data-theme="m1000"] .cc-notes-panel .cc-notes,
[data-theme="m1000"] .cc-notes-panel .cc-notes li,
[data-theme="m1000"] .cc-notes-panel .cc-notes-empty {
    font-size: .74rem !important;
    line-height: 1.45 !important;
    color: #6f84a1 !important;
    font-style: normal !important;
}

[data-theme="m1000"] .cc-notes-panel .cc-notes ul {
    margin: 0;
    padding-left: 1rem;
}
