:root {
  --ink: #172027;
  --ink-soft: #3d4a50;
  --paper: #f2ead8;
  --paper-light: #fffaf0;
  --cream: #e7dcc5;
  --red: #c34f42;
  --red-dark: #853b37;
  --teal: #397c78;
  --gold: #d2a24c;
  --line: #b9aa8e;
  --shadow: #10181d;
  --pixel: 4px;
  font-family: "DM Mono", monospace;
  color: var(--ink);
  background: #101820;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 28px 28px,
    #111a21;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #fff4c4;
  outline-offset: 2px;
}

.app {
  min-height: 100vh;
}

.game-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 260px minmax(420px, 1fr) 230px;
  align-items: stretch;
  color: #f6edda;
  background: #172229;
  border-bottom: 4px solid #080d10;
  box-shadow: 0 4px 0 rgba(0,0,0,.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #111a20;
  border-right: 1px solid #425058;
}

.brand-mark {
  width: 38px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff5dd;
  font: 700 29px/1 "Libre Caslon Text", serif;
  background: var(--red);
  border: 3px solid #080d10;
  box-shadow: 4px 4px 0 #080d10;
}

.brand h1 {
  margin: 0;
  font: 700 21px/1 "Oswald", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand small,
.calendar span {
  display: block;
  margin-top: 5px;
  color: #aab5b7;
  font-size: 10px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
}

.metric {
  min-width: 0;
  padding: 12px 15px;
  border-right: 1px solid #425058;
}

.metric span {
  display: block;
  color: #96a5a8;
  font: 600 10px/1 "Oswald", sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  font: 700 21px/1 "Oswald", sans-serif;
  color: #fff8e7;
  text-overflow: ellipsis;
}

.metric small {
  position: absolute;
  margin-top: 3px;
  color: #84c4a2;
  font-size: 9px;
}

.calendar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  text-align: right;
}

.calendar strong {
  font: 600 14px/1.2 "Oswald", sans-serif;
  letter-spacing: .04em;
}

.game-layout {
  width: min(1440px, 100%);
  min-height: calc(100vh - 82px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 380px;
  background: #1b252b;
}

.office-column {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(530px, 1fr) auto auto;
  padding: 18px;
  gap: 12px;
}

.pixel-office {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 4px solid #080d10;
  background: #aeb5ac;
  box-shadow: 8px 8px 0 rgba(6,10,12,.38);
  image-rendering: pixelated;
}

.office-wall {
  position: absolute;
  inset: 0 0 42% 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(81,91,85,.16) 50%, transparent 51%) 0 0 / 64px 100%,
    linear-gradient(#d3d0bd 0 91%, #817663 91% 95%, #554d43 95%);
}

.office-window {
  position: absolute;
  top: 34px;
  left: 6%;
  width: 28%;
  height: 142px;
  overflow: hidden;
  background: #718d96;
  border: 7px solid #554a3d;
  box-shadow: 5px 6px 0 rgba(43,38,31,.25), inset 0 0 0 3px #202d32;
}

.office-window::before,
.office-window::after {
  content: "";
  position: absolute;
  z-index: 3;
  background: #554a3d;
}

.office-window::before {
  top: 0;
  bottom: 0;
  left: calc(50% - 3px);
  width: 6px;
}

.office-window::after {
  left: 0;
  right: 0;
  top: calc(48% - 3px);
  height: 6px;
}

.office-window > i {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 13px;
  right: 20px;
  background: #eac871;
  box-shadow: 0 0 0 4px rgba(246,222,151,.18);
}

.office-window > i:nth-child(2) {
  width: 80px;
  height: 5px;
  top: 27px;
  left: 17px;
  background: #a5bbc0;
  box-shadow: 42px 17px 0 #9eb2b9, -13px 48px 0 #879fa6;
}

.city-blocks {
  position: absolute;
  inset: 64px 0 0;
  background:
    linear-gradient(90deg, #364b53 0 12%, transparent 12% 17%, #435860 17% 35%, transparent 35% 39%, #2c424a 39% 53%, transparent 53% 57%, #4c5e63 57% 78%, transparent 78% 82%, #344950 82%),
    #657d84;
}

.city-blocks::after {
  content: "";
  position: absolute;
  inset: 13px 7px;
  background: repeating-linear-gradient(90deg, #dbbf71 0 4px, transparent 4px 17px);
  opacity: .72;
}

.office-clock {
  position: absolute;
  top: 35px;
  left: 43%;
  width: 62px;
  height: 62px;
  background: #f4ead3;
  border: 6px solid #3b4545;
  border-radius: 50%;
  box-shadow: 4px 5px 0 rgba(0,0,0,.19);
}

.office-clock::before,
.office-clock::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 11px;
  width: 4px;
  height: 20px;
  background: #273235;
  transform-origin: 2px 17px;
}

.office-clock::after {
  transform: rotate(112deg);
  height: 17px;
}

.office-clock i {
  position: absolute;
  left: 23px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.office-board {
  position: absolute;
  top: 31px;
  right: 5%;
  width: 30%;
  height: 148px;
  padding: 17px;
  color: #f8eed7;
  background: #476f69;
  border: 8px solid #68543b;
  box-shadow: 5px 6px 0 rgba(44,36,29,.22), inset 0 0 0 2px #294b49;
}

.office-board span {
  font: 700 20px/1 "Oswald", sans-serif;
  letter-spacing: .18em;
}

.office-board i {
  display: block;
  width: 72%;
  height: 4px;
  margin-top: 15px;
  background: rgba(246,237,211,.7);
  box-shadow: 26px 12px 0 rgba(246,237,211,.5), 3px 24px 0 rgba(246,237,211,.62);
}

.office-shelf {
  position: absolute;
  left: 38%;
  bottom: 32px;
  width: 25%;
  height: 72px;
  border-bottom: 8px solid #66523c;
}

.office-shelf i {
  display: inline-block;
  width: 18px;
  height: 55px;
  margin: 9px 1px 0;
  background: #a74f44;
  border: 3px solid #513d35;
}

.office-shelf i:nth-child(2) {
  height: 43px;
  background: #d0a34e;
}

.office-shelf i:nth-child(3) {
  width: 28px;
  background: #497a7a;
}

.office-floor {
  position: absolute;
  inset: 58% 0 0;
  background:
    linear-gradient(30deg, transparent 48%, rgba(74,55,39,.16) 49% 51%, transparent 52%) 0 0 / 84px 48px,
    linear-gradient(150deg, transparent 48%, rgba(74,55,39,.11) 49% 51%, transparent 52%) 0 0 / 84px 48px,
    #9c7b59;
  border-top: 6px solid #544838;
}

.staff-grid {
  position: absolute;
  z-index: 5;
  left: 3%;
  right: 22%;
  bottom: 35px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 20px;
  align-items: end;
}

.workstation {
  position: relative;
  height: 170px;
  min-width: 0;
}

.station-person {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 43px;
  filter: drop-shadow(4px 5px 0 rgba(29,25,21,.28));
}

.reporter-sprite {
  width: 40px;
  height: 56px;
  background-image: url("assets/reporter-sprites.png");
  background-repeat: no-repeat;
  background-size: 240px 56px;
  image-rendering: pixelated;
}

.sprite-maya { --idle-x: 0px; --work-x: -40px; background-position: var(--idle-x) 0; }
.sprite-eddie { --idle-x: -80px; --work-x: -120px; background-position: var(--idle-x) 0; }
.sprite-nora { --idle-x: -160px; --work-x: -200px; background-position: var(--idle-x) 0; }

.pixel-desk {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 29px;
  height: 38px;
  background: #76543a;
  border: 4px solid #302821;
  box-shadow: 0 9px 0 #483527, 7px 13px 0 rgba(35,28,23,.2);
}

.pixel-desk::before,
.pixel-desk::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 8px;
  height: 19px;
  background: #3e3027;
}

.pixel-desk::before { left: 9px; }
.pixel-desk::after { right: 9px; }

.pixel-monitor {
  position: absolute;
  right: 18px;
  bottom: 29px;
  width: 40px;
  height: 32px;
  background: #ccc4a8;
  border: 4px solid #252d2e;
  box-shadow: 0 5px 0 #3c4544;
}

.pixel-monitor::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: -11px;
  width: 9px;
  height: 8px;
  background: #2c3434;
}

.pixel-monitor i {
  position: absolute;
  inset: 5px;
  background: #3d7772;
  box-shadow: inset 0 -4px 0 #2e5a57;
}

.phase-production .pixel-monitor i {
  animation: screen-pulse 1.2s steps(2, end) infinite;
}

.desk-paper {
  position: absolute;
  left: 47%;
  top: 5px;
  width: 26px;
  height: 17px;
  background: #efe6cf;
  border: 2px solid #55493a;
  transform: rotate(-4deg);
}

.desk-mug {
  position: absolute;
  right: 3px;
  top: 5px;
  width: 9px;
  height: 13px;
  background: #c05546;
  border: 2px solid #4a342d;
}

.staff-label {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 54px;
  bottom: -20px;
  min-width: 0;
  padding: 6px 8px;
  color: #f7edd9;
  background: #263138;
  border: 3px solid #11181d;
  box-shadow: 3px 3px 0 rgba(0,0,0,.2);
}

.staff-label strong,
.staff-label span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.staff-label strong {
  font: 600 11px/1 "Oswald", sans-serif;
}

.staff-label span {
  margin-top: 3px;
  color: #aab3b2;
  font-size: 8px;
}

.role-button {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: -20px;
  width: 53px;
  height: 40px;
  color: #fff7df;
  font: 700 10px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  background: var(--role-color);
  border: 3px solid #11181d;
  box-shadow: 3px 3px 0 rgba(0,0,0,.2);
}

.role-button:disabled {
  opacity: .68;
}

.morale {
  position: absolute;
  z-index: 10;
  left: 4px;
  right: 59px;
  bottom: -24px;
  height: 3px;
  background: #11181d;
}

.morale i {
  display: block;
  height: 100%;
  background: #72b38a;
}

.work-bubble {
  position: absolute;
  z-index: 12;
  left: 1px;
  top: 7px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 5px 6px;
  color: #fff8e7;
  font-size: 9px;
  background: #202a30;
  border: 3px solid #10171b;
  box-shadow: 3px 3px 0 rgba(0,0,0,.24);
}

.work-bubble::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -8px;
  width: 6px;
  height: 6px;
  background: #202a30;
  border-right: 3px solid #10171b;
  border-bottom: 3px solid #10171b;
}

.work-bubble strong {
  color: var(--bubble);
  font-size: 14px;
}

.office-equipment {
  position: absolute;
  z-index: 4;
  right: 2.5%;
  bottom: 20px;
  width: 16%;
  min-width: 112px;
  height: 190px;
}

.pixel-printer {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 103px;
  height: 77px;
  color: #d6dbce;
  background: #536164;
  border: 5px solid #252d2f;
  box-shadow: 7px 8px 0 rgba(27,24,21,.24), inset 0 -14px 0 #3b474a;
}

.pixel-printer::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 65px;
  height: 18px;
  background: #20292c;
  box-shadow: inset 0 5px 0 #101719;
}

.pixel-printer span,
.wire-machine span,
.ad-phone span,
.coffee-machine span {
  position: absolute;
  left: 7px;
  bottom: 5px;
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .12em;
}

.printer-paper {
  position: absolute;
  z-index: 2;
  left: 27px;
  top: -26px;
  width: 49px;
  height: 38px;
  background: #f5ecd8;
  border: 3px solid #4b4a43;
  box-shadow: inset 0 -5px 0 #d3cab5;
}

.printing .printer-paper {
  animation: printing .8s steps(3, end) infinite;
}

.wire-machine,
.ad-phone,
.coffee-machine {
  position: absolute;
  right: 2px;
  width: 54px;
  height: 53px;
  color: #f0e7d3;
  background: #466f6c;
  border: 4px solid #242e30;
}

.wire-machine { bottom: 100px; }
.ad-phone { right: 60px; bottom: 101px; background: #a85144; }
.coffee-machine { right: 61px; bottom: 42px; background: #6d5945; }

.wire-machine i,
.ad-phone i,
.coffee-machine i {
  position: absolute;
  top: 8px;
  left: 9px;
  width: 27px;
  height: 17px;
  background: #d6c89e;
  border: 3px solid #263033;
}

.darkroom-door {
  position: absolute;
  right: 0;
  bottom: 99px;
  width: 100px;
  height: 115px;
  color: #f2daca;
  background: #4a3439;
  border: 6px solid #2c2527;
  text-align: center;
  font: 700 8px/2 "Oswald", sans-serif;
}

.darkroom-door i {
  position: absolute;
  right: 9px;
  top: 56px;
  width: 7px;
  height: 7px;
  background: #d4a247;
}

.office-status {
  position: absolute;
  z-index: 14;
  left: 14px;
  right: 14px;
  top: calc(58% - 31px);
  min-height: 61px;
  display: grid;
  grid-template-columns: auto minmax(150px, auto) minmax(90px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  color: #f8edda;
  background: rgba(24,33,38,.95);
  border: 3px solid #0d1418;
  box-shadow: 4px 4px 0 rgba(0,0,0,.2);
}

.office-status strong,
.office-status small {
  display: block;
}

.office-status strong {
  font: 600 14px/1.2 "Oswald", sans-serif;
}

.office-status small {
  margin-top: 3px;
  color: #aeb9b7;
  font-size: 9px;
}

.office-status.idle {
  grid-template-columns: auto 1fr;
}

.status-light {
  width: 15px;
  height: 15px;
  background: #c89847;
  border: 3px solid #080d10;
  box-shadow: 0 0 0 3px rgba(200,152,71,.18);
}

.format-badge,
.format-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  color: #fff9e8;
  font: 700 13px/1 "Oswald", sans-serif;
  background: var(--format);
  border: 3px solid #12191c;
  box-shadow: 3px 3px 0 rgba(0,0,0,.2);
}

.mini-progress,
.track {
  height: 10px;
  overflow: hidden;
  background: #0e1518;
  border: 2px solid #090d0f;
}

.mini-progress i,
.track i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.ticker {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  color: #ded6c5;
  background: #111a1f;
  border: 3px solid #090f12;
}

.ticker > strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 15px;
  color: #fff5dd;
  font: 700 10px/1 "Oswald", sans-serif;
  letter-spacing: .1em;
  background: var(--red);
}

.ticker > div {
  display: flex;
  min-width: 0;
  overflow: hidden;
}

.ticker span {
  flex: 0 0 auto;
  padding: 0 22px;
  font-size: 9px;
  border-right: 1px solid #435056;
}

.action-dock {
  display: flex;
  justify-content: flex-end;
}

.primary-button {
  min-height: 48px;
  padding: 12px 22px;
  color: #fff7e5;
  font: 700 13px/1 "Oswald", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--red);
  border: 3px solid #1e2528;
  box-shadow: 4px 4px 0 #0a1013;
}

.primary-button:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #0a1013;
}

.primary-button:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #0a1013;
}

.primary-button.release {
  background: var(--teal);
}

.primary-button:disabled,
.modal button:disabled {
  cursor: not-allowed;
  filter: grayscale(.7);
  opacity: .5;
}

.manager {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border-left: 5px solid #0c1316;
  box-shadow: inset 8px 0 0 rgba(55,42,31,.08);
}

.manager-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 13px 13px 0;
  background: #d7cab2;
  border-bottom: 3px solid #9b8b71;
}

.manager-tabs button {
  min-height: 43px;
  padding: 10px 5px;
  color: #5b584e;
  font: 600 11px/1 "Oswald", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
}

.manager-tabs button.active {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ae9e83;
  border-bottom: 4px solid var(--red);
}

.manager-scroll {
  flex: 1;
  max-height: calc(100vh - 139px);
  overflow: auto;
  padding: 17px;
  scrollbar-width: thin;
  scrollbar-color: #897a63 #d8ccb5;
}

.manager-empty,
.project-panel,
.company-card,
.market-card {
  padding: 17px;
  background: var(--paper-light);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 rgba(72,55,38,.11);
}

.manager-empty h3,
.project-panel h3,
.company-card h3,
.market-card h3 {
  margin: 7px 0 8px;
  font: 700 22px/1.1 "Libre Caslon Text", serif;
}

.market-card {
  margin-bottom: 15px;
  background: #233238;
  border-color: #0e171b;
  color: #f7edd9;
  box-shadow: 4px 4px 0 rgba(0,0,0,.2), inset 0 0 0 2px #506064;
}

.market-card .eyebrow {
  color: #e3ad53;
}

.market-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.market-head > div {
  min-width: 0;
  flex: 1;
}

.market-head h3 {
  font-size: 18px;
}

.market-head p {
  margin: 0;
  color: #bac3c0;
  font: 11px/1.4 "Libre Caslon Text", serif;
}

.market-head > b {
  flex: 0 0 auto;
  padding: 8px 6px;
  color: #182328;
  font: 700 12px/1 "Oswald", sans-serif;
  background: var(--gold);
  border: 2px solid #0e171b;
}

.market-tags {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.market-tags span {
  padding: 5px 7px;
  color: #f7edda;
  font-size: 8px;
  background: #4b6968;
  border: 1px solid #8da09c;
}

.manager-empty p,
.panel-tip,
.empty-copy {
  color: #5f625d;
  font: 12px/1.55 "Libre Caslon Text", serif;
}

.manager-empty .primary-button {
  width: 100%;
  margin-top: 7px;
}

.eyebrow {
  display: block;
  color: var(--red-dark);
  font: 700 9px/1 "Oswald", sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.project-panel {
  margin-bottom: 15px;
}

.project-track {
  margin-top: 14px;
}

.project-track > div:first-child {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  margin-bottom: 6px;
  font: 600 10px/1 "Oswald", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.track {
  height: 12px;
  background: #d3c7b0;
  border-color: #80735f;
}

.track i {
  background: var(--track-color);
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
}

.project-details span {
  padding: 5px 7px;
  color: #f8f0dd;
  font-size: 8px;
  background: #58686b;
  border: 1px solid #253136;
}

.panel-tip {
  margin: 13px 0 0;
}

.section-title {
  margin: 22px 0 9px;
  padding-bottom: 6px;
  font: 700 11px/1 "Oswald", sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-bottom: 2px solid #b7a98e;
}

.company-level {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 8px;
  color: #fff6e0;
  font-size: 9px;
  background: var(--teal);
}

.company-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 10px;
  border-top: 1px solid #d1c5ae;
}

.release-row,
.research-row,
.upgrade-row,
.team-row,
.candidate-row,
.market-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-bottom: 1px solid #cfc1a9;
}

.release-row > div,
.research-row > div,
.upgrade-row > div,
.team-row > div,
.candidate-row > div {
  min-width: 0;
  flex: 1;
}

.market-row > div {
  min-width: 0;
  flex: 1;
}

.market-row > span {
  width: 14px;
  color: #8a806e;
  font: 700 9px/1 "Oswald", sans-serif;
}

.market-row > i {
  width: 9px;
  height: 26px;
  background: var(--publisher);
  border: 1px solid #4b4c47;
}

.market-row strong,
.market-row small {
  display: block;
}

.market-row strong {
  font: 600 10px/1.2 "Oswald", sans-serif;
}

.market-row small {
  margin-top: 3px;
  color: #746e61;
  font-size: 8px;
}

.market-row > b {
  font: 700 10px/1 "Oswald", sans-serif;
}

.market-row.player {
  color: var(--red-dark);
  background: rgba(195,79,66,.07);
}

.release-row strong,
.release-row small,
.research-row strong,
.research-row small,
.upgrade-row strong,
.upgrade-row small,
.team-row strong,
.team-row small,
.candidate-row strong,
.candidate-row small {
  display: block;
}

.release-row strong,
.research-row strong,
.upgrade-row strong,
.team-row strong,
.candidate-row strong {
  overflow: hidden;
  font: 600 11px/1.2 "Oswald", sans-serif;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.release-row small,
.research-row small,
.upgrade-row small,
.team-row small,
.candidate-row small {
  margin-top: 4px;
  color: #716c60;
  font-size: 8px;
  line-height: 1.35;
}

.release-row > b,
.research-row > b,
.upgrade-row > b,
.team-row > b {
  flex: 0 0 auto;
  font: 700 9px/1 "Oswald", sans-serif;
}

.score {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff8e7;
  font: 700 12px/1 "Oswald", sans-serif;
  background: var(--red);
  border: 2px solid #313537;
}

.positive { color: #33765b !important; }
.negative { color: #a33f39 !important; }

.research-row.locked {
  opacity: .55;
}

.research-row.unlocked .format-icon {
  box-shadow: 3px 3px 0 rgba(0,0,0,.18), inset 0 0 0 2px rgba(255,255,255,.15);
}

.upgrade-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff6df;
  background: #576a69;
  border: 2px solid #293334;
}

.upgrade-row button,
.candidate-row button {
  flex: 0 0 auto;
  min-width: 70px;
  padding: 7px 8px;
  color: #fff7e4;
  font: 700 9px/1 "Oswald", sans-serif;
  background: var(--teal);
  border: 2px solid #293536;
  box-shadow: 2px 2px 0 #8e806b;
}

.upgrade-row.owned {
  color: #45725f;
  background: rgba(92,147,117,.08);
}

.mini-sprite {
  flex: 0 0 auto;
  transform: scale(.65);
  margin: -9px -5px;
}

.team-row em {
  margin-left: 4px;
  padding: 2px 4px;
  color: #fff6df;
  font: normal 700 7px/1 "Oswald", sans-serif;
  background: var(--teal);
}

.xp-track {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  background: #c5b8a1;
}

.xp-track i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7,12,15,.84);
  backdrop-filter: blur(3px);
}

.modal {
  width: min(840px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 5px solid #10181c;
  box-shadow: 10px 10px 0 rgba(0,0,0,.4), inset 0 0 0 3px #b9aa8e;
}

.modal > header {
  position: relative;
  padding: 20px 25px 16px;
  color: #f7edda;
  background: #223036;
  border-bottom: 4px solid #0c1316;
}

.modal > header h2 {
  margin: 7px 0 0;
  font: 700 27px/1.1 "Libre Caslon Text", serif;
}

.modal > header .eyebrow {
  color: #e0ad58;
}

.close-button {
  position: absolute;
  right: 14px;
  top: 13px;
  width: 38px;
  height: 38px;
  color: #fff3dc;
  font-size: 25px;
  background: #141f24;
  border: 2px solid #6a7778;
}

.modal-body {
  padding: 21px 25px;
}

.title-field {
  display: block;
  color: #655f52;
  font: 700 9px/1 "Oswald", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.title-field input {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  color: var(--ink);
  font: 700 20px/1 "Libre Caslon Text", serif;
  background: #fffaf0;
  border: 2px solid #9d8f77;
  box-shadow: inset 3px 3px 0 rgba(81,63,43,.08);
}

.market-signal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 10px;
  color: #f7edda;
  background: #233238;
  border: 3px solid #11191d;
  box-shadow: 3px 3px 0 #aa9c84;
}

.market-signal > span {
  padding: 7px 5px;
  color: #172227;
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  background: var(--gold);
}

.market-signal strong,
.market-signal small {
  display: block;
}

.market-signal strong {
  font: 600 11px/1.2 "Oswald", sans-serif;
}

.market-signal small {
  margin-top: 3px;
  color: #b8c2bf;
  font-size: 8px;
  line-height: 1.35;
}

.market-signal > b {
  color: #e2b25c;
  font: 700 9px/1 "Oswald", sans-serif;
  white-space: nowrap;
}

.choice-section {
  margin-top: 18px;
}

.choice-section h3 {
  margin: 0 0 9px;
  font: 700 11px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.format-choices {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.format-choice {
  min-width: 0;
  min-height: 89px;
  padding: 9px 5px;
  background: #ddd1b9;
  border: 2px solid #9e9077;
}

.format-choice > span,
.format-choice > strong,
.format-choice > small {
  display: block;
}

.format-choice > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  color: #fff7e3;
  font: 700 11px/1 "Oswald", sans-serif;
  background: var(--format);
  border: 2px solid #33383a;
}

.format-choice > strong {
  font: 600 9px/1.15 "Oswald", sans-serif;
}

.format-choice > small {
  margin-top: 5px;
  color: #6f685b;
  font-size: 8px;
}

.format-choice.active,
.choice-pills button.active {
  background: #fffaf0;
  border-color: var(--red);
  box-shadow: inset 0 -4px 0 var(--red);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choice-pills button {
  min-height: 34px;
  padding: 7px 9px;
  color: #4e514d;
  font-size: 9px;
  background: #ddd1b9;
  border: 2px solid #9e9077;
}

.choice-pills button span {
  margin-right: 5px;
}

.commercial-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  align-items: end;
  margin-top: 18px;
}

.commercial-settings label {
  color: #615c50;
  font: 700 9px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commercial-settings select {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  color: var(--ink);
  background: #fffaf0;
  border: 2px solid #9e9077;
}

.opportunity-choice {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
  padding: 13px;
  text-align: left;
  background: #d9ceb8;
  border: 2px dashed #96876f;
}

.opportunity-choice.active {
  background: #fff8e8;
  border: 2px solid var(--gold);
  box-shadow: inset 5px 0 0 var(--gold);
}

.opportunity-pin {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff6df;
  font: 700 16px/1 "Oswald", sans-serif;
  background: var(--red);
  border: 2px solid #34383a;
}

.opportunity-choice small,
.opportunity-choice strong,
.opportunity-choice p {
  display: block;
}

.opportunity-choice small {
  color: var(--red-dark);
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.opportunity-choice strong {
  margin-top: 4px;
  font: 700 13px/1.2 "Libre Caslon Text", serif;
}

.opportunity-choice p {
  margin: 4px 0 0;
  color: #666257;
  font: 10px/1.35 "Libre Caslon Text", serif;
}

.opportunity-choice b {
  color: #4b766a;
  font: 700 9px/1.2 "Oswald", sans-serif;
}

.modal > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 25px 20px;
  background: #d8cbb4;
  border-top: 2px solid #ad9e84;
}

.modal > footer small,
.modal > footer strong {
  display: block;
}

.modal > footer small {
  color: #6d6658;
  font-size: 8px;
  text-transform: uppercase;
}

.modal > footer strong {
  margin-top: 4px;
  font: 700 19px/1 "Oswald", sans-serif;
}

.welcome-modal {
  width: min(560px, 100%);
  padding: 42px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(82,64,43,.06) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
}

.welcome-modal h2 {
  margin: 11px 0 14px;
  font: 700 38px/.98 "Libre Caslon Text", serif;
}

.welcome-modal p {
  max-width: 455px;
  margin: 0 auto 23px;
  color: #555950;
  font: 15px/1.6 "Libre Caslon Text", serif;
}

.welcome-pixels {
  position: relative;
  width: 180px;
  height: 98px;
  margin: 0 auto 28px;
}

.welcome-pixels .reporter-sprite {
  position: absolute;
  z-index: 2;
  left: 31px;
  bottom: 27px;
  transform: scale(1.4);
  transform-origin: bottom center;
}

.welcome-pixels .pixel-desk {
  left: 0;
  right: 0;
  bottom: 0;
}

.review-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 24px;
  text-align: left;
}

.review-score > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #fff5dd;
  font: 700 28px/1 "Oswald", sans-serif;
  background: var(--red);
  border: 5px solid #263033;
  box-shadow: 5px 5px 0 #a99a80;
}

.review-score strong,
.review-score small {
  display: block;
}

.review-score strong {
  font: 700 20px/1.2 "Libre Caslon Text", serif;
}

.review-score small {
  margin-top: 5px;
  color: #777164;
  font-size: 9px;
}

.review-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 24px 20px;
}

.review-quotes > div {
  min-width: 0;
  padding: 14px;
  background: #fffaf0;
  border: 2px solid #b5a68d;
}

.review-quotes b {
  color: var(--red);
  font: 700 20px/1 "Oswald", sans-serif;
}

.review-quotes p {
  min-height: 50px;
  margin: 8px 0;
  font: 12px/1.4 "Libre Caslon Text", serif;
}

.review-quotes small {
  color: #777064;
  font-size: 8px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 24px;
  border: 2px solid #a99a80;
}

.result-grid > div {
  padding: 13px;
  border-right: 1px solid #b9aa8f;
}

.result-grid > div:last-child {
  border: 0;
}

.result-grid small,
.result-grid strong {
  display: block;
}

.result-grid small {
  color: #756e61;
  font-size: 8px;
}

.result-grid strong {
  margin-top: 5px;
  font: 700 16px/1 "Oswald", sans-serif;
}

.opportunity-result {
  margin: 18px 24px;
  padding: 12px;
  color: #55594f;
  font: 12px/1.5 "Libre Caslon Text", serif;
  background: #e2d6be;
  border-left: 5px solid var(--gold);
}

.result-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 24px 0;
}

.result-insights > div {
  padding: 11px 13px;
  background: #fffaf0;
  border: 2px solid #b5a68d;
  border-left: 5px solid var(--teal);
}

.result-insights > div:last-child {
  border-left-color: var(--gold);
}

.result-insights span,
.result-insights strong,
.result-insights small {
  display: block;
}

.result-insights span {
  color: var(--red-dark);
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .12em;
}

.result-insights strong {
  margin-top: 5px;
  font: 700 14px/1 "Oswald", sans-serif;
}

.result-insights small {
  margin-top: 5px;
  color: #706b60;
  font-size: 8px;
  line-height: 1.35;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 23px;
  max-width: min(430px, calc(100% - 30px));
  padding: 11px 15px;
  color: #fff5df;
  font-size: 10px;
  text-align: center;
  background: #1d292e;
  border: 3px solid #080e11;
  box-shadow: 5px 5px 0 rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .15s, transform .15s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes printing {
  50% { transform: translateY(7px); }
}

@keyframes screen-pulse {
  50% { background: #4e8c85; }
}

@media (max-width: 1120px) {
  .game-header {
    grid-template-columns: 230px 1fr;
  }

  .calendar {
    display: none;
  }

  .game-layout {
    grid-template-columns: minmax(560px, 1fr) 340px;
  }

  .staff-grid {
    right: 19%;
    gap: 11px;
  }

  .staff-label {
    right: 45px;
  }

  .role-button {
    width: 44px;
  }
}

@media (max-width: 860px) {
  .game-header {
    position: relative;
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: 67px;
    border-right: 0;
    border-bottom: 1px solid #425058;
  }

  .metrics {
    min-height: 64px;
  }

  .metric {
    padding: 10px 12px;
  }

  .metric strong {
    font-size: 18px;
  }

  .game-layout {
    display: block;
  }

  .office-column {
    display: block;
    padding: 12px;
  }

  .pixel-office {
    min-height: 530px;
  }

  .ticker {
    margin-top: 10px;
  }

  .action-dock {
    position: sticky;
    z-index: 16;
    bottom: 0;
    padding: 10px 0 3px;
    background: linear-gradient(transparent, #1b252b 27%);
  }

  .action-dock .primary-button {
    width: 100%;
  }

  .manager {
    min-height: 520px;
    border-top: 5px solid #0c1316;
    border-left: 0;
  }

  .manager-scroll {
    max-height: none;
  }
}

@media (max-width: 590px) {
  .brand {
    padding: 10px 13px;
  }

  .brand-mark {
    width: 33px;
    height: 39px;
    font-size: 24px;
  }

  .brand h1 {
    font-size: 18px;
  }

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

  .metric {
    min-width: 0;
    padding: 9px 6px 12px;
  }

  .metric span {
    font-size: 7px;
  }

  .metric strong {
    margin-top: 5px;
    font-size: 14px;
  }

  .metric small {
    font-size: 7px;
  }

  .office-column {
    padding: 8px;
  }

  .pixel-office {
    min-height: 560px;
    border-width: 3px;
    box-shadow: 4px 5px 0 rgba(6,10,12,.38);
  }

  .office-wall {
    inset: 0 0 50% 0;
  }

  .office-window {
    top: 28px;
    left: 5%;
    width: 42%;
    height: 121px;
  }

  .office-clock {
    left: 53%;
    top: 25px;
    transform: scale(.75);
    transform-origin: top left;
  }

  .office-board {
    top: 100px;
    right: 4%;
    width: 43%;
    height: 105px;
    padding: 11px;
    border-width: 5px;
  }

  .office-board span {
    font-size: 14px;
  }

  .office-board i {
    margin-top: 10px;
  }

  .office-shelf {
    display: none;
  }

  .office-floor {
    inset: 50% 0 0;
  }

  .office-status {
    top: calc(50% - 29px);
    left: 7px;
    right: 7px;
    grid-template-columns: auto minmax(130px, 1fr);
    min-height: 58px;
  }

  .office-status .mini-progress {
    display: none;
  }

  .staff-grid {
    left: 4%;
    right: 4%;
    bottom: 42px;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 31px 12px;
  }

  .workstation {
    height: 126px;
  }

  .workstation:nth-child(n+3) {
    margin-bottom: -4px;
  }

  .station-person {
    bottom: 39px;
    transform: scale(.85);
    transform-origin: bottom left;
  }

  .pixel-desk {
    bottom: 28px;
    height: 32px;
  }

  .pixel-monitor {
    right: 13px;
    transform: scale(.78);
    transform-origin: bottom right;
  }

  .staff-label {
    bottom: -9px;
  }

  .role-button {
    bottom: -9px;
  }

  .morale {
    bottom: -13px;
  }

  .work-bubble {
    top: -2px;
  }

  .office-equipment {
    display: none;
  }

  .ticker {
    grid-template-columns: 86px 1fr;
  }

  .ticker span {
    padding: 0 12px;
  }

  .manager-tabs {
    position: sticky;
    z-index: 12;
    top: 0;
  }

  .modal-backdrop {
    padding: 8px;
    align-items: end;
  }

  .modal {
    max-height: calc(100vh - 16px);
    border-width: 3px;
    box-shadow: 5px 5px 0 rgba(0,0,0,.4);
  }

  .modal > header {
    padding: 15px 17px 13px;
  }

  .modal > header h2 {
    padding-right: 30px;
    font-size: 22px;
  }

  .modal-body {
    padding: 15px 17px;
  }

  .format-choices {
    grid-template-columns: repeat(3, 1fr);
  }

  .strategy-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .commercial-settings {
    margin-top: 14px;
  }

  .opportunity-choice {
    grid-template-columns: auto 1fr;
  }

  .market-signal {
    grid-template-columns: auto 1fr;
  }

  .market-signal > b {
    grid-column: 2;
  }

  .opportunity-choice > b {
    grid-column: 2;
  }

  .modal > footer {
    position: sticky;
    bottom: 0;
    padding: 11px 17px 14px;
  }

  .welcome-modal {
    align-self: center;
    padding: 28px 20px;
  }

  .welcome-modal h2 {
    font-size: 31px;
  }

  .welcome-modal p {
    font-size: 13px;
  }

  .review-score {
    justify-content: flex-start;
    padding: 17px;
  }

  .review-quotes {
    grid-template-columns: 1fr;
    padding: 0 17px 14px;
  }

  .review-quotes p {
    min-height: 0;
  }

  .result-grid {
    grid-template-columns: 1fr 1fr;
    margin: 0 17px;
  }

  .result-grid > div {
    border-bottom: 1px solid #b9aa8f;
  }

  .opportunity-result {
    margin: 14px 17px;
  }

  .result-insights {
    grid-template-columns: 1fr;
    margin: 14px 17px 0;
  }
}

/* Quarterly newsroom economy, market desk, and visible staff progression */

.manager-tabs {
  grid-template-columns: repeat(4, 1fr);
}

.sprite-working {
  animation: reporter-work .62s steps(1, end) infinite;
}

.reporter-hat {
  position: absolute;
  z-index: 3;
  left: 7px;
  top: -4px;
  width: 28px;
  height: 8px;
  background: #263238;
  border: 2px solid #151b1e;
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
  pointer-events: none;
}

.reporter-hat::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 15px;
  height: 9px;
  background: inherit;
  border: 2px solid #151b1e;
  border-bottom: 0;
}

.hat-cap {
  width: 24px;
  height: 7px;
  background: #416f69;
}

.hat-cap::before {
  left: 2px;
  top: -6px;
  width: 15px;
  height: 7px;
  border-radius: 7px 7px 0 0;
}

.hat-cloche {
  left: 8px;
  width: 23px;
  height: 7px;
  background: #a64b43;
}

.hat-cloche::before {
  left: 2px;
  top: -9px;
  width: 15px;
  height: 10px;
  border-radius: 8px 8px 0 0;
}

.station-person:has(.sprite-working) {
  animation: working-bob .62s steps(2, end) infinite;
}

.work-bubble {
  animation: note-pulse 1s steps(2, end) infinite;
}

.quarter-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0;
  background: #a8997f;
  border: 2px solid #a8997f;
}

.quarter-summary > div {
  padding: 9px;
  background: #f8f0df;
}

.quarter-summary small,
.quarter-summary strong {
  display: block;
}

.quarter-summary small {
  color: #71695d;
  font: 700 7px/1 "Oswald", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quarter-summary strong {
  margin-top: 5px;
  font: 700 14px/1 "Oswald", sans-serif;
}

.quarter-summary.empty {
  display: block;
  padding: 10px;
  color: #4f5d5d;
  font-size: 9px;
  line-height: 1.4;
  background: #e6dcc8;
  border-color: #b5a68d;
}

.quarter-summary.empty strong,
.quarter-summary.empty span {
  display: block;
}

.quarter-summary.empty span {
  margin-top: 4px;
}

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

.staff-upgrade-list article,
.decor-upgrade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  background: #fffaf0;
  border: 2px solid #b8a98f;
}

.upgrade-portrait {
  position: relative;
  width: 34px;
  height: 43px;
  overflow: hidden;
  background: #d8c9ad;
  border: 2px solid #635b4f;
}

.upgrade-portrait .reporter-sprite {
  transform: scale(.72);
  transform-origin: top left;
}

.upgrade-portrait .reporter-hat {
  left: 5px;
  top: 0;
  transform: scale(.72);
  transform-origin: top left;
}

.staff-upgrade-list strong,
.staff-upgrade-list small,
.decor-upgrade strong,
.decor-upgrade small {
  display: block;
}

.staff-upgrade-list strong,
.decor-upgrade strong {
  font: 700 10px/1.2 "Oswald", sans-serif;
}

.staff-upgrade-list small,
.decor-upgrade small {
  margin-top: 4px;
  color: #6f685c;
  font-size: 7px;
  line-height: 1.35;
}

.staff-upgrade-list button,
.decor-upgrade button {
  min-width: 62px;
  padding: 7px;
  color: #fff7e4;
  font: 700 8px/1 "Oswald", sans-serif;
  background: #4c8278;
  border: 2px solid #263234;
}

.file-cabinet {
  position: absolute;
  left: -30px;
  bottom: 15px;
  width: 45px;
  height: 72px;
  color: #e6ddca;
  background: #596569;
  border: 4px solid #283033;
  box-shadow: 4px 5px 0 rgba(0,0,0,.2);
}

.file-cabinet i {
  display: block;
  height: 26px;
  margin: 4px;
  border: 2px solid #303a3d;
  box-shadow: inset 0 4px 0 #737f80;
}

.file-cabinet span {
  position: absolute;
  left: 5px;
  bottom: 3px;
  font: 700 6px/1 "Oswald", sans-serif;
}

.green-lamp {
  position: absolute;
  left: 17px;
  bottom: 102px;
  width: 31px;
  height: 13px;
  background: #3f7a62;
  border: 3px solid #26322f;
  border-radius: 18px 18px 2px 2px;
}

.green-lamp::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 4px;
  height: 22px;
  background: #303739;
}

.framed-front-page {
  position: absolute;
  z-index: 3;
  top: 37px;
  left: 47%;
  width: 66px;
  height: 84px;
  padding: 6px;
  color: #242b2d;
  text-align: center;
  background: #eee4ce;
  border: 5px solid #574331;
  box-shadow: 5px 6px 0 rgba(0,0,0,.16);
}

.framed-front-page b,
.framed-front-page span {
  display: block;
  font: 700 7px/1 "Oswald", sans-serif;
}

.framed-front-page i {
  display: block;
  height: 3px;
  margin: 7px 2px;
  background: repeating-linear-gradient(#746e60 0 1px, transparent 1px 3px);
}

.market-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  background: #9f9078;
  border: 2px solid #9f9078;
}

.market-kpis > div {
  padding: 10px 7px;
  text-align: center;
  background: #fff8e9;
}

.market-kpis small,
.market-kpis strong {
  display: block;
}

.market-kpis small {
  color: #70685b;
  font: 700 7px/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.market-kpis strong {
  margin-top: 6px;
  font: 700 17px/1 "Oswald", sans-serif;
}

.share-chart {
  height: 25px;
  display: flex;
  overflow: hidden;
  padding: 3px;
  background: #283337;
  border: 2px solid #11191c;
}

.share-chart i {
  display: block;
  min-width: 2px;
  background: var(--share);
  border-right: 2px solid #172025;
}

.competitor-list {
  margin-top: 8px;
  border: 2px solid #b5a68c;
}

.competitor-list article {
  display: grid;
  grid-template-columns: 17px 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 9px;
  background: #fbf4e5;
  border-bottom: 1px solid #d0c3ad;
}

.competitor-list article:last-child {
  border-bottom: 0;
}

.competitor-list article.player {
  background: #e7efe8;
}

.competitor-list article > b {
  color: #71695c;
  font: 700 9px/1 "Oswald", sans-serif;
}

.competitor-list article > i {
  width: 8px;
  height: 28px;
  background: var(--paper);
}

.competitor-list strong,
.competitor-list small,
.competitor-list span,
.competitor-list em {
  display: block;
}

.competitor-list strong {
  font: 700 10px/1.2 "Oswald", sans-serif;
}

.competitor-list small {
  margin-top: 3px;
  color: #70695e;
  font-size: 7px;
}

.competitor-list article > span {
  text-align: right;
  font: 700 10px/1 "Oswald", sans-serif;
}

.competitor-list em {
  margin-top: 3px;
  color: #4a816f;
  font: normal 700 7px/1 "Oswald", sans-serif;
}

.finance-chart {
  height: 104px;
  display: flex;
  align-items: end;
  gap: 4px;
  padding: 8px 7px 5px;
  background: repeating-linear-gradient(to top, rgba(94,84,69,.16) 0 1px, transparent 1px 24px), #f8f0df;
  border: 2px solid #b5a68c;
}

.finance-chart article {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.finance-columns {
  height: 78px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
}

.finance-columns i {
  width: min(10px, 42%);
  border: 1px solid #273134;
}

.finance-columns .revenue,
.chart-key i.revenue {
  background: #4a8779;
}

.finance-columns .cost,
.chart-key i.cost {
  background: #bd5247;
}

.finance-chart small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font: 700 6px/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.chart-key {
  display: flex;
  gap: 12px;
  margin: 6px 0 0;
  color: #6d665a;
  font-size: 7px;
}

.chart-key span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chart-key i {
  width: 8px;
  height: 8px;
  border: 1px solid #273134;
}

.finance-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 11px;
  background: #b0a187;
  border: 2px solid #b0a187;
}

.finance-ledger > div {
  padding: 8px;
  background: #fff9eb;
}

.finance-ledger small,
.finance-ledger strong {
  display: block;
}

.finance-ledger small {
  color: #756d60;
  font: 700 7px/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.finance-ledger strong {
  margin-top: 5px;
  font: 700 12px/1 "Oswald", sans-serif;
}

.story-event-modal {
  width: min(670px, 100%);
}

.event-body {
  padding: 20px;
}

.event-body > p {
  margin: 0;
  font: 15px/1.55 "Libre Caslon Text", serif;
}

.event-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 17px 0;
  background: #aa9a80;
  border: 2px solid #aa9a80;
}

.event-ledger > div {
  padding: 9px;
  background: #f8f0df;
}

.event-ledger small,
.event-ledger strong {
  display: block;
}

.event-ledger small {
  color: #72695c;
  font: 700 7px/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.event-ledger strong {
  margin-top: 6px;
  font: 700 13px/1 "Oswald", sans-serif;
}

.event-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-choices button {
  min-height: 94px;
  padding: 13px;
  color: #243035;
  text-align: left;
  background: #fff9eb;
  border: 3px solid #526a69;
  box-shadow: 4px 4px 0 #b5a68c;
}

.event-choices button:hover {
  color: #fff8e8;
  background: #4b8379;
}

.event-choices strong,
.event-choices span {
  display: block;
}

.event-choices strong {
  font: 700 12px/1.2 "Oswald", sans-serif;
  text-transform: uppercase;
}

.event-choices span {
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.45;
}

@keyframes reporter-work {
  0%, 48% { background-position: var(--idle-x) 0; }
  49%, 100% { background-position: var(--work-x) 0; }
}

@keyframes working-bob {
  50% { transform: translateY(2px); }
}

@keyframes note-pulse {
  50% { transform: translateY(-3px); }
}

@media (max-width: 590px) {
  .manager-tabs button {
    padding-inline: 2px;
    font-size: 9px;
  }

  .market-kpis strong {
    font-size: 14px;
  }

  .event-ledger,
  .event-choices {
    grid-template-columns: 1fr;
  }

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

  .event-body {
    padding: 15px;
  }

  .event-choices button {
    min-height: 76px;
  }

  .framed-front-page {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Validated newsroom-to-empire interface */

.newsroom-office .office-board {
  background: #3f6965;
}

.pixel-typewriter {
  position: absolute;
  right: 15px;
  bottom: 29px;
  width: 45px;
  height: 27px;
  background: #4c5350;
  border: 4px solid #252d2e;
  box-shadow: 0 5px 0 #2f3635;
}

.pixel-typewriter::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -17px;
  height: 18px;
  background: #f0e6cf;
  border: 3px solid #4c4b43;
}

.pixel-typewriter::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #d6caaa 0 3px, #303735 3px 5px);
}

.app.is-working .pixel-typewriter::before {
  animation: printing .8s steps(3, end) infinite;
}

.workstation.assigned .pixel-desk {
  box-shadow: 0 9px 0 #483527, 0 0 0 4px rgba(210,162,76,.48), 7px 13px 0 rgba(35,28,23,.2);
}

.workstation.tired .station-person {
  filter: grayscale(.35) drop-shadow(4px 5px 0 rgba(29,25,21,.28));
}

.staff-label {
  right: 66px;
}

.role-button {
  width: 65px;
  font-size: 8px;
}

.role-button.assigned {
  color: #172027;
  background: #e2b04f;
}

.morale.fatigue {
  right: 71px;
}

.morale.fatigue i {
  background: linear-gradient(90deg, #c14f45, #d4a44e 42%, #69a47f);
}

.story-source-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff7e1;
  font: 700 15px/1 "Oswald", sans-serif;
  background: #a94c43;
  border: 3px solid #10171a;
  box-shadow: 3px 3px 0 rgba(0,0,0,.22);
}

.story-status .mini-progress i {
  background: #d3a34b;
}

.desk-heading {
  padding: 3px 2px 12px;
  border-bottom: 2px solid #b9aa8f;
}

.desk-heading h3 {
  margin: 7px 0 8px;
  font: 700 23px/1.08 "Libre Caslon Text", serif;
}

.desk-heading p {
  margin: 0;
  color: #626158;
  font: 12px/1.5 "Libre Caslon Text", serif;
}

.lead-list {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.lead-card {
  position: relative;
  overflow: hidden;
  padding: 13px 13px 12px 17px;
  background: #fffaf0;
  border: 2px solid #b7a88e;
  box-shadow: 4px 4px 0 rgba(69,53,36,.1);
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--beat);
}

.lead-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lead-card header > span {
  color: #7f3f3a;
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead-card header > .lead-risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6f6658;
  letter-spacing: .06em;
}

.risk-pips {
  display: inline-flex;
  gap: 3px;
}

.risk-pips i {
  width: 7px;
  height: 11px;
  background: #d4c8b1;
  border: 1px solid #877b68;
}

.risk-pips i.active {
  background: #bd4e43;
  border-color: #73352f;
}

.lead-card h3 {
  margin: 8px 0 5px;
  font: 700 16px/1.2 "Libre Caslon Text", serif;
}

.lead-card p {
  margin: 0;
  color: #606057;
  font: 11px/1.4 "Libre Caslon Text", serif;
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0;
}

.lead-meta span,
.dossier-tags span {
  padding: 4px 6px;
  color: #f8efdd;
  font-size: 7px;
  background: #58696b;
  border: 1px solid #293638;
}

.lead-meta .source-chip {
  color: #272d2e;
  font-weight: 700;
  background: #e0ac56;
  border-color: #8d6730;
}

.lead-consequence {
  margin: 0 0 10px;
  padding: 7px 8px;
  background: #eee4d1;
  border-left: 3px solid #bc5146;
}

.lead-consequence b,
.lead-consequence span {
  display: block;
}

.lead-consequence b {
  color: #8d403b;
  font: 700 7px/1 "Oswald", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lead-consequence span {
  margin-top: 4px;
  color: #665f53;
  font-size: 8px;
  line-height: 1.35;
}

.lead-card button,
.acquisition-card button,
.property-card button,
.intervene-button {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  color: #fff7e3;
  font: 700 9px/1 "Oswald", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--teal);
  border: 2px solid #263234;
  box-shadow: 2px 2px 0 #a3957e;
}

.story-dossier {
  padding: 17px;
  background: #fffaf0;
  border: 2px solid #b3a48b;
  border-top: 6px solid var(--beat);
  box-shadow: 4px 4px 0 rgba(69,53,36,.1);
}

.story-dossier h3 {
  margin: 8px 0;
  font: 700 24px/1.08 "Libre Caslon Text", serif;
}

.story-dossier > p {
  margin: 0 0 12px;
  color: #5d5f57;
  font: 13px/1.5 "Libre Caslon Text", serif;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dossier-risk,
.assigned-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  font-size: 9px;
  border-bottom: 1px solid #d0c3ac;
}

.story-progress {
  margin: 14px 0 7px;
}

.story-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font: 700 10px/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.story-progress .track {
  height: 15px;
}

.assigned-team {
  align-items: flex-start;
}

.assigned-team span {
  max-width: 65%;
  color: #5d625a;
  text-align: right;
  line-height: 1.4;
}

.consequence-note {
  margin-top: 13px;
  padding: 10px;
  color: #753b36;
  background: #ead8c3;
  border-left: 5px solid #bd4e43;
}

.consequence-note b {
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .1em;
}

.consequence-note p {
  margin: 5px 0 0;
  font: 11px/1.4 "Libre Caslon Text", serif;
}

.reporter-summary {
  display: grid;
  gap: 7px;
}

.reporter-summary > div {
  padding: 9px;
  background: rgba(255,250,240,.65);
  border: 1px solid #c5b79e;
}

.reporter-summary strong,
.reporter-summary small {
  display: block;
}

.reporter-summary strong {
  font: 600 10px/1 "Oswald", sans-serif;
}

.reporter-summary em {
  margin-left: 4px;
  padding: 2px 4px;
  color: #fff5de;
  font: normal 700 7px/1 "Oswald", sans-serif;
  background: #4c8078;
}

.reporter-summary small {
  margin-top: 5px;
  color: #746e62;
  font-size: 8px;
}

.holding-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.holding-row {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  background: #fffaf0;
  border: 2px solid #b9aa8f;
}

.holding-row.flagship {
  border-left: 6px solid #c34f42;
}

.holding-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff5dd;
  font: 700 11px/1 "Oswald", sans-serif;
  background: #526b6b;
  border: 2px solid #263133;
}

.holding-row strong,
.holding-row small,
.holding-row p {
  display: block;
}

.holding-row strong {
  font: 600 12px/1.2 "Oswald", sans-serif;
}

.holding-row small {
  margin-top: 4px;
  color: #736d61;
  font-size: 8px;
  line-height: 1.35;
}

.holding-row p {
  margin: 7px 0 0;
  color: #4c6f67;
  font: 10px/1.35 "Libre Caslon Text", serif;
}

.holding-row dl {
  margin: 0;
  text-align: right;
}

.holding-row dt {
  color: #827a6c;
  font-size: 7px;
  text-transform: uppercase;
}

.holding-row dd {
  margin: 2px 0 6px;
  font: 700 10px/1 "Oswald", sans-serif;
}

.intervene-button {
  margin-top: 9px;
  color: #6d3532;
  background: #e3cdb6;
  border-color: #9d6f61;
}

.acquisition-card,
.property-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fffaf0;
  border: 2px solid #b9aa8f;
}

.acquisition-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff6df;
  font: 700 13px/1 "Oswald", sans-serif;
  background: #c34f42;
  border: 2px solid #33393a;
}

.acquisition-card strong,
.acquisition-card small,
.acquisition-card p,
.property-card strong,
.property-card small {
  display: block;
}

.acquisition-card strong,
.property-card strong {
  font: 600 11px/1.2 "Oswald", sans-serif;
}

.acquisition-card small,
.property-card small {
  margin-top: 4px;
  color: #726c60;
  font-size: 8px;
  line-height: 1.35;
}

.acquisition-card p {
  margin: 6px 0 0;
  color: #4d726b;
  font-size: 8px;
}

.acquisition-card button,
.property-card button {
  width: auto;
  min-width: 78px;
}

.property-card {
  grid-template-columns: minmax(0,1fr) auto;
}

.era-list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.era-row {
  display: grid;
  grid-template-columns: 45px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  opacity: .64;
  background: #e2d7c1;
  border: 1px solid #baac94;
}

.era-row.owned {
  opacity: 1;
  background: #fffaf0;
  border-left: 5px solid #4d827a;
}

.era-row > span {
  color: #9c433d;
  font: 700 11px/1 "Oswald", sans-serif;
}

.era-row strong,
.era-row small {
  display: block;
}

.era-row strong {
  font: 600 10px/1.2 "Oswald", sans-serif;
}

.era-row small {
  margin-top: 4px;
  color: #756f63;
  font-size: 7px;
}

.era-row > b {
  font: 700 7px/1 "Oswald", sans-serif;
}

.era-progress {
  height: 3px;
  margin-top: 6px;
  background: #c6b9a2;
}

.era-progress i {
  display: block;
  height: 100%;
  background: #d0a048;
}

.owned-property {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.owned-property > span {
  padding: 6px 8px;
  color: #fff5df;
  font-size: 8px;
  background: #516d6a;
  border: 1px solid #293638;
}

.newsroom-result .result-grid {
  margin-top: 5px;
}

.publication-consequence {
  margin: 17px 24px;
  padding: 14px;
  background: #fffaf0;
  border: 2px solid #b5a68d;
  border-left: 6px solid #4e8578;
}

.publication-consequence.failure {
  border-left-color: #bd4e43;
}

.publication-consequence span,
.publication-consequence strong,
.publication-consequence small {
  display: block;
}

.publication-consequence span {
  color: #8d403b;
  font: 700 8px/1 "Oswald", sans-serif;
  letter-spacing: .12em;
}

.publication-consequence strong {
  margin-top: 7px;
  font: 700 15px/1.3 "Libre Caslon Text", serif;
}

.publication-consequence small {
  margin-top: 8px;
  color: #726d62;
  font-size: 8px;
}

@media (max-width: 590px) {
  .phase-idle .game-layout {
    display: flex;
    flex-direction: column;
  }

  .phase-idle .manager {
    order: -1;
  }

  .toast {
    display: none;
  }

  .newsroom-office {
    min-height: 590px;
  }

  .newsroom-office .office-wall {
    inset: 0 0 50% 0;
  }

  .newsroom-office .office-floor {
    inset: 50% 0 0;
  }

  .newsroom-office .office-status {
    top: calc(50% - 29px);
  }

  .newsroom-office .staff-grid {
    bottom: 46px;
  }

  .newsroom-office .staff-label {
    right: 58px;
  }

  .newsroom-office .role-button {
    width: 57px;
    font-size: 7px;
  }

  .newsroom-office .morale.fatigue {
    right: 63px;
  }

  .pixel-typewriter {
    right: 11px;
    transform: scale(.78);
    transform-origin: bottom right;
  }

  .desk-heading h3 {
    font-size: 21px;
  }

  .lead-card h3 {
    font-size: 17px;
  }

  .story-dossier h3 {
    font-size: 22px;
  }

  .holding-row {
    grid-template-columns: auto minmax(0,1fr);
  }

  .holding-row dl {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-align: left;
  }

  .holding-row dd {
    margin-right: 9px;
  }

  .acquisition-card,
  .property-card {
    grid-template-columns: auto minmax(0,1fr);
  }

  .acquisition-card button,
  .property-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .era-row {
    grid-template-columns: 39px minmax(0,1fr);
  }

  .era-row > b {
    grid-column: 2;
  }

  .publication-consequence {
    margin: 14px 17px;
  }
}

/* Team refinement: local markets, autosave, and compact mobile production */

.mobile-production-panel {
  display: none;
}

.market-city-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin: 13px 0;
}

.market-city-tabs button {
  min-height: 34px;
  padding: 6px 3px;
  color: #5f5a50;
  font: 700 8px/1 "Oswald", sans-serif;
  background: #e4d8c2;
  border: 2px solid #a89980;
}

.market-city-tabs button.active {
  color: #fff7e4;
  background: #4b8278;
  border-color: #263336;
}

.competitor-list article > div p {
  margin: 5px 0 0;
  color: #765e4f;
  font-size: 7px;
  line-height: 1.35;
}

.competitor-list em.negative {
  color: #ae453f !important;
}

.acquisition-card em {
  display: block;
  margin-top: 5px;
  color: #8b483f;
  font: normal 700 7px/1.35 "DM Mono", monospace;
}

.finance-chart small {
  min-height: 16px;
  white-space: normal;
  line-height: 1.2;
}

.campaign-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 10px;
  background: #eee3cf;
  border: 2px solid #b4a58b;
}

.campaign-controls strong,
.campaign-controls small {
  display: block;
}

.campaign-controls strong {
  font: 700 10px/1 "Oswald", sans-serif;
}

.campaign-controls small {
  margin-top: 4px;
  color: #6c655a;
  font-size: 7px;
}

.campaign-controls button,
.continue-actions > button:not(.primary-button) {
  min-height: 34px;
  padding: 7px 9px;
  color: #fff7e4;
  font: 700 8px/1 "Oswald", sans-serif;
  background: #4c7972;
  border: 2px solid #273336;
}

.campaign-controls button.danger,
.continue-actions > button:not(.primary-button) {
  background: #a44d45;
}

.continue-actions {
  display: grid;
  gap: 9px;
  margin-top: 19px;
}

@media (max-width: 590px) {
  .phase-production .game-layout {
    display: flex;
    flex-direction: column;
  }

  .phase-production .manager {
    order: -1;
  }

  .mobile-production-panel {
    display: block;
    margin: 12px 0;
    padding: 10px;
    background: #e8ddc8;
    border: 2px solid #aa9b82;
  }

  .mobile-report-banner {
    padding: 8px;
    color: #f8efdc;
    font-size: 9px;
    line-height: 1.45;
    background: #243136;
    border-left: 4px solid #c55146;
  }

  .mobile-coverage {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 6px;
    font: 700 10px/1 "Oswald", sans-serif;
    text-transform: uppercase;
  }

  .mobile-reporter-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .mobile-reporter-strip button {
    min-height: 52px;
    padding: 7px 3px;
    color: #3f4949;
    background: #fff8e9;
    border: 2px solid #827762;
  }

  .mobile-reporter-strip button.assigned {
    color: #172329;
    background: #e0ad4e;
    border-color: #283336;
  }

  .mobile-reporter-strip span,
  .mobile-reporter-strip small {
    display: block;
  }

  .mobile-reporter-strip span {
    font: 700 10px/1 "Oswald", sans-serif;
  }

  .mobile-reporter-strip small {
    margin-top: 5px;
    font-size: 7px;
  }

  .mobile-next-action {
    margin-top: 7px;
  }

  .mobile-next-action .primary-button {
    width: 100%;
    min-height: 48px;
  }

  .manager-tabs button,
  .market-city-tabs button,
  .lead-card button,
  .staff-upgrade-list button,
  .decor-upgrade button,
  .campaign-controls button {
    min-height: 44px;
  }

  .manager-scroll {
    font-size: 11px;
  }

  .lead-card header > span,
  .lead-meta span,
  .lead-consequence b,
  .lead-consequence span,
  .competitor-list small,
  .competitor-list article > div p,
  .finance-ledger small,
  .market-kpis small {
    font-size: 8px;
  }

  .campaign-controls {
    grid-template-columns: 1fr 1fr;
  }

  .campaign-controls > div {
    grid-column: 1 / -1;
  }

  .finance-chart small {
    font-size: 6px;
  }
}
