:root {
  --ink: #17211b;
  --ink-soft: #4e5a52;
  --paper: #f4f5ef;
  --surface: #ffffff;
  --surface-soft: #f7f7f2;
  --line: #dde1d8;
  --lime: #d9ef6f;
  --lime-strong: #bddb3f;
  --yellow: #ffd85c;
  --yellow-soft: #fff4bd;
  --mint: #d8f2df;
  --red: #d95555;
  --red-soft: #fee8e5;
  --blue: #4576c5;
  --blue-soft: #e7effd;
  --shadow: 0 24px 70px rgba(31, 39, 32, .14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #aeb5bf;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(69, 118, 197, .35); outline-offset: 2px; }
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px;
  background: #fff; border-radius: 10px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

.loading-screen {
  min-height: 100vh; display: grid; place-items: center; color: #fff;
}
.loading-mark { display: grid; gap: 12px; justify-items: center; font-weight: 750; letter-spacing: .16em; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.login-page {
  min-height: 100vh; padding: 28px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 236, 145, .9), transparent 30%),
    linear-gradient(135deg, #edf0ec 0%, #c9d0d5 100%);
}
.login-shell {
  width: min(1080px, 100%); min-height: 670px; display: grid; grid-template-columns: .86fr 1.14fr;
  overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 34px;
  box-shadow: var(--shadow); background: rgba(255,255,255,.68); backdrop-filter: blur(18px);
}
.login-form-panel {
  padding: 58px clamp(32px, 5vw, 68px); background: rgba(255,255,255,.9);
  display: flex; flex-direction: column; justify-content: center;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .08em; }
.brand-lockup img { width: 132px; height: 48px; object-fit: contain; object-position: left center; }
.login-copy { margin: 64px 0 34px; }
.eyebrow { margin: 0 0 10px; color: #657067; font-size: 15px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.login-copy h1 { max-width: 470px; margin: 0; font-size: clamp(41px, 5vw, 69px); line-height: 1.02; letter-spacing: -.055em; font-weight: 520; }
.login-copy p { max-width: 430px; margin: 18px 0 0; color: var(--ink-soft); line-height: 1.65; }
.form-field { display: grid; gap: 7px; margin-bottom: 15px; }
.form-field label { color: #465149; font-size: 15px; font-weight: 760; }
.input {
  width: 100%; min-height: 48px; padding: 0 15px; color: var(--ink); background: #f7f8f4;
  border: 1px solid var(--line); border-radius: 13px; transition: .2s ease;
}
textarea.input { min-height: 92px; padding-top: 13px; resize: vertical; }
.input:focus { border-color: #9db545; box-shadow: 0 0 0 4px rgba(189,219,63,.17); outline: 0; background: #fff; }
.btn {
  min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; color: var(--ink); background: #ecefe8; font-weight: 760; transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); background: #e2e6dc; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #29372e; }
.btn-accent { background: var(--lime); color: #25301f; }
.btn-accent:hover { background: var(--lime-strong); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 15px; border-radius: 10px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-danger { color: #9b3030; background: var(--red-soft); }
.login-submit { width: 100%; min-height: 50px; margin-top: 7px; }
.form-error { margin: 0 0 14px; padding: 11px 13px; color: #8e2727; background: var(--red-soft); border-radius: 12px; font-size: 16px; }
.login-note { margin: 17px 0 0; color: #7a847d; font-size: 13px; text-align: center; }
.login-visual {
  position: relative; overflow: hidden; padding: 58px;
  background:
    radial-gradient(circle at 76% 25%, rgba(255, 255, 255, .68), transparent 26%),
    linear-gradient(145deg, #e8f4c4, #fff0a9 58%, #f3c95f);
}
.login-visual::before {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image: linear-gradient(rgba(23,33,27,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(23,33,27,.09) 1px, transparent 1px);
  background-size: 34px 34px;
}
.visual-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.visual-badge { align-self: flex-start; padding: 9px 13px; border: 1px solid rgba(23,33,27,.24); border-radius: 999px; font-size: 15px; font-weight: 760; }
.visual-stage { display: grid; gap: 14px; transform: rotate(-2deg); }
.mock-metric {
  max-width: 360px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.87);
  box-shadow: 0 25px 60px rgba(70,60,25,.16); backdrop-filter: blur(14px);
}
.mock-metric:nth-child(2) { margin-left: 80px; color: #fff; background: rgba(23,33,27,.93); }
.mock-label { color: inherit; opacity: .65; font-size: 15px; font-weight: 700; }
.mock-value { margin-top: 8px; font-size: 52px; letter-spacing: -.04em; }
.mock-bar { height: 7px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: rgba(127,137,126,.2); }
.mock-bar span { display: block; height: 100%; width: 78%; border-radius: inherit; background: var(--yellow); }
.mock-metric:nth-child(2) .mock-bar span { width: 45%; background: var(--lime); }
.visual-content h2 { max-width: 460px; margin: 0; font-size: clamp(37px, 4vw, 62px); line-height: 1.05; letter-spacing: -.05em; font-weight: 520; }

.app-viewport { min-height: 100vh; padding: clamp(12px, 2vw, 26px); }
.app-shell {
  width: min(1500px, 100%); min-height: calc(100vh - 52px); margin: 0 auto; overflow: hidden;
  border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 239, 146, .58), transparent 28%),
    linear-gradient(145deg, #f0f2ef 0%, #f7f5df 100%);
  box-shadow: var(--shadow);
}
.topbar {
  min-height: 82px; padding: 17px 20px; display: grid; grid-template-columns: 210px 1fr auto; gap: 18px; align-items: center;
}
.brand-button { border: 0; background: transparent; padding: 0; justify-self: start; }
.brand-button img { display: block; width: 125px; height: 44px; object-fit: contain; object-position: left; }
.topnav {
  min-width: 0; padding: 5px; display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.72); border-radius: 999px;
}
.topnav::-webkit-scrollbar { display: none; }
.nav-button {
  min-height: 36px; padding: 0 14px; flex: 0 0 auto; border: 0; border-radius: 999px;
  color: #4f5952; background: transparent; font-size: 15px; font-weight: 700;
}
.nav-button:hover { color: var(--ink); background: rgba(255,255,255,.75); }
.nav-button.active { color: #fff; background: var(--ink); box-shadow: 0 4px 12px rgba(23,33,27,.18); }
.account-menu { display: flex; align-items: center; gap: 9px; }
.icon-button {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%; background: rgba(255,255,255,.7); color: var(--ink);
}
.profile-chip {
  min-height: 45px; padding: 5px 11px 5px 5px; display: flex; gap: 9px; align-items: center; border: 0;
  border-radius: 999px; background: rgba(255,255,255,.76); color: var(--ink); text-align: left;
}
.avatar {
  width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 50%; color: #fff; background: var(--ink); font-weight: 800; font-size: 15px;
}
.profile-copy { display: grid; line-height: 1.2; }
.profile-copy strong { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.profile-copy span { color: #707a72; font-size: 12px; }

.main-content { padding: 12px clamp(16px, 3vw, 34px) 34px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin: 14px 0 24px; }
.page-intro h1 { margin: 0; font-size: clamp(39px, 4vw, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.page-intro p { max-width: 680px; margin: 12px 0 0; color: var(--ink-soft); line-height: 1.55; }
.freshness { display: flex; align-items: center; gap: 8px; color: #657067; font-size: 13px; font-weight: 700; white-space: nowrap; }
.freshness-dot { width: 8px; height: 8px; border-radius: 50%; background: #71b775; box-shadow: 0 0 0 5px rgba(113,183,117,.12); }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.segmented { display: flex; padding: 4px; gap: 3px; border-radius: 999px; background: rgba(255,255,255,.64); }
.segment { min-height: 33px; padding: 0 13px; border: 0; border-radius: 999px; color: #606b63; background: transparent; font-size: 13px; font-weight: 760; }
.segment.active { color: var(--ink); background: var(--yellow); }
.select-inline {
  min-height: 40px; padding: 0 36px 0 13px; border: 1px solid rgba(255,255,255,.85);
  border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.72);
}
.filters-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.hero-panel {
  position: relative; overflow: hidden; margin-bottom: 14px; padding: 24px;
  display: grid; grid-template-columns: 1.5fr .9fr; gap: 22px;
  border-radius: var(--radius-lg); background:
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.75), transparent 28%),
    linear-gradient(120deg, rgba(255,255,255,.75), rgba(255,241,171,.82));
  border: 1px solid rgba(255,255,255,.82);
}
.hero-panel::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -170px;
  border: 45px solid rgba(189,219,63,.28); border-radius: 50%;
}
.hero-title { margin: 0; font-size: clamp(27px, 3vw, 45px); letter-spacing: -.035em; font-weight: 540; }
.hero-copy { max-width: 650px; margin: 8px 0 22px; color: var(--ink-soft); line-height: 1.55; font-size: 16px; }
.control-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.flow-step { min-width: 0; }
.flow-track { height: 8px; border-radius: 999px; background: repeating-linear-gradient(135deg, rgba(23,33,27,.18) 0 3px, transparent 3px 7px); }
.flow-step.done .flow-track { background: var(--ink); }
.flow-step.current .flow-track { background: var(--yellow); }
.flow-step span { display: block; margin-top: 6px; color: #657067; font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 12px; }
.hero-stat { padding: 18px; border: 1px solid rgba(23,33,27,.1); border-radius: 18px; background: rgba(255,255,255,.55); }
.hero-stat strong { display: block; font-size: clamp(37px, 3vw, 57px); font-weight: 480; letter-spacing: -.05em; }
.hero-stat span { color: #657067; font-size: 13px; font-weight: 700; }

.kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi-card {
  min-width: 0; padding: 17px; border: 1px solid rgba(255,255,255,.85); border-radius: 18px;
  background: rgba(255,255,255,.72); transition: transform .2s ease, box-shadow .2s ease;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(31,39,32,.08); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi-label { min-width: 0; color: #5d685f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.status-mark { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.status-green { background: #5faf68; }
.status-yellow { background: #eebf35; }
.status-red { background: var(--red); }
.status-blue { background: var(--blue); }
.kpi-value { margin-top: 13px; font-size: clamp(32px, 2.4vw, 49px); line-height: 1; letter-spacing: -.05em; font-weight: 510; }
.kpi-value small { margin-left: 3px; color: #727c74; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.kpi-meta { margin-top: 12px; color: #818a83; font-size: 11px; line-height: 1.4; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .75fr); gap: 14px; }
.dashboard-main { display: grid; gap: 14px; min-width: 0; }
.panel {
  min-width: 0; padding: 20px; border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
}
.panel-dark { color: #fff; background: #242826; border-color: #242826; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.panel-head p { margin: 5px 0 0; color: #7a847d; font-size: 12px; line-height: 1.45; }
.panel-dark .panel-head p { color: rgba(255,255,255,.55); }
.panel-link { border: 0; color: inherit; background: transparent; font-size: 13px; font-weight: 760; }
.trend-chart {
  min-height: 230px; padding-top: 10px; display: flex; align-items: stretch; gap: 8px;
  border-bottom: 1px solid var(--line);
}
.trend-column { min-width: 20px; flex: 1; display: grid; grid-template-rows: 1fr 22px; align-items: end; gap: 7px; }
.bar-pair { height: 185px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px dashed #d8ddd3; }
.trend-bar { width: min(12px, 42%); min-height: 4px; border-radius: 7px 7px 2px 2px; transition: height .25s ease; }
.trend-bar.wt { background: var(--yellow); }
.trend-bar.wl { background: var(--ink); }
.trend-date { color: #7c857e; font-size: 10px; text-align: center; white-space: nowrap; }
.chart-legend { display: flex; gap: 16px; color: #68726a; font-size: 12px; font-weight: 700; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; }
.legend-dot.wt { background: var(--yellow); }
.legend-dot.wl { background: var(--ink); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.heatmap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.heat-cell { aspect-ratio: 1 / .82; display: grid; place-items: center; border-radius: 11px; color: #344036; background: rgba(217,239,111,var(--heat)); font-size: 12px; font-weight: 800; }
.heat-cell span { display: block; font-size: 10px; opacity: .65; }
.unit-list { display: grid; gap: 13px; }
.unit-row { display: grid; grid-template-columns: minmax(110px, .9fr) 1.5fr auto; gap: 12px; align-items: center; }
.unit-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 760; }
.unit-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e9ece5; }
.unit-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--yellow)); }
.unit-score { font-size: 12px; font-weight: 760; }

.risk-list { display: grid; gap: 9px; }
.risk-item {
  padding: 14px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.045);
}
.risk-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 17px; }
.risk-item.red .risk-icon { color: #ffaaa3; background: rgba(217,85,85,.18); }
.risk-item.yellow .risk-icon { color: #ffdf70; background: rgba(255,216,92,.14); }
.risk-copy { min-width: 0; }
.risk-copy strong { display: block; font-size: 13px; line-height: 1.4; }
.risk-copy p { margin: 4px 0 8px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }
.risk-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.48); font-size: 10px; }
.risk-action { border: 0; padding: 0; color: var(--lime); background: transparent; font-size: 11px; font-weight: 800; }
.priority-list { display: grid; gap: 10px; }
.priority-item { padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; border-bottom: 1px dashed var(--line); }
.priority-item:last-child { border-bottom: 0; }
.priority-item strong { display: block; font-size: 13px; }
.priority-item p { margin: 4px 0 0; color: #778179; font-size: 11px; }
.progress-ring { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lime-strong) var(--progress), #e5e9df 0); }
.progress-ring::before { content: attr(data-value); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 10px; font-weight: 800; }
.empty-state { padding: 34px 18px; color: #78827a; text-align: center; font-size: 15px; }
.panel-dark .empty-state { color: rgba(255,255,255,.55); }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 17px 0 22px; }
.page-header h1 { margin: 0; font-size: clamp(37px, 4vw, 59px); font-weight: 520; letter-spacing: -.05em; }
.page-header p { max-width: 690px; margin: 9px 0 0; color: var(--ink-soft); line-height: 1.55; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr); gap: 14px; }
.stack { display: grid; gap: 14px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.7); }
th, td { padding: 13px 14px; border-bottom: 1px solid #e8ebe5; text-align: left; vertical-align: top; font-size: 13px; }
th { color: #657067; background: #f4f6f1; font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.badge-green { color: #2f6f3a; background: var(--mint); }
.badge-yellow { color: #7c5c00; background: var(--yellow-soft); }
.badge-red { color: #963c3c; background: var(--red-soft); }
.badge-blue { color: #345e9f; background: var(--blue-soft); }
.badge-neutral { color: #566158; background: #e9ece6; }
.upload-zone {
  padding: 32px; border: 1px dashed #aeb7ac; border-radius: 18px; background: #f8f9f5; text-align: center;
}
.upload-zone strong { display: block; font-size: 17px; }
.upload-zone p { margin: 8px auto 18px; max-width: 480px; color: #737e75; font-size: 13px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.quality-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.quality-stat { padding: 13px; border-radius: 14px; background: #f2f4ee; }
.quality-stat strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.quality-stat span { color: #727c74; font-size: 11px; font-weight: 760; }
.alert-card, .action-card {
  padding: 16px; display: grid; gap: 11px; border: 1px solid rgba(255,255,255,.86);
  border-radius: 18px; background: rgba(255,255,255,.75);
}
.alert-card { grid-template-columns: 11px minmax(0, 1fr) auto; }
.severity-rail { border-radius: 999px; background: var(--blue); }
.severity-rail.red { background: var(--red); }
.severity-rail.yellow { background: #e7b82c; }
.card-copy h3 { margin: 0; font-size: 17px; }
.card-copy p { margin: 6px 0 0; color: #657067; font-size: 13px; line-height: 1.55; }
.card-meta { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: #7b857d; font-size: 11px; }
.action-card { grid-template-columns: minmax(0, 1fr) auto; }
.action-progress { min-width: 150px; text-align: right; }
.progress-track { height: 7px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e7eae3; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--lime-strong); }
.button-row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.audit-line { display: grid; grid-template-columns: 140px 1fr auto; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.audit-line:last-child { border-bottom: 0; }
.audit-line strong { font-size: 13px; }
.audit-line p { margin: 3px 0 0; color: #727c74; font-size: 12px; }
.audit-time { color: #879088; font-size: 11px; white-space: nowrap; }
.toast {
  position: fixed; z-index: 80; right: 22px; bottom: 22px; max-width: 380px; padding: 13px 15px;
  border-radius: 14px; color: #fff; background: var(--ink); box-shadow: 0 18px 45px rgba(23,33,27,.25);
  font-size: 15px; font-weight: 650; animation: toast-in .25s ease;
}
.toast.error { background: #9e3f3f; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.busy-overlay { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; background: rgba(238,241,236,.48); backdrop-filter: blur(3px); }

dialog {
  width: min(680px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow: auto;
  padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: #fbfcf8; box-shadow: 0 35px 90px rgba(23,33,27,.25);
}
dialog::backdrop { background: rgba(20,27,22,.48); backdrop-filter: blur(5px); }
.dialog-inner { padding: 24px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-head h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.dialog-head p { margin: 6px 0 0; color: #6f7a71; font-size: 13px; }
.dialog-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #ecefe8; }

@media (max-width: 1180px) {
  .topbar { grid-template-columns: 150px 1fr auto; }
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); }
  .profile-copy { display: none; }
}
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .topbar { grid-template-columns: auto 1fr auto; gap: 10px; }
  .brand-button img { width: 100px; }
  .topnav { grid-row: 2; grid-column: 1 / -1; }
  .dashboard-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-viewport { padding: 0; }
  .app-shell { min-height: 100vh; border: 0; border-radius: 0; }
  .topbar { padding: 12px; }
  .main-content { padding: 8px 12px 28px; }
  .page-intro, .page-header { align-items: flex-start; flex-direction: column; }
  .page-intro h1 { font-size: 45px; }
  .freshness { white-space: normal; }
  .hero-panel { padding: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .control-flow { overflow-x: auto; grid-template-columns: repeat(5, 90px); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-card { padding: 14px; }
  .kpi-value { font-size: 37px; }
  .panel { padding: 16px; border-radius: 18px; }
  .trend-chart { gap: 4px; }
  .trend-date { font-size: 9px; }
  .heatmap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .quality-summary { grid-template-columns: 1fr; }
  .alert-card, .action-card { grid-template-columns: 9px 1fr; }
  .alert-card > .btn, .action-progress { grid-column: 2; justify-self: stretch; text-align: left; }
  .audit-line { grid-template-columns: 1fr; gap: 3px; }
}

/* Generated dashboard reference implementation */
:root {
  --gen-navy: #073a5a;
  --gen-navy-deep: #052f4b;
  --gen-teal: #0b8584;
  --gen-lime: #a9d824;
  --gen-lime-bright: #b8e72f;
  --gen-ink: #102638;
  --gen-muted: #70808d;
  --gen-line: #e7ecef;
  --gen-bg: #f5f7f8;
}

.generated-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  color: var(--gen-ink);
  background: var(--gen-bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.generated-sidebar {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: calc(100% - 28px);
  height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 14px;
  padding: 14px 10px 16px;
  background: #fff;
  border: 1px solid #e8edef;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(10, 45, 65, .06);
}

.generated-brand {
  height: 78px;
  display: grid;
  place-items: center;
  padding: 5px 8px 10px;
  color: var(--gen-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

.generated-brand-logo-frame {
  position: relative;
  width: 100%;
  height: 66px;
  display: block;
  overflow: hidden;
}

.generated-brand-logo-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 175px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.generated-nav {
  flex: 1;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 5px 5px 5px 0;
  scrollbar-color: #8d8f91 transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.generated-nav::-webkit-scrollbar {
  width: 7px;
}

.generated-nav::-webkit-scrollbar-track {
  background: transparent;
}

.generated-nav::-webkit-scrollbar-thumb {
  background: #8d8f91;
  border: 1px solid #fff;
  border-radius: 8px;
}

.generated-nav::after {
  content: "";
  display: block;
  height: 48px;
}

.gen-nav-group {
  display: block;
  padding: 22px 27px 8px;
  color: #7f8d98;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .035em;
}

.gen-nav-link {
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 1px 0;
  padding: 10px 27px;
  color: #455969;
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  text-align: left;
  transition: color .18s, background .18s, transform .18s;
}

.gen-nav-link:hover {
  color: var(--gen-navy);
  background: #f2f6f7;
  transform: translateX(1px);
}

.gen-nav-link.active {
  min-height: 48px;
  color: #fff;
  background: linear-gradient(90deg, #073b5c, #045172);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(7, 58, 90, .16);
}

.gen-nav-link.restricted {
  cursor: default;
}

.gen-nav-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke-width: 1.8;
}

.gen-nav-link.active svg {
  width: 18px;
  height: 18px;
}

.gen-nav-link.subitem {
  width: calc(100% - 22px);
  min-height: 40px;
  margin-left: 22px;
  padding-left: 26px;
  font-size: 15px;
  border-left: 1px solid #dce5e8;
  border-radius: 0 13px 13px 0;
}

.gen-nav-link.subitem svg {
  width: 17px;
  height: 17px;
}

.generated-sidebar-bottom {
  padding-top: 8px;
  border-top: 1px solid #edf0f2;
}

.generated-sidebar-bottom .gen-nav-link {
  min-height: 41px;
}

.generated-main {
  min-width: 0;
  min-height: 100vh;
}

.generated-topbar {
  height: 96px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 20px 16px 24px;
  background: #fff;
}

.generated-search {
  position: relative;
  width: min(558px, 48%);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 21px;
  color: #71818d;
  background: #fff;
  border: 1px solid #e3e9ec;
  border-radius: 26px;
  box-shadow: 0 7px 19px rgba(20, 55, 72, .035);
}

.generated-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.generated-search input {
  width: 100%;
  color: var(--gen-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
}

.generated-search input::placeholder {
  color: #6f7f8c;
  opacity: 1;
}

.generated-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.generated-round-button,
.generated-profile {
  height: 51px;
  display: grid;
  place-items: center;
  color: #62717d;
  background: #fff;
  border: 1px solid #e5eaed;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(20, 55, 72, .025);
}

.generated-round-button {
  width: 51px;
}

.generated-round-button svg {
  width: 20px;
  height: 20px;
}

.generated-profile {
  width: 93px;
  grid-template-columns: 51px 20px;
  padding: 0 8px 0 2px;
}

.generated-profile span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #a9aaac;
  border-radius: 50%;
}

.generated-profile span svg {
  width: 25px;
  height: 25px;
}

.generated-profile > svg {
  width: 15px;
  height: 15px;
}

.global-search-results {
  position: absolute;
  z-index: 80;
  top: 61px;
  left: 0;
  width: min(558px, calc(100vw - 32px));
  max-height: min(510px, calc(100vh - 125px));
  padding: 8px;
  overflow: auto;
  background: #fff;
  border: 1px solid #dfe7ea;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(11, 49, 70, .18);
}

.global-search-results[hidden] {
  display: none;
}

.global-search-results button {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 8px 11px;
  color: #24465a;
  background: transparent;
  border: 0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.global-search-results button:hover,
.global-search-results button:focus-visible {
  background: #eef7f4;
  outline: 0;
}

.global-search-results button > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #087b7d;
  background: #e8f5f2;
  border-radius: 11px;
}

.global-search-results button > span svg,
.global-search-results button > svg {
  width: 17px;
  height: 17px;
}

.global-search-results button > svg {
  color: #9aa6ac;
}

.global-search-results p {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: 0;
}

.global-search-results strong {
  overflow: hidden;
  color: #173b52;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-search-results small {
  color: #85939b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.global-search-empty,
.header-menu-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 90px;
  padding: 18px;
  color: #77909a;
  text-align: left;
}

.global-search-empty > svg,
.header-menu-empty > svg {
  width: 23px;
  height: 23px;
  color: #0d8a85;
}

.global-search-empty span,
.header-menu-empty {
  font-size: 11px;
}

.global-search-empty span,
.header-menu-empty span {
  display: grid;
  gap: 3px;
}

.global-search-empty strong,
.header-menu-empty strong {
  color: #24475a;
  font-size: 13px;
}

.generated-round-button {
  position: relative;
}

.header-notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: #dc4f4f;
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
}

.header-menu-dialog {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100vh - 122px);
  margin: 88px 20px auto auto;
  padding: 0;
  overflow: hidden;
  color: #24475a;
  background: #fff;
  border: 1px solid #dfe7ea;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(8, 45, 65, .24);
}

.header-menu-dialog::backdrop {
  background: rgba(6, 37, 54, .16);
  backdrop-filter: blur(1px);
}

.header-menu-shell {
  display: grid;
  max-height: calc(100vh - 122px);
}

.header-menu-shell > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 11px;
  padding: 17px 18px;
  border-bottom: 1px solid #edf1f3;
}

.header-menu-shell > header > span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #073b58, #0a8881);
  border-radius: 12px;
}

.header-menu-shell > header svg {
  width: 19px;
  height: 19px;
}

.header-menu-shell > header div {
  min-width: 0;
}

.header-menu-shell h2 {
  margin: 0;
  color: #0a3651;
  font-size: 18px;
}

.header-menu-shell > header p {
  margin: 3px 0 0;
  color: #819099;
  font-size: 11px;
}

.header-menu-shell > header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #77858d;
  background: #f3f6f7;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.header-notification-list {
  max-height: min(430px, calc(100vh - 255px));
  padding: 6px 17px;
  overflow: auto;
}

.header-notification-list article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 2px;
  border-bottom: 1px solid #edf1f2;
}

.header-notification-list article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #9b711d;
  background: #fff4d9;
  border-radius: 11px;
}

.header-notification-list article > span.severity-red {
  color: #ae4545;
  background: #ffeded;
}

.header-notification-list article svg {
  width: 17px;
}

.header-notification-list article div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.header-notification-list strong {
  color: #23475b;
  font-size: 12px;
  line-height: 1.45;
}

.header-notification-list small,
.header-notification-list time {
  color: #84929a;
  font-size: 10px;
}

.header-menu-shell > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 17px;
  background: #f8faf9;
  border-top: 1px solid #edf1f2;
}

.header-menu-shell > footer button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #426070;
  background: #fff;
  border: 1px solid #dce5e7;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.header-menu-shell > footer button.primary {
  color: #fff;
  background: #087a7d;
  border-color: #087a7d;
}

.header-menu-shell > footer button.danger {
  color: #a54242;
  background: #fff1f0;
  border-color: #f0cfcc;
}

.header-menu-shell > footer svg {
  width: 15px;
}

.header-help-grid {
  display: grid;
  gap: 7px;
  padding: 13px 15px;
}

.header-help-grid button {
  min-height: 68px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  color: #087c7d;
  background: #fff;
  border: 1px solid #e3e9eb;
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
}

.header-help-grid button:hover {
  background: #f1f8f5;
  border-color: #bcded5;
}

.header-help-grid button > svg {
  width: 20px;
}

.header-help-grid button > svg:last-child {
  width: 15px;
  color: #a2adb2;
}

.header-help-grid span {
  display: grid;
  gap: 3px;
}

.header-help-grid strong {
  color: #23475b;
  font-size: 12px;
}

.header-help-grid small {
  color: #829099;
  font-size: 10px;
  line-height: 1.45;
}

.header-help-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 15px 15px;
  padding: 10px 12px;
  color: #5f747e;
  background: #eef7f4;
  border-radius: 11px;
  font-size: 10px;
}

.header-help-tip svg {
  width: 16px;
  color: #0d8a84;
}

.profile-menu-dialog {
  width: min(390px, calc(100vw - 28px));
}

.header-menu-shell > header .header-profile-avatar {
  color: #fff;
  background: linear-gradient(145deg, #087b7d, #0a526c);
  font-size: 13px;
  font-weight: 800;
}

.header-profile-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 18px 14px;
}

.header-profile-details div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid #edf1f2;
}

.header-profile-details div:last-child {
  border-bottom: 0;
}

.header-profile-details dt {
  color: #84929a;
  font-size: 10px;
}

.header-profile-details dd {
  margin: 0;
  overflow: hidden;
  color: #23475b;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-content {
  min-width: 0;
  padding: 0 18px 23px 24px;
}

.generated-controls {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.generated-controls h1 {
  margin: 0;
  color: var(--gen-navy);
  font-size: 25px;
}

.generated-control-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.generated-greeting {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.generated-greeting-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  color: #fff;
  background: linear-gradient(145deg, #0b7f82, #72b533);
  border-radius: 16px;
  box-shadow: 0 7px 16px rgba(14, 122, 123, .13);
}

.generated-greeting-mark svg {
  width: 22px;
  height: 22px;
}

.generated-greeting-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  gap: 3px 10px;
  line-height: 1.15;
}

.generated-greeting-copy small {
  grid-column: 1 / 3;
  color: #769041;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.generated-greeting-copy strong {
  max-width: 300px;
  overflow: hidden;
  color: #0b3954;
  font-size: 22px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-greeting-copy > span {
  align-self: center;
  color: #84939c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.generated-weather {
  min-width: 155px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid #dde5e8;
}

.generated-weather > svg {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  color: #e0a22e;
}

.generated-weather p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.generated-weather b {
  color: #173c52;
  font-size: 21px;
  line-height: 1;
}

.generated-weather p span {
  color: #7d8d97;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.generated-date,
.generated-period,
.generated-filter,
.generated-export {
  height: 46px;
  display: flex;
  align-items: center;
  color: #263c4c;
  background: #fff;
  border: 1px solid #e0e6e9;
  font-size: 15px;
}

.generated-date {
  gap: 10px;
  padding: 0 17px;
  border-radius: 14px 0 0 14px;
}

.generated-date svg {
  width: 16px;
  height: 16px;
  color: #627584;
}

.generated-period {
  position: relative;
  gap: 8px;
  margin-left: -11px;
  padding: 0 10px 0 14px;
  border-radius: 0 14px 14px 0;
}

.generated-period select,
.generated-filter select {
  height: 100%;
  appearance: none;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  cursor: pointer;
}

.generated-period select {
  min-width: 115px;
}

.generated-period svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.generated-custom-range {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #263c4c;
  background: #fff;
  border: 1px solid #e0e6e9;
  border-radius: 14px;
  font-size: 13px;
}

.generated-custom-range input[type="date"] {
  height: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  cursor: pointer;
}

.generated-custom-range span {
  color: #a3aeb5;
}

.generated-filter {
  gap: 9px;
  padding: 0 14px;
  border-radius: 14px;
}

.generated-filter svg {
  width: 18px;
  height: 18px;
}

.generated-filter select {
  max-width: 125px;
  font-weight: 600;
}

.generated-export {
  gap: 9px;
  padding: 0 20px;
  color: #fff;
  background: var(--gen-navy);
  border-color: var(--gen-navy);
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.generated-export svg {
  width: 17px;
  height: 17px;
}

.generated-dashboard {
  display: grid;
  grid-template-columns: minmax(315px, .94fr) minmax(380px, 1.12fr) minmax(315px, .94fr);
  grid-template-rows: 171px 300px 319px;
  gap: 14px;
}

.generated-card,
.generated-assistant {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5ebee;
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(16, 50, 69, .035);
}

.generated-card {
  padding: 18px 17px;
}

.generated-kpi-card {
  grid-column: 1 / 3;
  grid-row: 1;
}

.generated-status-card {
  grid-column: 3;
  grid-row: 1 / 3;
}

.generated-quality-card {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
}

.generated-quality-card .generated-card-head {
  flex: 0 0 auto;
}

.generated-snapshot-card {
  grid-column: 2;
  grid-row: 2;
}

.generated-overview-card {
  grid-column: 1;
  grid-row: 3;
}

.generated-usage-card {
  grid-column: 2;
  grid-row: 3;
}

.generated-assistant {
  grid-column: 3;
  grid-row: 3;
}

.generated-card-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.generated-card-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gen-navy-deep);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.generated-card-head h2 > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--gen-navy);
  border-radius: 7px;
}

.generated-card-head h2 svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.generated-card-head button {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  color: var(--gen-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.generated-card-head button svg {
  width: 16px;
  height: 16px;
}

.generated-card-head > small {
  padding: 7px 11px;
  color: var(--gen-navy);
  background: #f1f5f6;
  border-radius: 13px;
  font-size: 12px;
}

.generated-kpi-row {
  height: calc(100% - 31px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding-top: 9px;
}

.generated-kpi-row > div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  row-gap: 5px;
  padding: 1px 18px;
  border-left: 1px solid #e5eaed;
}

.generated-kpi-row > div:first-child {
  padding-left: 4px;
  border-left: 0;
}

.generated-kpi-row p {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  margin: 0;
  color: #5e707d;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-kpi-row p svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--gen-navy);
  stroke-width: 1.9;
}

.generated-kpi-row strong {
  color: #101e2a;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.035em;
}

.generated-kpi-row strong small {
  font-size: 13px;
  letter-spacing: 0;
}

.generated-kpi-row em {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 5px;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

.generated-kpi-row em svg {
  width: 11px;
  height: 11px;
}

.generated-kpi-row em.positive {
  color: #6fa90d;
}

.generated-kpi-row em.negative {
  color: #d56f80;
}

.generated-status-list {
  display: grid;
  gap: 19px;
  padding: 14px 3px 0;
}

.generated-status-item {
  display: grid;
  gap: 7px;
}

.generated-status-copy {
  display: grid;
  grid-template-columns: 22px 1fr auto auto;
  align-items: center;
  gap: 8px;
  color: var(--gen-navy);
}

.generated-status-copy > svg {
  width: 19px;
  height: 19px;
}

.generated-status-copy span {
  overflow: hidden;
  color: #425766;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-status-copy strong {
  color: #162431;
  font-size: 12px;
}

.generated-status-copy small {
  min-width: 48px;
  color: #8a969f;
  font-size: 11px;
  text-align: right;
}

.generated-progress {
  height: 8px;
  margin-left: 31px;
  overflow: hidden;
  background: #edf0f2;
  border-radius: 8px;
}

.generated-progress i {
  display: block;
  height: 100%;
  background: var(--gen-teal);
  border-radius: inherit;
}

.generated-progress .bar-0,
.generated-progress .bar-5 {
  background: #88c613;
}

.generated-progress .bar-3 {
  background: #174fe0;
}

.generated-progress .bar-4 {
  background: var(--gen-teal);
}

.generated-donut-triangle {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.generated-donut-row {
  width: 100%;
  height: 42%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.generated-donut-mini {
  height: 100%;
  width: auto;
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--donut-color) calc(var(--value) * 1%), #edf1f3 0);
  border-radius: 50%;
}

.generated-donut-mini.top {
  height: 42%;
  flex: 0 0 auto;
}

.generated-donut-mini::before {
  content: "";
  grid-area: 1 / 1;
  width: 76%;
  height: 76%;
  background: #fff;
  border-radius: 50%;
}

.generated-donut-mini.lime { --donut-color: var(--gen-lime); }
.generated-donut-mini.navy { --donut-color: var(--gen-navy); }
.generated-donut-mini.teal { --donut-color: var(--gen-teal); }

.generated-donut-mini span {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  gap: 2px;
  color: #647580;
  font-size: 11px;
  text-align: center;
}

.generated-donut-mini strong {
  color: #101e2a;
  font-size: 20px;
}

.generated-donut-mini small {
  color: #8a969f;
  font-size: 9px;
}

.generated-snapshot-summary {
  display: flex;
  gap: 38px;
  padding: 13px 7px 4px;
}

.generated-snapshot-summary span {
  display: grid;
  grid-template-columns: 8px auto;
  align-items: center;
  gap: 4px 7px;
  color: #657580;
  font-size: 12px;
}

.generated-snapshot-summary i,
.generated-usage-legend i,
.generated-overview-legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
}

.generated-snapshot-summary i.navy,
.generated-usage-legend i.navy,
.generated-overview-legend i.navy {
  background: var(--gen-navy);
}

.generated-snapshot-summary i.lime,
.generated-usage-legend i.lime,
.generated-overview-legend i.lime {
  background: var(--gen-lime);
}

.generated-snapshot-summary strong {
  grid-column: 1 / -1;
  color: #142330;
  font-size: 22px;
  font-weight: 650;
}

.generated-bar-chart {
  height: 188px;
  display: flex;
  gap: 10px;
  padding: 26px 10px 0 36px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 42px, #e8edf0 43px);
}

.generated-bar-column {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr 16px;
  gap: 5px;
}

.generated-bar-column > div {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
}

.generated-bar-column i {
  width: min(17px, 38%);
  border-radius: 5px 5px 0 0;
}

.generated-bar-column i.lime {
  background: var(--gen-lime-bright);
}

.generated-bar-column i.navy {
  background: var(--gen-navy);
}

.generated-bar-column span {
  overflow: hidden;
  color: #7b8993;
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
}

.generated-snapshot-empty {
  min-height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 8px 6px 0;
  color: #66808e;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 42px, #e8edf0 43px),
    #fbfcfc;
  border-radius: 11px;
}

.generated-snapshot-empty > svg {
  width: 25px;
  height: 25px;
  color: var(--gen-teal);
}

.generated-snapshot-empty > span {
  display: grid;
  gap: 3px;
}

.generated-snapshot-empty strong {
  color: #274d61;
  font-size: 12px;
}

.generated-snapshot-empty small {
  color: #84949c;
  font-size: 10px;
}

.generated-overview-body {
  height: calc(100% - 34px);
  display: grid;
  grid-template-columns: 57% 43%;
  align-items: center;
  gap: 5px;
  padding-top: 8px;
}

.generated-multi-donut {
  width: min(196px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  background: conic-gradient(
    var(--gen-navy) 0 52%,
    var(--gen-teal) 52% 78%,
    var(--gen-lime) 78% 92%,
    #d8ef9e 92% 100%
  );
  border-radius: 50%;
  transform: rotate(-1deg);
}

.generated-multi-donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 67%;
  height: 67%;
  background: #fff;
  border-radius: 50%;
}

.generated-multi-donut span {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  gap: 5px;
  color: #798690;
  font-size: 16px;
  text-align: center;
  transform: rotate(1deg);
}

.generated-multi-donut strong {
  color: #142431;
  font-size: 27px;
}

.generated-overview-legend {
  display: grid;
  gap: 19px;
}

.generated-overview-legend span {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #596b77;
  font-size: 12px;
}

.generated-overview-legend i.teal {
  background: var(--gen-teal);
}

.generated-overview-legend i.pale {
  background: #d8ef9e;
}

.generated-overview-legend strong {
  color: #172532;
  font-size: 15px;
}

.generated-usage-legend {
  display: flex;
  gap: 25px;
  padding: 13px 8px 0;
  color: #667681;
  font-size: 12px;
}

.generated-usage-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.generated-line-wrap {
  height: 230px;
  padding-top: 7px;
}

#generated-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.generated-assistant {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 51% 26%, rgba(77, 183, 171, .42), transparent 23%),
    repeating-radial-gradient(ellipse at 50% 57%, transparent 0 28px, rgba(44, 139, 158, .17) 29px 30px),
    linear-gradient(145deg, #073c5c, #032f4c);
  border-color: rgba(5, 47, 75, .5);
}

.generated-assistant > .generated-assistant-expand {
  position: absolute;
  right: 17px;
  top: 17px;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.generated-assistant > .generated-assistant-expand svg {
  width: 18px;
  height: 18px;
}

.generated-assistant-orb {
  width: 71px;
  height: 71px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  color: #fff;
  background: radial-gradient(circle at 40% 35%, #43a99d, #126d76 60%, #075069);
  border: 2px solid rgba(178, 230, 209, .26);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(61, 181, 165, .24);
}

.generated-assistant-orb svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.generated-assistant h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.generated-assistant p {
  margin: 0 0 56px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

.generated-assistant-action {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.generated-assistant-action:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.generated-assistant-action svg {
  width: 19px;
  height: 19px;
}

/* Assistant analysis experience */
.assistant-dialog {
  width: min(1080px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  overflow: hidden;
  color: #fff;
  background: #073a58;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  box-shadow: 0 42px 110px rgba(2, 26, 42, .46);
}

.assistant-dialog::backdrop {
  background: rgba(4, 24, 37, .68);
  backdrop-filter: blur(9px);
}

.assistant-dialog-shell {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: .82fr 1.45fr;
  background:
    radial-gradient(circle at 16% 23%, rgba(96, 198, 165, .23), transparent 31%),
    linear-gradient(135deg, #073c5c 0 36%, #f7faf9 36% 100%);
}

.assistant-dialog-close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #294456;
  background: #fff;
  border: 1px solid #dfe8ea;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(8, 38, 55, .1);
}

.assistant-dialog-close svg { width: 18px; height: 18px; }

.assistant-dialog-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 42px;
}

.assistant-dialog-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -145px;
  bottom: -245px;
  border: 1px solid rgba(135, 219, 199, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(135, 219, 199, .05), 0 0 0 95px rgba(135, 219, 199, .025);
}

.assistant-dialog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #b9e9dd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.assistant-dialog-eyebrow svg { width: 16px; height: 16px; }

.assistant-dialog-orb {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: #fff;
  background: radial-gradient(circle at 38% 32%, #57cab0, #168a88 53%, #075269 78%);
  border: 2px solid rgba(195, 246, 225, .31);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(111, 216, 185, .06), 0 0 55px rgba(69, 207, 177, .28);
}

.assistant-dialog-orb span svg { width: 43px; height: 43px; stroke-width: 2; }
.assistant-dialog-orb i {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(166, 236, 216, .14);
  border-radius: 50%;
}
.assistant-dialog-orb i:nth-child(3) { width: 164px; height: 164px; }
.assistant-dialog-orb i:nth-child(4) { width: 190px; height: 190px; }

.assistant-dialog-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(34px, 2.7vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.assistant-dialog-hero > p {
  position: relative;
  z-index: 1;
  margin: 20px 0 28px;
  color: rgba(235, 247, 245, .75);
  font-size: 15px;
  line-height: 1.75;
}

.assistant-dialog-trust {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  color: rgba(236, 248, 245, .84);
  font-size: 12px;
  font-weight: 650;
}

.assistant-dialog-trust span { display: flex; align-items: center; gap: 8px; }
.assistant-dialog-trust svg { width: 15px; height: 15px; color: #a7de40; }

.assistant-dialog-workspace {
  display: flex;
  flex-direction: column;
  padding: 58px 48px 36px;
  color: #15344a;
}

.assistant-dialog-workspace > header { padding-right: 38px; }
.assistant-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #16766f;
  background: #e6f5f1;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.assistant-preview-badge i { width: 6px; height: 6px; background: #27aa8f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(39,170,143,.12); }
.assistant-dialog-workspace h3 { margin: 18px 0 7px; color: #082f4a; font-size: 34px; letter-spacing: -.035em; }
.assistant-dialog-workspace header p { margin: 0; color: #70818b; font-size: 13px; line-height: 1.6; }

.assistant-context {
  display: grid;
  grid-template-columns: 1fr 1.18fr .8fr;
  gap: 8px;
  margin: 22px 0 18px;
}
.assistant-context > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 6px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #e1e9eb;
  border-radius: 12px;
}
.assistant-context svg { grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: #118c86; }
.assistant-context small { color: #8a9aa2; font-size: 10px; }
.assistant-context strong { overflow: hidden; color: #29465a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.assistant-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.assistant-analysis-grid button {
  position: relative;
  min-height: 84px;
  display: grid;
  grid-template-columns: 35px 1fr 18px;
  align-items: center;
  gap: 11px;
  padding: 14px;
  text-align: left;
  color: #345165;
  background: #fff;
  border: 1px solid #e1e8ea;
  border-radius: 15px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.assistant-analysis-grid button:hover { transform: translateY(-1px); border-color: #80c9b9; }
.assistant-analysis-grid button.active { border-color: #269b8b; box-shadow: 0 9px 25px rgba(23, 119, 111, .1); }
.assistant-analysis-grid button > svg:first-child { width: 22px; height: 22px; color: #078082; }
.assistant-analysis-grid button > svg:last-child { width: 16px; height: 16px; color: transparent; }
.assistant-analysis-grid button.active > svg:last-child { color: #7fc52e; }
.assistant-analysis-grid span { display: grid; gap: 4px; }
.assistant-analysis-grid strong { color: #173d54; font-size: 13px; }
.assistant-analysis-grid small { color: #82919a; font-size: 11px; line-height: 1.4; }

.assistant-dialog-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}
.assistant-dialog-footer p { display: flex; align-items: center; gap: 10px; margin: 0; color: #5c727f; }
.assistant-dialog-footer p > svg { width: 23px; height: 23px; color: #138d89; }
.assistant-dialog-footer p span { display: grid; gap: 2px; }
.assistant-dialog-footer p strong { color: #24475b; font-size: 12px; }
.assistant-dialog-footer p small { font-size: 10px; }
.assistant-dialog-footer p.waiting strong { color: #137b73; }
.assistant-dialog-footer > button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, #0a7d7f, #07506f);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(8, 86, 102, .18);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.assistant-dialog-footer > button svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .assistant-dialog { overflow: auto; }
  .assistant-dialog-shell { grid-template-columns: 1fr; background: linear-gradient(180deg, #073c5c 0 39%, #f7faf9 39% 100%); }
  .assistant-dialog-hero { min-height: 430px; padding: 52px 30px; }
  .assistant-dialog-workspace { padding: 42px 24px 30px; }
  .assistant-context, .assistant-analysis-grid { grid-template-columns: 1fr; }
  .assistant-dialog-footer { grid-template-columns: 1fr; }
  .assistant-dialog-footer > button { justify-content: center; }
}

@media (max-width: 1320px) {
  .generated-shell {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .generated-sidebar {
    padding-inline: 12px;
  }
  .generated-brand {
    padding-inline: 4px;
  }
  .generated-brand-logo-frame img {
    width: 165px;
  }
  .generated-brand strong {
    font-size: 26px;
  }
  .gen-nav-link {
    padding-inline: 19px;
  }
  .generated-dashboard {
    grid-template-columns: minmax(270px, .94fr) minmax(330px, 1.12fr) minmax(270px, .94fr);
    grid-template-rows: 150px 270px 285px;
  }
  .generated-kpi-row > div {
    padding-inline: 10px;
  }
  .generated-kpi-row p {
    font-size: 11px;
  }
  .generated-kpi-row strong {
    font-size: 24px;
  }
  .generated-status-list {
    gap: 14px;
  }
  .generated-bar-chart {
    height: 162px;
  }
  .generated-multi-donut {
    width: 172px;
  }
  .generated-line-wrap {
    height: 196px;
  }
}

@media (max-height: 900px) and (min-width: 781px) {
  .generated-sidebar {
    padding-top: 10px;
    padding-bottom: 11px;
  }
  .generated-brand {
    height: 73px;
    padding-top: 4px;
    padding-bottom: 9px;
  }
  .generated-brand-logo-frame {
    height: 60px;
  }
  .generated-nav {
    padding-top: 1px;
  }
  .gen-nav-group {
    padding-top: 12px;
    padding-bottom: 4px;
  }
  .gen-nav-link {
    min-height: 37px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .gen-nav-link.active {
    min-height: 42px;
  }
  .generated-sidebar-bottom {
    padding-top: 4px;
  }
  .generated-sidebar-bottom .gen-nav-link {
    min-height: 35px;
  }
}

@media (max-width: 1240px) and (min-width: 781px) {
  .generated-controls {
    height: auto;
    min-height: 110px;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .generated-control-filters {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 1060px) {
  .generated-dashboard {
    grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.1fr);
    grid-template-rows: 160px 280px 290px 360px;
  }
  .generated-kpi-card {
    grid-column: 1 / 3;
  }
  .generated-quality-card {
    grid-column: 1;
    grid-row: 2;
  }
  .generated-snapshot-card {
    grid-column: 2;
    grid-row: 2;
  }
  .generated-overview-card {
    grid-column: 1;
    grid-row: 3;
  }
  .generated-usage-card {
    grid-column: 2;
    grid-row: 3;
  }
  .generated-status-card {
    grid-column: 1;
    grid-row: 4;
  }
  .generated-assistant {
    grid-column: 2;
    grid-row: 4;
  }
  .generated-status-list {
    grid-template-columns: 1fr 1fr;
  }
  .generated-controls {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }
  .generated-control-filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }
}

@media (max-width: 780px) {
  .generated-shell {
    display: block;
  }
  .generated-sidebar {
    position: relative;
    top: 0;
    width: calc(100% - 20px);
    height: auto;
    margin: 10px;
    padding: 8px 10px;
    border-radius: 16px;
  }
  .generated-brand {
    height: 58px;
    justify-content: center;
    padding: 5px;
  }
  .generated-brand-logo-frame {
    height: 48px;
  }
  .generated-brand-logo-frame img {
    width: 176px;
  }
  .generated-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
    scrollbar-gutter: auto;
  }
  .gen-nav-group {
    display: none;
  }
  .gen-nav-link {
    width: auto;
    min-width: max-content;
    min-height: 39px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
  }
  .gen-nav-link.active {
    min-height: 39px;
    border-radius: 20px;
  }
  .gen-nav-link svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
  .generated-sidebar-bottom {
    display: none;
  }
  .generated-topbar {
    height: 66px;
    align-items: center;
    padding: 8px 12px;
  }
  .generated-search {
    width: calc(100% - 110px);
    height: 44px;
  }
  .generated-round-button {
    display: none;
  }
  .generated-profile {
    width: 54px;
    height: 44px;
    grid-template-columns: 36px 10px;
  }
  .generated-profile span {
    width: 34px;
    height: 34px;
  }
  .generated-content {
    padding: 0 10px 18px;
  }
  .generated-control-filters {
    gap: 7px;
  }
  .generated-date {
    display: none;
  }
  .generated-period {
    margin-left: 0;
    border-radius: 14px;
  }
  .generated-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .generated-kpi-card,
  .generated-status-card,
  .generated-quality-card,
  .generated-snapshot-card,
  .generated-overview-card,
  .generated-usage-card,
  .generated-assistant {
    grid-column: 1;
    grid-row: auto;
  }
  .generated-kpi-card {
    min-height: 250px;
  }
  .generated-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .generated-kpi-row > div:nth-child(3) {
    padding-left: 4px;
    border-left: 0;
  }
  .generated-status-card {
    min-height: 500px;
  }
  .generated-status-list {
    grid-template-columns: 1fr;
  }
  .generated-quality-card,
  .generated-snapshot-card,
  .generated-overview-card,
  .generated-usage-card,
  .generated-assistant {
    min-height: 310px;
  }
}

/* 4DX Command Center */
.fourdx-page {
  --fourdx-navy: #073b59;
  --fourdx-teal: #0c8f8b;
  --fourdx-lime: #a8db24;
  --fourdx-ink: #123247;
  display: grid;
  gap: 16px;
  padding: 2px 0 28px;
}

.fourdx-hero {
  position: relative;
  overflow: hidden;
  min-height: 174px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 83% -20%, rgba(168, 219, 36, .33), transparent 37%),
    radial-gradient(circle at 22% 170%, rgba(33, 178, 164, .33), transparent 46%),
    linear-gradient(125deg, #06344f 0%, #07556a 100%);
  border-radius: 23px;
  box-shadow: 0 16px 35px rgba(7, 59, 89, .12);
}

.fourdx-hero::after {
  content: "4";
  position: absolute;
  right: 32%;
  top: -67px;
  color: rgba(255,255,255,.045);
  font-size: 290px;
  font-weight: 900;
  line-height: 1;
}

.fourdx-hero-copy,
.fourdx-hero-score { position: relative; z-index: 1; }
.fourdx-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8ef68;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.fourdx-kicker svg { width: 16px; height: 16px; }
.fourdx-hero h1 { margin: 10px 0 7px; font-size: clamp(38px, 3vw, 54px); letter-spacing: -.05em; }
.fourdx-hero p { max-width: 610px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }
.fourdx-hero-score {
  min-width: 385px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 17px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  backdrop-filter: blur(8px);
}
.fourdx-hero-score span { display: grid; gap: 5px; padding: 5px 17px; border-right: 1px solid rgba(255,255,255,.13); }
.fourdx-hero-score span:last-child { border-right: 0; }
.fourdx-hero-score small { color: rgba(255,255,255,.62); font-size: 10px; }
.fourdx-hero-score strong { font-size: 28px; letter-spacing: -.04em; }

.fourdx-disciplines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.fourdx-disciplines article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 15px;
  background: #fff;
  border: 1px solid #e2e9ec;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18, 57, 78, .04);
}
.fourdx-disciplines article > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #5a7821;
  background: #eff8d8;
  border-radius: 10px;
  font-size: 11px;
}
.fourdx-disciplines article > span { min-width: 0; display: grid; grid-template-columns: 16px 1fr; column-gap: 7px; }
.fourdx-disciplines svg { width: 15px; height: 15px; color: var(--fourdx-teal); }
.fourdx-disciplines strong { color: var(--fourdx-ink); font-size: 12px; }
.fourdx-disciplines small { grid-column: 1 / 3; margin-top: 5px; color: #7c8d96; font-size: 10px; line-height: 1.45; }

.fourdx-builder {
  display: grid;
  grid-template-columns: minmax(500px, 1.05fr) minmax(470px, .95fr);
  align-items: stretch;
  gap: 16px;
}
.fourdx-form-card,
.fourdx-scoreboard,
.fourdx-goals-section {
  background: #fff;
  border: 1px solid #e1e9ec;
  border-radius: 21px;
  box-shadow: 0 11px 30px rgba(17, 53, 74, .05);
}
.fourdx-form-card { padding: 21px; }
.fourdx-card-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid #e9eef0; }
.fourdx-card-head > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #0f9b92, #07536a);
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(10, 127, 126, .2);
}
.fourdx-card-head svg { width: 20px; height: 20px; }
.fourdx-card-head p,
.fourdx-section-head p { margin: 0 0 3px; color: #729429; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.fourdx-card-head h2,
.fourdx-section-head h2 { margin: 0; color: var(--fourdx-ink); font-size: 22px; letter-spacing: -.025em; }
.fourdx-form-card form,
.fourdx-checkin-form { display: grid; gap: 11px; padding-top: 16px; }
.fourdx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fourdx-field { min-width: 0; display: grid; gap: 6px; }
.fourdx-field > span:first-child { color: #496476; font-size: 10px; font-weight: 800; }
.fourdx-field b { color: #80ae1d; }
.fourdx-input {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #f7f9fa;
  border: 1px solid #dfe7ea;
  border-radius: 10px;
}
.fourdx-input:focus-within,
.fourdx-field textarea:focus {
  background: #fff;
  border-color: #4aaea1;
  box-shadow: 0 0 0 3px rgba(12, 143, 139, .1);
}
.fourdx-input svg { flex: 0 0 auto; width: 15px; height: 15px; color: #68818f; }
.fourdx-input input {
  min-width: 0;
  width: 100%;
  padding: 0;
  color: #183b50;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 11px;
}
.fourdx-field textarea {
  width: 100%;
  resize: vertical;
  padding: 10px 11px;
  color: #183b50;
  background: #f7f9fa;
  border: 1px solid #dfe7ea;
  border-radius: 10px;
  outline: 0;
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
}
.fourdx-primary,
.fourdx-secondary {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(125deg, #0d918c, #073d5c);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(7, 79, 96, .16);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.fourdx-primary:hover,
.fourdx-secondary:hover { transform: translateY(-1px); box-shadow: 0 13px 25px rgba(7, 79, 96, .22); }
.fourdx-primary svg,
.fourdx-secondary svg { width: 15px; height: 15px; }

.fourdx-scoreboard {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(168,219,36,.28), transparent 33%),
    linear-gradient(150deg, #082d46, #075568);
  border-color: transparent;
}
.fourdx-scoreboard::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.018);
}
.fourdx-scoreboard > * { position: relative; z-index: 1; }
.fourdx-scoreboard-top { display: flex; align-items: flex-start; justify-content: space-between; }
.fourdx-scoreboard-top > span { display: grid; gap: 4px; }
.fourdx-scoreboard-top small { color: #bfe965; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.fourdx-scoreboard-top strong { color: rgba(255,255,255,.7); font-size: 11px; }
.fourdx-live-dot {
  width: 9px;
  height: 9px;
  background: #a9dd27;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(169,221,39,.11);
}
.fourdx-featured { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 18px; margin-top: 27px; }
.fourdx-progress-ring {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  background: conic-gradient(#a8db24 calc(var(--progress) * 1%), rgba(255,255,255,.1) 0);
  border-radius: 50%;
}
.fourdx-progress-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 88px;
  height: 88px;
  background: #0a435a;
  border-radius: 50%;
}
.fourdx-progress-ring span { z-index: 1; grid-area: 1 / 1; display: grid; text-align: center; }
.fourdx-progress-ring strong { font-size: 28px; letter-spacing: -.04em; }
.fourdx-progress-ring small { color: rgba(255,255,255,.6); font-size: 9px; }
.fourdx-featured-copy { min-width: 0; }
.fourdx-featured-copy h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.fourdx-featured-copy p { margin: 0; color: rgba(255,255,255,.59); font-size: 10px; }
.fourdx-status {
  display: inline-flex;
  width: max-content;
  padding: 5px 8px;
  color: #16605b;
  background: #e8f7ef;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
}
.fourdx-status.achieved { color: #4e6e12; background: #eff8d8; }
.fourdx-status.watch { color: #8b6513; background: #fff4d9; }
.fourdx-status.overdue { color: #963f3d; background: #ffebe8; }
.fourdx-score-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.fourdx-score-pair > span {
  display: grid;
  gap: 4px;
  padding: 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
}
.fourdx-score-pair small { color: #9fdad1; font-size: 9px; }
.fourdx-score-pair strong { font-size: 21px; }
.fourdx-score-pair em { color: rgba(255,255,255,.67); font-size: 10px; font-style: normal; font-weight: 500; }
.fourdx-score-pair p { margin: 0; color: rgba(255,255,255,.52); font-size: 9px; }
.fourdx-score-track { height: 7px; overflow: hidden; margin-top: 13px; background: rgba(255,255,255,.1); border-radius: 999px; }
.fourdx-score-track i { display: block; height: 100%; background: linear-gradient(90deg, #19b2a4, #a8db24); border-radius: inherit; }
.fourdx-next-commitment { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; padding: 12px; background: rgba(255,255,255,.07); border-radius: 12px; }
.fourdx-next-commitment > svg { width: 15px; height: 15px; color: #b4e538; }
.fourdx-next-commitment span { display: grid; gap: 4px; }
.fourdx-next-commitment small { color: #a9d9d2; font-size: 9px; }
.fourdx-next-commitment strong { font-size: 10px; line-height: 1.45; }
.fourdx-scoreboard-list { display: grid; gap: 7px; margin-top: auto; padding-top: 19px; }
.fourdx-scoreboard-list > span { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.fourdx-scoreboard-list > span > b { color: #a8db24; font-size: 10px; }
.fourdx-scoreboard-list i { min-width: 0; display: grid; gap: 2px; font-style: normal; }
.fourdx-scoreboard-list strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.fourdx-scoreboard-list small { color: rgba(255,255,255,.5); font-size: 9px; }
.fourdx-empty-score { display: grid; place-items: center; margin: auto; padding: 36px; text-align: center; }
.fourdx-empty-score svg { width: 50px; height: 50px; color: #a8db24; }
.fourdx-empty-score h2 { margin: 17px 0 7px; font-size: 25px; }
.fourdx-empty-score p { max-width: 340px; margin: 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.6; }

.fourdx-goals-section { padding: 21px; }
.fourdx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.fourdx-section-head > span { padding: 7px 10px; color: #547083; background: #f2f5f6; border-radius: 999px; font-size: 10px; }
.fourdx-goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fourdx-goal-card {
  min-width: 0;
  overflow: hidden;
  background: #fbfcfc;
  border: 1px solid #e3e9eb;
  border-radius: 16px;
}
.fourdx-goal-card-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
}
.fourdx-goal-index { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--fourdx-navy); border-radius: 11px; }
.fourdx-goal-index svg { width: 17px; height: 17px; }
.fourdx-goal-card-head > div { min-width: 0; }
.fourdx-goal-card-head h3 { margin: 7px 0 4px; color: var(--fourdx-ink); font-size: 15px; line-height: 1.4; }
.fourdx-goal-card-head p { margin: 0; color: #80919a; font-size: 9px; }
.fourdx-goal-card-head > button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #a54c49;
  background: #fff3f1;
  border: 1px solid #efd8d5;
  border-radius: 8px;
  cursor: pointer;
}
.fourdx-goal-card-head > button svg { width: 13px; height: 13px; }
.fourdx-goal-progress { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; padding: 0 15px 14px; }
.fourdx-goal-progress > span { display: grid; gap: 3px; }
.fourdx-goal-progress > span strong { color: var(--fourdx-ink); font-size: 17px; }
.fourdx-goal-progress > span small { color: #85949b; font-size: 9px; }
.fourdx-goal-progress > b { color: #1b756f; font-size: 16px; }
.fourdx-goal-progress > div { grid-column: 1 / 3; height: 7px; overflow: hidden; background: #e6ecee; border-radius: 999px; }
.fourdx-goal-progress > div i { display: block; height: 100%; background: linear-gradient(90deg, #0b9990, #a6d926); border-radius: inherit; }
.fourdx-measures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e6ecee; border-bottom: 1px solid #e6ecee; }
.fourdx-measures > span { min-width: 0; display: grid; gap: 4px; padding: 12px 15px; border-right: 1px solid #e6ecee; }
.fourdx-measures > span:last-child { border-right: 0; }
.fourdx-measures small { color: #819198; font-size: 9px; }
.fourdx-measures strong { overflow: hidden; color: #284c60; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; }
.fourdx-measures em { color: #6d9422; font-size: 9px; font-style: normal; font-weight: 800; }
.fourdx-checkin summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 15px;
  color: #1c566e;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.fourdx-checkin summary::-webkit-details-marker { display: none; }
.fourdx-checkin summary svg { width: 14px; height: 14px; color: var(--fourdx-teal); }
.fourdx-checkin summary span { margin-left: auto; color: #819199; font-size: 9px; font-weight: 600; }
.fourdx-checkin[open] summary { background: #f2f8f7; }
.fourdx-checkin-form { padding: 14px 15px; background: #fff; border-top: 1px solid #e6ecee; }
.fourdx-checkin-form .fourdx-form-grid { grid-template-columns: repeat(3, 1fr); }
.fourdx-secondary { justify-self: end; min-width: 145px; min-height: 38px; }
.fourdx-history { display: grid; padding: 3px 15px 13px; background: #fff; }
.fourdx-history > span { display: grid; grid-template-columns: 60px 8px 1fr; gap: 7px; padding-top: 9px; }
.fourdx-history time { color: #7f9098; font-size: 9px; }
.fourdx-history > span > i { position: relative; width: 6px; height: 6px; margin-top: 2px; background: #8fc826; border-radius: 50%; }
.fourdx-history > span > i::after { content: ""; position: absolute; left: 2px; top: 8px; width: 1px; height: 24px; background: #dce5e8; }
.fourdx-history > span:last-child > i::after { display: none; }
.fourdx-history p { display: grid; gap: 2px; margin: 0; }
.fourdx-history strong { color: #31566a; font-size: 10px; line-height: 1.45; }
.fourdx-history small { color: #83939a; font-size: 9px; }
.fourdx-no-history { padding: 12px 0 3px; color: #8c9aa0; font-size: 10px; text-align: center; }
.fourdx-empty-portfolio { grid-column: 1 / -1; display: grid; place-items: center; padding: 45px 20px; text-align: center; background: #f8faf9; border: 1px dashed #cfdadd; border-radius: 15px; }
.fourdx-empty-portfolio svg { width: 32px; height: 32px; color: #7cae1c; }
.fourdx-empty-portfolio h3 { margin: 12px 0 5px; color: var(--fourdx-ink); font-size: 17px; }
.fourdx-empty-portfolio p { margin: 0; color: #829198; font-size: 11px; }

@media (max-width: 1180px) {
  .fourdx-hero { align-items: flex-start; flex-direction: column; }
  .fourdx-hero-score { min-width: min(100%, 500px); }
  .fourdx-disciplines { grid-template-columns: repeat(2, 1fr); }
  .fourdx-builder { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .fourdx-hero { padding: 24px 20px; }
  .fourdx-hero-score { min-width: 0; width: 100%; grid-template-columns: 1fr; }
  .fourdx-hero-score span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .fourdx-hero-score span:last-child { border-bottom: 0; }
  .fourdx-disciplines,
  .fourdx-goal-grid,
  .fourdx-form-grid,
  .fourdx-checkin-form .fourdx-form-grid { grid-template-columns: 1fr; }
  .fourdx-featured { grid-template-columns: 1fr; }
  .fourdx-score-pair,
  .fourdx-measures { grid-template-columns: 1fr; }
  .fourdx-measures > span { border-right: 0; border-bottom: 1px solid #e6ecee; }
  .fourdx-measures > span:last-child { border-bottom: 0; }
  .fourdx-section-head { align-items: flex-start; flex-direction: column; }
}

/* Pengaturan Target LANURI */
.settings-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  background: #e9eef1;
  border-radius: 13px;
  width: fit-content;
}

.settings-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 0 15px;
  color: #627885;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.settings-tabs button svg { width: 15px; height: 15px; }
.settings-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #0b8584, #074664);
  box-shadow: 0 7px 17px rgba(7, 70, 100, .15);
}

.lanuri-target-page { display: grid; gap: 18px; }
.lanuri-target-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}
.lanuri-target-eyebrow,
.lanuri-dialog-eyebrow {
  margin: 0 0 5px;
  color: #0c8786;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.lanuri-target-head h1 { margin: 0; color: #073a5a; font-size: clamp(34px, 3vw, 49px); letter-spacing: -.045em; }
.lanuri-target-head > div:first-child > p:last-child { max-width: 670px; margin: 7px 0 0; color: #70838e; font-size: 12px; }
.lanuri-target-actions { display: flex; align-items: flex-end; gap: 10px; }
.lanuri-target-actions label { display: grid; gap: 5px; color: #577080; font-size: 10px; font-weight: 700; }
.lanuri-target-actions input {
  height: 43px;
  padding: 0 12px;
  color: #123b53;
  background: #fff;
  border: 1px solid #dce5e8;
  border-radius: 11px;
  font: inherit;
  font-size: 12px;
}

.lanuri-target-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lanuri-target-summary article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #e0e8eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 53, 72, .04);
}
.lanuri-target-summary article > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #0a8e88, #07516b);
  border-radius: 12px;
}
.lanuri-target-summary article.attention > span { background: linear-gradient(145deg, #d68a27, #b45c2c); }
.lanuri-target-summary svg { width: 18px; height: 18px; }
.lanuri-target-summary small { display: block; color: #809099; font-size: 10px; }
.lanuri-target-summary strong { display: block; margin-top: 2px; color: #073a5a; font-size: 25px; }

.lanuri-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.lanuri-target-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe8eb;
  border-radius: 19px;
  box-shadow: 0 11px 30px rgba(12, 52, 73, .05);
}
.lanuri-target-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-bottom: 1px solid #edf1f2;
}
.lanuri-target-service-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #0c918c, #07506a);
  border-radius: 13px;
  box-shadow: 0 8px 19px rgba(10, 124, 126, .16);
}
.lanuri-target-card.viola .lanuri-target-service-icon { background: linear-gradient(145deg, #7665e7, #3c388a); box-shadow: 0 8px 19px rgba(76, 63, 166, .19); }
.lanuri-target-service-icon svg { width: 20px; height: 20px; }
.lanuri-target-card > header > div { min-width: 0; flex: 1; }
.lanuri-target-card > header small { display: block; color: #82929b; font-size: 9px; }
.lanuri-target-card > header h2 { margin: 2px 0 0; color: #073a5a; font-size: 19px; }
.lanuri-target-card.viola > header h2 { color: #302c76; }
.lanuri-target-status { padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.lanuri-target-status.success { color: #26733d; background: #e7f5e9; }
.lanuri-target-status.warning { color: #9b5a16; background: #fff1da; }
.lanuri-target-status.danger { color: #a6403a; background: #fbe8e6; }
.lanuri-target-status.info { color: #176b7b; background: #e6f3f4; }
.lanuri-target-status.neutral { color: #66757c; background: #edf1f2; }

.lanuri-target-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 18px 8px;
}
.lanuri-target-numbers > div { padding: 12px 13px; background: #f7f9fa; border-radius: 12px; }
.lanuri-target-card.viola .lanuri-target-numbers > div { background: #f8f7fe; }
.lanuri-target-numbers small { display: block; color: #82929a; font-size: 9px; }
.lanuri-target-numbers strong { color: #073a5a; font-size: 27px; }
.lanuri-target-card.viola .lanuri-target-numbers strong { color: #3e378e; }
.lanuri-target-numbers span { margin-left: 5px; color: #748892; font-size: 10px; }

.lanuri-target-progress,
.lanuri-target-checkpoint { display: grid; gap: 7px; padding: 9px 18px; }
.lanuri-target-progress > div:first-child,
.lanuri-target-checkpoint > div:first-child { display: flex; align-items: center; justify-content: space-between; color: #5f7784; font-size: 10px; }
.lanuri-target-progress strong,
.lanuri-target-checkpoint strong { color: #073a5a; font-size: 11px; }
.lanuri-target-track { height: 7px; overflow: hidden; background: #e8edef; border-radius: 999px; }
.lanuri-target-track i { display: block; height: 100%; background: linear-gradient(90deg, #0b9690, #9bd522); border-radius: inherit; }
.lanuri-target-card.viola .lanuri-target-track i { background: linear-gradient(90deg, #6454d7, #45d1ca); }
.lanuri-target-track.checkpoint { height: 5px; }
.lanuri-target-checkpoint p { margin: 0; color: #71858f; font-size: 9px; line-height: 1.5; }

.lanuri-target-rules { display: grid; gap: 0; margin: 8px 18px 12px; border-top: 1px solid #edf1f2; }
.lanuri-target-rules > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 9px; padding: 8px 0; border-bottom: 1px solid #f0f3f4; }
.lanuri-target-rules dt { display: flex; align-items: center; gap: 6px; color: #667d89; font-size: 9px; }
.lanuri-target-rules dt svg { width: 12px; height: 12px; color: #0b8987; }
.lanuri-target-card.viola .lanuri-target-rules dt svg { color: #6657d8; }
.lanuri-target-rules dd { margin: 0; color: #294c60; font-size: 9px; font-weight: 700; text-align: right; }
.lanuri-target-card > footer { display: flex; justify-content: flex-end; gap: 7px; padding: 11px 18px; background: #f8fafb; }
.lanuri-target-card > footer button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  color: #31566a;
  background: #fff;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.lanuri-target-card > footer button.danger { color: #a24742; }
.lanuri-target-card > footer svg { width: 12px; height: 12px; }
.lanuri-target-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 35px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cddadd;
  border-radius: 20px;
}
.lanuri-target-empty > svg { width: 40px; height: 40px; color: #0a8987; }
.lanuri-target-empty h2 { margin: 12px 0 0; color: #073a5a; font-size: 21px; }
.lanuri-target-empty p { max-width: 390px; margin: 6px 0 17px; color: #798b94; font-size: 11px; }

.lanuri-dialog .dialog-inner { width: min(780px, calc(100vw - 34px)); }
.lanuri-target-form { max-height: min(820px, calc(100vh - 40px)); overflow-y: auto; }
.lanuri-dialog-eyebrow { margin-bottom: 3px; }
.lanuri-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.lanuri-form-field { display: grid; gap: 6px; min-width: 0; }
.lanuri-form-field.full { grid-column: 1 / -1; }
.lanuri-form-field > span:first-child { color: #36596d; font-size: 11px; font-weight: 700; }
.lanuri-form-field b { color: #72b82d; }
.lanuri-form-field small { color: #86969e; font-size: 9px; }
.lanuri-multi-select { min-height: 112px; padding-block: 7px; }
.lanuri-multi-select option { padding: 6px; border-radius: 6px; }
.lanuri-percent-input,
.lanuri-unit-input { position: relative; display: block; }
.lanuri-percent-input .input,
.lanuri-unit-input .input { padding-right: 46px; }
.lanuri-percent-input i,
.lanuri-unit-input i {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #6e828d;
  font-size: 11px;
  font-style: normal;
  transform: translateY(-50%);
}
.lanuri-target-preview {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 15px;
  padding: 12px 14px;
  color: #1e5f66;
  background: #ecf7f2;
  border: 1px solid #d1eadd;
  border-radius: 12px;
}
.lanuri-target-preview > span { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: #0b8987; border-radius: 9px; }
.lanuri-target-preview svg { width: 15px; height: 15px; }
.lanuri-target-preview small { display: block; font-size: 9px; }
.lanuri-target-preview strong { display: block; margin-top: 2px; font-size: 11px; }

/* Status pelaksanaan agenda LANURI */
.bpjs-agenda-item { grid-template-columns: 39px minmax(0, 1fr) 60px; }
.bpjs-agenda-actions { display: flex; justify-content: flex-end; gap: 5px; }
.bpjs-agenda-actions > button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #19746d;
  background: #edf8f4;
  border: 1px solid #d4ebe3;
  border-radius: 8px;
  cursor: pointer;
}
.bpjs-agenda-actions > button.danger { color: #a6534e; background: #fff5f3; border-color: #f1d9d6; }
.bpjs-agenda-actions svg { width: 13px; height: 13px; }
.schedule-status {
  width: fit-content;
  display: block;
  margin-top: 5px;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}
.schedule-status.scheduled { color: #17697a; background: #e6f3f4; }
.schedule-status.completed { color: #287541; background: #e7f5e9; }
.schedule-status.cancelled { color: #a24742; background: #fbe8e6; }
.schedule-status-form { width: min(680px, calc(100vw - 34px)) !important; }
.schedule-status-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.schedule-status-options label {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: #f7f9fa;
  border: 1px solid #e0e7e9;
  border-radius: 12px;
  cursor: pointer;
}
.schedule-status-options label.selected { background: #edf8f4; border-color: #62b8a7; box-shadow: inset 0 0 0 1px #62b8a7; }
.schedule-status-options input { position: absolute; opacity: 0; pointer-events: none; }
.schedule-status-options label > span { width: 30px; height: 30px; display: grid; place-items: center; color: #0b8584; background: #e5f3f0; border-radius: 9px; }
.schedule-status-options svg { width: 15px; height: 15px; }
.schedule-status-options strong { display: block; color: #163f55; font-size: 10px; }
.schedule-status-options small { display: block; margin-top: 3px; color: #7a8d96; font-size: 8px; line-height: 1.4; }
.schedule-completion-fields { display: none; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #e7edef; }
.schedule-completion-fields.visible { display: grid; }

@media (max-width: 900px) {
  .lanuri-target-head { align-items: stretch; flex-direction: column; }
  .lanuri-target-actions { align-items: stretch; }
  .lanuri-target-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .settings-tabs,
  .lanuri-target-actions { width: 100%; }
  .settings-tabs button,
  .lanuri-target-actions > * { flex: 1; }
  .lanuri-target-summary,
  .lanuri-form-grid,
  .schedule-status-options,
  .schedule-completion-fields { grid-template-columns: 1fr; }
  .lanuri-form-field.full { grid-column: auto; }
  .lanuri-target-actions { flex-direction: column; }
  .lanuri-target-rules > div { grid-template-columns: 1fr; }
  .lanuri-target-rules dd { text-align: left; }
}

/* User management */
.user-page {
  --user-navy: #073a5a;
  --user-teal: #0b8584;
  --user-lime: #a9d824;
  display: grid;
  gap: 16px;
  padding: 2px 0 28px;
}

.user-page-head {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.user-page-head h1 {
  margin: 3px 0 5px;
  color: var(--gen-ink);
  font-size: clamp(31px, 2.2vw, 41px);
  font-weight: 650;
  letter-spacing: -.035em;
}

.user-page-head p:not(.user-eyebrow) {
  max-width: 670px;
  margin: 0;
  color: #70808d;
  font-size: 15px;
  line-height: 1.55;
}

.user-eyebrow,
.dialog-kicker {
  margin: 0;
  color: var(--user-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.user-primary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  color: #fff;
  background: linear-gradient(100deg, #073a5a, #045675);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(7, 58, 90, .16);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.user-primary-button:hover { background: linear-gradient(100deg, #052f4b, #087073); }
.user-primary-button svg { width: 17px; height: 17px; }

.user-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.user-summary article {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  background: #fff;
  border: 1px solid #e7ecef;
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(13, 48, 67, .035);
}

.user-summary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: #fff;
  background: var(--user-navy);
  border-radius: 13px;
}

.user-summary-icon.lime { color: #456500; background: #e9f7be; }
.user-summary-icon.teal { background: var(--user-teal); }
.user-summary-icon.soft { color: var(--user-navy); background: #e9f0f4; }
.user-summary-icon svg { width: 20px; height: 20px; }
.user-summary article small,
.user-summary article em { display: block; color: #7a8994; font-size: 11px; font-style: normal; }
.user-summary article strong { display: inline-block; margin: 2px 6px 0 0; color: #102638; font-size: 28px; line-height: 1; }

.user-directory-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eaed;
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(11, 46, 66, .045);
}

.user-directory-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(135px, .55fr));
  gap: 10px;
  padding: 15px;
  background: #fbfcfc;
  border-bottom: 1px solid #edf1f3;
}

.user-directory-toolbar label:not(.user-search-field) {
  position: relative;
  min-width: 0;
}

.user-directory-toolbar label > span {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 6px;
  color: #8a98a2;
  font-size: 10px;
  pointer-events: none;
}

.user-directory-toolbar select,
.user-search-field {
  width: 100%;
  height: 45px;
  color: #324b5d;
  background: #fff;
  border: 1px solid #dfe6ea;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 12px;
}

.user-directory-toolbar select {
  padding: 15px 32px 3px 12px;
}

.user-search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
}

.user-search-field svg { width: 16px; height: 16px; color: #72828e; }
.user-search-field input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; }

.user-result-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px 17px 8px;
}

.user-result-meta strong { font-size: 15px; }
.user-result-meta span { color: #83909a; font-size: 11px; }
.user-table-wrap { overflow: auto; }

.user-table {
  min-width: 1000px;
  background: #fff;
}

.user-table th {
  padding: 11px 16px;
  color: #7d8b96;
  background: #fff;
  border-top: 1px solid #eff2f4;
  font-size: 10px;
}

.user-table td {
  padding: 14px 16px;
  color: #415767;
  border-color: #eef2f4;
  font-size: 12px;
  vertical-align: middle;
}

.user-table td > strong,
.user-table td > small { display: block; }
.user-table td > strong { color: #263e4f; font-size: 12px; }
.user-table td > small { max-width: 210px; margin-top: 4px; overflow: hidden; color: #82909b; text-overflow: ellipsis; white-space: nowrap; }

.user-identity {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-identity > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  color: #fff;
  background: linear-gradient(145deg, #0a8685, #073a5a);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.user-identity strong,
.user-identity small { display: block; }
.user-identity strong { color: #173246; font-size: 12px; }
.user-identity small { margin-top: 3px; color: #82909a; font-size: 10px; }

.access-pill,
.user-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 750;
}

.access-pill svg { width: 12px; height: 12px; }
.access-pill.staff { color: #426170; background: #edf2f4; }
.access-pill.admin { color: #08706f; background: #dcf2ec; }
.access-pill.super_admin { color: #5a6900; background: #edf7ca; }
.user-status { color: #567078; background: #f0f3f4; }
.user-status i { width: 6px; height: 6px; background: #8d9aa3; border-radius: 50%; }
.user-status.active { color: #397423; background: #edf7e7; }
.user-status.active i { background: #70b63c; }

.user-row-actions { display: flex; gap: 5px; justify-content: flex-end; }
.user-row-actions button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #607482;
  background: #f7f9fa;
  border: 1px solid #e7ecef;
  border-radius: 9px;
  cursor: pointer;
}
.user-row-actions button:hover { color: #fff; background: var(--user-navy); border-color: var(--user-navy); }
.user-row-actions button.danger { color: #a5423d; background: #fff7f6; border-color: #f1d7d4; }
.user-row-actions button.danger:hover { color: #fff; background: #b44741; border-color: #b44741; }
.user-row-actions svg { width: 14px; height: 14px; }

.user-dialog { width: min(880px, calc(100vw - 28px)); }
.password-dialog { width: min(510px, calc(100vw - 28px)); }
.user-form { padding: 25px 28px; }
.user-form .dialog-head { padding-bottom: 17px; border-bottom: 1px solid #e8edef; }
.user-form-section { padding: 5px 0 18px; border-bottom: 1px solid #e8edef; }
.user-form-section:last-of-type { border-bottom: 0; }
.user-form-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 12px;
  color: #17394e;
  font-size: 13px;
}
.user-form-section h3 svg { width: 16px; height: 16px; color: var(--user-teal); }
.user-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; }
.user-form .form-field label,
.password-dialog .form-field label { color: #4e6473; font-size: 11px; font-weight: 700; }
.user-form .form-field label b,
.password-dialog .form-field label b { color: #c84e4e; }
.user-form .form-field small { margin-top: 4px; color: #8a969e; font-size: 10px; line-height: 1.4; }
.user-form .input,
.password-dialog .input { min-height: 43px; color: #223d4e; background: #f9fbfb; border-color: #dfe6ea; border-radius: 11px; font-size: 12px; }
.user-form textarea.input { resize: vertical; }
.user-form-actions { position: sticky; bottom: -25px; margin: 0 -28px -25px; padding: 15px 28px; background: rgba(251,252,248,.97); border-top: 1px solid #e8edef; }

@media (max-width: 1150px) {
  .user-summary { grid-template-columns: repeat(2, 1fr); }
  .user-directory-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .user-page-head { align-items: flex-start; flex-direction: column; }
  .user-primary-button { width: 100%; }
  .user-summary { grid-template-columns: 1fr; }
  .user-directory-toolbar,
  .user-form-grid { grid-template-columns: 1fr; }
  .user-form-grid .full { grid-column: auto; }
  .user-form { padding: 20px; }
  .user-form-actions { margin: 0 -20px -20px; padding: 14px 20px; }
}

/* BPJS Keliling scheduling */
.bpjs-page {
  --bpjs-navy: #063b5a;
  --bpjs-deep: #052f4b;
  --bpjs-teal: #0b8f8a;
  --bpjs-lime: #9bd91d;
  min-height: 100%;
  color: #17384e;
}

.bpjs-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.bpjs-eyebrow {
  margin: 0 0 7px;
  color: #19857e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.bpjs-page-head h1 {
  margin: 0;
  color: var(--bpjs-deep);
  font-size: clamp(37px, 3vw, 53px);
  letter-spacing: -.045em;
}

.bpjs-page-head > div:first-child > p:last-child {
  margin: 8px 0 0;
  color: #6e818c;
  font-size: 13px;
}

.bpjs-summary {
  display: flex;
  gap: 9px;
}

.bpjs-summary > span {
  min-width: 155px;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 8px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #e0e9ec;
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(18, 55, 75, .04);
}

.bpjs-summary svg {
  grid-row: 1 / 3;
  align-self: center;
  width: 24px;
  height: 24px;
  color: var(--bpjs-teal);
}

.bpjs-summary small { color: #80919a; font-size: 10px; }
.bpjs-summary strong { color: var(--bpjs-deep); font-size: 21px; }

.bpjs-layout {
  display: grid;
  grid-template-columns: minmax(400px, .82fr) minmax(620px, 1.38fr);
  align-items: start;
  gap: 17px;
}

.bpjs-form-column { display: grid; gap: 15px; }

.bpjs-form-card,
.bpjs-agenda-card,
.bpjs-calendar-card {
  background: #fff;
  border: 1px solid #e2e9ec;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 54, 73, .045);
}

.bpjs-form-card { padding: 20px; }

.bpjs-form-title {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid #edf1f2;
}

.bpjs-form-title > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--bpjs-teal), #086676);
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(10, 135, 132, .18);
}

.bpjs-form-title svg { width: 20px; height: 20px; }
.bpjs-form-title h2 { margin: 0; color: var(--bpjs-deep); font-size: 21px; letter-spacing: -.02em; }
.bpjs-form-title p { margin: 3px 0 0; color: #84939b; font-size: 11px; }
.bpjs-form-card form { display: grid; gap: 13px; padding-top: 17px; }
.bpjs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.bpjs-field { display: grid; gap: 6px; min-width: 0; }
.bpjs-field > span:first-child { color: #415e70; font-size: 11px; font-weight: 700; }
.bpjs-field b { color: #79bd29; }

.bpjs-input-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  background: #f7f9fa;
  border: 1px solid #dfe7ea;
  border-radius: 11px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.bpjs-input-wrap:focus-within {
  background: #fff;
  border-color: #4eb5a5;
  box-shadow: 0 0 0 3px rgba(41, 157, 144, .1);
}

.bpjs-input-wrap svg { flex: 0 0 auto; width: 16px; height: 16px; color: #678090; }
.bpjs-input-wrap input {
  min-width: 0;
  width: 100%;
  padding: 0;
  color: #173b50;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.bpjs-field textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 11px 12px;
  color: #173b50;
  background: #f7f9fa;
  border: 1px solid #dfe7ea;
  border-radius: 11px;
  outline: 0;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
}

.bpjs-field textarea:focus {
  background: #fff;
  border-color: #4eb5a5;
  box-shadow: 0 0 0 3px rgba(41, 157, 144, .1);
}

.bpjs-save-button {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: linear-gradient(135deg, #0b8f8a, #07516e);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(7, 93, 107, .16);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bpjs-save-button:hover { transform: translateY(-1px); box-shadow: 0 15px 28px rgba(7, 93, 107, .22); }
.bpjs-save-button svg { width: 17px; height: 17px; }

.bpjs-agenda-card { overflow: hidden; }
.bpjs-agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 13px;
  border-bottom: 1px solid #edf1f2;
}
.bpjs-agenda-head h3 { margin: 0; color: var(--bpjs-deep); font-size: 16px; }
.bpjs-agenda-head p { margin: 3px 0 0; color: #84939b; font-size: 10px; text-transform: capitalize; }
.bpjs-agenda-head > span {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #0d716f;
  background: #e9f6f2;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.bpjs-agenda-list { display: grid; }
.bpjs-agenda-item {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 27px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f3;
}
.bpjs-agenda-item:last-child { border-bottom: 0; }
.bpjs-agenda-item time {
  height: 43px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #fff;
  background: var(--bpjs-navy);
  border-radius: 10px;
}
.bpjs-agenda-item time strong { font-size: 17px; line-height: 1; }
.bpjs-agenda-item time small { margin-top: 2px; color: #a8dfd4; font-size: 9px; text-transform: uppercase; }
.bpjs-agenda-item > div { min-width: 0; }
.bpjs-agenda-item > div > strong { display: block; overflow: hidden; color: #24495d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.bpjs-agenda-item p { margin: 3px 0; color: #71858f; font-size: 10px; }
.bpjs-agenda-item > div > small { display: flex; align-items: center; gap: 4px; color: #8b9aa1; font-size: 9px; }
.bpjs-agenda-item > div > small svg { width: 11px; height: 11px; color: var(--bpjs-teal); }
.bpjs-agenda-item > button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #a6534e;
  background: #fff5f3;
  border: 1px solid #f1d9d6;
  border-radius: 8px;
  cursor: pointer;
}
.bpjs-agenda-item > button:hover { color: #fff; background: #af4943; border-color: #af4943; }
.bpjs-agenda-item > button svg { width: 13px; height: 13px; }
.bpjs-empty-agenda { display: grid; place-items: center; padding: 29px 15px; text-align: center; }
.bpjs-empty-agenda > svg { width: 26px; height: 26px; margin-bottom: 8px; color: #32a899; }
.bpjs-empty-agenda strong { color: #36566a; font-size: 12px; }
.bpjs-empty-agenda p { margin: 4px 0 0; color: #8b999f; font-size: 10px; }

.bpjs-calendar-card {
  overflow: hidden;
  min-width: 0;
}

.bpjs-calendar-head {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px;
  color: #fff;
  background:
    radial-gradient(circle at 76% -25%, rgba(158, 222, 42, .34), transparent 38%),
    radial-gradient(circle at 24% 140%, rgba(43, 178, 162, .28), transparent 43%),
    linear-gradient(132deg, #073b59, #07516b);
}

.bpjs-calendar-head::after {
  content: "";
  position: absolute;
  right: 22%;
  top: -75px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.018);
}

.bpjs-calendar-head > div { position: relative; z-index: 1; }
.bpjs-calendar-kicker { display: flex; align-items: center; gap: 7px; color: #aae5d7; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.bpjs-calendar-kicker svg { width: 15px; height: 15px; }
.bpjs-calendar-head h2 { margin: 8px 0 3px; font-size: 31px; letter-spacing: -.035em; text-transform: capitalize; }
.bpjs-calendar-head p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.bpjs-calendar-nav { display: flex; align-items: center; gap: 6px; }
.bpjs-calendar-nav button {
  height: 35px;
  min-width: 35px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.bpjs-calendar-nav button:hover { background: rgba(255,255,255,.16); }
.bpjs-calendar-nav svg { width: 15px; height: 15px; }

.bpjs-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 13px 15px 10px;
  background: #f8fafb;
  border-bottom: 1px solid #e8edef;
}
.bpjs-calendar-weekdays span { color: #718793; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }

.bpjs-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0 15px;
  background: #fff;
}

.bpjs-calendar-day {
  position: relative;
  min-width: 0;
  min-height: 94px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 8px;
  text-align: left;
  color: #294b5f;
  background: #fff;
  border: 0;
  border-right: 1px solid #edf1f2;
  border-bottom: 1px solid #edf1f2;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}
.bpjs-calendar-day:nth-child(7n) { border-right: 0; }
.bpjs-calendar-day:hover { z-index: 1; background: #f5fbf9; box-shadow: inset 0 0 0 1px #8ed2c4; }
.bpjs-calendar-day.muted { cursor: default; background: #fafcfc; }
.bpjs-calendar-day.today { background: #f3faf8; }
.bpjs-calendar-day.selected { z-index: 1; background: #eff8f5; box-shadow: inset 0 0 0 2px #38a994; }
.bpjs-calendar-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.bpjs-calendar-day.today .bpjs-calendar-number { color: #fff; background: var(--bpjs-navy); }
.bpjs-calendar-day.has-schedule:not(.today) .bpjs-calendar-number { color: #116b67; background: #e5f5ef; }
.bpjs-calendar-events { min-width: 0; display: grid; gap: 4px; }
.bpjs-calendar-event {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 5px 6px;
  color: #fff;
  background: linear-gradient(100deg, #0c8c86, #0a6d7b);
  border-left: 3px solid var(--bpjs-lime);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(11, 120, 122, .11);
}
.bpjs-calendar-event strong { font-size: 9px; }
.bpjs-calendar-event small { overflow: hidden; color: rgba(255,255,255,.81); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.bpjs-calendar-events em { padding-left: 3px; color: #63818e; font-size: 8px; font-style: normal; font-weight: 700; }

.bpjs-calendar-legend {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  color: #71858f;
  background: #f8fafb;
  font-size: 10px;
}
.bpjs-calendar-legend span { display: flex; align-items: center; gap: 6px; }
.bpjs-calendar-legend i { width: 9px; height: 9px; border-radius: 3px; }
.bpjs-calendar-legend i.today { background: var(--bpjs-navy); }
.bpjs-calendar-legend i.scheduled { background: var(--bpjs-teal); border: 2px solid var(--bpjs-lime); }
.bpjs-calendar-legend strong { margin-left: auto; color: #31566a; font-size: 10px; }

/* VIOLA — identitas layanan virtual */
.viola-theme {
  --bpjs-deep: #25245f;
  --bpjs-navy: #343279;
  --bpjs-teal: #6657d8;
  --bpjs-lime: #42d5d0;
}

.viola-theme::before {
  content: "";
  position: fixed;
  right: 4%;
  top: 120px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background-image: radial-gradient(rgba(100, 87, 216, .13) 1px, transparent 1px);
  background-size: 13px 13px;
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}

.viola-theme .bpjs-eyebrow { color: #6657d8; }
.viola-theme .bpjs-summary > span {
  background: linear-gradient(145deg, #fff, #f8f7ff);
  border-color: #e2dff7;
}
.viola-theme .bpjs-summary svg { color: #6657d8; }
.viola-theme .bpjs-form-card,
.viola-theme .bpjs-agenda-card,
.viola-theme .bpjs-calendar-card {
  border-color: #e3e0f2;
  box-shadow: 0 13px 34px rgba(48, 43, 111, .065);
}
.viola-theme .bpjs-form-title > span {
  background: linear-gradient(145deg, #7062e7, #3d398f);
  box-shadow: 0 9px 22px rgba(81, 68, 183, .22);
}
.viola-theme .bpjs-input-wrap,
.viola-theme .bpjs-field textarea {
  background: #f8f8fc;
  border-color: #e1dff0;
}
.viola-theme .bpjs-input-wrap:focus-within,
.viola-theme .bpjs-field textarea:focus {
  background: #fff;
  border-color: #8175e4;
  box-shadow: 0 0 0 3px rgba(102, 87, 216, .11);
}
.viola-theme .bpjs-field b { color: #6657d8; }
.viola-theme .bpjs-save-button {
  background: linear-gradient(135deg, #7665e7, #343279);
  box-shadow: 0 12px 25px rgba(60, 53, 139, .2);
}
.viola-theme .bpjs-save-button:hover { box-shadow: 0 16px 30px rgba(60, 53, 139, .27); }
.viola-theme .bpjs-agenda-head > span { color: #5044b6; background: #efedfc; }
.viola-theme .bpjs-agenda-item time {
  background: linear-gradient(145deg, #5d50cc, #31306e);
}
.viola-theme .bpjs-agenda-item time small { color: #d9d6ff; }
.viola-theme .bpjs-agenda-item > div > small svg,
.viola-theme .bpjs-empty-agenda > svg { color: #6657d8; }
.viola-theme .bpjs-calendar-head {
  background:
    radial-gradient(circle at 79% -20%, rgba(68, 220, 213, .3), transparent 38%),
    radial-gradient(circle at 17% 150%, rgba(133, 110, 246, .45), transparent 45%),
    linear-gradient(132deg, #27265f, #4942a3);
}
.viola-theme .bpjs-calendar-kicker { color: #bff8f4; }
.viola-theme .bpjs-calendar-day:hover {
  background: #f7f6ff;
  box-shadow: inset 0 0 0 1px #aea5ef;
}
.viola-theme .bpjs-calendar-day.today { background: #f5f3ff; }
.viola-theme .bpjs-calendar-day.selected {
  background: #f0edff;
  box-shadow: inset 0 0 0 2px #7667dd;
}
.viola-theme .bpjs-calendar-day.has-schedule:not(.today) .bpjs-calendar-number {
  color: #5246b2;
  background: #ece9ff;
}
.viola-theme .bpjs-calendar-event {
  background: linear-gradient(100deg, #6657d8, #41429a);
  border-left-color: #48d6d0;
  box-shadow: 0 4px 11px rgba(75, 63, 172, .15);
}
.viola-theme .bpjs-calendar-legend i.scheduled {
  background: #6657d8;
  border-color: #48d6d0;
}

@media (max-width: 1180px) {
  .bpjs-layout { grid-template-columns: 1fr; }
  .bpjs-form-column { grid-template-columns: minmax(330px, .8fr) minmax(340px, 1.2fr); }
}

@media (max-width: 760px) {
  .bpjs-page-head { align-items: stretch; flex-direction: column; }
  .bpjs-summary { display: grid; grid-template-columns: 1fr 1fr; }
  .bpjs-summary > span { min-width: 0; }
  .bpjs-form-column { grid-template-columns: 1fr; }
  .bpjs-form-grid { grid-template-columns: 1fr; }
  .bpjs-calendar-head { align-items: flex-start; flex-direction: column; }
  .bpjs-calendar-grid, .bpjs-calendar-weekdays { min-width: 650px; }
  .bpjs-calendar-card { overflow-x: auto; }
  .bpjs-calendar-legend { min-width: 650px; }
}

/* LANURI placeholders */
.lanuri-page {
  min-height: calc(100vh - 132px);
  display: grid;
  place-items: center;
  padding: 30px;
}

.lanuri-placeholder {
  width: min(560px, 100%);
  padding: 54px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(169, 216, 36, .13), transparent 43%),
    #fff;
  border: 1px solid #e4eaed;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(7, 58, 90, .07);
}

.lanuri-placeholder-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #fff;
  background: linear-gradient(145deg, #0b8584, #073a5a);
  border-radius: 20px;
  box-shadow: 0 13px 28px rgba(7, 58, 90, .18);
}

.lanuri-placeholder-icon svg { width: 31px; height: 31px; }
.lanuri-kicker { margin: 0 0 5px; color: #0b8584; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.lanuri-placeholder h1 { margin: 0; color: #102638; font-size: clamp(37px, 4vw, 53px); letter-spacing: -.045em; }
.lanuri-placeholder > p:not(.lanuri-kicker) { max-width: 430px; margin: 12px auto 22px; color: #70808d; font-size: 15px; line-height: 1.65; }
.lanuri-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #397423;
  background: #edf7e7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}
.lanuri-status svg { width: 13px; height: 13px; }

@media (max-width: 600px) {
  .lanuri-page { min-height: calc(100vh - 110px); padding: 16px; }
  .lanuri-placeholder { padding: 40px 22px; }
}

@media (max-width: 480px) {
  .generated-filter {
    max-width: 130px;
  }
  .generated-export {
    padding-inline: 13px;
  }
  .generated-kpi-row strong {
    font-size: 22px;
  }
  .generated-overview-body {
    grid-template-columns: 1fr;
  }
  .generated-multi-donut {
    width: 165px;
  }
  .generated-overview-legend {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* Original PANTAU login retained */
.original-login {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(470px, .84fr) minmax(620px, 1.16fr);
  gap: 40px;
  padding: 42px max(42px, calc((100vw - 1540px) / 2));
  background: #f3f6f8;
}

.original-login-panel {
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px clamp(52px, 5vw, 84px);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 26px 56px rgba(16, 49, 78, .08);
}

.original-login-logo {
  width: min(100%, 420px);
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto 4px;
}

.original-login-acronym {
  margin: 0 auto 34px;
  color: #32465f;
  font-size: clamp(19px, 1.15vw, 25px);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .015em;
  text-align: center;
}

.original-login-panel h1 {
  margin: 0 0 42px;
  color: #082641;
  font-size: clamp(37px, 2.2vw, 49px);
  font-weight: 800;
  letter-spacing: -.025em;
  text-align: center;
}

.original-field {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: #33465d;
  font-size: 21px;
  font-weight: 700;
}

.original-input-wrap {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 19px;
  color: #91a6c1;
  background: #f6f8fa;
  border: 1px solid #d7e0e8;
  border-radius: 15px;
}

.original-input-wrap:focus-within {
  border-color: #78b83d;
  box-shadow: 0 0 0 4px rgba(120, 184, 61, .13);
}

.original-input-wrap > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.original-input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0;
  color: #082641;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 22px;
}

.original-input-wrap input::placeholder {
  color: #7c858b;
  opacity: 1;
}

.original-password-toggle {
  width: 28px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #91a6c1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.original-password-toggle svg {
  width: 21px;
  height: 21px;
}

.original-login-submit {
  width: 100%;
  height: 64px;
  color: #fff;
  background: #78b83d;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 16px 28px rgba(120, 184, 61, .24);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

.original-copyright {
  margin: 48px 0 0;
  color: #8ba0bd;
  font-size: 19px;
  text-align: center;
}

.original-showcase {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  padding: 62px;
  color: #fff;
  background:
    radial-gradient(circle at 79% 76%, rgba(120, 184, 61, .55), transparent 34%),
    linear-gradient(135deg, #163e35 0%, #0a3154 54%, #4e7f31 100%);
  border-radius: 28px;
}

.original-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 40% 32%, #000, transparent 58%);
}

.original-showcase-card {
  position: absolute;
  z-index: 2;
  width: 38%;
  aspect-ratio: 1.08;
  padding: 42px 32px 28px;
  color: #314158;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  box-shadow: 0 28px 55px rgba(0, 18, 38, .2);
}

.original-showcase-card > span {
  display: block;
  font-size: clamp(16px, 1.1vw, 22px);
  line-height: 1.2;
}

.original-showcase-card > strong {
  position: absolute;
  left: 32px;
  bottom: 42px;
  color: #071f38;
  font-size: clamp(35px, 2.2vw, 53px);
}

.original-showcase-card > small {
  position: absolute;
  left: 34px;
  bottom: 23px;
  color: #70a933;
  font-size: clamp(12px, .8vw, 17px);
  font-weight: 700;
}

.original-performance-card {
  left: 8%;
  top: 8%;
  transform: rotate(-4deg);
}

.original-performance-card > svg {
  position: absolute;
  right: 13%;
  top: 20%;
  width: 45%;
  height: 45%;
  color: #43536b;
  stroke-width: 2.5;
}

.original-target-card {
  right: 7%;
  top: 30%;
  transform: rotate(3deg);
}

.original-target-rings {
  position: absolute;
  right: 14%;
  top: 14%;
  width: 46%;
  aspect-ratio: 1;
  border: 12px solid #43536b;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 12px #fff,
    inset 0 0 0 24px #43536b,
    inset 0 0 0 36px #fff,
    inset 0 0 0 48px #43536b;
}

.original-bars {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 7%;
  height: 22%;
  display: flex;
  align-items: end;
  gap: 5%;
}

.original-bars i {
  flex: 1;
  height: 45%;
  background: #78b83d;
  border-radius: 4px 4px 0 0;
}

.original-bars i:nth-child(2) { height: 73%; }
.original-bars i:nth-child(3) { height: 58%; }
.original-bars i:nth-child(4) { height: 84%; }
.original-bars i:nth-child(5) { height: 61%; }
.original-bars i:nth-child(6) { height: 70%; }

.original-showcase h2 {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 12%;
  margin: 0;
  font-size: clamp(29px, 2vw, 47px);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.original-dots {
  position: absolute;
  left: 8%;
  bottom: 7%;
  display: flex;
  gap: 10px;
}

.original-dots i {
  width: 32px;
  height: 6px;
  background: rgba(255,255,255,.35);
  border-radius: 6px;
}

.original-dots i:first-child {
  background: #78b83d;
}

/* WT-WL period import and monitoring */
.wtwl-page {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.wtwl-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.wtwl-page-head .eyebrow {
  margin: 0 0 5px;
  color: #7b8b98;
  font-size: 13px;
  letter-spacing: .09em;
}

.wtwl-page-head h1 {
  margin: 0;
  color: var(--gen-navy);
  font-size: clamp(32px, 2.5vw, 45px);
  letter-spacing: -.04em;
}

.wtwl-page-head p:last-child {
  margin: 7px 0 0;
  color: #667684;
  font-size: 16px;
}

.wtwl-filter-row {
  display: flex;
  gap: 10px;
}

.wtwl-filter-row label,
.wtwl-period-field {
  display: grid;
  gap: 5px;
  color: #617181;
  font-size: 13px;
  font-weight: 600;
}

.wtwl-filter-row select,
.wtwl-period-field input {
  min-width: 165px;
  height: 43px;
  padding: 0 14px;
  color: #17364f;
  background: #fff;
  border: 1px solid #dce4e8;
  border-radius: 13px;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.wtwl-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
}

.wtwl-summary-grid article {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 19px;
  background: #fff;
  border: 1px solid #e6ebee;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(19, 48, 68, .045);
}

.wtwl-summary-grid article > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #536878;
  font-size: 15px;
}

.wtwl-summary-grid article > span svg {
  width: 18px;
  color: #0b7780;
}

.wtwl-summary-grid strong {
  color: #082f4b;
  font-size: 34px;
  letter-spacing: -.03em;
}

.wtwl-summary-grid strong small {
  font-size: 15px;
}

.wtwl-summary-grid article > small {
  color: #8a98a3;
  font-size: 12px;
}

.wtwl-content-grid {
  display: grid;
  grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.wtwl-office-card,
.wtwl-record-card,
.wtwl-upload-card,
.wtwl-rules-card,
.wtwl-history-card {
  padding: 20px;
}

.wtwl-office-list {
  display: grid;
  margin-top: 10px;
}

.wtwl-office-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 62px;
  gap: 12px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid #edf1f2;
}

.wtwl-office-list span {
  display: grid;
  gap: 3px;
}

.wtwl-office-list b,
.wtwl-office-list strong {
  color: #163a53;
  font-size: 15px;
}

.wtwl-office-list small {
  color: #81909b;
  font-size: 12px;
}

.wtwl-table-wrap {
  width: 100%;
  margin-top: 10px;
  overflow: auto;
}

.wtwl-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  color: #435968;
  font-size: 13px;
}

.wtwl-table th {
  padding: 11px 10px;
  color: #81909c;
  background: #f7f9fa;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.wtwl-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf1f3;
  vertical-align: top;
}

.wtwl-table td > small {
  display: block;
  margin-top: 3px;
  color: #8b98a1;
}

.wtwl-sla {
  display: block;
  width: max-content;
  margin-bottom: 4px;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: 11px;
}

.wtwl-sla.ok {
  color: #377223;
  background: #eff8e8;
}

.wtwl-sla.late {
  color: #a6413e;
  background: #fff0ef;
}

.wtwl-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 14px;
}

.wtwl-upload-card form {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.wtwl-period-field input {
  width: min(260px, 100%);
}

.wtwl-drop-zone {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 25px;
  color: #526979;
  background: linear-gradient(145deg, #f8fbfb, #f5f9f3);
  border: 1.5px dashed #9fb7b6;
  border-radius: 18px;
  text-align: center;
  cursor: pointer;
}

.wtwl-drop-zone > svg {
  width: 32px;
  height: 32px;
  color: #0b7780;
}

.wtwl-drop-zone strong {
  color: #123b55;
  font-size: 19px;
}

.wtwl-drop-zone span {
  max-width: 510px;
  font-size: 13px;
  line-height: 1.6;
}

.wtwl-drop-zone input {
  max-width: 100%;
  margin-top: 7px;
  font-size: 13px;
}

.wtwl-upload-note {
  display: flex;
  gap: 9px;
  padding: 11px 13px;
  color: #42636c;
  background: #eef7f4;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.wtwl-upload-note svg {
  width: 17px;
  flex: 0 0 17px;
}

.wtwl-submit {
  justify-self: end;
}

.wtwl-rules-card ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.wtwl-rules-card li {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 8px 8px 8px 48px;
  counter-increment: rule;
}

.wtwl-rules-card li::before {
  content: counter(rule);
  position: absolute;
  left: 4px;
  top: 6px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0b7780;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.wtwl-rules-card li b {
  color: #163b53;
  font-size: 15px;
}

.wtwl-rules-card li span {
  color: #778791;
  font-size: 13px;
  line-height: 1.45;
}

.wtwl-upload-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: #2f652a;
  background: #eff8e9;
  border: 1px solid #d6eac9;
  border-radius: 15px;
  font-size: 15px;
}

.wtwl-upload-success > svg {
  width: 21px;
  flex: 0 0 21px;
}

.wtwl-upload-success span {
  flex: 1;
}

.wtwl-upload-success button {
  color: #205d50;
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.wtwl-upload-errors {
  display: grid;
  gap: 12px;
  padding: 15px 17px;
  color: #8b3936;
  background: #fff2f1;
  border: 1px solid #f0cfcc;
  border-radius: 15px;
}

.wtwl-upload-errors > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wtwl-upload-errors > div > svg {
  width: 21px;
  flex: 0 0 21px;
}

.wtwl-upload-errors > div span {
  display: grid;
  gap: 2px;
}

.wtwl-upload-errors strong {
  font-size: 15px;
}

.wtwl-upload-errors small {
  color: #a06562;
  font-size: 11px;
}

.wtwl-upload-errors ol {
  max-height: 190px;
  margin: 0;
  padding: 10px 12px 10px 33px;
  overflow: auto;
  background: rgba(255, 255, 255, .55);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.wtwl-batch-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.wtwl-batch-status.active {
  color: #2d6a28;
  background: #eef8e8;
}

.wtwl-batch-status.replaced,
.wtwl-batch-status.partially_replaced {
  color: #7b6870;
  background: #f1eff0;
}

.wtwl-hero {
  min-height: 245px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 30px 36px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 25%, rgba(167, 218, 34, .2), transparent 25%),
    radial-gradient(circle at 22% 110%, rgba(21, 172, 159, .28), transparent 42%),
    linear-gradient(125deg, #062f4c 0%, #07566d 57%, #0b766c 100%);
  border-radius: 24px;
  box-shadow: 0 17px 38px rgba(8, 58, 82, .16);
  overflow: hidden;
}

.wtwl-hero-copy {
  position: relative;
  z-index: 1;
}

.wtwl-live {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #dfffa1;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  font-size: 12px;
}

.wtwl-live svg {
  width: 15px;
}

.wtwl-hero h2 {
  max-width: 620px;
  margin: 18px 0 8px;
  font-size: clamp(31px, 2.5vw, 47px);
  letter-spacing: -.04em;
}

.wtwl-hero-copy > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.wtwl-hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 26px;
}

.wtwl-hero-stats span {
  display: grid;
  gap: 2px;
}

.wtwl-hero-stats b {
  font-size: 28px;
}

.wtwl-hero-stats small {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
}

.wtwl-rings {
  display: flex;
  gap: 18px;
}

.wtwl-ring {
  --value: 0;
  --ring: #a8da22;
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--ring) calc(var(--value) * 1%), rgba(255, 255, 255, .12) 0);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.wtwl-ring::before {
  content: "";
  width: 101px;
  aspect-ratio: 1;
  background: #0a5063;
  border-radius: 50%;
}

.wtwl-ring span {
  position: absolute;
  display: grid;
  gap: 2px;
  text-align: center;
}

.wtwl-ring b {
  font-size: 29px;
}

.wtwl-ring small {
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
}

.wtwl-summary-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.wtwl-office-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 18px;
  background: linear-gradient(100deg, #eef8f4 0%, #f6faf8 55%, #f3f7f8 100%);
  border: 1px solid #d7e8e2;
  border-left: 4px solid #96cf20;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(13, 72, 75, .05);
}

.wtwl-office-filter-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wtwl-office-filter-copy > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  color: #fff;
  background: linear-gradient(145deg, #073b58, #087b82);
  border-radius: 12px;
}

.wtwl-office-filter-copy svg {
  width: 19px;
}

.wtwl-office-filter-copy div {
  display: grid;
  gap: 3px;
}

.wtwl-office-filter-copy strong {
  color: #073650;
  font-size: 17px;
}

.wtwl-office-filter-copy small {
  color: #687d88;
  font-size: 12px;
}

.wtwl-office-filter-bar > label {
  display: grid;
  gap: 4px;
  color: #5f747f;
  font-size: 11px;
  font-weight: 700;
}

.wtwl-office-filter-bar select {
  min-width: 290px;
  height: 42px;
  padding: 0 36px 0 13px;
  color: #123e55;
  background: #fff;
  border: 1px solid #ccdcdf;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(24, 71, 82, .05);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.wtwl-office-filter-bar select:focus {
  border-color: #15958f;
  box-shadow: 0 0 0 3px rgba(21, 149, 143, .12);
}

.wtwl-content-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
}

.wtwl-trend-card {
  position: relative;
  min-height: 395px;
  padding: 20px 22px;
  overflow: hidden;
}

.wtwl-metric-toggle {
  display: flex;
  padding: 3px;
  background: #eef3f4;
  border-radius: 10px;
}

.wtwl-metric-toggle button {
  min-width: 42px;
  height: 27px;
  color: #73838d;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.wtwl-metric-toggle button.active {
  color: #fff;
  background: #08757d;
  box-shadow: 0 4px 9px rgba(8, 117, 125, .2);
}

.wtwl-chart-scale {
  position: absolute;
  top: 85px;
  bottom: 69px;
  left: 22px;
  width: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #94a0a8;
  font-size: 11px;
}

.wtwl-daily-chart {
  height: 255px;
  display: flex;
  align-items: end;
  gap: clamp(4px, .8vw, 11px);
  margin: 30px 4px 0 53px;
  padding: 0 3px 24px;
  background: repeating-linear-gradient(to bottom, #edf1f2 0, #edf1f2 1px, transparent 1px, transparent 33.333%);
  border-bottom: 1px solid #dde4e7;
}

.wtwl-daily-column {
  position: relative;
  height: 100%;
  min-width: 8px;
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: center;
}

.wtwl-daily-column i {
  width: min(20px, 72%);
  min-height: 4px;
  background: linear-gradient(180deg, #b9e32b, #83be29);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 6px 12px rgba(137, 191, 41, .16);
  transition: filter .18s, transform .18s;
}

.wtwl-daily-column:nth-child(3n) i {
  background: linear-gradient(180deg, #22b8a9, #0a8584);
}

.wtwl-daily-column:hover i {
  filter: saturate(1.25);
  transform: scaleX(1.14);
}

.wtwl-daily-column small {
  position: absolute;
  bottom: -19px;
  color: #8997a0;
  font-size: 10px;
}

.wtwl-bar-value {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--bar-height, 0%) + 4px);
  display: none;
  padding: 4px 6px;
  color: #fff;
  background: #073c58;
  border-radius: 6px;
  font-size: 10px;
}

.wtwl-daily-column:hover .wtwl-bar-value {
  display: block;
}

.wtwl-chart-caption {
  display: flex;
  justify-content: space-between;
  margin: 16px 6px 0 54px;
  color: #7c8b95;
  font-size: 11px;
}

.wtwl-chart-caption span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wtwl-chart-caption i {
  width: 9px;
  height: 9px;
  background: #a7d527;
  border-radius: 3px;
}

.wtwl-office-ranking {
  display: grid;
  gap: 3px;
  margin-top: 12px;
}

.wtwl-office-rank {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 40px 40px;
  gap: 10px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid #eef1f3;
}

.wtwl-rank-number {
  color: #a8b2b9;
  font-size: 12px;
  font-weight: 700;
}

.wtwl-office-rank > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.wtwl-office-rank strong {
  overflow: hidden;
  color: #173b53;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wtwl-office-rank > div > span {
  height: 5px;
  background: #edf1f2;
  border-radius: 5px;
  overflow: hidden;
}

.wtwl-office-rank > div > span i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #13a49b, #9fd321);
  border-radius: inherit;
}

.wtwl-office-rank small {
  color: #91a0a9;
  font-size: 10px;
}

.wtwl-office-rank p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #174159;
  text-align: right;
}

.wtwl-office-rank p b {
  font-size: 13px;
}

.wtwl-visits-card {
  padding: 20px 22px;
}

.wtwl-visit-list {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.wtwl-visit-row {
  display: grid;
  grid-template-columns: 30px minmax(220px, 1fr) 86px 76px 76px;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 10px 3px;
  border-bottom: 1px solid #edf1f2;
}

.wtwl-visit-row:last-child {
  border-bottom: 0;
}

.wtwl-visit-index {
  color: #a7b2b9;
  font-size: 12px;
  font-weight: 700;
}

.wtwl-visit-copy {
  display: grid;
  gap: 5px;
}

.wtwl-visit-copy strong {
  color: #153b53;
  font-size: 13px;
}

.wtwl-visit-copy > div {
  height: 8px;
  background: #edf1f2;
  border-radius: 8px;
  overflow: hidden;
}

.wtwl-visit-copy > div i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #078a88, #a8d925);
  border-radius: inherit;
  box-shadow: 0 3px 9px rgba(29, 157, 116, .16);
}

.wtwl-visit-copy small,
.wtwl-visit-row p small {
  color: #8a98a1;
  font-size: 10px;
}

.wtwl-visit-row p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #153c54;
  text-align: right;
}

.wtwl-visit-row p b {
  font-size: 16px;
}

.wtwl-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, .72fr) minmax(300px, .8fr);
  gap: 14px;
}

.wtwl-service-card,
.wtwl-sla-card,
.wtwl-sla-officer-card {
  padding: 20px 22px;
}

.wtwl-service-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.wtwl-service-list > div {
  display: grid;
  grid-template-columns: 9px minmax(110px, .55fr) minmax(120px, 1fr) 35px 35px;
  gap: 9px;
  align-items: center;
  color: #536978;
  font-size: 12px;
}

.wtwl-service-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wtwl-service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.wtwl-service-track {
  height: 7px;
  background: #eef1f2;
  border-radius: 7px;
  overflow: hidden;
}

.wtwl-service-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.dot-0 { background: #073f5c; }
.dot-1 { background: #0d8d8d; }
.dot-2 { background: #a7d527; }
.dot-3 { background: #60b855; }
.dot-4 { background: #3b6cc9; }

.wtwl-service-list small {
  color: #8e9aa2;
  text-align: right;
}

.wtwl-sla-visual {
  display: grid;
  gap: 28px;
  margin-top: 22px;
}

.wtwl-sla-visual > div {
  display: grid;
  grid-template-columns: 28px 48px minmax(100px, 1fr);
  gap: 10px;
  align-items: center;
}

.wtwl-sla-visual > div > span {
  color: #45606f;
  font-size: 13px;
  font-weight: 700;
}

.wtwl-sla-visual strong {
  color: #123b54;
  font-size: 19px;
}

.wtwl-sla-visual > div > div {
  height: 11px;
  background: #edf1f2;
  border-radius: 10px;
  overflow: hidden;
}

.wtwl-sla-visual i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0a8988, #a8da22);
  border-radius: inherit;
}

.wtwl-sla-visual small {
  grid-column: 3;
  color: #8a979f;
  font-size: 11px;
}

.wtwl-sla-officer-list {
  display: grid;
  max-height: 290px;
  margin-top: 14px;
  overflow: auto;
}

.wtwl-sla-officer-row {
  display: grid;
  grid-template-columns: 34px minmax(90px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px 1px;
  border-bottom: 1px solid #edf1f2;
}

.wtwl-officer-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #087b80, #0b4562);
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
}

.wtwl-sla-officer-row > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.wtwl-sla-officer-row strong {
  overflow: hidden;
  color: #173c53;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wtwl-sla-officer-row small {
  color: #8a98a1;
  font-size: 10px;
}

.wtwl-breach-count {
  display: grid;
  place-items: center;
  gap: 1px;
  min-width: 34px;
  padding: 5px;
  border-radius: 8px;
  font-size: 9px;
}

.wtwl-breach-count b {
  font-size: 13px;
}

.wtwl-breach-count.wt {
  color: #a05b17;
  background: #fff4e5;
}

.wtwl-breach-count.wl {
  color: #a3403c;
  background: #fff0ef;
}

.wtwl-sla-clear {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #5a7568;
  text-align: center;
}

.wtwl-sla-clear svg {
  width: 30px;
  height: 30px;
  color: #84bd27;
}

.wtwl-sla-clear strong {
  font-size: 13px;
}

.wtwl-sla-clear span {
  color: #8a989f;
  font-size: 10px;
}

/* Complaint monitoring */
.complaint-hero {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 30px 36px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(162, 218, 34, .23), transparent 25%),
    linear-gradient(125deg, #072f4a 0%, #07596a 54%, #118a80 100%);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(6, 54, 75, .13);
  overflow: hidden;
}

.complaint-hero-copy {
  display: grid;
  gap: 12px;
}

.complaint-live {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #dff8f1;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.complaint-live svg {
  width: 14px;
}

.complaint-hero h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 47px);
  letter-spacing: -.04em;
}

.complaint-hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.6;
}

.complaint-kind-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.complaint-kind-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .09);
  border-radius: 10px;
  font-size: 11px;
}

.complaint-kind-pills b {
  color: #fff;
  font-size: 15px;
}

.complaint-kind-pills i {
  width: 7px;
  height: 7px;
  background: #a8da22;
  border-radius: 50%;
}

.complaint-kind-pills i.complaint {
  background: #ffbb62;
}

.complaint-kind-pills i.request {
  background: #4bd1c3;
}

.complaint-hero-score {
  min-width: 235px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  backdrop-filter: blur(7px);
}

.complaint-hero-score .wtwl-ring {
  width: 104px;
  height: 104px;
}

.complaint-hero-score p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.complaint-hero-score p strong {
  font-size: 28px;
}

.complaint-hero-score p span {
  max-width: 75px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  line-height: 1.45;
}

.complaint-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.complaint-kpi-grid article {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e4ebed;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(18, 50, 70, .04);
}

.complaint-kpi-grid article > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  color: #fff;
  background: linear-gradient(145deg, #073d59, #087c81);
  border-radius: 12px;
}

.complaint-kpi-grid article > span svg {
  width: 18px;
}

.complaint-kpi-grid p {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0;
}

.complaint-kpi-grid small,
.complaint-kpi-grid em {
  color: #7d8e98;
  font-size: 10px;
  font-style: normal;
}

.complaint-kpi-grid strong {
  color: #082f4b;
  font-size: 27px;
  letter-spacing: -.03em;
}

.complaint-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 14px;
}

.complaint-trend-card,
.complaint-kind-card,
.complaint-list-card,
.complaint-officer-card {
  padding: 20px 22px;
}

.complaint-trend-card {
  min-height: 350px;
}

.complaint-daily-chart {
  height: 245px;
  display: flex;
  align-items: end;
  gap: clamp(5px, 1vw, 13px);
  margin: 22px 2px 0;
  padding: 15px 13px 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 80px, #e9eff0 81px),
    linear-gradient(#fff, #fff);
  border-bottom: 1px solid #dfe7e9;
  overflow-x: auto;
}

.complaint-daily-column {
  height: 100%;
  min-width: 25px;
  display: flex;
  flex: 1 0 25px;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

.complaint-daily-column > span {
  color: #667d89;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .18s ease;
}

.complaint-daily-column:hover > span {
  opacity: 1;
}

.complaint-daily-column i {
  width: min(20px, 75%);
  min-height: 6px;
  background: linear-gradient(180deg, #b1e51b, #6fc334);
  border-radius: 7px 7px 3px 3px;
  box-shadow: 0 5px 12px rgba(135, 195, 34, .15);
}

.complaint-daily-column:nth-child(3n) i {
  background: linear-gradient(180deg, #27b9ad, #0b8f8d);
}

.complaint-daily-column small {
  color: #87959e;
  font-size: 10px;
}

.complaint-chart-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 0;
  color: #7d8e97;
  font-size: 10px;
}

.complaint-chart-note span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.complaint-chart-note i {
  width: 8px;
  height: 8px;
  background: #94cf28;
  border-radius: 3px;
}

.complaint-kind-list {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.complaint-kind-list > div {
  display: grid;
  grid-template-columns: 39px minmax(80px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f2;
}

.complaint-kind-list > div:last-child {
  border-bottom: 0;
}

.complaint-kind-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a8587;
  border-radius: 11px;
}

.complaint-kind-icon.kind-1 {
  background: #f0a23b;
}

.complaint-kind-icon.kind-2 {
  background: #6eac31;
}

.complaint-kind-icon svg {
  width: 16px;
}

.complaint-kind-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.complaint-kind-list strong {
  color: #153b53;
  font-size: 12px;
}

.complaint-kind-list small {
  color: #89979f;
  font-size: 10px;
}

.complaint-kind-list b {
  color: #0a3550;
  font-size: 22px;
  text-align: right;
}

.complaint-kind-list em {
  grid-column: 3;
  color: #73912b;
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.complaint-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.complaint-bar-list {
  display: grid;
  gap: 13px;
  margin-top: 17px;
}

.complaint-bar-list > div {
  display: grid;
  grid-template-columns: 8px minmax(85px, .65fr) minmax(70px, 1fr) 28px;
  gap: 8px;
  align-items: center;
}

.complaint-bar-list .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.complaint-bar-list strong {
  overflow: hidden;
  color: #526978;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-bar-list p {
  height: 7px;
  margin: 0;
  background: #edf1f2;
  border-radius: 6px;
  overflow: hidden;
}

.complaint-bar-list p i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.complaint-bar-list b {
  color: #163d54;
  font-size: 12px;
  text-align: right;
}

.complaint-office-list {
  display: grid;
  max-height: 240px;
  margin-top: 12px;
  overflow: auto;
}

.complaint-office-list > div {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) minmax(70px, 1fr) 42px;
  gap: 9px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid #edf1f2;
}

.complaint-office-list p,
.complaint-office-list b {
  display: grid;
  gap: 2px;
  margin: 0;
}

.complaint-office-list strong {
  color: #183d53;
  font-size: 11px;
}

.complaint-office-list small {
  color: #8b99a1;
  font-size: 9px;
  font-weight: 400;
}

.complaint-office-list > div > span {
  height: 7px;
  background: #edf1f2;
  border-radius: 7px;
  overflow: hidden;
}

.complaint-office-list > div > span i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0c9690, #a4d424);
  border-radius: inherit;
}

.complaint-office-list b {
  color: #0b435d;
  font-size: 12px;
  text-align: right;
}

.complaint-officer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 13px;
}

.complaint-officer-list > div {
  display: grid;
  grid-template-columns: 36px minmax(100px, 1fr) 48px minmax(180px, auto);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #edf1f2;
}

.complaint-officer-list p,
.complaint-officer-list b {
  display: grid;
  gap: 3px;
  margin: 0;
}

.complaint-officer-list p strong {
  overflow: hidden;
  color: #173d53;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-officer-list p small,
.complaint-officer-list b small {
  color: #89979f;
  font-size: 9px;
  font-weight: 400;
}

.complaint-officer-list b {
  color: #123a53;
  font-size: 16px;
  text-align: right;
}

.complaint-officer-breaches {
  display: grid;
  grid-template-columns: repeat(3, minmax(52px, 1fr));
  gap: 5px;
}

.complaint-officer-breaches span {
  display: grid;
  gap: 2px;
  padding: 6px 7px;
  color: #4c7d65;
  background: #edf8f1;
  border-radius: 8px;
  text-align: center;
}

.complaint-officer-breaches small {
  color: inherit;
  font-size: 8px;
  font-weight: 500;
}

.complaint-officer-breaches strong {
  font-size: 12px;
}

.complaint-officer-breaches span.warning {
  color: #a44b43;
  background: #fff0ef;
}

.reference-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e5ebed;
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(18, 51, 72, .04);
}

.reference-tabs button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  color: #5e7180;
  background: transparent;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.reference-tabs button svg {
  width: 17px;
}

.reference-tabs button.active {
  color: #fff;
  background: linear-gradient(90deg, #073e5c, #08737b);
  box-shadow: 0 7px 16px rgba(8, 79, 99, .16);
}

.reference-tab-panel,
.reference-general {
  display: grid;
  gap: 14px;
}

.reference-overview {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  color: #fff;
  background: linear-gradient(120deg, #073c59, #0b7778);
  border-radius: 20px;
}

.reference-overview > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reference-overview > div > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .11);
  border-radius: 13px;
}

.reference-overview svg {
  width: 21px;
}

.reference-overview p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.reference-overview b {
  font-size: 19px;
}

.reference-overview small {
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
}

.reference-ready {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #dcff9b;
  background: rgba(255, 255, 255, .1);
  border-radius: 14px;
  font-size: 11px;
}

.reference-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reference-card {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
}

.reference-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #087a7d;
  background: #eaf6f2;
  border-radius: 12px;
}

.reference-card > span svg {
  width: 20px;
}

.reference-card > strong {
  margin-top: 8px;
  color: #0b3853;
  font-size: 34px;
}

.reference-card h2 {
  margin: 0;
  color: #294d63;
  font-size: 16px;
}

.reference-card p {
  margin: 0;
  color: #87949c;
  font-size: 11px;
  line-height: 1.5;
}

/* Survey Kepuasan Peserta */
.survey-page-head {
  align-items: center;
}

.survey-export {
  flex: 0 0 auto;
}

.survey-filter-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  padding: 17px 19px;
  background: #fff;
  border: 1px solid #dfe8e9;
  border-radius: 19px;
  box-shadow: 0 8px 25px rgba(19, 48, 68, .045);
}

.survey-filter-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 175px;
  padding-bottom: 2px;
}

.survey-filter-intro > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #073b58, #07817f);
  border-radius: 11px;
}

.survey-filter-intro svg {
  width: 18px;
}

.survey-filter-intro p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.survey-filter-intro strong {
  color: #123b55;
  font-size: 15px;
}

.survey-filter-intro small {
  max-width: 180px;
  color: #84929a;
  font-size: 10px;
  line-height: 1.35;
}

.survey-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.survey-filter-grid label {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #617481;
  font-size: 11px;
  font-weight: 700;
}

.survey-filter-grid select {
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0 31px 0 11px;
  color: #173c53;
  background: #f9fbfb;
  border: 1px solid #d6e1e3;
  border-radius: 11px;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.survey-filter-grid select:focus {
  border-color: #15958f;
  box-shadow: 0 0 0 3px rgba(21, 149, 143, .11);
}

.survey-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 28px 35px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(190, 225, 42, .26), transparent 28%),
    linear-gradient(123deg, #06334e 0%, #08626e 58%, #168571 100%);
  border-radius: 24px;
  box-shadow: 0 17px 38px rgba(8, 58, 82, .15);
}

.survey-hero h2 {
  margin: 16px 0 7px;
  font-size: clamp(29px, 2.25vw, 43px);
  letter-spacing: -.04em;
}

.survey-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.survey-score {
  width: 170px;
  min-height: 150px;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  backdrop-filter: blur(3px);
}

.survey-score span,
.survey-score small {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.survey-score strong {
  margin: 4px 0;
  color: #efffa8;
  font-size: 45px;
  line-height: 1;
  letter-spacing: -.05em;
}

.survey-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.survey-kpi-grid article {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
  background: #fff;
  border: 1px solid #e4eaed;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(19, 48, 68, .04);
}

.survey-kpi-grid article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  color: #087c7c;
  background: #eaf6f2;
  border-radius: 13px;
}

.survey-kpi-grid article.danger > span {
  color: #bb4848;
  background: #fff0ef;
}

.survey-kpi-grid article.warning > span {
  color: #a96a17;
  background: #fff5df;
}

.survey-kpi-grid svg {
  width: 21px;
}

.survey-kpi-grid p {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: 0;
}

.survey-kpi-grid small,
.survey-kpi-grid em {
  color: #7d8d97;
  font-size: 11px;
  font-style: normal;
}

.survey-kpi-grid strong {
  color: #073650;
  font-size: 30px;
  line-height: 1.1;
}

.survey-insight-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
}

.survey-priority-card,
.survey-journey-card,
.survey-record-card {
  padding: 20px;
}

.survey-priority-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.survey-priority-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 45px 82px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f7f9fa;
  border-left: 4px solid #7d9797;
  border-radius: 11px;
}

.survey-priority-list span,
.survey-priority-list span small {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.survey-priority-list b,
.survey-priority-list strong {
  color: #173c53;
  font-size: 15px;
}

.survey-priority-list small,
.survey-priority-list em {
  color: #819099;
  font-size: 10px;
  font-style: normal;
}

.survey-priority-list em {
  text-align: right;
}

.survey-priority-list .priority-hpi { border-color: #d84d4d; background: #fff5f4; }
.survey-priority-list .priority-pi { border-color: #f3a62f; background: #fff9ed; }
.survey-priority-list .priority-mo { border-color: #d6ce35; }
.survey-priority-list .priority-mt { border-color: #55a561; }
.survey-priority-list .priority-ra { border-color: #4b9ca3; }
.survey-priority-list .priority-scd { border-color: #7567bd; }

.survey-journey-list {
  display: grid;
  margin-top: 12px;
}

.survey-journey-list > div {
  display: grid;
  grid-template-columns: 28px minmax(160px, 1fr) 52px 60px;
  align-items: center;
  gap: 11px;
  padding: 11px 2px;
  border-bottom: 1px solid #edf1f3;
}

.survey-rank {
  color: #8b99a1;
  font-size: 11px;
  font-weight: 700;
}

.survey-journey-list p {
  min-width: 0;
  display: grid;
  gap: 5px;
  margin: 0;
}

.survey-journey-list p strong {
  overflow: hidden;
  color: #173c53;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.survey-journey-list p > span {
  height: 5px;
  overflow: hidden;
  background: #edf1f2;
  border-radius: 6px;
}

.survey-journey-list p i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #11a096, #a7d529);
  border-radius: inherit;
}

.survey-journey-list small {
  color: #84929a;
  font-size: 10px;
}

.survey-journey-list > div > b,
.survey-journey-list > div > em {
  display: grid;
  color: #173c53;
  font-size: 15px;
  font-style: normal;
  text-align: right;
}

.survey-priority-badge {
  display: inline-block;
  margin-bottom: 3px;
  padding: 4px 8px;
  color: #31505e;
  background: #edf2f3;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.survey-priority-badge.priority-hpi { color: #a83c3c; background: #ffebea; }
.survey-priority-badge.priority-pi { color: #99601a; background: #fff0d1; }
.survey-priority-badge.priority-mo { color: #78721e; background: #f8f4cf; }
.survey-priority-badge.priority-mt { color: #34733d; background: #e8f5e9; }
.survey-priority-badge.priority-ra { color: #28727a; background: #e5f4f5; }
.survey-priority-badge.priority-scd { color: #5b50a0; background: #eeebfb; }

.survey-table {
  min-width: 980px;
}

.survey-table th:nth-child(1) { width: 145px; }
.survey-table th:nth-child(2) { width: 230px; }
.survey-table th:nth-child(5),
.survey-table th:nth-child(6) { width: 90px; }

.survey-module-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 4px 0 20px;
  padding: 5px;
  border: 1px solid #dbe5e8;
  border-radius: 14px;
  background: #f4f7f8;
}

.survey-module-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  color: #536b76;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.survey-module-tabs button.active {
  color: #fff;
  background: #07566b;
  box-shadow: 0 5px 14px rgba(7, 86, 107, .18);
}

.survey-aoi-filter {
  display: grid;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px;
}

.survey-aoi-filter-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

.survey-aoi-filter-main label,
.survey-aoi-form-grid label {
  display: grid;
  gap: 7px;
  color: #415e6a;
  font-size: 13px;
  font-weight: 750;
}

.survey-aoi-filter-main select,
.survey-aoi-filter-main input,
.survey-aoi-form-grid input,
.survey-aoi-form-grid select,
.survey-aoi-form-grid textarea {
  width: 100%;
  border: 1px solid #cfdbdf;
  border-radius: 11px;
  color: #073b55;
  background: #fff;
  font: inherit;
}

.survey-aoi-filter-main select,
.survey-aoi-filter-main input,
.survey-aoi-form-grid input,
.survey-aoi-form-grid select { min-height: 45px; padding: 0 13px; }
.survey-aoi-form-grid textarea { padding: 12px 13px; resize: vertical; }

.survey-status-filter {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(300px, 1.8fr) auto;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e1eaed;
}

.survey-status-filter > div:first-child { display: grid; gap: 3px; }
.survey-status-filter strong { color: #073b55; font-size: 14px; }
.survey-status-filter small { color: #728994; font-size: 12px; }

.survey-status-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.survey-status-options label {
  position: relative;
  cursor: pointer;
}

.survey-status-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-status-options span {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #cfdbdf;
  border-radius: 10px;
  color: #617780;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  transition: .15s ease;
}

.survey-status-options input:checked + span {
  border-color: #08738a;
  color: #fff;
  background: #08738a;
  box-shadow: 0 4px 10px rgba(8, 115, 138, .18);
}

.survey-status-options .status-hpi input:checked + span { border-color: #b94c4c; background: #b94c4c; }
.survey-status-options .status-pi input:checked + span { border-color: #c17a23; background: #c17a23; }

#survey-apply-improvement,
.survey-aoi-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid #08738a;
  border-radius: 10px;
  color: #08738a;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

#survey-apply-improvement { color: #fff; background: #08738a; }

.survey-aoi-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.survey-aoi-summary article {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 17px;
  border: 1px solid #dce7ea;
  border-radius: 16px;
  background: #fff;
}

.survey-aoi-summary article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #617780;
  background: #edf3f5;
}

.survey-aoi-summary article.process > span { color: #a76510; background: #fff0d6; }
.survey-aoi-summary article.complete > span { color: #167354; background: #e3f5ed; }
.survey-aoi-summary p { display: grid; gap: 2px; margin: 0; }
.survey-aoi-summary small { color: #6f8791; font-size: 12px; }
.survey-aoi-summary strong { color: #073b55; font-size: 25px; line-height: 1; }

.survey-aoi-table { min-width: 1280px; }
.survey-aoi-table th:nth-child(1) { width: 170px; }
.survey-aoi-table th:nth-child(2) { width: 135px; }
.survey-aoi-table th:nth-child(3) { width: 185px; }
.survey-aoi-table th:nth-child(4) { width: 255px; }
.survey-aoi-table th:nth-child(5) { width: 260px; }
.survey-aoi-table th:nth-child(6) { width: 105px; }
.survey-aoi-table th:nth-child(7) { width: 135px; }
.survey-aoi-table th:nth-child(8) { width: 120px; }

.survey-code-list { display: flex; flex-wrap: wrap; gap: 5px; }
.survey-code-list span {
  padding: 4px 7px;
  border-radius: 7px;
  color: #07566b;
  background: #e3f2f5;
  font-size: 11px;
  font-weight: 850;
}

.survey-aoi-empty { color: #8ca0a8; font-style: italic; }
.survey-workflow-status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #687f89;
  background: #edf2f4;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.survey-workflow-status.process { color: #9a5e0d; background: #fff0d6; }
.survey-workflow-status.completed { color: #146c50; background: #e3f5ed; }

.survey-aoi-dialog {
  width: min(780px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #073b55;
  background: #fff;
  box-shadow: 0 24px 70px rgba(2, 38, 52, .28);
}

.survey-aoi-dialog::backdrop { background: rgba(4, 31, 43, .55); backdrop-filter: blur(3px); }
.survey-aoi-dialog-shell > header,
.survey-aoi-dialog-shell > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 24px;
}
.survey-aoi-dialog-shell > header { border-bottom: 1px solid #e0e9ec; }
.survey-aoi-dialog-shell > header h2 { margin: 3px 0; font-size: 21px; }
.survey-aoi-dialog-shell > header p { margin: 0; color: #718790; font-size: 13px; }
.survey-aoi-dialog-shell > header button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: #526c76;
  background: #edf3f5;
  cursor: pointer;
}
.dialog-kicker { color: #078297; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.survey-aoi-context {
  display: flex;
  gap: 12px;
  margin: 20px 24px 0;
  padding: 15px;
  border-radius: 13px;
  background: #edf7f8;
}
.survey-aoi-context > span { color: #078297; }
.survey-aoi-context div { display: grid; gap: 4px; }
.survey-aoi-context small { color: #66808a; }
.survey-aoi-context p { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; }
.survey-aoi-context b { padding: 3px 7px; border-radius: 6px; color: #07566b; background: #d5ecef; font-size: 10px; }
.survey-aoi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 24px 24px;
}
.survey-aoi-form-grid label.full { grid-column: 1 / -1; }
.survey-aoi-form-grid label span b { color: #bb3d3d; }
.survey-aoi-dialog-shell > footer { border-top: 1px solid #e0e9ec; }
.survey-aoi-dialog-shell > footer button {
  min-height: 41px;
  padding: 0 16px;
  border: 1px solid #ccdadd;
  border-radius: 10px;
  color: #536c76;
  background: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.survey-aoi-dialog-shell > footer button.primary { border-color: #08738a; color: #fff; background: #08738a; }

@media (max-width: 1400px) {
  .survey-filter-panel {
    grid-template-columns: 1fr;
  }

  .survey-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .wtwl-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wtwl-content-grid {
    grid-template-columns: 1fr;
  }

  .wtwl-insight-grid {
    grid-template-columns: 1fr;
  }

  .complaint-main-grid {
    grid-template-columns: 1fr;
  }

  .complaint-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complaint-officer-list {
    grid-template-columns: 1fr;
  }

  .reference-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .survey-filter-panel {
    grid-template-columns: 1fr;
  }

  .survey-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .survey-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .survey-status-filter { grid-template-columns: 1fr; }
  #survey-apply-improvement { justify-self: start; }
}

@media (max-width: 760px) {
  .wtwl-page-head,
  .wtwl-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .wtwl-summary-grid,
  .wtwl-upload-grid {
    grid-template-columns: 1fr;
  }

  .complaint-hero {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .complaint-hero-score {
    min-width: 0;
  }

  .complaint-kpi-grid,
  .complaint-detail-grid {
    grid-template-columns: 1fr;
  }

  .complaint-chart-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .complaint-officer-list > div {
    grid-template-columns: 36px minmax(100px, 1fr) 48px;
    padding: 8px 0;
  }

  .complaint-officer-breaches {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    margin-left: 45px;
  }

  .wtwl-hero {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .wtwl-rings {
    justify-content: center;
  }

  .wtwl-hero-stats {
    flex-wrap: wrap;
  }

  .wtwl-service-list > div {
    grid-template-columns: 9px minmax(100px, 1fr) 38px 35px;
  }

  .wtwl-office-filter-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .wtwl-office-filter-bar select {
    min-width: 0;
    width: 100%;
  }

  .wtwl-visit-row {
    grid-template-columns: 24px minmax(150px, 1fr) 70px;
  }

  .wtwl-visit-row p:nth-of-type(2),
  .wtwl-visit-row p:nth-of-type(3) {
    display: none;
  }

  .wtwl-service-track {
    display: none;
  }

  .reference-card-grid {
    grid-template-columns: 1fr;
  }

  .reference-overview {
    align-items: flex-start;
    flex-direction: column;
  }

  .wtwl-filter-row select {
    width: 100%;
  }

  .survey-page-head,
  .survey-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .survey-page-head {
    display: flex;
    flex-direction: column;
  }

  .survey-export {
    align-self: flex-start;
  }

  .survey-filter-grid,
  .survey-kpi-grid,
  .survey-insight-grid {
    grid-template-columns: 1fr;
  }

  .survey-score {
    width: 100%;
    min-height: 125px;
  }

  .survey-module-tabs { display: flex; width: 100%; }
  .survey-module-tabs button { flex: 1; justify-content: center; padding: 0 10px; }
  .survey-aoi-filter-main,
  .survey-aoi-summary,
  .survey-aoi-form-grid { grid-template-columns: 1fr; }
  .survey-aoi-form-grid label.full { grid-column: auto; }
  .survey-aoi-dialog-shell > footer { align-items: stretch; flex-direction: column-reverse; }
  .survey-aoi-dialog-shell > footer button { width: 100%; }
}

.csti-page { gap: 20px; }
.csti-page-head { align-items: center; }
.csti-connection { display: grid; grid-template-columns: 10px auto; gap: 2px 9px; min-width: 260px; padding: 14px 18px; border: 1px solid #dce7ea; border-radius: 16px; background: #fff; }
.csti-connection i { grid-row: 1 / 3; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: #d55555; box-shadow: 0 0 0 5px #fae8e8; }
.csti-connection.online i { background: #1b9c72; box-shadow: 0 0 0 5px #ddf3eb; }
.csti-connection span { color: #073b55; font-size: 13px; font-weight: 750; }
.csti-connection small { overflow: hidden; max-width: 300px; color: #78909a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.csti-warning { display: flex; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid #f0ce9d; border-radius: 14px; color: #90570b; background: #fff7e9; }
.csti-warning > svg { width: 23px; flex: 0 0 auto; }
.csti-warning div { display: grid; flex: 1; gap: 2px; }
.csti-warning span { font-size: 12px; }
.csti-warning button { min-height: 38px; padding: 0 15px; border: 1px solid #d89a3d; border-radius: 10px; color: #80500b; background: #fff; font-weight: 700; cursor: pointer; }
.csti-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.csti-kpi-grid article { display: flex; align-items: center; gap: 14px; min-height: 116px; padding: 20px; border: 1px solid #dfe8eb; border-radius: 20px; background: #fff; }
.csti-kpi-grid article > span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; color: #087d8e; background: #e4f5f5; }
.csti-kpi-grid article.waiting > span { color: #a66a11; background: #fff0d7; }
.csti-kpi-grid article.danger > span { color: #b54545; background: #fee9e7; }
.csti-kpi-grid p { display: grid; gap: 2px; margin: 0; }
.csti-kpi-grid small, .csti-kpi-grid em { color: #718891; font-size: 12px; font-style: normal; }
.csti-kpi-grid strong { color: #063c56; font-size: 29px; line-height: 1.1; }
.csti-insight-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 16px; }
.csti-hour-card, .csti-service-card, .csti-table-card { padding: 22px; }
.csti-hour-chart { display: grid; grid-template-columns: repeat(24, 1fr); align-items: end; gap: 5px; height: 210px; padding-top: 20px; }
.csti-hour-chart div { display: grid; grid-template-rows: 1fr 18px; align-items: end; height: 100%; text-align: center; }
.csti-hour-chart i { display: block; min-height: 2px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #17a89c, #08627c); }
.csti-hour-chart span { color: #83979e; font-size: 10px; }
.csti-service-list { display: grid; gap: 0; margin-top: 8px; }
.csti-service-list > div:not(.empty-state) { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #e7edef; }
.csti-service-list p { display: grid; gap: 3px; margin: 0; }
.csti-service-list strong { color: #123f53; font-size: 13px; }
.csti-service-list small { color: #7c9199; font-size: 11px; }
.csti-service-list b { color: #075671; font-size: 20px; }
.csti-table { min-width: 880px; }
.csti-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #95600e; background: #fff0d5; font-size: 11px; font-weight: 700; }
.csti-status.called { color: #177052; background: #e3f4ec; }
.csti-status.warning { color: #95600e; background: #fff0d5; }
.csti-status.exceeded { color: #a53d3d; background: #fee8e6; }
.csti-status.ok { color: #177052; background: #e3f4ec; }
.csti-tabs { display: inline-flex; align-self: flex-start; gap: 6px; padding: 5px; border: 1px solid #dce7ea; border-radius: 13px; background: #fff; }
.csti-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; color: #617982; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.csti-tabs button.active { color: #fff; background: #075671; box-shadow: 0 6px 14px rgba(7, 86, 113, .17); }
.csti-settings-layout { display: grid; gap: 16px; }
.csti-settings-card { padding: 22px; }
.csti-settings-card > header { display: grid; gap: 4px; margin-bottom: 18px; }
.csti-settings-card > header h3 { margin: 0; color: #073b55; font-size: 18px; }
.csti-settings-card > header p { margin: 0; color: #718891; font-size: 12px; }
.csti-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 13px 15px; border: 1px solid #e1eaed; border-radius: 12px; background: #f8fbfb; color: #123f53; font-weight: 700; }
.csti-switch input { width: 20px; height: 20px; accent-color: #087d8e; }
.csti-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.csti-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.csti-form-grid label, .csti-template-grid label, .csti-settings-card > label { display: grid; gap: 7px; color: #234f61; font-size: 12px; font-weight: 700; }
.csti-form-grid input, .csti-form-grid textarea, .csti-template-grid textarea, .csti-settings-card > label textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfdee2; border-radius: 10px; color: #123f53; background: #fff; font: inherit; font-size: 13px; }
.csti-form-grid textarea, .csti-template-grid textarea { resize: vertical; }
.csti-form-grid input:focus, .csti-form-grid textarea:focus, .csti-template-grid textarea:focus { outline: 3px solid rgba(8, 125, 142, .12); border-color: #087d8e; }
.csti-card-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.csti-card-actions button { min-height: 40px; padding: 0 16px; border: 1px solid #bcd0d6; border-radius: 10px; color: #075671; background: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.csti-card-actions button.primary, .csti-card-actions.primary button { border-color: #087d8e; color: #fff; background: #087d8e; }
.csti-template-help { margin: -5px 0 14px; padding: 10px 12px; border-radius: 10px; color: #59727c; background: #f2f7f8; font-size: 11px; line-height: 1.55; }
.csti-template-help code { color: #075671; font-weight: 700; }
.csti-template-grid { display: grid; gap: 14px; }
.csti-management-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.csti-management-grid .csti-table-card { min-width: 0; }
.csti-management-grid .table-wrap { overflow-x: auto; }
.csti-management-grid table { min-width: 580px; }

@media (max-width: 1100px) {
  .csti-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .csti-insight-grid { grid-template-columns: 1fr; }
  .csti-management-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .original-login {
    grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr);
    gap: 24px;
    padding: 28px;
  }
  .original-login-panel,
  .original-showcase {
    min-height: calc(100vh - 56px);
  }
}

@media (max-width: 780px) {
  .csti-tabs { display: flex; width: 100%; }
  .csti-tabs button { flex: 1; }
  .csti-form-grid, .csti-form-grid.three { grid-template-columns: 1fr; }
  .csti-card-actions { align-items: stretch; flex-direction: column-reverse; }
  .csti-card-actions button { width: 100%; }
  .original-login {
    display: block;
    padding: 18px;
  }
  .original-login-panel {
    min-height: calc(100vh - 36px);
    padding: 38px clamp(24px, 8vw, 54px);
  }
  .original-showcase {
    display: none;
  }
}
