.phase5-command{background:linear-gradient(135deg,#081b35,#153e5c);color:#fff;border-radius:22px;padding:24px;margin:0 0 22px;box-shadow:0 18px 48px rgba(8,27,53,.16)}
.phase5-command-head,.phase5-status-row,.phase5-project-context,.phase5-inbox-summary,.problem-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px}.phase5-command h2,.problem-detail-hero h2{font-size:clamp(1.55rem,3vw,2.15rem);margin:3px 0 6px}.phase5-command p{color:#d7e7f2;margin:0}.phase5-command-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.phase5-mode{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-size:.78rem;font-weight:800;white-space:nowrap;background:#fff0cf;color:#704800}.phase5-mode.is-on{background:#d9f7e7;color:#0b6540}.phase5-mode.is-off{background:#fce0df;color:#8b2520}.phase5-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.phase5-metrics article{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13);padding:14px;border-radius:14px}.phase5-metrics span,.phase5-metrics strong{display:block}.phase5-metrics span{font-size:.76rem;color:#c5dae8}.phase5-metrics strong{font-size:1.6rem;margin-top:4px}.phase5-status-row{border-top:1px solid rgba(255,255,255,.15);padding-top:16px;align-items:flex-start}.phase5-status-row>span{display:grid;gap:3px}.phase5-status-row small{color:#c5dae8}.phase5-status-row a{color:#fff;font-weight:800;display:flex;align-items:center;gap:4px}.phase5-status-row svg{width:16px}.phase5-report-grid,.problem-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 22px}.phase5-report-grid h3{margin:5px 0}.problem-intake-card{max-width:840px;margin:0 auto;background:#fff;border:1px solid var(--border,#dfe7ed);border-radius:20px;overflow:hidden}.problem-intake-note{background:#edf7f3;padding:18px 22px}.problem-intake-note p{margin:4px 0 0;color:#46615a}.problem-intake-form{padding:24px;display:grid;gap:18px}.problem-intake-form label,.feedback-reopen-form label{display:grid;gap:7px;font-weight:750}.problem-intake-form small{font-weight:500;color:#647483}.problem-options{border:1px solid #dce5eb;border-radius:14px;padding:14px}.problem-options summary{font-weight:800;cursor:pointer}.problem-options[open] summary{margin-bottom:14px}.problem-submit{min-height:52px;font-size:1rem}.phase5-inbox-summary{background:#fff;border:1px solid #dfe7ed;border-radius:17px;padding:16px 20px;margin-bottom:18px}.phase5-inbox-summary>span:not(.phase5-mode){display:grid}.phase5-inbox-summary strong{font-size:1.25rem}.phase5-inbox-summary small{color:#6f7c87}.problem-inbox{display:grid;gap:10px}.problem-report-row{display:grid;grid-template-columns:5px minmax(0,1fr) auto 20px;align-items:center;gap:16px;background:#fff;color:inherit;border:1px solid #dfe7ed;border-radius:16px;padding:16px 18px;text-decoration:none}.problem-report-row:hover{border-color:#9eb5c5;transform:translateY(-1px)}.problem-report-row>svg{width:18px}.problem-report-main{display:grid;gap:3px;min-width:0}.problem-report-main strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.problem-report-main small,.problem-report-main em{font-size:.77rem;color:#6c7b87;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.problem-severity{width:5px;height:44px;border-radius:99px;background:#8aa0af}.problem-severity.priority-urgent{background:#cf3d36}.problem-severity.priority-high{background:#e58c28}.problem-severity.priority-normal{background:#2d78ad}.problem-report-row.is-fixture{opacity:.72}.problem-detail-hero{background:#fff;border:1px solid #dfe7ed;border-radius:20px;padding:22px;margin-bottom:18px;align-items:flex-start}.problem-detail-hero p{margin:7px 0 0;max-width:780px;color:#566673}.problem-detail-grid .content-card h3{margin:4px 0 14px}.feedback-review-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:26px}.feedback-actions{display:grid;gap:12px}.feedback-reopen-form{display:grid;gap:8px}.phase5-project-context{background:#edf7f3;border:1px solid #c9e7dc;border-radius:16px;padding:16px 18px;margin:0 0 18px}.phase5-project-context h2{margin:3px 0;font-size:1.1rem}.phase5-project-context p{margin:0;color:#567069}.phase5-settings .rule-row select{width:auto;min-width:100px}.phase5-technical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.phase5-technical-grid>span{display:grid;gap:4px;background:#f5f8fa;border-radius:12px;padding:13px}.phase5-technical-grid small{color:#647482}.health-event-list{display:grid;gap:8px;margin-top:14px}.health-event-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid #e3eaee;padding-top:10px}.health-event-list small{color:#71808b}.problem-report-button svg{width:18px}.phase5-command .button-primary{background:#fff;color:#0b3855}.phase5-command .button-primary:hover{background:#eaf5fb}
@media(max-width:760px){.phase5-command{padding:18px;border-radius:17px}.phase5-command-head,.phase5-status-row,.phase5-project-context,.problem-detail-hero{align-items:stretch;flex-direction:column}.phase5-command-actions{justify-content:stretch}.phase5-command-actions>*{flex:1;text-align:center;justify-content:center}.phase5-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.phase5-status-row{gap:12px}.phase5-report-grid,.problem-detail-grid,.feedback-review-card{grid-template-columns:1fr}.problem-intake-card{border-radius:16px}.problem-intake-form{padding:18px}.problem-intake-form .field-grid{grid-template-columns:1fr}.phase5-inbox-summary{display:grid;grid-template-columns:repeat(3,1fr)}.phase5-inbox-summary .phase5-mode{grid-column:1/-1;justify-content:center}.problem-report-row{grid-template-columns:5px minmax(0,1fr) 18px;padding:14px 12px;gap:10px}.problem-report-row>.badge{grid-column:2;justify-self:start}.problem-report-main strong,.problem-report-main small,.problem-report-main em{white-space:normal}.phase5-technical-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-event-list article{grid-template-columns:1fr}.phase5-project-context .button{width:100%;justify-content:center}.problem-submit{position:sticky;bottom:82px;z-index:2}}
