/* ============================================================ TaskTracker — Dark-theme design system Replaces Tailwind utility classes with semantic CSS ============================================================ */ /* ── CSS Custom Properties ─────────────────────────────────── */ :root { --color-page: #0a0a0f; --color-surface: #12131a; --color-elevated: #1a1b26; --color-border: rgba(255, 255, 255, 0.06); --color-border-hover: rgba(255, 255, 255, 0.12); --color-text-primary: #e2e8f0; --color-text-secondary: #64748b; --color-text-tertiary: #334155; --color-accent: #8b5cf6; --color-accent-end: #6366f1; --color-status-active: #3b82f6; --color-status-paused: #eab308; --color-status-completed: #22c55e; --color-status-pending: #64748b; --color-status-abandoned: #ef4444; } /* ── Reset / Base ──────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; } html, body { height: 100%; margin: 0; padding: 0; } body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--color-page); color: var(--color-text-primary); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { color: inherit; text-decoration: none; } button { font-family: inherit; } /* ── Noise Grain Texture ───────────────────────────────────── */ body::before { content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; } /* ── Selection ─────────────────────────────────────────────── */ ::selection { background: rgba(139, 92, 246, 0.3); } /* ── Custom Scrollbar ──────────────────────────────────────── */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #1a1b26; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #2a2d37; } /* Firefox scrollbar */ * { scrollbar-width: thin; scrollbar-color: #1a1b26 transparent; } /* ── Keyframe Animations ───────────────────────────────────── */ @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 6px rgba(59, 130, 246, 0.3); } 50% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.5); } } .animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; } @keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } .animate-live-dot { animation: live-dot 1.5s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } /* ── Card Hover Glow Effect ────────────────────────────────── */ .card-glow { position: relative; } .card-glow::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.1), transparent); opacity: 0; transition: opacity 0.2s ease; z-index: -1; pointer-events: none; } .card-glow:hover::before { opacity: 1; } /* ============================================================ APP LAYOUT ============================================================ */ .app { display: flex; flex-direction: column; height: 100vh; overflow: hidden; } /* ── Header / Top Nav ──────────────────────────────────────── */ .app-header { display: flex; align-items: center; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--color-border); flex-shrink: 0; background: var(--color-page); } .header-left { display: flex; align-items: center; gap: 8px; } .header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; } /* Logo */ .app-logo { display: flex; align-items: center; gap: 8px; margin-right: 32px; } .logo { display: flex; align-items: center; gap: 8px; margin-right: 32px; } .app-logo-icon, .logo-icon { width: 20px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-end)); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: white; } .app-logo-text, .logo-text { font-size: 14px; font-weight: 600; letter-spacing: -0.025em; } /* Navigation */ .app-nav, .nav { display: flex; align-items: center; gap: 4px; } .nav-link { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--color-text-secondary); transition: color 0.15s, background-color 0.15s; cursor: pointer; text-decoration: none; } .nav-link:hover { color: white; background: rgba(255, 255, 255, 0.04); } .nav-link--active { color: white; background: rgba(255, 255, 255, 0.08); } .nav-link .icon { flex-shrink: 0; } /* Spacer */ .app-spacer { flex: 1; } /* Main content area */ .app-main { flex: 1; overflow: auto; padding: 20px; } /* ============================================================ BUTTONS ============================================================ */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 500; font-family: inherit; border-radius: 8px; padding: 8px 14px; border: none; cursor: pointer; transition: all 0.15s; white-space: nowrap; line-height: 1; } .btn .icon { flex-shrink: 0; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn--primary, .btn-primary { background: linear-gradient(to right, var(--color-accent), var(--color-accent-end)); color: white; } .btn--primary:hover, .btn-primary:hover { filter: brightness(1.1); } .btn--danger { background: transparent; border: 1px solid rgba(244, 63, 94, 0.3); color: #fb7185; } .btn--danger:hover { background: rgba(244, 63, 94, 0.1); } .btn--amber { background: #d97706; color: white; } .btn--amber:hover { background: #f59e0b; } .btn--emerald { background: #059669; color: white; } .btn--emerald:hover { background: #10b981; } .btn--ghost { background: transparent; color: var(--color-text-secondary); } .btn--ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--color-text-primary); } .btn--sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 6px; } .btn--full { width: 100%; padding: 10px 14px; } /* ── Search Trigger Button ─────────────────────────────────── */ .search-trigger, .btn-search { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12px; color: var(--color-text-secondary); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--color-border); cursor: pointer; transition: border-color 0.15s, color 0.15s; } .search-trigger:hover, .btn-search:hover { border-color: var(--color-border-hover); color: var(--color-text-primary); } .search-trigger kbd, .btn-search__hint { font-size: 10px; font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; color: var(--color-text-tertiary); background: rgba(255, 255, 255, 0.06); padding: 2px 4px; border-radius: 3px; } /* ============================================================ INPUTS / FORMS ============================================================ */ .input { background: var(--color-page); color: var(--color-text-primary); font-size: 14px; font-family: inherit; border-radius: 6px; border: 1px solid var(--color-border); padding: 8px 12px; outline: none; width: 100%; transition: border-color 0.15s; } .input:focus { border-color: var(--color-accent); } .input::placeholder { color: var(--color-text-secondary); } .select { background: var(--color-page); color: var(--color-text-primary); font-size: 14px; font-family: inherit; border-radius: 6px; border: 1px solid var(--color-border); padding: 8px 12px; outline: none; width: 100%; transition: border-color 0.15s; appearance: none; cursor: pointer; } .select:focus { border-color: var(--color-accent); } .textarea { background: var(--color-page); color: var(--color-text-primary); font-size: 14px; font-family: inherit; border-radius: 6px; border: 1px solid var(--color-border); padding: 8px 12px; outline: none; width: 100%; transition: border-color 0.15s; resize: vertical; min-height: 80px; } .textarea:focus { border-color: var(--color-accent); } .form-group { margin-bottom: 14px; } .form-label { display: block; font-size: 11px; font-weight: 500; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; } /* ============================================================ KANBAN LAYOUT ============================================================ */ .kanban-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; height: 100%; } .kanban-column { display: flex; flex-direction: column; min-height: 0; } .kanban-column-header { display: flex; align-items: center; gap: 8px; padding: 0 4px; margin-bottom: 12px; } .kanban-column-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .kanban-column-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--color-text-secondary); } .kanban-column-count { font-size: 11px; color: var(--color-text-tertiary); margin-left: auto; } .kanban-column-bar { height: 2px; border-radius: 1px; margin-bottom: 12px; } .kanban-column-body { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; padding: 4px; border-radius: 8px; transition: background-color 0.2s; min-height: 80px; } .kanban-column-body.drag-over { background: rgba(255, 255, 255, 0.02); } .kanban-column-empty { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 80px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, 0.06); } .kanban-column-empty span { font-size: 11px; color: var(--color-text-tertiary); } .kanban-add-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 0; margin-top: 8px; border-radius: 8px; font-size: 11px; color: var(--color-text-tertiary); background: transparent; border: none; cursor: pointer; transition: color 0.15s, background-color 0.15s; } .kanban-add-btn:hover { color: var(--color-text-secondary); background: rgba(255, 255, 255, 0.02); } /* ============================================================ TASK CARD ============================================================ */ .task-card { background: var(--color-surface); border-radius: 12px; border: 1px solid var(--color-border); padding: 14px; cursor: grab; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; position: relative; } .task-card:hover { transform: translateY(-2px); border-color: var(--color-border-hover); } .task-card:active { cursor: grabbing; } .task-card--active { border-color: rgba(59, 130, 246, 0.3); animation: pulse-glow 2.5s ease-in-out infinite; } /* SortableJS ghost class */ .task-card--ghost, .sortable-ghost { opacity: 0.5; transform: rotate(1deg) scale(1.03); } /* SortableJS drag class */ .task-card--dragging, .sortable-drag { opacity: 0.9; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); } .task-card-title { font-size: 13px; font-weight: 500; color: var(--color-text-primary); display: flex; align-items: center; gap: 6px; line-height: 1.4; } .task-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11px; color: var(--color-text-secondary); } .task-card-category-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } .task-card-elapsed { display: flex; align-items: center; gap: 4px; } .task-card-subtasks { display: flex; align-items: center; gap: 3px; margin-top: 8px; margin-left: auto; } .task-card-subtask-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); } .task-card-subtask-dot--done { background: var(--color-status-completed); } /* ── Live Dot ──────────────────────────────────────────────── */ .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-status-active); animation: live-dot 1.5s ease-in-out infinite; display: inline-block; flex-shrink: 0; margin-right: 6px; } /* ============================================================ DETAIL PANEL (Slide-in from right) ============================================================ */ .detail-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; } .detail-overlay--open { opacity: 1; pointer-events: auto; } .detail-panel { position: fixed; top: 0; right: 0; height: 100%; width: 480px; z-index: 50; background: rgba(26, 27, 38, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-left: 1px solid var(--color-border); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; } .detail-panel--open { transform: translateX(0); } .detail-header { padding: 20px; display: flex; flex-direction: column; } .detail-title { font-size: 20px; font-weight: 600; color: var(--color-text-primary); cursor: pointer; transition: color 0.15s; } .detail-title:hover { color: var(--color-accent); } .detail-close { padding: 6px; border-radius: 6px; background: transparent; border: none; color: var(--color-text-secondary); cursor: pointer; transition: background-color 0.15s, color 0.15s; display: flex; align-items: center; justify-content: center; } .detail-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-text-primary); } .detail-section { padding: 20px; border-top: 1px solid var(--color-border); } .detail-section-label { font-size: 11px; font-weight: 500; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; } .detail-body { flex: 1; overflow-y: auto; } .detail-actions { border-top: 1px solid var(--color-border); padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; } /* ============================================================ BADGES / STATUS PILLS ============================================================ */ .badge { font-size: 10px; padding: 4px 10px; border-radius: 9999px; display: inline-flex; align-items: center; font-weight: 500; line-height: 1; } .badge--active { background: rgba(59, 130, 246, 0.2); color: #3b82f6; } .badge--paused { background: rgba(234, 179, 8, 0.2); color: #eab308; } .badge--completed { background: rgba(34, 197, 94, 0.2); color: #22c55e; } .badge--pending { background: rgba(100, 116, 139, 0.2); color: #64748b; } .badge--abandoned { background: rgba(239, 68, 68, 0.2); color: #ef4444; } /* ============================================================ STAT CARDS (Analytics) ============================================================ */ .stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; } .stat-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-tertiary); font-weight: 500; } .stat-card-value { font-size: 24px; font-weight: 600; color: var(--color-text-primary); margin-top: 4px; } /* ============================================================ PROGRESS BAR ============================================================ */ .progress-bar { height: 8px; width: 100%; background: rgba(255, 255, 255, 0.05); border-radius: 9999px; overflow: hidden; } .progress-bar-fill { height: 100%; border-radius: 9999px; transition: width 0.3s ease; background: linear-gradient(to right, var(--color-accent), var(--color-accent-end)); } .progress-bar-fill--over { background: #f43f5e; } /* ============================================================ MAPPINGS TABLE ============================================================ */ .mappings-table { width: 100%; font-size: 14px; border-collapse: collapse; } .mappings-table thead { background: var(--color-surface); border-bottom: 1px solid var(--color-border); } .mappings-table th { text-align: left; padding: 12px 16px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-tertiary); font-weight: 500; } .mappings-table td { padding: 12px 16px; } .mappings-table tbody tr { border-bottom: 1px solid var(--color-border); transition: background-color 0.15s; } .mappings-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); } .mappings-table tbody tr.editing-row { background: rgba(255, 255, 255, 0.04); } .mapping-pattern { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; } .match-type-badge { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 9999px; display: inline-block; } /* ============================================================ SEARCH MODAL ============================================================ */ .search-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.15s; pointer-events: none; } .search-backdrop--open { opacity: 1; pointer-events: auto; } .search-modal { position: fixed; top: 20%; left: 50%; transform: translateX(-50%); z-index: 51; width: 560px; max-width: calc(100vw - 40px); background: var(--color-elevated); border-radius: 12px; border: 1px solid var(--color-border); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; max-height: 480px; overflow: hidden; } .search-input-wrap { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--color-border); } .search-input { background: transparent; border: none; outline: none; color: var(--color-text-primary); font-size: 16px; font-family: inherit; width: 100%; padding: 16px 0; } .search-input::placeholder { color: var(--color-text-tertiary); } .search-results { border-top: 1px solid var(--color-border); overflow-y: auto; flex: 1; padding: 4px 0; } .search-results-label { padding: 6px 16px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-tertiary); } .search-result { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; transition: background-color 0.1s; border: none; background: transparent; width: 100%; text-align: left; font-family: inherit; } .search-result:hover, .search-result--selected { background: rgba(255, 255, 255, 0.05); } .search-result-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .search-result-title { font-size: 14px; color: var(--color-text-primary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .search-result-category { font-size: 12px; color: var(--color-text-secondary); flex-shrink: 0; } .search-footer { border-top: 1px solid var(--color-border); padding: 8px 16px; font-size: 11px; color: var(--color-text-tertiary); display: flex; align-items: center; gap: 16px; } .search-footer kbd { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; background: rgba(255, 255, 255, 0.06); padding: 2px 4px; border-radius: 3px; } /* ============================================================ INLINE EDITING ============================================================ */ .inline-edit-display { cursor: pointer; transition: color 0.15s, background-color 0.15s; border-radius: 4px; } .inline-edit-display--title:hover { color: var(--color-accent); } .inline-edit-display--field { padding: 6px 12px; border-radius: 6px; } .inline-edit-display--field:hover { background: rgba(255, 255, 255, 0.05); } .inline-edit-input { background: var(--color-page); color: var(--color-text-primary); font-size: inherit; font-family: inherit; border-radius: 6px; border: 1px solid var(--color-accent); padding: 8px 12px; outline: none; width: 100%; } .inline-edit-input::placeholder { color: var(--color-text-secondary); } /* ============================================================ SUBTASK ROW ============================================================ */ .subtask-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 4px; cursor: pointer; transition: background-color 0.15s; } .subtask-row:hover { background: rgba(255, 255, 255, 0.05); } .subtask-check { width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; color: var(--color-text-secondary); display: flex; align-items: center; justify-content: center; } .subtask-check--done { color: var(--color-status-completed); } .subtask-title { font-size: 13px; color: var(--color-text-primary); } .subtask-title--done { text-decoration: line-through; color: var(--color-text-secondary); } /* ============================================================ NOTE ROW ============================================================ */ .note { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.03); } .note:last-child { border-bottom: none; } .note-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .note-type-badge { font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 9999px; } .note-type-badge--pause { background: rgba(234, 179, 8, 0.1); color: #fbbf24; } .note-type-badge--resume { background: rgba(59, 130, 246, 0.1); color: #60a5fa; } .note-type-badge--general { background: rgba(255, 255, 255, 0.06); color: var(--color-text-secondary); } .note-time { font-size: 11px; color: var(--color-text-tertiary); } .note-content { font-size: 13px; color: var(--color-text-primary); line-height: 1.5; } /* ============================================================ ACTIVITY FEED ============================================================ */ .activity-feed { display: flex; flex-direction: column; } .activity-item { display: flex; gap: 12px; padding: 10px 0; position: relative; } .activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; position: relative; z-index: 1; } .activity-line { width: 1px; background: var(--color-border); position: absolute; left: 3.5px; top: 20px; bottom: 0; } .activity-info { flex: 1; min-width: 0; } .activity-app { font-size: 13px; font-weight: 500; color: var(--color-text-primary); } .activity-title { font-size: 12px; color: var(--color-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .activity-time { font-size: 11px; color: var(--color-text-tertiary); flex-shrink: 0; } /* ============================================================ CHART CONTAINER ============================================================ */ .chart-container { position: relative; height: 288px; } /* ============================================================ SECTION TITLES (Analytics headings) ============================================================ */ .section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-secondary); font-weight: 500; margin-bottom: 16px; } .page-title { font-size: 20px; font-weight: 600; color: var(--color-text-primary); } /* ============================================================ SURFACE CONTAINER ============================================================ */ .surface { background: var(--color-surface); border-radius: 12px; border: 1px solid var(--color-border); padding: 20px; } .surface--overflow-hidden { overflow: hidden; } /* ============================================================ EMPTY STATE ============================================================ */ .empty-state { text-align: center; padding: 48px 20px; color: var(--color-text-secondary); font-size: 14px; } /* ============================================================ CREATE TASK FORM (inline in kanban column) ============================================================ */ .create-task-form { background: var(--color-surface); border-radius: 12px; border: 1px solid var(--color-border); padding: 12px; } .create-task-form .input { margin-bottom: 8px; } .create-task-form-actions { display: flex; gap: 8px; justify-content: flex-end; } /* ============================================================ ICON CLASS (inline SVG sizing) ============================================================ */ .icon { flex-shrink: 0; display: inline-block; vertical-align: middle; } /* ============================================================ TOOLTIP / DROPDOWN (generic) ============================================================ */ .dropdown { position: absolute; top: 100%; right: 0; margin-top: 4px; background: var(--color-elevated); border: 1px solid var(--color-border); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); z-index: 30; min-width: 160px; padding: 4px; } .dropdown-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; font-size: 13px; color: var(--color-text-primary); cursor: pointer; transition: background-color 0.1s; border: none; background: transparent; width: 100%; text-align: left; font-family: inherit; } .dropdown-item:hover { background: rgba(255, 255, 255, 0.05); } /* ============================================================ LOADING SPINNER ============================================================ */ .spinner { display: flex; align-items: center; justify-content: center; padding: 32px; color: var(--color-text-secondary); } .spinner-icon { animation: spin 1s linear infinite; } /* ============================================================ UTILITY CLASSES ============================================================ */ /* Display / Flex */ .flex { display: flex; } .flex-col { flex-direction: column; } .flex-1 { flex: 1; } .flex-wrap { flex-wrap: wrap; } .flex-shrink-0 { flex-shrink: 0; } .inline-flex { display: inline-flex; } .items-center { align-items: center; } .items-start { align-items: flex-start; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; } /* Grid */ .grid { display: grid; } .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .grid-cols-4 { grid-template-columns: repeat(4, 1fr); } /* Gap */ .gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; } /* Margin */ .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; } .mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .ml-auto { margin-left: auto; } .mr-2 { margin-right: 8px; } /* Padding */ .p-0 { padding: 0; } .p-2 { padding: 8px; } .p-3 { padding: 12px; } .p-4 { padding: 16px; } .p-5 { padding: 20px; } .px-2 { padding-left: 8px; padding-right: 8px; } .px-3 { padding-left: 12px; padding-right: 12px; } .px-4 { padding-left: 16px; padding-right: 16px; } .py-1 { padding-top: 4px; padding-bottom: 4px; } .py-2 { padding-top: 8px; padding-bottom: 8px; } .py-3 { padding-top: 12px; padding-bottom: 12px; } /* Width / Height */ .w-full { width: 100%; } .h-full { height: 100%; } .min-w-0 { min-width: 0; } .max-w-6xl { max-width: 72rem; } .mx-auto { margin-left: auto; margin-right: auto; } /* Text */ .text-center { text-align: center; } .text-left { text-align: left; } .text-xs { font-size: 12px; } .text-sm { font-size: 14px; } .text-lg { font-size: 18px; } .text-xl { font-size: 20px; } .text-2xl { font-size: 24px; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; } .leading-relaxed { line-height: 1.625; } .tracking-wider { letter-spacing: 0.05em; } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .line-through { text-decoration: line-through; } .text-primary { color: var(--color-text-primary); } .text-secondary { color: var(--color-text-secondary); } .text-tertiary { color: var(--color-text-tertiary); } .text-accent { color: var(--color-accent); } .text-white { color: white; } /* Truncation */ .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Visibility */ .hidden { display: none !important; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } /* Positioning */ .relative { position: relative; } .absolute { position: absolute; } .sticky { position: sticky; } /* Overflow */ .overflow-hidden { overflow: hidden; } .overflow-auto { overflow: auto; } .overflow-y-auto { overflow-y: auto; } /* Borders */ .border { border: 1px solid var(--color-border); } .border-t { border-top: 1px solid var(--color-border); } .border-b { border-bottom: 1px solid var(--color-border); } .rounded { border-radius: 6px; } .rounded-lg { border-radius: 8px; } .rounded-xl { border-radius: 12px; } .rounded-full { border-radius: 9999px; } /* Transitions */ .transition { transition: all 0.15s; } .transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; } .transition-transform { transition: transform 0.15s; } /* Cursor */ .cursor-pointer { cursor: pointer; } .cursor-grab { cursor: grab; } .cursor-grabbing { cursor: grabbing; } /* Opacity */ .opacity-50 { opacity: 0.5; } /* Space-y (vertical spacing between children) */ .space-y-2 > * + * { margin-top: 8px; } .space-y-3 > * + * { margin-top: 12px; } .space-y-4 > * + * { margin-top: 16px; } .space-y-6 > * + * { margin-top: 24px; } .space-y-8 > * + * { margin-top: 32px; } /* ============================================================ RESPONSIVE ============================================================ */ @media (max-width: 1024px) { .kanban-grid { grid-template-columns: repeat(2, 1fr); } .detail-panel { width: 100%; } } @media (max-width: 640px) { .kanban-grid { grid-template-columns: 1fr; } .grid-cols-3 { grid-template-columns: 1fr; } .search-modal { width: calc(100vw - 20px); top: 10%; } .app-header { padding: 0 12px; } }