.matters-panel{min-width:0;padding:12px 0 32px}.matters-panel h2,.matters-panel h3{margin:0 0 10px}.matters-panel p{line-height:1.65}.matters-panel button{cursor:pointer;border:1px solid var(--line,#d8e1df);background:var(--surface,#fff);color:inherit;font:inherit;border-radius:8px;padding:9px 14px}.matters-panel button:disabled{opacity:.55;cursor:wait}.matters-panel button.primary,.matters-panel button[aria-pressed=true]{color:#fff;background:#176858;border-color:#176858}.matters-panel label{flex-direction:column;gap:6px;min-width:0;font-size:13px;display:flex}.matters-panel input,.matters-panel textarea,.matters-panel select{width:100%;min-width:0;color:inherit;font:inherit;border:1px solid var(--line,#d8e1df);background:var(--surface,#fff);border-radius:7px;padding:10px}.matters-panel textarea{resize:vertical}.matter-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.matter-toolbar p{color:#63736e;margin:4px 0}.matter-toolbar [role=group]{gap:8px;display:flex}.matter-filters{grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px;margin-bottom:20px;display:grid}.matter-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px;display:grid}.matters-panel .matter-card{text-align:left;border-radius:12px;padding:22px}.matter-card>div,.matter-card footer{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.matter-card h3{overflow-wrap:anywhere;margin-top:18px}.matter-card footer{color:#63736e;font-size:12px}.matter-state{color:#4b615a;background:#eef2f1;border-radius:5px;padding:3px 8px;font-size:12px;display:inline-block}.state-active{color:#155e4a;background:#dff2ec}.state-waiting{color:#79520a;background:#fff0cd}.state-done{color:#385d8b;background:#e6eef9}.matter-empty{text-align:center;color:#63736e;padding:50px 20px}.matter-form{border:1px solid var(--line,#d8e1df);background:var(--surface,#fff);border-radius:12px;gap:14px;margin-bottom:18px;padding:20px;display:grid}.matter-form details>*{margin-top:12px}.matter-form small{color:#63736e;line-height:1.5}.matters-panel .matter-error{color:#aa332c;overflow-wrap:anywhere}.matter-heading{margin:24px 0}.matter-heading h2{margin-top:10px}.matter-current{background:#edf6f2;border-left:3px solid #176858;border-radius:0 10px 10px 0;padding:16px 20px}.matter-current p{margin:5px 0}.matter-detail-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:28px;display:grid}.matter-detail-main,.matter-action-panel{align-items:start;gap:20px;min-width:0;display:grid}.matter-view-tabs{align-items:flex-end;gap:8px;min-height:63px;display:flex}.matter-history,.matter-action-forms{min-width:0}.matter-timeline{border-left:2px solid #d8e1df;margin:0 0 20px 7px;padding:0 0 0 24px;list-style:none}.matter-timeline>li{padding:0 0 30px;position:relative}.matter-timeline>li:before{content:"";background:#176858;border-radius:50%;outline:4px solid #fff;width:10px;height:10px;position:absolute;top:4px;left:-30px}.matter-event-meta{color:#63736e;flex-wrap:wrap;gap:8px 16px;font-size:12px;display:flex}.matter-event-meta time{color:#176858;font-weight:600}.matter-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.matter-timeline small,.matter-timeline details{color:#63736e;font-size:12px;line-height:1.65}.matter-timeline details{margin-top:10px}.matter-tree,.matter-tree ul{padding-left:18px;list-style:none}.matter-tree{padding-left:0}.matter-tree ul{border-left:1px solid #ccdcd5;margin-left:12px}.matter-tree li{padding:6px 0}.matter-tree button{text-align:left;flex-wrap:wrap;gap:8px;width:100%;display:flex}.matter-tree small{overflow-wrap:anywhere;flex-basis:100%}.matter-tree strong{overflow-wrap:anywhere}.matter-tree .selected{background:#edf6f2;border-color:#176858}@media (max-width:760px){.matter-detail-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"tabs""target""summary""actions""history";gap:16px}.matter-detail-main,.matter-action-panel{display:contents}.matter-view-tabs{grid-area:tabs;min-height:0}.matter-record-target{grid-area:target}.matter-current{grid-area:summary}.matter-action-forms{grid-area:actions}.matter-history{grid-area:history}.matter-filters{grid-template-columns:1fr 1fr}.matter-filters>label:first-child{grid-column:1/-1}.matter-toolbar{align-items:flex-start}.matter-toolbar label{width:100%}.matter-form{padding:16px}.matter-tree ul{margin-left:4px;padding-left:10px}}
