:root {
  color-scheme: light;
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --slate-950: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange-500: #f59e0b;
  --orange-100: #fef3c7;
  --red-700: #b91c1c;
  --red-100: #fee2e2;
  --red-50: #fef2f2;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
  --shadow-small: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f6faf8 0, var(--slate-50) 52%, #f4f7f6 100%);
  color: var(--slate-800);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.app-header {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(16, 185, 129, 0.18), transparent 28%),
    linear-gradient(135deg, var(--emerald-950), var(--emerald-800) 58%, #0f766e);
  color: var(--white);
}

.app-header::after {
  position: absolute;
  right: -80px;
  bottom: -128px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025), 0 0 0 104px rgba(255, 255, 255, 0.018);
  content: "";
}

.header-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.header-glow-one {
  top: -110px;
  left: 46%;
  width: 300px;
  height: 300px;
  background: rgba(52, 211, 153, 0.08);
}

.header-glow-two {
  right: 18%;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.045);
}

.header-shell {
  position: relative;
  z-index: 1;
  padding: 26px 0 96px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 0.86rem;
  letter-spacing: 0.11em;
}

.brand-lockup small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.date-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 44, 34, 0.42);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.date-chip svg {
  width: 18px;
  height: 18px;
  color: #6ee7b7;
}

.hero-copy {
  max-width: 780px;
  margin-top: 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 19px;
  height: 19px;
}

.hero-copy h1 {
  margin: 12px 0 7px;
  font-size: clamp(2.45rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.rule-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.rule-pills span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 650;
}

.main-content {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  padding-bottom: 56px;
}

.card {
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.input-card {
  padding: clamp(22px, 4vw, 38px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--slate-200);
}

.section-heading h2,
.report-heading h2,
.workload-heading h2 {
  margin: 2px 0 0;
  color: var(--slate-950);
  font-size: clamp(1.28rem, 3vw, 1.62rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--slate-500);
  font-size: 0.94rem;
}

.section-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.section-icon svg {
  width: 25px;
  height: 25px;
}

.step-label {
  display: block;
  color: var(--emerald-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin-top: 28px;
}

.field label {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 750;
}

.field-letter {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-size: 0.74rem;
  font-weight: 900;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > svg {
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 21px;
  height: 21px;
  color: var(--slate-500);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  min-height: 56px;
  padding: 12px 70px 12px 46px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--white);
  color: var(--slate-950);
  font-size: 1.05rem;
  font-weight: 720;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.input-wrap input::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
}

.input-wrap input:hover {
  border-color: #94a3b8;
}

.input-wrap input:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13);
}

.field.is-invalid input {
  border-color: #dc2626;
  background: var(--red-50);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.input-suffix {
  position: absolute;
  right: 14px;
  color: var(--slate-500);
  font-size: 0.8rem;
  font-weight: 700;
  pointer-events: none;
}

.field > small {
  display: block;
  margin-top: 7px;
  color: var(--slate-500);
  font-size: 0.79rem;
}

.error-box {
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  background: var(--red-50);
  color: var(--red-700);
  font-size: 0.9rem;
  font-weight: 680;
}

.error-box:not([hidden]) {
  display: flex;
}

.error-box svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.28);
  outline-offset: 2px;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-primary {
  min-width: 210px;
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.25);
  color: var(--white);
}

.button-primary:hover {
  box-shadow: 0 13px 26px rgba(5, 150, 105, 0.31);
}

.button-secondary,
.button-action {
  border-color: var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
}

.button-secondary:hover,
.button-action:hover {
  border-color: #94a3b8;
  background: var(--slate-50);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: var(--slate-500);
  font-size: 0.79rem;
}

.privacy-note svg {
  width: 17px;
  height: 17px;
  color: var(--emerald-700);
}

.results {
  margin-top: 26px;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 17px 20px;
  border: 1px solid;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-small);
}

.status-banner > span:last-child,
.status-banner strong,
.status-banner span span {
  display: block;
}

.status-banner strong {
  font-size: 0.9rem;
  letter-spacing: 0.045em;
}

.status-banner span span {
  margin-top: 2px;
  font-size: 0.87rem;
}

.status-qualified {
  border-color: #a7f3d0;
  background: linear-gradient(90deg, var(--emerald-50), #f3fff9);
  color: var(--emerald-900);
}

.status-neutral {
  border-color: var(--slate-300);
  background: linear-gradient(90deg, var(--slate-50), var(--white));
  color: var(--slate-700);
}

.status-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald-700);
  color: var(--white);
}

.status-neutral .status-icon {
  background: var(--slate-600);
}

.status-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.4;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.hero-result-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 44px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700) 70%, #0f766e);
  box-shadow: 0 24px 55px rgba(4, 120, 87, 0.23);
  color: var(--white);
}

.result-card-pattern {
  position: absolute;
  right: -74px;
  bottom: -86px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.022);
}

.result-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a7f3d0;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.result-label svg {
  width: 20px;
  height: 20px;
}

.time-result {
  position: relative;
  margin-top: 18px;
  font-size: clamp(2.05rem, 6vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.decimal-result {
  position: relative;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 650;
}

.decimal-result span {
  color: var(--white);
  font-weight: 850;
}

.result-divider {
  position: relative;
  width: min(340px, 65%);
  height: 1px;
  margin: 24px 0 14px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-result-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.hero-result-card p strong {
  color: var(--white);
}

.total-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  gap: 18px;
  padding: 30px;
}

.mini-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 17px;
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.mini-icon svg {
  width: 28px;
  height: 28px;
}

.total-card span,
.total-card strong,
.total-card small {
  display: block;
}

.total-card span {
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.105em;
}

.total-card strong {
  margin-top: 9px;
  color: var(--slate-950);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.total-card small {
  margin-top: 9px;
  color: var(--slate-500);
  font-size: 0.84rem;
}

.total-card small b {
  color: var(--emerald-700);
}

.report-card,
.workload-card {
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.report-heading,
.workload-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.report-date {
  min-width: 126px;
  padding: 10px 13px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--slate-50);
  text-align: right;
}

.report-date span,
.report-date strong {
  display: block;
}

.report-date span {
  color: var(--slate-500);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.report-date strong {
  margin-top: 2px;
  color: var(--slate-800);
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--emerald-900);
  color: var(--white);
}

th,
td {
  padding: 13px 17px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9rem;
}

thead th {
  border-bottom: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

th {
  text-align: left;
}

tbody th {
  color: var(--slate-600);
  font-weight: 620;
}

td,
thead th:last-child {
  text-align: right;
}

td {
  color: var(--slate-900);
  font-weight: 800;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.highlight-row {
  background: var(--emerald-50);
}

.highlight-row td {
  color: var(--emerald-800);
}

.percentage-badge {
  min-width: 90px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.percentage-badge.is-over {
  background: var(--orange-100);
  color: #92400e;
}

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

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 9px;
  padding: 15px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  background: var(--slate-50);
}

.metric span:not(.metric-dot) {
  color: var(--slate-500);
  font-size: 0.76rem;
  font-weight: 700;
}

.metric strong {
  grid-column: 2;
  color: var(--slate-900);
  font-size: 1.05rem;
}

.metric-dot {
  width: 10px;
  height: 10px;
  grid-row: 1 / span 2;
  border-radius: 50%;
}

.capacity-dot {
  background: var(--slate-500);
}

.workload-dot {
  background: var(--emerald-600);
}

.overtime-dot {
  background: var(--orange-500);
}

.progress-block {
  margin-top: 26px;
  padding: 2px 2px 0;
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 700;
}

.progress-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 20px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--slate-100);
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.07);
}

.progress-normal,
.progress-overtime {
  display: block;
  height: 100%;
  transition: width 420ms ease;
}

.progress-normal {
  background: linear-gradient(90deg, var(--emerald-700), var(--emerald-500));
}

.progress-overtime {
  background: linear-gradient(90deg, var(--orange-500), #fb923c);
}

.capacity-marker {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: var(--slate-950);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75);
  transform: translateX(-1px);
}

.progress-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 13px;
  color: var(--slate-500);
  font-size: 0.76rem;
}

.progress-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.progress-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-normal {
  background: var(--emerald-600);
}

.legend-overtime {
  background: var(--orange-500);
}

.workload-summary {
  margin: 21px 0 0;
  padding: 13px 15px;
  border-left: 4px solid var(--emerald-600);
  border-radius: 0 9px 9px 0;
  background: var(--emerald-50);
  color: var(--emerald-900);
  font-size: 0.87rem;
  font-weight: 650;
}

.workload-summary.is-over {
  border-left-color: var(--orange-500);
  background: #fff7ed;
  color: #9a3412;
}

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  background: #f0f9ff;
  color: #0c4a6e;
}

.notice-card > svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.notice-card strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
}

.notice-card p {
  margin: 5px 0 0;
  color: #075985;
  font-size: 0.83rem;
  line-height: 1.65;
}

.result-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 20px;
}

.button-whatsapp {
  border-color: #16a34a;
  background: #16a34a;
  color: var(--white);
}

.button-whatsapp:hover {
  background: #15803d;
}

footer {
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.footer-inner {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 24px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner strong {
  color: var(--emerald-800);
  font-size: 0.9rem;
  letter-spacing: 0.075em;
}

.footer-inner span,
.footer-inner p {
  margin: 3px 0 0;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 32px));
  padding: 13px 17px;
  border-radius: 12px;
  background: var(--slate-950);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .fields-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .field label {
    min-height: 0;
  }

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

  .total-card {
    min-height: 150px;
  }

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

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 22px, 1120px);
  }

  .app-header {
    min-height: 420px;
  }

  .header-shell {
    padding-top: 18px;
  }

  .brand-lockup small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-lockup strong {
    font-size: 0.76rem;
  }

  .date-chip {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .date-chip svg {
    display: none;
  }

  .hero-copy {
    margin-top: 52px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .rule-pills span {
    font-size: 0.72rem;
  }

  .main-content {
    margin-top: -50px;
  }

  .input-card,
  .report-card,
  .workload-card {
    border-radius: 19px;
  }

  .section-heading {
    gap: 12px;
  }

  .section-icon {
    width: 42px;
    height: 42px;
  }

  .section-heading p {
    font-size: 0.84rem;
  }

  .form-actions,
  .report-heading,
  .workload-heading {
    flex-direction: column;
  }

  .form-actions .button,
  .result-actions .button {
    width: 100%;
  }

  .report-heading,
  .workload-heading {
    align-items: stretch;
  }

  .report-date {
    width: 100%;
    text-align: left;
  }

  .status-banner {
    align-items: flex-start;
  }

  .time-result {
    font-size: 2.38rem;
  }

  .result-grid {
    gap: 14px;
  }

  .hero-result-card {
    min-height: 245px;
  }

  .total-card {
    padding: 24px;
  }

  th,
  td {
    padding: 12px 13px;
    font-size: 0.82rem;
  }

  tbody th {
    width: 64%;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .toast {
    right: 11px;
    bottom: 11px;
    left: 11px;
    max-width: none;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 13mm;
  }

  body {
    background: var(--white);
    color: #000;
    font-size: 11pt;
  }

  .app-header,
  .input-card,
  .result-actions,
  .toast,
  footer {
    display: none !important;
  }

  .page-shell {
    width: 100%;
  }

  .main-content {
    margin: 0;
    padding: 0;
  }

  .results {
    margin: 0;
  }

  .card,
  .status-banner,
  .hero-result-card,
  .notice-card {
    break-inside: avoid;
    box-shadow: none;
  }

  .hero-result-card {
    min-height: auto;
    background: var(--emerald-900) !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .result-grid {
    grid-template-columns: 1.35fr 0.9fr;
  }

  .report-card,
  .workload-card {
    margin-top: 12px;
    padding: 20px;
  }

  .notice-card {
    margin-top: 12px;
  }

  .status-banner {
    margin-bottom: 12px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
