.pmrt-tools{padding:14px 20px;border-bottom:1px solid #d6e1d9;background:#f6f8f5}.pmrt-tools button,.pmrt-compare button{padding:8px 12px;border:1px solid #cbd8ce;border-radius:6px;background:white;color:#28644f;cursor:pointer}.pmrt-actions{display:flex;gap:10px;flex-wrap:wrap}.pmrt-tools details{margin-top:12px}.pmrt-tools summary{cursor:pointer;color:#284a36;font-weight:600}.pmrt-tools label{display:block;margin:10px 0}.pmrt-tools input,.pmrt-tools select,.pmrt-tools textarea{display:block;width:100%;box-sizing:border-box;padding:8px;font:inherit;border:1px solid #cbd8ce;border-radius:6px;background:white}.pmrt-history{max-height:160px;overflow:auto}.pmrt-history p{border-top:1px solid #d6e1d9;padding-top:8px}.pmrt-tools small,.pmrt-compare small{color:#65736b}.pmrt-compare{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(1200px,96vw);height:86dvh;max-height:94dvh;border:1px solid #d6e1d9;border-radius:12px;padding:20px;color:#22392d}.pmrt-compare::backdrop{background:#1b2a2355}.pmrt-compare header{display:flex;justify-content:space-between;align-items:center}.pmrt-compare h2{font-size:20px;margin:0}.pmrt-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pmrt-columns section{min-width:0}.pmrt-columns select{display:block;width:100%;padding:8px;margin:8px 0;font:inherit}.pmrt-columns pre{white-space:pre-wrap;overflow-wrap:anywhere;height:55dvh;overflow:auto;padding:14px;background:#f6f8f5;font:14px/1.8 -apple-system,"PingFang SC",sans-serif}.pmrt-tools button:focus-visible,.pmrt-compare button:focus-visible{outline:2px solid #28644f;outline-offset:3px}@media(max-width:700px){.pmrt-columns{grid-template-columns:1fr}.pmrt-columns pre{height:35dvh}}

.pmat-attachment-preview.pmrt-preview{display:flex;flex-direction:column;overflow:auto}.pmrt-preview>*{flex-shrink:0}.pmrt-preview>.pmrt-tools{max-height:45%;overflow:auto}.pmrt-preview>pre{flex:1 0 180px;min-height:180px;max-height:55vh;overflow:auto}

.pmat-attachment-preview.pmat-ocr-preview{display:flex;width:min(1080px,96vw);height:min(780px,92vh);flex-direction:column;overflow:hidden}.pmat-ocr-preview>*{flex-shrink:0}.pmat-ocr-boundary{padding:9px 18px;border-bottom:1px solid #e7edf5;background:#f8fafc;color:#526174;font-size:12px;line-height:1.55}.pmat-ocr-body{flex:1 1 auto;min-height:0;padding:18px 20px;overflow:auto}.pmat-ocr-loading{display:grid;place-content:center;gap:6px;min-height:260px;text-align:center}.pmat-ocr-loading strong{color:#1e293b;font-size:15px}.pmat-ocr-loading span{max-width:58ch;color:#64748b;font-size:12px;line-height:1.6}.pmat-ocr-loading button{justify-self:center;margin-top:8px;padding:8px 13px;border:1px solid #bfd0e6;border-radius:6px;background:#fff;color:#2458c6;cursor:pointer}.pmat-ocr-loading.is-error strong{color:#9f2d24}.pmat-ocr-save{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 18px;border-top:1px solid #dbe4ee;background:#fff}.pmat-ocr-save span{max-width:70ch;color:#526174;font-size:12px;line-height:1.55}.pmat-ocr-save button{flex:0 0 auto}.pmat-ocr-preview .di-ocr-image,.pmat-ocr-preview .di-ocr-transcript textarea{height:320px}@media(max-width:760px){.pmat-attachment-preview.pmat-ocr-preview{width:100%;height:94vh}.pmat-ocr-body{padding:14px}.pmat-ocr-save{align-items:stretch;flex-direction:column}.pmat-ocr-save button{width:100%}.pmat-ocr-preview .di-ocr-image,.pmat-ocr-preview .di-ocr-transcript textarea{height:260px}}

.pmrt-discovery{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:12px 0;background:#f3f7f3;border:1px solid #d6e1d9;border-radius:8px;color:#45604e;font-size:13px}.pmrt-discovery button{flex-shrink:0;padding:8px 12px;border:1px solid #b9cdbe;border-radius:6px;color:#28644f;background:white;cursor:pointer}.pmrt-tools button:disabled{opacity:.6;cursor:default}@media(max-width:640px){.pmrt-discovery{align-items:flex-start;flex-direction:column}}

#view-materials .pmat-clean-page .pmat-ledger-table{min-width:820px!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-name{width:32%!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-provider{width:18%!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-date{width:10%!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-status{width:13%!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-received{width:13%!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-col-actions{width:14%!important}
#view-materials .pmat-clean-page .pmat-ledger-table td{padding:14px 12px!important;vertical-align:middle}
#view-materials .pmat-clean-page .pmat-ledger-table th{padding:12px!important;font-size:12px!important}
#view-materials .pmat-clean-page .pmat-ledger-table .pmat-name-cell strong{font-size:14px!important;line-height:1.5}
#view-materials .pmat-clean-page .pmat-ledger-table tbody tr:hover{background:#f7fafc}
#view-materials .pmat-source-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#view-materials .pmat-received-table td:nth-child(5){min-width:110px}

#view-materials .pmat-preparation-flow{margin:16px 0 18px;border:1px solid #d9e2ef;border-radius:10px;background:#fff;overflow:hidden}
#view-materials .pmat-preparation-flow>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:16px 18px 12px;border-bottom:1px solid #e7edf5}
#view-materials .pmat-preparation-flow>header span{display:block;margin-bottom:4px;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.08em}
#view-materials .pmat-preparation-flow>header strong{display:block;color:#172033;font-size:16px;line-height:1.4}
#view-materials .pmat-preparation-flow>header small{max-width:420px;color:#64748b;line-height:1.5;text-align:right}
#view-materials .pmat-preparation-flow ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}
#view-materials .pmat-preparation-flow li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:15px 16px;border-right:1px solid #e7edf5}
#view-materials .pmat-preparation-flow li:last-child{border-right:0}
#view-materials .pmat-preparation-flow li>span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:800}
#view-materials .pmat-preparation-flow li.needs-attention>span{background:#fff7ed;color:#c2410c}
#view-materials .pmat-preparation-flow li.is-ready>span{background:#ecfdf5;color:#047857}
#view-materials .pmat-preparation-flow li strong,#view-materials .pmat-preparation-flow li small{display:block}
#view-materials .pmat-preparation-flow li strong{color:#1f2937;font-size:13px}
#view-materials .pmat-preparation-flow li small{margin-top:3px;color:#64748b;font-size:11px;line-height:1.45}
#view-materials .pmat-preparation-flow li button{padding:6px 9px;border:1px solid #cbd7e8;border-radius:6px;background:#fff;color:#2458c6;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}

#view-materials .pmat-readiness-panel{margin:0 0 18px;border:1px solid #d9e2ef;border-radius:10px;background:#fff;overflow:hidden}
#view-materials .pmat-readiness-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid #e7edf5;background:#fbfcfe}
#view-materials .pmat-readiness-panel>header span,#view-materials .pmat-readiness-panel>header strong,#view-materials .pmat-readiness-panel>header small{display:block}
#view-materials .pmat-readiness-panel>header span{margin-bottom:2px;color:#2563eb;font-size:10px;font-weight:800;letter-spacing:.06em}
#view-materials .pmat-readiness-panel>header strong{color:#1e293b;font-size:14px;line-height:1.4}
#view-materials .pmat-readiness-panel>header small{margin-top:2px;color:#64748b;font-size:11px;line-height:1.45}
#view-materials .pmat-readiness-panel>header .btn{flex:0 0 auto;min-width:86px}
#view-materials .pmat-readiness-empty{display:block;padding:14px 16px;background:#fff}
#view-materials .pmat-readiness-empty strong,#view-materials .pmat-readiness-empty span{display:block}
#view-materials .pmat-readiness-empty strong{color:#334155;font-size:13px}
#view-materials .pmat-readiness-empty span{margin-top:3px;color:#64748b;font-size:11px}
#view-materials .pmat-readiness-empty.is-error{background:#fff7f7}
#view-materials .pmat-readiness-empty.is-error strong{color:#b42318}
#view-materials .pmat-readiness-empty.is-ready{background:#f5fbf7}
#view-materials .pmat-readiness-empty.is-ready strong{color:#047857}
#view-materials .pmat-readiness-counts{display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #edf1f5;background:#fff}
#view-materials .pmat-readiness-counts>span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#526175;font-size:11px}
#view-materials .pmat-readiness-counts>span b{font-size:12px}
#view-materials .pmat-readiness-counts>.is-complete{background:#ecfdf5;color:#047857}
#view-materials .pmat-readiness-counts>.is-partial,#view-materials .pmat-readiness-counts>.is-needs-review{background:#fff7ed;color:#b45309}
#view-materials .pmat-readiness-counts>.is-mismatch,#view-materials .pmat-readiness-counts>.is-unreadable{background:#fef2f2;color:#b42318}
#view-materials .pmat-readiness-counts>small{margin-left:auto;color:#64748b;font-size:10px}
#view-materials .pmat-readiness-list{background:#fff}
#view-materials .pmat-readiness-item{border-bottom:1px solid #edf1f5}
#view-materials .pmat-readiness-item:last-child{border-bottom:0}
#view-materials .pmat-readiness-main{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:12px;padding:11px 16px}
#view-materials .pmat-readiness-status{display:inline-block;padding:3px 6px;border-radius:5px;background:#fff7ed;color:#b45309;font-size:10px;font-weight:800;text-align:center}
#view-materials .pmat-readiness-item.is-mismatch .pmat-readiness-status,#view-materials .pmat-readiness-item.is-unreadable .pmat-readiness-status{background:#fef2f2;color:#b42318}
#view-materials .pmat-readiness-main strong{display:block;color:#1e293b;font-size:13px;line-height:1.45}
#view-materials .pmat-readiness-main p{margin:2px 0 0;color:#475569;font-size:11px;line-height:1.5}
#view-materials .pmat-readiness-main small{display:block;margin-top:3px;color:#8a5a17;font-size:10px;line-height:1.45}
#view-materials .pmat-readiness-main button{padding:5px 8px;border:1px solid #cbd7e8;border-radius:6px;background:#fff;color:#2458c6;font:inherit;font-size:11px;cursor:pointer}
#view-materials .pmat-readiness-item>details{margin:0 16px 10px 76px}
#view-materials .pmat-readiness-item>details>summary{color:#526175;font-size:10px;font-weight:700;cursor:pointer}
#view-materials .pmat-readiness-item>details ul{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}
#view-materials .pmat-readiness-item>details li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;color:#475569;font-size:11px;line-height:1.5}
#view-materials .pmat-readiness-item>details li b{color:#64748b}
#view-materials .pmat-readiness-issue-text{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
#view-materials .pmat-readiness-issue-text>span{min-width:0}
#view-materials .pmat-readiness-issue-text>button{flex:0 0 auto;padding:0;border:0;background:transparent;color:#2458c6;font:700 10px/1.5 inherit;cursor:pointer;white-space:nowrap}
#view-materials .pmat-readiness-issue-text>button:hover{text-decoration:underline}
#view-materials .pmat-readiness-save-error{margin:0;padding:8px 16px;border-top:1px solid #fed7d7;background:#fff7f7;color:#b42318;font-size:10px}
@media(max-width:760px){#view-materials .pmat-readiness-panel>header{align-items:flex-start;flex-direction:column}#view-materials .pmat-readiness-counts{align-items:flex-start;flex-wrap:wrap}#view-materials .pmat-readiness-counts>small{width:100%;margin-left:0}#view-materials .pmat-readiness-main{grid-template-columns:48px minmax(0,1fr)}#view-materials .pmat-readiness-main button{grid-column:2;justify-self:start}#view-materials .pmat-readiness-item>details{margin-left:76px}}

#view-materials .pmat-supplement-panel.pmat-plan-panel{position:fixed!important;z-index:1200;top:76px!important;right:18px!important;bottom:auto!important;left:auto!important;display:flex!important;flex-direction:column!important;width:min(960px,calc(100vw - 36px))!important;height:auto!important;max-height:calc(100vh - 94px)!important;margin:0!important;border:1px solid #cfd9e5!important;border-radius:14px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important;overflow:hidden!important}
#view-materials .pmat-plan-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:#fff}
#view-materials .pmat-plan-panel>header strong,#view-materials .pmat-plan-panel>header span{display:block}
#view-materials .pmat-plan-panel>header strong{color:#172033;font-size:16px}
#view-materials .pmat-plan-panel>header span{margin-top:3px;color:#64748b;font-size:12px;line-height:1.45}
#view-materials .pmat-plan-tabs{display:flex;gap:24px;padding:0 18px;border-bottom:1px solid #e4eaf1;background:#fff}
#view-materials .pmat-plan-tabs button{position:relative;display:flex;align-items:center;gap:7px;min-height:42px;padding:0;border:0;background:transparent;color:#64748b;font:700 13px inherit;cursor:pointer}
#view-materials .pmat-plan-tabs button::after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent}
#view-materials .pmat-plan-tabs button.is-active{color:#1d4ed8}
#view-materials .pmat-plan-tabs button.is-active::after{background:#2563eb}
#view-materials .pmat-plan-tabs button span{min-width:20px;padding:2px 6px;border-radius:999px;background:#eef2f7;color:inherit;font-size:10px;text-align:center}
#view-materials .pmat-plan-tabs button:focus-visible{outline:2px solid #2563eb;outline-offset:4px}
#view-materials .pmat-plan-content{flex:1;min-height:0;padding:18px;background:#f8fafc;overflow:auto}
#view-materials .pmat-plan-source{margin:0;padding:0;border:0;background:transparent}
#view-materials .pmat-plan-source>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
#view-materials .pmat-plan-source>header span,#view-materials .pmat-plan-source>header strong,#view-materials .pmat-plan-source>header small{display:block}
#view-materials .pmat-plan-source>header strong{color:#1f2937;font-size:15px}
#view-materials .pmat-plan-source>header small{margin-top:4px;color:#64748b;font-size:12px}
#view-materials .pmat-plan-source .pmat-reference{position:static!important;width:auto!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#view-materials .pmat-plan-source .pmat-reference-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:0 0 14px!important;border:0!important}
#view-materials .pmat-plan-source .pmat-reference-head strong,#view-materials .pmat-plan-source .pmat-reference-head span{display:block}
#view-materials .pmat-plan-source .pmat-reference-head strong{color:#1e293b;font-size:15px}
#view-materials .pmat-plan-source .pmat-reference-head span,#view-materials .pmat-plan-source .pmat-reference-head>small{margin-top:3px;color:#64748b;font-size:11px;line-height:1.45}
#view-materials .pmat-plan-source .pmat-reference-filters{display:grid!important;grid-template-columns:minmax(180px,.8fr) minmax(230px,1.2fr) minmax(220px,1fr)!important;gap:10px!important;padding:0 0 14px!important;border:0!important;background:transparent!important}
#view-materials .pmat-plan-source .pmat-reference-filters .is-wide{grid-column:auto!important}
#view-materials .pmat-plan-source .pmat-reference-filters label{gap:5px;color:#64748b;font-size:11px;font-weight:700}
#view-materials .pmat-plan-source .pmat-reference-filters input,#view-materials .pmat-plan-source .pmat-reference-filters select{height:38px;border-color:#d5dee9;border-radius:8px;font-size:13px}
#view-materials .pmat-plan-source .pmat-reference-list{max-height:420px!important;margin:0!important;padding:0!important;border:1px solid #dfe6ee!important;border-radius:10px!important;background:#fff!important;overflow:auto!important}
#view-materials .pmat-reference-group{border-bottom:1px solid #e8edf3}
#view-materials .pmat-reference-group:last-child{border-bottom:0}
#view-materials .pmat-reference-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;list-style:none;cursor:pointer}
#view-materials .pmat-reference-group>summary::-webkit-details-marker{display:none}
#view-materials .pmat-reference-group>summary strong,#view-materials .pmat-reference-group>summary small{display:inline}
#view-materials .pmat-reference-group>summary strong{color:#334155;font-size:13px}
#view-materials .pmat-reference-group>summary small,#view-materials .pmat-reference-group>summary span{margin-left:8px;color:#64748b;font-size:11px}
#view-materials .pmat-reference-group[open]>summary{background:#f8fafc}
#view-materials .pmat-reference-group-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid #edf1f5}
#view-materials .pmat-plan-content .pmat-reference-item{grid-template-columns:18px minmax(0,1fr)!important;min-height:94px!important;padding:12px 14px!important;border:0!important;border-bottom:1px solid #f0f3f7!important;border-radius:0!important;background:#fff!important;font-size:13px!important;line-height:1.5!important}
#view-materials .pmat-reference-item:nth-child(odd){border-right:1px solid #f0f3f7}
#view-materials .pmat-reference-item:hover{background:#f4f7fb}
#view-materials .pmat-plan-content .pmat-reference-item span{min-width:0;font-size:12px!important;line-height:1.45!important}
#view-materials .pmat-plan-content .pmat-reference-item strong{display:-webkit-box;overflow:hidden;color:#1e293b;font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#view-materials .pmat-plan-content .pmat-reference-item small{display:-webkit-box!important;max-width:none!important;margin-top:5px!important;padding:0!important;overflow:hidden!important;border-radius:0!important;background:transparent!important;color:#64748b!important;font-size:11px!important;font-weight:400!important;line-height:1.5!important;white-space:normal!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#view-materials .pmat-plan-content .pmat-reference-item .pmat-reference-provider{display:block!important;margin-top:2px!important;color:#476485!important;-webkit-line-clamp:1}
#view-materials .pmat-plan-selection-bar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 0 0;color:#64748b;font-size:12px}
#view-materials .pmat-plan-selection-bar .btn,#view-materials .pmat-plan-ai-actions .btn{min-width:112px}
#view-materials .pmat-plan-selection-bar .btn:disabled,#view-materials .pmat-plan-ai-actions .btn:disabled{opacity:.42;cursor:not-allowed}
#view-materials .pmat-plan-ai-state,#view-materials .pmat-plan-ai-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #dfe6ee;border-radius:10px;background:#fff}
#view-materials .pmat-plan-ai-state strong,#view-materials .pmat-plan-ai-state span,#view-materials .pmat-plan-ai-summary strong,#view-materials .pmat-plan-ai-summary span{display:block}
#view-materials .pmat-plan-ai-state strong,#view-materials .pmat-plan-ai-summary strong{color:#334155;font-size:13px}
#view-materials .pmat-plan-ai-state span,#view-materials .pmat-plan-ai-summary span{margin-top:2px;color:#64748b;font-size:11px;line-height:1.45}
#view-materials .pmat-plan-ai-summary>details{max-width:50%}
#view-materials .pmat-plan-ai-summary>details>summary{color:#2563eb;font-size:11px;font-weight:700;cursor:pointer;text-align:right}
#view-materials .pmat-plan-ai-summary>details>p{max-width:70ch;margin:10px 0 0;color:#475569;font-size:11px;line-height:1.6;text-align:left}
#view-materials .pmat-plan-ai-state.is-error{border-color:#fecaca;background:#fff7f7}
#view-materials .pmat-plan-ai-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:350px;margin-top:10px;overflow:auto}
#view-materials .pmat-plan-ai-item{min-width:0;border:1px solid #dfe6ee;border-radius:10px;background:#fff;overflow:hidden}
#view-materials .pmat-plan-ai-item:hover{border-color:#b9c9dd;background:#fbfdff}
#view-materials .pmat-plan-ai-item>label{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;min-height:68px;padding:12px;cursor:pointer}
#view-materials .pmat-plan-ai-item input{margin-top:3px;accent-color:#2563eb}
#view-materials .pmat-plan-ai-item strong,#view-materials .pmat-plan-ai-item small,#view-materials .pmat-plan-ai-item em{display:block}
#view-materials .pmat-plan-ai-item strong{display:-webkit-box;overflow:hidden;color:#1e293b;font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#view-materials .pmat-plan-ai-item small{margin-top:4px;color:#64748b;font-size:11px}
#view-materials .pmat-plan-ai-item>details{border-top:1px solid #edf1f5}
#view-materials .pmat-plan-ai-item>details>summary{padding:8px 12px;color:#526175;font-size:10px;font-weight:700;cursor:pointer;list-style:none}
#view-materials .pmat-plan-ai-item>details>summary::-webkit-details-marker{display:none}
#view-materials .pmat-plan-ai-item>details>summary::after{content:"＋";float:right;color:#94a3b8}
#view-materials .pmat-plan-ai-item>details[open]>summary::after{content:"－"}
#view-materials .pmat-plan-ai-item>details>div{padding:0 12px 12px}
#view-materials .pmat-plan-ai-item p{margin:4px 0 8px;color:#334155;font-size:11px;line-height:1.55}
#view-materials .pmat-plan-ai-item .pmat-plan-ai-fields{display:block;margin:4px 0 8px;color:#476485;font-size:11px;line-height:1.55}
#view-materials .pmat-plan-ai-item em{color:#9a4a0f;font-size:11px;font-style:normal;line-height:1.55}
#view-materials .pmat-plan-ai-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
#view-materials .pmat-plan-ai-actions span,#view-materials .pmat-plan-mode-note{color:#64748b;font-size:11px}
#view-materials .pmat-plan-boundary{margin-top:10px;color:#64748b;font-size:11px}
#view-materials .pmat-plan-boundary summary{cursor:pointer;color:#475569;font-weight:700}
#view-materials .pmat-plan-boundary ul{margin:8px 0 0;padding-left:20px;line-height:1.6}

@media(max-width:1000px){#view-materials .pmat-preparation-flow ol{grid-template-columns:1fr}#view-materials .pmat-preparation-flow li{border-right:0;border-bottom:1px solid #e7edf5}#view-materials .pmat-preparation-flow li:last-child{border-bottom:0}}
@media(max-width:760px){#view-materials .pmat-plan-source .pmat-reference-filters,#view-materials .pmat-reference-group-body,#view-materials .pmat-plan-ai-list{grid-template-columns:1fr!important}#view-materials .pmat-reference-item:nth-child(odd){border-right:0}#view-materials .pmat-plan-ai-summary>details{max-width:none}}
@media(max-width:640px){#view-materials .pmat-preparation-flow>header,#view-materials .pmat-plan-panel>header,#view-materials .pmat-plan-source>header,#view-materials .pmat-plan-ai-actions,#view-materials .pmat-plan-source .pmat-reference-head{align-items:flex-start;flex-direction:column}#view-materials .pmat-preparation-flow>header small{text-align:left}#view-materials .pmat-preparation-flow li{grid-template-columns:30px minmax(0,1fr)}#view-materials .pmat-preparation-flow li button{grid-column:2;justify-self:start}#view-materials .pmat-plan-ai-state,#view-materials .pmat-plan-ai-summary{align-items:flex-start;flex-direction:column}#view-materials .pmat-plan-tabs{gap:18px;overflow:auto}#view-materials .pmat-plan-content{padding:14px}}

/* Quiet reading hierarchy for material collection and AI results. */
#view-materials .pmat-readiness-panel{margin:24px 0 28px;border-color:#dde3e9;border-radius:12px;box-shadow:none}
#view-materials .pmat-readiness-panel>header{padding:20px 24px;background:#f7f9fb;border-bottom:0}
#view-materials .pmat-readiness-panel>header span{font-size:11px;font-weight:500;letter-spacing:0;color:#586c86}
#view-materials .pmat-readiness-panel>header strong{font-size:18px;font-weight:600;line-height:1.5}
#view-materials .pmat-readiness-panel>header small{font-size:12px;margin-top:5px}
#view-materials .pmat-readiness-counts{padding:12px 24px;background:#f7f9fb;gap:12px}
#view-materials .pmat-readiness-counts>span{background:transparent;color:#665440;padding:0;border-radius:0;font-size:13px}
#view-materials .pmat-readiness-counts>small{font-size:12px}
#view-materials .pmat-readiness-main{padding:22px 24px 10px;gap:16px;grid-template-columns:48px minmax(0,1fr) auto}
#view-materials .pmat-readiness-status{background:#f5f0e9;color:#79552a;font-weight:500;font-size:11px;margin-top:2px}
#view-materials .pmat-readiness-main strong{font-size:15px;line-height:1.65;font-weight:600;max-width:70ch}
#view-materials .pmat-readiness-main small{font-size:14px;line-height:1.8;color:#536171;margin-top:8px;max-width:76ch}
#view-materials .pmat-readiness-main button{font-size:13px;padding:8px 12px;color:#355b85;border-color:#dce3eb}
#view-materials .pmat-readiness-item>details{margin:0 24px 20px 88px}
#view-materials .pmat-readiness-item>details>summary{font-size:13px;font-weight:500;padding:6px 0;color:#456382}
#view-materials .pmat-readiness-item>details[open]{background:#f7f9fb;padding:12px 16px;border-radius:8px}
#view-materials .pmat-coverage-detail{font-size:14px;line-height:1.8;color:#536171;max-width:76ch;margin:10px 0 14px}
#view-materials .pmat-readiness-item>details ul{gap:14px}
#view-materials .pmat-readiness-item>details li{font-size:14px;line-height:1.8;grid-template-columns:84px minmax(0,1fr)}
#view-materials .pmat-readiness-item>details li b{font-weight:500}
#view-materials .pmat-readiness-issue-text>button{font-size:13px;font-weight:500}
#view-materials .pmat-ledger-table td{padding:20px 16px;vertical-align:middle}
#view-materials .pmat-ledger-table .pmat-name-cell{overflow-wrap:anywhere;white-space:normal}
#view-materials .pmat-ledger-table .pmat-name-cell strong{font-size:14px;line-height:1.7;font-weight:600}
#view-materials .pmat-ledger-table .pmat-name-cell small{margin-top:8px}
#view-materials .pmat-ledger-table .pmat-name-cell small b,#view-materials .pmat-ledger-table .pmat-priority{background:transparent;font-weight:400;color:#657180;border-radius:0;padding:0 8px 0 0}
#view-materials .pmat-source-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:11px;margin-top:6px;color:#687789}
#view-materials .pmat-title-disclosure{max-width:70ch;min-width:0}
#view-materials .pmat-title-disclosure>summary{font-size:14px;line-height:1.7;font-weight:600;color:#253448;cursor:pointer;overflow-wrap:anywhere}
#view-materials .pmat-title-disclosure>p{font-size:14px;line-height:1.8;color:#536171;margin:10px 0;white-space:normal}
#view-materials summary:focus-visible{outline:2px solid #416a9b;outline-offset:4px}
@media(max-width:760px){
#view-materials .pmat-readiness-main{grid-template-columns:minmax(0,1fr) auto;padding:18px 16px 8px;gap:10px}
#view-materials .pmat-readiness-status{grid-column:1/-1;justify-self:start}
#view-materials .pmat-readiness-main button{grid-column:auto}
#view-materials .pmat-readiness-item>details{margin:0 16px 18px}
#view-materials .pmat-readiness-panel>header{padding:18px 16px}
#view-materials .pmat-readiness-item>details li{grid-template-columns:1fr;gap:4px}
}
