:root {
  --paper: #f7f4ee;
  --surface: #fffdfa;
  --ink: #1e2528;
  --muted: #697174;
  --line: #ded7cb;
  --line-strong: #c8bfb1;
  --green: #0d6b5f;
  --blue: #275d8f;
  --red: #a64234;
  --ochre: #b1772c;
  --graphite: #253033;
  --shadow: 0 24px 60px rgba(33, 37, 41, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(13, 107, 95, 0.08), transparent 30%),
    linear-gradient(180deg, #fbf7ef 0%, #eef2f0 100%);
  font-family: "Aptos", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}

.side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.86);
  backdrop-filter: blur(20px);
}

.brand {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 7px;
  background: linear-gradient(145deg, #fffdfa 0%, #eee4d5 100%);
  border: 1px solid rgba(13, 107, 95, 0.18);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(37, 48, 51, 0.14);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.overline {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.page-nav {
  display: grid;
  gap: 7px;
  padding: 8px;
  margin-bottom: 18px;
  background: #ece6dc;
}

.page-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #3f484b;
  font-size: 13px;
  font-weight: 800;
  border-left: 3px solid transparent;
}

.page-nav a.active {
  background: var(--surface);
  color: var(--ink);
  border-left-color: var(--green);
  box-shadow: 0 8px 24px rgba(42, 45, 47, 0.07);
}

.back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  margin: 10px 8px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border: 1px solid rgba(13, 107, 95, 0.25);
  box-shadow: 0 16px 34px rgba(13, 107, 95, 0.18);
}

.back-home:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(13, 107, 95, 0.24);
}

.scope-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 13px;
  background: rgba(255, 253, 250, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(37, 48, 51, 0.06);
}

.scope-context {
  min-height: 43px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 11px;
  background: var(--graphite);
  color: #fff;
}

.scope-context span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scope-context strong {
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-field span {
  font-size: 11px;
}

.scope-clear {
  min-height: 43px;
  white-space: nowrap;
}

.scope-panel,
.side-section {
  margin-top: 18px;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-head button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  min-height: 27px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
}

.scope-current,
.scope-item {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.76);
  color: var(--ink);
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.scope-current {
  padding: 14px;
  background: var(--graphite);
  color: #fff;
}

.scope-current span,
.scope-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.scope-current span {
  color: rgba(255, 255, 255, 0.62);
}

.scope-current strong,
.scope-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.28;
}

.scope-list {
  display: grid;
  gap: 7px;
}

.scope-list.compact {
  max-height: 380px;
  overflow: auto;
}

.scope-item {
  padding: 10px 11px;
}

.scope-item:hover,
.scope-item.active {
  transform: translateX(2px);
  background: #eef6f2;
  border-color: rgba(13, 107, 95, 0.42);
}

.main {
  min-width: 0;
  padding: 28px;
}

.site-footer {
  margin: 28px 0 0;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 253, 250, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(37, 48, 51, 0.06);
}

.report-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 20px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.05;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 16px;
}

.quick-search span,
.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-search {
  display: block;
  padding: 12px;
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(37, 48, 51, 0.12);
}

.quick-search span {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-search input {
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.22);
  background: #fffdfa;
  font-size: 16px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 250, 0.9);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 107, 95, 0.12);
}

.page {
  display: none;
  animation: pageIn 240ms ease both;
}

.page.active {
  display: block;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.kpi {
  min-height: 96px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(37, 48, 51, 0.05);
}

.kpi span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.kpi strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1;
}

.layout-2,
.layout-3 {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.layout-2 {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

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

.panel {
  min-width: 0;
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel.flush {
  box-shadow: none;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
}

.panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.metric-tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.metric-tab {
  min-height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: #4f5a5e;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.metric-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.bar-chart,
.stack-list,
.rank-list {
  padding: 16px 17px 18px;
}

.bar-chart {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(170px, 280px) minmax(0, 1fr) 76px;
  gap: 11px;
  align-items: center;
  min-height: 27px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  animation: rise 260ms ease both;
}

.bar-label {
  overflow: hidden;
  color: #2c3437;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track,
.stack-track {
  overflow: hidden;
  background: #e9e2d8;
}

.bar-track {
  height: 16px;
}

.bar-fill,
.stack-fill {
  height: 100%;
  transform-origin: left;
  animation: scaleBar 420ms ease both;
}

.bar-fill {
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.bar-value,
.stack-value {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-item {
  display: grid;
  gap: 6px;
}

.stack-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.stack-track {
  height: 9px;
}

.stack-fill {
  background: var(--ochre);
}

.rank-list {
  display: grid;
  gap: 9px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee8df;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #ece6dc;
  color: #4d5558;
  font-weight: 900;
}

.rank-item strong,
.rank-item small {
  display: block;
}

.rank-item small {
  margin-top: 3px;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
  max-height: 620px;
}

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

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee8df;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f2ede5;
  color: #4a5558;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 3px;
  color: var(--muted);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px);
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar.search-toolbar {
  grid-template-columns: minmax(330px, 1fr) minmax(170px, 220px);
  align-items: start;
}

.toolbar.academics-toolbar {
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px) minmax(150px, 210px);
}

.toolbar.thematic-toolbar {
  grid-template-columns: minmax(320px, 1fr) minmax(96px, 130px) minmax(180px, 260px);
  align-items: end;
}

.thematic-search-button {
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(31, 62, 86, 0.96), rgba(17, 35, 52, 0.98)),
    var(--graphite);
  box-shadow: 0 16px 34px rgba(17, 35, 52, 0.22);
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.thematic-search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(17, 35, 52, 0.28);
  filter: saturate(1.08);
}

.thematic-search-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(17, 35, 52, 0.22);
}

.thematic-kpis {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.thematic-layout {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.priority-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #173f46, #0d6b5f 52%, #1a88a8);
  box-shadow: 0 24px 62px rgba(13, 107, 95, 0.2);
}

.priority-hero span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.96;
}

.priority-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.priority-summary {
  margin-bottom: 14px;
}

.priority-item strong {
  line-height: 1.22;
}

.priority-detail-panel h2 {
  max-width: 780px;
}

.theme-list-panel {
  position: sticky;
  top: 18px;
}

.theme-list {
  display: grid;
  gap: 8px;
  max-height: 720px;
  overflow: auto;
  overflow-anchor: none;
  padding: 13px;
}

.theme-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.theme-item:hover,
.theme-item.active {
  transform: translateX(2px);
  background: #eef6f2;
  border-color: rgba(13, 107, 95, 0.42);
}

.theme-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.theme-item em,
.theme-group-label {
  color: #0d6b5f;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.theme-item small {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.theme-item small span {
  padding: 3px 6px;
  background: #ece6dc;
  color: #485256;
  font-size: 10px;
}

.theme-item em.sector-label-en,
.theme-group-label.sector-label-en {
  letter-spacing: 0;
  text-transform: none;
}

.theme-description {
  max-width: 760px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.theme-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 14px;
  padding: 14px;
}

.section-label {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-academic-list,
.theme-work-list {
  display: grid;
  gap: 8px;
  max-height: 680px;
  overflow: auto;
  padding: 2px 6px 6px 2px;
}

.theme-academic {
  padding: 13px 15px;
  border: 1px solid #eee8df;
  background: rgba(255, 253, 250, 0.78);
}

.theme-academic strong,
.theme-academic span {
  display: block;
}

.theme-academic span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.theme-work {
  display: grid;
  gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.theme-work h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.theme-work small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.search-terms-field {
  display: block;
}

.search-terms-field small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.or-terms {
  display: grid;
  gap: 8px;
}

.or-term {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.primary,
.ghost {
  min-height: 39px;
  border: 1px solid var(--line-strong);
  padding: 9px 13px;
  font-weight: 900;
}

.primary {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}

.ghost {
  background: rgba(255, 253, 250, 0.86);
  color: var(--ink);
}

.ghost.mini {
  min-height: 43px;
  padding-inline: 10px;
  font-size: 12px;
}

.search-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px;
}

.search-summary span {
  display: inline-flex;
  padding: 5px 8px;
  background: rgba(13, 107, 95, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.result-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.result-list {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.result-item {
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.result-item h4 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.result-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eee8df;
}

.result-detail div {
  min-width: 0;
}

.result-detail dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-detail dd {
  overflow: hidden;
  margin: 0;
  color: #2f383b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  background: #ece6dc;
  color: #3f484b;
  font-weight: 900;
}

.empty-state {
  padding: 24px 18px;
  color: var(--muted);
  font-size: 13px;
}

.loading {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(340px, calc(100vw - 44px));
  padding: 18px;
  background: var(--graphite);
  color: #fff;
  box-shadow: var(--shadow);
  transition: opacity 220ms ease, transform 220ms ease;
}

.loading.hide {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.loading div {
  height: 4px;
  margin-bottom: 13px;
  background: linear-gradient(90deg, var(--green), var(--ochre), var(--blue));
  animation: scan 900ms ease-in-out infinite alternate;
}

.loading strong,
.loading span {
  display: block;
}

.loading span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.sector-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  margin-top: 0;
  padding: 18px;
}

.sector-profession-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding: 2px 6px 6px 2px;
}

.sector-profession {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  background: rgba(255, 253, 250, 0.76);
  border: 1px solid var(--line);
}

.sector-profession strong,
.sector-profession small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sector-profession small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.sector-profession span {
  min-width: 42px;
  padding: 5px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  background: var(--green);
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.keyword-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: #365052;
  font-size: 11px;
  font-weight: 800;
  background: #edf3ef;
  border: 1px solid rgba(13, 107, 95, 0.16);
}

.sector-keywords {
  margin: 16px 0 0;
  padding: 0 18px;
}

.works-label {
  margin: 2px 18px 10px;
}

.sector-detail-panel > .theme-work-list {
  max-height: 760px;
  padding: 0 18px 18px;
}

@keyframes scaleBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  from {
    transform: scaleX(0.3);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .kpi-grid,
  .layout-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-2,
  .report-head,
  .scope-toolbar,
  .priority-hero,
  .thematic-layout,
  .theme-detail-grid,
  .sector-detail-grid,
  .toolbar,
  .toolbar.academics-toolbar,
  .toolbar.search-toolbar {
    grid-template-columns: 1fr;
  }

  .theme-list-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .side {
    position: static;
    height: auto;
  }

  .main {
    padding: 18px;
  }

  h1 {
    font-size: 28px;
  }

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

  .bar-row {
    grid-template-columns: 1fr 1fr 62px;
  }

  .result-detail {
    grid-template-columns: 1fr;
  }
}
