.policy-reading{max-width:76ch;margin:0 auto;padding:8px 0 20px;color:inherit;font-family:inherit;font-size:15px;line-height:1.95;overflow-wrap:anywhere;word-break:normal}
.policy-reading>p{margin:0 0 1em;white-space:pre-wrap;text-align:start}
.policy-reading>p:empty{min-height:1em}
.policy-reading>h2,.policy-reading>h3,.policy-reading>h4{margin:1.8em 0 .75em;font-size:1.08em;line-height:1.7;font-weight:650;white-space:pre-wrap;color:inherit}
.policy-reading>h2:first-child,.policy-reading>h3:first-child,.policy-reading>h4:first-child{margin-top:.3em}
.policy-reading-table{max-width:100%;overflow:auto;margin:1.3em 0;border:1px solid #d9dfe7;border-radius:6px;overscroll-behavior-x:contain}
.policy-reading-table:focus-visible{outline:2px solid #4b87d4;outline-offset:3px}
.policy-reading table{border-collapse:collapse;min-width:100%;width:max-content;max-width:150ch;font-size:14px;line-height:1.75}
.policy-reading td,.policy-reading th{min-width:5em;max-width:35ch;border:1px solid #d9dfe7;padding:10px 12px;vertical-align:top;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
.policy-reading th{font-weight:600;background:rgba(120,130,145,.08)}
.policy-reading-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 12px;font-size:13px}
.policy-reading-raw{margin:0;font-family:inherit;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
@media(max-width:700px){.policy-reading{font-size:14px;line-height:1.9;padding:4px 0 12px}.policy-reading td,.policy-reading th{padding:8px 10px}.policy-reading table{font-size:13px}}

.policy-data-panel{padding:12px 14px;background:#fff;border:1px solid #e6e9ee;border-radius:6px;min-width:0}
.pd-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.pd-tabs .el-button{margin:0;padding:7px 10px;height:30px;font-size:13px}
.pd-count{margin-left:7px;font-variant-numeric:tabular-nums}
.pd-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.pd-region{width:140px}
.pd-source-filter{flex:1 1 220px;min-width:180px;max-width:320px}
.pd-search{flex:1 1 280px;min-width:220px}
.pd-table-wrap{max-width:100%;overflow:auto}
.pd-table-wrap .el-table{min-width:640px}
.pd-row-actions{display:flex;gap:10px;white-space:nowrap}
.pd-row-actions .el-button+.el-button{margin-left:0}
.pd-pagination{margin-top:10px;max-width:100%;overflow:auto}
.pd-total{margin-right:12px;font-size:13px;color:#526174;white-space:nowrap}
.pd-note,.pd-muted{color:#687384;font-size:13px;line-height:1.6}
.pd-source{margin-top:2px;color:#687384;font-size:12px;line-height:1.4}
button.pd-source{display:block;max-width:100%;padding:0;border:0;background:none;font-family:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
button.pd-source:hover,button.pd-source:focus-visible{color:#409eff;text-decoration:underline}
.pd-title{font-weight:500;line-height:1.5}
.policy-data-panel>.el-alert{margin-bottom:8px}
.pd-detail{max-height:76vh;overflow:auto;padding-right:8px}
.pd-detail h2{font-size:20px;line-height:1.6;margin:0 0 12px}
.pd-detail h3{font-size:16px;margin:16px 0 8px}
.pd-field{display:flex;gap:12px;line-height:1.8;overflow-wrap:anywhere}
.pd-label{min-width:78px;color:#687384}
.pd-body{font-family:inherit;white-space:pre-wrap;line-height:1.85;font-size:14px;background:#f8fafc;padding:12px;overflow-wrap:anywhere}
.pd-body-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.pd-detail .pd-body-heading>h3{margin:0}
.pd-detail .policy-reading{color:#334155}
.pd-evidence{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.7}
.pd-file-actions,.pd-attachment,.pd-event-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pd-attachment{padding:10px 0;border-bottom:1px solid #edf0f4}
.pd-attachment>span{flex:1;min-width:160px}
.pd-event{padding:10px 0;border-bottom:1px solid #e6e9ee;margin:8px 0}
.pd-event-top{margin-bottom:8px}
.pd-preview{margin:16px 0;padding:12px;background:#f6f8fb}
.pd-preview iframe{display:block;width:100%;height:60vh;border:0;margin-top:10px}
.pd-preview img{display:block;max-width:100%;max-height:65vh;margin:10px auto}
.pd-source-url{font-size:14px;overflow-wrap:anywhere}
.pd-detail .el-alert{margin-bottom:12px}
.pd-editor{max-height:70vh;overflow:auto;padding-right:4px}
.pd-edit-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;min-width:0}
.pd-edit-field>label{font-size:13px;color:#526174}
.pd-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.pd-editor .el-alert{margin-bottom:12px}
.pd-editor .pd-region{width:100%}
@media(max-width:700px){.policy-data-panel{padding:10px}.pd-toolbar>.el-select{flex:1 1 140px;width:auto}.pd-source-filter{flex:1 1 140px;min-width:0;max-width:none}.pd-search{flex-basis:100%;min-width:0}.pd-detail{max-height:72vh}.pd-body{padding:10px}.pd-tabs .el-button{font-size:12px;padding:6px 8px}.pd-count{margin-left:5px}.pd-edit-grid{grid-template-columns:minmax(0,1fr)}.pd-pagination .el-pagination__total{margin-right:8px}}
/* The deployed admin shell has a fixed sidebar; scope its mobile adaptation to this page. */
@media(max-width:700px){body:has(.policy-data-panel) .sidebar{display:none}body:has(.policy-data-panel) .main-area{width:100%;min-width:0;margin-left:0}body:has(.policy-data-panel) .content{min-width:0;padding:12px}body:has(.policy-data-panel) .topbar{box-sizing:border-box;height:auto;min-height:56px;padding:8px 12px;gap:8px;flex-wrap:wrap}body:has(.policy-data-panel) .topbar>*{min-width:0}}
