:root {
  --ink: #1d2733;
  --muted: #667382;
  --line: #d8e0e7;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --accent: #0b7a75;
  --accent-2: #b42318;
  --blue: #1f5f99;
  --warning: #9a3412;
  --shadow: 0 10px 28px rgba(20, 34, 45, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbfd 0, #edf3f6 270px, #e7eef2 100%);
  font-family: "Nirmala UI", "Segoe UI", Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

body.auth-locked .shell,
body.auth-locked .app-modal,
body.auth-locked .receipt-modal {
  display: none;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, #f8fbfd 0, #edf3f6 270px, #e7eef2 100%);
}

.login-shell {
  width: min(100%, 430px);
}

.login-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.login-brand {
  margin-bottom: 22px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-error {
  margin: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.secondary-login {
  color: var(--ink);
  background: #edf3f7;
  border: 1px solid var(--line);
}

.public-waterworks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8fcff 0, #eef8fc 46%, #e4f2f8 100%);
}

.public-waterworks-shell {
  width: min(100%, 1220px);
  min-height: 100vh;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  color: #10263a;
}

.public-waterworks-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #c9dde8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(25, 70, 102, 0.09);
}

.public-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: #0b7a75;
  font-weight: 900;
}

.public-waterworks-header strong,
.public-waterworks-header span {
  display: block;
}

.public-waterworks-header strong {
  color: #082a60;
  font-size: 20px;
}

.public-waterworks-header span {
  margin-top: 2px;
  color: #607184;
  font-size: 13px;
  font-weight: 700;
}

.public-login-link {
  margin-left: auto;
  padding: 11px 14px;
  border-radius: 8px;
  color: #fff;
  background: #0b7a75;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.public-waterworks-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 118px);
  padding: 28px;
  border: 1px solid #c7ddea;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(226, 245, 252, 0.92)),
    radial-gradient(circle at 15% 10%, rgba(24, 118, 183, 0.18), transparent 34%);
  box-shadow: 0 18px 45px rgba(25, 70, 102, 0.16);
}

.public-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.public-waterworks-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #082a60;
  font-size: 54px;
  line-height: 1.12;
}

.public-waterworks-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #263f56;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.55;
}

.public-waterworks-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 9px 13px;
  border: 1px solid #b8d7e8;
  border-radius: 999px;
  color: #0a6260;
  background: #e8fbf7;
  font-size: 14px;
  font-weight: 800;
}

.public-hero-image {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #b5d3e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 50, 74, 0.12);
}

.public-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.public-waterworks-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.public-waterworks-actions a {
  padding: 13px 17px;
  border-radius: 8px;
  color: #fff;
  background: #0b7a75;
  font-weight: 800;
  text-decoration: none;
}

.public-waterworks-actions a + a {
  color: #0c3568;
  background: #fff;
  border: 1px solid #b5d3e7;
}

.public-notice-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid #bdd8e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 70, 102, 0.12);
}

.public-notice-text h2 {
  margin: 0 0 8px;
  color: #b42318;
  font-size: 28px;
}

.public-notice-text p {
  margin: 8px 0;
  color: #18334d;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.public-notice-text strong {
  display: inline-block;
  margin: 3px 6px 3px 0;
  padding: 5px 8px;
  border-radius: 8px;
  color: #082a60;
  background: #eaf6ff;
  font-size: 20px;
}

.public-save-line {
  min-width: 270px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: #0b7a75;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.public-waterworks-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 22px;
}

.public-waterworks-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #bdd8e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 70, 102, 0.12);
}

.public-waterworks-gallery img {
  width: 100%;
  display: block;
}

.public-waterworks-gallery figcaption {
  padding: 12px 14px;
  color: #082a60;
  border-top: 1px solid #d8eaf4;
  background: #f8fcfe;
  font-size: 17px;
  font-weight: 900;
}

.public-official-page {
  width: min(100%, 1200px);
}

.public-header-title {
  min-width: 0;
}

.official-main-flash {
  position: relative;
  overflow: hidden;
  border: 1px solid #c9dde8;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0, #f6fbfe 100%);
  box-shadow: 0 14px 34px rgba(25, 70, 102, 0.1);
}

.official-main-flash::before {
  content: "ਮੁੱਖ ਸੂਚਨਾ";
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 42, 96, 0.92);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 42, 96, 0.2);
}

.official-flash-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 46px 12px 12px;
  animation: waterworksFlash 42s linear infinite;
  will-change: transform;
}

.official-flash-track img {
  width: min(74vw, 380px);
  height: 510px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #d8eaf4;
  border-radius: 10px;
  background: #eef7fb;
  box-shadow: 0 8px 22px rgba(25, 70, 102, 0.11);
}

.official-main-flash:hover .official-flash-track {
  animation-play-state: paused;
}

@keyframes waterworksFlash {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .official-flash-track {
    animation: none;
  }
}

.official-notice-card {
  padding: 22px;
  border: 1px solid #c9dde8;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(11, 122, 117, 0.08), transparent 42%),
    #ffffff;
  box-shadow: 0 10px 26px rgba(25, 70, 102, 0.08);
}

.official-notice-card h1 {
  max-width: 980px;
  margin: 0;
  color: #082a60;
  font-size: 34px;
  line-height: 1.18;
}

.official-notice-card p {
  max-width: 980px;
  margin: 12px 0 0;
  color: #1f3851;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.official-notice-card > strong {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 13px;
  border-radius: 8px;
  color: #0b4d71;
  background: #edf8fd;
  font-size: 17px;
}

.official-story-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #c9dde8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 70, 102, 0.08);
}

.official-section-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #0b7a75;
  background: #e8fbf7;
  font-size: 13px;
  font-weight: 900;
}

.official-story-card h2 {
  margin: 0;
  color: #082a60;
  font-size: 30px;
  line-height: 1.2;
}

.official-story-card p {
  max-width: 1040px;
  margin: 0;
  color: #20384f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.official-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid #c9dde8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(25, 70, 102, 0.12);
}

.official-notice {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 8px 8px 34px 2px;
}

.official-notice h1 {
  max-width: 720px;
  margin: 0;
  color: #082a60;
  font-size: 46px;
  line-height: 1.15;
}

.official-notice p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #1f3851;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.official-location {
  width: fit-content;
  margin-top: 24px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #0b4d71;
  background: #edf8fd;
  font-size: 18px;
  font-weight: 900;
}

.official-poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid #bdd8e9;
  border-radius: 12px;
  background: #f8fcfe;
}

.official-poster img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.official-contact-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #c9dde8;
  border-radius: 12px;
  background: linear-gradient(90deg, #ffffff, #f7fcfe);
  box-shadow: 0 8px 22px rgba(25, 70, 102, 0.08);
}

.official-contact-title span,
.official-contact-title strong {
  display: block;
}

.official-contact-title span {
  color: #b42318;
  font-size: 14px;
  font-weight: 900;
}

.official-contact-title strong {
  margin-top: 3px;
  color: #23384f;
  font-size: 17px;
}

.official-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #0f3f2b;
  background: #e9fbef;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.official-contact-row a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.18);
}

.wa-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  font-size: 10px;
  font-weight: 900;
}

.official-save-panel {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b7a75, #0f5f8a);
  box-shadow: 0 10px 26px rgba(25, 70, 102, 0.14);
}

.official-save-panel strong {
  font-size: 28px;
  line-height: 1.2;
}

.official-save-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 800;
}

.official-gallery {
  display: grid;
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
  gap: 14px;
  padding-bottom: 20px;
}

.official-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #c9dde8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25, 70, 102, 0.08);
}

.official-gallery img {
  width: 100%;
  max-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.official-gallery figcaption {
  padding: 12px 14px;
  color: #082a60;
  border-top: 1px solid #dcecf4;
  background: #f8fcfe;
  font-size: 17px;
  font-weight: 900;
}

button,
input,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
  padding: 22px;
}

.workspace {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.sidebar,
.main-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 20px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.brand h1,
.toolbar h2 {
  font-size: 21px;
  line-height: 1.2;
}

.brand p,
.toolbar p,
.upload small,
.stats small {
  color: var(--muted);
  font-size: 12px;
}

.toolbar .welcome-user {
  display: inline-block;
  margin-top: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e1f5f2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #a7d7d2;
  border-radius: 10px;
  background: #eefaf8;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.upload:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.upload input {
  display: none;
}

.upload-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.settings-field {
  display: none;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.toolbar select:focus,
.receipt-form input:focus,
.receipt-form select:focus,
.editor-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 117, 0.12);
  outline: 0;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 18px 0;
}

.wide-action {
  width: 100%;
  margin-bottom: 14px;
}

.secondary-action {
  background: var(--slate);
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

button:hover:not(:disabled) {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

button:nth-child(2) {
  background: #405066;
}

button:nth-child(3) {
  background: #405066;
}

button:nth-child(4) {
  background: var(--blue);
}

button:nth-child(5) {
  background: var(--warning);
}

button:nth-child(7),
button:nth-child(8) {
  background: #0f766e;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  gap: 10px;
}

.stats div {
  padding: 12px;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  background: var(--soft);
}

.stats span {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.main-panel {
  min-width: 0;
  overflow: hidden;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 18px;
  align-items: end;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
}

.expense-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 0;
  border-bottom: 0;
  background: transparent;
}

.dash-card {
  padding: 14px;
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  background: #fff;
}

.dash-card span,
.selected-title span,
.selected-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-card strong {
  display: block;
  margin-top: 6px;
  color: #142536;
  font-size: 22px;
}

.selected-account {
  margin: 16px 20px;
  padding: 18px;
  border: 1px solid #d2e3e3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f2fbfa);
  box-shadow: 0 8px 22px rgba(20, 34, 45, 0.08);
}

.selected-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.selected-title h2 {
  margin-top: 4px;
  font-size: 22px;
}

.selected-title > strong {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 18px;
}

.selected-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.selected-grid div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e1e8ee;
  border-radius: 8px;
  background: #fff;
}

.selected-grid strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  min-height: calc(100vh - 116px);
}

body.bill-preview-hidden .content-grid {
  grid-template-columns: 1fr;
}

body.bill-preview-hidden .bill-wrap {
  display: none;
}

.customer-list {
  overflow: auto;
  border-right: 1px solid var(--line);
  background: #fbfdfe;
}

.customer-filter {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfe;
}

.customer-filter label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-filter select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  background: #fff;
  color: var(--ink);
}

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

.customer-list th {
  position: sticky;
  top: 0;
  background: #edf3f7;
  z-index: 1;
  color: #1f3448;
  font-size: 12px;
  text-transform: uppercase;
}

.customer-list table {
  table-layout: fixed;
}

.customer-list th:nth-child(1),
.customer-list td:nth-child(1) {
  width: 86px;
}

.customer-list th:nth-child(2),
.customer-list td:nth-child(2) {
  width: 34%;
}

.customer-list th:nth-child(3),
.customer-list td:nth-child(3) {
  width: 30%;
}

.customer-list th:nth-child(4),
.customer-list td:nth-child(4) {
  width: 150px;
}

.customer-list th:nth-child(5),
.customer-list td:nth-child(5) {
  width: 110px;
}

.customer-list th:nth-child(6),
.customer-list td:nth-child(6) {
  width: 120px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  font-size: 13px;
}

.customer-list tr {
  cursor: pointer;
  transition: background 0.12s ease;
}

.customer-list tr.active,
.customer-list tr:hover {
  background: #e7f7f6;
}

.customer-list tr.inactive-account {
  color: #6b7280;
  background: #f7f8fa;
}

.customer-list tr.active td:first-child {
  box-shadow: inset 4px 0 0 var(--accent);
}

.customer-list td:last-child,
.customer-list th:last-child {
  text-align: right;
}

.customer-list .consumer-name,
#selectedDashName,
#billCustomer,
#receiptCustomer,
#receiptEntryName,
#statementName {
  overflow-wrap: break-word;
  white-space: normal;
}

.empty {
  color: var(--muted);
  text-align: center;
}

.customer-list .empty {
  text-align: center;
}

.status-pill {
  display: inline-block;
  min-width: 66px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.status-pill.active {
  background: #dff7ed;
  color: #047857;
}

.status-pill.inactive {
  background: #eceff3;
  color: #667382;
}

.status-pill.suspend {
  background: #fff1d6;
  color: #9a3412;
}

.customer-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #f8fbfd;
}

.customer-pager button {
  min-height: 34px;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}

.customer-pager span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.bill-wrap {
  overflow: auto;
  padding: 24px;
  background: #e5edf1;
}

.app-modal,
.receipt-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.48);
}

.app-modal[hidden],
.receipt-modal[hidden] {
  display: none;
}

.app-modal-card,
.receipt-modal-card {
  width: min(100%, 860px);
  max-height: min(760px, calc(100vh - 56px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.bill-modal-card {
  width: min(100%, 920px);
  background: #e5edf1;
}

.bill-modal-head,
.receipt-print-head {
  margin-bottom: 16px;
}

.bill-preview-search {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.bill-preview-search label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bill-preview-search input,
.bill-preview-search select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-transform: none;
}

#billModalContent .bill {
  margin: 0 auto;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.receipt-print-card {
  width: min(100%, 760px);
  background: #e5edf1;
}

#receiptPrintContent .bill {
  margin: 0 auto;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.generate-bill-card {
  width: min(100%, 560px);
}

.user-card {
  width: min(100%, 620px);
}

.bulk-message-card {
  width: min(100%, 680px);
}

.bulk-message-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bulk-message-field textarea {
  width: 100%;
  resize: vertical;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-transform: none;
}

.bulk-template-save {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.bulk-template-save label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bulk-template-save input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.danger-button {
  background: #a23b1a;
}

.user-admin-card {
  width: min(100%, 820px);
}

.user-admin-table {
  margin-top: 16px;
}

.user-admin-table th,
.user-admin-table td {
  font-size: 13px;
}

.user-admin-table td:nth-child(1),
.user-admin-table td:nth-child(2),
.user-admin-table td:nth-child(3),
.user-admin-table td:nth-child(4),
.user-admin-table td:nth-child(5),
.user-admin-table td:nth-child(6),
.user-admin-table th:nth-child(1),
.user-admin-table th:nth-child(2),
.user-admin-table th:nth-child(3),
.user-admin-table th:nth-child(4),
.user-admin-table th:nth-child(5),
.user-admin-table th:nth-child(6) {
  text-align: left;
}

.user-editor {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.user-editor h3 {
  margin: 0;
  font-size: 16px;
}

.generate-bill-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 12px;
  margin-top: 16px;
}

.generate-bill-form label,
.generate-bill-form div,
.generate-bill-preview {
  display: grid;
  gap: 6px;
}

.generate-bill-form label,
.generate-bill-form span,
.generate-bill-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.generate-bill-form input,
.generate-bill-form div,
.generate-bill-preview {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.generate-bill-form input {
  width: 100%;
  font: inherit;
}

.generate-bill-preview {
  margin-top: 12px;
  background: var(--soft);
}

.generate-bill-preview input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  outline: none;
}

.modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.receipt-consumer {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) repeat(3, minmax(130px, 150px));
  gap: 10px;
  margin: 16px 0;
}

.receipt-consumer div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.receipt-consumer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.receipt-consumer strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.statement-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 150px;
  gap: 10px;
  margin: 14px 0;
}

.statement-head div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.statement-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.statement-head strong {
  display: block;
  margin-top: 4px;
}

.statement-table th {
  background: #edf3f7;
  color: #1f3448;
  text-transform: uppercase;
}

.whatsapp-log-table {
  margin-top: 16px;
}

.user-log-table {
  margin-top: 16px;
}

.whatsapp-log-table th,
.whatsapp-log-table td,
.user-log-table th,
.user-log-table td {
  font-size: 12px;
}

.bill-register-card,
.receipt-register-card {
  width: min(100%, 1040px);
}

.bill-register-table,
.receipt-register-table {
  margin-top: 16px;
}

.bill-register-table th,
.bill-register-table td,
.receipt-register-table th,
.receipt-register-table td {
  font-size: 12px;
  vertical-align: top;
}

.bill-register-table td:nth-child(1),
.bill-register-table td:nth-child(2),
.bill-register-table td:nth-child(3),
.bill-register-table td:nth-child(4),
.bill-register-table th:nth-child(1),
.bill-register-table th:nth-child(2),
.bill-register-table th:nth-child(3),
.bill-register-table th:nth-child(4),
.receipt-register-table td:nth-child(6),
.receipt-register-table th:nth-child(5),
.receipt-register-table th:nth-child(6),
.receipt-register-table td:nth-child(10),
.receipt-register-table td:nth-child(11),
.receipt-register-table td:nth-child(12),
.receipt-register-table td:nth-child(13),
.receipt-register-table th:nth-child(10),
.receipt-register-table th:nth-child(11),
.receipt-register-table th:nth-child(12),
.receipt-register-table th:nth-child(13) {
  text-align: left;
}

.bill-register-table td:nth-child(5),
.bill-register-table td:nth-child(6),
.bill-register-table td:nth-child(7),
.bill-register-table td:nth-child(8),
.bill-register-table td:nth-child(9),
.bill-register-table td:nth-child(10),
.bill-register-table th:nth-child(5),
.bill-register-table th:nth-child(6),
.bill-register-table th:nth-child(7),
.bill-register-table th:nth-child(8),
.bill-register-table th:nth-child(9),
.bill-register-table th:nth-child(10),
.receipt-register-table td:nth-child(7),
.receipt-register-table td:nth-child(8),
.receipt-register-table td:nth-child(9),
.receipt-register-table th:nth-child(7),
.receipt-register-table th:nth-child(8),
.receipt-register-table td:nth-child(10),
.receipt-register-table th:nth-child(9),
.receipt-register-table th:nth-child(10) {
  text-align: right;
}

.bill-register-table strong,
.bill-register-table span,
.receipt-register-table strong,
.receipt-register-table span {
  display: block;
}

.bill-register-table span,
.receipt-register-table span {
  margin-top: 3px;
  color: var(--muted);
}

.statement-table td:nth-child(3),
.statement-table td:nth-child(4),
.statement-table td:nth-child(5),
.statement-table th:nth-child(3),
.statement-table th:nth-child(4),
.statement-table th:nth-child(5) {
  text-align: right;
}

.bill-register-table td:nth-child(3),
.bill-register-table td:nth-child(4),
.bill-register-table th:nth-child(3),
.bill-register-table th:nth-child(4),
.receipt-register-table td:nth-child(4),
.receipt-register-table td:nth-child(5),
.receipt-register-table td:nth-child(6),
.receipt-register-table th:nth-child(4),
.receipt-register-table th:nth-child(5),
.receipt-register-table th:nth-child(6) {
  text-align: left;
}

.editor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.editor-head h2 {
  font-size: 18px;
}

.editor-head p {
  color: var(--muted);
  font-size: 13px;
}

.editor-head button {
  min-height: 36px;
  background: #405066;
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.editor-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.editor-grid input,
.editor-grid select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
}

.wide-field {
  grid-column: span 2;
}

.editor-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.editor-form input,
.editor-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
}

.form-tool {
  align-self: end;
  min-height: 40px;
  background: var(--blue);
}

.editor-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.editor-actions button {
  min-width: 160px;
}

.receipt-entry h2 {
  font-size: 18px;
}

.receipt-entry p,
.receipt-actions span {
  color: var(--muted);
  font-size: 13px;
}

.receipt-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.receipt-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.receipt-form input,
.receipt-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
}

.receipt-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.receipt-actions button {
  min-width: 150px;
}

.receipt-list {
  margin-top: 16px;
}

.receipt-list th {
  background: #edf3f7;
  color: #1f3448;
  text-transform: uppercase;
}

.receipt-list td:nth-child(3),
.receipt-list th:nth-child(3) {
  text-align: right;
}

.mini-btn {
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #405066;
  font-size: 12px;
}

.mini-btn.danger {
  background: var(--warning);
}

.confirm-modal {
  z-index: 80;
}

.confirm-card {
  width: min(100%, 420px);
}

.confirm-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.confirm-card .modal-actions button:last-child {
  background: #405066;
}

.bill {
  width: min(100%, 760px);
  min-height: 980px;
  margin: 0 auto;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid #1f2933;
  color: #111;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.receipt {
  display: none;
  min-height: 520px;
  margin-bottom: 18px;
}

.all-bills {
  display: none;
}

body.print-receipt .receipt {
  display: block;
}

body.print-receipt #bill {
  display: none;
}

body.print-receipt-preview .shell,
body.print-receipt-preview .app-modal,
body.print-receipt-preview .receipt-modal {
  display: none;
}

body.print-receipt-preview #receiptPrintPanel {
  display: block;
  position: static;
  padding: 0;
  background: #fff;
}

body.print-receipt-preview #receiptPrintPanel .app-modal-card {
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

body.print-receipt-preview .receipt-print-head {
  display: none;
}

body.print-receipt-preview #receiptPrintContent .bill {
  width: 100%;
  min-height: auto;
  margin: 0;
  border: 1px solid #111;
  box-shadow: none;
}

body.print-receipt-preview.receipt-print-a4 #receiptPrintContent .bill {
  width: 148mm;
  min-height: 0;
  padding: 12mm;
}

body.print-receipt-preview.receipt-print-thermal #receiptPrintContent .bill {
  width: 74mm;
  min-height: 0;
  padding: 4mm;
  border: 0;
  font-size: 11px;
}

body.print-receipt-preview.receipt-print-thermal .bill-head {
  padding-bottom: 8px;
}

body.print-receipt-preview.receipt-print-thermal .bill-head h2 {
  font-size: 15px;
}

body.print-receipt-preview.receipt-print-thermal .document-title {
  font-size: 11px;
}

body.print-receipt-preview.receipt-print-thermal .bill-meta,
body.print-receipt-preview.receipt-print-thermal .customer-line {
  display: block;
}

body.print-receipt-preview.receipt-print-thermal .bill-meta span,
body.print-receipt-preview.receipt-print-thermal .customer-line span,
body.print-receipt-preview.receipt-print-thermal .customer-line strong {
  display: block;
  margin-top: 4px;
  padding: 4px;
}

body.print-receipt-preview.receipt-print-thermal .bill-table th,
body.print-receipt-preview.receipt-print-thermal .bill-table td {
  padding: 5px;
  font-size: 10px;
}

body.print-receipt-preview.receipt-print-thermal .bill-foot {
  margin-top: 14px;
}

body.bill-preview-hidden #bill {
  display: none;
}

.bill-head {
  position: relative;
  text-align: center;
  border-bottom: 2px solid #1f2933;
  padding-bottom: 14px;
}

.bill-head-with-serial {
  padding-top: 22px;
}

.bill-head h2 {
  color: var(--accent-2);
  font-size: 24px;
  text-decoration: underline;
}

.document-title {
  margin-top: 5px;
  color: #405066;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bill-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
}

.bill-meta span {
  padding: 7px;
  background: #f4f6f8;
  border: 1px solid #e2e7ec;
}

.bill-meta .bill-serial {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 82px;
  padding: 3px 6px;
  font-size: 10px;
  line-height: 1.2;
  text-align: left;
}

.customer-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
  margin: 18px 0 10px;
  font-size: 14px;
}

.customer-line strong {
  display: block;
  padding: 8px 10px;
  background: #eef1f4;
}

.bill-table {
  border: 1px solid #1f2933;
}

.bill-table th,
.bill-table td {
  border: 1px solid #1f2933;
  padding: 9px;
  color: #111;
  font-size: 12px;
}

.bill-table th {
  text-align: center;
  background: #f4f6f8;
  color: var(--accent-2);
  text-decoration: underline;
}

.bill-table td:not(:nth-child(2)),
.bill-table tfoot td {
  text-align: right;
}

.bill-table tfoot td {
  font-weight: 800;
}

.bill-due-line {
  display: block;
  width: fit-content;
  margin-top: 10px;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid #d8e0e7;
  background: #f4f6f8;
  font-size: 12px;
}

.payment-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 12px 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #d8e0e7;
  background: #f8fafc;
}

.payment-qr img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.payment-qr strong,
.payment-qr span,
.payment-qr b {
  display: block;
}

.payment-qr strong {
  color: var(--accent-2);
  font-size: 13px;
}

.payment-qr span {
  margin: 4px 0;
  font-size: 12px;
}

.payment-qr b {
  font-size: 13px;
}

.notes {
  margin-top: 12px;
  font-size: 13px;
}

.notes h3 {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 14px;
}

.notes li {
  margin-bottom: 5px;
}

.bill-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 36px;
  font-size: 13px;
}

.signature-block {
  min-width: 210px;
  text-align: center;
}

.signature-script {
  display: block;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #111;
  color: #111;
  font-family: "Nirmala UI", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.signature-block strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.signature-block small {
  display: block;
  margin-top: 2px;
  color: #4b5563;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .official-hero,
  .official-contact-row,
  .official-gallery,
  .public-waterworks-hero,
  .workspace,
  .content-grid,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .official-notice {
    min-height: auto;
  }

  .official-poster img {
    max-height: none;
  }

  .public-waterworks-hero {
    min-height: auto;
  }

  .public-hero-image img {
    max-height: 720px;
  }

  .public-notice-band,
  .public-waterworks-gallery {
    grid-template-columns: 1fr;
  }

  .public-save-line {
    min-width: 0;
  }

  .official-flash-track img {
    width: min(78vw, 340px);
    height: 455px;
  }

  .dashboard,
  .selected-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar {
    position: static;
  }

  .customer-list {
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

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

  .sidebar,
  .toolbar,
  .dashboard,
  .selected-account,
  .customer-list,
  .app-modal,
  .receipt-modal {
    display: none;
  }

  .shell,
  .bill-wrap,
  .main-panel,
  .workspace,
  .content-grid {
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  .bill {
    width: 100%;
    min-height: auto;
    border: 1px solid #111;
    box-shadow: none;
    page-break-after: always;
  }

  body.print-receipt #bill {
    display: none;
  }

  body.print-receipt .receipt {
    display: block;
  }

  body.bill-preview-hidden #bill {
    display: block;
  }

  body.print-all .shell {
    display: none;
  }

  body.print-all .all-bills {
    display: block;
  }

  body.print-all .all-bills .bill {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0;
    border: 1px solid #111;
    box-shadow: none;
    page-break-after: always;
  }

  body.print-single-bill .shell,
  body.print-single-bill .all-bills,
  body.print-single-bill .receipt-modal {
    display: none;
  }

  body.print-single-bill #billModal {
    display: block;
    position: static;
    inset: auto;
    padding: 0;
    background: #fff;
  }

  body.print-single-bill #billModal .app-modal-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body.print-single-bill .bill-modal-head,
  body.print-single-bill .bill-preview-search {
    display: none;
  }

  body.print-single-bill #billModalContent .bill {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0;
    border: 1px solid #111;
    box-shadow: none;
    page-break-after: auto;
  }

  body.print-statement .all-bills,
  body.print-statement #billModal,
  body.print-statement #bill,
  body.print-statement .receipt {
    display: none;
  }

  body.print-statement #statementPanel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 18px;
    position: static;
    background: #fff;
  }

  body.print-statement #statementPanel .app-modal-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 1px solid #111;
    border-radius: 0;
    box-shadow: none;
  }

  body.print-receipt-preview .shell,
  body.print-receipt-preview .app-modal,
  body.print-receipt-preview .receipt-modal {
    display: none;
  }

  body.print-receipt-preview #receiptPrintPanel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    position: static;
    background: #fff;
  }

  body.print-receipt-preview #receiptPrintPanel .app-modal-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.print-receipt-preview .receipt-print-head {
    display: none;
  }

  body.print-receipt-preview #receiptPrintContent .bill {
    display: block;
    min-height: auto;
    margin: 0;
    border: 1px solid #111;
    box-shadow: none;
  }

  body.print-receipt-preview.receipt-print-a4 #receiptPrintContent .bill {
    width: 148mm;
    padding: 12mm;
  }

  body.print-receipt-preview.receipt-print-thermal #receiptPrintContent .bill {
    width: 74mm;
    padding: 4mm;
    border: 0;
    font-size: 11px;
  }

  body.print-receipt-preview.receipt-print-thermal .bill-head {
    padding-bottom: 8px;
  }

  body.print-receipt-preview.receipt-print-thermal .bill-head h2 {
    font-size: 15px;
  }

  body.print-receipt-preview.receipt-print-thermal .document-title {
    font-size: 11px;
  }

  body.print-receipt-preview.receipt-print-thermal .bill-meta,
  body.print-receipt-preview.receipt-print-thermal .customer-line {
    display: block;
  }

  body.print-receipt-preview.receipt-print-thermal .bill-meta span,
  body.print-receipt-preview.receipt-print-thermal .customer-line span,
  body.print-receipt-preview.receipt-print-thermal .customer-line strong {
    display: block;
    margin-top: 4px;
    padding: 4px;
  }

  body.print-receipt-preview.receipt-print-thermal .bill-table th,
  body.print-receipt-preview.receipt-print-thermal .bill-table td {
    padding: 5px;
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  .official-flash-track img {
    width: 78vw;
    height: 390px;
  }

  .official-flash-track {
    gap: 9px;
    padding: 42px 9px 9px;
  }

  .official-notice-card {
    padding: 16px;
  }

  .official-notice-card h1 {
    font-size: 29px;
  }

  .official-notice-card p {
    font-size: 17px;
  }

  .official-story-card {
    padding: 16px;
  }

  .official-story-card h2 {
    font-size: 25px;
  }

  .official-story-card p {
    font-size: 16px;
  }

  .official-hero,
  .official-contact-row {
    padding: 14px;
  }

  .official-notice h1 {
    font-size: 32px;
  }

  .official-notice p {
    font-size: 17px;
  }

  .official-contact-row a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .official-save-panel strong {
    font-size: 23px;
  }

  .public-waterworks-header {
    align-items: flex-start;
  }

  .public-login-link {
    padding: 9px 10px;
    font-size: 12px;
  }

  .public-waterworks-shell {
    padding: 12px;
    gap: 14px;
  }

  .public-waterworks-hero,
  .public-notice-band {
    padding: 16px;
    border-radius: 12px;
  }

  .public-waterworks-hero h1 {
    font-size: 34px;
  }

  .public-waterworks-hero p,
  .public-notice-text p {
    font-size: 17px;
  }

  .public-hero-image img {
    min-height: 0;
    max-height: none;
  }

  .public-save-line {
    font-size: 22px;
  }

  .receipt-form {
    grid-template-columns: 1fr 1fr;
  }

  .statement-head {
    grid-template-columns: 1fr;
  }

  .bill-preview-search {
    grid-template-columns: 1fr;
  }

  .generate-bill-form {
    grid-template-columns: 1fr;
  }

  .receipt-consumer {
    grid-template-columns: 1fr;
  }

  .dashboard,
  .selected-grid {
    grid-template-columns: 1fr;
  }

  .selected-title {
    display: grid;
  }
}
