
    :root {
      --bg: #06101f;
      --panel: #091a30;
      --panel-2: #0c213b;
      --border: #174370;
      --text: #f4f7fc;
      --muted: #9aabc1;
      --muted-2: #6e829b;

      --purple: #934cff;
      --blue: #2379ff;
      --cyan: #0fd9d0;
      --green: #26dd8d;
      --yellow: #ffbd17;
      --orange: #ff9c0d;
      --red: #ff3d4f;
      --gray: #738297;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      margin: 0;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% -25%, #12376a 0%, transparent 42%),
        linear-gradient(180deg, #06101f, #04101d);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
    }

    body {
      display: grid;
      grid-template-rows:
        76px
        40px
        150px
        minmax(0, 1.12fr)
        minmax(0, 0.88fr)
        24px;

      gap: 10px;
      padding: 10px 18px 8px;
    }

    header {
      display: grid;
      grid-template-columns: 330px 1fr 320px;
      align-items: center;
      min-height: 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .brand-logo {
      font-size: 36px;
      font-weight: 800;
      letter-spacing: 1px;
    }

    .brand-logo span {
      color: var(--purple);
    }

    .brand-area {
      padding-left: 18px;
      border-left: 1px solid #395276;
      color: #bb6cff;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .main-title {
      text-align: center;
      font-size: 30px;
      font-weight: 750;
    }

    .main-title small {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 15px;
      font-weight: 400;
    }

    .header-right {
      text-align: right;
      font-size: 16px;
      line-height: 1.35;
    }

    .version {
      display: inline-block;
      margin-top: 4px;
      padding: 3px 12px;
      border: 1px solid var(--cyan);
      border-radius: 18px;
      color: var(--cyan);
      font-size: 13px;
      font-weight: 700;
    }

    .pulse {
      display: grid;
      grid-template-columns: 130px 1fr 360px;
      align-items: center;
      gap: 20px;
      min-height: 0;
      padding: 0 18px;
      border-top: 1px solid #10365d;
      border-bottom: 1px solid #10365d;
      background: rgba(6, 23, 42, 0.82);
    }

    .pulse-left {
      color: var(--cyan);
      font-size: 16px;
      font-weight: 700;
      white-space: nowrap;
    }

    .pulse-line {
      width: 100%;
      height: 28px;
    }

    .pulse-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 12px;
      color: #f1f5f9;
      font-size: 16px;
      font-weight: 700;
      white-space: nowrap;
    }

    .warning-icon {
      color: var(--red);
      font-size: 26px;
    }

    .grid-kpis {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 12px;
      min-height: 0;
    }

    .grid-main {
      display: grid;
      grid-template-columns: 1.15fr 1.3fr 0.9fr;
      gap: 12px;
      min-height: 0;
    }

    .grid-bottom {
      display: grid;
      grid-template-columns: 1.05fr 1fr 0.72fr 1.08fr;
      gap: 12px;
      min-height: 0;
    }

    .card {
      position: relative;
      min-width: 0;
      min-height: 0;
      overflow: hidden;
      padding: 15px 17px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background:
        linear-gradient(
          145deg,
          rgba(9, 30, 55, 0.98),
          rgba(5, 20, 38, 0.98)
        );
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
    }

    .kpi {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .kpi::before {
      content: "";
      position: absolute;
      top: 0;
      right: 8px;
      left: 8px;
      height: 4px;
      border-radius: 0 0 4px 4px;
      background: var(--accent);
    }

    .kpi-label {
      color: #d5deea;
      font-size: 17px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .kpi-value {
      margin-top: 8px;
      font-size: 42px;
      font-weight: 800;
      line-height: 1;
    }

    .kpi-delta {
      margin-top: 11px;
      font-size: 16px;
      font-weight: 700;
    }

    .kpi-critical {
      border-color: var(--red);
      background:
        radial-gradient(circle at 85% 50%, rgba(255, 61, 79, 0.18), transparent 35%),
        linear-gradient(145deg, #181426, #101525);
    }

    .kpi-critical .kpi-value,
    .kpi-critical .kpi-delta {
      color: var(--red);
    }

    .panel-title {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 12px;
      font-size: 18px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .panel-title span {
      color: var(--muted);
      font-size: 14px;
      font-weight: 500;
      text-transform: none;
    }

    .pqrs-layout {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 25px;
      height: calc(100% - 35px);
      align-items: center;
    }

    .donut {
      position: relative;
      width: 170px;
      height: 170px;
      margin: auto;
      border-radius: 50%;
      background:
        conic-gradient(
          var(--purple) 0 42%,
          var(--blue) 42% 67%,
          var(--orange) 67% 84%,
          var(--green) 84% 94%,
          var(--gray) 94% 100%
        );
    }

    .donut::after {
      content: "";
      position: absolute;
      inset: 37px;
      border-radius: 50%;
      background: #07172a;
    }

    .donut-center {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }

    .donut-center strong {
      font-size: 39px;
      line-height: 1;
    }

    .donut-center span {
      margin-top: 5px;
      color: #c7d2df;
      font-size: 14px;
    }

    .legend {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      min-height: 0;
    }

    .legend-row {
      display: grid;
      grid-template-columns: 22px 1fr 48px 145px;
      align-items: center;
      gap: 8px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 16px;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

    .percent {
      text-align: right;
      font-weight: 700;
    }

    .progress {
      height: 11px;
      overflow: hidden;
      border-radius: 6px;
      background: #172b46;
    }

    .progress > div {
      height: 100%;
      border-radius: 6px;
    }

    .chart-area {
      display: grid;
      grid-template-rows: 1fr 26px;
      height: calc(100% - 35px);
      min-height: 0;
    }

    .bars {
      display: flex;
      align-items: flex-end;
      gap: 15px;
      min-height: 0;
      padding: 10px 10px 0;
      border-left: 1px solid #385272;
      border-bottom: 1px solid #385272;
      background:
        repeating-linear-gradient(
          to bottom,
          transparent 0,
          transparent calc(25% - 1px),
          rgba(115, 145, 178, 0.17) 25%
        );
    }

    .bar-col {
      display: flex;
      flex: 1;
      height: 100%;
      min-width: 0;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
    }

    .bar-value {
      margin-bottom: 6px;
      font-size: 16px;
      font-weight: 700;
    }

    .bar {
      width: 72%;
      min-width: 35px;
      border-radius: 6px 6px 0 0;
      background: linear-gradient(180deg, #3187ff, #1551c4);
      box-shadow: 0 0 12px rgba(35, 121, 255, 0.22);
    }

    .bar.today {
      background: linear-gradient(180deg, #18e1df, #0b8296);
    }

    .bar-labels {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      padding: 6px 10px 0;
      font-size: 15px;
      text-align: center;
    }

    .today-label {
      color: var(--cyan);
      font-weight: 700;
    }

    .rings {
      display: flex;
      height: calc(100% - 35px);
      align-items: center;
      justify-content: space-evenly;
      gap: 18px;
    }

    .ring-item {
      text-align: center;
    }

    .ring {
      position: relative;
      width: 132px;
      height: 132px;
      border-radius: 50%;
      background:
        conic-gradient(
          var(--ring-color) 0 var(--ring-value),
          #26364a var(--ring-value) 100%
        );
    }

    .ring::after {
      content: "";
      position: absolute;
      inset: 15px;
      border-radius: 50%;
      background: #07172a;
    }

    .ring-value {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      font-weight: 800;
    }

    .ring-caption {
      margin-top: 9px;
      font-size: 17px;
    }

    .ring-meta {
      margin-top: 5px;
      color: var(--green);
      font-size: 15px;
      font-weight: 700;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
    }

    th {
      padding: 0 5px 8px;
      border-bottom: 1px solid #29415d;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      text-align: left;
    }

    td {
      padding: 7px 5px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    td.num,
    th.num {
      text-align: right;
    }

    .table-progress {
      width: 100%;
      height: 9px;
      overflow: hidden;
      border-radius: 5px;
      background: #172b46;
    }

    .table-progress div {
      height: 100%;
      border-radius: 5px;
    }

    .status-list {
      display: flex;
      height: calc(100% - 35px);
      flex-direction: column;
      justify-content: space-between;
    }

    .status-row {
      display: grid;
      grid-template-columns: 1fr 70px 145px;
      align-items: center;
      gap: 10px;
      font-size: 15px;
    }

    .status-value {
      text-align: right;
      font-weight: 700;
    }

    .divider {
      height: 1px;
      background: #29415d;
    }

    .satisfaction {
      display: flex;
      height: calc(100% - 35px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .score {
      font-size: 55px;
      font-weight: 800;
    }

    .stars {
      margin: 10px 0;
      color: var(--yellow);
      font-size: 33px;
      letter-spacing: 2px;
    }

    .survey {
      font-size: 15px;
    }

    .trend {
      margin-top: 12px;
      color: var(--cyan);
      font-size: 17px;
      font-weight: 700;
    }

    .alerts {
      display: flex;
      height: calc(100% - 35px);
      flex-direction: column;
      justify-content: space-between;
    }

    .alert {
      display: grid;
      grid-template-columns: 30px 1fr;
      align-items: center;
      gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid #29415d;
      font-size: 16px;
      font-weight: 650;
    }

    .alert-icon {
      font-size: 23px;
    }

    footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      overflow: hidden;
      color: var(--muted);
      font-size: 13px;
      white-space: nowrap;
    }
  