
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1890FF;
            --primary-hover: #40a9ff;
            --meeting-color: #722ED1;
            --task-green: #52C41A;
            --task-yellow: #FAAD14;
            --task-red: #F5222D;
            --bg-gray: #F0F2F5;
            --text-dark: #262626;
            --text-gray: #8c8c8c;
            --border-color: #d9d9d9;
            --white: #ffffff;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-gray);
            color: var(--text-dark);
            min-height: 100vh;
        }

        .app-container {
            display: flex;
            min-height: 100vh;
        }

        .sidebar {
            width: 200px;
            background: var(--white);
            box-shadow: var(--shadow);
            padding: 20px 0;
        }

        .logo {
            padding: 0 20px 20px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 20px;
        }

        .logo h1 {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
        }

        .logo p {
            font-size: 12px;
            color: var(--text-gray);
            margin-top: 4px;
        }

        .nav-menu {
            list-style: none;
        }

        .nav-item {
            padding: 12px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }

        .nav-item:hover {
            background: #f5f5f5;
        }

        .nav-item.active {
            background: #e6f7ff;
            border-left-color: var(--primary);
            color: var(--primary);
        }

        .main-content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .page-title {
            font-size: 20px;
            font-weight: 500;
        }

        .card {
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 20px;
            margin-bottom: 20px;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
        }

        .card-title {
            font-size: 16px;
            font-weight: 500;
        }

        .btn {
            padding: 8px 16px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
        }

        .btn-default {
            background: var(--white);
            border: 1px solid var(--border-color);
            color: var(--text-dark);
        }

        .btn-default:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-danger {
            background: #fff1f0;
            color: var(--task-red);
            border: 1px solid #ffa39e;
        }

        .btn-sm {
            padding: 4px 10px;
            font-size: 12px;
        }

        .form-group {
            margin-bottom: 14px;
        }

        .form-label {
            display: block;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .form-input,
        .form-select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
        }

        .form-textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            min-height: 80px;
            resize: vertical;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th,
        .data-table td {
            padding: 10px 12px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .data-table th {
            background: #fafafa;
            font-weight: 500;
            color: var(--text-gray);
            font-size: 12px;
        }

        .data-table tr:hover {
            background: #f5f5f5;
        }

        .progress-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .calendar-container {
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            border-bottom: 1px solid var(--border-color);
            flex-wrap: wrap;
            gap: 10px;
        }

        .calendar-nav {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .calendar-nav-btn {
            width: 28px;
            height: 28px;
            border-radius: 4px;
            border: 1px solid var(--border-color);
            background: var(--white);
            cursor: pointer;
        }

        .calendar-title {
            font-size: 16px;
            font-weight: 500;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
        }

        .calendar-weekday {
            padding: 10px;
            text-align: center;
            font-size: 12px;
            color: var(--text-gray);
            border-bottom: 1px solid var(--border-color);
            background: #fafafa;
        }

        .calendar-container {
            display: flex;
            gap: 20px;
        }

        .calendar-sidebar {
            width: 180px;
            flex-shrink: 0;
        }

        .org-list {
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 16px;
        }

        .org-list-header {
            font-weight: 500;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border-color);
        }

        .org-list-items {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .org-item {
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.2s;
            color: var(--text-gray);
        }

        .org-item:hover {
            background: #f5f5f5;
            color: var(--text-color);
        }

        .org-item.active {
            background: #e6f7ff;
            color: var(--primary);
            font-weight: 500;
        }

        .calendar-main {
            flex: 1;
            min-width: 0;
        }

        .calendar-day {
            min-height: 120px;
            border-right: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            padding: 6px;
        }

        .calendar-day:nth-child(7n) {
            border-right: none;
        }

        .calendar-day.other-month {
            background: #fafafa;
            opacity: 0.5;
        }

        .calendar-day.today {
            background: #e6f7ff;
        }

        .calendar-day.holiday {
            background: #ffccc7;
        }

        .calendar-day.workday {
            background: #d9f7be;
        }

        .calendar-day.normal-weekend {
            background: #E6F7FF;
        }

        .normal-weekend .day-badge {
            background: #91D5FF;
        }

        .day-number {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .day-badge {
            font-size: 10px;
            padding: 1px 4px;
            border-radius: 2px;
        }

        .day-badge.holiday {
            background: var(--task-red);
            color: white;
        }

        .day-badge.workday {
            background: var(--task-green);
            color: white;
        }

        .event {
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 11px;
            margin-bottom: 2px;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .event.meeting {
            border-left: 3px solid;
        }

        .event.task {
            font-size: 10px;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal {
            background: var(--white);
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 16px;
            font-weight: 500;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--text-gray);
        }

        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            padding: 12px 20px;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 3px;
            font-size: 12px;
        }

        .tag-green {
            background: rgba(82, 196, 26, 0.15);
            color: var(--task-green);
        }

        .tag-yellow {
            background: rgba(250, 173, 20, 0.15);
            color: var(--task-yellow);
        }

        .tag-red {
            background: rgba(245, 34, 45, 0.15);
            color: var(--task-red);
        }

        .action-btns {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 3px;
            border: none;
            cursor: pointer;
        }

        .action-btn.edit {
            background: #e6f7ff;
            color: var(--primary);
        }

        .action-btn.delete {
            background: #fff1f0;
            color: var(--task-red);
        }

        .action-btn.close {
            background: #fff1f0;
            color: var(--task-red);
        }

        .action-btn.progress {
            background: #e6f7ff;
            color: var(--primary);
        }

        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 12px 20px;
            background: var(--text-dark);
            color: white;
            border-radius: 4px;
            z-index: 2000;
            display: none;
        }

        .toast.show {
            display: block;
        }

        .filter-chips {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        .chip {
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 13px;
            cursor: pointer;
            border: 1px solid #d9d9d9;
            background: #f5f5f5;
            color: #666;
            transition: all 0.2s;
        }

        .chip:hover {
            border-color: #1890ff;
            background: #e6f7ff;
        }

        .chip.active {
            border-color: #1890ff;
            background: #1890ff;
            color: #fff;
            font-weight: 500;
            box-shadow: 0 2px 4px rgba(24, 144, 255, 0.3);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 20px;
        }

        .stat-card {
            background: var(--white);
            border-radius: 8px;
            padding: 16px;
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: all 0.2s;
        }

        .stat-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }

        .stat-label {
            font-size: 12px;
            color: var(--text-gray);
            margin-top: 4px;
        }

        .legend {
            display: flex;
            gap: 12px;
            padding: 10px 16px;
            background: #fafafa;
            border-bottom: 1px solid var(--border-color);
            font-size: 12px;
            color: var(--text-gray);
            flex-wrap: wrap;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .rule-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            background: #fafafa;
            border-radius: 4px;
            margin-bottom: 6px;
            flex-wrap: wrap;
        }

        .rule-item input[type="number"] {
            width: 70px;
        }

        .color-box {
            width: 24px;
            height: 24px;
            border-radius: 4px;
        }

        .empty {
            text-align: center;
            padding: 40px;
            color: var(--text-gray);
        }

        .holiday-legend-box {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            display: inline-block;
            margin-right: 6px;
            vertical-align: middle;
        }

        .holiday-legend-normal {
            background: #fff;
            border: 1px solid #d9d9d9;
        }

        .holiday-legend-holiday {
            background: #ffccc7;
            border: 1px solid #f5222d;
        }

        .holiday-legend-workday {
            background: #d9f7be;
            border: 1px solid #52c41a;
        }

        .year-selector {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .year-selector select {
            padding: 6px 12px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
        }

        .tabs {
            display: flex;
            gap: 0;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 16px;
        }

        .tab {
            padding: 10px 20px;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
            font-size: 14px;
            color: var(--text-gray);
        }

        .tab:hover {
            color: var(--primary);
        }

        .tab.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
            font-weight: 500;
        }

        .progress-item {
            padding: 12px;
            background: #fafafa;
            border-radius: 4px;
            margin-bottom: 8px;
        }

        .progress-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }

        .progress-item-title {
            font-weight: 500;
        }

        .progress-item-date {
            font-size: 12px;
            color: var(--text-gray);
        }

        .progress-item-content {
            font-size: 13px;
            color: #666;
        }
    