:root {
  --ink: #111a33;
  --ink-soft: #4e5c71;
  --muted: #7c879a;
  --line: #e1e6f0;
  --paper: #f6f8fc;
  --white: #fff;
  --green: #1744b1;
  --green-dark: #12378f;
  --green-light: #e9efff;
  --mint: #edf2ff;
  --coral: #e98c69;
  --violet: #7568c5;
  --blue: #3670dc;
  --shadow: 0 24px 70px rgba(23, 68, 177, 0.11);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: Vazirmatn, "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  width: 580px;
  height: 580px;
  top: -220px;
  right: -200px;
  background: radial-gradient(circle, rgba(211, 233, 220, 0.75), rgba(211, 233, 220, 0));
}

.ambient-two {
  width: 500px;
  height: 500px;
  top: 270px;
  left: -260px;
  background: radial-gradient(circle, rgba(227, 226, 246, 0.45), rgba(227, 226, 246, 0));
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(217, 224, 219, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 10px;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.5;
}

.brand-mark.small {
  width: 25px;
  height: 25px;
  border-radius: 7px;
}

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

.brand-beta {
  color: var(--green);
  background: var(--green-light);
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  color: var(--ink-soft);
}

.main-nav a,
.text-button {
  transition: color 180ms ease;
}

.main-nav a:hover,
.text-button:hover {
  color: var(--green);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

.button {
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  color: white;
  background: var(--green);
}

.button-primary {
  color: white;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(32, 93, 69, 0.16);
}

.button-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(32, 93, 69, 0.22);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.play-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-light);
}

.play-icon svg {
  width: 15px;
}

.menu-button {
  display: none;
}

.hero {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 102px 0 68px;
  text-align: center;
}

.eyebrow {
  width: max-content;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--green);
  background: rgba(232, 242, 237, 0.75);
  border: 1px solid #d7e8de;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #3a966f;
  border: 2px solid #c2e2d2;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e3f1ea;
}

.hero h1 {
  margin: 0;
  color: #19251f;
  font-family: "Noto Serif Arabic", Tahoma, serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 590px;
  margin: 27px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.trust-line {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.avatar-stack {
  display: flex;
  direction: ltr;
}

.avatar-stack span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-right: -6px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: white;
  background: #718c7d;
  font-size: 9px;
}

.avatar-stack span:nth-child(2) {
  background: #ad8b79;
}

.avatar-stack span:nth-child(3) {
  background: #777498;
}

.product-preview {
  position: relative;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 82px;
  overflow: hidden;
  background: white;
  border: 1px solid #dde4df;
  border-radius: 19px;
  box-shadow: var(--shadow);
}

.browser-bar {
  direction: ltr;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 0 16px;
  color: #8a958f;
  background: #f4f6f4;
  border-bottom: 1px solid #e3e8e4;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6ddd8;
}

.secure-address {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}

.secure-address svg {
  width: 12px;
  height: 12px;
}

.app-shell {
  min-height: 585px;
  display: grid;
  grid-template-columns: 180px 1fr;
  direction: rtl;
}

.app-sidebar {
  direction: rtl;
  padding: 22px 17px;
  background: #f7f9f7;
  border-left: 1px solid #e6ebe7;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 900;
}

.new-project {
  width: 100%;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.new-project svg,
.side-link svg {
  width: 15px;
  height: 15px;
}

.side-label {
  margin: 25px 8px 9px;
  color: #99a29d;
  font-size: 8px;
}

.side-link {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #6c7871;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 650;
}

.side-link.active {
  color: var(--green);
  background: #e9f1ec;
  font-weight: 850;
}

.free-plan {
  margin-top: 235px;
  padding: 12px;
  color: #526159;
  background: white;
  border: 1px solid #e4e9e5;
  border-radius: 10px;
}

.free-plan span,
.free-plan strong {
  display: block;
  font-size: 8px;
}

.free-plan strong {
  margin-top: 4px;
  font-size: 9px;
}

.free-plan div {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  background: #e8ece9;
  border-radius: 99px;
}

.free-plan i {
  width: 95%;
  height: 100%;
  display: block;
  background: var(--green);
  border-radius: inherit;
}

.app-main {
  direction: rtl;
  padding: 28px 42px;
  background: #fdfefd;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-topbar strong,
.app-topbar small {
  display: block;
}

.app-topbar strong {
  font-size: 17px;
}

.app-topbar small {
  margin-top: 5px;
  color: #839088;
  font-size: 9px;
}

.mobile-app-brand {
  display: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #718078;
  background: white;
  border: 1px solid #e5e9e6;
  border-radius: 8px;
}

.topbar-actions svg {
  width: 15px;
}

.profile {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: white;
  background: #9f8577;
  border-radius: 50%;
  font-size: 10px;
}

.research-box {
  max-width: 665px;
  margin: 60px auto 0;
  padding: 14px;
  background: white;
  border: 1px solid #dfe6e1;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(33, 60, 47, 0.08);
}

.mode-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
}

.mode-pill svg {
  width: 12px;
  height: 12px;
}

.research-box textarea {
  width: 100%;
  min-height: 72px;
  resize: none;
  padding: 17px 5px 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.research-box textarea::placeholder {
  color: #a3aca7;
}

.research-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.research-actions > div {
  display: flex;
  gap: 7px;
}

.research-actions button {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  color: #69756e;
  background: #f6f8f6;
  border: 1px solid #e8ece9;
  border-radius: 6px;
  font-size: 8px;
  cursor: pointer;
}

.research-actions button svg {
  width: 12px;
}

.research-actions .send-button {
  width: 30px;
  justify-content: center;
  padding: 0;
  color: white;
  background: var(--green);
  border: 0;
}

.suggestion-row {
  max-width: 665px;
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.suggestion-row button {
  padding: 6px 9px;
  color: #78847d;
  background: transparent;
  border: 1px solid #e6ebe7;
  border-radius: 999px;
  font-size: 8px;
  cursor: pointer;
  transition: 150ms ease;
}

.suggestion-row button:hover {
  color: var(--green);
  border-color: #b8d0c3;
  background: #f0f6f2;
}

.workspace-heading {
  margin-top: 58px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.workspace-heading a {
  color: var(--green);
  font-size: 8px;
}

.project-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: white;
  border: 1px solid #e7ebe8;
  border-radius: 9px;
}

.file-icon {
  grid-row: 1 / 3;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}

.file-icon.green {
  color: var(--green);
  background: #e7f2ec;
}

.file-icon.violet {
  color: #7568ad;
  background: #eeecf8;
}

.file-icon svg {
  width: 17px;
}

.project-card strong,
.project-card div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card strong {
  font-size: 9px;
}

.project-card div span {
  margin-top: 5px;
  color: #909a94;
  font-size: 7px;
}

.status {
  grid-column: 2;
  justify-self: start;
  color: #8a6922;
  font-size: 7px;
}

.status.done {
  color: var(--green);
}

.preview-glow {
  position: absolute;
  z-index: -1;
  inset: auto 8% -70px;
  height: 100px;
  background: rgba(48, 102, 78, 0.25);
  filter: blur(50px);
}

.logo-strip {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 85px;
  text-align: center;
  color: #8a958f;
  border-top: 1px solid var(--line);
}

.logo-strip > span {
  display: block;
  margin-bottom: 24px;
  font-size: 9px;
}

.logo-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.logo-strip strong {
  color: #707a74;
  font-size: 13px;
}

.logo-strip i {
  width: 3px;
  height: 3px;
  background: #b9c1bc;
  border-radius: 50%;
}

.section {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-section {
  padding: 105px 0;
}

.banking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.banking-card,
.article-card {
  position: relative;
  min-height: 235px;
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.banking-card:hover,
.article-card:hover,
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(26, 53, 40, 0.09);
}

.catalog-index,
.shop-number {
  color: #a3aca7;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.banking-card h3,
.article-card h3,
.shop-card h3 {
  margin: 42px 0 10px;
  font-size: 16px;
  line-height: 1.75;
}

.banking-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
}

.availability {
  display: inline-flex;
  margin-top: 22px;
  padding: 6px 9px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.shop-band {
  position: relative;
  padding: 105px 0 115px;
  color: white;
  background:
    radial-gradient(circle at 8% 15%, rgba(121, 184, 153, 0.16), transparent 26%),
    radial-gradient(circle at 90% 88%, rgba(227, 139, 118, 0.1), transparent 24%),
    #123b2d;
}

.shop-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.shop-intro h2 {
  margin: 24px 0 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.3;
  letter-spacing: -0.055em;
}

.shop-intro > p {
  margin: 0 0 7px;
  color: #bdd0c7;
  font-size: 12px;
  line-height: 2.1;
}

.shop-trust-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 42px;
  padding: 17px 22px;
  color: #d7e5de;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 10px;
}

.shop-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.shop-trust-row i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #173f31;
  background: #b9dfcc;
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.shop-toolbar {
  margin-top: 22px;
  padding: 15px;
  background: #f6f8f6;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(3, 21, 14, 0.2);
}

.shop-search {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  color: #63736b;
  background: white;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
}

.shop-search:focus-within {
  border-color: #79aa91;
  box-shadow: 0 0 0 3px rgba(81, 145, 113, 0.12);
}

.shop-search svg {
  width: 21px;
  flex: 0 0 auto;
}

.shop-search input {
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.shop-filters {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shop-filters::-webkit-scrollbar {
  display: none;
}

.shop-filter {
  flex: 0 0 auto;
  padding: 9px 14px;
  color: #5d6c64;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.shop-filter:hover {
  color: var(--green);
  background: #e9efeb;
}

.shop-filter.active {
  color: white;
  background: var(--green);
}

.shop-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 31px 1px 15px;
  color: #9eb8ab;
  font-size: 9px;
}

.shop-results-head p {
  margin: 0;
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shop-card {
  min-height: 338px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shop-card:hover {
  box-shadow: 0 24px 55px rgba(4, 23, 15, 0.24);
}

.shop-card.featured {
  background: linear-gradient(145deg, #ffffff, #eef6f1);
  border-color: #a9d0bc;
}

.shop-card-top,
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-category {
  color: #5a7869;
  font-size: 9px;
  font-weight: 750;
}

.shop-badge {
  padding: 5px 8px;
  color: #92523f;
  background: #fbe9e4;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.shop-card h3 {
  min-height: auto;
  margin: 28px 0 9px;
  font-size: 17px;
  line-height: 1.65;
}

.shop-description {
  min-height: 62px;
  margin: 0;
  color: #68766f;
  font-size: 10px;
  line-height: 1.9;
}

.shop-card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 17px 0;
}

.shop-card-facts > span {
  min-width: 0;
  padding: 11px;
  background: #edf2ef;
  border-radius: 10px;
}

.shop-card-facts small,
.shop-card-facts strong {
  display: block;
}

.shop-card-facts small {
  margin-bottom: 5px;
  color: #89948e;
  font-size: 7px;
}

.shop-card-facts strong {
  color: #34483e;
  font-size: 8px;
  line-height: 1.65;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e1e7e3;
}

.shop-status {
  position: relative;
  padding-right: 12px;
  color: #76827c;
  font-size: 8px;
  font-weight: 800;
}

.shop-status::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  background: #a3aca7;
  border-radius: 50%;
  transform: translateY(-50%);
  content: "";
}

.shop-status.active::before { background: #43a36d; }
.shop-status.review::before { background: #dc9662; }

.shop-details {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.shop-details span {
  transition: transform 160ms ease;
}

.shop-details:hover span {
  transform: translateX(-3px);
}

.shop-empty {
  padding: 55px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

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

.shop-empty span {
  margin-top: 9px;
  color: #a9bdb3;
  font-size: 10px;
}

.articles-section {
  padding-bottom: 45px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.article-card {
  min-height: 220px;
}

.article-meta {
  color: var(--muted);
  font-size: 9px;
}

.article-card:first-child {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.article-card:first-child .article-meta {
  color: #c9ddd3;
}

.article-card:first-child .availability {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.tools-section {
  padding: 105px 0 120px;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 47px;
}

.section-heading h2,
.workflow-copy h2,
.free-panel h2,
.final-cta h2 {
  margin: 0;
  font-family: "Noto Serif Arabic", Tahoma, serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.45;
  letter-spacing: -0.05em;
}

.section-heading p {
  width: 340px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.feature-card {
  position: relative;
  min-height: 318px;
  padding: 30px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature-card.feature-large {
  grid-row: span 2;
  min-height: 650px;
}

.feature-number {
  color: #a3aca7;
  font-size: 9px;
}

.feature-card h3 {
  margin: 32px 0 9px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-top: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.feature-icon svg {
  width: 27px;
}

.feature-icon.coral {
  color: #b96854;
  background: #faeae5;
}

.feature-icon.blue {
  color: #4d7593;
  background: #e8f1f6;
}

.feature-icon.violet {
  color: #6b60a0;
  background: #eeecf8;
}

.feature-visual {
  margin-top: 55px;
  padding: 20px;
  background: #f4f8f5;
  border: 1px solid #e2eae5;
  border-radius: 13px;
}

.search-field {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #68766e;
  background: white;
  border: 1px solid #dfe6e1;
  border-radius: 8px;
  font-size: 9px;
}

.search-field svg {
  width: 15px;
}

.result-item {
  position: relative;
  height: 67px;
  margin-top: 10px;
  padding: 13px;
  background: white;
  border: 1px solid #e1e7e3;
  border-radius: 8px;
}

.result-item i,
.result-item span,
.result-item b {
  display: block;
  height: 5px;
  background: #dfe5e1;
  border-radius: 99px;
}

.result-item i {
  width: 70%;
  background: #71867a;
}

.result-item span {
  width: 88%;
  margin-top: 9px;
}

.result-item b {
  width: 47%;
  margin-top: 7px;
}

.result-item.first::after {
  content: "۹۲٪ مرتبط";
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--green);
  font-size: 6px;
}

.workflow-section {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 82px 8%;
  color: white;
  background: #1c4938;
  border-radius: 25px;
}

.section-kicker.light {
  color: #a9d0bc;
}

.workflow-copy h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.workflow-copy > p {
  margin: 24px 0;
  color: #c0d2c8;
  font-size: 12px;
  line-height: 2.1;
}

.workflow-copy ul {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.workflow-copy li {
  margin: 10px 0;
  color: #d5e2db;
  font-size: 11px;
}

.workflow-copy li span {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  display: inline-grid;
  place-items: center;
  color: #d8f1e4;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.workflow-copy > a {
  color: white;
  font-size: 11px;
  font-weight: 850;
}

.workflow-copy > a span {
  margin-right: 5px;
}

.citation-demo {
  position: relative;
  min-height: 410px;
}

.paper-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  min-height: 365px;
  padding: 25px;
  color: var(--ink);
  background: #f9fbfa;
  border-radius: 13px;
  transform: rotate(-2.5deg);
  box-shadow: 0 30px 55px rgba(4, 26, 18, 0.24);
}

.paper-head {
  display: flex;
  justify-content: space-between;
  color: #849089;
  font-size: 7px;
}

.paper-tag {
  color: var(--green);
  background: var(--green-light);
  padding: 4px 6px;
  border-radius: 4px;
}

.paper-title-line {
  width: 70%;
  height: 8px;
  margin-top: 25px;
  background: #465950;
  border-radius: 99px;
}

.paper-title-line.short {
  width: 42%;
  margin-top: 8px;
}

.paper-lines {
  margin-top: 28px;
}

.paper-lines i {
  width: 100%;
  height: 5px;
  display: block;
  margin: 9px 0;
  background: #dfe5e1;
  border-radius: 99px;
}

.paper-lines .highlight {
  width: 94%;
  background: #c3e1d1;
}

.paper-lines .small-highlight {
  width: 58%;
}

.page-number {
  position: absolute;
  bottom: 18px;
  left: 22px;
  color: #9aa39e;
  font-size: 7px;
}

.answer-bubble {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 1px;
  width: 72%;
  padding: 17px;
  color: var(--ink);
  background: white;
  border: 1px solid #e4e9e6;
  border-radius: 11px;
  box-shadow: 0 18px 50px rgba(7, 33, 23, 0.2);
}

.answer-bubble .spark {
  color: var(--green);
}

.answer-bubble p {
  margin: 8px 0;
  font-size: 9px;
  line-height: 1.8;
}

.answer-bubble a {
  color: var(--green);
  font-size: 7px;
  font-weight: 800;
}

.free-section {
  padding: 120px 0;
}

.free-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 70px 8%;
  background: #e8f2ec;
  border-radius: 24px;
}

.free-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.free-copy p {
  margin: 0 0 24px;
  color: #54665c;
  font-size: 12px;
  line-height: 2;
}

.final-cta {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 120px;
  text-align: center;
}

.brand-mark.large {
  width: 55px;
  height: 55px;
  margin: 0 auto 25px;
  border-radius: 16px;
}

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

.final-cta h2 {
  margin-bottom: 30px;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  color: #849089;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 2fr 1.2fr;
  gap: 55px;
  padding: 64px 0 50px;
}

.footer-intro p {
  max-width: 280px;
  margin: 22px 0 17px;
  line-height: 2;
}

.review-legend,
.needs-review {
  color: #d44242;
}

.review-legend {
  font-size: 8px;
  font-weight: 800;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3,
.footer-contact h3 {
  margin: 3px 0 20px;
  color: var(--ink);
  font-size: 11px;
}

.footer-column a {
  margin-bottom: 13px;
  transition: color 150ms ease;
}

.footer-column a:hover {
  color: var(--green);
}

.identity-row {
  margin: 0 0 13px;
  line-height: 1.7;
}

.identity-row span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 8px;
}

.identity-row strong {
  font-size: 9px;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  z-index: 30;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  color: white;
  background: #173f31;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(15, 51, 37, 0.25);
  font-size: 11px;
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: 250ms ease;
}

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

.reveal {
  animation: rise 700ms both cubic-bezier(0.2, 0.7, 0.25, 1);
}

.delay-one {
  animation-delay: 80ms;
}

.delay-two {
  animation-delay: 160ms;
}

.delay-three {
  animation-delay: 240ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Authentication */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(370px, 44%) 1fr;
  background: white;
}

.auth-brand {
  position: fixed;
  z-index: 4;
  top: 30px;
  right: 38px;
  color: white;
}

.auth-showcase {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8%;
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 179, 151, 0.28), transparent 32%),
    linear-gradient(145deg, #265f49, #153d2e 68%);
}

.auth-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.6px, transparent 0.6px);
  background-size: 15px 15px;
}

.auth-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.auth-quote-mark {
  display: block;
  height: 40px;
  color: #9bd0b6;
  font-family: Georgia, serif;
  font-size: 74px;
  line-height: 1;
}

.auth-showcase blockquote {
  margin: 25px 0 35px;
  font-family: "Noto Serif Arabic", Tahoma, serif;
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: -0.04em;
}

.quote-by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-by > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #bde3d0;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.quote-by strong,
.quote-by small {
  display: block;
}

.quote-by strong {
  font-size: 11px;
}

.quote-by small {
  margin-top: 4px;
  color: #a8c8b8;
  font-size: 8px;
}

.auth-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
  left: -200px;
  bottom: -180px;
}

.orbit-two {
  width: 310px;
  height: 310px;
  left: -120px;
  bottom: -100px;
}

.auth-document {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
  width: 145px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transform: rotate(3deg);
}

.auth-document i {
  width: 100%;
  height: 4px;
  display: block;
  margin: 7px 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
}

.auth-document i:nth-child(2),
.auth-document i:nth-child(5) {
  width: 72%;
}

.auth-document span {
  display: block;
  margin-top: 15px;
  color: #bce1cf;
  font-size: 7px;
}

.auth-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 30px 35px;
}

.back-link {
  position: absolute;
  top: 32px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
}

.back-link svg {
  width: 15px;
}

.auth-card {
  width: min(390px, 100%);
}

.auth-heading {
  text-align: center;
}

.auth-mobile-mark {
  display: none;
}

.auth-heading h1 {
  margin: 0;
  font-family: "Noto Serif Arabic", Tahoma, serif;
  font-size: 33px;
  letter-spacing: -0.04em;
}

.auth-heading p {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 11px;
}

.auth-tabs {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: #f2f5f3;
  border-radius: 9px;
}

.auth-tabs button {
  height: 34px;
  color: #7c8881;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.auth-tabs button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 3px 10px rgba(35, 61, 49, 0.07);
}

.oauth-button {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  background: white;
  border: 1px solid #dfe5e1;
  border-radius: 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  transition: background 160ms ease;
}

.oauth-button:hover {
  background: #f8faf8;
}

.oauth-button svg {
  width: 18px;
  height: 18px;
  stroke: none;
}

.form-divider {
  height: 35px;
  display: flex;
  align-items: center;
  color: #a0aaa4;
  font-size: 8px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7ebe8;
}

.form-divider span {
  padding: 0 12px;
}

#auth-form > label {
  display: block;
  margin-bottom: 15px;
  color: #45534c;
  font-size: 9px;
  font-weight: 750;
}

#auth-form > label.hidden {
  display: none;
}

#auth-form input:not([type="checkbox"]) {
  width: 100%;
  height: 45px;
  margin-top: 7px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #dde4df;
  border-radius: 9px;
  outline: none;
  font-size: 11px;
  transition:
    border 150ms ease,
    box-shadow 150ms ease;
}

#auth-form input::placeholder {
  color: #adb6b1;
}

#auth-form input:focus {
  border-color: #75a48e;
  box-shadow: 0 0 0 3px rgba(77, 135, 108, 0.1);
}

#auth-form label.invalid input {
  border-color: #d97868;
}

.field-error {
  display: none;
  margin-top: 5px;
  color: #c85c4c;
  font-size: 8px;
}

.invalid > .field-error {
  display: block;
}

.label-row {
  display: flex;
  justify-content: space-between;
}

.label-row a {
  color: var(--green);
  font-weight: 750;
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-left: 42px !important;
}

.password-wrap button {
  position: absolute;
  top: 13px;
  left: 5px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #8b9690;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.password-wrap button svg {
  width: 17px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #68756e;
  font-weight: 500;
  line-height: 1.8;
}

.checkbox-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green);
}

.checkbox-row a {
  color: var(--green);
  font-weight: 750;
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 3px;
}

.auth-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
}

.auth-footnote button {
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.auth-legal {
  position: absolute;
  bottom: 20px;
  color: #a2aba6;
  font-size: 7px;
}

.service-dialog {
  width: min(690px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 38px;
  color: var(--ink);
  background: #fbfcfa;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 36px 110px rgba(4, 24, 15, 0.36);
}

.service-dialog::backdrop {
  background: rgba(8, 28, 20, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  color: #69766f;
  background: #edf1ee;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 22px;
}

.dialog-category {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.service-dialog h2 {
  margin: 13px 0 8px;
  padding-left: 38px;
  font-size: 27px;
}

.dialog-description {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

.dialog-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 23px 0;
}

.dialog-facts > div {
  padding: 15px 17px;
  background: var(--green-light);
  border-radius: 12px;
}

.dialog-facts span,
.dialog-facts strong {
  display: block;
}

.dialog-facts span {
  margin-bottom: 7px;
  color: #708078;
  font-size: 8px;
}

.dialog-facts strong {
  color: #294a3b;
  font-size: 10px;
}

.dialog-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dialog-columns h3 {
  margin: 0 0 11px;
  font-size: 11px;
}

.dialog-columns ul,
.dialog-columns ol {
  margin: 0;
  padding: 0 18px 0 0;
  color: #5f6d66;
  font-size: 9px;
  line-height: 2.2;
}

.dialog-notice {
  margin-top: 24px;
  padding: 13px 15px;
  color: #795f36;
  background: #fff6e5;
  border: 1px solid #f2dfb9;
  border-radius: 10px;
  font-size: 8px;
  line-height: 1.8;
}

.dialog-actions {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.dialog-secondary {
  color: #526159;
  background: #e9eeeb;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    z-index: 20;
    top: 70px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .header-actions {
    display: none;
  }

  .menu-button {
    width: 39px;
    height: 39px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
  }

  .menu-button span {
    width: 16px;
    height: 1.5px;
    background: var(--ink);
  }

  .app-shell {
    grid-template-columns: 135px 1fr;
  }

  .app-main {
    padding: 24px;
  }

  .free-plan {
    margin-top: 245px;
  }

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

  .banking-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }

  #footer-identity {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .feature-card.feature-large {
    grid-row: span 2;
  }

  .workflow-section {
    gap: 45px;
    padding: 65px 6%;
  }

  .auth-page {
    grid-template-columns: 40% 60%;
  }

  .auth-showcase {
    padding: 40px;
  }

  .auth-showcase blockquote {
    font-size: 26px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 32px);
    height: 70px;
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 290px;
    margin-right: auto;
    margin-left: auto;
  }

  .trust-line {
    flex-direction: column;
  }

  .product-preview {
    width: calc(100% - 24px);
    border-radius: 13px;
  }

  .browser-bar {
    height: 34px;
  }

  .app-shell {
    display: block;
    min-height: 530px;
  }

  .app-sidebar {
    display: none;
  }

  .app-main {
    padding: 20px 14px;
  }

  .mobile-app-brand {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
  }

  .research-box {
    margin-top: 42px;
  }

  .suggestion-row {
    overflow-x: auto;
    justify-content: start;
  }

  .suggestion-row button {
    flex: none;
  }

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

  .logo-strip {
    padding-bottom: 55px;
  }

  .logo-strip div {
    flex-wrap: wrap;
    gap: 15px;
  }

  .section {
    width: calc(100% - 32px);
  }

  .tools-section {
    padding: 70px 0;
  }

  .catalog-section,
  .shop-band {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .shop-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shop-intro h2 {
    font-size: 35px;
  }

  .shop-trust-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .shop-toolbar {
    padding: 10px;
  }

  .shop-results-head > span {
    display: none;
  }

  .banking-grid,
  .shop-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .banking-card,
  .article-card,
  .shop-card {
    min-height: auto;
  }

  .shop-card {
    min-height: 325px;
  }

  .service-dialog {
    padding: 28px 20px 22px;
  }

  .service-dialog h2 {
    font-size: 22px;
  }

  .dialog-facts,
  .dialog-columns {
    grid-template-columns: 1fr;
  }

  .dialog-columns {
    gap: 18px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .banking-card h3,
  .article-card h3,
  .shop-card h3 {
    min-height: 0;
    margin-top: 26px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading p {
    width: auto;
  }

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

  .feature-card,
  .feature-card.feature-large {
    min-height: auto;
  }

  .feature-card.feature-large {
    padding-bottom: 34px;
  }

  .workflow-section {
    display: block;
    padding: 55px 28px;
  }

  .citation-demo {
    min-height: 375px;
    margin-top: 55px;
  }

  .free-section {
    padding: 70px 0;
  }

  .free-panel {
    grid-template-columns: 1fr;
    padding: 45px 28px;
  }

  .site-footer {
    width: calc(100% - 32px);
  }

  .footer-top {
    display: block;
    padding: 50px 0 30px;
  }

  .footer-intro,
  .footer-columns,
  .footer-contact {
    margin-bottom: 38px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  #footer-identity {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }

  .auth-page {
    display: block;
  }

  .auth-showcase,
  .auth-brand {
    display: none;
  }

  .auth-main {
    min-height: 100vh;
    padding: 90px 24px 50px;
  }

  .back-link {
    top: 24px;
    left: 24px;
  }

  .auth-mobile-mark {
    width: 42px;
    height: 42px;
    margin: 0 auto 22px;
    display: grid;
  }

  .auth-legal {
    position: static;
    margin-top: 35px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.article-card {
  display: block;
}

.article-card-excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.article-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.article-category {
  display: inline-block;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.article-header h1 {
  font-size: 32px;
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.article-excerpt {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.article-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 22px;
}

.faq-section {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.faq-item.open {
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(26, 53, 40, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* Product, account and legal surfaces */
.panel-page,
.service-page,
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0, rgba(220, 236, 227, 0.8), transparent 32rem),
    var(--paper);
}

.panel-header,
.simple-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.panel-user button,
.dialog-close {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 11px;
  padding: 9px 14px;
  cursor: pointer;
}

.panel-shell,
.service-page > main,
.legal-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.panel-alert {
  margin-bottom: 22px;
  padding: 13px 16px;
  border: 1px solid #f0d2c8;
  border-radius: 12px;
  background: #fff4f0;
  color: #8b3d2d;
}

.panel-alert[hidden] {
  display: none;
}

.panel-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.panel-welcome h1,
.service-page h1,
.legal-shell h1 {
  margin: 0 0 9px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.panel-welcome p,
.service-page p,
.legal-shell p {
  color: var(--ink-soft);
  line-height: 1.9;
}

.panel-stats,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.panel-stats > *,
.admin-metrics > * {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.panel-stats strong,
.admin-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 25px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}

.panel-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(26, 53, 40, 0.07);
}

.panel-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-card h2,
.panel-card h3 {
  margin: 0;
}

.live-chip {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 12px;
  font-weight: 800;
}

.order-form,
.message-form {
  display: grid;
  gap: 14px;
}

.order-form label,
.message-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.order-form input,
.order-form select,
.order-form textarea,
.message-form textarea,
.admin-orders input,
.admin-orders select,
.admin-orders textarea {
  width: 100%;
  border: 1px solid #d8dfda;
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.message-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(32, 93, 69, 0.1);
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-form button,
.message-form button,
.admin-orders button,
.service-page .primary-action {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.order-form button:hover,
.message-form button:hover,
.admin-orders button:hover {
  background: var(--green-dark);
}

.security-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #75531d;
  background: #fff8e8;
  font-size: 13px;
  line-height: 1.8;
}

.orders-list,
.admin-orders {
  display: grid;
  gap: 12px;
}

.orders-list > button,
.admin-orders > article {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: right;
  color: var(--ink);
  background: #fff;
}

.orders-list > button {
  cursor: pointer;
}

.orders-list > button:hover {
  border-color: #b8ccc1;
  transform: translateY(-1px);
}

.admin-section {
  margin-top: 24px;
}

.order-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 88vh;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.order-dialog::backdrop {
  background: rgba(15, 29, 23, 0.52);
  backdrop-filter: blur(4px);
}

.dialog-close {
  float: left;
}

.service-page > main {
  max-width: 900px;
}

.service-page article,
.legal-shell > section {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(26, 53, 40, 0.06);
}

.service-page ul,
.service-page ol,
.legal-shell ul {
  padding-right: 22px;
  color: var(--ink-soft);
  line-height: 2;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.legal-nav a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.owner-placeholder {
  color: #b42318;
  background: #fff0ee;
  border-radius: 6px;
  padding: 1px 5px;
}

@media (max-width: 820px) {
  .panel-grid,
  .panel-stats,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .panel-welcome {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .panel-header,
  .simple-header,
  .panel-shell,
  .service-page > main,
  .legal-shell {
    width: min(100% - 24px, 1120px);
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .panel-user {
    width: 100%;
    justify-content: space-between;
  }

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

  .panel-card {
    padding: 18px;
  }
}

/* Home conversion shell: a focused financial-services storefront. */
.home-page {
  background: #fff;
  color: #111a33;
}

.home-page .ambient {
  pointer-events: none;
  opacity: 0.42;
  filter: blur(12px);
}

.home-page .ambient-one {
  background: #dce7ff;
}

.home-page .ambient-two {
  background: #f0eaff;
}

.utility-bar {
  position: relative;
  z-index: 60;
  min-height: 34px;
  color: #dfe8ff;
  background: #101d40;
  font-size: 12px;
}

.utility-inner {
  width: min(100% - 48px, 1240px);
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-inner a {
  transition: color 160ms ease;
}

.utility-inner a:hover {
  color: #fff;
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 250px) auto;
  align-items: center;
  gap: 26px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7ebf3;
  box-shadow: 0 7px 24px rgba(19, 38, 83, 0.05);
  backdrop-filter: blur(16px);
}

.home-page .brand {
  gap: 9px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.home-page .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #2860e8, #143ca0);
  box-shadow: 0 9px 20px rgba(23, 68, 177, 0.22);
}

.home-page .brand-mark svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.home-page .brand-beta {
  padding: 3px 7px;
  color: #1744b1;
  background: #edf2ff;
  border: 1px solid #dce5fb;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
}

.home-page .main-nav {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 25px;
  color: #34415f;
  font-size: 13px;
  font-weight: 700;
}

.home-page .main-nav a {
  position: relative;
  padding: 27px 0 25px;
}

.home-page .main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 0;
  height: 2px;
  border-radius: 9px;
  background: #2860e8;
  transition: width 180ms ease;
}

.home-page .main-nav a:hover {
  color: #1744b1;
}

.home-page .main-nav a:hover::after {
  width: 100%;
}

.header-search {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7a8499;
  background: #f6f8fc;
  border: 1px solid #e2e7f0;
  border-radius: 10px;
  font-size: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.header-search:hover {
  color: #1744b1;
  background: #fff;
  border-color: #b9c9ec;
}

.header-search svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-page .header-actions {
  gap: 8px;
}

.home-page .text-button {
  padding: 10px 8px;
  color: #25324f;
  font-size: 12px;
  font-weight: 800;
}

.home-page .button {
  border-radius: 9px;
}

.home-page .button-small {
  min-height: 42px;
  padding-inline: 18px;
  color: #fff;
  background: #1744b1;
  border-color: #1744b1;
  box-shadow: 0 8px 17px rgba(23, 68, 177, 0.18);
}

.home-page .hero {
  width: min(100% - 48px, 1240px);
  min-height: 610px;
  margin: 0 auto;
  padding: 70px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  text-align: right;
}

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

.home-page .eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1744b1;
  background: #edf2ff;
  border: 1px solid #dce5fb;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #2860e8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(40, 96, 232, 0.12);
}

.home-page .hero h1 {
  margin: 0;
  color: #101a35;
  font-family: inherit;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 950;
  line-height: 1.23;
  letter-spacing: -3.1px;
}

.home-page .hero h1 span {
  color: #1744b1;
}

.home-page .hero-copy {
  max-width: 640px;
  margin: 25px 0 0;
  color: #56627a;
  font-size: 16px;
  line-height: 2;
}

.home-page .hero-actions {
  margin-top: 30px;
  justify-content: flex-start;
  gap: 10px;
}

.home-page .button-primary {
  color: #fff;
  background: linear-gradient(135deg, #2860e8, #1744b1);
  border-color: #1744b1;
  box-shadow: 0 12px 25px rgba(23, 68, 177, 0.2);
}

.home-page .button-primary:hover {
  background: linear-gradient(135deg, #1744b1, #12378f);
  transform: translateY(-2px);
}

.home-page .button-ghost {
  color: #25324f;
  background: #fff;
  border-color: #dce2ed;
}

.trust-line {
  max-width: 620px;
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #68748b;
  font-size: 11px;
  line-height: 1.8;
}

.trust-line strong {
  color: #38445e;
}

.trust-shield {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #eaf0ff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 29px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, #eef3ff, #f8faff 62%, #f2ecff);
  border: 1px solid #e3e9f5;
  border-radius: 24px;
  transform: rotate(-2.4deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  left: -28px;
  bottom: -24px;
  z-index: -1;
  background: radial-gradient(circle, rgba(40, 96, 232, 0.18) 2px, transparent 2.5px);
  background-size: 14px 14px;
  opacity: 0.7;
}

.starter-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  color: #111a33;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(26, 51, 108, 0.16);
}

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

.starter-head > div > span {
  color: #7d879b;
  font-size: 10px;
  font-weight: 800;
}

.starter-head h2 {
  margin: 5px 0 0;
  font-family: inherit;
  font-size: 21px;
  line-height: 1.45;
}

.starter-status {
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16734c;
  background: #edf9f3;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.starter-status i {
  width: 6px;
  height: 6px;
  background: #24a56d;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(36, 165, 109, 0.12);
}

.starter-current {
  margin-top: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: #f7f9fd;
  border: 1px solid #e5eaf3;
  border-radius: 12px;
}

.starter-current small,
.starter-current strong {
  display: block;
}

.starter-current small {
  margin-bottom: 4px;
  color: #8791a4;
  font-size: 9px;
}

.starter-current strong {
  color: #26334f;
  font-size: 12px;
}

.starter-current > a {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #eaf0ff;
  border-radius: 8px;
}

.starter-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #e7eeff;
  border-radius: 10px;
}

.starter-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.starter-steps {
  position: relative;
  margin: 21px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.starter-steps::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 16%;
  left: 16%;
  height: 1px;
  z-index: 0;
  background: #dfe5ef;
}

.starter-steps span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #919aac;
  font-size: 8px;
  font-weight: 800;
}

.starter-steps i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #7c879b;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 50%;
  font-style: normal;
}

.starter-steps .is-active {
  color: #1744b1;
}

.starter-steps .is-active i {
  color: #fff;
  background: #1744b1;
  border-color: #1744b1;
  box-shadow: 0 0 0 4px #eaf0ff;
}

.starter-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.starter-options a {
  min-height: 68px;
  padding: 9px 5px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #4c5870;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 850;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.starter-options a:hover {
  color: #1744b1;
  border-color: #b9c9ec;
  transform: translateY(-2px);
}

.starter-options span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #edf2ff;
  border-radius: 8px;
  font-size: 13px;
}

.starter-action {
  width: 100%;
  min-height: 47px;
  margin-top: 18px;
  justify-content: center;
  font-size: 12px;
}

.starter-card > p {
  margin: 11px 0 0;
  color: #8791a4;
  text-align: center;
  font-size: 9px;
  line-height: 1.7;
}

.floating-proof {
  position: absolute;
  right: 3px;
  bottom: 1px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #34415d;
  background: #fff;
  border: 1px solid #e0e6f1;
  border-radius: 10px;
  box-shadow: 0 15px 32px rgba(24, 45, 91, 0.14);
  font-size: 9px;
  font-weight: 900;
}

.floating-proof i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #24a56d;
  border-radius: 50%;
  font-style: normal;
}

.home-page .logo-strip {
  width: min(100% - 48px, 1240px);
  margin: 0 auto 76px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
  background: #f7f9fd;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
}

.home-page .logo-strip > span {
  color: #1744b1;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.home-page .trust-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 0;
}

.home-page .trust-points strong {
  min-width: 0;
  padding: 2px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2b3853;
  border-right: 1px solid #e1e6ef;
  font-size: 11px;
}

.home-page .trust-points strong:first-child {
  border-right: 0;
}

.home-page .trust-points i {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #e9efff;
  border-radius: 9px;
  font-style: normal;
  font-size: 14px;
}

.home-page .trust-points span,
.home-page .trust-points small {
  display: block;
}

.home-page .trust-points small {
  margin-top: 3px;
  color: #8791a4;
  font-size: 8px;
  font-weight: 600;
}

.home-page .shop-band {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(117, 144, 255, 0.25), transparent 24%),
    linear-gradient(140deg, #0f2f83, #1744b1 58%, #245ee0);
  border-radius: 0;
  overflow: hidden;
}

.home-page .shop-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.home-page .shop-inner {
  position: relative;
  z-index: 1;
  padding-top: 84px;
  padding-bottom: 92px;
}

.home-page .shop-intro h2,
.home-page .section-heading h2,
.home-page .workflow-copy h2,
.home-page .free-copy h2,
.home-page .cta-banner h2 {
  font-family: inherit;
  letter-spacing: -1.7px;
}

.home-page .shop-intro h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
}

.home-page .shop-intro p {
  color: rgba(255, 255, 255, 0.73);
}

.shop-trust-row {
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-trust-row span {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #edf3ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 750;
}

.shop-trust-row i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #1744b1;
  background: #fff;
  border-radius: 50%;
  font-style: normal;
  font-size: 8px;
}

.home-page .shop-toolbar {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  backdrop-filter: blur(10px);
}

.home-page .shop-search {
  background: #fff;
  border-color: #fff;
  border-radius: 9px;
}

.home-page .shop-filter {
  color: #e7eeff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.home-page .shop-filter:hover,
.home-page .shop-filter.is-active {
  color: #1744b1;
  background: #fff;
  border-color: #fff;
}

.home-page .shop-results-head {
  color: rgba(255, 255, 255, 0.65);
}

.home-page .shop-grid {
  gap: 16px;
}

.home-page .shop-card {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 13px;
  box-shadow: 0 17px 38px rgba(7, 24, 67, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 48px rgba(7, 24, 67, 0.25);
}

.home-page .shop-card .shop-icon {
  color: #1744b1;
  background: #edf2ff;
  border-radius: 10px;
}

.home-page .shop-empty {
  color: #dfe8ff;
}

.home-page .section {
  width: min(100% - 48px, 1180px);
}

.home-page .catalog-section,
.home-page .tools-section,
.home-page .faq-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.home-page .section-kicker {
  color: #1744b1;
  font-size: 11px;
  font-weight: 950;
}

.home-page .section-heading h2 {
  color: #111a33;
  font-size: clamp(34px, 4.1vw, 52px);
}

.home-page .section-heading p {
  color: #68748b;
}

.home-page .openrouter-preview {
  margin-top: 90px;
  margin-bottom: 20px;
  padding: clamp(28px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(110, 139, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #101a39, #17337b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(17, 39, 91, 0.2);
  overflow: hidden;
}

.home-page .openrouter-preview-copy h2 {
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(35px, 4.2vw, 54px);
  line-height: 1.28;
  letter-spacing: -1.8px;
}

.home-page .openrouter-preview-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(237, 243, 255, 0.75);
  font-size: 14px;
  line-height: 2;
}

.home-page .openrouter-preview-copy small {
  display: block;
  margin-top: 17px;
  color: rgba(220, 229, 249, 0.62);
  font-size: 10px;
  line-height: 1.9;
}

.home-page .openrouter-preview-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .openrouter-preview .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-page .openrouter-preview .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.home-page .openrouter-preview-panel {
  padding: clamp(22px, 3vw, 32px);
  color: #16213d;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 26px 58px rgba(5, 17, 52, 0.32);
}

.home-page .preview-panel-head,
.home-page .preview-balance,
.home-page .preview-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-page .preview-panel-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #e6eaf2;
  font-size: 13px;
  font-weight: 900;
}

.home-page .preview-panel-head b {
  padding: 7px 10px;
  color: #765600;
  background: #fff5d6;
  border-radius: 999px;
  font-size: 9px;
}

.home-page .preview-balance,
.home-page .preview-key {
  padding: 19px 0;
  border-bottom: 1px solid #e9edf4;
}

.home-page .preview-balance span,
.home-page .preview-key span {
  color: #748096;
  font-size: 10px;
}

.home-page .preview-balance strong {
  color: #1744b1;
  font-size: 14px;
}

.home-page .preview-key code {
  direction: ltr;
  padding: 8px 10px;
  color: #5b6680;
  background: #f3f5fa;
  border-radius: 8px;
  font-size: 11px;
}

.home-page .preview-features {
  padding-top: 19px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.home-page .preview-features span {
  min-height: 62px;
  padding: 10px;
  display: grid;
  place-items: center;
  color: #536078;
  background: #f4f7fc;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
}

.home-page .bank-card,
.home-page .article-card,
.home-page .feature-card,
.home-page .faq-item {
  border-color: #e1e6ef;
  border-radius: 13px;
  box-shadow: 0 12px 34px rgba(28, 52, 101, 0.06);
}

.home-page .bank-card:hover,
.home-page .article-card:hover,
.home-page .feature-card:hover {
  border-color: #bdccec;
  box-shadow: 0 18px 40px rgba(23, 68, 177, 0.11);
}

.home-page .bank-icon,
.home-page .feature-icon {
  color: #1744b1;
  background: #eaf0ff;
  border-radius: 10px;
}

.home-page .articles-section {
  position: relative;
}

.home-page .articles-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 100vw;
  height: 100%;
  z-index: -1;
  transform: translateX(50%);
  background: #f6f8fc;
  border-block: 1px solid #e9edf4;
}

.home-page .workflow {
  color: #fff;
  background: linear-gradient(135deg, #101d40, #143b96);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(17, 38, 85, 0.18);
}

.home-page .workflow-copy p,
.home-page .workflow-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.home-page .workflow-steps span {
  color: #1744b1;
  background: #fff;
}

.home-page .free-section {
  background: linear-gradient(135deg, #eef3ff, #f8faff);
  border: 1px solid #dfe7f6;
  border-radius: 18px;
}

.home-page .answer-bubble a {
  color: #1744b1;
}

.home-page .cta-banner {
  color: #fff;
  background: linear-gradient(135deg, #1744b1, #2860e8);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(23, 68, 177, 0.2);
}

.home-page .site-footer {
  width: 100%;
  max-width: none;
  margin: 85px 0 0;
  padding: 68px max(24px, calc((100vw - 1180px) / 2)) 28px;
  color: #dfe6f5;
  background: #10182d;
  border-top: 0;
}

.home-page .footer-lead p,
.home-page .footer-column a,
.home-page .footer-contact,
.home-page .footer-bottom {
  color: #9eabc3;
}

.home-page .footer-column h3,
.home-page .footer-contact h3 {
  color: #fff;
}

.home-page .footer-column a:hover {
  color: #fff;
}

.home-page .footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
}

.mobile-order-bar {
  display: none;
}

@media (max-width: 1120px) {
  .home-page .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .home-page .header-search {
    display: none;
  }

  .home-page .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    gap: 40px;
  }

  .home-page .hero h1 {
    font-size: clamp(42px, 5vw, 60px);
  }

  .home-page .trust-points strong {
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .utility-inner,
  .home-page .hero,
  .home-page .logo-strip,
  .home-page .section {
    width: min(100% - 40px, 760px);
  }

  .home-page .site-header {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .home-page .main-nav {
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    width: auto;
    padding: 10px;
    color: #27344f;
    background: #fff;
    border: 1px solid #e1e6ef;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20, 39, 82, 0.14);
  }

  .home-page .main-nav a {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
  }

  .home-page .main-nav a:hover {
    background: #f2f5fb;
  }

  .home-page .main-nav a::after,
  .home-page .header-actions {
    display: none;
  }

  .home-page .menu-button {
    justify-self: end;
  }

  .home-page .hero {
    min-height: auto;
    padding: 60px 0 70px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy-block {
    max-width: 680px;
  }

  .home-page .hero h1 {
    font-size: clamp(43px, 8vw, 63px);
  }

  .hero-visual {
    width: min(100%, 570px);
    justify-self: center;
  }

  .home-page .logo-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .trust-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .home-page .trust-points strong:nth-child(3) {
    border-right: 0;
  }

  .home-page .openrouter-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .utility-bar {
    min-height: 31px;
  }

  .utility-inner {
    min-height: 31px;
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
    font-size: 10px;
  }

  .utility-inner nav {
    display: none;
  }

  .home-page {
    padding-bottom: 70px;
  }

  .home-page .site-header {
    padding-inline: 16px;
  }

  .home-page .brand {
    font-size: 18px;
  }

  .home-page .brand-mark {
    width: 34px;
    height: 34px;
  }

  .utility-inner,
  .home-page .hero,
  .home-page .logo-strip,
  .home-page .section {
    width: calc(100% - 32px);
  }

  .home-page .hero {
    padding: 45px 0 58px;
    gap: 38px;
  }

  .home-page .eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .home-page .hero h1 {
    font-size: clamp(37px, 11.4vw, 51px);
    letter-spacing: -2.2px;
    line-height: 1.28;
  }

  .home-page .hero-copy {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .home-page .hero-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-page .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    justify-content: center;
    font-size: 11px;
  }

  .hero-visual {
    width: 100%;
    padding: 15px 8px 22px;
  }

  .hero-visual::before {
    border-radius: 18px;
    transform: rotate(-1deg);
  }

  .starter-card {
    padding: 18px;
    border-radius: 14px;
  }

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

  .starter-status {
    font-size: 8px;
  }

  .starter-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .starter-options a {
    min-height: 61px;
  }

  .floating-proof {
    right: -3px;
    bottom: -3px;
  }

  .home-page .logo-strip {
    margin-bottom: 54px;
    padding: 20px;
  }

  .home-page .trust-points {
    gap: 15px 0;
  }

  .home-page .trust-points strong {
    padding-inline: 8px;
    gap: 7px;
    font-size: 9px;
  }

  .home-page .trust-points i {
    width: 30px;
    height: 30px;
  }

  .home-page .shop-inner,
  .home-page .catalog-section,
  .home-page .tools-section,
  .home-page .faq-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .home-page .shop-intro h2,
  .home-page .section-heading h2,
  .home-page .openrouter-preview-copy h2 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .home-page .openrouter-preview {
    width: calc(100% - 32px);
    margin-top: 58px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .home-page .openrouter-preview-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .openrouter-preview-actions .button {
    width: 100%;
  }

  .home-page .preview-panel-head,
  .home-page .preview-balance,
  .home-page .preview-key {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page .preview-features {
    grid-template-columns: 1fr;
  }

  .shop-trust-row {
    gap: 7px;
  }

  .shop-trust-row span {
    font-size: 9px;
  }

  .home-page .site-footer {
    margin-top: 60px;
    padding: 48px 20px 26px;
  }

  .mobile-order-bar {
    position: fixed;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 80;
    min-height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #dce6ff;
    background: rgba(15, 28, 61, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 13px 35px rgba(7, 18, 43, 0.3);
    backdrop-filter: blur(13px);
    font-size: 10px;
  }

  .mobile-order-bar strong {
    padding: 8px 13px;
    color: #fff;
    background: #2860e8;
    border-radius: 8px;
    font-size: 11px;
  }
}

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

/* Dashboard — calm, service-first fintech workspace */
.dashboard-app {
  --dash-navy-950: #07192d;
  --dash-navy-900: #0d223d;
  --dash-navy-800: #173555;
  --dash-blue: #2c64dc;
  --dash-blue-dark: #1f4fbd;
  --dash-blue-soft: #edf3ff;
  --dash-green: #12a773;
  --dash-green-soft: #eaf9f3;
  --dash-amber: #d99412;
  --dash-amber-soft: #fff7e5;
  --dash-violet: #785bd8;
  --dash-violet-soft: #f2efff;
  --dash-red: #c84954;
  --dash-red-soft: #fff0f1;
  --dash-canvas: #f4f7fb;
  --dash-surface: #ffffff;
  --dash-text: #17263d;
  --dash-muted: #6a778b;
  --dash-border: #e1e8f1;
  --dash-border-strong: #d3ddea;
  --dash-shadow: 0 14px 36px rgba(25, 49, 82, 0.07);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--dash-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(44, 100, 220, 0.045), transparent 28rem),
    var(--dash-canvas);
  direction: rtl;
  font-family: Vazirmatn, "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

.dashboard-app *,
.dashboard-app *::before,
.dashboard-app *::after {
  box-sizing: border-box;
}

.dashboard-app [hidden] {
  display: none !important;
}

.dashboard-app button,
.dashboard-app input,
.dashboard-app select,
.dashboard-app textarea {
  font: inherit;
}

.dashboard-app button,
.dashboard-app select {
  cursor: pointer;
}

.dashboard-app button:disabled,
.dashboard-app input:disabled,
.dashboard-app select:disabled,
.dashboard-app textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.dashboard-app :focus-visible {
  outline: 3px solid rgba(44, 100, 220, 0.24);
  outline-offset: 2px;
}

.dashboard-layout {
  min-height: 100vh;
}

.dashboard-sidebar {
  position: fixed;
  z-index: 100;
  inset: 0 0 0 auto;
  width: 282px;
  min-height: 100vh;
  height: 100dvh;
  padding: 25px 20px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  color: #dce7f4;
  background:
    radial-gradient(circle at 50% -5%, rgba(67, 122, 195, 0.23), transparent 18rem),
    linear-gradient(165deg, var(--dash-navy-800), var(--dash-navy-950) 72%);
  box-shadow: -8px 0 32px rgba(5, 21, 39, 0.13);
}

.sidebar-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.dashboard-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  text-decoration: none;
}

.dashboard-brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #4081f1, #1f57cf);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(12, 45, 98, 0.35);
  font-size: 21px;
  font-weight: 900;
}

.dashboard-brand > span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.dashboard-brand strong {
  font-size: 18px;
  line-height: 1.5;
}

.dashboard-brand small {
  color: #9fb1c7;
  font-size: 10px;
  line-height: 1.6;
  white-space: nowrap;
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--dash-muted);
  background: transparent;
  border: 1px solid var(--dash-border);
  border-radius: 12px;
}

.sidebar-close {
  display: none;
  color: #dce7f4;
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 24px;
}

.dashboard-nav {
  display: grid;
  gap: 4px;
}

.nav-label {
  margin: 20px 12px 6px;
  color: #7f95ae;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-label:first-child {
  margin-top: 0;
}

.dashboard-nav-item {
  width: 100%;
  min-height: 48px;
  padding: 7px 11px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #bbcadb;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: right;
  font-size: 13px;
  font-weight: 620;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dashboard-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.065);
}

.dashboard-nav-item.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(53, 111, 224, 0.26), rgba(63, 128, 241, 0.13));
  border-color: rgba(109, 159, 244, 0.2);
  box-shadow: inset -3px 0 #4c87f2;
}

.nav-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #9db2cb;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 800;
}

.dashboard-nav-item.is-active .nav-icon {
  color: #fff;
  background: rgba(75, 135, 240, 0.35);
}

.nav-count,
.nav-preview-tag {
  min-width: 24px;
  padding: 3px 7px;
  color: #dfe9ff;
  background: rgba(75, 135, 240, 0.25);
  border-radius: 999px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
}

.nav-preview-tag {
  color: #f4dfab;
  background: rgba(217, 148, 18, 0.18);
}

.sidebar-help {
  margin-top: auto;
  padding: 18px;
  color: #dce7f4;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.sidebar-help-icon {
  width: 33px;
  height: 33px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2d68d6;
  border-radius: 10px;
  font-weight: 900;
}

.sidebar-help strong {
  display: block;
  color: #fff;
  font-size: 12px;
}

.sidebar-help p {
  margin: 6px 0 13px;
  color: #9fb1c7;
  font-size: 10px;
  line-height: 1.9;
}

.sidebar-help-button {
  width: 100%;
  min-height: 37px;
  color: #fff;
  background: rgba(58, 119, 231, 0.84);
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
}

.sidebar-home-link {
  margin-top: 13px;
  padding: 8px;
  color: #8299b3;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
}

.sidebar-home-link:hover {
  color: #fff;
}

.dashboard-main {
  min-height: 100vh;
  margin-right: 282px;
}

.dashboard-topbar {
  position: sticky;
  z-index: 70;
  top: 0;
  min-height: 84px;
  padding: 14px clamp(22px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(222, 230, 240, 0.9);
  box-shadow: 0 8px 30px rgba(25, 49, 82, 0.035);
  backdrop-filter: blur(15px);
}

.topbar-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.topbar-heading p {
  margin: 0 0 2px;
  color: var(--dash-muted);
  font-size: 10px;
}

.topbar-heading h1 {
  margin: 0;
  color: var(--dash-text);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
}

.sidebar-toggle {
  display: none;
}

.panel-user {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(90px, auto) auto;
  align-items: center;
  gap: 10px;
}

.user-avatar,
.profile-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3373e5, #2455bd);
  border-radius: 12px;
  font-weight: 850;
  box-shadow: 0 7px 17px rgba(44, 100, 220, 0.2);
}

.user-avatar {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.user-identity-wrap {
  min-width: 0;
  display: grid;
}

.user-identity-wrap strong {
  max-width: 180px;
  overflow: hidden;
  color: var(--dash-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.user-identity-wrap span {
  color: var(--dash-muted);
  font-size: 9px;
}

.dashboard-logout {
  min-height: 37px;
  padding: 0 13px;
  color: #8c5360;
  background: #fff;
  border: 1px solid #eddde1;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 750;
}

.dashboard-logout:hover {
  color: #fff;
  background: var(--dash-red);
  border-color: var(--dash-red);
}

.dashboard-content {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 31px clamp(22px, 3vw, 42px) 56px;
}

.panel-alert {
  margin-bottom: 22px;
  padding: 13px 16px;
  color: #245b49;
  background: var(--dash-green-soft);
  border: 1px solid #c9eddf;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.9;
}

.panel-alert[data-kind="error"] {
  color: #933d48;
  background: var(--dash-red-soft);
  border-color: #f1ccd1;
}

.panel-alert[data-kind="info"] {
  color: #315d9e;
  background: var(--dash-blue-soft);
  border-color: #d2e0fb;
}

.dashboard-view {
  animation: dashboard-view-in 230ms ease both;
}

@keyframes dashboard-view-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.overview-hero,
.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.overview-hero {
  margin-bottom: 24px;
}

.overview-hero h2,
.view-heading h2 {
  margin: 3px 0 6px;
  color: var(--dash-text);
  font-size: clamp(22px, 2.8vw, 31px);
  letter-spacing: -0.035em;
}

.overview-hero p,
.view-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.9;
}

.view-heading {
  margin-bottom: 24px;
}

.eyebrow {
  display: block;
  color: var(--dash-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.dashboard-app .button {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.dashboard-app .button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.dashboard-app .button-primary,
.dashboard-primary-button {
  color: #fff;
  background: linear-gradient(135deg, #3677e6, #2458c8);
  border-color: #2458c8;
  box-shadow: 0 8px 20px rgba(44, 100, 220, 0.18);
}

.dashboard-app .button-primary:hover:not(:disabled),
.dashboard-primary-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #2f6cda, #1f4fbd);
  box-shadow: 0 10px 23px rgba(44, 100, 220, 0.25);
}

.dashboard-app .button-secondary {
  color: #3f5777;
  background: #fff;
  border-color: var(--dash-border-strong);
}

.dashboard-app .button-secondary:hover:not(:disabled) {
  color: var(--dash-blue);
  border-color: #b6c9ed;
}

.heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-stat {
  min-width: 0;
  min-height: 127px;
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: 17px;
  box-shadow: 0 10px 25px rgba(25, 49, 82, 0.045);
}

.stat-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 850;
}

.stat-blue .stat-icon {
  color: var(--dash-blue);
  background: var(--dash-blue-soft);
}

.stat-amber .stat-icon {
  color: var(--dash-amber);
  background: var(--dash-amber-soft);
}

.stat-green .stat-icon {
  color: var(--dash-green);
  background: var(--dash-green-soft);
}

.stat-violet .stat-icon {
  color: var(--dash-violet);
  background: var(--dash-violet-soft);
}

.dashboard-stat div {
  min-width: 0;
  display: grid;
}

.dashboard-stat small {
  color: var(--dash-muted);
  font-size: 10px;
}

.dashboard-stat strong {
  margin: 1px 0 0;
  color: var(--dash-text);
  font-size: 25px;
  line-height: 1.35;
}

.dashboard-stat div span {
  color: #94a0b0;
  font-size: 9px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-card {
  min-width: 0;
  padding: 23px;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: 18px;
  box-shadow: var(--dash-shadow);
}

.dashboard-card-heading {
  min-height: 40px;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-card-heading > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-card-heading > div:has(.eyebrow) {
  display: block;
}

.dashboard-card-heading h3,
.profile-card h3,
.identity-summary h3 {
  margin: 1px 0 0;
  color: var(--dash-text);
  font-size: 15px;
}

.text-button {
  padding: 6px 0;
  color: var(--dash-blue);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 750;
}

.orders-list,
.data-list,
.management-list,
.admin-orders,
.openrouter-purchases {
  min-width: 0;
}

.order-row {
  width: 100%;
  min-height: 69px;
  padding: 12px 5px;
  display: grid;
  grid-template-columns: minmax(150px, 1.5fr) minmax(90px, 0.8fr) minmax(92px, auto);
  align-items: center;
  gap: 13px;
  color: var(--dash-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  text-align: right;
}

.order-row:last-child {
  border-bottom: 0;
}

.order-row:hover {
  background: #f8faff;
}

.row-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.row-copy strong,
.data-cell strong,
.management-row-copy strong {
  overflow: hidden;
  color: var(--dash-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.row-copy small,
.data-cell small,
.management-row-copy small {
  overflow: hidden;
  color: var(--dash-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.row-amount {
  color: #4f6077;
  font-size: 10px;
  font-weight: 750;
}

.quick-actions {
  display: grid;
  gap: 7px;
}

.quick-actions button {
  width: 100%;
  min-height: 66px;
  padding: 9px 5px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  color: var(--dash-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  text-align: right;
}

.quick-actions button:last-child {
  border-bottom: 0;
}

.quick-actions button:hover {
  background: #f8faff;
}

.quick-action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--dash-blue);
  background: var(--dash-blue-soft);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 850;
}

.quick-actions button:nth-child(2) .quick-action-icon {
  color: var(--dash-green);
  background: var(--dash-green-soft);
}

.quick-actions button:nth-child(3) .quick-action-icon {
  color: var(--dash-violet);
  background: var(--dash-violet-soft);
}

.quick-actions button:nth-child(4) .quick-action-icon {
  color: var(--dash-amber);
  background: var(--dash-amber-soft);
}

.quick-actions button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.quick-actions strong {
  font-size: 11px;
}

.quick-actions small {
  color: var(--dash-muted);
  font-size: 9px;
}

.quick-actions b {
  color: #a1adbd;
  font-size: 14px;
}

.account-safety-strip {
  margin-top: 18px;
  padding: 16px 19px;
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  color: #315345;
  background: linear-gradient(100deg, #effaf6, #f8fcfb);
  border: 1px solid #d3eee3;
  border-radius: 15px;
}

.safety-shield {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dash-green);
  border-radius: 12px;
  font-weight: 900;
}

.account-safety-strip strong {
  font-size: 11px;
}

.account-safety-strip p {
  margin: 2px 0 0;
  color: #668275;
  font-size: 9px;
  line-height: 1.8;
}

.account-safety-strip button {
  min-height: 35px;
  padding: 0 13px;
  color: #258263;
  background: #fff;
  border: 1px solid #c8e7db;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 750;
}

.orders-workspace {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(430px, 1.22fr);
  gap: 18px;
  align-items: start;
}

.order-create-card {
  position: sticky;
  top: 108px;
}

.step-badge {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dash-blue);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 850;
}

.service-response-chip,
.list-hint,
.preview-pill {
  color: #59708f;
  background: #f3f6fa;
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}

.service-response-chip,
.preview-pill {
  padding: 5px 9px;
}

.list-hint {
  padding: 4px 8px;
}

.order-form,
.ticket-form,
.profile-form,
.admin-content-form,
.admin-update-form,
.admin-ticket-form,
.message-form {
  display: grid;
  gap: 14px;
}

.dashboard-app label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #42536a;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-app input,
.dashboard-app select,
.dashboard-app textarea {
  width: 100%;
  min-width: 0;
  color: var(--dash-text);
  background: #fbfcfe;
  border: 1px solid var(--dash-border-strong);
  border-radius: 10px;
  outline: 0;
  font-size: 11px;
  font-weight: 450;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.dashboard-app input,
.dashboard-app select {
  height: 44px;
  padding: 0 12px;
}

.dashboard-app textarea {
  min-height: 112px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.9;
}

.dashboard-app input:focus,
.dashboard-app select:focus,
.dashboard-app textarea:focus {
  background: #fff;
  border-color: #83a7eb;
  box-shadow: 0 0 0 3px rgba(44, 100, 220, 0.09);
}

.dashboard-app input::placeholder,
.dashboard-app textarea::placeholder {
  color: #a0abba;
}

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

.security-note,
.form-help {
  margin: -2px 0 0;
  color: #77869a;
  font-size: 9px;
  line-height: 1.9;
}

.security-note {
  padding: 10px 12px;
  color: #82692d;
  background: #fffaf0;
  border: 1px solid #f2e5c7;
  border-radius: 10px;
}

.empty-state {
  margin: 0;
  padding: 36px 15px;
  color: #8491a4;
  text-align: center;
  font-size: 10px;
  line-height: 1.9;
}

.data-card {
  padding: 0;
  overflow: hidden;
}

.data-card > .dashboard-card-heading {
  margin: 0;
  padding: 22px 23px 5px;
}

.data-list-head,
.data-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) minmax(160px, 1.5fr) minmax(105px, 0.8fr) minmax(95px, 0.7fr) minmax(105px, 0.8fr);
  align-items: center;
  gap: 14px;
}

.data-list-head {
  min-height: 47px;
  padding: 0 23px;
  color: #738095;
  background: #f7f9fc;
  border-bottom: 1px solid var(--dash-border);
  font-size: 9px;
  font-weight: 750;
}

.tickets-list-head,
.ticket-row {
  grid-template-columns: minmax(210px, 1.6fr) minmax(100px, 0.75fr) minmax(100px, 0.75fr) minmax(120px, 0.9fr);
}

.data-row {
  width: 100%;
  min-height: 70px;
  padding: 10px 23px;
  color: var(--dash-text);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  text-align: right;
}

button.data-row:hover {
  background: #f8faff;
}

.data-row:last-child {
  border-bottom: 0;
}

.data-cell {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.invoice-amount {
  color: #2a3f5b;
  font-size: 10px;
  font-weight: 800;
}

.status-chip {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #596b82;
  background: #f0f3f7;
  border: 1px solid #e1e7ef;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
}

.status-new,
.status-open,
.status-pending {
  color: #315fa4;
  background: #edf4ff;
  border-color: #d6e4fb;
}

.status-reviewing,
.status-in_progress,
.status-processing {
  color: #906814;
  background: #fff7e5;
  border-color: #f2e2ba;
}

.status-quoted,
.status-awaiting_payment,
.status-awaiting_user {
  color: #7255b8;
  background: #f3efff;
  border-color: #e2d9fb;
}

.status-completed,
.status-resolved,
.status-verified {
  color: #257658;
  background: #ebf9f3;
  border-color: #caebdf;
}

.status-cancelled,
.status-closed,
.status-rejected {
  color: #a3444e;
  background: #fff0f1;
  border-color: #f0cfd3;
}

.status-preview,
.preview-pill {
  color: #77652d;
  background: #fff8e7;
  border-color: #ebdfbc;
}

.openrouter-notice {
  margin-bottom: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #405d83;
  background: #eff5ff;
  border: 1px solid #d5e2f8;
  border-radius: 14px;
}

.openrouter-notice > span {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dash-blue);
  border-radius: 9px;
  font-family: Georgia, serif;
  font-weight: 900;
}

.openrouter-notice strong {
  font-size: 11px;
}

.openrouter-notice p {
  margin: 3px 0 0;
  color: #6c7f9c;
  font-size: 9px;
  line-height: 1.9;
}

.openrouter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.masked-key {
  min-height: 96px;
  margin-bottom: 18px;
  padding: 17px;
  display: grid;
  align-content: center;
  gap: 4px;
  direction: ltr;
  color: #62718a;
  background: #f7f9fc;
  border: 1px dashed #cbd6e4;
  border-radius: 12px;
}

.masked-key span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  letter-spacing: 0.07em;
}

.masked-key small {
  color: #93a0b0;
  font-size: 9px;
}

.openrouter-balance-card {
  display: grid;
  align-content: center;
}

.openrouter-balance-card > strong {
  margin: 8px 0 5px;
  color: var(--dash-text);
  font-size: 25px;
}

.openrouter-balance-card > p {
  margin: 0 0 18px;
  color: var(--dash-muted);
  font-size: 10px;
  line-height: 1.9;
}

.ticket-compose {
  margin-bottom: 18px;
  border-color: #ccdafa;
  box-shadow: 0 12px 32px rgba(44, 100, 220, 0.08);
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(400px, 1.1fr);
  gap: 18px;
}

.identity-summary {
  text-align: center;
}

.identity-mark {
  width: 62px;
  height: 62px;
  margin: 4px auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3b79e2, #2558c4);
  border-radius: 19px;
  box-shadow: 0 10px 25px rgba(44, 100, 220, 0.2);
  font-size: 25px;
  font-weight: 900;
}

.identity-summary > p {
  max-width: 490px;
  margin: 8px auto 20px;
  color: var(--dash-muted);
  font-size: 10px;
  line-height: 2;
}

.identity-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--dash-border);
  border-radius: 12px;
}

.identity-facts div {
  min-width: 0;
  padding: 12px 9px;
  display: grid;
  gap: 3px;
  border-left: 1px solid var(--dash-border);
}

.identity-facts div:last-child {
  border-left: 0;
}

.identity-facts dt {
  color: var(--dash-muted);
  font-size: 8px;
}

.identity-facts dd {
  margin: 0;
  overflow: hidden;
  color: var(--dash-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 750;
}

.identity-steps {
  margin: 0 0 19px;
  padding: 0;
  display: grid;
  list-style: none;
}

.identity-steps li {
  position: relative;
  min-height: 66px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.identity-steps li::after {
  content: "";
  position: absolute;
  top: 36px;
  right: 17px;
  bottom: 0;
  width: 1px;
  background: var(--dash-border);
}

.identity-steps li:last-child::after {
  display: none;
}

.identity-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #748196;
  background: #f3f6fa;
  border: 1px solid var(--dash-border);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.identity-steps li.is-complete > span {
  color: #fff;
  background: var(--dash-green);
  border-color: var(--dash-green);
}

.identity-steps strong,
.identity-steps small {
  display: block;
}

.identity-steps strong {
  margin: 1px 0 3px;
  font-size: 11px;
}

.identity-steps small {
  color: var(--dash-muted);
  font-size: 9px;
}

.identity-warning {
  margin-top: 18px;
  padding: 15px 18px;
  color: #755e2a;
  background: #fff9ec;
  border: 1px solid #eee0bd;
  border-radius: 13px;
}

.identity-warning strong {
  font-size: 10px;
}

.identity-warning p {
  margin: 3px 0 0;
  font-size: 9px;
  line-height: 1.9;
}

.profile-card {
  max-width: 880px;
}

.profile-card-head {
  margin-bottom: 24px;
  padding-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--dash-border);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  font-size: 18px;
}

.profile-card-head p {
  margin: 3px 0 0;
  color: var(--dash-muted);
  direction: ltr;
  text-align: right;
  font-size: 10px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}

.admin-metric {
  min-height: 100px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--dash-border);
  border-radius: 15px;
}

.admin-metric small {
  color: var(--dash-muted);
  font-size: 9px;
}

.admin-metric strong {
  color: var(--dash-text);
  font-size: 22px;
}

.metric-orders {
  border-top: 3px solid var(--dash-blue);
}

.metric-users {
  border-top: 3px solid var(--dash-violet);
}

.metric-tickets {
  border-top: 3px solid var(--dash-amber);
}

.metric-revenue {
  border-top: 3px solid var(--dash-green);
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.management-content-card {
  grid-column: span 2;
}

.management-list {
  max-height: 510px;
  overflow: auto;
}

.management-row,
.admin-ticket-card {
  padding: 12px 0;
  border-bottom: 1px solid #edf1f6;
}

.management-row:last-child,
.admin-ticket-card:last-child {
  border-bottom: 0;
}

.user-management-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(115px, auto);
  align-items: center;
  gap: 11px;
}

.mini-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #5076ac;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
}

.management-row-copy {
  min-width: 0;
  display: grid;
}

.management-role {
  min-width: 110px;
  height: 37px !important;
  font-size: 9px !important;
}

.admin-ticket-head,
.admin-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-ticket-head strong,
.admin-order-head strong {
  color: var(--dash-text);
  font-size: 10px;
}

.admin-ticket-card > p,
.admin-order-details {
  margin: 6px 0 10px;
  color: var(--dash-muted);
  font-size: 9px;
  line-height: 1.9;
}

.admin-ticket-reply {
  min-height: 76px !important;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
}

.admin-orders-section {
  margin-top: 18px;
}

.admin-order {
  padding: 17px 0;
  border-bottom: 1px solid var(--dash-border);
}

.admin-order:last-child {
  border-bottom: 0;
}

.admin-update-form {
  grid-template-columns: minmax(130px, 0.65fr) minmax(180px, 1.35fr) auto;
  align-items: end;
}

.admin-update-form .button {
  min-height: 44px;
}

.dashboard-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 28px;
  overflow: auto;
  color: var(--dash-text);
  background: #fff;
  border: 1px solid var(--dash-border);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(8, 26, 50, 0.25);
}

.dashboard-dialog::backdrop {
  background: rgba(5, 19, 37, 0.62);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: sticky;
  z-index: 2;
  top: 0;
  margin: -13px -13px 4px auto;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: #68778b;
  background: #f3f6fa;
  border: 1px solid var(--dash-border);
  border-radius: 11px;
  font-size: 21px;
}

.dialog-heading {
  margin-bottom: 19px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--dash-border);
}

.dialog-heading h2,
.dialog-heading h3 {
  margin: 3px 0 5px;
  color: var(--dash-text);
  font-size: 19px;
}

.dialog-heading p,
.tracking-line,
.ticket-meta {
  margin: 0;
  color: var(--dash-muted);
  font-size: 9px;
  line-height: 1.8;
}

.order-facts {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.order-facts div {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 3px;
  background: #f7f9fc;
  border: 1px solid #e9eef5;
  border-radius: 10px;
}

.order-facts dt {
  color: var(--dash-muted);
  font-size: 8px;
}

.order-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--dash-text);
  font-size: 10px;
  font-weight: 700;
}

.dialog-section-title {
  margin: 19px 0 10px;
  color: var(--dash-text);
  font-size: 11px;
}

.timeline,
.messages {
  display: grid;
  gap: 10px;
}

.timeline-item {
  position: relative;
  padding: 11px 42px 11px 12px;
  color: #4a5b72;
  background: #f8fafc;
  border: 1px solid #ebf0f5;
  border-radius: 11px;
  font-size: 9px;
  line-height: 1.8;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 16px;
  width: 9px;
  height: 9px;
  background: var(--dash-blue);
  border: 3px solid #dce8fc;
  border-radius: 50%;
}

.message {
  padding: 12px 14px;
  color: #42536a;
  background: #f7f9fc;
  border: 1px solid #e9eef4;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.9;
}

.message-operator {
  background: #eef5ff;
  border-color: #d6e4fa;
}

.message-internal {
  background: #fff8e9;
  border-color: #efdfb9;
}

.message-head {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.message-head strong {
  font-size: 9px;
}

.message-head time {
  color: var(--dash-muted);
  font-size: 8px;
}

.message-form {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--dash-border);
}

.message-form textarea {
  min-height: 82px;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 1240px) {
  .dashboard-stats,
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-grid,
  .orders-workspace {
    grid-template-columns: 1fr;
  }

  .order-create-card {
    position: static;
  }
}

@media (max-width: 960px) {
  .dashboard-sidebar {
    width: min(310px, 86vw);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .dashboard-app.sidebar-open .dashboard-sidebar {
    transform: translateX(0);
  }

  .sidebar-close,
  .sidebar-toggle {
    display: grid;
  }

  .dashboard-main {
    margin-right: 0;
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    background: rgba(5, 19, 37, 0.52);
    border: 0;
    backdrop-filter: blur(2px);
  }

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

@media (max-width: 760px) {
  .dashboard-topbar {
    min-height: 72px;
    padding: 10px 15px;
  }

  .dashboard-content {
    padding: 23px 15px 42px;
  }

  .user-identity-wrap {
    display: none;
  }

  .panel-user {
    grid-template-columns: 38px auto;
    gap: 7px;
  }

  .user-avatar {
    width: 38px;
    height: 38px;
  }

  .overview-hero,
  .view-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .heading-actions,
  .view-heading > .button,
  .view-heading > .preview-pill,
  .overview-hero > .button {
    align-self: flex-start;
  }

  .overview-hero > .button,
  .heading-actions {
    width: 100%;
  }

  .heading-actions .button {
    flex: 1;
  }

  .dashboard-stats,
  .admin-metrics,
  .openrouter-grid,
  .management-grid {
    grid-template-columns: 1fr;
  }

  .management-content-card {
    grid-column: auto;
  }

  .data-list-head {
    display: none;
  }

  .data-row,
  .ticket-row {
    min-height: 0;
    padding: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .order-row .row-amount {
    display: none;
  }

  .account-safety-strip {
    grid-template-columns: 41px minmax(0, 1fr);
  }

  .account-safety-strip button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

@media (max-width: 520px) {
  .topbar-heading p,
  .dashboard-logout {
    display: none;
  }

  .dashboard-card {
    padding: 18px;
    border-radius: 15px;
  }

  .data-card {
    padding: 0;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .dashboard-stat {
    min-height: 108px;
    padding: 15px 12px;
    display: grid;
    gap: 8px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .dashboard-stat strong {
    font-size: 21px;
  }

  .dashboard-stat div span {
    display: none;
  }

  .form-pair,
  .order-facts,
  .identity-facts,
  .data-row,
  .ticket-row {
    grid-template-columns: 1fr;
  }

  .identity-facts div {
    border-bottom: 1px solid var(--dash-border);
    border-left: 0;
  }

  .identity-facts div:last-child {
    border-bottom: 0;
  }

  .user-management-row {
    grid-template-columns: 35px minmax(0, 1fr);
  }

  .management-role {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-dialog {
    width: calc(100vw - 18px);
    max-height: 92vh;
    padding: 19px;
    border-radius: 16px;
  }
}

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