/* ───────────────────────────────────────────────────────────── * misc2.css — Misc standalone templates (batch 2) * ─────────────────────────────────────────────────────────── */ /* ── domain ─── */ .catalogue-header { margin-bottom: 2rem; } .catalogue-title { font-size: 1.375rem; font-weight: 700; color: var(--text); margin: 0 0 0.25rem; display: flex; align-items: center; gap: 0.625rem; } .catalogue-title svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; } .catalogue-desc { font-size: 0.875rem; color: var(--text-muted); margin: 0; } /* Product cards grid */ .catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; } .product-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; cursor: pointer; } .product-card:hover { border-color: var(--primary); } [data-theme="dark"] .product-card:hover { border-color: var(--primary); } .product-icon { width: 42px; height: 42px; border-radius: var(--radius, 8px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; } .product-info { flex: 1; min-width: 0; } .product-info h3 { font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.25rem; color: var(--text); } .product-creator { font-weight: 400; font-size: 0.75rem; color: var(--text-muted); } .product-info p { font-size: 0.8125rem; color: var(--text-muted); margin: 0; line-height: 1.4; } .product-arrow { margin-left: auto; color: var(--text-light, var(--text-muted)); opacity: 0; transition: opacity 0.15s, transform 0.15s; align-self: center; flex-shrink: 0; } .product-card:hover .product-arrow { opacity: 1; transform: translateX(2px); } /* Empty state */ .catalogue-empty { text-align: center; padding: 4rem 2rem; color: var(--text-muted); } .catalogue-empty svg { width: 48px; height: 48px; margin: 0 auto 1rem; opacity: 0.4; } @media (max-width: 640px) { .catalogue-grid { grid-template-columns: 1fr; } } /* ── pwa_analytics ─── */ .analytics-dashboard { padding: 2rem; max-width: 1200px; margin: 0 auto; } .analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .analytics-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04)); } .analytics-card h3 { margin: 0 0 1rem 0; color: var(--color-primary); font-size: 1.2rem; } .metric-value { font-size: 2rem; font-weight: bold; color: var(--color-accent); margin: 0.5rem 0; } .metric-label { color: var(--color-text-secondary); font-size: 0.9rem; } .chart-container { position: relative; height: 300px; margin-top: 1rem; } .healthcare-insight { background: var(--color-primary); color: white; border: none; } .healthcare-insight .metric-value { color: white; } /* loading-spinner defined in main.css — uses --lg variant here */ .error-message { color: var(--color-error); padding: 1rem; background: var(--color-error-bg); border-radius: 8px; margin: 1rem 0; } /* ── quick_actions ─── */ .quick-action-card { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: border-color 0.12s ease; } .quick-action-card:hover { border-color: var(--border-strong, #d1d5db); } .card-icon { font-size: 3rem; margin-bottom: 1rem; } .card-title { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; } .card-description { color: var(--text-muted); font-size: 0.875rem; } /* Old modal CSS removed in Sprint 43 — using y-overlay + y-modal */ /* ── studies_dashboard ─── */ .y-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; } .y-badge--success { background: #d1fae5; color: #065f46; } .y-badge--warning { background: #fef3c7; color: #92400e; } .y-badge--muted { background: var(--bg-muted); color: var(--text-muted); } /* ── lifecycle_readiness ─── */ .rc-item { display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.625rem;border:1px solid var(--border);border-radius:0.5rem;background:var(--surface);cursor:pointer;transition:all 0.12s;position:relative; } .rc-item:active { transform:scale(0.98); } .rc-item.st-cleared,.rc-item.st-reviewed { background:#ecfdf5;border-color:#a7f3d040; } .rc-item.st-pending { background:#fffbeb;border-color:#fbbf2440; } .rc-item.st-abnormal { background:#fef2f2;border-color:#fecaca80; } .rc-item.st-not_applicable { opacity:0.55; } .rc-check { width:20px;height:20px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:0.625rem;font-weight:700; } .rc-opts { display:flex;gap:0.25rem;flex-wrap:wrap;margin-top:0.375rem;padding-left:2rem; } .rc-opt { padding:0.1875rem 0.5rem;border-radius:4px;font-size:0.6875rem;font-weight:500;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--text-muted);min-height:28px;transition:all 0.1s; } .rc-opt:hover { border-color:var(--primary);color:var(--primary); } .rc-opt.on { border-color:#3b82f6;background:#3b82f620;color:#3b82f6; } @media(max-width:640px) { .rc-opt { min-height:36px;font-size:0.75rem; } .rc-item { padding:0.625rem; } } /* ── admin ─── */ :root { --bg: #f9fafb; --surface: #ffffff; --text: #111827; --border: #e5e7eb; } [data-theme="dark"] { --bg: #0c0c0c; --surface: #171717; --text: #fafafa; --border: #262626; } body { transition: background-color 0.15s ease, color 0.15s ease; }