/* Shared result views; scoped to the debug-role pilot, preserving the current theme. */
body.debug-duty-active .main-content{min-width:0}
body.debug-duty-active #role-context-menu [data-role-view^="system-"]{display:none!important}
body.debug-duty-active.debug-duty-config-access #role-context-menu [data-role-view^="system-"]{display:flex!important}
/* 统一使用左侧岗位导航；旧页面内部的八项快捷导航在试点内隐藏，避免重复。 */
body.debug-duty-active #debug-duty .dd-pages{display:none!important}
#role-pilot{color:inherit;min-width:0}
#role-pilot .rp-status{margin:10px 0;padding:10px 12px;border:1px solid #d6e7f1;border-radius:8px;background:#f1f8fc;color:#526b80;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
#role-pilot .rp-status.rp-error{border-color:#f2c8c8;background:#fff5f5;color:#a33}
#role-pilot .rp-toolbar{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 8px;border-bottom:1px solid #dce5ed}
#role-pilot .rp-toolbar .rf-subnav{flex:1 1 auto;min-width:0;margin:0;padding:0;border:0;flex-wrap:wrap}
#role-pilot .rp-filters{display:flex;align-items:center;gap:8px;flex:0 0 auto;flex-wrap:nowrap;margin:0 0 0 auto}
#role-pilot .rp-filters label,#role-pilot .rp-filter-inline label{display:flex;align-items:center;gap:6px;color:#60758a;font-size:12px;white-space:nowrap}
#role-pilot .rp-filters input,#role-pilot .rp-filters select,#role-pilot .rp-filter-inline select{max-width:210px;min-height:34px;border:1px solid #d7e2ed;border-radius:6px;padding:5px 8px;background:white;color:#234}
#role-pilot .rp-filters input[type=month]{width:145px}
#role-pilot .rp-filters select{min-width:150px}
#role-pilot .rp-section{margin:14px 0 18px}
#role-pilot .rp-section h2{margin:0 0 10px;color:#17324d;font-size:16px}
#role-pilot .rp-overall-card{display:flex;flex-direction:column;gap:5px;margin:0 0 10px;padding:13px 15px;border:1px solid #d7e7ef;border-radius:10px;background:#f5fafc}
#role-pilot .rp-overall-card span{font-size:12px;color:#6f8498}
#role-pilot .rp-overall-card strong{font-size:21px;color:#0c7890}
#role-pilot .rp-overall-card small{font-size:11px;line-height:1.55;color:#71879b}
#role-pilot .rp-duty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#role-pilot .rp-duty-card{appearance:none;min-width:0;text-align:left;border:1px solid #dce6f1;border-radius:10px;background:#fff;padding:13px;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}
#role-pilot .rp-duty-card:hover{border-color:#10a5b2;box-shadow:0 4px 12px rgba(16,110,130,.1)}
#role-pilot .rp-duty-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#role-pilot .rp-duty-card-head strong{font-size:14px;color:#17324d}
#role-pilot .rp-duty-card-head span{font-size:11px;color:#789}
#role-pilot .rp-duty-card ul{list-style:none;margin:10px 0;padding:0}
#role-pilot .rp-duty-card li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid #eef2f6;font-size:11px}
#role-pilot .rp-duty-card li span{color:#70849a}
#role-pilot .rp-duty-card li b{color:#25435c;text-align:right;font-weight:600;overflow-wrap:anywhere}
#role-pilot .rp-drill{display:block;margin-top:9px;color:#087f91;font-size:11px}
#role-pilot .rp-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#role-pilot .rp-summary-card{appearance:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:12px;border:1px solid #dce6f1;border-radius:9px;background:#fff;color:inherit;text-align:left;cursor:pointer}
#role-pilot .rp-summary-card:hover{border-color:#10a5b2}
#role-pilot .rp-summary-card span{color:#70849a;font-size:11px}
#role-pilot .rp-summary-card strong{color:#17324d;font-size:15px;overflow-wrap:anywhere}
#role-pilot .rp-summary-card small{color:#789;font-size:10px;line-height:1.5}
#role-pilot .rp-summary-card em{margin-top:auto;color:#087f91;font-size:10px;font-style:normal}
#role-pilot .rp-filter-inline{display:flex;justify-content:flex-end;margin:0 0 8px}
#role-pilot .rp-goal-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 8px;border-bottom:1px solid #dce5ed}
#role-pilot .rp-goal-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:#64788c;padding:8px 12px;font:inherit;font-size:13px;cursor:pointer}
#role-pilot .rp-goal-tab.active{border-bottom-color:#1779d0;color:#176eb4;font-weight:700}
#role-pilot .rp-hint{margin:8px 0 12px;color:#70849a;font-size:12px;line-height:1.6}
#role-pilot .rp-embedded-expense{margin:12px 0;padding:12px;border:1px solid #dce7ef;border-radius:9px;background:#f8fbfe;color:#60758a;font-size:12px;line-height:1.6}
#role-pilot .rp-table-wrap{overflow:auto;max-width:100%;border:1px solid #e1e8ef;border-radius:8px;background:#fff}
#role-pilot .rp-table{width:100%;min-width:720px;border-collapse:collapse;font-size:12px}
#role-pilot .rp-table th,#role-pilot .rp-table td{padding:9px 10px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:top;overflow-wrap:anywhere;max-width:300px}
#role-pilot .rp-table th{background:#f6f9fc;color:#657c91;font-weight:600;white-space:nowrap}
#role-pilot .rp-empty{padding:18px 14px;border:1px dashed #cedbe6;border-radius:8px;background:#fff;color:#74889b;font-size:12px;line-height:1.7;text-align:center}
@media(max-width:1050px){#role-pilot .rp-duty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#role-pilot .rp-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#role-pilot .rp-toolbar{flex-wrap:wrap;gap:4px 10px}#role-pilot .rp-toolbar .rf-subnav{flex:1 1 100%}#role-pilot .rp-filters{flex:1 1 100%;justify-content:flex-start;margin:0 0 6px}}
@media(max-width:720px){#role-pilot .rp-duty-grid,#role-pilot .rp-summary-grid{grid-template-columns:minmax(0,1fr)}#role-pilot .rp-filters{align-items:center;flex-wrap:wrap}#role-pilot .rp-filters label{width:auto;justify-content:flex-start}#role-pilot .rp-filters input,#role-pilot .rp-filters select{flex:0 0 auto;max-width:190px}}
