* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f5f5f5; color: #333; font-size: 14px; }
a { text-decoration: none; color: inherit; }
.container-full { width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.cl-main { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
.cl-title { font-size: 18px; font-weight: bold; color: #333; padding: 15px 20px; background: #fff; border: 1px solid #e5e5e5; border-bottom: none; }
.cl-body { display: flex; border: 1px solid #e5e5e5; background: #fff; min-height: 500px; }

.cl-sidebar { width: 180px; flex-shrink: 0; border-right: 1px solid #e5e5e5; padding: 12px 0; overflow-y: auto; max-height: 600px; }
.cl-sidebar-head { padding: 0 12px 10px; border-bottom: 1px solid #eee; font-size: 14px; font-weight: bold; }
.cl-sidebar-head a { color: #888; font-size: 12px; font-weight: normal; margin-left: 8px; cursor: pointer; }
.cl-sidebar-head a:hover { color: #f97316; }

.cl-group { padding: 8px 0; }
.cl-group-title { padding: 4px 12px; font-size: 13px; font-weight: bold; color: #f97316; }
.cl-chk { display: flex; align-items: center; padding: 4px 12px; cursor: pointer; font-size: 13px; gap: 6px; }
.cl-chk:hover { background: #fafafa; }
.cl-chk input { margin: 0; accent-color: #f97316; }

.cl-content { flex: 1; min-width: 0; }
.cl-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #eee; flex-wrap: wrap; gap: 10px; }
.cl-tabs { display: flex; gap: 0; }
.cl-tab { padding: 6px 20px; border: 1px solid #ddd; background: #fff; color: #666; cursor: pointer; font-size: 13px; transition: all .2s; }
.cl-tab:first-child { border-radius: 3px 0 0 3px; }
.cl-tab:last-child { border-radius: 0 3px 3px 0; }
.cl-tab + .cl-tab { border-left: none; }
.cl-tab.active { background: #f97316; color: #fff; border-color: #f97316; }
.cl-filter { font-size: 13px; color: #666; }
.cl-filter select { border: 1px solid #ccc; border-radius: 3px; padding: 3px 6px; font-size: 13px; }

.cl-table-wrap { overflow-x: auto; }
.cl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cl-table th { background: #fafafa; padding: 10px 16px; text-align: center; border-bottom: 1px solid #eee; font-weight: 600; color: #555; white-space: nowrap; }
.cl-table td { padding: 10px 16px; text-align: center; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.cl-table tbody tr:hover { background: #fffbf5; }
.cl-no-data { color: #999; padding: 40px 0 !important; }
.cl-link { color: #f97316; cursor: pointer; }
.cl-link:hover { text-decoration: underline; }

.cl-loading { text-align: center; padding: 60px 0; color: #999; }
.cl-empty { text-align: center; padding: 60px 0; color: #999; }

.cl-footer { text-align: center; padding: 20px 0; color: #999; font-size: 12px; margin-top: 30px; }

@media (max-width: 768px) {
  .cl-main { margin: 10px auto; padding: 0 8px; }
  .cl-title { font-size: 16px; padding: 12px 14px; }
  .cl-body { flex-direction: column; }
  .cl-sidebar { width: 100%; max-height: none; border-right: none; border-bottom: 1px solid #e5e5e5; padding: 10px 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0; }
  .cl-sidebar-head { width: 100%; padding: 0 10px 8px; }
  .cl-group { display: flex; flex-wrap: wrap; align-items: center; padding: 4px 0; width: 100%; }
  .cl-group-title { padding: 2px 10px; font-size: 12px; flex-shrink: 0; }
  .cl-chk { padding: 2px 8px; font-size: 12px; }
  .cl-toolbar { padding: 10px 12px; }
  .cl-tab { padding: 5px 14px; font-size: 12px; }
  .cl-table th, .cl-table td { padding: 8px 10px; font-size: 12px; }
}
