:root{--bg: #f4f8fc;--panel: #ffffff;--panel-soft: #f2f8fc;--line: #d8e7ef;--text: #182839;--ink: #182839;--muted: #637484;--brand: #1b5377;--brand-strong: #16435f;--brand-blue: #2a78a5;--brand-blue-mid: #3a8bb8;--brand-soft: #e8f4fb;--brand-pale: #f6fbff;--brand-border: #c8dfea;--gold: #c6923f;--danger: #b42318;--surface-app-bg: linear-gradient( 135deg, #eef7fc 0%, #f8fbff 42%, #f3f7fb 100% );--surface-shell: rgba(255, 255, 255, .86);--surface-sidebar: rgba(247, 251, 254, .9);--surface-card: rgba(255, 255, 255, .94);--surface-card-solid: #ffffff;--surface-card-hover: #f9fcff;--surface-muted: #f3f8fc;--surface-elevated: rgba(255, 255, 255, .97);--border-soft: rgba(149, 174, 194, .28);--border-strong: rgba(98, 136, 166, .34);--shadow: 0 18px 42px rgba(31, 65, 92, .075);--shadow-soft: 0 10px 26px rgba(31, 65, 92, .055);--shadow-elevated: 0 22px 50px rgba(31, 65, 92, .105);--shadow-focus: 0 0 0 3px rgba(42, 120, 165, .14);--ui-text-strong: #0f172a;--ui-text-primary: #1f2933;--ui-text-secondary: #475569;--ui-text-muted: #64748b;--ui-text-subtle: #8a98a8;--ui-text-placeholder: #7b8794;--ui-detail-label-bg: #f7faf8;--ui-detail-border: #edf3ef;--ui-font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ui-font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--ui-font-size-3xs: 9px;--ui-font-size-2xs: 10px;--ui-font-size-2xs-plus: 10.5px;--ui-font-size-xs: 11px;--ui-font-size-xs-plus: 11.5px;--ui-font-size-sm: 12px;--ui-font-size-sm-plus: 12.5px;--ui-font-size-md: 13px;--ui-font-size-body: 14px;--ui-font-size-lg: 15px;--ui-font-size-xl: 16px;--ui-font-size-2xl: 17px;--ui-font-size-3xl: 18px;--ui-font-size-4xl: 19px;--ui-font-size-5xl: 20px;--ui-font-size-6xl: 22px;--ui-font-size-7xl: 24px;--ui-font-size-8xl: 25px;--ui-font-size-page-title: 26px;--ui-font-size-stat: 30px;--ui-font-size-nav: var(--ui-font-size-body);--ui-font-size-caption: var(--ui-font-size-sm);--ui-font-size-table: var(--ui-font-size-md);--ui-font-size-form-label: var(--ui-font-size-md);--ui-font-size-form-value: var(--ui-font-size-body);--ui-font-size-detail-label: var(--ui-font-size-md);--ui-font-size-detail-value: var(--ui-font-size-body);--ui-font-size-detail-meta: var(--ui-font-size-md);--ui-font-size-button: var(--ui-font-size-md);--ui-font-size-button-shell: var(--ui-font-size-sm-plus);--ui-font-weight-regular: 400;--ui-font-weight-normal: 450;--ui-font-weight-medium: 500;--ui-font-weight-label: 550;--ui-font-weight-semibold: 600;--ui-font-weight-emphasis: 650;--ui-font-weight-bold: 700;--ui-font-weight-heading: 750;--ui-font-weight-heavy: 800;--ui-font-weight-black: 900;--ui-font-weight-display: 950;--ui-page-header-gap: 8px;--ui-page-section-gap: 12px;--ui-card-bg: var(--surface-card);--ui-card-border: var(--border-soft);--ui-card-radius: 14px;--ui-card-radius-lg: 18px;--ui-card-shadow: var(--shadow-soft);--ui-card-padding: 12px;--ui-card-padding-comfortable: 14px;--ui-muted-surface: var(--surface-muted);--ui-table-head-bg: rgba(244, 249, 253, .92);--ui-control-bg: rgba(255, 255, 255, .86);--ui-control-border: rgba(119, 152, 178, .36);--ui-control-hover-bg: rgba(255, 255, 255, .96);--ui-switch-bg: rgba(255, 255, 255, .72);--ui-switch-border: rgba(98, 136, 166, .28);--ui-switch-text: var(--brand-strong);--ui-switch-active-bg: linear-gradient(135deg, #1f6f9f 0%, #16435f 100%);--ui-switch-active-text: #ffffff;--ui-switch-active-shadow: 0 10px 24px rgba(31, 65, 92, .14);--mobile-work-breakpoint: 760px;--mobile-work-page-inline-padding: 12px;--mobile-work-page-block-padding: 12px;--mobile-work-safe-bottom: max( 76px, calc(56px + env(safe-area-inset-bottom, 0px)) );--mobile-work-section-gap: 12px;--mobile-work-card-padding: 12px;--mobile-work-touch-target: 42px;--mobile-work-visual-height: 100dvh;--mobile-work-keyboard-gap: 0px;--mobile-work-bottom-interaction-clearance: max( 92px, calc(72px + env(safe-area-inset-bottom, 0px)) );--mobile-work-keyboard-clearance: max( var(--mobile-work-bottom-interaction-clearance), calc( var(--mobile-work-keyboard-gap, 0px) + 28px + env(safe-area-inset-bottom, 0px) ) );--mobile-work-sticky-action-bottom: max( 8px, env(safe-area-inset-bottom, 0px) );--mobile-work-surface-page: var(--surface-app-bg);--mobile-work-surface-card: var(--surface-card-solid);--mobile-work-surface-elevated: var(--surface-elevated);--mobile-work-surface-muted: var(--surface-muted);--mobile-work-border: var(--border-soft);--mobile-work-border-strong: var(--border-strong);--mobile-work-row-border: rgba(193, 216, 228, .58);--mobile-work-divider: rgba(174, 202, 217, .48);--mobile-work-label-text: var(--ui-text-muted);--mobile-work-card-primary-bg: var(--brand-pale);--mobile-work-card-label-width: clamp(76px, 22vw, 96px);--mobile-work-related-label-width: clamp(72px, 21vw, 88px);--mobile-work-card-title-text: var(--ui-text-strong);--mobile-work-card-meta-text: var(--ui-text-muted);--mobile-work-selector-bg: var(--surface-card-solid);--mobile-work-selector-active-bg: var(--brand-soft);--mobile-work-selector-active-text: var(--brand-strong);--mobile-work-backdrop: var(--ui-shell-backdrop-modal);--mobile-work-sheet-bg: var(--surface-card-solid);--mobile-work-sheet-shadow: var(--shadow-elevated);--mobile-work-soft-border: rgba(149, 199, 219, .58);--mobile-work-option-border: rgba(185, 211, 224, .66);--mobile-work-active-border: rgba(96, 166, 196, .46);--mobile-work-active-muted-text: var(--ui-text-secondary);--mobile-work-detail-divider: rgba(202, 223, 231, .62);--mobile-work-sticky-bg: rgba(255, 255, 255, .96);--mobile-work-sticky-border: rgba(185, 211, 224, .78);--mobile-work-sticky-shadow: 0 -10px 28px rgba(31, 65, 92, .1);--mobile-work-shell-footer-bg: rgba(255, 255, 255, .98);--system-dock-bg: linear-gradient(135deg, rgba(248, 252, 255, .88), rgba(239, 242, 255, .82));--system-dock-border: rgba(141, 205, 238, .44);--system-dock-shadow: 0 14px 32px rgba(43, 90, 128, .14), inset 0 1px 0 rgba(255, 255, 255, .72);--system-dock-text: rgba(41, 76, 103, .82);--system-dock-active-text: #132b46;--system-dock-chat: #16b9d6;--system-dock-email: #33a7e6;--system-dock-ai: #6d5dfb;--system-dock-ai-soft: #eef0ff;--system-dock-glow: 0 0 24px rgba(109, 93, 251, .22);--ai-violet: #6d5dfb;--ai-violet-soft: #eef0ff;--ai-violet-border: rgba(109, 93, 251, .25);--ai-blue: #33a7e6;--ai-cyan: #16b9d6;--ai-green: #16a34a;--ai-amber: #d97706;--system-app-white: #ffffff;--system-app-cyan-light: #74d9ff;--system-app-fresh-canvas: linear-gradient(135deg, rgba(239, 249, 255, .88), rgba(245, 246, 255, .78));--system-app-clean-hero: linear-gradient(135deg, rgba(27, 65, 112, .96), rgba(69, 74, 170, .9));--system-app-clean-header: linear-gradient(135deg, rgba(27, 65, 112, .98), rgba(69, 74, 170, .92));--system-app-clean-border: rgba(145, 205, 239, .34);--system-app-white-10: rgba(255, 255, 255, .1);--system-app-white-16: rgba(255, 255, 255, .16);--system-app-white-18: rgba(255, 255, 255, .18);--system-app-white-34: rgba(255, 255, 255, .34);--system-app-white-58: rgba(255, 255, 255, .58);--system-app-white-70: rgba(255, 255, 255, .7);--system-app-white-72: rgba(255, 255, 255, .72);--system-app-white-74: rgba(255, 255, 255, .74);--system-app-white-78: rgba(255, 255, 255, .78);--system-app-white-82: rgba(255, 255, 255, .82);--system-app-white-86: rgba(255, 255, 255, .86);--system-app-white-94: rgba(255, 255, 255, .94);--system-app-white-96: rgba(255, 255, 255, .96);--system-app-chat-soft-blue-72: rgba(232, 247, 255, .72);--system-app-email-soft-blue-72: rgba(230, 244, 252, .72);--system-app-panel-line-16: rgba(148, 199, 225, .16);--system-app-chat-bg-wash-start: rgba(248, 252, 255, .42);--system-app-shadow-06: rgba(15, 47, 71, .06);--system-app-shadow-07: rgba(15, 47, 71, .07);--system-app-shadow-08: rgba(15, 47, 71, .08);--system-app-shadow-10: rgba(15, 47, 71, .1);--system-app-shadow-14: rgba(43, 90, 128, .14);--system-app-modal-backdrop: rgba(229, 241, 249, .48);--system-app-modal-bg: rgba(255, 255, 255, .94);--system-app-email-tab-glow: rgba(42, 120, 165, .2);--system-app-chat-glow-soft: rgba(22, 185, 214, .2);--system-app-email-glow-soft: rgba(51, 167, 230, .2);--system-app-email-glow-faint: rgba(51, 167, 230, .16);--system-app-email-icon-bg: linear-gradient(135deg, rgba(229, 247, 255, .9), rgba(248, 253, 255, .96));--system-app-email-icon-border: rgba(162, 210, 235, .5);--system-app-email-icon-shadow: rgba(43, 130, 178, .1);--system-app-email-icon-active-bg: linear-gradient(135deg, rgba(207, 241, 255, .92), rgba(255, 255, 255, .98));--system-app-email-icon-active-border: rgba(112, 190, 226, .54);--system-app-email-icon-active-shadow: rgba(43, 130, 178, .14);--system-app-email-collapse-mark-bg: linear-gradient(135deg, rgba(232, 249, 255, .96), rgba(239, 244, 255, .9));--system-app-email-collapse-mark-border: rgba(160, 216, 238, .78);--system-app-email-compose-divider: rgba(197, 219, 232, .72);--system-app-email-compose-envelope-bg: rgba(255, 255, 255, .82);--system-app-email-compose-envelope-border: rgba(204, 222, 232, .72);--system-app-email-compose-row-border: rgba(207, 221, 230, .72);--system-app-tab-line: rgba(255, 255, 255, .26);--system-app-tab-bg-start: rgba(255, 255, 255, .24);--system-app-tab-bg-end: rgba(255, 255, 255, .12);--system-app-tab-border: rgba(255, 255, 255, .24);--system-app-tab-border-soft: rgba(255, 255, 255, .12);--system-app-tab-highlight: rgba(255, 255, 255, .16);--system-app-tab-text: rgba(242, 248, 255, .78);--system-app-tab-active-bg-start: rgba(255, 255, 255, .96);--system-app-tab-active-bg-end: rgba(236, 248, 255, .92);--system-app-tab-active-border: rgba(255, 255, 255, .76);--system-app-tab-active-shadow: rgba(116, 217, 255, .2);--system-app-tab-active-inner: rgba(255, 255, 255, .72);--system-app-tab-active-text: #17324e;--ui-action-radius-page: 9px;--ui-action-radius-default: 9px;--ui-action-radius-shell: 8px;--ui-action-radius-inline: 8px;--ui-action-height-page: 34px;--ui-action-height-default: 32px;--ui-action-height-shell: 30px;--ui-action-primary-bg: var(--brand-blue);--ui-action-primary-border: rgba(42, 120, 165, .42);--ui-action-primary-hover: var(--brand);--ui-action-primary-shadow: 0 8px 18px rgba(42, 120, 165, .14);--ui-action-primary-glow: 0 10px 22px rgba(42, 120, 165, .16);--ui-action-secondary-bg: rgba(255, 255, 255, .92);--ui-action-secondary-border: #cfe2ec;--ui-action-secondary-hover-bg: #f3f9fc;--ui-action-secondary-hover-border: #bad5e3;--ui-action-secondary-text: #16445f;--ui-action-danger-bg: #b91c1c;--ui-action-danger-border: #c62828;--ui-action-danger-hover: #991b1b;--ui-action-success-bg: #11845b;--ui-action-success-border: #0f7a54;--ui-action-success-hover: #0b6847;--ui-action-warning-bg: #d97706;--ui-action-warning-border: #c96a04;--ui-action-warning-hover: #b45309;--ui-action-violet-bg: #6d28d9;--ui-action-violet-border: #7c3aed;--ui-action-violet-hover: #5b21b6;--ui-action-soft-shadow: none;--ui-action-hover-shadow: 0 1px 3px rgba(15, 23, 42, .09);--ui-action-focus-ring: 0 0 0 2px rgba(47, 126, 170, .14);--ui-list-row-min-height: 46px;--ui-list-cell-padding-y: 8px;--ui-list-cell-padding-x: 10px;--ui-list-action-column-width: 132px;--ui-list-cell-line-height: 1.32;--ui-form-card-gap-y: 10px;--ui-form-card-gap-x: 12px;--ui-form-card-padding: 13px 14px;--ui-form-section-border: #e8f0f4;--ui-detail-card-padding: 13px 14px;--ui-detail-grid-label-width: 142px;--ui-detail-grid-gap-x: 14px;--ui-detail-grid-gap-y: 0;--ui-form-focus-border: rgba(42, 120, 165, .58);--ui-form-error-bg: var(--danger-soft);--ui-form-error-border: var(--danger-border);--ui-form-error-text: var(--danger-strong);--ui-form-field-border: rgba(119, 152, 178, .36);--ui-form-border-soft: var(--border-soft);--ui-form-border-subtle: rgba(185, 211, 224, .58);--ui-form-border-neutral: var(--neutral-border);--ui-form-dashed-border: var(--border-dashed);--ui-form-readonly-bg: var(--surface-muted);--ui-form-surface-subtle: var(--surface-muted);--ui-form-surface-soft: var(--surface-muted);--ui-form-input-file-bg: var(--surface-muted);--ui-form-summary-bg: var(--surface-card);--ui-form-success-bg: var(--success-soft);--ui-form-success-border: var(--success-border);--ui-form-success-text: var(--success);--ui-form-warning-bg: var(--orange-soft);--ui-form-warning-border: rgba(248, 137, 105, .58);--ui-form-warning-text: var(--warning-strong);--ui-form-warning-accent: #f9734b;--ui-form-info-bg: rgba(240, 249, 255, .92);--ui-form-info-border: rgba(14, 116, 144, .18);--ui-form-info-text: var(--brand-strong);--ui-form-soft-gradient-start: rgba(255, 255, 255, .98);--ui-form-soft-gradient-end: rgba(241, 248, 252, .92);--ui-form-warning-gradient-end: rgba(255, 242, 238, .92);--ui-form-warning-fill: rgba(255, 245, 240, .86);--ui-form-inventory-card-bg: linear-gradient( 145deg, var(--ui-form-soft-gradient-start), var(--ui-form-soft-gradient-end) );--ui-form-warning-card-bg: linear-gradient( 145deg, var(--ui-form-soft-gradient-start), var(--ui-form-warning-gradient-end) );--ui-form-inventory-card-border: rgba(159, 191, 209, .55);--ui-form-inventory-card-shadow: 0 12px 30px rgba(25, 78, 116, .08);--ui-form-soft-shadow: 0 8px 18px rgba(15, 23, 42, .1);--ui-form-elevated-shadow: 0 14px 34px rgba(15, 23, 42, .14);--ui-form-success-shadow: 0 8px 20px rgba(31, 122, 77, .08);--ui-form-subtle-shadow: 0 10px 24px rgba(15, 23, 42, .05);--ui-form-partner-shadow: var(--shadow-soft);--ui-form-progress-bg: rgba(248, 251, 255, .9);--ui-form-progress-text: var(--ui-text-muted);--ui-form-placeholder: var(--ui-text-placeholder);--ui-form-danger-text: var(--danger);--ui-form-danger-strong: var(--danger-strong);--ui-form-subtle-shadow-color: rgba(15, 23, 42, .05);--ui-form-control-shadow-color: rgba(15, 23, 42, .08);--ui-form-soft-shadow-color: rgba(15, 23, 42, .1);--ui-form-elevated-shadow-color: rgba(15, 23, 42, .14);--ui-form-partner-shadow-color: rgba(17, 49, 77, .08);--ui-form-inventory-shadow-color: rgba(25, 78, 116, .08);--ui-form-success-shadow-color: rgba(31, 122, 77, .08);--ui-table-popover-shadow-color: rgba(15, 23, 42, .18);--ui-table-inline-shadow-color: rgba(15, 23, 42, .06);--ui-table-danger-text: var(--danger);--ui-table-popover-shadow: 0 18px 48px rgba(15, 23, 42, .18);--ui-table-divider: var(--ui-form-border-soft);--ui-table-option-text: var(--ui-text-secondary);--ui-table-disabled-text: var(--ui-text-subtle);--ui-table-option-hover-border: rgba(185, 211, 224, .58);--ui-table-order-hover-bg: rgba(35, 111, 154, .1);--ui-table-thumbnail-border: var(--ui-form-border-subtle);--ui-table-file-pill-bg: var(--brand-soft);--ui-table-file-pill-border: var(--ui-form-border-subtle);--ui-table-inline-bg: var(--surface-muted);--ui-table-inline-shell-bg: var(--surface-card-solid);--ui-table-inline-border: rgba(35, 111, 154, .18);--ui-table-inline-accent: rgba(35, 111, 154, .28);--ui-table-inline-shadow: 0 10px 24px rgba(15, 23, 42, .06);--ui-table-inline-head-bg: linear-gradient( 180deg, var(--surface-muted) 0%, var(--surface-card-solid) 100% );--ui-table-inline-divider: rgba(185, 211, 224, .58);--ui-table-color-dot-border: rgba(15, 23, 42, .16);--ui-table-row-hover-bg: rgba(27, 83, 119, .045);--ui-shell-backdrop-drawer: rgba(15, 23, 42, .28);--ui-shell-backdrop-modal: rgba(15, 23, 42, .32);--ui-shell-border: #d9e7ee;--ui-shell-header-bg: #fbfdfe;--ui-shell-footer-bg: #ffffff;--ui-shell-header-padding: 13px 16px 10px;--ui-shell-body-padding: 0 16px 4px;--ui-shell-footer-padding: 10px 16px 14px;--ui-shell-gap: 10px;--ui-drawer-shadow: -8px 0 22px rgba(15, 23, 42, .1);--ui-modal-shadow: 0 14px 36px rgba(15, 23, 42, .13);--ui-typo-page-title-size: 20px;--ui-typo-page-title-weight: 700;--ui-typo-page-subtitle-size: 12px;--ui-typo-section-title-size: 14px;--ui-typo-field-label-size: 12px;--ui-typo-field-value-size: 13px;--ui-typo-table-head-size: 12px;--ui-typo-table-body-size: 13px;--ui-typo-button-size: 12.5px;--ui-typo-badge-size: 12px;--ui-typo-helper-size: 12px;--ui-typo-meta-size: 12px;--ui-typo-code-size: 12.5px;--ui-icon-size-sm: 15px;--ui-icon-size-md: 17px;--ui-icon-size-lg: 19px;--ui-icon-stroke: 1.85;--ui-icon-muted-opacity: .78;--ui-empty-state-bg: #f8fbfd;--ui-empty-state-border: #e4eef3;--ui-empty-state-icon-bg: #edf6fa;--ui-empty-state-icon-color: #4f7f98;--ui-badge-neutral-bg: #f3f5f7;--ui-badge-neutral-border: #d8dee4;--ui-badge-neutral-text: #667085;--ui-badge-success-bg: #eaf8f0;--ui-badge-success-border: #c8ead8;--ui-badge-warning-bg: #fff7ed;--ui-badge-warning-border: #f3d6ad;--ui-badge-warning-text: #a9600d;--ui-badge-danger-bg: #fef2f2;--ui-badge-danger-border: #f2c7c7;--ui-badge-info-bg: #eaf4fa;--ui-badge-info-border: #cfe2ec;--ui-badge-violet-bg: #f5f3ff;--ui-action-secondary-hover-text: #0f334c;--ui-text-helper-muted: #8a97a3;--ui-shell-close-success-bg: #f3faf7;--ui-shell-close-success-border: #cde8dc;--ui-shell-close-success-hover-bg: #e8f6ef;--ui-shell-close-success-hover-border: #b8ddca;--ui-loading-dot-bg: #dbe9ef;--ui-loading-dot-mid: #b9d5e2;--ui-loading-dot-strong: #8fb9cc;--shell-nav-active-bg: linear-gradient( 90deg, rgba(42, 120, 165, .14), rgba(255, 255, 255, .72) );--shell-nav-active-border: var(--border-strong);--shell-nav-icon: rgba(27, 83, 119, .72);--shell-nav-icon-active: var(--brand);--shell-sidebar-quick-bg: var(--ui-action-primary-bg);--shell-sidebar-quick-hover-bg: var(--ui-action-primary-hover);--shell-sidebar-quick-border: var(--ui-action-primary-border);--shell-sidebar-quick-shadow: var(--ui-action-primary-glow);--shell-topbar-shadow: 0 8px 24px rgba(31, 65, 92, .04);--shell-topbar-control-text: #52636f;--shell-topbar-control-bg: var(--surface-card-solid);--shell-topbar-control-border: #bcc9d2;--shell-topbar-control-value: var(--brand);--shell-role-pill-bg: #eef8f6;--shell-role-pill-border: #d4ebe8;--shell-role-pill-text: #2f6f75;--shell-detail-label-text: #445260;--shell-line-item-bg: #fbfdfc;--shell-line-item-border: #e5eaf0;--shell-muted-note-text: #586575;--shell-login-bg: #eef2f6;--shell-login-panel-bg: var(--surface-card-solid);--shell-login-panel-border: #dbe2ea;--shell-login-panel-shadow: 0 16px 40px rgba(31, 41, 51, .08);--shell-login-entry-bg: var(--surface-muted);--shell-login-entry-border: var(--border-soft);--shell-login-entry-hover-bg: var(--surface-card-hover);--shell-login-entry-active-bg: var(--brand-pale);--shell-login-entry-active-border: var(--brand-border);--shell-login-entry-badge-bg: var(--brand-soft);--shell-login-entry-badge-text: var(--brand-strong);--shell-login-entry-note-bg: var(--surface-muted);--shell-login-entry-note-border: var(--border-soft);--shell-login-product-bg: rgba(255, 255, 255, .82);--shell-login-brand-highlight: rgba(255, 255, 255, .55);--shell-login-brand-bg: linear-gradient(145deg, rgba(27, 83, 119, .96), rgba(60, 91, 178, .88));--shell-login-brand-text: #ffffff;--shell-login-brand-muted: rgba(255, 255, 255, .82);--shell-login-brand-logo-bg: rgba(255, 255, 255, .92);--shell-login-brand-logo-shadow: 0 18px 46px rgba(15, 23, 42, .16);--shell-login-auth-bg: rgba(255, 255, 255, .94);--shell-login-social-card-bg: rgba(248, 250, 252, .8);--shell-modal-bg: var(--surface-card-solid);--shell-modal-border: #cfd8d4;--shell-modal-shadow: 0 8px 28px rgba(15, 23, 42, .08);--shell-modal-text: #111827;--shell-context-card-bg: #f6faf8;--shell-context-card-border: #eef3f0;--shell-context-card-soft-bg: #eaf3ef;--shell-context-card-muted-bg: #f1f5f3;--shell-context-card-panel-bg: #fbfdfc;--shell-context-card-panel-border: #e3ebe7;--shell-compact-print-border: #222222;--shell-compact-print-text: #111827;--shell-compact-print-header-bg: #f1f5f3;--shell-compact-print-disabled-bg: #f6f7f7;--shell-compact-print-disabled-text: #9ca3af;--shell-time-widget-bg: rgba(255, 255, 255, .72);--shell-time-widget-text: #4f7f98;--shell-time-widget-strong: #17415d;--shell-time-widget-meta: #6f8795;--shell-workflow-button-bg: rgba(255, 255, 255, .72);--shell-workflow-button-border: rgba(27, 83, 119, .14);--shell-workflow-button-hover-bg: rgba(27, 83, 119, .08);--shell-workflow-button-hover-border: rgba(27, 83, 119, .22);--shell-workflow-button-focus-ring: 0 0 0 2px rgba(47, 126, 170, .12);--shell-workflow-button-hover-text: #123b55;--shell-topbar-chip-bg: var(--shell-role-pill-bg);--shell-topbar-chip-border: var(--shell-role-pill-border);--shell-topbar-chip-text: var(--shell-role-pill-text);--shell-avatar-ring: 0 0 0 2px var(--surface-card-solid), 0 0 0 3px rgba(27, 83, 119, .18);--shell-avatar-ring-hover: 0 0 0 2px var(--surface-card-solid), 0 0 0 4px rgba(27, 83, 119, .28);--shell-account-menu-hover-bg: var(--shell-role-pill-bg);--shell-mobile-menu-bg: var(--surface-card);--mobile-navigation-backdrop: rgba(15, 23, 42, .38);--mobile-navigation-drawer-bg: var(--surface-card-solid);--mobile-navigation-drawer-border: var(--border-soft);--mobile-navigation-drawer-shadow: 18px 0 42px rgba(15, 23, 42, .18);--mobile-navigation-close-bg: var(--surface-code);--mobile-navigation-close-border: var(--line);--mobile-navigation-active-bg: var(--brand-soft);--mobile-navigation-active-border: var(--brand-border);--mobile-navigation-quick-bg: var(--ui-action-primary-bg);--mobile-navigation-quick-hover-bg: var(--ui-action-primary-hover);--mobile-navigation-quick-text: var(--surface-card-solid);--surface: var(--surface-card-solid);--surface-panel: var(--surface-card);--surface-panel-solid: var(--surface-card-solid);--surface-soft: var(--surface-muted);--surface-subtle: #f8fbfd;--surface-code: #f8fafc;--border: var(--border-soft);--border-subtle: var(--border-soft);--border-dashed: #cbd5e1;--foreground: var(--ui-text-strong);--muted-foreground: var(--ui-text-muted);--text-muted: var(--ui-text-secondary);--text-soft: var(--ui-text-muted);--accent: var(--brand-blue);--accent-strong: var(--brand);--accent-soft: var(--brand-soft);--accent-border: var(--brand-border);--warning: #b7791f;--warning-strong: #92400e;--warning-soft: #fffbeb;--warning-border: #fde68a;--success: #11845b;--success-strong: #166534;--success-soft: #ecfdf5;--success-border: #bbf7d0;--danger-strong: #9f1239;--danger-soft: #fff1f2;--danger-border: #fecdd3;--neutral-soft: #f4f4f5;--neutral-border: #e5e7eb;--violet-soft: #f5f3ff;--info-soft: #eef8ff;--teal-soft: #eef7f4;--orange-soft: #fff7ed;--ui-dropdown-bg: var(--surface-elevated);--ui-dropdown-border: var(--ui-control-border);--ui-dropdown-shadow: var(--shadow-elevated);--ui-option-hover-bg: var(--brand-soft);--ui-option-hover-text: var(--brand);--ui-reference-accent-bg: var(--brand-soft);--ui-reference-accent-border: var(--brand-border);--ui-map-canvas-bg: #eef3f8;--ui-map-empty-bg: var(--surface-subtle);--ui-module-pill-bg-info: var(--info-soft);--ui-module-pill-bg-courier: var(--teal-soft);--ui-module-pill-bg-pi: var(--orange-soft);--ui-module-pill-bg-followup: var(--danger-soft);--ui-module-pill-bg-log: var(--neutral-soft);--ui-module-pill-bg-finance: #f0fdf4;--ui-module-pill-bg-inventory: var(--violet-soft);--legacy-color-047857: #047857;--legacy-color-0f172a: #0f172a;--legacy-color-122027: #122027;--legacy-color-166534: #166534;--legacy-color-1b5377: #1b5377;--legacy-color-1d4ed8: #1d4ed8;--legacy-color-1f2933: #1f2933;--legacy-color-24313f: #24313f;--legacy-color-243240: #243240;--legacy-color-253746: #253746;--legacy-color-263238: #263238;--legacy-color-2f6f75: #2f6f75;--legacy-color-2f7eaa: #2f7eaa;--legacy-color-334155: #334155;--legacy-color-355366: #355366;--legacy-color-3f5260: #3f5260;--legacy-color-415362: #415362;--legacy-color-425466: #425466;--legacy-color-44535f: #44535f;--legacy-color-475569: #475569;--legacy-color-52636f: #52636f;--legacy-color-586575: #586575;--legacy-color-607080: #607080;--legacy-color-64748b: #64748b;--legacy-color-704400: #704400;--legacy-color-708090: #708090;--legacy-color-7a5b24: #7a5b24;--legacy-color-7c4a03: #7c4a03;--legacy-color-8db8cc: #8db8cc;--legacy-color-8ecabf: #8ecabf;--legacy-color-94a3b8: #94a3b8;--legacy-color-991b1b: #991b1b;--legacy-color-9a3412: #9a3412;--legacy-color-9bd7ce: #9bd7ce;--legacy-color-9fb3c8: #9fb3c8;--legacy-color-a7d9f5: #a7d9f5;--legacy-color-a7f3d0: #a7f3d0;--legacy-color-b42318: #b42318;--legacy-color-b7e6d0: #b7e6d0;--legacy-color-b91c1c: #b91c1c;--legacy-color-b9d9ca: #b9d9ca;--legacy-color-b9ded7: #b9ded7;--legacy-color-bbf7d0: #bbf7d0;--legacy-color-bfe3f3: #bfe3f3;--legacy-color-c4b5fd: #c4b5fd;--legacy-color-c67c00: #c67c00;--legacy-color-c9e0d7: #c9e0d7;--legacy-color-cbd5e1: #cbd5e1;--legacy-color-cbd8d4: #cbd8d4;--legacy-color-cbdde7: #cbdde7;--legacy-color-cbe3d5: #cbe3d5;--legacy-color-cde7e3: #cde7e3;--legacy-color-cfdde3: #cfdde3;--legacy-color-cfe1d8: #cfe1d8;--legacy-color-cfe2ec: #cfe2ec;--legacy-color-cfe4dc: #cfe4dc;--legacy-color-cfe4ef: #cfe4ef;--legacy-color-cfe8d8: #cfe8d8;--legacy-color-d4ebe8: #d4ebe8;--legacy-color-d7e0ea: #d7e0ea;--legacy-color-d7e8ef: #d7e8ef;--legacy-color-d8c7f7: #d8c7f7;--legacy-color-d8e4ee: #d8e4ee;--legacy-color-d9e0e7: #d9e0e7;--legacy-color-d9e2ec: #d9e2ec;--legacy-color-d9e7ef: #d9e7ef;--legacy-color-d9e7f5: #d9e7f5;--legacy-color-dbe2ea: #dbe2ea;--legacy-color-dbe5e0: #dbe5e0;--legacy-color-dcebf2: #dcebf2;--legacy-color-dfe7ef: #dfe7ef;--legacy-color-dfe8e2: #dfe8e2;--legacy-color-e0edf7: #e0edf7;--legacy-color-e1e8e5: #e1e8e5;--legacy-color-e2e8f0: #e2e8f0;--legacy-color-e4edf2: #e4edf2;--legacy-color-e5eaf0: #e5eaf0;--legacy-color-e6efea: #e6efea;--legacy-color-e7f2f1: #e7f2f1;--legacy-color-e8efec: #e8efec;--legacy-color-ead5aa: #ead5aa;--legacy-color-eaf4fa: #eaf4fa;--legacy-color-ecfdf3: #ecfdf3;--legacy-color-ecfdf5: #ecfdf5;--legacy-color-edf2f7: #edf2f7;--legacy-color-edf3ef: #edf3ef;--legacy-color-edf5f1: #edf5f1;--legacy-color-edf7f8: #edf7f8;--legacy-color-eed18a: #eed18a;--legacy-color-eef4f0: #eef4f0;--legacy-color-eef6f7: #eef6f7;--legacy-color-eef7f4: #eef7f4;--legacy-color-eef7fb: #eef7fb;--legacy-color-eef8f6: #eef8f6;--legacy-color-eef9f4: #eef9f4;--legacy-color-efd8a8: #efd8a8;--legacy-color-eff6ff: #eff6ff;--legacy-color-f0fdf4: #f0fdf4;--legacy-color-f1f5f9: #f1f5f9;--legacy-color-f2f7f7: #f2f7f7;--legacy-color-f4dfb7: #f4dfb7;--legacy-color-f4f6f8: #f4f6f8;--legacy-color-f4f8f6: #f4f8f6;--legacy-color-f4faf7: #f4faf7;--legacy-color-f4fafd: #f4fafd;--legacy-color-f4fbff: #f4fbff;--legacy-color-f5f8fb: #f5f8fb;--legacy-color-f5faf7: #f5faf7;--legacy-color-f6fafb: #f6fafb;--legacy-color-f7f7f4: #f7f7f4;--legacy-color-f7fbf9: #f7fbf9;--legacy-color-f7fbfd: #f7fbfd;--legacy-color-f7fcfa: #f7fcfa;--legacy-color-f8fafc: #f8fafc;--legacy-color-f8fbf9: #f8fbf9;--legacy-color-f8fbff: #f8fbff;--legacy-color-fbfdfb: #fbfdfb;--legacy-color-fbfdfc: #fbfdfc;--legacy-color-fecaca: #fecaca;--legacy-color-fed7aa: #fed7aa;--legacy-color-fee2e2: #fee2e2;--legacy-color-fef2f2: #fef2f2;--legacy-color-fff: #fff;--legacy-color-fff7ed: #fff7ed;--legacy-color-fff7f7: #fff7f7;--legacy-color-fff8e6: #fff8e6;--legacy-color-fffaf0: #fffaf0;--legacy-color-ffffff: #ffffff;--legacy-rgba-148-163-184-0-24: rgba(148, 163, 184, .24);--legacy-rgba-148-163-184-0-45: rgba(148, 163, 184, .45);--legacy-rgba-15-23-42--14: rgba(15, 23, 42, .14);--legacy-rgba-15-23-42--16: rgba(15, 23, 42, .16);--legacy-rgba-15-23-42-0-04: rgba(15, 23, 42, .04);--legacy-rgba-15-23-42-0-06: rgba(15, 23, 42, .06);--legacy-rgba-15-23-42-0-07: rgba(15, 23, 42, .07);--legacy-rgba-15-23-42-0-08: rgba(15, 23, 42, .08);--legacy-rgba-15-23-42-0-12: rgba(15, 23, 42, .12);--legacy-rgba-15-23-42-0-14: rgba(15, 23, 42, .14);--legacy-rgba-15-23-42-0-16: rgba(15, 23, 42, .16);--legacy-rgba-14-116-144-0-3: rgba(14, 116, 144, .3);--legacy-rgba-15-23-42-0-24: rgba(15, 23, 42, .24);--legacy-rgba-15-23-42-0-34: rgba(15, 23, 42, .34);--legacy-rgba-248-250-252-0-78: rgba(248, 250, 252, .78);--legacy-rgba-25-118-79-0-08: rgba(25, 118, 79, .08);--legacy-rgba-255-255-255-0-72: rgba(255, 255, 255, .72);--legacy-rgba-255-255-255-0-78: rgba(255, 255, 255, .78);--legacy-rgba-27-83-119-0-12: rgba(27, 83, 119, .12);--legacy-rgba-27-83-119-0-18: rgba(27, 83, 119, .18);--legacy-rgba-27-83-119-0-22: rgba(27, 83, 119, .22);--legacy-rgba-31-41-51-0-045: rgba(31, 41, 51, .045);--legacy-rgba-47-126-170-0-12: rgba(47, 126, 170, .12);--legacy-rgba-31-65-92-0-18: rgba(31, 65, 92, .18);--legacy-rgba-15-23-42-0-035: rgba(15, 23, 42, .035);--legacy-rgba-217-119-6-0-05: rgba(217, 119, 6, .05);--legacy-rgba-217-119-6-0-24: rgba(217, 119, 6, .24);--legacy-rgba-220-38-38-0-045: rgba(220, 38, 38, .045);--legacy-rgba-220-38-38-0-22: rgba(220, 38, 38, .22);--legacy-rgba-239-68-68-0-035: rgba(239, 68, 68, .035);--legacy-rgba-37-99-235-0-08: rgba(37, 99, 235, .08);--legacy-rgba-37-99-235-0-1: rgba(37, 99, 235, .1);--legacy-rgba-37-99-235-0-2: rgba(37, 99, 235, .2);--lead-surface-frame: #f8fbfb;--lead-surface-card: #ffffff;--lead-surface-subtle: #fbfdfb;--lead-surface-muted: #f8fbf8;--lead-surface-active: #f6fbf8;--lead-border: #dbe5de;--lead-border-strong: #cfd8d3;--lead-border-soft: #e3ece4;--lead-divider: #e6eee8;--lead-hover-border: #c4e2d0;--lead-active-border: #9ed3b5;--lead-section-border: #e5eaf0;--lead-text-heading: #1f2e35;--lead-text-strong: #174233;--lead-text-primary: #203139;--lead-text-secondary: #263a32;--lead-text-muted: #6f7f78;--lead-text-soft: #334155;--lead-text-code: #40515b;--lead-card-shadow: 0 10px 28px rgba(15, 23, 42, .05);--lead-browser-shadow: 0 12px 30px rgba(15, 23, 42, .05);--lead-active-shadow: 0 0 0 2px rgba(35, 131, 86, .08);--trade-document-surface-card: #ffffff;--trade-document-surface-soft: #f6faf7;--trade-document-surface-muted: #f7faf8;--trade-document-surface-subtle: #f4f8f6;--trade-document-chip-bg: #edf6f0;--trade-document-check-ok-bg: #e8f6ed;--trade-document-check-open-bg: #fff2dc;--trade-document-row-hover-bg: #f6fbf7;--trade-document-border: #dfe8e3;--trade-document-border-strong: #d8e4dd;--trade-document-text-heading: #24342e;--trade-document-text-muted: #3a5047;--trade-document-ok-text: #217446;--trade-document-open-text: #9a5b00;--trade-document-card-shadow: 0 10px 28px rgba(24, 66, 47, .06);--trade-document-section-shadow: 0 8px 22px rgba(24, 66, 47, .05);--global-camera-input-bg: var(--surface-card-solid);--global-camera-capture-bg: var(--surface-muted);--global-related-table-border: var(--line);--global-related-table-head-bg: var(--surface-muted);--global-related-table-head-text: var(--ui-text-secondary);--global-related-table-cell-text: var(--ui-text-primary);--global-media-preview-bg: var(--ui-text-strong);--global-app-error-bg: var(--surface-muted);--global-app-error-code-bg: var(--ui-text-strong);--global-app-error-code-text: var(--legacy-color-e2e8f0)}.system-app-shell{--system-app-accent: var(--ai-violet);--system-app-accent-strong: var(--brand-strong);--system-app-accent-soft: var(--ai-violet-soft);--system-app-accent-border: var(--ai-violet-border);--system-app-shell-bg: var(--system-app-fresh-canvas);--system-app-panel-bg: rgba(255, 255, 255, .82);--system-app-panel-border: rgba(145, 205, 239, .3);--system-app-panel-shadow: 0 16px 36px rgba(43, 90, 128, .1);--system-app-panel-shadow-strong: 0 20px 48px rgba(43, 90, 128, .14);--system-app-line: rgba(145, 205, 239, .26);--system-app-text: var(--ui-text-strong);--system-app-muted: var(--ui-text-muted);--system-app-chip-bg: rgba(238, 247, 255, .82);--system-app-control-bg: rgba(255, 255, 255, .78);--system-app-control-border: rgba(148, 199, 225, .3);--system-app-radius-xl: 22px;--system-app-radius-lg: 18px;--system-app-radius-md: 14px;--system-app-glow: 0 0 30px rgba(109, 93, 251, .18);color:var(--system-app-text);min-width:0;position:relative}.system-app-shell[data-system-app-tone=blue],.system-app-shell[data-system-app=email]{--system-app-accent: var(--system-dock-email);--system-app-accent-strong: #16445f;--system-app-accent-soft: rgba(230, 244, 252, .9);--system-app-accent-border: rgba(42, 120, 165, .26);--system-app-glow: 0 0 30px rgba(42, 120, 165, .18)}.system-app-shell[data-system-app-tone=cyan],.system-app-shell[data-system-app=chat]{--system-app-accent: var(--ai-cyan);--system-app-accent-strong: #075985;--system-app-accent-soft: rgba(225, 246, 255, .88);--system-app-accent-border: rgba(2, 132, 199, .24);--system-app-glow: 0 0 30px rgba(2, 132, 199, .2)}.system-app-shell[data-system-app-tone=green]{--system-app-accent: var(--ai-green);--system-app-accent-strong: #166534;--system-app-accent-soft: rgba(229, 250, 239, .9);--system-app-accent-border: rgba(22, 163, 74, .22)}.system-app-shell[data-system-app-tone=amber]{--system-app-accent: var(--ai-amber);--system-app-accent-strong: #92400e;--system-app-accent-soft: rgba(255, 247, 237, .92);--system-app-accent-border: rgba(217, 119, 6, .24)}.system-app-shell:before{background:radial-gradient(circle at 18% 8%,color-mix(in srgb,var(--system-app-accent) 18%,transparent),transparent 28%),radial-gradient(circle at 92% 12%,rgba(109,93,251,.12),transparent 24%);content:"";top:0;right:0;bottom:0;left:0;opacity:.8;pointer-events:none;position:absolute}.system-app-shell>*{position:relative;z-index:1}.system-app-workspace-header{align-items:center;background:#ffffffeb;border-bottom:1px solid var(--system-app-line);display:grid;gap:10px;grid-template-columns:minmax(172px,.22fr) minmax(260px,1fr) auto;min-height:52px;padding:6px 14px 6px 16px}.system-app-workspace-title p,.system-app-workspace-title h2{margin:0}.system-app-workspace-title p{color:var(--system-app-muted);font-size:var(--ui-font-size-sm, 13px);line-height:1.1}.system-app-workspace-title h2{color:var(--system-app-text);font-size:var(--ui-font-size-xl, 18px);line-height:1.1}.system-app-workspace-header-main,.system-app-workspace-actions,.system-app-workspace-metrics{align-items:center;display:flex;min-width:0}.system-app-workspace-header-main{gap:6px;justify-content:flex-end}.system-app-workspace-tabs{align-items:center;display:flex;flex:1 1 auto;justify-content:flex-start;min-width:0}.system-app-workspace-tabs .email-workspace-tab-strip{margin:0;max-width:min(760px,100%);min-height:0;width:100%}.system-app-workspace-actions{gap:8px;justify-content:flex-end}.system-app-workspace-metrics{color:var(--system-app-muted);font-size:var(--ui-font-size-sm, 13px);font-weight:var(--ui-font-weight-bold, 700);gap:8px;white-space:nowrap}.system-app-workspace-metrics span{background:var(--system-app-chip-bg);border:1px solid var(--system-app-control-border);border-radius:999px;padding:5px 8px}.system-app-workspace-scope,.communication-scope-selector{display:none}.system-app-workspace-close{align-items:center;background:var(--system-app-control-bg);border:1px solid var(--system-app-control-border);border-radius:999px;color:var(--system-app-text);cursor:pointer;display:inline-flex;font-size:24px;height:34px;justify-content:center;line-height:1;width:34px}.system-app-panel{background:var(--system-app-panel-bg);border:1px solid var(--system-app-panel-border);border-radius:var(--system-app-radius-xl);box-shadow:var(--system-app-panel-shadow);min-width:0}.system-app-panel-solid{background:#fffffff0}.system-app-panel-soft{background:linear-gradient(135deg,rgba(246,251,255,.94),var(--system-app-accent-soft))}.system-app-control,.system-app-chip{background:var(--system-app-control-bg);border:1px solid var(--system-app-control-border);color:var(--system-app-accent-strong)}.system-app-chip{border-radius:999px;display:inline-flex;font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-heavy);padding:3px 8px}.system-app-shell[data-system-app-density=compact]{--system-app-radius-xl: 18px;--system-app-radius-lg: 15px;--system-app-radius-md: 12px;--system-app-panel-shadow: 0 12px 26px rgba(43, 90, 128, .08);--system-app-panel-shadow-strong: 0 16px 36px rgba(43, 90, 128, .12)}:root{color:var(--ui-text-primary, var(--text));background:var(--surface-app-bg, var(--bg));font-family:var(--ui-font-family);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--surface-app-bg, var(--bg))}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.route-loading{padding:32px}.compact-related-modal{max-width:760px}.compact-definition-grid .definition-row{display:contents}.quick-actions-subsection{display:grid;gap:10px}.quick-actions-subsection+.quick-actions-subsection{margin-top:18px}.quick-actions-subtitle{color:var(--muted);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-heavy);letter-spacing:.01em;margin:0}.camera-input-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.camera-input-label{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:10px;padding:10px 14px;cursor:pointer;background:var(--global-camera-input-bg);font-weight:var(--ui-font-weight-heavy)}.camera-input-label input{display:none}.compact-related-modal{max-width:min(1120px,calc(100vw - 64px))}.related-modal-definition-grid.definition-grid{grid-template-columns:minmax(150px,220px) minmax(0,1fr) minmax(150px,220px) minmax(0,1fr)}.related-modal-definition-grid .definition-row dd{overflow-wrap:anywhere}.related-modal-table-wrap{width:100%;overflow-x:auto}.related-modal-table{width:100%;border-collapse:collapse;font-size:var(--ui-font-size-sm)}.related-modal-table th,.related-modal-table td{border-bottom:1px solid var(--global-related-table-border);padding:6px 8px;text-align:left;vertical-align:top}.related-modal-table th{background:var(--global-related-table-head-bg);font-weight:var(--ui-font-weight-bold);color:var(--global-related-table-head-text)}.related-modal-table td{color:var(--global-related-table-cell-text)}@media (max-width: 900px){.related-modal-definition-grid.definition-grid{grid-template-columns:minmax(120px,170px) minmax(0,1fr)}}.camera-input-label{min-height:42px}.camera-capture-panel{background:var(--global-camera-capture-bg);border:1px solid var(--global-related-table-border);border-radius:12px;display:grid;gap:10px;margin-top:10px;padding:10px}.camera-capture-panel video{background:var(--global-media-preview-bg);border-radius:10px;max-height:360px;object-fit:contain;width:100%}.stored-file-camera-modal .camera-capture-panel-modal{margin-top:0}.stored-file-camera-modal .camera-capture-panel-modal video,.stored-file-camera-modal .camera-capture-panel-modal img{background:var(--global-media-preview-bg);border-radius:10px;display:block;max-height:min(62vh,520px);object-fit:contain;width:100%}.camera-capture-actions{display:flex;flex-wrap:wrap;gap:8px}.related-modal-definition-grid .definition-row.related-table-row{display:grid;grid-column:1 / -1;grid-template-columns:minmax(150px,220px) minmax(0,1fr)}.related-modal-definition-grid .definition-row.related-table-row dd,.related-modal-definition-grid .definition-row.related-table-row .related-modal-table-wrap{min-width:0;width:100%}.related-modal-table{table-layout:fixed}.related-modal-table th,.related-modal-table td{overflow-wrap:anywhere;word-break:normal}@media (max-width: 900px){.related-modal-definition-grid .definition-row.related-table-row{grid-template-columns:minmax(120px,170px) minmax(0,1fr)}}.page-header h1,.section-heading h2,.section-heading h3,.settings-subhead h3,.form-card h2{font-weight:var(--ui-font-weight-bold)}.form-card h3,.form-card h4,.status-panel h3{font-weight:var(--ui-font-weight-emphasis)}small,.form-help,.muted-note,.muted-line{letter-spacing:0}.app-shell-error{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--global-app-error-bg)}.app-shell-error-panel{max-width:720px;width:min(720px,100%)}.app-shell-error-panel pre{overflow:auto;max-height:160px;padding:12px;border-radius:12px;background:var(--global-app-error-code-bg);color:var(--global-app-error-code-text);font-size:var(--ui-font-size-sm)}html[data-communication-overlay-open=true],body[data-communication-overlay-open=true]{height:100%;overflow:hidden;overscroll-behavior:none}.app-shell{background:var(--surface-app-bg, var(--bg));display:flex;flex-direction:column;min-height:100vh}.app-body{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:calc(100vh - 58px)}.sidebar{background:var(--surface-sidebar, var(--surface-card-solid));border-right:1px solid var(--border-soft, var(--line));box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:var(--text);display:flex;flex-direction:column;min-height:calc(100vh - 58px);padding:12px 10px 14px;position:sticky;top:58px}.sidebar-brand,.login-heading{align-items:center;display:flex;gap:12px}.sidebar-brand{border-bottom:1px solid var(--border-soft);margin-bottom:10px;padding:7px 10px 12px}.sidebar-brand span,.login-heading p{color:var(--muted);display:block;font-size:var(--ui-font-size-md);margin:2px 0 0}.sidebar-nav{display:flex;flex-direction:column;flex:0 0 auto;gap:2px;overflow:visible;padding-right:0}.sidebar-nav-group{display:flex;flex-direction:column;gap:2px}.sidebar-nav-group+.sidebar-nav-group{border-top:1px solid var(--border-soft);margin-top:6px;padding-top:6px}.nav-link{border-radius:12px;border:1px solid transparent;border-left:3px solid transparent;color:var(--ui-text-primary);font-family:var(--ui-font-family);font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-medium);line-height:1.15;padding:9px}.nav-link:hover,.nav-link.is-active{background:var(--shell-nav-active-bg);border-color:var(--shell-nav-active-border);border-left-color:var(--brand-blue);box-shadow:var(--shadow-soft);color:var(--brand-strong);text-decoration:none}.sidebar-quick-buttons{border-top:1px solid var(--border-soft);display:grid;gap:8px;grid-template-columns:1fr 1fr;margin-top:auto;padding-top:12px}.sidebar-quick-button{background:linear-gradient(135deg,var(--shell-sidebar-quick-bg),var(--shell-sidebar-quick-hover-bg));border:1px solid var(--shell-sidebar-quick-border);box-shadow:var(--shell-sidebar-quick-shadow);border-radius:var(--ui-card-radius);color:var(--mobile-navigation-quick-text);font-weight:var(--ui-font-weight-heavy);min-height:42px;padding:10px 8px;text-align:center}.sidebar-quick-button:hover{background:var(--mobile-navigation-quick-hover-bg);text-decoration:none}.app-main{display:flex;flex-direction:column;min-width:0}.topbar{align-items:center;background:var(--surface-shell, var(--surface-card-solid));border-bottom:1px solid var(--border-soft, var(--line));box-shadow:var(--shell-topbar-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;justify-content:space-between;min-height:58px;padding:9px 18px;position:sticky;top:0;z-index:30}.topbar-brand-block{align-items:center;display:flex;gap:10px;min-width:232px}.topbar-brand-block strong{color:var(--text);display:block;font-size:var(--ui-font-size-3xl);line-height:1.1}.topbar-brand-subtitle{color:var(--muted);display:block;font-size:var(--ui-font-size-sm);margin-top:1px}.topbar-label{color:var(--muted);display:block;font-size:var(--ui-font-size-sm);margin-top:2px}.topbar-title-block strong{color:var(--text);display:block;font-size:var(--ui-font-size-xl);line-height:1.2}.topbar-title-block{flex:1;padding-left:14px}.topbar-user{align-items:center;display:flex;gap:10px}.topbar-select-control{align-items:center;color:var(--shell-topbar-control-text);display:inline-flex;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-bold);gap:6px;min-width:0}.topbar-select-control__label{color:var(--shell-topbar-control-text);font-weight:var(--ui-font-weight-bold);white-space:nowrap}.topbar-select-control select,.topbar-select-control__value{background:var(--shell-topbar-control-bg);border:1px solid var(--shell-topbar-control-border);border-radius:6px;color:var(--shell-topbar-control-value);font-weight:var(--ui-font-weight-bold);min-height:34px;min-width:0;padding:4px 8px}.topbar-select-control__value{align-items:center;display:inline-flex}.role-pill{background:var(--shell-role-pill-bg);border:1px solid var(--shell-role-pill-border);border-radius:999px;color:var(--shell-role-pill-text);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-bold);padding:4px 9px;text-transform:uppercase}.content-area{background:var(--surface-app-bg, var(--bg));padding:20px 22px 72px}.page-header{margin-bottom:16px}.page-header-with-actions{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.page-header-text{min-width:0}.page-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-left:auto}.page-header-actions .button{white-space:nowrap}@media (max-width: 760px){.page-header-with-actions{align-items:stretch;flex-direction:column}.page-header-actions{justify-content:flex-start}}.page-header h1{color:var(--text);font-size:var(--ui-font-size-page-title);line-height:1.15;margin:0 0 5px}.page-header p,.status-panel p,.module-card p{color:var(--muted);line-height:1.55;margin:0}.status-panel{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);margin-bottom:18px;padding:16px}.status-panel h2{font-size:var(--ui-font-size-5xl);margin:0 0 10px}.module-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.module-card{background:var(--surface-card, var(--surface-card-solid));border:1px solid var(--border-soft);border-radius:var(--ui-card-radius);padding:16px}.module-card h3{font-size:var(--ui-font-size-xl);margin:0 0 8px}.section-heading{align-items:center;display:flex;justify-content:space-between;margin:6px 0 12px}.section-heading h2{font-size:var(--ui-font-size-4xl);margin:0}.detail-grid{display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}.definition-grid{display:grid;gap:10px 18px;grid-template-columns:180px minmax(0,1fr);margin:0}.definition-grid dt{color:var(--shell-detail-label-text);font-weight:var(--ui-font-weight-bold)}.definition-grid dd{margin:0}.related-placeholder-grid{margin-top:22px}.back-link{margin-top:18px}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.section-heading.compact{margin-top:0}.line-items{display:grid;gap:12px}.line-item-row{align-items:end;border:1px solid var(--shell-line-item-border);background:var(--shell-line-item-bg);border-radius:var(--ui-card-radius);display:grid;gap:10px;grid-template-columns:minmax(160px,1.2fr) minmax(180px,1.5fr) 90px 90px 110px 90px auto;padding:12px}.line-amount{display:flex;flex-direction:column;gap:6px}.line-amount span,.empty-note{color:var(--shell-muted-note-text);font-size:var(--ui-font-size-md)}.totals-panel,.totals-detail{display:grid;gap:8px}.inline-link{display:inline-block;margin-right:8px}.login-page{align-items:center;background:var(--shell-login-bg);display:flex;min-height:100vh;justify-content:center;padding:24px}.login-panel{background:var(--surface-card-solid);border:1px solid var(--shell-login-panel-border);border-radius:8px;box-shadow:var(--shell-login-panel-shadow);max-width:420px;padding:28px;width:100%}.login-heading{margin-bottom:24px}.login-heading h1{font-size:var(--ui-font-size-7xl);margin:0 0 4px}.login-entry-section{display:grid;gap:10px;margin-bottom:16px}.login-entry-header{display:grid;gap:4px}.login-entry-header h2,.login-form-context h2{color:var(--ui-text-strong);font-size:var(--ui-font-size-lg);margin:0}.login-entry-header p,.login-form-context p{color:var(--ui-text-muted);font-size:var(--ui-font-size-md);line-height:1.45;margin:0}.login-entry-grid{display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.login-entry-option{background:var(--shell-login-entry-bg);border:1px solid var(--shell-login-entry-border);border-radius:14px;cursor:pointer;display:grid;gap:6px;min-height:116px;padding:12px;text-align:left}.login-entry-option:hover,.login-entry-option:focus-visible{background:var(--shell-login-entry-hover-bg);border-color:var(--shell-login-entry-active-border);outline:none}.login-entry-option.is-active{background:var(--shell-login-entry-active-bg);border-color:var(--shell-login-entry-active-border);box-shadow:var(--shadow-focus)}.login-entry-option strong{color:var(--ui-text-strong);font-size:var(--ui-font-size-body)}.login-entry-option span:not(.login-entry-option-badge){color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:1.35}.login-entry-option-badge{align-self:start;background:var(--shell-login-entry-badge-bg);border-radius:999px;color:var(--shell-login-entry-badge-text);display:inline-flex;font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold);justify-self:start;line-height:1;padding:5px 8px}.login-form-context{background:var(--shell-login-entry-note-bg);border:1px solid var(--shell-login-entry-note-border);border-radius:12px;display:grid;gap:5px;margin-bottom:16px;padding:11px 12px}@media (max-width: 760px){.login-page{align-items:stretch;padding:14px}.login-panel{max-width:none;padding:18px}.login-entry-grid{grid-template-columns:1fr}.login-entry-option{min-height:0}.app-shell{display:block}.app-body{grid-template-columns:1fr}.sidebar{position:static;min-height:auto}.sidebar-nav{flex-flow:row wrap}.topbar{align-items:flex-start;flex-direction:column;gap:10px;padding:14px 18px}.topbar-brand-block{min-width:0}.topbar-title-block{padding-left:0}.content-area{padding:18px}.definition-grid,.line-item-row{grid-template-columns:1fr}}.user-menu-wrap{position:relative}.user-menu-button{align-items:center;background:var(--surface-card, var(--surface-card-solid));border:1px solid var(--border-soft);border-radius:999px;color:var(--text);cursor:pointer;display:inline-flex;gap:8px;min-height:38px;padding:4px 8px 4px 5px}.user-avatar{align-items:center;background:var(--brand);border-radius:999px;color:var(--mobile-navigation-quick-text);display:inline-flex;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-black);height:28px;justify-content:center;width:28px}.user-avatar.large{height:42px;width:42px}.user-menu-popover{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--shadow-elevated);min-width:280px;padding:12px;position:absolute;right:0;top:calc(100% + 8px);z-index:100}.user-card-mini{align-items:center;border-bottom:1px solid var(--border-soft);display:flex;gap:10px;margin-bottom:10px;padding-bottom:10px}.user-card-mini strong,.user-card-mini span,.user-card-mini small{display:block}.user-card-mini span,.user-card-mini small{color:var(--muted);font-size:var(--ui-font-size-sm)}.user-menu-logout{width:100%}.sidebar-quick-button{font-size:var(--ui-font-size-xl)}.toolbar-ledger{align-items:end;display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(220px,.8fr) minmax(380px,2fr)}.toolbar-actions-right{align-items:end;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}@media (max-width: 1180px){.toolbar-ledger{grid-template-columns:1fr}.toolbar-actions-right{justify-content:flex-start}}.app-body{align-items:start}.sidebar{height:calc(100vh - 58px);max-height:calc(100vh - 58px);overflow:hidden}.sidebar-nav{flex:0 0 auto;min-height:auto}.related-records-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));margin:18px 0}.related-records-grid .table-shell{box-shadow:none}.status-panel{box-shadow:var(--ui-card-shadow)}.definition-grid{grid-template-columns:150px minmax(0,1fr) 150px minmax(0,1fr)}.definition-grid dt{background:var(--shell-context-card-bg);border-radius:8px;padding:8px 10px}.definition-grid dd{border-bottom:1px solid var(--shell-context-card-border);min-height:36px;padding:8px 0}@media (max-width: 1100px){.definition-grid{grid-template-columns:150px minmax(0,1fr)}}@media (max-width: 700px){.definition-grid{grid-template-columns:1fr}}.topbar-brand-block{flex:1}.topbar-title-block{display:none}.detail-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.user-menu-profile{display:block;margin-bottom:8px;text-align:center;width:100%}.profile-subsection{grid-column:1 / -1;background:var(--shell-line-item-bg);border:1px solid var(--shell-context-card-panel-border);border-radius:var(--ui-card-radius);display:grid;gap:12px;padding:14px}.profile-subsection h2{font-size:var(--ui-font-size-3xl);margin:0}.profile-password-grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.profile-links-table{display:grid;gap:10px}.profile-link-row{align-items:end;background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);display:grid;gap:10px;grid-template-columns:minmax(140px,.8fr) minmax(140px,.8fr) minmax(260px,1.4fr) minmax(160px,1fr) auto auto;padding:10px}@media (max-width: 1180px){.profile-password-grid,.profile-link-row{grid-template-columns:1fr 1fr}}@media (max-width: 760px){.profile-password-grid,.profile-link-row{grid-template-columns:1fr}}.checkbox-chip{align-items:center;background:var(--surface-card, var(--surface-card-solid));border:1px solid var(--border-soft);border-radius:999px;color:var(--ui-text-secondary);cursor:pointer;display:inline-flex;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-bold);gap:6px;padding:7px 10px}.checkbox-chip input{accent-color:var(--primary)}.muted-small{color:var(--muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold)}.app-body.sidebar-collapsed{grid-template-columns:74px minmax(0,1fr)}.sidebar-collapse-row{display:flex;justify-content:flex-end;margin-bottom:8px}.sidebar-collapse-button{align-items:center;background:var(--surface-card-solid);border:1px solid var(--ui-control-border);border-radius:999px;color:var(--brand-strong);display:inline-flex;font-size:var(--ui-font-size-3xl);font-weight:var(--ui-font-weight-black);height:32px;justify-content:center;line-height:1;width:32px}.nav-link{align-items:center;display:flex;gap:10px;min-height:42px}.nav-icon{flex:0 0 auto}.nav-label{white-space:nowrap}.sidebar.is-collapsed{padding-left:8px;padding-right:8px}.sidebar.is-collapsed .sidebar-collapse-row{justify-content:center}.sidebar.is-collapsed .nav-link{justify-content:center;padding-left:8px;padding-right:8px}.sidebar.is-collapsed .nav-label,.sidebar.is-collapsed .sidebar-quick-button span{display:none}.sidebar.is-collapsed .sidebar-nav-group+.sidebar-nav-group{margin-top:5px;padding-top:5px}.sidebar.is-collapsed .sidebar-quick-buttons{grid-template-columns:1fr}.sidebar-quick-button{align-items:center;display:inline-flex;gap:8px;justify-content:center}.sidebar.is-collapsed .sidebar-quick-button{min-height:44px;padding:10px}.app-body{grid-template-columns:158px minmax(0,1fr);min-height:calc(100vh - 44px)}.app-body.sidebar-collapsed{grid-template-columns:58px minmax(0,1fr)}.topbar{min-height:44px;padding:4px 12px}.topbar-brand-block{gap:7px;min-width:158px}.topbar-brand-block strong{font-size:var(--ui-font-size-xl)}.topbar-brand-subtitle{font-size:var(--ui-font-size-xs);margin-top:0}.brand-logo{height:30px;width:30px}.topbar-user{gap:7px}.user-menu-button{min-height:32px;padding:3px 7px 3px 4px}.user-avatar{height:24px;width:24px}.role-pill{font-size:var(--ui-font-size-2xs);padding:3px 7px}.topbar-select-control select,.topbar-select-control__value{min-height:30px;padding:3px 8px}.sidebar{height:calc(100vh - 44px);max-height:calc(100vh - 44px);min-height:calc(100vh - 44px);overflow:hidden;padding:6px 7px 9px;top:44px}.sidebar-collapse-row{margin-bottom:2px}.sidebar-collapse-button{height:26px;width:26px}.nav-link{border-radius:8px;color:var(--ui-text-primary);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-medium);gap:7px;min-height:34px;padding:7px}.nav-icon{height:17px;width:17px}.sidebar-quick-buttons{gap:6px;padding-top:8px}.sidebar-quick-button{border-radius:10px;font-size:var(--ui-font-size-md);gap:5px;min-height:37px;padding:7px 5px}.sidebar.is-collapsed .sidebar-quick-button{min-height:38px;padding:8px}.content-area{padding:14px 18px 64px}.page-header{margin-bottom:10px}.page-header-with-actions{align-items:center;gap:12px}.page-header-text h1,.page-header h1{align-items:baseline;display:flex;flex-wrap:wrap;gap:10px;font-size:var(--ui-font-size-8xl);line-height:1.1;margin:0}.page-header-description-inline{color:var(--muted);font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-label);line-height:1.2}.page-header p{display:none}.page-header-actions .button,.detail-actions .button{min-height:34px;padding:0 12px}.status-panel{margin-bottom:14px;padding:13px 14px}.status-panel h2{font-size:var(--ui-font-size-3xl);margin-bottom:8px}.section-heading{margin:4px 0 9px}.section-heading h2{font-size:var(--ui-font-size-3xl)}.user-menu-popover{top:calc(100% + 7px)}@media (max-width: 760px){.app-body,.app-body.sidebar-collapsed{grid-template-columns:1fr}.topbar{min-height:auto}.sidebar{height:auto;max-height:none;min-height:auto;top:auto}}.content-area>section{box-sizing:border-box;max-width:none;width:100%}@media (max-height: 680px){.sidebar{overflow:hidden}.sidebar-nav{flex:1 1 auto;overflow:auto;padding-right:2px}}.nav-link .nav-icon{color:var(--shell-nav-icon);transition:color .15s ease}.sidebar-quick-button{background:var(--shell-sidebar-quick-bg);border-color:var(--shell-sidebar-quick-bg)}.sidebar-quick-button:hover{background:var(--shell-sidebar-quick-hover-bg);border-color:var(--shell-nav-icon-active)}.user-avatar{overflow:hidden}.user-avatar img{display:block;height:100%;object-fit:cover;width:100%}.page-header-with-center{align-items:center;display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.page-header-with-center .page-header-text{justify-self:start}.page-header-center-actions{align-items:center;display:flex;justify-content:center;justify-self:center;min-width:max-content}.page-header-with-center .page-header-actions{justify-self:end;margin-left:0}.topbar-time-widget{align-items:center;background:var(--shell-time-widget-bg);border:1px solid var(--border-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;color:var(--shell-time-widget-text);display:inline-flex;gap:7px;justify-content:center;margin:0 auto 0 14px;min-height:30px;min-width:238px;padding:2px 12px 2px 9px;box-shadow:none}.time-widget-icon{align-items:center;color:var(--shell-time-widget-text);display:inline-flex}.time-widget-copy{align-items:baseline;display:inline-flex;gap:9px;min-width:0}.time-widget-copy strong{color:var(--shell-time-widget-strong);font-size:var(--ui-font-size-xl);font-weight:var(--ui-font-weight-bold);letter-spacing:.02em}.time-widget-copy small{color:var(--shell-time-widget-meta);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-label);white-space:nowrap}.nav-link.is-active .nav-icon{color:var(--shell-nav-icon-active)}.sidebar-quick-button{font-weight:var(--ui-font-weight-emphasis);letter-spacing:-.01em}.sidebar-quick-button span{font-weight:var(--ui-font-weight-emphasis)}@media (max-width: 980px){.page-header-with-center{align-items:flex-start;display:flex;flex-wrap:wrap}.page-header-center-actions{justify-content:flex-start;order:2}.page-header-with-center .page-header-actions{order:3}.topbar-time-widget{display:none}}.topbar{justify-content:flex-start}.topbar-user{margin-left:auto}.topbar-brand-block{flex:0 0 136px;min-width:136px}.topbar-right-spacer{flex:0 0 160px}.page-header{gap:8px 14px;margin-bottom:8px}.topbar-time-widget{margin:0 6px 0 14px}.topbar-operations-cluster{align-items:center;display:inline-flex;gap:6px;margin-right:12px}.topbar-icon-button.topbar-workflow-button{align-items:center;background:var(--shell-workflow-button-bg);border:1px solid var(--shell-workflow-button-border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;box-shadow:none;color:var(--brand-strong);display:inline-flex;height:34px;justify-content:center;min-height:34px;padding:0;text-decoration:none;width:34px}.topbar-icon-button.topbar-workflow-button:hover,.topbar-icon-button.topbar-workflow-button:focus-visible{background:var(--shell-workflow-button-hover-bg);border-color:var(--shell-workflow-button-hover-border);box-shadow:var(--shell-workflow-button-focus-ring);color:var(--shell-workflow-button-hover-text);outline:0}.detail-page-shell{align-content:start;display:block}.detail-page-shell>*{margin-bottom:0;margin-top:0}.detail-page-shell>.page-header{margin-bottom:var(--ui-page-header-gap)}.detail-page-shell>.page-header+*{margin-top:0}.detail-page-shell>*:not(.page-header)+*{margin-top:var(--ui-page-section-gap)}.detail-page-shell--twoColumn .manufacturing-detail-layout,.detail-page-shell--twoColumn .inventory-batch-related-grid,.detail-page-shell--twoColumn .lead-detail-grid{margin-top:0}.detail-status-workflow-panel{margin-bottom:0}.detail-status-workflow-panel .workflow-panel-heading{margin-top:0}.related-records-panel{display:flex;flex-direction:column;gap:14px}.detail-page-shell>.related-records-panel{width:100%}.related-records-panel__header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.related-records-panel__header h2{margin:0;font-size:var(--ui-font-size-lg);color:var(--text-strong)}.related-records-panel__header p{margin:4px 0 0;color:var(--text-muted);font-size:var(--ui-font-size-sm)}.related-records-panel__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}@media (max-width: 1260px){.related-records-panel__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.related-records-panel__grid{grid-template-columns:1fr}}.related-record-card{min-width:0}.related-record-card .table-shell,.related-record-card .data-table-wrapper{margin-top:0}.related-record-card__heading h2{font-size:var(--ui-font-size-md)}.related-record-list-item .table-link,.entity-reference-block{cursor:pointer}.related-record-list-item td{vertical-align:middle}.topbar-organization-cluster{align-items:center;display:inline-flex;gap:6px;min-width:0}.topbar-organization-control{max-width:330px}.topbar-organization-select{max-width:220px;text-overflow:ellipsis}.topbar-organization-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-work-chip{display:inline-flex;align-items:center;height:20px;padding:0 7px;border:1px solid var(--shell-topbar-chip-border);border-radius:999px;background:var(--shell-topbar-chip-bg);color:var(--shell-topbar-chip-text);font-size:var(--ui-font-size-2xs);font-weight:var(--ui-font-weight-bold);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.topbar-account-menu-button{align-items:center;background:transparent;border:0;border-radius:999px;cursor:pointer;display:inline-flex;justify-content:center;padding:0}.topbar-account-menu-button .user-avatar{box-shadow:var(--shell-avatar-ring);height:34px;width:34px}.topbar-account-menu-button:hover .user-avatar,.topbar-account-menu-button:focus-visible .user-avatar{box-shadow:var(--shell-avatar-ring-hover)}.account-menu-popover{min-width:260px}.account-menu-header{margin-bottom:8px}.account-menu-list{border-bottom:1px solid var(--border-soft);display:grid;gap:4px;margin-bottom:10px;padding-bottom:10px}.account-menu-item{border-radius:10px;color:var(--text);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-bold);padding:8px 9px;text-decoration:none}.account-menu-item:hover,.account-menu-item:focus-visible{background:var(--shell-topbar-chip-bg);color:var(--brand-strong)}.topbar-mobile-menu-button{align-items:center;background:var(--surface-card, var(--surface-card-solid));border:1px solid var(--border-soft);border-radius:10px;color:var(--brand-strong);cursor:pointer;display:none;font-size:var(--ui-font-size-5xl);font-weight:var(--ui-font-weight-black);height:38px;justify-content:center;width:38px}.mobile-navigation-backdrop,.mobile-navigation-drawer{display:none}@media (max-width: 760px){.app-shell{display:block;min-height:100dvh}.app-body,.app-body.sidebar-collapsed{display:block;min-height:calc(100dvh - 56px)}.sidebar{display:none}.topbar{align-items:center;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto auto;min-height:56px;padding:8px 10px}.topbar-mobile-menu-button{display:inline-flex}.topbar-brand-block{gap:8px;min-width:0}.topbar-brand-block strong{font-size:var(--ui-font-size-xl)}.topbar-brand-subtitle{display:none}.brand-logo{height:30px;width:30px}.topbar-time-widget{min-width:0}.time-widget-copy{display:none}.topbar-operations-cluster{display:flex}.topbar-user{align-items:center;display:flex;flex-wrap:wrap;gap:8px;grid-column:1 / -1;justify-content:space-between;min-width:0;width:100%}.topbar-organization-cluster{flex:1 1 180px;min-width:0}.topbar-select-control{max-width:100%;min-width:0}.topbar-select-control__label{display:none}.topbar-select-control select,.topbar-select-control__value{max-width:100%;min-height:32px}.language-switcher{flex:0 0 auto}.mobile-work-chip{white-space:nowrap}.content-area{padding:14px 12px 76px}.mobile-navigation-backdrop{background:var(--mobile-navigation-backdrop);border:0;cursor:pointer;display:block;top:0;right:0;bottom:0;left:0;opacity:0;padding:0;pointer-events:none;position:fixed;transition:opacity .16s ease;z-index:90}.mobile-navigation-backdrop.is-open{opacity:1;pointer-events:auto}.mobile-navigation-drawer{background:var(--mobile-navigation-drawer-bg);border-right:1px solid var(--mobile-navigation-drawer-border);box-shadow:var(--mobile-navigation-drawer-shadow);display:flex;flex-direction:column;gap:10px;inset:0 auto 0 0;max-width:calc(100vw - 46px);overflow:hidden;padding:12px;position:fixed;transform:translate(-100%);transition:transform .18s ease;width:318px;z-index:100}.mobile-navigation-drawer.is-open{transform:translate(0)}.mobile-navigation-header{align-items:center;border-bottom:1px solid var(--border-soft);display:flex;justify-content:space-between;padding:2px 2px 10px}.mobile-navigation-header strong,.mobile-navigation-header span{display:block}.mobile-navigation-header strong{color:var(--text);font-size:var(--ui-font-size-2xl)}.mobile-navigation-header span{color:var(--muted);font-size:var(--ui-font-size-sm);margin-top:2px}.mobile-navigation-close{align-items:center;background:var(--mobile-navigation-close-bg);border:1px solid var(--mobile-navigation-close-border);border-radius:999px;color:var(--text);cursor:pointer;display:inline-flex;font-size:var(--ui-font-size-5xl);height:34px;justify-content:center;line-height:1;width:34px}.mobile-navigation-list{display:flex;flex:1 1 auto;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding-right:2px}.mobile-navigation-group{display:grid;gap:4px}.mobile-navigation-group+.mobile-navigation-group{border-top:1px solid var(--border-soft);padding-top:8px}.mobile-navigation-link,.mobile-navigation-quick-link{align-items:center;border:1px solid transparent;border-radius:11px;color:var(--ui-text-primary);display:flex;font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-bold);gap:10px;min-height:42px;padding:10px 11px;text-decoration:none}.mobile-navigation-link:hover,.mobile-navigation-link.is-active{background:var(--mobile-navigation-active-bg);border-color:var(--mobile-navigation-active-border);color:var(--brand-strong)}.mobile-navigation-quick{border-top:1px solid var(--border-soft);display:grid;gap:8px;grid-template-columns:1fr 1fr;padding-top:10px}.mobile-navigation-quick-link{background:var(--mobile-navigation-quick-bg);color:var(--mobile-navigation-quick-text);justify-content:center;min-height:40px;padding:9px}.mobile-navigation-quick-link:hover{background:var(--mobile-navigation-quick-hover-bg);color:var(--mobile-navigation-quick-text)}}.topbar-trial-pill{align-items:center;background:var(--brand-pale);border:1px solid var(--brand-border);border-radius:999px;color:var(--brand-strong);display:inline-flex;font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold);min-height:32px;padding:6px 10px;white-space:nowrap}.topbar-trial-pill.is-expired{background:var(--danger-soft);border-color:var(--danger-border);color:var(--danger-strong)}.identity-login-flow{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.identity-flow-card{background:var(--shell-login-entry-bg);border:1px solid var(--shell-login-entry-border);border-radius:var(--ui-card-radius);display:grid;gap:8px;padding:14px}.identity-flow-card strong{color:var(--text);font-size:var(--ui-font-size-lg)}.identity-flow-card span:not(.login-entry-option-badge){color:var(--muted);font-size:var(--ui-font-size-sm);line-height:1.45}.workspace-setup-page{display:grid;min-height:calc(100vh - var(--topbar-height));padding:28px;place-items:start center}.workspace-setup-shell{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--ui-card-radius-lg);box-shadow:var(--ui-card-shadow);display:grid;gap:18px;max-width:980px;padding:28px;width:min(100%,980px)}.workspace-setup-hero{display:grid;gap:10px}.workspace-setup-hero h1{color:var(--text);font-size:clamp(1.6rem,2vw,2.2rem);margin:0}.workspace-setup-hero p{color:var(--muted);line-height:1.55;margin:0;max-width:780px}.workspace-setup-chips{margin-top:4px}.workspace-setup-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-setup-card{background:var(--surface-muted);border:1px solid var(--border-soft);border-radius:var(--ui-card-radius);display:grid;gap:14px;padding:18px}.workspace-setup-card-head{align-items:flex-start;display:flex;gap:12px}.workspace-setup-card-head h2{color:var(--text);font-size:var(--ui-font-size-xl);margin:0 0 4px}.workspace-setup-card-head p{color:var(--muted);line-height:1.45;margin:0}.workspace-setup-footer{border-top:1px solid var(--border-soft);display:flex;justify-content:flex-end;padding-top:16px}@media (max-width: 760px){.identity-login-flow,.workspace-setup-grid{grid-template-columns:1fr}.workspace-setup-page{padding:14px}.workspace-setup-shell{padding:18px}}.login-panel-wide{max-width:760px}.login-utility-row{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:18px}.login-utility-row .language-switcher{min-width:118px}.login-mode-row{align-items:center}.inline-text-button{align-self:start;background:transparent;border:0;color:var(--brand-strong);cursor:pointer;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);padding:0;text-align:left}.inline-text-button:hover,.inline-text-button:focus-visible{text-decoration:underline}.register-agreement-card{background:var(--surface-muted);border:1px solid var(--border-soft);border-radius:var(--ui-card-radius);display:grid;gap:12px;padding:16px}.register-agreement-card h3{color:var(--text);font-size:var(--ui-font-size-xl);margin:0}.register-agreement-card p{color:var(--muted);line-height:1.5;margin:0}.register-agreement-points{display:grid;gap:8px}.register-agreement-points span{background:var(--surface-card);border:1px solid var(--border-soft);border-radius:var(--ui-radius-sm);color:var(--muted);font-size:var(--ui-font-size-sm);padding:8px 10px}.workspace-select-shell{max-width:1040px;width:min(100%,1040px)}.workspace-select-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-select-card{background:var(--surface-muted);border:1px solid var(--border-soft);border-radius:var(--ui-card-radius);display:grid;gap:14px;padding:18px}.workspace-select-card.is-current{background:var(--brand-pale);border-color:var(--brand-border)}.workspace-select-card-main{align-items:flex-start;display:flex;gap:12px}.workspace-select-card-main h2{color:var(--text);font-size:var(--ui-font-size-xl);margin:0 0 4px}.workspace-select-card-main p{color:var(--muted);line-height:1.45;margin:0}.workspace-select-footer{justify-content:space-between}@media (max-width: 760px){.login-utility-row{align-items:stretch;flex-direction:column}.workspace-select-grid{grid-template-columns:1fr}}.sidebar-quick-buttons{position:relative;z-index:96}.sidebar-quick-button.is-communication-active{background:var(--brand-strong);border-color:var(--brand-strong);border-radius:16px;box-shadow:0 14px 34px var(--legacy-rgba-14-116-144-0-3);color:var(--legacy-color-ffffff);position:relative}.sidebar-quick-button.is-communication-active:after{background:var(--brand-strong);border-radius:0 12px 12px 0;content:"";height:26px;position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:20px}.page-header-action-contract{align-items:center;display:inline-flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.page-header-action-primary,.page-header-action-secondary{align-items:center;display:inline-flex;gap:10px}.page-header-action-contract .action-button{border-radius:var(--ui-action-radius-page);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-heading);min-height:var(--ui-action-height-page)}.page-header-action-contract .action-button-solid,.page-header-action-contract .action-button-secondary{padding-inline:14px}.page-header-action-contract .action-more-menu-host{display:inline-flex}.login-product-shell{background:var(--shell-login-product-bg);border-radius:28px;display:grid;gap:0;grid-template-columns:minmax(280px,.86fr) minmax(360px,1fr);max-width:1040px;overflow:hidden;padding:0}.login-brand-surface{align-content:center;background:radial-gradient(circle at 18% 18%,var(--shell-login-brand-highlight),transparent 28%),var(--shell-login-brand-bg);color:var(--shell-login-brand-text);display:grid;gap:20px;min-height:520px;padding:44px}.login-brand-surface .login-brand-logo{background:var(--shell-login-brand-logo-bg);border-radius:18px;box-shadow:var(--shell-login-brand-logo-shadow);height:58px;padding:8px;width:58px}.login-brand-heading{display:grid;gap:10px;margin:0}.login-brand-heading h1{color:var(--shell-login-brand-text);font-size:clamp(2.2rem,4vw,4.5rem);letter-spacing:-.05em;line-height:.95;margin:0}.login-brand-heading p{color:var(--shell-login-brand-muted);font-size:var(--ui-font-size-lg);line-height:1.55;margin:0;max-width:440px}.login-auth-surface{background:var(--shell-login-auth-bg);display:grid;gap:18px;padding:34px}.login-auth-form{background:transparent}.login-social-card{background:var(--shell-login-social-card-bg)}@media (max-width: 860px){.login-product-shell{grid-template-columns:1fr}.login-brand-surface{min-height:260px;padding:28px}.login-auth-surface{padding:24px}}.form-stack{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field span{color:var(--muted);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-bold)}.field input,.field select,.field textarea{background:var(--ui-control-bg);border:1px solid var(--ui-control-border);border-radius:8px;min-height:38px;padding:7px 10px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ui-form-focus-border);box-shadow:var(--shadow-focus);outline:none}.field textarea{resize:vertical}.form-card{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--ui-card-shadow);margin:0 0 14px;max-width:1180px;padding:14px}.form-actions,.inline-fields,.toolbar{align-items:end;display:flex;gap:12px}.toolbar{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--ui-card-shadow);flex-wrap:wrap;margin-bottom:12px;padding:10px 12px}.toolbar .field{min-width:220px}.inline-fields{align-items:center}.inline-fields input{flex:1}.checkbox-field{align-items:center;color:var(--ui-text-secondary);display:flex;gap:8px;font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-emphasis)}.form-error{background:var(--ui-form-error-bg);border:1px solid var(--ui-form-error-border);border-radius:6px;color:var(--ui-form-error-text);padding:10px 12px}@media (max-width: 760px){.form-actions,.inline-fields,.toolbar{align-items:stretch;flex-direction:column}.toolbar .field{min-width:0}}.form-grid{display:grid;gap:12px 14px}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>.full-width,.form-grid>.field.full-width{grid-column:1 / -1}@media (max-width: 900px){.form-grid.two-columns{grid-template-columns:1fr}}.form-card.form-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.form-card.form-stack>.field:has(textarea),.form-card.form-stack>.field.full-width,.form-card.form-stack>.form-error,.form-card.form-stack>.form-actions,.form-card.form-stack>.totals-panel,.form-card.form-stack>.section-heading,.form-card.form-stack>.empty-note{grid-column:1 / -1}.form-card.form-stack>datalist{display:none}.form-card.form-stack>.form-grid,.form-card.form-stack>.form-section-grid{grid-column:1 / -1;width:100%}.form-actions{justify-content:flex-start}@media (max-width: 900px){.form-card.form-stack{grid-template-columns:1fr}}.subtable-card{border-left:4px solid var(--brand)}.subtable-line-grid{align-items:end;border:1px solid var(--ui-card-border);border-radius:12px;display:grid;gap:12px;grid-template-columns:.45fr repeat(3,minmax(0,1fr));margin-bottom:12px;padding:12px}.subtable-line-grid .line-index{align-self:center;color:var(--brand-strong)}@media (max-width: 1000px){.subtable-line-grid{grid-template-columns:1fr 1fr}}.select-field .select-search-input,.multi-select-field .select-search-input{min-height:34px;padding:6px 9px}.multi-select-box{background:var(--surface-card-solid);border:1px solid var(--ui-form-field-border);border-radius:10px;max-height:148px;overflow:auto;padding:8px}.multi-select-option{align-items:center;display:flex;gap:8px;padding:5px 4px}.multi-select-option input{min-height:auto}.readonly-field strong{align-items:center;background:var(--ui-form-readonly-bg);border:1px solid var(--ui-card-border);border-radius:10px;display:flex;min-height:42px;padding:8px 12px}.record-no-banner.compact-record-no{grid-column:1 / -1}.multi-select-control{position:relative}.selected-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.selected-chip{border:1px solid var(--ui-form-border-soft);background:var(--brand-soft);color:var(--brand);border-radius:999px;padding:2px 8px;font-size:var(--ui-font-size-sm)}.multi-select-box{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);max-height:240px;overflow:auto;background:var(--surface-card-solid);border:1px solid var(--ui-form-border-soft);border-radius:var(--ui-card-radius);box-shadow:0 8px 18px var(--ui-form-soft-shadow-color);padding:8px}.multi-select-option{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:8px}.multi-select-option:hover{background:var(--brand-soft)}.record-no-banner.page-record-badge,.page-header-actions .record-no-banner{margin:0;align-self:center;min-width:210px}.form-stack>.record-no-banner:first-child{align-self:flex-end;min-width:220px}.select-field,.multi-select-field{min-width:0;width:100%}.select-field select,.select-field input,.select-combo,.select-combo-input,.multi-select-control,.multi-select-control input{width:100%}.select-combo{position:relative}.select-combo-input{background:var(--ui-control-bg);border:1px solid var(--ui-control-border);border-radius:8px;min-height:38px;padding:7px 10px}.select-combo-input:focus{border-color:var(--ui-form-focus-border);box-shadow:var(--shadow-focus);outline:none}.select-combo-menu{background:var(--surface-card-solid);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px var(--ui-form-elevated-shadow-color);left:0;max-height:260px;overflow:auto;padding:8px;position:absolute;right:0;top:calc(100% + 6px);z-index:50}.select-combo-option{background:transparent;border:0;border-radius:8px;color:var(--text);cursor:pointer;display:block;font:inherit;padding:8px 10px;text-align:left;width:100%}.select-combo-option:hover,.select-combo-option.is-selected{background:var(--brand-soft);color:var(--brand-strong)}.multi-select-control{background:var(--surface-card-solid);border:1px solid var(--ui-form-field-border);border-radius:10px;min-height:42px;padding:6px 10px}.multi-select-control:focus-within{border-color:var(--ui-form-focus-border);box-shadow:var(--shadow-focus)}.multi-select-control .select-search-input{border:0;box-shadow:none;min-height:28px;padding:0}.multi-select-control .select-search-input:focus{border:0;box-shadow:none}.content-area>section{position:relative}.content-area>section>form>.record-no-banner:first-child{margin:0;position:absolute;right:0;top:0;z-index:3}.content-area>section>form>.record-no-banner:first-child+.form-card,.content-area>section>form>.record-no-banner:first-child+.field{margin-top:0}.record-no-banner{align-items:center;background:var(--surface-card-solid);border:1px solid var(--line);border-radius:12px;display:inline-flex;gap:6px;min-height:38px;padding:7px 12px;white-space:nowrap}.record-no-banner span,.record-no-banner small{color:var(--muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-bold)}.record-no-banner strong{color:var(--text);font-size:var(--ui-font-size-lg)}@media (max-width: 900px){.content-area>section>form>.record-no-banner:first-child{margin:0 0 12px;position:static}}.subtable-line-grid,.line-item-row{align-items:stretch;display:grid}.subtable-line-grid{grid-template-columns:44px repeat(4,minmax(0,1fr)) 76px}.subtable-line-grid .line-index,.line-item-row .line-index{align-items:center;align-self:stretch;background:var(--brand-soft);border-radius:10px;color:var(--brand-strong);display:flex;font-weight:var(--ui-font-weight-black);justify-content:center;min-height:100%;width:100%}.subtable-line-grid>.text-button.danger,.line-item-row>.text-button.danger{align-self:center;justify-self:end;white-space:nowrap}.line-item-row{grid-template-columns:44px minmax(150px,1.1fr) minmax(180px,1.4fr) 80px 80px 100px 90px 76px}@media (max-width: 1180px){.subtable-line-grid,.line-item-row{grid-template-columns:44px 1fr 1fr}}.required-mark{color:var(--ui-form-danger-text);font-weight:var(--ui-font-weight-black);margin-left:3px}.select-combo{align-items:stretch;display:flex;position:relative;width:100%}.select-combo-input{padding-right:36px}.select-combo-clear{align-items:center;background:transparent;border:0;color:var(--ui-text-muted);cursor:pointer;display:flex;font-size:var(--ui-font-size-6xl);font-weight:var(--ui-font-weight-heavy);height:32px;justify-content:center;line-height:1;position:absolute;right:8px;top:5px;width:28px;z-index:3}.select-combo-clear:hover{color:var(--ui-table-danger-text)}.multi-select-control{min-height:42px}.multi-select-box{display:grid;gap:2px}.multi-select-option{align-items:center;display:grid;grid-template-columns:24px minmax(0,1fr);min-height:34px;padding:6px 9px}.multi-select-option span{overflow-wrap:anywhere}.subtable-line-grid,.line-item-row{position:relative}.subtable-line-grid .line-index,.line-item-row .line-index{grid-row:1 / span 4}.subtable-line-grid>.text-button.danger,.line-item-row>.text-button.danger{align-self:center;grid-column:-2 / -1;grid-row:1 / span 4;justify-self:end}@media (max-width: 1180px){.subtable-line-grid,.line-item-row{grid-template-columns:44px 1fr 1fr 76px}}.toolbar:not(.filter-toolbar){align-items:end;display:grid;gap:8px 12px;grid-template-columns:repeat(auto-fit,minmax(176px,248px));justify-content:start}.toolbar:not(.filter-toolbar) .field{min-width:0;width:100%}.toolbar:not(.filter-toolbar) .field input,.toolbar:not(.filter-toolbar) .field select,.toolbar:not(.filter-toolbar) .select-combo,.toolbar:not(.filter-toolbar) .select-combo-input,.toolbar:not(.filter-toolbar) .multi-select-control{width:100%}.multi-select-control{align-items:flex-start;display:flex;min-height:42px;padding:7px 10px;width:100%}.multi-select-control .selected-chip-row{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;margin:0;min-height:26px}.multi-select-control .select-search-input{flex:1 1 130px;min-width:110px}.multi-select-box{display:grid;gap:3px;left:0;right:0;top:calc(100% + 6px)}.multi-select-option{align-items:center;display:grid;gap:8px;grid-template-columns:26px minmax(0,1fr);line-height:1.25;min-height:34px;text-align:left}.multi-select-option input{justify-self:center;margin:0}.multi-select-option span{min-width:0;overflow-wrap:anywhere}.subtable-line-grid,.line-item-row{align-items:stretch;display:grid;gap:12px;grid-template-columns:48px minmax(0,1fr) 88px;overflow:hidden}.subtable-content-grid{align-items:end;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));min-width:0}.subtable-line-grid>.field,.subtable-line-grid>.select-field,.subtable-line-grid>.file-planning-field,.subtable-line-grid>.line-amount,.line-item-row>.field,.line-item-row>.select-field,.line-item-row>.line-amount{min-width:0}.subtable-line-grid .line-index,.line-item-row .line-index{align-self:stretch;grid-column:1;grid-row:1 / -1;min-height:100%}.subtable-line-grid>.subtable-content-grid,.line-item-row>.subtable-content-grid{grid-column:2;grid-row:1}.subtable-line-grid>.text-button.danger,.line-item-row>.text-button.danger{align-self:center;grid-column:3;grid-row:1 / -1;justify-self:end;max-width:100%;white-space:nowrap}@media (max-width: 1180px){.subtable-line-grid,.line-item-row{grid-template-columns:44px minmax(0,1fr) 78px}.subtable-content-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}@media (max-width: 760px){.toolbar:not(.filter-toolbar){grid-template-columns:1fr}.subtable-line-grid,.line-item-row{grid-template-columns:40px minmax(0,1fr)}.subtable-line-grid>.text-button.danger,.line-item-row>.text-button.danger{grid-column:2;grid-row:auto;justify-self:start}}.clickable-row{cursor:pointer}.clickable-row:hover td{background:var(--ui-form-success-bg)}.detail-modal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.subtable-total-bar{align-items:center;border-top:1px solid var(--ui-form-border-subtle);display:flex;font-weight:var(--ui-font-weight-heavy);justify-content:flex-end;margin-top:14px;padding-top:14px}@media (max-width: 760px){.detail-modal-actions{justify-content:flex-start;margin-top:14px}}.stored-file-field input[type=file]{border:1px dashed var(--ui-form-dashed-border);border-radius:12px;padding:12px;background:var(--ui-form-input-file-bg)}.stored-file-list{display:grid;gap:8px}.stored-file-list.compact{margin-top:8px}.stored-file-chip,.stored-file-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid var(--ui-form-border-subtle);border-radius:12px;padding:8px 10px;background:var(--ui-form-surface-subtle)}.stored-file-chip span,.stored-file-row span{flex:1;min-width:160px;word-break:break-word}.stored-file-chip button,.stored-file-row button{border:0;background:transparent;color:var(--ui-form-success-text);font-weight:var(--ui-font-weight-bold);cursor:pointer}.stored-file-chip button:last-child{color:var(--ui-table-danger-text)}.stored-file-row img{width:56px;height:56px;object-fit:cover;border-radius:10px;border:1px solid var(--ui-form-border-subtle)}.file-error-text{color:var(--ui-table-danger-text);font-weight:var(--ui-font-weight-bold)}.profile-avatar-upload{display:grid;gap:12px;grid-column:1 / -1;grid-template-columns:minmax(260px,1fr) minmax(220px,.8fr)}.profile-avatar-preview{background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;display:grid;gap:8px;padding:12px}.profile-avatar-preview>strong{color:var(--text);font-size:var(--ui-font-size-md)}.profile-avatar-preview .stored-file-row img{height:76px;width:76px}.profile-form input[disabled]{background:var(--ui-table-inline-bg);color:var(--ui-text-muted);cursor:not-allowed}@media (max-width: 860px){.profile-avatar-upload{grid-template-columns:1fr}}.child-table-row-modal{max-width:920px}.child-row-modal-form{display:grid;gap:14px}.child-row-modal-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.child-row-modal-grid .field.full-width,.child-row-modal-grid .readonly-field.full-width{grid-column:1 / -1}.child-row-modal-actions{align-items:center;border-top:1px solid var(--ui-form-border-subtle);display:flex;gap:10px;justify-content:flex-end;margin-top:4px;padding-top:14px}.child-table-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width: 760px){.child-row-modal-grid{grid-template-columns:1fr}}.form-card.form-stack>.record-no-banner:first-child,.form-card.form-stack>.section-heading:first-child{order:-100}.form-card.form-stack>.form-actions,.form-card.form-stack>.legacy-field-warning,.form-actions{order:9990}.form-card.form-stack>details,.form-card.form-stack>.custom-fields-section{order:9000}.form-card.form-stack>*{order:9000}.form-card.form-stack>.field{order:9000}.form-card.form-stack>.record-no-banner:first-child{order:0}.form-card.form-stack>.section-heading,.form-card.form-stack>.empty-note{order:8500}.form-card.form-stack>details,.form-card.form-stack>.totals-panel{order:8800}.form-card.form-stack>.form-error{order:9700}.form-card.form-stack>.legacy-field-warning{order:9980}.form-card.form-stack>.form-actions{order:9900}.contact-quick-create-picker{display:flex;flex-direction:column;gap:6px}.quick-create-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-4px}.quick-create-card{border:1px solid var(--border-color, var(--ui-form-border-neutral));border-radius:12px;padding:10px;background:var(--surface-muted)}.compact-actions{margin-top:8px}.contact-picker-context{display:block;margin-top:-2px}.compact-form-error{font-size:var(--ui-font-size-sm);padding:6px 8px}.commercial-line-items{overflow-x:auto}.commercial-line-content-grid{align-items:end;display:grid;gap:12px;min-width:0}.commercial-line-content-grid--inquiry{grid-template-columns:minmax(150px,.82fr) minmax(230px,1.35fr) minmax(82px,.44fr) minmax(84px,.44fr) minmax(108px,.52fr) minmax(300px,1.72fr) minmax(112px,.54fr);min-width:1120px}.commercial-line-content-grid--pi{grid-template-columns:minmax(150px,.82fr) minmax(230px,1.35fr) minmax(82px,.44fr) minmax(84px,.44fr) minmax(108px,.52fr) minmax(300px,1.72fr) minmax(104px,.5fr);min-width:1120px}.commercial-line-content-grid .field textarea{min-height:42px;resize:vertical}.commercial-line-amount strong{font-size:var(--ui-font-size-sm);line-height:1.25;min-height:34px;padding:6px 8px;white-space:nowrap}@media (max-width: 1180px){.commercial-line-content-grid--inquiry,.commercial-line-content-grid--pi{min-width:980px}}.commercial-line-field{min-width:0}.commercial-line-field>.field,.commercial-line-field>.select-field{min-width:0}.commercial-line-content-grid--inquiry,.commercial-line-content-grid--pi{grid-template-areas:"productCode productName quantity unit price notes amount"}.commercial-line-field--productCode{grid-area:productCode}.commercial-line-field--productName{grid-area:productName}.commercial-line-field--quantity{grid-area:quantity}.commercial-line-field--unit{grid-area:unit}.commercial-line-field--price{grid-area:price}.commercial-line-field--notes{grid-area:notes}.commercial-line-field--amount{grid-area:amount}.inline-table-input{width:100%;border:1px solid var(--ui-form-border-soft);border-radius:12px;padding:8px 10px;background:var(--surface-card-solid);color:var(--ui-text-primary);font:inherit}.compact-section-heading h2{margin-bottom:4px}.inline-history-link{border:0;background:transparent;padding:0;cursor:pointer}.empty-state-note{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:1.45}.field textarea,.toolbar:not(.filter-toolbar) textarea{min-height:86px}.field input::placeholder,.field textarea::placeholder,.toolbar:not(.filter-toolbar) input::placeholder,.toolbar:not(.filter-toolbar) textarea::placeholder{color:var(--ui-form-placeholder)}.subtable-line-grid,.profile-subsection,.profile-link-row,.readonly-field strong,.multi-select-box,.camera-capture-panel{border-radius:var(--ui-card-radius)}@media (max-width: 760px){.mobile-work-shell .product-quote-grid,.mobile-work-shell .subtable-line-grid,.mobile-work-shell .line-item-row{grid-template-columns:minmax(0,1fr)}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .subtable-line-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .product-quote-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .line-item-row,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-content-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .customs-draft-line-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .child-row-modal-grid{align-items:stretch;display:grid;gap:10px;grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0;padding:10px;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .subtable-line-grid .line-index,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .line-item-row .line-index{justify-content:flex-start;min-height:32px;padding:0 10px;width:auto}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .subtable-line-grid>.text-button.danger,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .line-item-row>.text-button.danger{justify-self:stretch;min-height:var(--mobile-work-touch-target);width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .child-row-modal-actions,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .production-form-actions,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .manufacturing-form-actions{align-items:stretch;display:flex;flex-direction:column;gap:8px;justify-content:flex-start;margin-left:0;max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .child-row-modal-actions .button,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .production-form-actions .button,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .manufacturing-form-actions .button{flex:1 1 auto;min-height:var(--mobile-work-touch-target);width:100%}.mobile-work-shell .child-row-modal-actions,.mobile-work-shell .production-form-actions,.mobile-work-shell .manufacturing-form-actions{background:var(--mobile-work-sticky-bg);border:1px solid var(--mobile-work-sticky-border);border-radius:16px;bottom:var(--mobile-work-sticky-action-bottom);box-shadow:var(--mobile-work-sticky-shadow);box-sizing:border-box;margin-top:12px;padding:10px;position:sticky;z-index:24}.mobile-work-shell .child-row-modal-actions .button,.mobile-work-shell .production-form-actions .button,.mobile-work-shell .manufacturing-form-actions .button,.mobile-work-shell .child-row-modal-actions button{min-height:44px}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-items{max-width:100%;min-width:0;overflow-x:visible;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-field>.field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-field>.select-field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-amount{max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .commercial-line-amount strong{justify-content:flex-start;white-space:normal;width:100%}.mobile-work-shell .child-table-row-modal .child-row-modal-actions{bottom:auto;position:static;z-index:auto}}.table-shell{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--ui-card-shadow);overflow:hidden}.table-panel-head{align-items:center;background:var(--ui-card-bg);border-bottom:1px solid var(--ui-card-border);display:flex;gap:12px;justify-content:space-between;min-height:40px;padding:7px 12px}.table-panel-title{color:var(--ink);font-size:var(--ui-font-size-lg);font-weight:var(--ui-font-weight-bold);line-height:1.25;min-width:0}.table-panel-actions{align-items:center;display:flex;flex-shrink:0;gap:8px;justify-content:flex-end}.table-panel-actions .button{min-height:32px;padding:6px 11px}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--ui-detail-border);padding:8px 10px;text-align:left}th{background:var(--ui-table-head-bg);color:var(--ui-text-secondary);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-bold)}td{color:var(--ui-text-secondary);font-size:var(--ui-font-size-md)}.table-link,.text-button{color:var(--brand-strong);font-weight:var(--ui-font-weight-bold)}.text-button{background:transparent;border:0;cursor:pointer;padding:0}.text-button.danger{color:var(--ui-table-danger-text)}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.muted-line{color:var(--ui-text-placeholder);display:block;font-size:var(--ui-font-size-sm);margin-top:3px}.column-chooser{position:relative}.column-chooser-popover{background:var(--surface-elevated);border:1px solid var(--ui-card-border);border-radius:14px;box-shadow:0 18px 48px var(--ui-table-popover-shadow-color);display:flex;flex-direction:column;max-height:min(520px,72vh);min-width:340px;overflow:hidden;padding:12px;position:fixed;z-index:220}.column-chooser-head{align-items:flex-start;border-bottom:1px solid var(--ui-form-border-soft);display:flex;gap:12px;justify-content:space-between;margin-bottom:8px;padding-bottom:8px}.column-chooser-head strong{color:var(--ink);display:block;font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-bold);line-height:1.2}.column-chooser-head span{color:var(--ui-text-placeholder);display:block;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);line-height:1.35;margin-top:3px;max-width:240px}.column-chooser-options{display:grid;gap:4px;max-height:100%;overflow:auto;padding-right:2px}.column-chooser-option{align-items:center;border:1px solid transparent;border-radius:10px;color:var(--ui-table-option-text);display:grid;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-emphasis);gap:8px;grid-template-columns:minmax(0,1fr) auto;min-height:38px;padding:5px 6px 5px 8px}.column-chooser-option:hover{background:var(--brand-soft);border-color:var(--ui-table-option-hover-border)}.column-chooser-check{align-items:center;cursor:pointer;display:grid;gap:8px;grid-template-columns:22px minmax(0,1fr);min-width:0}.column-chooser-check input:disabled{cursor:not-allowed}.column-chooser-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-chooser-order-actions{flex-wrap:nowrap;gap:4px}.column-chooser-order-actions .text-button{border-radius:8px;color:var(--brand-strong);font-size:var(--ui-font-size-body);line-height:1;min-height:26px;min-width:26px;padding:4px 6px}.column-chooser-order-actions .text-button:disabled{color:var(--ui-table-disabled-text);cursor:not-allowed;opacity:.55}.column-chooser-order-actions .text-button:not(:disabled):hover{background:var(--ui-table-order-hover-bg)}.table-thumbnail{border:1px solid var(--ui-table-thumbnail-border);border-radius:8px;height:42px;object-fit:cover;width:58px}.file-count-pill{background:var(--brand-soft);border:1px solid var(--ui-table-file-pill-border);border-radius:999px;color:var(--brand-strong);display:inline-flex;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-heading);padding:3px 8px;white-space:nowrap}.inline-muted{display:inline}.inline-table-editor-row>td{background:var(--ui-table-inline-bg);padding:0}.inline-table-editor-shell{background:var(--surface-card-solid);border:1px solid var(--ui-table-inline-border);border-radius:14px;box-shadow:inset 3px 0 0 var(--ui-table-inline-accent),0 10px 24px var(--ui-table-inline-shadow-color);margin:10px;overflow:hidden}.inline-table-editor-head{align-items:flex-start;background:var(--ui-table-inline-head-bg);border-bottom:1px solid var(--ui-table-inline-divider);display:flex;gap:12px;justify-content:space-between;padding:10px 12px}.inline-table-editor-head strong{color:var(--ink);display:block;font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-bold);line-height:1.25}.inline-table-editor-head span{color:var(--muted);display:block;font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);line-height:1.35;margin-top:3px}.inline-table-editor-actions{align-items:center;display:flex;flex-shrink:0;gap:8px}.inline-table-editor-body{padding:12px}.inline-table-editor-form{display:grid;gap:12px}.inline-table-editor-form .form-actions{border-top:1px solid var(--ui-table-inline-divider);margin-top:2px;padding-top:10px}@media (max-width: 760px){.inline-table-editor-head{align-items:stretch;flex-direction:column}}.inline-table-editor-form--wide .settings-form-grid,.inline-table-editor-form--wide.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-table-editor-form--wide .full-width,.inline-table-editor-form--wide .source-link-notes,.inline-table-editor-form--wide .form-actions{grid-column:1 / -1}@media (max-width: 760px){.inline-table-editor-form--wide .settings-form-grid,.inline-table-editor-form--wide.settings-form-grid{grid-template-columns:1fr}}.nested-inline-table-row>td{background:var(--ui-table-inline-bg);padding:10px 12px 14px}.nested-inline-table-row .table-shell{border-color:var(--ui-form-border-soft);box-shadow:none}.nested-inline-table-row .table-panel-head{min-height:40px;padding:7px 10px}.compact-settings-table tr.is-disabled,.table-shell tr.is-disabled{opacity:.76}.color-preview-dot{border:1px solid var(--ui-table-color-dot-border);border-radius:999px;display:inline-block;height:14px;margin-right:6px;vertical-align:-2px;width:14px}.mini-checkbox-stack--inline{display:flex;flex-wrap:wrap;gap:8px 14px}.table-clickable-row{cursor:pointer}.table-clickable-row:hover td{background:var(--ui-table-row-hover-bg)}.list-cell-clamp{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}tbody tr:hover td{background:var(--surface-muted)}.row-actions{align-items:center;flex-wrap:nowrap;justify-content:flex-start}.content-area>section{min-width:0}.page-header-with-center{align-items:center}.module-view-switch{align-items:center;background:var(--ui-switch-bg);border:1px solid var(--ui-switch-border);border-radius:999px;box-shadow:none;display:inline-flex;flex:0 0 auto;gap:3px;min-height:35px;min-width:0;padding:3px;white-space:nowrap}.module-view-tab{align-items:center;background:transparent;border:0;border-radius:999px;color:var(--ui-switch-text, var(--brand-strong));cursor:pointer;display:inline-flex;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-bold);justify-content:center;line-height:1;min-height:28px;padding:0 14px;white-space:nowrap}.module-view-tab.active,.module-view-tab.is-active{background:var(--ui-switch-active-bg);border-color:transparent;color:var(--ui-switch-active-text, var(--surface-card-solid));box-shadow:var(--ui-switch-active-shadow)}.status-panel,.ledger-panel,.module-card,.form-card,.table-shell{background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--ui-card-shadow);box-sizing:border-box}.table-shell{overflow:hidden}.table-panel-head{min-height:44px;padding:8px 12px}th{background:var(--ui-table-head-bg)}@media (max-width: 980px){.module-view-switch{max-width:100%;overflow-x:auto}}.page-header h1{color:var(--ui-text-strong);font-weight:var(--ui-font-weight-heading)}.page-header p,.status-panel p,.module-card p,.form-help,.muted-line,.empty-note{color:var(--ui-text-muted)}.status-panel h2,.section-heading h2,.table-panel-title{color:var(--ui-text-strong)}.field>span,.form-card .field>span,.toolbar .field>span{color:var(--ui-text-muted);font-size:var(--ui-font-form-label);font-weight:var(--ui-font-weight-emphasis);line-height:1.35}.field input,.field select,.field textarea,.select-combo-input,.multi-select-control,.multi-select-control .select-search-input,.toolbar input,.toolbar select,.toolbar textarea{color:var(--ui-text-strong);font-size:var(--ui-font-form-value);line-height:1.42}.field input::placeholder,.field textarea::placeholder,.select-combo-input::placeholder,.multi-select-control .select-search-input::placeholder,.toolbar input::placeholder,.toolbar textarea::placeholder{color:var(--ui-text-placeholder);opacity:1}.definition-grid dt,.status-panel .definition-grid dt,.related-modal-definition-grid.definition-grid dt{background:var(--ui-detail-label-bg);color:var(--ui-text-secondary);font-size:var(--ui-font-detail-label);font-weight:var(--ui-font-weight-emphasis);line-height:1.35}.definition-grid dd,.status-panel .definition-grid dd,.related-modal-definition-grid.definition-grid dd{border-bottom-color:var(--ui-detail-border);color:var(--ui-text-primary);font-size:var(--ui-font-detail-value);font-weight:var(--ui-font-weight-medium);line-height:1.45}.definition-grid dd.is-empty-value,.definition-grid dd .empty-value,.status-panel .definition-grid dd.is-empty-value,.status-panel .definition-grid dd .empty-value,.related-modal-definition-grid.definition-grid dd.is-empty-value,.related-modal-definition-grid.definition-grid dd .empty-value{color:var(--ui-text-subtle);font-size:var(--ui-font-detail-value);font-weight:var(--ui-font-weight-regular)}.definition-grid dd.is-metadata-value,.status-panel .definition-grid dd.is-metadata-value,.related-modal-definition-grid.definition-grid dd.is-metadata-value{color:var(--ui-text-muted);font-size:var(--ui-font-detail-meta);font-weight:var(--ui-font-weight-normal)}th,.table-shell th,.data-table th{color:var(--ui-text-secondary);font-size:var(--ui-font-table);font-weight:var(--ui-font-weight-heading)}td,.table-shell td,.data-table td{color:var(--ui-text-secondary);font-size:var(--ui-font-table);font-weight:var(--ui-font-weight-normal)}.table-shell td:first-child,.data-table td:first-child,.table-link,.text-button{color:var(--brand-strong);font-weight:var(--ui-font-weight-bold)}.ui-badge{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;color:var(--ui-muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-emphasis);gap:4px;line-height:1;max-width:100%;min-height:22px;padding:3px 8px;vertical-align:middle;white-space:nowrap}.ui-badge-neutral,.ui-badge-muted{background:var(--ui-badge-neutral-bg);border-color:var(--ui-badge-neutral-border);color:var(--ui-text-muted)}.ui-badge-info,.ui-badge-brand{background:var(--legacy-color-eaf4fa);border-color:var(--legacy-color-cfe2ec);color:var(--brand-strong)}.ui-badge-success{background:var(--ui-badge-success-bg);border-color:var(--ui-badge-success-border);color:var(--ui-action-success-bg)}.ui-badge-warning{background:var(--legacy-color-fff7ed);border-color:var(--ui-badge-warning-border);color:var(--ui-badge-warning-text)}.ui-badge-danger{background:var(--legacy-color-fef2f2);border-color:var(--ui-badge-danger-border);color:var(--ui-action-danger-hover)}.status-badge,.priority-badge,.entity-badge{flex:0 0 auto}.ui-shell-backdrop{top:0;right:0;bottom:0;left:0;overflow:auto;position:fixed;z-index:80}.ui-modal-backdrop{align-items:flex-start;background:var(--ui-shell-backdrop-modal);display:flex;justify-content:center;padding:56px 24px}.ui-drawer-backdrop{align-items:stretch;background:var(--ui-shell-backdrop-drawer);display:flex;justify-content:flex-end;padding:0}.ui-shell-card{background:var(--surface-card-solid);color:var(--ui-text-primary, var(--ui-text-strong));display:grid;gap:14px;max-height:calc(100vh - 32px);overflow:auto}.ui-modal-shell{align-self:flex-start;border:1px solid var(--ui-shell-border);border-radius:12px;box-shadow:0 16px 42px var(--legacy-rgba-15-23-42-0-16);padding:18px;width:min(100%,720px)}.ui-drawer-shell{box-shadow:var(--ui-drawer-shadow);max-height:100vh;min-height:100vh;padding:18px;width:min(100%,720px)}.ui-shell-sm{max-width:430px}.ui-shell-md{max-width:560px}.ui-shell-lg{max-width:760px}.ui-shell-xl{max-width:980px}.ui-shell-wide{max-width:760px}.ui-shell-full{max-width:min(1180px,100%)}.ui-drawer-shell.ui-shell-sm{width:min(430px,100%)}.ui-drawer-shell.ui-shell-md{width:min(560px,100%)}.ui-drawer-shell.ui-shell-lg{width:min(720px,100%)}.ui-drawer-shell.ui-shell-xl{width:min(860px,100%)}.ui-drawer-shell.ui-shell-wide{width:min(760px,100%)}.ui-drawer-shell.ui-shell-full{width:min(1000px,100%)}.ui-shell-header{align-items:flex-start;border-bottom:1px solid var(--ui-detail-border);display:flex;gap:16px;justify-content:space-between;padding-bottom:10px}.ui-shell-heading{display:grid;gap:4px;min-width:0}.ui-shell-heading h2{color:var(--ui-text-primary, var(--ui-text-strong));font-size:var(--ui-font-size-3xl);line-height:1.25;margin:0}.ui-shell-heading p{color:var(--ui-text-muted);font-size:var(--ui-font-size-md);line-height:1.35;margin:0}.ui-shell-body{display:grid;gap:14px;min-width:0}.ui-shell-footer{border-top:1px solid var(--ui-detail-border);padding-top:12px}.ui-shell-message{color:var(--ui-text-secondary);font-size:var(--ui-font-size-body);line-height:1.5;margin:0}.confirm-modal-shell .ui-shell-body{gap:10px}.child-table-row-modal .ui-shell-body,.compact-related-modal .ui-shell-body,.contact-detail-modal .ui-shell-body{gap:12px}.compact-related-modal{width:min(980px,100%)}@media (max-width: 760px){.ui-modal-backdrop{padding:24px 12px}.ui-shell-header{display:grid}.ui-shell-close-button{justify-self:start}.ui-drawer-shell,.ui-drawer-shell.ui-shell-sm,.ui-drawer-shell.ui-shell-md,.ui-drawer-shell.ui-shell-lg,.ui-drawer-shell.ui-shell-xl,.ui-drawer-shell.ui-shell-wide,.ui-drawer-shell.ui-shell-full{width:100%}}.form-field-label{align-items:center;display:inline-flex;gap:3px}.form-helper-text,.form-field-error-text{display:block;color:var(--ui-muted);font-size:var(--ui-font-size-sm);line-height:1.15;line-height:1.45}.form-helper-text{color:var(--ui-text-helper-muted)}.form-field-error-text{color:var(--ui-action-danger-hover);font-weight:var(--ui-font-weight-semibold)}.action-button{font-family:inherit}.button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ui-action-primary-bg);border:1px solid var(--ui-action-primary-border);border-radius:var(--ui-action-radius-default);box-shadow:var(--ui-action-primary-shadow);color:var(--surface-card-solid);cursor:pointer;display:inline-flex;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-heading);gap:6px;justify-content:center;letter-spacing:0;line-height:1;min-height:var(--ui-action-height-default);min-width:0;padding:0 14px;text-align:center;text-decoration:none;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:background .14s ease,background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease}.button:hover:not(:disabled),.button:focus-visible{background:var(--ui-action-primary-hover);border-color:var(--ui-action-primary-hover);box-shadow:var(--ui-action-hover-shadow);color:var(--surface-card-solid);text-decoration:none;transform:none}.button:focus-visible{outline:0;box-shadow:var(--ui-action-hover-shadow),var(--ui-action-focus-ring)}.button:active:not(:disabled){box-shadow:var(--ui-action-primary-shadow);transform:none}.button:disabled,.text-button:disabled,.action-button[aria-disabled=true]{cursor:not-allowed;opacity:.55;transform:none}.button.secondary{background:var(--ui-action-secondary-bg);border-color:var(--ui-action-secondary-border);box-shadow:var(--ui-action-soft-shadow);color:var(--ui-action-secondary-text)}.button.secondary:hover:not(:disabled),.button.secondary:focus-visible{background:var(--ui-action-secondary-hover-bg);border-color:var(--ui-action-secondary-hover-border);color:var(--ui-action-secondary-hover-text);box-shadow:var(--ui-action-hover-shadow)}.button.danger,.button.success,.button.warning,.button.violet{color:var(--surface-card-solid)}.button.danger{background:var(--ui-action-danger-bg);border-color:var(--ui-action-danger-border);box-shadow:var(--ui-action-primary-shadow)}.button.danger:hover:not(:disabled),.button.danger:focus-visible{background:var(--ui-action-danger-hover);border-color:var(--ui-action-danger-hover);color:var(--surface-card-solid)}.button.success{background:var(--ui-action-success-bg);border-color:var(--ui-action-success-border);box-shadow:var(--ui-action-primary-shadow)}.button.success:hover:not(:disabled),.button.success:focus-visible{background:var(--ui-action-success-hover);border-color:var(--ui-action-success-hover);color:var(--surface-card-solid)}.button.warning{background:var(--ui-action-warning-bg);border-color:var(--ui-action-warning-border);box-shadow:var(--ui-action-primary-shadow)}.button.warning:hover:not(:disabled),.button.warning:focus-visible{background:var(--ui-action-warning-hover);border-color:var(--ui-action-warning-hover);color:var(--surface-card-solid)}.button.violet{background:var(--ui-action-violet-bg);border-color:var(--ui-action-violet-border);box-shadow:var(--ui-action-primary-shadow)}.button.violet:hover:not(:disabled),.button.violet:focus-visible{background:var(--ui-action-violet-hover);border-color:var(--ui-action-violet-hover);color:var(--surface-card-solid)}.action-button-context-page,.detail-actions .button{border-radius:var(--ui-action-radius-page);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-heading);min-height:var(--ui-action-height-page);padding:0 14px}.action-button-context-shell,.ui-shell-card .button,.modal-actions .button,.child-row-modal-actions .button,.child-table-row-modal .button,.compact-related-modal .button,.contact-detail-modal .button{border-radius:var(--ui-action-radius-shell);font-size:var(--ui-font-size-sm-plus);font-weight:var(--ui-font-weight-bold);min-height:var(--ui-action-height-shell);padding:0 12px}.action-button-context-default,.form-actions .button,.table-panel-actions .button{border-radius:var(--ui-action-radius-default);min-height:var(--ui-action-height-default);padding:0 16px}.text-button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--ui-action-radius-inline);color:var(--ui-switch-text, var(--brand-strong));cursor:pointer;display:inline-flex;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-heading);gap:4px;line-height:1.2;min-height:28px;padding:4px 7px;text-decoration:none;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease;white-space:nowrap}.text-button:hover:not(:disabled),.text-button:focus-visible{background:var(--brand-soft);color:var(--brand-deep);outline:0;text-decoration:none}.text-button.danger{color:var(--ui-action-danger-bg)}.text-button.danger:hover:not(:disabled),.text-button.danger:focus-visible{background:var(--legacy-color-fef2f2);color:var(--ui-action-danger-hover)}.text-button.success{color:var(--ui-action-success-bg)}.text-button.success:hover:not(:disabled),.text-button.success:focus-visible{background:var(--legacy-color-ecfdf5);color:var(--ui-action-success-hover)}.text-button.warning{color:var(--ui-action-warning-bg)}.text-button.warning:hover:not(:disabled),.text-button.warning:focus-visible{background:var(--legacy-color-fff7ed);color:var(--ui-action-warning-hover)}.text-button.violet{color:var(--ui-action-violet-bg)}.text-button.violet:hover:not(:disabled),.text-button.violet:focus-visible{background:var(--ui-badge-violet-bg);color:var(--ui-action-violet-hover)}.action-button-context-inline,.row-actions .text-button,.child-table-actions .text-button,.column-chooser-order-actions .text-button{min-height:26px;padding:3px 6px}.action-button-group,.row-actions.action-button-group{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.action-button-group-start{justify-content:flex-start}.action-button-group-center{justify-content:center}.action-button-group-end{justify-content:flex-end}.action-button-group .button,.action-button-group .text-button{white-space:nowrap}.safe-popover{background:var(--ui-dropdown-bg);border:1px solid var(--ui-dropdown-border);border-radius:12px;box-shadow:var(--ui-dropdown-shadow);display:grid;gap:2px;padding:6px;position:fixed;z-index:2000}.action-more-menu-host{display:inline-flex}.action-more-menu-item{background:transparent;border:0;border-radius:8px;color:var(--ui-text-secondary);cursor:pointer;font:inherit;font-size:var(--ui-font-size-sm);padding:8px 10px;text-align:left;white-space:nowrap}.action-more-menu-item:hover{background:var(--ui-option-hover-bg);color:var(--ui-option-hover-text)}.action-more-menu-item:disabled{color:var(--ui-text-subtle);cursor:not-allowed}.ui-shell-close-button{min-width:76px}.topbar-brand-subtitle{white-space:nowrap}.sidebar-collapse-button{align-items:center;background:var(--surface-card-solid);border:1px solid var(--shell-workflow-button-hover-border);border-radius:999px;box-shadow:0 1px 3px var(--legacy-rgba-27-83-119-0-06);color:var(--brand-strong);display:inline-flex;font-family:inherit;font-size:var(--ui-font-size-3xl);font-weight:var(--ui-font-weight-black);height:32px;justify-content:center;line-height:1;padding:0;text-align:center;width:32px}.sidebar-collapse-button span{line-height:1}.sidebar-collapse-button:hover,.sidebar-collapse-button:focus-visible{background:var(--legacy-color-f7fbfd);border-color:var(--legacy-rgba-27-83-119-0-34);color:var(--brand-deep);outline:0;box-shadow:0 0 0 2px var(--legacy-rgba-47-126-170-0-12)}.data-management-tool-card .button{justify-content:center;width:100%}.ui-badge-purple,.ui-badge-cyan{background:var(--legacy-color-eaf4fa);border-color:var(--legacy-color-cfe2ec);color:var(--brand-strong)}.ui-badge-orange{background:var(--legacy-color-fff7ed);border-color:var(--ui-badge-warning-border);color:var(--ui-badge-warning-text)}html,body,#root,button,input,select,textarea{font-family:var(--ui-font-family)}.topbar-brand-block{gap:8px}.brand-logo{border-radius:0;display:block;flex:0 0 auto;height:30px;object-fit:contain;width:30px}.topbar-brand-block strong{color:var(--ui-text-strong);font-size:var(--ui-font-size-xl);font-weight:var(--ui-font-weight-bold);letter-spacing:-.02em;line-height:1.05}.topbar-brand-subtitle{color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-medium);letter-spacing:0}.nav-link,.sidebar-quick-button,.module-view-tab,.button,.text-button,.action-button,.action-link{font-family:var(--ui-font-family)}.nav-link{font-size:var(--ui-font-size-nav);font-weight:var(--ui-font-weight-medium);letter-spacing:-.01em;line-height:1.16}.nav-link.is-active{font-weight:var(--ui-font-weight-semibold)}.sidebar-quick-button{font-size:var(--ui-font-size-body);font-weight:var(--ui-font-weight-semibold)}.muted-line,.form-help,.empty-note{font-weight:var(--ui-font-weight-normal)}.page-header h1,.section-heading h2,.section-heading h3,.form-card h2{font-weight:var(--ui-font-weight-bold);letter-spacing:-.02em}.form-card h3,.card-title{font-weight:var(--ui-font-weight-semibold)}.field>span,.checkbox-field,.definition-grid dt,.table th,.data-table th,.related-modal-table th{font-weight:var(--ui-font-weight-semibold)}.table td,.data-table td,.related-modal-table td,.definition-grid dd{font-weight:var(--ui-font-weight-medium)}.module-view-tab,.module-view-tab.active,.module-view-tab.is-active{font-weight:var(--ui-font-weight-semibold)}.software-legal-brand-head{align-items:center}.software-legal-brand-title{align-items:center;display:flex;gap:12px;min-width:0}.software-legal-logo{border-radius:12px;display:block;flex:0 0 auto;height:44px;object-fit:contain;width:44px}.inline-table-textarea{min-height:34px;resize:vertical}.inline-contact-checkbox-cell{text-align:center}.table-shell .data-table-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden}.table-shell table,.table-shell .data-table{border-collapse:collapse;table-layout:fixed;width:100%}.table-shell th,.table-shell td,.data-table th,.data-table td{line-height:var(--ui-list-cell-line-height);min-height:var(--ui-list-row-min-height);min-width:0;padding:var(--ui-list-cell-padding-y) var(--ui-list-cell-padding-x);vertical-align:middle}.table-shell th,.data-table th{height:40px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-shell td,.data-table td{overflow-wrap:anywhere}.table-shell td>.list-cell-clamp,.data-table td>.list-cell-clamp,.table-shell td>.muted-line,.data-table td>.muted-line{max-width:100%}.table-shell td:last-child,.data-table td:last-child,.table-shell th:last-child,.data-table th:last-child{width:var(--ui-list-action-column-width)}.table-shell td:last-child .row-actions,.data-table td:last-child .row-actions{justify-content:flex-end}.row-actions .button,.row-actions .text-button{min-width:0}.table-shell .data-table-empty-cell{color:var(--ui-text-muted);font-weight:var(--ui-font-weight-normal);padding:20px 12px;text-align:center}.table-panel-head{border-bottom-color:var(--ui-card-border)}.table-panel-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-card.form-stack,.form-card{padding:var(--ui-form-card-padding)}.form-card.form-stack{gap:var(--ui-form-card-gap-y) var(--ui-form-card-gap-x)}.form-card.form-stack>.section-heading,.form-card .section-heading{border-bottom:1px solid var(--ui-form-section-border);margin:0 0 2px;padding:0 0 8px}.form-card.form-stack>.section-heading h2,.form-card.form-stack>.section-heading h3,.form-card .section-heading h2,.form-card .section-heading h3{font-size:var(--ui-font-size-lg);line-height:1.25}.form-card.form-stack>.field,.form-card .field{min-width:0}.form-card .field input,.form-card .field select,.form-card .field textarea,.form-card .select-combo-input,.form-card .multi-select-control{width:100%}.form-card textarea,.form-card .inline-table-textarea{line-height:1.45}.form-card .stored-file-field,.form-card .custom-fields-section,.form-card .table-shell,.form-card .totals-panel{min-width:0}.form-actions{align-items:center;gap:8px;justify-content:flex-end;padding-top:2px}.detail-page-shell .status-panel,.detail-page-shell .ledger-panel,.detail-page-shell .module-card,.detail-page-shell .related-record-card{padding:var(--ui-detail-card-padding)}.detail-page-shell .status-panel>h2,.detail-page-shell .ledger-panel>h2,.detail-page-shell .module-card>h2,.detail-page-shell .section-heading h2{font-size:var(--ui-font-size-lg);line-height:1.25}.detail-page-shell .status-panel>h2:first-child{border-bottom:1px solid var(--ui-detail-border);margin:0 0 10px;padding-bottom:8px}.detail-page-shell .definition-grid,.related-modal-definition-grid.definition-grid{gap:var(--ui-detail-grid-gap-y) var(--ui-detail-grid-gap-x);grid-template-columns:var(--ui-detail-grid-label-width) minmax(0,1fr) var( --ui-detail-grid-label-width ) minmax(0,1fr)}.detail-page-shell .definition-grid dt,.related-modal-definition-grid.definition-grid dt{align-items:center;display:flex;min-height:34px;padding:7px 9px}.detail-page-shell .definition-grid dd,.related-modal-definition-grid.definition-grid dd{min-height:34px;min-width:0;overflow-wrap:anywhere;padding:7px 0}.detail-value-cell{min-width:0}.detail-page-shell .related-records-panel{gap:10px}.detail-page-shell .related-records-panel__grid{display:grid;gap:var(--ui-page-section-gap);grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.detail-page-shell .related-record-card__heading{border-bottom:1px solid var(--ui-detail-border);margin:0 0 8px;padding-bottom:7px}@media (max-width: 1100px){.detail-page-shell .definition-grid,.related-modal-definition-grid.definition-grid{grid-template-columns:var(--ui-detail-grid-label-width) minmax(0,1fr)}}@media (max-width: 700px){.detail-page-shell .definition-grid,.related-modal-definition-grid.definition-grid{grid-template-columns:1fr}.detail-page-shell .definition-grid dt,.related-modal-definition-grid.definition-grid dt{min-height:auto}}.ui-modal-backdrop{background:var(--ui-shell-backdrop-modal)}.ui-drawer-backdrop{background:var(--ui-shell-backdrop-drawer)}.ui-shell-card{gap:var(--ui-shell-gap)}.ui-modal-shell,.ui-drawer-shell{border:1px solid var(--ui-shell-border);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:0}.ui-modal-shell{border-radius:12px;box-shadow:var(--ui-modal-shadow)}.ui-drawer-shell{border-bottom:0;border-right:0;border-top:0;box-shadow:var(--ui-drawer-shadow)}.ui-shell-header{background:var(--ui-shell-header-bg);border-bottom:1px solid var(--ui-shell-border);padding:var(--ui-shell-header-padding)}.ui-shell-heading h2{font-size:var(--ui-font-size-2xl);font-weight:var(--ui-font-weight-bold);letter-spacing:-.01em}.ui-shell-heading p{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm-plus)}.ui-shell-body{gap:12px;min-height:0;overflow:auto;padding:var(--ui-shell-body-padding)}.ui-modal-shell.ui-shell-popover-safe,.ui-drawer-shell.ui-shell-popover-safe,.ui-modal-shell.ui-shell-popover-safe .ui-shell-body,.ui-drawer-shell.ui-shell-popover-safe .ui-shell-body{overflow:visible}.ui-shell-popover-safe .select-combo-menu{max-height:min(320px,45vh);z-index:120}.ui-shell-footer{align-items:center;background:var(--ui-shell-footer-bg);border-top:1px solid var(--ui-shell-border);display:flex;justify-content:flex-end;margin:0;padding:var(--ui-shell-footer-padding)}.ui-shell-footer .action-button-group{justify-content:flex-end;width:100%}.ui-shell-close-button{min-width:68px}.ui-shell-close-button.button.success{background:var(--ui-shell-close-success-bg);border-color:var(--ui-shell-close-success-border);box-shadow:none;color:var(--ui-action-success-bg)}.ui-shell-close-button.button.success:hover:not(:disabled),.ui-shell-close-button.button.success:focus-visible{background:var(--ui-shell-close-success-hover-bg);border-color:var(--ui-shell-close-success-hover-border);color:var(--ui-action-success-hover);box-shadow:var(--ui-action-hover-shadow)}html,body,#root{font-size:var(--ui-font-size-body)}body{color:var(--ui-text-primary);font-weight:var(--ui-font-weight-regular)}.page-header h1,.page-header-text h1{color:var(--ui-text-strong);font-size:var(--ui-typo-page-title-size);font-weight:var(--ui-typo-page-title-weight);letter-spacing:-.015em;line-height:1.18}.page-header-description-inline,.page-header p,.topbar-brand-subtitle,.ui-shell-heading p{color:var(--ui-text-muted);font-size:var(--ui-typo-page-subtitle-size);font-weight:var(--ui-font-weight-medium);line-height:1.35}.section-heading h2,.section-heading h3,.status-panel h2,.ledger-panel h2,.module-card h2,.form-card h2,.table-panel-title{color:var(--ui-text-strong);font-size:var(--ui-typo-section-title-size);font-weight:var(--ui-font-weight-bold);letter-spacing:-.01em;line-height:1.25}.field>span,.form-field-label,.checkbox-field,.definition-grid dt,.related-modal-definition-grid.definition-grid dt{color:var(--ui-text-muted);font-size:var(--ui-typo-field-label-size);font-weight:var(--ui-font-weight-emphasis);letter-spacing:0}.field input,.field select,.field textarea,.select-combo-input,.multi-select-control,.definition-grid dd,.related-modal-definition-grid.definition-grid dd{color:var(--ui-text-primary);font-size:var(--ui-typo-field-value-size);font-weight:var(--ui-font-weight-medium)}th,.table-shell th,.data-table th,.related-modal-table th{color:var(--ui-text-secondary);font-size:var(--ui-typo-table-head-size);font-weight:var(--ui-font-weight-bold);letter-spacing:0}td,.table-shell td,.data-table td,.related-modal-table td{color:var(--ui-text-secondary);font-size:var(--ui-typo-table-body-size);font-weight:var(--ui-font-weight-normal)}.button,.text-button,.action-button,.module-view-tab{font-size:var(--ui-typo-button-size);font-weight:var(--ui-font-weight-emphasis)}.ui-badge,.status-badge,.priority-badge,.entity-badge,.role-pill{font-size:var(--ui-typo-badge-size);font-weight:var(--ui-font-weight-emphasis)}.form-helper-text,.form-field-error-text,.muted-line,.empty-note,.inline-muted,.table-panel-title+small{font-size:var(--ui-typo-helper-size);font-weight:var(--ui-font-weight-normal);line-height:1.4}.table-link,.table-shell td:first-child,.data-table td:first-child,.record-no-banner strong,.entity-reference-title,.definition-grid dd.is-metadata-value,.user-card-mini small{font-feature-settings:"tnum" 1,"lnum" 1;font-variant-numeric:tabular-nums}code,pre,kbd,samp,.record-code,.business-id,.amount-cell,.date-cell,.mono-value{font-family:var(--ui-font-family-mono);font-size:var(--ui-typo-code-size);font-feature-settings:"tnum" 1,"lnum" 1;font-variant-numeric:tabular-nums}.nav-icon,.topbar-workflow-icon,.time-widget-icon svg,.empty-state-icon svg,.module-view-tab svg,.button svg,.text-button svg{height:var(--ui-icon-size-md);width:var(--ui-icon-size-md);stroke-width:var(--ui-icon-stroke)}.nav-link .nav-icon{opacity:var(--ui-icon-muted-opacity)}.nav-link.is-active .nav-icon,.topbar-icon-button.is-active .topbar-workflow-icon,.button svg,.text-button:hover svg,.text-button:focus-visible svg{opacity:1}.time-widget-icon svg,.topbar-workflow-icon{color:currentColor;flex:0 0 auto}.role-pill{letter-spacing:.045em;text-transform:uppercase}.time-widget-copy strong{font-size:var(--ui-font-size-lg);font-weight:var(--ui-font-weight-bold);letter-spacing:.015em}.time-widget-copy small{font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-medium)}.empty-state{align-items:center;background:var(--ui-empty-state-bg);border:1px dashed var(--ui-empty-state-border);border-radius:10px;color:var(--ui-text-muted);display:inline-flex;gap:10px;justify-content:center;max-width:100%;min-height:52px;padding:10px 12px;text-align:left}.empty-state-compact{min-height:42px;width:min(100%,420px)}.empty-state-icon{align-items:center;background:var(--ui-empty-state-icon-bg);border:1px solid var(--legacy-color-d7e8ef);border-radius:999px;color:var(--ui-empty-state-icon-color);display:inline-flex;flex:0 0 auto;height:28px;justify-content:center;width:28px}.empty-state-copy{display:grid;gap:2px;min-width:0}.empty-state-copy strong{color:var(--ui-text-secondary);font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-semibold);line-height:1.25}.empty-state-copy small{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-normal);line-height:1.35}.empty-state-action{flex:0 0 auto}.data-table-empty-cell{text-align:center}.data-table-empty-cell .empty-state{margin:0 auto}.route-loading,.loading-state,.saving-state,.syncing-state{align-items:center;color:var(--ui-text-muted);display:flex;font-size:var(--ui-font-size-md);font-weight:var(--ui-font-weight-medium);gap:8px;justify-content:center;min-height:120px}.route-loading:before,.loading-state:before,.saving-state:before,.syncing-state:before{animation:texchat-loading-dot .78s linear infinite;background:var(--ui-loading-dot-bg);border-radius:999px;box-shadow:10px 0 0 var(--ui-loading-dot-mid),20px 0 0 var(--ui-loading-dot-strong);content:"";display:inline-block;height:6px;width:6px}@keyframes texchat-loading-dot{0%,to{opacity:.38}50%{opacity:1}}.module-page-shell{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--ui-page-section-gap);min-width:0;width:100%}.module-page-shell>.page-header{margin:0}.module-page-body{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--ui-page-section-gap);min-width:0;width:100%}.module-page-body>.table-shell{margin:0}@media (max-width: 760px){.module-page-shell,.module-page-body{gap:var(--ui-page-section-gap-mobile, var(--ui-page-section-gap))}}.content-area>section:not(.dashboard-ledger):not(.reference-page):not(.email-client-page):not(.pi-print-preview-shell):not(.workflow-inbox-page):not(.logs-page):not(.courier-list-page):not(.module-page-shell)>.page-header{margin-bottom:var(--ui-page-header-gap);min-height:36px}.content-area>section:not(.finance-page):not(.lead-capture-page):not(.dashboard-ledger):not(.reference-page):not(.email-client-page):not(.pi-print-preview-shell)>.toolbar.filter-toolbar+.table-shell,.content-area>section:not(.finance-page):not(.lead-capture-page):not(.dashboard-ledger):not(.reference-page):not(.email-client-page):not(.pi-print-preview-shell)>.toolbar-ledger.filter-toolbar+.table-shell{margin-top:0}.list-filter-toolbar{--filter-toolbar-action-gap: 8px;--filter-toolbar-column-gap: 10px;--filter-toolbar-field-height: 34px;--filter-toolbar-inline-label-width: 76px;--filter-toolbar-row-gap: 8px;background:var(--ui-card-bg);border:1px solid var(--ui-card-border);border-radius:var(--ui-card-radius);box-shadow:var(--ui-card-shadow);box-sizing:border-box;margin-bottom:var(--ui-page-section-gap);padding:8px 10px;width:100%}.module-page-body>.list-filter-toolbar{margin:0}.list-filter-toolbar-grid{align-items:center;display:grid;gap:var(--filter-toolbar-row-gap) var(--filter-toolbar-column-gap);grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.list-filter-toolbar-fields{display:contents}.list-filter-toolbar-field-slot,.list-filter-toolbar-placeholder,.list-filter-toolbar-actions{min-width:0}.list-filter-toolbar-placeholder{min-height:var(--filter-toolbar-field-height)}.list-filter-toolbar-actions{align-items:center;align-self:center;display:flex;gap:var(--filter-toolbar-action-gap);justify-content:flex-end;min-height:var(--filter-toolbar-field-height)}.list-filter-toolbar .field,.list-filter-toolbar label.field{align-items:center;display:grid;gap:6px;grid-template-columns:var(--filter-toolbar-inline-label-width) minmax(0,1fr);box-sizing:border-box;min-height:var(--filter-toolbar-field-height);min-width:0;width:100%}.list-filter-toolbar-field-slot>.field{height:100%}.list-filter-toolbar .field>.form-field-label,.list-filter-toolbar label.field>.form-field-label{color:var(--ui-text-muted);font-size:var(--ui-typo-field-label-size);font-weight:var(--ui-font-weight-emphasis);letter-spacing:0;line-height:1.3;max-width:var(--filter-toolbar-inline-label-width);min-width:var(--filter-toolbar-inline-label-width);overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;align-self:center;padding-block:1px}.list-filter-toolbar .form-helper-text,.list-filter-toolbar .form-field-error-text{display:none}.list-filter-toolbar input,.list-filter-toolbar select,.list-filter-toolbar textarea,.list-filter-toolbar .select-combo,.list-filter-toolbar .select-combo-input,.list-filter-toolbar .multi-select-control{color:var(--ui-text-strong);font-size:var(--ui-font-form-value);line-height:1.2;min-height:var(--filter-toolbar-field-height);padding:5px 10px;width:100%}.list-filter-toolbar .select-combo{align-items:center;display:flex;min-width:0;padding:0;position:relative}.list-filter-toolbar .select-combo-input{padding-right:28px}.list-filter-toolbar input[type=date]{min-width:0}.list-filter-toolbar input::placeholder,.list-filter-toolbar textarea::placeholder{color:var(--ui-text-placeholder);opacity:1}.list-filter-toolbar .action-button,.list-filter-toolbar .button{min-height:var(--filter-toolbar-field-height);white-space:nowrap}.list-filter-toolbar .query-filter-button{min-width:82px}.list-filter-toolbar .clear-filter-button{min-width:104px}.list-filter-toolbar--compact,.list-filter-toolbar--single-row,.list-filter-toolbar--two-row,.list-filter-toolbar--date-heavy,.list-filter-toolbar--dense-grid{--filter-toolbar-column-gap: 10px;--filter-toolbar-row-gap: 8px}@media (max-width: 1180px){.list-filter-toolbar-grid{grid-template-columns:repeat(auto-fit,minmax(176px,1fr))}.list-filter-toolbar-placeholder{display:none}.list-filter-toolbar-actions{justify-content:flex-start}}@media (max-width: 760px){.list-filter-toolbar-grid{grid-template-columns:1fr}.list-filter-toolbar .field,.list-filter-toolbar label.field{grid-template-columns:var(--filter-toolbar-inline-label-width) minmax(0,1fr)}}.list-filter-toolbar--fixed-5{--filter-toolbar-column-gap: 10px;--filter-toolbar-row-gap: 8px}.topbar-system-dock{align-items:center;background:var(--system-dock-bg);border:1px solid var(--system-dock-border);border-radius:999px;box-shadow:var(--system-dock-shadow);display:inline-flex;gap:2px;height:38px;margin-left:6px;padding:4px;position:relative;white-space:nowrap}.topbar-system-dock:before{background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.86),transparent 62%);border-radius:inherit;content:"";inset:1px 1px auto;height:16px;pointer-events:none;position:absolute}.topbar-system-button{align-items:center;border-radius:999px;color:var(--system-dock-text);display:inline-flex;font-size:var(--ui-font-size-sm-plus, 12.5px);font-weight:var(--ui-font-weight-heavy, 800);gap:6px;height:30px;justify-content:center;min-width:72px;padding:0 10px;position:relative;text-decoration:none;transition:background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease;z-index:1}.topbar-system-icon-shell{align-items:center;border-radius:999px;display:inline-flex;height:22px;justify-content:center;width:22px}.topbar-system-icon{height:17px;width:17px}.topbar-system-button:hover,.topbar-system-button:focus-visible{background:#ffffffa3;color:var(--system-dock-active-text);outline:0;text-decoration:none;transform:translateY(-1px)}.topbar-system-button.is-active{background:linear-gradient(135deg,var(--system-app-tab-active-bg-start),rgba(240,246,255,.82));color:var(--system-dock-active-text);box-shadow:inset 0 0 0 1px #ffffffc7,var(--system-dock-glow)}.topbar-system-button-chat.is-active{box-shadow:inset 0 0 0 1px #ffffffc7,0 0 22px #16b9d63d}.topbar-system-button-email.is-active{box-shadow:inset 0 0 0 1px #ffffffc7,0 0 22px #33a7e63d}.topbar-system-button-ai.is-active{box-shadow:inset 0 0 0 1px #ffffffc7,0 0 26px #6d5dfb47}.topbar-system-button.is-active:after{background:currentColor;border-radius:999px;bottom:-8px;content:"";height:4px;left:20px;opacity:.9;position:absolute;right:20px}.topbar-system-button-chat .topbar-system-icon-shell,.topbar-system-button-chat.is-active:after{color:var(--system-dock-chat)}.topbar-system-button-email .topbar-system-icon-shell,.topbar-system-button-email.is-active:after{color:var(--system-dock-email)}.topbar-system-button-ai .topbar-system-icon-shell,.topbar-system-button-ai.is-active:after{color:var(--system-dock-ai)}@media (max-width: 1180px){.topbar-system-button span{display:none}.topbar-system-button{min-width:36px;padding:0 9px}}@media (max-width: 760px){html,body,#root{max-width:100%;overflow-x:hidden}.mobile-work-shell{min-height:100dvh;max-width:100%;overflow-x:clip}.mobile-work-shell .mobile-work-topbar{grid-template-columns:auto minmax(0,1fr) auto}.mobile-work-shell .mobile-work-topbar-organization{min-width:0}.mobile-work-shell .mobile-work-topbar .topbar-organization-cluster{flex:1 1 auto;min-width:0;width:100%}.mobile-work-shell .mobile-work-topbar .topbar-organization-control{max-width:100%;min-width:0}.mobile-work-shell .mobile-work-topbar .topbar-organization-select,.mobile-work-shell .mobile-work-topbar .topbar-organization-name{max-width:100%}.mobile-work-shell .app-main,.mobile-work-shell .content-area,.mobile-work-shell .content-area>section,.mobile-work-shell .status-panel,.mobile-work-shell .module-card,.mobile-work-shell .form-card,.mobile-work-shell .table-shell,.mobile-work-shell .compact-table-shell{box-sizing:border-box;max-width:100%;min-width:0}.mobile-work-shell .content-area{padding:var(--mobile-work-page-block-padding) var(--mobile-work-page-inline-padding) var(--mobile-work-safe-bottom)}.mobile-work-shell .content-area>section:not(.module-page-shell){display:block;width:100%}.mobile-work-shell .content-area>.module-page-shell,.mobile-work-shell .module-page-shell,.mobile-work-shell .module-page-body{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--mobile-work-section-gap);max-width:100%;min-width:0;width:100%}.mobile-work-shell .page-header,.mobile-work-shell .section-heading{min-width:0}.mobile-work-shell .page-header-with-actions,.mobile-work-shell .page-header-with-center,.mobile-work-shell .section-heading,.mobile-work-shell .table-panel-head,.mobile-work-shell .ui-shell-header{align-items:stretch;flex-direction:column;gap:8px}.mobile-work-shell .page-header h1,.mobile-work-shell .page-header-text h1,.mobile-work-shell .section-heading h2,.mobile-work-shell .table-panel-title{max-width:100%;min-width:0;overflow-wrap:anywhere}.mobile-work-shell .page-header-actions,.mobile-work-shell .detail-actions,.mobile-work-shell .table-panel-actions,.mobile-work-shell .form-actions,.mobile-work-shell .modal-actions,.mobile-work-shell .action-button-group{align-items:stretch;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-left:0;max-width:100%;min-width:0;width:100%}.mobile-work-shell .page-header-actions .button,.mobile-work-shell .detail-actions .button,.mobile-work-shell .table-panel-actions .button,.mobile-work-shell .form-actions .button,.mobile-work-shell .modal-actions .button,.mobile-work-shell .action-button-group .button{flex:1 1 148px;min-height:var(--mobile-work-touch-target);min-width:0;white-space:normal}.mobile-work-shell .toolbar:not(.filter-toolbar),.mobile-work-shell .list-filter-toolbar{display:grid;gap:10px;grid-template-columns:1fr;margin-bottom:var(--mobile-work-section-gap);max-width:100%;min-width:0;padding:10px;width:100%}.mobile-work-shell .toolbar:not(.filter-toolbar) .field,.mobile-work-shell .list-filter-toolbar .field{min-width:0;width:100%}.mobile-work-shell .query-filter-button,.mobile-work-shell .clear-filter-button,.mobile-work-shell .list-filter-toolbar .button{min-height:var(--mobile-work-touch-target);width:100%}.mobile-work-shell .form-grid,.mobile-work-shell .form-grid.two-columns,.mobile-work-shell .form-card.form-stack{grid-template-columns:minmax(0,1fr)}.mobile-work-shell .field,.mobile-work-shell .select-field,.mobile-work-shell .multi-select-field,.mobile-work-shell .select-combo,.mobile-work-shell .multi-select-control,.mobile-work-shell .readonly-field,.mobile-work-shell input,.mobile-work-shell select,.mobile-work-shell textarea,.mobile-work-shell .select-combo-input{max-width:100%;min-width:0}.mobile-work-shell .definition-grid,.mobile-work-shell .compact-definition-grid,.mobile-work-shell .related-modal-definition-grid.definition-grid{grid-template-columns:minmax(0,1fr)}.mobile-work-shell .definition-grid dd,.mobile-work-shell .related-modal-definition-grid.definition-grid dd{overflow-wrap:anywhere}.mobile-work-shell .table-shell,.mobile-work-shell .compact-table-shell,.mobile-work-shell .related-modal-table-wrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;width:100%}.mobile-work-shell .table-shell table,.mobile-work-shell .compact-table-shell table,.mobile-work-shell .related-modal-table{width:max-content;min-width:100%}.mobile-work-shell .table-panel-actions{justify-content:stretch}.mobile-work-shell .module-view-switch{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.mobile-work-shell .ui-modal-backdrop{padding:12px}.mobile-work-shell .ui-shell-card,.mobile-work-shell .ui-modal-shell,.mobile-work-shell .ui-drawer-shell,.mobile-work-shell .compact-related-modal{border-radius:12px;max-height:calc(100dvh - 24px);max-width:100%;min-width:0;width:100%}.mobile-work-shell .ui-drawer-shell{max-height:100dvh;min-height:100dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}.mobile-work-shell .mobile-navigation-drawer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.mobile-work-shell img,.mobile-work-shell video,.mobile-work-shell canvas,.mobile-work-shell svg{max-width:100%}}@media (max-width: 760px){.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true]{background:transparent;border:0;box-shadow:none;box-sizing:border-box;max-width:100%;min-width:0;overflow:visible;width:100%}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .table-panel-head{background:var(--mobile-work-surface-card);border:1px solid var(--mobile-work-border);border-radius:14px;box-shadow:var(--ui-card-shadow);margin-bottom:10px}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table-scroll{box-sizing:border-box;max-width:100%;min-width:0;overflow:visible;width:100%}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table thead,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table tbody,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table tr,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td{display:block;width:100%}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table{border-collapse:separate;box-sizing:border-box;max-width:100%;min-width:0;table-layout:auto}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table thead{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table tbody{display:grid;gap:10px}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table tr[data-mobile-card-row=true]{background:var(--mobile-work-surface-card);border:1px solid var(--mobile-work-border);border-radius:14px;box-shadow:var(--ui-card-shadow);display:grid;gap:0;overflow:hidden}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table th,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td{box-shadow:none;box-sizing:border-box;left:auto;max-width:100%;min-width:0;overflow-wrap:anywhere;position:static;right:auto;table-layout:auto;width:100%;z-index:auto}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td{align-items:start;border-bottom:1px solid var(--mobile-work-row-border);display:grid;gap:7px;grid-template-columns:var(--mobile-work-card-label-width) minmax(0,1fr);min-height:0;padding:10px 13px;text-align:left;width:100%}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td:before{color:var(--mobile-work-label-text);content:attr(data-mobile-label);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-heavy);line-height:1.35;min-width:0}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td[data-mobile-label=""]{grid-template-columns:minmax(0,1fr)}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td[data-mobile-label=""]:before{display:none}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.data-table-span-cell{display:block;grid-template-columns:minmax(0,1fr)}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table tr[data-mobile-empty-row=true]{display:block}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell{grid-template-columns:minmax(0,1fr)}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell:before,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell:before{display:none}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell{background:var(--mobile-work-card-primary-bg);color:var(--mobile-work-card-title-text);font-size:var(--ui-font-size-base);font-weight:var(--ui-font-weight-heavy);justify-items:center;padding:13px 15px 10px;text-align:center}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell{color:var(--mobile-work-card-title-text);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-heavy);line-height:1.45;padding:11px 15px;text-align:center}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td:last-child{border-bottom:0}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-action-cell .row-actions,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-action-cell .action-button-group{justify-content:flex-start}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-variant=definition] .data-table td{align-items:start;grid-template-columns:var(--mobile-work-related-label-width) minmax(0,1fr);padding:9px 11px;text-align:left}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-variant=definition] .data-table td:before{display:block}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .related-record-card .table-shell[data-mobile-card-mode=true] .data-table td,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .subtable-card .table-shell[data-mobile-card-mode=true] .data-table td{align-items:start;grid-template-columns:var(--mobile-work-related-label-width) minmax(0,1fr);padding:9px 11px;text-align:left}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .related-record-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .related-record-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .subtable-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .subtable-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell{background:transparent;color:inherit;font-size:inherit;font-weight:inherit;grid-template-columns:var(--mobile-work-related-label-width) minmax(0,1fr);justify-items:stretch;padding:9px 11px;text-align:left}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .related-record-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell:before,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .related-record-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell:before,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .subtable-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-primary-cell:before,.mobile-work-shell .content-area[data-mobile-work-priority=primary] .subtable-card .table-shell[data-mobile-card-mode=true] .data-table td.mobile-card-secondary-cell:before{display:block}.mobile-work-shell .content-area[data-mobile-work-priority=primary] .table-shell[data-mobile-card-mode=true] .data-table-empty-cell{background:var(--mobile-work-surface-card);border:1px solid var(--mobile-work-border);border-radius:14px;display:block;padding:18px 12px}}@media (max-width: 760px){.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-card,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] form.form-stack,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .status-panel,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .ledger-panel,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .module-card,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-record-card{box-sizing:border-box;max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-card,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .status-panel,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .ledger-panel,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .module-card,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-record-card{border-radius:14px;padding:var(--mobile-work-card-padding)}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-card.form-stack,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] form.form-stack,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-grid.two-columns,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-section-grid{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-card.form-stack>*,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-grid>*{grid-column:1 / -1;min-width:0}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .readonly-field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .select-field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .multi-select-field,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .select-combo,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .multi-select-control{box-sizing:border-box;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .field input,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .field select,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .field textarea,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .select-combo-input,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .readonly-field strong{box-sizing:border-box;min-height:var(--mobile-work-touch-target);min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] textarea{min-height:96px}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .inline-fields,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .child-table-actions,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-records-panel__header{align-items:stretch;flex-direction:column;gap:8px;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-actions,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-actions{align-items:stretch;display:flex;flex-direction:column;gap:8px;justify-content:flex-start;margin-left:0;max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .form-actions .button,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-actions .button{flex:1 1 auto;min-height:var(--mobile-work-touch-target);width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-page-shell,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-page-shell--standard,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-page-shell--twoColumn,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-records-panel__grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-records-grid{display:grid;gap:var(--mobile-work-section-gap);grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .definition-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .compact-definition-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-modal-definition-grid.definition-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-grid,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-grid--source-owned{display:grid;gap:6px;grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0;width:100%}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .definition-grid dt,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .compact-definition-grid dt,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-modal-definition-grid.definition-grid dt,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-grid--source-owned dt{align-items:center;border-radius:10px;display:flex;margin:0;min-height:0;padding:7px 9px 3px}.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .definition-grid dd,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .compact-definition-grid dd,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .related-modal-definition-grid.definition-grid dd,.mobile-work-shell .content-area[data-mobile-form-detail-contract=mobile-work-single-column] .detail-grid--source-owned dd{border-bottom:1px solid var(--mobile-work-detail-divider);margin:0;min-height:32px;overflow-wrap:anywhere;padding:0 9px 9px}}@media (max-width: 760px){.mobile-work-shell[data-mobile-interaction-contract=mobile-work-safe-area-keyboard]{min-height:var(--mobile-work-visual-height, 100dvh);overscroll-behavior-y:contain;-webkit-text-size-adjust:100%}.mobile-work-shell[data-mobile-interaction-contract=mobile-work-safe-area-keyboard] .app-body,.mobile-work-shell[data-mobile-interaction-contract=mobile-work-safe-area-keyboard] .app-body.sidebar-collapsed{min-height:calc(var(--mobile-work-visual-height, 100dvh) - 56px)}.mobile-work-shell[data-mobile-interaction-contract=mobile-work-safe-area-keyboard] .content-area[data-mobile-bottom-interaction-contract=mobile-work-safe-area-keyboard]{padding-bottom:calc(var(--mobile-work-safe-bottom) + var(--mobile-work-keyboard-gap, 0px));scroll-padding-bottom:var(--mobile-work-keyboard-clearance);-webkit-overflow-scrolling:touch}.mobile-work-shell[data-mobile-interaction-contract=mobile-work-safe-area-keyboard][data-mobile-keyboard-state=open] .content-area[data-mobile-bottom-interaction-contract=mobile-work-safe-area-keyboard]{padding-bottom:calc(var(--mobile-work-safe-bottom) + var(--mobile-work-keyboard-gap, 0px) + 16px)}.mobile-work-shell input,.mobile-work-shell select,.mobile-work-shell textarea,.mobile-work-shell button,.mobile-work-shell .select-combo-input{scroll-margin-bottom:var(--mobile-work-keyboard-clearance);touch-action:manipulation}.mobile-work-shell input,.mobile-work-shell select,.mobile-work-shell textarea,.mobile-work-shell .select-combo-input{font-size:16px}.mobile-work-shell .form-actions,.mobile-work-shell .detail-actions{background:var(--mobile-work-sticky-bg);border:1px solid var(--mobile-work-sticky-border);border-radius:16px;bottom:var(--mobile-work-sticky-action-bottom);box-shadow:var(--mobile-work-sticky-shadow);box-sizing:border-box;margin-top:12px;padding:10px;position:sticky;z-index:24}.mobile-work-shell .form-actions .button,.mobile-work-shell .detail-actions .button,.mobile-work-shell .form-actions button,.mobile-work-shell .detail-actions button{min-height:44px}.mobile-work-shell .ui-shell-backdrop,.mobile-work-shell .ui-modal-backdrop,.mobile-work-shell .ui-drawer-backdrop,.mobile-work-shell .mobile-navigation-backdrop{height:var(--mobile-work-visual-height, 100dvh);max-height:var(--mobile-work-visual-height, 100dvh);overscroll-behavior:contain}.mobile-work-shell .ui-modal-backdrop{align-items:flex-start;overflow:hidden;padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.mobile-work-shell .ui-shell-card,.mobile-work-shell .ui-modal-shell,.mobile-work-shell .compact-related-modal{max-height:calc(var(--mobile-work-visual-height, 100dvh) - 24px)}.mobile-work-shell .ui-drawer-shell,.mobile-work-shell .mobile-navigation-drawer{height:var(--mobile-work-visual-height, 100dvh);max-height:var(--mobile-work-visual-height, 100dvh);min-height:var(--mobile-work-visual-height, 100dvh)}.mobile-work-shell .ui-shell-body,.mobile-work-shell .mobile-navigation-list{overscroll-behavior:contain;scroll-padding-bottom:var(--mobile-work-keyboard-clearance);-webkit-overflow-scrolling:touch}.mobile-work-shell .ui-shell-footer{background:var(--mobile-work-shell-footer-bg);padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.mobile-work-shell .mobile-navigation-drawer{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.mobile-work-shell .select-combo-menu,.mobile-work-shell .multi-select-menu,.mobile-work-shell .column-chooser-popover,.mobile-work-shell .topbar-account-menu,.mobile-work-shell .topbar-select-control__menu{max-height:min(340px,calc(var(--mobile-work-visual-height, 100dvh) - var(--mobile-work-keyboard-gap, 0px) - 120px));overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.mobile-work-shell .table-panel-actions,.mobile-work-shell .row-actions,.mobile-work-shell .action-button-group{scroll-margin-bottom:var(--mobile-work-keyboard-clearance)}.mobile-work-shell .stored-file-field,.mobile-work-shell .camera-input-row,.mobile-work-shell .attachment-list{max-width:100%;min-width:0;overflow-wrap:anywhere}}@media (max-width: 760px){.mobile-work-shell .child-table-row-modal{max-height:calc(100dvh - 24px);overflow:hidden}.mobile-work-shell .child-table-row-modal-body{max-height:calc(100dvh - 138px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}}
