@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Inter:wght@400;600;700;800;900&family=Kalam:wght@700&display=swap");

:root {
  --cream: #fff8ec;
  --paper: #fffdf6;
  --ink: #221b14;
  --green: #075f2f;
  --green-2: #0a7a3d;
  --red: #d9262e;
  --blue: #0750aa;
  --yellow: #f5b800;
  --gold: #f0a400;
  --leaf: #77b255;
  --muted: #736456;
  --line: rgba(34, 27, 20, 0.16);
  --shadow: 0 18px 48px rgba(33, 25, 13, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 12%, rgba(245, 184, 0, 0.18), transparent 20rem),
    radial-gradient(circle at 92% 8%, rgba(7, 80, 170, 0.10), transparent 18rem),
    var(--cream);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.print-view {
  background: #fff;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn,
.icon-btn {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-bg {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header,
.dash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.25rem);
  background: rgba(255, 248, 236, 0.9);
  border-bottom: 1px solid rgba(7, 95, 47, 0.12);
  backdrop-filter: blur(16px);
}

.dash-header {
  background: rgba(8, 45, 29, 0.94);
  color: #fff8ec;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.menu-toggle,
.dash-menu-toggle,
.icon-btn {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(7, 95, 47, 0.08);
}

.menu-toggle span,
.dash-menu-toggle span {
  display: block;
  width: 1.45rem;
  height: 0.18rem;
  background: currentColor;
  border-radius: 99px;
  box-shadow: 0 0.42rem 0 currentColor, 0 -0.42rem 0 currentColor;
}

.top-actions {
  display: flex;
  gap: 0.75rem;
}

.top-actions .icon-btn {
  color: var(--green);
  background: var(--yellow);
  border: 2px solid var(--green);
}

.top-actions .account {
  color: #fff;
  background: var(--green);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--yellow);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.brand-mark::before {
  bottom: 0.3rem;
  width: 0.42rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.brand-mark::after {
  top: 0.35rem;
  width: 2.45rem;
  height: 1.35rem;
  border: 0.3rem solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: transparent;
  box-shadow:
    -0.55rem 0.38rem 0 -0.16rem currentColor,
    0.55rem 0.38rem 0 -0.16rem currentColor,
    0 0.62rem 0 -0.16rem currentColor;
}

.brand-name {
  display: grid;
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 900;
}

.brand-name b:nth-child(1) {
  color: var(--green);
}

.brand-name b:nth-child(2) {
  color: var(--red);
}

.brand-name b:nth-child(3) {
  color: var(--blue);
  letter-spacing: 0.34em;
  font-size: 0.82em;
}

.brand-mini {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: min(360px, 88vw);
  transform: translateX(-105%);
  transition: transform 180ms ease;
  padding: 1.25rem;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.drawer-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 1.4rem;
}

.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.drawer a::after {
  content: "->";
  color: var(--yellow);
}

.float-ctas {
  position: fixed;
  right: clamp(0.8rem, 2.4vw, 1.5rem);
  bottom: clamp(0.8rem, 2.4vw, 1.5rem);
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: min(15rem, calc(100vw - 1.6rem));
}

.float-ctas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid rgba(0, 0, 0, 0.18);
}

body:not(.print-view) #app {
  padding-top: 0;
}

.float-ctas .employee {
  background: #ff941a;
  box-shadow: 0 0 16px rgba(255, 148, 26, 0.92), 0 0 32px rgba(255, 148, 26, 0.52);
}

.float-ctas .client {
  background: #ff2a2a;
  box-shadow: 0 0 16px rgba(255, 42, 42, 0.92), 0 0 32px rgba(255, 42, 42, 0.52);
}

.float-ctas .back {
  background: #34ff66;
  box-shadow: 0 0 16px rgba(52, 255, 102, 0.92), 0 0 32px rgba(52, 255, 102, 0.52);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(1.2rem, 3.5vw, 3.25rem);
  align-items: center;
  min-height: calc(100vh - 5.3rem);
  padding: clamp(1.4rem, 4vw, 4rem) clamp(1rem, 5vw, 5rem) 2rem;
}

.hero::before,
.pattern-band::before,
.footer-band::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1rem;
  background:
    repeating-linear-gradient(45deg, var(--red) 0 0.75rem, transparent 0.75rem 1.45rem),
    repeating-linear-gradient(-45deg, var(--blue) 0 0.75rem, var(--yellow) 0.75rem 1.45rem);
  opacity: 0.85;
}

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

.display-title {
  margin: 1rem 0 0.8rem;
  color: var(--green);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.93;
  font-weight: 900;
}

.display-title .red {
  color: var(--red);
}

.display-title .blue-spaced {
  display: block;
  color: var(--blue);
  letter-spacing: 0.32em;
  font-size: 0.58em;
}

.eyebrow {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
}

.paint-line {
  width: 5rem;
  height: 0.32rem;
  margin: 1.35rem 0;
  background: var(--yellow);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1;
  font-weight: 900;
}

.hero h1 {
  max-width: 10ch;
}

.hero p,
.page-hero p {
  max-width: 34rem;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.55;
}

.script {
  color: var(--red);
  font-family: Kalam, cursive;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.82rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  color: #07180f;
  background: var(--yellow);
  box-shadow: 0 9px 18px rgba(245, 184, 0, 0.28);
}

.btn.green {
  color: #fff;
  background: var(--green);
}

.btn.red {
  color: #fff;
  background: var(--red);
}

.btn.blue {
  color: #fff;
  background: var(--blue);
}

.btn.ghost {
  color: var(--green);
  background: transparent;
  border: 2px solid currentColor;
  box-shadow: none;
}

.hero-art {
  position: relative;
  min-height: min(48rem, 78vh);
}

.photo-collage {
  position: absolute;
  inset: 0;
}

.photo {
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.photo.market {
  inset: 8% 8% 28% 13%;
  background-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Yams_from_Akim_Market_Calabar1.jpg");
  transform: rotate(-2deg);
}

.photo.plantains {
  right: 0;
  top: 0;
  width: 43%;
  height: 40%;
  background-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Plaintain.jpg");
  transform: rotate(4deg);
}

.photo.peppers {
  right: 4%;
  bottom: 4%;
  width: 50%;
  height: 34%;
  background-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Tomato_and_pepper_seller.jpg");
  transform: rotate(3deg);
}

.photo.rice {
  left: 0;
  bottom: 11%;
  width: 39%;
  height: 34%;
  background-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Nigerian_Tomato.jpg");
  transform: rotate(-4deg);
}

.round-badge {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(8rem, 14vw, 12rem);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1.2rem;
  text-align: center;
  color: #fff;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.38), var(--shadow);
}

.round-badge b {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--yellow);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.badge-produce {
  right: 1rem;
  top: 45%;
}

.badge-staples {
  left: 0;
  bottom: 0;
  background: var(--green);
}

.badge-frozen {
  left: 34%;
  bottom: 0;
  background: var(--red);
}

.badge-weekend {
  right: 22%;
  bottom: 1%;
  color: var(--green);
  background: var(--yellow);
}

.section {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section.tight {
  padding-top: 2rem;
}

.section-heading {
  max-width: 44rem;
  margin: 0 0 2rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-family: Abril Fatface, Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.brush-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.brush-card,
.soft-panel,
.form-panel,
.dash-panel,
.record-card,
.portal-card {
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 14px 38px rgba(33, 25, 13, 0.10);
}

.brush-card {
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 236, 0.92)),
    var(--paper);
}

.brush-card .icon {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 1.7rem;
}

.brush-card:nth-child(2) .icon,
.brush-card:nth-child(4) .icon {
  background: var(--yellow);
  color: var(--green);
}

.brush-card:nth-child(3) .icon {
  background: var(--blue);
}

.brush-card h3 {
  margin: 0 0 0.55rem;
  color: var(--green);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.brush-card p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
}

.soft-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
}

.paint-panel {
  border-radius: 8px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 95, 47, 0.95), rgba(7, 80, 170, 0.9)),
    var(--green);
}

.paint-panel.yellow {
  color: var(--ink);
  background: linear-gradient(135deg, #f7c622, #f0a400);
}

.paint-panel.red {
  background: linear-gradient(135deg, #d9262e, #9f1622);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-strip .photo-tile {
  min-height: 18rem;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.page-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.page-hero .image-panel {
  min-height: clamp(24rem, 56vw, 43rem);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.about-image {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/BOLE_in_Nigeria_01.jpg");
}

.services-image {
  background-image:
    linear-gradient(to bottom, rgba(255, 248, 236, 0.04), rgba(0, 0, 0, 0.10)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Bunch_of_plantain.jpg");
}

.contact-image {
  background-image:
    linear-gradient(to bottom, rgba(255, 248, 236, 0.1), rgba(0, 0, 0, 0.14)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Oshodi_market_lagos.jpg");
}

.booking-image {
  background-image:
    linear-gradient(to bottom, rgba(255, 248, 236, 0.1), rgba(0, 0, 0, 0.12)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Boli-plantain.jpg");
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(34, 27, 20, 0.18);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-panel {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
}

.field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.notice {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: var(--green);
  background: rgba(7, 95, 47, 0.1);
  font-weight: 800;
}

.footer-band {
  position: relative;
  padding: 3rem clamp(1rem, 5vw, 5rem) 4rem;
  color: var(--ink);
  background: var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 1.5rem;
  max-width: 1180px;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.6rem;
  color: var(--green);
}

.footer-grid p {
  margin: 0.2rem 0;
}

.portal-shell,
.dash-shell {
  min-height: calc(100vh - 5.3rem);
  padding: clamp(1rem, 4vw, 3rem);
}

.portal-hero,
.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: 1.4rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.access-card {
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: var(--shadow);
}

.access-card h1 {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.portal-card-grid,
.dashboard-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.portal-card {
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
}

.portal-card h3 {
  margin: 0.7rem 0 0.45rem;
  color: var(--green);
}

.portal-card .icon,
.metric-card .icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
}

.portal-card:nth-child(2) .icon,
.portal-card:nth-child(4) .icon {
  background: var(--yellow);
  color: var(--green);
}

.portal-card:nth-child(3) .icon {
  background: var(--blue);
}

.dash-shell {
  color: #edf7ef;
  background:
    linear-gradient(135deg, rgba(6, 44, 25, 0.96), rgba(9, 75, 49, 0.94)),
    var(--green);
}

.dash-shell a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(245, 184, 0, 0.7);
  text-underline-offset: 0.18rem;
}

.dash-title {
  max-width: 1180px;
  margin: 0 auto 1.25rem;
}

.dash-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.dash-title p {
  color: rgba(255, 248, 236, 0.78);
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.dash-panel {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  background: rgba(255, 253, 246, 0.96);
}

.dash-panel.dark {
  color: #fff;
  background: rgba(3, 25, 15, 0.62);
}

.dash-panel h2,
.dash-panel h3 {
  margin-top: 0;
  color: var(--green);
}

.dash-panel.dark h2,
.dash-panel.dark h3 {
  color: var(--yellow);
}

.schedule-wrap {
  overflow-x: auto;
}

.schedule-board,
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.schedule-board th,
.schedule-board td,
.data-table th,
.data-table td {
  padding: 0.75rem;
  border: 1px solid rgba(34, 27, 20, 0.12);
  text-align: left;
  vertical-align: top;
}

.schedule-board th,
.data-table th {
  color: var(--green);
  background: rgba(245, 184, 0, 0.18);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.status-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  min-height: 2.25rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.status-off {
  background: var(--red);
}

.status-on {
  background: var(--green-2);
}

.status-call {
  background: var(--blue);
}

.exact-note {
  display: block;
  margin-top: 0.42rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.record-list {
  display: grid;
  gap: 0.72rem;
  max-height: 32rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.record-card {
  padding: 0.95rem;
  border: 1px solid var(--line);
}

.record-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: var(--green);
  background: rgba(7, 95, 47, 0.1);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.red {
  color: var(--red);
  background: rgba(217, 38, 46, 0.12);
}

.pill.blue {
  color: var(--blue);
  background: rgba(7, 80, 170, 0.12);
}

.map-board {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border-radius: 8px;
  background: #ebe6d6;
}

.map-board iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-pin {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -100%);
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  color: var(--ink);
  font-weight: 900;
  text-shadow: 0 1px 0 #fff;
}

.map-pin::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  transform: rotate(-45deg);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}

.map-pin.green::before {
  background: var(--green);
}

.map-pin.blue::before {
  background: var(--blue);
}

.metric-card {
  min-height: 10rem;
  padding: 1rem;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--green);
  font-size: 1.8rem;
}

.bar {
  height: 0.78rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(34, 27, 20, 0.12);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

.invoice-paper {
  width: min(860px, calc(100vw - 2rem));
  margin: 2rem auto;
  padding: 2rem;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 2px solid #111;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.invoice-title {
  margin: 0;
  font-size: 2rem;
}

.invoice-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.print-table th,
.print-table td {
  padding: 0.65rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.signature-line {
  margin-top: 3rem;
  border-top: 1px solid #111;
  padding-top: 0.5rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .feature-row,
  .split,
  .portal-hero,
  .login-panel,
  .dash-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 38rem;
  }

  .brush-grid,
  .portal-card-grid,
  .dashboard-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header,
  .dash-header {
    padding-inline: 0.8rem;
  }

  .brand-mini {
    display: none;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .top-actions {
    gap: 0.42rem;
  }

  .icon-btn,
  .menu-toggle,
  .dash-menu-toggle {
    width: 2.72rem;
    height: 2.72rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-art {
    min-height: 0;
  }

  .photo-collage {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .photo {
    position: relative;
    inset: auto !important;
    width: auto !important;
    height: 11rem !important;
    transform: none !important;
    border-width: 5px;
  }

  .photo.market {
    grid-column: 1 / -1;
    height: 15rem !important;
  }

  .round-badge {
    position: relative;
    inset: auto !important;
    width: 100%;
    min-height: 9.4rem;
    aspect-ratio: 1;
    padding: 0.78rem;
    font-size: 0.8rem;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.34), 0 8px 18px rgba(33, 25, 13, 0.14);
  }

  .round-badge b {
    font-size: 0.95rem;
  }

  .brush-grid,
  .portal-card-grid,
  .dashboard-grid,
  .metric-grid,
  .photo-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .float-ctas {
    right: 0.55rem;
    bottom: 0.55rem;
    transform: none;
    width: min(13.5rem, calc(100vw - 1.1rem));
    grid-template-columns: 1fr;
  }

  .float-ctas a {
    min-height: 2.35rem;
    font-size: 0.7rem;
  }

  body:not(.print-view) #app {
    padding-top: 0;
  }

  .invoice-head {
    display: block;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  .invoice-actions,
  .float-ctas,
  .site-header,
  .dash-header,
  .drawer {
    display: none !important;
  }

  .invoice-paper {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
