@font-face {
  font-family: Cairo;
  src: url("/fonts/cairo-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Cairo;
  src: url("/fonts/cairo-arabic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --bg: #081429;
  --navy: #0b2350;
  --blue: #127dff;
  --cyan: #65d6ff;
  --ice: #e6f7ff;
  --text: #edf5ff;
  --muted: #8d9fb9;
  --line: rgba(144, 188, 255, 0.11);
  --glass: rgba(16, 36, 66, 0.64);
  --radius: 18px;
  --sidebar: 248px;
  --bs-body-font-family: Cairo, Tahoma, sans-serif;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  font-family: Cairo, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  margin: 0;
  line-height: 1.8;
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 75% 0%, #112957 0%, transparent 45%),
    radial-gradient(ellipse at 0% 60%, #0a2341 0%, transparent 55%), #081429;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--cyan);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
svg.lucide {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 750;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 16px;
}
p {
  color: var(--muted);
}
small {
  font-size: 11px;
}
b,
strong {
  font-weight: 700;
}
em {
  color: var(--cyan);
  font-style: normal;
}
.cyan {
  color: var(--cyan);
}
.muted {
  color: var(--muted);
}
.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.13;
}
.ambient-one {
  width: 400px;
  height: 400px;
  background: #127dff;
  top: -250px;
  right: 18%;
}
.ambient-two {
  width: 350px;
  height: 350px;
  background: #08b6d1;
  bottom: -270px;
  left: -100px;
}
.glass {
  background: linear-gradient(
    130deg,
    rgba(24, 47, 79, 0.62),
    rgba(12, 29, 54, 0.8)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(18px);
}
.live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #51d9af;
  border-radius: 50%;
  box-shadow: 0 0 9px #51d9af44;
}
.btn {
  border-radius: 9px;
  padding: 11px 17px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: linear-gradient(120deg, #218aff, #0769ec);
  border-color: #3d9bff;
  color: #fff;
  box-shadow: 0 5px 18px #087aff27;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #268bff;
  border-color: #65b0ff;
  box-shadow: 0 5px 23px #087aff40;
  color: #fff;
}
.btn-outline {
  color: #c2dcff;
  background: rgba(18, 125, 255, 0.08);
  border-color: rgba(84, 159, 255, 0.25);
}
.btn-outline:hover {
  background: rgba(18, 125, 255, 0.17);
  color: white;
  border-color: #468cdb;
}
.btn-ghost {
  background: rgba(138, 175, 219, 0.06);
  border-color: var(--line);
  color: var(--muted);
}
.btn-ghost:hover {
  background: rgba(138, 175, 219, 0.12);
  color: white;
}
.btn-danger-ghost {
  color: #ff97a7;
  background: #f75d7510;
  border-color: #f75d7522;
}
.btn-danger-ghost:hover {
  background: #f75d7520;
  color: #ffafba;
}
.btn-sm {
  padding: 7px 11px;
  font-size: 11px;
}
.btn:disabled {
  opacity: 0.55;
  transform: none;
}
.icon-button {
  border: 1px solid var(--line);
  background: rgba(100, 145, 212, 0.04);
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex-shrink: 0;
  transition: 0.2s;
}
.icon-button:hover {
  color: var(--cyan);
  background: rgba(18, 125, 255, 0.12);
  border-color: rgba(18, 125, 255, 0.3);
}
.icon-button.danger:hover {
  color: #ff8e9e;
  background: #fa567618;
}
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  padding: 30px 18px 16px;
  background: rgba(7, 20, 42, 0.89);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(25px);
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 7px;
  direction: ltr;
  justify-content: center;
  color: white;
}
.brand-icon {
  height: 44px;
  width: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #268dff, #0b55cd);
  box-shadow:
    0 5px 21px #087aff35,
    inset 0 1px 0 #ffffff35;
  display: grid;
  place-items: center;
}
.brand-icon svg {
  height: 27px;
  width: 27px;
  stroke-width: 1.6;
}
.brand strong {
  font-family: Cairo, Tahoma, sans-serif;
  letter-spacing: 1.3px;
  font-size: 18px;
  line-height: 1.2;
  display: block;
}
.brand small {
  display: block;
  font-family: Arial, sans-serif;
  letter-spacing: 1.5px;
  font-size: 7px;
  color: #92a9c5;
  margin-top: 6px;
}
.brand-dot {
  color: #64d5ff;
  font-size: 26px;
}
.workspace-tag {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 27px 7px 24px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9fb4cd;
  font-size: 10px;
  background: #0d2240;
}
.edition {
  margin-right: auto;
  font-size: 8px;
  color: #65d6ff;
  background: #127dff1b;
  border: 1px solid #127dff24;
  padding: 0 5px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.nav-caption {
  color: #5f7899;
  font-size: 10px;
  padding: 0 15px;
  margin-bottom: 9px;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-list > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 11px;
  color: #9aafcc;
  position: relative;
  border: 1px solid transparent;
}
.nav-list > a:hover {
  background: #127dff10;
  color: #d7eaff;
}
.nav-list > a.active {
  color: #fff;
  background: linear-gradient(100deg, #127dff22, #127dff10);
  border-color: #3583e42a;
}
.nav-list > a.active:after {
  position: absolute;
  content: "";
  height: 20px;
  width: 3px;
  right: -19px;
  background: #3e9dff;
  border-radius: 3px;
  box-shadow: 0 0 12px #127dff;
}
.nav-list > a.active > svg:first-child {
  color: #55b1ff;
}
.nav-list svg {
  height: 18px;
  width: 18px;
}
.nav-arrow,
.nav-plus {
  margin-right: auto;
  max-width: 13px;
  color: #83b1ec;
}
.tiny-badge {
  margin-right: auto;
  display: inline-block;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  font-size: 7px;
  border: 1px solid #51b2ff2b;
  background: #127dff16;
  color: #6eb9fa;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.system-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #102a3a66;
  border: 1px solid #4fc8b213;
  border-radius: 10px;
  font-size: 9px;
  color: #b8d6d3;
}
.system-status small {
  display: block;
  color: #6f8d99;
  font-size: 8px;
}
.system-status > svg {
  margin-right: auto;
  width: 17px;
  height: 17px;
  color: #5bd0ae;
}
.logout {
  color: #8299b7;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 15px;
  font-size: 11px;
  width: 100%;
}
.logout:hover {
  color: #ff9ca9;
}
.logout svg {
  width: 17px;
}
.sidebar-version {
  display: flex;
  justify-content: space-between;
  color: #405773;
  font:
    7px Arial,
    sans-serif;
  letter-spacing: 1.2px;
  padding: 7px 13px 0;
  border-top: 1px solid var(--line);
}
.app-shell {
  margin-right: var(--sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 78px;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 20, 41, 0.3);
}
.topbar-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #7389a7;
  font-size: 11px;
}
.topbar-heading > b {
  color: #bcd0ec;
  font-weight: 500;
}
.topbar-heading > svg {
  height: 12px;
  width: 12px;
  color: #425d7e;
}
.breadcrumb-icon {
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 28px;
  width: 28px;
  display: grid;
  place-items: center;
  color: #6e9fdd;
}
.breadcrumb-icon svg {
  width: 14px;
  height: 14px;
}
.topbar-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-actions > .icon-button {
  border: 0;
}
.topbar-divider {
  height: 26px;
  width: 1px;
  background: var(--line);
}
.user-info {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  min-width: 130px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, #204c80, #12345d);
  border: 1px solid #4d80bd55;
  color: #9bcbff;
  font-weight: 700;
}
.user-info b {
  display: block;
  color: #c9daf1;
}
.user-info small {
  display: block;
  color: #647e9f;
  font-size: 8px;
}
.user-info .live-dot {
  margin-right: auto;
  width: 5px;
  height: 5px;
}
.main-content {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 31px 36px 35px;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #73bcef;
  font-size: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}
.eyebrow .live-dot {
  height: 5px;
  width: 5px;
  background: #65d6ff;
  box-shadow: none;
}
.page-heading h1 {
  margin-bottom: 4px;
  line-height: 1.7;
}
.heading-dot {
  color: var(--blue);
  margin-right: 3px;
}
.page-heading p {
  font-size: 11px;
  margin: 0;
  color: #8399b6;
}
.date-chip,
.soft-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  background: #122a4655;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 8px;
  color: #9eb5cf;
}
.date-chip svg,
.soft-chip svg {
  width: 14px;
  height: 14px;
  color: #73a6df;
}
.welcome-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 290px;
  margin-bottom: 29px;
  background:
    radial-gradient(ellipse at 25% 50%, #1b538c44, transparent 55%),
    linear-gradient(100deg, #102544b0, #0d2c58a0);
  border-color: #3c7bd72b;
}
.welcome-card:after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: 100px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid #7bb8ff09;
  pointer-events: none;
}
.hero-copy {
  padding: 30px 34px;
  z-index: 2;
}
.hero-label {
  font-size: 10px;
  color: #a4cefa;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.hero-label svg {
  width: 14px;
  height: 14px;
  color: #65d6ff;
}
.hero-copy h2 {
  font-size: 28px;
  line-height: 1.7;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
  color: #f3f8ff;
}
.hero-copy h2 span {
  color: #75c9ff;
}
.hero-copy p {
  font-size: 10px;
  line-height: 2;
  color: #90abcc;
  margin-bottom: 18px;
}
.hero-copy .btn {
  font-size: 11px;
  padding: 10px 16px;
}
.hero-copy .btn > svg:last-child {
  margin-right: 15px;
  width: 14px;
  height: 14px;
}
.hero-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #128fff25, transparent 70%);
}
.controller-art {
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 35px #168bff22);
  transition: transform 0.5s;
}
.welcome-card:hover .controller-art {
  transform: translateY(-5px) rotate(-2deg);
}
.orbit {
  position: absolute;
  border: 1px solid #5bafff16;
  border-radius: 50%;
  width: 240px;
  height: 240px;
  transform: rotateX(35deg) rotate(-25deg);
}
.orbit-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
  border-color: #62b8ff12;
}
.art-symbol {
  position: absolute;
  font: 28px Arial;
  color: #5ab7ff55;
}
.symbol-plus {
  top: 40px;
  left: 60px;
  transform: rotate(15deg);
}
.symbol-ring {
  right: 40px;
  bottom: 80px;
  font-size: 35px;
}
.symbol-diamond {
  top: 52px;
  right: 72px;
}
.art-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font: 7px Arial;
  letter-spacing: 3px;
  color: #73b9f0;
}
.art-caption .live-dot {
  width: 4px;
  height: 4px;
  background: #65d6ff;
  box-shadow: 0 0 10px #65d6ff;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 15px;
  margin: 0;
}
.section-heading > span {
  color: #6f89a8;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-heading .live-dot {
  width: 4px;
  height: 4px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 18px 20px;
  transition: 0.2s;
}
.stat-card:hover {
  border-color: #4a98ff44;
  transform: translateY(-3px);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.stat-top > span:first-child {
  color: #94aaca;
  font-size: 10px;
}
.stat-icon {
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #4097ff28;
  flex-shrink: 0;
}
.stat-icon svg {
  width: 17px;
  height: 17px;
}
.blue {
  background: #127dff17;
  color: #52a5ff;
}
.cyan-icon {
  background: #3ac9e917;
  color: #63d8ee;
  border-color: #42bdd824;
}
.violet {
  background: #9b78ff13;
  color: #ad9bfa;
  border-color: #9b78ff23;
}
.green {
  background: #41c99e13;
  color: #69dcb7;
  border-color: #41c99e23;
}
.stat-value {
  font-family: Cairo, Arial, sans-serif;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  gap: 9px;
  letter-spacing: -1px;
  margin: 9px 0 10px;
}
.stat-value small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #728cac;
}
.stat-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #6f89a5;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.stat-foot svg {
  width: 12px;
  height: 12px;
  color: #77a7d4;
}
.mini-icon {
  color: #65cdb0;
  background: #53c9a716;
  font-size: 11px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  text-align: center;
  line-height: 15px;
}
.stat-foot .live-dot {
  width: 4px;
  height: 4px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 20px;
  margin-bottom: 22px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 14px;
}
.card-heading h2 {
  font-size: 14px;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
}
.card-heading h2 > svg {
  width: 17px;
  height: 17px;
  color: #75a9e4;
}
.card-heading p {
  font-size: 9px;
  margin: 5px 0 0;
  color: #67829f;
}
.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #69baff;
}
.text-link > svg {
  width: 13px;
  height: 13px;
}
.table-responsive {
  overflow-x: auto;
}
.invoice-list-table {
  width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
}
.invoice-list-table th {
  font-size: 9px;
  font-weight: 500;
  color: #708aaa;
  background: #071a323b;
  border-block: 1px solid var(--line);
  padding: 12px 14px;
  text-align: right;
}
.invoice-list-table th:first-child,
.invoice-list-table td:first-child {
  padding-right: 22px;
}
.invoice-list-table td {
  font-size: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid #91bfff09;
  vertical-align: middle;
}
.invoice-list-table tbody tr:hover {
  background: #2c7cd30a;
}
.invoice-list-table tbody tr:last-child td {
  border-bottom: 0;
}
.invoice-number {
  font-family: Arial, sans-serif;
  letter-spacing: 0.2px;
  color: #9dcaff;
  font-size: 10px;
}
.customer-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.customer-avatar {
  width: 29px;
  height: 29px;
  background: #2b54872c;
  border: 1px solid #4873a323;
  color: #89b3e7;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.customer-cell b {
  font-size: 9px;
  font-weight: 600;
  color: #c6d7ec;
}
.customer-cell small {
  display: block;
  font-family: Arial, sans-serif;
  color: #5e7b9e;
  font-size: 8px;
  margin-top: 1px;
  text-align: right;
}
.table-date {
  font-family: Arial, sans-serif;
  color: #9bb0c9;
  font-size: 9px;
}
.table-date small {
  display: block;
  color: #526f91;
  font-size: 8px;
  margin-top: 4px;
}
.amount {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #d8e6f7;
  letter-spacing: 0.2px;
}
.currency-label {
  font-size: 7px;
  color: #617b9b;
  margin-right: 4px;
}
.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #127dff12;
  color: #73b9ff;
  border: 1px solid #2581ea25;
  border-radius: 5px;
  padding: 3px 6px;
  font:
    8px Arial,
    sans-serif;
}
.warranty-badge svg {
  width: 11px;
  height: 11px;
}
.standard-warranty {
  font-size: 8px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: #748eae;
}
.standard-warranty svg {
  width: 12px;
  height: 12px;
}
.status-pill {
  font-size: 8px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 5px;
  background: #41c6a00b;
  color: #65c7a9;
  border: 1px solid #41c6a01b;
  white-space: nowrap;
}
.status-pill > span {
  height: 4px;
  width: 4px;
  background: currentColor;
  border-radius: 50%;
}
.status-pill.cancelled {
  background: #ef6b8110;
  border-color: #ef6b8122;
  color: #e494a1;
}
.row-action {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #5583ba19;
  border-radius: 6px;
  color: #587da5;
}
.row-action:hover {
  background: #127dff22;
  color: #65d6ff;
}
.row-action svg {
  width: 12px;
  height: 12px;
}
.table-bottom {
  border-top: 1px solid var(--line);
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f7a99;
  font-size: 8px;
  gap: 10px;
}
.table-bottom > span:last-child {
  display: flex;
  gap: 5px;
  align-items: center;
}
.table-bottom svg {
  height: 11px;
  width: 11px;
}
.quick-tools {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.studio-promo {
  padding: 21px;
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 263px;
  background: linear-gradient(140deg, #12356880, #0c224155);
}
.studio-promo:hover {
  border-color: #4c9fff44;
}
.promo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.promo-top > .tiny-badge {
  font-size: 6px;
}
.studio-promo h3 {
  font-size: 17px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.studio-promo p {
  font-size: 9px;
  color: #849fc2;
  line-height: 2.1;
  max-width: 190px;
  position: relative;
  z-index: 1;
}
.studio-promo > .text-link {
  position: absolute;
  bottom: 22px;
  right: 21px;
  font-size: 9px;
  z-index: 2;
}
.mini-paper {
  position: absolute;
  left: -10px;
  bottom: 0;
  background: linear-gradient(140deg, #f3faff, #b2d1ee);
  border-radius: 4px 4px 0 0;
  width: 104px;
  height: 130px;
  transform: rotate(-13deg);
  padding: 12px;
  box-shadow: 10px 0 35px #08142955;
  opacity: 0.7;
  mask-image: linear-gradient(#000, transparent 95%);
}
.mini-paper-head {
  color: #1b5baa;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-paper-head b {
  font: 6px Arial;
}
.mini-paper-head svg {
  width: 15px;
  height: 15px;
}
.paper-line {
  height: 3px;
  background: #77a5ce;
  margin-top: 12px;
  width: 100%;
  border-radius: 1px;
}
.paper-line.short {
  width: 55%;
  margin-top: 5px;
}
.paper-table {
  margin-top: 10px;
  border-top: 9px solid #2377c9;
}
.paper-table span {
  display: block;
  border-bottom: 1px solid #84add4;
  height: 12px;
}
.paper-total {
  width: 45%;
  height: 7px;
  background: #2776ba;
  margin-top: 8px;
}
.qr-promo {
  padding: 20px 17px;
  display: flex;
  gap: 13px;
  align-items: center;
  flex: 1;
}
.qr-promo:hover {
  border-color: #4c9fff44;
}
.qr-mini {
  border: 1px solid #4874a32a;
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  background: #0a1b34;
  flex-shrink: 0;
}
.qr-mini svg {
  width: 32px;
  height: 32px;
  color: #9cc9fb;
}
.qr-promo h3 {
  font-size: 11px;
  letter-spacing: 0;
  margin-bottom: 5px;
}
.qr-promo p {
  font-size: 8px;
  margin-bottom: 6px;
  color: #6c88a9;
}
.qr-promo .text-link {
  font-size: 8px;
}
.weekly-card {
  padding: 23px 28px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.weekly-card h2 {
  font-size: 26px;
  margin: 2px 0;
}
.weekly-card h2 small {
  font-size: 11px;
  color: #6e8db1;
}
.weekly-card p {
  font-size: 9px;
  margin: 0;
}
.weekly-bars {
  display: flex;
  flex: 1;
  height: 105px;
  gap: 20px;
  align-items: end;
}
.bar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bar-track {
  height: 75px;
  width: 100%;
  max-width: 60px;
  display: flex;
  align-items: end;
  border-radius: 4px;
  position: relative;
  background: #127dff05;
}
.bar-track > span {
  width: 100%;
  min-height: 2px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(#358effaa, #127dff11);
  border-top: 1px solid #59b2ff88;
  transition: height 0.4s;
}
.bar-column:last-child .bar-track > span {
  background: linear-gradient(#65d6ffbb, #127dff33);
  box-shadow: 0 -4px 18px #127dff15;
}
.bar-column small {
  font-size: 8px;
  color: #6582a5;
}
.app-footer {
  padding: 15px 36px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #415e80;
}
.app-footer .cyan {
  margin-right: 3px;
}
.mobile-menu {
  display: none;
}
.sidebar-shade {
  display: none;
}
.form-control,
.form-select {
  background-color: #07182e88;
  border: 1px solid #5d86b633;
  border-radius: 9px;
  color: #deecff;
  font-size: 12px;
  padding: 11px 13px;
  min-height: 44px;
  line-height: 1.6;
  box-shadow: none;
  color-scheme: dark;
}
.form-control:focus,
.form-select:focus {
  background-color: #0a1f39;
  border-color: #328cff;
  color: white;
  box-shadow: 0 0 0 3px #127dff15;
}
.form-control::placeholder {
  color: #4e6b8d;
  font-size: 10px;
}
.form-select {
  padding-left: 32px;
}
.form-select option {
  background: #102b4c;
}
.form-control[type="number"] {
  direction: ltr;
  text-align: center;
}
.form-control[type="datetime-local"],
.form-control[type="date"] {
  direction: ltr;
}
.form-field {
  margin-bottom: 17px;
}
.form-field > label {
  display: block;
  color: #a1b7d2;
  margin-bottom: 7px;
  font-size: 11px;
}
.input-icon {
  position: relative;
}
.input-icon > .lucide {
  position: absolute;
  right: 14px;
  top: 14px;
  color: #6286af;
  width: 17px;
  height: 17px;
  pointer-events: none;
}
.input-icon > .form-control {
  padding-right: 42px;
}
.input-icon > [dir="ltr"] {
  padding-left: 13px;
  text-align: left;
}
.password-toggle {
  background: none;
  border: 0;
  color: #6084ad;
  position: absolute;
  left: 8px;
  top: 7px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.password-toggle svg {
  width: 16px;
  height: 16px;
}
.input-icon:has(.password-toggle) input {
  padding-left: 40px;
}
.form-grid {
  padding: 0 24px 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.full-width {
  grid-column: 1/-1;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.editor-grid > *,
.settings-grid > * {
  min-width: 0;
}
.summary-panel {
  position: sticky;
  top: 24px;
}
.summary-panel .card-heading {
  border-bottom: 1px solid var(--line);
}
.summary-body {
  padding: 22px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}
.summary-line b {
  color: var(--text);
}
.summary-total {
  border-block: 1px dashed #4687d444;
  padding: 20px 0;
}
.summary-total > span {
  font-size: 11px;
  color: #9ab9df;
}
.summary-total > div {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.summary-total b {
  font-size: 30px;
  color: #77cbff;
  direction: ltr;
}
.summary-total small {
  color: #7299c6;
  font-size: 11px;
}
.warranty-selection {
  margin-top: 25px;
}
.warranty-selection h3 {
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 15px;
}
.warranty-selection h3 svg {
  width: 16px;
  height: 16px;
  color: #74b7fc;
}
.warranty-option {
  display: flex;
  align-items: center;
  padding: 13px 10px;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 9px;
  cursor: pointer;
}
.warranty-option:has(input:checked) {
  background: #127dff12;
  border-color: #4095ff77;
}
.warranty-option input {
  accent-color: #127dff;
}
.warranty-option b {
  font-size: 10px;
  display: block;
  font-weight: 600;
}
.warranty-option small {
  font-size: 8px;
  display: block;
  color: #6e8bae;
}
.warranty-option svg {
  width: 17px;
  height: 17px;
  color: #6fa5df;
  margin-right: auto;
}
.hall-option svg {
  color: #65d6ff;
}
.info-note {
  display: flex;
  gap: 8px;
  padding: 15px 0 20px;
  font-size: 9px;
  color: #6e8aab;
  line-height: 2;
}
.info-note svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  color: #4c96e3;
}
.step-badge {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font: 10px Arial;
  color: #6db5ff;
  background: #127dff1a;
  border: 1px solid #127dff26;
}
.form-section .card-heading > svg {
  color: #557da6;
  width: 19px;
  height: 19px;
}
.items-editor {
  width: 100%;
  min-width: 630px;
  border-collapse: collapse;
}
.items-editor th {
  text-align: right;
  background: #071a323b;
  color: #738fb1;
  font-size: 10px;
  padding: 12px 15px;
  border-block: 1px solid var(--line);
  font-weight: 500;
}
.items-editor td {
  padding: 12px 8px;
  border-bottom: 1px solid #78a9e210;
}
.items-editor td:first-child,
.items-editor th:first-child {
  padding-right: 22px;
  color: #56799f;
  font: 11px Arial;
}
.items-editor td:nth-child(2) {
  width: 45%;
}
.items-editor td:nth-child(3) {
  width: 90px;
}
.items-editor td:nth-child(4) {
  width: 110px;
}
.items-editor td:nth-child(5) {
  min-width: 100px;
}
.items-editor .form-control {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 11px;
}
.line-total {
  direction: ltr;
  text-align: center;
  font: 12px Arial;
  color: #a8ceff;
}
.add-row-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: #6fa9e4;
  background: #127dff04;
  border: 1px dashed #4482c733;
  border-radius: 8px;
  width: calc(100% - 48px);
  margin: 18px 24px 25px;
  padding: 9px;
  font-size: 10px;
}
.add-row-button:hover {
  background: #127dff11;
}
.add-row-button svg {
  width: 14px;
  height: 14px;
}
.back-link {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #749bc7;
  margin-bottom: 8px;
}
.back-link svg {
  width: 13px;
  height: 13px;
}
.count-badge {
  border: 1px solid #5f8ac431;
  background: #127dff12;
  color: #7fb8ee;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 9px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  padding: 0 22px 22px;
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 200px;
}
.date-filter {
  width: 170px;
}
.status-filter {
  width: 145px;
}
.filter-bar .btn {
  min-height: 44px;
}
.filter-bar .icon-button {
  height: 44px;
  width: 40px;
}
.empty-state {
  padding: 75px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.empty-state > svg {
  width: 42px;
  height: 42px;
  color: #639cdb;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 18px;
}
.empty-state p {
  font-size: 12px;
}
.validation-box {
  background: #ed537018;
  border: 1px solid #ed537033;
  border-radius: 9px;
  color: #ffa6b5;
  font-size: 11px;
  margin-bottom: 20px;
  padding: 12px 18px;
}
.validation-box ul {
  margin: 0;
  padding-right: 15px;
}
.validation-box:empty,
.validation-summary-valid {
  display: none;
}
.field-validation-error {
  color: #ffa6b5;
  font-size: 10px;
}
.input-validation-error {
  border-color: #ed5370 !important;
}
.field-hint {
  color: #6d87a8;
  font-size: 9px;
  display: block;
  margin-top: 7px;
}
.public-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 30%, #123565 0%, #081429 68%);
}
.public-main {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-container {
  width: 440px;
  max-width: 100%;
  text-align: center;
}
.auth-brand {
  margin-bottom: 30px;
}
.auth-brand strong {
  font-size: 21px;
}
.auth-card {
  padding: 32px;
  text-align: right;
  border-color: #4d8bd42d;
  box-shadow: 0 30px 100px #0003;
  background: linear-gradient(140deg, #1b3b5f88, #0c1e3bcc);
}
.auth-card > .eyebrow {
  justify-content: center;
  font-size: 9px;
}
.auth-card > h1 {
  text-align: center;
  font-size: 25px;
  margin: 8px 0;
}
.auth-card > p {
  text-align: center;
  font-size: 10px;
  margin-bottom: 28px;
}
.auth-emblem {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: #127dff15;
  border: 1px solid #4d9fff35;
  border-radius: 14px;
  color: #74c7ff;
  box-shadow: 0 0 25px #127dff09;
}
.auth-emblem svg {
  width: 28px;
  height: 28px;
}
.auth-security {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  color: #6384a9;
  margin-top: 24px;
  padding-top: 20px;
}
.auth-security svg {
  width: 14px;
  height: 14px;
  color: #5fa7db;
}
.public-link {
  font-size: 10px;
  color: #799bc3;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.public-link svg {
  width: 13px;
  height: 13px;
}
.public-footer {
  text-align: center;
  color: #496988;
  font:
    9px Cairo,
    sans-serif;
  letter-spacing: 1px;
  padding: 20px;
}
.public-footer > span {
  padding: 0 10px;
  color: #2774c3;
}
.public-logo {
  width: 60px;
  max-height: 60px;
  object-fit: contain;
}
.verification-input {
  font-family: monospace;
  letter-spacing: 1px;
}
.invoice-detail-container {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}
.detail-number {
  font-family: Arial, sans-serif;
  text-align: right;
  font-size: 27px;
  margin-bottom: 10px !important;
  letter-spacing: -0.5px;
}
.verification-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.verification-card > svg {
  color: #65b9ff;
  width: 23px;
  height: 23px;
}
.verification-card b {
  font-size: 11px;
}
.verification-card p {
  font-size: 9px;
  margin: 3px 0 0;
}
.verification-card bdi {
  font: 700 18px monospace;
  color: #a0d9ff;
  letter-spacing: 1.5px;
  margin-right: auto;
  background: #127dff15;
  padding: 8px 12px;
  border: 1px dashed #127dff40;
  border-radius: 7px;
}
.invoice-paper-frame {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 55px #0002;
  max-width: 900px;
  margin: auto;
}
.invoice-frame {
  width: 100%;
  border: 0;
  display: block;
  min-height: 700px;
  background: #fff;
}
.audit-panel {
  margin-top: 20px;
  padding: 18px 22px;
}
.audit-panel > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
  color: #87a9cf;
}
.audit-panel svg {
  width: 15px;
  height: 15px;
}
.audit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 10px;
  color: #86a2c4;
  margin-top: 12px;
}
.audit-row > details {
  width: 100%;
}
.audit-row pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  direction: ltr;
  color: #7799c0;
  font-size: 10px;
  max-height: 220px;
  overflow: auto;
  padding: 15px;
  background: #07182e;
}
.app-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: min(440px, 90vw);
  padding: 15px 20px;
  background: #123954f5;
  border: 1px solid #3fa3b950;
  border-radius: 12px;
  color: #c8f5ed;
  box-shadow: 0 10px 40px #0005;
  backdrop-filter: blur(18px);
  font-size: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}
.app-toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.app-toast.error {
  color: #ffc6d0;
  border-color: #ff648750;
  background: #3b233cfa;
}
.app-toast svg {
  width: 18px;
  height: 18px;
  color: #68dfbd;
}
.confirm-dialog {
  background: linear-gradient(140deg, #163353, #0d213c);
  color: #e6f7ff;
  border: 1px solid #4486c766;
  border-radius: 18px;
  padding: 28px;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 20px 80px #0008;
  text-align: right;
}
.confirm-dialog::backdrop {
  background: #020a18a8;
  backdrop-filter: blur(5px);
}
.dialog-icon {
  border: 1px solid #ffae4e33;
  background: #ffae4e15;
  color: #ffbe6e;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 15px;
}
.confirm-dialog h3 {
  font-size: 19px;
}
.confirm-dialog p {
  font-size: 12px;
  color: #9eb5cf;
  margin: 15px 0 23px;
}
.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid #fff5;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.settings-preview {
  padding: 25px;
  text-align: center;
  position: sticky;
  top: 24px;
}
.logo-preview {
  width: 115px;
  height: 115px;
  display: grid;
  place-items: center;
  background: #127dff0a;
  border: 1px dashed #4389d744;
  border-radius: 20px;
  margin: 10px auto 20px;
}
.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-preview svg {
  width: 48px;
  height: 48px;
  color: #6fafff;
}
.settings-preview h3 {
  font-size: 17px;
}
.settings-preview p {
  font-size: 10px;
}
.settings-actions {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}
.section-note {
  padding: 0 24px 15px;
  font-size: 10px;
  color: #7896ba;
}
.qr-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.qr-display {
  padding: 35px;
  text-align: center;
}
.qr-print-card {
  background: white;
  color: #102b4e;
  border-radius: 18px;
  padding: 30px;
  max-width: 350px;
  margin: auto;
}
.qr-print-card h2 {
  font-family: Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
}
.qr-print-card > svg {
  width: 35px;
  height: 35px;
  margin-bottom: 12px;
  color: #127dff;
}
.qr-image {
  width: 240px;
  max-width: 100%;
  display: block;
  margin: 15px auto;
}
.qr-print-card h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.qr-print-card p {
  font-size: 10px;
  color: #6983a2;
  margin: 0;
}
.qr-downloads {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.qr-instructions {
  padding: 30px;
}
.qr-instructions h2 {
  font-size: 21px;
  line-height: 1.8;
  margin: 12px 0;
}
.qr-instructions p {
  font-size: 11px;
  line-height: 2;
}
.qr-step {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.qr-step > span {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border: 1px solid #3e8fe23b;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #69b3ff;
  background: #127dff11;
  font-size: 10px;
}
.qr-step b {
  font-size: 12px;
}
.qr-step p {
  font-size: 10px;
  margin: 4px 0 0;
}
.url-box {
  margin-top: 24px;
  background: #07182e88;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: #8fbff3;
}
.url-box bdi {
  flex: 1;
}
.warning-note {
  background: #ffc26a0c;
  border: 1px solid #ffc26a24;
  padding: 13px;
  border-radius: 9px;
  font-size: 10px;
  color: #ddbb89;
  margin: 20px 0;
}
.success-note {
  background: #65d9b50a;
  border: 1px solid #65d9b526;
  padding: 13px;
  border-radius: 9px;
  font-size: 10px;
  color: #8ad4be;
  margin: 20px 0;
}
@media (min-width: 1600px) {
  .main-content {
    padding-top: 40px;
  }
  .welcome-card {
    min-height: 320px;
  }
  .hero-copy {
    padding: 35px 42px;
  }
  .hero-copy h2 {
    font-size: 34px;
  }
  .controller-art {
    max-width: 400px;
  }
  .hero-art {
    min-height: 320px;
  }
  .stats-grid {
    gap: 22px;
  }
  .stat-card {
    padding: 22px 25px;
  }
  .stat-value {
    font-size: 36px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .invoice-list-table td {
    padding-block: 17px;
  }
  .studio-promo {
    min-height: 295px;
  }
}
@media (max-width: 1280px) {
  :root {
    --sidebar: 220px;
  }
  .sidebar {
    padding-inline: 13px;
  }
  .brand {
    gap: 8px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand-icon {
    width: 37px;
    height: 37px;
  }
  .tiny-badge {
    font-size: 6px;
    padding: 2px 4px;
  }
  .nav-list > a {
    padding: 11px 10px;
    font-size: 10px;
    gap: 8px;
  }
  .main-content {
    padding: 26px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
  }
  .invoice-list-table th,
  .invoice-list-table td {
    padding-inline: 10px;
  }
  .invoice-list-table td:first-child,
  .invoice-list-table th:first-child {
    padding-right: 15px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-copy h2 {
    font-size: 25px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-top > span:first-child {
    font-size: 9px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  .stat-value {
    font-size: 27px;
  }
  .editor-grid,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
  }
}
@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .quick-tools {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
  }
  .studio-promo {
    min-height: 200px;
  }
  .studio-promo > .text-link {
    bottom: 18px;
  }
  .mini-paper {
    left: 25px;
    bottom: -25px;
  }
  .studio-promo p {
    max-width: 200px;
  }
  .qr-promo {
    padding: 28px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .qr-promo .text-link {
    justify-content: center;
  }
  .qr-promo h3 {
    font-size: 14px;
  }
  .qr-promo p {
    font-size: 10px;
  }
  .hero-art {
    min-height: 290px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-top {
    align-items: start;
  }
  .stat-top > span:first-child {
    font-size: 8px;
    max-width: 80px;
  }
  .date-chip {
    font-size: 8px;
  }
  .editor-grid,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary-panel,
  .settings-preview {
    position: static;
  }
  .summary-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .summary-line {
    grid-column: 1/-1;
    margin: 0;
  }
  .summary-total {
    grid-column: 1/-1;
  }
  .warranty-selection {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .info-note {
    grid-column: 1/-1;
  }
  .warranty-option {
    width: 49%;
    display: inline-flex;
    vertical-align: top;
  }
  .summary-body > .btn {
    margin: 0 !important;
  }
  .settings-preview {
    margin-bottom: 25px;
  }
  .settings-grid > aside {
    grid-row: 1;
  }
  .settings-preview .logo-preview {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
  }
  .settings-preview .info-note {
    display: none;
  }
  .qr-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 248px;
    transform: translateX(100%);
    transition: transform 0.25s;
  }
  .sidebar-open .sidebar {
    transform: translateX(0);
  }
  .sidebar-open .sidebar-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #020a18a8;
    backdrop-filter: blur(3px);
    z-index: 49;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 66px;
    padding: 0 20px;
  }
  .topbar-heading {
    gap: 8px;
  }
  .breadcrumb-icon {
    display: none;
  }
  .topbar-actions {
    gap: 10px;
  }
  .user-info {
    min-width: 90px;
  }
  .user-info > .live-dot {
    display: none;
  }
  .main-content {
    padding: 24px 20px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .date-chip {
    display: none;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero-art {
    min-height: 270px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .stat-top > span:first-child {
    font-size: 11px;
    max-width: none;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
  }
  .weekly-card {
    gap: 30px;
  }
  .weekly-bars {
    gap: 12px;
  }
  .app-footer {
    padding: 15px 20px;
  }
  .topbar-divider {
    display: none;
  }
  .nav-list > a.active:after {
    right: -14px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .soft-chip {
    font-size: 8px;
    max-width: 200px;
  }
  .verification-card {
    gap: 10px;
    flex-wrap: wrap;
  }
  .verification-card bdi {
    font-size: 16px;
  }
  .verification-card > div {
    flex: 1;
    min-width: 200px;
  }
  .public-main {
    padding: 30px 15px;
  }
  .filter-bar {
    gap: 10px;
  }
  .date-filter {
    width: calc(50% - 5px);
  }
  .status-filter {
    width: calc(50% - 5px);
  }
  .search-field {
    min-width: 100%;
    flex: auto;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 12px;
  }
  .topbar-heading > span:not(.breadcrumb-icon) {
    display: none;
  }
  .topbar-heading > svg {
    display: none;
  }
  .topbar-heading b {
    font-size: 10px;
  }
  .user-info {
    min-width: 80px;
  }
  .topbar-actions > .icon-button {
    width: 28px;
  }
  .main-content {
    padding: 22px 16px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 260px;
  }
  .page-heading > .btn {
    font-size: 10px;
    padding: 9px 10px;
    gap: 5px;
  }
  .page-heading > .btn svg {
    width: 14px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .welcome-card {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 25px;
  }
  .hero-copy {
    padding: 25px 24px 22px;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
  .hero-copy p {
    font-size: 10px;
    max-width: 80%;
  }
  .hero-art {
    position: absolute;
    left: -63px;
    bottom: -20px;
    width: 210px;
    min-height: 190px;
    opacity: 0.55;
    transform: rotate(-12deg);
    pointer-events: none;
  }
  .controller-art {
    width: 210px;
  }
  .orbit-one {
    width: 170px;
    height: 170px;
  }
  .orbit-two {
    width: 220px;
    height: 220px;
  }
  .art-caption,
  .art-symbol {
    display: none;
  }
  .hero-copy .btn {
    position: relative;
    z-index: 3;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-heading > span {
    font-size: 7px;
  }
  .stat-card {
    padding: 16px 14px;
  }
  .stat-top > span:first-child {
    font-size: 9px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .stat-icon svg {
    width: 15px;
    height: 15px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-foot {
    font-size: 7px;
  }
  .stats-grid {
    gap: 11px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .card-heading {
    padding: 18px 16px;
  }
  .card-heading h2 {
    font-size: 13px;
  }
  .card-heading p {
    font-size: 8px;
  }
  .table-bottom {
    padding: 13px 16px;
  }
  .table-bottom > span:last-child {
    font-size: 7px;
  }
  .quick-tools {
    grid-template-columns: 1fr;
  }
  .studio-promo {
    min-height: 210px;
    padding: 21px;
  }
  .studio-promo h3 {
    font-size: 20px;
  }
  .studio-promo p {
    font-size: 10px;
  }
  .mini-paper {
    width: 120px;
    height: 150px;
    left: 20px;
    bottom: 0;
    opacity: 0.7;
  }
  .qr-promo {
    flex-direction: row;
    text-align: right;
    justify-content: start;
    padding: 22px;
  }
  .qr-promo h3 {
    font-size: 13px;
  }
  .qr-promo p {
    font-size: 9px;
  }
  .qr-promo .text-link {
    justify-content: start;
  }
  .weekly-card {
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .weekly-card > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .weekly-card .eyebrow {
    width: 100%;
  }
  .weekly-card h2 {
    font-size: 24px;
  }
  .weekly-card p {
    font-size: 9px;
  }
  .weekly-bars {
    flex: none;
    gap: 16px;
  }
  .app-footer {
    font-size: 7px;
    padding: 15px 16px;
  }
  .soft-chip {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    padding: 0 18px 5px;
  }
  .form-field > label {
    font-size: 10px;
  }
  .form-control,
  .form-select {
    font-size: 12px;
  }
  .summary-body {
    display: block;
    padding: 18px;
  }
  .summary-total {
    margin-top: 15px;
  }
  .warranty-selection {
    margin-top: 20px;
  }
  .warranty-option {
    width: 100%;
    display: flex;
  }
  .summary-body > .btn {
    margin-top: 8px !important;
  }
  .auth-card {
    padding: 26px 22px;
  }
  .auth-card h1 {
    font-size: 23px;
  }
  .auth-brand {
    margin-bottom: 25px;
  }
  .public-main {
    padding: 25px 16px;
  }
  .detail-number {
    font-size: 21px !important;
  }
  .invoice-detail-container > .page-heading {
    flex-wrap: wrap;
  }
  .verification-card {
    padding: 16px;
  }
  .verification-card > svg {
    width: 18px;
    height: 18px;
  }
  .verification-card bdi {
    font-size: 15px;
    letter-spacing: 1px;
    padding: 8px;
  }
  .verification-card > div {
    min-width: 180px;
  }
  .verification-card p {
    font-size: 8px;
  }
  .invoice-paper-frame {
    border-radius: 7px;
  }
  .invoice-frame {
    min-height: 600px;
  }
  .qr-display,
  .qr-instructions {
    padding: 22px;
  }
  .qr-print-card {
    padding: 22px;
  }
  .qr-image {
    width: 220px;
  }
  .qr-downloads .btn {
    font-size: 11px;
  }
  .settings-actions .btn {
    width: 100%;
  }
  .filter-bar {
    padding: 0 16px 18px;
  }
  .filter-bar .btn {
    flex: 1;
  }
  .app-toast {
    left: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
    font-size: 11px;
  }
  .audit-panel {
    padding: 16px;
  }
  .audit-row {
    gap: 8px;
    font-size: 9px;
  }
  .audit-row small {
    margin-right: auto;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  overflow-x: clip;
}
@media (max-width: 800px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar-open .sidebar {
    visibility: visible;
  }
}
.product-unavailable{display:inline-flex;align-items:center;color:#c62828!important;font-weight:800;margin:.35rem 0}.availability-toggle{display:inline-flex;align-items:center;gap:.65rem;font-weight:700;cursor:pointer}.availability-toggle input{position:absolute;opacity:0;width:1px;height:1px}.availability-toggle-track{width:2.7rem;height:1.5rem;border-radius:2rem;background:#9aa9b9;position:relative;transition:background .2s}.availability-toggle-track:after{content:"";position:absolute;top:.2rem;right:.2rem;width:1.1rem;height:1.1rem;border-radius:50%;background:white;transition:transform .2s}.availability-toggle input:checked+.availability-toggle-track{background:#079455}.availability-toggle input:checked+.availability-toggle-track:after{transform:translateX(-1.2rem)}.availability-toggle input:focus-visible+.availability-toggle-track{outline:3px solid #72b8ff;outline-offset:2px}

.availability-state-unavailable{display:none;color:#c62828}.availability-toggle input:not(:checked)~.availability-state-available{display:none}.availability-toggle input:not(:checked)~.availability-state-unavailable{display:inline-flex}
