.case-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:8px 0 22px}.case-head h1{margin:6px 0 10px;max-width:820px}.case-head p{display:flex;gap:12px;align-items:center;margin:0;color:#667085}.case-clock{min-width:170px;padding:14px 16px;border-left:3px solid #1769e0;background:#f7f9fc}.case-clock small,.case-clock span{display:block;color:#667085;font-size:12px}.case-clock b{display:block;font-size:22px;margin:3px 0}
.case-head-actions{display:flex;align-items:center;gap:10px}
.governance-hero{padding:18px 0 6px;border-bottom:1px solid #dfe3e8}.governance-seal{min-width:120px;padding:14px 18px;border-left:3px solid #1769e0;background:#fff}.governance-seal b,.governance-seal span{display:block}.governance-seal b{font-size:28px}.governance-seal span{font-size:11px;color:#667085}.governance-section{padding:0;overflow:hidden}.governance-section .section-head{padding:20px 20px 0}.governance-section td{white-space:normal;min-width:110px}.permission-table td:not(:first-child),.permission-table th:not(:first-child){text-align:center}.matrix-note{margin:0;padding:14px 20px;background:#f8fafc;color:#667085;font-size:12px}.control-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.control-grid article{padding:18px;background:#fff;border:1px solid #e4e7ec;border-top:3px solid #1769e0}.control-grid span{font:700 18px ui-monospace,SFMono-Regular,Consolas;color:#1769e0}.control-grid b{display:block;margin-top:8px}.control-grid p{margin:5px 0 0;color:#667085;font-size:11px;line-height:1.55}
.admin-permission-row{background:#f3f7ff}.admin-permission-row td{color:#174ea6;font-weight:650}.admin-override-note{margin-bottom:14px;padding:12px 13px;border-left:3px solid #1769e0;background:#f3f7ff}.admin-override-note b{font-size:12px;color:#174ea6}.admin-override-note p{margin:3px 0 0;color:#667085;font-size:11px;line-height:1.5}
.workflow-panel{margin-bottom:20px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}
.workflow-summary{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 22px 18px;border-bottom:1px solid var(--line);background:#fbfcff}.workflow-summary-copy{min-width:0}.workflow-kicker,.workflow-current-heading>span{display:block;color:var(--blue);font:700 10px/1.3 ui-monospace,SFMono-Regular,Consolas;letter-spacing:.13em}.workflow-summary-title{display:flex;align-items:baseline;gap:10px;margin-top:4px}.workflow-summary h2{margin:0;font-size:19px;letter-spacing:-.02em}.workflow-summary p{margin:0;color:var(--muted);font-size:12px}.workflow-progress-wrap{width:min(440px,48%);min-width:300px}.workflow-progress-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;color:#667085;font-size:11px}.workflow-progress-label strong{color:#344054;font-size:12px;font-variant-numeric:tabular-nums}.workflow-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#e8edf3}.workflow-progress-track span{display:block;width:var(--workflow-progress);height:100%;border-radius:inherit;background:var(--blue);transition:width .6s ease}.workflow-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:9px;color:#667085;font-size:10px}.workflow-legend span{display:inline-flex;align-items:center;gap:5px}.workflow-legend i{width:6px;height:6px;border-radius:50%;background:#cbd5e1}.workflow-legend .is-completed i{background:var(--green)}.workflow-legend .is-active i{background:var(--blue);box-shadow:0 0 0 3px rgba(0,113,227,.12)}
.workflow-map{padding:16px 22px 6px}.workflow-phase-row{display:grid;grid-template-columns:2fr 3fr 2fr;margin:0 0 2px;color:#98a2b3;font-size:10px;font-weight:700;letter-spacing:.06em}.workflow-phase-row span{padding:0 12px}.workflow-phase-row span+span{border-left:1px solid #e8edf3}.workflow-rail{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin:0;padding:16px 0 0;list-style:none}.workflow-rail:before{content:"";position:absolute;z-index:0;top:30px;left:7.14%;right:7.14%;height:2px;background:#e4eaf1}.workflow-rail li{position:relative;z-index:1;min-width:0}.workflow-step{display:grid;grid-template-rows:32px auto auto 1fr;justify-items:center;min-height:130px;padding:0 8px 14px;text-align:center;color:#475467}.workflow-node{position:relative;display:grid;place-items:center;width:28px;height:28px;margin:0 0 8px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;color:#94a3b8;font:700 9px/1 ui-monospace,SFMono-Regular,Consolas}.workflow-step-status{min-width:0;min-height:16px;color:#98a2b3;font-size:10px;line-height:1.35;white-space:nowrap}.workflow-step-name{min-width:0;margin-top:2px;color:#475467;font-size:13px;line-height:1.45;text-wrap:pretty}.workflow-step-owner{display:block;min-width:0;margin-top:6px;overflow:hidden;color:#667085;font-size:10px;line-height:1.45;overflow-wrap:anywhere}.workflow-step-owner small{display:none}.workflow-step.completed .workflow-node{border-color:var(--green);background:var(--green);color:#fff}.workflow-step.completed .workflow-node span{display:none}.workflow-step.completed .workflow-node:after{content:"✓";font:700 13px/1 sans-serif}.workflow-step.completed .workflow-step-status{color:var(--green)}.workflow-step.completed .workflow-step-name{color:#344054}.workflow-step.active{margin:-7px 0 -1px;padding:7px 8px 15px;border:1px solid #bfdbfe;border-radius:12px;background:#f5f9ff;box-shadow:0 5px 14px rgba(0,113,227,.08)}.workflow-step.active .workflow-node{width:30px;height:30px;border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 0 0 4px rgba(0,113,227,.11)}.workflow-step.active .workflow-step-status{color:var(--blue);font-weight:700}.workflow-step.active .workflow-step-name{color:#174ea6}.workflow-step.returned .workflow-node,.workflow-step.overdue .workflow-node{border-color:#c82a2a;background:#fff6f5;color:#b42318}.workflow-step.returned .workflow-step-status,.workflow-step.overdue .workflow-step-status{color:#b42318}.workflow-step.returned .workflow-step-name,.workflow-step.overdue .workflow-step-name{color:#8f1d18}
.workflow-current{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(0,2.28fr);gap:20px;align-items:stretch;margin:10px 22px 22px;padding:16px 18px;border:1px solid #d9e8fb;border-radius:14px;background:#f8fbff}.workflow-current-heading{display:flex;flex-direction:column;justify-content:center;min-width:0}.workflow-current-heading>span{margin-bottom:5px}.workflow-current-heading div{display:flex;align-items:center;gap:9px}.workflow-current-heading b{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:8px;background:#e5f0ff;color:var(--blue);font:700 10px/1 ui-monospace,SFMono-Regular,Consolas}.workflow-current-heading h3{margin:0;color:#174ea6;font-size:16px;letter-spacing:-.01em}.workflow-current-heading em{width:max-content;margin-top:7px;padding:3px 7px;border-radius:999px;background:#e7f1ff;color:var(--blue);font-size:10px;font-style:normal}.workflow-current-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.workflow-current-details>div{min-width:0;padding:2px 16px;border-left:1px solid #dce7f5}.workflow-current-details dt{margin:0 0 5px;color:#667085;font-size:10px}.workflow-current-details dd{margin:0;color:#344054;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.workflow-current-details>div:last-child dd{color:#475467}.workflow-current.overdue{border-color:#f3c4c0;background:#fff9f8}.workflow-current.overdue .workflow-current-heading h3{color:#9f201b}.workflow-current.overdue .workflow-current-heading b{background:#fee4e2;color:#b42318}.workflow-current.overdue .workflow-current-heading em{background:#fee4e2;color:#b42318}.workflow-risk{grid-column:1/-1;display:flex;gap:8px;align-items:baseline;margin:0;padding:10px 12px;border-radius:8px;background:#fff0ef;color:#8f1d18;font-size:11px}.workflow-risk b{white-space:nowrap}.workflow-risk span{color:#a24a44}
.case-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px}.case-main{display:grid;gap:20px}.action-sticky{position:sticky;top:86px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.section-head span{display:block;color:#1769e0;font:700 10px/1.3 ui-monospace,SFMono-Regular,Consolas;letter-spacing:.12em}.section-head h2{margin:4px 0 0}.section-head em{font-style:normal;font-size:12px;color:#667085}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e4e7ec}.analysis-grid>div{padding:16px;border-right:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec}.analysis-grid>div:nth-child(2n){border-right:0}.analysis-grid>div:nth-last-child(-n+2){border-bottom:0}.analysis-grid small{font-weight:700;color:#1769e0}.analysis-grid p{font-size:13px;line-height:1.75;margin:8px 0 0;color:#344054}
.approval-list{border-top:1px solid #eaecf0}.approval-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid #eaecf0}.approval-row i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;font-style:normal;font-size:11px}.approval-row.approved i{background:#dff3e8;color:#16794c}.approval-row.active i{background:#dbeaff;color:#1769e0}.approval-row.rejected i{background:#fee4e2;color:#b42318}.approval-row b,.approval-row span{display:block}.approval-row span,.approval-row time{font-size:12px;color:#667085}.approval-row p{font-size:12px;margin:5px 0 0}.sign-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sign-grid>div{padding:16px;background:#f8fafc;border:1px solid #e4e7ec}.sign-grid p{color:#667085;font-size:12px}.sign-approved{color:#16794c}.sign-rejected{color:#b42318}.alert-strip{display:flex;gap:18px;align-items:center;padding:15px 18px;margin-bottom:20px;border:1px solid #f4c7c3;border-left:4px solid #c82a2a;background:#fff9f8}.alert-strip p{margin:3px 0 0;font-size:12px;color:#667085}.alert-strip a{display:flex;gap:8px;align-items:center;color:#8f1d18}.alert-strip a span{font-size:12px}.archive-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}.archive-links code{font-size:10px;color:#667085;overflow-wrap:anywhere}.empty-action{padding:18px;background:#f8fafc;border:1px solid #e4e7ec}.empty-action p{font-size:13px;color:#667085}.action-form+.action-form{border-top:1px solid #e4e7ec;margin-top:18px;padding-top:18px}.action-form ul{list-style:none;padding:0}.action-form textarea{width:100%;min-height:82px}
@media(max-width:1050px){.case-layout{grid-template-columns:1fr}.action-sticky{position:static}.case-head{align-items:flex-start}.analysis-grid{grid-template-columns:1fr}.analysis-grid>div{border-right:0!important;border-bottom:1px solid #e4e7ec!important}.analysis-grid>div:last-child{border-bottom:0!important}.control-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.case-head{display:block}.case-head-actions{margin-top:15px;align-items:stretch;flex-direction:column}.case-clock{margin-top:0}.sign-grid,.control-grid{grid-template-columns:1fr}.alert-strip{display:block}.alert-strip a{margin-top:10px}}
button:focus-visible,a:focus-visible{outline:3px solid rgba(23,105,224,.28);outline-offset:2px}
#id_category_codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d0d5dd;border-radius:10px;background:#f8fafc}#id_category_codes label{display:flex;align-items:center;gap:9px;padding:8px 10px;margin:0;border-radius:7px;background:#fff;border:1px solid #eaecf0;cursor:pointer}#id_category_codes input{width:16px;height:16px;margin:0;accent-color:#1769e0}@media(max-width:680px){#id_category_codes{grid-template-columns:1fr}}
.category-multiselect{position:relative}.category-trigger{position:relative;width:100%;min-height:46px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 48px 10px 13px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s}.category-trigger:after{content:"";position:absolute;right:17px;top:50%;width:8px;height:8px;border-right:1.8px solid #667085;border-bottom:1.8px solid #667085;transform:translateY(-68%) rotate(45deg);transition:border-color .18s,transform .18s}.category-trigger:hover{border-color:#aeb8c6;background:#fcfdff}.category-trigger:hover:after{border-color:#344054}.category-trigger b{margin-left:auto;padding:3px 7px;border-radius:10px;background:#eaf2ff;color:#1769e0;font-size:11px;white-space:nowrap}.category-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-trigger[aria-expanded="true"]{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.category-trigger[aria-expanded="true"]:after{border-color:#1769e0;transform:translateY(-32%) rotate(225deg)}.category-panel{position:absolute;z-index:20;left:0;right:0;top:52px;box-shadow:0 16px 35px rgba(16,24,40,.16);background:#fff!important}.category-panel[hidden]{display:none!important}.category-panel input:disabled+span{opacity:.5}
.form-shell{max-width:980px;margin:0 auto}.form-intro{display:flex;justify-content:space-between;align-items:flex-end;margin:8px 0 22px}.form-intro h1{margin:6px 0}.form-intro p{margin:0;color:#667085}.form-progress{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #dbe3ef;background:#f7f9fc}.form-progress b{color:#1769e0}.form-progress span{font-size:12px;color:#475467}.structured-form{padding:0;overflow:hidden}.form-section{padding:25px 28px;border-bottom:1px solid #e4e7ec}.form-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:19px}.form-section-title>span{display:grid;place-items:center;width:28px;height:28px;background:#eaf2ff;color:#1769e0;font:700 11px ui-monospace,SFMono-Regular,Consolas;border-radius:6px}.form-section-title h2{margin:0;font-size:18px}.form-section-title p{margin:3px 0 0;color:#667085;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field.full{grid-column:1/-1}.field>label{display:block;font-weight:650;font-size:13px;margin-bottom:7px;color:#344054}.field small{display:block;margin-top:6px;color:#667085;line-height:1.5}.field .errorlist{margin:6px 0 0;padding:8px 10px;list-style:none;color:#b42318;background:#fff1f0;border-left:3px solid #d92d20;font-size:12px}.check-field{display:grid;grid-template-columns:20px 1fr;align-items:center;column-gap:8px}.check-field label{margin:0}.check-field small{grid-column:2}.rich-editor{border:1px solid #d0d5dd;border-radius:10px;overflow:hidden;background:#fff;transition:border-color .18s,box-shadow .18s}.rich-editor:focus-within{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.rich-toolbar{display:flex;gap:4px;padding:7px;border-bottom:1px solid #e4e7ec;background:#f8fafc}.rich-toolbar button{min-width:34px;height:32px;padding:0 9px;border:1px solid transparent;background:transparent;border-radius:6px;color:#475467}.rich-toolbar button:hover,.rich-toolbar button:focus-visible{background:#fff;border-color:#d0d5dd}.rich-surface{min-height:150px;padding:14px 15px;line-height:1.7;color:#1d2939;outline:none}.rich-surface p{margin:0 0 8px}.rich-surface ul,.rich-surface ol{padding-left:24px}.severity-alert{padding:13px 15px;border:1px solid #f1b8b3;border-left:4px solid #c82a2a;background:#fff7f6}.severity-alert b{color:#9f201b}.severity-alert p{margin:3px 0 0;color:#667085;font-size:12px}.risk-ack{display:flex;gap:9px;align-items:center;padding:12px 14px;background:#fffaf0;border:1px solid #f0d79c}.risk-ack label{margin:0}.similarity-preview{padding:15px;border:1px solid #d8e2ef;background:#f8fafc}.similarity-preview>div{display:flex;justify-content:space-between;gap:12px}.similarity-preview>div span{font-size:11px;color:#667085}.similarity-preview>a{display:grid;grid-template-columns:48px 1fr;gap:10px;margin-top:10px;padding:10px;background:#fff;border:1px solid #e4e7ec;color:#344054}.similarity-preview>a:hover{border-color:#9fc0ed}.similarity-preview>a>strong{font-size:16px;color:#1769e0}.similarity-preview>a span,.similarity-preview>a b,.similarity-preview>a small{display:block}.similarity-preview>a small{margin-top:3px;color:#667085;font-size:11px}.structured-form>.form-actions{padding:20px 28px;background:#f8fafc}
@media(max-width:720px){.form-intro{display:block}.form-progress{margin-top:14px}.form-section{padding:20px 16px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.similarity-preview>div{display:block}}
.cois-rich-editor{position:relative;overflow:visible;border:1px solid #d0d5dd;border-radius:10px;background:#fff;transition:border-color .18s,box-shadow .18s}.cois-rich-editor:focus-within{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.cois-editor-toolbar.ql-toolbar.ql-snow{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 11px;border:0;border-bottom:1px solid #e4e7ec;border-radius:10px 10px 0 0;background:#f7f9fc;font-family:inherit}.cois-editor-toolbar-title{display:flex;flex:0 0 auto;flex-direction:column;gap:1px;padding-right:12px;border-right:1px solid #d9e0e8;white-space:nowrap}.cois-editor-toolbar-title b{color:#344054;font-size:11px;font-weight:700}.cois-editor-toolbar-title small{color:#98a2b3;font-size:9px;font-weight:500}.cois-editor-actions{display:flex;flex-wrap:wrap;gap:5px}.cois-editor-toolbar.ql-toolbar .ql-formats{display:flex;gap:3px;margin:0;padding-right:5px;border-right:1px solid #e4e7ec}.cois-editor-toolbar.ql-toolbar .ql-formats:last-child{padding-right:0;border-right:0}.cois-editor-toolbar.ql-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;height:34px;padding:0 8px;border:1px solid transparent;border-radius:7px;color:#475467;font-size:11px;font-weight:600;cursor:pointer;transition:color .16s,background .16s,border-color .16s,box-shadow .16s}.cois-editor-toolbar.ql-toolbar button:after{content:attr(data-label);white-space:nowrap}.cois-editor-toolbar.ql-toolbar button:hover,.cois-editor-toolbar.ql-toolbar button:focus-visible{border-color:#cfd8e5;background:#fff;color:#175cd3;box-shadow:0 1px 2px rgba(16,24,40,.05)}.cois-editor-toolbar.ql-toolbar button.ql-active,.cois-editor-toolbar.ql-toolbar button[aria-expanded="true"]{border-color:#a9c9f3;background:#eaf3ff;color:#175cd3}.cois-editor-toolbar.ql-toolbar button svg{width:15px;height:15px}.cois-editor-toolbar .ql-stroke{stroke:#475467}.cois-editor-toolbar .ql-fill{fill:#475467}.cois-editor-toolbar button:hover .ql-stroke,.cois-editor-toolbar button.ql-active .ql-stroke{stroke:#175cd3}.cois-editor-toolbar button:hover .ql-fill,.cois-editor-toolbar button.ql-active .ql-fill{fill:#175cd3}.cois-editor-toolbar .ql-undo:before,.cois-editor-toolbar .ql-redo:before{font-size:16px;line-height:1}.cois-editor-toolbar .ql-undo:before{content:"↶"}.cois-editor-toolbar .ql-redo:before{content:"↷"}.cois-editor-toolbar .cois-link-trigger:before{content:"↗";font-size:14px;line-height:1}.cois-rich-editor .ql-container.ql-snow{border:0;border-radius:0 0 10px 10px;font-family:inherit}.cois-rich-editor .ql-editor{min-height:160px;padding:14px 15px;color:#1d2939;font-size:13px;line-height:1.75}.cois-rich-editor .ql-editor.ql-blank:before{right:15px;left:15px;color:#98a2b3;font-style:normal}.cois-rich-editor .ql-tooltip{display:none!important}.cois-rich-editor.has-error{border-color:#d92d20;box-shadow:0 0 0 3px rgba(217,45,32,.1)}.cois-editor-error{margin:0;padding:8px 12px;border-top:1px solid #f4c7c3;border-radius:0 0 10px 10px;background:#fff7f6;color:#b42318;font-size:11px}.cois-editor-error[hidden],.cois-link-popover[hidden],.cois-link-error[hidden],.cois-link-remove[hidden]{display:none!important}.cois-link-popover{position:absolute;z-index:45;right:12px;width:min(420px,calc(100% - 24px));overflow:hidden;border:1px solid #dbe3ef;border-radius:12px;background:#fff;box-shadow:0 18px 44px rgba(16,24,40,.16)}.cois-link-popover header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 11px;border-bottom:1px solid #e9edf3;background:#fbfcfe}.cois-link-popover header div{display:flex;flex-direction:column;gap:2px}.cois-link-popover header b{color:#1d2939;font-size:13px}.cois-link-popover header span{color:#7c8aa0;font-size:10px}.cois-link-close{display:grid;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#eef3f9;color:#667085;font-size:18px;line-height:1;place-items:center;cursor:pointer}.cois-link-close:hover{background:#e3edfa;color:#175cd3}.cois-link-body{padding:14px}.cois-link-body label{display:block;margin-bottom:6px;color:#344054;font-size:11px;font-weight:700}.cois-link-body input{box-sizing:border-box;width:100%;height:42px;padding:0 11px;border:1px solid #cfd8e5;border-radius:8px;outline:0;background:#f9fafb;color:#1d2939;font:inherit}.cois-link-body input:focus{border-color:#1769e0;background:#fff;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.cois-link-error{margin:7px 0 0;color:#b42318;font-size:10px}.cois-link-popover footer{display:flex;align-items:center;gap:8px;padding:11px 14px;border-top:1px solid #e9edf3;background:#fbfcfe}.cois-link-popover footer span{flex:1}.cois-link-popover footer button{min-height:36px;padding:0 13px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font:inherit;font-size:11px;font-weight:650;cursor:pointer}.cois-link-popover footer button:hover{border-color:#9fb9dc}.cois-link-popover footer .cois-link-apply{border-color:#1677ea;background:#1677ea;color:#fff;box-shadow:0 4px 10px rgba(22,119,234,.18)}.cois-link-popover footer .cois-link-remove{border-color:#f2c4c0;background:#fff7f6;color:#b42318}@media(max-width:680px){.cois-editor-toolbar.ql-toolbar.ql-snow{align-items:stretch}.cois-editor-toolbar-title{width:100%;padding:2px 2px 8px;border-right:0;border-bottom:1px solid #e4e7ec}.cois-editor-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:4px}.cois-editor-toolbar.ql-toolbar .ql-formats{display:contents}.cois-editor-toolbar.ql-toolbar button{justify-content:flex-start;width:100%;height:44px;padding:0 12px}.cois-rich-editor .ql-editor{min-height:180px}.cois-link-popover{position:fixed;top:auto!important;right:12px;bottom:12px;left:12px;width:auto}.cois-link-popover footer{display:grid;grid-template-columns:1fr 1fr}.cois-link-popover footer span{display:none}.cois-link-popover footer .cois-link-remove{grid-column:1/-1}}
.recommendation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.recommendation-grid>a{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:13px;border:1px solid #e4e7ec;background:#f8fafc;color:#344054}.recommendation-grid>a:hover{border-color:#9fc0ed;background:#fff}.recommendation-grid strong{font-size:18px;color:#1769e0}.recommendation-grid b{font-size:12px}.recommendation-grid p{margin:5px 0 0;font-size:11px;color:#667085;line-height:1.5}.rich-output p{margin:0 0 8px}.rich-output ul,.rich-output ol{padding-left:24px}@media(max-width:900px){.recommendation-grid{grid-template-columns:1fr}}
.rich-output h2,.rich-output h3{margin:14px 0 7px;color:#1d2939;line-height:1.45}.rich-output h2{font-size:17px}.rich-output h3{font-size:15px}.rich-output blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #a9c9f3;background:#f7faff;color:#475467}.rich-output a{color:#175cd3;text-decoration:underline;text-underline-offset:2px}.rich-output s{color:#667085}
.risk-ack[hidden],.severity-alert[hidden]{display:none!important}
.person-picker{position:relative}.action-sticky:has(.person-picker),.manage-layout>aside:has(.person-picker),.card-form:has(.person-picker){overflow:visible}.person-picker-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.person-picker-input{width:100%;min-height:46px;padding:10px 46px 10px 13px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#1d2939;outline:none;transition:border-color .18s,box-shadow .18s}.person-picker:after{content:"";position:absolute;right:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);pointer-events:none;background:center/18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E")}.person-picker:focus-within:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231769e0' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E")}.person-picker-input:focus{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.person-picker-panel{position:absolute;z-index:30;left:0;right:0;top:52px;max-height:310px;overflow:auto;padding:6px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;box-shadow:0 16px 35px rgba(16,24,40,.16)}.person-picker-panel[hidden]{display:none}.person-picker-option{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#344054;text-align:left;cursor:pointer}.person-picker-option:hover,.person-picker-option.active{background:#edf5ff;color:#175cd3}.person-picker-option b{font-size:13px}.person-picker-option span{font-size:11px;color:#667085;text-align:right}.person-picker-empty{margin:0;padding:14px;color:#667085;text-align:center;font-size:12px}.person-picker-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:680px){.person-picker-option{display:block}.person-picker-option span{display:block;margin-top:2px;text-align:left}}

.action-comment-field label{display:flex;align-items:center;gap:4px;margin-bottom:6px;color:#344054;font-size:12px;font-weight:650}.action-comment-field label span{color:#b42318}.action-comment-field label small{color:#98a2b3;font-size:10px;font-weight:500}.action-form .action-comment-field textarea{margin-bottom:8px}.action-form.has-error .action-comment-field textarea{border-color:#d92d20;background:#fffafa;box-shadow:0 0 0 3px rgba(217,45,32,.1)}.action-form.has-error .action-comment-field textarea:focus{border-color:#d92d20;box-shadow:0 0 0 3px rgba(217,45,32,.14)}.action-field-error{display:flex;align-items:center;gap:6px;margin:-1px 0 10px;color:#b42318;font-size:11px;line-height:1.45}.action-field-error[hidden]{display:none}.action-field-error i{width:15px;height:15px;flex:0 0 15px;border-radius:50%;display:grid;place-items:center;background:#fee4e2;color:#b42318;font:700 10px/1 sans-serif}
.approval-level-confirm{margin-bottom:13px;padding:12px;border:1px solid #d9e4f2;border-radius:10px;background:#f8fbff}.approval-level-confirm label{display:block;margin-bottom:6px;color:#344054;font-size:12px;font-weight:700}.approval-level-confirm select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #b9cee9;border-radius:8px;background:#fff;color:#1d2939;outline:0}.approval-level-confirm select:focus-visible{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.approval-level-confirm p{margin:7px 0 0;color:#596579;font-size:11px;line-height:1.55}.level-field>small{margin-top:8px;color:#596579}
@media(max-width:900px){.approval-level-confirm select{min-height:44px}}
.severity-insight{display:grid;grid-template-columns:28px 1fr;gap:11px;padding:12px 14px;border:1px solid #cdddf4;border-radius:9px;background:#f6f9ff}.severity-insight[hidden]{display:none}.severity-insight-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#e2efff;color:#1769e0;font-weight:800}.severity-insight b{font-size:12px;color:#174ea6}.severity-insight p{margin:2px 0 7px;color:#667085;font-size:11px}.severity-keywords{display:flex;flex-wrap:wrap;gap:5px}.severity-keywords span{padding:2px 7px;border-radius:999px;background:#fff;border:1px solid #cdddf4;color:#175cd3;font-size:10px}.similarity-preview{padding:0;border:1px solid #d8e2ef;border-radius:10px;background:#fff;overflow:hidden}.similarity-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e4e7ec}.similarity-head b,.similarity-head small{display:block}.similarity-head b{font-size:13px;color:#344054}.similarity-head small{margin:1px 0 0;font-size:10px;color:#667085}.similarity-head>span{padding:3px 8px;border-radius:999px;background:#eaf2ff;color:#1769e0;font-size:10px}.similarity-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:4px 10px}.similarity-item{display:grid;grid-template-columns:50px minmax(0,1fr) 18px;gap:11px;align-items:center;width:100%;padding:11px 4px;color:#344054;text-decoration:none;border-bottom:1px solid #eaecf0;transition:background .16s,color .16s}.similarity-item:last-child{border-bottom:0}.similarity-item:hover,.similarity-item:focus-visible{background:#f7faff;color:#175cd3}.similarity-score{display:grid;place-items:center;min-height:30px;border-radius:7px;background:#edf5ff;color:#1769e0;font-size:12px}.similarity-copy{min-width:0}.similarity-copy b,.similarity-copy small{display:block}.similarity-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.similarity-copy em{margin-right:8px;color:#1769e0;font-style:normal}.similarity-copy small{margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:10px}.similarity-item i{font-style:normal;font-size:20px;color:#98a2b3}.similarity-empty,.similarity-loading{padding:15px 14px;color:#667085;font-size:11px}.similarity-empty.success{color:#16794c}.similarity-empty.error{color:#b42318}.similarity-loading{display:flex;align-items:center;gap:8px}.similarity-loading span{width:8px;height:8px;border-radius:50%;background:#1769e0;animation:similarity-pulse 1s ease-in-out infinite}@keyframes similarity-pulse{50%{opacity:.3;transform:scale(.8)}}@media(prefers-reduced-motion:reduce){.similarity-loading span{animation:none}}
.governance-hero-actions{display:flex;align-items:center;gap:10px}.governance-back{min-height:42px;white-space:nowrap}.governance-back>span{font-size:16px;line-height:1}@media(max-width:680px){.governance-hero-actions{width:100%;margin-top:14px;justify-content:space-between}.governance-back{min-height:44px}.governance-seal{margin-left:auto}}
@media(max-width:1200px){.workflow-summary{gap:18px}.workflow-progress-wrap{width:46%;min-width:260px}.workflow-phase-row{display:none}.workflow-map{padding:16px 18px 8px}.workflow-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:0}.workflow-rail:before{display:none}.workflow-step{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;justify-items:start;align-items:center;min-height:108px;padding:12px;text-align:left;border:1px solid #e7edf4;border-radius:12px;background:#fff}.workflow-node{grid-row:1/4;grid-column:1;margin:0}.workflow-step-status,.workflow-step-name,.workflow-step-owner{grid-column:2;overflow:visible;text-overflow:clip;white-space:normal}.workflow-step-status{min-height:auto}.workflow-step-name{margin-top:0}.workflow-step-owner{margin-top:2px}.workflow-step-owner small{display:inline;margin-right:5px;color:#98a2b3;font-size:10px}.workflow-step.active{margin:0;padding:11px;border-color:#bfdbfe}.workflow-current{margin:10px 18px 18px}}
@media(max-width:760px){.workflow-summary{display:block;padding:17px 16px}.workflow-summary-title{display:block}.workflow-summary-title p{margin-top:3px}.workflow-progress-wrap{width:auto;min-width:0;margin-top:15px}.workflow-legend{gap:10px}.workflow-map{padding:14px}.workflow-rail{grid-template-columns:1fr;gap:7px}.workflow-step,.workflow-step.active{min-height:86px}.workflow-current{grid-template-columns:1fr;gap:14px;margin:7px 14px 14px;padding:15px}.workflow-current-heading{padding-bottom:13px;border-bottom:1px solid #dce7f5}.workflow-current-details{grid-template-columns:1fr;gap:0}.workflow-current-details>div{padding:10px 0;border-left:0;border-top:1px solid #dce7f5}.workflow-current-details>div:first-child{padding-top:0;border-top:0}.workflow-risk{display:block}.workflow-risk span{display:block;margin-top:3px}}
@media(prefers-reduced-motion:reduce){.workflow-progress-track span{transition:none}}

/* 流程详情采用桌面端悬浮浮层；触屏端保留当前节点详情作为等价信息入口。 */
.workflow-panel{position:relative;overflow:visible}.workflow-summary{border-radius:18px 18px 0 0}.workflow-map{position:relative;z-index:1}.workflow-rail{overflow:visible}.workflow-rail li{transition:z-index 0s linear .2s}.workflow-rail li:hover,.workflow-rail li:focus-within{z-index:12;transition-delay:0s}.workflow-step{position:relative;cursor:default;outline:0;will-change:transform;animation:workflow-step-enter .52s cubic-bezier(.22,1,.36,1) both;transition:transform .2s ease,filter .2s ease}.workflow-rail li:nth-child(1) .workflow-step{animation-delay:.04s}.workflow-rail li:nth-child(2) .workflow-step{animation-delay:.1s}.workflow-rail li:nth-child(3) .workflow-step{animation-delay:.16s}.workflow-rail li:nth-child(4) .workflow-step{animation-delay:.22s}.workflow-rail li:nth-child(5) .workflow-step{animation-delay:.28s}.workflow-rail li:nth-child(6) .workflow-step{animation-delay:.34s}.workflow-rail li:nth-child(7) .workflow-step{animation-delay:.4s}.workflow-step:hover,.workflow-step:focus{transform:translateY(-3px)}.workflow-step:focus-visible{outline:3px solid rgba(0,113,227,.28);outline-offset:3px;border-radius:12px}.workflow-step:hover .workflow-node,.workflow-step:focus .workflow-node{transform:scale(1.08)}.workflow-node{transition:transform .2s ease,box-shadow .2s ease}.workflow-step.active .workflow-node{animation:workflow-active-pulse 3.6s ease-in-out 1.1s infinite}.workflow-progress-track span{transform-origin:left center;animation:workflow-progress-enter .76s cubic-bezier(.22,1,.36,1) both}
.workflow-popover{position:absolute;z-index:20;top:calc(100% + 14px);left:50%;width:min(430px,calc(100vw - 56px));padding:14px 15px 13px;border:1px solid #c9ddf7;border-radius:12px;background:#fff;box-shadow:0 16px 34px rgba(31,70,118,.17);color:#344054;text-align:left;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px) scale(.985);transform-origin:50% 0;transition:opacity .16s ease,transform .2s cubic-bezier(.22,1,.36,1),visibility 0s linear .2s}.workflow-popover:before{content:"";position:absolute;top:-7px;left:50%;width:12px;height:12px;border-top:1px solid #c9ddf7;border-left:1px solid #c9ddf7;background:#fff;transform:translateX(-50%) rotate(45deg)}.workflow-step:hover .workflow-popover,.workflow-step:focus .workflow-popover{visibility:visible;pointer-events:auto;opacity:1;transform:translate(-50%,0) scale(1);transition-delay:.1s, .1s, 0s}.workflow-popover-head{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #e8eef5}.workflow-popover-head>span{padding:3px 6px;border-radius:6px;background:#eaf3ff;color:var(--blue);font:700 9px/1 ui-monospace,SFMono-Regular,Consolas}.workflow-popover-head b{overflow:hidden;color:#1d426d;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workflow-popover-head em{padding:3px 7px;border-radius:999px;background:#eef3f8;color:#667085;font-size:10px;font-style:normal;white-space:nowrap}.workflow-step.active .workflow-popover-head em{background:#e7f1ff;color:var(--blue)}.workflow-step.completed .workflow-popover-head em{background:#e8f7f1;color:var(--green)}.workflow-step.overdue .workflow-popover-head em,.workflow-step.returned .workflow-popover-head em{background:#fff0ef;color:#b42318}.workflow-popover dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:11px 0 0}.workflow-popover dl>div{min-width:0;padding:0 11px;border-left:1px solid #e8eef5}.workflow-popover dl>div:first-child{padding-left:0;border-left:0}.workflow-popover dl>div:last-child{padding-right:0}.workflow-popover dt{margin:0 0 4px;color:#7c8ca0;font-size:10px}.workflow-popover dd{margin:0;color:#344054;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.workflow-popover-risk{margin:10px 0 0;padding:7px 9px;border-radius:7px;background:#fff1f0;color:#a13d37;font-size:10px}.workflow-rail li:first-child .workflow-popover{left:0;transform:translate(0,8px) scale(.985);transform-origin:24px 0}.workflow-rail li:first-child .workflow-popover:before{left:24px}.workflow-rail li:first-child .workflow-step:hover .workflow-popover,.workflow-rail li:first-child .workflow-step:focus .workflow-popover{transform:translate(0,0) scale(1)}.workflow-rail li:last-child .workflow-popover{right:0;left:auto;transform:translate(0,8px) scale(.985);transform-origin:calc(100% - 24px) 0}.workflow-rail li:last-child .workflow-popover:before{right:18px;left:auto}.workflow-rail li:last-child .workflow-step:hover .workflow-popover,.workflow-rail li:last-child .workflow-step:focus .workflow-popover{transform:translate(0,0) scale(1)}.workflow-current{display:none}
@keyframes workflow-step-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes workflow-progress-enter{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes workflow-active-pulse{0%,100%{box-shadow:0 0 0 4px rgba(0,113,227,.11)}50%{box-shadow:0 0 0 7px rgba(0,113,227,.04)}}
@media(max-width:1200px){.workflow-rail li:nth-child(4n+1) .workflow-popover{right:auto;left:0;transform:translate(0,8px) scale(.985);transform-origin:24px 0}.workflow-rail li:nth-child(4n+1) .workflow-popover:before{right:auto;left:24px}.workflow-rail li:nth-child(4n+1) .workflow-step:hover .workflow-popover,.workflow-rail li:nth-child(4n+1) .workflow-step:focus .workflow-popover{transform:translate(0,0) scale(1)}.workflow-rail li:nth-child(4n) .workflow-popover{right:0;left:auto;transform:translate(0,8px) scale(.985);transform-origin:calc(100% - 24px) 0}.workflow-rail li:nth-child(4n) .workflow-popover:before{right:18px;left:auto}.workflow-rail li:nth-child(4n) .workflow-step:hover .workflow-popover,.workflow-rail li:nth-child(4n) .workflow-step:focus .workflow-popover{transform:translate(0,0) scale(1)}}
@media(max-width:760px){.workflow-step{min-height:88px}.workflow-step:hover,.workflow-step:focus{transform:none}.workflow-step:hover .workflow-node,.workflow-step:focus .workflow-node{transform:none}.workflow-popover{display:none}.workflow-current{display:grid}.workflow-current-heading{display:flex}.workflow-current-details{display:grid}}
@media(prefers-reduced-motion:reduce){.workflow-step,.workflow-step.active .workflow-node,.workflow-progress-track span{animation:none;transition:none}.workflow-popover{transition:none}}

/* 当前节点以节点、字重和短标记表达，不再以整块浅蓝卡片打断流程线。 */
.workflow-step.active{margin:0;padding:0 8px 14px;border:0;border-radius:0;background:transparent;box-shadow:none}.workflow-step.active .workflow-step-name{font-weight:750}.workflow-step.active .workflow-step-name:after{content:"";display:block;width:18px;height:2px;margin:6px auto 0;border-radius:999px;background:currentColor}.workflow-step.active:hover,.workflow-step.active:focus{filter:none}
@media(max-width:1200px){.workflow-step.active{padding:12px;border:1px solid #e7edf4;background:#fff;box-shadow:none}.workflow-step.active .workflow-step-name:after{margin:5px 0 0}}

/* The report and its approval chain share one contextual workspace. */
.case-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(286px,340px);gap:30px;align-items:start}.case-profile-layout>dl{min-width:0}.profile-approval-flow{min-width:0;padding-left:26px;border-left:1px solid #e6edf5}.profile-approval-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 15px}.profile-approval-heading>div>span{display:block;color:#1769e0;font:700 9px/1.3 ui-monospace,SFMono-Regular,Consolas;letter-spacing:.13em}.profile-approval-heading h3{margin:4px 0 0;color:#1d2939;font-size:15px;letter-spacing:-.015em}.profile-approval-heading em{flex:0 0 auto;margin-top:4px;padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#667085;font-size:10px;font-style:normal}.profile-approval-rail{position:relative;display:grid;gap:9px;margin:0;padding:0;list-style:none}.profile-approval-step{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;min-width:0;outline:0;opacity:0;transform:translateX(7px);animation:profile-approval-enter .48s cubic-bezier(.22,1,.36,1) forwards}.profile-approval-step:nth-child(1){animation-delay:.06s}.profile-approval-step:nth-child(2){animation-delay:.12s}.profile-approval-step:nth-child(3){animation-delay:.18s}.profile-approval-step:nth-child(4){animation-delay:.24s}.profile-approval-step:nth-child(5){animation-delay:.3s}.profile-approval-step:nth-child(6){animation-delay:.36s}.profile-approval-step:before{content:"";position:absolute;z-index:0;top:30px;bottom:-10px;left:14px;width:1px;background:#dfe7f0}.profile-approval-step:last-child:before{display:none}.profile-approval-step.approved:before{background:#9fd6bc}.profile-approval-step.active:before{background:linear-gradient(#8fc2fa 0 46%,#dfe7f0 46% 100%)}.profile-approval-node{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;color:#8291a6;font:700 10px/1 ui-monospace,SFMono-Regular,Consolas;transition:border-color .18s,background .18s,color .18s,box-shadow .18s}.profile-approval-copy{min-width:0;padding:5px 7px 6px;border:1px solid transparent;border-radius:8px;transition:background .18s,border-color .18s,transform .18s}.profile-approval-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.profile-approval-meta b{min-width:0;color:#475467;font-size:12px;line-height:1.45}.profile-approval-meta em{flex:0 0 auto;padding:2px 5px;border-radius:999px;background:#f1f5f9;color:#7c8ca0;font-size:9px;font-style:normal;white-space:nowrap}.profile-approval-copy>span,.profile-approval-copy time{display:block;overflow:hidden;color:#667085;font-size:10px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.profile-approval-copy time{color:#98a2b3}.profile-approval-copy p{margin:5px 0 0;color:#667085;font-size:10px;line-height:1.5}.profile-approval-step.approved .profile-approval-node{border-color:#17845f;background:#17845f;color:#fff}.profile-approval-step.approved .profile-approval-node span{display:none}.profile-approval-step.approved .profile-approval-node:before{content:"✓";font:700 14px/1 sans-serif}.profile-approval-step.approved .profile-approval-meta b{color:#344054}.profile-approval-step.approved .profile-approval-meta em{background:#e8f7f1;color:#16794c}.profile-approval-step.active .profile-approval-node{border-color:#1769e0;background:#1769e0;color:#fff;box-shadow:0 0 0 4px rgba(23,105,224,.11);animation:profile-approval-pulse 3.6s ease-in-out .8s infinite}.profile-approval-step.active .profile-approval-node:after{content:"";position:absolute;inset:-7px;border:1px solid rgba(23,105,224,.24);border-radius:inherit;animation:profile-approval-ring 2.4s ease-out .9s infinite}.profile-approval-step.active .profile-approval-copy{border-color:#d6e6fb;background:#f8fbff}.profile-approval-step.active .profile-approval-meta b{color:#174ea6}.profile-approval-step.active .profile-approval-meta em{background:#e7f1ff;color:#1769e0}.profile-approval-step.rejected .profile-approval-node{border-color:#c82a2a;background:#fff6f5;color:#b42318}.profile-approval-step.rejected .profile-approval-meta b{color:#8f1d18}.profile-approval-step.rejected .profile-approval-meta em{background:#fff0ef;color:#b42318}.profile-approval-step:hover .profile-approval-copy,.profile-approval-step:focus .profile-approval-copy{border-color:#cddff5;background:#fbfdff;transform:translateX(2px)}.profile-approval-step:focus-visible .profile-approval-copy{outline:3px solid rgba(23,105,224,.26);outline-offset:2px}.profile-approval-empty{padding:14px;border:1px dashed #cfd9e5;border-radius:9px;background:#fafcff;color:#667085}.profile-approval-empty b,.profile-approval-empty span{display:block}.profile-approval-empty b{color:#475467;font-size:12px}.profile-approval-empty span{margin-top:3px;font-size:10px;line-height:1.5}@keyframes profile-approval-enter{to{opacity:1;transform:translateX(0)}}@keyframes profile-approval-pulse{0%,100%{box-shadow:0 0 0 4px rgba(23,105,224,.11)}50%{box-shadow:0 0 0 7px rgba(23,105,224,.04)}}@keyframes profile-approval-ring{0%{opacity:.8;transform:scale(.72)}70%,100%{opacity:0;transform:scale(1.25)}}
@media(max-width:1340px){.profile-approval-flow{padding:18px 0 0;border-top:1px solid #e6edf5;border-left:0}}@media(max-width:900px){.profile-approval-rail{gap:10px}}@media(max-width:760px){.profile-approval-step{grid-template-columns:34px minmax(0,1fr)}.profile-approval-node{width:32px;height:32px}.profile-approval-step:before{left:15px;top:32px;bottom:-11px}.profile-approval-copy{padding:7px 8px}.profile-approval-copy>span,.profile-approval-copy time{font-size:11px}}@media(prefers-reduced-motion:reduce){.profile-approval-step,.profile-approval-step.active .profile-approval-node,.profile-approval-step.active .profile-approval-node:after{animation:none}.profile-approval-copy,.profile-approval-node{transition:none}}

/* Keep the type scale while making the approval rail a quieter secondary panel. */
.case-profile-layout{grid-template-columns:minmax(0,1fr) minmax(248px,292px);gap:24px}.profile-approval-flow{padding-left:20px}.profile-approval-heading{margin-bottom:12px}.profile-approval-rail{gap:7px}.profile-approval-step{grid-template-columns:28px minmax(0,1fr);gap:8px}.profile-approval-node{width:28px;height:28px}.profile-approval-step:before{top:28px;bottom:-8px;left:13px}.profile-approval-copy{padding:4px 5px 5px}.profile-approval-step.active .profile-approval-node:after{inset:-6px}
@media(max-width:760px){.profile-approval-step{grid-template-columns:34px minmax(0,1fr);gap:10px}.profile-approval-node{width:32px;height:32px}.profile-approval-step:before{left:15px;top:32px;bottom:-11px}.profile-approval-copy{padding:7px 8px}}

/* A fixed-height, user-driven approval wheel keeps the profile card calm even for long chains. */
.profile-approval-flow{display:flex;height:222px;flex-direction:column}.profile-approval-heading{flex:0 0 auto}.profile-approval-wheel{position:relative;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;padding:5px 6px 5px 8px;border-radius:9px;background:linear-gradient(90deg,rgba(247,250,253,.72),rgba(255,255,255,0));box-shadow:inset 0 8px 10px -12px rgba(29,64,102,.55),inset 0 -8px 10px -12px rgba(29,64,102,.55);scrollbar-color:#aacbee transparent;scrollbar-width:thin;scroll-snap-type:y proximity;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 10px),transparent 100%)}.profile-approval-wheel::-webkit-scrollbar{width:5px}.profile-approval-wheel::-webkit-scrollbar-track{background:transparent}.profile-approval-wheel::-webkit-scrollbar-thumb{border-radius:999px;background:#aacbee}.profile-approval-wheel:hover::-webkit-scrollbar-thumb,.profile-approval-wheel:focus::-webkit-scrollbar-thumb{background:#5d9ee0}.profile-approval-wheel:focus-visible{outline:3px solid rgba(23,105,224,.28);outline-offset:3px}.profile-approval-wheel .profile-approval-rail{padding:6px 0 9px}.profile-approval-wheel .profile-approval-step{scroll-snap-align:center}
@media(max-width:760px){.profile-approval-flow{height:264px}.profile-approval-wheel{padding-right:5px}}

/* Keep the active approval at rest in the centre; peripheral approvals fade like an embedded wheel. */
.profile-approval-wheel{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 34px,#000 calc(100% - 34px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 34px,#000 calc(100% - 34px),transparent 100%)}.profile-approval-wheel .profile-approval-rail{padding:58px 0}.profile-approval-wheel[data-positioned="true"] .profile-approval-step.active .profile-approval-copy{box-shadow:0 5px 14px rgba(23,105,224,.06)}
@media(max-width:760px){.profile-approval-wheel .profile-approval-rail{padding:74px 0}}

.profile-approval-wheel[data-positioned="true"] .profile-approval-step[data-current="true"] .profile-approval-copy{box-shadow:0 5px 14px rgba(23,105,224,.06)}.profile-approval-wheel[data-positioned="true"] .profile-approval-step[data-current="true"]:not(.approved) .profile-approval-copy{border-color:#d6e6fb;background:#f8fbff}

/* Keep the scrollbar discreet without changing the fixed centre selection slot. */
.profile-approval-wheel{scrollbar-color:transparent transparent}.profile-approval-wheel::-webkit-scrollbar-thumb{background:transparent}.profile-approval-wheel:hover,.profile-approval-wheel:focus,.profile-approval-wheel:focus-within{scrollbar-color:#aacbee transparent}.profile-approval-wheel:hover::-webkit-scrollbar-thumb,.profile-approval-wheel:focus::-webkit-scrollbar-thumb,.profile-approval-wheel:focus-within::-webkit-scrollbar-thumb{background:#5d9ee0}

/* Long narrative fields use the full profile-card width below the compact summary and approval wheel. */
.case-profile-layout{grid-template-areas:"summary approval" "narrative narrative"}.case-profile-summary{grid-area:summary}.case-profile-narrative{grid-area:narrative}.profile-approval-flow{grid-area:approval}
@media(max-width:1340px){.case-profile-layout{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);grid-template-areas:"summary" "narrative" "approval";gap:20px}}

/* Human-readable, audit-focused event timeline. */
.audit-panel{padding:22px 24px}.audit-heading{align-items:flex-start;margin-bottom:18px}.audit-heading h2{margin-bottom:0}.audit-heading p{margin:5px 0 0;color:#667085;font-size:11px}.audit-heading em{padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#667085;font-size:10px;font-style:normal;white-space:nowrap}.audit-timeline{margin:0;padding:0;list-style:none}.audit-event{--audit-color:#7c8ca0;--audit-soft:#f4f7fa;--audit-ink:#475467;position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:0 0 13px}.audit-event:last-child{padding-bottom:0}.audit-event:before{content:"";position:absolute;top:30px;bottom:-1px;left:14px;width:1px;background:#dce5ef}.audit-event:last-child:before{display:none}.audit-event-marker{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--audit-color) 32%,#fff);border-radius:50%;background:var(--audit-soft);color:var(--audit-ink);font-size:11px;font-weight:750}.audit-event-card{min-width:0;padding:13px 15px 12px;border:1px solid #e5ebf2;border-left:3px solid var(--audit-color);border-radius:10px;background:#fbfcfe}.audit-event-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.audit-event-card header>div{min-width:0}.audit-event-card header b{display:block;color:#1d2939;font-size:13px;line-height:1.4}.audit-event-card header span{display:block;margin-top:2px;color:#667085;font-size:10px}.audit-event-card time{flex:0 0 auto;color:#7c8ca0;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.audit-event-summary{margin:9px 0 0;color:#344054;font-size:12px;line-height:1.65}.audit-event-transition{display:flex;align-items:center;gap:8px;margin:9px 0 0;padding-top:9px;border-top:1px solid #e8edf3}.audit-event-transition span{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:var(--audit-soft);color:var(--audit-ink);font-size:9px}.audit-event-transition b{color:#667085;font-size:10px;font-weight:600}.audit-event.tone-active{--audit-color:#1769e0;--audit-soft:#eaf3ff;--audit-ink:#174ea6}.audit-event.tone-success{--audit-color:#17845f;--audit-soft:#e8f7f1;--audit-ink:#16704f}.audit-event.tone-warning{--audit-color:#b66a08;--audit-soft:#fff5df;--audit-ink:#8d5106}.audit-event.tone-danger{--audit-color:#c82a2a;--audit-soft:#fff0ef;--audit-ink:#9f201b}.audit-empty{padding:24px;border:1px dashed #d5dee9;border-radius:10px;background:#fafcff;text-align:center}.audit-empty b,.audit-empty span{display:block}.audit-empty b{color:#475467}.audit-empty span{margin-top:4px;color:#667085;font-size:11px}
@media(max-width:600px){.audit-panel{padding:17px 15px}.audit-heading{display:flex}.audit-event{grid-template-columns:30px minmax(0,1fr);gap:9px}.audit-event:before{left:12px}.audit-event-marker{width:26px;height:26px;font-size:10px}.audit-event-card{padding:12px}.audit-event-card header{display:block}.audit-event-card time{display:block;margin-top:5px}.audit-event-summary{font-size:11px}.audit-event-transition{align-items:flex-start;flex-direction:column;gap:5px}}

/* 删除入口与受控修改同级，危险性仅在确认层集中表达。 */
.case-record-actions{display:flex;align-items:center;gap:8px}.case-delete-trigger{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid rgba(200,42,42,.24);border-radius:8px;background:#fff;color:#a52a24;font-weight:500;cursor:pointer;transition:border-color .18s,background .18s,color .18s}.case-delete-trigger:hover{border-color:rgba(200,42,42,.42);background:#fff7f6;color:#8f1d18}.case-delete-trigger:focus-visible{outline:3px solid rgba(200,42,42,.2);outline-offset:2px}
.case-delete-dialog{width:min(520px,calc(100vw - 32px));padding:0;border:1px solid #ead6d4;border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(16,24,40,.24);overflow:hidden}.case-delete-dialog::backdrop{background:rgba(16,24,40,.5)}.case-delete-dialog header{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;gap:12px;align-items:start;padding:20px 22px 17px;border-bottom:1px solid #f0e5e4;background:#fffafa}.case-delete-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#fff0ef;color:#a52a24}.case-delete-symbol span:before{content:"删";font-size:15px;font-weight:750}.case-delete-kicker{display:block;color:#a52a24;font:700 8px/1.3 ui-monospace,SFMono-Regular,Consolas;letter-spacing:.13em}.case-delete-dialog h2{margin:5px 0 0;color:#1d2939;font-size:19px;letter-spacing:-.025em}.case-delete-dialog header p{max-width:340px;margin:4px 0 0;overflow:hidden;color:#667085;font-size:10px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.case-delete-close{width:36px;height:36px;border:0;border-radius:50%;background:#f2f4f7;color:#475467;font-size:21px;line-height:1;cursor:pointer}.case-delete-close:hover{background:#e7e9ed}.case-delete-close:focus-visible{outline:3px solid rgba(23,105,224,.2);outline-offset:2px}.case-delete-dialog form{padding:20px 22px}.case-delete-notice{margin:0 0 17px;padding:11px 13px;border-left:3px solid #c82a2a;border-radius:0 8px 8px 0;background:#fff7f6;color:#8f1d18;font-size:11px;line-height:1.65}.case-delete-dialog label{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#344054;font-size:11px;font-weight:650}.case-delete-dialog label small{color:#98a2b3;font-size:9px;font-weight:500}.case-delete-dialog textarea{width:100%;min-height:96px;resize:vertical;padding:11px 12px;border:1px solid var(--line-strong);border-radius:9px;background:#f8f8fa;color:var(--text);outline:0}.case-delete-dialog textarea:focus{border-color:#c82a2a;background:#fff;box-shadow:0 0 0 3px rgba(200,42,42,.1)}.case-delete-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin:20px -22px -20px;padding:14px 22px;border-top:1px solid #eee6e5;background:#fbfcfe}.case-delete-dialog footer button{min-width:96px}.case-delete-confirm{min-height:36px;padding:0 14px;border:0;border-radius:8px;background:#b42318;color:#fff;font-weight:600;cursor:pointer;box-shadow:0 4px 12px rgba(180,35,24,.16)}.case-delete-confirm:hover{background:#961c14}.case-delete-confirm:focus-visible{outline:3px solid rgba(180,35,24,.25);outline-offset:2px}.case-delete-confirm:disabled{opacity:.58;cursor:wait;box-shadow:none}
@media(max-width:680px){.case-record-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.case-record-actions .secondary,.case-delete-trigger{min-height:44px}.case-delete-dialog{width:calc(100vw - 18px)}.case-delete-dialog header{grid-template-columns:40px minmax(0,1fr) 44px;padding:17px 16px}.case-delete-symbol{width:40px;height:40px}.case-delete-close{width:44px;height:44px}.case-delete-dialog form{padding:17px 16px}.case-delete-dialog header p{max-width:100%;white-space:normal}.case-delete-dialog textarea{min-height:110px}.case-delete-dialog footer{display:grid;grid-template-columns:1fr 1fr;margin:18px -16px -17px;padding:12px 16px}.case-delete-dialog footer button{min-width:0;min-height:44px}}
/* 复合输入控件仅保留一层焦点状态。 */
.person-picker-input:focus-visible,.rich-editor .rich-surface:focus-visible,.category-trigger:focus-visible{outline:none}

.structured-form>.form-actions{flex-wrap:wrap}

/* 系统说明页：体系衔接与术语采用清晰、可审查的附录版式。 */
.governance-appendix{margin-top:20px;overflow:hidden;border:1px solid #dfe7f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.045)}.governance-appendix-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #e8edf3;background:linear-gradient(110deg,#fbfdff 0%,#f5f9ff 100%)}.governance-appendix-head h2{margin:6px 0 0;color:#1d2939;font-size:20px;letter-spacing:-.02em}.governance-appendix-head p{max-width:740px;margin:7px 0 0;color:#667085;font-size:12px;line-height:1.65}.appendix-mark{flex:0 0 auto;padding:6px 9px;border:1px solid #cfe0f8;border-radius:999px;background:#fff;color:#1769e0;font:700 9px/1 ui-monospace,SFMono-Regular,Consolas;letter-spacing:.1em}.appendix-table-wrap{margin:0}.appendix-table{width:100%;border-collapse:collapse}.appendix-table th{padding:12px 18px;background:#f8fafc;color:#667085;font-size:10px;font-weight:700;text-align:left;letter-spacing:.03em}.appendix-table td{padding:15px 18px;border-top:1px solid #edf0f4;color:#475467;font-size:12px;line-height:1.65;vertical-align:top}.appendix-table td b{color:#344054}.iso-link-table th:first-child{width:24%}.iso-link-table th:nth-child(2){width:28%}.term-table th:first-child{width:25%}.term-table td:first-child{white-space:nowrap;background:#fbfcfe}.governance-appendix tr:hover td{background:#fbfdff}.governance-appendix tr:hover td:first-child{background:#f6faff}@media(max-width:760px){.governance-appendix-head{display:block;padding:18px 16px}.appendix-mark{display:inline-block;margin-top:12px}.appendix-table{min-width:660px}.appendix-table th,.appendix-table td{padding:12px 14px}.governance-appendix .table-wrap{overflow-x:auto}}

/* Business typography: forms, case detail and workflow readability. */
.case-head h1,.form-intro h1{font-size:30px;line-height:1.22;letter-spacing:-.025em}
.case-head p,.form-intro p{color:#596579;font-size:13px;line-height:1.6}
.case-clock small,.case-clock span{color:#596579;font-size:12px}
.section-head h2,.form-section-title h2{font-size:20px;line-height:1.35}
.section-head span,.workflow-kicker,.workflow-current-heading>span{font-size:10px}
.workflow-summary h2{font-size:20px}
.workflow-summary p{color:#596579;font-size:13px;line-height:1.55}
.workflow-progress-label,.workflow-progress-label strong{font-size:12px}
.workflow-legend{color:#596579;font-size:11px}
.workflow-phase-row{color:#667085;font-size:11px}
.workflow-node{font-size:10px}
.workflow-step-status{color:#667085;font-size:11px}
.workflow-step-name{font-size:14px}
.workflow-step-owner{color:#596579;font-size:11px}
.workflow-current-details dt{color:#596579;font-size:11px}
.workflow-current-details dd{font-size:13px}
.analysis-grid p,.approval-row p,.approval-row span,.approval-row time,
.sign-grid p,.alert-strip p,.alert-strip a span{font-size:13px}
.form-section-title p,.field small,.severity-alert p{color:#596579;font-size:12px;line-height:1.6}
.field>label{font-size:13px}
.form-control,.category-trigger,.rich-surface,.cois-rich-editor .ql-editor{font-size:13px}
.cois-editor-toolbar-title b,.cois-editor-toolbar.ql-toolbar button{font-size:12px}
.cois-editor-toolbar-title small,.cois-link-popover header span,.cois-link-error{color:#596579;font-size:11px}
.cois-editor-toolbar.ql-toolbar.ql-snow{
  flex-wrap:nowrap;
  gap:7px;
  min-height:48px;
  padding:7px 10px;
  background:#fafbfc;
}
.cois-editor-toolbar-title{
  flex-direction:row;
  align-items:center;
  gap:0;
  padding-right:9px;
}
.cois-editor-toolbar-title b{font-size:11px;letter-spacing:.01em}
.cois-editor-toolbar-title small{display:none}
.cois-editor-actions{
  display:flex;
  flex:1 1 auto;
  min-width:0;
  flex-wrap:nowrap;
  gap:3px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.cois-editor-toolbar.ql-toolbar .ql-formats{
  flex:0 0 auto;
  gap:1px;
  padding-right:4px;
}
.cois-editor-toolbar.ql-toolbar button{
  flex:0 0 auto;
  height:32px;
  padding:0 6px;
  gap:4px;
  font-size:11px;
}
.workflow-popover-head>span,.profile-approval-heading>div>span,.case-delete-kicker,.appendix-mark{font-size:10px}
.workflow-popover dt,.workflow-popover-risk{color:#596579;font-size:11px}
.workflow-popover dd{font-size:12px}
.profile-approval-meta em{font-size:10px}
.profile-approval-copy>span,.profile-approval-copy time,.profile-approval-copy p,
.profile-approval-empty span{color:#596579;font-size:11px}
.audit-event-card header span,.audit-event-card time,.audit-event-transition b{color:#596579;font-size:11px}
.audit-event-transition span{font-size:10px}
.case-delete-dialog header p,.case-delete-dialog label small{color:#596579;font-size:11px}
.appendix-table th{font-size:11px}
.appendix-table td{font-size:13px}

@media(max-width:680px){
  .cois-editor-toolbar.ql-toolbar.ql-snow{min-height:58px;padding:7px 8px}
  .cois-editor-toolbar-title{display:none}
  .cois-editor-actions{scrollbar-width:none}
  .cois-editor-actions::-webkit-scrollbar{display:none}
  .cois-editor-toolbar.ql-toolbar button{height:44px;padding:0 10px}
  .case-head h1,.form-intro h1{font-size:28px}
  .section-head h2,.form-section-title h2{font-size:19px}
  .structured-form input:not([type=checkbox]):not([type=radio]),
  .structured-form select,.structured-form textarea,.category-trigger,
  .structured-form>.form-actions .primary,.structured-form>.form-actions .secondary,
  .action-form button,.case-head-actions a,.case-head-actions button{min-height:44px}
  #id_category_codes label{min-height:44px}
}

/* Cause / plan confirmation: plain-language guidance for the current operator. */
.review-confirm-form>p{margin:0 0 16px}
.review-confirm-form>p>label{display:block;margin:0 0 7px;color:#27364a;font-size:13px;font-weight:700;line-height:1.45}
.review-confirm-form .form-control{width:100%;min-height:44px;border-color:#cbd5e1;background:#fff;color:#1d2939;font-size:13px;line-height:1.55}
.review-confirm-form textarea.form-control{min-height:112px;padding:11px 12px;resize:vertical}
.review-confirm-form textarea.form-control::placeholder{color:#7a8595;opacity:1}
.review-confirm-form .helptext{display:block;margin:6px 0 0;color:#596579;font-size:11px;line-height:1.55}
.review-confirm-form .person-picker{margin-top:0}
.review-confirm-form>.primary{margin-top:4px}
.review-confirm-form .form-control:focus-visible{border-color:#1769e0;outline:0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}

@media(max-width:680px){
  .review-confirm-form>p{margin-bottom:18px}
  .review-confirm-form .form-control{min-height:44px;font-size:14px}
  .review-confirm-form .helptext{font-size:12px}
}

/* Final case review: a finite review-and-distribution step, not a learning tracker. */
.post-review-panel{overflow:visible;border-color:#d7e4f3;background:linear-gradient(135deg,#fff 0%,#fbfdff 100%)}
.post-review-heading{align-items:flex-start}.post-review-heading p{max-width:680px;margin:6px 0 0;color:#596579;font-size:12px;line-height:1.6}.post-review-heading em{padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#175cd3;font-size:10px;font-weight:700;white-space:nowrap}
.post-review-content{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #dfe7f0;border-radius:11px;background:#fff}.post-review-content article{min-width:0;padding:17px 18px}.post-review-content article+article{border-left:1px solid #e7edf4}.post-review-content small{display:block;color:#1769e0;font-size:11px;font-weight:750}.post-review-content p{margin:8px 0 0;color:#344054;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.post-review-distribution{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:12px;padding:13px 15px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.post-review-distribution>div{display:flex;align-items:center;gap:10px;min-width:170px}.post-review-distribution>div>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e7f1ff;color:#1769e0;font-size:16px}.post-review-distribution b,.post-review-distribution small{display:block}.post-review-distribution b{color:#344054;font-size:12px}.post-review-distribution small{margin-top:2px;color:#667085;font-size:10px}.post-review-distribution ul{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:1px 0 0;padding:0;list-style:none}.post-review-distribution li{padding:5px 9px;border:1px solid #cfe0f5;border-radius:999px;background:#fff;color:#31577f;font-size:11px}
.post-review-pending{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:center;padding:17px;border:1px dashed #b9cfea;border-radius:11px;background:#f7faff}.post-review-pending>span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e5f0ff;color:#1769e0;font:750 13px/1 ui-monospace,SFMono-Regular,Consolas}.post-review-pending b{color:#253247;font-size:14px}.post-review-pending p{margin:4px 0 0;color:#596579;font-size:12px;line-height:1.6}
.action-sticky:has(.post-review-form){overflow:visible}.post-review-form-intro{margin-bottom:16px;padding:12px 13px;border-left:3px solid #1769e0;border-radius:0 8px 8px 0;background:#f3f7ff}.post-review-form-intro b{color:#174ea6;font-size:13px}.post-review-form-intro p{margin:3px 0 0;color:#596579;font-size:11px;line-height:1.55}.post-review-form>p{margin:0 0 16px}.post-review-form>p>label{display:block;margin:0 0 7px;color:#27364a;font-size:13px;font-weight:700;line-height:1.45}.post-review-form textarea.form-control{width:100%;min-height:108px;padding:11px 12px;resize:vertical;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#1d2939;font-size:13px;line-height:1.6;outline:0}.post-review-form textarea.form-control:focus{border-color:#1769e0;box-shadow:0 0 0 3px rgba(23,105,224,.12)}.post-review-form .helptext{display:block;margin:6px 0 0;color:#596579;font-size:11px;line-height:1.55}.post-review-form .errorlist{display:block;margin:6px 0 0;padding:7px 9px;list-style:none;border-left:3px solid #d92d20;border-radius:0 7px 7px 0;background:#fff1f0;color:#b42318;font-size:11px}.post-review-form .cc-person-picker{position:relative}.post-review-form .cc-person-options{z-index:60}.post-review-form>.primary{margin-top:2px}
@media(max-width:1050px){.post-review-content{grid-template-columns:1fr}.post-review-content article+article{border-top:1px solid #e7edf4;border-left:0}.post-review-distribution{display:block}.post-review-distribution ul{justify-content:flex-start;margin-top:12px}}
@media(max-width:680px){.post-review-heading{display:block}.post-review-heading em{display:inline-flex;margin-top:10px}.post-review-content article{padding:15px}.post-review-distribution{padding:13px}.post-review-pending{grid-template-columns:40px minmax(0,1fr);padding:14px}.post-review-pending>span{width:38px;height:38px}.post-review-form textarea.form-control{min-height:122px;font-size:14px}.post-review-form .cc-person-search,.post-review-form .cc-person-chip button,.post-review-form>.primary{min-height:44px}.post-review-form .helptext{font-size:12px}}

/* Mobile case profile: preserve label/value relationships instead of stacking
   every dt and dd as unrelated full-width rows. */
@media(max-width:680px){
  .case-profile-panel{padding:18px 16px}
  .case-profile-panel>.section-head{margin-bottom:14px}
  .case-profile-layout{
    width:100%;
    min-width:0;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"summary" "narrative" "approval";
    gap:18px;
  }
  .case-profile-panel .case-profile-summary{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    column-gap:14px;
    row-gap:0;
    align-items:start;
  }
  .case-profile-summary dt,
  .case-profile-summary dd{
    min-width:0;
    padding:10px 0;
    border-bottom:1px solid #edf1f5;
  }
  .case-profile-summary dt{color:#667085;font-size:12px;line-height:1.55}
  .case-profile-summary dd{
    color:#1d2939;
    font-size:14px;
    line-height:1.6;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .case-profile-summary dt:first-child,
  .case-profile-summary dd:first-of-type{padding-top:2px}
  .case-profile-summary dt:last-of-type,
  .case-profile-summary dd:last-child{border-bottom:0}
  .case-profile-summary .case-cc-list{gap:5px}
  .case-profile-summary .case-cc-list>span{font-size:12px}
  .case-profile-panel .case-profile-narrative{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:7px;
  }
  .case-profile-narrative dt{margin-top:8px;color:#667085;font-size:12px}
  .case-profile-narrative dt:first-child{margin-top:0}
  .case-profile-narrative dd.full{
    grid-column:1;
    min-width:0;
    padding:12px 13px;
    font-size:13px;
    line-height:1.7;
    overflow-wrap:anywhere;
  }
}
