/
DKoko
/
task-manager-light
Обзор
Документация
Войти
/
DKoko
/
task-manager-light
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/app/globals.css
1 423 строки
25 KB
NMitin
Explain dental process priorities
28 июл 2026, 10:24
28 июл 2026, 10:24
b61d7de
Код
Авторство
О чём код?
:root { --bg: #0f1115; --panel: #171a21; --panel-2: #1f2430; --text: #e6e8ec; --muted: #9aa3b2; --border: #2a2f3a; --accent: #4f8cff; --accent-2: #3b6fd4; --ok: #2ea36b; --warn: #d9a441; --danger: #d9534f; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 15px; line-height: 1.5; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } button, input, textarea, select { font: inherit; color: inherit; } input, textarea, select { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; width: 100%; } input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); } button { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; cursor: pointer; font-weight: 600; } button:hover:not(:disabled) { background: var(--accent-2); } button:disabled { opacity: 0.5; cursor: not-allowed; } button.secondary { background: var(--panel-2); border: 1px solid var(--border); } button.secondary:hover:not(:disabled) { background: var(--border); } button.danger { background: var(--danger); } .muted { color: var(--muted); } .error { color: var(--danger); font-size: 13px; } /* --- страница входа --- */ .auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; } .auth-card { width: 100%; max-width: 340px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; } .auth-card h1 { margin: 0; font-size: 20px; } .auth-card p { margin: 0 0 6px; } .auth-card button { width: 100%; margin-top: 4px; } /* --- layout --- */ .container { max-width: 880px; margin: 0 auto; padding: 24px 20px 80px; } .page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; } .page-header h1 { margin: 0; font-size: 22px; } /* --- форма задачи --- */ .task-form { display: flex; flex-direction: column; gap: 16px; } .field { display: flex; flex-direction: column; gap: 6px; } .field > span { font-size: 13px; color: var(--muted); } .row { display: flex; gap: 12px; flex-wrap: wrap; } .row .field { flex: 1; min-width: 160px; } .actions { display: flex; gap: 10px; } /* --- rich text редактор --- */ .rt-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--panel-2); } .rt-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: var(--panel); border-bottom: 1px solid var(--border); } .rt-toolbar button { background: transparent; border: 0; color: var(--text); width: 30px; height: 30px; padding: 0; border-radius: 6px; font-weight: 700; cursor: pointer; } .rt-toolbar button:hover:not(.is-active) { background: var(--panel-2); } .rt-toolbar button.is-active { background: var(--accent); color: #fff; } .rt-sep { width: 1px; background: var(--border); margin: 4px 4px; } .rt-wrap .ProseMirror { min-height: 160px; padding: 12px 14px; outline: none; } .rt-wrap .ProseMirror p { margin: 0 0 8px; } .rt-wrap .ProseMirror h2 { font-size: 18px; margin: 14px 0 8px; line-height: 1.3; } .rt-wrap .ProseMirror ul, .rt-wrap .ProseMirror ol { margin: 0 0 8px; padding-left: 22px; } .rt-wrap .ProseMirror blockquote { margin: 0 0 8px; padding: 4px 14px; border-left: 3px solid var(--border); color: var(--muted); } .rt-wrap .ProseMirror pre { background: #0c0e12; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; overflow: auto; } .rt-wrap .ProseMirror img { max-width: 100%; height: auto; border-radius: 8px; margin: 4px 0; } /* --- просмотр описания задачи (read-only) --- */ .task-desc { line-height: 1.6; } .task-desc p { margin: 0 0 10px; } .task-desc h2 { font-size: 18px; margin: 16px 0 8px; } .task-desc ul, .task-desc ol { margin: 0 0 10px; padding-left: 22px; } .task-desc img { max-width: 100%; height: auto; border-radius: 8px; margin: 4px 0; } .task-desc blockquote { margin: 0 0 10px; padding: 4px 14px; border-left: 3px solid var(--border); color: var(--muted); } .task-desc pre { background: #0c0e12; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; overflow: auto; } /* --- topbar --- */ .topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); } .topbar .brand { font-weight: 700; font-size: 17px; } /* --- кнопка-ссылка --- */ .btn-link { display: inline-flex; align-items: center; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; } .btn-link:hover { background: var(--accent-2); text-decoration: none; } .btn-link.subtle { background: transparent; color: var(--muted); padding: 8px 10px; } .btn-link.subtle:hover { color: var(--text); background: var(--panel-2); } /* --- фильтры --- */ .filters { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; } .filters input { width: auto; min-width: 220px; flex: 1; } .filters select { width: auto; } /* --- список задач --- */ .task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .task-list li { border: 1px solid var(--border); border-radius: 10px; background: var(--panel); transition: border-color 0.15s; } .task-list li:hover { border-color: var(--accent); } .task-list li.overdue { border-left: 3px solid var(--danger); } .task-card { display: block; padding: 14px 16px; color: inherit; } .task-card:hover { text-decoration: none; } .task-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .task-title { font-weight: 600; } .task-meta { display: flex; gap: 18px; font-size: 13px; margin-top: 6px; } .empty { padding: 30px 0; text-align: center; } /* --- бейджи статусов --- */ .badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; } .badge.new { background: rgba(79, 140, 255, 0.15); color: #7aa9ff; border-color: rgba(79, 140, 255, 0.3); } .badge.in_progress { background: rgba(217, 164, 65, 0.15); color: #e0b25c; border-color: rgba(217, 164, 65, 0.3); } .badge.done { background: rgba(46, 163, 107, 0.15); color: #4ec387; border-color: rgba(46, 163, 107, 0.3); } .badge.cancelled { background: rgba(154, 163, 178, 0.12); color: var(--muted); border-color: var(--border); } /* --- блок метаданных задачи --- */ .task-meta-block { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 18px; font-size: 14px; } /* --- инлайн подтверждение удаления --- */ .confirm-inline { display: inline-flex; align-items: center; gap: 8px; } .danger-text { color: var(--danger); } /* --- общая навигация приложения --- */ .app-topbar { gap: 18px; } .app-topbar .brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); white-space: nowrap; } .app-topbar .brand:hover { text-decoration: none; } .brand-mark { display: grid; width: 30px; height: 30px; color: #fff; font-size: 11px; font-weight: 800; place-items: center; background: var(--accent); border-radius: 8px; } .app-navigation { display: flex; flex: 1; justify-content: center; gap: 5px; } .app-navigation a { padding: 7px 11px; color: var(--muted); font-size: 13px; font-weight: 600; border-radius: 7px; } .app-navigation a:hover, .app-navigation a.active { color: var(--text); text-decoration: none; background: var(--panel-2); } /* --- карта стоматологического процесса --- */ .process-shell { min-height: 100vh; padding: 24px 28px 70px; background: #f3f7f6; } .process-shell > .app-topbar { max-width: 1500px; margin: 0 auto 20px; color: var(--text); background: var(--bg); border: 0; border-radius: 14px; padding: 10px 14px; } .dental-process { --dp-ink: #18312e; --dp-muted: #647773; --dp-line: #dce7e4; color: var(--dp-ink); } .dp-hero { display: flex; justify-content: space-between; gap: 30px; max-width: 1500px; margin: 0 auto 16px; padding: 32px 36px; overflow: hidden; color: #fff; background: linear-gradient(110deg, rgba(19, 69, 62, 0.97), rgba(21, 104, 88, 0.92)), repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 18px 20px); border-radius: 22px; box-shadow: 0 18px 48px rgba(20, 67, 59, 0.18); } .dp-hero-copy { max-width: 850px; } .dp-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: #bce8db; font-size: 11px; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; } .dp-live-dot { width: 8px; height: 8px; background: #76e1be; border-radius: 50%; box-shadow: 0 0 0 5px rgba(118, 225, 190, 0.13); } .dp-hero h1 { margin: 0 0 11px; font-size: clamp(29px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.035em; } .dp-hero p { max-width: 760px; margin: 0; color: #d9eeea; font-size: 15px; line-height: 1.55; } .dp-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #b8d8d2; font-size: 11px; } .dp-hero-actions { display: flex; align-content: flex-start; align-self: flex-start; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 380px; } .dp-action { display: inline-flex; width: auto; min-height: 40px; align-items: center; justify-content: center; padding: 0 14px; color: #edf8f5; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; } .dp-action:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.17); } .dp-action.primary { color: #16483f; background: #ddf8ef; } .dp-action.print { color: #edf8f5; } .dp-summary { display: flex; align-items: stretch; gap: 11px; max-width: 1500px; margin: 0 auto 16px; } .dp-progress-card, .dp-metric { display: flex; align-items: center; background: #fff; border: 1px solid var(--dp-line); border-radius: 16px; box-shadow: 0 7px 22px rgba(41, 76, 70, 0.06); } .dp-progress-card { min-width: 300px; flex: 1.6; gap: 17px; padding: 14px 18px; } .dp-progress-ring { display: grid; width: 72px; height: 72px; flex: 0 0 auto; place-items: center; background: conic-gradient(#2f9c7c var(--process-progress), #e5eeec 0); border-radius: 50%; } .dp-progress-ring::before { grid-area: 1 / 1; width: 56px; height: 56px; content: ''; background: #fff; border-radius: 50%; } .dp-progress-ring div { z-index: 1; display: flex; grid-area: 1 / 1; flex-direction: column; align-items: center; } .dp-progress-ring strong { font-size: 18px; line-height: 1; } .dp-progress-ring span, .dp-progress-card > div > span, .dp-progress-card small { color: var(--dp-muted); font-size: 9px; } .dp-progress-card > div > span, .dp-progress-card > div > strong, .dp-progress-card small { display: block; } .dp-progress-card > div > strong { margin: 2px 0; font-size: 18px; } .dp-metric { min-width: 130px; flex: 1; justify-content: space-between; padding: 16px; } .dp-metric i { display: grid; width: 38px; height: 38px; font-style: normal; font-size: 18px; place-items: center; border-radius: 10px; } .dp-metric div { display: flex; flex-direction: column; align-items: flex-end; } .dp-metric span { color: var(--dp-muted); font-size: 10px; } .dp-metric strong { font-size: 23px; } .dp-metric.ready i { color: #188665; background: #e1f6ef; } .dp-metric.partial i { color: #9b6810; background: #fff3d7; } .dp-metric.backlog i { color: #6d778a; background: #eef1f5; } .dp-metric.external i { color: #5573a9; background: #eaf0fb; } .dp-phase-nav { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1500px; margin: 0 auto 16px; overflow: hidden; background: #fff; border: 1px solid var(--dp-line); border-radius: 15px; } .dp-phase-nav a { display: flex; align-items: center; gap: 11px; padding: 13px 16px; color: inherit; border-right: 1px solid var(--dp-line); } .dp-phase-nav a:last-child { border: 0; } .dp-phase-nav a:hover { text-decoration: none; background: #f1faf7; } .dp-phase-nav a > span, .dp-phase-number { display: grid; width: 31px; height: 31px; flex: 0 0 auto; color: #fff; font-size: 12px; font-weight: 800; place-items: center; background: #287f6b; border-radius: 9px; } .dp-phase-nav a div { display: flex; min-width: 0; flex-direction: column; } .dp-phase-nav strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .dp-phase-nav small { color: var(--dp-muted); font-size: 9px; } .dp-focus { max-width: 1500px; margin: 0 auto 16px; padding: 22px; background: #eaf4f1; border: 1px solid #d4e5e0; border-radius: 18px; } .dp-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; } .dp-section-title span { color: #27836d; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; } .dp-section-title h2 { margin: 2px 0 0; font-size: 19px; } .dp-section-title b { padding: 5px 9px; color: #287b68; font-size: 10px; background: #fff; border-radius: 20px; } .dp-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .dp-focus-grid > article { position: relative; padding: 17px; overflow: hidden; background: #fff; border: 1px solid #d6e5e1; border-radius: 14px; } .dp-focus-number { position: absolute; top: 1px; right: 10px; color: #edf4f2; font-size: 43px; font-weight: 900; } .dp-focus-grid h3 { position: relative; max-width: 85%; margin: 0 0 10px; font-size: 14px; } .dp-focus-grid ul { min-height: 43px; margin: 0 0 12px; padding-left: 16px; color: var(--dp-muted); font-size: 10px; } .dp-expected { display: flex; align-items: flex-start; gap: 8px; padding-top: 10px; font-size: 10px; border-top: 1px solid #e8efed; } .dp-expected > span { color: #27836d; } .dp-expected p, .dp-expected small { display: block; margin: 0; } .dp-expected small { color: var(--dp-muted); font-size: 8px; font-weight: 700; text-transform: uppercase; } .dp-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; max-width: 1500px; margin: 0 auto; } .dp-filters { position: sticky; z-index: 5; top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 11px; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--dp-line); border-radius: 13px; box-shadow: 0 8px 23px rgba(40, 74, 68, 0.09); } .dp-filters input, .dp-filters select, .dp-reset { width: auto; height: 37px; color: var(--dp-ink); font-size: 11px; background: #f7f9f9; border: 1px solid #d8e3e0; border-radius: 8px; } .dp-filters input { min-width: 230px; flex: 1; } .dp-filters select { max-width: 170px; } .dp-reset { padding: 0 10px; color: #964d4d; } .dp-phase-sections { display: flex; flex-direction: column; gap: 16px; } .dp-phase-section { scroll-margin-top: 75px; padding: 18px; background: #fff; border: 1px solid var(--dp-line); border-radius: 17px; } .dp-phase-section > header { display: grid; grid-template-columns: auto minmax(0, 1fr) 140px; align-items: center; gap: 12px; margin-bottom: 15px; } .dp-phase-section > header h2 { margin: 0 0 2px; font-size: 18px; } .dp-phase-section > header p { margin: 0; color: var(--dp-muted); font-size: 10px; } .dp-phase-progress { text-align: right; } .dp-phase-progress strong { display: block; margin-bottom: 4px; font-size: 13px; } .dp-phase-progress > span { display: block; height: 5px; overflow: hidden; background: #e6eeec; border-radius: 10px; } .dp-phase-progress i { display: block; height: 100%; background: #309176; } .dp-item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dp-process-item { position: relative; padding: 15px; overflow: hidden; background: #fbfcfc; border: 1px solid #dfe8e6; border-radius: 12px; } .dp-process-item::before { position: absolute; top: 0; left: 0; width: 4px; height: 100%; content: ''; background: #a6b3b1; } .dp-process-item.status-implemented::before { background: #27a17d; } .dp-process-item.status-partial::before { background: #d69b2d; } .dp-process-item.status-prototype::before { background: #ba78d0; } .dp-process-item.status-not-started::before { background: #8f9aa8; } .dp-process-item.status-external::before { background: #6c88ba; } .dp-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; } .dp-item-top > span, .dp-diagram-id { color: #80908d; font-size: 8px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; } .dp-item-top b { display: inline-flex; align-items: center; padding: 3px 6px; font-size: 8px; background: #edf0f0; border-radius: 5px; } .dp-item-top .priority-p0 { color: #a93e3e; background: #fce9e9; } .dp-item-top .priority-p1 { color: #936319; background: #fff1d8; } .dp-item-top .priority-p2 { color: #61706e; background: #edf0f0; } .dp-process-item h3 { margin: 0 0 6px; font-size: 14px; } .dp-item-summary { min-height: 45px; margin: 0 0 10px; color: #526662; font-size: 10px; } .dp-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 11px; } .dp-badges span { padding: 3px 6px; color: #566865; font-size: 8px; font-weight: 700; background: #eef2f1; border-radius: 5px; } .dp-badges .implementation-implemented { color: #18775c; background: #ddf4ec; } .dp-badges .implementation-partial { color: #91600a; background: #fff0ce; } .dp-badges .implementation-prototype { color: #7c4c91; background: #f3e7f7; } .dp-badges .implementation-not-started { color: #68747f; background: #eaedf0; } .dp-badges .implementation-external { color: #516b9b; background: #e6edfa; } .dp-context { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 11px; } .dp-context dt { margin-bottom: 3px; color: #899794; font-size: 8px; font-weight: 700; text-transform: uppercase; } .dp-context dd { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; font-size: 9px; } .dp-context dd span { padding: 2px 5px; background: #edf4f2; border-radius: 4px; } .dp-next-action { margin-bottom: 9px; padding: 9px; background: #f1f7f5; border-radius: 8px; } .dp-next-action span { color: #27816b; font-size: 7px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .dp-next-action p { margin: 2px 0 0; font-size: 9px; } .dp-process-item details { margin-bottom: 8px; font-size: 8px; } .dp-process-item summary { color: #58726c; cursor: pointer; } .dp-process-item details ul { margin: 6px 0 0; padding-left: 15px; } .dp-process-item code { font-size: 8px; overflow-wrap: anywhere; } .dp-diagram-id { display: block; } .dp-sidebar { display: flex; flex-direction: column; gap: 11px; } .dp-side-card, .dp-update-card { padding: 16px; background: #fff; border: 1px solid var(--dp-line); border-radius: 14px; } .dp-side-card > header { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; } .dp-side-card > header > span { display: grid; width: 23px; height: 23px; color: #2e8a73; font-weight: 800; place-items: center; background: #e6f4f0; border-radius: 7px; } .dp-side-card h2, .dp-update-card h2 { margin: 0; font-size: 14px; } .dp-risk-list, .dp-decision-list, .dp-priority-list, .dp-system-list { margin: 0; padding: 0; list-style: none; } .dp-risk-list li, .dp-decision-list li, .dp-priority-list li, .dp-system-list li { padding: 9px 0; border-top: 1px solid #e8eeed; } .dp-risk-list li:first-child, .dp-decision-list li:first-child, .dp-priority-list li:first-child, .dp-system-list li:first-child { padding-top: 0; border: 0; } .dp-risk-list span, .dp-decision-list span { display: inline-block; padding: 2px 5px; font-size: 7px; font-weight: 800; text-transform: uppercase; border-radius: 4px; } .dp-risk-list p, .dp-decision-list p, .dp-priority-list p, .dp-system-list p { margin: 5px 0 0; color: #536662; font-size: 9px; } .dp-risk-list .risk-high { color: #a63f3f; background: #fce8e8; } .dp-risk-list .risk-medium { color: #94600d; background: #fff0cf; } .dp-risk-list .risk-low { color: #27735f; background: #e1f3ed; } .dp-decision-list li > div { display: flex; justify-content: space-between; } .dp-decision-list time { color: #7f8e8b; font-size: 8px; } .dp-decision-list .decision-accepted { color: #25725e; background: #def3ec; } .dp-decision-list .decision-open { color: #95600d; background: #fff0cf; } .dp-priority-list li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px; } .dp-priority-list b { min-width: 27px; padding: 3px 5px; text-align: center; font-size: 8px; border-radius: 5px; } .dp-priority-list p { margin-top: 0; } .dp-priority-list p strong { color: var(--dp-ink); text-transform: capitalize; } .dp-priority-list .priority-p0 { color: #a93e3e; background: #fce9e9; } .dp-priority-list .priority-p1 { color: #936319; background: #fff1d8; } .dp-priority-list .priority-p2 { color: #61706e; background: #edf0f0; } .dp-system-list strong { font-size: 10px; } .dp-update-card { color: #fff; background: #1d554c; border-color: #1d554c; } .dp-update-card > span { display: block; margin-bottom: 7px; color: #8de2c8; font-size: 20px; } .dp-update-card p { margin: 7px 0; color: #cae4de; font-size: 9px; } .dp-update-card code { display: block; padding: 7px; color: #ddf8f0; font-size: 8px; overflow-wrap: anywhere; background: rgba(0, 0, 0, 0.17); border-radius: 6px; } .dp-update-card small { display: block; margin-top: 7px; color: #a9cec5; font-size: 8px; } .dp-empty { padding: 60px 20px; text-align: center; background: #fff; border: 1px solid var(--dp-line); border-radius: 15px; } .dp-empty p { color: var(--dp-muted); } .dp-empty button { width: auto; } @media (max-width: 1180px) { .dp-summary { flex-wrap: wrap; } .dp-progress-card { flex-basis: 100%; } .dp-workspace { grid-template-columns: 1fr; } .dp-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); } } @media (max-width: 820px) { .process-shell { padding: 14px; } .app-topbar { flex-wrap: wrap; } .app-navigation { order: 3; flex-basis: 100%; justify-content: flex-start; } .dp-hero { flex-direction: column; padding: 24px; } .dp-hero-actions { justify-content: flex-start; max-width: none; } .dp-phase-nav { grid-template-columns: repeat(2, 1fr); } .dp-focus-grid, .dp-item-grid, .dp-sidebar { grid-template-columns: 1fr; } .dp-phase-section > header { grid-template-columns: auto 1fr; } .dp-phase-progress { display: none; } } @media (max-width: 520px) { .dp-summary { display: grid; grid-template-columns: 1fr 1fr; } .dp-progress-card { grid-column: 1 / -1; min-width: 0; } .dp-metric { min-width: 0; } .dp-phase-nav { grid-template-columns: 1fr; } .dp-filters { position: static; } .dp-filters input, .dp-filters select { width: 100%; max-width: none; } .dp-context { grid-template-columns: 1fr; } } @media print { body, .process-shell { background: #fff; } .process-shell { padding: 0; } .process-shell > .app-topbar, .dp-hero-actions, .dp-filters, .dp-phase-nav, .dp-update-card { display: none; } .dp-hero { color: var(--dp-ink); background: #eef6f3; box-shadow: none; } .dp-hero p, .dp-hero-meta { color: #4f6862; } .dp-workspace { display: block; } .dp-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; } .dp-phase-section, .dp-process-item, .dp-side-card { break-inside: avoid; } .dp-process-item details { display: none; } }