:root{--color-background: #fafbff;--color-foreground: #1e293b;--color-card: #ffffff;--color-card-foreground: #1e293b;--color-primary: #2563eb;--color-primary-hover: #1d4ed8;--color-primary-active: #1e40af;--color-primary-foreground: #ffffff;--color-primary-outline: rgba(37, 99, 235, .1);--color-success: #16a34a;--color-success-hover: #15803d;--color-success-foreground: #ffffff;--color-warning: #ca8a04;--color-warning-hover: #a16207;--color-warning-foreground: #ffffff;--color-error: #dc2626;--color-error-hover: #b91c1c;--color-error-foreground: #ffffff;--color-info: #0ea5e9;--color-info-hover: #0284c7;--color-info-foreground: #ffffff;--color-text: #1e293b;--color-text-secondary: #64748b;--color-text-disabled: #94a3b8;--color-text-inverse: #ffffff;--color-bg: #ffffff;--color-bg-secondary: #f8fafc;--color-bg-tertiary: #f1f5f9;--color-border: #e2e8f0;--color-border-secondary: #f1f5f9;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1);--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;--font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;--font-size-xs: .75rem;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-size-3xl: 1.875rem;--font-size-4xl: 2.25rem;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--line-height-tight: 1.25;--line-height-normal: 1.5;--line-height-relaxed: 1.75;--spacing-0: 0;--spacing-1: .25rem;--spacing-2: .5rem;--spacing-3: .75rem;--spacing-4: 1rem;--spacing-5: 1.25rem;--spacing-6: 1.5rem;--spacing-8: 2rem;--spacing-10: 2.5rem;--spacing-12: 3rem;--spacing-16: 4rem;--spacing-20: 5rem;--radius-none: 0;--radius-sm: .25rem;--radius-base: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-2xl: 1.5rem;--radius-full: 9999px;--duration-fast: .15s;--duration-normal: .3s;--duration-slow: .5s;--ease-linear: linear;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--breakpoint-sm: 640px;--breakpoint-md: 768px;--breakpoint-lg: 1024px;--breakpoint-xl: 1280px;--breakpoint-2xl: 1536px;--z-dropdown: 1000;--z-sticky: 1020;--z-fixed: 1030;--z-modal-backdrop: 1040;--z-modal: 1050;--z-popover: 1060;--z-tooltip: 1070;--z-toast: 1080}[data-theme=dark]{--color-background: #0f172a;--color-foreground: #f8fafc;--color-card: #1e293b;--color-card-foreground: #f8fafc;--color-primary: #3b82f6;--color-primary-hover: #2563eb;--color-primary-active: #1d4ed8;--color-primary-foreground: #ffffff;--color-primary-outline: rgba(59, 130, 246, .1);--color-success: #22c55e;--color-success-hover: #16a34a;--color-success-foreground: #ffffff;--color-warning: #eab308;--color-warning-hover: #ca8a04;--color-warning-foreground: #ffffff;--color-error: #ef4444;--color-error-hover: #dc2626;--color-error-foreground: #ffffff;--color-info: #06b6d4;--color-info-hover: #0891b2;--color-info-foreground: #ffffff;--color-text: #f8fafc;--color-text-secondary: #cbd5e1;--color-text-disabled: #94a3b8;--color-text-inverse: #1e293b;--color-bg: #1e293b;--color-bg-secondary: #334155;--color-bg-tertiary: #475569;--color-border: #475569;--color-border-secondary: #334155;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .3);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .3)}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-6);padding-bottom:var(--spacing-4);border-bottom:1px solid var(--color-border)}.page-title{margin:0;color:var(--color-text);font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold);line-height:var(--line-height-tight)}.page-subtitle{margin:0;color:var(--color-text-secondary);font-size:var(--font-size-lg);font-weight:var(--font-weight-normal)}.dashboard-page{animation:fadeIn .3s ease-out}.dashboard-header,.stats-row{margin-bottom:var(--spacing-8)}.stat-card{text-align:center;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);transition:all var(--duration-fast) var(--ease-in-out)}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-suffix{display:flex;align-items:center;gap:var(--spacing-1);margin-left:var(--spacing-2)}.suffix-value{font-size:var(--font-size-sm);color:var(--color-text-secondary)}.main-content-row{margin-bottom:var(--spacing-8)}.usage-card,.status-card{height:100%}.usage-list{display:flex;flex-direction:column;gap:var(--spacing-4)}.usage-item{display:flex;flex-direction:column;gap:var(--spacing-2)}.usage-info{display:flex;justify-content:space-between;align-items:center}.device-name{font-weight:var(--font-weight-medium);color:var(--color-text)}.usage-percentage{font-weight:var(--font-weight-semibold);color:var(--color-primary)}.usage-progress{margin:0}.status-list{display:flex;flex-direction:column;gap:var(--spacing-3)}.status-item{display:flex;justify-content:space-between;align-items:center;padding:var(--spacing-2) 0}.status-label{font-weight:var(--font-weight-medium);color:var(--color-text)}.activity-row{margin-bottom:var(--spacing-6)}.activity-card{height:100%}.activity-table{margin-top:var(--spacing-4)}.patients-page,.devices-page,.doctors-page,.hospitals-page,.messages-page,.settings-page{animation:fadeIn .3s ease-out}.not-found-page{display:flex;align-items:center;justify-content:center;min-height:60vh;animation:fadeIn .3s ease-out}@media (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start;gap:var(--spacing-4)}.page-title{font-size:var(--font-size-2xl)}.page-subtitle{font-size:var(--font-size-base)}.stats-row,.main-content-row{margin-bottom:var(--spacing-6)}.activity-row{margin-bottom:var(--spacing-4)}}@media (max-width: 480px){.page-title{font-size:var(--font-size-xl)}.page-subtitle{font-size:var(--font-size-sm)}.stats-row,.main-content-row{margin-bottom:var(--spacing-4)}}[data-theme=dark] .page-header{border-bottom-color:var(--color-border)}[data-theme=dark] .page-title{color:var(--color-text)}[data-theme=dark] .page-subtitle{color:var(--color-text-secondary)}[data-theme=dark] .device-name,[data-theme=dark] .status-label{color:var(--color-text)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.page-loading{opacity:.7;pointer-events:none}.page-header:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}@media print{.page-header{border-bottom:none;margin-bottom:var(--spacing-4)}.stat-card,.usage-card,.status-card,.activity-card{box-shadow:none;border:1px solid var(--color-border)}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;scroll-behavior:smooth}body{font-family:var(--font-family);font-size:var(--font-size-base);line-height:var(--line-height-normal);font-weight:var(--font-weight-normal);color:var(--color-text);background-color:var(--color-background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}a{color:var(--color-primary);text-decoration:none;transition:color var(--duration-fast) var(--ease-in-out)}a:hover{color:var(--color-primary-hover)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--color-bg-secondary);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:var(--radius-sm);transition:background var(--duration-fast) var(--ease-in-out)}::-webkit-scrollbar-thumb:hover{background:var(--color-text-secondary)}::selection{background-color:var(--color-primary);color:var(--color-primary-foreground)}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .ant-message-notice-content{color:#fff!important;background-color:#374151!important;border-radius:6px!important}[data-theme=dark] .ant-picker{background:transparent!important;background-color:transparent!important}[data-theme=dark] .ant-picker .ant-picker-input{background:transparent!important;background-color:transparent!important;color:var(--color-text, #f1f5f9)}[data-theme=dark] .ant-select{color:var(--color-text, #f1f5f9)}[data-theme=dark] .ant-select-selector{background-color:var(--color-card, #1e293b)!important;border-color:var(--color-border, #334155)!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-dropdown{background-color:var(--color-card, #1e293b)!important;border-color:var(--color-border, #334155)!important;box-shadow:0 6px 16px #0006!important}[data-theme=dark] .ant-select-item{color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-item:hover{background-color:var(--color-border, #334155)!important}[data-theme=dark] .ant-select-item-option-selected{background-color:var(--color-primary, #3b82f6)!important;color:#fff!important}[data-theme=dark] .ant-select-item-option-active{background-color:var(--color-border, #334155)!important}[data-theme=dark] .ant-select-arrow{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-select-clear{background-color:var(--color-text-secondary, #94a3b8)!important;color:var(--color-card, #1e293b)!important}[data-theme=dark] .ant-form-item-explain-error{color:var(--color-error, #ef4444)!important}[data-theme=dark] .ant-input{background-color:var(--color-card, #1e293b)!important;border-color:var(--color-border, #334155)!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-input::placeholder{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-input:hover{border-color:var(--color-primary, #3b82f6)!important}[data-theme=dark] .ant-input:focus{border-color:var(--color-primary, #3b82f6)!important;box-shadow:0 0 0 2px #3b82f633!important}[data-theme=dark] .ant-input-disabled{background-color:var(--color-border, #334155)!important;color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-input::selection{background-color:var(--color-primary, #3b82f6)!important;color:#fff!important}[data-theme=dark] .ant-input::-moz-selection{background-color:var(--color-primary, #3b82f6)!important;color:#fff!important}[data-theme=dark] .ant-input,[data-theme=dark] .ant-input *{background-color:var(--color-card, #1e293b)!important}[data-theme=dark] .ant-input .ant-input-clear{background-color:var(--color-text-secondary, #94a3b8)!important;color:var(--color-card, #1e293b)!important}[data-theme=dark] .ant-select-selection-placeholder{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-select-selection-item,[data-theme=dark] .ant-select-selection-search-input{color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-selection-item{background-color:transparent!important}[data-theme=dark] .ant-select-selector .ant-select-selection-item{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-selector .ant-select-selection-placeholder{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-select-selection-item{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-selection-item .ant-select-selection-item-remove{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-select-selection-item .ant-select-selection-item-remove:hover{color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select-selection-search-input{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:var(--color-primary, #3b82f6)!important}[data-theme=dark] .ant-select-focused .ant-select-selector{border-color:var(--color-primary, #3b82f6)!important;box-shadow:0 0 0 2px #3b82f633!important}[data-theme=dark] .ant-select .ant-select-selector{border-color:var(--color-border, #334155)!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-item{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-placeholder{color:var(--color-text-secondary, #94a3b8)!important}[data-theme=dark] .ant-select-multiple .ant-select-selector .ant-select-selection-item{background-color:var(--color-border, #334155)!important;color:var(--color-text, #f1f5f9)!important;border-color:var(--color-border, #334155)!important}[data-theme=dark] .ant-select-multiple .ant-select-selector .ant-select-selection-item:hover{background-color:var(--color-primary, #3b82f6)!important;border-color:var(--color-primary, #3b82f6)!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-item,[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-item *{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-search{background-color:transparent!important}[data-theme=dark] .ant-select .ant-select-selector .ant-select-selection-search-input{background-color:transparent!important;color:var(--color-text, #f1f5f9)!important}.app{min-height:100vh;display:flex;flex-direction:column}.container{width:100%;max-width:var(--breakpoint-2xl);margin:0 auto;padding:0 var(--spacing-4)}@media (min-width: 640px){.container{padding:0 var(--spacing-6)}}@media (min-width: 1024px){.container{padding:0 var(--spacing-8)}}.page-enter{opacity:0;transform:translateY(20px)}.page-enter-active{opacity:1;transform:translateY(0);transition:opacity var(--duration-normal) var(--ease-out),transform var(--duration-normal) var(--ease-out)}.page-exit{opacity:1;transform:translateY(0)}.page-exit-active{opacity:0;transform:translateY(-20px);transition:opacity var(--duration-normal) var(--ease-in),transform var(--duration-normal) var(--ease-in)}.loading{opacity:.6;pointer-events:none;transition:opacity var(--duration-fast) var(--ease-in-out)}.loaded{opacity:1;transition:opacity var(--duration-normal) var(--ease-in-out)}.status{padding:var(--spacing-2) var(--spacing-3);border-radius:var(--radius-base);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);border:1px solid}.status.success{color:var(--color-success);background-color:var(--color-success);color:var(--color-success-foreground);border-color:var(--color-success)}.status.warning{color:var(--color-warning);background-color:var(--color-warning);color:var(--color-warning-foreground);border-color:var(--color-warning)}.status.error{color:var(--color-error);background-color:var(--color-error);color:var(--color-error-foreground);border-color:var(--color-error)}.status.info{color:var(--color-info);background-color:var(--color-info);color:var(--color-info-foreground);border-color:var(--color-info)}.logo-brand-main{font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.logo-brand-sub{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-text-secondary);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}[data-theme=dark] .logo-brand-main{color:var(--color-primary)}[data-theme=dark] .logo-brand-sub{color:var(--color-text-tertiary)}@media (max-width: 1400px){.logo-brand-main{font-size:calc(var(--font-size-lg) - 1px)}.logo-brand-sub{font-size:calc(var(--font-size-sm) - 1px)}}@media (max-width: 1200px){.logo-brand-main{font-size:var(--font-size-base)}.logo-brand-sub{font-size:var(--font-size-xs)}}@media (max-width: 1000px){.logo-brand-main{font-size:calc(var(--font-size-base) - 1px)}.logo-brand-sub{font-size:calc(var(--font-size-xs) - 1px)}}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-light{font-weight:var(--font-weight-light)}.font-normal{font-weight:var(--font-weight-normal)}.font-medium{font-weight:var(--font-weight-medium)}.font-semibold{font-weight:var(--font-weight-semibold)}.font-bold{font-weight:var(--font-weight-bold)}.text-xs{font-size:var(--font-size-xs)}.text-sm{font-size:var(--font-size-sm)}.text-base{font-size:var(--font-size-base)}.text-lg{font-size:var(--font-size-lg)}.text-xl{font-size:var(--font-size-xl)}.text-2xl{font-size:var(--font-size-2xl)}.text-3xl{font-size:var(--font-size-3xl)}.text-4xl{font-size:var(--font-size-4xl)}.m-0{margin:var(--spacing-0)}.m-1{margin:var(--spacing-1)}.m-2{margin:var(--spacing-2)}.m-3{margin:var(--spacing-3)}.m-4{margin:var(--spacing-4)}.m-5{margin:var(--spacing-5)}.m-6{margin:var(--spacing-6)}.m-8{margin:var(--spacing-8)}.m-10{margin:var(--spacing-10)}.m-12{margin:var(--spacing-12)}.mt-0{margin-top:var(--spacing-0)}.mt-1{margin-top:var(--spacing-1)}.mt-2{margin-top:var(--spacing-2)}.mt-3{margin-top:var(--spacing-3)}.mt-4{margin-top:var(--spacing-4)}.mt-5{margin-top:var(--spacing-5)}.mt-6{margin-top:var(--spacing-6)}.mt-8{margin-top:var(--spacing-8)}.mt-10{margin-top:var(--spacing-10)}.mt-12{margin-top:var(--spacing-12)}.mb-0{margin-bottom:var(--spacing-0)}.mb-1{margin-bottom:var(--spacing-1)}.mb-2{margin-bottom:var(--spacing-2)}.mb-3{margin-bottom:var(--spacing-3)}.mb-4{margin-bottom:var(--spacing-4)}.mb-5{margin-bottom:var(--spacing-5)}.mb-6{margin-bottom:var(--spacing-6)}.mb-8{margin-bottom:var(--spacing-8)}.mb-10{margin-bottom:var(--spacing-10)}.mb-12{margin-bottom:var(--spacing-12)}.p-0{padding:var(--spacing-0)}.p-1{padding:var(--spacing-1)}.p-2{padding:var(--spacing-2)}.p-3{padding:var(--spacing-3)}.p-4{padding:var(--spacing-4)}.p-5{padding:var(--spacing-5)}.p-6{padding:var(--spacing-6)}.p-8{padding:var(--spacing-8)}.p-10{padding:var(--spacing-10)}.p-12{padding:var(--spacing-12)}.hidden{display:none!important}.block{display:block!important}.inline{display:inline!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}@media (min-width: 640px){.sm\:hidden{display:none!important}.sm\:block{display:block!important}.sm\:flex{display:flex!important}}@media (min-width: 768px){.md\:hidden{display:none!important}.md\:block{display:block!important}.md\:flex{display:flex!important}}@media (min-width: 1024px){.lg\:hidden{display:none!important}.lg\:block{display:block!important}.lg\:flex{display:flex!important}}@media (min-width: 1280px){.xl\:hidden{display:none!important}.xl\:block{display:block!important}.xl\:flex{display:flex!important}}.language-switcher{display:flex;align-items:center;gap:8px;padding:0 16px}.language-icon{color:var(--color-text-secondary, #6b7280);font-size:16px}.language-switcher .ant-select{min-width:80px}.language-switcher .ant-select-selector{border:none!important;background:transparent!important;box-shadow:none!important}.language-switcher .ant-select-focused .ant-select-selector{border:none!important;box-shadow:none!important}.custom-button{border-radius:var(--radius-base);font-weight:var(--font-weight-medium);transition:all var(--duration-fast) var(--ease-in-out);border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:var(--spacing-2);cursor:pointer;font-family:var(--font-family)}.custom-button--small{height:32px;padding:0 var(--spacing-3);font-size:var(--font-size-sm)}.custom-button--middle{height:40px;padding:0 var(--spacing-4);font-size:var(--font-size-base)}.custom-button--large{height:48px;padding:0 var(--spacing-6);font-size:var(--font-size-lg)}.custom-button--primary{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-foreground)}.custom-button--primary:hover{background-color:var(--color-primary-hover);border-color:var(--color-primary-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}.custom-button--primary:active{background-color:var(--color-primary-active);border-color:var(--color-primary-active);transform:translateY(0)}.custom-button--secondary{background-color:var(--color-bg-secondary);border-color:var(--color-border);color:var(--color-text)}.custom-button--secondary:hover{background-color:var(--color-bg-tertiary);border-color:var(--color-text-secondary);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.custom-button--outline{background-color:transparent;border-color:var(--color-primary);color:var(--color-primary)}.custom-button--outline:hover{background-color:var(--color-primary);color:var(--color-primary-foreground);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.custom-button--ghost{background-color:transparent;border-color:transparent;color:var(--color-text)}.custom-button--ghost:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.custom-button--danger{background-color:var(--color-error);border-color:var(--color-error);color:var(--color-error-foreground)}.custom-button--danger:hover{background-color:var(--color-error-hover);border-color:var(--color-error-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}.custom-button--success{background-color:var(--color-success);border-color:var(--color-success);color:var(--color-success-foreground)}.custom-button--success:hover{background-color:var(--color-success-hover);border-color:var(--color-success-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}.custom-button--warning{background-color:var(--color-warning);border-color:var(--color-warning);color:var(--color-warning-foreground)}.custom-button--warning:hover{background-color:var(--color-warning-hover);border-color:var(--color-warning-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}.custom-button:disabled,.custom-button[disabled]{opacity:.6;cursor:not-allowed;pointer-events:none}.custom-button:disabled,.custom-button[disabled]{color:var(--color-text-disabled)!important}.custom-button--primary:disabled,.custom-button--primary[disabled],.ant-btn.custom-button--primary:disabled,.ant-btn-primary.custom-button--primary:disabled{background-color:var(--color-bg-tertiary)!important;border-color:var(--color-border)!important;color:var(--color-text-disabled)!important;box-shadow:none!important;filter:none!important}[data-theme=dark] .custom-button:disabled,[data-theme=dark] .custom-button[disabled]{color:var(--color-text-disabled)!important}[data-theme=dark] .custom-button--primary:disabled,[data-theme=dark] .custom-button--primary[disabled],[data-theme=dark] .ant-btn.custom-button--primary:disabled,[data-theme=dark] .ant-btn-primary.custom-button--primary:disabled{background-color:#475569!important;border-color:#64748b!important;color:#cbd5e1!important;box-shadow:none!important;filter:none!important;opacity:.8!important}.custom-button--primary,.custom-button--primary.ant-btn,.custom-button--primary.ant-btn-primary,.ant-btn.custom-button--primary,.ant-btn-primary.custom-button--primary{box-shadow:0 2px 8px #3b82f64d!important;filter:drop-shadow(0 1px 4px rgba(59,130,246,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--secondary,.custom-button--secondary.ant-btn,.custom-button--secondary.ant-btn-default,.ant-btn.custom-button--secondary,.ant-btn-default.custom-button--secondary{box-shadow:0 2px 8px #6b72804d!important;filter:drop-shadow(0 1px 4px rgba(107,114,128,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--outline,.custom-button--outline.ant-btn,.custom-button--outline.ant-btn-default,.ant-btn.custom-button--outline,.ant-btn-default.custom-button--outline{box-shadow:0 2px 8px #3b82f64d!important;filter:drop-shadow(0 1px 4px rgba(59,130,246,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--ghost,.custom-button--ghost.ant-btn,.custom-button--ghost.ant-btn-text,.ant-btn.custom-button--ghost,.ant-btn-text.custom-button--ghost{box-shadow:0 2px 8px #3b82f633!important;filter:drop-shadow(0 1px 4px rgba(59,130,246,.3))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--danger,.custom-button--danger.ant-btn,.custom-button--danger.ant-btn-primary,.ant-btn.custom-button--danger,.ant-btn-primary.custom-button--danger{box-shadow:0 2px 8px #ef44444d!important;filter:drop-shadow(0 1px 4px rgba(239,68,68,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--success,.custom-button--success.ant-btn,.custom-button--success.ant-btn-primary,.ant-btn.custom-button--success,.ant-btn-primary.custom-button--success{box-shadow:0 2px 8px #22c55e4d!important;filter:drop-shadow(0 1px 4px rgba(34,197,94,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button--warning,.custom-button--warning.ant-btn,.custom-button--warning.ant-btn-primary,.ant-btn.custom-button--warning,.ant-btn-primary.custom-button--warning{box-shadow:0 2px 8px #f59e0b4d!important;filter:drop-shadow(0 1px 4px rgba(245,158,11,.4))!important;border:1px solid #d1d5db!important;border-color:#d1d5db!important}.custom-button,.custom-button.ant-btn,.custom-button.ant-btn-primary,.custom-button.ant-btn-default,.custom-button.ant-btn-text,.ant-btn.custom-button,.ant-btn-primary.custom-button,.ant-btn-default.custom-button,.ant-btn-text.custom-button{box-shadow:none!important;filter:none!important}.custom-button:hover,.custom-button.ant-btn:hover,.custom-button.ant-btn-primary:hover,.custom-button.ant-btn-default:hover,.custom-button.ant-btn-text:hover,.ant-btn.custom-button:hover,.ant-btn-primary.custom-button:hover,.ant-btn-default.custom-button:hover,.ant-btn-text.custom-button:hover{box-shadow:var(--shadow-sm)!important;filter:none!important}.custom-button--primary:hover,.custom-button--primary.ant-btn:hover,.custom-button--primary.ant-btn-primary:hover,.ant-btn.custom-button--primary:hover,.ant-btn-primary.custom-button--primary:hover{box-shadow:0 4px 12px #3b82f666!important;filter:drop-shadow(0 2px 8px rgba(59,130,246,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--secondary:hover,.custom-button--secondary.ant-btn:hover,.custom-button--secondary.ant-btn-default:hover,.ant-btn.custom-button--secondary:hover,.ant-btn-default.custom-button--secondary:hover{box-shadow:0 4px 12px #6b728066!important;filter:drop-shadow(0 2px 8px rgba(107,114,128,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--outline:hover,.custom-button--outline.ant-btn:hover,.custom-button--outline.ant-btn-default:hover,.ant-btn.custom-button--outline:hover,.ant-btn-default.custom-button--outline:hover{box-shadow:0 4px 12px #3b82f666!important;filter:drop-shadow(0 2px 8px rgba(59,130,246,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--ghost:hover,.custom-button--ghost.ant-btn:hover,.custom-button--ghost.ant-btn-text:hover,.ant-btn.custom-button--ghost:hover,.ant-btn-text.custom-button--ghost:hover{box-shadow:0 4px 12px #3b82f64d!important;filter:drop-shadow(0 2px 8px rgba(59,130,246,.5))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--danger:hover,.custom-button--danger.ant-btn:hover,.custom-button--danger.ant-btn-primary:hover,.ant-btn.custom-button--danger:hover,.ant-btn-primary.custom-button--danger:hover{box-shadow:0 4px 12px #ef444466!important;filter:drop-shadow(0 2px 8px rgba(239,68,68,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--success:hover,.custom-button--success.ant-btn:hover,.custom-button--success.ant-btn-primary:hover,.ant-btn.custom-button--success:hover,.ant-btn-primary.custom-button--success:hover{box-shadow:0 4px 12px #22c55e66!important;filter:drop-shadow(0 2px 8px rgba(34,197,94,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button--warning:hover,.custom-button--warning.ant-btn:hover,.custom-button--warning.ant-btn-primary:hover,.ant-btn.custom-button--warning:hover,.ant-btn-primary.custom-button--warning:hover{box-shadow:0 4px 12px #f59e0b66!important;filter:drop-shadow(0 2px 8px rgba(245,158,11,.6))!important;transform:translateY(-1px)!important;border-color:#9ca3af!important}.custom-button:focus,.custom-button.ant-btn:focus,.custom-button.ant-btn-primary:focus,.custom-button.ant-btn-default:focus,.custom-button.ant-btn-text:focus,.ant-btn.custom-button:focus,.ant-btn-primary.custom-button:focus,.ant-btn-default.custom-button:focus,.ant-btn-text.custom-button:focus{box-shadow:0 0 0 2px var(--color-primary-outline, rgba(59, 130, 246, .2))!important;filter:none!important}.custom-button.ant-btn-loading{pointer-events:none}.custom-button .anticon{font-size:1em}@media (max-width: 640px){.custom-button--large{height:44px;padding:0 var(--spacing-5);font-size:var(--font-size-base)}.custom-button--middle{height:36px;padding:0 var(--spacing-3)}}.custom-button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}[data-theme=dark] .custom-button--secondary{background-color:var(--color-bg-secondary);border-color:var(--color-border);color:var(--color-text)}[data-theme=dark] .custom-button--secondary:hover{background-color:var(--color-bg-tertiary);border-color:var(--color-text-secondary)}[data-theme=dark] .custom-button--ghost:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.edit-modal .ant-modal-body{padding:16px;background:var(--color-bg, white)}.edit-modal .ant-form{display:flex;flex-direction:column;gap:16px}.edit-modal .ant-form>div{display:block}.form-section{border:1px solid var(--color-border, #e5e7eb);border-radius:8px;padding:10px;background:var(--color-card, #fafafa);margin-bottom:12px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease;display:block}.form-section:hover{box-shadow:0 2px 4px #0000001a}.form-section:last-child{margin-bottom:0}.form-section .section-title{font-size:16px;font-weight:600;color:var(--color-text, #1e293b);margin:0 0 8px;border-left:3px solid #2563eb;padding-left:8px;display:flex;align-items:center}.form-grid{display:grid;grid-template-columns:repeat(24,1fr);gap:12px}.form-item{display:flex;flex-direction:column;gap:2px}.form-item[style*="grid-column: span 12"]{grid-column:span 12}.form-item[style*="grid-column: span 8"]{grid-column:span 8}.form-item[style*="grid-column: span 6"]{grid-column:span 6}.form-item[style*="grid-column: span 24"]{grid-column:span 24}.form-item.full-width{grid-column:1 / -1}.form-item .ant-form-item-label>label{font-size:14px;font-weight:500;color:var(--color-text-secondary, #6b7280);margin-bottom:0;display:block}.form-item .ant-form-item-label>label.ant-form-item-required:before{color:#ef4444;font-weight:600}.array-item-content .form-item .ant-form-item-label>label{color:var(--color-text-secondary, #6b7280)!important}.array-item-content .form-item .ant-form-item-label>label.ant-form-item-required:before{color:#ef4444!important}.form-item .ant-input,.form-item .ant-select-selector,.form-item .ant-picker{padding:4px 8px;border:1px solid var(--color-border, #d1d5db);border-radius:5px;font-size:14px;transition:all .2s ease;box-shadow:0 1px 2px #0000000d;min-height:28px}.form-item .ant-input:focus,.form-item .ant-select-selector:focus,.form-item .ant-picker:focus,.form-item .ant-input-focused,.form-item .ant-select-focused .ant-select-selector,.form-item .ant-picker-focused{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a;filter:drop-shadow(0px 1px 2px rgba(0,0,0,.1))}.form-item .ant-input:hover,.form-item .ant-select-selector:hover,.form-item .ant-picker:hover{border-color:#9ca3af}.array-item-content .form-item .ant-input,.array-item-content .form-item .ant-select-selector,.array-item-content .form-item .ant-picker{background:var(--color-bg, white)!important;color:var(--color-text, #1e293b)!important;border-color:var(--color-border, #d1d5db)!important}.form-item .ant-input::placeholder,.form-item .ant-select-selection-placeholder,.form-item .ant-picker-input>input::placeholder{color:var(--color-text-secondary)!important;opacity:.8}.array-item-content .form-item .ant-input::placeholder,.array-item-content .form-item .ant-select-selector .ant-select-selection-placeholder{color:var(--color-text-secondary)!important;opacity:.8}.form-item .ant-input[disabled],.form-item .ant-select-disabled .ant-select-selector,.form-item .ant-picker-disabled{background-color:#f8fafc!important;color:#64748b!important;border-color:#e2e8f0!important;opacity:.8;cursor:not-allowed}.form-item .ant-input[disabled]::placeholder,.form-item .ant-select-disabled .ant-select-selection-placeholder,.form-item .ant-picker-disabled .ant-picker-input>input::placeholder{color:#94a3b8!important;opacity:.7}.array-item-content .form-item .ant-input::placeholder,.array-item-content .form-item .ant-select-selector .ant-select-selection-placeholder{color:var(--color-text-tertiary, #9ca3af)!important}.form-item .ant-input-textarea{resize:vertical;min-height:60px}.form-item .ant-input-textarea .ant-input{min-height:60px;font-size:14px}.form-item .ant-select{width:100%}.form-item .ant-select-selector{margin-top:-4px;min-height:32px;display:flex;align-items:center}.form-item .ant-picker{width:100%;min-height:32px!important;height:32px!important;max-height:32px!important}.form-item .ant-picker .ant-picker-input{height:32px!important;min-height:32px!important;max-height:32px!important}.form-item .ant-picker,.form-item .ant-picker .ant-picker-input,.form-item .ant-picker *,.form-item .ant-picker .ant-picker-input *{background:transparent!important;background-color:transparent!important}.form-item .ant-picker .ant-picker-input>input{height:32px!important;line-height:32px!important}.form-divider{margin:16px 0 12px}.form-divider .ant-divider{margin:0}.form-divider .ant-divider-inner-text{color:#1890ff;font-weight:500;font-size:16px}.emergency-contacts-section{margin-top:12px;order:999}.dynamic-array-section{border:none;border-radius:0;padding:0;background:transparent;margin-bottom:0;box-shadow:none;margin-top:12px}.dynamic-array-section:hover{box-shadow:none}.array-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding:8px 10px;background:var(--color-bg-secondary, #f8fafc);border:1px solid var(--color-border, #e2e8f0);border-radius:6px;box-shadow:0 1px 2px #0000000d}.array-header .section-title{margin:0;font-size:14px;font-weight:600;color:var(--color-text, #1e293b);border-left:3px solid #2563eb;padding-left:8px}.array-header .custom-button{height:26px;padding:2px 8px;font-size:12px;border-radius:4px}.array-item{background:var(--color-card, #ffffff);border:1px solid var(--color-border, #e2e8f0);border-radius:5px;padding:10px;margin-bottom:10px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease}.array-item:hover{border-color:var(--color-border-hover, #cbd5e1);box-shadow:0 2px 3px #00000014}.array-item:last-child{margin-bottom:0}.array-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--color-border-secondary, #f1f5f9)}.item-index{font-weight:600;color:var(--color-text, #374151);font-size:12px}.remove-contact-btn.custom-button--danger{height:22px;padding:0 5px;font-size:10px;border-radius:3px}.array-item-content{display:grid;grid-template-columns:repeat(24,1fr);gap:10px}.array-item-content .form-item[style*="grid-column: span 6"]{grid-column:span 6}.array-item-content .form-item[style*="grid-column: span 8"]{grid-column:span 8}.array-item-content .form-item[style*="grid-column: span 12"]{grid-column:span 12}.array-item-content .form-item[style*="grid-column: span 24"]{grid-column:span 24}[data-theme=dark] .array-header{background:var(--color-bg-secondary, #1e293b);border-color:var(--color-border, #334155)}[data-theme=dark] .array-header .section-title{color:var(--color-text, #f1f5f9)}[data-theme=dark] .array-item{background:var(--color-card, #1e293b);border-color:var(--color-border, #334155)}[data-theme=dark] .array-item-header{border-bottom-color:var(--color-border-secondary, #475569)}[data-theme=dark] .item-index{color:var(--color-text, #e2e8f0)}[data-theme=dark] .array-item-content .form-item .ant-input,[data-theme=dark] .array-item-content .form-item .ant-select-selector,[data-theme=dark] .array-item-content .form-item .ant-picker{background:var(--color-bg, #0f172a)!important;color:var(--color-text, #f1f5f9)!important;border-color:var(--color-border, #334155)!important}[data-theme=dark] .array-item-content .form-item .ant-input::placeholder,[data-theme=dark] .array-item-content .form-item .ant-select-selector .ant-select-selection-placeholder{color:var(--color-text-tertiary, #64748b)!important}[data-theme=dark] .form-item .ant-input::placeholder,[data-theme=dark] .form-item .ant-select-selection-placeholder,[data-theme=dark] .form-item .ant-picker-input>input::placeholder{color:#94a3b8!important;opacity:.9}[data-theme=dark] .form-item .ant-input[disabled],[data-theme=dark] .form-item .ant-select-disabled .ant-select-selector,[data-theme=dark] .form-item .ant-picker-disabled{background-color:#334155!important;color:#94a3b8!important;border-color:#475569!important;opacity:.9}[data-theme=dark] .form-item .ant-input[disabled]::placeholder,[data-theme=dark] .form-item .ant-select-disabled .ant-select-selection-placeholder,[data-theme=dark] .form-item .ant-picker-disabled .ant-picker-input>input::placeholder{color:#64748b!important;opacity:.8}@media (max-width: 1400px){.form-grid{gap:14px}.array-item-content{gap:10px}}@media (max-width: 1200px){.form-grid{gap:12px}.array-item-content{gap:8px}.form-section{padding:14px}.array-header{padding:10px 14px}.array-item{padding:10px}}@media (max-width: 768px){.edit-modal .ant-modal-body,.form-section,.dynamic-array-section{padding:12px}.form-grid,.array-item-content{grid-template-columns:1fr;gap:12px}.form-section .section-title,.array-header .section-title{font-size:14px;margin-bottom:12px}.array-header{flex-direction:column;align-items:flex-start;gap:8px}.form-item[style*="grid-column: span 12"],.form-item[style*="grid-column: span 8"],.form-item[style*="grid-column: span 6"]{grid-column:span 24}}@media (max-width: 480px){.form-section,.dynamic-array-section{padding:10px}.form-grid,.array-item-content{gap:10px}.form-item .ant-input,.form-item .ant-select-selector,.form-item .ant-picker{padding:6px 8px;font-size:12px;min-height:32px}}.app-breadcrumb{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.breadcrumb-link{color:var(--ant-color-text-secondary);cursor:pointer;text-decoration:none;transition:color .3s ease;display:inline-flex;align-items:center;gap:4px}.breadcrumb-link:hover{color:var(--ant-color-primary)}.breadcrumb-link:focus{outline:2px solid var(--ant-color-primary);outline-offset:2px;border-radius:2px}.breadcrumb-current{color:var(--ant-color-text);font-weight:500}.breadcrumb-home-icon{font-size:12px;margin-right:2px}.app-breadcrumb .ant-breadcrumb{font-size:14px}.app-breadcrumb .ant-breadcrumb-separator{color:var(--ant-color-text-quaternary);margin:0 8px}.app-breadcrumb .ant-breadcrumb-link{color:inherit}@media (max-width: 768px){.app-breadcrumb{margin-left:4px;font-size:12px;line-height:40px}.breadcrumb-home-icon{display:none}}[data-theme=dark] .breadcrumb-link{color:#ffffffa6}[data-theme=dark] .breadcrumb-link:hover{color:var(--ant-color-primary)}[data-theme=dark] .breadcrumb-current{color:#ffffffd9}[data-theme=dark] .app-breadcrumb .ant-breadcrumb-separator{color:#ffffff73}.tab-bar{background:var(--color-bg-container);border-bottom:1px solid var(--color-border);padding:0;margin:0;position:fixed;top:64px;left:256px;right:0;z-index:98;transition:left .2s;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 8px #0000001a}.tab-bar-content{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 16px}.tab-bar-tabs{flex:1;margin:0}.tab-bar-tabs .ant-tabs-content-holder{display:none}.tab-bar-tabs .ant-tabs-nav{margin:0;height:32px}.tab-bar-tabs .ant-tabs-nav-wrap,.tab-bar-tabs .ant-tabs-nav-list{height:32px}.tab-bar-tabs .ant-tabs-tab{height:32px;line-height:30px;padding:0 12px;margin:0 2px 0 0;border:1px solid var(--color-border);border-radius:6px 6px 0 0;background:var(--color-bg-container);transition:all .2s ease;position:relative;font-size:12px}.tab-bar-tabs .ant-tabs-tab:hover{background:var(--color-bg-container-hover);border-color:var(--color-primary)}.tab-bar-tabs .ant-tabs-tab-active{background:var(--color-primary);color:var(--color-primary-foreground);border-color:var(--color-primary)}.tab-bar-tabs .ant-tabs-tab-active:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-foreground)}.tab-bar-tabs .ant-tabs-tab-btn{color:inherit!important;font-size:12px}[data-theme=dark] .tab-bar-tabs .ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff!important}.tab-bar-tabs .ant-tabs-tab-remove{margin-left:6px;color:inherit;opacity:.6;transition:opacity .2s ease}.tab-bar-tabs .ant-tabs-tab-remove:hover{opacity:1;color:var(--color-error)}.tab-bar-tabs .ant-tabs-tab-active .ant-tabs-tab-remove:hover{color:var(--color-primary-foreground);opacity:.8}.tab-bar-tabs .ant-tabs-ink-bar,.tab-bar-tabs .ant-tabs-nav-add{display:none}.tab-bar-actions{display:flex;align-items:center;gap:4px;margin-left:8px}.tab-action-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:var(--color-text-secondary);transition:all .2s ease}.tab-action-btn:hover{background:var(--color-bg-container-hover);color:var(--color-primary)}.tab-bar-tabs .anticon{font-size:12px;margin-right:4px}[data-theme=dark] .tab-bar{background:var(--color-bg-container);border-bottom-color:var(--color-border);box-shadow:0 2px 8px #0000004d}[data-theme=dark] .tab-bar-tabs .ant-tabs-tab{background:var(--color-bg-container);border-color:var(--color-border);color:var(--color-text)}[data-theme=dark] .tab-bar-tabs .ant-tabs-tab:hover{background:var(--color-bg-container-hover);border-color:var(--color-primary)}[data-theme=dark] .tab-bar-tabs .ant-tabs-tab-active{background:var(--color-primary)!important;color:#fff!important;border-color:var(--color-primary)!important}[data-theme=dark] .tab-bar-tabs .ant-tabs-tab-active:hover{background:var(--color-primary-hover)!important;border-color:var(--color-primary-hover)!important;color:#fff!important}[data-theme=dark] .tab-action-btn{color:var(--color-text-secondary)}[data-theme=dark] .tab-action-btn:hover{background:var(--color-bg-container-hover);color:var(--color-primary)}.tab-bar-tabs .ant-tabs-nav-wrap{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--color-border) transparent}.tab-bar-tabs .ant-tabs-nav-wrap::-webkit-scrollbar{height:4px}.tab-bar-tabs .ant-tabs-nav-wrap::-webkit-scrollbar-track{background:transparent}.tab-bar-tabs .ant-tabs-nav-wrap::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:2px}.tab-bar-tabs .ant-tabs-nav-wrap::-webkit-scrollbar-thumb:hover{background:var(--color-border-secondary)}.tab-bar.collapsed{left:80px}@media (max-width: 768px){.tab-bar-content{padding:0 8px}.tab-bar-tabs .ant-tabs-tab{padding:0 8px;min-width:80px}.tab-bar-tabs .ant-tabs-tab .anticon{display:none}.tab-bar-actions{margin-left:4px}}@media (max-width: 480px){.tab-bar-content{height:36px}.tab-bar-tabs .ant-tabs-nav,.tab-bar-tabs .ant-tabs-nav-wrap,.tab-bar-tabs .ant-tabs-nav-list{height:28px}.tab-bar-tabs .ant-tabs-tab{height:28px;line-height:26px;padding:0 6px;min-width:60px;font-size:11px}.tab-action-btn{width:24px;height:24px}}.main-layout{min-height:100vh;position:relative}html{scroll-behavior:smooth}body{overflow-x:hidden}.main-sider{background-color:var(--color-card);border-right:1px solid var(--color-border);box-shadow:var(--shadow-sm);position:fixed!important;left:0;top:0;height:100vh;z-index:100}.main-sider .ant-layout-sider-children{display:flex;flex-direction:column}.logo{min-height:64px;height:auto;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid var(--color-border);background-color:var(--color-bg);overflow:hidden;transition:all .3s;padding:8px 16px;gap:12px;position:relative;width:100%;cursor:pointer}.logo:before{content:"";position:absolute;inset:0;background:#ffffff1a;opacity:0;transition:opacity .3s}.logo:hover:before{opacity:1}.logo-image{width:36px;height:36px;flex-shrink:0;transition:all .3s;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));display:flex;align-items:center;justify-content:center;border-radius:6px}.logo-image:hover{transform:scale(1.05);background:#fff3}.logo-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1;min-width:0;transition:all .3s;text-shadow:0 1px 3px rgba(0,0,0,.3);letter-spacing:.2px;max-width:180px;gap:1px}.main-menu{flex:1;border-right:none;background-color:transparent;overflow-y:auto;max-height:calc(100vh - 64px)}.main-menu::-webkit-scrollbar{width:6px}.main-menu::-webkit-scrollbar-track{background:transparent}.main-menu::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:3px}.main-menu::-webkit-scrollbar-thumb:hover{background:var(--color-text-secondary)}.main-menu .ant-menu-item{margin:var(--spacing-1) var(--spacing-2);border-radius:var(--radius-base);height:48px;line-height:48px}.main-menu .ant-menu-submenu-title{margin:var(--spacing-1) var(--spacing-2);border-radius:var(--radius-base)}.main-menu .ant-menu-item:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.main-menu .ant-menu-item-selected{background-color:var(--color-primary);color:var(--color-primary-foreground)}.main-menu .ant-menu-item-selected:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}.main-menu .ant-menu-submenu-title:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.main-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:#2563eb26;color:var(--color-primary);border:1px solid rgba(37,99,235,.3)}.main-menu .ant-menu-submenu-selected>.ant-menu-submenu-title:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}.main-menu .ant-menu-item,.main-menu .ant-menu-submenu-title{display:flex!important;align-items:center!important;padding:0!important;position:relative;height:48px!important;line-height:48px!important}.main-menu .ant-menu-item .anticon,.main-menu .ant-menu-submenu-title .anticon{font-size:16px!important;width:16px!important;height:16px!important;line-height:16px!important;margin-left:24px!important;margin-right:8px!important;flex-shrink:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.main-menu .ant-menu-item>span:not(.anticon),.main-menu .ant-menu-submenu-title>span:not(.anticon){flex:1!important;text-align:left!important;line-height:48px!important;margin-left:0!important;padding-right:16px!important}.main-menu .ant-menu-submenu-arrow{position:absolute!important;right:16px!important;top:50%!important;transform:translateY(-50%)!important;transition:transform .3s!important;width:12px!important;height:12px!important;z-index:1!important}.main-menu .ant-menu-submenu-open>.ant-menu-submenu-title .ant-menu-submenu-arrow{transform:translateY(-50%) rotate(90deg)!important}.main-menu .ant-menu-submenu-title>span:not(.anticon){padding-right:32px!important}.main-menu .ant-menu-sub .ant-menu-item{margin:var(--spacing-1) var(--spacing-2);border-radius:var(--radius-base);height:40px!important;line-height:40px!important;padding-left:48px!important}.main-menu .ant-menu-sub .ant-menu-item:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.main-menu .ant-menu-sub .ant-menu-item-selected{background-color:var(--color-primary);color:var(--color-primary-foreground)}.main-menu .ant-menu-sub .ant-menu-item-selected:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}.main-header{background-color:var(--color-card);border-bottom:1px solid var(--color-border);padding:0 var(--spacing-6);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-sm);height:64px;position:fixed!important;top:0;right:0;left:256px;z-index:99;transition:left var(--duration-normal) var(--ease-in-out)}.header-left{display:flex;align-items:center;gap:8px;flex:1}.trigger-button{font-size:var(--font-size-lg);color:var(--color-text);border:none;background:transparent;padding:var(--spacing-2);border-radius:var(--radius-base);transition:all var(--duration-fast) var(--ease-in-out)}.trigger-button:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.header-right{display:flex;align-items:center}.theme-switch{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-2);border-radius:var(--radius-base);background-color:var(--color-bg-secondary)}.theme-icon{font-size:var(--font-size-sm);color:var(--color-text-secondary)}.theme-icon.light{color:#fbbf24}.theme-icon.dark{color:#6366f1}.notification-button{color:var(--color-text);border:none;background:transparent;padding:var(--spacing-2);border-radius:var(--radius-base);transition:all var(--duration-fast) var(--ease-in-out)}.notification-button:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}.notification-button .ant-badge{line-height:1}.notification-button .ant-badge-count{background:var(--color-error);border-color:var(--color-error);box-shadow:0 0 0 1px var(--color-card);font-size:10px;min-width:16px;height:16px;line-height:14px;padding:0 4px}.user-info{cursor:pointer;padding:var(--spacing-2) var(--spacing-3);border-radius:var(--radius-base);transition:all var(--duration-fast) var(--ease-in-out)}.user-info:hover{background-color:var(--color-bg-secondary)}.username{color:var(--color-text);font-weight:var(--font-weight-medium)}.main-content{background-color:var(--color-background);min-height:calc(100vh - 64px);margin-left:256px;margin-top:64px;transition:margin-left var(--duration-normal) var(--ease-in-out)}.content-wrapper{padding:var(--spacing-6);min-height:calc(100vh - 64px)}@media (max-width: 1400px){.logo-text{max-width:160px}}@media (max-width: 1200px){.logo-text{max-width:140px}}@media (max-width: 1000px){.logo-text{max-width:120px}}@media (max-width: 768px){.main-sider{position:fixed!important;height:100vh;z-index:999;left:-256px;transition:left var(--duration-normal) var(--ease-in-out)}.main-sider.mobile-visible{left:0}.main-content{margin-left:0!important}.main-header{left:0!important;padding:0 var(--spacing-4)}.content-wrapper{padding:var(--spacing-4)}.username{display:none}}@media (max-width: 480px){.content-wrapper{padding:var(--spacing-3)}.main-header{padding:0 var(--spacing-3)}.theme-switch{display:none}}[data-theme=dark] .main-sider{background-color:var(--color-card);border-right-color:var(--color-border)}[data-theme=dark] .logo{background-color:var(--color-bg);border-bottom-color:var(--color-border)}[data-theme=dark] .main-header{background-color:var(--color-card);border-bottom-color:var(--color-border)}[data-theme=dark] .main-menu .ant-menu-item:hover{background-color:var(--color-bg-secondary)}[data-theme=dark] .main-menu .ant-menu-item-selected:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}[data-theme=dark] .main-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:#3b82f633;color:var(--color-primary);border:1px solid rgba(59,130,246,.4)}[data-theme=dark] .main-menu .ant-menu-submenu-selected>.ant-menu-submenu-title:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}[data-theme=dark] .main-menu .ant-menu-sub .ant-menu-item:hover{background-color:var(--color-bg-secondary);color:var(--color-primary)}[data-theme=dark] .main-menu .ant-menu-sub .ant-menu-item-selected:hover{background-color:var(--color-primary-hover);color:var(--color-primary-foreground)}[data-theme=dark] .theme-switch,[data-theme=dark] .user-info:hover{background-color:var(--color-bg-secondary)}.main-sider.ant-layout-sider-collapsed .logo{padding:8px;justify-content:center}.main-sider.ant-layout-sider-collapsed .logo-text{display:none}.main-layout.sider-collapsed .main-header{left:80px}.main-sider{transition:all var(--duration-normal) var(--ease-in-out)}.main-menu .ant-menu-item,.trigger-button,.notification-button,.user-info{transition:all var(--duration-fast) var(--ease-in-out)}.trigger-button:focus-visible,.notification-button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.main-layout.loading{opacity:.7;pointer-events:none}.menu-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.menu-loading p{margin-top:16px;color:var(--color-text-secondary);font-size:var(--font-size-sm)}[data-theme=dark] .menu-loading p{color:var(--color-text-tertiary)}.ant-menu-inline-collapsed-tooltip .ant-tooltip-inner{color:#000!important}[data-theme=dark] .ant-tooltip .ant-tooltip-inner{background-color:#1e293b!important;color:#fff!important}[data-theme=dark] .ant-tooltip .ant-tooltip-arrow:before{background-color:#1e293b!important}[data-theme=dark] .ant-menu-inline-collapsed-tooltip .ant-tooltip-inner{background-color:#1e293b!important;color:#fff!important}[data-theme=dark] .ant-menu-inline-collapsed-tooltip .ant-tooltip-arrow:before{background-color:#1e293b!important}.main-content{margin-left:256px;margin-top:104px;padding:0;min-height:calc(100vh - 104px);transition:margin-left .2s;background-color:var(--color-bg);position:relative;z-index:1}.content-wrapper{padding:32px 24px 24px;min-height:100%}.main-layout.sider-collapsed .main-content{margin-left:80px}.privacy-policy-checkbox{margin:8px 0 12px}.agreement-text{font-size:14px;color:#606266}.privacy-link{color:#1890ff;text-decoration:none;cursor:pointer}.privacy-link:hover{text-decoration:underline;color:#40a9ff}.privacy-dialog .ant-modal-body{padding:20px;max-height:60vh;overflow-y:auto}.privacy-content{line-height:1.6;color:#2c3e50;max-height:45vh;overflow-y:auto}.privacy-content h3{color:#2c3e50;margin:0 0 16px;text-align:center;font-size:24px;font-weight:600}.update-date{text-align:center;color:#666;margin-bottom:24px;font-size:14px}.privacy-content section{margin-bottom:24px}.privacy-content h4{color:#34495e;margin:20px 0 12px;font-size:18px;font-weight:600;border-bottom:2px solid #1890ff;padding-bottom:8px}.privacy-content h5{color:#5a6c7d;margin:16px 0 8px;font-size:16px;font-weight:500}.privacy-content p{margin:8px 0;text-align:justify;line-height:1.8}.privacy-content ul{margin:8px 0;padding-left:20px}.privacy-content li{margin:6px 0;line-height:1.6}.contact-info{background:#f8f9fa;padding:16px;border-radius:6px;border-left:4px solid #1890ff;margin:16px 0}.contact-info p{margin:8px 0}@media (max-width: 768px){.privacy-dialog .ant-modal{width:90%!important;margin:0 auto}.privacy-dialog .ant-modal-body{max-height:60vh;padding:15px}.privacy-content{max-height:55vh}.privacy-content h3{font-size:20px}.privacy-content h4{font-size:16px}.privacy-content h5{font-size:14px}}.login-container{min-height:100vh;background:linear-gradient(135deg,#eff6ff,#e0f2fe,#d1fae5)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:16px;position:relative;--color-background: #ffffff;--color-foreground: #1e293b;--color-card: #ffffff;--color-card-foreground: #1e293b;--color-text: #1e293b;--color-text-secondary: #64748b;--color-border: #e2e8f0}.language-switcher-container{position:fixed;top:20px;right:20px;z-index:1000;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:8px;padding:8px 16px;box-shadow:0 4px 12px #0000001a;border:1px solid rgba(255,255,255,.2)}.alert-info{width:100%;max-width:448px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:8px;padding:12px;display:flex;align-items:flex-start;gap:8px}.alert-icon{flex-shrink:0;margin-top:2px;box-shadow:0 0 10px #5299f51a}.alert-description{color:#1e40af;font-size:14px;line-height:1.5}.login-card{width:100%;max-width:448px;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:none;padding:20px}.card-header{text-align:center;padding:24px 24px 0}.logo-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.logo-icon img{width:64px;height:64px;object-fit:contain;box-shadow:0 4px 12px #00000026}.card-title{font-size:24px;font-weight:600;color:#1d4ed8;display:flex;justify-content:center;align-items:center;text-align:center!important;margin:0 0 8px;text-shadow:0 1px 3px rgba(29,78,216,.2)}.card-description{color:#42454b;font-size:14px;margin:0;text-align:center!important}.card-content{padding:24px 30px 30px}.login-form{width:100%}.form-group{margin-bottom:16px}.form-label{display:block;color:#334155;font-size:14px;font-weight:500;margin-bottom:8px}.custom-input{width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:none;transition:all .2s ease;height:40px;padding:0 16px;font-size:14px;color:#1e293b;box-sizing:border-box}.custom-input:hover{border-color:#bfdbfe}.custom-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.custom-input::placeholder{color:#94a3b8}.login-button{width:100%;height:40px;font-size:14px;font-weight:500;background:linear-gradient(135deg,#2563eb,#0891b2);border:none;border-radius:8px;box-shadow:0 10px 15px -3px #2563eb4d;transition:all .2s ease;margin-top:8px;color:#fff;cursor:pointer}.login-button:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#0e7490);transform:translateY(-1px);box-shadow:0 20px 25px -5px #2563eb66}.login-button:disabled{background:linear-gradient(135deg,#2563eb,#0891b2);opacity:.8;cursor:not-allowed;transform:none}.demo-section{margin-top:16px;text-align:center}.demo-button{width:100%;height:40px;font-size:14px;font-weight:500;border:1px solid #a7f3d0;color:#047857;background:#fff;border-radius:8px;transition:all .2s ease;cursor:pointer}.demo-button:hover{background:#f0fdf4;border-color:#34d399}.forgot-password{margin-top:16px;text-align:center}.forgot-link{color:#64748b;font-size:14px;text-decoration:none;transition:color .2s ease}.forgot-link:hover{color:#2563eb}.privacy-section{margin-top:16px;margin-bottom:0;display:flex;justify-content:center}.login-container *,.login-container *:before,.login-container *:after{color:inherit!important}.login-container .login-card{background:#fffffff2!important;color:#1e293b!important}.login-container .card-title{color:#1d4ed8!important}.login-container .card-description{color:#42454b!important}.login-container .form-label{color:#334155!important}.login-container .custom-input{background:#fff!important;border:1px solid #e2e8f0!important;color:#1e293b!important}.login-container .custom-input::placeholder{color:#94a3b8!important}.login-container .login-button{background:linear-gradient(135deg,#2563eb,#0891b2)!important;color:#fff!important}.login-container .language-switcher-container{background:#ffffffe6!important}.login-container .ant-select,.login-container .ant-select-selector{background-color:#fff!important;border-color:#e2e8f0!important;color:#1e293b!important}.login-container .ant-select-selection-item,.login-container .ant-checkbox-wrapper{color:#1e293b!important}.login-container .ant-checkbox-wrapper .ant-checkbox{border-color:#e2e8f0!important}.login-container .ant-checkbox-checked .ant-checkbox-inner{background-color:#2563eb!important;border-color:#2563eb!important}@media (max-width: 480px){.login-container{padding:12px}.login-card{margin:8px}.card-header{padding:20px 20px 0}.card-content{padding:20px}.logo-icon{width:56px;height:56px}.language-switcher-container{top:16px;right:16px;padding:6px 12px}.language-switcher-container .language-switcher{padding:0 8px}.language-switcher-container .ant-select{min-width:70px}}.first-login-modal .ant-modal-content{border-radius:var(--radius-md);overflow:hidden;padding:0;background:var(--color-card)}.first-login-modal .ant-modal-body{padding:0}.first-login-modal .ant-modal-close{color:var(--color-text-secondary);transition:color var(--duration-fast) var(--ease-in-out)}.first-login-modal .ant-modal-close:hover{color:var(--color-text);background-color:transparent}.first-login-modal .ant-modal-close-x{width:48px;height:48px;line-height:48px;font-size:16px}.first-login-content{padding:32px 28px;background:var(--color-card)}.modal-title{display:flex;align-items:center;justify-content:center;gap:8px;font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);color:var(--color-foreground);margin-bottom:12px}.modal-title .title-icon{font-size:var(--font-size-xl);color:var(--color-primary)}.modal-description{text-align:center;color:var(--color-text-secondary);font-size:var(--font-size-sm);line-height:var(--line-height-normal);margin-bottom:28px}.password-form{width:100%}.form-item{margin-bottom:18px}.form-label{display:block;color:var(--color-text);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);margin-bottom:8px}.form-input{width:100%;height:40px;padding:0 12px;font-size:var(--font-size-sm);color:var(--color-text);background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-base);transition:all var(--duration-fast) var(--ease-in-out);box-sizing:border-box}.form-input:hover{border-color:var(--color-primary)}.form-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-outline)}.form-input::placeholder{color:var(--color-text-disabled)}.submit-btn{width:100%;height:40px;margin-top:6px;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-primary-foreground);background:var(--color-primary);border:none;border-radius:var(--radius-base);cursor:pointer;transition:all var(--duration-fast) var(--ease-in-out)}.submit-btn:hover:not(:disabled){background:var(--color-primary-hover)}.submit-btn:active:not(:disabled){background:var(--color-primary-active)}.submit-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 480px){.first-login-content{padding:24px 20px}.modal-title{font-size:var(--font-size-lg)}.modal-description{font-size:var(--font-size-xs)}}
