* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', 'Malgun Gothic', sans-serif;
    background: #f0f2f5;
    color: #333;
    min-height: 100vh;
}

/* ===== 로그인 ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 400px;
    max-width: 90vw;
}

.login-box h2 { text-align: center; margin-bottom: 8px; color: #1a1a2e; }
.login-box p { text-align: center; color: #888; margin-bottom: 24px; font-size: 14px; }

.login-box input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}
.login-box input:focus { outline: none; border-color: #e94560; }

.login-box button {
    width: 100%;
    padding: 12px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.login-box button:hover { background: #c73650; }

.login-error { color: #e94560; text-align: center; margin-top: 12px; font-size: 13px; display: none; }

/* ===== 앱 레이아웃 ===== */
.app-container { display: none; min-height: 100vh; }
.app-container.active { display: flex; }

/* ===== 사이드바 ===== */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; }
.sidebar-header h1 { font-size: 20px; margin-bottom: 4px; }
.user-info { font-size: 12px; color: rgba(255,255,255,0.6); }

.nav-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.nav-item:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-item.active { background: rgba(233,69,96,0.3); color: #e94560; border-right: 3px solid #e94560; font-weight: bold; }
.nav-icon { width: 20px; text-align: center; }
.nav-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 10px 20px; }
.nav-item.logout { color: rgba(255,255,255,0.5); }
.nav-item.logout:hover { color: #e94560; }

/* ===== 메인 ===== */
.main-content { margin-left: 240px; flex: 1; padding: 24px; min-height: 100vh; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.page-header h2 { font-size: 22px; color: #1a1a2e; }

.section { display: none; }
.section.active { display: block; }

/* ===== 대시보드 카드 ===== */
.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-card { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 16px; }
.dash-card:hover { transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.card-icon.events { background: #fff3e0; }
.card-icon.tasks { background: #e3f2fd; }
.card-icon.projects { background: #f3e5f5; }
.card-icon.files { background: #e8f5e9; }
.card-info h3 { font-size: 24px; color: #1a1a2e; }
.card-info p { font-size: 12px; color: #888; }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-section { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.dash-section h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.dash-section ul { list-style: none; }
.dash-section ul li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; display: flex; justify-content: space-between; }
.dash-section ul li:last-child { border-bottom: none; }
.event-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }

/* ===== 캘린더 ===== */
.calendar-container { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.calendar-header h3 { font-size: 20px; color: #1a1a2e; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button { padding: 6px 14px; border: 1px solid #ddd; background: white; border-radius: 6px; cursor: pointer; font-size: 14px; }
.calendar-nav button:hover { background: #e94560; color: white; border-color: #e94560; }

.calendar-legend { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; }
.legend-color { width: 14px; height: 14px; border-radius: 3px; }

.calendar-grid { display: grid; grid-template-columns: 90px repeat(7, 1fr); }
.calendar-day-header { background: #f8f9fa; padding: 10px; text-align: center; font-weight: bold; font-size: 13px; color: #555; }
.calendar-day-header:first-child { color: #E74C3C !important; }
.calendar-day-header:last-child { color: #3498DB !important; }

.calendar-day { background: white; min-height: 100px; padding: 6px; cursor: pointer; position: relative; overflow: hidden; }
.calendar-day:hover { background: #f8f9fa; }
.calendar-day.other-month { background: #fafafa; color: #ccc; }
.calendar-day.today .day-number { background: #e94560; color: white !important; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.calendar-day.holiday .day-number { color: #E74C3C; font-weight: bold; }
.calendar-day.saturday .day-number { color: #3498DB; }
.calendar-day.sunday .day-number { color: #E74C3C; }
.day-number { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.holiday-label { font-size: 9px; color: #E74C3C; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.event-bar { font-size: 10px; padding: 2px 4px; border-radius: 3px; margin-bottom: 2px; color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.event-bar:hover { opacity: 0.85; }
.event-bar.continued-start { border-radius: 3px 0 0 3px; }
.event-bar.continued-middle { border-radius: 0; }
.event-bar.continued-end { border-radius: 0 3px 3px 0; }
.event-more { font-size: 10px; color: #888; text-align: center; }

/* ===== 모달 ===== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal { background: white; border-radius: 16px; padding: 28px; width: 500px; max-width: 90vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal h3 { font-size: 18px; margin-bottom: 20px; color: #1a1a2e; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.form-group label input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #e94560; }
.form-group textarea { resize: vertical; min-height: 80px; }

.modal-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ===== 버튼 ===== */
.btn { padding: 10px 20px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-primary { background: #e94560; color: white; }
.btn-primary:hover { background: #c73650; }
.btn-secondary { background: #f0f0f0; color: #555; }
.btn-secondary:hover { background: #e0e0e0; }
.btn-danger { background: #ff4757; color: white; }
.btn-danger:hover { background: #e03e4d; }
.btn-success { background: #2ecc71; color: white; }
.btn-success:hover { background: #27ae60; }

/* ===== 업무 ===== */
.task-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.task-tab { padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; border: 2px solid #e0e0e0; background: white; }
.task-tab:hover { border-color: #e94560; }
.task-tab.active { background: #e94560; color: white; border-color: #e94560; }

.task-section-box { background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.task-section-box h3 { font-size: 16px; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }

.task-table { width: 100%; border-collapse: collapse; }
.task-table th, .task-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.task-table th { background: #f8f9fa; font-weight: 600; color: #555; }
.task-table tr:hover { background: #fafafa; }

.task-status { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.task-status.pending { background: #fff3e0; color: #f57c00; }
.task-status.progress { background: #e3f2fd; color: #1976d2; }
.task-status.done { background: #e8f5e9; color: #388e3c; }

.attachment-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ===== 프로젝트 ===== */
.project-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-column { background: #f8f9fa; border-radius: 12px; padding: 16px; min-height: 300px; }
.project-column h3 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid; display: flex; justify-content: space-between; align-items: center; }
.project-column.planning h3 { border-color: #f39c12; color: #f39c12; }
.project-column.progress h3 { border-color: #3498db; color: #3498db; }
.project-column.completed h3 { border-color: #2ecc71; color: #2ecc71; }
.count-badge { font-size: 12px; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }

.project-card { background: white; border-radius: 8px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); cursor: pointer; }
.project-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.project-card h4 { font-size: 14px; margin-bottom: 6px; }
.project-card p { font-size: 12px; color: #888; margin-bottom: 8px; }
.project-card .project-meta { display: flex; justify-content: space-between; font-size: 11px; color: #aaa; }
.project-card.completed-card { opacity: 0.7; }
.project-card.completed-card h4 { text-decoration: line-through; }
.project-card.completed-card .project-detail { display: none; }
.project-card.completed-card.expanded .project-detail { display: block; }

/* ===== 통계 ===== */
.stats-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats-box { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.stats-box h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.stat-bar { display: flex; align-items: center; margin-bottom: 12px; }
.stat-label { width: 100px; font-size: 13px; color: #555; }
.stat-track { flex: 1; height: 20px; background: #f0f0f0; border-radius: 10px; overflow: hidden; margin: 0 10px; }
.stat-fill { height: 100%; border-radius: 10px; transition: width 0.5s; }
.stat-value { width: 40px; text-align: right; font-size: 13px; font-weight: 600; }

/* ===== 자료실 ===== */
.file-manager { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.file-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.file-search { padding: 8px 14px; border: 2px solid #e0e0e0; border-radius: 8px; width: 250px; font-size: 13px; }
.file-search:focus { outline: none; border-color: #e94560; }

.file-drop-zone { border: 2px dashed #ccc; border-radius: 12px; padding: 40px; text-align: center; color: #999; margin-bottom: 20px; cursor: pointer; }
.file-drop-zone:hover, .file-drop-zone.dragover { border-color: #e94560; color: #e94560; background: #fef0f2; }
.drop-icon { font-size: 36px; margin-bottom: 10px; }

.file-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.file-item { background: #f8f9fa; border-radius: 8px; padding: 14px; text-align: center; cursor: pointer; }
.file-item:hover { background: #eee; transform: translateY(-2px); }
.file-icon { font-size: 32px; margin-bottom: 8px; }
.file-name { font-size: 12px; word-break: break-all; margin-bottom: 4px; }
.file-size { font-size: 11px; color: #999; }

/* ===== 공유 ===== */
.share-manager { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.share-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.share-item:last-child { border-bottom: none; }
.share-info { display: flex; align-items: center; gap: 12px; }
.share-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e94560; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.share-detail h4 { font-size: 14px; }
.share-detail p { font-size: 12px; color: #888; }

/* ===== 사용자 ===== */
.user-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.user-table th, .user-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.user-table th { background: #f8f9fa; font-weight: 600; }

/* ===== 토스트 ===== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 2000; }
.toast { background: #333; color: white; padding: 12px 20px; border-radius: 8px; margin-bottom: 8px; font-size: 13px; opacity: 0; transform: translateX(100px); transition: all 0.3s; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left: 4px solid #2ecc71; }
.toast.error { border-left: 4px solid #e74c3c; }
.toast.info { border-left: 4px solid #3498db; }

/* ===== 모바일 ===== */
.mobile-menu-btn { display: none; position: fixed; top: 16px; left: 16px; z-index: 200; background: #e94560; color: white; border: none; border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer; }

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); width: 260px; transition: transform 0.3s; }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 16px; }
    .dashboard-grid, .stats-container { grid-template-columns: 1fr; }
    .project-columns { grid-template-columns: 1fr; }
    .mobile-menu-btn { display: block; }
    .calendar-day { min-height: 60px; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
/* ===== 업무 테이블 가독성 개선 ===== */
.task-table td {
    vertical-align: top;
    line-height: 1.8;
    padding: 12px 14px;
    white-space: pre-line;
    word-break: break-word;
    max-width: 500px;
}

.task-table td:nth-child(1) {
    white-space: nowrap;
    min-width: 90px;
    color: #555;
    font-weight: 600;
}

.task-table td:nth-child(2) {
    min-width: 120px;
    font-weight: 600;
    color: #1a1a2e;
}

.task-table td:nth-child(3) {
    font-size: 13px;
    color: #444;
    line-height: 2;
}

.task-table tr {
    border-bottom: 1px solid #eee;
}

.task-table tr:hover {
    background: #f8f9fa;
}

.task-table th {
    position: sticky;
    top: 0;
    z-index: 1;
}
/* ===== 업무 내용 접기/펼치기 ===== */
.content-cell {
    position: relative;
}

.content-preview {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    font-size: 13px;
    color: #444;
    white-space: pre-line;
    word-break: break-word;
    max-height: 120px;
    transition: max-height 0.3s;
}

.content-preview.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
}

.content-toggle {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #e94560;
    cursor: pointer;
    font-weight: 600;
    border: none;
    background: none;
    padding: 2px 0;
}

.content-toggle:hover {
    text-decoration: underline;
}

/* 업무 테이블 줄간격 조정 */
.task-table td {
    vertical-align: top;
    line-height: 1.6;
    padding: 12px 14px;
    word-break: break-word;
}

.task-table td:nth-child(1) {
    white-space: nowrap;
    min-width: 90px;
    color: #555;
    font-weight: 600;
}

.task-table td:nth-child(2) {
    min-width: 100px;
    font-weight: 600;
    color: #1a1a2e;
}

.task-table td:nth-child(3) {
    max-width: 450px;
}
/* ===== 자료실 이미지 미리보기 ===== */
.file-item .file-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
}

.file-item .file-icon-large {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* ===== 이미지 뷰어 + 펜 메모 ===== */
.viewer-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 3000;
    flex-direction: column;
}

.viewer-overlay.active {
    display: flex;
}

.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    flex-shrink: 0;
}

.viewer-toolbar .toolbar-left,
.viewer-toolbar .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.viewer-toolbar button {
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.viewer-toolbar button:hover {
    background: rgba(255,255,255,0.25);
}

.viewer-toolbar button.active {
    background: #e94560;
    border-color: #e94560;
}

.viewer-toolbar .color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
}

.viewer-toolbar .color-btn.active {
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.viewer-toolbar .size-select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 12px;
}

.viewer-canvas-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
}

.viewer-canvas-wrap canvas {
    max-width: 95%;
    max-height: 95%;
    cursor: crosshair;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.viewer-filename {
    font-size: 14px;
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* ===== 폴더 관리 ===== */
.folder-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    flex-wrap: wrap;
}

.folder-breadcrumb span {
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.folder-breadcrumb span:hover {
    background: #e94560;
    color: white;
}

.folder-breadcrumb span.current {
    color: #1a1a2e;
    font-weight: 700;
    cursor: default;
}

.folder-breadcrumb span.current:hover {
    background: none;
    color: #1a1a2e;
}

.folder-breadcrumb .sep {
    color: #ccc;
    cursor: default;
    padding: 0;
}

.folder-breadcrumb .sep:hover {
    background: none;
}

.folder-item {
    background: #fff8e1;
    border: 2px solid #ffe082;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.folder-item:hover {
    background: #fff3c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.folder-item .folder-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.folder-item .folder-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
}

.folder-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
    gap: 4px;
}

.folder-item:hover .folder-actions {
    display: flex;
}

.folder-actions button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-actions .edit-btn {
    background: #3498db;
    color: white;
}

.folder-actions .del-btn {
    background: #e74c3c;
    color: white;
}

/* 파일 선택 모드 */
.file-item.selected,
.file-item.selected:hover {
    border: 2px solid #e94560;
    background: #fef0f2;
}

.file-item {
    border: 2px solid transparent;
    position: relative;
}

.file-checkbox {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ccc;
    background: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.file-item:hover .file-checkbox,
.file-item.selected .file-checkbox {
    display: flex;
}

.file-item.selected .file-checkbox {
    background: #e94560;
    border-color: #e94560;
}

.move-toolbar {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #e94560;
    color: white;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.move-toolbar.active {
    display: flex;
}

.move-toolbar button {
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.move-toolbar button:hover {
    background: rgba(255,255,255,0.4);
}
/* ===== 드래그 앤 드롭 ===== */
.file-item.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}

.folder-item.drag-over {
    background: #c8e6c9 !important;
    border-color: #4caf50 !important;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.file-item[draggable="true"] {
    cursor: grab;
}

.file-item[draggable="true"]:active {
    cursor: grabbing;
}
/* ===== 협력 사이트 ===== */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.link-category-title {
    grid-column: 1 / -1;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 12px 0 4px;
    border-bottom: 2px solid #e94560;
    margin-top: 8px;
}

.link-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.link-favicon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.link-favicon img {
    width: 28px;
    height: 28px;
}

.link-info {
    flex: 1;
    min-width: 0;
}

.link-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
    color: #1a1a2e;
}

.link-info p {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-info .link-url {
    font-size: 11px;
    color: #3498db;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    gap: 4px;
}

.link-card:hover .link-actions {
    display: flex;
}

.link-actions button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-actions .edit-btn { background: #3498db; color: white; }
.link-actions .del-btn { background: #e74c3c; color: white; }

.link-open-icon {
    color: #ccc;
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== 알림 배지 ===== */
.nav-badge {
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* ===== 알림 목록 ===== */
.noti-list { max-width: 800px; }
.noti-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 4px solid #3498db;
}
.noti-item:hover { background: #f8f9fa; }
.noti-item.unread { background: #eef6ff; border-left-color: #e74c3c; }
.noti-item .noti-icon { font-size: 20px; flex-shrink: 0; }
.noti-item .noti-body { flex: 1; min-width: 0; }
.noti-item .noti-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.noti-item .noti-content { font-size: 13px; color: #666; }
.noti-item .noti-time { font-size: 11px; color: #aaa; margin-top: 4px; }

/* ===== 메시지 레이아웃 ===== */
.msg-layout {
    display: flex;
    height: calc(100vh - 180px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.msg-contacts {
    width: 280px;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.msg-search { padding: 12px; border-bottom: 1px solid #e9ecef; }
.msg-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
}
#msgContactList { flex: 1; overflow-y: auto; }
.msg-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}
.msg-contact:hover { background: #f0f4ff; }
.msg-contact.active { background: #e3ecfa; }
.msg-contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}
.msg-contact-info { flex: 1; min-width: 0; }
.msg-contact-name { font-weight: 600; font-size: 14px; }
.msg-contact-preview {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-contact-meta {
    text-align: right;
    flex-shrink: 0;
}
.msg-contact-time { font-size: 11px; color: #aaa; }
.msg-contact-unread {
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-top: 4px;
    display: inline-block;
}

/* 채팅 영역 */
.msg-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.msg-chat-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    font-size: 15px;
    background: #fafbfc;
}
.msg-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.msg-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.msg-bubble.sent {
    align-self: flex-end;
    background: #3498db;
    color: white;
    border-bottom-right-radius: 4px;
}
.msg-bubble.received {
    align-self: flex-start;
    background: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 4px;
}
.msg-bubble .msg-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}
.msg-chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
    background: #fafbfc;
}
.msg-chat-input textarea {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    resize: none;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.msg-chat-input button {
    align-self: flex-end;
    padding: 10px 20px;
    border-radius: 20px;
}

/* 모바일 메시지 */
@media (max-width: 768px) {
    .msg-layout { flex-direction: column; height: calc(100vh - 140px); }
    .msg-contacts { width: 100%; max-height: 200px; border-right: none; border-bottom: 1px solid #e9ecef; }
    .msg-chat { min-height: 0; }
    .msg-bubble { max-width: 85%; }
    .noti-item { flex-direction: column; gap: 4px; }
}
/* ===== 카테고리 탭 (협력사이트 + 공유) ===== */
.link-category-tabs,
.share-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}
.cat-tab {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    white-space: nowrap;
}
.cat-tab:hover { border-color: #3498db; color: #3498db; }
.cat-tab.active { background: #3498db; color: white; border-color: #3498db; }
.cat-tab .cat-count {
    background: rgba(0,0,0,0.1);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 4px;
}
.cat-tab.active .cat-count { background: rgba(255,255,255,0.3); }

/* ===== 협력사이트 카드 개선 ===== */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.link-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    border-left: 4px solid #3498db;
}
.link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.link-card .link-cat-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #eef6ff;
    color: #3498db;
    margin-bottom: 8px;
}
.link-card h4 { margin: 0 0 6px 0; font-size: 15px; }
.link-card .link-url {
    font-size: 12px;
    color: #888;
    word-break: break-all;
    margin-bottom: 6px;
}
.link-card .link-desc { font-size: 13px; color: #666; margin-bottom: 12px; }
.link-card .link-actions {
    display: flex;
    gap: 6px;
}
.link-card .link-actions button {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}
.link-card .link-actions button:hover { background: #f0f0f0; }
.link-card .link-actions .btn-open { color: #3498db; border-color: #3498db; }
.link-card .link-actions .btn-edit { color: #f39c12; border-color: #f39c12; }
.link-card .link-actions .btn-del { color: #e74c3c; border-color: #e74c3c; }

/* ===== 공유 그리드 ===== */
.share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.share-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.share-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.share-card .share-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: 600;
}
.share-card .share-type-badge.type-google_sheet { background: #e8f5e9; color: #2e7d32; }
.share-card .share-type-badge.type-google_doc { background: #e3f2fd; color: #1565c0; }
.share-card .share-type-badge.type-google_form { background: #f3e5f5; color: #7b1fa2; }
.share-card .share-type-badge.type-website { background: #fff3e0; color: #e65100; }
.share-card .share-type-badge.type-embed { background: #fce4ec; color: #c62828; }
.share-card .share-type-badge.type-text { background: #f5f5f5; color: #616161; }
.share-card .share-cat-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f0f0f0;
    color: #666;
    margin-left: 6px;
}
.share-card h4 { margin: 8px 0 6px; font-size: 15px; }
.share-card .share-content {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    max-height: 60px;
    overflow: hidden;
}
.share-card .share-url {
    font-size: 12px;
    color: #3498db;
    word-break: break-all;
    margin-bottom: 10px;
    display: block;
}
.share-card .share-preview {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.share-card .share-preview iframe {
    width: 100%;
    height: 200px;
    border: none;
}
.share-card .share-meta {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 10px;
}
.share-card .share-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.share-card .share-actions button {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}
.share-card .share-actions button:hover { background: #f5f5f5; }

/* 카테고리 관리 리스트 */
.cat-manage-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cat-manage-item input { flex: 1; padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; }
.cat-manage-item .cat-cnt { font-size: 12px; color: #999; white-space: nowrap; }

@media (max-width: 768px) {
    .link-grid { grid-template-columns: 1fr; }
    .share-grid { grid-template-columns: 1fr; }
    .link-category-tabs, .share-category-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}
/* ===== 개강현황 ===== */
.enrollment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.enroll-tab {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    background: white;
    transition: all 0.2s;
}

.enroll-tab:hover {
    border-color: #3498db;
    color: #3498db;
}

.enroll-tab.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.enrollment-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 16px;
}

.enroll-panel {
    display: none;
}

.enroll-panel.active {
    display: block;
}

.sheet-container {
    padding: 20px;
}

.sheet-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.google-sheet-frame {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 500px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.sheet-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 12px;
}

.sheet-help p {
    font-size: 13px;
    color: #888;
}

/* 시트 없을 때 안내 */
.sheet-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #999;
}

.sheet-empty .sheet-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.sheet-empty p {
    font-size: 14px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .enrollment-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .enroll-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .google-sheet-frame {
        height: calc(100vh - 250px);
        min-height: 350px;
    }
    .sheet-help {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* ===== 협력사이트 카드 레이아웃 수정 ===== */
.link-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: default;
}

.link-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.link-card-header .link-favicon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
}

.link-card-header .link-favicon img {
    width: 28px;
    height: 28px;
    display: block;
}

.link-card-header .link-info {
    flex: 1;
    min-width: 0;
}

.link-card-header .link-info .link-cat-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #eef6ff;
    color: #3498db;
    margin-bottom: 4px;
}

.link-card-header .link-info h4 {
    font-size: 15px;
    margin: 0 0 2px 0;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-card-header .link-info .link-url {
    font-size: 12px;
    color: #3498db;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-card .link-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.link-card .link-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
/* ===== 회의록 ===== */
.minute-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    background: white;
    display: inline-block;
}
.minute-tab:hover { border-color: #e94560; }
.minute-tab.active { background: #e94560; color: white; border-color: #e94560; }

.minute-list {
    margin-top: 16px;
}

.minute-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #e94560;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.minute-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.minute-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.minute-card-header h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin: 0;
}
.minute-card-header .minute-date {
    font-size: 13px;
    color: #888;
}

.minute-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}
.minute-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.minute-card-body {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.minute-card.expanded .minute-card-body {
    display: block;
}

.minute-card-body .minute-section {
    margin-bottom: 14px;
}
.minute-card-body .minute-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #e94560;
    margin-bottom: 6px;
}
.minute-card-body .minute-section-content {
    font-size: 13px;
    color: #444;
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-word;
}

.minute-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.minute-card-actions button {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}
.minute-card-actions button:hover { background: #f5f5f5; }

.minute-cat-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: #fef0f2;
    color: #e94560;
}
/* ===== 주간 메모 셀 ===== */
.memo-header {
    background: #FFFDE7 !important;
    color: #f57c00 !important;
    font-size: 14px !important;
}

.memo-cell {
    background: #FFFDE7 !important;
    border-right: 2px solid #FFE082 !important;
    padding: 6px !important;
    cursor: pointer;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.memo-cell:hover {
    background: #FFF9C4 !important;
}

.memo-week-label {
    font-size: 10px;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 4px;
    padding: 1px 6px;
    background: #FFE082;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.memo-text {
    font-size: 11px;
    color: #333;
    line-height: 1.5;
    word-break: break-all;
    flex: 1;
    font-weight: 600;
}

.memo-placeholder {
    font-size: 11px;
    color: #ccc;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .calendar-grid { grid-template-columns: 60px repeat(7, 1fr); }
    .memo-cell { min-height: 60px; }
    .memo-text { font-size: 10px; }
}
/* ===== 캘린더 글자 크기 조절 ===== */
.calendar-grid {
    font-size: 100%;
    transition: font-size 0.2s;
}

.calendar-grid .day-number {
    font-size: 1em;
}

.calendar-grid .event-bar {
    font-size: 0.85em;
}

.calendar-grid .holiday-label {
    font-size: 0.75em;
}

.calendar-grid .memo-text {
    font-size: 0.9em;
}

.calendar-grid .memo-week-label {
    font-size: 0.8em;
}

.calendar-grid .memo-placeholder {
    font-size: 0.85em;
}

#btnFontPlus, #btnFontMinus {
    padding: 4px 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
}

#btnFontPlus:hover, #btnFontMinus:hover {
    background: #e94560;
    color: white;
    border-color: #e94560;
}
/* ★ 프로젝트 탭 */
.proj-tabs { display:flex; gap:4px; border-bottom:2px solid #E0E0E0; margin-bottom:16px; flex-wrap:wrap; }
.proj-tab { padding:8px 14px; border:none; background:none; cursor:pointer; font-size:13px; color:#666; border-bottom:2px solid transparent; margin-bottom:-2px; white-space:nowrap; }
.proj-tab:hover { color:#333; background:#F5F5F5; }
.proj-tab.active { color:#1565C0; border-bottom-color:#1565C0; font-weight:600; }
.proj-tab-content { display:none; padding:4px 0; }
.proj-tab-content.active { display:block; }

/* ★ 체크리스트 */
.cl-phase { background:#F5F5F5; padding:10px 12px; border-radius:8px; margin-bottom:10px; }
.cl-phase-title { font-weight:600; font-size:14px; margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; }
.cl-item { display:flex; align-items:center; gap:8px; padding:6px 8px; border-radius:6px; margin-bottom:4px; background:#fff; }
.cl-item:hover { background:#E3F2FD; }
.cl-item input[type="checkbox"] { width:18px; height:18px; cursor:pointer; flex-shrink:0; }
.cl-item .cl-task { flex:1; font-size:13px; }
.cl-item .cl-task.done { text-decoration:line-through; color:#999; }
.cl-item .cl-meta { font-size:11px; color:#888; white-space:nowrap; }
.cl-item .cl-del { background:none; border:none; color:#E53935; cursor:pointer; font-size:14px; padding:2px 6px; }

/* ★ 간트 차트 */
.gantt-table { width:100%; border-collapse:collapse; font-size:12px; min-width:600px; }
.gantt-table th, .gantt-table td { border:1px solid #E0E0E0; padding:4px 6px; text-align:center; }
.gantt-table th { background:#F5F5F5; font-weight:600; position:sticky; top:0; }
.gantt-table .gantt-task-cell { text-align:left; white-space:nowrap; min-width:120px; font-weight:500; }
.gantt-bar-plan { background:#42A5F5; height:14px; border-radius:3px; min-width:100%; }
.gantt-bar-done { background:#66BB6A; height:14px; border-radius:3px; }
.gantt-bar-late { background:#EF5350; height:14px; border-radius:3px; }
.gantt-today { background:rgba(255,107,107,0.15); }

/* ★ 업무분담 */
.asgn-table { width:100%; border-collapse:collapse; font-size:13px; }
.asgn-table th, .asgn-table td { border:1px solid #E0E0E0; padding:8px 10px; text-align:left; }
.asgn-table th { background:#F5F5F5; font-weight:600; }
.asgn-table .asgn-status { font-size:12px; }
.asgn-del { background:none; border:none; color:#E53935; cursor:pointer; font-size:13px; }
.asgn-bar-wrap { display:flex; align-items:center; gap:8px; margin-top:4px; }
.asgn-bar { background:#E8F5E9; height:18px; border-radius:4px; flex:1; }
.asgn-bar-fill { background:#4CAF50; height:100%; border-radius:4px; }
.asgn-bar-label { font-size:12px; color:#555; white-space:nowrap; }

/* ★ 프로젝트 파일 */
.pf-item { display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid #E0E0E0; border-radius:6px; margin-bottom:6px; }
.pf-item:hover { background:#F5F5F5; }
.pf-icon { font-size:20px; }
.pf-info { flex:1; }
.pf-name { font-size:13px; font-weight:500; }
.pf-meta { font-size:11px; color:#888; }
.pf-actions { display:flex; gap:6px; }
.pf-actions button { background:none; border:none; cursor:pointer; font-size:13px; padding:4px 8px; border-radius:4px; }
.pf-actions button:hover { background:#E3F2FD; }

/* ★ 대시보드 요약 카드 */
.proj-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:20px; }
.proj-summary-card { padding:16px; border-radius:10px; text-align:center; color:#fff; }
.proj-summary-card .psc-num { font-size:28px; font-weight:700; }
.proj-summary-card .psc-label { font-size:12px; opacity:0.9; margin-top:4px; }

/* ★ 프로젝트 카드 리스트 개선 */
.proj-card { background:#fff; border:1px solid #E0E0E0; border-radius:10px; padding:14px; margin-bottom:10px; cursor:pointer; transition:box-shadow 0.2s; }
.proj-card:hover { box-shadow:0 2px 12px rgba(0,0,0,0.1); }
.proj-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.proj-card-title { font-size:15px; font-weight:600; }
.proj-card-priority { font-size:12px; padding:2px 8px; border-radius:10px; }
.proj-card-meta { font-size:12px; color:#888; margin-bottom:8px; }
.proj-card-bar { background:#E8F5E9; height:8px; border-radius:4px; overflow:hidden; }
.proj-card-bar-fill { height:100%; border-radius:4px; transition:width 0.3s; }
.proj-card-footer { display:flex; justify-content:space-between; font-size:11px; color:#999; margin-top:6px; }
