@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #111522;
  --card: #1b2440;
  --card-raised: #222e4b;
  --line: #ffffff10;
  --text: #f2f6ff;
  --muted: #a5b3d0;
  --cyan: #11d2e9;
  --blue: #098bff;
  --success: #62e2b6;
  --danger: #ff9eab;
  --warning: #ffc66d;
  --radius: 24px;
  --font: "Leelawadee UI", Tahoma, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--font);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 3% 0%, #4b3f852f, transparent 45%),
    radial-gradient(ellipse at 100% 0%, #ad385b21, transparent 35%);
  background-attachment: fixed;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6fdcff;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 19px;
  line-height: 1.5;
}
h3 {
  font-size: 16px;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.hidden,
[hidden] {
  display: none !important;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #71c7ff;
  margin-bottom: 8px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 20px;
}
.gap-sm {
  gap: 10px;
}
.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.mt {
  margin-top: 20px;
}
.mt-sm {
  margin-top: 10px;
}
.mb {
  margin-bottom: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 500;
  background: var(--cyan);
  padding: 12px;
  color: #071726;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  letter-spacing: -0.6px;
  font-weight: 800;
}
.brand-mark {
  width: 37px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #047aff, #18ddeb);
  border-radius: 12px;
  box-shadow: 0 5px 22px #0099ff25;
  color: #071b38;
}
.brand-dot {
  color: var(--cyan);
}
.sidebar {
  overflow-y: auto;
  position: fixed;
  inset: 20px auto 20px 20px;
  width: 224px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, #192138, #1b2541 85%);
  padding: 28px 18px 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px #0002;
}
.sidebar .brand {
  padding: 0 9px;
  margin-bottom: 39px;
}
.btn.drawer-close {
  display: none;
}
.nav-heading {
  font-size: 10px;
  color: #7d8eae;
  letter-spacing: 1.8px;
  margin: 18px 15px 10px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 12px 14px;
  margin: 6px 0;
  border-radius: 14px;
  color: #afbbd4;
  font-size: 14px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-link:hover {
  background: #ffffff08;
  color: #fff;
}
.nav-link.active {
  background: linear-gradient(105deg, #078cff, #00c9e7);
  color: #051f38;
  font-weight: 800;
  box-shadow: 0 7px 20px #028fff20;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.account {
  border-top: 1px solid var(--line);
  padding: 18px 7px 7px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #27cbdf5c;
  border-radius: 50%;
  color: #99edff;
  background: #163a50;
  font-size: 13px;
  font-weight: 700;
}
.account-name {
  font-size: 12px;
  max-width: 143px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-role {
  font-size: 10px;
  color: var(--muted);
}
.logout {
  background: none;
  border: 0;
  color: var(--muted);
  width: 100%;
  text-align: left;
  margin: 10px 0 0;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.logout:hover {
  color: var(--danger);
}
.app-main {
  margin-left: 264px;
  padding: 37px 38px 40px;
  min-width: 0;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-header .muted {
  font-size: 13px;
  margin-top: 8px;
}
.header-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e284040;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 9px 15px;
  color: #b5c2db;
  font-size: 12px;
  margin-top: 8px;
  white-space: nowrap;
}
.header-chip .icon {
  width: 16px;
  color: var(--cyan);
}
.content {
  max-width: 1260px;
  margin: auto;
}
.page-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #7f90ae;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mobile-bar,
.drawer-backdrop {
  display: none;
}
.panel {
  background: linear-gradient(120deg, #1e2945, #19223a);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 14px 35px #00000012;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.panel-head .muted {
  font-size: 12px;
  margin-top: 3px;
}
.panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #0cbfff14;
  border: 1px solid #1cbfff20;
  border-radius: 13px;
  color: #40d5ee;
  flex-shrink: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.stat {
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 154px;
}
.stat .eyebrow {
  margin-bottom: 16px;
  color: #b8c7e0;
  letter-spacing: 1.2px;
  font-size: 10px;
}
.stat-value {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 12px;
  margin-left: 7px;
  letter-spacing: 0;
  font-weight: 400;
}
.stat .small {
  margin-top: 10px;
  color: var(--muted);
}
.stat.accent {
  background: linear-gradient(115deg, #078cff, #00c1df);
  border-color: #41dcff33;
  color: #071c32;
  box-shadow: 0 10px 35px #009dff16;
}
.stat.accent .eyebrow,
.stat.accent .small {
  color: #062039;
}
.stat.accent:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 25px solid #ffffff15;
  border-radius: 50%;
  right: -67px;
  top: 12px;
  pointer-events: none;
}
.stat-symbol {
  position: absolute;
  right: 24px;
  top: 25px;
  opacity: 0.7;
}
.stat-symbol .icon {
  width: 25px;
  height: 25px;
}
.split {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 24px;
  align-items: start;
}
.split-wide {
  grid-template-columns: 1.3fr 0.8fr;
}
.form-grid {
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
label,
.label {
  font-size: 13px;
  font-weight: 600;
  color: #dce7fc;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.label-row span {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #8c9cbc;
  font-weight: 400;
}
.input-wrap {
  position: relative;
}
.input-wrap > .icon {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #7189ad;
}
.input-wrap > input {
  padding-left: 49px;
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
  min-height: 19px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 49px;
  border-radius: 12px;
  border: 1px solid #6279a32e;
  padding: 12px 15px;
  background: #121b30;
  color: var(--text);
  transition: border-color 0.18s;
  outline: none;
  min-width: 0;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #617ca66b;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #18c4ec;
}
input::placeholder,
textarea::placeholder {
  color: #7184a5;
}
input[type="number"] {
  font-variant-numeric: tabular-nums;
}
select {
  padding-right: 28px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 12px;
  padding: 11px 18px;
  background: #ffffff04;
  border: 1px solid #6a83af45;
  color: #cddaf0;
  font-weight: 600;
  font-size: 13px;
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  background: #ffffff09;
  border-color: #688cbb;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(110deg, #078cff, #08cee6);
  border-color: #26cdff77;
  color: #062039;
  box-shadow: 0 7px 25px #019dff14;
}
.btn-primary:hover {
  background: linear-gradient(110deg, #39a4ff, #39d6eb);
  border-color: #77eaff;
}
.btn-ghost {
  border-color: #25cbe25e;
  color: #74dffa;
  background: #10bfd805;
}
.btn-danger {
  color: #ffa4b0;
  border-color: #fc768940;
  background: #ed607008;
}
.btn-success {
  color: var(--success);
  border-color: #53d8ab38;
  background: #53d8ab0a;
}
.btn-sm {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 12px;
  border-radius: 9px;
}
.btn-icon {
  width: 42px;
  padding: 9px;
  flex-shrink: 0;
}
.full {
  width: 100%;
}
.notice {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #10b8eb09;
  border: 1px solid #1cbcee18;
  color: #a8c6e1;
  font-size: 12px;
  line-height: 1.8;
}
.notice > .icon {
  width: 17px;
  height: 17px;
  color: #6cbedd;
  margin-top: 3px;
}
.message {
  font-size: 13px;
  min-height: 22px;
  overflow-wrap: anywhere;
  margin-top: 10px;
}
.message.error {
  color: var(--danger);
}
.message.success {
  color: var(--success);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  padding: 4px 9px;
  white-space: nowrap;
  font-size: 11px;
  background: #8097c013;
  color: #b4c7e5;
  border: 1px solid #91b0d520;
}
.badge.success {
  color: var(--success);
  background: #5bcfaf10;
  border-color: #5bcfaf25;
}
.badge.warning {
  color: var(--warning);
  background: #ffa92810;
  border-color: #ffa92825;
}
.badge.error {
  color: var(--danger);
  background: #ed647410;
  border-color: #ed647425;
}
.badge.info {
  color: #6eddff;
  background: #0abcff12;
  border-color: #0abcff27;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.result-panel {
  min-height: 430px;
}
.result-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px 10px 27px;
  gap: 12px;
}
.device-orbit {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
  margin: 14px 0 10px;
  border-radius: 50%;
  border: 1px solid #36cfff17;
  background: radial-gradient(circle, #078bff11, transparent 70%);
}
.device-orbit:before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed #289edb35;
}
.device-orbit:after {
  content: "";
  position: absolute;
  right: 6px;
  top: 39px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 17px #11d2e9aa;
}
.phone-shape {
  width: 53px;
  height: 87px;
  display: grid;
  place-items: center;
  border: 2px solid #369ac2;
  border-radius: 13px;
  background: linear-gradient(150deg, #123859, #182746);
  box-shadow: 0 12px 25px #0003;
  transform: rotate(-10deg);
}
.phone-shape .icon {
  color: #46d3ee;
  width: 24px;
  height: 24px;
}
.result-empty .muted {
  max-width: 230px;
  font-size: 12px;
}
.steps {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  color: #9aaecf;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: #6cb8e814;
  border-radius: 50%;
  color: #66d8ef;
  margin-right: 4px;
}
.device-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 17px 0;
  padding: 12px;
  background: #0e172b;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.result-text {
  line-height: 2;
  color: #c3d0e7;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.lc-result-alert {
  border: 1px solid #f2778860;
  background: linear-gradient(125deg, #692b411f, #b8415112);
  border-left: 3px solid #f28393;
  border-radius: 13px;
  padding: 16px;
  margin: 18px 0;
  color: #ffd3da;
  line-height: 1.8;
}
.lc-result-alert b {
  color: #ffa6b5;
  display: inline-block;
  margin-bottom: 5px;
}
.lc-result-alert-success {
  border-color: #4ddba260;
  border-left-color: #4ddba2;
  background: linear-gradient(125deg, #145d3e40, #15734720);
  color: #c2f9df;
}
.lc-result-alert-success b {
  color: #86efb7;
}
.lc-result-paid {
  color: #86efb7;
  font-size: 18px;
  font-weight: 800;
}
.result-actions {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  color: #a6cce6;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #76d5ff25;
  border-top-color: #48d7f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.table-panel {
  padding: 0;
  overflow: hidden;
}
.table-panel > .panel-head {
  padding: 24px 26px 0;
}
.table-scroll {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  padding: 14px 18px;
  color: #95a6c5;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
  background: #0e172a55;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: #ccdaed;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #ffffff02;
}
td .muted {
  font-size: 11px;
}
td:first-child,
th:first-child {
  padding-left: 26px;
}
td:last-child,
th:last-child {
  padding-right: 26px;
}
td.actions {
  vertical-align: middle;
}
td.actions .btn + .btn {
  margin-left: 6px;
}
td input {
  min-width: 180px;
}
.empty-cell {
  text-align: center;
  padding: 55px 20px !important;
  color: var(--muted);
}
.empty-cell .icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 12px;
  color: #51b7d1;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.table-note {
  padding: 15px 26px;
  font-size: 11px;
  color: #879bbd;
  border-top: 1px solid var(--line);
}
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.profile-avatar {
  width: 62px;
  height: 62px;
  font-size: 23px;
  border-width: 2px;
  margin-bottom: 16px;
}
.profile-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
}
.profile-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.profile-list dt {
  color: var(--muted);
}
.profile-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.user-summary {
  background: #102036;
  padding: 16px;
  border: 1px solid #40c9df26;
  border-radius: 14px;
  margin-top: 17px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.inline-form > .field {
  flex: 1;
  min-width: 130px;
}
.catalog-form-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(200px, 2fr);
  gap: 18px;
}
.catalog-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}
.catalog-toolbar .field {
  flex: 1;
}
.catalog-list {
  display: grid;
  gap: 16px;
}
.catalog-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111b2f65;
}
.catalog-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 15px;
}
.catalog-card-head > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.catalog-card-head h3 {
  font-size: 17px;
}
.catalog-card-head .eyebrow {
  margin-bottom: 4px;
}
.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 9px;
  background: #0ac9e812;
  border: 1px solid #2bbdd533;
  color: #9ceaff;
  font-size: 13px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.project-preview {
  display: grid;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.catalog-actions .btn:last-child {
  margin-left: auto;
}
.catalog-warning {
  color: var(--warning);
  margin-top: 12px;
}
.catalog-empty {
  text-align: center;
  padding: 35px 16px;
  color: var(--muted);
}
.catalog-empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.project-manager-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, 1.25fr) auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.setting-row:last-child {
  border: 0;
}
.setting-row .small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.reason-cell {
  white-space: normal;
  min-width: 160px;
  max-width: 260px;
  overflow-wrap: anywhere;
}
.positive {
  color: var(--success);
}
.negative {
  color: var(--danger);
}
.help-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}
.help-item {
  display: flex;
  gap: 14px;
  align-items: start;
}
.help-item p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.help-item .panel-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px;
}
.dialog {
  border: 1px solid #6e89b43d;
  border-radius: 24px;
  background: linear-gradient(140deg, #202d48, #182139);
  color: var(--text);
  width: min(600px, calc(100vw - 32px));
  max-height: 85dvh;
  padding: 0;
  box-shadow: 0 35px 100px #0009;
  overflow: auto;
}
.dialog::backdrop {
  background: #070d1cc9;
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-body {
  padding: 24px;
}
.dialog-body .result-text {
  font-size: 13px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 150;
  padding: 15px 22px;
  border: 1px solid #37d0cd44;
  background: #172f42;
  color: #ccfff8;
  border-radius: 14px;
  box-shadow: 0 12px 30px #0004;
  max-width: calc(100vw - 40px);
  font-size: 13px;
}
.toast.error {
  color: #ffd1d9;
  background: #402738;
  border-color: #ed708c55;
}
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
  width: min(100%, 1020px);
}
.auth-story .brand {
  margin-bottom: 70px;
}
.auth-title {
  font-size: clamp(32px, 4.4vw, 51px);
  line-height: 1.38;
  letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(95deg, #5ab4ff, #13d9e5);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 22px;
  max-width: 340px;
}
.auth-illustration {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 37px;
}
.auth-illustration .device-orbit {
  flex-shrink: 0;
}
.auth-features {
  display: grid;
  gap: 15px;
  font-size: 12px;
  color: #b6c8e2;
}
.auth-features > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-features .icon {
  color: #25cfed;
  width: 17px;
}
.auth-card {
  padding: 38px;
  position: relative;
}
.auth-card:before {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #24bcf4, transparent);
}
.auth-card h1 {
  font-size: 26px;
  margin: 10px 0;
}
.auth-card .form-grid {
  margin-top: 28px;
  gap: 18px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7c90af;
  font-size: 11px;
  margin: 17px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-foot {
  font-size: 11px;
  text-align: center;
  color: #8da1bd;
  margin-top: 22px;
}
.auth-brand-mobile {
  display: none;
}
.auth-actions {
  display: grid;
  gap: 12px;
}
.input-wrap > span {
  position: absolute;
  left: 16px;
  top: 15px;
  display: flex;
  color: #7189ad;
  pointer-events: none;
}
@media (min-width: 1600px) {
  .app-main {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1100px) {
  .app-main {
    padding: 30px 24px;
    margin-left: 248px;
  }
  .sidebar {
    width: 214px;
    left: 16px;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .stat-grid {
    gap: 14px;
  }
  .stat {
    padding: 20px;
  }
  .stat-value {
    font-size: 30px;
  }
  .panel {
    padding: 22px;
  }
  .table-panel {
    padding: 0;
  }
  .auth-layout {
    gap: 45px;
  }
}
@media (max-width: 1023px) {
  .btn.drawer-close {
    display: inline-flex;
    position: absolute;
    right: 8px;
    top: 23px;
    width: 36px;
    min-height: 36px;
  }
  .mobile-bar {
    display: flex;
    position: sticky;
    top: 0;
    align-items: center;
    justify-content: space-between;
    padding: 13px 24px;
    background: #111a2ce8;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
    z-index: 50;
  }
  .mobile-bar .brand {
    font-size: 19px;
  }
  .mobile-bar .brand-mark {
    width: 31px;
    height: 34px;
    border-radius: 10px;
  }
  .sidebar {
    inset: 0 auto 0 0;
    width: 260px;
    max-width: 85vw;
    border-radius: 0 25px 25px 0;
    transform: translateX(-105%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar .brand {
    margin-bottom: 22px;
  }
  .drawer-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #080e1cab;
    backdrop-filter: blur(4px);
    border: 0;
    z-index: 55;
  }
  .app-main {
    margin-left: 0;
    padding: 26px 24px 35px;
  }
  .header-chip {
    display: none;
  }
  .auth-layout {
    gap: 30px;
  }
  .auth-card {
    padding: 30px;
  }
  .auth-title {
    font-size: 37px;
  }
  .auth-illustration {
    gap: 8px;
  }
  .auth-illustration .device-orbit {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 767px) {
  .catalog-form-row {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-card {
    padding: 17px;
  }
  .catalog-card-head {
    flex-wrap: wrap;
    gap: 10px;
  }
  .catalog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .catalog-actions .btn:last-child {
    margin-left: 0;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-grid > .stat:first-child {
    grid-column: 1/-1;
    min-height: 135px;
  }
  .stat {
    min-height: 125px;
    padding: 20px;
  }
  .stat .eyebrow {
    margin-bottom: 13px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-unit {
    font-size: 11px;
  }
  .stat-symbol {
    right: 20px;
    top: 22px;
  }
  .stat:not(.accent) .stat-symbol {
    display: none;
  }
  .stat.accent .stat-value {
    font-size: 38px;
  }
  .stat.accent:after {
    right: -20px;
    top: -23px;
    width: 200px;
    height: 200px;
  }
  .split,
  .split-wide,
  .two-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .app-main {
    padding: 25px 16px;
  }
  .mobile-bar {
    padding: 12px 16px;
  }
  .page-header {
    margin-bottom: 24px;
  }
  .page-header h1 {
    font-size: 27px;
  }
  .page-header .muted {
    font-size: 12px;
  }
  .panel {
    border-radius: 20px;
    padding: 21px;
  }
  .table-panel {
    padding: 0;
  }
  .panel-head {
    margin-bottom: 21px;
  }
  .table-panel > .panel-head {
    padding: 22px 20px 0;
  }
  .result-panel {
    min-height: 350px;
  }
  .result-empty {
    padding: 5px 0 22px;
  }
  .result-empty .device-orbit {
    width: 125px;
    height: 125px;
  }
  .page-footer {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .setting-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .setting-row > label {
    grid-column: 1/-1;
  }
  .dialog-head,
  .dialog-body {
    padding: 20px;
  }
  .pagination {
    padding: 16px;
    gap: 8px;
  }
  .pagination .btn {
    min-height: 40px;
    padding: 9px 12px;
  }
  .auth-page {
    padding: 26px 18px;
  }
  .auth-layout {
    display: block;
    max-width: 440px;
  }
  .auth-story {
    display: none;
  }
  .auth-brand-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
  }
  .auth-card {
    padding: 28px 24px;
  }
  .auth-card h1 {
    font-size: 25px;
  }
  .auth-card .eyebrow {
    margin-top: 6px;
  }
  .toast {
    bottom: 18px;
    right: 18px;
  }
  .form-actions {
    display: grid;
    gap: 10px;
  }
  .user-summary .row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
