
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
       margin: 0; padding: 0; background: #f0f3f7; color: #1a202c; line-height: 1.55; }
.topbar { background: linear-gradient(90deg, #0a2540 0%, #1f3864 50%, #2e75b6 100%);
          color: white; padding: 14px 28px;
          box-shadow: 0 2px 12px rgba(0,0,0,0.2);
          display: flex; align-items: center; justify-content: space-between;
          flex-wrap: wrap; gap: 10px; }
.topbar .brand { font-size: 16px; font-weight: 700; letter-spacing: 0.3px; }
.topbar .brand .sub { font-size: 11px; opacity: 0.85; font-weight: 400; display: block; }
.topbar .role-badge { background: rgba(255,255,255,0.18); padding: 6px 14px; border-radius: 20px;
                     font-size: 12px; font-weight: 600; }
.topbar a { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 13px;
            padding: 6px 12px; border-radius: 4px; transition: background 0.15s; }
.topbar a:hover { background: rgba(255,255,255,0.15); }
.breadcrumb { background: white; padding: 11px 28px; font-size: 13px; color: #5a6c7d;
              border-bottom: 1px solid #e8ecef; }
.breadcrumb a { color: #2e75b6; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #adb5bd; margin: 0 6px; }
.container { max-width: 1320px; margin: 24px auto; background: white; padding: 32px;
             border-radius: 10px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
h1 { color: #1f3864; margin: 0 0 6px; font-size: 26px; font-weight: 700; }
h2 { color: #2e75b6; margin: 32px 0 14px; padding-left: 14px; border-left: 4px solid #2e75b6;
     font-size: 19px; font-weight: 600; }
h3 { color: #1f3864; margin: 18px 0 10px; font-size: 16px; }
.subtitle { color: #5a6c7d; font-size: 14px; margin-bottom: 18px; }
.subtitle .tag { display: inline-block; padding: 3px 10px; background: #e8f3fc;
                 color: #2c5170; border-radius: 12px; font-size: 11px; font-weight: 600;
                 margin-right: 5px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px; margin: 18px 0; }
.kpi-card { background: linear-gradient(135deg, #1f3864 0%, #2e75b6 100%); color: white;
            padding: 18px 14px; border-radius: 10px; text-align: center;
            box-shadow: 0 3px 8px rgba(0,0,0,0.1); transition: transform 0.15s; }
.kpi-card:hover { transform: translateY(-2px); }
.kpi-card.success { background: linear-gradient(135deg, #2d6a3f 0%, #4caf50 100%); }
.kpi-card.warning { background: linear-gradient(135deg, #b85820 0%, #ed7d31 100%); }
.kpi-card.danger  { background: linear-gradient(135deg, #730000 0%, #c00000 100%); }
.kpi-card.info    { background: linear-gradient(135deg, #2c5170 0%, #5b9bd5 100%); }
.kpi-card.purple  { background: linear-gradient(135deg, #4a2a7a 0%, #8d6cd1 100%); }
.kpi-card.teal    { background: linear-gradient(135deg, #0e8388 0%, #2cabb1 100%); }
.kpi-card.neutral { background: linear-gradient(135deg, #4d4d4d 0%, #6c6c6c 100%); }
.kpi-value { font-size: 30px; font-weight: 700; margin: 4px 0; line-height: 1; }
.kpi-label { font-size: 11px; opacity: 0.95; text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-sub { font-size: 11px; opacity: 0.85; margin-top: 4px; }
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.role-card { background: white; border: 1px solid #e8ecef; border-radius: 10px; padding: 18px;
             text-decoration: none; color: inherit; transition: all 0.2s;
             border-left: 5px solid #2e75b6; }
.role-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.1); transform: translateY(-3px); border-color: #1f3864; }
.role-card .icon { font-size: 28px; margin-bottom: 6px; }
.role-card .title { font-size: 15px; font-weight: 700; color: #1f3864; margin-bottom: 4px; }
.role-card .desc { font-size: 12px; color: #5a6c7d; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
th { background: #1f3864; color: white; padding: 10px; text-align: left; font-weight: 600;
     position: sticky; top: 0; }
td { padding: 8px 10px; border-bottom: 1px solid #e8ecef; }
tr:nth-child(even) td { background: #fafbfc; }
tr:hover td { background: #eef5fb; }
.badge { padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: 600;
         white-space: nowrap; display: inline-block; }
.badge-success { background: #d4ebc4; color: #2d6a3f; }
.badge-warning { background: #fde9d4; color: #b85820; }
.badge-danger  { background: #f9d0d0; color: #8b0000; }
.badge-info    { background: #d6e9f7; color: #2c5170; }
.note { background: #fff8e1; border-left: 4px solid #ed7d31; padding: 13px 16px;
        border-radius: 4px; font-size: 13px; margin: 14px 0; }
.note.success { background: #f0f8e8; border-left-color: #4caf50; }
.note.danger  { background: #fdeaea; border-left-color: #c00000; }
.note.info    { background: #e8f3fc; border-left-color: #2e75b6; }
.progress-row { display: flex; align-items: center; gap: 10px; margin: 7px 0; }
.progress-row .label { min-width: 80px; font-weight: 600; font-size: 13px; }
.progress-bar { flex: 1; height: 24px; background: #e8ecef; border-radius: 12px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; transition: width 0.4s; display: flex; align-items: center;
                 justify-content: flex-end; padding-right: 10px; color: white;
                 font-size: 12px; font-weight: 600; }
.progress-fill.pass { background: linear-gradient(90deg, #2d6a3f, #4caf50); }
.progress-fill.fail { background: linear-gradient(90deg, #730000, #c00000); }
.progress-fill.warn { background: linear-gradient(90deg, #b85820, #ed7d31); }
.progress-row .threshold { position: absolute; top: 0; bottom: 0; width: 2px; background: #c00000; }
.search-box { padding: 9px 14px; border: 1px solid #d0d7de; border-radius: 6px; font-size: 14px;
              width: 100%; max-width: 420px; margin-bottom: 14px; }
.collapsible { background: #2e75b6; color: white; cursor: pointer; padding: 11px 16px;
               border: none; text-align: left; font-size: 14px; font-weight: 600;
               border-radius: 6px; margin: 14px 0 4px; width: 100%; transition: background 0.15s; }
.collapsible:hover { background: #1f3864; }
.collapsible::before { content: "▶ "; display: inline-block; transition: transform 0.2s; }
.collapsible.active::before { transform: rotate(90deg); }
.content-collapse { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.content-collapse.show { max-height: none; }
.standard-toggle { display: inline-flex; gap: 4px; background: #e8f3fc; padding: 4px;
                   border-radius: 8px; margin: 10px 0; }
.standard-toggle button { background: transparent; border: none; padding: 8px 18px;
                          font-size: 13px; font-weight: 600; color: #5a6c7d; cursor: pointer;
                          border-radius: 6px; transition: all 0.15s; }
.standard-toggle button.active { background: white; color: #1f3864; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.footer { text-align: center; color: #888; font-size: 12px; margin: 30px auto 20px;
          max-width: 1320px; padding: 16px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 16px; font-size: 12px; color: #5a6c7d; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
