* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Avenir Next", "Segoe UI", sans-serif; background: var(--color-bg); color: var(--color-text); min-height: 100vh; display: flex; flex-direction: column; }
.toolbar { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--color-line); background: var(--color-panel); flex-wrap: wrap; }
.brand-wrap { display: flex; align-items: center; gap: 10px; min-width: 200px; } .brand-icon { width: 28px; height: 28px; border-radius: 8px; } .brand-logo { height: 22px; width: auto; max-width: 200px; } .brand-stack { display: grid; gap: 1px; } .brand-title { font-weight: 700; font-size: 14px; } .brand-slogan { font-size: 11px; color: var(--color-muted); }
.group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .group-right { margin-left: auto; }
.theme-picker { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; } .theme-chip { border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 4px 8px; background: var(--color-tab-bg); color: var(--color-text); font-size: 11px; cursor: pointer; min-height: 26px; } .theme-chip.active { background: var(--color-tab-active-bg); color: var(--color-tab-text); border-color: var(--color-accent); }
.app-layout { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.sidebar { width: 220px; min-width: 180px; border-right: 1px solid var(--color-line); background: var(--color-panel); overflow-y: auto; padding: 8px 0; } .sidebar-section { padding: 4px 0; } .sidebar-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); padding: 6px 12px 4px; } .sidebar-list { list-style: none; } .sidebar-list li { padding: 6px 12px; font-size: 13px; cursor: pointer; border-left: 3px solid transparent; transition: background 0.15s; } .sidebar-list li:hover { background: var(--color-surface); } .sidebar-list li.active { background: var(--color-surface); border-left-color: var(--color-accent); font-weight: 600; }
.main-area { flex: 1; display: flex; min-width: 0; overflow: hidden; position: relative; }
.pp-list-view { flex: 1; overflow-y: auto; padding: 8px; }
.task-list { display: flex; flex-direction: column; gap: 4px; }
.task-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-surface); cursor: pointer; transition: background 0.15s; }
.task-row:hover { background: var(--color-panel); }
.task-row.active { border-left: 3px solid var(--color-accent); }
.task-check { width: 16px; height: 16px; border: 2px solid var(--color-muted); border-radius: 50%; flex-shrink: 0; }
.task-check.done { background: var(--color-accent); border-color: var(--color-accent); }
.task-info { flex: 1; min-width: 0; }
.task-title { font-size: 13px; font-weight: 500; }
.task-meta { font-size: 11px; color: var(--color-muted); margin-top: 2px; }
.task-badge { font-size: 10px; padding: 2px 6px; border-radius: 10px; background: var(--color-accent); color: var(--color-accent-contrast); flex-shrink: 0; }
.task-badge.status-active { background: var(--color-accent); }
.task-badge.status-completed { background: var(--color-muted); }
.task-badge.status-overdue { background: var(--color-line); color: var(--color-text); }
.pp-board-view { flex: 1; overflow-x: auto; padding: 8px; }
.board-columns { display: flex; gap: 8px; min-height: 100%; }
.board-column { width: 260px; min-width: 240px; flex-shrink: 0; background: var(--color-surface); border-radius: var(--radius-main); padding: 8px; display: flex; flex-direction: column; }
.board-column-header { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); padding: 6px 4px; border-bottom: 1px solid var(--color-line); margin-bottom: 6px; }
.board-card { padding: 8px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-panel); margin-bottom: 4px; cursor: pointer; font-size: 13px; }
.board-card:hover { box-shadow: 0 2px 8px var(--shadow-color); }
.pp-detail-drawer { width: 340px; border-left: 1px solid var(--color-line); background: var(--color-panel); overflow-y: auto; padding: 0; flex-shrink: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--color-line); }
.drawer-header h3 { font-size: 14px; font-weight: 600; }
.drawer-content { padding: 10px 12px; font-size: 13px; }
.drawer-field { margin-bottom: 10px; }
.drawer-field-label { font-size: 11px; color: var(--color-muted); text-transform: uppercase; margin-bottom: 2px; }
.drawer-field-value { font-size: 13px; }
.panel { border: 1px solid var(--color-line); background: var(--color-panel); border-radius: var(--radius-main); padding: 10px; box-shadow: 0 4px 16px var(--shadow-color); }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; color: var(--color-muted); text-align: center; } .empty-icon { font-size: 36px; margin-bottom: 8px; opacity: 0.4; } .empty-state p { font-size: 13px; max-width: 280px; }
.empty-hint { padding: 12px; font-size: 12px; color: var(--color-muted); text-align: center; }
.summary-bar { display: flex; gap: 16px; padding: 6px 12px; border-top: 1px solid var(--color-line); background: var(--color-panel); font-size: 12px; color: var(--color-muted); }
select, button, input[type="text"] { border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-input); color: var(--color-text); font-size: 12px; } select, button { height: 28px; padding: 0 10px; } button { background: var(--color-button); cursor: pointer; color: var(--color-text); } button:hover { background: var(--color-button-hover); } .btn-primary { background: var(--color-accent); color: var(--color-accent-contrast); } .btn-primary:hover { opacity: 0.9; }
@media (max-width: 1120px) { .pp-detail-drawer { display: none !important; } }
@media (max-width: 820px) { .app-layout { flex-direction: column; } .sidebar { width: 100%; max-height: 160px; border-right: none; border-bottom: 1px solid var(--color-line); } }